:root{--slate:#1e293b;--slate2:#334155;--ink:#0f172a;--muted:#475569;--line:#e2e8f0;--bg:#f1f5f9;--ind:#4f46e5;--ind-d:#3730a3;--sbarh:32px}
*{box-sizing:border-box}
body{margin:0;font-family:'IBM Plex Sans',system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5;-webkit-text-size-adjust:100%}
.plain{list-style:none;margin:0;padding:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
a{color:var(--ind-d)}
:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.skip-link{position:absolute;left:8px;top:-60px;background:#fff;color:var(--ind-d);padding:8px 12px;border-radius:6px;z-index:80;font-weight:600}
.skip-link:focus{top:40px}
.sbar{position:sticky;top:0;z-index:60;background:#2b2f33;color:#e5e7eb;font-size:13px;line-height:1.4;padding:7px 16px;text-align:center}
.sbar a{color:#fff}
.shell{display:grid;grid-template-columns:232px minmax(0,1fr);align-items:start;min-height:calc(100vh - var(--sbarh) - 44px)}
.shell.open{grid-template-columns:216px minmax(0,1fr) 400px}
.side{position:sticky;top:var(--sbarh);height:calc(100vh - var(--sbarh));background:var(--slate);color:#cbd5e1;display:flex;flex-direction:column;padding:16px 12px}
.logo{display:flex;align-items:center;gap:10px;padding:4px 8px 18px;border-bottom:1px solid #334155;margin-bottom:14px}
.logo strong{display:block;color:#fff;font-size:13px;line-height:1.25}
.logo span{display:block;font-size:12px;color:#a8b5c8}
#nav button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font:inherit;font-weight:500;color:#cbd5e1;background:none;border:0;border-radius:8px;padding:9px 10px;cursor:pointer;margin-bottom:2px}
#nav button:hover{background:var(--slate2);color:#fff}
#nav button[aria-current=page]{background:var(--ind);color:#fff}
#nav svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.side-foot{margin:auto 8px 0;font-size:11.5px;color:#94a3b8}
.col{min-width:0}
.top{position:sticky;top:var(--sbarh);z-index:20;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;height:56px}
.search{position:relative;flex:1;max-width:460px}
.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:none;stroke:#64748b;stroke-width:2;stroke-linecap:round}
.search input{width:100%;font:inherit;padding:8px 12px 8px 34px;border:1px solid #cbd5e1;border-radius:8px;background:var(--bg);color:var(--ink)}
.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ind);color:#fff;font-weight:600;font-size:12.5px}
main{padding:22px 24px 32px}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
h1{margin:0;font-size:22px;font-weight:600}
.sub{margin:2px 0 0;color:var(--muted)}
.tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tools label{font-weight:500;color:var(--muted)}
select{font:inherit;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:var(--ink)}
.btn{font:inherit;font-weight:600;border:0;border-radius:8px;padding:8px 14px;cursor:pointer;background:var(--ind);color:#fff}
.btn:hover{background:var(--ind-d)}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid #cbd5e1}
.btn.ghost:hover{background:var(--bg)}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.table-wrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;min-width:720px}
th,td{text-align:left;padding:9px 14px;border-bottom:1px solid var(--line);white-space:nowrap}
tbody th{font-weight:inherit}
thead th{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:#f8fafc;font-weight:600;position:sticky;top:0}
tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}
tbody tr:hover{background:#f8fafc}
tr.row-sel{background:#eef2ff!important;box-shadow:inset 3px 0 0 var(--ind)}
.linkbtn{font:500 13px 'IBM Plex Mono',ui-monospace,monospace;color:var(--ind-d);background:none;border:0;padding:2px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pill{display:inline-block;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px}
.pill.info{background:#e0e7ff;color:#312e81}
.pill.warn{background:#fef3c7;color:#78350f}
.pill.cons{background:#ede9fe;color:#4c1d95}
.pill.ok{background:#d1fae5;color:#064e3b}
.empty{padding:24px;max-width:560px}
.empty p{margin:0 0 8px}
.drawer{position:sticky;top:var(--sbarh);height:calc(100vh - var(--sbarh));overflow-y:auto;background:#fff;border-left:1px solid var(--line);padding:20px 22px 28px}
.drawer[hidden]{display:none}
.d-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.drawer h2{margin:0;font:600 18px 'IBM Plex Mono',ui-monospace,monospace}
.drawer h3{margin:22px 0 8px;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.x{font:inherit;font-size:20px;line-height:1;width:34px;height:34px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;cursor:pointer;color:var(--ink)}
.x:hover{background:var(--bg)}
.d-meta{margin:6px 0 10px;color:var(--muted)}
.steps{display:flex;gap:4px;list-style:none;margin:0 0 14px;padding:0}
.steps li{flex:1;text-align:center;font-size:11.5px;font-weight:500;color:#64748b;padding-top:12px;position:relative}
.steps li::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;border-radius:3px;background:#e2e8f0}
.steps li.done::before{background:#a5b4fc}
.steps li.now::before{background:var(--ind)}
.steps li.now{color:var(--ink);font-weight:700}
.docs{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.docs li{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:7px 10px;background:#f8fafc}
.docs svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--ind);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hint{color:var(--muted);font-size:12.5px;margin:8px 0 0}
.log{list-style:none;margin:0;padding:0 0 0 16px;border-left:2px solid #e2e8f0}
.log li{position:relative;padding:0 0 14px 14px}
.log li::before{content:"";position:absolute;left:-23px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--ind);border:2px solid #fff;box-shadow:0 0 0 1px var(--ind)}
.log strong{display:block;font-size:12.5px;color:var(--muted);font-weight:500}
.foot{padding:12px 24px;color:var(--muted);font-size:12.5px;border-top:1px solid var(--line);background:#fff}
.foot p{margin:0}
@media(max-width:1180px){.shell.open{grid-template-columns:232px minmax(0,1fr)}.drawer{position:fixed;right:0;top:var(--sbarh);width:min(440px,100%);z-index:50;box-shadow:-12px 0 32px rgba(15,23,42,.25)}}
@media(max-width:820px){.shell,.shell.open{grid-template-columns:minmax(0,1fr)}.side{position:static;height:auto;flex-direction:column;padding:10px 12px}.logo{padding-bottom:10px;margin-bottom:8px}#nav{display:flex;flex-wrap:wrap;gap:4px}#nav li{flex:1 1 45%}.side-foot{display:none}.top{position:static;padding:10px 16px}main{padding:16px}}
@media(max-width:480px){#nav li{flex:1 1 100%}.tools label{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media(max-width:1560px){.shell.open .xc{display:none}.shell.open table{min-width:0}}
.shell.open td,.shell.open th{white-space:normal;padding:9px 10px}
.shell.open thead th{white-space:nowrap}
