/* HC Sales v2 (Step A): the Deals views. public/sales/deals.css
   Table (hcs-t-), Board (hcs-b-), Calendar (hcs-c-) and the phone List
   (hcs-l-). The header rows, chips, bars and the stage palette all four share
   use hcs-t- (they live in table.js). Stage edges on rows and cards come from
   the palette as an inline border-left-color. Motion: 150ms on color, opacity
   and transform only. */
.hcs-t,.hcs-b,.hcs-c,.hcs-l{display:flex;flex-direction:column;gap:12px;min-width:0}

/* ── Shared header rows */
.hcs-t-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hcs-t-h{margin:0;font-size:22px;font-weight:700}
.hcs-t-grow{flex:1 1 auto}
.hcs-t-hint{font-size:13px;color:var(--hcs-muted)}
.hcs-t-switch,.hcs-t-seg{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:10px;background:var(--seg-track)}
.hcs-t-seglabel{padding:0 6px 0 8px;font-size:12px;color:var(--hcs-text2)}
.hcs-t-sw{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--hcs-text2);font-size:13px;font-weight:600;cursor:pointer;transition:background-color var(--hcs-t),color var(--hcs-t)}
.hcs-t-sw:hover{color:var(--hcs-text)}
.hcs-t-sw.hcs-on{background:#fff;color:var(--hcs-text);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hcs-t-chips,.hcs-t-filters,.hcs-t-metrics{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hcs-t-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:999px;background:#fff;border:1px solid var(--hcs-line2);color:var(--hcs-text);font-size:13px;cursor:pointer;white-space:nowrap;transition:background-color var(--hcs-t),color var(--hcs-t),border-color var(--hcs-t)}
.hcs-t-chip:hover{background:#f5f6f8}
.hcs-t-chip.hcs-on{background:var(--soft-fill);border-color:var(--soft-edge);color:var(--on-soft);font-weight:600}
.hcs-t-chipn{font-size:12px;opacity:.75}
.hcs-t-chip-red{border-color:#df2f4a;color:#b3122e;font-weight:600}
.hcs-t-chip-red.hcs-on{background:#df2f4a;border-color:#df2f4a;color:#fff}
.hcs-t-m-ny.hcs-on{background:#225091;border-color:#225091;color:#fff}
.hcs-t-m-miami.hcs-on{background:#0E9F9A;border-color:#0E9F9A;color:#052726}
.hcs-t-m-vegas.hcs-on{background:#6D28D9;border-color:#6D28D9;color:#fff}
.hcs-t-m-unknown{border:1.5px solid #9ca3af;color:#4b5563}
.hcs-t-m-unknown.hcs-on{background:#f1f3f5;border-color:#9ca3af;color:#374151}
.hcs-t-select{width:auto;min-height:32px;padding:0 8px;border-radius:8px;border:1px solid var(--hcs-line2);background:#fff;font-family:inherit;font-size:13px;color:var(--hcs-text)}
.hcs-t-q{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:8px;border:1px solid var(--hcs-line2);background:#fff;color:var(--hcs-muted)}
.hcs-t-q input{width:220px;border:0;outline:0;background:transparent;font-family:inherit;font-size:13px;color:var(--hcs-text)}
.hcs-t-q input:focus{box-shadow:none}
.hcs-t-q:focus-within{border-color:var(--hcs-green)}
.hcs-t-toggle{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--hcs-text2);font-size:13px;cursor:pointer}
.hcs-t-knob{position:relative;flex:none;width:28px;height:16px;border-radius:999px;background:#c4c4c4;transition:background-color var(--hcs-t)}
.hcs-t-knob::after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform var(--hcs-t)}
.hcs-t-toggle.hcs-on{color:var(--hcs-text)}
.hcs-t-toggle.hcs-on .hcs-t-knob{background:var(--hcs-green)}
.hcs-t-toggle.hcs-on .hcs-t-knob::after{transform:translateX(12px)}

/* Metrics strip: white tiles with a colored top edge; a click spotlights. */
.hcs-t-metric{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:170px;padding:12px 14px;border-radius:8px;background:#fff;border:1px solid var(--hcs-line);border-top:4px solid #216edf;color:var(--hcs-text);text-align:left;cursor:pointer;font-family:inherit;transition:opacity var(--hcs-t),border-color var(--hcs-t)}
.hcs-t-metric-booked30{border-top-color:#00c875}
.hcs-t-metric-coconuts_open{border-top-color:#037f4c}
.hcs-t-metric.hcs-on{border-color:var(--hcs-green);border-top-color:var(--hcs-green)}
.hcs-t-mnum{font-size:24px;font-weight:800;line-height:1}
.hcs-t-mlabel{font-size:12px;font-weight:600;color:var(--hcs-text2)}
.hcs-t-dim{opacity:.4}

/* Bars: a battery sized by count (market mix, pipeline, readiness). */
.hcs-t-bar{display:flex;gap:1px;height:8px;border-radius:4px;overflow:hidden;background:#eef1f4}
.hcs-t-bar>span{display:block;flex:1 1 0;min-width:2px;background:#c4c4c4}
.hcs-t-mix{width:120px;flex:none}
.hcs-t-bg-new{background:#216edf}.hcs-t-bg-talking{background:#fdab3d}.hcs-t-bg-quoted{background:#9d50dd}
.hcs-t-bg-invoiced{background:#7fd3ad}.hcs-t-bg-booked,.hcs-t-bg-booked_later{background:#00c875}.hcs-t-bg-delivered{background:#037f4c}.hcs-t-bg-passed{background:#757575}
.hcs-t-bg-m-ny{background:#225091}.hcs-t-bg-m-miami{background:#0E9F9A}.hcs-t-bg-m-vegas{background:#6D28D9}.hcs-t-bg-m-unknown{background:#9ca3af}
.hcs-t-bar>.hcs-t-bg-new{background:#216edf}.hcs-t-bar>.hcs-t-bg-talking{background:#fdab3d}.hcs-t-bar>.hcs-t-bg-quoted{background:#9d50dd}
.hcs-t-bar>.hcs-t-bg-invoiced{background:#7fd3ad}.hcs-t-bar>.hcs-t-bg-booked,.hcs-t-bar>.hcs-t-bg-booked_later{background:#00c875}.hcs-t-bar>.hcs-t-bg-delivered{background:#037f4c}.hcs-t-bar>.hcs-t-bg-passed{background:#757575}
.hcs-t-bar>.hcs-t-bg-m-ny{background:#225091}.hcs-t-bar>.hcs-t-bg-m-miami{background:#0E9F9A}.hcs-t-bar>.hcs-t-bg-m-vegas{background:#6D28D9}.hcs-t-bar>.hcs-t-bg-m-unknown{background:#9ca3af}
.hcs-t-rbat{display:inline-flex;align-items:center;gap:8px}
.hcs-t-rbar{width:72px;flex:none}
.hcs-t-rbar>.hcs-r-done{background:#00c875}.hcs-t-rbar>.hcs-r-progress{background:#fdab3d}
.hcs-t-rbar>.hcs-r-missing{background:#f6c3cb;box-shadow:none}.hcs-t-rbar>.hcs-r-urgent{background:#df2f4a}
.hcs-t-rbar>.hcs-r-unknown{background:#e6e9ef;box-shadow:none}
.hcs-t-dots{display:inline-flex;align-items:center;gap:3px}

/* ── The table */
.hcs-t-scroll{display:flex;flex-direction:column;gap:20px;overflow-x:auto;padding-bottom:4px}
.hcs-t-group{display:flex;flex-direction:column;gap:6px}
.hcs-t-gt{margin:0;font-size:18px}
.hcs-t-ink-new{color:#216edf}.hcs-t-ink-talking{color:var(--hcs-amber-text)}.hcs-t-ink-quoted{color:#9d50dd}
.hcs-t-ink-invoiced{color:#0B5136}.hcs-t-ink-booked{color:#00804e}.hcs-t-ink-delivered{color:#037f4c}.hcs-t-ink-passed{color:#757575}
.hcs-t-fold{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--hcs-text2);cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-t-fold:hover{background:#eef1f4}
.hcs-t-lock{display:inline-flex;color:var(--hcs-muted)}
.hcs-t-grid{display:flex;flex-direction:column;background:#fff;border:1px solid var(--hcs-line);border-radius:8px}
.hcs-t-row{display:grid;grid-template-columns:var(--hcs-t-cols);align-items:center;column-gap:8px;min-height:40px;padding:4px 8px 4px 4px;background:#fff;border-bottom:1px solid var(--hcs-line);border-left:4px solid transparent;cursor:pointer;transition:background-color var(--hcs-t),opacity var(--hcs-t)}
.hcs-t-row:hover{background:#f7f8fa}
.hcs-t-row.hcs-wash{background:#fdeef0}
.hcs-t-row.hcs-t-picked{background:var(--brand-wash2)}
.hcs-t-hrow,.hcs-t-foot{min-height:34px;background:#fafbfc;cursor:default}
.hcs-t-hrow:hover,.hcs-t-foot:hover{background:#fafbfc}
.hcs-t-hrow{font-size:12px;font-weight:600;color:var(--hcs-text2);border-radius:8px 8px 0 0}
.hcs-t-foot{border-bottom:0;border-radius:0 0 8px 8px}
.hcs-t-c{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;white-space:nowrap;font-size:13px}
.hcs-t-c-stage .hcs-cell,.hcs-t-c-market .hcs-cell{width:100%}
.hcs-t-c-coconuts,.hcs-t-sum{justify-content:flex-end;padding-right:8px}
.hcs-t-stagebtn{border:0;padding:0 8px;cursor:pointer;font-family:inherit}
.hcs-t-namebtn{min-width:0;padding:0;border:0;background:none;font-family:inherit;font-size:14px;font-weight:600;color:var(--hcs-text);text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-t-namebtn:hover{text-decoration:underline}
.hcs-t-tick{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border-radius:4px;border:1.5px solid var(--hcs-line2);background:#fff;color:#fff;cursor:pointer;transition:background-color var(--hcs-t),border-color var(--hcs-t)}
.hcs-t-tick.hcs-on{background:var(--tick-fill);border-color:var(--tick-fill);color:var(--tick)}
.hcs-t-cd{font-size:12px;color:var(--hcs-muted)}
.hcs-t-red{color:#df2f4a}
.hcs-t-amber{color:#d98a00}
.hcs-t-red,.hcs-t-amber,.hcs-t-dup{display:inline-flex;align-items:center}
.hcs-t-dup{color:var(--hcs-amber-text)}
.hcs-t-src{font-size:12px;color:var(--hcs-text2);overflow:hidden;text-overflow:ellipsis}
.hcs-t-sum{font-weight:700}
.hcs-t-footmix{gap:10px}
.hcs-t-coco{font-weight:700}
.hcs-t-empty{padding:16px;border:1px dashed var(--hcs-line2);border-radius:8px;background:#fff;color:var(--hcs-muted);font-size:13px;text-align:center}
.hcs-t-more{align-self:flex-start;min-height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--hcs-green);font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}
.hcs-t-more:hover{background:var(--brand-wash2)}
.hcs-t-inv{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:4px;background:var(--green-pale);color:var(--green);font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
.hcs-t-inv-plain{background:#f0f2f5;color:var(--hcs-text2)}
.hcs-t-crew{display:inline-flex;gap:2px}
.hcs-t-ini{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--green-pale);color:var(--green);font-size:10px;font-weight:700}
.hcs-pill.hcs-t-mini{height:20px;padding:0 8px;font-size:11px}
.hcs-t-link{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:36px;min-height:36px;padding:0 6px;border-radius:8px;color:var(--hcs-green);font-size:13px;font-weight:600;text-decoration:none;transition:background-color var(--hcs-t)}
.hcs-t-link:hover{background:var(--brand-wash2)}

/* Columns menu and the batch bar */
.hcs-t-colswrap{position:relative;display:inline-flex}
.hcs-t-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:230px;padding:6px;border-radius:10px;background:#fff;border:1px solid var(--hcs-line);box-shadow:0 8px 24px rgba(23,35,46,.15)}
.hcs-t-menuitem{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:0 8px;border:0;border-radius:6px;background:transparent;font-family:inherit;font-size:13px;color:var(--hcs-text);text-align:left;cursor:pointer}
.hcs-t-menuitem:hover{background:#f5f6f8}
.hcs-t-sp{display:inline-block;width:14px}
.hcs-t-menunote{padding:6px 8px 2px;font-size:12px;color:var(--hcs-muted)}
.hcs-t-batch{position:sticky;bottom:16px;z-index:30;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px 10px 16px;border-radius:10px;background:#323338;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.hcs-t-batchn{font-weight:700;white-space:nowrap}
.hcs-t-batchnames{min-width:0;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#c4c4c4}
.hcs-t-batch .hcs-btn{min-height:32px}

/* The stage palette: centered on a laptop, a bottom sheet on a phone. */
.hcs-t-palwrap{position:fixed;inset:0;z-index:240;display:flex;align-items:center;justify-content:center;padding:16px}
.hcs-t-backdrop{position:absolute;inset:0;background:rgba(15,23,32,.3)}
.hcs-t-pal{position:relative;display:flex;flex-direction:column;gap:6px;width:100%;max-width:380px;padding:16px;border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(23,35,46,.2);cursor:default}
.hcs-t-paltitle{margin-bottom:4px;font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-t-palrow{display:flex;align-items:center;gap:10px;min-height:32px;font-size:12px;color:var(--hcs-muted)}
.hcs-t-palrow[aria-disabled="true"] .hcs-pill{opacity:.5}
.hcs-t-palrow.hcs-on{color:var(--hcs-text);font-weight:600}
.hcs-t-palwhy{display:inline-flex;align-items:center;gap:4px}
.hcs-t-palacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;padding-top:12px;border-top:1px solid var(--hcs-line)}

/* ── The board */
.hcs-b-scroll{overflow-x:auto;padding-bottom:8px}
.hcs-b-cols{display:flex;align-items:flex-start;gap:12px;min-width:max-content}
.hcs-b-col{display:flex;flex-direction:column;gap:8px;flex:0 0 280px;width:280px}
.hcs-b-band{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border-radius:8px;font-size:14px;font-weight:700}
.hcs-b-bandt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-b-foldbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.hcs-b-col>.hcs-t-mix{width:100%;height:4px}
.hcs-b-note{font-size:12px;color:var(--hcs-muted)}
.hcs-b-cards{display:flex;flex-direction:column;gap:8px}
.hcs-b-card{position:relative;display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:8px;background:#fff;border:1px solid var(--hcs-line);border-left-width:4px;cursor:pointer;transition:opacity var(--hcs-t),transform var(--hcs-t)}
.hcs-b-card:hover{box-shadow:0 2px 8px rgba(23,35,46,.08)}
.hcs-b-card[draggable="true"]{cursor:grab}
.hcs-b-urgent{background:#fdeef0}
.hcs-b-moving{opacity:.45}
.hcs-b-l1,.hcs-b-l2,.hcs-b-l3,.hcs-b-l4,.hcs-b-ready,.hcs-b-risks{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.hcs-b-name{max-width:100%;padding:0;border:0;background:none;font-family:inherit;font-size:15px;font-weight:700;color:var(--hcs-text);text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-b-dup{display:inline-flex;margin-left:auto;color:var(--hcs-amber-text)}
.hcs-b-town{font-size:12px;color:var(--hcs-text2)}
.hcs-b-l4{justify-content:space-between;font-size:12px}
.hcs-b-days{font-size:11px;font-weight:600;color:var(--hcs-muted)}
.hcs-b-days.hcs-t-red{color:#df2f4a}
/* U02: the number (else the email) in gray under the date, always visible */
.hcs-b-reach,.hcs-l-reach{font-size:12px;color:var(--hcs-text2);overflow-wrap:anywhere}
.hcs-b-empty{padding:16px;border:1px dashed var(--hcs-line2);border-radius:8px;color:var(--hcs-muted);font-size:13px;text-align:center}
.hcs-b-strip{display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 0 48px;width:48px;min-height:260px;padding:12px 0;border:0;border-radius:8px;font-family:inherit;cursor:pointer;transition:opacity var(--hcs-t)}
.hcs-b-strip:hover{opacity:.9}
.hcs-b-stripn{font-size:16px;font-weight:800}
.hcs-b-stript{writing-mode:vertical-rl;font-size:13px;font-weight:600;white-space:nowrap}
.hcs-b-drops{position:fixed;left:50%;bottom:16px;z-index:210;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:calc(100vw - 32px);opacity:0;pointer-events:none;transform:translate(-50%,160%);transition:transform var(--hcs-t),opacity var(--hcs-t)}
.hcs-b-dragging .hcs-b-drops{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.hcs-b-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:250px;min-height:96px;padding:12px;border-radius:12px;border:2px dashed rgba(255,255,255,.85);font-size:12px;text-align:center;transition:transform var(--hcs-t)}
.hcs-b-drop-pass{background:#757575;color:#fff}
.hcs-b-drop-close{background:#c4c4c4;color:#323338;border-color:rgba(50,51,56,.6)}
.hcs-b-drop.hcs-b-over{transform:scale(1.05)}
.hcs-b-dropt{font-size:16px;font-weight:700}
.hcs-b-dropnote{flex-basis:100%;padding:6px 10px;border-radius:8px;background:#fff;color:var(--hcs-text2);font-size:12px;text-align:center;box-shadow:0 4px 12px rgba(0,0,0,.12)}

/* ── The calendar */
.hcs-c-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hcs-c-nav{display:flex;align-items:center;gap:8px}
.hcs-c-title{min-width:150px;margin:0 4px;font-size:18px;font-weight:700;text-align:center}
.hcs-c-wrap{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:16px;align-items:start}
.hcs-c-main{display:flex;flex-direction:column;gap:8px;min-width:0}
.hcs-c-grid{background:#fff;border:1px solid var(--hcs-line);border-radius:8px;overflow:hidden}
.hcs-c-wd,.hcs-c-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.hcs-c-wd span{padding:8px;border-bottom:1px solid var(--hcs-line);font-size:12px;font-weight:600;color:var(--hcs-text2)}
.hcs-c-cell{display:flex;flex-direction:column;gap:4px;min-width:0;min-height:120px;padding:6px;border-right:1px solid var(--hcs-line);border-bottom:1px solid var(--hcs-line);background:#fff;cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-c-cell:hover{background:#f7f8fa}
.hcs-c-we{background:#fafbfc}
.hcs-c-out{opacity:.45}
.hcs-c-sel{box-shadow:inset 0 0 0 2px var(--hcs-green)}
.hcs-c-top{display:flex;align-items:center;justify-content:space-between;gap:4px}
.hcs-c-num{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 4px;border:0;border-radius:999px;background:transparent;font-family:inherit;font-size:13px;font-weight:700;color:var(--hcs-text);cursor:pointer}
.hcs-c-today .hcs-c-num,.hcs-c-today .hcs-c-pnum{background:var(--brand-fill);color:var(--on-brand)}
.hcs-c-tot{font-size:11px;font-weight:600;color:#037f4c;white-space:nowrap}
.hcs-c-load{display:flex;align-items:center;gap:4px}
.hcs-c-lbar{flex:1;height:4px;border-radius:2px;background:#eef1f4;overflow:hidden}
.hcs-c-lbar>span,.hcs-c-pbar>span{display:block;height:100%;background:#9aa1ad}
.hcs-c-loadn{font-size:10px;color:var(--hcs-muted)}
.hcs-c-chip{display:flex;align-items:center;gap:4px;width:100%;min-height:22px;padding:0 6px;border:0;border-radius:4px;font-family:inherit;font-size:11px;font-weight:600;text-align:left;cursor:pointer;overflow:hidden;transition:filter var(--hcs-t)}
.hcs-c-chip:hover{filter:brightness(.94)}
.hcs-c-cname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-c-lead{background:transparent;color:var(--hcs-text2);font-weight:500}
.hcs-c-ldot{flex:none;width:8px;height:8px;border-radius:50%;background:#216edf}
.hcs-c-plain{background:#f0f2f5;color:var(--hcs-text)}
.hcs-c-more{padding-left:6px;font-size:11px;color:var(--hcs-text2)}
.hcs-c-prep,.hcs-c-ven{align-self:flex-start;display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:4px;font-size:10px;font-weight:700}
.hcs-c-prep{color:#676879;background:repeating-linear-gradient(45deg,#eef1f4 0 4px,#e0e4ea 4px 8px)}
.hcs-c-ven{color:#11706b;background:#e0f7f6}
.hcs-c-legend{font-size:12px;color:var(--hcs-muted)}
/* Status design (Sidd 2026-10-06): the status legend, the red dot (needs
   action; it never repaints a chip), the market tag and a faded past day. */
.hcs-c-slegend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.hcs-c-leg{display:inline-flex;align-items:center;gap:5px}
.hcs-c-alert{flex:none;display:inline-block;width:7px;height:7px;border-radius:50%;background:#E5484D;box-shadow:0 0 0 1.5px #fff}
.hcs-c-dot.hcs-c-alertdot{background:#E5484D}
.hcs-c-mkt{flex:none;display:inline-block;padding:0 3px;border-radius:3px;background:#F1F3F5;font-size:10px;font-weight:800;line-height:1.4}
.hcs-c-mkt-miami{color:#0A7672}.hcs-c-mkt-vegas{color:#6D28D9}.hcs-c-mkt-unknown{color:#4b5563}
.hcs-c-past .hcs-c-chip{opacity:.55}
.hcs-c-mstatus{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hcs-c-mneeds{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#b3122e}
.hcs-c-side{position:sticky;top:calc(var(--hc-topbar-h,0px) + 72px);display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:8px;background:#fff;border:1px solid var(--hcs-line)}
.hcs-c-dlabel{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hcs-muted)}
.hcs-c-dtitle{margin:0;font-size:16px;font-weight:700}
.hcs-c-dprep{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--hcs-text2)}
.hcs-c-dsec{margin-top:8px;font-size:12px;font-weight:700;color:var(--hcs-text2)}
.hcs-c-dven{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px;font-size:12px}
.hcs-c-mini{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:10px;border-radius:8px;background:#fff;border:1px solid var(--hcs-line);border-left-width:4px;font-family:inherit;text-align:left;cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-c-mini:hover{background:#f7f8fa}
.hcs-c-mname{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;color:var(--hcs-text)}
.hcs-c-msub,.hcs-c-mwhy{font-size:12px;color:var(--hcs-text2)}
.hcs-c-mready{display:flex;align-items:center;gap:6px}
.hcs-c-agenda{display:flex;flex-direction:column;gap:14px}
.hcs-c-aday{display:flex;flex-direction:column;gap:6px}
.hcs-c-ahead{display:flex;align-items:center;gap:8px}
.hcs-c-alabel{padding:0;border:0;background:none;font-family:inherit;font-size:14px;font-weight:700;color:var(--hcs-text);cursor:pointer}
.hcs-c-pcell{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;min-height:52px;padding:4px 2px;border:0;border-bottom:1px solid var(--hcs-line);background:#fff;font-family:inherit;color:var(--hcs-text);cursor:pointer}
.hcs-c-pcell.hcs-c-we{background:#fafbfc}
.hcs-c-pnum{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;font-size:13px;font-weight:600}
.hcs-c-pdots{display:flex;gap:2px;min-height:6px}
.hcs-c-dot{width:6px;height:6px;border-radius:50%}
.hcs-c-dot.hcs-c-plain{background:#c4c4c4}.hcs-c-dot.hcs-type-wedding{background:#a3195b}.hcs-c-dot.hcs-type-private{background:#a44f10}
.hcs-c-dot.hcs-type-corporate{background:#1f4f99}.hcs-c-dot.hcs-type-trade_show{background:#5b2ea6}.hcs-c-dot.hcs-type-venue{background:#11706b}
.hcs-c-pbar{width:80%;height:2px;border-radius:1px;background:#eef1f4;overflow:hidden}
.hcs-c-pbar:empty{background:transparent}
.hcs-c-pday{display:flex;flex-direction:column;gap:8px}

/* ── The phone List */
.hcs-l-pills{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}
.hcs-l-pill{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:0;border-radius:999px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background-color var(--hcs-t),color var(--hcs-t)}
.hcs-l-p-new:not(.hcs-l-on){background:#e8f0fc;color:#216edf}
.hcs-l-p-talking:not(.hcs-l-on){background:#fff4e0;color:var(--hcs-amber-text)}
.hcs-l-p-quoted:not(.hcs-l-on){background:#f3eafb;color:#7a3bb8}
.hcs-l-p-invoiced:not(.hcs-l-on){background:#eefaf4;color:#0B5136}
.hcs-l-p-booked:not(.hcs-l-on),.hcs-l-p-booked_later:not(.hcs-l-on){background:#e5f9ef;color:#037f4c}
.hcs-l-p-delivered:not(.hcs-l-on){background:#e3f2ea;color:#026b40}
.hcs-l-p-passed:not(.hcs-l-on){background:#f0f0f0;color:#555}
.hcs-l-pn{font-size:12px;opacity:.8}
.hcs-l-pipe{height:6px}
.hcs-l-sum{font-size:13px;color:var(--hcs-text2)}
.hcs-l-market{min-height:44px}
.hcs-l-ghead{position:sticky;top:calc(var(--hc-topbar-h,0px) + 112px);z-index:5;display:flex;align-items:center;min-height:40px;padding:0 14px;border-radius:10px;font-size:14px;font-weight:700}
.hcs-l-cards{display:flex;flex-direction:column;gap:10px}
.hcs-l-card{display:flex;flex-direction:column;gap:6px;min-width:0;padding:14px;border-radius:12px;background:#fff;border:1px solid var(--hcs-line);border-left-width:4px;cursor:pointer}
.hcs-l-l1,.hcs-l-l2,.hcs-l-ready,.hcs-l-risks,.hcs-l-foot{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.hcs-l-name{min-width:0;max-width:100%;padding:0;border:0;background:none;font-family:inherit;font-size:16px;font-weight:700;color:var(--hcs-text);text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-l-stage{margin-left:auto;min-height:32px;cursor:pointer;font-family:inherit}
.hcs-l-place{font-size:13px;color:var(--hcs-text2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcs-l-why{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;color:var(--hcs-text2)}
.hcs-l-foot{justify-content:space-between;font-size:12px}
.hcs-l-acts{display:flex;gap:4px;margin-left:auto}
.hcs-l-acts .hcs-t-link{min-width:44px;min-height:44px}

/* ── Step B (CRM on): next step pill, quote line, live palette rows, the
   Booked note on the board, the batch bar rows and the batch result */
.hcs-crm-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.hcs-nx,.hcs-fu{display:inline-block;vertical-align:middle;line-height:22px;max-width:100%;height:22px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hcs-nx-red{background:#df2f4a;color:#fff}
.hcs-nx-today{background:#00c875;color:#323338}
.hcs-nx-later{background:#e6e9ef;color:#323338}
.hcs-nx-none{background:#ffcb00;color:#323338}
.hcs-qs{font-size:12px;font-weight:600;color:var(--hcs-text2);white-space:nowrap}
.hcs-fu-ok{background:#e6e9ef;color:#323338}
.hcs-fu-amber{background:#fff4e0;color:#9a5b00}
.hcs-fu-red{background:#fde7ea;color:#b3122e}
.hcs-t-c-next{min-width:0;overflow:hidden}
.hcs-t-palmove{width:100%;min-height:36px;padding:2px 6px;border:0;border-radius:8px;background:transparent;font-family:inherit;color:var(--hcs-text);text-align:left;cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-t-palmove:hover,.hcs-t-palmove:focus-visible{background:#f5f6f8}
.hcs-t-palmove .hcs-t-palwhy{color:var(--hcs-text2)}
.hcs-t-palbooked{flex-wrap:wrap;padding:4px 0}
.hcs-t-palbooked .hcs-t-palwhy{flex:1;min-width:0}
.hcs-t-invbtn{min-height:32px}
button.hcs-t-link{border:0;background:transparent;font-family:inherit;cursor:pointer}
.hcs-b-notice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;background:#fff4e0;border:1px solid #f2d19a;color:#323338;font-size:13px}
.hcs-b-noticet{flex:1;min-width:0}
.hcs-b-noticex{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--hcs-text2);cursor:pointer}
.hcs-b-col.hcs-b-over .hcs-b-cards{outline:2px dashed var(--hcs-green);outline-offset:4px;border-radius:8px}
.hcs-t-bnrow{flex-basis:100%;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:8px;border-top:1px solid rgba(255,255,255,.15)}
.hcs-t-bnlabel{font-size:13px;color:#c4c4c4}
.hcs-t-bntext{flex:1 1 220px;min-width:180px;min-height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--hcs-line2);font-family:inherit;font-size:13px;color:var(--hcs-text)}
.hcs-t-bnnote{flex-basis:100%;font-size:13px;color:#ffcb00}
.hcs-t-bres{display:flex;flex-direction:column;gap:4px;margin-top:12px;padding:12px 14px;border-radius:10px;background:#fff;border:1px solid var(--hcs-line)}
.hcs-t-bresh{display:flex;align-items:center;gap:8px}
.hcs-t-bresl{font-size:13px;color:var(--hcs-text2)}
.hcs-t-bresskip{color:#b3122e}
.hcs-c-ldot-talking{background:#fdab3d}
.hcs-c-ldot-quoted{background:#9d50dd}

/* ── Phone (under 1150px): 44px taps, no sideways page scroll */
@media (max-width:1149px){
  .hcs-t-top{gap:8px}
  .hcs-t-sw{min-height:40px}
  .hcs-t-chip,.hcs-t-toggle,.hcs-t-select{min-height:44px}
  .hcs-t-palwrap{align-items:flex-end;padding:0}
  .hcs-t-pal{max-width:none;border-radius:16px 16px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .hcs-t-palacts .hcs-btn{flex:1}
  .hcs-t-pal .hcs-btn{min-height:44px}
  .hcs-t-palmove{min-height:48px}
  .hcs-l-crm .hcs-nx,.hcs-l-crm .hcs-fu{height:26px;line-height:26px;font-size:12px}
  .hcs-c-wrap{grid-template-columns:1fr}
  .hcs-c-side{position:static}
  .hcs-c-title{min-width:0;font-size:16px}
  .hcs-c-bar{gap:8px}
  .hcs-c-pgrid .hcs-c-wd span{padding:6px 0;text-align:center}
}
