/* Harbor Home for shops (public/harbor-shop-home.mjs, 2026-10-16). The HQ Play / Voyage look: the shop's painted band
   with an Anton title on the sun brush, one row of Shopify-style numbers, sales by day, big ink-outlined doors. */
.sh { display: grid; gap: 16px; container-type: inline-size; }
.sh-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: 26px 26px 24px; min-height: 196px;
  display: grid; align-content: end; gap: 8px; color: #fff; }
.sh-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sh-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 14 30 / 55%) 0%, rgb(15 14 30 / 18%) 55%, transparent 80%); }
.sh-hero-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 78%); }
.sh-title { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em;
  font-size: clamp(30px, 5vw, 46px); line-height: 1.15; }
.sh-title span, .sh-page-title span { color: var(--ink, #16130a); padding: 0.04em 0.2em 0;
  background: linear-gradient(to bottom, transparent 0.19em, var(--sun, #ffe14a) 0.19em, var(--sun, #ffe14a) 1.357em, transparent 1.357em);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sh-hero-sub { margin: 0; max-width: 56ch; color: rgb(255 255 255 / 92%); font-size: 16px; font-weight: 600; text-shadow: 0 1px 8px rgb(0 0 0 / 35%); }

.sh-range { display: inline-flex; justify-self: start; border: 1.5px solid var(--ink, #16130a); border-radius: 999px; overflow: hidden; background: #fff; }
.sh-range-btn { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 13.5px; padding: 7px 16px; min-height: 36px; cursor: pointer; color: var(--ink, #16130a); }
.sh-range-btn.is-on { background: var(--ink, #16130a); color: #fff; }
.sh-range-btn:focus-visible { outline: 3px solid var(--sun, #ffe14a); outline-offset: -3px; }

.sh-row { display: grid; grid-template-columns: repeat(var(--sh-cols, 6), minmax(0, 1fr)); background: #fff; border: 1px solid var(--line, rgb(22 19 10 / 10%));
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%)); }
.sh-tile { display: grid; gap: 2px; align-content: start; padding: 13px 15px; min-width: 0; border-right: 1px solid var(--line, rgb(22 19 10 / 10%)); border-bottom: 1px solid var(--line, rgb(22 19 10 / 10%)); margin: 0 -1px -1px 0; }
.sh-k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.sh-v { font-family: Anton, Impact, sans-serif; font-size: 28px; line-height: 1.12; font-variant-numeric: tabular-nums; color: var(--ink, #16130a); overflow-wrap: anywhere; }
.sh-d { font-size: 13px; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.sh-d.is-up { color: #167a43; font-weight: 600; }
.sh-d.is-down { color: #b4234d; font-weight: 600; }
.sh-tile.is-off .sh-v { color: var(--ink-3, rgb(22 19 10 / 45%)); }
.sh-connect { font-size: 13px; font-weight: 700; color: var(--ink, #16130a); margin-top: 2px; }
.sh-row.is-loading .sh-tile { gap: 8px; }

.sh-card { background: #fff; border: 1px solid var(--line, rgb(22 19 10 / 10%)); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%)); min-width: 0; }
.sh-card-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: space-between; }
.sh-card-title { margin: 0; font-size: 16px; font-weight: 700; }
.sh-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.sh-note { margin: 8px 0 0; color: var(--ink-2, rgb(22 19 10 / 72%)); font-size: 14px; }

.sh-bars { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: end; height: 96px; }
.sh-bars.is-thirty { gap: 3px; }
.sh-bar { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; align-items: end; }
.sh-bar-fill { display: block; width: 100%; min-height: 3px; background: var(--ink, #16130a); border-radius: 5px 5px 2px 2px; }
.sh-bars.is-thirty .sh-bar-fill { border-radius: 3px 3px 1px 1px; }
.sh-bar.is-zero .sh-bar-fill { background: var(--line-2, rgb(22 19 10 / 16%)); }
.sh-bar.is-today .sh-bar-fill { background: var(--hot, #ff5c8a); }
.sh-bar-day { font-size: 11px; color: var(--ink-3, rgb(22 19 10 / 60%)); text-align: center; margin-top: 4px; min-height: 14px; }

.sh-doors { display: grid; grid-template-columns: repeat(var(--sh-cols, 4), minmax(0, 1fr)); gap: 14px; }
/* Rows split evenly as the page narrows: six numbers go 6, 3, 2 across; four doors 4, 2, 1. */
.sh-row[data-count="5"], .sh-row[data-count="4"] { --sh-cols: 4; }
.sh-row[data-count="3"] { --sh-cols: 3; }
.sh-doors[data-count="3"] { --sh-cols: 3; }
.sh-doors[data-count="2"] { --sh-cols: 2; }
@container (max-width: 920px) {
  .sh-row[data-count="6"] { --sh-cols: 3; }
  .sh-doors[data-count="4"] { --sh-cols: 2; }
}
@container (max-width: 640px) {
  .sh-row[data-count] { --sh-cols: 2; }
  .sh-doors[data-count="3"] { --sh-cols: 1; }
}
@container (max-width: 480px) {
  .sh-doors[data-count] { --sh-cols: 1; }
}
.sh-door { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 20px; background: #fff; color: var(--ink, #16130a);
  border: 1.5px solid var(--ink, #16130a); box-shadow: 4px 4px 0 var(--ink, #16130a); text-decoration: none; min-width: 0;
  transition: transform 0.15s var(--ease, ease), box-shadow 0.15s var(--ease, ease); }
.sh-door:hover, .sh-door:focus-visible { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink, #16130a); }
.sh-door strong { font-size: 17px; }
.sh-door-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--ink, #16130a); }
.sh-door.tone-sun .sh-door-icon { background: var(--sun-soft, #fff4b8); }
.sh-door.tone-hot .sh-door-icon { background: var(--hot-soft, #ffe1ea); }
.sh-door.tone-sky .sh-door-icon { background: var(--sky-soft, #e4efff); }
.sh-door.tone-grape .sh-door-icon { background: var(--grape-soft, #ece6ff); }
.sh-door-sub { font-size: 14px; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.sh-door-go { font-weight: 700; font-size: 14px; margin-top: 2px; }

.sh-error p { margin: 0 0 10px; }

/* Harbor › Orders */
.sh-page-head { display: grid; gap: 8px; }
.sh-page-head p { margin: 0; color: var(--ink-2, rgb(22 19 10 / 72%)); max-width: 62ch; }
.sh-page-title { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5vw, 44px); line-height: 1.15; }
.sh-empty { display: grid; gap: 10px; justify-items: start; }
.sh-orders { list-style: none; margin: 0; padding: 0; display: grid; }
.sh-order { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; gap: 4px 14px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line, rgb(22 19 10 / 10%)); }
.sh-order:last-child { border-bottom: 0; }
.sh-order-when { font-size: 13.5px; color: var(--ink-2, rgb(22 19 10 / 72%)); font-variant-numeric: tabular-nums; }
.sh-order-what { display: grid; min-width: 0; }
.sh-order-what strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-order-what small { font-size: 12.5px; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.sh-order-amount { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.sh-order.is-refunded .sh-order-amount, .sh-order.is-cancelled .sh-order-amount { text-decoration: line-through; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.sh-order-from { grid-column: 2 / -1; grid-row: 2; font-size: 12.5px; color: var(--ink-3, rgb(22 19 10 / 60%)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: #dcf2e4; color: #167a43; }
.sh-pill.is-refunded, .sh-pill.is-cancelled { background: #ffe1ea; color: #b4234d; }
@media (max-width: 560px) {
  .sh-hero { padding: 22px 18px 20px; min-height: 180px; }
  .sh-order { grid-template-columns: minmax(0, 1fr) auto; }
  .sh-order-when { grid-row: 1; grid-column: 1 / -1; }
  .sh-order-what { grid-row: 2; grid-column: 1; }
  .sh-order-amount { grid-row: 2; grid-column: 2; }
  .sh-order-from { grid-row: 3; grid-column: 1; }
  .sh-order .sh-pill { grid-row: 3; grid-column: 2; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .sh-door { transition: none; } }
