:root { --bg: #06101f; --text: #f3f7ff; --muted: #b5c4df; --soft: #7f91b3; --accent: #58c8ff; --accent-2: #87f0c6; --line: rgba(255,255,255,0.1); }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: linear-gradient(180deg, #06101f 0%, #09172b 58%, #050b15 100%); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
.topbar { position: sticky; top: 0; z-index: 5; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(18px, calc((100vw - 1120px) / 2)); background: rgba(6,16,31,0.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 850; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: #06101f; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 950; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 54px; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)); box-shadow: 0 24px 80px rgba(0,0,0,0.28); }
.hero-panel { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: stretch; padding: 28px; }
.eyebrow { margin: 0 0 10px; color: var(--accent-2); font-size: 12px; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -0.04em; line-height: 1; }
h1 { font-size: clamp(36px, 6vw, 70px); max-width: 780px; }
h2 { font-size: clamp(26px, 4vw, 42px); }
.lead { margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); max-width: 780px; }
.status-card { display: grid; gap: 12px; align-content: center; padding: 20px; border-radius: 8px; background: rgba(0,0,0,0.18); border: 1px solid var(--line); }
.status-card strong { color: var(--accent-2); font-size: 20px; }
.status-card span, .small { color: var(--muted); }
button { min-height: 44px; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; color: #04101f; background: linear-gradient(135deg, var(--accent), #7aa8ff); font-weight: 850; }
button:disabled { cursor: not-allowed; opacity: 0.58; }
.ghost { color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.workspace { margin-top: 22px; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.tab { color: var(--muted); background: rgba(255,255,255,0.045); border: 1px solid var(--line); }
.tab.active { color: #04101f; background: var(--accent-2); }
.view { display: none; padding: 24px; }
.view.active { display: block; }
.view-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.message-form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-weight: 750; font-size: 14px; }
select, textarea { width: 100%; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; background: rgba(2,8,18,0.56); color: var(--text); padding: 12px 13px; outline: none; }
textarea { min-height: 106px; resize: vertical; }
.thread { display: grid; gap: 12px; margin-bottom: 18px; }
.message { padding: 14px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.035); }
.message strong { display: block; color: var(--accent-2); margin-bottom: 4px; }
.message p { margin: 0; color: var(--muted); }
.install-sheet { position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center; padding: 18px; background: rgba(2,8,18,0.68); }
.install-sheet[hidden] { display: none; }
.install-card { position: relative; width: min(520px, 100%); padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #08162a; box-shadow: 0 24px 80px rgba(0,0,0,0.44); }
.install-card h2 { font-size: 30px; letter-spacing: 0; line-height: 1.05; }
.install-card p { color: var(--muted); margin: 12px 0; }
.install-card ol { margin: 0 0 18px; padding-left: 22px; color: var(--muted); }
.install-card li { margin: 8px 0; }
.sheet-close { position: absolute; top: 12px; right: 12px; width: 38px; min-height: 38px; padding: 0; color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
@media (max-width: 780px) { .topbar { min-height: 58px; } .brand span:last-child { display: none; } .hero-panel, .row { grid-template-columns: 1fr; } .view-head { flex-direction: column; } }
