:root { color-scheme: dark; font-family: "Segoe UI", -apple-system, system-ui, sans-serif; color: #eef4ff; background: #0c142b; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 98% 4%, #202e56 0, transparent 53%); }
main { max-width: 550px; margin: auto; padding: max(22px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(30px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left)); }
header,.page-title,.backup-head,li { display:flex; align-items:center; gap:12px; }
header { padding: 4px 0 23px; border-bottom: 1px solid #35405b; font-size: 15px; }
.mark,.disk,.code { display:grid;place-items:center;flex:none; }
.mark { width:32px;height:32px;background:#95b9ff;color:#0b2052;border-radius:10px;font-size:26px;line-height:1; }
.scope { margin-left:auto; color:#bac9e7;font-size:13px; }
h1,h2,p { margin:0; } h1 { font-size:clamp(29px,7vw,39px);line-height:1.04;letter-spacing:-.04em; }
.page-title { justify-content:space-between;margin:26px 0 5px; }
button { min-width:44px;min-height:44px;border:1px solid #53627e;border-radius:50%;background:#172340;color:#dbe8ff;font-size:25px;cursor:pointer; }
button:disabled { opacity:.5; } button:focus-visible,a:focus-visible { outline:3px solid #9edbff;outline-offset:3px; }
#updated,small,#gate p { color:#b5c3de;font-size:14px;line-height:1.55; }
.hero { position:relative;overflow:hidden;isolation:isolate;margin:22px 0 6px;padding:24px;border:1px solid #667dba;border-radius:25px;background:linear-gradient(117deg,#213e8e 0%,#263e83 55%,#3054a1); }
.hero::after { content:"";position:absolute;z-index:-1;inset:-65% -32% -105% 30%;transform:rotate(-25deg);background:repeating-radial-gradient(ellipse at 65% 49%,transparent 0 10px,#a8d1ff38 11px, transparent 12px 19px);mask-image:linear-gradient(90deg,transparent,#000 38%); }
h2 { font-size:18px;font-weight:650;letter-spacing:-.02em; }
.count { font-variant-numeric:tabular-nums;margin:10px 0 0;line-height:1; }
.count b { font-size:64px;letter-spacing:-.065em; } .count span { font-size:26px;color:#c1d5ff; }
#caption { font-size:14px;margin-top:8px; }
.rail { display:flex;gap:6px;margin-top:24px; } .rail i { flex:1;height:4px;border-radius:3px;background:#a5b2ce; }
.rail i[data-state=up],.indicator[data-state=up]::before { background:#7ce6c6; }
.rail i[data-state=down],.indicator[data-state=down]::before { background:#ff959c; }
ul { padding:0;margin:0;list-style:none; } li { padding:16px 3px;border-bottom:1px solid #303c59; }
.code { width:35px;height:35px;border-radius:10px;background:#203253;color:#bacfff;font-size:12px;font-weight:700;letter-spacing:.04em; }
.name { font-weight:600; } .indicator { margin-left:auto;font-size:13px;white-space:nowrap; }
.indicator::before { content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#adb8d1; }
.backup { margin-top:22px;padding:20px;border-radius:20px;background:#17233c;border:1px solid #344463; }
.disk { color:#aacbff;font-size:24px; } .backup-state { margin:12px 0 4px;font-size:21px;font-weight:640; }
#backup-info { font-size:14px;color:#cedaf0;margin-bottom:12px; } .backup small { font-size:12px; }
#gate { margin-top:32px; } #gate p { margin:14px 0 22px; } #open-bot { display:inline-block;color:white;background:#2c51af;padding:12px 16px;border-radius:12px;text-decoration:none; }
.checks { margin-top:22px; }
.checks h2,.checks summary { padding:8px 0; font-size:18px; font-weight:650; }
.checks summary { cursor:pointer; min-height:44px; }
.checks li { justify-content:space-between; }
.checks .name { font-size:14px; overflow-wrap:anywhere; }
.actions { margin-top:24px; display:grid; gap:9px; }
.actions h2 { margin-bottom:3px; }
.actions a { display:flex; align-items:center; justify-content:space-between; min-height:46px; gap:12px; padding:9px 14px; border-radius:12px; border:1px solid #405277; background:#1b2c4b; color:#e4edff; text-decoration:none; }
.actions a:hover { background:#23395f; }
.actions span { color:#b0cdff; }
@media(max-width:350px){.hero,.backup{padding:16px}.name,.indicator{font-size:13px}li{gap:7px}}
#sections { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin:17px 0;padding:4px;background:#142039;border:1px solid #354765;border-radius:15px; }
#sections button,.minor,.primary,.danger,.dialog-actions button { min-width:0;min-height:44px;border-radius:10px;font:600 14px/1.3 inherit;font-family:inherit;font-weight:600;font-size:14px; }
#sections button { border:0;background:transparent;color:#bdcce6;padding:4px; }
#sections button[aria-current] { color:white;background:#2c4e94;box-shadow:0 2px 6px #0003; }
.workspace .page-title { margin-bottom:18px; } .hint,.feedback,.entry p,dialog p { color:#b9c9e6;font-size:14px;line-height:1.55; }
.composer,.entry,dialog { border:1px solid #384e73;background:#16253f;border-radius:16px; }
.composer { padding:16px;margin:16px 0; } .composer summary { cursor:pointer;font-weight:650;line-height:26px; }
.composer[open] summary { margin-bottom:15px; } form,.search,#qr-box { display:grid;gap:12px; }
.search { margin:16px 0; } label { display:grid;gap:5px;font-size:14px;font-weight:550; }
input,select { width:100%;min-width:0;border:1px solid #536988;background:#0e192e;color:#eff4ff;border-radius:9px;padding:10px 12px;min-height:44px;font:inherit;font-size:16px; }
input:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid #96c8ff;outline-offset:2px; }
.primary,.minor,.danger,.dialog-actions button { padding:8px 13px;border:1px solid #466185;color:#e3edff;background:#243855; }
.primary,.dialog-actions .primary { color:white;background:#355eb3;border-color:#5f85d5; }
.danger { color:#ffbabe;background:#342435;border-color:#705165; }
.minor { display:inline-flex;align-items:center;text-decoration:none;overflow-wrap:anywhere; }
.feedback { margin:12px 0;min-height:1em; } .entries { display:grid;gap:10px; }
.entry { padding:15px;min-width:0;overflow-wrap:anywhere; } .entry strong { display:block;font-size:16px; }
.entry p { margin:5px 0; }.entry small { color:#9fb4d5; }
.service-icon { float:right;width:30px;height:30px;object-fit:contain;margin:0 0 6px 6px; }
.row-actions,.dialog-actions { display:flex;flex-wrap:wrap;gap:7px;margin-top:12px; }
#resource-list h2 { margin:20px 0 10px; }
.interactive-card {position:relative;}
.interactive-card:hover,.interactive-card:focus-within {border-color:#86a9e3;background:#1a2e50;}
.card-target {color:inherit;text-decoration:none;font:inherit;text-align:inherit;background:none;border:0;border-radius:0;padding:0;min-height:0;min-width:0;}
.card-target::after {position:absolute;inset:0;content:"";border-radius:16px;cursor:pointer;}
.card-target:focus-visible {outline:none;}
.card-target:focus-visible::after {outline:3px solid #9edbff;outline-offset:2px;}
.interactive-card .row-actions a {position:relative;z-index:1;}
.entry .file-type {color:#b4d2ff;}
.rdp-feedback {position:relative;z-index:1;margin-top:12px;padding-top:10px;border-top:1px solid #405277;color:#cad9ef;font-size:14px;}
dialog { color:#eff4ff;padding:0;width:min(410px,calc(100% - 24px));max-height:88dvh;overflow:auto; }
dialog::backdrop { background:#070d22cb; }.dialog-body { padding:20px; }.dialog-body h2 { margin-bottom:8px; }
#qr-box { margin-top:12px; } #qr-image { width:min(216px,100%);height:auto;margin:auto;border-radius:8px; }
.dialog-actions { justify-content:flex-end; }.row-actions button:hover,.minor:hover { filter:brightness(1.15); }
#backup-sets:not(:empty) { margin:2px 0 12px; }
#backup-sets li { padding:5px 0;font-size:13px;border:0; }
@media(min-width:740px) { main {max-width:780px;} .entries {grid-template-columns:repeat(2,minmax(0,1fr));} #view-overview {max-width:590px;margin:auto;} }
@media(max-width:360px) { main {padding-inline:12px;} #sections button {font-size:11px;padding-inline:1px;} }
