:root {
  color-scheme: dark;
  --bg: #0b0e0d;
  --panel: #111514;
  --panel-2: #151a18;
  --panel-3: #1a201d;
  --border: #252d29;
  --border-soft: #1d2421;
  --text: #f1f4ee;
  --muted: #939d96;
  --subtle: #68746c;
  --accent: #c8fb68;
  --accent-dim: #a3d94a;
  --accent-ink: #18230c;
  --green: #89d99d;
  --amber: #e8b76a;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse at 80% -10%, rgba(128, 162, 76, .075), transparent 34rem),
    var(--bg);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }

.app-shell { min-height: 100vh; display: flex; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.sidebar {
  width: 246px;
  flex: 0 0 246px;
  display: flex;
  flex-direction: column;
  padding: 27px 16px 16px;
  border-right: 1px solid var(--border-soft);
  background: rgba(13, 17, 15, .9);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; color: inherit; text-decoration: none; }
.brand-mark { width: 31px; height: 31px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 7px; border: 1px solid rgba(200,251,104,.32); border-radius: 10px; background: rgba(200,251,104,.08); transform: skew(-8deg); }
.brand-mark span { width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 11px rgba(200,251,104,.25); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .55; }
.brand-mark span:nth-child(2) { height: 14px; }
.brand-mark span:nth-child(3) { height: 10px; opacity: .72; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font: 700 17px/1 var(--display); letter-spacing: -.8px; }
.brand-copy strong span { color: var(--accent); font-weight: 500; }
.brand-copy small { color: var(--subtle); font: 500 8px/1 var(--mono); letter-spacing: 1.45px; }
.workspace-label { margin: 51px 11px 12px; color: #626d65; font: 500 9px/1 var(--mono); letter-spacing: 1.4px; }
.primary-nav { display: grid; gap: 5px; }
.nav-item { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #939d96; text-align: left; transition: background .18s, color .18s, border-color .18s; }
.nav-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { background: #151a18; color: var(--text); }
.nav-item.active { border-color: #2a342d; background: linear-gradient(100deg, rgba(200,251,104,.1), rgba(200,251,104,.035)); color: var(--accent); }
.nav-item span:nth-child(2) { flex: 1; font-size: 12px; font-weight: 600; }
.nav-count { color: #78847b; font: 10px var(--mono); }
.sidebar-bottom { margin-top: auto; }
.sidebar-status { min-height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); color: #9da69f; font-size: 10px; }
.sidebar-status strong { margin-left: auto; color: var(--amber); font: 10px var(--mono); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(232,183,106,.4); }
.account-card { display: flex; align-items: center; gap: 10px; padding: 16px 7px 13px; }
.account-avatar { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #39453b; border-radius: 9px; background: linear-gradient(145deg, #28332a, #151b17); color: var(--accent); font: 600 12px var(--display); }
.account-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.account-copy strong { font-size: 10px; font-weight: 600; }
.account-copy span { color: var(--subtle); font-size: 9px; }
.more-icon { width: 16px; height: 16px; fill: #758078; }
.sidebar-version { padding: 0 8px; color: #566159; font: 8px var(--mono); letter-spacing: .7px; }
.sidebar-version span { padding: 0 4px; color: #39423b; }

.main-shell { min-width: 0; flex: 1; }
.topbar { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 43px; border-bottom: 1px solid var(--border-soft); }
.topbar-context { display: flex; align-items: center; gap: 10px; }
.topbar-kicker { color: #7c877f; font: 500 9px var(--mono); letter-spacing: 1.25px; }
.topbar-divider { color: #465048; font-size: 11px; }
.topbar-product { color: #c7cec8; font-size: 11px; }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.prototype-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #3b3221; border-radius: 5px; background: rgba(232,183,106,.055); color: #c8aa78; font: 9px var(--mono); }
.prototype-pill span { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.icon-button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #818c84; }
.icon-button:hover { border-color: var(--border); background: var(--panel); color: var(--text); }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.view-root { width: min(1120px, 100%); margin: 0 auto; padding: 55px 48px 70px; }

.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; color: var(--accent-dim); font: 500 9px var(--mono); letter-spacing: 1.35px; }
.eyebrow::before { width: 15px; height: 1px; background: var(--accent-dim); content: ''; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.page-heading h1 { margin: 0; font: 600 clamp(29px, 3.2vw, 39px)/1.12 var(--display); letter-spacing: -1.9px; }
.page-heading p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.primary-button, .secondary-button, .quiet-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: 7px; font-size: 11px; font-weight: 700; transition: transform .16s, background .16s, border-color .16s; }
.primary-button { border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 22px rgba(166,220,83,.09); }
.primary-button:hover { background: #d8ff8f; transform: translateY(-1px); }
.primary-button svg, .secondary-button svg, .quiet-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.secondary-button { border: 1px solid #333d36; background: #171d19; color: #e5eae2; }
.secondary-button:hover { border-color: #52634a; background: #1c241d; }
.quiet-button { min-height: 32px; padding: 0 9px; border: 1px solid transparent; background: transparent; color: #89948b; }
.quiet-button:hover { background: #171c19; color: var(--text); }
.primary-button:disabled, .secondary-button:disabled { opacity: .45; }

.prototype-banner { min-height: 43px; display: flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 0 13px; border: 1px solid #303023; border-radius: 7px; background: linear-gradient(90deg, rgba(200,251,104,.055), rgba(200,251,104,.015)); color: #b5bda9; font-size: 10px; }
.prototype-banner svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.prototype-banner strong { color: #e4e9d8; font-weight: 600; }
.prototype-banner .banner-end { margin-left: auto; color: #69746a; font: 9px var(--mono); white-space: nowrap; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr); align-items: start; gap: 17px; }
.panel { border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(145deg, rgba(22,27,24,.98), rgba(16,20,18,.98)); }
.panel-header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 19px; border-bottom: 1px solid var(--border-soft); }
.panel-title { display: flex; align-items: baseline; gap: 9px; }
.panel-title h2 { margin: 0; color: #e4e9e2; font: 600 12px var(--display); letter-spacing: -.2px; }
.panel-title span { color: #78837b; font: 9px var(--mono); }
.panel-action { color: #8e998f; font: 9px var(--mono); }
.device-list { display: grid; gap: 10px; padding: 13px; }
.device-card { display: grid; grid-template-columns: 39px minmax(0,1fr) auto; align-items: center; gap: 13px; min-height: 91px; padding: 14px 13px; border: 1px solid #28302b; border-radius: 8px; background: rgba(20,25,22,.77); transition: border-color .18s, background .18s; }
.device-card.online:hover { border-color: #3c4b39; background: rgba(24,31,25,.9); }
.device-card.offline { border-color: #232a26; opacity: .76; }
.device-glyph { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #344236; border-radius: 9px; background: rgba(200,251,104,.055); color: #bded6c; }
.device-card.offline .device-glyph { border-color: #333835; background: #1b201d; color: #727c74; }
.device-glyph svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.device-info { min-width: 0; }
.device-name-line { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.device-name-line h3 { overflow: hidden; margin: 0; color: #edf1e9; font: 600 12px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.device-state { display: inline-flex; align-items: center; gap: 5px; color: #8ed49a; font: 8px var(--mono); white-space: nowrap; }
.device-state::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ''; box-shadow: 0 0 7px currentColor; }
.device-state.offline-state { color: #858e87; }
.device-state.offline-state::before { background: #747e76; box-shadow: none; }
.device-meta { display: flex; align-items: center; gap: 7px; overflow: hidden; color: #7f8a82; font-size: 9px; white-space: nowrap; }
.device-meta span { overflow: hidden; text-overflow: ellipsis; }
.device-meta i { width: 2px; height: 2px; flex: 0 0 auto; border-radius: 50%; background: #59635b; }
.connect-button { min-width: 91px; min-height: 32px; padding: 0 10px; font-size: 10px; }
.connect-button svg { width: 12px; height: 12px; }
.device-card.offline .connect-button { min-width: 76px; border-color: #333b36; background: #1a1f1c; color: #7c867e; }

.side-stack { display: grid; gap: 14px; }
.profile-panel { padding: 18px; }
.side-eyebrow { margin-bottom: 10px; color: #829087; font: 9px var(--mono); letter-spacing: 1px; }
.profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-heading h2 { margin: 0; font: 600 13px var(--display); }
.profile-heading .sparkle { color: var(--accent); font-size: 14px; }
.profile-copy { margin: 8px 0 15px; color: #929d94; font-size: 10px; line-height: 1.55; }
.select-wrap { position: relative; }
.select-wrap::after { position: absolute; top: 50%; right: 12px; width: 6px; height: 6px; border-right: 1px solid #9ca69e; border-bottom: 1px solid #9ca69e; content: ''; pointer-events: none; transform: translateY(-70%) rotate(45deg); }
.select-control { width: 100%; min-height: 38px; appearance: none; padding: 0 33px 0 11px; border: 1px solid #343d36; border-radius: 6px; background: #111613; color: #e2e9df; font-size: 10px; }
.profile-foot { display: flex; align-items: center; gap: 7px; margin-top: 11px; color: #9da995; font-size: 9px; }
.profile-foot svg { width: 13px; height: 13px; fill: none; stroke: var(--accent-dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.network-panel { position: relative; overflow: hidden; padding: 18px; }
.network-panel::after { position: absolute; right: -21px; bottom: -56px; width: 140px; height: 140px; border: 1px solid rgba(200,251,104,.1); border-radius: 50%; box-shadow: 0 0 0 12px rgba(200,251,104,.018), 0 0 0 26px rgba(200,251,104,.015); content: ''; pointer-events: none; }
.network-top { display: flex; align-items: center; gap: 11px; }
.network-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #303e32; border-radius: 8px; background: #172019; color: var(--accent); }
.network-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.network-title strong { display: block; margin-bottom: 3px; font: 600 10px var(--display); }
.network-title span { color: #89948c; font-size: 9px; }
.network-copy { max-width: 250px; margin: 14px 0 0; color: #879188; font-size: 9px; line-height: 1.65; }
.profile-note { display: flex; gap: 9px; padding: 13px 15px; border: 1px solid #272f2a; border-radius: 8px; background: rgba(17,21,19,.65); color: #8d978f; font-size: 9px; line-height: 1.55; }
.profile-note svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #7f9d68; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.profile-note strong { color: #cbd3c8; font-weight: 600; }

.section-heading { margin: 0 0 22px; }
.section-heading h1 { margin: 0; font: 600 32px/1.2 var(--display); letter-spacing: -1.3px; }
.section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.empty-state { display: grid; justify-items: center; padding: 74px 20px; text-align: center; }
.empty-orbit { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid #344037; border-radius: 17px; background: rgba(200,251,104,.04); color: var(--accent); }
.empty-orbit svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.empty-state h2 { margin: 0; font: 600 14px var(--display); }
.empty-state p { max-width: 325px; margin: 8px 0 0; color: #8c978e; font-size: 10px; line-height: 1.65; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); gap: 16px; }
.settings-panel { padding: 4px 18px; }
.setting-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--border-soft); }
.setting-row:last-child { border-bottom: 0; }
.setting-row-copy strong { display: block; margin-bottom: 4px; color: #dfe5dd; font-size: 10px; font-weight: 600; }
.setting-row-copy span { display: block; color: #879188; font-size: 9px; }
.setting-row .select-wrap { width: 155px; flex: 0 0 auto; }
.switch { position: relative; width: 34px; height: 19px; flex: 0 0 auto; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { position: absolute; inset: 0; border: 1px solid #39433c; border-radius: 99px; background: #222924; cursor: pointer; transition: .18s; }
.switch-track::after { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #8b958d; content: ''; transition: .18s; }
.switch input:checked + .switch-track { border-color: #8cae4e; background: #334321; }
.switch input:checked + .switch-track::after { left: 18px; background: var(--accent); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent); outline-offset: 3px; }
.settings-note { padding: 18px; }
.settings-note h3 { margin: 0 0 8px; font: 600 12px var(--display); }
.settings-note p { margin: 0; color: #8e9990; font-size: 10px; line-height: 1.7; }

/* Simulated remote session */
.is-session .sidebar, .is-session .topbar { display: none; }
.is-session .main-shell { min-height: 100vh; }
.is-session .view-root { width: 100%; max-width: 1440px; padding: 0; }
.session-page { min-height: 100vh; display: flex; flex-direction: column; padding: 0 30px 20px; background: radial-gradient(ellipse at 50% -30%, rgba(200,251,104,.055), transparent 45rem); }
.session-bar { min-height: 68px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--border-soft); }
.session-back { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px 7px 0; border: 0; background: transparent; color: #9da79e; font-size: 10px; }
.session-back:hover { color: var(--text); }
.session-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.session-divider { width: 1px; height: 24px; background: #28302b; }
.session-device { display: flex; align-items: center; gap: 9px; }
.session-device .device-glyph { width: 30px; height: 30px; border-radius: 7px; }
.session-device .device-glyph svg { width: 15px; height: 15px; }
.session-device strong { display: block; font: 600 10px var(--display); }
.session-device span { display: block; margin-top: 3px; color: #7f8981; font: 8px var(--mono); }
.session-bar-spacer { flex: 1; }
.demo-session-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid #433923; border-radius: 4px; color: #c8aa78; font: 8px var(--mono); letter-spacing: .5px; }
.demo-session-badge::before { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); content: ''; }
.session-stat { display: flex; align-items: center; gap: 7px; color: #a8b1a9; font: 9px var(--mono); }
.session-stat svg { width: 14px; height: 14px; fill: none; stroke: var(--accent-dim); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.session-end { min-height: 31px; padding: 0 10px; border: 1px solid #4a3130; border-radius: 5px; background: rgba(104,43,40,.14); color: #d99891; font-size: 9px; }
.session-end:hover { background: rgba(104,43,40,.28); }
.session-content { width: min(1040px, 100%); display: flex; flex: 1; flex-direction: column; justify-content: center; align-self: center; padding: 34px 0 22px; }
.session-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.session-intro h1 { margin: 0; font: 600 19px var(--display); letter-spacing: -.5px; }
.session-intro p { margin: 6px 0 0; color: #859087; font-size: 10px; }
.session-quality { width: 190px; }
.session-quality .side-eyebrow { margin-bottom: 6px; font-size: 8px; }
.remote-frame { overflow: hidden; border: 1px solid #344039; border-radius: 10px; background: #101512; box-shadow: 0 25px 75px rgba(0,0,0,.25), 0 0 0 5px rgba(255,255,255,.012); }
.remote-toolbar { min-height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid #28302b; background: #171d19; }
.toolbar-left, .toolbar-actions { display: flex; align-items: center; gap: 12px; }
.toolbar-dots { display: flex; gap: 4px; }
.toolbar-dots i { width: 6px; height: 6px; border-radius: 50%; background: #3a443c; }
.toolbar-dots i:first-child { background: #87b45c; }
.toolbar-label { color: #a6b0a6; font: 8px var(--mono); }
.toolbar-action { display: inline-flex; align-items: center; gap: 6px; min-height: 25px; padding: 0 7px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #8a968d; font-size: 8px; }
.toolbar-action:hover { border-color: #374139; background: #1c241e; color: var(--text); }
.toolbar-action svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.remote-screen { position: relative; min-height: 430px; overflow: hidden; aspect-ratio: 16/8.3; background: #253d38; cursor: crosshair; isolation: isolate; }
.remote-screen::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 73% 30%, rgba(203,232,148,.42), transparent 13%), radial-gradient(ellipse at 68% 50%, rgba(120,188,152,.35), transparent 35%), radial-gradient(ellipse at 34% 78%, rgba(27,88,78,.9), transparent 30%), linear-gradient(128deg, #173a37, #253b39 46%, #57644b); content: ''; }
.remote-screen::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(5,11,10,.5), transparent 38%), radial-gradient(ellipse at 50% 110%, rgba(190,212,117,.22), transparent 45%); content: ''; }
.screen-topline { position: absolute; top: 15px; right: 17px; left: 17px; display: flex; align-items: center; justify-content: space-between; color: rgba(239,244,226,.68); font: 8px var(--mono); }
.screen-topline .screen-system { display: flex; align-items: center; gap: 8px; }
.screen-widgets { position: absolute; top: 61px; right: 18px; width: 155px; padding: 12px; border: 1px solid rgba(240,247,227,.22); border-radius: 8px; background: rgba(13,23,21,.44); box-shadow: 0 12px 30px rgba(0,0,0,.08); backdrop-filter: blur(15px); }
.widget-label { margin-bottom: 10px; color: rgba(236,243,225,.66); font: 7px var(--mono); letter-spacing: .9px; }
.widget-clock { color: rgba(249,252,242,.94); font: 500 28px/1 var(--display); letter-spacing: -1.5px; }
.widget-date { margin-top: 5px; color: rgba(236,243,225,.68); font-size: 8px; }
.widget-divider { height: 1px; margin: 11px 0; background: rgba(236,243,225,.16); }
.widget-weather { display: flex; align-items: center; gap: 7px; color: rgba(236,243,225,.8); font-size: 8px; }
.widget-weather svg { width: 13px; height: 13px; fill: none; stroke: #e6dfae; stroke-width: 1.2; }
.desktop-shortcuts { position: absolute; top: 49px; left: 16px; display: grid; gap: 15px; }
.desktop-shortcut { width: 52px; display: grid; justify-items: center; gap: 6px; color: rgba(247,250,240,.86); text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.45); font-size: 7px; }
.shortcut-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; background: rgba(255,255,255,.15); backdrop-filter: blur(7px); }
.shortcut-icon svg { width: 14px; height: 14px; fill: none; stroke: #f3f5ed; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sample-window { position: absolute; top: 50%; left: 50%; width: min(370px, 58%); min-height: 190px; overflow: hidden; border: 1px solid rgba(227,239,222,.45); border-radius: 8px; background: rgba(13,18,17,.89); box-shadow: 0 24px 60px rgba(0,0,0,.32); transform: translate(-50%, -44%); backdrop-filter: blur(14px); cursor: default; }
.window-titlebar { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; border-bottom: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.055); color: #ccd5cb; font-size: 8px; }
.window-controls { display: flex; gap: 5px; }
.window-controls span { width: 6px; height: 6px; border: 1px solid rgba(235,242,228,.54); border-radius: 50%; }
.window-content { padding: 18px 19px; }
.window-overline { color: #a5d26d; font: 8px var(--mono); letter-spacing: 1px; }
.window-content h2 { margin: 9px 0 7px; color: #f1f4eb; font: 600 15px var(--display); letter-spacing: -.35px; }
.window-content p { max-width: 290px; margin: 0; color: #a4afa4; font-size: 8px; line-height: 1.65; }
.window-terminal { display: flex; gap: 7px; margin-top: 14px; padding: 8px 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; background: rgba(0,0,0,.24); color: #b4c3b2; font: 7px var(--mono); }
.window-terminal b { color: var(--accent); font-weight: 400; }
.screen-cursor { position: absolute; z-index: 5; top: 55%; left: 64%; width: 13px; height: 19px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)); pointer-events: none; transition: top .025s linear, left .025s linear; }
.screen-cursor svg { width: 13px; height: 19px; fill: #f5f6ed; stroke: #141916; stroke-width: 1.2; stroke-linejoin: round; }
.screen-click-hint { position: absolute; right: 14px; bottom: 12px; padding: 6px 8px; border: 1px solid rgba(234,243,226,.18); border-radius: 4px; background: rgba(12,18,16,.46); color: rgba(243,246,235,.72); font: 7px var(--mono); backdrop-filter: blur(8px); }
.remote-footer { min-height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-top: 1px solid #28302b; background: #151a17; color: #818c83; font: 8px var(--mono); }
.remote-footer-left { display: flex; align-items: center; gap: 7px; }
.remote-footer-left span { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.session-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: #828d84; font-size: 9px; line-height: 1.55; }
.session-note svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: #b39a6d; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.session-note strong { color: #c2c9bf; font-weight: 600; }
.session-page.is-fit .remote-screen { aspect-ratio: auto; min-height: min(60vh, 530px); }

.toast { position: fixed; z-index: 50; right: 23px; bottom: 22px; max-width: min(350px, calc(100vw - 32px)); padding: 11px 14px; border: 1px solid #3a483a; border-radius: 7px; background: #19211a; color: #e3eadf; box-shadow: 0 10px 35px rgba(0,0,0,.3); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3,6,4,.7); backdrop-filter: blur(5px); }
.modal { width: min(430px, 100%); padding: 22px; border: 1px solid #354038; border-radius: 11px; background: #141a16; box-shadow: 0 22px 80px rgba(0,0,0,.4); }
.modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 15px; border: 1px solid #3a4838; border-radius: 10px; background: rgba(200,251,104,.06); color: var(--accent); }
.modal-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.modal h2 { margin: 0; font: 600 18px var(--display); letter-spacing: -.5px; }
.modal p { margin: 9px 0 0; color: #98a299; font-size: 10px; line-height: 1.7; }
.modal-steps { display: grid; gap: 11px; margin: 20px 0; padding: 14px; border: 1px solid #29322b; border-radius: 7px; background: #111612; }
.modal-step { display: flex; gap: 10px; color: #abb4aa; font-size: 9px; line-height: 1.5; }
.modal-step b { width: 18px; height: 18px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 5px; background: #273221; color: var(--accent); font: 9px var(--mono); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

@media (max-width: 980px) {
  .sidebar { width: 215px; flex-basis: 215px; }
  .topbar { padding: 0 28px; }
  .view-root { padding: 43px 28px 55px; }
  .content-layout { grid-template-columns: minmax(0, 1.3fr) minmax(235px, .85fr); }
  .device-card { grid-template-columns: 35px minmax(0,1fr); }
  .device-glyph { width: 35px; height: 35px; }
  .connect-button { grid-column: 2; justify-self: start; margin-top: 3px; }
  .device-card { align-items: start; }
  .device-info { padding-top: 2px; }
  .settings-layout { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .sidebar { width: 62px; flex-basis: 62px; align-items: center; padding: 20px 7px 12px; }
  .brand { padding: 0; }
  .brand-copy, .workspace-label, .nav-item span, .sidebar-bottom .sidebar-status, .account-copy, .more-icon, .sidebar-version { display: none; }
  .primary-nav { width: 100%; margin-top: 36px; }
  .nav-item { width: 46px; height: 43px; justify-content: center; padding: 0; }
  .nav-item svg { width: 18px; height: 18px; }
  .account-card { padding: 0; }
  .topbar { height: 56px; padding: 0 17px; }
  .topbar-kicker { font-size: 8px; }
  .topbar-right { gap: 8px; }
  .prototype-pill { padding: 5px 7px; font-size: 8px; }
  .view-root { padding: 35px 17px 42px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .page-heading .primary-button { min-height: 35px; }
  .page-heading h1 { font-size: 31px; }
  .content-layout { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-note { grid-column: 1 / -1; }
  .panel-header { padding: 0 14px; }
  .device-list { padding: 9px; }
  .device-card { grid-template-columns: 35px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 9px; }
  .connect-button { grid-column: auto; justify-self: auto; margin: 0; min-width: 78px; padding: 0 8px; }
  .device-meta { max-width: 100%; font-size: 8px; }
  .session-page { padding: 0 13px 15px; }
  .session-bar { min-height: 58px; gap: 9px; }
  .session-back { font-size: 0; }
  .session-back svg { width: 17px; height: 17px; }
  .session-divider { display: none; }
  .session-stat { display: none; }
  .demo-session-badge { margin-left: auto; font-size: 7px; }
  .session-end { font-size: 8px; }
  .session-content { justify-content: flex-start; padding-top: 24px; }
  .session-intro { align-items: flex-start; flex-direction: column; }
  .session-quality { width: 100%; }
  .remote-screen { min-height: 340px; aspect-ratio: 4/3; }
  .sample-window { width: min(330px, 72%); min-height: 160px; }
  .screen-widgets { top: 48px; right: 10px; width: 124px; padding: 9px; }
  .widget-clock { font-size: 22px; }
  .desktop-shortcuts { top: 43px; left: 8px; gap: 9px; }
  .desktop-shortcut { width: 42px; font-size: 6px; }
  .shortcut-icon { width: 23px; height: 23px; }
}
@media (max-width: 520px) {
  .sidebar { width: 52px; flex-basis: 52px; padding-right: 4px; padding-left: 4px; }
  .brand-mark { width: 29px; height: 29px; }
  .nav-item { width: 40px; }
  .prototype-pill { gap: 5px; }
  .help-button { display: none; }
  .view-root { padding-right: 12px; padding-left: 12px; }
  .prototype-banner { align-items: flex-start; padding: 10px; line-height: 1.5; }
  .prototype-banner .banner-end { display: none; }
  .side-stack { grid-template-columns: 1fr; }
  .profile-note { grid-column: auto; }
  .device-card { grid-template-columns: 32px minmax(0,1fr); }
  .device-glyph { width: 32px; height: 32px; }
  .connect-button { grid-column: 2; justify-self: start; margin-top: -2px; }
  .session-device strong { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .session-device span { font-size: 7px; }
  .session-back { padding-right: 0; }
  .session-end { min-height: 28px; padding: 0 7px; }
  .remote-screen { min-height: 290px; }
  .screen-topline { right: 10px; left: 10px; }
  .screen-widgets { width: 108px; }
  .sample-window { width: 70%; min-height: 150px; }
  .window-content { padding: 13px; }
  .window-content h2 { font-size: 12px; }
  .window-content p { font-size: 7px; }
  .toolbar-actions { gap: 1px; }
  .toolbar-action { padding: 0 5px; }
  .toolbar-action span { display: none; }
  .remote-footer { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
