/* DO NOT EDIT — copied from packages/shared/src/storehub/ui/page-overview.css
   by `npm run tokens`. Edit the source there, regenerate, commit both.
   A vitest in packages/shared fails if this file drifts from the source. */
/* Store Hub page: Overview. Copied verbatim to apps/server/public/shared/storehub/page-overview.css by
 * npm run tokens. Class prefix .tdtt-sh-ov-. Tokens only (var(--...)); see storehub.css for the shared kit.
 * /m: solid colour-mix of two tokens only, never alpha. */

.tdtt-sh-ov { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tdtt-sh-ov__sec { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tdtt-sh-ov__sec:empty { display: none; }
.tdtt-sh-ov-date { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.tdtt-sh-ov-flat { margin: 0; }

/* live tournament */
.tdtt-sh-ov-live { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-color: color-mix(in srgb, var(--magenta) 40%, var(--surface)); background: color-mix(in srgb, var(--magenta) 6%, var(--surface)); }
.tdtt-sh-ov-live__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tdtt-sh-ov-live__name { margin: 0; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--text); overflow-wrap: anywhere; }
.tdtt-sh-ov-live__act { margin-top: 4px; }
.tdtt-sh-ov-live__scr { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13px; font-weight: 600; }

/* today + coming up */
.tdtt-sh-ov-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.tdtt-sh-ov-evs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tdtt-sh-ov-ev { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--surface-2); }
.tdtt-sh-ov-ev:last-child { border-bottom: 0; }
.tdtt-sh-ov-ev__t { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.tdtt-sh-ov-ev__n { font-weight: 600; overflow-wrap: break-word; word-break: normal; }
.tdtt-sh-ov-ev__p { grid-column: 2; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-start; }

/* screens */
.tdtt-sh-ov-scrgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tdtt-sh-ov-scr { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tdtt-sh-ov-scr__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.tdtt-sh-ov-scr__txt b { font-size: 13.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdtt-sh-ov-scr__txt small { font-size: 12px; }

/* needs you */
.tdtt-sh-ov-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.tdtt-sh-ov-need {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--text-dim) 22%, var(--surface));
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tdtt-sh-ov-need:hover { border-color: var(--text-dim); }
.tdtt-sh-ov-need:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tdtt-sh-ov-need__n { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1; min-width: 28px; display: flex; align-items: center; }
.tdtt-sh-ov-need__n .tdtt-sh-ico { width: 24px; height: 24px; }
.tdtt-sh-ov-need__t { flex: 1; font-size: 13.5px; font-weight: 600; min-width: 0; }
.tdtt-sh-ov-need > .tdtt-sh-ico { color: var(--text-dim); flex: none; }
.tdtt-sh-ov-need--warn .tdtt-sh-ov-need__n { color: var(--gold); }
.tdtt-sh-ov-need--off .tdtt-sh-ov-need__n { color: var(--red); }

/* Store Pro upgrade panel: calm navy, solid mix of two tokens only */
.tdtt-sh-ov-up { gap: 12px; border-color: color-mix(in srgb, var(--cyan) 30%, var(--surface)); background: color-mix(in srgb, var(--cyan) 8%, var(--surface)); }
.tdtt-sh-ov-up__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px 16px; }
.tdtt-sh-ov-up__list li { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.tdtt-sh-ov-up__list .tdtt-sh-ico { flex: none; width: 18px; height: 18px; color: var(--cyan); }
.tdtt-sh-ov-up__act { align-items: center; }
.tdtt-sh-ov-up__note { margin: 0; }

/* setup checklist */
.tdtt-sh-ov-chks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tdtt-sh-ov-chk { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--surface-2); }
.tdtt-sh-ov-chk:last-child { border-bottom: 0; }
.tdtt-sh-ov-chk__box { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--text-dim) 40%, var(--surface)); display: flex; align-items: center; justify-content: center; }
.tdtt-sh-ov-chk.done .tdtt-sh-ov-chk__box { border-color: var(--green); color: var(--green); }
.tdtt-sh-ov-chk__box .tdtt-sh-ico { width: 14px; height: 14px; }
.tdtt-sh-ov-chk__t { flex: 1; font-weight: 600; }
.tdtt-sh-ov-chk.done .tdtt-sh-ov-chk__t { color: var(--text-dim); font-weight: 500; }

/* narrow / phone: live, screens 2x2, needs, then events, then setup */
.tdtt-sh--narrow .tdtt-sh-ov__sec--head { order: 0; }
.tdtt-sh--narrow .tdtt-sh-ov__sec--sum { order: 1; }
.tdtt-sh--narrow .tdtt-sh-ov__sec--upg { order: 2; }
.tdtt-sh--narrow .tdtt-sh-ov__sec--scr { order: 2; }
.tdtt-sh--narrow .tdtt-sh-ov__sec--needs { order: 3; }
.tdtt-sh--narrow .tdtt-sh-ov__sec--ev { order: 4; }
.tdtt-sh--narrow .tdtt-sh-ov__sec--setup { order: 5; }
.tdtt-sh--narrow .tdtt-sh-ov-two { grid-template-columns: minmax(0, 1fr); }
.tdtt-sh--narrow .tdtt-sh-ov-scrgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tdtt-sh--narrow .tdtt-sh-ov-needs { grid-template-columns: minmax(0, 1fr); }
.tdtt-sh--narrow .tdtt-sh-ov-live { align-items: flex-start; }
.tdtt-sh--narrow .tdtt-sh-ov-ev { grid-template-columns: 72px minmax(0, 1fr); }
.tdtt-sh--narrow .tdtt-sh-ov-ev__p { grid-column: 2; justify-content: flex-start; }
.tdtt-sh--narrow .tdtt-sh-ov-run { min-height: 44px; }
