/* ============================================================================
   parity-comms.css — the comms + ops cluster (walkie, member requests, office
   hours, night ops, MOD board, view-as).

   Loaded on demand by js/lib/parity-comms-css.js, because index.html links only
   backline.css and this cluster's surfaces are a minority of sessions.

   RULES OBSERVED
   • Every colour is a backline.css token. No new palette, no inline hex.
   • --gold is Platinum-only, so PAID / PTO / OVERRIDE use --warn and the
     divergence from iOS's gold is deliberate (docs/parity/50-comms-ops.md §5,§8).
   • One accent per row. The 3px left rail carries state; pills are reserved for
     the single fact that has to read from across the room.
   • Numerics are --mono + tabular-nums so a column of times does not shimmer.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   0 · SHARED — the status rail, the modal, focus, motion
   --------------------------------------------------------------------------- */

/* The cluster's signature mark: a 3px vertical rail down the left of a card that
   encodes state without spending a pill on it. */
.pc-rail { position: relative; padding-left: 15px; }
.pc-rail::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px;
  width: 3px; border-radius: 999px; background: var(--line2);
}
.pc-rail.live::before  { background: var(--bad); }
.pc-rail.held::before  { background: var(--warn); }
.pc-rail.ok::before    { background: var(--ok); }
.pc-rail.mine::before  { background: var(--violet); }
.pc-rail.done { opacity: 0.62; }

.pc-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Keyboard reachability. backline.css never removes the ring, so this only adds
   a consistent one to the interactive shells this file introduces. */
.pc-tap:focus-visible,
.pc-modal-card button:focus-visible,
.pc-toggle-row:focus-visible {
  outline: 2px solid var(--violet2); outline-offset: 2px; border-radius: 12px;
}

/* Anything that can be pressed clears the 44px mobile floor. */
.pc-tap { cursor: pointer; min-height: 44px; }
@media (min-width: 1024px) { .pc-tap { min-height: 32px; } }

/* --- modal (there is no generic one in backline.css) --- */
.pc-modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-end; justify-content: center;
  background: color-mix(in srgb, var(--bg) 80%, transparent); padding: 16px;
  overscroll-behavior: contain;
}
@media (min-width: 640px) { .pc-modal { align-items: center; } }
.pc-modal-card {
  width: 100%; max-width: 440px; max-height: 82vh; overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surf); border: 1px solid var(--line2);
  border-radius: 18px; padding: 18px 17px 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 13px;
}
.pc-modal-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.pc-modal-body { font-size: 13px; font-weight: 500; color: var(--ink2); line-height: 1.5; }
.pc-modal-btns { display: flex; flex-direction: column; gap: 9px; }
.pc-modal-btns .btn-glass, .pc-modal-btns .btn-primary { width: 100%; }

/* --- inline notes: the "state what happened" line every mutation owes --- */
.pc-note { font-size: 11.5px; font-weight: 500; color: var(--mut); line-height: 1.45; padding: 0 2px; }
.pc-note.err { color: var(--bad); }
.pc-note.ok  { color: var(--ok); }
.pc-note.warn { color: var(--warn); }

/* --- a 403 is not a 401: an explanatory panel, never a login bounce --- */
.pc-denied { display: flex; gap: 11px; align-items: flex-start; }
.pc-denied svg { color: var(--warn); flex-shrink: 0; margin-top: 2px; }
.pc-denied .d-t { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pc-denied .d-s { font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 3px; line-height: 1.45; }

/* Two-lane console at desktop, one column on the floor. */
.pc-split { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) {
  .pc-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: start; }
  .pc-col { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-tap, .pc-bubble, .pc-check-box, .pc-progress-fill { transition: none !important; }
  .wk-hold .wk-hold-dot { animation: none; opacity: 1; }
}

/* ---------------------------------------------------------------------------
   1 · WALKIE INBOX — one row per person, never per message
   --------------------------------------------------------------------------- */
.wk-row { display: flex; gap: 11px; align-items: center; width: 100%; min-width: 0; }
.wk-row .wk-mid { flex: 1 1 0; min-width: 0; }
/* The name and the one pill that may sit beside it. URGENT is a word here, not
   a tint: colour alone is unreadable to a colour-blind eye and to anybody
   glancing at a phone in a dark control room. */
.wk-name-row { display: flex; align-items: center; gap: 7px; min-width: 0; }
.wk-name-row .pill { flex-shrink: 0; }
.wk-name { font-size: 14px; font-weight: 700; color: var(--ink);
  flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-prev { font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-when { font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 10px; color: var(--dim); letter-spacing: 0.4px; flex-shrink: 0; }
.wk-unread {
  flex-shrink: 0; min-width: 22px; height: 22px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--violet); color: var(--bg);
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 11px; font-weight: 600;
}
.wk-row.urgent .wk-unread { background: var(--warn); }
.wk-hit-snip { font-size: 12.5px; font-weight: 500; color: var(--ink2); line-height: 1.5; margin-top: 4px; }
.wk-hit-snip mark { background: var(--violetSoft); color: var(--ink); border-radius: 3px; padding: 0 2px; }

/* ---------------------------------------------------------------------------
   2 · WALKIE THREAD — bubbles, day separators, voice tiles, composer
   --------------------------------------------------------------------------- */
.wk-thread { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.wk-daysep {
  align-self: center; margin: 6px 0 2px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--dim);
}
.pc-bubble {
  max-width: 84%; min-width: 0; padding: 9px 12px; border-radius: 15px;
  background: var(--surf2); border: 1px solid var(--line);
  align-self: flex-start; transition: box-shadow .16s;
}
@media (min-width: 1024px) { .pc-bubble { max-width: 60%; } }
.pc-bubble.mine {
  align-self: flex-end;
  /* Derived from --blue so there is no second blue in the app to keep in sync.
     backline.css has no --blueSoft/--blueStroke pair; these are the equivalents. */
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  border-color: color-mix(in srgb, var(--blue) 24%, transparent);
}
.pc-bubble.urgent { background: var(--warnSoft); border-color: var(--amberStroke); }
.pc-bubble.focused { box-shadow: 0 0 0 2px var(--violet); }
.pc-bubble .bb-body { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.45;
  overflow-wrap: anywhere; white-space: pre-wrap; }
.pc-bubble .bb-body.bad { color: var(--bad); }
.pc-bubble .bb-meta { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.pc-bubble .bb-time { font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 9.5px; color: var(--dim); letter-spacing: 0.4px; }
.pc-bubble .bb-eyebrow { font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: 1.1px; color: var(--mut); margin-bottom: 4px; }
.pc-bubble .bb-note { font-size: 11px; font-weight: 500; color: var(--mut); margin-top: 5px; line-height: 1.4; }

.wk-voice { display: flex; align-items: center; gap: 10px; }
.wk-play {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surf3); border: 1px solid var(--line2); color: var(--ink); cursor: pointer;
}
.wk-play:hover { border-color: var(--violetStroke); color: var(--violet2); }
.wk-play .spinner { width: 15px; height: 15px; }
.wk-track { height: 3px; border-radius: 999px; background: var(--line2); width: 100%; margin-top: 7px; overflow: hidden; }
.wk-track .wk-track-fill { height: 100%; width: 0; background: var(--violet); border-radius: 999px; }

.wk-composer {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; flex-direction: column; gap: 7px; width: 100%;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0%, var(--bg) 22%);
}
.wk-composer-row { display: flex; align-items: flex-end; gap: 8px; width: 100%; }
.wk-composer-row .input { flex: 1 1 0; min-width: 0; padding: 10px 13px; }
/* 16px keeps iOS Safari from zooming the whole board on focus. */
.wk-composer-row .input input { font-size: 16px; }
/* The field is a textarea so a walkie can carry a direction, not just a word.
   It grows to 120px (the iOS ceiling) and scrolls after that; the JS sets the
   height, this keeps the box from being draggable or from jumping a line. */
.wk-field textarea {
  flex: 1 1 0; min-width: 0; width: 100%;
  background: none; border: none; outline: none; resize: none;
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  line-height: 1.35; max-height: 120px; padding: 0; margin: 0;
  overflow-y: hidden;
}
.wk-field textarea::placeholder { color: var(--mut); }

/* The first second of a hold. Live words are the rule, but they cannot exist
   before somebody speaks, and silence there reads as a dead mic. */
.wk-hold {
  display: none; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px; align-self: flex-start;
  background: var(--violetSoft); border: 1px solid var(--violetStroke);
}
.wk-hold.on { display: inline-flex; }
.wk-hold .wk-hold-dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--bad);
  animation: wk-hold-pulse 1.2s ease-in-out infinite;
}
.wk-hold .wk-hold-t {
  font-size: 11.5px; font-weight: 700; color: var(--violet2); letter-spacing: 0.2px;
}
.wk-hold .wk-hold-c {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 10.5px; font-weight: 600; color: var(--mut);
}
@keyframes wk-hold-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.wk-send {
  flex: none; width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background-image: var(--grad-btn); color: var(--bg); cursor: pointer; border: none;
}
.wk-send:disabled { opacity: .45; cursor: default; }
.wk-urgent {
  flex: none; width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surf3); border: 1px solid var(--line2); color: var(--mut); cursor: pointer;
}
.wk-urgent.on { background: var(--warnSoft); border-color: var(--amberStroke); color: var(--warn); }
/* Live words appear WHILE the finger is down. Never batch-silent. */
.wk-live { font-size: 12.5px; font-weight: 500; color: var(--violet2); line-height: 1.45;
  padding: 0 4px; min-height: 0; }
.wk-live:empty { display: none; }

/* ---------------------------------------------------------------------------
   3 · WALKIE SETTINGS — toggle rows, status chips, quiet hours
   --------------------------------------------------------------------------- */
.pc-toggle-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 2px; cursor: pointer; min-height: 44px; background: none; border: none; text-align: left;
}
.pc-toggle-row[disabled] { opacity: .5; cursor: default; }
.pc-toggle-row .tr-mid { flex: 1 1 0; min-width: 0; }
.pc-toggle-row .tr-t { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pc-toggle-row .tr-s { display: block; font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 2px; line-height: 1.4; }
.pc-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip-grid .chip { cursor: pointer; min-height: 38px; }
.pc-time-row { display: flex; gap: 11px; }
.pc-time-field { flex: 1 1 0; min-width: 0; }
.pc-time-field .lab { font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 1.1px; color: var(--mut); margin-bottom: 5px; }
.pc-time-field .input { padding: 10px 13px; }
.pc-time-field .input input {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 16px; text-align: center; letter-spacing: 1px;
  /* A text input carries an intrinsic min-content width from its `size` (20
     characters, about 210px at this font). Flex items default to min-width:auto,
     so without this the field refuses to shrink and punches out of the card on a
     360px phone. The pair still splits the row evenly. */
  min-width: 0; width: 100%;
}

/* ---------------------------------------------------------------------------
   4 · MEMBER REQUESTS — the member's own sentence is the biggest thing here
   --------------------------------------------------------------------------- */
.rq-head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--mut); }
.rq-head .rq-src { font-size: 13px; }
.rq-ask {
  font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35;
  margin-top: 6px; overflow-wrap: anywhere;
}
.rq-ends { font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 11px; color: var(--mut); margin-top: 7px; letter-spacing: 0.3px; }
.rq-actions { margin-top: 11px; display: flex; align-items: center; gap: 9px; }
.rq-onit { min-height: 52px; font-size: 15px; }
.rq-claim {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 7px;
  padding: 8px 11px; border-radius: 11px;
  background: var(--tealSoft); border: 1px solid var(--tealStroke); color: var(--teal);
  font-size: 12.5px; font-weight: 600;
}
.rq-claim svg { flex-shrink: 0; }
.rq-done-line { font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 10px; }

/* the self-loading Today card */
.rq-today-sub { font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 2px; }

/* ---------------------------------------------------------------------------
   5 · OFFICE HOURS — time tile, slot chips, the expanded booking
   --------------------------------------------------------------------------- */
.oh-sess { display: flex; gap: 11px; align-items: center; width: 100%; min-width: 0; }
.oh-time {
  flex-shrink: 0; width: 58px; padding: 7px 0; border-radius: 11px; text-align: center;
  background: var(--surf3); border: 1px solid var(--line2);
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 11.5px; font-weight: 600; color: var(--ink2); letter-spacing: 0.2px;
}
.oh-time.live { background: var(--badSoft); border-color: var(--redStroke); color: var(--bad); }
.oh-mid { flex: 1 1 0; min-width: 0; }
.oh-guest { font-size: 14px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oh-where { font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oh-detail { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 7px; }
.oh-kv { display: flex; gap: 10px; font-size: 12.5px; }
.oh-kv .k { flex: none; width: 62px; color: var(--mut); font-weight: 500; }
.oh-kv .v { flex: 1 1 0; min-width: 0; color: var(--ink2); font-weight: 500; overflow-wrap: anywhere; }
.oh-kv a { color: var(--teal); text-decoration: none; }
.oh-kv a:hover { text-decoration: underline; }

.oh-hostline { font-size: 11.5px; font-weight: 600; color: var(--mut); margin: 9px 0 6px; }
.oh-chip { cursor: pointer; font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.2px; }
.oh-chip.open { background: var(--tealSoft); border-color: var(--tealStroke); color: var(--teal); }
.oh-chip.open:hover { border-color: var(--teal); }
.oh-chip.held { background: var(--warnSoft); border-color: var(--amberStroke); color: var(--warn); }
.oh-chip.held:hover { border-color: var(--warn); }
.oh-chip svg { flex-shrink: 0; }

.oh-hero-when { font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 1.2px; color: var(--teal); text-transform: uppercase; }
.oh-hero-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink);
  line-height: 1.15; margin-top: 5px; }
.oh-hero-sub { font-size: 12.5px; font-weight: 500; color: var(--mut); margin-top: 5px; }

.oh-member-hit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 2px;
  min-height: 44px; cursor: pointer; background: none; border: none; text-align: left; }
.oh-member-hit + .oh-member-hit { border-top: 1px solid var(--hair); }
.oh-member-hit .mh-n { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.oh-member-hit .mh-e { font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------------------
   6 · NIGHT OPS — now / next / run of show
   --------------------------------------------------------------------------- */
.no-slot-label { font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 1.3px; color: var(--mut); }
.no-slot-title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink);
  line-height: 1.2; margin-top: 5px; }
.no-slot-sub { font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 4px; }
.pc-progress { height: 6px; border-radius: 999px; background: var(--surf3); overflow: hidden; width: 100%; }
.pc-progress-fill { height: 100%; background: var(--teal); border-radius: 999px; transition: width .28s ease; }
.no-check {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 11px 2px; min-height: 48px; cursor: pointer;
  background: none; border: none; text-align: left;
}
.no-check + .no-check { border-top: 1px solid var(--hair); }
.pc-check-box {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid var(--line2); background: var(--surf2);
  display: inline-flex; align-items: center; justify-content: center; color: transparent;
  transition: transform .16s ease, background .16s, border-color .16s, color .16s;
}
.no-check.on .pc-check-box { background: var(--tealSoft); border-color: var(--teal); color: var(--teal); transform: scale(1.06); }
.no-check .nc-mid { flex: 1 1 0; min-width: 0; }
.no-check .nc-t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.no-check.on .nc-t { color: var(--mut); }
.no-check .nc-s { font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 2px; }
.no-check .nc-r { flex: none; font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 10.5px; color: var(--dim); letter-spacing: 0.3px; }
.no-check.on .nc-r { color: var(--ok); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.no-foot { font-size: 11.5px; font-weight: 500; color: var(--mut); line-height: 1.5; padding: 0 2px; }

/* ---------------------------------------------------------------------------
   7 · MOD BOARD — who runs today
   --------------------------------------------------------------------------- */
.mod-hero { display: flex; gap: 13px; align-items: center; }
.mod-hero .mh-mid { flex: 1 1 0; min-width: 0; }
.mod-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.mod-why { font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 5px; line-height: 1.45; }
.mod-chain-row { display: flex; gap: 11px; align-items: center; width: 100%; min-width: 0; }
.mod-chain-row .mc-mid { flex: 1 1 0; min-width: 0; }
.mod-chain-row .mc-n { font-size: 13.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-chain-row .mc-r { font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 2px; }
.mod-foot { font-size: 11.5px; font-weight: 500; color: var(--mut); line-height: 1.5; padding: 0 2px; }

/* ---------------------------------------------------------------------------
   8 · VIEW AS — the picker and the app-level banner
   --------------------------------------------------------------------------- */
.va-row { display: flex; gap: 11px; align-items: center; width: 100%; min-width: 0; }
.va-row .va-mid { flex: 1 1 0; min-width: 0; }
.va-row .va-n { font-size: 13.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va-row .va-s { font-size: 11.5px; font-weight: 500; color: var(--mut); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va-row .va-s .on-floor { color: var(--ok); }
.va-btn { flex: none; display: inline-flex; align-items: center; gap: 5px;
  min-height: 36px; padding: 7px 13px; border-radius: 999px;
  background: var(--surf3); border: 1px solid var(--line2); color: var(--ink);
  font-size: 12px; font-weight: 600; cursor: pointer; }
.va-btn.exit { background: var(--warnSoft); border-color: var(--amberStroke); color: var(--warn); }
.va-foot { display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; font-weight: 500;
  color: var(--mut); line-height: 1.5; padding: 0 2px; }
.va-foot svg { color: var(--dim); flex-shrink: 0; margin-top: 2px; }

/* The banner is APP-LEVEL: it is pinned above the scroll region for the whole
   duration of the overlay, and the picker deliberately renders no copy of it. */
.viewas-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; padding-top: calc(9px + env(safe-area-inset-top));
  background: var(--warnSoft); border-bottom: 1px solid var(--amberStroke);
  color: var(--warn); font-size: 12.5px; font-weight: 600;
}
.viewas-banner .vb-mid { flex: 1 1 0; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewas-banner .vb-mid .vb-sub { display: block; font-weight: 500; color: var(--mut); font-size: 11px; margin-top: 1px; }
.viewas-banner .vb-exit {
  flex: none; min-height: 32px; padding: 6px 12px; border-radius: 999px;
  background: transparent; border: 1px solid var(--amberStroke); color: var(--warn);
  font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.viewas-banner .vb-exit:hover { background: color-mix(in srgb, var(--warn) 9%, transparent); }

/* The Today pill — the web replacement for the push that wakes an iOS phone. */
.wk-today-pill-host:empty { display: none; }
.wk-today-pill {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 6px 12px; border-radius: 999px;
  background: var(--surf2); border: 1px solid var(--line); color: var(--ink2);
  font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.wk-today-pill svg { flex-shrink: 0; color: var(--dim); }
.wk-today-pill.unread { background: var(--violetSoft); border-color: var(--violetStroke); color: var(--ink); }
.wk-today-pill.unread svg { color: var(--violet2); }
.wk-today-pill .wk-unread { min-width: 20px; height: 20px; font-size: 10.5px; }
