:root{--bg:#F3F5F7;--surface:#fff;--ink:#14212B;--muted:#4A5B68;--line:#DDE3E8;--accent:#0B6E6E;--accent-d:#084F4F;--accent-s:#E0F1F0;--ok:#1B7F3B;--warn:#9A5B00;--warn-s:#FFF4E0;--bad:#B3261E;--bad-s:#FDECEA}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--accent)}a:hover{color:var(--accent-d)}
:focus-visible{outline:3px solid #9FD3D1;outline-offset:2px}
.top{height:56px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:var(--surface);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:18px;color:var(--ink);text-decoration:none}
.top nav{display:flex;align-items:center;gap:20px}.top nav a{text-decoration:none;font-weight:600}
.top form{margin:0}
.linkbtn{background:none;border:0;color:var(--muted);font:inherit;font-weight:600;cursor:pointer;padding:8px}
main{max-width:1100px;margin:0 auto;padding:36px 28px 64px}
h1{margin:0 0 6px;font-size:32px;line-height:1.15;font-weight:800}
h2{margin:0 0 8px;font-size:20px;font-weight:800}
.muted{color:var(--muted)}.small{font-size:14px}
.head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:20px}
.narrow{max-width:560px;margin:24px auto}.wide{max-width:860px;margin-left:auto;margin-right:auto}
.step{margin:0 0 8px;font-weight:700;color:var(--accent);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.grid .card{margin:0;display:flex;flex-direction:column;gap:6px}
.app .btn{margin-top:auto}
.row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.empty{border:2px dashed #B4BEC6;background:transparent;align-items:flex-start;justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:12px;border:1px solid var(--accent);background:var(--accent);color:#fff;font:700 16px/1 inherit;text-decoration:none;cursor:pointer}
.btn:hover{background:var(--accent-d);color:#fff}
.btn.big{min-height:52px;width:100%}.actions .btn.big{width:auto;min-width:120px}
.btn.ghost{background:#fff;color:var(--accent)}.btn.ghost:hover{background:var(--accent-s);color:var(--accent-d)}
.btn.light{background:#fff;color:var(--ink);border-color:#fff;min-height:40px}
.btn.danger{background:#fff;color:var(--bad);border-color:var(--bad)}.btn.danger:hover{background:var(--bad-s);color:var(--bad)}
.btn.warnbtn{background:var(--warn);border-color:var(--warn)}
.status{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;white-space:nowrap}
.status i{width:10px;height:10px;border-radius:50%;background:currentColor;display:inline-block}
.status.ok{color:var(--ok)}.status.warn{color:var(--warn)}.status.bad{color:var(--bad)}.status.idle{color:var(--muted)}
h1 .status{font-size:15px;vertical-align:middle;margin-left:8px}
.note{padding:14px 18px;border-radius:14px;margin:16px 0;font-weight:600}
.note.block{margin:0 0 20px}.note p{font-weight:400;margin:6px 0}
.note.ok{background:#E6F4EA;color:#14532D}.note.warn{background:var(--warn-s);color:#6B3F00}
.note.bad{background:var(--bad-s);color:#7A1B16}.note.idle{background:#EAEEF1;color:var(--ink)}
.note .inline{display:inline;margin-left:12px}
.flash{background:var(--accent-s);color:var(--accent-d);padding:12px 18px;border-radius:12px;margin-bottom:20px;font-weight:600}
.stack{display:flex;flex-direction:column;gap:16px}
label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.hint{font-weight:400;color:var(--muted)}
input{min-height:48px;padding:0 14px;border-radius:12px;border:1px solid #AEB9C2;background:#fff;color:var(--ink);font:16px inherit;width:100%}
.inline{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.inline input{flex:1;min-width:200px;width:auto}
.kv{display:grid;grid-template-columns:minmax(120px,220px) 1fr;gap:12px;align-items:center}
.kv.secret{grid-template-columns:minmax(120px,220px) auto 1fr auto;margin-bottom:12px}
.kv input{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px}
code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px}
.urlbox{display:flex;align-items:center;gap:12px;background:#14212B;color:#E8EEF2;border-radius:14px;padding:12px 14px 12px 18px;margin:14px 0}
.urlbox code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:15px}
.steps{padding-left:22px;display:flex;flex-direction:column;gap:8px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.box{border:1px solid var(--line);border-radius:16px;padding:18px}
.okc{color:var(--ok)}.badc{color:var(--bad)}
.ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:15px}
.ticks li::before{display:inline-block;width:20px;font-weight:800}
.ticks .yes::before{content:"✓";color:var(--ok)}.ticks .no::before{content:"✕";color:var(--bad)}
.actions{display:flex;gap:12px;justify-content:flex-end;margin-top:16px}.actions.left{justify-content:flex-start}.actions form{margin:0}
.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:20px}
.tabs a{padding:10px 18px;text-decoration:none;font-weight:600;color:var(--muted);border-bottom:3px solid transparent}
.tabs a.on{color:var(--accent);font-weight:800;border-bottom-color:var(--accent)}
.facts{display:grid;grid-template-columns:180px 1fr;gap:8px 16px;margin:12px 0}.facts dt{color:var(--muted)}.facts dd{margin:0;font-weight:600}
.versions{list-style:none;margin:0;padding:0}
.versions li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;border-top:1px solid #EEF1F4}
.versions li.cur{background:var(--accent-s)}.versions form{margin:0}
.card.flush{padding:0;overflow:hidden}.pad{padding:20px 24px 12px}
.log{background:#14212B;color:#E8EEF2;padding:16px;border-radius:12px;overflow:auto;max-height:480px;font-size:13px;line-height:1.5;white-space:pre-wrap}
.plain{list-style:none;padding:0}
@media (max-width:700px){.two,.kv,.kv.secret,.facts{grid-template-columns:1fr}.head{flex-direction:column;align-items:flex-start}main{padding:24px 16px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
