/* Product screen mocks, built from the app's real tokens (swimeroo/components/ui/tokens.ts).
   Wide desktop screens only: under 640px the frame crops them, it never switches to a phone layout. */
.shot {
  --m-canvas: #EEF4F7; --m-card: #FFFFFF; --m-sunken: #E6EEF2;
  --m-ink: #0B2E44; --m-ink2: #4A6573; --m-ink3: #4F6E7B;
  --m-line: rgba(11,46,68,0.10); --m-line-strong: rgba(11,46,68,0.16); --m-input: rgba(11,46,68,0.18);
  --m-brand: #0E78C4; --m-owe: #92400E;
  --m-shadow-xs: 0 1px 2px rgba(11,46,68,0.06);
  --m-shadow-sm: 0 1px 2px rgba(11,46,68,0.05), 0 2px 8px -2px rgba(11,46,68,0.08);
  font-size: 14px; line-height: 1.4; color: var(--m-ink);
}
.shot b { font-weight: 600; }
.shot small { display: block; font-size: 12px; font-weight: 400; color: var(--m-ink2); }

/* App frame */
.m-app { display: flex; min-width: 1060px; height: 620px; }
.m-side { display: flex; flex-direction: column; flex: none; width: 232px; border-right: 1px solid var(--m-line); background: var(--m-canvas); }
.m-logo { display: flex; align-items: center; height: 64px; padding: 0 16px; }
.m-logo img { width: auto; height: 36px; }
.m-nav { display: grid; gap: 2px; padding: 8px; }
.m-nav span { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; font-weight: 500; color: var(--m-ink2); }
.m-nav .on { background: var(--m-card); color: var(--m-ink); box-shadow: var(--m-shadow-sm), 0 0 0 1px var(--m-line); }
.m-side-foot { display: grid; gap: 8px; margin-top: auto; padding: 12px 12px 16px; }
.m-btn { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border-radius: 10px; font-weight: 600; }
.m-btn-p { background: var(--m-brand); color: #FFFFFF; }
.m-btn-g { color: var(--m-ink); }
.m-btn-in { display: inline-flex; height: 36px; }
.m-acct { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-card); box-shadow: var(--m-shadow-xs); }
.m-sq { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--m-ink); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.m-acct-t { min-width: 0; font-size: 13px; line-height: 16px; }
.m-acct-t b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Page area */
.m-main { flex: 1; min-width: 0; padding: 28px 32px; background: var(--m-canvas); }
.m-solo { min-width: 1000px; height: 100%; }
.m-eyebrow { margin-bottom: 2px; font-size: 13px; font-weight: 500; color: var(--m-ink2); }
.m-back { margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--m-brand); }
.m-back::before { content: "\2039  "; }
.m-title { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.m-desc { margin-top: 4px; color: var(--m-ink2); }
.m-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.m-btns { display: flex; gap: 8px; }
.m-summary { margin: 12px 0 16px; font-weight: 500; }
.m-tools { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; }
.m-field { display: flex; align-items: center; flex: 1; max-width: 420px; height: 44px; padding: 0 14px; border: 1px solid var(--m-input); border-radius: 10px; background: var(--m-card); color: var(--m-ink3); }
.m-field-sm { height: 36px; max-width: none; }
.m-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--m-sunken); }
.m-seg span { padding: 7px 14px; border-radius: 8px; font-weight: 500; color: var(--m-ink2); }
.m-seg .on { background: var(--m-card); color: var(--m-ink); box-shadow: var(--m-shadow-xs); }

/* Cards and rows */
.m-card { overflow: hidden; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-card); box-shadow: var(--m-shadow-xs); }
.m-card-h { padding: 16px 20px 12px; }
.m-card-h b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.m-card-h > span { display: block; margin-top: 2px; font-size: 13px; color: var(--m-ink2); }
.m-card-f { padding: 12px 20px; border-top: 1px solid var(--m-line); font-weight: 600; font-size: 13px; color: var(--m-ink2); }
.m-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 20px; border-top: 1px solid var(--m-line); }
.m-row-t { flex: 1; min-width: 0; }
.m-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-soft { font-weight: 500; white-space: normal; }
.m-sub { display: block; font-size: 13px; color: var(--m-ink2); }
.m-time { flex: none; width: 64px; font-size: 13px; font-weight: 600; }
.m-val { flex: none; font-weight: 600; text-align: right; }
.m-act { display: inline-flex; align-items: center; flex: none; height: 32px; padding: 0 12px; border-radius: 8px; background: rgba(14,120,196,0.10); color: #0C5A8E; font-size: 13px; font-weight: 600; }
.m-act-w { height: 36px; border: 1px solid var(--m-line-strong); background: var(--m-card); color: var(--m-ink); }
.m-av { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--m-sunken); box-shadow: inset 0 0 0 1px var(--m-line); font-size: 12px; font-weight: 600; color: var(--m-ink2); }
.m-date { display: grid; place-items: center; align-content: center; flex: none; width: 40px; height: 52px; border-radius: 10px; background: var(--m-sunken); font-size: 16px; font-weight: 600; line-height: 18px; }
.m-date small { font-size: 12px; font-weight: 600; line-height: 14px; }
.owe { color: var(--m-owe); }
.owe small { color: var(--m-owe); }
.muted { color: var(--m-ink2); }

/* Guests table (GuestRows.tsx) */
.m-th, .m-tr { display: flex; align-items: center; gap: 12px; padding: 10px 20px; }
.m-th { border-bottom: 1px solid var(--m-line); background: rgba(230,238,242,0.5); font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: var(--m-ink2); }
.m-tr { min-height: 60px; }
.m-tr + .m-tr { border-top: 1px solid var(--m-line); }
.c-guest { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.c-stays { flex: none; width: 72px; }
.c-next { flex: none; width: 150px; color: var(--m-ink2); }
.c-bal { flex: none; width: 140px; font-weight: 600; text-align: right; }

/* Today */
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 16px; }
.m-stats-1 { grid-template-columns: 360px; margin-top: 0; }
.m-stat { display: flex; flex-direction: column; min-height: 112px; padding: 16px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-card); }
.m-stat-l { font-size: 13px; font-weight: 500; color: var(--m-ink2); }
.m-stat-v { margin-top: auto; padding-top: 12px; font-size: 32px; line-height: 34px; letter-spacing: -0.96px; }
.m-stat-h { margin-top: 6px; font-size: 12px; color: var(--m-ink2); }
.m-stat-a { border-color: transparent; background: var(--m-brand); }
.m-stat-a span, .m-stat-a b { color: #FFFFFF; }
.m-cols { display: grid; grid-template-columns: 1fr 470px; gap: 16px; align-items: start; }
.m-cols-2 { grid-template-columns: 1fr 1fr; }

/* Calendar (DesktopDayTile.tsx, Badges.tsx, Pill.tsx). Status colours live only here. */
.t-free { --tbg: #E8F7EE; --ttx: #166534; --tdot: #16A34A; --tbd: rgba(22,163,74,0.22); }
.t-partial { --tbg: #FEF4DC; --ttx: #92400E; --tdot: #D97706; --tbd: rgba(217,119,6,0.24); }
.t-full { --tbg: #FDECEC; --ttx: #991B1B; --tdot: #DC2626; --tbd: rgba(220,38,38,0.22); }
.t-blocked { --tbg: #EDF1F4; --ttx: #475569; --tdot: #64748B; --tbd: rgba(100,116,139,0.24); }
.dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--tdot); }
.m-month { display: flex; align-items: center; height: 36px; border: 1px solid var(--m-line-strong); border-radius: 10px; background: var(--m-card); font-size: 13px; }
.m-month > * { padding: 0 12px; }
.m-month > * + * { border-left: 1px solid var(--m-line); line-height: 34px; }
.m-chev { color: var(--m-ink2); font-size: 16px; }
.m-pills { display: flex; gap: 8px; margin: 16px 0; }
.m-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 4px 8px; border-radius: 6px; background: var(--tbg); color: var(--ttx); font-size: 12px; font-weight: 500; }
.m-pill b { font-weight: 600; }
.m-cal-wrap { display: flex; align-items: flex-start; gap: 16px; }
.m-cal { flex: 1; min-width: 0; }
.m-day { flex: none; width: 340px; }
.m-day-btns { display: flex; padding: 0 20px 12px; }
.m-day-btns .m-act { flex: 1; justify-content: center; }
.m-wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--m-line); background: var(--m-sunken); }
.m-wk span { font-size: 12px; font-weight: 600; letter-spacing: 0.36px; text-align: center; text-transform: uppercase; color: var(--m-ink2); }
.m-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 12px; }
.m-tile { display: flex; flex-direction: column; min-width: 0; min-height: 80px; padding: 8px; border: 1px solid var(--tbd); border-radius: 12px; background: var(--tbg); }
.m-tile b { display: flex; justify-content: space-between; font-size: 15px; line-height: 18px; }
.m-tile em { margin-top: 4px; overflow: hidden; font-size: 12px; font-style: normal; font-weight: 500; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.m-tile em + em { margin-top: 1px; }
.m-tile > i { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; font-size: 11px; font-style: normal; font-weight: 600; color: var(--ttx); }
.m-tile.out { opacity: 0.5; }
.m-tile u { padding: 1px 5px; border-radius: 6px; background: rgba(255,255,255,0.18); font-size: 11px; text-decoration: none; }
.m-tile.sel { border-color: var(--m-brand); background: var(--m-ink); color: #FFFFFF; }
.m-tile.sel > i { color: #FFFFFF; }
.m-tile.sel .dot { box-shadow: 0 0 0 2px #FFFFFF; }

/* Phones: keep the same wide screen, start at the content and crop on the right. */
@media (max-width: 639px) {
  .shot-hero .m-side { margin-left: -232px; }
  .shot .m-main { padding: 20px; }
}
