:root { --bg:#f1f0eb; --panel:#fafaf6; --line:#c1c7bb; --acid:#d7ff3f; --orange:#ff6a3c; --text:#07090a; --muted:#5d685f; --mono:'DM Mono',monospace; --sans:'Space Grotesk',sans-serif; }
* { box-sizing:border-box; }
html { background:var(--bg); color:var(--text); font-family:var(--sans); }
body { margin:0; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
[hidden] { display:none!important; }
:focus-visible { outline:2px solid #718b25; outline-offset:4px; }
.skip { position:fixed; left:16px; top:-80px; padding:12px; background:var(--acid); color:var(--text); z-index:10; }
.skip:focus { top:16px; }
header { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:95px; padding:20px clamp(20px,4vw,68px); border-bottom:1px solid #414742; background:var(--bg); }
.brand { display:flex; align-items:center; gap:12px; }
.brand svg { width:32px; fill:var(--text); flex:none; }
.brand span { font-size:18px; font-weight:500; letter-spacing:.01em; }
.brand small { display:block; margin-top:6px; font:7px var(--mono); color:var(--muted); letter-spacing:.08em; }
nav { display:flex; align-items:center; gap:25px; font-size:13px; }
nav button,#refresh { padding:10px 14px; border:1px solid #a6af9d; background:transparent; color:var(--text); font-size:12px; }
main { width:min(1180px,calc(100% - 60px)); margin:auto; }
.intro { position:relative; padding:45px 0 40px; border-bottom:1px solid var(--line); }
.eyebrow { display:flex; align-items:center; gap:10px; font:10px/1.5 var(--mono); letter-spacing:.07em; color:var(--muted); }
.eyebrow i { display:block; width:20px; height:2px; background:var(--orange); }
h1 { font:500 clamp(38px,5.2vw,68px)/1.06 var(--sans); letter-spacing:-.055em; margin:25px 0; }
h1 em { font-style:normal; color:#334c22; }
.intro>p:not(.eyebrow) { max-width:640px; color:var(--muted); font-size:16px; line-height:1.65; }
.system { display:inline-flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 25px; margin-top:18px; padding:14px 17px; border:1px solid #aeb69f; background:#e8eadd; font:9px/1.6 var(--mono); }
.system b { color:#78401d; font-weight:500; }
.system.live { background:var(--acid); }
.system.live b { color:#263b12; }
.auth-grid { display:grid; grid-template-columns:1fr 1fr; gap:75px; padding:55px 0; align-items:start; }
.auth-grid h2,.console-head h2 { font:500 clamp(32px,3.5vw,46px)/1.1 var(--sans); letter-spacing:-.045em; margin:22px 0; }
.auth-grid>div>p:last-child { max-width:420px; color:var(--muted); font-size:14px; line-height:1.65; }
.auth-card,.panel,.records { padding:30px; border:1px solid var(--line); background:var(--panel); }
.auth-card { border-top:3px solid var(--orange); }
.tabs { display:grid; grid-template-columns:1fr 1fr; border:1px solid #a9b19f; margin-bottom:26px; }
.tabs button { padding:14px; border:0; background:transparent; color:var(--text); font-size:13px; }
.tabs .active { background:var(--acid); }
form { display:grid; gap:18px; }
label { display:grid; gap:8px; font-size:12px; color:#465341; }
label small { font-size:10px; color:var(--muted); }
input,select,textarea { width:100%; min-width:0; border:1px solid #aab3a1; border-radius:0; background:white; color:var(--text); padding:14px; font-size:15px; }
.primary { display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border:1px solid #a2b659; background:var(--acid); color:var(--text); font-size:13px; font-weight:500; }
.primary:disabled { opacity:.4; cursor:not-allowed; }
.status { min-height:18px; font-size:12px; line-height:1.6; color:#815122; }
.status.error { color:#a82e14; }
.console-head { display:flex; justify-content:space-between; align-items:flex-end; gap:25px; padding:45px 0 30px; }
.balance { display:grid; gap:8px; padding:23px; background:var(--acid); border:1px solid #a9bb63; min-width:225px; }
.balance small,.balance span { font:9px var(--mono); color:#45572e; }
.balance b { font-size:32px; font-weight:500; letter-spacing:-.04em; }
.gates { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); margin-bottom:28px; }
.gate { padding:16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.gate span,.gate b { display:block; font:9px/1.5 var(--mono); }
.gate span { color:var(--muted); }
.gate b { margin-top:8px; color:#93431c; font-weight:500; }
.gate.ok b { color:#435d24; }
.console-grid { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.panel-head { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-bottom:18px; margin-bottom:22px; border-bottom:1px solid var(--line); font:10px var(--mono); }
.panel-head span { color:#9c4824; }
.panel-head b { font-weight:500; }
.panel p { font-size:13px; line-height:1.65; color:var(--muted); }
.quote { display:flex; justify-content:space-between; gap:15px; padding:15px; background:#e7ebd6; border-left:2px solid var(--orange); }
.quote small { font:10px var(--mono); }
.quote b { font:500 15px var(--mono); }
.check { grid-template-columns:18px 1fr; align-items:start; line-height:1.6; }
.check input { width:17px; height:17px; padding:0; margin:0; accent-color:#59762a; }
.records { margin-top:26px; }
.console-grid>.deploy { grid-column:1; grid-row:1; }
.console-grid>.fund { grid-column:2; grid-row:1; }
.runtime-note { padding:16px 20px; margin:0 0 26px; background:#e8eadd; font-size:13px; line-height:1.65; border-left:3px solid var(--orange); }
.runtime-details:empty { display:none; }
.setup-alt { text-decoration:underline; text-underline-offset:4px; }
#runtime-catalog a { display:block; margin:10px 0; font:12px/1.6 var(--mono); text-decoration:underline; text-underline-offset:4px; }
@media(max-width:760px) { .console-grid>.deploy,.console-grid>.fund { grid-column:auto; grid-row:auto; } .console-grid>.deploy { order:-1; } }
.records-head { display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid var(--line); padding-bottom:18px; }
.records-head span { font:9px var(--mono); color:#93552c; }
.records-head h3 { margin:8px 0 0; font-size:24px; font-weight:500; letter-spacing:-.035em; }
.empty { padding:25px 0; color:var(--muted); font-size:12px; }
.row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; padding:20px 0; border-bottom:1px solid var(--line); }
.row:last-child { border:0; }
.row b { display:block; font-size:14px; font-weight:500; }
.row small { display:block; font:9px/1.7 var(--mono); color:var(--muted); margin-top:7px; overflow-wrap:anywhere; }
.row .amount { font:12px var(--mono); text-align:right; }
.row-actions { display:flex; gap:8px; margin-top:14px; }
.row-actions button { padding:9px 11px; border:1px solid #aab39e; background:transparent; font-size:11px; }
dialog { width:min(620px,calc(100% - 30px)); padding:0; border:1px solid #8e9d80; background:var(--panel); color:var(--text); }
dialog::backdrop { background:#07090ab8; backdrop-filter:blur(5px); }
dialog form { position:relative; padding:32px; }
dialog span { font:10px var(--mono); color:#5f6c50; }
dialog h2 { font-size:32px; font-weight:500; letter-spacing:-.04em; margin:12px 0 0; }
dialog p { font-size:13px; color:var(--muted); }
.close { position:absolute; top:10px; right:15px; border:0; background:none; color:var(--text); font-size:26px; }
footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-top:45px; padding:28px clamp(20px,4vw,68px); background:#07090a; color:#bdc6bc; font:9px var(--mono); }
footer a { color:var(--acid); }
@media(max-width:760px) { header { padding:20px; min-height:82px; } nav { gap:15px; font-size:11px; } nav>a:first-child { display:none; } main { width:calc(100% - 40px); } .intro { padding-top:32px; } .auth-grid,.console-grid { grid-template-columns:1fr; gap:25px; } .auth-grid { padding:35px 0; } .console-head { display:block; } .balance { margin-top:25px; } .records-grid .records { margin-top:0; } }
@media(max-width:400px) { .brand span { font-size:15px; } .brand svg { width:25px; } .brand small { font-size:6px; } nav { gap:10px; } .auth-card,.panel,.records { padding:22px; } .system { font-size:8px; } .gate { padding:12px 10px; } .gate span,.gate b { font-size:8px; } }
