/* Spot Lab: shared, responsive workspace design. */
:root {
  color-scheme: dark;
  --bg: #10191f;
  --panel: #17242b;
  --panel-raised: #1b2a32;
  --line: #2b3c44;
  --text: #edf4f6;
  --muted: #9baeb7;
  --accent: #b9ee85;
  --positive: #b5ee95;
  --negative: #ff9b9e;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, .primary-nav, .table-wrap, .table-scroll { scrollbar-color: #475d66 transparent; scrollbar-width: thin; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 'Segoe UI', system-ui, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #e3ffc7; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ui-icon { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.skip-link { position: fixed; top: -70px; left: 24px; z-index: 2000; padding: 12px 20px; background: var(--accent); color: #162017; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; width: 232px; padding: 30px 18px 22px; background: #111d24; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: 1px; padding: 0 7px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 39px; border-radius: 11px; background: var(--accent); color: #203528; }
.brand-mark .ui-icon { width: 24px; height: 24px; }
.brand small { display: block; font-size: 9px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.primary-nav { display: grid; gap: 6px; margin-top: 42px; }
.app-sidebar nav a { display: flex; align-items: center; gap: 12px; color: #aebfc6; padding: 12px 14px; min-height: 46px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; transition: background .15s ease, color .15s ease; }
.app-sidebar nav a:hover { color: white; background: #1a2a33; }
.app-sidebar nav a.active { background: #293d34; color: #d1f6b0; border-color: #425843; }
.app-sidebar nav a.active .ui-icon { color: var(--accent); }
.aside-bottom { margin-top: auto; padding-top: 40px; }
.utility-nav { display: grid; gap: 4px; }
.app-sidebar .utility-nav a { font-size: 12px; }
.legacy-link { margin: 20px 12px 0; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
main { margin-left: 232px; padding: 0 40px; max-width: 1850px; min-width: 0; }
.app-header { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.workspace-label, .account-menu, .account-link { display: flex; align-items: center; gap: 10px; }
.workspace-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.account-menu { gap: 20px; }
.account-link { color: var(--text); font-size: 12px; }
.account-menu, .account-link { min-width: 0; }
.account-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #44534e; background: #263c34; border-radius: 50%; font-size: 11px; color: #d2efb9; }
.page-heading { margin: 34px 0 28px; }
.page-heading .eyebrow { margin: 0 0 8px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; color: var(--accent); font-weight: 700; }
h1, h2, h3, .metrics strong { overflow-wrap: anywhere; }
h1 { font-size: 36px; font-weight: 650; line-height: 1.2; margin: 8px 0 12px; letter-spacing: -1.2px; }
h2 { font-size: 18px; line-height: 1.4; letter-spacing: -.3px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 600; }
.page-subtitle, .section-caption { color: var(--muted); font-size: 13px; margin: 9px 0 0; }
.section-caption { font-size: 11px; margin-top: 3px; }
.muted, small { color: var(--muted); }
.dot { color: var(--accent); }
.split, .section-title, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title, .section-heading { margin-bottom: 18px; }
.section-title h2, .section-heading h2 { margin: 0; }
.section-title > a, .section-heading > a { font-size: 12px; }
section, .surface { margin: 24px 0; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
section h2:first-child { margin-top: 0; }
section section { background: transparent; }
.metrics, .metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.metrics article, .metric-grid > article { padding: 23px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.metrics article.metric-featured { background: linear-gradient(125deg,#203b35,#1c2c31); border-color: #3e574b; }
.metrics small { display: block; }
.metrics strong { display: block; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -1px; margin: 12px 0 5px; line-height: 1.35; }
.metrics em { font-size: 13px; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.metrics span { font-size: 11px; color: var(--muted); }
.metric-label { color: var(--muted); font-size: 12px; }
.heading-help, .metric-label { display: flex; align-items: center; gap: 9px; min-width: 0; }
.heading-help h1, .heading-help h2 { margin: 0; }
.page-heading .badge { margin-top: 12px; }
.profit-positive { color: var(--positive); }
.profit-negative { color: var(--negative); }
.position-open { color: #d1efb5; font-size: 12px; }
button, .button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 40px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: #1a2a1b; font: 600 12px/1.5 'Segoe UI',system-ui,sans-serif; cursor: pointer; text-align: center; transition: background .15s ease; }
button:hover, .button:hover { background: #d1f7ac; color: #14230f; }
button:disabled { cursor: not-allowed; opacity: .5; }
.secondary { background: #22333c; color: #d8e4e9; border-color: #40535e; }
.secondary:hover { color: white; background: #304550; }
.plain { background: transparent; color: var(--muted); padding: 4px 0; min-height: 32px; font-size: 11px; border: none; }
.plain:hover { background: transparent; color: var(--text); }
.danger { border: 1px solid #774c50; background: #432d34; color: #ffc0c0; }
.danger:hover { background: #603940; color: #fff; }
.actions, .page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge, .status-pill { display: inline-flex; align-items: center; border: 1px solid #3b5547; border-radius: 6px; padding: 3px 8px; color: #c3e7a8; font-size: 10px; line-height: 1.7; width: fit-content; }
.status-pill { background: #263b36; border-color: transparent; font-size: 11px; white-space: normal; }
.status-paused { background: #393b30; color: #ded4a9; }
.status-error { background: #442f33; color: #ffb0a8; }
.status-warning { color: #ffcb9d; background: #493b2929; border-left: 3px solid #bd9363; padding: 9px 13px; font-size: 12px; }
.notice { padding: 13px 18px; background: #243d31; border: 1px solid #45684c; border-radius: 10px; margin-top: 20px; }
.errorlist, .error { color: #ffb5ad; }
.errorlist { padding-left: 19px; font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,255px),1fr)); gap: 16px; }
.card { position: relative; display: block; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-raised); color: var(--text); }
a.card:hover { border-color: #6b8862; background: #20343b; }
.card p { color: var(--muted); font-size: 13px; }
.card small { font-size: 11px; }
.arrow { position: absolute; right: 20px; bottom: 18px; color: var(--accent); }
.empty, .empty-state { padding: 34px 24px; color: var(--muted); }
.empty h2, .empty-state h2, .empty-state h3 { color: var(--text); }
.compact-empty { padding: 8px 0 12px; }
.compact-empty p { margin-top: 0; }
.count-badge { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 6px; }
.strategy-list { display: grid; }
.strategy-row { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.strategy-row:last-child { border-bottom: 0; }
.strategy-row:hover { color: white; }
.strategy-row:hover .strategy-icon { background: #344e3c; }
.strategy-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; background: #233932; border: 1px solid #375344; border-radius: 10px; color: var(--accent); }
.strategy-main { min-width: 0; flex: 1; }
.strategy-main strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.strategy-main small, .subline { display: block; font-size: 11px; margin-top: 3px; }
.row-arrow { color: var(--accent); padding: 0 8px; }
.row-name { font-weight: 600; }
.home-workspace-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 20px; }
.home-workspace-grid > section { margin: 0; }
.explore-panel .eyebrow { margin-top: 0; color: var(--muted); font-size: 9px; }
.explore-link { display: flex; align-items: center; gap: 13px; padding: 17px 0; color: var(--text); }
.explore-link + .explore-link { border-top: 1px solid var(--line); }
.explore-link > div { flex: 1; min-width: 0; }
.explore-link h3 { margin: 0 0 4px; font-size: 14px; }
.explore-link p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.explore-link > span:last-child { color: var(--accent); }
.explore-icon { padding: 9px; border-radius: 10px; background: #263840; color: #bdd2dd; }
.welcome-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; padding: 32px; background: linear-gradient(115deg,#233b34,#17242d 75%); border-color: #385144; }
.welcome-copy h2 { font-size: 27px; max-width: 400px; line-height: 1.25; margin: 18px 0 12px; }
.welcome-copy p { color: #afc0c4; max-width: 440px; font-size: 13px; }
.welcome-copy .button { margin-top: 10px; }
ol.workflow-steps { padding: 0; margin: 5px 0; list-style: none; display: grid; align-content: center; gap: 22px; }
.workflow-steps li { display: flex; gap: 16px; align-items: center; }
.workflow-steps li > span { color: #96b299; font-size: 13px; border: 1px solid #486052; border-radius: 50%; width: 35px; height: 35px; display: grid; place-items: center; flex-shrink: 0; }
.workflow-steps strong, .workflow-steps small { display: block; }
.workflow-steps small { font-size: 11px; margin-top: 2px; }
.table-wrap, .table-scroll { max-width: 100%; overflow-x: auto; border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
td, th { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 10px; letter-spacing: .35px; color: var(--muted); font-weight: 500; background: #13212855; }
td:first-child, th:first-child { padding-left: 8px; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #21323c55; }
table .row-name { white-space: normal; overflow-wrap: anywhere; min-width: 100px; display: inline-block; }
.table-scroll table { min-width: 640px; }
form p { margin: 0 0 20px; }
.form-panel { max-width: 800px; }
label { display: block; margin-bottom: 7px; font-size: 12px; }
input, textarea, select { display: block; background: #101e26; color: var(--text); padding: 11px 12px; border: 1px solid #40555f; border-radius: 8px; width: 100%; min-width: 0; font: 13px/1.45 'Segoe UI',system-ui,sans-serif; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
input[type=checkbox], input[type=radio] { display: inline; width: auto; accent-color: var(--accent); }
textarea { font: 12px/1.6 Consolas,monospace; resize: vertical; }
.helptext { font-size: 11px; color: var(--muted); }
.form-field { margin-bottom: 18px; }
.field-label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.field-label > label { margin: 0; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.two-col > * { min-width: 0; }
.two-col section { margin-top: 0; }
.version { border-top: 1px solid var(--line); padding: 20px 0; }
.version:first-of-type { border-top: 0; }
details { font-size: 12px; }
summary { cursor: pointer; color: #c0d0d7; padding: 3px 0; line-height: 1.7; }
summary:hover { color: var(--text); }
details[open] > summary { margin-bottom: 18px; }
.detail-disclosure { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #15222a; margin: 20px 0; }
section .detail-disclosure { background: #132028; }
.recent-jobs summary { font-size: 13px; }
.compact-intro { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.facts p { font-size: 11px; color: var(--muted); min-width: 0; }
.facts b { display: block; color: var(--text); font-size: 15px; overflow-wrap: anywhere; }
progress { width: 100%; height: 7px; accent-color: var(--accent); margin-bottom: 20px; }
canvas, .paper-equity-chart { display: block; width: 100%; height: 280px; }
code { word-break: break-all; font-size: 12px; }
pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.auth { max-width: 470px; margin: 60px auto; }
footer { display: flex; justify-content: space-between; gap: 20px; color: #7f949f; font-size: 10px; padding: 28px 0; }
footer a { color: #9aadb5; }
.footer-dot { margin: 0 8px; }
/* Small contextual help, usable with pointer, keyboard and touch. */
.help-tip { display: inline-flex; position: relative; vertical-align: middle; flex-shrink: 0; line-height: 1; }
.help-trigger { display: inline-grid; place-items: center; width: 19px; height: 19px; min-width: 19px; min-height: 19px; padding: 0; border: 1px solid #61778188; border-radius: 50%; background: transparent; color: #a9bec7; font: 500 11px/1 'Segoe UI',sans-serif; cursor: help; }
.help-trigger:hover, .help-trigger[aria-expanded=true] { color: #e0f6d2; background: #5a793644; border-color: var(--accent); }
.help-tip .help-popover { position: fixed; z-index: 1000; display: block; width: 320px; max-width: calc(100vw - 24px); padding: 14px 16px; border: 1px solid #9dc5bf55; border-radius: 12px; background: rgba(31,49,58,.93); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 38px #0008; color: var(--text); font: 400 12px/1.6 'Segoe UI',sans-serif; letter-spacing: 0; white-space: normal; text-align: left; overflow: auto; cursor: default; }
.help-popover p { margin: 0 0 8px; font-size: inherit; color: inherit; }
.help-popover p:last-child { margin-bottom: 0; }
/* Rule editor and resource details. */
.builder-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.builder-comparison > label { grid-column: 1/-1; grid-row: 2; }
.builder-operand label { margin-bottom: 12px; }
#builder-fields fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 16px 0; min-width: 0; }
#builder-fields legend { font-size: 12px; color: var(--accent); padding: 0 7px; }
#rule-builder + .actions { margin-top: 16px; }
#builder-fields > fieldset > label { margin-bottom: 15px; }
#rule-builder { margin-bottom: 28px; }
.quota-panel { padding: 18px 22px; }
.quota-panel h2 { font-size: 16px; }
.quota-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) minmax(220px,2fr); gap: 16px; margin: 18px 0 0; }
.quota-grid > div { min-width: 0; }
.quota-grid dt { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.quota-grid dd { margin: 4px 0 0; font-size: 22px; overflow-wrap: anywhere; }
.quota-grid dd small, .quota-storage > small { font-size: 11px; }
.quota-storage > small { display: block; }
/* Arena. */
.arena-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,330px); gap: 22px; align-items: start; }
.arena-round-card { background: linear-gradient(150deg,#243d34,#192931); border-color: #3f5648; }
.arena-round-picker .actions { flex-wrap: nowrap; }
.arena-round-picker select { min-width: 0; }
.arena-enrollment button { width: 100%; }
.arena-entry-profit { font-size: 28px; letter-spacing: -.7px; margin: 15px 0 5px; font-variant-numeric: tabular-nums; }
.arena-rank { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border: 1px solid #496046; border-radius: 8px; color: #d1efb5; background: #2b4035; }
.arena-detail-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
.arena-detail-metrics strong { font-size: 25px; }
.arena-status-note { color: var(--muted); font-size: 12px; }
.arena-pagination { align-items: center; }
.arena-leaderboard .section-title { flex-wrap: wrap; }
.arena-round-picker { min-width: 0; max-width: 100%; }
.editor-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,300px); gap: 22px; align-items: start; }
.editor-layout > *, .strategy-info { min-width: 0; }
.editor-layout > section, .strategy-sidebar section { margin-top: 0; }
.strategy-sidebar { position: sticky; top: 24px; }
.strategy-sidebar section { padding: 20px; }
.strategy-sidebar .button, .strategy-sidebar form > button { width: 100%; }
.strategy-sidebar .help-tip { margin: 7px 0; }
.strategy-version summary small { display: block; font-size: 11px; }
.strategy-version p { margin: 12px 0; }
.strategy-version .quiet-details { padding: 12px 0 0; border-width: 1px 0 0; border-radius: 0; background: transparent; }
.strategy-info { flex: 1; }.strategy-info h3 { margin: 6px 0 4px; font-size: 16px; }.strategy-info p { margin: 4px 0; font-size: 12px; }
article.strategy-row { justify-content: space-between; gap: 20px; padding: 20px 0; align-items: center; }
.count-label { font-size: 12px; color: var(--muted); margin-left: 6px; }
.back-link { display: inline-block; font-size: 12px; margin-bottom: 15px; color: var(--muted); }
div.workflow-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; font-size: 11px; color: var(--muted); }
div.workflow-steps > span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; }
div.workflow-steps .current { background: #293e35; border-color: #4b644a; color: #d0efb7; }
.builder-step + .builder-step { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 12px; }
.builder-step h3 { display: flex; align-items: center; gap: 8px; }
.builder-summary { background: #263d343b; border-left: 2px solid #769b62; color: #c0d4c6; padding: 10px 13px; font-size: 11px; overflow-wrap: anywhere; }
.builder-savebar { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.builder-savebar > span { font-size: 11px; }
.quiet-details { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #12202955; margin: 20px 0; }
.quiet-details:last-child { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 20px; }
.form-grid .form-field { margin-bottom: 8px; }
.run-panel { max-width: 900px; }
.strategy-contract dt { color: #d4e5e7; margin-top: 16px; font-weight: 600; }.strategy-contract dd { color: var(--muted); margin: 4px 0 0; }
.builder-operand-advanced { margin: 12px 0; }.builder-operand-advanced summary { font-size: 11px; }
@media (min-width:1500px) { main { padding-left: 54px; padding-right: 54px; } }
@media (max-width:1150px) {
  .app-sidebar { width: 210px; padding-left: 12px; padding-right: 12px; }
  main { margin-left: 210px; padding: 0 26px; }
  .brand { font-size: 17px; gap: 9px; }.brand small { font-size: 8px; }
  .two-col { grid-template-columns: 1fr; }
  .editor-layout { grid-template-columns: 1fr; }.strategy-sidebar { position: static; }
  .metrics strong { font-size: 25px; }
  .quota-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.quota-storage { grid-column: 1/-1; }
  .arena-layout { grid-template-columns: minmax(0,1fr) minmax(230px,280px); gap: 16px; }
  .arena-layout section { padding: 19px; }
}
@media (max-width:950px) {
  .arena-layout { grid-template-columns: 1fr; gap: 0; }
  .arena-layout .arena-round-card { margin-top: 0; }
  .home-workspace-grid { grid-template-columns: 1fr; }
  .arena-detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .app-sidebar { position: static; width: auto; padding: 20px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand { font-size: 18px; padding: 0; }.brand small { font-size: 9px; }
  .primary-nav { display: flex; overflow-x: auto; gap: 5px; margin: 20px -5px 0; padding: 0 5px 12px; }
  .app-sidebar nav a { padding: 9px 12px; min-height: 38px; font-size: 12px; gap: 7px; white-space: nowrap; }
  .app-sidebar nav a .ui-icon { width: 17px; height: 17px; }
  .aside-bottom { margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .utility-nav { display: flex; gap: 4px; }.app-sidebar .utility-nav a { font-size: 10px; padding: 8px 4px; border: 0; background: transparent; gap: 5px; }
  .app-sidebar .utility-nav a .ui-icon { width: 14px; height: 14px; }
  .legacy-link { margin: 0; padding: 8px 0; border: 0; gap: 4px; font-size: 9px; }
  main { margin: 0; padding: 0 18px; }
  .app-header { height: 60px; font-size: 10px; gap: 8px; }.account-menu { gap: 10px; }.account-link { font-size: 10px; gap: 6px; }.avatar { width: 25px; height: 25px; }
  .workspace-label { gap: 6px; }.app-header .plain { font-size: 10px; }
  .account-name { max-width: 90px; }
  h1 { font-size: 30px; letter-spacing: -.9px; }
  .page-heading { margin: 26px 0 22px; gap: 18px; }.page-subtitle { font-size: 12px; }
  .split { align-items: flex-start; flex-direction: column; }
  .section-title, .section-heading { flex-wrap: wrap; gap: 12px; }
  section, .surface { padding: 18px; border-radius: 13px; }
  .metrics, .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .dashboard-metrics article:last-child { grid-column: 1/-1; }
  .metrics article { padding: 17px; }.metrics strong { font-size: 25px; }.metrics em { font-size: 11px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .help-trigger { width: 23px; height: 23px; min-width: 23px; min-height: 23px; }
  .welcome-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }.welcome-copy h2 { font-size: 24px; }.workflow-steps { gap: 18px; }
  .builder-comparison { grid-template-columns: 1fr; }.builder-comparison > label { grid-row: auto; }
  article.strategy-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }.quiet-details { padding: 14px; }
  .builder-savebar, .builder-savebar .actions { width: 100%; }.builder-savebar .actions button { flex: 1; }
  .quota-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .auth { margin: 30px 0; }.actions .button, .actions button { min-height: 40px; }
}
@media (max-width:420px) {
  .metrics, .metric-grid { grid-template-columns: 1fr; }
  .dashboard-metrics article:last-child { grid-column: auto; }
  .utility-nav a .ui-icon { display: none; }
  .workspace-label .workspace-dot { display: none; }
  .account-link .avatar { display: none; }
  .arena-round-picker .actions { flex-wrap: wrap; }
  .page-heading > .button { width: 100%; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
