:root {
  --bg: #071013;
  --bg-soft: #0b181c;
  --panel: rgba(14, 29, 34, .82);
  --panel-strong: #102328;
  --line: rgba(201, 226, 218, .095);
  --line-strong: rgba(159, 228, 198, .2);
  --ink: #e9f1ed;
  --muted: #8c9c9b;
  --faint: #596b6c;
  --mint: #93e2c1;
  --mint-strong: #58c99d;
  --gold: #d9bd7b;
  --blue: #91bfdc;
  --danger: #f09b91;
  --radius: 22px;
  --serif: Georgia, "Songti SC", "STSong", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(68, 160, 126, .08), transparent 26%),
    radial-gradient(circle at 87% 92%, rgba(183, 147, 73, .055), transparent 28%),
    var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.hidden { display: none !important; }
.ambient { position: fixed; pointer-events: none; z-index: -1; filter: blur(1px); opacity: .7; }
.ambient-a { width: 380px; height: 380px; border: 1px solid rgba(147,226,193,.04); border-radius: 50%; left: -220px; top: 34%; }
.ambient-b { width: 520px; height: 520px; border: 1px solid rgba(217,189,123,.035); border-radius: 50%; right: -360px; top: -170px; }

.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font: 600 16px var(--serif); letter-spacing: .2px; }
.brand small { color: var(--gold); font-size: 7px; font-weight: 750; letter-spacing: 3px; }
.brand-orbit { width: 38px; height: 38px; position: relative; display: grid; place-items: center; }
.brand-orbit:before, .brand-orbit:after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(147,226,193,.25); border-radius: 50% 45% 52% 48%; transform: rotate(28deg); }
.brand-orbit:after { inset: 8px 1px; border-color: rgba(217,189,123,.24); transform: rotate(-30deg); }
.brand-orbit i { width: 5px; height: 5px; border-radius: 50%; position: absolute; top: 1px; right: 6px; background: var(--mint); box-shadow: 0 0 12px rgba(147,226,193,.75); }
.brand-orbit b { font: 600 13px var(--serif); color: var(--mint); }
.eyebrow { margin: 0 0 11px; color: var(--gold); font-size: 8px; font-weight: 750; letter-spacing: 2.1px; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr minmax(440px, .9fr); }
.auth-story { position: relative; padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--line); }
.auth-story:before { content: ""; position: absolute; width: 530px; height: 530px; left: 50%; top: 51%; transform: translate(-50%,-50%); border: 1px solid rgba(147,226,193,.055); border-radius: 51% 49% 48% 52%; box-shadow: 0 0 0 72px rgba(147,226,193,.014), 0 0 0 144px rgba(147,226,193,.009); pointer-events: none; }
.auth-story:after { content: "LOS ANGELES · 34.0522° N · 118.2437° W"; position: absolute; writing-mode: vertical-rl; right: 27px; top: 50%; transform: translateY(-50%); color: #2f4243; font-size: 7px; letter-spacing: 2px; }
.story-copy { margin: auto 0; position: relative; max-width: 620px; z-index: 1; }
.story-copy h1, .page-intro h1, .hero h1 {
  margin: 0;
  font: 500 clamp(48px, 7vw, 88px)/.97 var(--serif);
  letter-spacing: -2.6px;
}
.story-copy h1 em, .page-intro h1 em, .hero h1 em { color: var(--mint); font-weight: 400; }
.story-copy > p:last-child { max-width: 470px; margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.trust-row { display: flex; gap: clamp(18px, 3.2vw, 52px); position: relative; z-index: 1; }
.trust-row span { display: flex; align-items: center; gap: 9px; color: #647677; font-size: 9px; white-space: nowrap; }
.trust-row i { color: var(--gold); font: 500 11px var(--serif); }

.auth-panel { min-height: 100vh; padding: clamp(28px, 5.8vw, 82px); display: flex; flex-direction: column; justify-content: center; background: rgba(5,13,16,.45); }
.mobile-brand { display: none; }
.auth-tabs { width: min(430px,100%); display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 0 auto 46px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.auth-tabs button { border: 0; height: 38px; border-radius: 9px; cursor: pointer; color: var(--faint); background: transparent; font-size: 10px; }
.auth-tabs button.active { color: var(--ink); background: #12262a; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.auth-form { width: min(430px,100%); margin: 0 auto; }
.auth-form h2 { margin: 0; font: 500 34px var(--serif); letter-spacing: -.4px; }
.auth-form > p:not(.eyebrow) { margin: 12px 0 28px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.auth-form label, .modal-form label { display: grid; gap: 8px; margin-top: 15px; color: #9aa9a8; font-size: 9px; font-weight: 600; letter-spacing: .15px; }
.auth-form input, .modal-form input, .modal-form select, .account-security input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); background: rgba(4,13,16,.76); outline: 0; transition: .2s ease;
}
.auth-form input:focus, .modal-form input:focus, .modal-form select:focus, .account-security input:focus { border-color: rgba(147,226,193,.38); box-shadow: 0 0 0 4px rgba(147,226,193,.045); }
.auth-form input::placeholder, .account-security input::placeholder { color: #405153; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.legal-check { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: start; gap: 10px !important; cursor: pointer; line-height: 1.55; }
.legal-check input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--mint-strong); }
.auth-foot { width: min(430px,100%); margin: 38px auto 0; color: #394b4d; text-align: center; font-size: 8px; letter-spacing: .6px; }
.form-error { min-height: 18px; margin-top: 11px; color: var(--danger); font-size: 9px; line-height: 1.5; }

.button { min-height: 43px; border: 0; border-radius: 12px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; font-size: 10px; font-weight: 700; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button.primary { color: #071713; background: var(--mint); box-shadow: 0 12px 35px rgba(88,201,157,.13); }
.button.primary:hover { box-shadow: 0 16px 38px rgba(88,201,157,.23); }
.button.ghost { color: #b5c3c0; border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); }
.button.text { color: var(--mint); background: transparent; padding: 0; min-height: 30px; }
.button.danger-ghost { color: var(--danger); border: 1px solid rgba(240,155,145,.2); background: rgba(240,155,145,.04); }
.button.full { width: 100%; margin-top: 22px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 29px 20px 21px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(7,16,19,.9); backdrop-filter: blur(18px); }
.sidebar .brand { margin: 0 7px 46px; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { height: 44px; padding: 0 13px; border-radius: 12px; color: #708182; text-decoration: none; display: flex; align-items: center; gap: 13px; font-size: 10px; font-weight: 650; transition: .2s; }
.sidebar nav a span { width: 22px; font-size: 16px; text-align: center; font-weight: 400; }
.sidebar nav a b { font-weight: 650; }
.sidebar nav a:hover { color: #aebdba; background: rgba(255,255,255,.025); }
.sidebar nav a.active { color: var(--mint); background: rgba(147,226,193,.08); box-shadow: inset 2px 0 var(--mint-strong); }
.sidebar-note { margin-top: auto; min-height: 66px; padding: 13px; border: 1px solid rgba(147,226,193,.1); border-radius: 15px; display: flex; align-items: center; gap: 10px; background: rgba(147,226,193,.035); }
.sidebar-note .shield { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(147,226,193,.17); border-radius: 10px; color: var(--mint); font-size: 10px; }
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { font-size: 9px; }
.sidebar-note small { color: var(--faint); margin-top: 4px; font-size: 7px; }
.account-chip { min-height: 58px; margin-top: 12px; padding: 12px 7px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr 25px; align-items: center; gap: 9px; }
.avatar { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; color: var(--mint); background: #17352f; font-size: 9px; font-weight: 750; }
.account-chip strong, .account-chip small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-chip strong { font-size: 9px; }
.account-chip small { margin-top: 3px; color: var(--faint); font-size: 7px; }
.account-chip button { width: 25px; height: 25px; border: 0; border-radius: 8px; color: var(--faint); background: transparent; cursor: pointer; }
.account-chip button:hover { color: var(--danger); background: rgba(240,155,145,.06); }
.mobile-nav, .sidebar-backdrop { display: none; }

.workspace { min-width: 0; padding: 0 clamp(25px,4.5vw,68px) 24px; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--faint); font-size: 9px; }
.breadcrumb i { color: #334748; font-style: normal; }
.breadcrumb strong { color: #91a19f; font-weight: 550; }
.status-pill { height: 30px; padding: 0 12px; border: 1px solid rgba(147,226,193,.12); border-radius: 99px; display: flex; align-items: center; gap: 8px; color: #7f9390; background: rgba(147,226,193,.025); font-size: 8px; }
.status-pill i, .metric-label > i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 0 4px rgba(88,201,157,.07), 0 0 12px rgba(88,201,157,.5); }
.menu-button { display: none; border: 0; color: var(--muted); background: transparent; font-size: 18px; }

.page { display: none; animation: pageIn .3s ease both; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.hero { min-height: 252px; padding: 48px 0 36px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.hero h1 { font-size: clamp(42px,5vw,65px); letter-spacing: -1.5px; }
.hero > div > p:last-child, .page-intro > div > p:last-child { max-width: 620px; color: var(--muted); font-size: 11px; line-height: 1.75; margin: 17px 0 0; }
.page-intro { min-height: 245px; padding: 50px 0 38px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.page-intro h1 { font-size: clamp(42px,5vw,64px); letter-spacing: -1.4px; }

.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.metric { min-height: 142px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(18,36,41,.9), rgba(9,23,27,.93)); position: relative; overflow: hidden; }
.metric:after { content: ""; position: absolute; width: 86px; height: 86px; border: 1px solid rgba(255,255,255,.025); border-radius: 50%; right: -34px; bottom: -42px; }
.metric.live { border-color: rgba(147,226,193,.16); background: linear-gradient(145deg, rgba(24,54,47,.67), rgba(9,25,28,.94)); }
.metric-label { display: flex; align-items: center; justify-content: space-between; color: #758687; font-size: 9px; }
.metric-label > b { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--gold); font-weight: 400; }
.metric > strong { display: block; margin: 19px 0 9px; font: 500 29px var(--serif); }
.metric > p { margin: 0; color: var(--faint); font-size: 8px; }

.split-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.8fr); gap: 14px; margin-top: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(12px); }
.panel-head { min-height: 78px; padding: 20px 23px 13px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel-head h2 { margin: 0; font: 500 19px var(--serif); }
.legend { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 7px; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 6px; height: 6px; border-radius: 50%; }
.legend i.down { background: var(--mint); }
.legend i.up { background: var(--gold); }
.traffic-chart { height: 202px; padding: 10px 24px 23px; display: grid; grid-template-columns: repeat(7,1fr); align-items: end; gap: clamp(11px,2.8vw,28px); background: repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255,255,255,.03) 44px); background-clip: content-box; }
.chart-column { height: 165px; display: grid; grid-template-rows: 1fr 18px; gap: 8px; align-items: end; text-align: center; color: var(--faint); font-size: 7px; }
.chart-bars { height: 130px; display: flex; align-items: end; justify-content: center; gap: 4px; }
.chart-bars i { width: clamp(7px,1vw,12px); min-height: 3px; border-radius: 4px 4px 1px 1px; }
.chart-bars .down { background: linear-gradient(180deg,var(--mint),rgba(67,137,111,.38)); }
.chart-bars .up { background: linear-gradient(180deg,var(--gold),rgba(123,102,58,.34)); }
.quick-list { padding: 0 12px 13px; display: grid; }
.quick-list button { min-height: 60px; padding: 9px 11px; border: 0; border-top: 1px solid rgba(255,255,255,.045); color: var(--ink); background: transparent; display: grid; grid-template-columns: 27px 1fr 20px; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.quick-list button:hover { background: rgba(255,255,255,.018); border-radius: 12px; }
.quick-list i { color: var(--gold); font: 500 10px var(--serif); }
.quick-list strong, .quick-list small { display: block; }
.quick-list strong { font-size: 9px; }
.quick-list small { margin-top: 4px; color: var(--faint); font-size: 7px; }
.quick-list b { color: var(--mint); font-weight: 400; }

.platform-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.platform-card { min-height: 245px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(17,35,40,.9),rgba(9,23,27,.85)); display: grid; grid-template-columns: 58px 1fr; gap: 19px; position: relative; overflow: hidden; }
.platform-card:after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.025); border-radius: 50%; right: -76px; bottom: -90px; }
.platform-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--mint); background: rgba(147,226,193,.08); font: 500 22px var(--serif); }
.platform-icon.ios { color: var(--gold); background: rgba(217,189,123,.08); }
.platform-icon.android { color: var(--blue); background: rgba(145,191,220,.08); }
.platform-icon.windows { color: #c1b3e4; background: rgba(178,154,226,.08); }
.platform-copy h2 { margin: 0; font: 500 24px var(--serif); }
.platform-copy > p:last-child { color: var(--muted); font-size: 9px; line-height: 1.7; margin: 12px 0 0; }
.platform-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 15px; margin-top: 8px; }
.security-callout { margin-top: 14px; padding: 18px 21px; border: 1px solid rgba(217,189,123,.13); border-radius: 17px; display: flex; align-items: center; gap: 13px; background: rgba(217,189,123,.035); }
.security-callout > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 11px; color: var(--gold); background: rgba(217,189,123,.09); font: 600 14px var(--serif); }
.security-callout strong, .security-callout p { display: block; margin: 0; }
.security-callout strong { font-size: 9px; }
.security-callout p { color: var(--muted); margin-top: 4px; font-size: 8px; }

.lobster-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.9fr); gap: 14px; }
.model-panel, .qr-panel { min-height: 435px; }
.safe-badge { padding: 6px 9px; border: 1px solid rgba(147,226,193,.12); border-radius: 99px; color: var(--mint); background: rgba(147,226,193,.04); font-size: 7px; }
.model-list { padding: 0 14px; display: grid; gap: 9px; }
.model-option { width: 100%; min-height: 84px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: rgba(255,255,255,.016); display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.model-option.selected { border-color: rgba(147,226,193,.29); background: rgba(147,226,193,.055); }
.model-option.disabled { opacity: .48; cursor: not-allowed; }
.model-radio { width: 17px; height: 17px; padding: 4px; border: 1px solid #526566; border-radius: 50%; }
.model-option.selected .model-radio { border-color: var(--mint); }
.model-option.selected .model-radio i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.model-option strong, .model-option small, .model-option em { display: block; }
.model-option strong { font: 500 15px var(--serif); }
.model-option small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.model-option em { margin-top: 6px; color: var(--danger); font-size: 7px; font-style: normal; line-height: 1.45; }
.model-badge { padding: 5px 7px; border-radius: 7px; color: var(--gold); background: rgba(217,189,123,.08); font-size: 6px; letter-spacing: 1px; }
.restrictions { margin: 16px 19px 20px; padding: 14px; border: 1px dashed rgba(147,226,193,.12); border-radius: 13px; }
.restrictions strong { font-size: 8px; }
.restrictions p { margin: 6px 0 0; color: var(--faint); font-size: 8px; line-height: 1.65; }
.qr-panel { padding: 35px; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 35%,rgba(88,201,157,.07),transparent 37%),var(--panel); }
.qr-panel h2 { margin: 8px 0 0; font: 500 27px var(--serif); }
.qr-panel p:not(.eyebrow) { max-width: 340px; margin: 13px auto 22px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.lobster-mark { width: 88px; height: 88px; margin: 0 auto 24px; border: 1px solid rgba(147,226,193,.22); border-radius: 31px; display: grid; place-items: center; color: var(--mint); background: rgba(147,226,193,.04); position: relative; font-size: 35px; transform: rotate(-3deg); }
.lobster-mark i { width: 8px; height: 8px; position: absolute; right: 13px; top: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px rgba(217,189,123,.5); }
.qr-frame { width: 225px; height: 225px; margin: 0 auto 20px; padding: 12px; border: 1px solid rgba(147,226,193,.25); border-radius: 22px; background: #f7fbf8; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.qr-frame img { width: 100%; height: 100%; display: block; object-fit: contain; }
.qr-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.qr-actions .button { min-width: 118px; }
.qr-save-hint { display: block; max-width: 320px; margin: 12px auto 0; color: var(--faint); font-size: 7px; line-height: 1.6; }
.success-ring { width: 84px; height: 84px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid rgba(147,226,193,.28); border-radius: 50%; color: var(--mint); background: rgba(147,226,193,.06); font: 500 28px var(--serif); box-shadow: 0 0 0 10px rgba(147,226,193,.025); }

.privacy-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 14px; }
.privacy-choice, .account-security { min-height: 310px; }
.privacy-choice > p { margin: 0 23px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.switch { cursor: pointer; }
.switch input { display: none; }
.switch span { width: 39px; height: 22px; padding: 4px; display: block; border-radius: 22px; background: #283a3d; transition: .2s; }
.switch i { width: 14px; height: 14px; display: block; border-radius: 50%; background: #7a898a; transition: .2s; }
.switch input:checked + span { background: rgba(88,201,157,.38); }
.switch input:checked + span i { transform: translateX(17px); background: var(--mint); }
.data-facts { margin: 20px 23px; display: grid; gap: 8px; }
.data-facts span { padding: 11px 12px; border-radius: 11px; font-size: 8px; }
.data-facts .yes { color: var(--mint); background: rgba(147,226,193,.045); }
.data-facts .no { color: #a1aeac; background: rgba(255,255,255,.024); }
.account-security form { padding: 0 22px 22px; display: grid; gap: 9px; }
.account-security .button { margin-top: 4px; }
.domain-panel { margin-top: 14px; min-height: 205px; }
.domain-panel .panel-head > span { color: var(--faint); font-size: 7px; }
.domain-list { padding: 0 15px 15px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.domain-row { min-width: 0; min-height: 47px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.04); border-radius: 12px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 9px; }
.domain-letter { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: var(--gold); background: rgba(217,189,123,.07); font: 500 10px var(--serif); }
.domain-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.domain-row > span:last-child { color: var(--faint); font-size: 7px; }

.admin-metrics { margin-bottom: 14px; }
.admin-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 14px; }
.admin-list { padding: 0 11px 12px; }
.admin-row { min-height: 62px; padding: 8px 11px; border-top: 1px solid rgba(255,255,255,.045); display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 10px; }
.admin-row.muted { opacity: .52; }
.admin-row strong, .admin-row small { display: block; }
.admin-row strong { font-size: 9px; }
.admin-row small { margin-top: 4px; color: var(--faint); font-size: 7px; }
.row-status { color: var(--faint); font-size: 7px; }
.row-status.online { color: var(--mint); }
.row-button { height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: #8d9c9b; background: transparent; cursor: pointer; font-size: 7px; }
.row-button.danger { color: var(--danger); border-color: rgba(240,155,145,.13); }
.tiny-badge { padding: 4px 7px; border-radius: 7px; color: var(--gold); background: rgba(217,189,123,.07); font-size: 6px; letter-spacing: 1px; }
.invite-symbol { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--gold); background: rgba(217,189,123,.08); }
.invite-row > span { color: var(--faint); font-size: 7px; }

.admin-analysis-metrics { margin-bottom: 14px; }
.metric.compact { min-height: 116px; }
.metric.compact > strong { margin: 14px 0 7px; font-size: 25px; }
.admin-insight-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(320px,.75fr); gap: 14px; margin-bottom: 14px; }
.admin-traffic-panel, .analysis-panel { min-height: 320px; }
.range-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.range-switch button { min-width: 47px; height: 27px; padding: 0 9px; border: 0; border-radius: 7px; color: var(--faint); background: transparent; cursor: pointer; font-size: 7px; }
.range-switch button.active { color: var(--ink); background: rgba(147,226,193,.1); box-shadow: inset 0 0 0 1px rgba(147,226,193,.1); }
.admin-chart-legend { min-height: 31px; padding: 0 23px; }
.admin-chart-legend b { margin-left: auto; color: #9eb0ad; font-size: 8px; font-weight: 600; }
.admin-chart-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(147,226,193,.16) transparent; }
.admin-traffic-chart {
  --day-count: 7;
  min-width: max(100%, calc(var(--day-count) * 26px));
  height: 205px;
  padding: 13px 22px 20px;
  display: grid;
  grid-template-columns: repeat(var(--day-count), minmax(15px,1fr));
  align-items: end;
  gap: clamp(4px,1vw,11px);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 42px, rgba(255,255,255,.03) 43px);
  background-clip: content-box;
}
.admin-chart-column { height: 164px; display: grid; grid-template-rows: 1fr 18px; gap: 8px; align-items: end; color: var(--faint); text-align: center; font-size: 6px; white-space: nowrap; }
.admin-chart-bars { height: 133px; display: flex; align-items: end; justify-content: center; gap: 3px; }
.admin-chart-bars i { width: clamp(4px,.65vw,9px); min-height: 2px; border-radius: 4px 4px 1px 1px; }
.admin-chart-bars .down { background: linear-gradient(180deg,var(--mint),rgba(67,137,111,.32)); }
.admin-chart-bars .up { background: linear-gradient(180deg,var(--gold),rgba(123,102,58,.28)); }
.analysis-panel .panel-head > span, .panel-note { color: var(--faint); font-size: 7px; }
.insight-list { padding: 0 15px 9px; display: grid; gap: 2px; }
.insight-row { min-height: 50px; padding: 9px 8px; border-top: 1px solid rgba(255,255,255,.04); display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 9px; }
.insight-row > span { color: var(--gold); font: 500 9px var(--serif); }
.insight-row p { margin: 0; color: #93a3a1; font-size: 8px; line-height: 1.6; }
.privacy-seal { margin: 4px 17px 17px; padding: 11px 12px; border: 1px solid rgba(147,226,193,.09); border-radius: 12px; display: flex; align-items: center; gap: 9px; background: rgba(147,226,193,.025); }
.privacy-seal span { color: var(--mint); font-size: 13px; }
.privacy-seal p { margin: 0; color: #647977; font-size: 7px; line-height: 1.55; }
.admin-usage-grid { margin-bottom: 14px; }
.usage-list, .claw-usage-list { padding: 0 11px 12px; }
.usage-row { min-height: 79px; padding: 10px 11px; border-top: 1px solid rgba(255,255,255,.045); display: grid; grid-template-columns: 26px 32px minmax(150px,1fr) auto; align-items: center; gap: 10px; }
.usage-row.muted { opacity: .5; }
.usage-rank { color: #3f5152; font: 500 9px var(--serif); }
.usage-person, .usage-amount { min-width: 0; }
.usage-person strong, .usage-person small, .usage-amount strong, .usage-amount small { display: block; }
.usage-person strong, .usage-amount strong { font-size: 9px; }
.usage-person small, .usage-amount small { margin-top: 5px; color: var(--faint); font-size: 7px; }
.usage-amount { text-align: right; }
.usage-meter { height: 3px; margin-top: 9px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.035); }
.usage-meter i { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--mint-strong),var(--gold)); box-shadow: 0 0 9px rgba(88,201,157,.25); }
.usage-warning { margin: 0 8px 8px; padding: 10px; border: 1px solid rgba(240,155,145,.12); border-radius: 10px; color: #bd817a; background: rgba(240,155,145,.035); font-size: 7px; }
.claw-usage-row { min-height: 70px; padding: 10px 11px; border-top: 1px solid rgba(255,255,255,.045); display: grid; grid-template-columns: 8px minmax(105px,1fr) 50px 50px 84px; align-items: center; gap: 9px; }
.claw-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3d4e50; }
.claw-usage-row.linked .claw-status-dot { background: var(--mint-strong); box-shadow: 0 0 10px rgba(88,201,157,.45); }
.claw-person strong, .claw-person small, .claw-stat strong, .claw-stat small, .claw-health strong, .claw-health small { display: block; }
.claw-person strong, .claw-stat strong, .claw-health strong { font-size: 8px; }
.claw-person small, .claw-stat small, .claw-health small { margin-top: 5px; color: var(--faint); font-size: 6px; }
.claw-stat { text-align: center; }
.claw-health { text-align: right; }
.admin-domain-panel { margin-bottom: 14px; }
.admin-domain-grid { padding: 0 15px 15px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.admin-domain-item { min-width: 0; min-height: 62px; padding: 10px; border: 1px solid rgba(255,255,255,.04); border-radius: 13px; display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 8px; }
.admin-domain-item > span { color: var(--gold); font: 500 8px var(--serif); }
.admin-domain-item strong, .admin-domain-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-domain-item strong { font-size: 8px; }
.admin-domain-item small { margin-top: 5px; color: var(--faint); font-size: 6px; }
.admin-domain-item > b { color: #839391; font-size: 7px; white-space: nowrap; }

footer { height: 58px; display: flex; align-items: end; justify-content: space-between; color: #334547; font-size: 7px; letter-spacing: .5px; }
.empty-state { grid-column: 1 / -1; min-height: 100px; padding: 22px; display: grid; place-items: center; color: var(--faint); text-align: center; font-size: 9px; line-height: 1.7; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; padding: 24px; display: grid; place-items: center; background: rgba(2,8,10,.78); backdrop-filter: blur(14px); }
.modal-card { width: min(460px,100%); max-height: calc(100vh - 48px); overflow: auto; padding: 31px; border: 1px solid rgba(147,226,193,.17); border-radius: 24px; background: linear-gradient(145deg,#12262b,#0a181c); box-shadow: 0 35px 100px rgba(0,0,0,.55); position: relative; }
.modal-card.wide { width: min(680px,100%); }
.modal-close { position: absolute; right: 14px; top: 14px; width: 31px; height: 31px; border: 0; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.035); cursor: pointer; font-size: 17px; }
.modal-card h2 { margin: 0; font: 500 29px var(--serif); }
.modal-copy { color: var(--muted); font-size: 10px; line-height: 1.7; }
.modal-form select { appearance: none; }
.tutorial-steps { margin: 24px 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tutorial-steps li { min-height: 55px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 11px; }
.tutorial-steps i { color: var(--gold); font: 500 10px var(--serif); }
.tutorial-steps span { color: #aab7b5; font-size: 9px; line-height: 1.55; }
.modal-note { margin: 16px 0; padding: 13px; border: 1px solid rgba(217,189,123,.12); border-radius: 12px; color: #9a9178; background: rgba(217,189,123,.04); font-size: 8px; line-height: 1.65; }
.code-block { width: 100%; min-height: 84px; margin: 20px 0 10px; padding: 15px; border: 1px solid rgba(147,226,193,.2); border-radius: 15px; color: var(--mint); background: #071316; cursor: pointer; font: 500 15px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace; word-break: break-word; }
.code-block small { display: block; color: var(--faint); font: 7px var(--sans); margin-top: 5px; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(380px,calc(100vw - 48px)); padding: 14px 16px; border: 1px solid rgba(147,226,193,.17); border-radius: 13px; color: #dce9e4; background: #17342f; box-shadow: 0 18px 55px rgba(0,0,0,.4); font-size: 9px; line-height: 1.55; }
.toast.error { color: #f6c2bb; border-color: rgba(240,155,145,.2); background: #3a2222; }

@media (max-width: 1100px) {
  .auth-shell { grid-template-columns: .9fr minmax(430px,1fr); }
  .trust-row { flex-direction: column; gap: 10px; }
  .app-shell { grid-template-columns: 80px minmax(0,1fr); }
  .sidebar { padding: 27px 13px 18px; }
  .sidebar .brand { justify-content: center; margin-inline: 0; }
  .sidebar .brand > span:last-child, .sidebar nav a b, .sidebar-note div, .account-chip > div:nth-child(2) { display: none; }
  .sidebar nav a { justify-content: center; padding: 0; }
  .sidebar-note { justify-content: center; padding: 9px; }
  .account-chip { grid-template-columns: 1fr; justify-items: center; }
  .account-chip button { display: none; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .split-grid, .lobster-layout, .privacy-grid, .admin-grid, .admin-insight-grid { grid-template-columns: 1fr; }
  .admin-domain-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .button { min-height: 48px; border-radius: 14px; font-size: 11px; }
  .auth-shell { display: block; }
  .auth-story { display: none; }
  .auth-panel { min-height: 100dvh; padding: max(26px,env(safe-area-inset-top)) 19px max(30px,env(safe-area-inset-bottom)); justify-content: start; }
  .mobile-brand { display: flex; align-items: center; gap: 12px; margin: 0 auto 28px; width: min(430px,100%); }
  .mobile-brand > span:last-child { display: grid; }
  .mobile-brand strong { font: 600 16px var(--serif); }
  .mobile-brand small { color: var(--gold); font-size: 7px; letter-spacing: 3px; }
  .auth-tabs { margin-bottom: 28px; }
  .auth-tabs button { height: 44px; font-size: 11px; }
  .auth-form h2 { font-size: 31px; }
  .auth-form > p:not(.eyebrow) { margin-bottom: 22px; }
  .auth-form label { margin-top: 13px; font-size: 10px; }
  .auth-form input, .modal-form input, .modal-form select, .account-security input { height: 52px; font-size: 16px; }
  .legal-check { padding: 5px 0; }
  .legal-check input { width: 18px; height: 18px; flex: 0 0 auto; }
  .auth-foot { margin-top: 26px; padding-bottom: 10px; }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 90; left: -280px; top: 0; width: min(270px,82vw); height: 100dvh; padding: max(29px,env(safe-area-inset-top)) 20px max(21px,env(safe-area-inset-bottom)); transition: left .25s ease; box-shadow: 25px 0 80px rgba(0,0,0,.55); }
  .sidebar.open { left: 0; }
  .sidebar .brand { justify-content: start; margin: 0 7px 46px; }
  .sidebar .brand > span:last-child, .sidebar nav a b, .sidebar-note div, .account-chip > div:nth-child(2) { display: grid; }
  .sidebar nav a { height: 50px; justify-content: start; padding: 0 13px; font-size: 11px; }
  .sidebar-note { justify-content: start; padding: 13px; }
  .account-chip { grid-template-columns: 32px 1fr 25px; justify-items: stretch; }
  .account-chip button { display: block; width: 42px; height: 42px; margin-left: -8px; }
  .sidebar-backdrop { display: block; position: fixed; z-index: 80; inset: 0; border: 0; background: rgba(1,8,10,.68); backdrop-filter: blur(4px); }
  .workspace { padding: 0 16px 8px; }
  .topbar { position: sticky; z-index: 60; top: 0; height: 64px; margin: 0 -16px; padding: 0 16px; border-bottom-color: rgba(201,226,218,.08); background: rgba(7,16,19,.83); backdrop-filter: blur(18px); }
  .menu-button { width: 44px; height: 44px; margin-left: -10px; display: grid; place-items: center; border-radius: 13px; font-size: 19px; }
  .menu-button:active { background: rgba(255,255,255,.045); }
  .breadcrumb span, .breadcrumb i { display: none; }
  .breadcrumb strong { color: #c3d0cc; font-size: 10px; }
  .status-pill { font-size: 0; padding: 0 10px; }
  .hero, .page-intro { min-height: 0; padding: 32px 0 23px; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero h1, .page-intro h1 { font-size: clamp(34px,10vw,42px); line-height: 1.02; letter-spacing: -.7px; }
  .hero > div > p:last-child, .page-intro > div > p:last-child { margin-top: 13px; font-size: 10px; line-height: 1.65; }
  .hero > .button, .page-intro > .button { width: 100%; }
  .metric-grid { display: flex; grid-template-columns: none; gap: 9px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .metric-grid::-webkit-scrollbar { display: none; }
  .metric { min-width: 148px; min-height: 122px; padding: 15px; flex: 0 0 43vw; scroll-snap-align: start; }
  .metric > strong { font-size: 23px; }
  .split-grid { gap: 9px; margin-top: 9px; }
  .panel { border-radius: 18px; }
  .panel-head { min-height: 70px; padding: 17px 17px 11px; }
  .panel-head h2 { font-size: 18px; }
  .traffic-chart { height: 188px; padding: 7px 12px 19px; gap: 6px; }
  .chart-column { height: 151px; }
  .quick-list button { min-height: 68px; padding: 10px 8px; }
  .platform-grid { grid-template-columns: 1fr; gap: 9px; }
  .platform-card { padding: 18px; grid-template-columns: 50px 1fr; min-height: 0; }
  .platform-icon { width: 50px; height: 50px; border-radius: 15px; }
  .platform-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .platform-actions .button { width: 100%; }
  .lobster-layout, .privacy-grid, .admin-grid, .admin-insight-grid { gap: 9px; }
  .admin-analysis-metrics, .admin-insight-grid, .admin-usage-grid, .admin-domain-panel { margin-bottom: 9px; }
  .model-panel, .qr-panel, .privacy-choice, .account-security { min-height: 0; }
  .qr-panel { order: -1; min-height: 390px; padding: 27px 17px; }
  .qr-panel .button { width: 100%; }
  .qr-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .qr-actions .button { min-width: 0; }
  .model-list { padding: 0 10px; }
  .model-option { min-height: 78px; padding: 13px; }
  .restrictions { margin: 13px 14px 16px; }
  .privacy-choice > p { margin: 0 17px; }
  .data-facts { margin: 17px; }
  .switch span { width: 47px; height: 28px; padding: 5px; }
  .switch i { width: 18px; height: 18px; }
  .switch input:checked + span i { transform: translateX(19px); }
  .range-switch button { min-width: 54px; height: 38px; font-size: 8px; }
  .admin-chart-legend { padding: 0 17px; }
  .admin-traffic-chart { min-width: max(100%,calc(var(--day-count) * 29px)); padding-inline: 16px; }
  .usage-row { grid-template-columns: 32px minmax(0,1fr) auto; }
  .usage-rank { display: none; }
  .usage-row { min-height: 84px; padding: 11px 8px; }
  .claw-usage-row { grid-template-columns: 8px minmax(100px,1fr) 44px 44px; }
  .claw-health { grid-column: 2 / -1; text-align: left; padding-top: 2px; }
  .admin-domain-grid { grid-template-columns: 1fr; }
  .domain-list { grid-template-columns: 1fr; }
  .admin-row { min-height: 72px; grid-template-columns: 32px minmax(0,1fr) auto; padding: 10px 8px; }
  .admin-row .row-status { display: none; }
  .row-button { min-width: 54px; height: 42px; padding: 0 11px; border-radius: 11px; font-size: 8px; }
  .admin-domain-item { min-height: 68px; }
  .mobile-nav {
    position: fixed;
    z-index: 75;
    left: 10px;
    right: 10px;
    bottom: max(8px,env(safe-area-inset-bottom));
    min-height: 62px;
    padding: 5px;
    display: flex;
    align-items: stretch;
    gap: 2px;
    border: 1px solid rgba(159,228,198,.14);
    border-radius: 21px;
    background: rgba(9,23,27,.91);
    box-shadow: 0 16px 45px rgba(0,0,0,.48);
    backdrop-filter: blur(22px);
  }
  .mobile-nav a { min-width: 0; min-height: 50px; flex: 1 1 0; border-radius: 16px; color: #617374; text-decoration: none; display: grid; place-items: center; align-content: center; gap: 3px; }
  .mobile-nav a span { font-size: 17px; line-height: 1; }
  .mobile-nav a b { font-size: 7px; font-weight: 650; }
  .mobile-nav a.active { color: var(--mint); background: rgba(147,226,193,.09); box-shadow: inset 0 0 0 1px rgba(147,226,193,.06); }
  .mobile-nav a:active { transform: scale(.96); }
  footer { display: none; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal-card, .modal-card.wide { width: 100%; max-height: 89dvh; padding: 29px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; border-bottom: 0; }
  .modal-close { width: 42px; height: 42px; right: 12px; top: 12px; border-radius: 13px; }
  .toast { left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); max-width: none; padding: 14px; text-align: center; font-size: 9px; }
}

@media (max-width: 420px) {
  .metric { flex-basis: 47vw; }
  .metric > strong { font-size: 20px; }
  .legend span { display: none; }
  .qr-frame { width: 205px; height: 205px; }
}
