/* TRELLAN: the continuing-education screens. Report 258.

   Boards CE and CE-Phone. Decision 8: the CE dashboard keeps R1's
   operations lead's layout; this restyles it only. Scoped to `.evce`
   (ce/index.html) and the dashboard's own `cedash__*` classes. */

/* ── Report 271: the CE forms (R1, 27 Oct 2026) ──────────────────────
   A label's words (`.ce-label`) look exactly like the label they are in;
   the class exists so they can be bold when the certificate filled the
   field (item 7). A flagged field is one look everywhere (item 1): the
   input's border, and each reason on its own line under it with the
   same icon. The date's sentence (items 3, 5) is that look too. The
   no-script certificate picker is hidden by `[hidden]` (item 8): its
   `.ui-field` display had beaten the attribute. */
.evce .ce-label, .cr-correct .ce-label,
.ui-page.tr-ce .prof-grid > label > .ce-label { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.evce label.is-read > .ce-label { font-weight: 700; color: var(--ink); }
.evce .is-mismatch > input, .evce .is-mismatch > select,
.evce .is-date-off > input { border-color: var(--warn-fg); box-shadow: 0 0 0 2px var(--warn-bg); }
.evce .ce-mismatch, .evce .ce-date__note {
  display: flex; gap: 4px; align-items: flex-start; margin-top: 4px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0;
  text-transform: none; color: var(--warn-fg);
}
.evce .ce-mismatch::before, .evce .ce-date__note::before {
  content: "error"; font-family: 'Material Symbols Outlined'; font-weight: 400;
  font-size: 16px; line-height: 1.2;
}
.evce .ce-date__note[hidden], .evce [data-ce-picker][hidden] { display: none; }
.evce .ce-number-note { display: block; margin-top: 4px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.evce .prof-readonly .is-mismatch dd { color: var(--warn-fg); }
.evce .prof-readonly .is-mismatch dt::after { content: " · check"; color: var(--warn-fg); }
/* ADE-732 (C19): room under the buttons before the next label. */
.evce .cr-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 12px 0 16px; }
.evce .ce-past-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.evce .ce-past-filter a[aria-current="page"] { font-weight: 700; text-decoration: none; color: var(--ink); }
.evce .ce-records { width: 100%; }
.evce .ce-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.evce .ce-record__links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.evce .ce-record__meta { font-size: 13px; color: var(--gray); }
@media (max-width: 640px) { .evce .ce-record { grid-template-columns: minmax(0, 1fr); } }

.cedash__h {
  font-family: var(--font-display); font-weight: 300; font-size: 24px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink);
}
@media (max-width: 720px) { .cedash__h { font-size: 19px; } }
/* The caps heading and buttons are wider than the old words: let the card
   shrink inside its flex parent so a phone never scrolls sideways. */
.ce-owed > .cedash { min-width: 0; max-width: 100%; box-sizing: border-box; }
.cedash .ui-btn { white-space: normal; text-align: center; }
/* Phone tiles, as the CE-Phone board: two columns, the words take the
   whole tile (no icon), the tick sits in the corner, words never break. */
@media (max-width: 720px) {
  .cedash__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cedash__tile { min-width: 0; grid-template-columns: minmax(0, 1fr); padding: 12px 12px 10px; }
  .cedash__tile-ico { display: none; }
  .cedash__tile-check { position: absolute; top: 10px; right: 10px; font-size: 18px; }
  .cedash__tile--done .cedash__tile-text { padding-right: 22px; }
  .cedash__tile-text, .cedash__tile-name, .cedash__tile-detail { overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .cedash__tile-name { font-size: 14px; }
}
@media (max-width: 360px) { .cedash__tiles { grid-template-columns: minmax(0, 1fr); } }

/* "Your courses" is the page's second heading. */
.evce .ce-courses__head .of-group-label {
  font-family: var(--font-display); font-weight: 300; font-size: 24px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink);
}
.evce .ce-approved-total { color: var(--gray); }

/* The course table: the shared table pattern. */
.evce .ce-table thead th {
  background: #FFFFFF; border-bottom: 1px solid var(--ink);
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray);
}
.evce .ce-th__sort { padding: 14px 16px; }
.evce .ce-th__sort.is-on, .evce .ce-th__sort:hover { color: var(--ink); }
.evce .ce-th__sort.is-on .ce-th__arrow { color: var(--ink); }
.evce .ce-table td { color: var(--ink); border-bottom-color: var(--hairline); }
/* The 56 px row is a desktop row; a phone row is the two-line grid of
   of-progress.css and keeps its own padding. Report 440: the two lines go
   up to 1,160px. */
@media (min-width: 1161px) {
  .evce .ce-table td { padding: 0 16px; height: 56px; font-size: 15px; }
  .evce .ce-detail > td { height: auto; padding: 0 16px 16px; }
}
@media (max-width: 1160px) {
  /* The row is a grid: its own rule is on the row, not the first cell
     (`tr`: it must beat the inset rule below, as it never did). */
  .evce tr.ce-row--sent-back > td:first-child { box-shadow: none; }
}
.evce .ce-course__name { font-weight: 400; color: var(--ink); }
.evce .ce-td--date, .evce .ce-td--number, .evce .ce-td--category { color: var(--gray); }
.evce .ce-td--date, .evce .ce-td--hours { font-variant-numeric: tabular-nums; }
.evce .ce-row:hover > td { background: var(--mist); }
.evce .ce-row--sent-back > td { background: #FFFBF9; }
.evce .ce-row--sent-back > td:first-child, .evce .ce-detail.ce-row--sent-back > td { box-shadow: inset 3px 0 0 var(--alert-dot); }
.evce .ce-detail > td { background: #FFFFFF; }
.evce .ce-toggle:hover { background: var(--mist); }
.evce .ce-total th, .evce .ce-total td { background: var(--mist); color: var(--ink); font-weight: 600; border-top: 1px solid var(--hairline); }

/* ══ Report 260: the rest of the CE area ═══════════════════════════════
   Boards in qa/by-page.json "ce": add, edit, delete, history, the
   approved-course list, compliance, other compliance, requirements, review
   one course, auto-approved, and the three requests staff decide (license
   change, PM request, remove a license). Every page carries `.tr-ce` on
   its `ui-page`. Look only. */

/* The page head. `.ui-page-head h1` is 600 in components.css; Trellan's
   heading is Poppins 300 caps. The back link is Leaf caps, as the boards. */
.ui-page.tr-ce .ui-page-head h1, .ui-page.tr-ce .ui-title { font-weight: 300; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.ui-page.tr-ce .ui-back, .ui-page.tr-ce .of-head__back {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--leaf);
  text-decoration: none; gap: 6px;
}
.ui-page.tr-ce .ui-back:hover, .ui-page.tr-ce .of-head__back:hover { color: var(--leaf-deep); text-decoration: underline; }
.ui-page.tr-ce .ui-back .ms, .ui-page.tr-ce .of-head__back .ms { font-size: 14px; letter-spacing: 0; }
.ui-page.tr-ce .ui-page-head__sub, .ui-page.tr-ce .of-head__line { color: var(--gray); }

/* A narrow page (a form, a question) is one 950 px column, centred. */
.ui-page.tr-ce.ui-page--narrow > *, .ui-page.tr-ce.rp > * { max-width: 950px; margin-left: auto; margin-right: auto; }
.ui-page.tr-ce.rp { display: block; }
.ui-page.tr-ce.rp > * + * { margin-top: 20px; }

/* Field labels: 11 px caps over the field. A label that WRAPS its field
   (`.prof-grid`, `.lic-grid`, `.ev-desc-label`) has its words caps and
   its notes in sentence case again. A check box's label stays a sentence. */
.ui-page.tr-ce .prof-grid > label, .ui-page.tr-ce .lic-grid > label, .ui-page.tr-ce label.ev-desc-label,
.ui-page.tr-ce .ui-field > label, .ui-page.tr-ce .field > label, .ui-page.tr-ce .req-field__label,
.ui-page.tr-ce .ce-console-search > .ui-label, .ui-page.tr-ce .course-search .ui-label {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray);
}
.ui-page.tr-ce .prof-grid > label > *, .ui-page.tr-ce .lic-grid > label > *, .ui-page.tr-ce label.ev-desc-label > * {
  font-family: var(--font-sans); letter-spacing: 0; text-transform: none;
}
.ui-page.tr-ce .prof-grid > label > .field-note { font-size: 11px; color: var(--gray); }
/* ADE-734 C15: "(optional)" inside a correction's caps label is a note. */
.cr-correct .ce-label .field-note {
  font-family: var(--font-sans); font-weight: 400; font-size: 12px;
  letter-spacing: 0; text-transform: none; color: var(--gray);
}
.ui-page.tr-ce .prof-readonly dt, .ui-page.tr-ce .of-facts dt {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray);
}
.ui-page.tr-ce .prof-readonly dd, .ui-page.tr-ce .of-facts dd { font-size: 15px; color: var(--ink); }

/* Card titles: Poppins 300 caps (the boards' "WHERE IT STANDS"). */
.ui-page.tr-ce .card-title, .ui-page.tr-ce .lic-head > .lic-name:only-child,
.ui-page.tr-ce section.ui-card:not(.cr-card) > .lic-head:first-child > .lic-name {
  font-family: var(--font-display); font-weight: 300; font-size: 20px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink);
}
.ui-page.tr-ce .ui-card, .ui-page.tr-ce .rp-card { padding: 24px; }

/* Status words: the square pill with its 8 px dot (trellan.css 5.4). The
   CE sheets hid the dot; the boards show it. */
.ui-page.tr-ce .ce-state, .ui-page.tr-ce .lic-expiry, .ui-page.tr-ce .pill {
  height: auto; min-height: 24px; padding: 4px 10px; gap: 7px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600; line-height: 1.2;
}
.ui-page.tr-ce .ce-state::before, .ui-page.tr-ce .lic-expiry::before, .ui-page.tr-ce .pill::before {
  display: block; content: ""; width: 8px; height: 8px; flex: none; background: currentColor;
}
.ui-page.tr-ce .pill { display: inline-flex; align-items: center; }
.ui-page.tr-ce .pill--warn { background: var(--warn-bg); color: var(--warn-fg); }
.ui-page.tr-ce .ce-unmatched, .ui-page.tr-ce .ce-rejected { background: var(--alert-bg); color: var(--alert-fg); }

/* Tables in this area: caps headers on white with the ink rule (some
   sheets turned the sort links back to sentence case). */
.ui-page.tr-ce .ui-table th, .ui-page.tr-ce .ui-table th a, .ui-page.tr-ce .ui-table th button {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray); background: #FFFFFF;
}
.ui-page.tr-ce .ui-table thead th { border-bottom: 1px solid var(--ink); }
@media (min-width: 721px) { .ui-page.tr-ce .ui-table td { padding-top: 14px; padding-bottom: 14px; } }
.ui-page.tr-ce .ui-table__link { font-weight: 600; color: var(--ink); }
/* A name never breaks between first and last name when it fits. */
.ui-page.tr-ce .cc-table td:first-child, .ui-page.tr-ce .ce-items-table td:first-child { min-width: 150px; }
.ui-page.tr-ce .cc-table .ui-table__link { white-space: nowrap; }

/* Notes: a Leaf rule on Mist (the boards' info box). */
.ui-page.tr-ce .ce-reason-box, .ui-page.tr-ce .co > .ce-reason, .ui-page.tr-ce .co .co-note { border-left: 3px solid var(--green); background: var(--mist); }

/* ── Fix this course (ce/edit.html) ─────────────────────────────────── */
.ui-page.tr-ce .ce-returned { background: #FFFBF9; box-shadow: inset 3px 0 0 var(--alert-dot); border-color: var(--hairline); }
.ui-page.tr-ce .ce-returned .ui-eyebrow { margin: 0 0 8px; }
.ui-page.tr-ce .ce-returned .ce-reason strong { font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--ink); }
@media (min-width: 721px) {
  .ui-page.tr-ce .prof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .ui-page.tr-ce .prof-grid > .ce-edit__wide, .ui-page.tr-ce .prof-grid > .ce-add__wide { grid-column: 1 / -1; }
}
.ui-page.tr-ce .lic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ── Delete this course? (ce/delete.html) ───────────────────────────── */
.ui-page.tr-ce .ce-delete__facts { margin: 0 0 16px; }

/* ── The course history (ce/history.html) ───────────────────────────── */
.ui-page.tr-ce .ce-hist__who { font-weight: 600; color: var(--ink); }
.ui-page.tr-ce .ce-hist__note { border-left: 1px solid var(--hairline); padding-left: 10px; color: var(--ink); }

/* ── Other compliance (ce/items.html): the tiles as the board ───────────
   White, a 3 px top rule in the tile's tone, the chosen one an ink edge. */
.ui-page.tr-ce .ce-tallies { gap: 12px; }
.ui-page.tr-ce .ce-tally {
  background: #FFFFFF; color: var(--charcoal); border: 1px solid var(--hairline);
  border-top: 3px solid var(--stone); min-width: 130px; padding: 12px 14px; filter: none;
}
.ui-page.tr-ce .ce-tally strong { font-family: var(--font-display); font-weight: 300; font-size: 26px; color: var(--ink); }
.ui-page.tr-ce .ce-tally--short { border-top-color: var(--alert-dot); }
.ui-page.tr-ce .ce-tally--unknown { border-top-color: var(--gold); }
.ui-page.tr-ce .ce-tally--met { border-top-color: var(--green); }
.ui-page.tr-ce a.ce-tally:hover { background: var(--mist); filter: none; }
.ui-page.tr-ce a.ce-tally.is-active { border: 2px solid var(--ink); border-top-width: 3px; box-shadow: none; outline: 0; }

/* ── Review one course (ce/review.html, item page) ──────────────────── */
.ui-page.tr-ce.cr-one .cr-card .lic-head .lic-name { font-family: var(--font-sans); font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ui-page.tr-ce .ce-decide { padding-top: 16px; border-top: 1px solid var(--hairline); }
.ui-page.tr-ce .ce-decide .of-danger { margin-left: auto; font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

/* ── License change and PM request (profile/*.html, staff) ──────────────
   The comparison table: caps row labels, the changed value on Gold. */
.ui-page.tr-ce .rp-card .grid { width: 100%; border-collapse: collapse; }
.ui-page.tr-ce .rp-card .grid th, .ui-page.tr-ce .rp-card .grid td { padding: 14px 10px; border-bottom: 1px solid var(--hairline); text-align: left; }
.ui-page.tr-ce .rp-card .grid th {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray);
}
.ui-page.tr-ce .rp-card .grid thead th { border-bottom: 1px solid var(--ink); }
.ui-page.tr-ce .rp-card .grid thead th:last-child { color: var(--ink); }
.ui-page.tr-ce .rp-card .grid td { font-size: 15px; color: var(--ink); }
.ui-page.tr-ce .rp-card .grid td:has(.pill--warn), .ui-page.tr-ce .rp-card .grid td[data-label="Asks for"] { background: var(--warn-bg); }
.ui-page.tr-ce .rp-card .field > label { display: block; margin: 18px 0 8px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.ui-page.tr-ce .rp-card .lic-actions { margin-top: 14px; }
.ui-page.tr-ce .pm-licenses { padding-left: 0; list-style: none; }

/* ── Remove a license (profile/delete_license.html) ─────────────────── */
.ui-page.tr-ce [data-delete-consequence] { position: relative; padding-left: 18px; color: var(--charcoal); }
.ui-page.tr-ce [data-delete-consequence]::before { content: ""; position: absolute; left: 4px; top: .6em; width: 5px; height: 5px; background: var(--charcoal); }
.ui-page.tr-ce [data-remove-needs-confirm] { border-left: 3px solid var(--green); background: var(--mist); padding: 12px 16px; color: var(--ink); }
.ui-page.tr-ce.rp .lic-item { background: var(--mist); border: 1px solid var(--hairline); padding: 12px 14px; }
.ui-page.tr-ce.rp .lic-name { font-weight: 600; color: var(--ink); }

/* ── NM's requirements (ce/requirement.html) ────────────────────────── */
.ui-page.tr-ce .ofs-req .of-facts, .ui-page.tr-ce.ofs-req .of-facts { background: var(--mist); border-color: var(--mist); }

/* Phone: nothing in these pages is wider than the window; a label never
   pushes its field past the edge. */
@media (max-width: 720px) {
  .ui-page.tr-ce .req-part__hours, .ui-page.tr-ce .req-field__label { min-width: 0; overflow-wrap: normal; }
  .ui-page.tr-ce .req-part, .ui-page.tr-ce .req-field { min-width: 0; max-width: 100%; }
  .ui-page.tr-ce .ui-card, .ui-page.tr-ce .rp-card { padding: 16px; }
  .ui-page.tr-ce .lic-actions .ui-btn--commit { flex: 1 1 100%; }
  .ui-page.tr-ce .ce-tally { min-width: 0; }
}

/* Other compliance: a lapsed row is pinned (the Problem rule and ground),
   its word the Problem pair; dates read left, as the board. */
.ui-page.tr-ce tr:has([data-standing="lapsed"]) > td { background: #FFFBF9; }
.ui-page.tr-ce tr:has([data-standing="lapsed"]) > td:first-child { box-shadow: inset 3px 0 0 var(--alert-dot); }
.ui-page.tr-ce [data-standing="lapsed"] { background: var(--alert-bg); color: var(--alert-fg); }
.ui-page.tr-ce [data-compliance-row] .ui-table__num { text-align: left; }
.ui-page.tr-ce [data-compliance-row] .ui-table__link, .ui-page.tr-ce .cc-table .ui-table__link { font-weight: 500; }
/* "What goes with it" on Remove a license is a label, not a title. */
.ui-page.tr-ce.rp .rp-card > .card-title {
  font-weight: 500; font-size: 11px; letter-spacing: 2.4px; color: var(--gray);
}

/* NM's requirements: "The named minimums" is a label over an ink rule;
   "Add a named minimum" and its fields sit in one Mist box, four across. */
.ui-page.tr-ce .req-subhead {
  font-family: var(--font-display); font-weight: 500; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--gray);
  margin: 12px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--ink);
}
.ui-page.tr-ce .req-subhead:has(+ [data-part-add]) {
  margin-top: 16px; padding: 16px 16px 4px; border-bottom: 0; background: var(--mist); color: var(--ink);
}
.ui-page.tr-ce .of-section .req-fields[data-part-add] { background: var(--mist); padding: 8px 16px 16px; }
/* ADE-732 (16 Nov audit, D24): two to a row, so the selects show their
   words ("Annual Commission Update", "once per cycle"); four to a row cut
   them. The help box under them is the band's full width. */
@media (min-width: 900px) {
  .ui-page.tr-ce .of-section .req-fields[data-part-add] { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
}
.ui-page.tr-ce .req-fields[data-part-add] + .req-note { background: var(--mist); margin-top: 0; padding: 0 16px 16px; max-width: none; }
/* D24: "Remove" level with "Hours" beside it; its tick in the middle of
   the box's height. */
.req-part__hours[data-part-remove] { align-self: stretch; }
.req-part__hours[data-part-remove] > input { margin-block: auto; }
.ui-page.tr-ce .req-part__label strong, .ui-page.tr-ce .req-part__label > :first-child { font-weight: 600; color: var(--ink); }
.ui-page.tr-ce .req-part__hours input[type="number"], .ui-page.tr-ce .req-part__hours .ui-input { text-align: right; }
@media (max-width: 720px) {
  .ui-page.tr-ce .lic-actions > .ui-btn--secondary { flex: 1 1 100%; }
}
@media (max-width: 720px) {
  /* Tiles two across, as the phone board. */
  .ui-page.tr-ce .ce-tallies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* A phone row is a block: the Problem rule goes on the row, not a cell. */
  .ui-page.tr-ce tr:has([data-standing="lapsed"]) > td:first-child { box-shadow: none; }
  .ui-page.tr-ce tr:has([data-standing="lapsed"]) { box-shadow: inset 3px 0 0 var(--alert-dot); background: #FFFBF9; }
  /* A named minimum: its name across the row, the hours and Remove under it. */
  .ui-page.tr-ce .req-part { grid-template-columns: 120px auto; justify-content: start; }
  .ui-page.tr-ce .req-part > .req-part__label { grid-column: 1 / -1; }
}

/* Report 272. A heading row per renewal cycle ("All cycles"), the
   not-counted pill, and the attach-a-certificate prompt of a course
   transferred from NetSuite. */
.evce .ce-group > th { text-align: left; padding: 18px 16px 8px; font-size: 13px; font-weight: 500;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); background: var(--mist);
  border-bottom: 1px solid var(--hairline); }
.evce .ce-group__meta { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--gray); }
.evce .ce-not-counted { margin-left: 6px; }
.evce .ce-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px;
  padding: 12px; border: 1px dashed var(--hairline); }
.evce .ce-attach__label { flex: 1 1 100%; font-size: 14px; color: var(--ink); }
.evce .ce-attach__file { max-width: 100%; font-size: 14px; }
@media (max-width: 1160px) {   /* report 440: with the lines */
  .evce .ce-group, .evce .ce-group > th { display: block; }
  .evce .ce-not-counted { margin-left: 0; margin-top: 4px; }
}

/* Report 275. The REALTOR® block in the CE page's footer (where NAR's note
   was): the two NAR trainings, each with its state. Quiet, so it does not
   read as a state requirement. */
.evce .ce-nar.ce-realtor, .ce-nar.ce-realtor { max-width: none; line-height: 1.45; margin: 24px 0 0; padding: 16px; border: 1px solid var(--line, var(--hairline));
  border-radius: 12px; background: var(--card-bg, #fff); color: var(--ink-2); font-size: 14px; }
.ce-realtor__h { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ink-1, var(--ink)); }
.ce-realtor__lead { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 90ch; }
.ce-realtor__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ce-realtor__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px;
  align-items: center; padding: 10px 12px; border: 1px solid var(--line-2, var(--hairline)); border-radius: 10px; }
.ce-realtor__ico { font-size: 20px; color: var(--ink-3); }
.ce-realtor__item--done .ce-realtor__ico { color: var(--ok-fg); }
.ce-realtor__name { display: block; font-weight: 600; color: var(--ink-1, var(--ink)); }
.ce-realtor__detail { display: block; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.ce-realtor__pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-2, #F4F1EA); color: var(--ink-2); white-space: nowrap; }
.ce-realtor__item--done .ce-realtor__pill { background: var(--ok-bg); color: var(--ok-fg); }
.ce-realtor__item--overdue .ce-realtor__pill { background: var(--warn-bg); color: var(--warn-fg); }
.ce-realtor__record { grid-column: 1 / -1; font-size: 13px; }
.ce-realtor__record > summary { cursor: pointer; color: var(--accent); }
.ce-realtor__form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; margin-top: 8px; }
@media (max-width: 720px) {
  .ce-realtor__items { grid-template-columns: minmax(0, 1fr); }
}
/* ADE-663 (R1, 4 Nov). Inside the CE renewal box (`ce/_dashboard.html`): no
   card of its own, the box's full width, a rule above it like the source
   line's, and one size smaller throughout. */
.cedash .ce-nar.ce-realtor--in-box { margin: 16px 0 0; padding: 14px 0 0; border: 0;
  border-top: 1px solid var(--line-2, var(--hairline)); border-radius: 0; background: none; font-size: 13px; }
.ce-realtor--in-box .ce-realtor__h { font-size: 14px; }
.ce-realtor--in-box .ce-realtor__lead { margin-bottom: 8px; font-size: 12px; }
.ce-realtor--in-box .ce-realtor__item { padding: 8px 10px; }
.ce-realtor--in-box .ce-realtor__ico { font-size: 18px; }
.ce-realtor--in-box .ce-realtor__detail { font-size: 12px; }

/* Report 282. Add several courses: one card per certificate. */
.ce-several-link { margin: 8px 0 0; }
.ce-several__card { margin-bottom: 16px; }
.ce-several__head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 12px; }
.ce-several__keep { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.ce-several__card.is-left-out .ce-add__grid { opacity: .45; }
.ce-several__card .ce-file__thumb { max-height: 56px; }
.ce-staff-courses { margin-top: 24px; }
.ce-deleted-note { margin-top: 10px; }
[data-of-region].is-loading { opacity: .55; transition: opacity .15s; }

/* ── Report 300: the QB renewal authorization ─────────────────────────
   `planning/design/qb-renewal-authorization.md`. The QB's form (radio
   rows, the certification) and Licensing's page. Tokens only. */
.rnw-page .rnw-form, .rnw-page .rnw-detail { padding: 20px 22px; margin: 0 0 16px; }
.rnw-page .rnw-another { margin: 0 0 12px; }
.rnw-page .rnw-step { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.rnw-page .rnw-step > legend { padding: 0; margin: 0 0 12px; }
.rnw-page .rnw-step .of-list { margin: 0; }
:is(.rnw-page, .ceqb-pick) .rnw-row {
  display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 12px 16px; box-sizing: border-box; cursor: pointer;
  border-top: 1px solid var(--hairline); border-left: 3px solid transparent;
}
:is(.rnw-page, .ceqb-pick) .rnw-row:first-child { border-top: 0; }
:is(.rnw-page, .ceqb-pick) .rnw-row > input[type="radio"] {
  flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--leaf);
}
:is(.rnw-page, .ceqb-pick) .rnw-row:has(input:checked) { background: var(--mist); border-left-color: var(--green); }
:is(.rnw-page, .ceqb-pick) .rnw-row:has(input:focus-visible) { outline: 2px solid var(--leaf); outline-offset: -2px; }
:is(.rnw-page, .ceqb-pick) .rnw-row.is-done { cursor: default; color: var(--gray); }
:is(.rnw-page, .ceqb-pick) .rnw-row__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
:is(.rnw-page, .ceqb-pick) .rnw-row__name { font-weight: 700; color: var(--ink); }
:is(.rnw-page, .ceqb-pick) .rnw-row.is-done .rnw-row__name { color: var(--gray); }
:is(.rnw-page, .ceqb-pick) .rnw-row__line { font-size: 13px; color: var(--gray); }
:is(.rnw-page, .ceqb-pick) .rnw-row__pill { flex: none; }
.rnw-page .rnw-statement {
  background: var(--mist); border-left: 3px solid var(--leaf);
  padding: 16px; margin: 0 0 16px; color: var(--ink);
}
.rnw-page .rnw-statement p { margin: 0; }
.rnw-page .rnw-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; }
.rnw-page .rnw-check > input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--leaf); }
.rnw-page .rnw-signed { margin: 4px 0 0; font-size: 13px; color: var(--gray); }
.rnw-page .rnw-error { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--alert-fg); }
.rnw-page .rnw-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0 0 20px; }
.rnw-page .rnw-facts dd { margin: 4px 0 0; color: var(--ink); }
.rnw-page .rnw-detail__label { margin: 0 0 8px; }
.rnw-page .rnw-done { margin: 0; }
/* Report 300, broker search (3 Nov) — `js/single-picker.js`: the broker radios as a type-to-search
   dropdown. Built on the `.mpick` box and list (app.css); a row in the list
   is the radio row's own text and pill. */
:is(.rnw-page, .ceqb-pick) .spick { margin: 0; }
:is(.rnw-page, .ceqb-pick) .spick__field { display: flex; align-items: stretch; }
:is(.rnw-page, .ceqb-pick) .spick__input {
  min-height: 48px; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: 1px solid var(--edge); border-right: 0; background: var(--surface-1); color: var(--ink);
}
:is(.rnw-page, .ceqb-pick) .spick__input:focus-visible { outline: 2px solid var(--leaf); outline-offset: -2px; }
:is(.rnw-page, .ceqb-pick) .spick__toggle {
  flex: none; width: 48px; cursor: pointer; font-size: 16px; color: var(--ink);
  border: 1px solid var(--edge); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--mist);
}
:is(.rnw-page, .ceqb-pick) .spick__chosen { margin: 6px 0 0; font-size: 13px; color: var(--gray); }
:is(.rnw-page, .ceqb-pick) .spick__chosen .spick__body { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
:is(.rnw-page, .ceqb-pick) .spick__chosen[hidden], :is(.rnw-page, .ceqb-pick) .spick__err[hidden] { display: none; }
:is(.rnw-page, .ceqb-pick) .spick__err { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--alert-fg); }
:is(.rnw-page, .ceqb-pick) .spick__list { max-height: 320px; }
:is(.rnw-page, .ceqb-pick) .spick__option { padding: 10px 12px; border-left: 3px solid transparent; }
:is(.rnw-page, .ceqb-pick) .spick__option .spick__body { display: flex; align-items: center; gap: 12px; }
:is(.rnw-page, .ceqb-pick) .spick__option.is-active { background: var(--mist); }
:is(.rnw-page, .ceqb-pick) .spick__option.is-chosen { border-left-color: var(--green); }
:is(.rnw-page, .ceqb-pick) .spick__option.is-off { cursor: default; }
:is(.rnw-page, .ceqb-pick) .spick__option.is-off:hover { background: transparent; }
:is(.rnw-page, .ceqb-pick) .spick__option.is-off .rnw-row__name { color: var(--gray); }
:is(.rnw-page, .ceqb-pick) .spick__count { margin: 6px 0 0; font-size: 13px; color: var(--gray); }
:is(.rnw-page, .ceqb-pick) .spick__count:empty { display: none; }
@media (max-width: 720px) {
  .rnw-page .spick__option .spick__body { flex-wrap: wrap; gap: 4px 12px; }
  .rnw-page .spick__body .rnw-row__pill { padding-left: 0; }
  .rnw-page .rnw-row { flex-wrap: wrap; }
  .rnw-page .rnw-row__pill { flex-basis: 100%; padding-left: 32px; }
  .rnw-page .rnw-facts { grid-template-columns: minmax(0, 1fr); }
  .rnw-page .rnw-form, .rnw-page .rnw-detail { padding: 16px; }
}

/* Report 325 (ADE-661). The supervising broker's CE page
   (`ce/_qb_brokers.html`, `planning/design/qb-ce-page-ui.md`): "View my
   brokers' CE" first, with the green rule; the broker they opened, headed
   on mist; their own CE folded under "My CE". The picker and its rows are
   the renewal form's (`:is(.rnw-page, .ceqb-pick)` above). */
.ceqb { margin: 0 0 16px; }
.ceqb-pick { padding: 20px 22px; border-left: 3px solid var(--green); }
.ceqb-pick__h { margin: 0 0 6px; }
.ceqb-pick__line { margin: 0 0 12px; color: var(--gray); }
.ceqb-pick__form { display: flex; gap: 8px; align-items: flex-start; }
.ceqb-pick__field { flex: 1 1 auto; min-width: 0; }
.ceqb-pick__field .of-list { margin: 0; max-height: 360px; overflow: auto; }
.ceqb-pick__show { flex: none; min-height: 48px; }
.ceqb-pick__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; }
.ceqb-pick__links:empty { display: none; }
.ceqb-open { padding: 0 0 16px; overflow: hidden; }
.ceqb-open__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 16px; background: var(--mist); border-bottom: 1px solid var(--hairline); margin: 0 0 16px;
}
.ceqb-open__who { min-width: 0; }
.ceqb-open__label { margin: 0 0 2px; }
.ceqb-open__h { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink);
  text-transform: none; letter-spacing: normal; font-family: inherit; overflow-wrap: anywhere; }
.ceqb-open__line { margin: 2px 0 0; font-size: 13px; color: var(--gray); }
.ceqb-open__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ceqb-open__nav { display: inline-flex; align-items: center; gap: 16px; }
.ceqb-open > :not(.ceqb-open__head) { margin-left: 16px; margin-right: 16px; }
.ceqb-open .ce-owed .of-card { box-shadow: none; }
/* Report 329: a licensed supervising broker's own CE, open under a compact
   picker card. */
.ceqb-pick--compact { padding: 14px 18px; }
.ceqb-pick--compact .ceqb-pick__links { margin-top: 8px; }
.ceqb-mine { margin: 16px 0 0; }
.ceqb-pick[hidden], .ceqb-pick__show[hidden] { display: none; }
@media (max-width: 720px) {
  .ceqb-pick { padding: 16px; }
  .ceqb-pick__form { flex-direction: column; align-items: stretch; }
  .ceqb-open__acts { width: 100%; }
  .ceqb-open__acts > .ui-btn--commit { flex: 1 1 100%; justify-content: center; }
  .ceqb-open > :not(.ceqb-open__head) { margin-left: 8px; margin-right: 8px; }
  .ceqb-pick--compact { padding: 12px 14px; }
}
