:root{--bg: #f6f7fb;--panel: #ffffff;--panel2: #fbfcff;--text: #0f172a;--muted: #64748b;--border: rgba(15, 23, 42, .1);--shadow: 0 10px 30px rgba(2, 6, 23, .06);--shadow2: 0 8px 20px rgba(2, 6, 23, .06);--radius: 18px;--radius2: 14px;--blue: #2563eb;--blue2: #1d4ed8;--chip: rgba(37, 99, 235, .08);--chipText: #1d4ed8;--sidebarW: 92px;--maxW: 1280px}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";letter-spacing:-.01em}a{color:inherit;text-decoration:none}button,input,textarea{font-family:inherit}::selection{background:#2563eb2e}.appShell{min-height:100vh;display:grid;grid-template-columns:var(--sidebarW) 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding:14px 10px;gap:10px}.brandDot{width:42px;height:42px;border-radius:14px;background:linear-gradient(180deg,#3b82f6,#1d4ed8);box-shadow:0 10px 22px #2563eb40;display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:-.03em}.sideNav{margin-top:12px;display:flex;flex-direction:column;gap:10px;width:100%;align-items:center}.sideItem{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;border:1px solid transparent;color:#334155;background:transparent;cursor:pointer;transition:all .15s ease}.sideItem:hover{background:#0206170a;border-color:#0206170f}.sideItemActive{background:#2563eb1a;border-color:#2563eb38;color:var(--blue2)}.sideSpacer{flex:1}.sideFooter{display:flex;flex-direction:column;gap:10px;align-items:center;width:100%}.main{padding:22px 26px 26px}.wrap{max-width:var(--maxW);margin:0 auto}.topBar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.docTitle{display:flex;align-items:center;gap:12px;min-width:220px}.docTitle h1{margin:0;font-size:16px;font-weight:700}.docTitle span{display:inline-block;margin-left:8px;font-size:12px;color:var(--muted);font-weight:500}.actionRow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{height:38px;padding:0 14px;border-radius:14px;border:1px solid var(--border);background:#fff;color:#0f172a;font-weight:600;font-size:13px;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:10px}.btn:hover{box-shadow:var(--shadow2);transform:translateY(-1px)}.btnPrimary{border-color:#2563eb47;background:linear-gradient(180deg,#3b82f6,#2563eb);color:#fff}.btnPrimary:hover{filter:brightness(1.02)}.btnGhost{background:transparent;border-color:transparent;color:var(--muted)}.btnGhost:hover{background:#0206170a;border-color:#0206170f;box-shadow:none;transform:none}.grid{display:grid;grid-template-columns:1fr 360px;gap:18px;align-items:start}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.cardInner{padding:16px}.editorShell{display:grid;grid-template-rows:auto 1fr auto;min-height:520px}.editorHead{padding:14px 16px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.editorHead h2{margin:0;font-size:14px;font-weight:700}.sub{font-size:12px;color:var(--muted);margin-top:4px;font-weight:500}.chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.chip{background:var(--chip);color:var(--chipText);border:1px solid rgba(37,99,235,.18);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.textareaWrap{padding:12px 16px 14px}textarea{width:100%;min-height:320px;resize:vertical;border-radius:16px;border:1px solid var(--border);background:var(--panel2);padding:14px;outline:none;font-size:13px;line-height:1.5;color:#0f172a}textarea:focus{border-color:#2563eb59;box-shadow:0 0 0 4px #2563eb1a;background:#fff}.editorFoot{padding:12px 16px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.checkRow{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px;font-weight:600}.checkRow label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.checkRow input{transform:translateY(1px)}.rightStack{display:flex;flex-direction:column;gap:14px}.panelTitle{display:flex;justify-content:space-between;align-items:center;gap:10px}.panelTitle h3{margin:0;font-size:14px;font-weight:800}.panelTitle p{margin:0;color:var(--muted);font-size:12px;font-weight:500}.scanList{display:flex;flex-direction:column;gap:10px;margin-top:12px}.scanItem{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:16px;border:1px solid var(--border);background:#fff;cursor:pointer;transition:all .15s ease}.scanItem:hover{box-shadow:var(--shadow2);transform:translateY(-1px)}.scanLeft{display:flex;align-items:center;gap:10px}.badge{font-size:11px;font-weight:800;padding:6px 10px;border-radius:999px;border:1px solid var(--border);color:var(--muted);background:#02061705}.badgeOn{color:#065f46;border-color:#10b98140;background:#10b98114}.badgeSoon{color:var(--muted);background:#02061708}.small{font-size:12px;color:var(--muted);line-height:1.45}.hr{height:1px;background:var(--border);margin:12px 0}.kpiRow{display:flex;gap:10px;flex-wrap:wrap}.kpi{flex:1;min-width:140px;border:1px solid var(--border);border-radius:16px;padding:12px;background:#fff}.kpiLabel{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.02em;text-transform:uppercase}.kpiValue{margin-top:6px;font-size:22px;font-weight:800;letter-spacing:-.03em}.kpiHint{margin-top:4px;font-size:12px;color:var(--muted);font-weight:600}.toast{padding:12px 14px;border:1px solid rgba(37,99,235,.18);background:#2563eb0f;color:#1e3a8a;border-radius:16px;font-size:12px;font-weight:700}@media (max-width: 1100px){.grid{grid-template-columns:1fr}.sidebar{display:none}.appShell{grid-template-columns:1fr}.main{padding:18px 14px}}
