@charset "UTF-8";
:root { color-scheme: dark; --bg:#11130f; --panel:#1a1d16; --text:#ecebe2; --muted:#a7ab9a; --accent:#d4e999; --border:#34392b; --warn:#e7c784; --bad:#efa69a; --mono:"DejaVu Sans Mono","Liberation Mono",Consolas,monospace; --sans:"DejaVu Sans","Liberation Sans",Arial,sans-serif; --display:Impact,"Arial Narrow","Liberation Sans Narrow","DejaVu Sans Condensed",sans-serif; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; background:var(--bg); color:var(--text); font:14px/1.7 var(--sans); }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled,input:disabled,select:disabled { opacity:.5; cursor:not-allowed; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,pre:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
button,a { touch-action:manipulation; }
a { color:inherit; text-decoration:none; }
h1,h2,p,pre { margin:0; }
::selection { background:var(--accent); color:var(--bg); }
.container { width:min(1440px,calc(100% - 80px)); margin-inline:auto; }
.accent { color:var(--accent); }
.brand { display:flex; align-items:center; gap:12px; font:11px/1.3 var(--mono); letter-spacing:.05em; }
.brand strong { font-size:14px; }
.brand svg { width:39px; height:39px; stroke:var(--accent); stroke-width:1.8; }
.eyebrow { font:9px/1.8 var(--mono); color:var(--accent); letter-spacing:.09em; }
.small-label { display:block; font:8px/1.8 var(--mono); color:#a8b296; letter-spacing:.06em; }
.intro,.panel-copy { color:var(--muted); font-size:12px; line-height:1.9; }
.help { color:var(--muted); font-size:10px; line-height:1.9; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:18px; min-height:44px; border:1px solid #626d46; border-radius:0; background:transparent; color:var(--accent); padding:10px 15px; font-size:11px; line-height:1.7; }
.button:hover:not(:disabled):not([aria-disabled="true"]) { background:#d4e99912; }
.button.primary { background:var(--accent); color:#1b2511; border-color:var(--accent); font-weight:700; }
.button.primary:hover:not(:disabled) { background:#e4f3bc; }
.button.danger { color:var(--bad); border-color:#80554c; }
.button.danger:hover:not(:disabled) { background:#efa69a12; }
.button[aria-disabled="true"] { opacity:.45; cursor:not-allowed; pointer-events:none; }
.button.full { width:100%; }
.button.quiet { font-weight:400; }
.text-button { color:var(--accent); border:0; border-radius:0; background:transparent; min-height:36px; padding:6px 3px; font-size:10px; }
.text-button:hover:not(:disabled) { text-decoration:underline; text-underline-offset:4px; }
.notice { margin-block:18px 0; padding:13px 16px; border-left:2px solid #877045; background:#e7c7840b; color:var(--warn); font-size:12px; }
.notice[data-level="good"] { border-color:#647845; background:#d4e9990b; color:var(--accent); }
.form-message { min-height:1.8em; margin-top:12px; color:var(--warn); font-size:11px; line-height:1.8; overflow-wrap:anywhere; }
.form-message[data-level="good"] { color:var(--accent); }
label { display:block; margin-top:22px; font:9px/1.8 var(--mono); color:#b3bba5; letter-spacing:.05em; }
input,select { display:block; width:100%; min-width:0; min-height:46px; border:1px solid #58623f; border-radius:0; background:#11150e; color:var(--text); padding:11px 12px; font-size:13px; }
input { margin-top:7px; }
input::placeholder { color:#858e78; opacity:1; }
select { margin-top:7px; padding-right:24px; font-size:11px; }
.login-page { min-height:100vh; min-height:100dvh; background:radial-gradient(ellipse at 20% 15%,#25301b50,transparent 60%),var(--bg); }
.login-shell { width:min(500px,calc(100% - 36px)); margin:auto; padding-block:60px 32px; }
.login-shell>.brand { margin-bottom:45px; }
.login-card { border:1px solid #465139; padding:34px; background:#1a1d16e8; }
.login-card h1 { font:800 clamp(38px,6vw,48px)/1.1 var(--display); letter-spacing:-.03em; margin-top:17px; }
h1 span { color:var(--accent); }
.login-card .intro { margin-top:17px; }
.login-card .button { width:100%; margin-top:8px; justify-content:space-between; padding-inline:18px; }
.login-card .notice { margin-top:20px; }
.login-footnote { color:var(--muted); font:9px/1.9 var(--mono); margin-top:22px; }
.skip-link { position:absolute; top:-100px; left:20px; background:var(--accent); color:var(--bg); padding:10px; z-index:10; }
.skip-link:focus { top:10px; }
.site-header { border-bottom:1px solid var(--border); }
.header-inner { display:flex; justify-content:space-between; align-items:center; gap:24px; min-height:100px; }
.account { display:flex; align-items:center; gap:24px; }
.account p { font:11px/1.8 var(--mono); }
.account .small-label { font-size:7px; margin-bottom:3px; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-block:44px 28px; }
.page-heading h1 { font:800 clamp(45px,5.5vw,66px)/1.1 var(--display); letter-spacing:-.035em; margin-top:12px; }
.page-heading .intro { margin-top:13px; }
.page-heading>.button { white-space:nowrap; }
.status-grid { display:grid; grid-template-columns:1fr .85fr 1.3fr 1fr; gap:14px; margin-block:22px; }
.status-card { padding:18px 20px; border:1px solid var(--border); background:#181b14; min-width:0; }
.status-card strong { display:block; margin-top:10px; font:500 22px/1.4 var(--mono); letter-spacing:-.04em; overflow-wrap:anywhere; }
.status-card .detail { display:block; margin-top:7px; color:var(--muted); font-size:9px; line-height:1.8; }
[data-level="good"] { --level-color:var(--accent); }
[data-level="warning"] { --level-color:var(--warn); }
[data-level="bad"] { --level-color:var(--bad); }
.status-card strong[data-level] { color:var(--level-color); }
.admin-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:20px; align-items:start; }
.panel { border:1px solid var(--border); background:var(--panel); padding:23px; min-width:0; }
.panel h2 { font-size:20px; font-weight:500; letter-spacing:-.03em; margin-top:6px; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.connection-state { color:var(--level-color,var(--muted)); display:flex; align-items:center; gap:8px; font:9px/1.8 var(--mono); white-space:nowrap; }
.status-dot { display:inline-block; width:6px; height:6px; background:currentColor; flex:none; }
.console-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; margin-top:22px; border:1px solid var(--border); border-bottom:0; padding:8px 12px; background:#151910; }
.console-toolbar>p { color:#a8b296; font:8px/1.8 var(--mono); overflow-wrap:anywhere; }
.console-toolbar>div { display:flex; gap:16px; }
.console-output { height:430px; overflow:auto; overscroll-behavior:contain; border:1px solid var(--border); background:#0b0e09; padding:15px; color:#d4ddc6; font:10px/1.75 var(--mono); white-space:pre-wrap; overflow-wrap:anywhere; tab-size:4; scrollbar-color:#4c583d #11150e; }
.console-panel>.help { margin-top:8px; }
.command-form { border-top:1px solid var(--border); margin-top:22px; padding-top:17px; }
.command-form label { margin-top:0; }
.command-row { display:flex; align-items:stretch; gap:0; margin-top:7px; background:#11150e; border:1px solid #58623f; }
.command-row>span { color:var(--accent); display:flex; align-items:center; padding-left:13px; font:20px/1 var(--mono); }
.command-row input { margin:0; border:0; background:transparent; min-height:44px; font:12px/1.8 var(--mono); }
.command-row .button { flex:none; border:0; }
.command-form .help { margin-top:8px; }
.command-output { max-height:240px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; background:#11150e; padding:14px; border-left:2px solid #58623f; font:10px/1.8 var(--mono); margin-top:12px; }
.side-panels { display:grid; gap:20px; }
.side-panels .panel-copy { margin-top:14px; font-size:11px; }
.restart-panel .button { margin-top:20px; }
.restart-panel .help { margin-top:8px; }
.logs-panel .button { margin-top:17px; }
.logs-panel #log-detail { margin-top:9px; }
.private-note { margin-top:15px; border-top:1px solid var(--border); padding-top:13px; }
.page-footer { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--border); margin-block:32px 0; padding-block:23px 30px; font:8px/1.9 var(--mono); color:var(--muted); }
.page-footer>p:first-child { color:var(--text); }
.page-footer>p:first-child>span:last-child { color:var(--muted); }
@media(min-width:1500px) { .console-output { height:490px; } }
@media(max-width:1120px) { .container { width:calc(100% - 48px); } .admin-grid { grid-template-columns:minmax(0,1fr) 290px; gap:16px; } .panel { padding:19px; } .status-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .console-toolbar { align-items:flex-start; } .panel-heading { flex-wrap:wrap; gap:12px; } }
@media(max-width:840px) { .admin-grid { grid-template-columns:1fr; } .side-panels { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .console-output { height:430px; font-size:11px; } }
@media(max-width:600px) { .container { width:calc(100% - 32px); } .header-inner { min-height:90px; gap:16px; flex-wrap:wrap; padding-block:18px; } .brand { font-size:9px; } .brand strong { font-size:12px; } .brand svg { width:33px; height:33px; } .account { gap:12px; } .account p { font-size:10px; } .account .small-label { display:none; } .account .button { padding-inline:10px; font-size:10px; } .page-heading { align-items:flex-start; margin-top:30px; flex-direction:column; } .page-heading h1 { font-size:49px; } .page-heading>.button { min-height:40px; } .status-grid { gap:10px; } .status-card { padding:15px; } .status-card strong { font-size:19px; } .status-card .detail { font-size:10px; } .small-label { font-size:8px; } .side-panels { grid-template-columns:1fr; } .panel { padding:17px; } .console-output { height:370px; padding:12px; font-size:10px; } .console-toolbar>p { font-size:9px; } .text-button { font-size:11px; } .help { font-size:11px; } .command-row .button { padding-inline:11px; } .page-footer { flex-direction:column; gap:7px; font-size:9px; } .login-shell { padding-top:35px; } .login-shell>.brand { margin-bottom:30px; } .login-card { padding:25px; } .eyebrow { font-size:8px; } .login-card .eyebrow { font-size:7px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; } }
:root { --startup-border: #70794e; }
.startup-controls { margin: 1.4rem 0; padding: 1.2rem; border: 1px solid var(--startup-border); }
.startup-controls[hidden] { display: none; }
.startup-controls h3 { margin: 0 0 .8rem; font-size: 1.15rem; }
.startup-details { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .75rem; line-height: 1.7; margin: 1rem 0; }
.startup-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 480px) { .startup-buttons { grid-template-columns: 1fr; } }
