:root{color-scheme:dark;--bg: #050505;--bg-elevated: #0c0c0d;--panel: rgba(17, 17, 18, .88);--panel-strong: rgba(10, 10, 11, .96);--panel-soft: rgba(255, 255, 255, .03);--line: rgba(255, 255, 255, .08);--line-strong: rgba(255, 255, 255, .14);--fg: #f2f2ee;--muted: #a0a09a;--muted-strong: #c8c8c1;--accent: #8ca0ff;--accent-soft: rgba(140, 160, 255, .16);--good: #a1e7c1;--warn: #f0d58d;--danger: #f4a3a3;--shadow: 0 38px 120px rgba(0, 0, 0, .4);--radius-xl: 36px;--radius-lg: 28px;--radius-md: 20px;--radius-sm: 14px}*{box-sizing:border-box}html,body{min-height:100%}body{margin:0;color:var(--fg);font-family:SF Pro Display,SF Pro Text,Instrument Sans,Helvetica Neue,sans-serif;background:var(--bg)}body:before{content:"";position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff08;opacity:.7}body:after{content:"";position:fixed;top:64px;right:6vw;width:240px;height:240px;border-radius:999px;background:#5ea4ff14;filter:blur(72px);pointer-events:none}a{color:inherit}button,input,select{font:inherit}svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.relay-placeholder{min-height:100vh;display:grid;place-items:center;padding:24px}.relay-placeholder-card,.auth-card,.panel,.stat-card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px)}.relay-placeholder-card{width:min(640px,100%);padding:32px;border-radius:var(--radius-xl)}.relay-placeholder-kicker,.eyebrow,.hero-kicker{margin:0;color:var(--muted);font-size:.78rem;letter-spacing:.18em;text-transform:uppercase}.relay-placeholder-card h1,.auth-card h2,.hero-copy h1,.brand-copy h1{margin:0;letter-spacing:-.06em}.relay-placeholder-card h1{font-size:clamp(2.7rem,6vw,4.4rem);line-height:.92}.relay-placeholder-card p:last-child{margin:18px 0 0;color:var(--muted);line-height:1.7}.auth-screen,.dashboard-screen{min-height:100vh;padding:24px}.auth-shell{min-height:calc(100vh - 48px);height:calc(100vh - 48px);display:grid;gap:24px;grid-template-columns:minmax(0,1.15fr) minmax(360px,460px)}.auth-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(28px,3vw,40px);border-radius:32px;border:1px solid var(--line);background:#0a0b0ef0;box-shadow:var(--shadow)}.hero-badge,.status-chip{display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border-radius:999px;border:1px solid var(--line-strong);background:#ffffff0a;color:var(--muted-strong);font-size:.85rem}.hero-badge-dot,.status-chip-dot,.auth-card-dot{width:8px;height:8px;border-radius:999px;background:var(--accent);box-shadow:0 0 24px #8ca0ff73}.hero-copy{max-width:760px;margin-top:24px}.hero-copy h1{max-width:9ch;font-size:clamp(3.6rem,6vw,5.5rem);line-height:.9}.hero-body{max-width:620px;margin:18px 0 0;color:var(--muted-strong);font-size:1rem;line-height:1.65}.auth-rail{display:grid;gap:12px;margin-top:24px;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}.auth-rail-card,.machine-card,.job-card,.empty-card{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:16px;border-radius:var(--radius-md);border:1px solid var(--line);background:#ffffff06}.auth-rail-card h2,.panel h2,.empty-card h3,.machine-card h3,.job-card h3{margin:0;font-size:1rem;font-weight:600}.auth-rail-card p,.empty-card p,.machine-card p,.job-card p,.terminal-caption{margin:6px 0 0;color:var(--muted);line-height:1.45}.icon-orb,.stat-icon,.brand-mark{display:grid;place-items:center;color:var(--accent);background:#5ea4ff14;border:1px solid rgba(94,164,255,.18);border-radius:22px}.icon-orb{width:46px;height:46px}.auth-card{display:flex;flex-direction:column;justify-content:center;gap:18px;padding:24px;border-radius:32px}.auth-card-topline,.auth-footer{margin-top:auto;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.88rem}.auth-card-copy p,.panel-caption,.form-hint,.notice-banner,.signal-row span{color:var(--muted)}.auth-card h2{font-size:clamp(2rem,4vw,3rem);line-height:.98}.field{display:grid;gap:8px}.field span,.service-grid legend{color:var(--muted-strong);font-size:.88rem}.field input,.field select{width:100%;min-width:0;padding:14px 16px;color:var(--fg);background:#ffffff09;border:1px solid var(--line-strong);border-radius:18px;outline:none;transition:border-color .14s ease,background .14s ease,transform .14s ease}.field input:focus,.field select:focus{border-color:#8ca0ff75;background:#ffffff0f;transform:translateY(-1px)}.inline-error{margin:0;color:var(--danger);font-size:.92rem}.primary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:18px;cursor:pointer;transition:transform .14s ease,background .14s ease,opacity .14s ease}.primary-button{width:100%;padding:16px 20px;color:#f7fbff;font-weight:700;background:var(--accent)}.primary-button svg{width:18px;height:18px}.ghost-button{padding:11px 14px;color:var(--fg);background:#ffffff0b;border:1px solid var(--line)}.ghost-button.danger{color:var(--danger)}.primary-button:hover,.ghost-button:hover{transform:translateY(-1px)}.primary-button:disabled,.ghost-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-block,.header-strip,.panel-header,.card-topline,.job-actions,.signal-row{display:flex;align-items:center}.brand-block{gap:14px}.brand-mark{width:54px;height:54px}.brand-copy h1{font-size:clamp(2.2rem,5vw,3.7rem);line-height:.92}.header-strip{gap:12px;flex-wrap:wrap;justify-content:flex-end}.summary-strip{display:grid;gap:16px;margin-top:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{position:relative;overflow:hidden;padding:20px;border-radius:var(--radius-lg)}.stat-card p,.stat-card span{margin:0;color:var(--muted)}.stat-card strong{display:block;margin-top:10px;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.06em}.stat-card span{display:block;margin-top:10px;line-height:1.55}.stat-icon{width:40px;height:40px;margin-bottom:18px}.dashboard-grid{display:grid;gap:18px;margin-top:18px;grid-template-columns:minmax(280px,.82fr) minmax(0,1.3fr) minmax(360px,.96fr)}.panel{border-radius:var(--radius-xl);padding:20px}.panel-header{justify-content:space-between;gap:16px;margin-bottom:18px}.machine-list,.job-grid,.signal-list{display:grid;gap:14px}.main-column,.terminal-column{display:grid;gap:18px}.create-panel{padding-bottom:24px}.project-form,.service-grid{display:grid;gap:18px}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.service-grid{margin:0;padding:0;border:0;grid-template-columns:repeat(5,minmax(0,1fr))}.service-toggle{display:inline-flex;align-items:center;gap:10px;padding:14px 16px;border-radius:18px;border:1px solid var(--line);background:#ffffff08}.service-toggle input{accent-color:var(--accent)}.form-actions{display:flex;align-items:center;gap:18px}.form-actions .primary-button{width:auto}.form-hint{margin:0;max-width:34ch;line-height:1.55}.job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.machine-card,.job-card,.empty-card{grid-template-columns:1fr}.card-topline{justify-content:space-between;align-items:flex-start;gap:14px}.status-pill,.badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:#ffffff08;font-size:.82rem;color:var(--muted-strong)}.status-pill.ok{color:var(--good);border-color:#a1e7c138;background:#a1e7c114}.status-pill.warn{color:var(--warn);border-color:#f0d58d38;background:#f0d58d14}.status-pill.danger{color:var(--danger);border-color:#f4a3a338;background:#f4a3a314}.badge-row{display:flex;flex-wrap:wrap;gap:8px}.badge.accent{color:var(--accent);border-color:#8ca0ff33;background:#8ca0ff14}.badge.muted{color:var(--muted)}.job-actions{gap:10px;flex-wrap:wrap;margin-top:18px}.signal-row{justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.signal-row strong{font-size:.92rem}.notice-banner{margin-top:18px;padding:14px 16px;border-radius:var(--radius-md);border:1px solid var(--line);background:#ffffff08;line-height:1.5}.notice-banner.danger{color:var(--danger);border-color:#f4a3a333;background:#f4a3a314}.terminal-panel{min-height:520px}.terminal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.terminal-header h2{margin:6px 0 0}.terminal-caption{max-width:28ch}.terminal-stage{min-height:430px;border-radius:24px;border:1px solid rgba(255,255,255,.08);overflow:hidden;background:#07090d}.terminal-stage .xterm{padding:16px}.xterm-viewport{border-radius:16px}@media(max-width:1200px){.dashboard-grid{grid-template-columns:minmax(260px,.9fr) minmax(0,1.2fr)}.terminal-column{grid-column:1 / -1}.job-grid{grid-template-columns:1fr}}@media(max-width:980px){.auth-shell,.dashboard-grid,.summary-strip{grid-template-columns:1fr}.auth-shell{height:auto}.service-grid,.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-header{flex-direction:column;align-items:stretch}.header-strip{justify-content:flex-start}}@media(max-width:980px),(max-height:820px){.auth-shell{min-height:calc(100vh - 32px);display:flex;align-items:center;justify-content:center}.auth-hero{display:none}.auth-card{width:min(520px,100%);min-height:calc(100vh - 32px);justify-content:center}}@media(max-width:680px){.auth-screen,.dashboard-screen{padding:16px}.hero-copy h1{font-size:clamp(3rem,16vw,4.4rem)}.service-grid,.form-grid.two,.summary-strip,.auth-rail{grid-template-columns:1fr}.auth-card{min-height:calc(100vh - 24px)}.auth-card,.panel,.auth-hero{padding:20px}.form-actions{flex-direction:column;align-items:stretch}.form-actions .primary-button{width:100%}.terminal-header{flex-direction:column}}
