@import url('/brand/spinda-tokens.css?v=7a61d7ca07d5');

.spinda {
  --ink: var(--sp-text);
  --muted: var(--sp-text-muted);
  --line: var(--sp-border);
  --paper: var(--sp-bg);
  --panel: var(--sp-surface);
  --radius: var(--sp-radius-panel);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sp-font-ui);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 4px; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--line);
  border-radius: var(--sp-radius-control); background: var(--panel); color: var(--ink);
  font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer;
  transition: transform var(--sp-duration-fast) var(--sp-ease);
}
button:hover:not(:disabled), .button:hover { text-decoration: underline; text-underline-offset: 4px; }
button:active:not(:disabled), .button:active { transform: translateY(1px); }
button:disabled { cursor: not-allowed; border-style: dashed; color: var(--ink); background: var(--panel); }
button.primary, .button.primary, .button.light { background: var(--sp-action); color: var(--sp-action-text); border-color: var(--sp-ink); }
.primary:hover:not(:disabled) { transform: translateY(-2px); }
.ghost { border-color: var(--paper); background: var(--paper); }
.ghost:hover { border-color: var(--line); }
.danger { text-decoration: underline; text-underline-offset: 4px; }
.small { font-size: 12px; padding: 8px 12px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.mono, code, pre, textarea.code { font-family: var(--sp-font-mono); font-weight: 400; }
.eyebrow { font: 12px/1.5 var(--sp-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.badge { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 4px 8px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.badge.selected { color: var(--sp-ink); background: var(--sp-selected); border-color: var(--sp-ink); }
.dot { width: 8px; height: 8px; background: var(--sp-naruto-pink); border: 1px solid var(--sp-ink); border-radius: 50%; display: inline-block; }
.flex { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.initial-load { display: grid; place-items: center; height: 100vh; font-size: 14px; }

/* Workspace shell. Milk surfaces, Ink structure, Pink selection. */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: fixed; top: 0; bottom: 0; width: 248px; z-index: 20; border-right: 1px solid var(--line); background: var(--paper); padding: 28px 16px 20px; display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 600; letter-spacing: -.055em; padding: 0 0 28px; }
.brand img { width: 36px; height: 36px; flex-shrink: 0; }
.brand span { overflow-wrap: anywhere; }
.brand img.brand-type { width: 160px; height: auto; }
.workspace { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); margin-bottom: 28px; }
.workspace label { font: 12px var(--sp-font-mono); display: block; margin-bottom: 8px; }
.workspace select { width: 100%; min-width: 0; border: 0; padding: 0; background: var(--panel); font-size: 14px; cursor: pointer; }
.sidebar .eyebrow { padding: 0 12px 12px; font-size: 12px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 12px; border: 1px solid var(--paper); border-radius: 8px; font-size: 14px; }
.nav a.active { background: var(--sp-selected); color: var(--sp-selected-text); border-color: var(--sp-ink); font-weight: 600; }
.nav a:hover { border-color: var(--line); }
.nav a .trail { margin-left: auto; font-size: 12px; }
.nav-divider { height: 1px; background: var(--line); margin: 24px 12px; }
.sidebar-bottom { margin-top: auto; }
.balance-widget { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 28px; background: var(--panel); }
.balance-widget .balance { font-size: 28px; letter-spacing: -1px; margin: 8px 0; font-variant-numeric: tabular-nums; }
.balance-widget .muted { font-size: 12px; }
.progress { height: 8px; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; margin: 12px 0; overflow: hidden; }
.progress progress { width: 100%; height: 6px; display: block; border: 0; appearance: none; }
.progress progress::-webkit-progress-bar { background: var(--panel); }
.progress progress::-webkit-progress-value { background: var(--sp-naruto-pink); }
.progress progress::-moz-progress-bar { background: var(--sp-naruto-pink); }
.profile { display: flex; gap: 8px; align-items: center; padding: 20px 0 0; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--sp-ink); background: var(--sp-naruto-pink); color: var(--sp-ink); border-radius: 50%; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.profile .name { font-size: 12px; font-weight: 600; }
.profile .email { font-size: 12px; margin-top: 4px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.profile button { margin-left: auto; padding: 8px; min-width: 44px; }
.main { grid-column: 2; min-width: 0; }
.topbar { min-height: 76px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 36px; background: var(--paper); font-size: 14px; }
.topbar .crumb { display: flex; gap: 12px; align-items: center; }
.topbar .crumb strong { font-weight: 500; }
.topbar .status { font-size: 12px; display: flex; gap: 8px; align-items: center; }
.content { padding: 36px; max-width: 1470px; margin: 0 auto; }
.page-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 20px; }
.page-title h1 { font-size: 32px; letter-spacing: -1px; font-weight: 500; line-height: 1.2; }
.page-title p { font-size: 14px; margin-top: 8px; line-height: 1.6; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 20px; gap: 12px; }
.section-title h2 { font-size: 18px; font-weight: 500; letter-spacing: -.4px; }
.section-title a { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }

/* A small signature and an illustrative decision, without visual effects. */
.hero { background: var(--sp-naruto-pink); border: 1px solid var(--sp-ink); border-radius: 20px; min-height: 300px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; color: var(--sp-ink); }
.hero-copy { padding: 36px; }
.hero .eyebrow { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; font-size: 12px; }
.hero h2 { font-size: 36px; letter-spacing: -1.3px; line-height: 1.12; font-weight: 500; max-width: 420px; }
.hero p { font-size: 14px; line-height: 1.7; max-width: 360px; margin: 16px 0 24px; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; padding: 36px; }
.brand-swirl { position: absolute; width: 112px; right: 20px; top: 12px; transform: rotate(-12deg); }
.decision-art { position: relative; background: var(--sp-milk); border: 1px solid var(--sp-ink); border-radius: 12px; padding: 24px; width: 280px; color: var(--sp-ink); transform: rotate(-3deg); box-shadow: var(--sp-shadow-stamp); }
.decision-art .mono { font-size: 12px; }
.decision-art h3 { font-size: 16px; margin: 12px 0 20px; font-weight: 500; }
.art-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin: 12px 0; }
.mini-meter { height: 8px; background: var(--sp-milk); border: 1px solid var(--sp-ink); width: 100%; border-radius: 4px; overflow: hidden; }
.mini-meter svg { width: 100%; height: 6px; display: block; }
.art-bottom { border-top: 1px solid var(--sp-ink); margin-top: 20px; padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; min-width: 0; }
.stat .label { font-size: 12px; display: flex; justify-content: space-between; }
.stat .value { font-size: 32px; letter-spacing: -1px; margin: 12px 0 8px; font-weight: 400; font-variant-numeric: tabular-nums; }
.stat .detail { font-size: 12px; line-height: 1.5; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.example-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--panel); cursor: pointer; text-align: left; display: block; width: 100%; font-weight: 400; }
.example-card:hover { box-shadow: var(--sp-shadow-stamp); text-decoration: none; }
.example-card .example-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.example-card .example-icon { display: grid; place-items: center; width: 36px; height: 36px; background: var(--sp-naruto-pink); border: 1px solid var(--sp-ink); border-radius: 8px; color: var(--sp-ink); }
.example-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.example-card p { font-size: 14px; line-height: 1.6; min-height: 44px; }
.example-card .footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-top: 24px; }
.home-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; overflow: hidden; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 12px; }
.panel-head h2 { font-size: 16px; font-weight: 500; }
.panel-body { padding: 24px; }
.codebox { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; position: relative; overflow: auto; }
.codebox pre { margin: 0; font-size: 13px; line-height: 1.7; white-space: pre; max-height: 340px; color: var(--ink); }
.codebox .copy-code { position: absolute; right: 12px; top: 12px; background: var(--panel); }
.tabs { display: flex; gap: 8px; font-size: 12px; }
.tabs button { border: 1px solid var(--panel); background: var(--panel); padding: 8px; font-size: 12px; }
.tabs button.active { border-color: var(--line); font-weight: 500; }
.model-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; gap: 16px; }
.model-row:last-child { border: 0; }
.model-row .name { font-weight: 500; }
.model-row .description { font-size: 12px; margin-top: 4px; }
.price { font-size: 14px; white-space: nowrap; }
.price small { font-size: 12px; }
.footer-note { font-size: 12px; margin: 28px 0 0; display: flex; gap: 8px; align-items: center; line-height: 1.7; }

/* Decision editor and typed results. */
.play-toolbar { display: flex; align-items: center; gap: 12px; }
.play-toolbar select { max-width: 220px; }
.playground { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.play-input { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.state-editor { padding: 0; }
.editor-title { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.editor-title small { font-size: 12px; font-weight: 400; }
textarea { resize: vertical; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 14px; line-height: 1.6; color: var(--ink); background: var(--panel); min-height: 100px; }
textarea.state { border: 0; border-radius: 0 0 12px 12px; min-height: 190px; padding: 20px; font-size: 13px; line-height: 1.7; background: var(--panel); }
.question { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.question-head { padding: 12px 16px; display: flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); }
.question-head .number { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.question-head input { border: 0; background: var(--panel); padding: 4px; font-size: 14px; font-weight: 500; width: 100%; min-width: 60px; }
.question-head select { padding: 8px; font-size: 12px; width: 104px; flex-shrink: 0; }
.question-head button { padding: 8px; min-width: 44px; }
.question-body { padding: 20px; }
.field-label { display: block; font-size: 12px; margin: 0 0 8px; }
.question textarea { min-height: 80px; font-size: 14px; }
.criteria-head { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 8px; font-size: 12px; }
.criteria-row { display: flex; gap: 8px; margin: 8px 0; align-items: center; }
.criteria-row input { width: 100%; font-size: 13px; padding: 8px; min-width: 0; }
.criteria-row input.option-name { width: 32%; }
.criteria-row button { padding: 8px; min-width: 44px; }
.score-number { font-size: 12px; min-width: 20px; }
input, select { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--panel); font-size: 14px; color: var(--ink); min-height: 44px; }
input::placeholder, textarea::placeholder { color: var(--ink); }
.add-question { border-style: dashed; width: 100%; background: var(--panel); padding: 16px; font-weight: 400; font-size: 14px; }
.play-footer { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 16px; gap: 16px; }
.play-footer .muted { font-size: 12px; line-height: 1.7; }
.play-footer button { flex-shrink: 0; }
.response-panel { position: sticky; top: 24px; min-height: 480px; }
.response-panel .panel-head { min-height: 72px; }
.empty-response { min-height: 400px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 32px; text-align: center; }
.empty-response .empty-icon { width: 56px; height: 56px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.empty-response h3 { font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.empty-response p { font-size: 14px; line-height: 1.6; max-width: 260px; }
.response-body { padding: 24px; }
.result { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.result:last-child { border: 0; margin: 0; padding: 0; }
.result .result-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 13px; gap: 12px; }
.result .winner { font-size: 28px; font-weight: 500; letter-spacing: -.6px; margin-bottom: 8px; overflow-wrap: anywhere; }
.result .result-meta { font-size: 12px; margin-bottom: 20px; }
.prob-row { margin: 16px 0; font-size: 12px; }
.prob-label { display: flex; justify-content: space-between; margin-bottom: 8px; gap: 12px; }
.prob-bar { height: 9px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.prob-bar svg { display: block; width: 100%; height: 7px; }
.response-meta { font-size: 12px; padding: 16px 24px; background: var(--panel); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.error-box { padding: 16px; border: 2px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 14px; line-height: 1.6; }
.working .empty-icon { border-style: dashed; animation: nudge 1s infinite alternate; }
@keyframes nudge { to { transform: translateY(-3px); } }

/* Usage, keys, team and documentation. */
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th { font-weight: 500; font-size: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--panel); white-space: nowrap; }
td { padding: 20px 24px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow: auto; }
.table-empty { padding: 64px 24px; text-align: center; font-size: 14px; line-height: 1.7; }
.chart { padding: 24px 24px 12px; }
.chart svg { width: 100%; height: 170px; overflow: visible; }
.chart-labels { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 0 16px; }
.chart-empty { font-size: 14px; text-align: center; padding: 72px 24px; }
.usage-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.usage-filters { display: flex; gap: 12px; }
.key-prefix { font-size: 12px; display: block; margin-top: 8px; }
.key-actions { display: flex; justify-content: end; }
.key-notice { font-size: 14px; line-height: 1.7; margin: 16px 0 24px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.settings-grid label { font-size: 14px; margin-bottom: 8px; display: block; }
.settings-grid input { width: 100%; margin-bottom: 16px; }
.settings-grid .readonly { font-size: 12px; margin: 12px 0 20px; overflow-wrap: anywhere; }
.docs-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.docs-copy h2 { font-size: 20px; font-weight: 500; margin: 28px 0 12px; }
.docs-copy h2:first-child { margin-top: 0; }
.docs-copy p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.docs-copy code { font-size: 13px; border: 1px solid var(--line); padding: 2px 4px; border-radius: 4px; }
.onboarding { max-width: 480px; margin: 96px auto; }
.onboarding h1 { font-size: 32px; letter-spacing: -1px; margin: 20px 0 12px; font-weight: 500; }
.onboarding p { font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.onboarding input { width: 100%; margin-bottom: 16px; }
.onboarding button { width: 100%; }
.onboarding .panel-body { padding: 32px; }

/* Sign-in and recoverable authorization errors. */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.login-left { padding: 152px 12% 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--paper); }
.login-left .brand { position: absolute; top: 40px; left: 5%; padding: 0; }
.login-left h1 { font-size: 48px; font-weight: 500; line-height: 1.12; letter-spacing: -2px; margin-bottom: 24px; }
.login-left > .eyebrow { margin-bottom: 16px; }
.login-left > p { font-size: 16px; line-height: 1.5; max-width: 380px; margin-bottom: 32px; }
.login-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 380px; }
.login-actions .button, .login-actions button { width: 100%; padding: 12px 16px; }
.login-access { align-self: center; font-size: 14px; padding: 12px; text-decoration: underline; text-underline-offset: 4px; }
.login-foot { font-size: 12px; line-height: 1.6; max-width: 380px; margin-top: 28px; }
.login-left .brand span { display: inline; }
.login-right { background: var(--sp-naruto-pink); color: var(--sp-ink); border-left: 1px solid var(--sp-ink); display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; overflow: hidden; }
.login-right .hero-art { width: 100%; height: 520px; padding-top: 160px; }
.login-right .brand-swirl { width: 200px; top: 0; right: calc(50% - 100px); }
.login-right .decision-art { width: 330px; transform: rotate(-4deg); padding: 28px; }
.login-right .decision-art h3 { font-size: 20px; }
.login-right .caption { position: absolute; bottom: 56px; left: 32px; right: 32px; font-size: 14px; text-align: center; }
.preview-strip { background: var(--sp-naruto-pink); color: var(--sp-ink); text-align: center; padding: 8px 16px; font-size: 12px; border-bottom: 1px solid var(--sp-ink); }
.preview-strip + .shell .sidebar { top: 35px; }

/* Secrets stay inside native, guarded dialogs. */
dialog { border: 1px solid var(--sp-ink); border-radius: 12px; max-width: 500px; width: calc(100% - 32px); padding: 28px; box-shadow: 5px 5px 0 var(--sp-naruto-pink); background: var(--sp-milk); color: var(--sp-ink); }
dialog::backdrop { background: var(--sp-ink); }
dialog .modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
dialog h2 { font-size: 24px; font-weight: 500; letter-spacing: -.7px; }
dialog p { font-size: 14px; line-height: 1.6; margin: 12px 0 20px; }
dialog label { display: block; font-size: 14px; margin-bottom: 8px; }
dialog input { width: 100%; margin-bottom: 16px; }
dialog .actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.secret-key { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; border: 1px solid var(--sp-ink); border-radius: 8px; padding: 16px; background: var(--sp-milk); }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 8px); background: var(--sp-ink); color: var(--sp-milk); border: 1px solid var(--sp-milk); border-radius: 8px; padding: 14px 20px; font-size: 14px; z-index: 100; max-width: calc(100% - 32px); visibility: hidden; transition: transform var(--sp-duration-fast); }
#toast.show { visibility: visible; transform: translate(-50%, 0); }
.image-editor { padding: 20px; border-top: 1px solid var(--line); }
.image-heading { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.image-editor p { font-size: 12px; line-height: 1.6; margin-top: 12px; }
.image-attachment { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; min-width: 0; }
.image-attachment img { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; background: var(--sp-milk); }
.image-attachment > div { min-width: 0; flex: 1; }
.image-attachment strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-attachment span { display: block; font-size: 12px; margin-top: 4px; }
.mobile-account { display: none; position: relative; margin-left: auto; }
.mobile-account summary { list-style: none; cursor: pointer; padding: 12px; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; }
.account-popover { position: absolute; right: 0; top: 56px; width: 250px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sp-shadow-stamp); z-index: 20; display: grid; gap: 12px; font-size: 14px; overflow-wrap: anywhere; }
.account-popover select { width: 100%; min-width: 0; }
.invitation-banner { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px; margin-bottom: 24px; border: 1px solid var(--sp-ink); background: var(--sp-naruto-pink); color: var(--sp-ink); border-radius: 12px; font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; margin: 16px 0; }
.legal-links a { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1500px) { .content { padding: 48px; } .hero { min-height: 320px; } .hero-copy { padding: 40px; } .hero h2 { font-size: 40px; } .hero-art .decision-art { width: 300px; } }
@media (max-width: 1200px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-bottom { grid-template-columns: minmax(0, 1fr); } .hero-copy { padding: 28px; } .hero h2 { font-size: 32px; } .hero-art { padding: 28px; } .decision-art { width: 240px; } .play-toolbar { flex-wrap: wrap; } .settings-grid, .docs-grid { grid-template-columns: minmax(0, 1fr); } .page-title { flex-wrap: wrap; } }
@media (max-width: 1000px) { .shell { grid-template-columns: 248px minmax(0, 1fr); } .sidebar { width: 248px; } .content { padding: 28px; } .topbar { padding-inline: 28px; } .hero { grid-template-columns: 1fr; } .hero-art { display: none; } .playground { grid-template-columns: minmax(0, 1fr); } .response-panel { position: static; min-height: 280px; } .empty-response { min-height: 280px; } .grid-3 { grid-template-columns: minmax(0, 1fr); } .example-card p { min-height: 0; } .usage-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) {
  .shell { grid-template-columns: 72px minmax(0, 1fr); } .sidebar { width: 72px; padding: 24px 8px; } .sidebar .brand { padding: 0 8px 28px; } .sidebar .brand img { width: 32px; height: 32px; }
  .sidebar .brand span, .sidebar .brand .brand-type, .workspace, .sidebar .eyebrow, .nav a span, .nav a .trail, .sidebar-bottom { display: none; } .nav a { padding: 12px; min-width: 44px; justify-content: center; } .nav-divider { margin: 16px 8px; }
  .content { padding: 28px 20px; } .topbar { padding: 16px 20px; gap: 12px; } .topbar .status { display: none; } .topbar .crumb { font-size: 12px; gap: 8px; } .topbar .crumb .icon { width: 14px; }
  .mobile-account { display: block; } .invitation-banner { flex-wrap: wrap; } .account-popover .icon { display: inline-block; }
  .login { grid-template-columns: minmax(0, 1fr); } .login-right { display: none; } .login-left { padding: 152px 10% 64px; } .login-left .brand { left: 10%; } .login-left h1 { font-size: 44px; }
  .onboarding { margin: 48px 20px; }
}
@media (max-width: 540px) {
  .content { padding: 24px 16px; } .topbar { padding-inline: 16px; } .page-title h1 { font-size: 28px; } .page-title p { font-size: 14px; } .page-title { gap: 16px; }
  .hero-copy { padding: 24px; } .hero h2 { font-size: 30px; } .hero .eyebrow { flex-wrap: wrap; } .stats { gap: 12px; } .stat { padding: 16px; } .stat .value { font-size: 26px; } .stat .label { display: block; }
  .play-toolbar { width: 100%; } .play-toolbar select { width: 100%; max-width: none; } .panel-head, .panel-body, .response-body { padding: 16px; } .panel-head { flex-wrap: wrap; }
  .question-head { flex-wrap: wrap; padding: 12px; } .question-head input { flex: 1; width: calc(100% - 40px); } .question-head select { width: calc(100% - 52px); } .question-body { padding: 16px; }
  .play-footer { flex-wrap: wrap; } .play-footer button { width: 100%; } .response-meta { padding: 16px; } .editor-title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .usage-filters { flex-wrap: wrap; } .section-title { flex-wrap: wrap; } .price { font-size: 13px; } .model-row { flex-wrap: wrap; gap: 8px; } .image-attachment { flex-wrap: wrap; } .image-attachment > div { flex-basis: calc(100% - 64px); }
  .onboarding .panel-body { padding: 24px; } .login-left h1 { font-size: 40px; } dialog { padding: 24px; } dialog .actions { flex-wrap: wrap; }
}
@media (max-width: 360px) { .stats { grid-template-columns: minmax(0, 1fr); } .topbar .crumb { gap: 4px; } .topbar .crumb .icon { display: none; } .account-popover { width: 228px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.availability-banner { border: 1px dashed var(--line); border-left: 4px solid var(--sp-naruto-pink); padding: 16px; margin-bottom: 24px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.model-comparison code { font-size: 12px; overflow-wrap: anywhere; }
.model-comparison th { white-space: normal; font-size: 12px; }
.model-comparison td { font-size: 12px; vertical-align: top; }
.model-comparison td:first-child { min-width: 136px; }
.model-comparison td:nth-child(2) { white-space: nowrap; }
