:root{font-family:Segoe UI,Arial,sans-serif;color:#203044;background:#f4f6f9;font-synthesis:none;--accent:#155b58;--line:#e2e7ed;--muted:#697889}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:8px;background:var(--accent);color:white;padding:10px 16px;font-weight:600}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #53b5a5;outline-offset:3px}.secondary{background:white;border-color:var(--line);color:#344559}.danger{background:#fff0ef;color:#a43135;border-color:#edcccc}.icon{background:transparent;color:#657488;padding:4px 10px;font-size:24px}a{color:var(--accent);text-decoration:none}.muted,small{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;color:#697b8d;font-weight:700;margin:0 0 10px}h1{font-size:29px;letter-spacing:-.8px;margin:0}h2{font-size:19px;margin:0}p{line-height:1.6}label{display:flex;flex-direction:column;font-size:13px;font-weight:600;gap:7px;margin-bottom:17px}label small{font-weight:400}input,select{width:100%;padding:11px 12px;border:1px solid #cdd6e0;border-radius:7px;background:white;color:#203044;min-width:0}input:focus,select:focus{outline:2px solid #71b7ab;outline-offset:1px}.check{flex-direction:row;align-items:center}.check input{width:auto}.brand{height:56px;width:56px;border-radius:15px;background:var(--accent);color:white;display:grid;place-content:center;font-weight:750;font-size:31px;position:relative;margin-bottom:32px}.brand span{position:absolute;right:6px;top:1px;font-size:23px;color:#a6d6b4}.login{max-width:440px;margin:8vh auto;padding:36px}.login h1{font-size:40px}.login form{margin:30px 0 18px}.login button{width:100%;display:flex;justify-content:space-between;padding:14px}.login small{display:block;text-align:center}#shell{min-height:100vh}#shell:not([hidden]){display:flex}aside{width:252px;background:#122c32;color:#aabec4;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:35px 20px}.wordmark{font-size:23px;font-weight:700;color:white;letter-spacing:-.8px;padding:0 9px}.wordmark span{color:#7ed0b8}.workspace{font-size:10px;letter-spacing:1.8px;margin:44px 12px 16px;color:#78959e}nav{display:grid;gap:7px}nav button{text-align:left;background:transparent;color:#b7c9cf;font-size:13px;padding:13px 12px;font-weight:500}nav button.selected{color:white;background:#24464b;box-shadow:inset 3px 0 #84cdb5}.aside-bottom{margin-top:auto;padding:20px 10px 0;font-size:12px}.aside-bottom .secondary{background:transparent;border-color:#3c555d;color:#cfdbdf;font-size:12px}.connection{display:flex;align-items:center;gap:7px}.connection i{height:7px;width:7px;border-radius:50%;background:#85d5b1}.content{margin-left:252px;padding:38px 44px;width:calc(100% - 252px)}header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.header-actions{display:flex;align-items:center;gap:10px}.header-actions span{font-size:11px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.card,.panel{background:white;border:1px solid var(--line);border-radius:11px}.card{padding:22px}.card .number{font-size:34px;font-weight:650;margin-top:12px;letter-spacing:-1px}.card .label{font-size:12px;color:var(--muted)}.card small{display:block;margin-top:9px}.panel-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head p{margin:4px 0 0;font-size:13px;color:var(--muted)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-size:11px;font-weight:600;letter-spacing:.4px;color:var(--muted);background:#fafbfc}td,th{padding:16px 20px;border-bottom:1px solid #edf0f4}tbody tr:last-child td{border-bottom:none}td strong{display:block;margin-bottom:4px}td small{display:block}.actions{display:flex;flex-wrap:wrap;gap:6px;min-width:140px}.actions button{font-size:11px;padding:7px 10px}.badge{display:inline-block;padding:5px 9px;border-radius:20px;background:#edf0f4;color:#607084;font-size:11px;white-space:nowrap}.badge.active,.badge.published{background:#e6f3ec;color:#2b7253}.badge.review,.badge.pending{background:#fff3db;color:#9a6b19}.badge.revoked,.badge.suspended{background:#fce9e8;color:#a14948}.empty{padding:44px;text-align:center;color:var(--muted);font-size:14px}.intro{background:#e7efed;border:1px solid #d4e2de;border-radius:12px;padding:26px 30px;margin-bottom:26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.intro p{font-size:13px;color:#546c69;margin-bottom:0;max-width:650px}footer{font-size:11px;color:#82909e;margin-top:32px}dialog{border:1px solid #dce3ea;border-radius:14px;padding:26px;width:min(760px,94vw);max-height:90vh;color:#203044;box-shadow:0 24px 90px #10263033}dialog::backdrop{background:#10263088}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:16px}#userEditor{width:min(470px,94vw)}pre{font-size:12px;background:#f5f7fa;padding:16px;overflow:auto;max-height:45vh;white-space:pre-wrap;word-break:break-word}#loginError,#pageError,.form-error{color:#b43e3e;font-size:13px}#toast{position:fixed;right:24px;bottom:24px;background:#163c38;color:white;padding:14px 22px;border-radius:9px;box-shadow:0 8px 28px #122c3222;z-index:20}#toast:empty{display:none}.search{max-width:280px}.count{font-size:12px;color:#7b8997}.loading{padding:60px;text-align:center;color:#6b7d89}@media(max-width:1150px){.content{padding:28px 24px}aside{width:220px}.content{margin-left:220px;width:calc(100% - 220px)}.cards{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start}.header-actions{flex-wrap:wrap;justify-content:flex-end}.header-actions span{display:none}}@media(max-width:760px){#shell:not([hidden]){display:block}aside{position:static;width:100%;padding:20px}.workspace,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:20px}nav button{white-space:nowrap}.content{margin:0;width:100%;padding:24px 16px}h1{font-size:23px}header{flex-direction:column}.form-grid{grid-template-columns:1fr}.intro{display:block}.cards{gap:10px}.card{padding:16px}.panel-head{padding:18px}td,th{padding:14px}.login{padding:25px;margin:4vh auto}}

@media(max-width:760px){.aside-bottom{display:flex;align-items:center;gap:12px;padding:12px 0 0;margin:0}.aside-bottom .connection{display:none}.aside-bottom p{margin:0;font-size:11px}.aside-bottom .secondary{margin-left:auto;white-space:nowrap}}

.section-gap{height:24px}.hash{font:11px Consolas,monospace;overflow-wrap:anywhere;color:#697889}textarea{font:inherit;resize:vertical;border:1px solid #cdd6e0;border-radius:7px;padding:10px;width:100%}
.login-logo{display:block;width:230px;height:170px;object-fit:contain;margin:0 auto 20px}.wordmark{display:block;background:#fff;border-radius:10px;padding:6px}.wordmark img{display:block;width:100%;height:128px;object-fit:contain}.hash{overflow-wrap:anywhere;font-size:10px}
.wordmark{background:transparent;padding:0}.theme-toggle{position:fixed;right:20px;top:16px;z-index:30}:root[data-theme=dark]{color-scheme:dark;--accent:#39c3b5;--line:#344457;--muted:#adbac9;color:#e7eff8;background:#101b2b}[data-theme=dark] .panel,[data-theme=dark] .card,[data-theme=dark] .login,[data-theme=dark] aside,[data-theme=dark] dialog,[data-theme=dark] .secondary,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#18283a;color:#e7eff8}[data-theme=dark] th,[data-theme=dark] pre{background:#142336;color:#c0d1df}[data-theme=dark] td,[data-theme=dark] th{border-color:#344457}[data-theme=dark] .intro{background:#17363b;border-color:#2b575d;color:#e7eff8}[data-theme=dark] .intro p{color:#bfd5d7}[data-theme=dark] nav button.selected{background:#24454a;color:#baf2e9}[data-theme=dark] .wordmark{background:transparent}[data-theme=dark] button:not(.secondary):not(.icon):not(.danger){color:#0c272d}
.learning-cards{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.learning-cards .card{padding:16px}.learning-cards .number{font-size:28px}#learningRows .hash{max-width:180px;word-break:break-all}#learningPattern{padding:18px}
.learning-row-check{width:18px!important;height:18px;min-width:18px;padding:0!important;margin:0;accent-color:var(--accent);vertical-align:middle;cursor:pointer}.learning-bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:18px}.learning-bulk-actions>p{flex-basis:100%;margin:0}.learning-bulk-actions>span{font-weight:600;margin-right:auto}.learning-bulk-actions .form-error:empty{display:none}
