/* Sanqi admin — shared with the mini-program's calm blue palette. */
:root{
  color-scheme:light;font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  font-size:14px;font-synthesis:none;color:#2d5275;background:#f5f9ff;
  --primary:#407bb6;--green:var(--primary);--text:#2d5275;--muted:#6f859d;
  --border:#dfe8f3;--tint:#edf5ff;--focus:#78a8d6;--shadow:0 4px 24px #325d8810;
}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,textarea,summary{ -webkit-tap-highlight-color:transparent }
a{color:var(--primary);text-underline-offset:4px}button{cursor:pointer}
button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;font-weight:500;line-height:1.4;transition:background .16s,border-color .16s,box-shadow .16s}
button:hover{background:#f2f7fd;border-color:#b8cfe5}button:active{background:#e8f1fb}
button.primary{background:var(--primary);border-color:var(--primary);color:white;box-shadow:0 3px 8px #407bb61a}
button.primary:hover{background:#356da5;border-color:#356da5}button.small{min-height:32px;padding:6px 10px;font-size:12px}
button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}button.danger{color:#aa514f;background:#fffafa;border-color:#edd5d4}
button.danger:hover{background:#fceeed;border-color:#dbb3b1}
/* Explicit focus colors replace the browser's black auto outline, while preserving keyboard focus. */
:where(button,a,summary,input,select,textarea):focus{outline:none}
:where(button,a,summary):focus-visible{outline:2px solid var(--primary);outline-offset:3px}
input,select,textarea{border:1px solid #cddded;border-radius:10px;background:#fff;padding:11px 13px;min-height:44px;line-height:1.5;max-width:100%;transition:border-color .16s,box-shadow .16s}
input:hover,select:hover,textarea:hover{border-color:#9fbdda}
input:focus,select:focus,select:open,textarea:focus{border-color:var(--focus);outline:2px solid transparent;outline-offset:2px;box-shadow:0 0 0 3px #407bb61c}
input::placeholder,textarea::placeholder{color:#899caf;opacity:1}
input:disabled,select:disabled,textarea:disabled{background:#f0f4f8;color:#8b9aae;cursor:not-allowed}
textarea{display:block;width:100%;resize:vertical;min-height:138px;line-height:1.85}
input[type=checkbox]{width:17px!important;height:17px;min-height:17px;margin:0;flex:0 0 17px;accent-color:var(--primary);border-radius:4px;cursor:pointer}
select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236b8baa' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat}
select option{background:#fff;color:var(--text)}
/* Modern Edge/Chrome: the opened picker is also themeable, with no OS black frame. */
@supports (appearance:base-select){
  select,select::picker(select){appearance:base-select}
  select{background-image:none;align-items:center;gap:16px;padding-right:13px}
  select::picker-icon{content:"";width:7px;height:7px;border-right:1.5px solid #6b8baa;border-bottom:1.5px solid #6b8baa;rotate:45deg;transition:rotate .16s;margin:0 3px 4px auto}
  select:open::picker-icon{rotate:225deg;margin-bottom:0}
  select::picker(select){margin-top:6px;padding:6px;border:1px solid #cddded;border-radius:12px;background:white;box-shadow:0 12px 32px #2d52751c;max-height:300px;overflow:auto;outline:none}
  select option{padding:10px 12px;min-height:40px;border-radius:7px;white-space:normal;overflow-wrap:anywhere}
  select option:hover,select option:focus{outline:none;background:#edf5ff;color:#356da5}
  select option:checked{background:#e6f0fc;color:#356da5;font-weight:600}
  select option::checkmark{color:var(--primary)}
}
fieldset{border:0;padding:0;margin:0;min-width:0}
label{line-height:1.6}.check{display:flex!important;align-items:center;gap:10px;font-size:13px;color:#527493;cursor:pointer}
.error{font-size:13px;line-height:1.7;color:#aa514f}.error:empty{display:none}
.muted,p.subtitle{color:var(--muted);font-size:13px;line-height:1.8;margin:0}
h1{font-size:28px;letter-spacing:.5px;font-weight:650;margin:0 0 10px;line-height:1.4}h2{font-size:16px;font-weight:600;margin:0;line-height:1.6}h3{font-size:14px;margin:0}
.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}
.shell>div,.columns>*,.panel{min-width:0}
aside{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--border);padding:32px 18px 24px;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:12px;padding:0 12px}.logo{display:block;flex:none;width:56px;height:auto;object-fit:contain}
.brand strong{font-size:21px;font-weight:650;letter-spacing:2px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:1px;margin-top:4px}
.navlabel{font-size:10px;letter-spacing:1.8px;color:#8399b0;margin:40px 14px 14px}
nav{display:grid;gap:7px}nav button{position:relative;justify-content:flex-start;gap:13px;padding:14px 16px;text-align:left;border:1px solid transparent;background:transparent;min-height:50px;color:#658099}
nav button:hover{background:#f5f9ff;border-color:transparent}nav button.active{background:#edf5ff;color:#356da5;border-color:#e3eefb;font-weight:600}
nav button.active:before{content:"";position:absolute;left:0;width:3px;height:20px;border-radius:3px;background:var(--primary)}
nav button span{width:20px;height:20px;display:grid;place-items:center}nav svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--border);font-size:12px;color:var(--muted);line-height:1.9}.dot{display:inline-block;width:6px;height:6px;background:#709dcc;border-radius:50%;margin-right:7px}
header{position:sticky;top:0;z-index:4;backdrop-filter:blur(12px);height:80px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 38px;border-bottom:1px solid var(--border);background:#ffffffdb}
.crumb{font-size:12px;color:var(--muted)}.crumb b{color:var(--text);font-weight:500;margin-left:12px}
.account{display:flex;align-items:center;gap:12px;font-size:12px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--tint);color:var(--primary)}
main{max-width:1560px;margin:auto;padding:34px 38px 56px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.heading>div:first-child{max-width:760px}.heading>.actions{flex-shrink:0}
.eyebrow{font-size:10px;letter-spacing:2.2px;color:#7f9ab5;margin-bottom:10px}
.actions{display:flex;align-items:center;gap:8px}.actions button{white-space:nowrap}
.banner{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;background:linear-gradient(115deg,#eaf3fe,#f3f8ff);border:1px solid #dce9f8;border-radius:18px;margin-bottom:24px}
.banner h2{font-size:20px;margin-bottom:10px}.banner p{font-size:13px;line-height:1.9;color:#6485a5;margin:0}.banner-art{position:relative;overflow:hidden;width:116px;height:116px;flex:none;border-radius:24px}.banner-art img{position:absolute;display:block;width:200%;height:200%;max-width:none;left:0;top:0}
.kb-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--muted);margin:22px 2px;font-size:13px}.kb-summary strong{font-size:22px;color:var(--text);font-weight:600}.kb-summary a{margin-left:6px;font-size:12px;text-decoration:none}.kb-summary a:hover{text-decoration:underline}
.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:18px;box-shadow:0 2px 8px #325d8805}
.toolbar input[type=search]{flex:1;min-width:220px}.toolbar select{min-width:130px}.toolbar>button{margin-left:auto}
.panel{overflow:hidden;border:1px solid var(--border);background:white;border-radius:16px;margin-bottom:22px;box-shadow:var(--shadow)}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #edf2f8}
.panel-body{padding:24px}.panel-body>p.muted{margin-top:10px}.table-wrap{overflow:auto;max-width:100%}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f6f9fd;font-size:12px;color:#728aa3;font-weight:500;padding:16px 22px}td{padding:20px 22px;font-size:13px;border-bottom:1px solid #eef3f8;line-height:1.7}tbody tr:hover{background:#fafdff}tr:last-child td{border-bottom:0}
.cell-title{font-size:14px;font-weight:600;margin-bottom:6px}.knowledge-table td:first-child{min-width:250px;max-width:560px;white-space:normal}.answer-excerpt{color:#7c90a6;font-size:12px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:560px}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.5;padding:5px 10px;border-radius:20px;background:#f0f3f7;color:#7e8c9c;white-space:nowrap}
.badge.published{background:#edf5ff;color:#407bb6}.badge.published:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:24px;align-items:start}
.qa-flow{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:17px 22px;background:#edf5ff;border:1px solid #dfebf8;border-radius:14px;margin-bottom:24px;font-size:13px}.qa-flow>span:not(.muted){background:#ffffffbf;border-radius:8px;padding:7px 12px}.qa-flow b{color:#91abc4;font-weight:400}
#test-form label{display:block;margin:0 0 10px;font-size:13px;color:#547595}#test-form textarea{min-height:150px}#test-form .muted{margin-top:12px}
.empty{padding:44px 24px;text-align:center;color:var(--muted);line-height:2;font-size:13px;background:#f8fbff;border:1px dashed #dce7f3;border-radius:12px;margin:20px 0 0}td.empty{border:0;border-radius:0;background:#fff}
.test-result{margin-top:26px}.detail{background:#f7faff;border:1px solid #e2ecf6;border-radius:10px;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;font-size:13px;margin:16px 0}
.explain-step{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #edf2f8}.explain-step b{font-size:14px;font-weight:600}.explain-step p{font-size:13px;color:var(--muted);line-height:1.9;margin:10px 0 0}
.source-ref{border:1px solid var(--border);padding:14px 16px;margin:12px 0;border-radius:10px;font-size:12px;color:#547595}.source-ref summary{cursor:pointer;line-height:1.8}.source-ref .detail{margin-bottom:0}
.settings-panel{max-width:920px}.settings-panel input:not([type=checkbox]),.settings-panel textarea{width:100%}.settings-panel label:not(.check){display:block;margin:24px 0 8px;color:#547595;font-size:13px}.settings-panel label:first-child{margin-top:0}.settings-panel textarea{min-height:165px}.settings-panel .check{margin:20px 0}.settings-panel .panel-body>.check:first-child{padding:14px;background:#f4f8fe;border-radius:10px;margin-top:0}.settings-panel input+.muted,.settings-panel textarea+.muted{margin-top:8px}
.spaced-btn{margin-top:20px;margin-right:8px}.notice{background:#f4f8fe;border:1px solid #dce9f8;color:#6483a1;border-radius:10px;padding:14px 18px;font-size:12px;line-height:1.9;margin-bottom:20px}
.home-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.home-editor .panel{margin:0}.home-editor .panel-body{padding:22px 24px 26px}
.home-editor summary{cursor:pointer;list-style:none;transition:background .16s}.home-editor summary::-webkit-details-marker{display:none}.home-editor summary:hover{background:#f8fbff}.home-editor details:not([open])>.panel-head{border-bottom:0}
.home-editor summary>.muted{font-size:0;display:flex;gap:12px;align-items:center}.home-editor summary>.muted:before{content:"展开";font-size:12px}.home-editor details[open]>summary>.muted:before{content:"收起"}.home-editor summary>.muted:after{content:"";width:7px;height:7px;border-right:1.5px solid #7897b6;border-bottom:1.5px solid #7897b6;transform:rotate(45deg);margin-top:-4px}.home-editor details[open]>summary>.muted:after{transform:rotate(225deg);margin-top:4px}
.home-editor label:not(.check){display:block;font-size:13px;color:#547595;margin:0 0 18px}.home-editor label:last-child{margin-bottom:0}.home-editor input:not([type=checkbox]){display:block;width:100%;margin-top:8px}.home-editor .check{margin:0 0 20px}


#home-form>.check{padding:20px 4px;margin:4px 0}.save-bar{position:sticky;bottom:16px;z-index:2;display:flex;align-items:center;gap:18px;padding:15px 18px;margin-top:10px;background:#fffffff5;border:1px solid var(--border);border-radius:14px;box-shadow:0 6px 28px #325d8817;backdrop-filter:blur(10px)}
.login{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:radial-gradient(ellipse at 20% 15%,#dcecff,transparent 50%),radial-gradient(ellipse at 90% 85%,#e4effb,transparent 45%),#f5f9ff}
.login form{width:min(450px,100%);padding:42px;background:#ffffffef;border:1px solid #fff;border-radius:24px;box-shadow:0 22px 80px #325d8814}.login .brand{padding:0;margin-bottom:34px}.login h1{font-size:23px}.login label{display:block;font-size:13px;color:#547595;margin:22px 0 8px}.login input,.login button{width:100%}.login button{margin-top:26px;min-height:46px}.login .notice{margin:22px 0 0;text-align:center;border:0;background:#f4f8fe;font-size:12px}
dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #d9e6f4;border-radius:20px;background:#fff;color:var(--text);box-shadow:0 26px 90px #203f6433;overscroll-behavior:contain}
dialog::backdrop{background:#233f6252;backdrop-filter:blur(4px)}dialog form{padding:28px}dialog label{display:block;color:#547595;font-size:13px;margin:20px 0 8px}dialog label>input:not([type=checkbox]){margin-top:8px}dialog input:not([type=checkbox]),dialog select{width:100%}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e9eff7;padding-bottom:20px;margin-bottom:22px}.dialog-head h2{font-size:19px}.dialog-head button{width:34px;height:34px;min-height:34px;padding:0;font-size:22px;background:#f5f9ff;border-color:transparent;border-radius:50%}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e9eff7;padding-top:20px;margin-top:26px}.answer-editor{min-height:245px}
.import-zone{padding:28px 22px;margin:24px 0 18px;border:1px dashed #a8c4df;background:#f5f9ff;border-radius:14px;text-align:center}.import-zone strong{font-size:18px;font-weight:600}.import-zone p{font-size:12px;color:var(--muted);line-height:1.9}.import-zone input{border:0;background:transparent;font-size:12px;padding:12px 0;min-width:0}input::file-selector-button{border:1px solid #cddded;background:#fff;color:var(--primary);font:inherit;padding:9px 12px;border-radius:8px;margin-right:12px;cursor:pointer}input::file-selector-button:hover{background:#edf5ff}#import-results{font-size:12px;line-height:1.9;max-height:220px;overflow:auto}
#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);background:#2d5275;color:#fff;font-size:13px;line-height:1.7;padding:13px 22px;border-radius:12px;box-shadow:0 8px 28px #2d527529;display:none;z-index:10}#toast.visible{display:block}
@media(max-width:1200px){.shell{grid-template-columns:208px minmax(0,1fr)}main{padding:28px 24px 44px}header{padding:0 24px}.columns{grid-template-columns:1fr}.heading{flex-wrap:wrap}.knowledge-table td{padding:18px}.brand{padding:0 6px}}
@media(max-width:960px){.home-editor{grid-template-columns:1fr}.home-editor .recommendations{grid-column:auto}#recommend-list{grid-template-columns:1fr}.panel-head,.panel-body{padding:20px}}
@media(max-width:720px){.shell{display:block}aside{position:static;height:auto;padding:20px 16px 12px;border-right:0;border-bottom:1px solid var(--border)}.navlabel,.sidebar-bottom{display:none}.brand small{display:none}.brand strong{font-size:19px}.logo{width:50px;height:auto}nav{display:flex;overflow-x:auto;gap:6px;margin-top:18px;padding:3px 0 5px}nav button{flex-shrink:0;min-height:42px;padding:10px 12px;font-size:12px;gap:7px}nav button.active:before{display:none}nav svg{width:17px;height:17px}header{height:58px;padding:0 18px}.crumb b{margin-left:4px}.account{gap:8px}.account .avatar{display:none}main{padding:24px 16px 36px}h1{font-size:25px}.heading{gap:18px;margin-bottom:22px}.heading>.actions{width:100%}.heading>.actions button{flex:1}.eyebrow{font-size:9px}.banner{padding:22px}.banner h2{font-size:18px}.banner-art{display:none}.toolbar{padding:12px;gap:10px}.toolbar input[type=search]{flex-basis:100%;min-width:0}.toolbar select{flex:1;min-width:0}.toolbar>button{margin:0}.actions{flex-wrap:wrap}.kb-summary{gap:8px}.kb-summary a{margin:4px 0}.columns{grid-template-columns:minmax(0,1fr)}.qa-flow{gap:8px;padding:14px;font-size:12px}.qa-flow .muted{width:100%}.panel-head,.panel-body,.home-editor .panel-body{padding:20px}.panel-head h2{font-size:15px}.home-editor summary>.muted{white-space:nowrap}.save-bar{bottom:10px;gap:12px;padding:12px}.save-bar .muted{font-size:11px}.save-bar button{flex-shrink:0;font-size:12px;padding:10px 12px}.login form{padding:30px 24px}.login h1{font-size:21px}dialog form{padding:22px}.import-zone{padding:22px 14px}.settings-panel .check{align-items:flex-start}#toast{bottom:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){:where(button,a,summary,input,select,textarea):focus-visible{outline:2px solid Highlight;outline-offset:3px}input,select,textarea,button,select::picker(select){border:1px solid ButtonText}}

@media(max-width:720px){
  .table-wrap{overflow:visible;border:0;box-shadow:none;background:transparent}.table-wrap table,.table-wrap tbody,.table-wrap tr{display:block;width:100%}.table-wrap thead{display:none}.table-wrap tr{background:#fff;border:1px solid var(--border);border-radius:14px;padding:8px 18px;margin-bottom:14px;box-shadow:var(--shadow)}.table-wrap td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;white-space:normal;font-size:12px;border-bottom:1px solid #eef3f8;min-width:0;max-width:none}.table-wrap td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:12px;flex-shrink:0}.knowledge-table td:first-child{display:block;padding-top:14px;padding-bottom:16px;min-width:0;max-width:none}.knowledge-table td:first-child:before{display:none}.knowledge-table .cell-title{font-size:14px}.table-wrap td.empty{display:block}.table-wrap td .actions{justify-content:flex-end}.table-wrap td:last-child{border-bottom:0}.table-wrap.spaced-btn{margin-right:0}
}

/* Knowledge library pagination, after filtering. */
.toolbar{scroll-margin-top:100px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:-4px 0 24px}.pagination-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pagination-controls button{min-width:36px;min-height:36px;padding:7px 11px;font-size:12px}.pagination-controls button.selected{background:var(--primary);color:#fff;border-color:var(--primary)}.pagination-gap{color:var(--muted);padding:0 4px}@media(max-width:720px){.toolbar{scroll-margin-top:76px}.pagination{gap:12px}.pagination-controls{gap:4px}.pagination-controls button{min-width:32px;padding:7px 9px}}

/* Homepage recommendations: the visual order matches the mini-program order. */
.home-editor .recommendations{grid-column:1/-1}.recommend-add{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.recommend-picker{width:min(580px,100%);min-width:0}.recommend-picker>label{margin:0 0 8px!important;font-size:13px;font-weight:500}.recommend-picker-controls{display:flex;gap:10px;align-items:center}.recommend-picker-controls select{flex:1;min-width:0;width:0}.recommend-picker-controls button{flex-shrink:0;white-space:nowrap}.recommend-count{white-space:nowrap;font-size:12px;color:var(--muted);padding:0 0 12px}.recommend-count strong{font-size:18px;color:var(--primary);font-weight:600}.recommend-hint{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0 20px}
#recommend-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border:1px solid var(--border);border-radius:12px;overflow:hidden}.recommend-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:16px;align-items:start;padding:20px;background:#fff;min-width:0;border-bottom:1px solid #e9eff7}.recommend-row:last-child{border-bottom:0}.recommend-row:hover{background:#fbfdff}.recommend-number{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf5ff;color:#5b83ab;font-size:12px;font-weight:600}.recommend-content{min-width:0}.recommend-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;line-height:1.8;padding:2px 0 10px;overflow-wrap:anywhere}.home-editor label.recommend-summary{display:flex;align-items:center;gap:12px;font-size:12px;white-space:nowrap;margin:0;color:var(--muted)}.home-editor .recommend-summary input{margin:0;flex:1;min-width:0;width:0;min-height:38px;padding:8px 11px;font-size:12px;background:#fafcff}.recommend-actions{display:flex;align-items:center;gap:12px;padding-top:1px}.recommend-move{display:flex;gap:5px}.recommend-actions button{min-height:30px;height:30px;padding:5px 9px;font-size:12px}.recommend-move button{width:30px}.recommend-actions .recommend-remove{border-color:transparent;background:transparent;color:#8797a8;padding:5px}.recommend-actions .recommend-remove:hover{background:#fff1f0;color:#aa514f}.recommend-empty{padding:32px 20px;text-align:center;color:#547595;font-size:14px;background:#f9fbff}.recommend-empty span{display:block;margin-top:8px;color:var(--muted);font-size:12px}
@media(max-width:960px){.home-editor .recommendations{grid-column:auto}}
@media(max-width:720px){.recommend-add{flex-wrap:wrap;gap:12px}.recommend-picker{width:100%}.recommend-count{padding:0}.recommend-picker-controls{gap:8px}.recommend-picker-controls button{padding:10px;font-size:12px}.recommend-row{grid-template-columns:28px minmax(0,1fr);gap:10px;padding:16px 12px}.recommend-number{width:26px;height:26px}.recommend-content{grid-column:2}.recommend-actions{grid-column:2;justify-content:flex-end}.recommend-title{font-size:13px}.home-editor label.recommend-summary{display:block;white-space:normal}.home-editor .recommend-summary input{width:100%;margin-top:6px}.recommend-hint{margin-top:10px}}

.recommend-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding-bottom:18px;border-bottom:1px solid #e9eff7}.recommend-tabs button{min-height:36px;padding:8px 14px;font-size:13px;border-radius:20px;background:#f8fbff;border-color:transparent}.recommend-tabs button span{font-size:11px;color:#8399b0}.recommend-tabs button.selected{background:#e7f1fd;border-color:#cddff2;color:#356da5;font-weight:600}.recommend-tabs button.selected span{color:#407bb6}.recommend-category{font-weight:400;font-size:11px;color:#6886a4;background:#f0f6fc;padding:3px 8px;border-radius:5px;white-space:nowrap}.recommend-title{flex-wrap:wrap}.recommend-title .badge{font-weight:400}@media(max-width:720px){.recommend-tabs{gap:6px}.recommend-tabs button{padding:7px 11px;font-size:12px}}
.member-id{font-size:11px;color:var(--muted);overflow-wrap:anywhere;white-space:normal;max-width:220px}.member-remark{font-size:12px;white-space:normal;max-width:260px;margin-top:6px;color:var(--muted)}.member-note{white-space:pre-wrap;min-width:180px;max-width:350px;overflow-wrap:anywhere}.member-table td:first-child{white-space:normal;min-width:180px}#member-filter label{font-size:12px;color:var(--muted)}#member-filter input[name=q]{flex:1;min-width:180px}.conversation-dialog{width:min(850px,94vw)}.conversation-body{padding:26px}.conversation-time{text-align:center;font-size:11px;color:var(--muted);margin:18px 0}.chat-bubble{padding:16px 18px;background:#f4f8fe;border:1px solid var(--border);border-radius:12px;max-width:92%;margin:10px 0;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.chat-bubble>div{white-space:pre-wrap}.chat-bubble strong{font-size:12px;color:#6285a7;display:block;margin-bottom:5px}.user-bubble{margin-left:auto;background:#eaf3ff}.chat-bubble details{margin-top:10px;font-size:12px}.conversation-body .pagination{margin-top:24px}@media(max-width:720px){.member-note{min-width:0;max-width:none}.member-table td:first-child{min-width:0}.member-id{max-width:150px}.member-remark{max-width:180px}.conversation-body{padding:18px}.chat-bubble{max-width:100%}#member-filter label{width:100%}#member-filter input[type=date]{max-width:70%}}
