/* ArrowEdge game-day desk. Presentation only: feed, ranking and tracking stay unchanged. */
:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --raised: #eee9df;
  --ink: #271b1c;
  --sub: #746968;
  --line: #e3ddd2;
  --accent: #bd202e;
  --accent-soft: #bd202e0a;
  --accent-border: #bd202e33;
  --brand-red: #c82030;
  --brand-yellow: #ffd13f;
  --sidebar: #271719;
  --radius: 16px;
  --desk-shadow: 0 4px 20px #311a1406;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme='dark'] {
  --bg: #191516;
  --paper: #241e20;
  --raised: #302729;
  --ink: #fff8ec;
  --sub: #c1b0ac;
  --line: #413437;
  --accent: #ffd13f;
  --accent-soft: #ffd13f0b;
  --accent-border: #ffd13f40;
  --sidebar: #1e1517;
  --desk-shadow: none;
}
:root .sidebar {
  width: 226px;
  padding: 32px 18px 24px;
  background: var(--sidebar);
  border-right: 1px solid #ffffff08;
  overflow-y: auto;
}
.sidebar > * {
  flex-shrink: 0;
}
.app-shell {
  margin-left: 226px;
}
.brand {
  gap: 9px;
  margin: 0 4px 47px;
}
.brand-mascot {
  width: 39px;
  height: 46px;
}
.brand strong {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -1.3px;
}
.brand-sub {
  margin-top: 4px;
  color: #b79c98;
  font-size: 8px;
  letter-spacing: 1.35px;
}
.nav-label {
  padding: 0 15px 13px;
  margin: 0;
  color: #a88e89;
  font-size: 9px;
  letter-spacing: 1.8px;
}
:root .nav-link {
  position: relative;
  min-height: 49px;
  padding: 13px 15px;
  margin: 5px 0;
  border-radius: 10px;
  color: #dfcbc4;
  font-weight: 600;
  font-size: 13px;
}
:root .nav-link.active {
  background: #c82030;
  color: #fff7e7;
}
.nav-link.active:before {
  position: absolute;
  left: -18px;
  top: 15px;
  bottom: 15px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-yellow);
  content: '';
}
:root .nav-link:hover:not(.active) {
  background: #ffffff09;
  color: #fff;
}
:root .nav-count,
:root .nav-link.active .nav-count {
  background: #ffffff12;
  color: #fff7e7;
}
.sidebar .practice-note {
  display: block;
  padding: 16px;
  margin-bottom: 20px;
  background: #ffffff03;
  border: 1px solid #ffffff10;
  border-radius: 12px;
}
.practice-note p {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.practice-note > span:last-child {
  font-size: 10px;
  color: #c4aba1;
}
.mini-badge {
  font-size: 8px;
  letter-spacing: 1.4px;
}
.sidebar-tool {
  min-height: 44px;
  font-size: 12px;
  color: #c9b2aa;
}
.sidebar-version {
  color: #a58c86;
}
:root .masthead {
  height: 72px;
  padding-inline: 36px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.desktop-location {
  font-size: 12px;
}
.desktop-location > span {
  color: var(--sub);
  opacity: 0.5;
}
.head-actions {
  gap: 10px;
}
.head-actions .chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--paper);
  color: var(--sub);
  font-size: 10px;
}
.head-actions .chip.connected:before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #738a4d;
  content: '';
}
.head-actions .quiet {
  min-height: 44px;
  font-size: 12px;
}
:root .theme-toggle,
:root .header-help {
  border-radius: 50%;
  background: transparent;
}
.page-content {
  max-width: 1320px;
  padding: 30px 36px 0;
  margin-inline: auto;
}
.page-heading {
  margin-bottom: 25px;
}
.page-heading h1 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.045em;
}
.desk-welcome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  isolation: isolate;
  overflow: hidden;
  min-height: 178px;
  padding: 28px 34px;
  border: 1px solid #5d242b;
  border-radius: 18px;
  background: #361b20;
  color: #fff7e7;
}
.desk-welcome:after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 60%;
  background: #c82030;
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  content: '';
}
.desk-welcome-copy {
  position: relative;
  z-index: 1;
}
.desk-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e6c8b3;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.7px;
}
.desk-kicker > span {
  display: inline-block;
  width: 13px;
  height: 8px;
  background: var(--brand-yellow);
  clip-path: polygon(0 25%, 65% 25%, 65% 0, 100% 50%, 65% 100%, 65% 75%, 0 75%);
}
.desk-welcome h2 {
  margin-top: 13px;
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 850;
  letter-spacing: -2px;
  line-height: 1.06;
}
.desk-welcome h2 span {
  color: var(--brand-yellow);
}
.desk-welcome-sub {
  margin-top: 12px;
  color: #e8d3c8;
  font-size: 13px;
}
.desk-welcome-art {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
}
.desk-welcome-art img {
  position: absolute;
  z-index: 1;
  right: 33%;
  top: 20px;
  width: 101px;
  height: 122px;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(5px 9px 0 #3b111c35);
}
.mascot-halo {
  position: absolute;
  right: 25%;
  top: 15px;
  width: 148px;
  height: 148px;
  border: 1px solid #ffd13f40;
  border-radius: 50%;
}
.field-line {
  position: absolute;
  top: -20%;
  height: 140%;
  width: 1px;
  background: #fff6e51a;
  transform: rotate(16deg);
}
.field-line-one {
  right: 17%;
}
.field-line-two {
  right: 45%;
}
.field-line-three {
  right: 73%;
}
.desk-art-label {
  position: absolute;
  bottom: 15px;
  right: 31%;
  color: #ffe4ad;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.9px;
}
.desk-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  min-height: 50px;
  color: var(--sub);
  font-size: 11px;
}
.desk-utility strong {
  color: var(--ink);
  font-weight: 600;
}
.desk-utility button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
}
.desk-utility button > span {
  font-size: 18px;
}
body:not([data-view='desk']) :is(.desk-welcome, .desk-utility) {
  display: none;
}
:root body:is([data-view='desk'], [data-view='markets']) #sectionPanel > .controls {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--desk-shadow);
}
.control-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.controls .control-title h2 {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
.control-league {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--sub);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.controls .ticket-main-controls {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.45fr);
  gap: 10px;
}
.controls :is(.ticket-main-controls, .ticket-date-controls) label {
  gap: 7px;
  font-size: 11px;
  font-weight: 650;
}
.controls :is(select, input[type='date'], input[type='number']) {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
}
.controls .props-control {
  font-size: 11px;
  line-height: 1.4;
}
.controls .live-odds-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.controls #liveOddsHelp {
  grid-column: 1 / -1;
  margin-top: 0;
}
.controls .live-odds-button {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
}
.controls .live-odds-button[aria-pressed='true'] {
  border-color: var(--accent);
}
.controls #ticketDateSummary {
  grid-column: 1 / -1;
  margin: 0;
}
.controls .ticket-options > summary {
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
}
.controls .ticket-options[open] {
  padding-top: 12px;
}
.controls .ticket-date-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin: 2px 0 16px;
}
.controls .ticket-date-controls input {
  width: 100%;
  font-size: 13px;
}
.ticket-options .preset {
  border-radius: 7px;
  font-size: 11px;
}
.controls .field-help {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
}
.section-kicker {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.candidates-section > .section-heading {
  margin-bottom: 12px;
  align-items: center;
}
.candidates-section h2 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.count {
  padding: 3px 7px;
  background: var(--raised);
  color: var(--sub);
  font-size: 11px;
  vertical-align: middle;
}
.candidates-section .refresh-countdown {
  margin-top: 6px;
  color: var(--sub);
  font-size: 10px;
}
.candidates-section .range-label {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--sub);
  font-size: 10px;
}
#showAllSingles,
#allTicketIdeas {
  min-height: 44px;
  padding-top: 0;
  font-size: 11px;
}
:root #candidates .suggestion-list {
  gap: 14px;
  padding: 0 3px 3px 0;
  max-block-size: 800px;
  scrollbar-color: var(--line) transparent;
}
:root #candidates :is(.ticket, .suggestion-card) {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--desk-shadow);
}
:root #candidates .suggestion-card:has(.suggestion-best) {
  border-color: var(--accent-border);
  border-top: 3px solid var(--brand-red);
}
.suggestion-heading {
  gap: 20px;
}
.suggestion-heading > div:not(.suggestion-price-wrap) {
  gap: 5px;
}
.suggestion-heading > div > strong {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.45px;
}
.suggestion-selection {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
.suggestion-heading small {
  margin-top: 2px;
  font-size: 10px;
}
.suggestion-heading .suggestion-price-wrap {
  flex: none;
  min-width: 76px;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  text-align: center;
}
.suggestion-price-wrap > span {
  color: var(--sub);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.suggestion-heading .suggestion-price {
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.suggestion-preview {
  margin: 11px 0 4px;
  font-size: 11px;
  line-height: 1.6;
}
.suggestion-model {
  font-size: 11px;
  line-height: 1.6;
}
.suggestion-model.suggestion-best {
  margin: -3px 0 15px;
  color: var(--sub);
  font-size: 10px;
}
.suggestion-best strong {
  display: inline-block;
  padding: 4px 7px;
  margin: 0 4px 4px 0;
  border-radius: 4px;
  background: var(--brand-yellow);
  color: #382311;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.55px;
}
.suggestion-confidence {
  padding: 11px 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-yellow);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.suggestion-return {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}
.suggestion-legs {
  margin-top: 14px;
}
.suggestion-leg {
  padding: 13px 0;
}
.suggestion-leg > div > strong {
  font-size: 13px;
}
.suggestion-leg .formula-confidence {
  color: var(--accent);
  font-size: 12px;
}
.suggestion-details > summary {
  display: list-item;
  min-height: 44px;
  padding-block: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.suggestion-details {
  margin-top: 12px;
}
:root #candidates .suggestion-add {
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 17px;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}
:root #candidates .suggestion-card:has(.suggestion-best) .suggestion-add {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff8eb;
}
:root #candidates .empty-state {
  min-height: 180px;
  padding: 25px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--paper);
}
#candidates .empty-state h3 {
  font-size: 18px;
}
#candidates .empty-state p {
  max-width: 46ch;
  margin-top: 4px;
  font-size: 12px;
}
.ticket-ideas-info {
  margin-top: 8px;
}
.ticket-ideas-info > summary {
  font-size: 11px;
}
:root .slate-wrap {
  padding-top: 22px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
}
.slate-heading {
  margin-bottom: 14px;
}
.slate-heading .eyebrow {
  color: var(--ink);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.3px;
}
.slate-count {
  color: var(--sub);
  font-size: 11px;
}
.date-tools input {
  background: var(--paper);
  border-radius: 7px;
  font-size: 12px;
}
:root #gameBoard.game-board {
  gap: 10px;
}
:root #gameBoard > .game-matchup.game-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
:root #gameBoard .game-matchup-select {
  padding: 15px;
}
.game-compact-main {
  gap: 9px;
}
.game-compact-team > strong {
  font-size: 14px;
}
:root #gameBoard .game-matchup-status {
  font-size: 10px;
  margin-bottom: 11px;
}
:root #gameBoard .game-compact-status {
  margin-top: 10px;
}
:root #gameBoard .game-matchup-research {
  padding: 12px 15px;
}
:root #gameBoard .game-best-pick .best-pick-label {
  font-size: 8px;
  letter-spacing: 1px;
}
:root #gameBoard .game-best-pick .best-pick-details > strong {
  font-size: 13px;
}
.feed-line {
  padding-top: 12px;
  color: var(--sub);
  font-size: 10px;
}
:root .daily-panel {
  padding: 24px;
  border-radius: 16px;
  border-top: 3px solid var(--brand-yellow);
  background: var(--paper);
}
:root .daily-panel .daily-heading h2 {
  font-size: 25px;
  font-weight: 800;
}
:root .daily-panel .daily-empty {
  padding: 20px;
}
.home-actions {
  gap: 12px;
}
.home-action {
  min-height: 86px;
  padding: 17px;
  border-radius: 12px;
  background: var(--paper);
}
.home-action strong {
  font-size: 13px;
}
.home-action span {
  font-size: 11px;
}
:root :is(.tracker-panel, .prediction-log, .practice-research, .market-panel) {
  border-radius: 16px;
  border-color: var(--line);
}
.tracker-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.tracker-heading h2 {
  margin-top: 6px;
  font-size: 25px;
}
.tracker-heading .small {
  margin-top: 9px;
  max-width: 55ch;
  line-height: 1.7;
  font-size: 12px;
}
.tracker-empty {
  padding: 36px 22px;
  min-height: 220px;
  border: 0;
  background: transparent;
}
.tracker-empty-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--accent);
  font-size: 31px;
}
:root .dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
}
:root .button.primary {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff8e8;
  border-radius: 8px;
}
:root .button.primary:hover {
  background: #af1525;
  color: #fff8e8;
}
:root :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
footer {
  margin-top: 30px;
  padding-top: 20px;
  font-size: 10px;
  line-height: 1.7;
}
/* Two useful columns, never an empty side rail. Preserve DOM order on phones. */
@media (min-width: 1100px) {
  body:is([data-view='desk'], [data-view='markets']) #sectionPanel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 282px;
    gap: 0 24px;
    align-items: start;
  }
  body:is([data-view='desk'], [data-view='markets']) #sectionPanel > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
  :root body:is([data-view='desk'], [data-view='markets']) #sectionPanel > .controls {
    grid-column: 2;
    grid-row: 1;
    margin-top: 5px;
    padding: 18px;
    gap: 10px;
  }
  body:is([data-view='desk'], [data-view='markets']) #sectionPanel > .candidates-section {
    grid-column: 1;
    grid-row: 1;
  }
  .controls .ticket-main-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .controls .control-title {
    margin-bottom: 8px;
  }
  .controls .props-control,
  .controls .ticket-options {
    grid-column: 1 / -1;
  }
  .controls .props-control {
    font-size: 12px;
  }
  .controls .ticket-options > summary {
    text-align: left;
    border-top: 1px solid var(--line);
    font-size: 12px;
  }
  .controls .ticket-options[open] {
    padding-top: 0;
    border: 0;
  }
}
@media (min-width: 801px) and (max-width: 1099px) {
  :root .sidebar {
    width: 190px;
    padding-inline: 14px;
  }
  .app-shell {
    margin-left: 190px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand-mascot {
    width: 32px;
    height: 39px;
  }
  .brand-sub {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .page-content {
    padding-inline: 26px;
  }
  .desk-welcome {
    padding-inline: 26px;
  }
  .desk-welcome h2 {
    font-size: 39px;
  }
}
@media (max-width: 800px) {
  :root .sidebar {
    display: none;
  }
  .app-shell {
    margin-left: 0;
  }
  :root .masthead {
    height: 66px;
    padding-inline: 18px;
    background: var(--bg);
  }
  .header-brand-mobile {
    gap: 7px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
  }
  .header-brand-mobile img {
    width: 28px;
    height: 34px;
  }
  .header-brand-mobile strong {
    color: var(--brand-red);
  }
  :root[data-theme='dark'] .header-brand-mobile strong {
    color: var(--brand-yellow);
  }
  .head-actions {
    gap: 5px;
  }
  .head-actions .quiet {
    font-size: 10px;
    padding-inline: 7px;
  }
  .head-actions .chip {
    display: none;
  }
  .masthead .theme-toggle {
    width: 38px;
    min-height: 38px;
    padding: 9px;
  }
  .header-help {
    display: none;
  }
  .page-content {
    padding: 18px 18px 102px;
  }
  .desk-welcome {
    min-height: 150px;
    padding: 24px;
    border-radius: 14px;
  }
  .desk-welcome h2 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  .desk-welcome-sub {
    font-size: 12px;
  }
  .desk-welcome-art {
    width: 39%;
  }
  .desk-welcome-art img {
    width: 84px;
    height: 102px;
    right: 20%;
    top: 23px;
  }
  .mascot-halo {
    width: 118px;
    height: 118px;
    right: 10%;
    top: 16px;
  }
  .desk-art-label {
    display: none;
  }
  :root .mobile-nav {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 7px 5px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
    box-shadow: 0 5px 30px #2413171c;
  }
  :root .mobile-nav .mobile-nav-link {
    min-height: 47px;
    gap: 4px;
    font-size: 9px;
    font-weight: 700;
  }
  :root .mobile-nav .mobile-nav-link.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 9px;
  }
  .mobile-nav-link svg {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 480px) {
  .page-content {
    padding: 14px 14px 100px;
  }
  .desk-welcome {
    min-height: 132px;
    padding: 22px 20px;
  }
  .desk-kicker {
    font-size: 7px;
    letter-spacing: 1.2px;
    gap: 5px;
  }
  .desk-welcome h2 {
    margin-top: 11px;
    font-size: 33px;
    letter-spacing: -1.6px;
  }
  .desk-welcome-sub {
    margin-top: 10px;
    max-width: 24ch;
    font-size: 10px;
  }
  .desk-welcome:after {
    left: 65%;
  }
  .desk-welcome-art {
    width: 34%;
  }
  .desk-welcome-art img {
    width: 66px;
    height: 82px;
    top: 27px;
    right: 17%;
  }
  .mascot-halo {
    width: 96px;
    height: 96px;
    right: 3%;
    top: 20px;
  }
  .desk-utility {
    margin-bottom: 10px;
    min-height: 45px;
    font-size: 10px;
  }
  .desk-utility button {
    font-size: 10px;
    gap: 8px;
  }
  :root body:is([data-view='desk'], [data-view='markets']) #sectionPanel > .controls {
    padding: 14px;
    gap: 8px;
    margin-bottom: 23px;
    border-radius: 12px;
  }
  .controls .control-title {
    margin-bottom: 2px;
  }
  .controls .control-title h2 {
    font-size: 14px;
  }
  .controls .ticket-main-controls {
    gap: 8px;
  }
  .controls :is(select, input[type='date'], input[type='number']) {
    min-height: 44px;
    font-size: 12px;
    padding-inline: 10px;
  }
  .controls .props-control,
  .controls .ticket-options > summary {
    font-size: 10px;
  }
  .controls .props-control {
    gap: 7px;
  }
  .candidates-section h2 {
    font-size: 23px;
  }
  .candidates-section .refresh-countdown {
    max-width: 34ch;
    line-height: 1.5;
  }
  .section-kicker {
    font-size: 8px;
    margin-bottom: 5px;
  }
  :root #candidates .suggestion-list {
    max-block-size: min(78vh, 760px);
    gap: 12px;
  }
  :root #candidates :is(.ticket, .suggestion-card) {
    padding: 17px;
    border-radius: 12px;
  }
  .suggestion-heading {
    gap: 12px;
  }
  .suggestion-heading > div > strong {
    font-size: 17px;
  }
  .suggestion-selection {
    font-size: 13px;
  }
  .suggestion-heading .suggestion-price-wrap {
    min-width: 66px;
    padding: 10px;
  }
  .suggestion-heading .suggestion-price {
    font-size: 22px;
  }
  .suggestion-confidence {
    font-size: 13px;
    padding: 10px;
  }
  .suggestion-model {
    font-size: 10px;
  }
  .suggestion-return {
    font-size: 11px;
  }
  .suggestion-model.suggestion-best {
    font-size: 9px;
  }
  .suggestion-add {
    padding-inline: 12px;
  }
  :root .slate-wrap {
    padding-top: 20px;
  }
  .slate-heading {
    gap: 10px;
  }
  .date-tools {
    gap: 3px;
  }
  .date-tools input {
    font-size: 11px;
  }
  :root .daily-panel {
    padding: 18px 15px;
    border-radius: 14px;
  }
  :root .daily-panel .daily-heading {
    gap: 8px;
  }
  :root .daily-panel .daily-heading h2 {
    font-size: 23px;
  }
  .daily-options > summary {
    padding-inline: 9px;
    font-size: 10px;
  }
  .home-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .home-action {
    display: grid;
    min-height: 72px;
    padding: 14px 16px;
  }
  .home-action span {
    display: block;
    font-size: 11px;
  }
  .home-action strong {
    font-size: 13px;
  }
  .tracker-heading {
    align-items: start;
    gap: 14px;
  }
  .tracker-heading h2 {
    font-size: 22px;
  }
  .tracker-heading .small {
    font-size: 11px;
  }
  .tracker-tools {
    flex-wrap: wrap;
  }
  .tracker-empty {
    padding-inline: 5px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .desk-welcome-art img {
    transform: none;
  }
}

/* Sample mode must stay unmistakably labeled, without changing the product palette. */
:root .demo-banner {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
:root .demo-icon {
  color: var(--accent);
  background: var(--raised);
  border-color: var(--line);
}
:root .demo-action {
  background: var(--raised);
  color: var(--ink);
  border-color: var(--line);
}
:root .head-actions .chip.connected {
  background: var(--paper);
  color: var(--sub);
  border-color: var(--line);
}

.desk-utility button svg {
  width: 14px;
  height: 14px;
}
:root .demo-copy strong {
  color: var(--ink);
}
:root .demo-copy div > span {
  color: var(--sub);
}
