/* ops.css — the office system.
 *
 * A tool that is scanned and operated rather than read, so the job is
 * information design: what needs attention has to be visible without reading
 * every row. State is carried by shape and colour as well as by words, and the
 * semantic colours (blocked, waiting, done) are deliberately not the brand
 * accent — otherwise "important" and "ours" look the same. */

:root {
  --pine: #12312f;
  --ink: #11201e;
  --ink-2: #3d4e4a;
  --ink-3: #6b7c77;
  --paper: #f3f6f2;
  --surface: #ffffff;
  --rule: #d2dbd4;
  --rule-soft: #e6ebe6;

  /* Semantic, and only semantic. */
  --ready: #2f7d64;
  --ready-wash: #e4f0ea;
  --waiting: #9c6a16;
  --waiting-wash: #f8f0e0;
  --blocked: #a0432f;
  --blocked-wash: #f8e9e5;
  --done: #6b7c77;
  --done-wash: #eceeec;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.booting { padding: 48px; color: var(--ink-3); }

/* --- sign in ------------------------------------------------------------ */

.signin-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.signin {
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px;
}
.signin h1 { font-size: 20px; margin: 0 0 2px; letter-spacing: -0.01em; }
.signin .sub { color: var(--ink-3); font-size: 13px; margin: 0 0 20px; }
.signin label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 5px; }
.signin input {
  width: 100%;
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
}
.signin input:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; }
.signin button {
  width: 100%;
  margin-top: 20px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--pine);
  border: 0;
  border-radius: 4px;
  padding: 10px;
  cursor: pointer;
}
.signin button:disabled { opacity: 0.55; cursor: default; }

.error {
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--blocked-wash);
  border-left: 3px solid var(--blocked);
  border-radius: 0 3px 3px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* --- shell -------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 52px;
  background: var(--pine);
  color: #fff;
}
.topbar .brand { font-weight: 700; letter-spacing: -0.01em; }
.topbar .spacer { flex: 1; }
.topbar .who { font-size: 13px; opacity: 0.85; }
.topbar button {
  font: inherit;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 4px;
  padding: 5px 11px;
  cursor: pointer;
}

main { padding: 22px 20px 60px; max-width: 1180px; margin: 0 auto; }

/* --- the summary, before the detail ------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 13px 15px;
}
.tile .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tile .v {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.tile.ready .v { color: var(--ready); }
.tile.blocked .v { color: var(--blocked); }

/* --- the list ----------------------------------------------------------- */

h2 { font-size: 15px; margin: 30px 0 10px; letter-spacing: -0.005em; }
h2 .count { color: var(--ink-3); font-weight: 400; }

.jobs { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; }

.job {
  display: grid;
  grid-template-columns: 1fr 190px 120px;
  gap: 16px;
  align-items: start;
  background: var(--surface);
  padding: 12px 15px;
  border-left: 3px solid transparent;
}
.job.is-ready { border-left-color: var(--ready); }
.job.is-blocked { border-left-color: var(--blocked); }
.job.is-done { border-left-color: transparent; opacity: 0.72; }

.job .who { font-weight: 600; }
.job .meta { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; font-variant-numeric: tabular-nums; }
.job .why { font-size: 13px; color: var(--ink-2); margin-top: 5px; }
.job .why ul { margin: 3px 0 0; padding-left: 16px; }
.job .why li { margin: 1px 0; }

.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.ready { background: var(--ready-wash); color: var(--ready); }
.pill.waiting { background: var(--waiting-wash); color: var(--waiting); }
.pill.blocked { background: var(--blocked-wash); color: var(--blocked); }
.pill.done { background: var(--done-wash); color: var(--done); }

.job .money { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.empty {
  background: var(--surface);
  border: 1px dashed var(--rule);
  border-radius: 5px;
  padding: 34px 20px;
  text-align: center;
  color: var(--ink-3);
}
.empty strong { display: block; color: var(--ink-2); margin-bottom: 4px; }

@media (max-width: 720px) {
  .job { grid-template-columns: 1fr; gap: 6px; }
  .job .money { text-align: left; }
}

/* --- the job page ------------------------------------------------------- */

.back { display: inline-block; font-size: 13px; color: var(--ink-3); text-decoration: none; margin-bottom: 14px; }
.back:hover { color: var(--pine); }

a.job-link { color: inherit; text-decoration: none; display: block; }
a.job-link:hover .job { background: #fafcfa; }
a.job-link:focus-visible { outline: 2px solid var(--pine); outline-offset: -2px; }

.jobhead { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: flex-start; justify-content: space-between; }
.jobhead h1 { font-size: 24px; margin: 0; letter-spacing: -0.015em; }
.jobhead .meta { font-size: 13px; color: var(--ink-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.jobhead .now { text-align: right; }
.jobhead .now .waiting { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; max-width: 34ch; }

.integrity { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.integrity.broken {
  font-size: 14px;
  color: var(--ink);
  background: var(--blocked-wash);
  border-left: 3px solid var(--blocked);
  padding: 10px 12px;
  border-radius: 0 3px 3px 0;
}

.cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 14px 16px; }
.card + .card { margin-top: 16px; }
.card h3 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 10px;
}

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; padding: 7px 0; border-top: 1px solid var(--rule-soft); }
.timeline li:first-child { border-top: 0; }
.timeline .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; border: 2px solid var(--rule); background: #fff; }
.timeline li.done .dot { background: var(--ready); border-color: var(--ready); }
.timeline li.now .dot { border-color: var(--pine); }
.timeline li.stuck .dot { border-color: var(--blocked); background: var(--blocked-wash); }
.timeline .label { font-weight: 600; font-size: 14px; }
.timeline li.done .label { font-weight: 500; color: var(--ink-2); }
.timeline .note { font-size: 12.5px; color: var(--ink-3); }
.timeline li.stuck .note { color: var(--blocked); }
.timeline .when { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--ink-3); }
dl.kv dd { margin: 0; font-variant-numeric: tabular-nums; }

table.scope { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.scope th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); padding: 0 8px 6px 0; border-bottom: 1px solid var(--rule);
}
table.scope td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
table.scope td.num, table.scope th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scope-wrap { overflow-x: auto; }
.source { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

.muted-empty { font-size: 13.5px; color: var(--ink-3); }

.history { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.history li { padding: 7px 0; border-top: 1px solid var(--rule-soft); }
.history li:first-child { border-top: 0; }
.history .when { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.history .what { color: var(--ink-3); font-size: 12.5px; }

.notfound { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 30px; text-align: center; }

/* --- recording dates ---------------------------------------------------- */

.record .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.record label { display: block; font-size: 12.5px; font-weight: 600; margin: 0 0 4px; }
.record input { width: 100%; font: inherit; font-size: 14px; padding: 7px 9px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; }
.record input:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; }
.record .reason { margin-top: 10px; }
.record .actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.record button {
  font: inherit; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--pine);
  border: 0; border-radius: 4px; padding: 7px 14px; cursor: pointer;
}
.record button:disabled { opacity: 0.55; cursor: default; }
.record .hint { font-size: 12.5px; color: var(--ink-3); }
.record .saved { font-size: 13px; color: var(--ready); }
.record .error { margin-top: 10px; }

/* --- navigation and the commission queue -------------------------------- */

.topbar nav { display: flex; gap: 4px; margin-left: 18px; }
.topbar nav a {
  color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 13.5px;
  padding: 6px 10px; border-radius: 4px;
}
.topbar nav a:hover { color: #fff; }
.topbar nav a.on { color: #fff; background: rgba(255, 255, 255, 0.14); }

.comm { display: grid; grid-template-columns: minmax(0, 1fr) 150px 190px; gap: 16px; align-items: start; }
@media (max-width: 860px) { .comm { grid-template-columns: 1fr; } }
.comm .figs { font-variant-numeric: tabular-nums; font-size: 13.5px; text-align: right; }
.comm .figs .big { font-size: 16px; font-weight: 650; }
.comm .figs .sub { color: var(--ink-3); font-size: 12.5px; }
.comm .notes { margin-top: 6px; font-size: 13px; }
.comm .flag { color: var(--blocked); }
.comm .changed { color: var(--waiting); }
.comm .decided { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

.decide input { width: 100%; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 4px; margin-bottom: 6px; }
.decide .buttons { display: flex; gap: 6px; }
.decide button { flex: 1; font: inherit; font-size: 13px; font-weight: 600; border: 0; border-radius: 4px; padding: 6px 8px; cursor: pointer; }
.decide .approve { background: var(--ready); color: #fff; }
.decide .reject { background: var(--surface); color: var(--blocked); border: 1px solid var(--blocked); }
.decide .err { font-size: 12.5px; color: var(--blocked); margin-top: 6px; }
.under { color: var(--blocked); }
.over { color: var(--ready); }

/* --- the statement ------------------------------------------------------ */

.picker { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 18px; }
.picker label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.picker select { font: inherit; font-size: 14px; padding: 7px 9px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; min-width: 200px; }
.picker button { font: inherit; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--pine); border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer; }

/* Paper, not app chrome — the same rule as the customer's contract. */
.paper { background: #fff; border: 1px solid var(--rule); border-radius: 3px; padding: 34px 38px; max-width: 900px; }
.paper .letterhead { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--pine); padding-bottom: 12px; }
.paper .co { font-weight: 700; font-size: 16px; }
.paper h1 { font-size: 22px; margin: 18px 0 2px; letter-spacing: -0.01em; }
.paper .for { color: var(--ink-2); font-size: 14px; }
.paper table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 18px; }
.paper th { text-align: left; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink); padding: 0 8px 6px 0; }
.paper td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; font-variant-numeric: tabular-nums; }
.paper .num { text-align: right; }
.paper tr.held td { color: var(--ink-3); }
.paper tr.held .amt::after { content: ' held'; font-size: 11px; }
.paper .totals { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; justify-content: end; max-width: 360px; margin-left: auto; font-variant-numeric: tabular-nums; }
.paper .totals .grand { font-weight: 700; font-size: 16px; border-top: 1px solid var(--ink); padding-top: 6px; }
.paper .fine { margin-top: 22px; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.paper .provisional { border: 1px solid var(--blocked); color: var(--blocked); background: var(--blocked-wash); padding: 8px 10px; font-size: 12.5px; margin-top: 14px; }

@page { margin: 0.6in; }

@media print {
  body { background: #fff; }
  .topbar, .picker, .no-print { display: none !important; }
  main { padding: 0; max-width: none; }
  .paper { border: 0; padding: 0; max-width: none; }
}

/* Forgot password, on the sign-in form. */
.signin .link { background: none; border: 0; padding: 6px 0 0; margin-top: 4px; color: var(--pine, #1f4d43);
                font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; width: auto; }
.signin .note { font-size: 14px; margin-top: 10px; color: #a2342a; min-height: 0; }
.signin .note.ok { color: #1d6b52; }

/* --- the calendar (C.5) ------------------------------------------------- */
/* The kind of appointment is identity, not state, so it gets its own quiet
 * hues and never the semantic ones. "Not ready" is state, and is the only red
 * on a card. */

:root {
  --k-consultation: #3b6c9e;
  --k-remeasure: #6f5aa0;
  --k-installation: #1f5c52;
  --k-inspection: #56656c;
  --k-event: #a4527b;
}

.calbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.calbar .nav { display: flex; align-items: center; gap: 6px; }
.calbar h1 { font-size: 20px; margin: 0 0 0 8px; letter-spacing: -0.015em; }
.calbar .tools { display: flex; align-items: center; gap: 12px; }
.calbar .summary { font-size: 13px; color: var(--ink-3); }
.bad { color: var(--blocked); font-weight: 600; }

.btn, button.primary, .bookrow button, .sheet .quiet, .sheet .danger {
  font: inherit; font-size: 13.5px; font-weight: 600; border-radius: 4px; padding: 6px 12px; cursor: pointer;
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.btn { color: var(--ink); background: var(--surface); border: 1px solid var(--rule); }
.btn:hover { border-color: var(--ink-3); }
button.primary { color: #fff; background: var(--pine); border: 1px solid var(--pine); }
button.primary:disabled { opacity: 0.55; cursor: default; }
.btn:focus-visible, button:focus-visible, .chip:focus-within { outline: 2px solid var(--pine); outline-offset: 1px; }

.calfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px 4px 8px; cursor: pointer;
}
.chip input { margin: 0; accent-color: var(--pine); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kind, var(--ink-3)); }
.calfilters select { font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; margin-left: 6px; }

.k-consultation { --kind: var(--k-consultation); }
.k-remeasure { --kind: var(--k-remeasure); }
.k-installation { --kind: var(--k-installation); }
.k-inspection { --kind: var(--k-inspection); }
.k-event { --kind: var(--k-event); }

.week {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 5px; overflow: hidden;
}
.day { background: var(--surface); min-height: 180px; display: flex; flex-direction: column; min-width: 0; }
.day header { display: flex; align-items: baseline; gap: 6px; padding: 8px 9px 6px; border-bottom: 1px solid var(--rule-soft); }
.day .dow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.day .dom { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.day .units { margin-left: auto; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.day.today header { background: var(--ready-wash); }
.day.today .dom { color: var(--pine); }
.day .stack { display: flex; flex-direction: column; gap: 6px; padding: 7px; }
.day .none { color: var(--rule); font-size: 13px; padding: 2px 3px; }

.appt {
  display: flex; flex-direction: column; gap: 1px; text-align: left; width: 100%;
  font: inherit; color: var(--ink); background: #fff; cursor: pointer;
  border: 1px solid var(--rule); border-left: 3px solid var(--kind); border-radius: 4px; padding: 6px 7px;
}
.appt:hover { border-color: var(--ink-3); border-left-color: var(--kind); }
.appt .when { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.appt .title { font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.appt .meta { font-size: 11.5px; color: var(--kind); font-weight: 600; }
.appt .people { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.appt .warn { font-size: 11.5px; color: var(--blocked); background: var(--blocked-wash); border-radius: 3px; padding: 2px 5px; margin-top: 3px; line-height: 1.35; }
.appt.not-ready { border-color: var(--blocked-wash); border-left-color: var(--kind); }

@media (max-width: 900px) {
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .day .none { display: none; }
}

/* The sheet: one appointment, booked or changed. */
.sheet { border: 0; border-radius: 8px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: 0 10px 40px rgba(17, 32, 30, 0.25); color: var(--ink); }
.sheet::backdrop { background: rgba(17, 32, 30, 0.35); }
.sheet-body { padding: 16px 18px 18px; }
.sheet header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sheet h2 { margin: 0; font-size: 18px; }
.sheet .x { font: inherit; font-size: 22px; line-height: 1; background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 2px 6px; }
.sheet .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.sheet .grid .full { grid-column: 1 / -1; }
.sheet label, .sheet legend { display: block; font-size: 12.5px; font-weight: 600; margin: 0 0 4px; }
.sheet input:not([type="checkbox"]), .sheet select, .sheet textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 7px 9px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink);
}
.sheet input:disabled, .sheet select:disabled, .sheet textarea:disabled { background: var(--paper); color: var(--ink-2); }
.sheet .for-job { margin-top: 10px; }
.sheet .fixed { font-weight: 600; color: var(--kind, var(--ink)); }
.sheet .checks { display: flex; gap: 18px; }
.sheet .checks label, .sheet .people label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; margin: 0 14px 4px 0; }
.sheet fieldset { border: 0; padding: 0; margin: 0; }
.sheet .move { background: var(--waiting-wash); border-radius: 4px; padding: 10px; display: grid; gap: 6px; }
.sheet .actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.sheet .quiet { background: none; border: 1px solid var(--rule); color: var(--ink-2); }
.sheet .danger { color: var(--blocked); background: var(--surface); border: 1px solid var(--blocked); }
.sheet .cancelbox { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: end; margin-top: 10px; }
.sheet .cancelbox label { grid-column: 1 / -1; }
.sheet .history { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 6px; }
.notready { margin: 0 0 12px; padding: 10px 12px; background: var(--blocked-wash); border-left: 3px solid var(--blocked); border-radius: 0 3px 3px 0; font-size: 13.5px; }
.notready ul { margin: 4px 0 8px; padding-left: 18px; }
#sh_problems .notready { margin-top: 12px; }
.sheet [hidden] { display: none !important; }

/* On a job's page. */
.appts { list-style: none; margin: 0; padding: 0; }
.appts li + li { border-top: 1px solid var(--rule-soft); }
.appt-row {
  display: grid; grid-template-columns: 9.5em 1fr auto; gap: 10px; width: 100%; text-align: left; font: inherit; font-size: 13.5px;
  background: none; border: 0; border-left: 3px solid var(--kind); padding: 7px 8px; cursor: pointer; color: var(--ink);
}
.appt-row:hover { background: #fafcfa; }
.appt-row .what { font-weight: 600; }
.appt-row .when { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.appt-row .state { font-size: 12.5px; color: var(--ready); }
.appts li.cancelled .appt-row { opacity: 0.6; }
.appts li.cancelled .appt-row .state { color: var(--ink-3); }
.bookrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bookrow button { color: var(--pine); background: var(--surface); border: 1px solid var(--rule); font-size: 13px; padding: 5px 10px; }
.bookrow button:hover { border-color: var(--pine); }
