:root {
  --bg: #071018;
  --panel: #0d1923;
  --panel-2: #122532;
  --ink: #edf7f7;
  --muted: #9eb3bb;
  --line: rgba(173, 225, 225, .16);
  --cyan: #74e1da;
  --violet: #b7a0ff;
  --lime: #b7e887;
  --rose: #ff8f9c;
  --amber: #ffc86a;
  --shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(116, 225, 218, .13), transparent 28rem),
    radial-gradient(circle at 8% 40%, rgba(183, 160, 255, .1), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(116, 225, 218, .44);
  outline-offset: 2px;
}
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }

.topbar {
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 24, .86);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; letter-spacing: .18em; font-size: 13px; }
.orbit { width: 36px; height: 36px; border: 1px solid var(--cyan); border-radius: 50%; display: grid; place-items: center; color: var(--cyan); box-shadow: 0 0 24px rgba(116, 225, 218, .2); }
.top-actions, .workspace-actions, .actions, .trust, .detail-actions, .connection-head { display: flex; align-items: center; gap: 12px; }
.top-actions { justify-content: flex-end; min-width: 0; }
.local-note { color: var(--muted); font-size: 11px; }
.top-link { color: var(--muted); font-size: 12px; text-decoration: none; }
.top-link:hover, .top-link:focus { color: var(--cyan); }

.primary, .ghost, .danger, .text-button, .icon-btn {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 14px;
  background: var(--panel-2);
  font-weight: 750;
}
.primary { background: var(--cyan); border-color: var(--cyan); color: #061217; }
.primary.small { padding: 8px 12px; }
.ghost { background: transparent; }
.danger { background: rgba(255, 143, 156, .08); border-color: rgba(255, 143, 156, .3); color: var(--rose); }
.text-button { border: 0; background: none; color: var(--cyan); padding: 4px; }
.icon-btn { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; flex: 0 0 auto; background: transparent; font-size: 20px; }
button:disabled { cursor: not-allowed; opacity: .58; }
.language-select { min-width: 70px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 28px 8px 10px; }
.owner-button { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.full { width: 100%; }

.screen { display: none; }
.screen.active { display: block; }
.hero { min-height: calc(100vh - 76px); max-width: 1480px; margin: auto; padding: clamp(46px, 8vw, 120px) clamp(20px, 5vw, 74px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: 52px; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 11px; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; }
.hero h1 { margin: 0; max-width: 820px; font: 500 clamp(50px, 7vw, 96px)/.97 Georgia, "Times New Roman", serif; letter-spacing: -.05em; }
.hero h1 em { display: block; color: var(--cyan); font-weight: 500; }
.lead { max-width: 680px; color: #c7d9dc; font-size: clamp(18px, 2vw, 24px); margin: 26px 0; }
.text-link { text-decoration: none; color: var(--muted); }
.trust { margin-top: 26px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.trust span span { margin-left: 4px; }
.founder-strip { margin-top: 28px; max-width: 500px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(183, 232, 135, .25); border-radius: 14px; background: rgba(183, 232, 135, .06); }
.founder-strip div { min-width: 0; display: grid; }
.founder-strip small { color: var(--muted); }
.founder-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #071018; background: var(--lime); font-weight: 900; }
.founder-avatar.large { width: 58px; height: 58px; font-size: 20px; }

.hero-visual { height: min(590px, 70vh); min-height: 480px; border: 1px solid var(--line); border-radius: 50%; position: relative; background: radial-gradient(circle, rgba(116, 225, 218, .08), rgba(8, 19, 28, .45) 45%, transparent 68%); box-shadow: var(--shadow); }
.sample-lines { position: absolute; inset: 5%; width: 90%; height: 90%; }
.sample-lines path { stroke: rgba(116, 225, 218, .27); stroke-width: 1.5; fill: none; }
.sample-node { position: absolute; min-width: 130px; max-width: 180px; background: rgba(13, 25, 35, .92); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; box-shadow: 0 10px 35px rgba(0, 0, 0, .25); }
.sample-node b { display: block; font-size: 12px; }
.sample-node span { color: var(--muted); font-size: 10px; }
.n1 { left: 9%; top: 23%; }.n2 { left: 40%; top: 12%; }.n3 { right: 7%; top: 30%; }.n4 { right: 18%; bottom: 18%; }.n5 { left: 13%; bottom: 16%; }
.sample-core { position: absolute; left: 48%; top: 48%; width: 48px; height: 48px; border: 1px solid var(--cyan); border-radius: 50%; display: grid; place-items: center; color: var(--cyan); box-shadow: 0 0 35px rgba(116, 225, 218, .25); }

.how, .pricing { max-width: 1320px; margin: auto; padding-inline: clamp(20px, 5vw, 74px); }
.how { padding-top: 100px; padding-bottom: 140px; }
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.loop article { border-top: 1px solid var(--line); padding: 24px 0; }
.loop article > span { color: var(--cyan); font-size: 11px; }
.loop h2 { font: 500 42px/1.1 Georgia, serif; margin: 18px 0 10px; }
.loop p { color: var(--muted); max-width: 330px; }

.pricing { padding-top: 30px; padding-bottom: 140px; scroll-margin-top: 96px; }
.pricing-intro { max-width: 800px; margin-bottom: 34px; }
.pricing h2 { font: 500 clamp(38px, 5vw, 64px)/1.04 Georgia, serif; letter-spacing: -.035em; margin: 0 0 18px; }
.pricing-intro > p:last-child, .pricing-note { color: var(--muted); max-width: 800px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: var(--panel); display: flex; flex-direction: column; align-items: flex-start; min-height: 390px; }
.plan.featured { border-color: rgba(116, 225, 218, .42); background: linear-gradient(145deg, rgba(116, 225, 218, .09), var(--panel)); }
.founder-plan { border-color: rgba(183, 232, 135, .36); background: linear-gradient(145deg, rgba(183, 232, 135, .09), var(--panel)); }
.plan-label, .beta-badge { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: rgba(116, 225, 218, .1); color: var(--cyan); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.founder-plan .plan-label { background: rgba(183, 232, 135, .1); color: var(--lime); }
.plan h3 { font: 500 34px Georgia, serif; margin: 20px 0 4px; }
.price { font-size: 30px; font-weight: 800; }
.price small { font-size: 11px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 20px; color: var(--muted); flex: 1; }
.plan li + li { margin-top: 8px; }
.plan button { width: 100%; }
.pricing-note { margin-top: 20px; font-size: 12px; }

#workspace.active { display: grid; grid-template-columns: 72px minmax(0, 1fr); min-height: 100vh; }
.workspace-shell { min-width: 0; }
.rail { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 18px 0; background: #061018; z-index: 50; }
.rail nav { display: grid; gap: 10px; margin: auto; }
.rail-end { display: grid; gap: 9px; }
.rail-brand, .rail-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: transparent; }
.rail-brand { border-radius: 50%; color: var(--cyan); }
.rail-btn.active { background: var(--cyan); color: #061217; border-color: var(--cyan); }
.profile-mini { border-color: rgba(183, 232, 135, .35); color: var(--lime); font-weight: 900; }
.workspace-head { min-height: 112px; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(7, 16, 24, .88); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); }
.workspace-head h2 { margin: 0; font: 500 30px Georgia, serif; overflow-wrap: anywhere; }
.workspace-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.workspace-title-row .eyebrow { margin: 0; }
.workspace-actions { flex-wrap: wrap; justify-content: flex-end; }
.search { position: relative; }
.search span { position: absolute; left: 12px; top: 7px; color: var(--muted); font-size: 21px; }
.search input, select, input, textarea { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; outline: none; }
.search input { padding-left: 37px; width: 220px; }
.search input:focus, select:focus, input:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(116, 225, 218, .1); }
.prototype-banner { padding: 9px 32px; background: rgba(255, 200, 106, .08); border-bottom: 1px solid rgba(255, 200, 106, .2); color: #ffe2b1; font-size: 11px; overflow-wrap: anywhere; }
.runtime-mode { display: inline-flex; margin-left: 8px; padding: 3px 8px; border: 1px solid rgba(255, 226, 177, .25); border-radius: 999px; color: var(--ink); white-space: nowrap; }
.runtime-mode.cloud { color: var(--lime); border-color: rgba(183, 232, 135, .35); background: rgba(183, 232, 135, .08); }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; min-height: calc(100vh - 150px); }
.canvas-panel { min-width: 0; padding: 24px 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.panel-head > div:first-child { display: grid; }
.panel-head small { color: var(--muted); }
.legend { display: flex; gap: 12px; color: var(--muted); font-size: 10px; flex-wrap: wrap; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.dot.systems { background: var(--violet); }.dot.practice { background: var(--lime); }
.view { display: none; }.view.active { display: block; }
.constellation { height: calc(100vh - 230px); min-height: 520px; border: 1px solid var(--line); border-radius: 22px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(116, 225, 218, .08), transparent 40%), linear-gradient(rgba(255, 255, 255, .012) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; }
.constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.constellation line { stroke: rgba(116, 225, 218, .25); stroke-width: 1.5; }
.map-node { position: absolute; transform: translate(-50%, -50%); max-width: 170px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13, 25, 35, .96); padding: 10px 12px; text-align: left; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); }
.map-node::before { content: ""; position: absolute; left: -5px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
.map-node.systems::before { background: var(--violet); box-shadow: 0 0 13px var(--violet); }.map-node.practice::before { background: var(--lime); box-shadow: 0 0 13px var(--lime); }
.map-node b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-node span { font-size: 9px; color: var(--muted); }
.map-node:hover, .map-node:focus { border-color: var(--cyan); z-index: 4; }
.map-hint { color: var(--muted); font-size: 10px; text-align: center; }
.spark-list { display: grid; gap: 10px; }
.spark-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 16px; color: var(--ink); }
.spark-card:hover, .spark-card:focus { border-color: var(--cyan); }
.spark-card h3 { margin: 3px 0 5px; overflow-wrap: anywhere; }.spark-card p { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 700px; }.spark-card time { color: var(--muted); font-size: 10px; }
.timeline { position: relative; padding-left: 24px; }.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; border-bottom: 1px solid var(--line); padding: 0 0 22px; margin-bottom: 20px; overflow-wrap: anywhere; }.timeline-item::before { content: ""; position: absolute; left: -21px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }.timeline-item button { padding: 0; border: 0; background: none; text-align: left; color: var(--ink); }.timeline-item h3 { margin: 4px 0; }.timeline-item time, .timeline-item p { color: var(--muted); font-size: 11px; }
.empty { padding: 70px 20px; text-align: center; color: var(--muted); }.empty > span { font-size: 36px; color: var(--cyan); }

.detail-panel { border-left: 1px solid var(--line); background: rgba(10, 20, 29, .8); padding: 25px; min-width: 0; overflow-wrap: anywhere; }
.detail-empty { min-height: 380px; height: 100%; display: grid; place-content: center; text-align: center; color: var(--muted); }.detail-empty > span { font-size: 36px; color: var(--cyan); }
.detail-panel h3 { font: 500 30px/1.15 Georgia, serif; }.detail-panel h4 { margin: 0; }
.detail-top { display: flex; justify-content: space-between; align-items: center; }
.pill { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: rgba(116, 225, 218, .1); color: var(--cyan); font-size: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }.tags span { border: 1px solid var(--line); border-radius: 99px; padding: 4px 8px; color: var(--muted); font-size: 10px; }
.detail-panel hr { border: 0; border-top: 1px solid var(--line); margin: 25px 0; }
.connection-head { justify-content: space-between; }.connection-list { display: grid; gap: 8px; margin-top: 14px; }
.connection-item { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 10px 42px 10px 10px; font-size: 11px; overflow-wrap: anywhere; }.connection-item b { color: var(--cyan); }.connection-item p { margin: 5px 0 0; color: var(--muted); }
.connection-delete { position: absolute; right: 7px; top: 7px; width: 30px; height: 30px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); }.connection-delete:hover, .connection-delete:focus { color: var(--rose); border-color: rgba(255, 143, 156, .3); }

.assistant-card { border: 1px solid rgba(183, 160, 255, .27); border-radius: 16px; padding: 16px; background: linear-gradient(145deg, rgba(183, 160, 255, .08), transparent); }
.assistant-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }.assistant-kicker { display: block; color: var(--violet); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.assistant-card > p { color: var(--muted); font-size: 11px; }
.status-chip { display: inline-flex; flex: 0 0 auto; padding: 4px 8px; border-radius: 99px; font-size: 9px; font-weight: 850; }.status-chip.local { color: var(--lime); background: rgba(183, 232, 135, .1); border: 1px solid rgba(183, 232, 135, .24); }
.assistant-statuses { display: grid; gap: 5px; margin: 12px 0; font-size: 10px; color: var(--muted); }
.cloud-ai-button { margin-top: 8px; border-color: rgba(183, 160, 255, .34); }
.cloud-ai-button:not(:disabled) { color: #ded6ff; }
.suggestion-list { display: grid; gap: 8px; margin-top: 10px; }
.suggestion { border: 1px solid var(--line); border-radius: 11px; padding: 10px; background: rgba(7, 16, 24, .45); }
.suggestion-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }.suggestion strong { font-size: 11px; }.suggestion p { margin: 5px 0 9px; color: var(--muted); font-size: 10px; }.suggestion button { padding: 6px 9px; font-size: 10px; }.suggestion-empty { color: var(--muted); font-size: 11px; text-align: center; padding: 12px 4px; }

dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; border: 1px solid var(--line); border-radius: 18px; padding: 0; background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(2, 8, 12, .76); backdrop-filter: blur(5px); }
dialog form { padding: 25px; }
dialog header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
dialog h2 { font: 500 34px Georgia, serif; margin: 0; }
dialog label { display: grid; gap: 6px; margin: 13px 0; }.account-dialog label > span, dialog label > span { font-size: 11px; color: var(--muted); }
dialog input, dialog textarea, dialog select { width: 100%; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
dialog footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.error { color: var(--rose); min-height: 1em; }
.about-dialog { padding: 28px; }.about-dialog .close-about { float: right; }.about-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.account-hero { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(183, 232, 135, .25); border-radius: 14px; background: rgba(183, 232, 135, .06); }.account-hero > div { min-width: 0; display: grid; flex: 1; }.account-hero > div span { color: var(--muted); font-size: 11px; }.account-boundary { margin: 14px 0; padding: 12px; border-radius: 11px; background: rgba(255, 200, 106, .08); color: #ffe2b1; font-size: 11px; }.account-boundary p { margin: 4px 0 0; }.account-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }.account-facts div { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }.account-facts span { color: var(--muted); font-size: 9px; }.account-facts strong { font-size: 10px; overflow-wrap: anywhere; }
.cloud-account { padding: 24px 25px 26px; border-top: 1px solid var(--line); background: rgba(5, 13, 20, .45); }
.cloud-account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cloud-account-head .eyebrow { margin: 0 0 5px; }
.cloud-account h3 { margin: 0; font: 500 25px Georgia, serif; }
.cloud-explainer, .field-note, .cloud-message { color: var(--muted); font-size: 11px; }
.cloud-message { min-height: 17px; color: #ffe2b1; overflow-wrap: anywhere; }
.cloud-auth-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cloud-auth-form .field-note, .cloud-actions { grid-column: 1 / -1; }
.cloud-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.cloud-signed-in { padding: 12px; border: 1px solid rgba(116, 225, 218, .25); border-radius: 11px; background: rgba(116, 225, 218, .05); }
.cloud-signed-in p { margin: 0 0 8px; font-size: 12px; overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 140px); max-width: calc(100% - 28px); background: var(--ink); color: #071018; border-radius: 10px; padding: 11px 16px; font-weight: 700; text-align: center; z-index: 100; transition: transform .2s; }.toast.show { transform: translate(-50%, 0); }

@media (max-width: 1220px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-plan { grid-column: span 2; min-height: 320px; }
  .top-actions .local-note { display: none; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { width: min(620px, 100%); justify-self: center; }
  .workspace-grid { grid-template-columns: 1fr; }
  .detail-panel { border-left: 0; border-top: 1px solid var(--line); }
  .constellation { height: 600px; }
  .workspace-head { align-items: flex-start; }
  .workspace-actions { max-width: 650px; }
}
@media (max-width: 820px) {
  .top-link, .owner-button { display: none; }
  .loop, .plan-grid { grid-template-columns: 1fr; }
  .founder-plan { grid-column: auto; }
  .plan { min-height: auto; }
}
@media (max-width: 760px) {
  .topbar { padding: 8px 14px; }
  .hero { padding-top: 55px; }
  .hero h1 { font-size: 52px; }
  .hero-visual { min-height: 390px; height: 440px; }
  .sample-node { min-width: 105px; max-width: 135px; padding: 8px; }.sample-node b { font-size: 10px; }
  .topbar .primary.small { display: none; }
  #workspace.active { grid-template-columns: 1fr; }
  .rail { position: fixed; inset: auto 0 0; height: calc(64px + env(safe-area-inset-bottom)); width: 100%; border-right: 0; border-top: 1px solid var(--line); flex-direction: row; padding: 0 14px env(safe-area-inset-bottom); z-index: 60; }
  .rail nav, .rail-end { display: flex; margin: auto; gap: 8px; }.rail-end { margin: 0; }
  .rail-brand { flex: 0 0 auto; }
  .workspace-shell { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .workspace-head { position: static; padding: 20px; display: block; }
  .workspace-actions { justify-content: flex-start; margin-top: 14px; }
  .search { width: 100%; }.search input { width: 100%; }
  .prototype-banner { padding: 9px 20px; }
  .canvas-panel { padding: 18px 14px; }
  .panel-head { align-items: flex-start; }.legend { display: none; }
  .constellation { height: 560px; min-height: 0; }
  .detail-panel { padding: 20px 16px; }
  .form-grid, .account-facts { grid-template-columns: 1fr; }
  .cloud-auth-form { grid-template-columns: 1fr; }
  .cloud-auth-form .field-note, .cloud-actions { grid-column: 1; }
  .map-node { max-width: 125px; padding: 8px; }.map-node b { font-size: 10px; }.map-node span { font-size: 8px; }
  .pricing { padding-bottom: 90px; }
  .primary, .ghost, .danger, .rail-btn, .rail-brand, .language-select { min-height: 44px; }
  dialog form, .about-dialog { padding: 20px; }
  .cloud-account { padding: 20px; }
}
@media (max-width: 480px) {
  .top-actions { gap: 7px; }.top-actions .language-select { min-width: 62px; padding-inline: 8px; }
  .hero h1 { font-size: 44px; }.hero { padding-inline: 18px; }
  .actions { align-items: stretch; flex-direction: column; }.actions .text-link { padding: 9px 0; }
  .hero-visual { height: 350px; min-height: 330px; }.sample-node { min-width: 82px; max-width: 105px; }.sample-node span { display: none; }
  .workspace-actions select:not(.language-select) { flex: 1 1 150px; }.workspace-actions .language-select { flex: 0 0 70px; }.workspace-actions .primary { flex: 1 1 100%; }
  .constellation { height: 500px; }
  .workspace-title-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .connection-head { align-items: flex-start; }
  .account-hero { align-items: flex-start; flex-wrap: wrap; }.account-hero .status-chip { margin-left: 70px; }
  dialog footer { flex-direction: column-reverse; } dialog footer button { width: 100%; }
}
@media (max-width: 350px) {
  .brand strong { font-size: 11px; }.orbit { width: 32px; height: 32px; }
  .hero h1 { font-size: 39px; }
  .rail { padding-inline: 8px; }.rail-btn, .rail-brand { width: 40px; height: 40px; }
  .canvas-panel { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
