:root {
  --glass: rgb(255 255 255 / 0.72);
  --glass-ink: #16130f;
  --glass-soft: #5b554d;
  --glass-edge: rgb(22 19 15 / 0.1);
  --glass-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, 0 24px 48px -18px rgb(30 40 60 / 0.35);
  --ghost-edge: rgb(22 19 15 / 0.22);
  --shade: linear-gradient(100deg, rgb(255 255 255 / 0.35), rgb(255 255 255 / 0) 45%);
  --caption: #16130f;
  --option-on: #f6f5f2;
  --ok: #1f8a5b;
}
:root[data-theme="dark"] {
  --glass: rgb(16 16 18 / 0.58);
  --glass-ink: #f4f4f4;
  --glass-soft: #b4ada3;
  --glass-edge: rgb(255 255 255 / 0.12);
  --glass-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 30px 60px -20px rgb(0 0 0 / 0.8);
  --ghost-edge: rgb(255 255 255 / 0.22);
  --shade: linear-gradient(100deg, rgb(8 8 10 / 0.45), rgb(8 8 10 / 0) 45%);
  --caption: #f4f4f4;
  --option-on: #151515;
  --ok: #6fd3a0;
}

.ob { min-height: 100dvh; display: flex; flex-direction: column; }
.ob-bar { gap: 20px; border-bottom-color: var(--line); }
.ob-rail { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding: 4px; border-radius: 999px; background: var(--tab-track); box-shadow: 0 0 0 1px var(--panel-edge); }
.ob-rail button {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-soft); font: 500 13px/1 "DM Sans", system-ui, sans-serif;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.ob-rail button:disabled { cursor: default; opacity: 0.55; }
.ob-rail button:not(:disabled):hover { background: var(--tab-hover); color: var(--ink); }
.ob-rail__dot {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px var(--field-line);
}
.ob-rail__dot svg { width: 12px; height: 12px; }
.ob-rail .is-done .ob-rail__dot { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.ob-rail .is-on button { background: var(--tab-on-bg); color: var(--tab-on-ink); }
.ob-rail .is-on .ob-rail__dot { box-shadow: inset 0 0 0 1.5px var(--tab-on-ink); color: var(--tab-on-ink); }

.ob-main { flex: none; display: grid; grid-template-columns: minmax(420px, 600px) 1fr; grid-template-rows: minmax(0, 1fr); gap: 16px; padding: 16px; height: calc(100dvh - 72px); min-height: 640px; }

.ob-panel { position: relative; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: clamp(28px, 5vh, 56px) clamp(8px, 3vw, 44px) 24px; scrollbar-width: thin; }
.ob-progress { position: sticky; top: calc(-1 * clamp(28px, 5vh, 56px)); z-index: 2; height: 3px; margin: calc(-1 * clamp(28px, 5vh, 56px)) 0 clamp(28px, 5vh, 56px); border-radius: 3px; background: var(--line); overflow: hidden; }
.ob-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 520ms var(--ease); }
.ob-step { flex: 1; display: flex; flex-direction: column; }
.ob-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent-deep); font-size: 14px; font-weight: 600; }
.ob-eyebrow span { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-weight: 500; }
.ob-eyebrow span::after { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 0 4px 10px; background: var(--field-line); }
.ob-title { margin: 0; font-size: clamp(32px, 1rem + 2.4vw, 48px); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.ob-sub { margin-top: 14px; font-size: 17px; }
.ob-body { display: grid; gap: 20px; margin-top: clamp(26px, 4vh, 40px); }
.ob-note { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--ink-soft); font-size: 13px; }
.ob-hint { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; }
kbd { padding: 2px 6px; border-radius: 6px; font: 600 11.5px/1 "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line); }

.ob-field { display: grid; gap: 8px; min-width: 0; }
.ob-field__label { font-size: 14px; font-weight: 600; }
.ob-field__label i { margin-left: 4px; font-style: normal; font-weight: 400; color: var(--ink-soft); }
.ob-field__hint { min-height: 0; margin: 0; color: var(--ink-soft); font-size: 13px; }
.ob-field__hint.is-error { color: var(--error); }
.ob-input { width: 100%; font-size: 16px; line-height: 1.3; transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.ob-input:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgb(244 184 96 / 0.22); }
.ob-input[readonly] { color: var(--ink-soft); background: var(--bg-soft); }
.ob-area { resize: vertical; min-height: 112px; line-height: 1.5; }
.ob-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; }
.ob-money { position: relative; display: block; }
.ob-money::before { content: "$"; position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-soft); }
.ob-money::after { content: "/h"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--ink-soft); font-size: 14px; }
.ob-money .ob-input { padding-left: 28px; padding-right: 34px; }

.ob-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-pick .tab { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ob-pick .tab:hover { box-shadow: inset 0 0 0 1px var(--field-hover); }
.ob-pick .tab[aria-selected="true"] { background: var(--tab-on-bg); color: var(--tab-on-ink); box-shadow: none; }

.ob-options { display: grid; gap: 10px; }
.ob-option {
  display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 16px; width: 100%;
  padding: 18px; border: 0; cursor: pointer; text-align: left; color: var(--ink); background: var(--surface);
  font: inherit; transition: box-shadow 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}
.ob-option:hover { box-shadow: 0 0 0 1px var(--field-hover); }
.ob-option:active { transform: scale(0.99); }
.ob-option[aria-checked="true"] { background: var(--option-on); box-shadow: 0 0 0 1.5px var(--ink); }
.ob-option__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--ink); }
.ob-option[aria-checked="true"] .ob-option__icon { background: var(--btn); color: var(--btn-ink); }
.ob-option__icon svg { width: 22px; height: 22px; }
.ob-option__text { display: grid; gap: 4px; }
.ob-option__text b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ob-option__text span { color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.ob-option__tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--field-line); color: transparent; transition: background-color 160ms var(--ease); }
.ob-option__tick svg { width: 14px; height: 14px; }
.ob-option[aria-checked="true"] .ob-option__tick { background: var(--btn); color: var(--btn-ink); box-shadow: none; }

.ob-tokens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px; border-radius: 10px; border: 1px solid var(--field-line); background: var(--surface); transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.ob-tokens:focus-within { border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgb(244 184 96 / 0.22); }
.ob-tokens .ob-input { flex: 1 1 160px; width: auto; padding: 8px 8px; border: 0; box-shadow: none; background: transparent; }
.ob-tokens .ob-input:focus { box-shadow: none; }
.ob-token { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; animation: swap-in 260ms var(--ease) both; }
.ob-token button, .ob-x { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: inherit; }
.ob-token button:hover, .ob-x:hover { background: rgb(0 0 0 / 0.08); }
.ob-token svg, .ob-x svg { width: 12px; height: 12px; }
.ob-ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-idea { padding: 6px 11px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1.2 "DM Sans", system-ui, sans-serif; transition: color 140ms var(--ease), box-shadow 140ms var(--ease); }
.ob-idea:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--field-hover); }

.ob-boot { list-style: none; display: grid; gap: 4px; margin: 0; padding: 14px; border-radius: 14px; background: var(--bg-soft); }
.ob-boot li { display: flex; align-items: center; gap: 12px; padding: 8px 6px; color: var(--ink-soft); font-size: 15px; transition: color 200ms var(--ease); }
.ob-boot__dot { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: transparent; box-shadow: inset 0 0 0 1.5px var(--field-line); transition: background-color 220ms var(--ease), color 220ms var(--ease); }
.ob-boot__dot svg { width: 13px; height: 13px; }
.ob-boot li.is-active { color: var(--ink); }
.ob-boot li.is-active .ob-boot__dot { box-shadow: inset 0 0 0 2px var(--ink); animation: boot-ring 900ms linear infinite; }
.ob-boot li.is-done { color: var(--ink); }
.ob-boot li.is-done .ob-boot__dot { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
@keyframes boot-ring { 50% { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 6px var(--line); } }

.ob-tools { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.ob-tool { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 14px; background: var(--surface); border-radius: 16px; transition: box-shadow 180ms var(--ease); }
.ob-tool.is-on { box-shadow: 0 0 0 1.5px var(--ink); }
.ob-tool__text { display: grid; gap: 2px; min-width: 0; }
.ob-tool__text b { font-size: 15.5px; font-weight: 600; }
.ob-tool__text span { color: var(--ink-soft); font-size: 13.5px; line-height: 1.4; }
.ob-tool .btn { gap: 6px; min-width: 112px; }
.ob-tool .btn svg { width: 14px; height: 14px; }
.ob-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px rgb(22 19 15 / 0.1); color: #16130f; }
.ob-logo svg { width: 22px; height: 22px; }

.ob-invite { display: flex; gap: 8px; }
.ob-invite .ob-input { flex: 1; }
.ob-people { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.ob-people li { display: grid; grid-template-columns: 34px 1fr auto 24px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: var(--bg-soft); font-size: 15px; }
.ob-people li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ob-plans { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.ob-plan-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.ob-plan-card__text { display: grid; gap: 2px; min-width: 0; }
.ob-plan-card__text b { font-size: 15.5px; font-weight: 600; }
.ob-plan-card__text span { color: var(--ink-soft); font-size: 13.5px; }
.ob-plan-card__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ob-plan-card.is-on { box-shadow: 0 0 0 1.5px var(--ink); }
.ob-summary { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; }
.ob-summary li { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 16px; background: var(--bg-soft); animation: swap-in 420ms var(--ease) both; }
.ob-summary li:nth-child(2) { animation-delay: 80ms; }
.ob-summary li:nth-child(3) { animation-delay: 160ms; }
.ob-summary svg { width: 20px; height: 20px; color: var(--ink); }
.ob-summary span { display: grid; gap: 2px; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.ob-summary b { color: var(--ink); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ob-h3 { margin: 8px 0 -8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.ob-plan .choice { cursor: default; font-size: 16px; }
.ob-plan .choice > span:last-child { display: grid; gap: 2px; }
.ob-plan .choice b { color: var(--ink); font-weight: 600; }
.ob-plan .choice span span { font-size: 14px; color: var(--ink-soft); }

.ob-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 32px; }
.ob-back { width: 52px; height: 52px; padding: 0; border-radius: 12px; }
.ob-back svg { width: 18px; height: 18px; }
.ob-go { gap: 10px; margin-left: auto; border-radius: 12px; }
.ob-go svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.ob-go:not(:disabled):hover svg { transform: translateX(3px); }
.ob-go:disabled { opacity: 0.35; cursor: not-allowed; }
.ob-go.is-busy { opacity: 0.8; cursor: progress; }
.ob-go.is-busy svg { animation: nudge 900ms var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.ob-skip, .ob-restart { padding: 10px 8px; border: 0; cursor: pointer; background: transparent; color: var(--ink-soft); font: 500 14px/1 "DM Sans", system-ui, sans-serif; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 140ms var(--ease), text-decoration-color 140ms var(--ease); }
.ob-skip:hover, .ob-restart:hover { color: var(--ink); text-decoration-color: currentColor; }
.ob-restart { align-self: flex-end; margin-top: 12px; }

.ob-stage { position: relative; overflow: hidden; padding: 0; border-radius: 22px; isolation: isolate; perspective: 1600px; }
.ob-stage__field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.ob-shot {
  position: absolute; z-index: 1; top: 16%; left: 30%; width: 104%; margin: 0;
  border-radius: 14px; overflow: hidden; background: #0f0f10; box-shadow: var(--app-shadow), 0 40px 80px -30px rgb(0 0 0 / 0.55);
  transform-origin: left center;
  transform: translate(var(--drift-x, 0), var(--drift-y, 0)) rotateY(-14deg) rotateX(5deg);
  transition: transform 900ms var(--ease), left 900ms var(--ease), top 900ms var(--ease), width 900ms var(--ease), filter 600ms var(--ease);
  filter: saturate(0.9) brightness(0.92);
}
.ob-shot img { display: block; width: 100%; height: auto; }
.ob-stage:has(.ob-board[data-step="ready"]) .ob-shot { top: 22%; left: 40%; filter: none; transform: translate(var(--drift-x, 0), var(--drift-y, 0)) rotateY(-6deg) rotateX(2deg); }
.ob-stage__shade { position: absolute; inset: 0; z-index: 1; background: var(--shade); pointer-events: none; }
.ob-stage__caption { position: absolute; z-index: 2; left: clamp(24px, 3vw, 40px); top: clamp(22px, 3vw, 34px); max-width: 16ch; margin: 0; color: var(--caption); font-size: clamp(26px, 0.8rem + 1.6vw, 40px); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / 0.25); }
:root[data-theme="light"] .ob-stage__caption { text-shadow: 0 1px 18px rgb(255 255 255 / 0.6); }

.ob-board {
  position: absolute; z-index: 2; top: 56%; left: clamp(24px, 5%, 64px); width: min(340px, 46%);
  display: grid; gap: 10px;
  transform: translateY(-50%) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 5deg));
  transform-style: preserve-3d; transition: transform 700ms var(--ease);
}
.ob-card {
  position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px;
  color: var(--glass-soft); background: color-mix(in srgb, var(--glass) 55%, transparent);
  box-shadow: inset 0 0 0 1px var(--ghost-edge);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  outline: 1px dashed var(--ghost-edge); outline-offset: -1px;
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease), color 400ms var(--ease), translate 600ms var(--ease), outline-color 400ms var(--ease);
  animation: float 7s ease-in-out infinite alternate;
}
.ob-card:nth-child(2) { translate: 28px 0; animation-delay: -2s; }
.ob-card:nth-child(3) { translate: -14px 0; animation-delay: -4s; }
.ob-card:nth-child(4) { translate: 16px 0; animation-delay: -1s; }
.ob-card:nth-child(5) { translate: -10px 0; animation-delay: -3s; }
@keyframes float { from { transform: translateZ(0) translateY(-3px); } to { transform: translateZ(0) translateY(4px); } }
.ob-card.is-filled {
  color: var(--glass-ink); background: var(--glass); outline-color: transparent;
  box-shadow: inset 0 0 0 1px var(--glass-edge), var(--glass-shadow);
  animation: float 7s ease-in-out infinite alternate, land 700ms var(--ease) both;
}
@keyframes land { from { box-shadow: inset 0 0 0 1.5px var(--glass-ink), 0 0 0 8px var(--glass-edge), var(--glass-shadow); } }
.ob-card__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ob-card__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.ob-card__text span { font-size: 12.5px; color: var(--glass-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-card__kicker { width: 100%; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--glass-soft); }
.ob-card__line { width: 100%; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ob-card__line--clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ob-card:not(.is-filled) .ob-card__line, .ob-card:not(.is-filled) .ob-card__text b { color: var(--glass-soft); }

.ob-chips { display: flex; flex-wrap: wrap; gap: 5px; width: 100%; }
.ob-chips:empty { display: none; }
.ob-chip { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--glass-ink); background: rgb(127 127 127 / 0.16); animation: swap-in 300ms var(--ease) both; }
.ob-chip--ghost { color: var(--glass-soft); background: transparent; outline: 1px dashed var(--ghost-edge); outline-offset: -1px; box-shadow: none; }

.ob-avatar { position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; color: var(--ink); background: var(--bg-soft); font-size: 12.5px; font-weight: 700; }
.ob-avatar svg { width: 18px; height: 18px; }
.ob-avatar--lg { width: 42px; height: 42px; font-size: 15px; background: var(--btn); color: var(--btn-ink); }
.ob-avatar--lg svg { position: absolute; opacity: 0; }
.ob-card--you:not(.is-filled) .ob-avatar--lg { background: transparent; color: var(--glass-soft); outline: 1px dashed var(--ghost-edge); }
.ob-card--you:not(.is-filled) .ob-avatar--lg svg { opacity: 1; }
.ob-stack { display: flex; padding-left: 8px; }
.ob-stack .ob-avatar { margin-left: -8px; box-shadow: 0 0 0 2px var(--glass); background: #e9e4da; color: #16130f; animation: swap-in 320ms var(--ease) both; }
.ob-stack .ob-avatar--me { background: var(--btn); color: var(--btn-ink); }
.ob-stack .ob-avatar--agent { margin-left: 8px; background: #16130f; color: #f4f4f4; }
.ob-stack .ob-avatar--agent svg { width: 16px; height: 16px; }

.ob-card--computer { padding: 14px; }
.ob-box { display: grid; place-items: center; width: 48px; height: 58px; border-radius: 10px; background: linear-gradient(180deg, #23252b, #121317); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 10px 20px -8px rgb(0 0 0 / 0.6); color: #3a3c42; transition: color 600ms var(--ease), box-shadow 600ms var(--ease); }
.ob-box svg { width: 26px; height: 26px; }
.ob-card--computer.is-starting .ob-box { color: var(--accent); animation: power 1100ms ease-in-out infinite; }
.ob-card--computer.is-ready .ob-box { color: var(--accent); box-shadow: inset 0 0 0 1px rgb(244 184 96 / 0.35), 0 10px 20px -8px rgb(0 0 0 / 0.6); }
@keyframes power { 50% { color: #6b5532; } }
.ob-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--glass-soft); background: rgb(127 127 127 / 0.14); }
.ob-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.is-starting .ob-status { color: var(--glass-ink); }
.is-starting .ob-status i { animation: blink 700ms steps(2) infinite; }
.is-ready .ob-status { color: var(--ok); }
.is-ready .ob-status i { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
@keyframes blink { 50% { opacity: 0.15; } }

.ob-monos { display: flex; gap: 6px; }
.ob-monos .ob-logo { width: 34px; height: 34px; border-radius: 9px; opacity: 0.3; filter: grayscale(1); transform: scale(0.92); transition: opacity 300ms var(--ease), filter 300ms var(--ease), transform 300ms var(--ease); }
.ob-monos .ob-logo svg { width: 19px; height: 19px; }
.ob-monos .ob-logo.is-on { opacity: 1; filter: none; transform: none; }

.ob-board[data-step="ready"] .ob-card { translate: 0 0; }
.ob-board[data-step="ready"] .ob-card__line--clamp { -webkit-line-clamp: 1; }

.su-main { grid-template-columns: minmax(400px, 560px) 1fr; }
.su-panel { justify-content: safe center; }
.su-step { flex: none; }
.su-providers { display: grid; gap: 8px; }
.su-provider { gap: 12px; width: 100%; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--field-line); }
.su-provider svg { width: 20px; height: 20px; }
.su-or { display: flex; align-items: center; gap: 14px; margin: 4px 0; color: var(--ink-soft); font-size: 13px; }
.su-or::before, .su-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.su-wide { width: 100%; margin-left: 0; }
.su-token { font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; resize: vertical; }
.su-small { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.su-link { padding: 0; border: 0; cursor: pointer; background: transparent; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--field-line); text-underline-offset: 3px; }
.su-link:hover { text-decoration-color: currentColor; }
.su-code { display: grid; grid-template-columns: repeat(6, minmax(0, 56px)); gap: 8px; }
.su-digit { height: 64px; padding: 0; text-align: center; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.su-digit:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgb(244 184 96 / 0.22); }
.su-actions { padding-top: 8px; }
.su-board .ob-card:nth-child(2) { translate: 28px 0; }

@media (max-width: 1240px) {
  .ob-rail__label { display: none; }
  .ob-rail button { padding: 6px; }
  .ob-rail .is-on .ob-rail__label { display: inline; }
  .ob-rail .is-on button { padding-right: 12px; }
}
@media (max-width: 1100px) {
  .ob-main { grid-template-columns: minmax(400px, 520px) 1fr; }
  .ob-summary { grid-template-columns: 1fr; }
  .ob-board { width: min(320px, 52%); }
  .ob-stage__caption { display: none; }
  .ob-shot { top: 12%; left: 34%; }
}
@media (max-width: 960px) {
  .ob-main { display: flex; flex-direction: column; height: auto; min-height: 0; padding: 0 16px 24px; gap: 0; }
  .ob-stage { order: -1; height: 300px; flex: none; margin-top: 12px; }
  .ob-shot { top: 10%; left: 18%; width: 100%; transform: rotateY(-10deg) rotateX(4deg); }
  .ob-board { left: 50%; width: min(330px, calc(100% - 32px)); gap: 8px; transform: translate(-50%, -50%) scale(0.86); }
  .ob-board .ob-card { translate: 0 0; animation: none; }
  .ob-board .ob-card--craft, .ob-board .ob-card--brief, .ob-board .ob-card--tools { display: none; }
  .su-main .ob-stage { height: 200px; }
  .su-board { transform: translate(-50%, -50%) scale(0.8); }
  .ob-panel { overflow: visible; padding: 28px 0 8px; }
  .ob-progress { position: relative; top: 0; margin: -28px 0 28px; }
  .ob-actions { position: sticky; bottom: 0; z-index: 3; margin-inline: -16px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--bar-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .ob-hint { display: none; }
}
@media (max-width: 700px) {
  .ob-rail { display: none; }
  .ob-bar .btn--line { display: none; }
  .ob-stage { height: 240px; }
  .ob-board { transform: translate(-50%, -50%) scale(0.78); }
  .ob-row { grid-template-columns: 1fr; }
  .ob-tool { grid-template-columns: 40px 1fr; }
  .ob-tool .btn { grid-column: 1 / -1; }
  .ob-plan-card { grid-template-columns: 1fr auto; }
  .ob-plan-card .chip { grid-column: 1 / -1; justify-self: start; }
  .ob-go:not(a) { flex: 1; }
  .ob-skip { padding-inline: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .ob-card, .ob-card.is-filled, .ob-token, .ob-chip, .ob-summary li, .ob-stack .ob-avatar, .ob-boot li.is-active .ob-boot__dot, .ob-card--computer.is-starting .ob-box, .ob-go.is-busy svg { animation: none; }
  .ob-board, .ob-shot, .ob-progress span { transition: none; }
}
.su-wide { gap: 10px; }
.su-wide svg { width: 18px; height: 18px; }
