:root{--bg: #f5f7fb;--panel: #ffffff;--line: #e6ebf2;--line-strong: #d7dee8;--text: #172033;--muted: #667085;--soft: #f0f5f8;--brand: #12a8b4;--brand-dark: #087d8a;--blue: #2563eb;--green: #16a34a;--amber: #d97706;--red: #dc2626;--purple: #7c3aed;--shadow: 0 16px 45px rgba(21, 32, 54, .08)}*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.admin-shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#0f1d2b;color:#fff;padding:22px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 22px}.brand-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#1cc8d6,#1977d2);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900}.brand-name{font-size:17px;font-weight:800}.brand-subtitle{margin-top:3px;color:#ffffff9e;font-size:12px}.nav{display:flex;flex-direction:column;gap:7px;overflow-y:auto;padding-right:4px}.nav-group{border-radius:9px}.nav-group summary{min-height:36px;padding:0 10px;color:#ffffff7a;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group-arrow{font-size:15px;transition:transform .18s ease}.nav-group[open] .nav-group-arrow{transform:rotate(180deg)}.nav-group-items{display:grid;gap:4px;padding-bottom:3px}.nav-group .nav-button{padding-left:16px}.nav-button{width:100%;border:0;background:transparent;color:#ffffffbd;padding:11px 12px;border-radius:9px;display:flex;align-items:center;gap:11px;text-align:left}.nav-button:hover,.nav-button.active{color:#fff;background:#ffffff1c}.nav-icon{width:26px;height:26px;border-radius:8px;background:#ffffff1a;display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}.nav-label{font-size:14px;font-weight:700}.sidebar-footer{margin-top:auto;border:1px solid rgba(255,255,255,.12);background:#ffffff0f;border-radius:12px;padding:12px;display:flex;align-items:center;gap:10px}.server-status{width:9px;height:9px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 5px #22c55e29}.status-title{font-size:13px;font-weight:800}.status-text{color:#fff9;font-size:12px;margin-top:2px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:48px 20px}.login-card{width:min(460px,100%);background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px 34px 30px;box-shadow:0 24px 70px #0f172a1f}.login-card h2{margin:0 0 24px;font-size:24px;line-height:1.25}.login-card .field{gap:9px;margin:0 0 18px}.login-card .field span{font-size:15px;font-weight:700}.login-card .field-input{min-height:42px;border-radius:8px;padding:0 13px}.login-button{width:100%;min-height:42px;margin-top:4px}body.login-mode .admin-shell{display:block;min-height:100vh}body.login-mode .sidebar,body.login-mode .topbar{display:none}body.login-mode .main{min-height:100vh;padding:0}body.login-mode .view{min-height:100vh}.form-error{color:var(--red);background:#fff1f2;border:1px solid #fecdd3;border-radius:8px;padding:9px 10px;margin-bottom:12px;font-size:13px}.main{min-width:0;padding:22px 28px 36px}.topbar{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:22px}.topbar h1{margin:0;font-size:28px;line-height:1.2;letter-spacing:0}.breadcrumb{min-height:26px;display:flex;align-items:center;gap:7px;margin-bottom:5px;color:var(--muted);font-size:16px}.breadcrumb button{border:0;padding:0;background:transparent;color:var(--brand-dark);font-weight:800;font-size:16px;cursor:pointer}.breadcrumb-separator{color:#98a2b3}.breadcrumb-current{color:#475467;font-weight:800;font-size:16px}.topbar p{margin:7px 0 0;color:var(--muted);font-size:14px}.topbar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.primary-button,.ghost-button,.danger-button,.icon-button{border:0;border-radius:9px;min-height:38px;padding:0 14px;font-weight:800}.primary-button{background:var(--brand);color:#fff;box-shadow:0 8px 18px #12a8b438}.primary-button:disabled{opacity:.48;cursor:not-allowed}.ghost-button{background:#fff;color:var(--text);border:1px solid var(--line)}.ghost-button:disabled{opacity:.46;cursor:not-allowed}.ghost-button.small{min-height:32px;padding:0 10px;font-size:12px}.danger-button{background:#fff1f2;color:var(--red);border:1px solid #fecdd3}.icon-button{width:34px;height:34px;min-height:34px;padding:0;background:#f2f4f7;color:var(--muted);font-size:22px}.admin-profile{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px 10px}.avatar{width:34px;height:34px;border-radius:999px;background:#e8faf8;color:var(--brand-dark);font-weight:900;display:flex;align-items:center;justify-content:center}.admin-name{font-size:13px;font-weight:800}.admin-role{font-size:12px;color:var(--muted);margin-top:2px}.view{display:flex;flex-direction:column;gap:18px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.metric-card{padding:18px}.metric-label{color:var(--muted);font-size:13px;font-weight:700}.metric-value{display:flex;align-items:baseline;gap:8px;margin-top:9px;font-size:28px;font-weight:900}.metric-change{font-size:12px;color:var(--green);font-weight:800}.metric-hint{color:var(--muted);font-size:12px;margin-top:8px}.panel{padding:18px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.panel-title{font-size:17px;font-weight:900;margin:0}.panel-subtitle{color:var(--muted);margin:5px 0 0;font-size:13px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px}.wide-panel{grid-column:1 / -1}.bar-chart{display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:110px minmax(120px,1fr) 70px;gap:10px;align-items:center;font-size:13px}.bar-label{font-weight:800;color:#344054}.bar-track{height:12px;border-radius:999px;background:#eef3f7;overflow:hidden}.bar-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#12a8b4,#2563eb)}.bar-value{color:var(--muted);font-weight:800;text-align:right}.trend-chart{min-height:172px;display:flex;align-items:end;justify-content:space-between;gap:10px}.trend-item{flex:1;min-width:42px;text-align:center}.trend-bars{height:132px;display:flex;align-items:end;justify-content:center;gap:5px}.trend-bars span{width:12px;border-radius:7px 7px 0 0}.trend-user{background:var(--brand)}.trend-member{background:var(--purple)}.trend-label,.chart-legend{color:var(--muted);font-size:12px;margin-top:8px}.chart-legend{display:flex;align-items:center;gap:7px}.dot{width:9px;height:9px;border-radius:999px;display:inline-block}.user-dot{background:var(--brand)}.member-dot{background:var(--purple)}.status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.status-tile{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;padding:14px;text-align:left}.status-tile span{color:var(--muted);font-weight:800;font-size:13px}.status-tile strong{display:block;margin-top:8px;font-size:26px}.grant-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:end}.grant-actions{display:flex;gap:9px;padding-bottom:1px}.grant-users{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}.user-result{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 11px;display:inline-flex;gap:10px;align-items:center;color:var(--text)}.user-result.active{border-color:var(--brand);background:#ecfeff;color:var(--brand-dark)}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exam-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.exam-card{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfcfe}.exam-card h3{margin:0 0 12px;font-size:15px}.exam-sections{display:grid;gap:10px}.exam-section{border-top:1px solid var(--line);padding-top:10px}.exam-section-title{font-weight:900;margin-bottom:7px}.exam-question{color:#344054;font-size:13px;line-height:1.55;white-space:pre-wrap}.exam-question small{display:block;color:var(--muted);margin-top:4px}.exam-question.muted{color:var(--muted)}.question-bank-summary,.quality-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.question-bank-metric{min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px}.question-bank-metric span,.question-bank-metric small{display:block;color:var(--muted);font-size:12px}.question-bank-metric strong{display:block;margin:8px 0 6px;font-size:25px}.question-bank-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}.question-bank-tab{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:10px 15px 12px;font-weight:800}.question-bank-tab.active{color:var(--brand-dark);border-bottom-color:var(--brand)}.official-type-tabs{display:flex;gap:8px;margin:14px 0;overflow-x:auto}.official-type-tab{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);padding:8px 14px;font-weight:800}.official-type-tab.active{border-color:#c82f3c38;background:#fff4f5;color:var(--brand-dark)}.excel-table-wrap{position:relative;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fff}.excel-table-wrap.loading{min-height:220px}.excel-table-wrap.loading .excel-table{opacity:.45;pointer-events:none}.table-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-items:center;align-content:center;gap:10px;color:var(--muted);font-size:13px;font-weight:800;background:#ffffffb8}.table-loading span{width:24px;height:24px;border-radius:50%;border:3px solid rgba(210,48,68,.16);border-top-color:var(--brand);animation:spin .75s linear infinite}.excel-table{width:100%;min-width:1080px;border-collapse:collapse;font-size:13px}.excel-table th,.excel-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 12px;vertical-align:top;text-align:left}.excel-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#475467;font-weight:900}.excel-table tr:hover td{background:snow}.excel-table tr.editing td{background:#fff8f8}.excel-index{width:68px;color:var(--muted);text-align:center!important}.excel-content{min-width:260px;max-width:520px;line-height:1.6}.excel-pinyin{min-width:180px;color:#344054;line-height:1.6}.excel-tags{min-width:160px}.excel-audio{min-width:150px}.official-audio-editor{position:relative;display:grid;gap:8px}.official-audio-actions{display:flex;gap:8px;align-items:center}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.excel-edit-field.audio-url{min-width:240px;color:var(--muted)}.excel-actions{min-width:116px;white-space:nowrap}.excel-actions .text-button{margin-left:8px}.excel-view-text{display:block;white-space:pre-wrap}.excel-edit-field{width:100%;min-width:180px;border:1px solid var(--line);border-radius:6px;padding:8px 10px;color:var(--text);background:#fff;font:inherit;line-height:1.5}.excel-edit-field:focus{outline:none;border-color:#d2304461;box-shadow:0 0 0 3px #d2304414}.excel-edit-field.content{min-height:78px;resize:vertical}.paper-list,.quality-list,.version-list{display:grid;gap:10px}.paper-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:15px;background:#fff}.paper-title{font-size:15px;font-weight:900}.paper-meta,.paper-desc{margin-top:5px;color:var(--muted);font-size:12px}.paper-actions,.resource-card-head,.resource-foot{display:flex;align-items:center;gap:10px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.resource-card{min-width:0;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff}.resource-card-head{justify-content:space-between}.resource-card h3{margin:13px 0 7px;font-size:15px}.resource-card p{min-height:64px;max-height:112px;margin:0;color:#344054;font-size:13px;line-height:1.6;overflow:hidden;white-space:pre-wrap}.resource-foot{margin-top:12px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;flex-wrap:wrap}.resource-foot .text-button{margin-left:auto}.quality-summary{margin-bottom:16px}.quality-row{width:100%;display:grid;grid-template-columns:68px minmax(150px,.7fr) 100px minmax(220px,1.3fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff;color:var(--text);text-align:left}.quality-row:hover{border-color:var(--brand)}.rule-grid,.paper-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scoring-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.scoring-policy{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff}.scoring-policy>div{display:flex;align-items:center;gap:10px}.scoring-policy p{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.rule-item{display:grid;grid-template-columns:62px minmax(0,1fr);gap:5px 12px;border-left:3px solid var(--brand);padding:12px 14px;background:#f8fafc}.rule-item span{grid-row:1 / 3;color:var(--brand-dark);font-weight:900}.rule-item small{color:var(--muted)}.notice-box,.section-warning{margin-top:16px;border:1px solid #f5d493;border-radius:8px;background:#fffbeb;color:#92400e;padding:12px 14px;font-size:13px;line-height:1.6}.paper-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.paper-detail-header h2{margin:10px 0 5px}.paper-detail-header p{margin:0;color:var(--muted)}.back-button{border:0;background:transparent;color:var(--brand-dark);padding:0;font-weight:800}.paper-section-card{min-width:0;border:1px solid var(--line);border-top:3px solid var(--brand);border-radius:8px;padding:16px;background:#fff}.paper-section-card.section-2{border-top-color:var(--blue)}.paper-section-card.section-3{border-top-color:var(--green)}.paper-section-card.section-4{border-top-color:var(--purple)}.paper-section-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.paper-section-head span,.section-stats{color:var(--muted);font-size:12px}.paper-section-head h3{margin:4px 0 0;font-size:16px}.paper-section-content{max-height:360px;margin-bottom:12px;padding:12px;background:#f8fafc;color:#344054;font-size:13px;line-height:1.75;overflow:auto;white-space:pre-wrap}.version-row{display:grid;grid-template-columns:150px 90px minmax(0,1fr) 150px;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0;font-size:13px}.version-row span,.version-row time{color:var(--muted)}.quick-card{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;padding:14px}.quick-title{font-weight:900;margin-bottom:5px}.quick-desc{color:var(--muted);font-size:13px;line-height:1.5}.timeline{display:flex;flex-direction:column;gap:12px}.timeline-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.timeline-item:last-child{border-bottom:0;padding-bottom:0}.timeline-time{color:var(--muted);font-size:12px}.timeline-title{font-weight:800;margin-bottom:4px}.timeline-desc{color:var(--muted);font-size:13px}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px}.filter-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-input,.select-input,.field-input,.field-select,.field-textarea{border:1px solid var(--line-strong);background:#fff;border-radius:9px;min-height:38px;padding:0 11px;color:var(--text);outline:none}.field-select{width:100%;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.search-input{width:260px}.search-input.small-input{width:160px}.date-input{min-height:36px}.inline-date{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:13px;font-weight:800}.field-textarea{padding:10px 11px;min-height:88px;resize:vertical}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;min-width:920px;background:#fff}th,td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}th.col-cover,td.col-cover{width:96px;min-width:96px;max-width:96px}th{color:#475467;background:#f8fafc;font-weight:900;white-space:nowrap}tr:last-child td{border-bottom:0}.row-title{font-weight:900;color:var(--text)}.table-thumb{width:72px!important;height:54px!important;max-width:72px!important;max-height:54px!important;display:block;border-radius:8px;object-fit:cover;background:#f3f5f7;border:1px solid var(--line)}.table-wrap img.table-thumb,td.col-cover img{width:72px!important;height:54px!important;max-width:72px!important;max-height:54px!important;object-fit:cover!important}.table-courses img.table-thumb,.table-courses td.col-cover img,.table-courses .table-thumb.placeholder{width:96px!important;height:54px!important;max-width:96px!important;max-height:54px!important}.table-thumb.placeholder{display:flex;align-items:center;justify-content:center;color:#98a2b3;font-size:12px;font-weight:700}.row-subtitle{margin-top:4px;color:var(--muted);font-size:12px;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;font-size:12px;font-weight:900;background:#eef2ff;color:var(--blue)}.badge.green{background:#ecfdf3;color:var(--green)}.badge.amber{background:#fffbeb;color:var(--amber)}.badge.red{background:#fef2f2;color:var(--red)}.badge.gray{background:#f2f4f7;color:#475467}.badge.purple{background:#f5f3ff;color:var(--purple)}.actions{display:flex;gap:8px;white-space:nowrap}.text-button{border:0;background:transparent;color:var(--brand-dark);font-weight:900;padding:0}.text-button.red{color:var(--red)}.pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:12px;color:var(--muted);font-size:13px}.compact-panel{padding:14px 18px}.batch-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px}.batch-toolbar strong{display:block;margin-bottom:4px}.batch-toolbar span{color:var(--muted);font-size:13px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.detail-item{border:1px solid var(--line);border-radius:8px;padding:11px;background:#fbfcfe}.detail-item span{display:block;color:var(--muted);font-size:12px;font-weight:800;margin-bottom:5px}.detail-item strong{font-size:14px;word-break:break-word}.detail-block{margin-top:16px;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff}.detail-block h3{margin:0 0 8px;font-size:15px}.settings-groups{display:grid;gap:14px}.settings-group{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.settings-group.is-editing{border-color:#efb3b8;box-shadow:0 0 0 3px #ca2d3a0d}.settings-group-header{min-height:66px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.settings-group-header h3{margin:0;font-size:15px}.settings-group-header p{margin:5px 0 0;color:var(--muted);font-size:12px}.settings-card-actions{display:flex;align-items:center;gap:10px}.settings-form{padding:16px}.settings-edit-form{background:#fbfcfe}.settings-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px 16px 14px}.settings-summary-item{min-width:0;padding:14px 18px 12px 0;border-bottom:1px solid #eef1f5;display:grid;gap:7px}.settings-summary-item span{color:var(--muted);font-size:12px}.settings-summary-item strong{min-width:0;color:var(--text);font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.settings-summary-item strong.is-empty{color:#98a2b3;font-weight:500}.settings-summary-image{display:flex;align-items:center;gap:10px}.settings-summary-image img{width:48px;height:48px;object-fit:cover;border:1px solid var(--line);border-radius:6px;background:#f7f8fa}.settings-upload-preview{width:112px;height:72px;margin-top:10px}.settings-upload-preview img{width:100%;height:100%;object-fit:cover}.settings-notice,.channel-message{color:var(--muted);font-size:12px;line-height:1.5}.settings-notice{margin:12px 0 0}.channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.channel-card{border:1px solid var(--line);border-radius:8px;background:#fbfcfe;padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.channel-card-head,.channel-actions,.channel-message{grid-column:1 / -1}.channel-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.channel-card-head strong{display:block}.channel-card-head div span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.channel-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.link-button{min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--brand-dark);font-size:13px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center}.detail-block p{margin:0;color:#344054;line-height:1.7;white-space:pre-wrap}.ticket-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-actions{display:flex;justify-content:flex-end}.pagination-controls,.pagination-size,.pagination-jump{display:flex;align-items:center;gap:8px}.select-input.compact{min-height:32px;padding:0 8px}.page-input{width:58px;min-height:32px;border:1px solid var(--line-strong);border-radius:8px;padding:0 8px;color:var(--text)}.empty{padding:34px;text-align:center;color:var(--muted);background:#fff}.empty.large{min-height:280px;display:grid;place-items:center}.empty.small{padding:10px 0}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f1d2b6b;display:flex;align-items:center;justify-content:center;padding:24px;z-index:30}.modal-mask.hidden{display:none}.hidden{display:none!important}.modal{width:min(720px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 80px #0f1d2b3d}.modal.review-modal{width:min(1040px,100%)}.modal.benefit-modal{width:min(760px,100%)}.modal-header,.modal-actions{padding:18px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.modal-header h2{margin:0;font-size:19px}.modal-header p{margin:5px 0 0;color:var(--muted);font-size:13px}.modal-form{padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.modal-form.review-modal-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;align-items:start}.benefit-modal-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.benefit-overview.full,.benefit-section-title.full{grid-column:1 / -1}.benefit-overview{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:10px;background:#f8fafc;overflow:hidden}.benefit-current{width:210px;padding:18px 20px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line)}.benefit-current span,.benefit-totals span{display:block;color:var(--muted);font-size:12px}.benefit-current strong{margin:5px 0 4px;color:var(--text);font-size:20px;line-height:1.2}.benefit-current.is-active strong{color:#b7791f}.benefit-current small{color:#667085;font-size:12px}.benefit-totals{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center}.benefit-totals div{min-width:0;padding:16px 18px}.benefit-totals div+div{border-left:1px solid var(--line)}.benefit-totals strong{display:block;margin-top:7px;color:var(--text);font-size:18px;line-height:1.1}.benefit-section-title{margin-top:2px;padding-top:4px;color:#344054;font-size:13px;font-weight:800}.benefit-section-title:not(:first-of-type){margin-top:6px;padding-top:14px;border-top:1px solid var(--line)}@media (max-width: 720px){.benefit-overview{display:block}.benefit-current{width:auto;border-right:0;border-bottom:1px solid var(--line)}.benefit-totals{grid-template-columns:1fr}.benefit-totals div+div{border-left:0;border-top:1px solid var(--line)}}.review-modal-form .field.full{grid-column:auto}.review-modal-form .field:has([name=product]),.review-modal-form .field:has([name=content]),.review-modal-form .field:has([name=images]){grid-column:1 / -1}.review-modal-form .field-textarea{min-height:92px}.review-modal-form .field:has([name=content]) .field-textarea{min-height:116px}.modal-actions{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1 / -1}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(190px,1fr));gap:18px 26px;align-items:start}.success-result-settings{grid-template-columns:repeat(2,minmax(220px,360px));align-items:end}.table-image-button{display:inline-flex;padding:0;border:0;background:transparent;cursor:pointer}.push-compose-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px 22px;align-items:start}.push-compose-grid .full{grid-column:1 / -1}.push-compose-grid textarea,.automation-rule-grid textarea{min-height:84px;padding-top:10px;resize:vertical}.push-publisher-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.push-publisher-fields{min-width:0;display:grid;gap:16px}.push-target-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px 22px}.push-title-field,.push-summary-field{position:relative}.push-title-field small,.push-summary-field small{position:absolute;right:10px;bottom:8px;color:#98a2b3;font-size:11px}.push-title-field .field-input{padding-right:54px;font-size:18px;font-weight:800}.push-summary-field textarea{min-height:72px;padding:10px 58px 10px 11px;resize:vertical}.push-rich-editor{overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:#f3f5f7}.push-rich-editor:focus-within{border-color:#12a8b4b8;box-shadow:0 0 0 3px #12a8b41a}.push-rich-toolbar{min-height:46px;padding:6px 8px;display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--line);background:#f8fafc}.push-rich-toolbar button{min-width:32px;height:32px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:#344054;font-size:13px;font-weight:750}.push-rich-toolbar button:hover,.push-rich-toolbar button:focus-visible{background:#e9eef3;outline:none}.push-rich-toolbar button:disabled{color:#98a2b3;cursor:wait}.push-toolbar-divider{width:1px;height:20px;margin:0 4px;background:var(--line-strong)}.push-toolbar-spacer{flex:1}.push-rich-content{width:min(660px,100%);min-height:390px;max-height:660px;margin:0 auto;overflow-y:auto;box-sizing:border-box;padding:24px 28px 40px;background:#fff;color:#344054;font-size:15px;line-height:1.85;outline:none}.push-rich-content:empty:before{content:attr(data-placeholder);color:#98a2b3;pointer-events:none}.push-rich-content p,.push-preview-content p{margin:0 0 15px}.push-rich-content [data-indent="1"],.push-preview-content [data-indent="1"]{text-indent:2em}.push-rich-content h2,.push-preview-content h2{margin:26px 0 12px;color:#1d2939;font-size:21px;line-height:1.45}.push-rich-content h3,.push-preview-content h3{margin:22px 0 10px;color:#1d2939;font-size:18px;line-height:1.5}.push-rich-content blockquote,.push-preview-content blockquote{margin:18px 0;padding:12px 15px;border-left:3px solid #d42e3d;background:#f8fafc;color:#667085}.push-rich-content img,.push-preview-content img{display:block;width:100%;max-width:100%;height:auto;box-sizing:border-box;margin:18px auto;border-radius:6px}.push-rich-content a,.push-preview-content a{color:#087d8a;text-decoration:underline}.push-live-preview{position:sticky;top:18px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:8px;background:#eef2f4}.push-preview-heading{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#344054;font-size:13px}.push-preview-heading span{color:#98a2b3;font-size:11px}.push-notification-preview{margin:8px 0 12px;padding:12px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#fffffff0;box-shadow:0 8px 18px #0f172a12}.push-preview-app-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#d42e3d;color:#fff;font-weight:900}.push-notification-preview strong{display:block;overflow:hidden;color:#1f2937;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.push-notification-preview p{margin:4px 0 0;overflow:hidden;color:#667085;font-size:11px;line-height:16px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.push-phone-frame{overflow:hidden;border:1px solid #d9e0e7;border-radius:22px;background:#fff;box-shadow:0 12px 28px #0f172a14}.push-phone-bar{height:46px;padding:0 16px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid #eef1f2;color:#1f2937;font-size:11px;font-weight:750}.push-phone-bar span:nth-child(2){font-size:13px}.push-article-preview{min-height:480px;max-height:620px;overflow-y:auto;padding:24px 20px 34px}.push-article-preview h3{margin:0;color:#221d1e;font-size:22px;line-height:1.45;white-space:normal;word-break:break-all;overflow-wrap:anywhere;line-break:anywhere}.push-preview-meta{margin-top:9px;color:#98a2b3;font-size:11px}.push-preview-content{margin-top:22px;color:#3d3a3a;font-size:14px;line-height:1.8}.push-preview-action{min-height:42px;margin-top:26px;display:grid;place-items:center;border-radius:6px;background:#ce3040;color:#fff;font-size:14px;font-weight:700}.push-compose-panel .push-form-footer{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.push-advanced-options{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.push-advanced-options summary{padding:12px 2px;color:var(--muted);font-size:13px;font-weight:800;cursor:pointer;list-style-position:inside}.push-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px 22px;padding:2px 0 16px}.push-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px}.push-form-footer>span{color:var(--muted);font-size:12px}.push-form-footer .form-actions{display:flex;justify-content:flex-end;gap:10px}.disabled-field{opacity:.48}.automation-rule-list{border-top:1px solid var(--line)}.automation-rule{border-bottom:1px solid var(--line)}.automation-rule:last-child{border-bottom:0}.automation-rule-heading{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:20px}.automation-rule-summary{min-width:0;display:flex;align-items:center;gap:11px}.automation-rule-summary>div{min-width:0;display:grid;gap:4px}.automation-rule-summary strong{font-size:14px}.automation-rule-summary span,.automation-rule .field small,.automation-rule-toggle small{color:var(--muted);font-size:12px}.automation-status-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8;flex:0 0 auto}.automation-status-dot.enabled{background:var(--green);box-shadow:0 0 0 3px #16a34a1f}.compact-button{min-height:32px;padding:0 12px}.automation-rule-form{padding:16px;margin-bottom:16px;background:#f8fafc;border:1px solid var(--line);border-radius:8px}.automation-rule-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.automation-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px 22px}.automation-rule-form .form-actions{display:flex;justify-content:flex-end;margin-top:14px}.push-data-tabs{display:flex;align-items:center;gap:22px;padding:0 4px;border-bottom:1px solid var(--line)}.push-data-tab{position:relative;min-height:42px;padding:0 2px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:800;cursor:pointer}.push-data-tab span{margin-left:4px;color:#94a3b8;font-size:12px}.push-data-tab.active{color:var(--text)}.push-data-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--primary)}.switch-field{display:inline-flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.switch-field input{width:18px;height:18px;accent-color:var(--primary)}.automation-rule .field small{margin-top:6px}.counter-field{position:relative}.counter-field .field-input{padding-right:64px}.counter-field .field-textarea{padding-bottom:28px}.char-counter{position:absolute;right:12px;bottom:8px;color:#98a2b3;font-style:normal;font-size:12px;pointer-events:none}.field label{font-size:13px;color:#344054;font-weight:900}.toast{position:fixed;top:18px;left:50%;z-index:100;max-width:min(620px,calc(100vw - 40px));padding:11px 16px;color:#384152;background:#fff;border:1px solid #dfe3e8;border-radius:6px;box-shadow:0 12px 32px #14182024;font-size:13px;font-weight:650;line-height:1.5;text-align:center;opacity:0;transform:translate(-50%,-8px);transition:opacity .16s ease,transform .16s ease;pointer-events:none}.toast-visible{opacity:1;transform:translate(-50%)}.toast-error{color:#9e2731;background:#fff4f4;border-color:#f2c6ca}.toast-warning{color:#875b13;background:#fffbeb;border-color:#f2df9e}.toast-success{color:#287454;background:#f1faf5;border-color:#bfe2ce}.course-editor-page{padding:22px 24px 28px}.commerce-editor{display:grid;gap:18px}.seller-section{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.seller-section-title{padding:18px 20px;border-bottom:1px solid var(--line);background:#fbfcfd}.seller-section-title h3{margin:0;color:#1f2933;font-size:17px;font-weight:800}.seller-section-title p{margin:7px 0 0;color:#667085;font-size:13px}.seller-section-body{display:grid;gap:0}.seller-form-row{display:grid;grid-template-columns:132px minmax(0,1fr);gap:28px;padding:18px 20px;border-bottom:1px solid #f1f3f5}.seller-form-row:last-child{border-bottom:0}.seller-label{padding-top:30px;color:#344054;font-size:14px;font-weight:800}.seller-label.required:after{content:" *";color:#d73f4a}.seller-control{min-width:0}.seller-help{margin:8px 0 0;color:#98a2b3;font-size:12px;line-height:1.6}.seller-inline-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,240px));gap:20px 36px;align-items:end}.product-basic-fields{grid-template-columns:minmax(230px,270px) minmax(320px,440px);gap:22px 44px;align-items:end}.product-basic-fields .field,.product-basic-fields .seller-single,.product-basic-fields .product-category-field{margin:0;align-self:end}.product-basic-fields .field-input,.product-basic-fields .locked-field{width:100%}.video-meta-fields{grid-template-columns:minmax(190px,230px) minmax(170px,200px) minmax(190px,230px) minmax(150px,180px)}.sales-fields{grid-template-columns:repeat(auto-fit,minmax(150px,190px))}.publish-fields{grid-template-columns:minmax(210px,250px) minmax(260px,320px)}.seller-single{max-width:420px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}.field-input,.field-select,.field-textarea{box-sizing:border-box}.field-input[readonly]{background:#f8fafc;color:#667085;cursor:default}.limited-field{position:relative;max-width:760px}.limited-field .field-input{padding-right:76px}.limited-field .field-textarea{min-height:92px;padding-right:18px;padding-bottom:30px}.char-count{position:absolute;right:13px;bottom:9px;color:#98a2b3;font-size:12px;pointer-events:none}.locked-field{display:flex;min-height:38px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#f8fafc;color:#475467;font-size:14px}.seller-attribute-card{max-width:960px}.asset-upload-grid{display:flex;flex-wrap:wrap;gap:14px}.asset-slot{position:relative;display:grid;place-items:center;width:118px;border:1px dashed #cfd6df;border-radius:10px;background:#fbfcfd;color:#98a2b3;cursor:pointer;overflow:visible}.asset-slot.ratio-4-3{aspect-ratio:4 / 3}.asset-slot.ratio-16-9{width:176px;aspect-ratio:16 / 9}.asset-slot.ratio-3-4{aspect-ratio:3 / 4}.asset-slot.ratio-1-1{aspect-ratio:1 / 1}.asset-slot:hover{border-color:var(--brand);background:#fff7f8}.asset-slot img{width:100%;height:100%;object-fit:cover;border-radius:9px;display:block}.asset-preview-button{display:block;width:100%;height:100%;padding:0;background:transparent;border:0;border-radius:9px;cursor:zoom-in;overflow:hidden}.asset-preview-button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.asset-slot-icon{font-size:24px;line-height:1}.asset-slot.uploading>*{opacity:0}.asset-slot.uploading{cursor:progress;pointer-events:none}.asset-slot.uploading:after,.ghost-button.uploading:after{content:"";width:22px;height:22px;border:3px solid rgba(215,63,74,.18);border-top-color:var(--brand);border-radius:999px;animation:spin .8s linear infinite}.asset-slot-actions{position:absolute;top:calc(100% - 1px);left:0;z-index:20;width:100%;overflow:hidden;background:#fff;border:1px solid #e4e7ec;border-radius:0 0 10px 10px;box-shadow:0 14px 28px #0f172a24;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .16s ease,transform .16s ease}.asset-slot.has-image:hover .asset-slot-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.asset-slot-action{display:block;width:100%;padding:9px 0;color:#344054;font-size:13px;line-height:1.2;text-align:center;background:#fff;border:0;border-bottom:1px solid #f1f5f9;cursor:pointer}.asset-slot-action:last-child{border-bottom:0}.asset-slot-action:hover{background:#f8fafc}.asset-slot-action.danger{color:#d73f4a}.catalog-builder{max-width:1000px}.catalog-actions{margin-bottom:12px}.catalog-list{display:grid;gap:10px}.catalog-item{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}.catalog-item.child{margin-top:10px;margin-left:26px;background:#fbfcfd}.catalog-line{display:grid;grid-template-columns:50px minmax(240px,1fr) 72px auto auto auto;gap:12px;align-items:center}.catalog-index{color:#98a2b3;font-size:12px;font-weight:800}.catalog-duration{color:#667085;font-size:13px;text-align:center}.catalog-video-preview{width:min(360px,100%);margin-top:10px;overflow:hidden;background:#0f172a;border:1px solid var(--line);border-radius:10px}.catalog-video-preview video{display:block;width:100%;max-height:220px;background:#000}.document-upload{display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:12px;align-items:end}.document-preview-action,.document-copy-action{white-space:nowrap}.seller-submit-row{display:flex;justify-content:flex-end;padding:0 20px 20px}.badge.blue{background:#e9f2ff;color:#2563eb}.product-thumb{width:80px;height:45px;object-fit:cover;border-radius:6px;border:1px solid var(--line);background:#f8fafc}.product-thumb.placeholder{display:inline-flex;align-items:center;justify-content:center;color:#98a2b3;font-size:13px}.product-editor{padding:0;overflow:hidden}.editor-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 24px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,#f8fbff)}.editor-head.compact{min-height:56px}.editor-head h2{margin:0;font-size:22px}.editor-head p,.editor-tip{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.product-form{display:grid;gap:16px;padding:18px 24px 24px}.editor-section{border:1px solid var(--line);border-radius:10px;background:#fff;padding:18px}.editor-section h3{margin:0 0 14px;font-size:16px}.section-title-row,.chapter-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.upload-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px}.upload-slot{width:132px;min-height:132px;border:1px dashed var(--line-strong);border-radius:8px;display:grid;align-items:center;justify-items:center;color:var(--muted);background:#fbfdff;overflow:hidden;padding:0;position:relative;cursor:pointer;transition:border-color .18s ease,background .18s ease}.upload-slot:hover{border-color:var(--brand);background:#fff7f8}.detail-row .upload-slot{width:118px;min-height:188px}.upload-preview{width:100%;height:100%;min-height:100%;display:grid;place-items:center;color:inherit;pointer-events:none}.modal-form .upload-field>.upload-preview{width:100%;height:auto;min-height:0;max-height:360px;padding:12px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#f7f8fa;box-sizing:border-box}.modal-form .upload-field>.upload-preview img{display:block;width:auto;height:auto;max-width:100%;max-height:334px;margin:0 auto;object-fit:contain}.upload-slot img{width:100%;height:132px;object-fit:cover;border-radius:8px}.detail-row .upload-slot img{height:188px}.upload-placeholder{width:30px;height:30px;border-radius:9px;border:1px solid var(--line-strong);position:relative}.upload-placeholder:before,.upload-placeholder:after{content:"";position:absolute;background:#98a2b3;left:50%;top:50%;transform:translate(-50%,-50%)}.upload-placeholder:before{width:14px;height:2px}.upload-placeholder:after{width:2px;height:14px}.upload-file-input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;z-index:2}.media-url-input{display:none!important}.uploading{position:relative}.uploading:after{content:"";position:absolute;z-index:5;width:24px;height:24px;border-radius:50%;border:3px solid rgba(210,48,68,.18);border-top-color:var(--brand);animation:spin .75s linear infinite}.uploading .upload-preview,.lesson-row.uploading .lesson-video-preview,.upload-inline.uploading{opacity:.45}@keyframes spin{to{transform:rotate(360deg)}}.upload-actions,.upload-inline{width:100%;display:flex;align-items:center;gap:10px;font-size:12px}.upload-actions{justify-content:space-between}.upload-inline.full{grid-column:1 / -1}.mini-upload{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eef2ff;color:#3754d4;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.preview-link,.upload-actions a,.upload-inline a{color:#2563eb;text-decoration:none;font-size:12px;white-space:nowrap}.check-field{min-height:38px;display:inline-flex;align-items:center;gap:8px;font-weight:800;color:#344054}.chapter-list{display:grid;gap:12px}.chapter-card{border:1px solid var(--line);border-radius:9px;background:#f8fafc;padding:12px}.lesson-list{display:grid;gap:8px;margin-top:10px}.lesson-row{display:grid;grid-template-columns:minmax(180px,1.1fr) 110px minmax(170px,1fr) auto;gap:12px;align-items:center}.lesson-row .wide{min-width:0}.lesson-video-preview{min-height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#1f2937;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;font-weight:800;cursor:pointer;white-space:nowrap}.lesson-video-preview.empty-video{color:var(--muted);background:#f8fafc;cursor:default}.video-mark{color:var(--brand);font-size:13px}.text-button.tiny{font-size:12px;padding:0}.media-preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#0f172aad;display:flex;align-items:center;justify-content:center;padding:28px}.media-preview-panel{width:min(1040px,100%);max-height:calc(100vh - 56px);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 80px #0f172a47;display:flex;flex-direction:column}.media-preview-head{min-height:54px;padding:0 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.media-preview-body{min-height:320px;max-height:calc(100vh - 112px);padding:18px;background:#0f172a;display:grid;place-items:center;overflow:auto}.media-preview-body img,.media-preview-body video{max-width:100%;max-height:calc(100vh - 148px);object-fit:contain;border-radius:10px;background:#000}.media-preview-pdf{width:min(900px,82vw);height:min(720px,72vh);border:0;border-radius:10px;background:#f8fafc}.media-preview-open{margin-top:12px;justify-self:end}.editor-actions{display:flex;justify-content:flex-end;gap:12px;padding:8px 0 0}@media (max-width: 1120px){.admin-shell{grid-template-columns:86px minmax(0,1fr)}.brand-name,.brand-subtitle,.nav-label,.nav-group summary,.sidebar-footer{display:none}.brand{justify-content:center;padding-left:0;padding-right:0}.nav-button{justify-content:center}.nav-group>.nav-group-items{display:grid!important}.dashboard-grid,.metric-grid{grid-template-columns:1fr 1fr}.push-publisher-layout{grid-template-columns:minmax(0,1fr) 310px}}@media (max-width: 760px){.admin-shell{display:block}.sidebar{position:relative;height:auto}.nav{flex-direction:row;overflow-x:auto;align-items:flex-start}.nav-group{display:contents}.nav-group summary{display:none}.nav-group-items{display:flex!important;gap:5px;padding:0}.nav-button{min-width:124px;justify-content:flex-start}.nav-label,.brand-name,.brand-subtitle{display:block}.main{padding:18px}.topbar,.topbar-actions,.toolbar,.pagination{align-items:stretch;flex-direction:column}.pagination-controls{justify-content:space-between;flex-wrap:wrap}.admin-profile{display:none}.dashboard-grid,.metric-grid,.quick-grid,.question-bank-summary,.quality-summary,.resource-grid,.paper-section-grid,.rule-grid,.scoring-policy-grid,.modal-form,.channel-grid,.channel-card,.push-compose-grid,.push-publisher-layout,.push-target-grid,.push-advanced-grid,.automation-rule-grid{grid-template-columns:1fr}.push-form-footer,.automation-rule-toggle{align-items:stretch;flex-direction:column}.push-form-footer .form-actions{flex-wrap:wrap;justify-content:flex-start}.push-live-preview{position:static;max-width:420px}.push-rich-content{min-height:320px;padding:20px 18px 32px}.push-rich-toolbar{flex-wrap:wrap}.push-toolbar-spacer{display:none}.paper-row,.paper-detail-header,.quality-row,.version-row{display:flex;align-items:stretch;flex-direction:column}.paper-actions{flex-wrap:wrap}.search-input{width:100%}}:root{--bg: #f6f7f9;--panel: #ffffff;--line: #e7e9ee;--line-strong: #d7dbe2;--text: #20242c;--muted: #737985;--soft: #f7f8fa;--brand: #c8323e;--brand-dark: #a92631;--blue: #2563eb;--green: #16875c;--amber: #b86b14;--red: #c8323e;--purple: #6f56b3;--shadow: 0 1px 2px rgba(16, 24, 40, .04)}body{min-width:1080px;background:var(--bg);color:var(--text);font-size:14px}button,input,select,textarea{letter-spacing:0}.admin-shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{padding:0 12px 16px;color:var(--text);background:#fff;border-right:1px solid var(--line);box-shadow:none;z-index:20}.brand{min-height:72px;gap:10px;padding:14px 10px;border-bottom:1px solid #f0f1f3}.brand-mark{width:36px;height:36px;border-radius:8px;display:block;object-fit:cover;background:#fff;box-shadow:none}.brand-name{color:#20242c;font-size:15px;font-weight:750}.brand-subtitle{margin-top:2px;color:#8a909b;font-size:11px}.nav{gap:3px;padding:14px 2px 8px;scrollbar-width:thin;scrollbar-color:#d9dde4 transparent}.nav-group{border-radius:6px}.nav-group summary{min-height:38px;padding:0 10px;color:#8a909b;font-size:13px;font-weight:700}.nav-group summary:hover{color:#4b515c;background:#f7f8fa}.nav-group-arrow{color:#a8adb6;font-size:13px}.nav-group-items{gap:2px;padding:1px 0 7px}.nav-group .nav-button{padding-left:10px}.nav-button{position:relative;min-height:42px;gap:10px;padding:8px 10px;color:#515762;border-radius:6px;font-weight:500}.nav-button:hover{color:#20242c;background:#f6f7f9}.nav-button.active{color:#a92631;background:#fff1f2}.nav-button.active:before{position:absolute;top:9px;bottom:9px;left:0;width:3px;background:#c8323e;border-radius:0 3px 3px 0;content:""}.nav-icon{width:24px;height:24px;color:#747b87;background:transparent;border-radius:0;font-size:13px;font-weight:750}.nav-button.active .nav-icon{color:#c8323e}.nav-label{font-size:14px;font-weight:600}.sidebar-footer{margin:auto 2px 0;padding-top:12px;color:#47505c;background:transparent;border:0;border-top:1px solid #eceef1;border-radius:0}.main{padding:0 32px 48px}.topbar{position:sticky;top:0;z-index:12;min-height:88px;margin:0 -32px 28px;padding:16px 32px;background:#fffffff5;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-copy{min-width:0}.topbar h1{font-size:22px;font-weight:750}.breadcrumb{min-height:18px;gap:5px;margin-bottom:4px;color:#979ca6;font-size:12px}.breadcrumb button,.breadcrumb-current{font-size:12px;font-weight:600}.topbar p{max-width:760px;margin-top:5px;color:#7b818c;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-actions{gap:8px}.admin-profile{width:100%;gap:9px;padding:9px;background:#f7f8fa;border-color:#eceef1;border-radius:6px}.admin-profile:hover{background:#f3f4f6;border-color:var(--line)}.admin-profile-copy{min-width:0;flex:1}.avatar{width:30px;height:30px;color:#9e2731;background:#fff0f1;font-size:12px}.admin-name{overflow:hidden;font-size:13px;font-weight:650;white-space:nowrap;text-overflow:ellipsis}.admin-role{overflow:hidden;color:#9298a2;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.profile-logout{flex:0 0 auto;padding:5px 0 5px 7px;color:#a92631;background:transparent;border:0;border-left:1px solid #e2e5e9;font-size:12px;cursor:pointer}.profile-logout:hover{color:#c8323e}.view{gap:24px;max-width:1680px;margin:0 auto}.primary-button,.ghost-button,.danger-button,.icon-button{min-height:36px;padding:0 13px;border-radius:6px;font-size:13px;font-weight:650}.primary-button{background:#c8323e;box-shadow:none}.primary-button:hover{background:#ad2934}.ghost-button{color:#4b515c;background:#fff;border-color:#dfe2e7}.ghost-button:hover{background:#f7f8fa;border-color:#cfd3da}.icon-button{color:#6f7580;background:transparent;font-size:20px}.metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric-card,.panel{background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.metric-card{min-height:112px;padding:18px 18px 16px}.metric-label{color:#777e89;font-size:12px;font-weight:600}.metric-value{gap:6px;margin-top:12px;color:#20242c;font-size:25px;font-weight:750}.metric-hint,.metric-change{margin-top:7px;font-size:11px}.panel{padding:24px}.panel-header{align-items:flex-start;gap:24px;margin-bottom:20px}.panel-title{color:#252932;font-size:16px;font-weight:700}.panel-subtitle{max-width:820px;margin-top:6px;color:#858b95;font-size:12px;line-height:1.6}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:20px}.quick-grid{gap:10px}.quick-item,.status-tile{border-color:var(--line);border-radius:6px;box-shadow:none}.toolbar{min-height:60px;gap:16px;margin-bottom:18px;padding:11px 12px;background:#f8f9fb;border:1px solid #eceef1;border-radius:7px}.filter-group{gap:8px}.search-input,.select-input,.field-input,.field-select,.field-textarea{min-height:36px;color:#2f343d;background:#fff;border-color:#dfe2e7;border-radius:6px;font-size:13px;box-shadow:none}.search-input:focus,.select-input:focus,.field-input:focus,.field-select:focus,.field-textarea:focus{border-color:#c8323e;box-shadow:0 0 0 3px #c8323e14}.search-input{width:230px}.inline-date{color:#747b86;font-size:12px;font-weight:600}.advanced-filters{position:relative}.advanced-filters summary{display:flex;min-height:36px;align-items:center;padding:0 12px;color:#555c67;background:#fff;border:1px solid #dfe2e7;border-radius:6px;cursor:pointer;list-style:none;font-size:12px;font-weight:600}.advanced-filters summary::-webkit-details-marker{display:none}.advanced-filters summary:after{margin-left:8px;color:#9298a2;content:"⌄"}.advanced-filters[open] summary{border-color:#c8323e}.advanced-filter-popover{position:absolute;top:43px;right:0;z-index:8;display:grid;width:310px;gap:12px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 14px 36px #14182021}.advanced-filter-popover .search-input{width:100%}.advanced-filter-popover .inline-date{display:grid;grid-template-columns:54px minmax(0,1fr)}.table-wrap{border-color:#e6e8ec;border-radius:6px;background:#fff}table{min-width:980px}th,td{padding:13px 15px;border-bottom-color:#eceef1;font-size:12px}th{position:sticky;top:0;z-index:1;color:#6e7580;background:#f7f8fa;font-weight:650}tbody tr:hover td{background:#fafbfc}.row-title{color:#2b3038;font-weight:650}.row-subtitle{color:#8a909b;font-size:11px}.badge{min-height:22px;padding:0 8px;border-radius:4px;font-size:11px;font-weight:650}.actions{gap:12px}.text-button{color:#a92631;font-size:12px;font-weight:650}.pagination{padding-top:16px;font-size:12px}.compact-panel{padding:16px 20px}.batch-toolbar{padding:12px 14px;margin-bottom:16px;background:#f8f9fb;border:1px solid #eceef1;border-radius:6px}.modal-mask{padding:32px;background:#1b1f2673;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{width:min(780px,100%);max-height:calc(100vh - 64px);border:1px solid rgba(255,255,255,.7);border-radius:8px;box-shadow:0 24px 70px #14182033}.modal-header{position:sticky;top:0;z-index:3;padding:20px 24px;background:#fff}.modal-header h2{font-size:18px;font-weight:700}.modal-header p{color:#858b95;font-size:12px}.modal-form{padding:24px;gap:18px 22px}.modal-actions{position:sticky;bottom:0;z-index:3;padding:14px 24px;background:#fff}.field{gap:8px}.field label,.field>span{color:#4d535e;font-size:12px;font-weight:650}.course-editor-page{padding:0;background:transparent;border:0;box-shadow:none}.commerce-editor{gap:22px}.seller-section{border-color:var(--line);border-radius:8px}.seller-section-title{padding:18px 24px;background:#f8f9fb}.seller-section-title h3{font-size:15px;font-weight:700}.seller-section-title p{margin-top:5px;color:#838994;font-size:12px}.seller-form-row{grid-template-columns:148px minmax(0,1fr);gap:32px;padding:22px 24px;border-bottom-color:#eff1f3}.seller-label{padding-top:26px;color:#515762;font-size:13px;font-weight:650}.seller-help{margin-top:9px;color:#9298a2;font-size:11px}.seller-inline-fields{gap:18px 28px}.seller-submit-row{position:sticky;bottom:16px;z-index:5;padding:14px 16px;background:#fffffff5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.asset-slot,.locked-field,.chapter-card,.lesson-video-preview,.media-preview-panel{border-radius:6px}.login-screen{background:#f5f6f8}.login-card{width:min(420px,100%);padding:34px;border-radius:8px;box-shadow:0 16px 48px #191d241a}.login-card h2{margin-bottom:0;font-size:22px;font-weight:700}.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:28px}.login-brand-logo{width:52px;height:52px;flex:0 0 52px;display:block;object-fit:cover;border-radius:12px}.login-brand p{margin:6px 0 0;color:#8a909b;font-size:13px}@media (max-width: 1440px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.main{padding-right:24px;padding-left:24px}.topbar{margin-right:-24px;margin-left:-24px;padding-right:24px;padding-left:24px}}@media (max-width: 1180px){body{min-width:960px}.admin-shell{grid-template-columns:196px minmax(0,1fr)}.brand-subtitle{display:none}.brand-name,.nav-label{display:block}.nav-group summary{display:flex}.nav-group .nav-button{padding-left:10px}.brand,.nav-button{justify-content:flex-start}.dashboard-grid{grid-template-columns:1fr}}.promotion-manager{padding:24px}.promotion-toolbar,.promotion-section-header,.promotion-section-title-row{display:flex;align-items:center}.promotion-toolbar,.promotion-section-header{justify-content:space-between;gap:24px}.promotion-toolbar{padding-bottom:20px;border-bottom:1px solid var(--line)}.promotion-sections{display:grid;gap:22px;margin-top:22px}.promotion-section{padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.promotion-section-title-row{gap:10px}.promotion-section h3{margin:0;font-size:18px}.promotion-section p{margin:7px 0 0;color:var(--muted);font-size:13px}.promotion-timing{color:#bf2f3d;font-size:13px;font-weight:600}.promotion-table-wrap{margin-top:18px}.promotion-table-wrap .table-thumb{width:92px;height:58px;object-fit:cover}.promotion-target-label{max-width:260px;color:#4f5868;line-height:1.5;overflow-wrap:anywhere}.compact-empty{min-height:92px}.promotion-target-field{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.promotion-target-detail{width:100%}.field-help{color:var(--muted);font-size:12px}
