:root{color:#172033;background:#f5f7fb;font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:8px 14px;font-size:13px;font-weight:500;transition:all .15s}button:hover{background:#f8fafc;border-color:#3b82f6}.primary{color:#fff;background:#3b82f6;border-color:#3b82f6;font-weight:600}.primary:hover{color:#fff;background:#2563eb;border-color:#2563eb}.app-shell{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:linear-gradient(#0f172a 0%,#1e293b 100%);flex-direction:column;gap:36px;padding:28px 20px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:#3b82f6;border-radius:10px;place-items:center;width:36px;height:36px;font-size:18px;font-weight:800;display:grid;box-shadow:0 2px 8px #3b82f64d}.brand strong{font-size:16px;font-weight:700}.brand small{color:#94a3b8;margin-top:1px;font-size:13px;display:block}.sidebar nav{gap:6px;display:grid}.sidebar button{color:#cbd5e1;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;padding:9px 14px;font-size:15px;transition:background .15s,color .15s}.sidebar button.active,.sidebar button:hover{color:#fff;background:#3b82f626}.main{background:#f8fafc;padding:24px 32px}.topbar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:16px 24px;display:flex;box-shadow:0 1px 3px #0000000a}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:22px;font-weight:700;line-height:1.3}h2{font-size:17px;font-weight:700}h3{margin:0 0 8px;font-size:15px;font-weight:600}p{color:#334155;font-size:14px;line-height:1.6}.tag{white-space:nowrap;color:#475569;background:#eef2f7;border-radius:999px;align-items:center;padding:3px 10px;font-size:12px;font-weight:500;display:inline-flex}.compact-field{gap:4px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.funnel-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;display:grid}.stat,.panel,.state{background:#fff;border:1px solid #dce3ef;border-radius:8px}.stat{border:1px solid #e2e8f0;border-radius:10px;padding:18px 20px;box-shadow:0 1px 3px #00000008}.stat span{color:#64748b;margin-bottom:6px;font-size:13px;display:block}.stat strong{color:#0f172a;font-size:28px;font-weight:700}.panel{border:1px solid #e2e8f0;border-radius:10px;min-width:0;padding:24px;box-shadow:0 1px 3px #00000008}.review-hero{background:#fff;border:1px solid #dce3ef;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;padding:18px;display:flex}.review-hero h2{margin-bottom:6px}.review-hero p{margin-bottom:0}.review-amount{color:#255fc3;background:#eff6ff;border-radius:8px;gap:4px;min-width:180px;padding:14px;display:grid}.review-amount span{color:#475569;font-size:14px}.review-amount strong{font-size:24px}.two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.single-column{gap:18px;margin-top:18px;display:grid}.wide-left{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr)}.stack{gap:16px;display:grid}.section-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.section-head p{margin-bottom:0}.filter-bar{background:#fff;border:1px solid #dce3ef;border-radius:8px;gap:12px;padding:14px 16px;display:grid}.filter-summary{color:#475569;justify-content:space-between;gap:12px;display:flex}.filter-summary strong{color:#172033}.filter-grid{grid-template-columns:1.4fr repeat(3,minmax(140px,1fr));gap:12px;display:grid}.filter-grid.three{grid-template-columns:1.4fr repeat(2,minmax(140px,1fr))}.list-item,.draft{border-top:1px solid #edf1f7;padding:14px 0}.list-item:first-of-type,.draft:first-of-type{border-top:0}.list-item p,.draft p{color:#475569;margin:6px 0 0}.log-item strong{font-size:15px}.row-between{justify-content:space-between;align-items:center;gap:12px;display:flex}.status-pending_screening,.status-screened,.status-pending_transfer,.status-ai_generated,.status-editing,.status-product_review,.status-division_review,.status-ready_to_publish,.status-submitted,.status-viewed,.status-pending_validation{color:#9a3412;background:#fff7ed}.status-transferred_pending_acceptance,.status-division_accepted,.status-effective_opportunity,.status-published,.status-archived,.status-adopted,.status-updated{color:#047857;background:#ecfdf5}.status-division_returned,.status-closed,.status-returned,.status-voided,.status-rejected{color:#b91c1c;background:#fef2f2}.status-division_reassigned,.status-draft,.status-planned{color:#3730a3;background:#eef2ff}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field{gap:6px;display:grid}.field span{color:#475569;font-size:14px}.field input,.field select,.field textarea{background:#fff;border:1px solid #c8d1e3;border-radius:6px;width:100%;padding:9px 10px}.field input[type=checkbox],.field input[type=radio]{flex:none;width:16px;height:16px;margin:0;padding:0}.field input[type=radio]{border-radius:50%}.field input:disabled{color:#64748b;cursor:not-allowed;background:#f1f5f9}.field textarea{resize:vertical;min-height:96px}.full{grid-column:1/-1}.actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.history-grid{border-top:1px solid #edf1f7;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;padding-top:14px;display:grid}.history-box{border:1px solid #edf1f7;border-radius:8px;min-width:0;padding:12px}.history-box h3{margin:0 0 8px;font-size:15px}.history-item{border-top:1px solid #edf1f7;padding:10px 0}.history-item:first-of-type{border-top:0}.history-item p{color:#475569;margin:6px 0 0;font-size:14px}.ranking-list{gap:8px;display:grid}.ranking-row{border-top:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.ranking-row:first-child{border-top:0}.ranking-row.rich{align-items:start;display:grid}.ranking-row small{color:#64748b}.feedback-box,.workflow-box{border-top:1px solid #edf1f7;margin-top:14px;padding-top:14px}.publish-box{gap:8px;margin-top:12px;display:grid}.publish-box button:disabled{cursor:not-allowed;opacity:.5}.feedback-form{margin-top:14px}.state{gap:2px;margin-bottom:16px;padding:14px 16px;display:grid}.state-info{background:#eff6ff;border-color:#bfdbfe}.state-danger{background:#fef2f2;border-color:#fecaca}.state-success{background:#f0fdf4;border-color:#bbf7d0}.state-inline{border:1px solid #e2e8f0;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-block}.state-inline.state-info{color:#1d4ed8}.state-inline.state-danger{color:#b91c1c}.state-inline.state-success{color:#15803d}.draft-body{white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:12px 14px;font-size:14px;line-height:1.6;overflow-x:auto}.empty,.muted{color:#64748b;font-size:13px}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e2e8f0;padding:10px 12px;font-size:11px;font-weight:700}.data-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:12px;font-size:14px}.field span{font-size:13px;font-weight:500}.list-item strong,.log-item strong{font-size:15px}.draft pre{white-space:pre-wrap;background:#f8fafc;border-radius:6px;padding:12px;overflow-x:auto}@media (width<=900px){.app-shell{grid-template-columns:1fr}.sidebar{padding:16px}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:18px}.stats-grid,.funnel-grid,.two-column,.wide-left,.form-grid,.session-bar,.history-grid{grid-template-columns:1fr}.topbar,.row-between,.section-head,.filter-summary,.review-hero{flex-direction:column;align-items:flex-start}.filter-grid,.filter-grid.three{grid-template-columns:1fr}}.login-screen{background:linear-gradient(135deg,#f0f4ff 0%,#f8fafc 50%,#eef2ff 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;gap:20px;width:100%;max-width:400px;padding:36px 32px;display:flex;box-shadow:0 4px 24px #0000000f}.login-card h1{text-align:center;margin:0;font-size:22px;font-weight:700}.login-card .brand{justify-content:center;margin-bottom:0}.session-bar.user-bar{justify-content:space-between;align-items:center;display:flex}.nav-group{margin-top:10px}.nav-label{color:#5a6d8a;margin:0;padding:6px 14px 4px;font-size:13px;font-weight:700}.nav-group button{border-radius:5px;padding:7px 14px 7px 22px;font-size:14px}.help-overlay{z-index:100;background:#0f172a80;justify-content:center;align-items:center;padding:32px;display:flex;position:fixed;inset:0}.help-modal{background:#fff;border-radius:14px;flex-direction:column;width:100%;max-width:960px;max-height:85vh;display:flex;overflow:hidden;box-shadow:0 20px 60px #0003}.help-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 28px;display:flex}.help-header h2{margin:0;font-size:20px}.help-body{flex:1;grid-template-columns:240px 1fr;display:grid;overflow:hidden}.help-sidebar{background:#f8fafc;border-right:1px solid #e2e8f0;padding:16px;overflow-y:auto}.help-search{border:1px solid #cbd5e1;border-radius:8px;width:100%;margin-bottom:16px;padding:8px 12px;font-size:13px}.help-cat{margin-bottom:16px}.help-cat-label{text-transform:uppercase;letter-spacing:.5px;color:#94a3b8;margin:0 0 4px;padding:0 8px;font-size:11px;font-weight:700}.help-sidebar button{text-align:left;color:#475569;cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;padding:6px 8px;font-size:13px;display:block}.help-sidebar button.active,.help-sidebar button:hover{color:#3730a3;background:#e0e7ff}.help-content{padding:24px 28px;overflow-y:auto}.help-content h3{margin-bottom:16px;font-size:18px}.help-text{color:#334155;font-size:14px;line-height:1.8}.help-text p{margin-bottom:12px}.help-text strong{color:#0f172a}.help-text ol{padding-left:20px}.help-text li{margin-bottom:4px}.help-text table{border-collapse:collapse;width:100%;margin:12px 0;font-size:13px}.help-text td{border-bottom:1px solid #f1f5f9;padding:8px 12px}.help-text td:first-child{white-space:nowrap;font-weight:600}@media (width<=768px){.help-body{grid-template-columns:1fr}.help-sidebar{border-bottom:1px solid #e2e8f0;border-right:0;max-height:200px}.help-overlay{padding:16px}}.notify-dropdown{z-index:99;background:#0003;justify-content:flex-end;display:flex;position:fixed;inset:0}.notify-panel{background:#fff;flex-direction:column;width:100%;max-width:400px;height:100vh;display:flex;box-shadow:-4px 0 20px #0000001a}.notify-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.notify-header h3{margin:0;font-size:16px}.notify-list{flex:1;overflow-y:auto}.notify-item{border-bottom:1px solid #f1f5f9;padding:14px 20px}
