/* Car Wash Booking Demo (theme 1.18.0): ShinePoint Auto Spa — Demo.
   Scoped to .cw-page / #cwApp so nothing leaks into the InstantBookingPro site
   around it. Charcoal, white and teal; Barlow Condensed for the automotive
   headings, the site's Plus Jakarta Sans for everything else. */
.cw-page {
  --cw-ink: #161b1f;        /* charcoal */
  --cw-ink-2: #3a444c;
  --cw-mute: #66727b;
  --cw-line: #dde3e6;
  --cw-ground: #f2f5f6;
  --cw-card: #ffffff;
  --cw-teal: #0b8f88;
  --cw-teal-2: #0a7a74;
  --cw-teal-soft: #e3f5f3;
  --cw-teal-glow: rgba(11, 143, 136, .22);
  --cw-warn: #a4380f;
  --cw-warn-soft: #fff1ea;
  --cw-display: "Barlow Condensed", "Plus Jakarta Sans", "Arial Narrow", sans-serif;
  --cw-r: 14px;
}

/* ---------- page around the demo ---------- */
.cw-hero { padding: 40px 0 10px; }
.cw-hero .head { max-width: 760px; }
.cw-disclaimer { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1.5px dashed var(--cw-line); color: var(--cw-ink-2); font-size: .95rem; max-width: 760px; }
.cw-app-wrap { padding: 18px 0 40px; }
.cw-frame { background: var(--cw-ground); border: 1px solid var(--cw-line); border-radius: 20px; box-shadow: 0 24px 60px -30px rgba(22, 27, 31, .45); overflow: clip; }
.cw-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #e7ecee; border-bottom: 1px solid var(--cw-line); }
.cw-chrome .dc-dot { width: 10px; height: 10px; border-radius: 50%; background: #c7d0d4; }
.cw-chrome .cw-url { flex: 1; min-width: 0; margin: 0 8px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--cw-mute); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-reset { border: 1.5px solid var(--cw-line); background: #fff; color: var(--cw-ink); font: inherit; font-weight: 700; font-size: .84rem; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.cw-reset:hover { border-color: var(--cw-ink-2); }
.cw-reset:focus-visible { outline: 3px solid var(--cw-teal); outline-offset: 2px; }

/* ---------- the demo app ---------- */
#cwApp { color: var(--cw-ink); font-size: 16px; line-height: 1.5; }
#cwApp *, #cwApp *::before, #cwApp *::after { box-sizing: border-box; }
.cw-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.cw-brandbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 18px 28px; background: var(--cw-ink); color: #fff;
  background-image: linear-gradient(115deg, transparent 62%, rgba(11, 143, 136, .28) 62%, rgba(11, 143, 136, .28) 66%, transparent 66%, transparent 70%, rgba(11, 143, 136, .16) 70%, rgba(11, 143, 136, .16) 72%, transparent 72%); }
.cw-brand { display: flex; align-items: center; gap: 12px; }
.cw-brand b { display: block; font-family: var(--cw-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; line-height: 1.1; }
.cw-brand small { display: block; color: #b9c4ca; font-size: .86rem; }
.cw-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--cw-teal); display: grid; place-items: center; flex: none; }
.cw-logo svg { width: 26px; height: 26px; fill: #fff; }
.cw-logo .cw-logo-s { fill: none; stroke: var(--cw-teal); stroke-width: 2.2; stroke-linecap: round; }
.cw-loc { color: #dbe3e6; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.cw-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* stepper */
.cw-steps { list-style: none; margin: 0; padding: 14px 28px; display: flex; gap: 8px; background: #fff; border-bottom: 1px solid var(--cw-line); overflow-x: auto; }
.cw-steps li { flex: 1; min-width: 0; }
.cw-step { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: var(--cw-mute); cursor: pointer; text-align: left; }
.cw-step:disabled { cursor: default; opacity: .7; }
.cw-step:not(:disabled):hover { background: var(--cw-ground); color: var(--cw-ink); }
.cw-step:focus-visible { outline: 3px solid var(--cw-teal); outline-offset: 2px; }
.cw-step-n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; font-weight: 800; font-size: .85rem; }
.cw-step-n .cw-tick { width: 16px; height: 16px; }
.cw-step-t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-current .cw-step { color: var(--cw-ink); }
.is-current .cw-step-n { background: var(--cw-ink); border-color: var(--cw-ink); color: #fff; }
.is-done .cw-step { color: var(--cw-teal-2); }
.is-done .cw-step-n { background: var(--cw-teal); border-color: var(--cw-teal); color: #fff; }

/* layout */
.cw-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding: 28px; align-items: start; }
.cw-body.is-done { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.cw-main { min-width: 0; display: grid; gap: 30px; }
.cw-aside { position: sticky; top: 96px; }
.admin-bar .cw-aside { top: 128px; }

.cw-sec { display: grid; gap: 14px; }
.cw-sec-head h2 { margin: 0; font-family: var(--cw-display); font-weight: 700; font-size: 1.65rem; letter-spacing: .01em; line-height: 1.15; display: flex; align-items: center; gap: 10px; text-wrap: balance; }
.cw-sec-head h2:focus { outline: none; }
.cw-sec-head p { margin: 4px 0 0; color: var(--cw-mute); }
.cw-sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.cw-num { width: 28px; height: 28px; border-radius: 8px; background: var(--cw-ink); color: #fff; display: inline-grid; place-items: center; font-family: "Plus Jakarta Sans", sans-serif; font-size: .85rem; font-weight: 800; flex: none; }
.cw-opt { font-family: "Plus Jakarta Sans", sans-serif; font-size: .74rem; font-weight: 700; color: var(--cw-mute); background: var(--cw-ground); border: 1px solid var(--cw-line); border-radius: 999px; padding: 2px 8px; letter-spacing: .02em; }

.cw-grid { display: grid; gap: 14px; }
.cw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* option cards: hover = darker border + lift; selected = teal border, tint and tick */
.cw-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--cw-card); border: 2px solid var(--cw-line); border-radius: var(--cw-r); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s, background-color .15s; }
.cw-card:hover { border-color: #9aa7ae; box-shadow: 0 10px 24px -16px rgba(22, 27, 31, .5); transform: translateY(-2px); }
.cw-card.is-selected { border-color: var(--cw-teal); background: var(--cw-teal-soft); box-shadow: 0 0 0 4px var(--cw-teal-glow); transform: none; }
.cw-card:has(.cw-sr:focus-visible) { outline: 3px solid var(--cw-ink); outline-offset: 3px; }
.cw-card-title { font-family: var(--cw-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.cw-card-sub { color: var(--cw-ink-2); font-size: .92rem; }
.cw-card-meta { color: var(--cw-mute); font-size: .82rem; }
.cw-sel { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cw-line); background: #fff; display: grid; place-items: center; }
.cw-sel .cw-tick { width: 15px; height: 15px; opacity: 0; }
.is-selected .cw-sel { background: var(--cw-teal); border-color: var(--cw-teal); }
.is-selected .cw-sel .cw-tick { opacity: 1; stroke: #fff; }
.cw-tick { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.cw-veh-art { display: block; padding: 6px 4px 2px; }
.cw-veh-art svg { display: block; width: 100%; max-width: 200px; height: auto; }
.cw-car-body { fill: var(--cw-ink-2); }
.cw-car-glass { fill: #cfe3e6; }
.cw-car-line { stroke: #1f262b; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.cw-car-wheel { fill: var(--cw-ink); stroke: #fff; stroke-width: 2; }
.cw-car-hub { fill: #c6d0d4; }
.is-selected .cw-car-body { fill: var(--cw-teal-2); }

.cw-pkg { padding-top: 22px; }
.cw-badge { position: absolute; top: -12px; left: 16px; background: var(--cw-ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.cw-pkg-top { display: grid; gap: 4px; padding-right: 30px; }
.cw-meter { display: inline-flex; gap: 4px; margin-bottom: 2px; }
.cw-meter i { width: 18px; height: 6px; border-radius: 3px; background: var(--cw-line); }
.cw-meter i.on { background: var(--cw-teal); }
.cw-pkg-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 0; border-block: 1px solid var(--cw-line); margin: 6px 0 4px; }
.cw-price { font-family: var(--cw-display); font-weight: 700; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cw-price-from { font-size: 1.6rem; color: var(--cw-ink-2); }
.cw-price-from small { font-family: "Plus Jakarta Sans", sans-serif; font-size: .8rem; font-weight: 700; color: var(--cw-mute); }
.cw-pkg-time { color: var(--cw-mute); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.cw-incl { font-size: .9rem; color: var(--cw-ink-2); }
.cw-incl-from { display: block; font-weight: 700; color: var(--cw-ink); margin-bottom: 4px; }
.cw-incl ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.cw-incl li { padding-left: 22px; position: relative; }
.cw-incl li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2.5px solid var(--cw-teal); border-bottom: 2.5px solid var(--cw-teal); transform: rotate(-45deg); }

.cw-ext { padding: 14px 16px; }
.cw-card-hit { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.cw-ext-hit { flex-direction: row; align-items: center; gap: 12px; }
.cw-box { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 2px solid #b8c3c8; background: #fff; display: grid; place-items: center; }
.cw-box .cw-tick { width: 14px; height: 14px; opacity: 0; stroke: #fff; }
.is-selected .cw-box { background: var(--cw-teal); border-color: var(--cw-teal); }
.is-selected .cw-box .cw-tick { opacity: 1; }
.cw-ext-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cw-ext .cw-card-title { font-size: 1.15rem; }
.cw-ext-price { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.cw-ext-price small { display: block; color: var(--cw-mute); font-weight: 600; font-size: .8rem; }

/* days and times */
.cw-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cw-day { position: relative; display: grid; justify-items: center; gap: 0; padding: 10px 4px; border: 2px solid var(--cw-line); border-radius: 12px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, box-shadow .15s; }
.cw-day:hover { border-color: #9aa7ae; box-shadow: 0 8px 18px -14px rgba(22, 27, 31, .6); }
.cw-day.is-selected { border-color: var(--cw-teal); background: var(--cw-teal-soft); box-shadow: 0 0 0 3px var(--cw-teal-glow); }
.cw-day:has(.cw-sr:focus-visible), .cw-time:has(.cw-sr:focus-visible) { outline: 3px solid var(--cw-ink); outline-offset: 2px; }
.cw-day.is-off { background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f3f5f6 6px, #f3f5f6 12px); color: var(--cw-mute); }
.cw-day-w { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cw-day-n { font-family: var(--cw-display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; }
.cw-day-m { font-size: .8rem; color: var(--cw-mute); }
.cw-day-s { margin-top: 4px; font-size: .72rem; font-weight: 700; color: var(--cw-teal-2); }
.cw-day.is-off .cw-day-s { color: var(--cw-mute); }

.cw-hours { margin: 0; color: var(--cw-ink-2); font-size: .92rem; }
.cw-tgroup h3 { margin: 6px 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cw-mute); }
.cw-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.cw-time { position: relative; padding: 10px 6px; text-align: center; border: 2px solid var(--cw-line); border-radius: 10px; background: #fff; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background-color .15s; }
.cw-time:hover { border-color: #9aa7ae; background: #f8fafa; }
.cw-time.is-selected { border-color: var(--cw-teal); background: var(--cw-teal); color: #fff; }
.cw-empty, .cw-full { margin: 0; padding: 18px; border-radius: 12px; background: #fff; border: 1.5px dashed var(--cw-line); color: var(--cw-ink-2); }
.cw-full p { margin: 0 0 12px; }

.cw-alert { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--cw-warn-soft); border: 1.5px solid #f2c4ae; color: var(--cw-warn); font-weight: 600; }
.cw-alert a { color: var(--cw-warn); margin-right: 10px; }

/* form */
.cw-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; padding: 20px; background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); }
.cw-field { display: grid; gap: 6px; align-content: start; }
.cw-wide { grid-column: 1 / -1; }
.cw-field label { font-weight: 700; font-size: .92rem; }
.cw-field input, .cw-field textarea { width: 100%; font: inherit; color: var(--cw-ink); padding: 11px 13px; border: 2px solid var(--cw-line); border-radius: 10px; background: #fff; }
.cw-field input:hover, .cw-field textarea:hover { border-color: #b6c1c6; }
.cw-field input:focus, .cw-field textarea:focus { outline: none; border-color: var(--cw-teal); box-shadow: 0 0 0 3px var(--cw-teal-glow); }
.cw-field input.cw-upper { text-transform: uppercase; letter-spacing: .06em; }
.cw-field.has-error input, .cw-field.has-error textarea { border-color: var(--cw-warn); }
.cw-hint { margin: 0; font-size: .82rem; color: var(--cw-mute); }
.cw-err { margin: 0; font-size: .84rem; color: var(--cw-warn); font-weight: 700; }

/* review */
.cw-review { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); overflow: hidden; }
.cw-review > div { padding: 14px 18px; border-bottom: 1px solid var(--cw-line); }
.cw-review > div:nth-child(odd) { border-right: 1px solid var(--cw-line); }
.cw-review dt { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--cw-mute); }
.cw-review dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.cw-review small { color: var(--cw-mute); font-weight: 500; }
.cw-items { width: 100%; border-collapse: collapse; margin-top: 14px; background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); overflow: hidden; font-variant-numeric: tabular-nums; }
.cw-items th, .cw-items td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--cw-line); }
.cw-items thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--cw-mute); background: #fafbfb; }
.cw-items td:nth-child(2), .cw-items td:nth-child(3), .cw-items th:nth-child(2), .cw-items th:nth-child(3) { text-align: right; white-space: nowrap; }
.cw-items tfoot th, .cw-items tfoot td { border-bottom: 0; background: var(--cw-ink); color: #fff; font-weight: 800; }
.cw-items tfoot small { color: #b9c4ca; font-weight: 600; }
.cw-total { font-family: var(--cw-display); font-size: 1.5rem; }
.cw-fine { margin: 8px 0 0; font-size: .82rem; color: var(--cw-mute); }

/* actions */
.cw-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--cw-line); padding-top: 18px; }
.cw-step-err { margin: 0; color: var(--cw-warn); font-weight: 700; flex: 1; text-align: right; }
.cw-btn { font: inherit; font-weight: 800; border-radius: 12px; padding: 13px 22px; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, border-color .15s, transform .15s; }
.cw-btn:focus-visible { outline: 3px solid var(--cw-ink); outline-offset: 3px; }
.cw-btn-primary { background: var(--cw-teal); color: #fff; }
.cw-btn-primary:hover { background: var(--cw-teal-2); transform: translateY(-1px); }
.cw-btn-confirm { background: var(--cw-ink); padding-inline: 28px; }
.cw-btn-confirm:hover { background: #000; }
.cw-btn-ghost { background: #fff; color: var(--cw-ink); border-color: var(--cw-line); }
.cw-btn-ghost:hover { border-color: var(--cw-ink-2); }
.cw-btn-sm { padding: 9px 14px; font-size: .9rem; }

/* summary (desktop) */
.cw-sum-card { background: #fff; border: 1px solid var(--cw-line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(22, 27, 31, .55); }
.cw-sum-h { margin: 0; padding: 16px 20px 0; font-family: var(--cw-display); font-size: 1.4rem; }
.cw-sum-loc { margin: 0; padding: 0 20px 10px; color: var(--cw-mute); font-size: .86rem; border-bottom: 1px solid var(--cw-line); }
.cw-sum-list { margin: 0; padding: 6px 20px; }
.cw-sum-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--cw-line); }
.cw-sum-list > div:last-child { border-bottom: 0; }
.cw-sum-list dt { color: var(--cw-mute); font-size: .88rem; }
.cw-sum-list dd { margin: 0; text-align: right; font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
.cw-sum-list dd b { margin-left: 6px; }
.cw-muted { color: #9aa5ab; font-weight: 500; }
.cw-sum-note { margin: 0 20px 10px; padding: 10px 12px; border-radius: 10px; background: var(--cw-warn-soft); color: var(--cw-warn); font-size: .84rem; font-weight: 600; }
.cw-sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px; background: var(--cw-ink); color: #fff; }
.cw-sum-total small { color: #b9c4ca; font-size: .78rem; }
.cw-sum-total b { font-family: var(--cw-display); font-size: 2rem; font-variant-numeric: tabular-nums; }
.cw-sum-card .cw-fine { padding: 0 20px 14px; background: var(--cw-ink); color: #9fb0b7; margin: 0; }

/* summary (mobile): compact bar that expands */
.cw-msum { display: none; }

/* confirmation */
.cw-done { display: grid; gap: 16px; }
.cw-done:focus { outline: none; }
.cw-done-head { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 16px; background: var(--cw-ink); color: #fff; }
.cw-done-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--cw-teal); display: grid; place-items: center; flex: none; }
.cw-done-icon .cw-tick { width: 30px; height: 30px; stroke: #fff; }
.cw-done-k { margin: 0; color: #8fd9d2; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.cw-done h2 { margin: 2px 0; font-family: var(--cw-display); font-size: 2rem; line-height: 1.1; }
.cw-ref { margin: 0; color: #dbe3e6; }
.cw-ref b { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; color: #fff; }
.cw-demo-only { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fffbe6; border: 1.5px solid #f0d77a; color: #5c4700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cw-body { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; padding: 22px; }
  .cw-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cw-body { grid-template-columns: minmax(0, 1fr); }
  .cw-aside { display: none; }
  .cw-msum { display: block; position: sticky; bottom: 0; z-index: 20; background: var(--cw-ink); color: #fff; border-top: 3px solid var(--cw-teal); }
  .cw-msum-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: transparent; border: 0; color: #fff; font: inherit; text-align: left; cursor: pointer; }
  .cw-msum-bar:focus-visible { outline: 3px solid #8fd9d2; outline-offset: -3px; }
  .cw-msum-l { min-width: 0; display: grid; }
  .cw-msum-l b { font-family: var(--cw-display); font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .cw-msum-l small { color: #b9c4ca; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cw-msum-r { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; flex: none; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
  .cw-msum-r svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
  .cw-msum.is-open .cw-msum-r svg { transform: rotate(180deg); }
  .cw-msum-panel { max-height: 55vh; overflow: auto; background: #fff; color: var(--cw-ink); }
  .cw-msum-panel .cw-sum-list { padding: 6px 18px; }
}
@media (max-width: 640px) {
  .cw-brandbar { padding: 14px 16px; }
  .cw-brand b { font-size: 1.25rem; }
  .cw-brand small { display: none; }
  .cw-steps { padding: 10px 12px; gap: 4px; }
  .cw-step { padding: 6px; gap: 6px; }
  .cw-step-t { font-size: .82rem; }
  .cw-steps li { flex: none; }
  .cw-steps li.is-current { flex: 1; }
  .cw-steps li:not(.is-current) .cw-step-t { display: none; }
  .cw-body { padding: 16px; }
  .cw-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .cw-veh { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; }
  .cw-veh .cw-veh-art { grid-row: 1 / span 3; padding: 0; }
  .cw-days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .cw-day { scroll-snap-align: start; }
  .cw-form { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .cw-review { grid-template-columns: minmax(0, 1fr); }
  .cw-review > div:nth-child(odd) { border-right: 0; }
  .cw-items th, .cw-items td { padding: 10px 12px; }
  .cw-actions .cw-btn { flex: 1; }
  .cw-step-err { order: -1; flex-basis: 100%; text-align: left; }
  .cw-sec-head h2 { font-size: 1.45rem; }
  .cw-done h2 { font-size: 1.6rem; }
  .cw-chrome .cw-url { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-card, .cw-day, .cw-time, .cw-btn, .cw-msum-r svg { transition: none; }
  .cw-card:hover, .cw-btn-primary:hover { transform: none; }
}

/* =====================================================================
   1.18.0 (roles): fuller inclusions, view tabs, Admin and Staff demos
   ===================================================================== */
.cw-sample { display: inline-block; font-size: .8rem; color: var(--cw-mute); font-style: italic; }
.cw-more { margin-top: 10px; border-top: 1px solid var(--cw-line); padding-top: 8px; font-size: .9rem; color: var(--cw-ink-2); cursor: auto; }
.cw-more summary { cursor: pointer; font-weight: 800; color: var(--cw-teal-2); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border-radius: 6px; }
.cw-more summary::-webkit-details-marker { display: none; }
.cw-more summary::before { content: "+"; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; font-size: .8rem; line-height: 1; }
.cw-more[open] summary::before { content: "–"; }
.cw-more summary:focus-visible { outline: 3px solid var(--cw-ink); outline-offset: 2px; }
.cw-more ul { margin: 4px 0 8px; padding-left: 18px; display: grid; gap: 5px; }
.cw-more p { margin: 6px 0; }
.cw-more-h { font-weight: 800; color: var(--cw-ink); margin: 8px 0 2px !important; }
.cw-not { padding: 8px 10px; border-radius: 8px; background: #f6f7f8; border: 1px dashed var(--cw-line); font-size: .85rem; }

/* view tabs */
.cw-viewbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 28px; background: #232a30; }
.cw-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .08); flex-wrap: wrap; }
.cw-tabs [role="tab"] { font: inherit; font-weight: 800; font-size: .95rem; color: #d3dcdf; background: transparent; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cw-tabs [role="tab"]:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cw-tabs [role="tab"][aria-selected="true"] { background: var(--cw-teal); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.cw-tabs [role="tab"]:focus-visible { outline: 3px solid #8fd9d2; outline-offset: 2px; }
.cw-tab-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #f2b33d; color: #2b1d00; font-size: .74rem; display: inline-grid; place-items: center; }
.cw-demo-note { margin: 0; color: #b9c4ca; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.cw-demo-note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f2b33d; margin-right: 8px; vertical-align: middle; }

/* pills */
.cw-pill-s { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; border: 1px solid transparent; }
.cw-pill-s.is-booked { background: #eef2ff; color: #3446a8; border-color: #d6dcff; }
.cw-pill-s.is-in_progress { background: #fff4dc; color: #8a5300; border-color: #f3dca3; }
.cw-pill-s.is-ready { background: #e8f3ff; color: #145a96; border-color: #c8e0f7; }
.cw-pill-s.is-completed { background: var(--cw-teal-soft); color: var(--cw-teal-2); border-color: #bfe6e2; }
.cw-pill-s.is-cancelled { background: #f3f4f5; color: #6b757c; border-color: #e1e5e7; text-decoration: line-through; }
.cw-pill-s.is-paid { background: #e6f6ea; color: #1e6b33; border-color: #c4e8cd; }
.cw-pill-s.is-unpaid { background: #fdeeee; color: #9b2c2c; border-color: #f4cfcf; }
.cw-pill-s.is-na, .cw-pill-s.is-new { background: #f3f4f5; color: #4b555c; border-color: #e1e5e7; }
.cw-mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .86em; letter-spacing: .03em; }
.cw-unassigned { color: #9b2c2c; font-weight: 700; }
.cw-small { margin: 4px 0 10px; font-size: .84rem; color: var(--cw-mute); }
.cw-ok { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #e6f6ea; border: 1.5px solid #c4e8cd; color: #1e6b33; font-weight: 600; }
.cw-alert ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }
.cw-btn-xs { padding: 6px 12px; font-size: .82rem; border-radius: 9px; }
.cw-btn-danger { background: #fff; color: #9b2c2c; border-color: #f0c4c4; }
.cw-btn-danger:hover { background: #fdeeee; border-color: #9b2c2c; }
.cw-icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--cw-line); background: #fff; font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer; color: var(--cw-ink); flex: none; }
.cw-icon-btn:hover:not(:disabled) { border-color: var(--cw-ink-2); }
.cw-icon-btn:disabled { opacity: .4; cursor: default; }
.cw-icon-btn:focus-visible, .cw-link:focus-visible { outline: 3px solid var(--cw-teal); outline-offset: 2px; }
.cw-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--cw-teal-2); text-decoration: underline; cursor: pointer; }

/* admin */
.cw-admin, .cw-staff { padding: 24px 28px 30px; display: grid; gap: 20px; }
.cw-adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cw-view-h { margin: 0; font-family: var(--cw-display); font-size: 1.9rem; line-height: 1.1; }
.cw-view-h:focus { outline: none; }
.cw-view-h span { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: .95rem; font-weight: 600; color: var(--cw-mute); margin-top: 4px; }
.cw-adm-head p { margin: 6px 0 0; color: var(--cw-mute); font-size: .92rem; max-width: 640px; }
.cw-filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; padding: 14px 16px; background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); }
.cw-filters > div { display: grid; gap: 4px; }
.cw-fday { display: flex !important; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.cw-fday .cw-flabel { width: 100%; }
.cw-flabel, .cw-aform label, .cw-demo-control label { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cw-mute); }
#cwApp select, #cwApp .cw-aform input, #cwApp .cw-set-table input:not([type="checkbox"]) { font: inherit; font-size: .92rem; color: var(--cw-ink); padding: 8px 10px; border: 1.5px solid var(--cw-line); border-radius: 9px; background: #fff; min-height: 38px; max-width: 100%; }
#cwApp select:focus, #cwApp .cw-aform input:focus, #cwApp .cw-set-table input:focus { outline: none; border-color: var(--cw-teal); box-shadow: 0 0 0 3px var(--cw-teal-glow); }

.cw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cw-kpi { background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); padding: 14px 16px; display: grid; gap: 2px; }
.cw-kpi-l { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cw-mute); }
.cw-kpi-v { font-family: var(--cw-display); font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cw-kpi-s { font-size: .8rem; color: var(--cw-mute); }
.cw-kpi.is-money { background: var(--cw-ink); border-color: var(--cw-ink); color: #fff; }
.cw-kpi.is-money .cw-kpi-l, .cw-kpi.is-money .cw-kpi-s { color: #b9c4ca; }
.cw-kpi.is-warn .cw-kpi-s { color: #a4380f; font-weight: 700; }
.cw-kpi.is-money.is-warn .cw-kpi-v, .cw-kpi.is-money.is-warn .cw-kpi-s { color: #ffcf8a; }

.cw-sec-head-row h3, .cw-bays h3, .cw-adm-list h3 { margin: 0; font-family: var(--cw-display); font-size: 1.35rem; }
.cw-count { font-family: "Plus Jakarta Sans", sans-serif; font-size: .82rem; color: var(--cw-mute); font-weight: 600; margin-left: 6px; }
.cw-bays { background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); padding: 16px; display: grid; gap: 10px; }
.cw-legend { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--cw-mute); }
.cw-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: #c9d1ff; }
.cw-legend .is-in_progress::before { background: #f6c75c; }
.cw-legend .is-ready::before { background: #8cc3f2; }
.cw-legend .is-completed::before { background: #7fcfc8; }
.cw-legend .is-block::before { background: repeating-linear-gradient(135deg, #cfd5d8, #cfd5d8 3px, #eef1f2 3px, #eef1f2 6px); }
.cw-bays-scroll { overflow-x: auto; }
.cw-bays-grid { min-width: 680px; position: relative; padding-top: 22px; display: grid; gap: 8px; }
.cw-bays-ticks { position: absolute; top: 0; left: 92px; right: 0; bottom: 0; pointer-events: none; }
.cw-bays-ticks span { position: absolute; top: 0; bottom: 0; font-size: .72rem; color: var(--cw-mute); transform: translateX(-50%); }
.cw-bays-ticks span::after { content: ""; position: absolute; left: 50%; top: 18px; bottom: 0; border-left: 1px dashed #dfe5e7; }
.cw-bay-row { display: grid; grid-template-columns: 92px 1fr; position: relative; }
.cw-bay-name { font-weight: 800; font-size: .9rem; display: grid; align-content: center; }
.cw-bay-name small { font-weight: 600; color: var(--cw-mute); font-size: .74rem; }
.cw-bay-track { position: relative; height: 64px; background: rgba(246, 248, 249, .7); border-radius: 10px; border: 1px solid #e6ebed; }
.cw-slot { position: absolute; top: 5px; bottom: 5px; border-radius: 8px; border: 1.5px solid #c9d1ff; padding: 4px 8px; text-align: left; font: inherit; font-size: .76rem; line-height: 1.25; overflow: hidden; display: grid; align-content: center; cursor: pointer; background: #e4e8ff; color: #23306f; min-width: 6px; }
.cw-slot span, .cw-slot small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-slot small { opacity: .8; }
.cw-slot.is-in_progress { background: #fde9b6; color: #5e3900; border-color: #f6c75c; }
.cw-slot.is-ready { background: #d7ebfc; color: #0f456f; border-color: #8cc3f2; }
.cw-slot.is-completed { background: #d3efec; color: #0a5a55; border-color: #7fcfc8; }
.cw-slot.is-block { background: repeating-linear-gradient(135deg, #e6eaec, #e6eaec 6px, #f3f5f6 6px, #f3f5f6 12px); color: var(--cw-mute); border-color: #d9dfe2; cursor: default; font-weight: 700; }
.cw-slot:hover:not(.is-block) { filter: brightness(.96); border-color: var(--cw-ink-2); }
.cw-slot.is-sel { box-shadow: 0 0 0 3px var(--cw-ink); }
.cw-slot:focus-visible { outline: 3px solid var(--cw-ink); outline-offset: 1px; z-index: 2; }

.cw-adm-list { display: grid; gap: 10px; }
.cw-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); }
.cw-table { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.cw-table th, .cw-table td { padding: 10px; text-align: left; border-bottom: 1px solid #edf0f1; vertical-align: middle; }
.cw-table thead th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cw-mute); background: #fafbfb; white-space: nowrap; }
.cw-table tbody tr:hover { background: #f8fafa; }
.cw-table tr.is-sel { background: var(--cw-teal-soft); }
.cw-table tr.is-cancelled td { color: #8a949a; }
.cw-table tr.is-cancelled td:nth-child(8) { text-decoration: line-through; }
.cw-num-c { text-align: right !important; white-space: nowrap; font-weight: 700; }
.cw-new { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--cw-teal); color: #fff; font-size: .68rem; font-weight: 800; }
.cw-flag { margin-left: 6px; color: #a4380f; font-weight: 800; font-size: .8rem; white-space: nowrap; }

/* drawer (booking details) */
.cw-drawer-back { position: fixed; inset: 0; background: rgba(22, 27, 31, .35); z-index: 9990; }
.cw-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--cw-ground); z-index: 9991; overflow-y: auto; padding: 0 22px 28px; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .45); }
.admin-bar .cw-drawer { top: 32px; }
.cw-dr-head { position: sticky; top: 0; z-index: 2; background: var(--cw-ground); display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 12px; border-bottom: 1px solid var(--cw-line); margin-bottom: 14px; }
.cw-dr-head h3 { margin: 2px 0 6px; font-size: 1.3rem; }
.cw-dr-head h3:focus { outline: none; }
.cw-dr-head p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cw-dr-k { font-size: .74rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--cw-mute); }
.cw-drawer h4 { margin: 20px 0 4px; font-family: var(--cw-display); font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.cw-sim { font-family: "Plus Jakarta Sans", sans-serif; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: #fff4dc; color: #8a5300; }
.cw-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--cw-line); border-radius: 12px; overflow: hidden; }
.cw-dl > div { padding: 10px 12px; border-bottom: 1px solid #edf0f1; }
.cw-dl > div:nth-child(odd) { border-right: 1px solid #edf0f1; }
.cw-dl dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cw-mute); }
.cw-dl dd { margin: 2px 0 0; font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.cw-dl small { color: var(--cw-mute); font-weight: 500; }
.cw-note-box { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fffbe6; border: 1px solid #f0d77a; font-size: .9rem; }
.cw-note-box p { margin: 2px 0 0; }
.cw-items-compact { margin-top: 6px; font-size: .86rem; }
.cw-items-compact th, .cw-items-compact td { padding: 8px 10px; }
.cw-mini { margin-top: 8px; font-size: .86rem; }
.cw-mini summary { cursor: pointer; font-weight: 700; color: var(--cw-teal-2); }
.cw-mini ul { margin: 6px 0; padding-left: 18px; display: grid; gap: 3px; }
.cw-aform { display: grid; gap: 8px; }
.cw-aform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cw-aform-grid > div { display: grid; gap: 4px; }
.cw-aform .cw-btn { justify-self: start; }
.cw-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.cw-inline input { flex: 1; min-width: 160px; }
.cw-confirm { padding: 12px; border-radius: 10px; background: #fdeeee; border: 1.5px solid #f0c4c4; }
.cw-confirm p { margin: 0 0 8px; color: #7a2323; font-weight: 600; font-size: .9rem; }
.cw-paid-line { margin: 0 0 8px; font-weight: 700; color: #1e6b33; }
.cw-notes, .cw-flags { margin: 8px 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.cw-notes li { padding: 8px 10px; background: #fff; border: 1px solid var(--cw-line); border-radius: 8px; }
.cw-flags li { padding: 8px 10px; background: #fff3ec; border: 1px solid #f3cdb7; border-radius: 8px; color: #7a2e0a; }
.cw-flags li.is-resolved { background: #f3f4f5; border-color: #e1e5e7; color: var(--cw-mute); }

/* settings */
.cw-settings { background: #fff; border: 1px solid var(--cw-line); border-radius: var(--cw-r); padding: 4px 16px; }
.cw-settings > summary { cursor: pointer; padding: 12px 0; font-family: var(--cw-display); font-size: 1.3rem; font-weight: 700; }
.cw-settings > summary small { font-family: "Plus Jakarta Sans", sans-serif; font-size: .82rem; font-weight: 600; color: var(--cw-mute); }
.cw-settings > summary:focus-visible { outline: 3px solid var(--cw-teal); outline-offset: 2px; border-radius: 6px; }
.cw-set-form { display: grid; gap: 14px; padding-bottom: 16px; }
.cw-set-table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.cw-set-table th, .cw-set-table td { padding: 6px 8px; text-align: left; border-bottom: 1px solid #edf0f1; }
.cw-set-table thead th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cw-mute); }
.cw-set-table input:not([type="checkbox"]) { width: 100%; min-width: 84px; }
.cw-set-table input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--cw-teal); }
.cw-set-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* staff */
.cw-demo-control { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #c9d2d6; background: #fff; }
.cw-demo-control label { display: flex; align-items: center; gap: 8px; }
.cw-demo-control small { color: var(--cw-mute); font-size: .78rem; }
.cw-staff-sum { margin: 0; color: var(--cw-ink-2); }
.cw-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cw-job { background: #fff; border: 1px solid var(--cw-line); border-left: 5px solid #c9d1ff; border-radius: var(--cw-r); padding: 16px 18px; display: grid; gap: 10px; }
.cw-job.is-in_progress { border-left-color: #f6c75c; }
.cw-job.is-ready { border-left-color: #8cc3f2; }
.cw-job.is-completed { border-left-color: #7fcfc8; }
.cw-job-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cw-job-head h3 { margin: 0; font-family: var(--cw-display); font-size: 1.4rem; line-height: 1.15; }
.cw-job-head p { margin: 2px 0 0; color: var(--cw-mute); font-size: .86rem; }
.cw-job-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cw-job-times > div { background: var(--cw-ground); border-radius: 10px; padding: 8px 10px; display: grid; align-content: start; }
.cw-job-times span { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--cw-mute); }
.cw-job-times b { font-size: .92rem; }
.cw-job-times small { font-size: .74rem; color: var(--cw-mute); }
.cw-job-svc { margin: 0; font-size: .92rem; }
.cw-check { margin: 0; border: 1px solid var(--cw-line); border-radius: 10px; padding: 8px 12px 10px; display: grid; gap: 2px; }
.cw-check legend { font-weight: 800; padding: 0 4px; }
.cw-check legend small { color: var(--cw-mute); font-weight: 600; margin-left: 4px; }
.cw-check label { display: flex; gap: 10px; align-items: center; padding: 5px 2px; font-size: .92rem; cursor: pointer; border-radius: 6px; }
.cw-check label:hover { background: #f6f8f9; }
.cw-check input { width: 20px; height: 20px; accent-color: var(--cw-teal); flex: none; }
.cw-check input:focus-visible { outline: 3px solid var(--cw-ink); outline-offset: 2px; }
.cw-job-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cw-warn-t { color: #a4380f; font-weight: 700; margin: 0; }
.cw-btn-flag { color: #a4380f; }

@media (max-width: 1100px) {
  .cw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-jobs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  /* booking list becomes cards */
  .cw-table-wrap:has(.cw-table) { background: transparent; border: 0; overflow: visible; }
  .cw-table thead { display: none; }
  .cw-table, .cw-table tbody, .cw-table td { display: block; width: 100%; }
  .cw-table tr { background: #fff; border: 1px solid var(--cw-line); border-radius: 12px; margin-bottom: 10px; padding: 8px 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  .cw-table td { border: 0; padding: 5px 0; }
  .cw-table td[data-label]::before { content: attr(data-label); display: block; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cw-mute); }
  .cw-table td:last-child { grid-column: 1 / -1; }
  .cw-table td:last-child .cw-btn { width: 100%; }
  .cw-num-c { text-align: left !important; }
}
@media (max-width: 640px) {
  .cw-viewbar { padding: 10px 12px; }
  .cw-tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .cw-tabs [role="tab"] { padding: 10px 6px; font-size: .84rem; justify-content: center; text-align: center; }
  .cw-admin, .cw-staff { padding: 16px; gap: 16px; }
  .cw-view-h { font-size: 1.55rem; }
  .cw-kpi-v { font-size: 1.6rem; }
  .cw-kpi { padding: 12px; }
  .cw-filters > div:not(.cw-fday) { flex: 1 1 140px; }
  .cw-filters select { width: 100%; }
  .cw-fday select { flex: 1; min-width: 0; }
  .cw-drawer { padding: 0 14px 24px; }
  .cw-dl, .cw-aform-grid { grid-template-columns: minmax(0, 1fr); }
  .cw-dl > div:nth-child(odd) { border-right: 0; }
  .cw-job-times { grid-template-columns: 1fr 1fr; }
  .cw-demo-control, .cw-demo-control select { width: 100%; }
}
.cw-fday .cw-flabel { order: -1; }
.cw-more-inh { font-size: .86rem; color: var(--cw-mute); }
.cw-slot span b { white-space: nowrap; }
.cw-pm { display: block; margin-top: 3px; font-size: .74rem; color: var(--cw-mute); white-space: normal; }
.cw-dr-head .cw-pm { display: inline; margin: 0 4px 0 0; align-self: center; }
.cw-table td:first-child .cw-mono { white-space: nowrap; }
.cw-table td:first-child { white-space: nowrap; }
.cw-table th, .cw-table td { padding: 10px 8px; }
.cw-table { font-size: .84rem; }
.cw-table .cw-mono { font-size: .8em; letter-spacing: 0; }
