/* ==========================================================================
   Home — a day of work. The hero shows the workspace mid-morning: the agents are
   working and the row that matters is the one waiting for a person. Built on
   css/bluey-2027.css. Prefix: hxt-.
   ========================================================================== */

.hxt-hero{position:relative;padding:62px 0 90px;overflow:hidden;color:var(--bx-ink)}
.hxt-grid{position:relative;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:56px;align-items:center}
.hxt-copy .bx-eyebrow{margin-bottom:16px}
.hxt-h1{margin:0;font:700 clamp(2.3rem,3.9vw,3.7rem)/1.03 var(--bx-display);letter-spacing:-.038em}
.hxt-h1 em{font-style:normal;color:var(--bx-cyanD)}
.hxt-lede{margin:22px 0 0;max-width:31em;font:400 1.1875rem/1.62 var(--bx-body);color:var(--bx-text)}
.hxt-hero .bx-acts{margin-top:26px}
.hxt-hero .bx-ticks{margin-top:22px}

/* ---------- the stage ---------- */
.hxt-stage{position:relative;border-radius:var(--bx-r-lg);background:var(--bx-stage);box-shadow:var(--bx-e2)}
.hxt-stage::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);pointer-events:none}
.hxt-rail{display:flex;align-items:center;gap:12px;min-height:46px;padding:7px 16px;border-radius:var(--bx-r-lg) var(--bx-r-lg) 0 0;border-bottom:1px solid rgba(255,255,255,.09);color:#fff}
.hxt-ws{font:600 13.5px/1.15 var(--bx-body);color:rgba(255,255,255,.92)}
.hxt-ws small{display:block;margin-top:3px;font:500 11px/1.15 var(--bx-body);color:rgba(255,255,255,.45)}
.hxt-ava{display:flex;margin-left:6px}
.hxt-ava i{width:22px;height:22px;margin-left:-6px;border-radius:50%;border:2px solid var(--bx-stage);display:grid;place-items:center;font:700 9px/1 var(--bx-body);color:#06121f}
.hxt-live{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(18,165,115,.16);color:#5fe3b0;font:700 10.5px/1 var(--bx-body);white-space:nowrap}
.hxt-live i{width:6px;height:6px;border-radius:50%;background:#2ee0a4;animation:hxt-pulse 2.4s var(--bx-ease) infinite}
@keyframes hxt-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.72)}}
.hxt-clock{margin-left:auto;font:600 12.5px/1 var(--bx-body);color:rgba(255,255,255,.5);font-variant-numeric:tabular-nums}
.hxt-body{display:grid;grid-template-columns:56px minmax(0,1fr)}
.hxt-belt{display:flex;flex-direction:column;align-items:center;gap:14px;padding:18px 0}
.hxt-belt i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font:700 10px/1 var(--bx-body);color:#06121f;opacity:.38;transition:opacity .4s var(--bx-ease),box-shadow .4s var(--bx-ease)}
.hxt-belt i.is-on{opacity:1;box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.hxt-screen{margin:0 14px 14px 0;border-radius:var(--bx-r-md);background:#fff;overflow:hidden}
.hxt-scr-h{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid var(--bx-line);font:700 13px/1 var(--bx-body)}
.hxt-scr-h span{margin-left:auto;font:600 11px/1 var(--bx-body);color:var(--bx-muted)}
.hxt-scr-b{padding:12px 14px 14px;display:grid;gap:8px}
.hxt-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--bx-line);border-radius:var(--bx-r-sm)}
.hxt-row > i{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;font:700 10px/1 var(--bx-body);color:#fff}
.hxt-row b{display:block;font:600 13.5px/1.25 var(--bx-body)}
.hxt-row small{display:block;margin-top:2px;font:500 11.5px/1.32 var(--bx-body);color:var(--bx-muted)}
.hxt-tag{padding:4px 9px;border-radius:999px;font:700 10px/1 var(--bx-body);white-space:nowrap}
.hxt-tag.is-work{background:#e6f6fd;color:var(--bx-cyanD)}
.hxt-tag.is-done{background:#e3f6ee;color:#0d7a53}
.hxt-row.is-wait{border-color:#f3c69c;background:#fff8f1}
.hxt-row.is-wait small{color:#b9560a;font-weight:700}
.hxt-mini{display:flex;gap:6px}
.hxt-xs{padding:7px 12px;border-radius:9px;border:1px solid var(--bx-line);background:#fff;color:var(--bx-ink);font:700 11.5px/1 var(--bx-body);cursor:pointer}
.hxt-xs.is-ok{background:var(--bx-orange);border-color:var(--bx-orange);color:#1b0f02}
/* to the right, out of the phone's way */
.hxt-foot{margin:0;padding:0 16px 13px;text-align:right;font:500 11px/1.4 var(--bx-body);color:rgba(255,255,255,.42)}

/* the phone hangs off the bottom-left corner, away from the approval buttons */
.hxt-phone{position:absolute;left:-56px;bottom:-40px;width:112px;border-radius:18px;background:#fff;box-shadow:0 20px 50px rgba(0,0,0,.45);overflow:hidden;border:4px solid #17162f}
.hxt-ph-h{padding:8px 9px 6px;border-bottom:1px solid var(--bx-line);font:700 10px/1.2 var(--bx-body)}
.hxt-ph-b{padding:8px 9px;display:grid;gap:5px}
.hxt-ph-b span{display:block;height:7px;border-radius:3px;background:#eef0f4}
.hxt-ph-b span.w{width:62%}
.hxt-ph-b span.pill{height:16px;width:74%;border-radius:999px;background:#e6f6fd}

/* ---------- the shift ---------- */
.hxt-day{padding:84px 0;color:var(--bx-ink);background:var(--bx-paper);border-top:1px solid var(--bx-line);border-bottom:1px solid var(--bx-line)}
.hxt-day h2{margin:12px 0 0;max-width:17em;font:700 clamp(1.8rem,2.9vw,2.6rem)/1.08 var(--bx-display);letter-spacing:-.032em}
.hxt-day-lead{margin:18px 0 0;max-width:46em;font:400 1.0625rem/1.65 var(--bx-body);color:var(--bx-text)}
.hxt-hours{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:38px}
.hxt-hour{padding:22px;border:1px solid var(--bx-line);border-radius:var(--bx-r-md);background:#fff}
.hxt-hour time{font:700 12px/1 var(--bx-body);color:var(--bx-cyanD);font-variant-numeric:tabular-nums}
.hxt-hour b{display:block;margin:10px 0 6px;font:700 1.0625rem/1.22 var(--bx-display);letter-spacing:-.015em}
.hxt-hour p{margin:0;font:500 14px/1.52 var(--bx-body);color:var(--bx-text)}
.hxt-hour.is-you{background:var(--bx-ink);border-color:var(--bx-ink);color:#fff}
.hxt-hour.is-you time{color:#ffb16b}
.hxt-hour.is-you p{color:rgba(255,255,255,.75)}

@media (max-width:1000px){
  /* minmax(0,…), not 1fr: the stage's rail is wider than a phone and a plain 1fr
     refuses to shrink below it, which pushed the whole page sideways. */
  .hxt-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .hxt-hours{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .hxt-hero{padding:26px 0 48px}
  .hxt-h1{font-size:clamp(2rem,8.2vw,2.6rem);line-height:1.07}
  .hxt-lede{font-size:1.0625rem}
  .hxt-hero .bx-acts .bx-btn{width:100%}
  .hxt-phone{display:none}
  .hxt-foot{text-align:left}
  .hxt-rail{flex-wrap:wrap;gap:8px 10px;padding:10px 14px}
  .hxt-clock{margin-left:auto}
  .hxt-ws{width:100%}
  .hxt-ws small{display:inline;margin:0 0 0 6px}
  .hxt-body{grid-template-columns:1fr}
  .hxt-belt{flex-direction:row;justify-content:flex-start;gap:10px;padding:12px 14px 0}
  .hxt-screen{margin:12px 14px 14px}
  .hxt-row{grid-template-columns:26px minmax(0,1fr);row-gap:8px}
  .hxt-row .hxt-tag,.hxt-row .hxt-mini{grid-column:2}
  .hxt-tag{justify-self:start}
  .hxt-day{padding:56px 0}
  .hxt-hours{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .hxt-live i{animation:none}
}
