:root{color-scheme:dark;--navy:#0b1f44;--background:#071426;--panel:#0f2440;--line:#2c5073;--cyan:#00c2e7;--orange:#ff8b61;--paper:#f5f8fc;--muted:#bdd1e5;font:16px/1.55 'Segoe UI',system-ui,sans-serif;background:var(--background);color:var(--paper)}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}header{border-bottom:1px solid var(--line);background:#081831}.bar,main{width:min(1120px,calc(100% - 36px));margin:auto}.bar{display:flex;justify-content:space-between;align-items:center;min-height:68px}.brand{display:flex;align-items:center;gap:10px;color:var(--paper);text-decoration:none;font-weight:700}.brand img{width:45px;height:45px;border:1px solid #27668e;border-radius:11px}.brand small{display:block;font-size:.8rem;color:var(--muted);font-weight:450}.hero{margin:24px 0;padding:clamp(18px,4vw,44px);border:1px solid #346789;border-radius:15px;background:linear-gradient(90deg,#081933 10%,#0b1f44e6 46%,#0b1f4455),url('/wallpaper.webp') center 48%/cover}.hero h1{font-size:clamp(1.85rem,4.8vw,3rem);line-height:1.13;letter-spacing:-.036em;margin:0}.hero p{margin:7px 0 0;color:var(--muted)}h2{margin:0 0 8px;font-size:1.33rem}.panel,.document-item,dialog{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:18px}.narrow{max-width:535px}.panel form{display:grid;gap:4px}.panel button{justify-self:start}.actions,.listing{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.listing{justify-content:space-between;margin:24px 0 12px}.listing p,.document-item p{margin:0;color:var(--muted);overflow-wrap:anywhere}.document-list{display:grid;gap:8px}.document-item{display:flex;justify-content:space-between;align-items:center;gap:12px}.document-item h3{margin:0;font-size:1.04rem;overflow-wrap:anywhere}.document-item .actions{flex-shrink:0}.panel label,dialog label{display:grid;gap:5px;color:#d7e7f4;font-size:.9rem;margin:9px 0}.panel input,dialog input,dialog select,dialog textarea{max-width:100%;width:100%;font:inherit;border:1px solid #3b6587;border-radius:8px;background:#09192f;color:var(--paper);padding:9px 11px}dialog{width:min(540px,calc(100% - 28px));color:var(--paper);border-top:3px solid var(--cyan)}dialog::backdrop{background:#020918ba}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:7px 13px;background:var(--cyan);color:#07172e;font:670 .94rem 'Segoe UI',system-ui,sans-serif;border-radius:8px;border:1px solid transparent;cursor:pointer;text-decoration:none}button:hover,.button:hover{background:#a5f1ff}button:disabled{opacity:.55;cursor:default}.secondary{background:#153356;color:#f3f9ff;border-color:#4a7196}.secondary:hover{background:#224b71}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #85e9fa;outline-offset:3px}#status,[role=status]{color:#bce4f5;min-height:1.4em}.error{color:#ffbdab!important}.empty{padding:18px;border:1px solid var(--line);border-radius:10px;color:var(--muted)}@media(max-width:670px){.bar,main{width:calc(100% - 24px)}.hero{margin:14px 0;background-position:center,60% center}.document-item{display:block}.document-item .actions{margin-top:8px}}
