/* Stingray Bookkeeping, owner screen: the BOOKS piece (pass 3, PC 1; review fixes Oct 16 2026, late).
   Look A, "Aurora glass" (pictures E2, E2 phone, F2, G2 in portal\design\chatgpt-pass5).

   How it fits into owner.html (INTEGRATION-CONTRACT.md 1.3, 1.4 and 2.3, PC 2's decision of Oct 16 ~11 PM):
     - loaded LAST, after fonts.css, portal.css, owner.css, ask-sidebar.css and owner-aurora.css
     - every selector starts with .ob-root (the piece's own element); nothing here styles html, body, :root or a
       shared class on its own, so the owner screen is never changed by this file
     - no color, font name, radius or shadow of its own: every one is a Look A token of portal.css /
       owner-aurora.css, or an --ob-* name below that is an ALIAS of one. So the piece follows the four looks
       (aurora, nightsky, engraved-dark, engraved-cream) exactly as the rest of the owner screen does
     - it uses the shared kit inside the "Books" panel: .box, .tag (.good .warn), .btn .btn-main .btn-second,
       .back-row, .notice, .sr (KIT.md); the main teal button is .btn-main (--btn1-*), never a typed teal
     - the focus ring is portal.css's own (:focus-visible), never restyled here
   Text: 18px or more up to 699px wide, 16px or more above. Every press 48px or taller, with words on it.
   Layout follows the room the piece really has (container queries on .ob-root), not the window width: inside
   owner.html the menu and the Ask Claude panel take part of the window. The text sizes follow the window
   (699px, as measure.mjs and the kit do). Movement only when the person has not asked for less. */

/* ==========================================================================
   1  THE NAMES: aliases of the Look A tokens, nothing typed
   ========================================================================== */
.ob-root {
  --ob-ink: var(--ink);
  --ob-soft: var(--soft);
  --ob-quiet: var(--quiet);
  --ob-rule: var(--rule);
  --ob-line: var(--line);
  --ob-accent: var(--accent);          /* gold words and the gold "Needs me" dot */
  --ob-gold-line: var(--btn2-line);    /* gold lines (look A); the second-button line in the other looks */
  --ob-on: var(--on);                  /* teal of look A: done marks, the ring, the current tab, word links */
  --ob-good: var(--good);
  --ob-good-bg: var(--good-bg);
  --ob-good-line: var(--good-line);
  --ob-warn: var(--warn);
  --ob-warn-bg: var(--warn-bg);
  --ob-warn-line: var(--warn-line);
  --ob-bad: var(--bad);
  --ob-bad-bg: var(--bad-bg);
  --ob-bad-line: var(--bad-line);
  --ob-box-bg: var(--box-bg);
  --ob-pop-bg: var(--pop-bg);
  --ob-shade: var(--shade);
  --ob-field-bg: var(--field-bg);
  --ob-field-ink: var(--field-ink);
  --ob-field-line: var(--field-line);
  --ob-radius: var(--panel-radius);
  --ob-btn-radius: var(--btn-radius);
  --ob-shadow: var(--panel-shadow);
  --ob-head: var(--font-head);         /* headings */
  --ob-fig: var(--font-fig);           /* big figures */
  --ob-sans: var(--font-ui);           /* everything else: the look's own text font (pass 3 run 1: look A is
                                         Source Serif 4 everywhere, so Books looks like the other tabs) */

  /* sizes (rem, so the size a person sets in the browser counts) */
  --ob-t-small: var(--text-quiet);     /* 18px: the smallest text the piece draws */
  --ob-t-body: var(--text-quiet);
  --ob-t-row: 1.1875rem;
  --ob-t-title: var(--h2-size);
  --ob-t-fig: 1.75rem;
  --ob-gap: var(--gap);

  container: ob / inline-size;
  display: block;
  min-width: 0;
  box-sizing: border-box;
  color: var(--ob-ink);
  font: 400 var(--ob-t-body)/1.5 var(--ob-sans);
  text-align: left;
  overflow-wrap: break-word;
}

@media (max-width: 699px) {
  .ob-root {
    --ob-t-row: 1.25rem;
    --ob-t-title: 1.625rem;
    --ob-t-fig: 1.5rem;
  }
}

/* ==========================================================================
   2  BASICS INSIDE THE PIECE
   ========================================================================== */
.ob-root *,
.ob-root *::before,
.ob-root *::after {
  box-sizing: border-box;
}

.ob-root .ob-ic {
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.ob-root .ob-nw {
  white-space: nowrap;
}

.ob-root .ob-p {
  margin: 0;
  font-size: var(--ob-t-body);
  line-height: 1.5;
}

.ob-root .ob-quiet {
  color: var(--ob-soft);
}

.ob-root .ob-bad {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ob-bad);
}

.ob-root .ob-bad .ob-ic {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.ob-root .ob-view {
  display: flex;
  flex-direction: column;
  gap: var(--ob-gap);
  min-width: 0;
}

.ob-root .ob-title {
  margin: 0;
  color: var(--ob-ink);
  font: var(--w-head) var(--ob-t-title)/1.15 var(--ob-head);
  letter-spacing: var(--h2-track, -.006em);
}

.ob-root .ob-h3 {
  margin: 0;
  color: var(--ob-ink);
  font: var(--w-head) 1.4375rem/1.25 var(--ob-head);
}

.ob-root .ob-h3-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ob-root .ob-ic-head {
  width: 28px;
  height: 28px;
  color: var(--ob-soft);
}

/* a box inside the "Books" panel (contract 2.3: no panel inside the panel) */
.ob-root .ob-box {
  min-width: 0;
}

.ob-root .ob-state,
.ob-root .ob-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* the shared buttons, with the piece's few size changes */
.ob-root .ob-btn {
  max-width: 100%;
}

.ob-root .ob-btn-wide {
  width: 100%;
}

.ob-root .ob-btn-big {
  min-height: 64px;
  font-size: 1.375rem;
}

/* a word link, 48px tall to press */
.ob-root .ob-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--ob-on);
  font: 600 var(--ob-t-small)/1.25 var(--ob-sans);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.ob-root .ob-link .ob-ic {
  width: 20px;
  height: 20px;
}

.ob-root .ob-link-big {
  font: var(--w-head) 1.375rem/1.25 var(--ob-head);
}

.ob-root .ob-back .ob-ic {
  width: 24px;
  height: 24px;
}

/* the gold "Needs me" dot (with words for screen readers next to it) */
.ob-root .ob-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ob-accent);
}

.ob-root .ob-dot-space {
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
}

/* status pills are the shared .tag; in progress and not started get their own quiet look from the tokens */
.ob-root .ob-status {
  white-space: nowrap;
}

.ob-root .tag.ob-st-on {
  border-color: color-mix(in srgb, var(--ob-on) 60%, transparent);
  background: color-mix(in srgb, var(--ob-on) 12%, transparent);
  color: var(--ob-on);
}

.ob-root .tag.ob-st-off {
  border-style: dashed;
  color: var(--ob-soft);
}

/* a Books label: a quiet outline with its icon, never filled (README-books fix 21) */
.ob-root .ob-label {
  font-weight: 500;
  white-space: nowrap;
}

.ob-root .ob-label .ob-ic {
  width: 22px;
  height: 22px;
  color: var(--ob-soft);
}

/* one short line after something was done ("Sample only. Nothing was sent.") */
.ob-root .ob-flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--ob-line);
  border-left: 4px solid var(--ob-on);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-box-bg);
}

.ob-root .ob-flash .ob-ic {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--ob-on);
}

.ob-root .ob-flash.is-bad {
  border-left-color: var(--ob-bad-line);
}

.ob-root .ob-flash.is-bad .ob-ic {
  color: var(--ob-bad);
}

/* ==========================================================================
   3  THE CLIENT LIST (picture E2 and E2 phone)
   ========================================================================== */
.ob-root .ob-sub {
  margin: 0;
  color: var(--ob-soft);
  font: var(--w-head) 1.375rem/1.25 var(--ob-head);
}

.ob-root .ob-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 16px;
}

.ob-root .ob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ob-root .ob-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  margin: 0;
  padding: 6px 16px;
  border: 1.5px solid var(--ob-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-box-bg);
  color: var(--ob-ink);
  font: 500 var(--ob-t-small)/1.2 var(--ob-sans);
  white-space: nowrap;
  cursor: pointer;
}

.ob-root .ob-chip .ob-n {
  margin-left: 4px;
  font-weight: 700;
}

.ob-root .ob-chip-dot .ob-dot {
  margin-right: 6px;
}

.ob-root .ob-chip:hover {
  border-color: var(--ob-ink);
}

.ob-root .ob-chip[aria-pressed="true"] {
  border-color: var(--btn1-line);
  background: var(--btn1-bg);
  box-shadow: var(--btn1-shadow);
  color: var(--btn1-ink);
}

.ob-root .ob-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ob-root .ob-sort-label {
  color: var(--ob-ink);
  font: 500 var(--ob-t-small)/1.2 var(--ob-sans);
  white-space: nowrap;
}

.ob-root .ob-select {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

.ob-root .ob-select select {
  -webkit-appearance: none;
  appearance: none;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 6px 44px 6px 14px;
  border: 1.5px solid var(--ob-field-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-field-bg);
  color: var(--ob-field-ink);
  font: 500 var(--ob-t-small)/1.2 var(--ob-sans);
  cursor: pointer;
}

.ob-root .ob-select-ic {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  color: var(--ob-field-ink);
  pointer-events: none;
}

/* ---- the table (a wide place) ---- */
.ob-root .ob-table-wrap {
  display: none;
}

.ob-root .ob-table {
  width: 100%;
  margin: -10px 0;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.ob-root .ob-th {
  padding: 4px 18px 0;
  color: var(--ob-soft);
  font: 600 var(--ob-t-small)/1.2 var(--ob-sans);
  text-align: left;
  white-space: nowrap;
}

.ob-root .ob-th:first-child {
  padding-left: 46px;
}

.ob-root .ob-td {
  padding: 14px 18px;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}

.ob-root .ob-row .ob-td:first-child {
  padding-left: 16px;
}

/* the whole row opens the company: the name link reaches over it (only the name is a Tab stop) */
.ob-root .ob-row,
.ob-root .ob-card {
  position: relative;
}

.ob-root .ob-co-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--ob-radius);
}

/* each row is one rounded box, drawn once behind the whole row (the cells keep no ground of their own) */
.ob-root .ob-row > .ob-td:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--ob-line);
  border-radius: var(--ob-radius);
  background: var(--ob-box-bg);
}

.ob-root .ob-row.ob-needs > .ob-td:first-child::before {
  border-left: 4px solid var(--ob-accent);
}

.ob-root .ob-row:hover > .ob-td:first-child::before {
  background: color-mix(in srgb, var(--ob-ink) 7%, var(--ob-box-bg));
}

.ob-root .ob-row:hover .ob-co-link,
.ob-root .ob-card:hover .ob-co-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.ob-root .ob-td-month {
  width: 36%;          /* pass 3 run 1: room for the step line, which may wrap now */
}

.ob-root .ob-month-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ob-root .ob-month-words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.ob-root .ob-chev {
  width: 26px;
  height: 26px;
  color: var(--ob-soft);
}

.ob-root .ob-co-in {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ob-root .ob-co-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ob-ink);
  font: var(--w-head) 1.5rem/1.2 var(--ob-head);
  text-decoration: none;
}

.ob-root .ob-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ob-soft);
  font: 400 var(--ob-t-body)/1.3 var(--ob-sans);
  white-space: nowrap;
}

.ob-root .ob-copy.is-bad {
  color: var(--ob-bad);
  font-weight: 600;
}

.ob-root .ob-copy .ob-ic {
  width: 22px;
  height: 22px;
}

/* the reason lines: the due date and what makes a row "Needs me" */
.ob-root .ob-why {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-root .ob-why li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ob-ink);
  font: 400 var(--ob-t-small)/1.35 var(--ob-sans);
}

.ob-root .ob-why li.is-bad {
  color: var(--ob-bad);
  font-weight: 600;
}

.ob-root .ob-why .ob-ic {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

/* ---- the cards (a narrow place: a phone, or owner.html with the Ask Claude panel open) ---- */
.ob-root .ob-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-root .ob-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 14px 12px;
  border: 1px solid var(--ob-line);
  border-radius: var(--ob-radius);
  background: var(--ob-box-bg);
}

.ob-root .ob-card.ob-needs {
  border-left: 4px solid var(--ob-accent);
  padding-left: 11px;
}

.ob-root .ob-card:hover {
  background: color-mix(in srgb, var(--ob-ink) 7%, var(--ob-box-bg));
}

.ob-root .ob-card-name {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  font: inherit;
}

.ob-root .ob-card-name .ob-dot-space {
  display: none;
}

.ob-root .ob-card .ob-co-link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.375rem;
}

/* status and due date on one line, then the label as plain words (spec 2.1: "then the label word") */
.ob-root .ob-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.ob-root .ob-card-due {
  color: var(--ob-ink);
  font: 400 var(--ob-t-small)/1.3 var(--ob-sans);
  white-space: nowrap;
}

.ob-root .ob-card-due.is-bad {
  color: var(--ob-bad);
  font-weight: 600;
}

.ob-root .ob-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ob-soft);
  font: 500 var(--ob-t-small)/1.3 var(--ob-sans);
}

.ob-root .ob-card-label .ob-ic {
  width: 22px;
  height: 22px;
}

.ob-root .ob-card-copy {
  margin: 0;
}

@container ob (min-width: 900px) {
  .ob-root .ob-table-wrap { display: block; }
  .ob-root .ob-cards { display: none; }
}

/* in the table a reason line may wrap (pass 3 run 1: inside owner.html, next to the menu, a long step line
   ran past the panel); its dates never break, the piece writes them with no-break spaces */
.ob-root .ob-td-month .ob-why li {
  white-space: normal;
  text-wrap: pretty;
}

/* a narrow place: the chips get smaller, a chip with 0 in it steps aside (unless it is the one picked) */
@container ob (max-width: 599px) {
  .ob-root .ob-filter {
    gap: 10px;
    padding: 12px;
  }

  .ob-root .ob-chips {
    gap: 6px 5px;
  }

  .ob-root .ob-chip {
    padding: 6px 9px;          /* pass 3 run 1: the look's own font (serif in look A) is wider: a little less room */
  }

  .ob-root .ob-chip-zero {
    display: none;
  }

  .ob-root .ob-sort {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .ob-root .ob-select,
  .ob-root .ob-select select {
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   4  THE BOOKS TAB (picture F2)
   ========================================================================== */
.ob-root .ob-co-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.ob-root .ob-co-head .ob-title {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
}

.ob-root .ob-btn-next {
  flex: 0 0 auto;
  min-height: 60px;
  padding-right: 32px;
  padding-left: 32px;
  font-size: 1.375rem;
}

@container ob (max-width: 599px) {
  .ob-root .ob-btn-next {
    flex: 1 1 100%;
  }
}

.ob-root .ob-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--ob-rule);
  border-radius: var(--ob-radius);
  background: var(--ob-box-bg);
}

.ob-root .ob-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 20px;
  border-radius: var(--ob-btn-radius);
  color: var(--ob-soft);
  font: 500 var(--ob-t-row)/1.2 var(--ob-sans);
  text-decoration: none;
}

.ob-root .ob-tab:hover {
  color: var(--ob-ink);
  background: color-mix(in srgb, var(--ob-ink) 6%, transparent);
}

.ob-root .ob-tab[aria-current="page"] {
  color: var(--ob-on);
  font-weight: 700;
}

.ob-root .ob-tab[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 3px;
  left: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--ob-on);
}

@container ob (max-width: 479px) {
  .ob-root .ob-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.ob-root .ob-books-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ob-gap);
  align-items: start;
}

.ob-root .ob-col-main,
.ob-root .ob-col-side {
  display: flex;
  flex-direction: column;
  gap: var(--ob-gap);
  min-width: 0;
}

@container ob (min-width: 940px) {
  .ob-root .ob-books-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }
}

/* "Where the books live" */
.ob-root .ob-where-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ob-rule);
}

.ob-root .ob-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 16px 0 0;
}

.ob-root .ob-fact {
  min-width: 0;
}

.ob-root .ob-fact dt {
  color: var(--ob-soft);
  font: 400 var(--ob-t-small)/1.3 var(--ob-sans);
}

.ob-root .ob-fact dd {
  margin: 2px 0 0;
  color: var(--ob-ink);
  font: var(--w-fig) var(--ob-t-fig)/1.15 var(--ob-fig);
}

@container ob (min-width: 620px) {
  .ob-root .ob-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .ob-root .ob-fact {
    padding: 0 18px;
    border-left: 1px solid var(--ob-rule);
  }

  .ob-root .ob-fact:first-child {
    padding-left: 2px;
    border-left: 0;
  }
}

/* the month close */
.ob-root .ob-close-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.ob-root .ob-due {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--ob-ink);
  font: 400 var(--ob-t-small)/1.35 var(--ob-sans);
}

.ob-root .ob-due .ob-ic {
  width: 22px;
  height: 22px;
  color: var(--ob-soft);
}

.ob-root .ob-due.is-bad,
.ob-root .ob-due.is-bad .ob-ic {
  color: var(--ob-bad);
  font-weight: 600;
}

.ob-root .ob-steps {
  display: flex;
  flex-direction: column;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ob-root .ob-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 4px 0;
}

.ob-root .ob-step::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: -14px;
  left: 21px;
  width: 2px;
  background: var(--ob-rule);
}

.ob-root .ob-step.is-last::before {
  display: none;
}

.ob-root .ob-step-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 9px 0 0 5px;
  border: 2px solid var(--ob-line);
  border-radius: 50%;
  background: var(--ob-pop-bg);
}

.ob-root .ob-step-mark.is-done {
  border-color: var(--ob-good-line);
  background: var(--ob-good-bg);
  color: var(--ob-good);
}

.ob-root .ob-step-mark.is-done .ob-ic {
  width: 22px;
  height: 22px;
  stroke-width: 2.6;
}

.ob-root .ob-step-mark.is-waiting {
  border-color: var(--ob-warn-line);
  background: var(--ob-warn);
}

.ob-root .ob-step-mark.is-not_needed {
  border-style: dashed;
}

.ob-root .ob-step-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  min-width: 0;
  min-height: 52px;
}

.ob-root .ob-step-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  color: var(--ob-ink);
  font: 400 var(--ob-t-row)/1.3 var(--ob-sans);
  text-decoration: none;
}

.ob-root a.ob-step-name:hover,
.ob-root a.ob-step-name:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.ob-root .ob-step-chev {
  width: 20px;
  height: 20px;
  color: var(--ob-soft);
}

.ob-root .ob-step.is-not_needed .ob-step-name {
  color: var(--ob-soft);
}

.ob-root .ob-step-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}

/* step 5 has the most in it: its parts sit on their own lines under the step name */
.ob-root .ob-step.is-step5 .ob-step-extras {
  flex: 1 1 100%;
  padding: 0 0 10px;
}

.ob-root .ob-step-where {
  flex: 1 1 100%;
  margin: -6px 0 0;
  color: var(--ob-soft);
  font: 400 var(--ob-t-small)/1.4 var(--ob-sans);
}

.ob-root .ob-count {
  white-space: nowrap;
}

.ob-root .ob-plain-tag {
  color: var(--ob-soft);
  font: 500 var(--ob-t-small)/1.25 var(--ob-sans);
}

.ob-root .ob-drop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 0;
  padding: 8px 18px;
  border: 1.5px dashed var(--ob-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-box-bg);
  color: var(--ob-ink);
  font: 500 var(--ob-t-small)/1.2 var(--ob-sans);
  cursor: pointer;
}

.ob-root .ob-drop .ob-ic {
  width: 22px;
  height: 22px;
}

.ob-root .ob-drop:hover,
.ob-root .ob-drop.is-over {
  border-color: var(--ob-on);
  background: color-mix(in srgb, var(--ob-on) 12%, var(--ob-box-bg));
}

/* "Drop the PDF here" with a mouse, "Choose the PDF" on a phone or a touch screen (nothing to drag there) */
.ob-root .ob-tap {
  display: none;
}

@media (max-width: 699px), (pointer: coarse) {
  .ob-root .ob-drag { display: none; }
  .ob-root .ob-tap { display: inline; }
}

.ob-root .ob-tick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 4px 8px 4px 2px;
  border: 0;
  border-radius: var(--ob-btn-radius);
  background: none;
  color: var(--ob-ink);
  font: 400 var(--ob-t-small)/1.25 var(--ob-sans);
  text-align: left;
  cursor: pointer;
}

.ob-root .ob-tick .ob-ic {
  width: 28px;
  height: 28px;
  color: var(--ob-soft);
}

.ob-root .ob-tick[aria-checked="true"] .ob-ic {
  color: var(--ob-on);
  stroke-width: 2;
}

.ob-root .ob-got {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ob-good);
  font: 600 var(--ob-t-small)/1.25 var(--ob-sans);
  overflow-wrap: anywhere;
}

.ob-root .ob-got .ob-ic {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.ob-root .ob-file-input {
  display: none;
}

.ob-root .ob-lock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ob-rule);
}

.ob-root .ob-lock-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ob-root .ob-lock-line .ob-ic {
  width: 24px;
  height: 24px;
  color: var(--ob-accent);
}

/* the copy box ("Mirror kept" / "Mirror paused") and the year-end package */
.ob-root .ob-mirror {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ob-root .ob-mirror .ob-h3 {
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ob-rule);
}

.ob-root .ob-mirror.is-paused .ob-ic-head {
  color: var(--ob-bad);
}

.ob-root .ob-year-end {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--ob-rule);
}

.ob-root .ob-year-end.is-big {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
}

/* ==========================================================================
   4b  WHAT THEY PAY FOR (the services box) AND A CLEANUP-ONLY COMPANY'S CLEANUP
   His rule (Oct 16 2026, chatgpt-pass5-pc1\BREAKDOWN-APPROVED.md): each client sees only the parts for the
   services they have. The switches are real tick boxes (role="switch") drawn as switches; the whole row is the
   press (64px), and "On" or "Off" is written beside each one, so the state is never color alone. Tokens only.
   ========================================================================== */
.ob-root .ob-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-color: var(--ob-gold-line);      /* the gold hairline of look A: a setting card, not a status */
}

.ob-root .ob-services .ob-h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ob-rule);
}

.ob-root .ob-svc-set {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ob-root .ob-svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-root .ob-svc-item {
  border-bottom: 1px solid var(--ob-rule);
}

.ob-root .ob-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 0;
  cursor: pointer;
}

.ob-root .ob-switch.is-locked {
  cursor: default;
}

.ob-root .ob-switch-words {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ob-root .ob-switch-name {
  color: var(--ob-ink);
  font: 600 var(--ob-t-row)/1.25 var(--ob-sans);
}

.ob-root .ob-switch-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--ob-soft);
  font: 400 var(--ob-t-small)/1.3 var(--ob-sans);
}

.ob-root .ob-switch-hint .ob-ic {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ob-accent);
}

.ob-root .ob-switch-state {
  flex: 0 0 auto;
  min-width: 2.1em;
  color: var(--ob-soft);
  font: 600 var(--ob-t-small)/1 var(--ob-sans);
  text-align: right;
}

.ob-root .ob-svc-item.is-on .ob-switch-state {
  color: var(--ob-ink);
}

/* the switch itself: a real tick box, drawn (track + knob); the focus ring is portal.css's own */
.ob-root .ob-switch-input {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 32px;
  margin: 0;
  border: 2px solid var(--ob-field-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-field-bg);
  cursor: pointer;
}

.ob-root .ob-switch-input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: max(2px, calc(var(--ob-btn-radius) - 4px));
  background: var(--ob-soft);
}

.ob-root .ob-switch-input:checked {
  border-color: var(--btn1-line);
  background: var(--btn1-bg);
}

.ob-root .ob-switch-input:checked::before {
  left: 27px;
  background: var(--btn1-ink);
}

.ob-root .ob-switch-input[aria-disabled="true"] {
  border-style: dashed;
  cursor: default;
}

/* the cleanup months, under the cleanup switch */
.ob-root .ob-svc-months {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 0 0 14px;
}

.ob-root .ob-svc-month .ob-select,
.ob-root .ob-svc-month select {
  width: 100%;
}

/* what the client sees, in one plain line */
.ob-root .ob-svc-sees {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--ob-gold-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-box-bg);
  color: var(--ob-ink);
  font: 400 var(--ob-t-body)/1.45 var(--ob-sans);
}

/* the words "Client sees:" and "Hidden:" stay in the ink color (the gold accent is 4.36 to 1 on the engraved-cream
   look, measured); the gold is the line on the left */
.ob-root .ob-svc-k {
  color: var(--ob-ink);
  font-weight: 700;
}

.ob-root .ob-svc-saved {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ob-good);
  font: 600 var(--ob-t-small)/1.3 var(--ob-sans);
}

.ob-root .ob-svc-saved .ob-ic {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.ob-root .ob-svc-link {
  align-self: flex-start;
}

/* a cleanup-only company: its cleanup where the month close would be */
.ob-root .ob-cleanup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ob-root .ob-cmonths {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5em, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-root .ob-cmonth {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--ob-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-box-bg);
  color: var(--ob-ink);
  font: 600 var(--ob-t-small)/1.2 var(--ob-sans);
  white-space: nowrap;
}

.ob-root .ob-cmonth .ob-ic {
  width: 20px;
  height: 20px;
  color: var(--ob-soft);
}

.ob-root .ob-cmonth.is-done {
  border-color: var(--ob-good-line);
}

.ob-root .ob-cmonth.is-done .ob-ic {
  color: var(--ob-good);
  stroke-width: 2.4;
}

.ob-root .ob-cleanup-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--ob-rule);
}

.ob-root .ob-cleanup-line .ob-ic {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--ob-soft);
}

.ob-root .ob-cleanup-line.is-done .ob-ic {
  color: var(--ob-good);
}

/* ==========================================================================
   5  THE YEAR-END PACKAGE FOR THE CPA (picture G2)
   ========================================================================== */
.ob-root .ob-cpa-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.ob-root .ob-cpa-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 2px 0 0;
}

.ob-root .ob-cpa-co {
  color: var(--ob-ink);
  font: var(--w-head) 1.5rem/1.2 var(--ob-head);
}

.ob-root .ob-pill-gold {
  display: inline-flex;
  align-items: center;
  padding: 3px 14px;
  border: 1.5px solid var(--ob-gold-line);
  border-radius: var(--ob-btn-radius);
  /* ink words: the gold accent is 4.12 to 1 on the engraved-cream plate; the gold stays in the line */
  color: var(--ob-ink);
  font: 600 var(--ob-t-small)/1.25 var(--ob-sans);
  white-space: nowrap;
}

.ob-root .ob-note-line {
  color: var(--ob-ink);
  font-weight: 600;
}

.ob-root .ob-cpa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "sum" "list";
  gap: var(--ob-gap);
  align-items: start;
}

.ob-root .ob-cpa-sum { grid-area: sum; }
.ob-root .ob-cpa-list { grid-area: list; }

@container ob (min-width: 880px) {
  .ob-root .ob-cpa-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    grid-template-areas: "list sum";
  }
}

.ob-root .ob-cpa-list {
  padding-top: 6px;
  padding-bottom: 6px;
}

.ob-root .ob-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ob-root .ob-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto minmax(7.5rem, auto);
  grid-template-areas: "file name tag state";
  align-items: center;
  gap: 6px 16px;
  min-height: 70px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ob-rule);
}

.ob-root .ob-item.has-acts {
  grid-template-areas:
    "file name tag state"
    "file acts acts acts";
}

.ob-root .ob-item:last-child {
  border-bottom: 0;
}

.ob-root .ob-item > .ob-file { grid-area: file; }
.ob-root .ob-item > .ob-item-name { grid-area: name; }
.ob-root .ob-item > .ob-row-tag { grid-area: tag; }
.ob-root .ob-item > .ob-item-state { grid-area: state; }
.ob-root .ob-item > .ob-item-acts { grid-area: acts; }

.ob-root .ob-item-name {
  color: var(--ob-ink);
  font: 400 var(--ob-t-row)/1.25 var(--ob-sans);
}

.ob-root .ob-item.is-off .ob-item-name,
.ob-root .ob-item.is-off .ob-file,
.ob-root .ob-item.is-off .ob-row-tag {
  color: var(--ob-quiet);
}

/* the row tag is a quiet word, not a button: no outline, no fill */
.ob-root .ob-row-tag {
  color: var(--ob-soft);
  font: 500 var(--ob-t-small)/1.25 var(--ob-sans);
  white-space: nowrap;
}

/* the file icon with its type word ("PDF", "XLS") inside the page outline. PC 2 fix step (Oct 17): the word ran
   over the outline at 1440 (look A's serif is wide), so the icon is a little bigger and the word uses the narrow
   sans, still 16px (18px on a phone) */
.ob-root .ob-file {
  position: relative;
  display: block;
  width: 50px;
  height: 60px;
  color: var(--ob-soft);
}

.ob-root .ob-file .ob-ic-file {
  display: block;
  width: 50px;
  height: 60px;
  stroke-width: 1.6;
}

.ob-root .ob-file-type {
  position: absolute;
  right: 3px;
  bottom: 13px;
  left: 4px;
  color: var(--ob-ink);
  font: 700 1rem/1 var(--sans);
  letter-spacing: -.01em;
  text-align: center;
}

@media (max-width: 699px) {
  .ob-root .ob-file,
  .ob-root .ob-file .ob-ic-file {
    width: 54px;
    height: 65px;
  }

  .ob-root .ob-file-type {
    bottom: 14px;
    font-size: 1.125rem;
  }
}

.ob-root .ob-file.is-folder .ob-ic {
  width: 40px;
  height: 40px;
  margin: 8px 0 0 3px;
  stroke-width: 1.5;
}

.ob-root .ob-item-state {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}

.ob-root .ob-item-state.is-ready {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ob-good-line);
  border-radius: 50%;
  background: var(--ob-good-bg);
  color: var(--ob-good);
}

.ob-root .ob-item-state.is-ready .ob-ic {
  width: 22px;
  height: 22px;
  stroke-width: 2.6;
}

.ob-root .ob-item-state.is-missing {
  color: var(--ob-warn);
  font: 600 var(--ob-t-small)/1.25 var(--ob-sans);
}

.ob-root .ob-item-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-bottom: 4px;
}

.ob-root .ob-btn-row {
  min-height: 48px;
  padding: 6px 16px;
  font-size: var(--ob-t-small);
}

.ob-root .ob-btn-row .ob-ic {
  width: 22px;
  height: 22px;
}

/* "Not needed": one tap, pressed when the row is left out of the count */
.ob-root .ob-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 6px 14px;
  border: 1.5px solid var(--ob-line);
  border-radius: var(--ob-btn-radius);
  background: none;
  color: var(--ob-ink);
  font: 500 var(--ob-t-small)/1.2 var(--ob-sans);
  cursor: pointer;
}

.ob-root .ob-toggle:hover {
  border-color: var(--ob-ink);
}

.ob-root .ob-toggle[aria-pressed="true"] {
  border-color: var(--btn1-line);
  background: var(--btn1-bg);
  color: var(--btn1-ink);
}

@container ob (max-width: 619px) {
  .ob-root .ob-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas:
      "file name state"
      "file tag state";
    gap: 2px 12px;
    padding: 12px 0;
  }

  .ob-root .ob-item.has-note {
    grid-template-areas:
      "file name name"
      "file tag tag"
      "file state state";
  }

  .ob-root .ob-item.has-acts {
    grid-template-areas:
      "file name state"
      "file tag state"
      "acts acts acts";
  }

  .ob-root .ob-item.has-note.has-acts {
    grid-template-areas:
      "file name name"
      "file tag tag"
      "file state state"
      "acts acts acts";
  }

  .ob-root .ob-item > .ob-row-tag { justify-self: start; }
  .ob-root .ob-item.has-note > .ob-item-state { justify-self: start; }
  .ob-root .ob-item > .ob-item-acts { padding-top: 6px; }
}

/* the ring "10 of 11 ready", the two big buttons and the readiness lights */
.ob-root .ob-cpa-sum {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.ob-root .ob-ring {
  position: relative;
  width: min(220px, 100%);
  margin: 0 auto 4px;
  aspect-ratio: 1;
}

.ob-root .ob-ring-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ob-root .ob-ring-bg {
  fill: var(--ob-box-bg);
  stroke: var(--ob-rule);
  stroke-width: 14;
}

.ob-root .ob-ring-fg {
  fill: none;
  stroke: var(--ob-on);
  stroke-width: 14;
  stroke-linecap: round;
}

.ob-root .ob-ring-words {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.ob-root .ob-ring-n {
  color: var(--ob-ink);
  font: var(--w-fig) 2.5rem/1.05 var(--ob-fig);
}

.ob-root .ob-ring-w {
  color: var(--ob-ink);
  font: var(--w-head) 1.625rem/1.15 var(--ob-head);
}

.ob-root .ob-notice {
  margin: 0;
}

.ob-root .ob-notice .ob-ic {
  width: 26px;
  height: 26px;
}

.ob-root .ob-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ob-ink);
  font-size: var(--ob-t-small);
  text-align: center;
}

.ob-root .ob-secure .ob-ic {
  width: 22px;
  height: 22px;
  color: var(--ob-accent);
}

.ob-root .ob-ready {
  border-top: 1px solid var(--ob-rule);
}

/* the button that opens the lights (aria-expanded); the list is [hidden] while folded */
.ob-root .ob-ready-sum {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--ob-warn);
  font: 600 var(--ob-t-small)/1.3 var(--ob-sans);
  text-align: left;
  cursor: pointer;
}

.ob-root .ob-ready.is-ready .ob-ready-sum {
  color: var(--ob-good);
}

.ob-root .ob-ready-sum .ob-ic {
  width: 22px;
  height: 22px;
}

.ob-root .ob-ready-sum > span {
  flex: 1 1 auto;
}

.ob-root .ob-ready-sum[aria-expanded="true"] .ob-ready-chev {
  transform: rotate(180deg);
}

.ob-root .ob-lights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 2px 0 6px;
  padding: 0;
  list-style: none;
}

.ob-root .ob-light {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font: 400 var(--ob-t-small)/1.35 var(--ob-sans);
}

.ob-root .ob-light-word {
  justify-self: start;
  padding: 0 8px;
  border: 1px solid var(--ob-good-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-good-bg);
  color: var(--ob-good);
  font-weight: 700;
}

.ob-root .ob-light.is-yellow .ob-light-word {
  border-color: var(--ob-warn-line);
  background: var(--ob-warn-bg);
  color: var(--ob-warn);
}

.ob-root .ob-light.is-red .ob-light-word {
  border-color: var(--ob-bad-line);
  background: var(--ob-bad-bg);
  color: var(--ob-bad);
}

.ob-root .ob-cpa-empty {
  max-width: 44rem;
}

/* ---- "Send with 1 missing?": a real dialog (Esc and Close both close it; Tab stays inside) ---- */
.ob-root .ob-dialog {
  width: min(600px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ob-gold-line);
  border-radius: var(--ob-radius);
  background: var(--ob-pop-bg);
  box-shadow: var(--ob-shadow);
  color: var(--ob-ink);
}

.ob-root .ob-dialog::backdrop {
  background: var(--ob-shade);
}

.ob-root .ob-dialog-in {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 26px;
}

@media (max-width: 699px) {
  .ob-root .ob-dialog-in {
    padding: 16px 16px 20px;
  }
}

/* the title and Close stay in sight while a short window scrolls the dialog */
.ob-root .ob-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: -22px -24px 0;
  padding: 16px 24px 12px;
  border-bottom: 1px solid var(--ob-rule);
  background: var(--ob-pop-bg);
}

@media (max-width: 699px) {
  .ob-root .ob-dialog-head {
    margin: -16px -16px 0;
    padding: 12px 16px 10px;
  }
}

.ob-root .ob-dialog-head .ob-h3 {
  flex: 1 1 12rem;
  padding-top: 8px;
}

.ob-root .ob-btn-close {
  min-height: 48px;
  padding: 6px 16px;
  font-size: var(--ob-t-small);
}

.ob-root .ob-btn-close .ob-ic {
  width: 22px;
  height: 22px;
}

.ob-root .ob-dialog-ask,
.ob-root .ob-dialog-done,
.ob-root .ob-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ob-root .ob-missing {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid var(--ob-warn-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-warn-bg);
  font-size: var(--ob-t-body);
  font-weight: 600;
  list-style: none;
}

.ob-root .ob-field,
.ob-root .ob-fieldset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ob-root .ob-fieldset {
  gap: 12px;
}

.ob-root .ob-field-label {
  padding: 0;
  color: var(--ob-ink);
  font: 600 var(--ob-t-body)/1.3 var(--ob-sans);
}

.ob-root .ob-field-sub {
  color: var(--ob-ink);
  font: 500 var(--ob-t-small)/1.3 var(--ob-sans);
}

.ob-root .ob-input {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--ob-field-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-field-bg);
  color: var(--ob-field-ink);
  font: 400 var(--ob-t-body)/1.4 var(--ob-sans);
}

.ob-root textarea.ob-input {
  min-height: 96px;
  resize: vertical;
}

.ob-root .ob-input[aria-invalid="true"] {
  border-color: var(--ob-bad-line);
}

.ob-root .ob-hint {
  margin: 0;
  color: var(--ob-soft);
  font-size: var(--ob-t-small);
}

.ob-root .ob-err {
  margin: 0;
  color: var(--ob-bad);
  font: 600 var(--ob-t-small)/1.35 var(--ob-sans);
}

/* a refusal that is not about one box ("The client has not approved ...") */
.ob-root .ob-alert {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid var(--ob-bad-line);
  border-radius: var(--ob-btn-radius);
  background: var(--ob-bad-bg);
  color: var(--ob-ink);
  font: 600 var(--ob-t-small)/1.4 var(--ob-sans);
}

.ob-root .ob-to {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--ob-btn-radius);
  background: var(--ob-box-bg);
  color: var(--ob-soft);
  font-size: var(--ob-t-small);
}

.ob-root .ob-email {
  color: var(--ob-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ob-root .ob-done-title {
  font: var(--w-head) 1.5rem/1.25 var(--ob-head);
}

/* ==========================================================================
   6  MOVEMENT: only when the person has not asked for less
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .ob-root .ob-chip,
  .ob-root .ob-toggle,
  .ob-root .ob-drop,
  .ob-root .ob-row > .ob-td:first-child::before,
  .ob-root .ob-card,
  .ob-root .ob-ready-chev {
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  }

  /* contract 9 CHART LOOK: the "10 of 11 ready" ring sweeps in once (600 ms, ease-out) when the package opens;
     a redraw of the same package draws it still (owner-books.js sets .is-new only the first time) */
  .ob-root .ob-ring.is-new .ob-ring-fg {
    animation: ob-ring-sweep .6s cubic-bezier(.22, .61, .36, 1) both;
  }
}

@keyframes ob-ring-sweep {
  from { stroke-dasharray: 0 578.1; }
}

/* pass 3 run 1: the send confirm has Send anyway (or Yes, send) and Cancel side by side; a quiet line under the
   package's Send button says what is missing */
.ob-root .ob-dialog-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ob-root .ob-dialog-acts .ob-btn {
  flex: 1 1 12rem;
  justify-content: center;
}

.ob-root .ob-send-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--ob-soft);
}
