@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════
   PROJECT: app_dashboard_stone
   blueprint_page_approve.html — GUI blueprint for page_approve.rs
   Same token set as app_register_stone — one system, two faces.
   Sections in app flow: tokens → bar → filters → roster → row → states
   ═══════════════════════════════════════════════════════════ */
:root {
  --paper:#F7F6F3;
  --card:#FFFFFF;
  --ink:#14312C;
  --ink-soft:#5A6F6A;
  --line:#2F6B5E;
  --line-dim:#C9D6D2;
  --brass:#A8682C;
  --rule:#DFDBD2;
  --alert:#8C2F2F;
  --wait:#A8682C;
  --live:#2F6B5E;
  --off:#8A8A8A;
  --fs-display:clamp(1.5rem,5vw,1.875rem);
  --fs-small:.8125rem;
  --sans:system-ui,-apple-system,"Segoe UI","PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;
  --tap:44px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.wrap {
  max-width: 600px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

/* ── brand · OTVERSE (logo.png is the mark; the wordmark echoes it) ── */
.brand-mark {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 1px 2px rgba(20, 49, 44, 0.08), 0 12px 32px -8px rgba(20, 49, 44, 0.28);
}

.brand-mark.sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(20, 49, 44, 0.1), 0 4px 12px -4px rgba(20, 49, 44, 0.3);
}

.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 28px 0 34px;
  animation: brand-in 0.5s ease-out both;
}

.brand-sub {
  font-family: var(--mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.brandbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--rule);
}

.brand-name {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  font-weight: 300;
  color: var(--ink);
}

.brand-name b {
  font-weight: 800;
}

.brandbar .brand-sub {
  margin-left: auto;
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-hero {
    animation: none;
  }
}
h1 {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

/* ── the GATE · login (state, never a route) ───────────────── */
.gate {
  max-width: 400px;
  margin: 0 auto;
}

.lede {
  color: var(--ink-soft);
  margin: 0 0 26px;
  max-width: 40ch;
}

label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  margin: 0 0 6px;
}

input {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  margin-bottom: 16px;
  transition: border-color 0.18s;
}

input:focus {
  outline: none;
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(47, 107, 94, 0.16);
}

.gate button {
  width: 100%;
  min-height: var(--tap);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 650;
  color: #fff;
  background: var(--line);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.gate button:disabled {
  background: #B6C4C0;
  cursor: not-allowed;
}

.gate button:not(:disabled):hover {
  background: #255A4E;
}

.gate button:not(:disabled):active {
  transform: translateY(1px);
}

.msg {
  color: var(--alert);
  font-size: var(--fs-small);
  font-weight: 500;
  margin: 0 0 14px;
  min-height: 1.2em;
}

.msg.show {
  padding: 10px 12px;
  background: #FBF2F2;
  border: 1px solid #E4CACA;
  border-radius: 9px;
}

/* ── identity bar ──────────────────────────────────────────── */
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 11px 13px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: var(--fs-small);
}

.who {
  font-weight: 650;
}

.chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #EEF3F1;
  color: var(--line);
}

.bar .out {
  margin-left: auto;
  padding: 5px 12px;
  font-size: var(--fs-small);
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
}

.bar .out:hover {
  background: #F0EFEB;
  color: var(--ink);
}

/* ── filters — status is the axis, so it is the navigation ─── */
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s;
}

.tab:hover {
  border-color: var(--line-dim);
}

.tab.sel {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tab .n {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.75;
}

.tab.sel .n {
  opacity: 0.9;
}

.tab .spin {
  display: inline-block;
  margin-left: 5px;
  opacity: 0.5;
}

.tab.sel .spin {
  opacity: 0.85;
}

.tab.busy .spin {
  opacity: 1;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ── roster row ────────────────────────────────────────────── */
.row {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--off);
  border-radius: 0 12px 12px 0;
  padding: 14px;
  margin-bottom: 10px;
  animation: rise 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.row[data-s=pending] {
  border-left-color: var(--wait);
}

.row[data-s=active] {
  border-left-color: var(--live);
}

.row[data-s=suspended] {
  border-left-color: var(--off);
  opacity: 0.78;
}

.top {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}

.mail {
  font-weight: 650;
  word-break: break-all;
}

.state {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.state.pending {
  background: #FBF1E6;
  color: var(--wait);
}

.state.active {
  background: #EAF2EF;
  color: var(--live);
}

.state.suspended {
  background: #EFEFEF;
  color: var(--off);
}

.kill {
  background: transparent;
  color: var(--alert);
  border: 1px solid #E4CACA !important;
}

.kill:hover {
  background: #FBF2F2;
}

.confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 11px 12px;
  margin-top: 10px;
  background: #FBF2F2;
  border: 1px solid #E4CACA;
  border-radius: 9px;
  font-size: 12px;
  color: var(--alert);
}

.confirm b {
  font-weight: 700;
}

.confirm .sp {
  flex: 1 1 auto;
}

.confirm button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  border: none;
}

.confirm .go {
  background: var(--alert);
  color: #fff;
}

.confirm .no {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}

.meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  word-break: break-all;
}

.meta b {
  color: var(--ink);
  font-weight: 600;
}

.acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.acts button {
  min-height: var(--tap);
  padding: 0 15px;
  border-radius: 9px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 650;
  cursor: pointer;
  border: none;
  transition: background 0.18s, transform 0.1s;
}

.acts button:active {
  transform: translateY(1px);
}

.acts button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

.yes {
  background: var(--brass);
  color: #fff;
}

.yes:hover {
  background: #8E5623;
}

.back {
  background: var(--line);
  color: #fff;
}

.back:hover {
  background: #255A4E;
}

.warn {
  background: transparent;
  color: var(--alert);
  border: 1px solid var(--rule) !important;
}

.warn:hover {
  background: #FBF2F2;
}

.ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule) !important;
}

.ghost:hover {
  background: #F0EFEB;
  color: var(--ink);
}

.acts button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.acts button:disabled:hover {
  background: transparent;
}

.guard {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 9px 0 0;
  padding-left: 11px;
  border-left: 2px solid var(--rule);
}

/* ── empty — an invitation, not a shrug ────────────────────── */
.empty {
  border: 1.5px dashed var(--line-dim);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  color: var(--ink-soft);
}

.empty strong {
  display: block;
  color: var(--ink);
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.empty code {
  font-family: var(--mono);
  font-size: 12px;
  background: #EEF3F1;
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--line);
}

/* ═══════════════════════════════════════════════════════════
   店家設定 · page_shop.rs — EVERY VALUE HERE BECOMES SPEECH
   ★ Why this section exists at all: unstyled, a <button> looks identical
     selected or not. First live session, the operator un-ticked 現金 and
     信用卡 without seeing it — one save away from telling every caller the
     shop takes no cash. Selected-state contrast is not polish here, it is
     the confirmation that a click landed.
   ★ .pick, NOT .chip — .chip is the read-only badge in the identity bar.
     A badge and a toggle must never share a selector.
   ═══════════════════════════════════════════════════════════ */
/* ── screen switch — a screen, not a route ─────────────────── */
.nav {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.navb {
  flex: none;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.navb:hover {
  border-color: var(--line-dim);
}

.navb.sel {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── the shop screen needs room for the readback column ────── */
.wrap.wide {
  max-width: 1000px;
}

/* ⚠️★ THE LAST FEW PIXELS WERE THE SCROLLBAR (`260831`). With the frame fixed, the nav still
   drifted "a little bit": a centred layout re-centres by half the scrollbar width whenever a
   page is short enough not to scroll, and 帳號管理 is short while 熱門主題 is long. Reserve the
   gutter always, so the axis never moves. */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

/* ★ the chrome keeps one width so the nav never slides sideways between screens; only the
   panel under it narrows for 帳號管理, which was the one screen that wanted 600px. */
.panel {
  max-width: 1000px;
}

.panel.narrow {
  max-width: 600px;
}

/* ⚠️ and the nav itself must not re-flow when a label changes width: fixed row, no wrapping
   surprises, so a button is in the same place after a click as before it. */
.nav-fixed {
  flex-wrap: wrap;
  row-gap: 6px;
  align-items: center;
  min-height: 38px;
}

.shop-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .shop-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
  .readback {
    position: sticky;
    top: 20px;
  }
}
.shop-main section {
  margin: 0 0 26px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.sec-head h2 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sec-note {
  font-size: 12px;
  color: var(--ink-soft);
}

.hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin: -4px 0 12px;
}

/* ⚠️ the global `input` rule is width:100% + margin-bottom:16px — right for
   the login form, wrong in a grid and a table. Scope it back here. */
.shop-main input {
  margin-bottom: 0;
  padding: 8px 10px;
  font-size: 15px;
  border-radius: 8px;
}

/* ── hours ─────────────────────────────────────────────────── */
.hours {
  display: grid;
  grid-template-columns: 52px 1fr 1fr 76px;
  gap: 6px;
  align-items: center;
}

.hours .hd {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hours .day {
  font-weight: 650;
  font-size: var(--fs-small);
}

.hours .off input {
  opacity: 0.35;
}

.hours input {
  font-family: var(--mono);
}

.tog {
  min-height: 38px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--live);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  transition: all 0.16s;
}

.tog.shut {
  background: #EFEFEF;
  border-color: var(--rule);
  color: var(--off);
}

.tog:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* ── notice ────────────────────────────────────────────────── */
.notice-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.notice-row select {
  min-height: var(--tap);
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
}

.notice-row input {
  flex: 1 1 240px;
}

/* ── the toggles ───────────────────────────────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pick {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all 0.16s;
  position: relative;
}

.pick:hover {
  border-color: var(--line-dim);
  background: #F0EFEB;
}

.pick:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* ★ selected is the LOUD state: filled, dark, and prefixed with a tick. Two
   signals, not one — colour alone fails for the colour-blind operator, and
   this control's whole job is being unmistakably on or off. */
.pick.on {
  background: var(--line);
  border-color: var(--line);
  color: #fff;
  font-weight: 650;
}

.pick.on::before {
  content: "✓ ";
  font-weight: 700;
}

.pick.on:hover {
  background: #255A4E;
}

/* ── price table ───────────────────────────────────────────── */
.shop-main table {
  border-collapse: collapse;
  width: 100%;
}

.shop-main th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0 8px 6px 0;
  border-bottom: 1px solid var(--rule);
}

.shop-main td {
  padding: 5px 8px 5px 0;
  border-bottom: 1px solid var(--rule);
}

.shop-main td:nth-child(2), .shop-main td:nth-child(3) {
  width: 104px;
}

.shop-main td:last-child {
  width: 34px;
  padding-right: 0;
}

.del {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  padding: 4px 7px;
  border-radius: 6px;
}

.del:hover {
  color: var(--alert);
  background: #FBF2F2;
}

.add {
  margin-top: 11px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  cursor: pointer;
  border: 1.5px dashed var(--line-dim);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
}

.add:hover {
  border-color: var(--line);
  color: var(--line);
}

/* ── the readback — an independent witness to the state ────── */
.readback {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 15px;
}

.readback h3 {
  margin: 0 0 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
}

.readback > p {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--ink-soft);
}

.say {
  border-left: 2px solid var(--brass);
  padding: 7px 0 7px 11px;
  margin-bottom: 11px;
  font-size: var(--fs-small);
}

.say .q {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.say .a {
  display: block;
}

/* ── save bar ──────────────────────────────────────────────── */
.savebar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 11px 14px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

.save {
  margin-left: auto;
  min-height: var(--tap);
  padding: 0 22px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  background: var(--brass);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  transition: background 0.18s;
}

.save:not(:disabled):hover {
  background: #8E5623;
}

.save:disabled {
  background: #C9C4BC;
  cursor: not-allowed;
}

.save:focus-visible {
  outline: 3px solid var(--line);
  outline-offset: 2px;
}

/* ── 通話紀錄 · page_calls.rs ───────────────────────────────── */
.calls-wrap {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 820px) {
  .calls-wrap {
    grid-template-columns: 1fr;
  }
}
.calls-list {
  max-height: 70vh;
  overflow: auto;
}

.daygroup {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 14px 0 6px;
  text-transform: uppercase;
}

.call {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--live);
  border-radius: 0 12px 12px 0;
  padding: 10px 12px;
  margin-bottom: 7px;
  cursor: pointer;
  transition: border-color 0.16s;
}

.call:hover {
  border-color: var(--line-dim);
  border-left-color: var(--brass);
}

.call.sel {
  border-color: var(--ink);
  border-left-color: var(--brass);
  background: #FCFDFC;
}

.call .t {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  flex: none;
  width: 42px;
}

.call .mid {
  flex: 1;
  min-width: 0;
}

.call .peer {
  font-weight: 650;
  font-size: var(--fs-small);
}

.call .snip {
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.call .dur {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  flex: none;
}

.call .badge {
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #EAF2EF;
  color: var(--live);
}

.tbar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: var(--fs-small);
}

.tbar .peer {
  font-weight: 650;
}

.tbar .at {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.playall {
  margin-left: auto;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  color: var(--line);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.playall:hover {
  border-color: var(--line);
}

.calls-detail .line {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 7px;
}

.calls-detail .line.caller {
  border-left: 3px solid var(--brass);
  border-radius: 0 12px 12px 0;
}

.calls-detail .line.op {
  border-left: 3px solid var(--line);
  border-radius: 0 12px 12px 0;
  background: #FCFDFC;
}

.calls-detail .hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.calls-detail .spk {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
}

.calls-detail .spk.caller {
  background: #FBF1E6;
  color: var(--brass);
}

.calls-detail .spk.op {
  background: #EAF2EF;
  color: var(--line);
}

.calls-detail .at {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
}

.calls-detail .txt {
  font-size: 16px;
  line-height: 1.75;
}

.calls-detail .play {
  margin-left: auto;
  min-width: 30px;
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--line);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.calls-detail .play:hover, .calls-detail .play.on {
  background: var(--line);
  border-color: var(--line);
  color: #fff;
}

.noaudio {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 640px) {
  body {
    padding-top: 48px;
  }
}
/* ── 公司說明 page picker (`260829`) ─────────────────────────────────────
   The operator chooses which crawled pages P carries. Cost is shown on every
   row because cost and value are unrelated: a 390-character 主管簡介 answers
   「你們處長是誰」, a 7,620-character 宣導事項 answers nothing anyone asks. */
.picker {
  margin-top: 14px;
}

.picker .tip {
  margin: 6px 0 10px;
}

.pagelist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.pagelist .prow {
  border-bottom: 1px solid var(--rule);
}

.pagelist .prow:last-child {
  border-bottom: none;
}

.pagelist .prow label {
  display: grid;
  grid-template-columns: 22px 82px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 12px;
  cursor: pointer;
}

.pagelist .prow.on {
  background: var(--card);
}

/* ★ shown, not hidden: a nav shell the crawl reached and rejected is information */
.pagelist .prow.muted {
  opacity: 0.5;
}

.pagelist .prow.muted label {
  cursor: default;
}

.pagelist .cost {
  font-variant-numeric: tabular-nums;
  text-align: right;
  opacity: 0.75;
  font-size: 0.9em;
}

.pagelist .ptitle {
  font-weight: 600;
}

.pagelist .purl {
  grid-column: 3;
  font-size: 0.8em;
  opacity: 0.55;
  word-break: break-all;
}

.picker .sec-note.warn {
  color: var(--bad, #c0392b);
  font-weight: 600;
}
