/* module: shows — shows list/calendar, show detail, availability grid, sub-rentals.
   Rules: docs/BRAND.md. Tape color (--tape) is the only decorative color. */
.sh-red { color: var(--bad); } .sh-green { color: var(--ok); }
.sh-small { font-size: 12px; }
.sh-ui { font-family: var(--font-ui); font-size: 12px; }
.nowrap { white-space: nowrap; }
.sh-gap { margin-left: 8px; }
.sh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh-ico { flex-shrink: 0; vertical-align: -3px; }
.sh-docnum { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 700; }
.sh-icon-btn { padding: 0 10px; justify-content: center; }
.sh-crumb { font-size: 13px; color: var(--steel); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.sh-crumb a { color: var(--steel); }
.sh-meta-line { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; margin-top: 4px; }

/* status dot colors (status only — not decoration) */
.st-inquiry { --st: var(--steel); } .st-hold, .st-quoted { --st: var(--warn); }
.st-confirmed, .st-prepping { --st: var(--ok); } .st-on_site { --st: var(--info); }
.st-returned, .st-closed { --st: var(--steel); } .st-cancelled { --st: var(--bad); }

/* ── toolbar, filter chips, segmented control ── */
.sh-toolbar { margin-bottom: 10px; }
.sh-toolbar .sh-q { flex: 1 1 320px; max-width: 460px; height: 36px; }
.sh-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sh-chip { border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; height: 30px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--graphite); cursor: pointer; }
.sh-chip span { color: var(--steel); margin-left: 4px; font-weight: 400; font-variant-numeric: tabular-nums; }
.sh-chip:hover { border-color: var(--steel); }
.sh-chip.active { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-dark); }
.sh-chip.active span { color: var(--teal-dark); }
.sh-seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r-ctl); background: var(--paper); padding: 2px; gap: 2px; }
.sh-seg-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 4px; background: none; font: inherit; font-weight: 600; font-size: 13px; color: var(--steel); cursor: pointer; }
.sh-seg-btn:hover { color: var(--graphite); }
.sh-seg-btn[aria-pressed="true"] { background: var(--graphite); color: #fff; }

/* ── shows list ── */
.sh-ident { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sh-ident .tape { min-width: 92px; }
.sh-ident-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sh-list td.r { font-size: 16px; }

/* ── month calendar ── */
.sh-cal { overflow: hidden; }
.sh-cal-top { flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.sh-cal-nav { gap: 6px; }
.sh-cal-nav h2 { min-width: 190px; text-align: center; }
.sh-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--steel); }
.sh-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sh-legend i { width: 22px; height: 10px; border-radius: 2px; display: inline-block; --tape: var(--steel); }
.sh-legend i.firm { background: var(--tape); }
.sh-legend i.tent { background: repeating-linear-gradient(135deg, var(--tape) 0 4px, color-mix(in srgb, var(--tape) 30%, #fff) 4px 8px); }
.sh-legend i.soft { background: var(--paper); border: 1.5px dashed var(--tape); }
.sh-legend i.done { background: color-mix(in srgb, var(--tape) 25%, #fff); }
.sh-cal-head { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--rule); }
.sh-cal-head div { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--steel); }
.sh-cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--rule-soft); min-height: 104px; row-gap: 4px; }
.sh-cal-week:last-of-type { border-bottom: 0; }
.sh-cal-day { grid-row: 1 / -1; border-right: 1px solid var(--rule-soft); padding: 6px 10px; font-size: 13px; color: var(--graphite); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.sh-cal-day:nth-child(7) { border-right: 0; }
.sh-cal-day.wkend { background: #F8F9FA; }
.sh-cal-day.other { color: #AEB6BF; }
.sh-cal-day.today span { background: var(--gaffer); color: var(--graphite); border-radius: 4px; padding: 1px 6px; font-weight: 700; }
/* tape block: solid tape edge + tape-tinted body, text always graphite for contrast */
.sh-cal-bar { position: relative; z-index: 1; margin: 0 4px; padding: 0 8px 0 12px; display: flex; gap: 6px; align-items: center; font-size: 12px; height: 24px; border-radius: 3px;
  background: color-mix(in srgb, var(--tape) 26%, #fff); color: var(--graphite); white-space: nowrap; overflow: hidden; text-decoration: none !important;
  box-shadow: inset 6px 0 0 var(--tape); }
.sh-cal-bar:hover { background: color-mix(in srgb, var(--tape) 42%, #fff); }
.sh-cal-bar:focus-visible { outline-offset: 1px; }
.sh-cal-bar .sh-cal-num { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.sh-cal-bar .sh-cal-name { overflow: hidden; text-overflow: ellipsis; }
.sh-cal-bar.tent { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--tape) 30%, #fff) 0 6px, color-mix(in srgb, var(--tape) 14%, #fff) 6px 12px); }
.sh-cal-bar.soft { background: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tape) 80%, #fff); border-radius: 3px; padding-left: 8px; }
.sh-cal-bar.soft:hover { background: color-mix(in srgb, var(--tape) 12%, #fff); }
.sh-cal-bar.done { background: color-mix(in srgb, var(--tape) 12%, #fff); color: var(--steel); box-shadow: inset 6px 0 0 color-mix(in srgb, var(--tape) 45%, #fff); }
.sh-cal-bar.cont-l { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; box-shadow: none; padding-left: 8px; }
.sh-cal-bar.soft.cont-l { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tape) 80%, #fff); }
.sh-cal-bar.cont-r { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.sh-cal-empty { padding: 14px 16px; border-top: 1px solid var(--rule-soft); }

/* ── show detail hero: tape band, identity, status, then actions ── */
.sh-hero { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); margin-bottom: 16px; position: relative; }
.sh-band { height: 14px; background: var(--tape); border-radius: var(--r-panel) var(--r-panel) 0 0;
  background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.08)); box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); }
.sh-hero-body { padding: 14px 20px 12px; }
.sh-hero-body .sh-crumb { margin-bottom: 8px; }
.sh-hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.sh-hero-id { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 420px; }
.sh-hero-id h1 { font-size: 26px; min-width: 0; }
.sh-tape-wrap { position: relative; flex-shrink: 0; }
.sh-tape-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 10px; border: 1px solid var(--rule); border-radius: var(--r-ctl); background: var(--paper); cursor: pointer; font: inherit; color: var(--graphite); }
.sh-tape-btn:hover { border-color: var(--steel); }
.sh-tape-btn .tape-swatch { width: 26px; height: 16px; }
.sh-hero-num { font-family: var(--font-display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.sh-tape-pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 300px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); box-shadow: var(--float); padding: 12px; }
.sh-tape-pop-head { display: flex; flex-direction: column; margin-bottom: 10px; }
.sh-tape-pop-head small { font-size: 12px; }
.sh-swatches { display: grid; grid-template-columns: repeat(7, 32px); gap: 8px; }
.sh-sw { position: relative; display: grid; place-items: center; width: 32px; height: 32px; cursor: pointer; }
.sh-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sh-sw span { width: 28px; height: 20px; border-radius: 3px; background: var(--tape); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); transform: rotate(-4deg); }
.sh-sw input:checked + span { outline: 2px solid var(--graphite); outline-offset: 2px; }
.sh-sw input:focus-visible + span { outline: 2px solid var(--gaffer); outline-offset: 3px; }
.sh-sw-auto { width: auto; grid-column: span 2; display: flex; gap: 6px; justify-content: flex-start; }
.sh-sw-auto span { width: 22px; height: 16px; opacity: .55; }
.sh-sw-auto em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--graphite); }
.sh-sw-auto input:checked + span { opacity: 1; }
.sh-tape-field { margin-top: 14px; }
.sh-tape-field .sh-swatches { grid-template-columns: repeat(auto-fill, 32px); }

.sh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; font-size: 14px; }
.sh-meta-item { display: inline-flex; align-items: center; gap: 6px; color: var(--graphite); }
.sh-meta-item .sh-ico { color: var(--steel); }
.sh-status-pill { position: relative; display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--rule); border-radius: 999px; padding: 0 2px 0 10px; background: var(--paper); }
.sh-status-pill:hover { border-color: var(--steel); }
.sh-dot-s { width: 8px; height: 8px; border-radius: 50%; background: var(--st, var(--steel)); flex-shrink: 0; }
.sh-status { border: 0; background: transparent; font-weight: 600; font-size: 13px; padding: 4px 8px; height: 28px; cursor: pointer; }
.sh-status:focus { outline: none; }
.sh-status-pill:focus-within { outline: 2px solid var(--gaffer); outline-offset: 2px; }
.sh-h1-sub { font-family: var(--font-ui); font-weight: 400; font-size: 20px; color: var(--steel); margin-left: 6px; }

.sh-alert { background: var(--bad-wash); border: 1px solid #EBC2BE; color: #7A2620; border-radius: var(--r-panel); padding: 10px 14px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh-alert.amber { background: var(--warn-wash); border-color: #EBD3A6; color: #6B4A0E; }

/* ── run-of-show strip (replaces the dot timeline) ── */
.sh-run { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; align-items: stretch; border-top: 1px solid var(--rule-soft); padding: 12px 20px 14px; }
.sh-run-empty { display: flex; gap: 10px; align-items: center; }
.sh-run-grid { display: grid; column-gap: 2px; }
.sh-run-day { display: grid; grid-template-rows: 18px 18px 18px; min-width: 0; }
.sh-run-mark { font-size: 12px; font-weight: 600; color: var(--graphite); white-space: nowrap; overflow: visible; align-self: end; padding-bottom: 3px; }
.sh-run-cell { background: color-mix(in srgb, var(--tape) 30%, #fff); border-radius: 1px; }
.sh-run-day.site .sh-run-cell { background: color-mix(in srgb, var(--tape) 62%, #fff); }
.sh-run-day.event .sh-run-cell { background: var(--tape); }
.sh-run-day:first-child .sh-run-cell { border-radius: 3px 1px 1px 3px; }
.sh-run-day:last-child .sh-run-cell { border-radius: 1px 3px 3px 1px; }
.sh-run-day.past .sh-run-cell { opacity: .55; }
.sh-run-day.today .sh-run-cell { outline: 2px solid var(--graphite); outline-offset: 1px; opacity: 1; }
.sh-run-day.today .sh-run-mark { color: var(--graphite); }
.sh-run-date { font-size: 12px; color: var(--steel); white-space: nowrap; padding-top: 3px; }
.sh-run-date b { color: var(--graphite); font-weight: 600; }
.sh-run-sum { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; border-left: 1px solid var(--rule-soft); padding-left: 20px; min-width: 120px; }
.sh-run-sum strong { font-family: var(--font-display); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.sh-run-sum span { font-size: 13px; color: var(--graphite); font-weight: 600; }
.sh-run-sum small { font-size: 12px; margin-top: 2px; }
.sh-run-key { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--steel); margin-top: 8px; }
.sh-run-key span { display: inline-flex; gap: 6px; align-items: center; }
.sh-run-key i { width: 14px; height: 8px; border-radius: 1px; }
.sh-run-key i.travel { background: color-mix(in srgb, var(--tape) 30%, #fff); }
.sh-run-key i.site { background: color-mix(in srgb, var(--tape) 62%, #fff); }
.sh-run-key i.event { background: var(--tape); }

/* ── overview ── */
.sh-kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); }
.sh-kv:last-of-type { border-bottom: 0; }
.sh-kv strong { font-family: var(--font-display); font-size: 16px; font-variant-numeric: tabular-nums; }
.sh-notes h4, .sh-h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--steel); }
.sh-notes p { margin: 0 0 14px; white-space: pre-wrap; }
.sh-sched-tbl td { padding: 8px 4px; height: 40px; }
.sh-sched-tbl td.sh-rel { text-align: right; font-size: 13px; }
.sh-help { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 12px 0 0; font-size: 13px; }
.sh-help dt { font-weight: 600; } .sh-help dd { margin: 0; color: var(--steel); }

/* ── form ── */
.sh-sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 14px; }
@media (max-width: 800px) { .sh-sched { grid-template-columns: 1fr 1fr; } }
.sh-form-err { margin-top: 10px; font-weight: 600; }
.sh-form .field select, .sh-form .field input:not([type=radio]) { width: 100%; }
.sh-biz { display: grid; gap: 12px; }

/* ── gear list (equipment tab) ── */
.sh-pull .sh-qty { width: 70px; text-align: right; }
.sh-pull .section-row td { font-family: var(--font-display); font-size: 15px; }
.sh-pull .sh-sec-meta { font-family: var(--font-ui); font-weight: 400; font-size: 12px; margin-left: 14px; }
.sh-pull tr.sh-short-row td { background: #FDF5F4; }
.sh-pull tr.sh-short-row td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.sh-line-note { font-size: 12px; color: var(--warn); margin-top: 2px; }
.sh-pull .icon-btn { padding: 6px; line-height: 0; }
.sh-sec-label { color: var(--steel); }

/* ── availability grid ── */
.sh-av-tools { margin-bottom: 10px; }
.sh-av-tools .check { padding: 0; }
.sh-av-tools .sh-avq { width: 200px; }
.sh-av-legend { display: flex; gap: 16px; font-size: 12px; color: var(--steel); flex-wrap: wrap; margin-bottom: 12px; }
.sh-av-legend span { display: inline-flex; gap: 6px; align-items: center; }
.sh-av-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(38,48,58,.18); }
.sh-av-legend i.ok { background: var(--ok-wash); } .sh-av-legend i.low { background: var(--warn-wash); box-shadow: inset 0 0 0 1px #E8CF9E; } .sh-av-legend i.zero { background: var(--bad-wash); }
.sh-av-legend i.neg { background: var(--bad); } .sh-av-legend i.tent { background: var(--paper); box-shadow: inset 0 0 0 2px var(--warn); }
.sh-av-wrap { overflow: auto; max-height: calc(100vh - 250px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); }
.sh-av { border-collapse: separate; border-spacing: 0; font-size: 13px; width: max-content; min-width: 100%; }
.sh-av th { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 6px 0; width: 40px; min-width: 40px; font-weight: 600; color: var(--graphite); text-align: center; line-height: 1.15; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.sh-av th span { display: block; font-size: 11px; color: var(--steel); font-weight: 400; font-family: var(--font-ui); }
.sh-av th em { display: block; font-style: normal; font-size: 11px; color: var(--teal-dark); font-weight: 600; font-family: var(--font-ui); }
.sh-av th.wkend { background: #F6F7F9; }
.sh-av th.today { background: var(--gaffer); color: var(--graphite); }
.sh-av th.today span, .sh-av th.today em { color: var(--graphite); }
.sh-av .sh-av-name { position: sticky; left: 0; z-index: 1; background: var(--paper); text-align: left; width: 250px; min-width: 250px; max-width: 250px; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-right: 1px solid var(--rule); font-family: var(--font-ui); }
.sh-av .sh-av-name a { color: var(--graphite); }
.sh-av th.sh-av-name { z-index: 3; font-size: 12px; color: var(--steel); }
.sh-av .sh-av-own { position: sticky; left: 250px; z-index: 1; background: var(--paper); text-align: center; font-weight: 700; border-right: 1px solid var(--rule); width: 48px; min-width: 48px; font-family: var(--font-display); }
.sh-av th.sh-av-own { z-index: 3; font-size: 12px; color: var(--steel); font-family: var(--font-ui); font-weight: 600; }
.sh-av .sh-av-own small { display: block; font-size: 10px; color: var(--bad); font-weight: 600; }
.sh-av td { border-bottom: 1px solid var(--rule-soft); height: 32px; }
.sh-av tr.sh-av-cat td { position: sticky; left: 0; background: var(--concrete); font-weight: 600; font-size: 13px; color: var(--graphite); padding: 6px 12px; height: auto; }
.sh-av-cell { text-align: center; cursor: pointer; font-variant-numeric: tabular-nums; font-family: var(--font-display); border-right: 1px solid var(--paper); position: relative; }
.sh-av-cell.free { color: #9AA3AD; }
.sh-av-cell.ok { background: var(--ok-wash); color: #17673A; font-weight: 600; }
.sh-av-cell.low { background: var(--warn-wash); color: #87590F; font-weight: 700; }
.sh-av-cell.zero { background: var(--bad-wash); color: #962A23; font-weight: 700; }
.sh-av-cell.neg { background: var(--bad); color: #fff; font-weight: 700; }
.sh-av-cell.has-tent::after { content: ''; position: absolute; top: 3px; right: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--warn); }
.sh-av-cell.tent-over { box-shadow: inset 0 0 0 2px var(--warn); }
.sh-av-cell:hover, .sh-av-cell:focus-visible { outline: 2px solid var(--graphite); outline-offset: -2px; }

/* shows lanes above the grid: tape blocks spanning each show's out → in */
.sh-av-lanes td { height: 28px; border-bottom: 0; padding: 2px 0; }
.sh-av-lanes tr:last-child td { border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.sh-av-lanes tr:first-child td { padding-top: 6px; }
.sh-av-lane-title { font-size: 12px; font-weight: 600; color: var(--steel); display: block; }
.sh-av-blockcell { padding: 2px 2px !important; max-width: 0; overflow: hidden; }
.sh-av-block { display: block; height: 24px; line-height: 24px; padding: 0 8px 0 12px; border-radius: 3px; font-size: 12px; color: var(--graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: color-mix(in srgb, var(--tape) 26%, #fff); box-shadow: inset 6px 0 0 var(--tape); text-decoration: none !important; font-family: var(--font-ui); }
.sh-av-block b { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.sh-av-block:hover { background: color-mix(in srgb, var(--tape) 42%, #fff); }
.sh-av-block.tent { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--tape) 30%, #fff) 0 6px, color-mix(in srgb, var(--tape) 12%, #fff) 6px 12px); }

/* bookings modal: tape blocks per show */
.sh-avstats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 14px; border: 1px solid var(--rule); border-radius: var(--r-panel); overflow: hidden; }
.sh-avstats div { padding: 10px 12px; border-right: 1px solid var(--rule-soft); }
.sh-avstats div:last-child { border-right: 0; }
.sh-avstats span { display: block; font-size: 12px; color: var(--steel); font-weight: 600; }
.sh-avstats strong { font-family: var(--font-display); font-size: 24px; font-variant-numeric: tabular-nums; }
.sh-avstats .neg strong { color: var(--bad); } .sh-avstats .pos strong { color: var(--ok); }
.sh-bookings { display: flex; flex-direction: column; gap: 6px; }
.sh-booking { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; gap: 12px; align-items: center; padding: 8px 12px 8px 16px; border-radius: 6px;
  background: color-mix(in srgb, var(--tape, var(--steel)) 14%, #fff); box-shadow: inset 6px 0 0 var(--tape, var(--steel)); }
.sh-booking.tent { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--tape) 16%, #fff) 0 6px, #fff 6px 12px); }
.sh-booking-main { display: flex; flex-direction: column; min-width: 0; }
.sh-booking-main a { text-decoration: none; }
.sh-booking-qty { text-align: right; display: flex; flex-direction: column; }
.sh-booking-qty strong { font-family: var(--font-display); font-size: 20px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .sh-avstats { grid-template-columns: repeat(2, 1fr); } }

/* ── sub-rentals ── */
.sh-flow { display: flex; gap: 0; margin-bottom: 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); overflow: hidden; }
.sh-flow-step { flex: 1; border: 0; background: none; height: 44px; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 600; color: var(--steel); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--rule-soft); }
.sh-flow-step:last-child { border-right: 0; }
.sh-flow-step span { width: 22px; height: 22px; border-radius: 50%; background: var(--concrete); color: var(--graphite); display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: var(--font-display); }
.sh-flow-step:hover { background: #F8F9FA; color: var(--graphite); }
.sh-flow-step.done { color: var(--graphite); } .sh-flow-step.done span { background: var(--ok); color: #fff; }
.sh-flow-step.current { color: var(--graphite); background: var(--teal-wash); box-shadow: inset 0 -3px 0 var(--teal); } .sh-flow-step.current span { background: var(--teal); color: #fff; }
.sh-flow-step.cancelled { text-decoration: line-through; opacity: .6; }
.sh-sub-items input { padding: 4px 6px; }
.sh-sub-items td input[type=number] { text-align: right; }
.sh-short-card { box-shadow: inset 4px 0 0 var(--tape); }
.sh-short-card .card-head { align-items: flex-start; flex-wrap: wrap; }

@media (max-width: 900px) {
  .sh-run { grid-template-columns: 1fr; }
  .sh-run-sum { border-left: 0; padding-left: 0; flex-direction: row; align-items: baseline; gap: 8px; justify-content: flex-start; margin-top: 10px; }
  .sh-run-sum strong { font-size: 26px; }
  .sh-hero-id h1 { font-size: 22px; }
}

/* ── Pricing visibility: Sales rep chip + quiet "pricing hidden" note (used across modules) ── */
.sf-rep { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.sf-rep .sf-rep-av { width: 22px; height: 22px; font-size: 10px; background: var(--concrete); color: var(--graphite); border: 1px solid var(--rule); }
.sf-rep-name { white-space: nowrap; }
.pricing-note { margin: 0; color: var(--steel); font-size: 13px; }
.card .pricing-note + .pricing-note { margin-top: 4px; }
.sh-rep-btn { background: none; border: 0; padding: 0 0 0 4px; color: var(--teal); font: inherit; font-size: 13px; cursor: pointer; }
.sh-rep-btn:focus-visible { outline: 2px solid var(--gaffer); outline-offset: 2px; border-radius: 4px; }
.sh-mine[aria-pressed="true"] { background: var(--paper); color: var(--teal); border-color: var(--teal); }
.table-wrap + .pricing-note, .sh-toolbar + .pricing-note, .toolbar + .pricing-note { margin: 8px 0 12px; }
/* v0.5 gear list structure */
.sh-child-row td { font-size: 13px; }
.sh-child-row td:first-child { padding-left: 28px; }
.sh-child-tick { color: var(--steel); margin-right: 4px; }
.sh-bundle-row td { background: var(--concrete); }

/* ═══════════ Phones (≤ 640px): show page (mobile phase 1) ═══════════ */
.sh-m-sched { list-style: none; margin: 0; padding: 0; }
.sh-m-sched li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); }
.sh-m-sched li:last-child { border-bottom: 0; }
.sh-m-sched li.past { opacity: .6; }
.sh-m-sched li.today { box-shadow: inset 4px 0 0 var(--gaffer); padding-left: 10px; }
.sh-m-k { display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.sh-m-k small { font-weight: 400; font-size: 12px; }
.sh-m-v { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.sh-m-v small { font-size: 12px; }
.sh-m-p { margin: 0 0 8px; overflow-wrap: anywhere; }
.sh-m-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sh-m-acts .btn { min-height: 44px; flex: 1 1 auto; justify-content: center; }
.sh-m-people { list-style: none; margin: 0; padding: 0; }
.sh-m-people li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); overflow-wrap: anywhere; }
.sh-m-people li:last-child { border-bottom: 0; }
.sh-m-people .sh-m-k { font-size: 12px; color: var(--steel); font-weight: 600; }
.sh-m-people .sh-m-acts { margin-top: 6px; }
.sh-m-gear-acts { margin: 0 0 12px; }
.sh-m-sec { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); margin-bottom: 12px; padding: 4px 14px; }
.sh-m-sec h3 { display: flex; flex-direction: column; gap: 2px; padding: 10px 0 8px; border-bottom: 2px solid var(--graphite); }
.sh-m-sec h3 small { font-family: var(--font-ui); font-weight: 400; font-size: 12px; }
.sh-m-lines { list-style: none; margin: 0; padding: 0; }
.sh-m-lines li { padding: 10px 0; border-bottom: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 6px; }
.sh-m-lines li:last-child { border-bottom: 0; }
.sh-m-lines li.sh-m-child { padding-left: 16px; border-left: 2px solid var(--rule); }
.sh-m-lines li.sh-short-row { background: var(--bad-wash); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
.sh-m-line-top { overflow-wrap: anywhere; }
.sh-m-line-top a { color: var(--graphite); }
.sh-m-line-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.sh-m-qty { display: inline-flex; align-items: center; gap: 6px; }
.sh-m-qty input { width: 76px; min-height: 44px; font-size: 16px; text-align: center; }
.sh-m-lines .sh-m-acts { margin-top: 0; }
.sh-m-total { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; margin: 0 0 12px; }
@media screen and (max-width: 640px) {
  .sh-hero-body { padding: 12px 14px 10px; }
  .sh-hero-row { gap: 10px; }
  .sh-hero-id { flex: 1 1 100%; flex-wrap: wrap; gap: 8px; }
  .sh-hero-id h1 { font-size: 20px; flex: 1 1 100%; overflow-wrap: anywhere; }
  .sh-tape-btn { min-height: 44px; }
  .sh-hero-row .page-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
  .sh-hero-row .page-actions .btn { min-height: 44px; flex: 1 1 auto; justify-content: center; }
  .sh-meta { gap: 6px 14px; }
  .sh-status { font-size: 16px; min-height: 40px; }
  .sh-rep-btn { min-height: 40px; padding: 0 8px; }
  .sh-run { padding: 10px 14px 12px; }
  .sh-run-track { display: none; }
  .sh-run-sum { margin-top: 0; }
  .sh-alert { flex-wrap: wrap; }
  .sh-alert .btn { min-height: 44px; }
  .sh-tabs .tabs { overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sh-tabs .tabs .tab { flex-shrink: 0; min-height: 44px; }
  .sh-m .card { margin-bottom: 12px; }
}

/* ── event cancellation (owner flow 2026-12-03): approval and reconciliation card above the show tabs ── */
.sh-banners:empty { display: none; }
.cx-card { border: 1px solid var(--rule-soft); border-left: 4px solid var(--warn); background: var(--warn-wash); border-radius: var(--r-panel); padding: 14px 18px; margin-bottom: 14px; }
.cx-card.cx-done { border-left-color: var(--bad); background: var(--bad-wash); }
.cx-card.cx-closed { border-left-color: var(--rule); background: transparent; }
.cx-card h2 { font-size: 1.05rem; margin: 0; }
.cx-card h3 { font-size: .9rem; margin: 12px 0 4px; }
.cx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cx-meta { margin: 6px 0 0; }
.cx-meta .btn { margin-left: 6px; }
.cx-note { margin: 6px 0 0; white-space: pre-wrap; }
.cx-effects { margin: 4px 0 0; padding-left: 20px; }
.cx-effects li { margin: 2px 0; }
.cx-preview { border-top: 1px solid var(--rule-soft); margin-top: 12px; padding-top: 4px; }
.cx-check { list-style: none; margin: 10px 0 0; padding: 0; }
.cx-check li { display: flex; gap: 8px; align-items: baseline; margin: 4px 0; }
.cx-tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; flex: none; }
.cx-check li.ok .cx-tick { background: var(--ok-wash); color: #22603A; }
.cx-check li.todo .cx-tick { background: var(--warn-wash); color: #6B4A0E; border: 1px solid #EBD3A6; }
.cx-closed details summary { cursor: pointer; margin-top: 8px; }
@media (max-width: 720px) { .cx-head .btn { min-height: 44px; } }
