/* HC Sales v2 (Step A): Today, Work through, Event prep, Tidy up, Search.
   public/sales/today.css. Prefixes: hcs-y- today, hcs-w- work, hcs-r- prep,
   hcs-u- tidy, hcs-s- search. Shared pieces (pills, dots, tiles, buttons)
   come from sales.css. Stage edges come from the hcs-edge- classes, so rows
   here set only the left border width and style, never its color. */

/* ── Today */
.hcs-y{display:flex;flex-direction:column;gap:16px;min-width:0}
.hcs-y-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.hcs-y-greet{font-size:24px;font-weight:700;margin:0}
.hcs-y-date{font-size:14px;color:var(--hcs-text2);margin:2px 0}
.hcs-y-h3{font-size:14px;font-weight:700}
.hcs-y-link{background:none;border:0;padding:4px 0;color:var(--hcs-green);font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}
.hcs-y-grayline{font-size:12px}
/* Do next (Sidd 2026-10-20): what needs you first, above the tiles, in the
   Needs you navy. Each item: what, why, how, and one button. */
.hcs-y-donext{display:flex;flex-direction:column;gap:8px;padding:12px 16px;border-left:4px solid #3a3f99}
.hcs-y-donext-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hcs-y-donext-text{flex:1;min-width:220px;display:flex;flex-direction:column;gap:2px;font-size:13px}
.hcs-y-donext-what{font-size:16px;font-weight:700;color:#3a3f99}
.hcs-y-donext-how{color:var(--hcs-text)}
.hcs-y-donext-btn{display:inline-flex;align-items:center;gap:4px;flex:none}
/* Said no: the customer's sentence, then a row of buttons that wraps on a phone. */
.hcs-y-saidno{align-items:flex-start}
.hcs-y-saidno-quote{margin:4px 0;padding:6px 10px;border-left:3px solid #9fa3d9;background:rgba(58,63,153,.05);border-radius:4px}
.hcs-y-donext-btns{display:flex;flex-wrap:wrap;gap:6px;flex:none;max-width:100%}
.hcs-y-donext-more{font-size:13px}
.hcs-y-tiles{display:flex;flex-wrap:wrap;gap:16px}
.hcs-y-tile{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:4px;width:190px;min-height:112px;padding:14px 16px;border:0;border-radius:8px;text-align:left;transition:opacity var(--hcs-t),transform var(--hcs-t)}
.hcs-y-tile.hcs-y-tone-blue,.hcs-w-band.hcs-y-tone-blue{background:#216edf;color:#fff}
.hcs-y-tile.hcs-y-tone-green,.hcs-w-band.hcs-y-tone-green{background:#00c875;color:#323338}
.hcs-y-tile.hcs-y-tone-gray,.hcs-w-band.hcs-y-tone-gray{background:#757575;color:#fff}
.hcs-y-tile-on{box-shadow:0 0 0 3px var(--green)}
.hcs-y-tile-num{padding:0;border:0;background:transparent;color:inherit;font-size:32px;font-weight:800;line-height:1;text-align:left;cursor:pointer;font-family:inherit}
.hcs-y-start{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:0 8px;border:0;border-radius:6px;background:rgba(255,255,255,.22);color:inherit;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;transition:background-color var(--hcs-t)}
.hcs-y-start:hover{background:rgba(255,255,255,.35)}
/* D8: white on the red and gray tiles needs a darker pill to be read. */
.hcs-y-tone-red .hcs-y-start,.hcs-y-tone-gray .hcs-y-start{background:rgba(0,0,0,.18)}
.hcs-y-tone-red .hcs-y-start:hover,.hcs-y-tone-gray .hcs-y-start:hover{background:rgba(0,0,0,.28)}
.hcs-y-start[disabled]{opacity:.5;cursor:default}
.hcs-y-pipe{display:flex;flex-direction:column;gap:8px;padding:12px 16px}
.hcs-y-pipe-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hcs-y-pipe-head .hcs-y-link{margin-left:auto}
.hcs-y-battery>button{display:block;min-width:4px;padding:0;border:0;cursor:pointer;transition:opacity var(--hcs-t)}
.hcs-y-battery>button:hover{opacity:.8}
.hcs-y-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:16px;align-items:start}
.hcs-y-left{display:flex;flex-direction:column;gap:16px;min-width:0}
.hcs-y-focus{display:flex;align-items:center;gap:12px}
.hcs-y-empty,.hcs-u-clear{display:flex;align-items:center;gap:12px;color:#037f4c;font-weight:600}
.hcs-y-list{background:#fff;border:1px solid var(--hcs-line);border-radius:8px}
.hcs-y-list-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px 8px;background:#fff;border-radius:8px 8px 0 0}
.hcs-y-list-title{font-size:16px;font-weight:700;margin:0}
.hcs-y-tone-blue .hcs-stripe{background:#216edf}.hcs-y-tone-blue .hcs-y-list-title{color:#216edf}
.hcs-y-tone-green .hcs-stripe{background:#00c875}.hcs-y-tone-green .hcs-y-list-title{color:#037f4c}
.hcs-y-tone-gray .hcs-stripe{background:#757575}.hcs-y-tone-gray .hcs-y-list-title{color:#757575}
.hcs-y-row{position:relative;display:flex;align-items:flex-start;gap:12px;min-height:72px;padding:12px 16px;border-top:1px solid var(--hcs-line);border-left-width:4px;border-left-style:solid;cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-y-row:hover{background:#f7f8fa}
.hcs-y-row.hcs-wash{background:#fdeef0}
.hcs-y-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.hcs-y-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hcs-y-nm{padding:0;border:0;background:none;color:var(--hcs-text);font-size:14px;font-weight:700;text-align:left;cursor:pointer;font-family:inherit}
.hcs-y-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}
.hcs-y-count,.hcs-y-town{color:var(--hcs-text2)}
.hcs-y-mkt{height:20px;padding:0 8px;font-size:11px}
.hcs-y-why{font-size:12px;color:var(--hcs-muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hcs-y-acts{display:flex;align-items:center;gap:6px;flex:none}
.hcs-y-dots{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.hcs-y-dotl{display:inline-flex;align-items:center;gap:2px;font-size:10px;font-weight:700;color:var(--hcs-text2)}
.hcs-y-menu{position:absolute;top:52px;right:16px;z-index:30;display:flex;flex-direction:column;min-width:180px;padding:4px;background:#fff;border:1px solid var(--hcs-line);border-radius:8px;box-shadow:0 8px 24px rgba(23,35,46,.14)}
.hcs-y-menu button{min-height:36px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--hcs-text);font-size:13px;text-align:left;cursor:pointer;font-family:inherit}
.hcs-y-menu button:hover{background:#f5f6f8}
.hcs-y-more{display:block;width:100%;min-height:40px;border:0;border-top:1px solid var(--hcs-line);border-radius:0 0 8px 8px;background:transparent;color:var(--hcs-green);font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}
.hcs-y-none{padding:12px 16px;border-top:1px solid var(--hcs-line);color:var(--hcs-muted);font-size:13px}
.hcs-y-av-couple{background:#fde8f1;color:#a3195b}.hcs-y-av-company{background:#e6f0ff;color:#1f4f99}
.hcs-y-av-planner{background:#f0e9ff;color:#5b2ea6}.hcs-y-av-venue{background:#e0f7f6;color:#11706b}
.hcs-y-av-big{width:56px;height:56px;font-size:18px}
.hcs-y-week{display:flex;flex-direction:column;gap:8px;padding:14px 16px}
.hcs-y-week-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.hcs-y-days{display:flex;flex-direction:column;gap:4px}
.hcs-y-day{display:grid;grid-template-columns:36px 24px 1fr auto;align-items:center;gap:8px;min-height:36px;padding:4px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--hcs-text);text-align:left;cursor:pointer;font-family:inherit;transition:background-color var(--hcs-t),border-color var(--hcs-t)}
.hcs-y-day:hover{background:#f5f6f8}
.hcs-y-weekend{background:#fafbfc}
.hcs-y-day-on{border-color:var(--hcs-green);background:var(--green-wash)}
.hcs-y-dow{font-size:12px;color:var(--hcs-text2)}
.hcs-y-dnum{font-size:14px;font-weight:700}
.hcs-y-today .hcs-y-dnum{color:var(--hcs-green);font-weight:800}
.hcs-y-load{display:block;height:20px;border-radius:4px;background:#f0f2f5;overflow:hidden}
.hcs-y-loadbar{display:flex;align-items:center;height:100%;min-width:28px;padding:0 6px;border-radius:4px;background:#00c875;color:#323338;font-size:11px;font-weight:700}
.hcs-y-prep{display:inline-flex;align-items:center;height:18px;margin:0 4px;padding:0 6px;border-radius:4px;background:repeating-linear-gradient(135deg,#eef1f4 0 4px,#e2e6ec 4px 8px);color:var(--hcs-text2);font-size:10px;font-weight:600}
.hcs-y-legend{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:11px;color:var(--hcs-muted)}
.hcs-y-key{display:inline-block;width:10px;height:10px;border-radius:2px}
.hcs-y-key-booked{background:#00c875}
.hcs-y-daypanel{display:flex;flex-direction:column;gap:4px;padding-top:8px;border-top:1px solid var(--hcs-line)}
.hcs-y-dayrow{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:4px 8px;border-top:0;border-right:0;border-bottom:0;border-left-width:4px;border-left-style:solid;border-radius:4px;background:#fff;text-align:left;cursor:pointer;font-family:inherit}
.hcs-y-dayrow:hover{background:#f5f6f8}
.hcs-y-work{min-height:40px}
.hcs-y-phoneline{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}
.hcs-y-phone .hcs-y-tile{width:auto;min-height:88px;cursor:pointer;font-family:inherit;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.hcs-y-phone .hcs-y-tile[aria-disabled="true"]{opacity:.6;cursor:default}
.hcs-y-tile-full{width:100%!important}
.hcs-y-tiles-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hcs-y-work-full{width:100%;justify-content:center;min-height:48px}
.hcs-y-phone .hcs-y-days{flex-direction:row;gap:2px}
.hcs-y-phone .hcs-y-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;flex:1;min-width:0;min-height:64px;padding:4px 0}
.hcs-y-dotwrap{display:flex;align-items:center;justify-content:center;height:18px}
.hcs-y-cdot{display:block;border-radius:50%;background:#00c875}
.hcs-y-phone .hcs-y-prep{margin:0;padding:0 3px;font-size:9px}
.hcs-y-phone .hcs-y-list-head{position:sticky;top:calc(var(--hc-topbar-h,0px) + 108px);z-index:5}
/* Holding a tile scrolls its list to just under the stuck bars (today.js jumpTo). */
.hcs-y-phone [id^="hcs-y-list-"]{scroll-margin-top:calc(var(--hc-topbar-h,0px) + 108px)}
.hcs-y-phone .hcs-y-row{padding:12px}
.hcs-y-phone .hcs-y-acts{flex-direction:column;align-items:stretch}

/* ── Work through (laptop: a 720px sheet over Today; phone: full screen) */
#hcs-sheet.hcs-work-host{align-items:center;padding:16px}
.hcs-w-box{display:flex;flex-direction:column;width:720px;max-width:100%;max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:12px;box-shadow:0 16px 48px rgba(0,0,0,.25)}
.hcs-w-band{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px 12px 0 0}
.hcs-w-band-text{flex:1;min-width:0}
.hcs-w-band-title{font-size:15px;font-weight:700}
.hcs-w-band-next{font-size:12px;opacity:.85}
.hcs-w-dots{display:flex;gap:4px}
.hcs-w-pdot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4)}
.hcs-w-pdot-done{background:rgba(255,255,255,.75)}
.hcs-w-pdot-on{background:#fff;box-shadow:0 0 0 2px rgba(0,0,0,.18)}
.hcs-w-count{font-size:12px;font-weight:700}
.hcs-w-x{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:8px;background:rgba(255,255,255,.22);color:inherit;cursor:pointer}
.hcs-w-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;padding:16px}
.hcs-w-left,.hcs-w-right,.hcs-w-mid{display:flex;flex-direction:column;gap:10px;min-width:0}
.hcs-w-mid{padding:16px}
.hcs-w-who{display:flex;align-items:center;gap:12px}
.hcs-w-name{font-size:22px;font-weight:700;margin:0}
.hcs-w-tags,.hcs-w-chips,.hcs-w-pills{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.hcs-w-why{padding:10px 12px;border-radius:8px;background:#f5f7f9;font-size:13px}
.hcs-w-h{margin-bottom:4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hcs-muted)}
.hcs-w-missing{padding:8px 12px;border-radius:8px;background:#fff4e0;color:#9a5b00;font-size:13px;font-weight:600}
.hcs-w-fix,.hcs-r-fix{margin-top:4px;color:#b3122e;font-size:12px;font-weight:600}
.hcs-w-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hcs-w-tile{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--hcs-line);border-radius:8px}
.hcs-w-tile-label{font-size:11px;font-weight:600;color:var(--hcs-muted)}
.hcs-w-tile-big{font-size:16px;font-weight:700}
.hcs-w-tile-red{border-color:#f2b8c2;background:#fdeef0}
.hcs-w-pdf{display:inline-flex;align-items:center;gap:4px;color:var(--hcs-green);font-size:12px;font-weight:600;text-decoration:none}
.hcs-w-latest{display:flex;flex-direction:column;gap:8px}
.hcs-w-tl{display:flex;align-items:flex-start;gap:8px;font-size:12px}
.hcs-w-tlic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e6e9ef;color:#323338}
.hcs-w-tone-green{background:#00c875}.hcs-w-tone-pink{background:#e50073;color:#fff}.hcs-w-tone-orange{background:#fdab3d}
.hcs-w-tone-navy{background:#225091;color:#fff}.hcs-w-tone-deep{background:#037f4c;color:#fff}
.hcs-w-tl-title{font-size:13px;font-weight:600}
.hcs-w-tl-when{margin-left:auto;white-space:nowrap}
.hcs-w-foot{position:sticky;bottom:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid var(--hcs-line);border-radius:0 0 12px 12px;background:#fff}
.hcs-w-gap{flex:1}
.hcs-w-act{text-decoration:none}
.hcs-w-clear{display:flex;flex-direction:column;align-items:center;gap:10px;padding:40px 16px;color:#037f4c;text-align:center}
.hcs-w-clear-title{font-size:20px;font-weight:700;color:var(--hcs-text)}
.hcs-w-phone{width:100%;max-height:none;overflow:visible;border:1px solid var(--hcs-line);box-shadow:none}
.hcs-w-phone .hcs-w-name{font-size:24px}
.hcs-w-phone .hcs-w-foot{bottom:calc(66px + env(safe-area-inset-bottom));gap:6px;padding:8px}
.hcs-w-phone .hcs-w-act{flex:1 1 30%;justify-content:center;min-height:52px}
.hcs-w-phone .hcs-w-gap{display:none}
.hcs-phone.hcs-screen-work .hcs-head{display:none}

/* ── Event prep */
.hcs-r{display:flex;flex-direction:column;gap:16px;min-width:0}
.hcs-r-title,.hcs-u-title{font-size:22px;font-weight:700;margin:0}
.hcs-r-controls,.hcs-r-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.hcs-r-controls{gap:10px}
.hcs-r-chip{display:inline-flex;align-items:center;height:30px;padding:0 12px;border:1px solid var(--hcs-line2);border-radius:999px;background:#fff;color:var(--hcs-text);font-size:13px;cursor:pointer;font-family:inherit;transition:background-color var(--hcs-t),color var(--hcs-t)}
.hcs-r-chip-on{background:var(--soft-fill);border-color:var(--soft-edge);color:var(--on-soft);font-weight:600}
.hcs-r-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hcs-r-tile{min-height:96px;cursor:default}
.hcs-r-top-gray{border-top-color:#757575}.hcs-r-top-green{border-top-color:#00c875}
.hcs-r-top-orange{border-top-color:#fdab3d}.hcs-r-top-navy{border-top-color:#225091}
.hcs-r-tablewrap{padding:0;overflow-x:auto}
.hcs-r-table{width:100%;border-collapse:collapse;font-size:13px}
.hcs-r-table thead th{padding:8px;border-bottom:1px solid var(--hcs-line);background:#fff;color:var(--hcs-muted);font-size:11px;font-weight:700;text-align:left;white-space:nowrap}
.hcs-r-weekrow th{padding:14px 8px 6px;font-size:14px;font-weight:700;text-align:left}
.hcs-r-stripe{display:inline-block;margin-right:8px;vertical-align:middle;background:#00c875}
.hcs-r-dayrow th{padding:6px 8px;background:#f7f8fa;color:var(--hcs-text2);font-size:12px;font-weight:600;text-align:left}
.hcs-r-row{cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-r-row:hover{background:#f7f8fa}
.hcs-r-row.hcs-wash{background:#fdeef0}
.hcs-r-td{padding:6px 8px;border-bottom:1px solid var(--hcs-line);vertical-align:middle}
.hcs-r-event{min-width:140px;max-width:220px;border-left-width:4px;border-left-style:solid}
.hcs-r-name{margin-right:6px;padding:0;border:0;background:none;color:var(--hcs-text);font-size:13px;font-weight:700;text-align:left;cursor:pointer;font-family:inherit}
.hcs-r-num{text-align:right;font-variant-numeric:tabular-nums}
.hcs-r-cell{display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-height:36px;padding:2px 4px;border:0;border-radius:4px;background:transparent;color:var(--hcs-text2);font-size:10px;line-height:1.15;text-align:center;cursor:pointer;font-family:inherit}
.hcs-r-cell:hover{background:#eef1f4}
.hcs-r-celltext{display:-webkit-box;max-width:58px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hcs-r-pc{padding:4px 2px;text-align:center}
.hcs-r-table th.hcs-r-pc{text-align:center}
.hcs-r-table .hcs-y-mkt,.hcs-r-table .hcs-pill{height:20px;padding:0 8px;font-size:11px}
.hcs-r-battwrap{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.hcs-r-batt{width:40px}
.hcs-r-batt>.hcs-r-bd{background:#00c875}.hcs-r-batt>.hcs-r-bp{background:#fdab3d}
.hcs-r-batt>.hcs-r-bm{background:#df2f4a}.hcs-r-batt>.hcs-r-bu{background:#c4c4c4}
.hcs-r-inv{color:var(--hcs-green);font-weight:600;text-decoration:none}
.hcs-r-pop{padding:8px 12px;border-radius:6px;background:#fff8ec;font-size:12px}
.hcs-r-beyond{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--hcs-text2);font-size:13px}
.hcs-r-phone .hcs-r-tiles{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}
.hcs-r-phone .hcs-r-tile{flex:0 0 150px;scroll-snap-align:start}
.hcs-r-phone .hcs-r-chip{min-height:44px}
.hcs-r-weekhead{margin-top:8px;font-size:15px;font-weight:700}
.hcs-r-dayhead{position:sticky;top:calc(var(--hc-topbar-h,0px) + 108px);z-index:4;padding:6px 4px;background:var(--hcs-page);color:var(--hcs-text2);font-size:12px;font-weight:700}
.hcs-r-card{display:flex;flex-direction:column;gap:6px;padding:14px;border-top:1px solid var(--hcs-line);border-right:1px solid var(--hcs-line);border-bottom:1px solid var(--hcs-line);border-left-width:4px;border-left-style:solid;border-radius:12px;background:#fff;cursor:pointer}
.hcs-r-card.hcs-wash{background:#fdeef0}
.hcs-r-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}

/* ── Tidy up (P1 Review, restyled; the open batch is drawn in the page) */
.hcs-u{display:flex;flex-direction:column;gap:16px;max-width:880px;min-width:0}
.hcs-u-head{display:flex;flex-direction:column;gap:4px}
.hcs-u-cardtitle{margin:0 0 4px;font-size:16px;font-weight:700}
.hcs-u-batch,.hcs-u-recent,.hcs-u-byhand,.hcs-u-flow{display:flex;flex-direction:column;gap:8px}
.hcs-u-line{font-size:14px}
.hcs-u-muted{font-size:12px}
.hcs-u-muted[hidden]{display:none}
.hcs-u-examples{display:flex;flex-direction:column;border-top:1px solid var(--hcs-line)}
.hcs-u-ex{display:flex;flex-direction:column;gap:2px;padding:8px 4px;border-bottom:1px solid var(--hcs-line);cursor:pointer;transition:background-color var(--hcs-t)}
.hcs-u-ex:hover{background:#f7f8fa}
.hcs-u-exname{padding:0;border:0;background:none;color:var(--hcs-text);font-size:13px;font-weight:600;text-align:left;cursor:pointer;font-family:inherit}
.hcs-u-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hcs-u-recentrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--hcs-line);font-size:13px}
.hcs-u-list{display:flex;flex-direction:column;max-height:55vh;overflow:auto;border:1px solid var(--hcs-line);border-radius:8px}
.hcs-u-row{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:44px;padding:8px 10px;border:0;border-bottom:1px solid var(--hcs-line);background:#fff;color:var(--hcs-text);text-align:left;cursor:pointer;font-family:inherit;transition:background-color var(--hcs-t)}
.hcs-u-row:hover{background:#f7f8fa}
.hcs-u-box{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid var(--hcs-line2);border-radius:4px;background:#fff;color:transparent;transition:background-color var(--hcs-t),color var(--hcs-t)}
.hcs-u-on .hcs-u-box{background:var(--tick-fill);border-color:var(--tick-fill);color:var(--tick)}
.hcs-u-rowtext{display:flex;flex-direction:column;gap:2px;font-size:12px}
.hcs-u-rowname{font-size:13px;font-weight:600}
.hcs-u-kept{padding:6px 10px;background:var(--green-pale);color:var(--green);font-size:12px;font-weight:600}
.hcs-u-one{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--hcs-line);border-radius:8px}
.hcs-u-progress{font-size:15px;font-weight:600}
.hcs-u-notice{padding:8px 12px;border-radius:8px;background:#fff4e0;color:#7a4b00;font-size:13px}

/* ── Search (inside #hcs-search from sales.css) */
.hcs-s-box{display:flex;flex-direction:column;width:560px;max-width:100%;max-height:calc(100vh - 100px);overflow:hidden;background:#fff;border-radius:12px;box-shadow:0 16px 48px rgba(0,0,0,.25)}
.hcs-s-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--hcs-line);color:var(--hcs-muted)}
.hcs-s-input{flex:1;min-width:0;height:40px;border:0;outline:none;background:transparent;color:var(--hcs-text);font-size:16px;font-family:inherit}
.hcs-s-x{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:var(--hcs-text2);cursor:pointer}
.hcs-s-results{overflow:auto;padding:4px}
.hcs-s-row{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:var(--hcs-text);font-size:14px;text-align:left;cursor:pointer;font-family:inherit;transition:background-color var(--hcs-t)}
.hcs-s-row:hover,.hcs-s-on{background:var(--brand-wash2)}
.hcs-s-name{flex:1;min-width:0;overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.hcs-s-meta{font-size:12px;white-space:nowrap}
.hcs-s-match{font-size:11px;color:var(--hcs-muted);white-space:nowrap}
.hcs-s-hint{padding:16px;color:var(--hcs-text2);font-size:13px}
.hcs-s-foot{padding:8px 12px;border-top:1px solid var(--hcs-line);color:var(--hcs-muted);font-size:11px}
/* U02: a phone result with a number: the row and a 44px Call icon side by side */
.hcs-s-item{display:flex;align-items:center;gap:4px}
.hcs-s-item .hcs-s-row{flex:1;min-width:0}
.hcs-s-call{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:8px;color:var(--hcs-green);text-decoration:none}
.hcs-s-call:hover{background:var(--brand-wash2)}

/* ── Phone and narrow laptops */
@media (max-width:1149px){
  .hcs-y-cols{grid-template-columns:minmax(0,1fr)}
  .hcs-w-body{grid-template-columns:minmax(0,1fr)}
  .hcs-r-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hcs-y-start,.hcs-y-link,.hcs-y-more,.hcs-y-dayrow,.hcs-r-cell,.hcs-u-exname,.hcs-s-x,.hcs-w-x{min-height:44px}
  .hcs-s-meta,.hcs-s-match{display:none}
  .hcs-s-box{max-height:calc(100vh - 88px)}
  .hcs-u-recentrow{flex-wrap:wrap}
}

/* ── Step B (drawn only while the CRM is on): the five tile colors */
.hcs-y-tile.hcs-y-tone-red,.hcs-w-band.hcs-y-tone-red{background:#df2f4a;color:#fff}
.hcs-y-tile.hcs-y-tone-orange,.hcs-w-band.hcs-y-tone-orange{background:#fdab3d;color:#323338}
/* Status design: New to sort is not NY navy (navy means New York now). */
.hcs-y-tile.hcs-y-tone-royal,.hcs-w-band.hcs-y-tone-royal{background:#216edf;color:#fff}
/* Event soon, not booked (the follow-up radar): a darker red than New leads. */
.hcs-y-tile.hcs-y-tone-crimson,.hcs-w-band.hcs-y-tone-crimson{background:#8f1028;color:#fff}
.hcs-y-tone-red .hcs-stripe{background:#df2f4a}.hcs-y-tone-red .hcs-y-list-title{color:#b3122e}
.hcs-y-tone-orange .hcs-stripe{background:#fdab3d}.hcs-y-tone-orange .hcs-y-list-title{color:var(--hcs-amber-text)}
.hcs-y-tone-royal .hcs-stripe{background:#216edf}.hcs-y-tone-royal .hcs-y-list-title{color:#1a5bbd}
.hcs-y-tone-crimson .hcs-stripe{background:#8f1028}.hcs-y-tone-crimson .hcs-y-list-title{color:#8f1028}
.hcs-y-tone-crimson .hcs-y-start{background:rgba(0,0,0,.22)}.hcs-y-tone-crimson .hcs-y-start:hover{background:rgba(0,0,0,.32)}
.hcs-y-radar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:12px;color:var(--hcs-text2)}
.hcs-y-radar-red{color:#b3122e;font-weight:600}
.hcs-y-headlink{margin-left:auto}
/* Five tiles share one row on a laptop (they wrap only when narrow) */
.hcs-y-tiles-5{gap:12px}
.hcs-y-tiles-5 .hcs-y-tile{flex:1 1 150px;width:auto;min-width:150px;max-width:220px}
/* Rows: the next step line, the Email button, the menu's Snooze chips */
.hcs-y-next{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--hcs-text2)}
.hcs-y-next-red{color:#b3122e}
.hcs-y-email{text-decoration:none}
.hcs-y-menu-label{padding:6px 12px 2px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hcs-muted)}
.hcs-y-snooze{display:flex;flex-wrap:wrap;gap:6px;padding:4px 8px 8px}
.hcs-y-menu .hcs-y-chip,.hcs-y-chip{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border:1px solid var(--hcs-line2);border-radius:999px;background:#fff;color:var(--hcs-text);font-size:13px;cursor:pointer;font-family:inherit;transition:background-color var(--hcs-t)}
.hcs-y-chip:hover{background:var(--green-wash)}

/* ── New to sort (sort.js rows, also inside Today and Work through) */
.hcs-n{display:flex;flex-direction:column;gap:12px;min-width:0}
.hcs-n-head{display:flex;align-items:center;gap:8px}
.hcs-n-title{margin:0;font-size:22px;font-weight:700}
.hcs-n-list{padding:0;overflow:hidden}
.hcs-n-row{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-top:1px solid var(--hcs-line);border-left:4px solid #225091;background:#fff}
.hcs-n-list .hcs-n-row:first-child{border-top:0}
.hcs-n-wait{border-left-color:var(--hcs-line2);background:#fafbfc}
.hcs-n-top{display:flex;align-items:center;gap:8px;min-width:0}
.hcs-n-who{min-width:0;overflow:hidden;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.hcs-n-tag-order{background:#e1ebfa;color:#225091}
.hcs-n-tag-maybe{background:var(--hcs-page);color:var(--hcs-text2)}
.hcs-n-tag-form{background:#e4ece6;color:#33503b}
.hcs-n-clip{display:inline-flex;color:var(--hcs-text2)}
.hcs-n-ago{margin-left:auto;font-size:12px;white-space:nowrap}
.hcs-n-from{font-size:12px;overflow-wrap:anywhere}
.hcs-n-subject{font-size:13px;color:var(--hcs-text)}
.hcs-n-line,.hcs-n-hint,.hcs-n-waiting{display:flex;align-items:center;gap:4px;font-size:12px}
.hcs-n-thread{margin:4px 0;font-size:12px;overflow-wrap:anywhere}
.hcs-n-thread summary{cursor:pointer;min-height:32px;padding:7px 0;font-weight:600;color:var(--hcs-text2)}
.hcs-n-thread-message{border-top:1px solid var(--hcs-line);margin-top:8px;padding:8px 0;line-height:1.5}
.hcs-n-hint{font-weight:600;color:#037f4c}
.hcs-n-hint-passed,.hcs-n-hint-past_client{color:var(--hcs-text2)}
.hcs-n-jarvis{padding:6px 10px;border-radius:6px;background:#e1ebfa;color:#225091;font-size:12px}
.hcs-n-waiting{color:var(--hcs-amber-text);font-weight:600}
.hcs-n-msg{padding:6px 10px;border-radius:6px;background:#fff4e0;color:#7a4b00;font-size:12px}
.hcs-n-ask{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid var(--hcs-amber-line);border-radius:8px;background:#fffaf0;font-size:13px}
.hcs-n-acts{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.hcs-n-btn[disabled]{opacity:.5;cursor:not-allowed}
.hcs-n-clear{display:flex;align-items:center;gap:10px;color:var(--hcs-text2)}
.hcs-n-clear svg{color:#00c875}
.hcs-n-older{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px}
.hcs-y-list .hcs-n-row{border-left:0}

/* ── Work through, Step B: snooze chips, the phone reach row, an email item */
.hcs-w-snooze{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex-basis:100%}
.hcs-w-reach{display:flex;flex-wrap:wrap;gap:6px}
.hcs-w-break{flex-basis:100%;height:0}
.hcs-w-mail{padding:12px 16px}
.hcs-w-mail .hcs-n-row{border:1px solid var(--hcs-line);border-left:4px solid #225091;border-radius:8px}

/* ── Tidy up, Step B: the Exact mark and the Older waiting emails group */
.hcs-u-exact{margin-left:6px;background:var(--green-pale);color:var(--green)}
.hcs-u-older{border-left:4px solid #225091}

/* ── Phone (FID-6): every tap target at least 44px, chips 48px */
.hcs-phone .hcs-y-chip,.hcs-phone .hcs-y-menu .hcs-y-chip,.hcs-phone .hcs-w-snooze .hcs-y-chip{min-height:48px;padding:0 16px}
.hcs-phone .hcs-y-acts .hcs-iconbtn,.hcs-phone .hcs-y-acts .hcs-btn,.hcs-phone .hcs-y-menu button{min-width:44px;min-height:44px}
.hcs-phone .hcs-y-menu{right:8px;left:8px;min-width:0}
.hcs-phone .hcs-n-btn,.hcs-phone .hcs-n-acts .hcs-btn,.hcs-phone .hcs-n-acts .hcs-btn-primary{flex:1 1 44%;min-height:44px}
.hcs-phone .hcs-w-reach .hcs-w-act{flex:1 1 30%;justify-content:center;min-height:44px}
.hcs-phone .hcs-u-actions .hcs-btn,.hcs-phone .hcs-u-actions .hcs-btn-primary,.hcs-phone .hcs-y-headlink{min-height:44px}
/* Step C: Handled next to Email on a Reply now row (a phone shows the check only). */
.hcs-y-handled{text-decoration:none}
.hcs-phone .hcs-y-handled span{display:none}
.hcs-phone .hcs-rb-ask .hcs-rb-chip{min-height:44px}
/* U02: the gray contact line under the event line (a click on a laptop
   copies one value) and the Copy number, Call, Text and Done buttons. */
.hcs-y-contact{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;font-size:12px;color:var(--hcs-text2);min-width:0}
.hcs-y-cval{overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.hcs-y-ccopy{cursor:pointer}
.hcs-y-ccopy:hover{color:var(--hcs-text);text-decoration:underline}
.hcs-y-csep{color:var(--hcs-muted)}
.hcs-y-reach,.hcs-y-done{white-space:nowrap}
/* U02: the Work through card's phone and email (copy icons on a laptop,
   44px taps on the phone) and its What they wrote block (U05). */
.hcs-w-contact{display:flex;flex-direction:column;gap:2px;font-size:14px}
.hcs-w-crow{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--hcs-text2)}
.hcs-w-cval{color:var(--hcs-text);font-weight:600;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.hcs-w-crow .hcs-w-cval{cursor:pointer}
.hcs-w-crow .hcs-w-cval:hover{text-decoration:underline}
.hcs-w-cicon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:none;color:var(--hcs-text2);cursor:pointer;font-family:inherit}
.hcs-w-cicon:hover{background:var(--hcs-page);color:var(--hcs-text)}
.hcs-w-ctap{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none}
.hcs-w-ctap .hcs-ic{flex:none;color:var(--hcs-text2)}
.hcs-d-wrotework{padding:10px 12px}
