/* Dashboard composition; board.css owns feed states and share-dialog behavior. */
.dashboard {
  --dashboard-rail-width: 13.5rem;
  --dashboard-radius: 0.875rem;
  --dashboard-muted-on-navy: #c2cde0;
  --dashboard-line-on-navy: #344462;
  --board-content-max: 100%;
  --board-section-gap: 2rem;
  --board-price-primary-size: clamp(1.75rem, 3.2vw, 3.25rem);
  --board-price-size: clamp(1.75rem, 3vw, 3rem);
  --board-price-currency-size: 1.5rem;
  --board-control-height: 2.75rem;
  --board-title-size: 1.125rem;
  --board-section-title-size: 1.25rem;
  --board-table-value-size: 0.875rem;
  --board-table-min-width: 42rem;
  --board-action-min-width: auto;
}
.dashboard [hidden] {
  display: none;
}
.dashboard a:focus-visible,
.dashboard summary:focus-visible,
.dashboard input:focus-visible {
  outline: 2px solid var(--gfe-experimental);
  outline-offset: 4px;
}
.dashboard__skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 30;
  padding: 1rem;
  background: var(--theme-surface);
  color: var(--theme-text);
}
.dashboard__skip:focus {
  top: 1rem;
}
.dashboard-rail {
  display: none;
}
.dashboard .app-container {
  padding: 0 1rem 1.5rem;
}
.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--theme-border);
  color: var(--theme-text-muted);
  font-size: 0.75rem;
}
.dashboard-topbar strong {
  color: var(--theme-text);
  font-weight: 500;
}
.dashboard-topbar span span {
  padding: 0 0.625rem;
}
.dashboard .header {
  padding: 1.5rem 0;
  align-items: center;
}
.dashboard .brand h1 {
  letter-spacing: -0.025em;
  line-height: 1.4;
}
.dashboard .brand__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}
.dashboard .sub-brand {
  font-size: 0.6875rem;
  margin-top: 0.25rem;
}
.dashboard .header__controls {
  gap: 0.5rem;
}
.dashboard .header__actions {
  width: auto;
}
.dashboard .board-action {
  border-width: 1px;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.dashboard .connection-status {
  min-height: 2.75rem;
  border-width: 1px;
  font-size: 0.6875rem;
}
.dashboard .status-context {
  font-size: 0.625rem;
}
.dashboard .theme-toggle {
  border-width: 1px;
  border-radius: 0.5rem;
}
.dashboard .theme-toggle__label {
  display: none;
}
.dashboard .board-main {
  align-content: start;
  padding-top: 1.75rem;
}
.dashboard .section-heading {
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dashboard .section-heading__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.13em;
}
.dashboard .spot-section h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}
.dashboard-title-dot {
  color: var(--gfe-experimental);
}
.dashboard .section-heading__note {
  font-size: 0.75rem;
  line-height: 1.7;
}
.dashboard .spot-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.dashboard .spot-card {
  min-height: 13.5rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--dashboard-radius);
  padding: 1.5rem;
  box-shadow: none;
}
.dashboard .spot-card--inr {
  grid-column: auto;
}
.dashboard .spot-card__label {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.dashboard .spot-card__unit {
  font-size: 0.6875rem;
  margin-top: 0.375rem;
}
.dashboard .spot-card__index {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--theme-border);
  border-radius: 0.75rem;
  color: var(--theme-text-muted);
  font-size: 1.125rem;
  font-weight: 500;
}
.dashboard .spot-card__price {
  margin: 1.875rem 0 1.25rem;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.dashboard .spot-card__meta {
  padding-top: 0.875rem;
  border-top: 1px solid var(--theme-border);
  font-size: 0.625rem;
}
.dashboard .gold-card {
  background: var(--gfe-navy);
  border-color: var(--gfe-navy);
  color: var(--gfe-bg);
}
.dashboard .gold-card .spot-card__price,
.dashboard .gold-card .spot-card__label {
  color: var(--gfe-bg);
}
.dashboard .gold-card .spot-card__unit,
.dashboard .gold-card .spot-card__meta,
.dashboard .gold-card .spot-card__index {
  color: var(--dashboard-muted-on-navy);
  border-color: var(--dashboard-line-on-navy);
}
.dashboard .gold-card .spot-card__index {
  background: var(--gfe-navy-hover);
}
/* The session figures and sparkline under the gold price, restyled for the navy card this file
   gives it. board.css styles them for a light card: the line in --gfe-navy, which is exactly this
   card's background, and the figures in --theme-text, which is dark on the light theme. Measured
   on the live board on 13 September 2026: the sparkline at 1.00:1 in both themes, the open / high
   / low figures at 1.18:1 on the light theme. test:browser now measures all three against the card
   in both themes. */
.dashboard .gold-card .session-value {
  color: var(--gfe-bg);
}
.dashboard .gold-card .session-label,
.dashboard .gold-card .session.is-empty .session-value {
  color: var(--dashboard-muted-on-navy);
}
.dashboard .gold-card .spark polyline {
  stroke: var(--dashboard-muted-on-navy);
}
.dashboard .gold-card .spark polygon {
  fill: rgb(255 255 255 / 10%);
}
.dashboard.market-frozen .gold-card::after {
  color: var(--dashboard-muted-on-navy);
  border-color: var(--dashboard-line-on-navy);
}
.dashboard .rate-panel {
  padding: 0;
  overflow: hidden;
  border-radius: var(--dashboard-radius);
  box-shadow: none;
}
.dashboard .section-heading--panel {
  padding: 1.5rem 1.5rem 0;
  margin-bottom: 1.25rem;
  align-items: center;
}
.dashboard .section-heading--panel h2 {
  margin-top: 0.5rem;
  letter-spacing: -0.025em;
}
.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1rem 1.25rem;
}
.dashboard-filters {
  display: flex;
  padding: 0.25rem;
  gap: 0.25rem;
  background: var(--theme-surface-subtle);
  border: 1px solid var(--theme-border);
  border-radius: 0.625rem;
}
.dashboard-filters button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--theme-text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}
.dashboard-filters button[aria-pressed='true'] {
  background: var(--theme-surface);
  color: var(--theme-text);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.dashboard-filters button:hover {
  color: var(--theme-text);
}
.dashboard-filters span {
  font-size: 0.625rem;
  opacity: 0.8;
}
.dashboard-search {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--theme-control-border);
  border-radius: 0.5rem;
}
.dashboard-search svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--theme-text-muted);
  stroke-width: 1.5;
}
.dashboard-search input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--theme-text);
  font: inherit;
  font-size: 0.75rem;
}
.dashboard-search input::placeholder {
  color: var(--theme-text-muted);
}
.dashboard .rate-table-wrap {
  border: 0;
  border-radius: 0;
}
.dashboard .rate-table th,
.dashboard .rate-table td {
  padding: 1.125rem 1.5rem;
}
.dashboard .rate-table thead th {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.065em;
}
.dashboard .rate-table tbody th {
  font-weight: 500;
}
.dashboard .rate-table tbody td:nth-child(n + 4) {
  color: var(--theme-text-muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.dashboard .rate-table th:nth-child(n + 3),
.dashboard .rate-table td:nth-child(n + 3) {
  text-align: right;
}
.dashboard .rate-table tbody tr:hover {
  background: var(--theme-surface-subtle);
}
.dashboard .rate-table__tag {
  background: var(--theme-surface-subtle);
  color: var(--theme-text-muted);
  border: 1px solid var(--theme-border);
  font-size: 0.5625rem;
  font-weight: 500;
  padding: 0.1875rem 0.375rem;
  letter-spacing: 0;
}
.dashboard .is-empty-value {
  font-size: 0.75rem;
}
.dashboard .spot-card__price.is-empty-value {
  font-size: 1.25rem;
  white-space: normal;
}
.dashboard-table-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--theme-border);
  color: var(--theme-text-muted);
  font-size: 0.625rem;
}
.dashboard-empty {
  padding: 2.5rem 1rem;
  text-align: center;
}
.dashboard-empty p {
  font-size: 0.875rem;
  color: var(--theme-text-muted);
}
.dashboard-empty button {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--theme-control-border);
  border-radius: 0.5rem;
  color: var(--theme-text);
  background: var(--theme-surface);
  cursor: pointer;
}
.dashboard-guide {
  display: grid;
  gap: 1.5rem;
  padding: 0.5rem 0;
}
.dashboard-guide__intro h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin: 0.75rem 0;
}
.dashboard-guide__intro > p:last-child {
  color: var(--theme-text-muted);
  font-size: 0.75rem;
}
.dashboard-guide__items {
  min-width: 0;
}
.dashboard-guide details {
  border-bottom: 1px solid var(--theme-border);
}
.dashboard-guide summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.dashboard-guide summary::-webkit-details-marker {
  display: none;
}
.dashboard-guide summary span {
  font-size: 1.25rem;
  font-weight: 400;
}
.dashboard-guide details[open] summary span {
  transform: rotate(45deg);
}
.dashboard-guide details p {
  max-width: 75ch;
  margin: 0 0 1.25rem;
  color: var(--theme-text-muted);
  font-size: 0.8125rem;
  line-height: 1.75;
}
.dashboard .board-disclaimer {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.6;
}
.dashboard .detail-card {
  box-shadow: none;
  border-radius: var(--dashboard-radius);
}
.dashboard .footer {
  padding-top: 1.25rem;
}
.dashboard .ticker-source {
  font-size: 0.625rem;
  letter-spacing: 0.035em;
}
.dashboard .timestamp {
  font-size: 0.625rem;
}
.dashboard .footer-info {
  width: 100%;
  justify-content: space-between;
}
.dashboard .share-toast--error {
  background: var(--gfe-alert);
}
.dashboard .share-modal {
  border-radius: var(--dashboard-radius);
}
.dashboard .share-modal-header h3 {
  font-size: 1.125rem;
}
.dashboard .share-modal__intro {
  font-size: 0.875rem;
}
.dashboard .share-modal-header,
.dashboard .share-modal-body {
  padding: 1.25rem;
}
.dashboard #overview,
.dashboard #products,
.dashboard #rate-guide-panel {
  scroll-margin-top: 1.5rem;
}
@media (min-width: 43rem) {
  .dashboard .app-container {
    width: 100%;
    padding: 0 2rem 1.5rem;
  }
  .dashboard .spot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard .spot-card--inr {
    grid-column: span 2;
    min-height: 12rem;
  }
  .dashboard-toolbar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .dashboard-search {
    width: 13rem;
  }
  .dashboard-guide {
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
  }
}
@media (min-width: 75rem) {
  .dashboard-rail {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--dashboard-rail-width);
    background: var(--theme-surface);
    border-right: 1px solid var(--theme-border);
    padding: 2rem 1rem;
  }
  .dashboard-rail__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0 0.5rem;
    color: var(--theme-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.04em;
  }
  .dashboard-rail__logo {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: var(--gfe-navy);
    color: var(--gfe-bg);
  }
  .dashboard-rail__logo svg {
    width: 1.5rem;
  }
  .dashboard-rail__caption {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--theme-text-muted);
  }
  .dashboard-rail__label {
    margin: 3.25rem 0 1rem 0.75rem;
    color: var(--theme-text-muted);
    font-size: 0.5625rem;
    letter-spacing: 0.14em;
  }
  .dashboard-nav {
    display: grid;
    gap: 0.5rem;
  }
  .dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    border-radius: 0.5rem;
    color: var(--theme-text-muted);
    text-decoration: none;
    font-size: 0.75rem;
  }
  .dashboard-nav a[aria-current],
  .dashboard-nav a:hover {
    background: var(--theme-surface-subtle);
    color: var(--theme-text);
  }
  .dashboard-nav a[aria-current] {
    font-weight: 600;
  }
  .dashboard-nav svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }
  .dashboard-rail__foot {
    margin-top: auto;
    padding: 1rem 0.75rem 0;
  }
  .dashboard-rail__seal {
    display: block;
    margin-bottom: 1rem;
    color: var(--gfe-experimental);
    font-size: 2rem;
  }
  .dashboard-rail__foot strong {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
  }
  .dashboard-rail__foot p {
    color: var(--theme-text-muted);
    font-size: 0.625rem;
    line-height: 1.8;
    margin: 0.75rem 0 1.75rem;
  }
  .dashboard .app-container {
    width: calc(100% - var(--dashboard-rail-width));
    margin-left: var(--dashboard-rail-width);
    padding: 0 2.5rem 1.5rem;
  }
  .dashboard .spot-grid {
    grid-template-columns: 1.12fr 1.12fr 0.9fr;
  }
  .dashboard .spot-card--inr {
    grid-column: auto;
  }
  .dashboard .header__controls {
    flex-wrap: nowrap;
  }
}
@media (min-width: 100rem) {
  .dashboard .app-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
/* Keep the product, weight and quote together in the first mobile viewport. */
@media (max-width: 42.99rem) {
  .dashboard .rate-table {
    table-layout: fixed;
    min-width: 38rem;
  }
  .dashboard .rate-table th,
  .dashboard .rate-table td {
    padding: 1rem 0.625rem;
  }
  .dashboard .rate-table th:first-child {
    width: 7rem;
  }
  .dashboard .rate-table th:nth-child(2) {
    width: 3rem;
  }
  .dashboard .rate-table th:nth-child(3) {
    width: 8rem;
  }
  .dashboard .rate-table th:nth-child(n + 4) {
    width: 10rem;
  }
  .dashboard .rate-table tbody th {
    font-size: 0.75rem;
  }
  .dashboard .rate-table tbody td:nth-child(2) {
    font-size: 0.6875rem;
    white-space: nowrap;
  }
  .dashboard .rate-table tbody td:nth-child(3) {
    font-size: 0.75rem;
  }
  .dashboard .rate-table__tag {
    margin: 0.25rem 0 0;
  }
}
@media screen and (max-width: 74.99rem) {
  .dashboard .app-container {
    padding-bottom: 6rem;
  }
  .dashboard-rail {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 2;
    border-top: 1px solid var(--theme-border);
    background: var(--theme-surface);
    padding: 0.375rem 1rem max(0.375rem, env(safe-area-inset-bottom));
  }
  .dashboard-rail__brand,
  .dashboard-rail__label,
  .dashboard-rail__foot {
    display: none;
  }
  .dashboard-nav {
    display: grid;
    /* One column per section, counted rather than fixed at three: adding Calculators to a
       hard-coded 3 wrapped Rate guide onto a second row and doubled the height of a bar
       that is pinned over the page. */
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0.5rem;
  }
  .dashboard-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    min-height: 3rem;
    border-radius: 0.5rem;
    color: var(--theme-text-muted);
    text-decoration: none;
    font-size: 0.625rem;
  }
  .dashboard-nav a[aria-current] {
    color: var(--theme-text);
    background: var(--theme-surface-subtle);
    font-weight: 600;
  }
  .dashboard-nav svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
  }
}
@media print {
  .dashboard-rail,
  .dashboard .header__controls,
  .dashboard-toolbar,
  .dashboard-guide,
  .dashboard-topbar {
    display: none;
  }
  .dashboard .app-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .dashboard .rate-table {
    min-width: 0;
  }
}

/* Tabs (public/js/tabs.js). `is-off-tab` and `is-off-subtab` are the tab script's alone;
   `hidden` stays with the scripts that decide whether a panel has anything to show. Scoped
   through body.dashboard so no panel's own `display` rule, here or in board.css, outranks it. */
body.dashboard .board-main .is-off-tab,
body.dashboard .board-main .is-off-subtab {
  display: none;
}
/* One card per tab now, so a lone About or Bank card reads at a line length, not page width. */
.dashboard .board-details {
  grid-template-columns: minmax(0, 48rem);
}
.tab-empty {
  display: grid;
  justify-items: start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--dashboard-radius);
  background: var(--theme-surface);
}
.tab-empty__text {
  margin: 0;
  color: var(--theme-text-muted);
  font-size: 0.875rem;
}

/* Calculator tabs: a row of chips that scrolls sideways on a phone and wraps on a wide screen. */
.calc-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.calc-tabs__tab {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--theme-control-border);
  border-radius: 999rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.calc-tabs__tab[aria-selected='true'] {
  border-color: var(--theme-action-bg);
  background: var(--theme-action-bg);
  color: var(--theme-action-text);
  font-weight: 600;
}
.calc-grid--tabbed {
  grid-template-columns: minmax(0, 56rem);
}
@media (min-width: 43rem) {
  .calc-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* The menu button and the menu itself: phones and tablets only, where the bottom bar has room
   for five tabs and the rest live here. */
.tab-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--theme-control-border);
  border-radius: 0.5rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.tab-menu-btn svg,
.tab-menu__close svg,
.tab-menu__list svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dashboard-topbar {
  align-items: center;
}
.tab-menu {
  box-sizing: border-box;
  width: min(20rem, 85vw);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  inset: 0 auto 0 0;
  padding: 1.25rem 1rem;
  border: 0;
  border-right: 1px solid var(--theme-border);
  background: var(--theme-surface);
  color: var(--theme-text);
}
.tab-menu::backdrop {
  background: var(--theme-overlay);
}
.tab-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.tab-menu__title {
  margin: 0;
  font-size: 1.125rem;
}
.tab-menu__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--theme-text);
  cursor: pointer;
}
.tab-menu__list {
  display: grid;
  gap: 0.25rem;
}
.tab-menu__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  color: var(--theme-text);
  text-decoration: none;
  font-size: 0.9375rem;
}
.tab-menu__list a[aria-current] {
  background: var(--theme-surface-subtle);
  font-weight: 600;
}
body.board-is-unavailable .tab-menu-btn {
  display: none;
}
@media (min-width: 75rem) {
  .tab-menu-btn {
    display: none;
  }
}
@media screen and (max-width: 74.99rem) {
  /* The bottom bar carries the five primary tabs; Calculators and Rate guide are in the menu. */
  .dashboard-nav a:not([data-tab-primary]) {
    display: none;
  }
}
@media print {
  .tab-menu-btn,
  .calc-tabs {
    display: none;
  }
}

/* Phones: the three market references in one row of small tiles, as in
   docs/recommended-client-layout, rather than three full-height cards. Stacked, they were over a
   thousand pixels of the Live tab before the shop's own rate book began. Their per-tile unit and
   margin line give way to the one shared note under the row. */
.spot-grid__note {
  display: none;
}
@media (max-width: 42.99rem) {
  .dashboard .spot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .dashboard .spot-card--primary {
    grid-column: 1 / -1;
  }
  .dashboard .spot-card.spot-card--spot,
  .dashboard .spot-card.spot-card--inr {
    grid-column: auto;
    order: 1;
    min-height: 0;
    padding: 0.75rem;
  }
  .dashboard .spot-card.spot-card--inr {
    order: 2;
  }
  .dashboard .spot-card--spot .spot-card__unit,
  .dashboard .spot-card--spot .spot-card__meta,
  .dashboard .spot-card--spot .spot-card__index,
  .dashboard .spot-card--inr .spot-card__unit,
  .dashboard .spot-card--inr .spot-card__meta,
  .dashboard .spot-card--inr .spot-card__index {
    display: none;
  }
  .dashboard .spot-card--spot .spot-card__label,
  .dashboard .spot-card--inr .spot-card__label {
    font-size: 0.75rem;
  }
  .dashboard .spot-card.spot-card--spot .spot-card__price,
  .dashboard .spot-card.spot-card--inr .spot-card__price {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
  }
  .spot-grid__note {
    display: block;
    margin: 0.5rem 0 0;
    color: var(--theme-text-muted);
    font-size: 0.6875rem;
    line-height: 1.5;
  }
}

/* Products we offer: a short fixed list of categories, then how to find out more. */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  list-style: none;
}
.offer-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 4.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--dashboard-radius);
  background: var(--theme-surface);
}
.offer-card[hidden] {
  display: none;
}
.offer-card__icon {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--theme-text-muted);
}
.offer-card__name {
  font-size: 1rem;
  font-weight: 600;
}
.offer-contact {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  margin: 0 1rem 1rem;
  padding: 1.25rem;
  border-top: 1px solid var(--theme-border);
}
.offer-contact__lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.offer-contact__address {
  margin: 0;
  color: var(--theme-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.offer-contact__call {
  margin-top: 0.25rem;
  text-decoration: none;
}
/* Phones: two by two, so all four categories and the call line fit above the floating buttons. */
@media (max-width: 42.99rem) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .offer-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-height: 0;
    padding: 0.875rem;
  }
  .offer-card__icon {
    flex-basis: auto;
    width: 1.5rem;
    height: 1.5rem;
  }
  .offer-card__name {
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  .offer-contact {
    margin: 0 0.75rem 0.75rem;
    padding: 1rem 0.25rem 0.25rem;
  }
}

/* Phones: the Live Rate tab's rate book and weight grid as two views (public/js/tabs.js). */
.live-subtabs {
  display: none;
}
@media (max-width: 42.99rem) {
  .live-subtabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .live-subtabs[hidden] {
    display: none;
  }
  .live-subtabs__tab {
    flex: 1 1 0;
    min-height: 2.75rem;
    border: 1px solid var(--theme-control-border);
    border-radius: 999rem;
    background: var(--theme-surface);
    color: var(--theme-text);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
  }
  .live-subtabs__tab[aria-selected='true'] {
    border-color: var(--theme-action-bg);
    background: var(--theme-action-bg);
    color: var(--theme-action-text);
  }
  body.dashboard .board-main .is-off-phone-subtab {
    display: none;
  }
  /* Tighter headline cards: the price, the session and the line, without a screen of padding. */
  .dashboard .spot-card.spot-card--primary {
    min-height: 0;
    padding: 1.125rem 1.25rem;
  }
  .dashboard .spot-card--primary .spot-card__price {
    margin: 0.75rem 0;
  }
  .dashboard .spot-card--primary .spark {
    height: 3rem;
    margin-bottom: 0.5rem;
  }
  .dashboard .spot-card--primary .session {
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.5rem;
  }
}
