/* Your results on Harbor Home (2026-10-09): this month vs last month, the ads row and the money math.
   Story-mode look (play-theme.css tokens, with fallbacks for other tenants); phone first. public/harbor-results.mjs. */
.hr-slot:empty { display: none; }
.hr-slot { margin: 0 0 18px; }
.hr { display: grid; gap: 16px; padding: 22px 24px; }
.hr-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.hr-art { width: 64px; height: 64px; }
.hr-head-copy { min-width: 0; }
.hr-head-copy .gc-kicker { margin: 0 0 6px; }
.hr-title { margin: 0; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.05; overflow-wrap: anywhere; }

.hr-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) {
  .hr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hr-tile { display: grid; align-content: start; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line, rgb(22 19 10 / 10%)); min-width: 0; }
.hr-tile-btn { all: unset; box-sizing: border-box; display: grid; gap: 6px; align-content: start; min-height: 44px; padding: 14px 16px; border-radius: 18px; cursor: pointer; color: var(--ink, #16130a); }
.hr-tile-btn:hover { background: var(--sun-soft, #fff4b8); }
.hr-tile-btn:focus-visible, .hr-chip:focus-visible, .hr-eq-term:focus-visible { outline: 3px solid var(--ink, #16130a); outline-offset: 2px; }
.hr-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-value { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: clamp(30px, 3.2vw, 40px); line-height: 1; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.hr-compare { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: 13.5px; line-height: 1.35; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-delta { display: inline-flex; gap: 3px; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.hr-delta--up { background: var(--green-soft, #dcf2e4); color: var(--green, #167a43); }
.hr-delta--down { background: #efece1; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-delta--flat { background: var(--sky-soft, #e4efff); color: #1d4f9c; }
.hr-sub { font-size: 13px; font-weight: 750; color: var(--ink-2, rgb(22 19 10 / 72%)); }

/* A source that isn't connected: a dashed placeholder, the reason, and the level that connects it. */
.hr-tile.is-off { box-shadow: none; border: 1.5px dashed var(--line-2, rgb(22 19 10 / 18%)); background: #fffdf5; }
.hr-off { display: flex; align-items: center; min-height: 40px; }
.hr-why { font-size: 13.5px; line-height: 1.45; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-connect { justify-self: start; margin: 0 16px 14px; min-height: 44px; white-space: normal; text-align: left; }

.hr-ads { display: flex; flex-wrap: wrap; gap: 10px; }
.hr-chip { all: unset; box-sizing: border-box; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2, rgb(22 19 10 / 18%)); cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink, #16130a); }
.hr-chip:hover { background: var(--sun-soft, #fff4b8); }
.hr-chip strong { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 22px; font-weight: 400; line-height: 1; }
.hr-chip--roas { background: var(--cream, #fffbe6); box-shadow: inset 0 0 0 2px var(--ink, #16130a); }
.hr-chip--hint { margin: 0; cursor: default; font-weight: 600; color: var(--ink-2, rgb(22 19 10 / 72%)); background: transparent; box-shadow: none; border: 1.5px dashed var(--line-2, rgb(22 19 10 / 18%)); border-radius: 16px; }
.hr-chip--hint:hover { background: transparent; }

/* The money math: sales − ad spend = what's left, drawn as one line of boxes (a receipt on phones). */
.hr-math { display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px; background: var(--cream, #fffbe6); box-shadow: inset 0 0 0 1px var(--line, rgb(22 19 10 / 10%)); }
.hr-math.is-waiting { background: #fffdf5; box-shadow: none; border: 1.5px dashed var(--line-2, rgb(22 19 10 / 18%)); }
.hr-h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hr-h3-sub { font-weight: 700; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.hr-eq { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.hr-eq-term { all: unset; box-sizing: border-box; display: grid; gap: 6px; align-content: center; flex: 1 1 150px; min-width: 0; min-height: 44px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2, rgb(22 19 10 / 18%)); cursor: pointer; color: var(--ink, #16130a); }
.hr-eq-term strong { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: clamp(26px, 3vw, 34px); font-weight: 400; line-height: 1; overflow-wrap: anywhere; }
.hr-eq-term.is-sales { background: var(--green-soft, #dcf2e4); }
.hr-eq-term.is-spend { background: var(--sky-soft, #e4efff); }
.hr-eq-term.is-fee { background: var(--grape-soft, #ece6ff); }
.hr-eq-term.is-left { background: var(--sun, #ffe14a); box-shadow: inset 0 0 0 2px var(--ink, #16130a); }
.hr-eq-term.is-left.is-negative { background: var(--hot-soft, #ffe1ea); }
.hr-eq-label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-eq-op { display: grid; place-items: center; align-self: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink, #16130a); color: #fff; font-size: 24px; font-weight: 800; line-height: 1; }
.hr-math-note { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-note { margin: 0; font-size: 14px; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.hr-foot { margin: 0; }
.hr--error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; }
.hr--error p { margin: 0; font-weight: 700; }
.hr-where-numbers { font-weight: 750; }

@media (max-width: 560px) {
  .hr { padding: 18px 16px; gap: 14px; }
  .hr-art { width: 48px; height: 48px; }
  .hr-grid { gap: 10px; }
  .hr-tile-btn { padding: 12px 12px; }
  .hr-connect { margin: 0 12px 12px; }
  .hr-eq { flex-direction: column; gap: 4px; }
  .hr-eq-term { flex: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
  .hr-eq-op { align-self: start; width: 28px; height: 28px; margin-left: 14px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-tile-btn, .hr-chip, .hr-eq-term { transition: none; }
}
