:root{color-scheme:light;--staff-bg:#f4f5f7;--staff-surface:#fff;--staff-ink:#22252a;--staff-muted:#6b7280;--staff-border:#e4e7ec;--staff-accent:#d85c22;--staff-accent-soft:#fff2e9;--staff-dark:#25272d;--staff-radius:12px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--staff-ink);background:var(--staff-bg)}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,input,select,a{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f5aa7e}button{border:1px solid var(--staff-border);border-radius:8px;background:#fff;color:var(--staff-ink);padding:8px 13px;font-weight:600}button:hover:not(:disabled){border-color:#b5bbc5;background:#f8f9fb}input,select{min-width:0;width:100%;padding:10px 12px;border:1px solid #cfd4dc;background:#fff;color:var(--staff-ink);border-radius:8px}input[type=checkbox]{width:17px;height:17px;flex:none;margin:2px 0 0;accent-color:var(--staff-accent)}a{color:var(--staff-accent)}h1,h2,h3,p{margin-top:0}h1{font-size:24px;line-height:1.35;margin-bottom:8px}h2{font-size:19px;line-height:1.4;margin-bottom:4px}h3{font-size:15px;margin-bottom:8px}p{margin-bottom:12px}label{font-weight:600}small{font-size:12px}header:not(.staff-shell header){padding:18px 24px;background:var(--staff-dark);color:#fff}header:not(.staff-shell header) h1{font-size:19px;margin:0}#staff-account{font-weight:600}#staff-logout{margin-left:12px}#staff-status{margin:0;padding:0}#staff-status:not(:empty){margin:16px 24px;padding:10px 14px;background:#fff3eb;color:#913913;border:1px solid #f7d3ba;border-radius:9px}#staff-root{min-height:70vh}.staff-primary,form[action="/staff/login"] button[type=submit]{background:var(--staff-accent);color:#fff;border-color:var(--staff-accent)}.staff-primary:hover:not(:disabled),form[action="/staff/login"] button[type=submit]:hover:not(:disabled){background:#bc4b18;border-color:#bc4b18}.staff-danger{color:#b42318;border-color:#f1c5c0}.staff-muted{color:var(--staff-muted);font-weight:400}.staff-small{font-size:12px}.staff-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:5px;padding:2px 7px;background:#f0f2f5;color:#59616f;font-size:12px}.staff-pill--active{background:#eaf5ef;color:#247247}.staff-pill--disabled{background:#fef0ed;color:#a64132}.staff-preview{background:var(--staff-accent-soft);color:#99431b;border:1px solid #f4d4c0;padding:9px 13px;border-radius:8px;font-size:12px;margin-bottom:18px}.staff-shell{display:grid;grid-template-columns:190px minmax(0,1fr);max-width:1440px;margin:0 auto;min-height:calc(100vh - 90px)}.staff-sidebar{padding:25px 14px;border-right:1px solid var(--staff-border);background:#fafbfc}.staff-brand{font-size:15px;font-weight:750;padding:0 12px 20px;color:var(--staff-dark)}.staff-nav{display:flex;flex-direction:column;gap:5px}.staff-nav button{text-align:left;border:0;background:transparent;padding:10px 12px;font-weight:500}.staff-nav button[aria-current=page]{background:var(--staff-accent-soft);color:#ad471b;font-weight:700}.staff-sidebar-foot{margin:28px 12px;font-size:12px;color:var(--staff-muted)}.staff-main{min-width:0;padding:28px 30px 48px}.staff-page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}.staff-page-heading p{margin:5px 0 0;color:var(--staff-muted);font-size:13px}.staff-toolbar{display:flex;gap:10px;align-items:center;margin:0 0 12px}.staff-search{max-width:340px}.staff-count{margin-left:auto;white-space:nowrap;color:var(--staff-muted);font-size:12px}.staff-panel{background:#fff;border:1px solid var(--staff-border);border-radius:var(--staff-radius);padding:20px;margin-bottom:16px}.staff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.staff-grid .staff-panel{margin:0}.staff-stat{font-size:26px;font-weight:750;line-height:1.4;margin:10px 0 4px;font-variant-numeric:tabular-nums}.staff-panel-button{margin-top:8px}.staff-table-wrap{overflow:auto;border:1px solid var(--staff-border);border-radius:10px;background:#fff}.staff-table{border-collapse:collapse;width:100%;font-size:13px}.staff-table th{text-align:left;background:#f9fafb;color:#667085;font-weight:600;white-space:nowrap}.staff-table th,.staff-table td{padding:11px 14px;border-bottom:1px solid #edf0f3;vertical-align:middle}.staff-table tbody tr:last-child td{border:0}.staff-table tbody tr:hover{background:#fcfcfd}.staff-table td:first-child{font-weight:600}.staff-table td{overflow-wrap:anywhere}.staff-table .staff-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.staff-table .staff-actions button{padding:5px 9px;font-size:12px;white-space:nowrap}.staff-table .staff-money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.staff-table .staff-nowrap{white-space:nowrap}.staff-empty{text-align:center;padding:35px 18px;color:var(--staff-muted)}.staff-permissions{display:flex;gap:5px;flex-wrap:wrap;max-width:430px}.staff-permission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-permission-option{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--staff-border);border-radius:8px;font-weight:500}.staff-permission-option:has(input:checked){border-color:#e6ad8c;background:#fff9f5}.staff-permission-option small{display:block;color:var(--staff-muted);font-weight:400;line-height:1.45;margin-top:2px}.staff-form{display:grid;gap:15px}.staff-field{display:grid;gap:6px}.staff-help{font-size:12px;color:var(--staff-muted);font-weight:400}.staff-form-actions{display:flex;gap:9px;justify-content:flex-end;border-top:1px solid var(--staff-border);padding-top:16px}.staff-form-error:not(:empty){padding:9px 12px;background:#fff0ed;color:#b42318;border:1px solid #f5cdc7;border-radius:8px;font-size:13px}.staff-account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:18px}.staff-account-layout .staff-panel{margin:0}.staff-detail-row{display:flex;gap:16px;padding:9px 0;border-bottom:1px solid #edf0f3}.staff-detail-row:last-child{border:0}.staff-detail-row dt{min-width:66px;color:var(--staff-muted)}.staff-detail-row dd{margin:0;overflow-wrap:anywhere}.staff-dialog{margin:0 0 0 auto;border:0;border-radius:0;background:#fff;color:var(--staff-ink);width:min(520px,100%);height:100dvh;max-width:100%;max-height:100dvh;padding:0;box-shadow:-12px 0 40px #1018281a}.staff-dialog::backdrop{background:#10182866}.staff-dialog-head{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid var(--staff-border);z-index:1}.staff-dialog-head h2{font-size:18px;margin:0}.staff-dialog-body{padding:22px}.staff-dialog-close{width:32px;padding:3px;font-size:21px;line-height:1.1}.staff-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body:has(form[action="/staff/login"]){min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse at top,#fff6ef,#f4f5f7 60%)}body:has(form[action="/staff/login"])>header{background:transparent;color:var(--staff-ink);padding:0 0 22px;text-align:center}body:has(form[action="/staff/login"]) main{width:min(420px,100%);background:#fff;padding:30px;border:1px solid var(--staff-border);border-radius:16px;box-shadow:0 12px 50px #10182808}body:has(form[action="/staff/login"]) h1{font-size:23px}body:has(form[action="/staff/login"]) p{color:var(--staff-muted);font-size:13px}form[action="/staff/login"]{display:grid;gap:14px}form[action="/staff/login"] label{display:grid;gap:7px}form[action="/staff/login"] button[type=submit]{width:100%;padding:11px;margin-top:4px}form[action="/staff/login"] [role=alert]:not(:empty),body:has(form[action="/staff/login"]) [role=alert]:not(:empty){color:#b42318;background:#fff0ed;border:1px solid #f5cdc7;border-radius:8px;padding:10px 12px;font-size:13px}
@media(min-width:1100px){.staff-main{padding:30px 38px 48px}.staff-table th,.staff-table td{padding:11px 16px}}
@media(max-width:780px){header:not(.staff-shell header){padding:15px 16px}#staff-status:not(:empty){margin:12px 16px}.staff-shell{grid-template-columns:1fr;display:block}.staff-sidebar{padding:10px 12px;border-right:0;border-bottom:1px solid var(--staff-border)}.staff-brand,.staff-sidebar-foot{display:none}.staff-nav{flex-direction:row;overflow-x:auto;gap:4px}.staff-nav button{white-space:nowrap;flex:none;padding:8px 12px;font-size:13px}.staff-main{padding:20px 16px 32px}.staff-page-heading{margin-bottom:16px}.staff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-account-layout{grid-template-columns:1fr}.staff-permissions{max-width:280px}.staff-table th,.staff-table td{padding:10px 11px}.staff-table-wrap{border-radius:8px}.staff-table{min-width:570px}.staff-panel{padding:16px}.staff-dialog-head,.staff-dialog-body{padding:18px}.staff-page-heading h1{font-size:22px}}
@media(max-width:440px){.staff-grid{grid-template-columns:1fr}.staff-permission-list{grid-template-columns:1fr}.staff-page-heading{flex-wrap:wrap}.staff-toolbar{flex-wrap:wrap}.staff-search{max-width:100%}.staff-count{margin-left:0}.staff-form-actions{flex-wrap:wrap}.staff-form-actions button{flex:1}body:has(form[action="/staff/login"]) main{padding:24px}#staff-account{display:block;font-size:13px}#staff-logout{margin-left:0;margin-top:8px}.staff-preview{margin-bottom:15px}}
.staff-dashboard>main.staff-shell{display:block;max-width:none;min-height:0}.staff-dashboard>main.staff-shell>.staff-note{margin:0;padding:9px 24px;background:#fff3e9;color:#99431b;font-size:12px}.staff-topbar{display:flex;justify-content:space-between;align-items:center;gap:18px}.staff-topbar .staff-brand{padding:0;color:#fff;text-decoration:none;font-size:14px}.staff-topbar>div{display:flex;align-items:center}.staff-rights{margin-top:18px}.staff-permission-fieldset{border:0;padding:0;margin:0}.staff-permission-fieldset legend{font-weight:600;margin-bottom:9px}.staff-permission-fieldset>.staff-help{margin:10px 0 0}.staff-login-card>.staff-brand{padding:0;color:var(--staff-accent);font-size:12px;letter-spacing:.6px;font-weight:750}.staff-login-card>.staff-note{margin:19px 0 0;font-size:12px}.staff-dashboard #staff-root>.staff-panel{margin:20px 24px}.staff-message:empty{display:none}
@media(max-width:780px){.staff-dashboard>main.staff-shell>.staff-note{padding:9px 16px}}
@media(max-width:440px){.staff-topbar .staff-brand{font-size:12px}.staff-topbar>div{align-items:flex-end;flex-direction:column}.staff-topbar #staff-logout{padding:4px 9px;font-size:12px;margin-top:4px}}
.staff-topbar>div{min-width:0}#staff-account{overflow-wrap:anywhere}.staff-topbar .staff-brand{flex-shrink:0}
[hidden]{display:none!important}textarea{width:100%;min-width:0;font:inherit;line-height:1.5;resize:vertical;border:1px solid #cfd4dc;border-radius:8px;padding:10px 12px;color:var(--staff-ink);background:#fff}textarea:focus-visible{outline:3px solid #f5aa7e;outline-offset:3px}.staff-tabs{display:flex;gap:5px;overflow-x:auto;margin:0 0 16px;padding:3px;border-bottom:1px solid var(--staff-border)}.staff-tabs button{white-space:nowrap;border:0;background:transparent;font-weight:500}.staff-tabs button[aria-pressed=true]{background:var(--staff-accent-soft);color:#ad471b;font-weight:700}.staff-pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin:13px 0 20px;font-size:12px}.staff-list-select{width:auto;max-width:180px;font-size:13px;padding:9px 11px}.staff-dialog--wide{width:min(700px,100%)}.staff-course-editor .staff-tabs{position:sticky;top:-1px;background:#fff;z-index:1;padding:6px 0}.staff-editor-section{display:grid;gap:14px}.staff-subpanel{padding:14px;border:1px solid var(--staff-border);border-radius:9px;background:#fcfcfd;margin:12px 0}.staff-subpanel>.staff-field{margin-top:10px}.staff-inline-heading{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:8px 0}.staff-inline-heading strong,.staff-inline-heading>span{margin-right:auto;overflow-wrap:anywhere}.staff-inline-heading button{padding:5px 9px;font-size:12px}.staff-content-editor{display:grid;gap:10px}.staff-content-editor>.staff-subpanel{margin:0}.staff-check{display:flex;gap:9px;align-items:flex-start;font-weight:500;padding:7px 0}.staff-check input{margin-top:3px}.staff-course-cover{display:block;max-width:100%;max-height:180px;border-radius:8px;object-fit:contain;margin-bottom:12px}.staff-publish-preview:not(:empty){padding:16px;border:1px solid #f0d4c0;border-radius:10px;background:#fffcf9}.staff-content-list{padding-left:21px;font-size:13px}.staff-content-list li{margin:6px 0}.staff-space-heading{margin-top:24px}details summary{cursor:pointer;font-weight:600;color:#a94920;padding:5px 0}details>div{margin-top:10px}.staff-dialog--wide .staff-table{min-width:450px}.staff-course-editor>.staff-form-actions{position:sticky;bottom:-22px;background:#fff;padding:14px 0;z-index:1}.staff-dialog--wide .staff-search{max-width:250px}.staff-dialog--wide .staff-table th,.staff-dialog--wide .staff-table td{padding:9px 10px}.staff-toolbar>.staff-list-select:has(option:only-child){display:none}
@media(max-width:780px){.staff-dialog--wide .staff-table{min-width:480px}.staff-dialog--wide .staff-search{max-width:100%}.staff-pagination{justify-content:center}.staff-course-editor>.staff-form-actions{bottom:-18px}.staff-list-select{max-width:160px}.staff-tabs button{padding:8px 11px}.staff-subpanel{padding:12px}}
.staff-local-feedback:empty{display:none}.staff-local-feedback{margin:0;padding:9px 12px;border:1px solid #b8ddc8;border-radius:8px;background:#eef8f2;color:#246344;font-size:13px}.staff-video-info{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;font-size:13px;color:#59616f}.staff-video-info button{font-size:12px;flex:none}.staff-material-name{display:flex;align-items:center;gap:10px;min-width:140px}.staff-material-name>span{overflow-wrap:anywhere}.staff-material-thumb{width:62px;height:40px;flex:none;object-fit:cover;border-radius:5px;background:#f1f3f6;border:1px solid #e4e7ec}.staff-material-thumb--document{object-fit:contain;background:#fff}.staff-table .staff-actions button.staff-added:disabled{cursor:default;opacity:1;background:#edf7f1;border-color:#c5e2d1;color:#2b7150}.staff-media-dialog{margin:auto;width:min(900px,calc(100% - 40px));height:auto;max-height:calc(100dvh - 40px);border-radius:12px;box-shadow:0 20px 80px #10182840}.staff-media-dialog::backdrop{background:#10182899}.staff-media-dialog .staff-dialog-body{display:grid;gap:14px}.staff-media-dialog .staff-dialog-body>h3,.staff-media-dialog .staff-dialog-body>p{margin:0}.staff-media-dialog .staff-dialog-body>button{justify-self:end}.staff-media-video{display:block;width:100%;max-height:65dvh;background:#111;border-radius:8px}.staff-document-page{display:block;width:100%;height:auto;border:1px solid var(--staff-border);background:#f6f7f9}.staff-document-pager{display:flex;align-items:center;justify-content:center;gap:16px}.staff-document-pager>span{font-size:13px;white-space:nowrap}.staff-result-dialog{margin:auto;width:min(450px,calc(100% - 32px));height:auto;max-height:calc(100dvh - 32px);border-radius:12px;box-shadow:0 20px 80px #10182840}.staff-result-dialog .staff-dialog-body{text-align:center;padding:28px}.staff-success-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#eaf6ef;color:#26734a;font-size:29px;font-weight:700;margin:0 auto 16px}.staff-result-title{font-size:18px;overflow-wrap:anywhere;margin-bottom:9px}.staff-result-dialog .staff-form-actions{justify-content:center;margin-top:24px}
@media(max-width:600px){.staff-media-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:10px}.staff-media-dialog .staff-dialog-head,.staff-media-dialog .staff-dialog-body{padding:16px}.staff-material-thumb{width:48px;height:34px}.staff-material-name{gap:7px}.staff-video-info{align-items:flex-start}.staff-document-pager{gap:8px}.staff-document-pager button{padding:7px 10px}.staff-result-dialog .staff-dialog-body{padding:24px 20px}}
.staff-media-video{min-width:0;max-width:100%;aspect-ratio:16/9;object-fit:contain}.staff-document-page{min-width:0;max-width:100%}.staff-media-dialog .staff-dialog-body{min-width:0}
.staff-result-dialog{height:fit-content;min-height:0}
.staff-field input::placeholder,.staff-field textarea::placeholder{color:#7b8491;opacity:1;font-weight:400}.staff-chapter-option{margin:8px 0}.staff-chapter-option summary{font-size:12px;color:#667085;font-weight:500}.staff-chapter-option>.staff-field{margin:8px 0}.staff-video-info>span{min-width:0;overflow-wrap:anywhere}
.staff-dialog--wide .staff-dialog-body,.staff-course-editor,.staff-course-editor>*,.staff-course-editor .staff-editor-section,.staff-course-editor .staff-editor-section>*,.staff-course-editor .staff-subpanel,.staff-course-editor details>div,.staff-course-editor .staff-content-editor,.staff-course-editor .staff-content-editor>*{min-width:0;max-width:100%}.staff-course-editor,.staff-course-editor .staff-editor-section,.staff-course-editor .staff-subpanel,.staff-course-editor .staff-content-editor{width:100%}.staff-course-editor .staff-table-wrap{min-width:0;width:100%;max-width:100%;overflow-x:auto}.staff-course-editor .staff-form-actions{min-width:0;width:100%}

/* Confirmed brand palette 2026-10-15 */

:root{--brand-coral:#FF6F61;--staff-bg:#F6F7FB;--staff-surface:#fff;--staff-ink:#222632;--staff-muted:#626B7B;--staff-border:#E6E8EF;--staff-accent:#B9362C;--staff-accent-soft:#FFF0ED;--staff-dark:#20232D}
.staff-topbar{background:var(--staff-dark)}.staff-topbar .staff-brand,.staff-brand,.staff-login-card>.staff-brand{color:var(--brand-coral)}
.staff-primary,form[action="/staff/login"] button[type=submit]{background:var(--brand-coral);border-color:var(--brand-coral);color:#20232D;font-weight:700}
.staff-primary:hover:not(:disabled),form[action="/staff/login"] button[type=submit]:hover:not(:disabled){background:#FF8B80;border-color:#FF8B80;color:#20232D}
.staff-nav button[aria-current=page],.staff-tabs button[aria-pressed=true]{background:var(--staff-accent-soft);color:var(--staff-accent)}
.staff-sidebar{background:#fff}.staff-panel,.staff-table-wrap{border-color:var(--staff-border)}.staff-subpanel{background:#FAFBFD;border-color:var(--staff-border)}
.staff-dashboard>main.staff-shell>.staff-note,.staff-preview{background:#FFF5F2;color:#844A43;border-color:#F0D9D5}
#staff-status:not(:empty){background:var(--staff-accent-soft);border-color:#F0D9D5;color:#8E332B}
.staff-permission-option:has(input:checked){background:#FFF7F5;border-color:#E9B4AD}.staff-publish-preview:not(:empty){background:#FFFAF9;border-color:#EED3CE}
.staff-field input:focus-visible,.staff-field textarea:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible{outline-color:#B9362C}
.staff-topbar a:focus-visible,.staff-topbar button:focus-visible{outline-color:#FF6F61}
body:has(form[action="/staff/login"]){background:#F6F7FB}.staff-panel-button:hover:not(:disabled){background:#FFF0ED;border-color:#E9B4AD}

.staff-business-options{border:1px solid var(--staff-border);border-radius:8px;padding:10px;margin:8px 0;min-width:0}.staff-business-options>summary{cursor:pointer;font-weight:600}.staff-business-options>p button{margin:4px;white-space:normal;text-align:left}.staff-business-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.staff-business-skus fieldset{min-width:0;margin:10px 0}.staff-row-actions{display:flex;gap:6px;flex-wrap:wrap}.staff-form [hidden]{display:none!important}.staff-business-options .staff-table-wrap{max-width:100%}.staff-form input[type=date],.staff-form input[type=datetime-local]{min-width:0;width:100%}@media(max-width:560px){.staff-business-pair{grid-template-columns:1fr}.staff-dialog .staff-table{min-width:0}.staff-dialog .staff-table td{overflow-wrap:anywhere}}


.staff-home-preview{max-width:390px;margin:16px auto;padding:20px;border:1px solid var(--staff-line,#ddd);border-radius:20px;background:var(--staff-panel,#fff);overflow-wrap:anywhere}.staff-home-card{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid var(--staff-line,#ddd)}.staff-home-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.staff-home-card small{color:var(--staff-muted,#666)}

/* Material actions stay readable when the content column narrows. */
.staff-materials-toolbar{flex-wrap:wrap}.staff-materials-toolbar>button{flex:0 0 auto;white-space:nowrap}.staff-materials-toolbar>input:not([type=file]){flex:1 1 200px;max-width:100%}.staff-materials-toolbar>select{flex:1 1 145px;max-width:100%}

.staff-legacy-claims .staff-table{min-width:760px}.staff-legacy-claims .staff-table td:first-child{min-width:170px}.staff-legacy-claims .staff-toolbar{flex-wrap:wrap;align-items:flex-end}.staff-legacy-claims .staff-toolbar>label:first-child{flex:1;min-width:180px}.staff-legacy-claims .staff-toolbar>label{margin-bottom:0}.staff-legacy-claims button{white-space:nowrap}

.staff-introduction-image{display:block;width:100%;max-width:800px;height:auto;margin:16px auto;object-fit:contain;}
/* Generated WeChat codes remain legible inside the responsive staff drawer. */
.staff-promotion-code { display:block; width:280px; max-width:100%; height:auto; margin:12px 0; background:#fff; }

.staff-publication-copy{white-space:pre-wrap;line-height:1.8}

.browser-copy-buffer{position:fixed;left:-10000px;top:0;width:1px;height:1px;opacity:0}
