/*
 * Columa app styles. Tokens are the same five-level surface ladder as the
 * plugin kit (columa-core/assets/css/columa-tokens.css), so the app and the
 * WordPress admin read as one product. Raw colors live only in :root.
 */
:root {
  --cl-cream: #DEDBBC;   /* 0 sunken */
  --cl-paper: #EDE7D3;   /* 1 page */
  --cl-linen: #F7F2E5;   /* 2 panel */
  --cl-card: #FFFDF6;    /* 3 card */
  --cl-white: #FFFFFF;   /* 4 float */
  --cl-card-alt: #FBF7ED; /* 3 · card, alternate: zebra banding for long tables only, never a surface */
  --cl-gold-wash: rgba(166, 127, 67, .26);
  --cl-hairline: rgba(71, 81, 48, .34);
  --cl-hairline-soft: rgba(71, 81, 48, .18);
  --cl-radius-sm: 3px;
  --cl-ink: #2A3123;
  --cl-ink-soft: #5E6252;
  --cl-ink-faint: #6E705D;
  --cl-cream-text: #F1EFDD;
  --cl-forest: #475130;
  --cl-forest-deep: #37402A;
  --cl-sage: #839258;
  --cl-sage-wash: rgba(131, 146, 88, .26);
  --cl-sage-deep: #5F6B39;
  --cl-gold: #A67F43;
  --cl-gold-deep: #8F6C36;
  --cl-marigold: #DFAE3D;
  --cl-danger: #8C3B33;
  --cl-danger-wash: rgba(140, 59, 51, .22);
  --cl-ember: #C05E28;
  --cl-ember-deep: #8A4118;
  --cl-ember-wash: rgba(192, 94, 40, .16);
  --cl-line: rgba(42, 49, 35, .14);
  --cl-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --cl-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --cl-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --cl-shadow-float: 0 8px 28px rgba(42, 49, 35, .18);
  --cl-scrim: rgba(42, 49, 35, .35);
  /* Score bands (Accessibility pages passing), as the plugin kit has them: four colours that cannot
     be mistaken for one another at a glance (Jake, 2026-10-25: "80% should be orange, this looks red"). */
  --cl-score-good:        rgba(131, 146, 88, .5);
  --cl-score-orange:      rgba(240, 130, 20, .55);
  --cl-score-orange-text: #6B3200;
  --cl-score-yellow:      rgba(240, 200, 40, .45);
  --cl-score-yellow-text: #5E4B05;
  --cl-score-red:         rgba(205, 35, 30, .40);
  --cl-score-red-text:    #6E0F0B;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cl-paper); color: var(--cl-ink); font: 15px/1.5 var(--cl-sans); }
a { color: var(--cl-forest); }
h1 { font-size: 24px; margin: 4px 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
h2 { font-size: 16px; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--cl-ink-soft); }

.page { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid var(--cl-gold); }
.eyebrow { font: 600 11px/1 var(--cl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-ink-faint); margin: 0; }
.eyebrow a { color: inherit; }
.row { display: flex; gap: 8px; align-items: center; }
.stack { display: grid; gap: 10px; }

.panel { background: var(--cl-linen); border-radius: 6px; padding: 20px; margin-bottom: 16px; }
.empty { background: var(--cl-linen); border-radius: 6px; padding: 32px 20px; text-align: center; margin-bottom: 16px; }

.auth-card { max-width: 400px; margin: 10vh auto; padding: 32px; background: var(--cl-linen); border-radius: 8px; }
.auth-card h1 { margin-bottom: 16px; }
.or { text-align: center; color: var(--cl-ink-faint); font: 11px var(--cl-mono); text-transform: uppercase; margin: 16px 0; }

label { display: grid; gap: 4px; font-size: 13px; color: var(--cl-ink-soft); }
input:not([type=checkbox]) { height: 32px; padding: 0 10px; font: inherit; color: var(--cl-ink);
  background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 4px; }
input:focus-visible, .btn:focus-visible, .chip:focus-visible { outline: 2px solid var(--cl-forest); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; align-items: center; }
legend { font-size: 13px; color: var(--cl-ink-soft); padding: 0; margin-bottom: 4px; }
.check { display: flex; gap: 6px; align-items: center; color: var(--cl-ink); }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: end; }
/* A long list of choices in a form (Admin's Create tenant: the plan, the products): across the form's whole
   width and wrapping into columns, where the bare fieldset above is one row that runs off the page. */
.grid-form__wide { grid-column: 1 / -1; margin: 0; }
.choices { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 20px; align-items: start; min-width: 0; }
.choices--stack { grid-template-columns: 1fr; }
.choices > legend { margin-bottom: 6px; }
.choices .check { align-items: flex-start; line-height: 1.35; }
.choices .check input { flex: none; height: auto; margin: 3px 0 0; }

/* Buttons: mono caps, verb + object, never taller than 32px. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px;
  font: 600 12px/1 var(--cl-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--sm { height: 28px; padding: 0 12px; }
.btn--xs { height: 24px; padding: 0 10px; font-size: 11px; }
.btn--primary { background: var(--cl-forest); color: var(--cl-cream-text); }
.btn--primary:hover { background: var(--cl-forest-deep); }
.btn--gold { background: var(--cl-gold-deep); color: var(--cl-white); }
.btn--sage { background: var(--cl-sage); color: var(--cl-white); }
.btn--ghost { background: transparent; color: var(--cl-forest); border-color: var(--cl-forest); }
.btn--danger { background: transparent; color: var(--cl-danger); border-color: var(--cl-danger); }
.btn--text { background: none; border: 0; color: var(--cl-forest); padding: 0; height: 24px; }
.auth-card .btn { width: 100%; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { display: inline-flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--cl-linen); color: var(--cl-ink); text-decoration: none; font-size: 13px; }
.chip--on { background: var(--cl-card); box-shadow: inset 0 0 0 1px var(--cl-forest); }
.count { font: 11px var(--cl-mono); color: var(--cl-ink-faint); }

.table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.table th { background: var(--cl-cream); text-align: left; font: 600 11px var(--cl-mono); text-transform: uppercase;
  letter-spacing: .06em; color: var(--cl-ink-soft); padding: 8px 10px; }
.table td { background: var(--cl-card); padding: 8px 10px; border-top: 1px solid var(--cl-line); }
.table tr:hover td { background: var(--cl-linen); }
.panel .table td { background: var(--cl-card); }
@media (max-width: 720px) { .table { display: block; overflow-x: auto; } }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.facts dt { color: var(--cl-ink-soft); font-size: 13px; }
.facts dd { margin: 0; min-width: 0; }
/* A row of controls in a fact (Admin's tenant page: seventeen product chips, the agency's field and note) wraps
   rather than running off the page. */
.facts dd.row, .facts dd .row { flex-wrap: wrap; }

/* Status is an outline, never a fill. */
.status { display: inline-block; font: 600 11px/20px var(--cl-mono); text-transform: uppercase; letter-spacing: .06em;
  padding: 0 8px; border-radius: 999px; border: 1px solid currentColor; }
.status--active, .status--trialing { color: var(--cl-sage-deep); }
.status--past_due, .status--pending { color: var(--cl-ember-deep); }
.status--suspended { color: var(--cl-danger); }

.note { padding: 10px 12px; border-radius: 4px; background: var(--cl-card); border-left: 3px solid var(--cl-sage); font-size: 14px; }
.note--error { border-left-color: var(--cl-danger); background: var(--cl-danger-wash); }
.note--warn { border-left-color: var(--cl-ember); background: var(--cl-ember-wash); color: var(--cl-ember-deep); }
.note--done { border-left-color: var(--cl-marigold); }
.banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; margin-bottom: 16px;
  background: var(--cl-ember-wash); border-left: 3px solid var(--cl-ember); color: var(--cl-ember-deep); border-radius: 4px; font-size: 14px; }

/* Agreements screens. */
select { height: 32px; padding: 0 8px; font: inherit; color: var(--cl-ink); background: var(--cl-card);
  border: 1px solid var(--cl-line); border-radius: 4px; }
.textarea { width: 100%; padding: 10px; font: 14px/1.5 var(--cl-mono); color: var(--cl-ink); background: var(--cl-card);
  border: 1px solid var(--cl-line); border-radius: 4px; resize: vertical; }
.table input:not([type=checkbox]), .table select { width: 100%; min-width: 60px; height: 28px; }
.table-scroll { overflow-x: auto; }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { background: var(--cl-cream); }
.stack > fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
fieldset.stack { border: 0; padding: 0; margin: 0; }
code { font-family: var(--cl-mono); font-size: 13px; background: var(--cl-cream); padding: 0 4px; border-radius: 3px; }
.actions { margin-bottom: 12px; flex-wrap: wrap; }

/* Icon buttons: a 26px circle, the kit's .cl-icon-btn. */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0;
  border: 1px solid var(--cl-line); border-radius: 50%; background: var(--cl-card); color: var(--cl-ink-soft); cursor: pointer; }
.icon-btn:hover { background: var(--cl-white); }
.icon-btn svg { width: 14px; height: 14px; }
.icon-btn--danger { color: var(--cl-danger); }
.icon-btn:disabled { opacity: .6; cursor: progress; }

/* View and Send: the document, quick-edited in place (P:3488-4193). */
.doc-label { margin-bottom: 6px; }
.doc-label-hint { text-transform: none; letter-spacing: 0; }
.doc-title { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 4px; padding: 14px 18px; text-align: center; margin-bottom: 12px; }
.doc-title.is-editable { cursor: text; }
.doc-title span { font: 19px/1.3 var(--cl-display); color: var(--cl-ink); outline: none; }
.doc-pills { margin-bottom: 8px; flex-wrap: wrap; }
.doc-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--cl-sage); background: var(--cl-card); color: var(--cl-ink-soft); font: 11px var(--cl-sans); }
.doc-pill--off { border-color: var(--cl-line); background: var(--cl-cream); color: var(--cl-ink-faint); }
.doc-pill--off .doc-pill-label { text-decoration: line-through; }
.doc-pill-hidden { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.doc-eye-icon { display: inline-flex; }
.doc-eye-icon svg { width: 14px; height: 14px; }
.doc-hint { font-size: 12px; margin: 0 0 10px; }
.doc-hint .eyebrow { display: inline; color: var(--cl-gold); margin-right: 8px; }
.doc-status { font-size: 12px; min-height: 18px; margin: 8px 0 16px; }
.doc-rich { min-height: 340px; padding: 40px 52px; background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 4px;
  font-size: 13.5px; line-height: 1.8; color: var(--cl-ink-soft); counter-reset: ecsec; }
.doc-rich h2 { position: relative; font: 400 26px/1.15 var(--cl-display); color: var(--cl-ink); margin: 30px 0 8px; counter-increment: ecsec; }
.doc-rich h2:first-child { margin-top: 0; }
.doc-rich h2::before { content: counter(ecsec, decimal-leading-zero); display: block; color: var(--cl-gold); font: 700 11px var(--cl-sans);
  letter-spacing: .15em; margin-bottom: 4px; }
.doc-rich h2.doc-sec-dim { counter-increment: none; }
.doc-rich h2.doc-sec-dim::before { content: "—"; color: var(--cl-ink-faint); }
.doc-rich h2::after { content: ""; display: block; height: 2px; width: 48px; background: var(--cl-gold); margin-top: 8px; border-radius: 1px; }
.doc-rich h3 { font: 600 17px var(--cl-display); color: var(--cl-ink); margin: 18px 0 6px; }
.doc-rich p { margin: 0 0 12px; }
.doc-rich ul, .doc-rich ol { margin: 0 0 12px 22px; }
.doc-rich li { margin-bottom: 5px; }
.doc-rich .doc-eye { position: absolute; left: -38px; top: 24px; }
.doc-rich .doc-eye.is-off { opacity: .55; }
/* The AI bar under the document (P:3657-3677), and the ✦ under each eye that scopes it to one section. */
.doc-rich .doc-ai-sec { position: absolute; left: -38px; top: 56px; font-size: 12px; line-height: 1; color: var(--cl-gold-deep); }
.doc-ai-bar { background: var(--cl-cream); border: 1px solid var(--cl-line); border-top: 0; border-radius: 0 0 4px 4px; padding: 10px 12px; }
.doc-ai-row { flex-wrap: wrap; }
.doc-ai-label { color: var(--cl-gold-deep); }
.doc-ai-scope { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 2px 0 10px; border-radius: 999px;
  background: var(--cl-sage-wash); color: var(--cl-ink); font-size: 11px; font-weight: 600; }
.doc-ai-scope .icon-btn { width: 24px; height: 24px; }
.doc-ai-preset { max-width: 220px; font-size: 12px; }
.doc-ai-custom { flex: 1; min-width: 200px; font-size: 12px; }
.doc-ai-status { font-size: 11px; margin: 6px 0 0; }
.doc-ai-status a { color: var(--cl-gold-deep); }
.doc-rich [contenteditable="true"] { outline: none; }
.doc-rich [contenteditable="true"]:hover { outline: 1px dashed var(--cl-sage); outline-offset: 6px; border-radius: 2px; }
.doc-rich [contenteditable="true"]:focus { outline: 1.5px solid var(--cl-sage); outline-offset: 6px; border-radius: 2px; }
.doc-rich .doc-sec-dim { opacity: .4; }
.doc-hide-overlay { border: 1px dashed var(--cl-line); background: var(--cl-cream); color: var(--cl-ink-faint); border-radius: 8px; padding: 7px 14px;
  margin: 26px 0 10px; font: 600 9.5px var(--cl-mono); text-transform: uppercase; letter-spacing: .07em; cursor: pointer; text-align: center; }
.doc-hide-overlay:hover { color: var(--cl-forest); }
.doc-invest { margin-bottom: 16px; }
.doc-option { border: 1px solid var(--cl-line); border-radius: 4px; padding: 10px 12px; margin-bottom: 12px; }
.doc-option-head { margin-bottom: 8px; }
.doc-option .table { margin-bottom: 0; }
.doc-invest-table .doc-x-col { width: 26px; text-align: center; vertical-align: middle; }
.panel .doc-invest-table tfoot td { background: var(--cl-cream); font-size: 13px; }
.doc-detail { color: var(--cl-ink-faint); font-size: 11px; }
.doc-price { white-space: nowrap; font-weight: 700; color: var(--cl-forest); }
.doc-was { display: block; font-weight: 400; font-size: 11px; color: var(--cl-ink-faint); text-decoration: line-through; }
.doc-total-label { font: 9px var(--cl-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--cl-ink-faint); }
.doc-trade { color: var(--cl-sage-deep); }
.doc-gold { color: var(--cl-gold); }
.doc-faint { color: var(--cl-ink-faint); }
.doc-preview { width: 100%; height: 900px; border: 0; border-radius: 6px; background: var(--cl-white); }
.doc-ask { position: fixed; inset: 0; z-index: 100; background: var(--cl-scrim); display: flex; align-items: center; justify-content: center; padding: 20px; }
.doc-ask-box { background: var(--cl-white); box-shadow: var(--cl-shadow-float); border-radius: 4px; padding: 18px 20px; max-width: 420px; width: 100%; }
.doc-ask-title { font-weight: 700; color: var(--cl-ink); margin: 0 0 4px; }
.doc-ask-ticks { margin: 0 0 14px; }
.doc-ask-actions { justify-content: flex-end; margin: 0; }
.notes-box { color: var(--cl-ink-soft); font: 12.5px/1.7 var(--cl-sans); white-space: pre-wrap; }

/* The signing page: the client's view, carrying the tenant's brand (--brand). */
.sign-page { min-height: 100vh; background: var(--cl-paper); padding: 24px 16px 64px; }
.sign-card { max-width: 760px; margin: 0 auto; background: var(--cl-white); border-radius: 8px; padding: 40px clamp(20px, 5vw, 56px); }
.sign-head { border-bottom: 2px solid var(--brand, var(--cl-ink)); padding-bottom: 16px; margin-bottom: 20px; }
.sign-brand { font: 700 12px var(--cl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand, var(--cl-ink)); margin: 0; }
.sign-addr, .sign-meta { font-size: 13px; color: var(--cl-ink-faint); margin: 4px 0 0; }
.sign-head h1 { font-size: 26px; margin-top: 12px; }
.sign-doc { font: 17px/1.65 Georgia, "Times New Roman", serif; color: var(--cl-ink); }
.sign-doc h2 { font: 700 15px var(--cl-sans); text-transform: uppercase; letter-spacing: .04em; color: var(--brand, var(--cl-ink)); margin: 24px 0 8px; }
.sign-doc h3 { font: 700 15px var(--cl-sans); margin: 16px 0 6px; }
.sign-doc .li { padding-left: 16px; }
.sign-section { border: 0; border-top: 1px solid var(--cl-line); padding: 20px 0 0; margin: 24px 0 0; display: grid; gap: 10px; }
.sign-section legend, .sign-section h2 { font-weight: 700; font-size: 16px; padding: 0; }
.sign-form label { color: var(--cl-ink); }
/* The pricing table (columa_agr_items_html): the accent from --brand, a discount in WordPress's own green (a client page, not admin). */
.sign-pricing { margin: 24px 0; }
.sign-pricing h2 { font-size: 16px; margin: 0 0 10px; }
.sign-pricing h3 { font-size: 14px; margin: 18px 0 6px; }
.sign-pricing-when, .sign-pricing-sub, .sign-pricing-tax { font-weight: 400; font-size: 12px; color: var(--cl-ink-faint); }
.sign-pricing-tax { font-size: 11px; }
.sign-pricing-intro { margin: 0 0 14px; font-size: 13px; }
.sign-pricing-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sign-pricing-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--brand, var(--cl-ink)); font-size: 12px; color: var(--cl-ink-faint); }
.sign-pricing-table th:first-child { text-transform: uppercase; letter-spacing: .04em; }
.sign-pricing-table tbody td { padding: 8px 10px; border-bottom: 1px solid var(--cl-line); vertical-align: top; }
.sign-pricing-table .c { text-align: center; }
.sign-pricing-table .r { text-align: right; }
.sign-pricing-table .amt { white-space: nowrap; font-weight: 600; }
.sign-pricing-table tfoot td { padding: 8px 10px; text-align: right; font-weight: 700; }
.sign-pricing-table tfoot .is-accent td { color: var(--brand, var(--cl-ink)); }
.sign-pricing .is-discount { color: #1a7f37; }
.sign-pricing-trade { font-size: 12px; font-weight: 700; color: var(--cl-sage); }
.sign-pricing-due { margin: 14px 0 0; padding: 10px 12px; background: var(--cl-linen); border-left: 3px solid var(--brand, var(--cl-ink)); font-size: 13.5px; }
.sign-btn { height: 44px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--brand, var(--cl-forest)); color: var(--cl-white);
  font: 700 16px var(--cl-sans); cursor: pointer; justify-self: start; }
.sign-foot { margin-top: 32px; font-size: 12px; color: var(--cl-ink-faint); }
.sig { display: grid; gap: 8px; }
.sig-tabs { display: flex; gap: 4px; }
.sig-tabs button { height: 32px; padding: 0 14px; border: 1px solid var(--cl-line); background: var(--cl-card); border-radius: 4px; cursor: pointer; font: inherit; }
.sig-tabs button.on { border-color: var(--cl-ink); font-weight: 700; }
.sig-typed { min-height: 72px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--cl-ink);
  font: italic 34px "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; color: var(--cl-ink); }
.sig-canvas { width: 100%; height: 140px; border: 1px dashed var(--cl-ink-faint); border-radius: 4px; touch-action: none; background: var(--cl-card); }
.sig-clear { justify-self: start; background: none; border: 0; color: var(--cl-forest); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
@media (max-width: 520px) { .sign-card { padding: 24px 16px; } }
button.chip { border: 0; cursor: pointer; font: inherit; }
/* The builder's contact picker: a result row lifts one level on hover. */
.crm-row:hover, .crm-row:focus-visible { background: var(--cl-linen) !important; }

/* The Deals board (includes/columa-deals-board.php:542-625): five columns that
 * fit the page, linen sections with a cream head, level-3 cards inside. */
.page--wide { max-width: 1560px; }
.deals-figures { display: flex; gap: 36px; flex-wrap: wrap; margin-right: 12px; }
.deals-fig { display: flex; flex-direction: column; gap: 2px; }
.deals-fig-label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--cl-ink-faint); }
.deals-fig-num { font: 500 21px var(--cl-mono); color: var(--cl-ink); letter-spacing: -.02em; white-space: nowrap; }
.deals-fig-num.deals-gold { color: var(--cl-gold); }
.deals-fig-split { font: 10px var(--cl-mono); color: var(--cl-ink-faint); white-space: nowrap; }
.deals-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 0 0 14px; border-bottom: 1px solid var(--cl-line); }
.deals-search { flex: 0 1 260px; height: 30px; border-radius: 999px; padding: 0 14px; font-size: 13px; }
.deals-rep { height: 30px; border-radius: 999px; padding: 0 14px; font-size: 13px; max-width: 220px; }
.deals-seg { margin: 0 0 0 auto; }
.deals-hint { flex-basis: 100%; font-size: 11.5px; color: var(--cl-ink-faint); padding-top: 6px; }
.deals-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; padding-top: 16px; }
@media (max-width: 1080px) {
  .deals-board { display: flex; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .deals-col { flex: 0 0 236px; }
}
.deals-col { border: 1px solid var(--cl-line); border-radius: 4px; background: var(--cl-linen); display: flex; flex-direction: column;
  height: var(--deals-col-h, calc(100vh - 260px)); min-height: 320px; min-width: 0; }
.deals-col.is-over { outline: 2px solid var(--cl-sage); outline-offset: -2px; }
.deals-col-head { padding: 11px 12px 9px; display: flex; align-items: baseline; gap: 8px; background: var(--cl-cream); border-bottom: 1px solid var(--cl-line); }
.deals-col-name { font: 500 11px var(--cl-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cl-forest);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deals-col--won .deals-col-name { color: var(--cl-gold); }
.deals-cards { padding: 10px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 8px; flex: 1; scrollbar-width: thin; min-height: 50px; }
.deals-card { background: var(--cl-card); border: 1px solid var(--cl-line); border-radius: 4px; padding: 10px 12px; cursor: grab; overflow-wrap: anywhere; min-width: 0; }
.deals-card:active { cursor: grabbing; }
.deals-card.is-ghost { opacity: .45; }
.deals-card.is-pinned { cursor: default; }
.deals-card[hidden], .deals-list tr[hidden] { display: none; }
.deals-card-co { font-size: 13.5px; font-weight: 600; color: var(--cl-ink); line-height: 1.3; }
.deals-card-co a, .deals-card-sub a, .deals-muted a, .deals-row-name { color: inherit; text-decoration: none; }
.deals-card-co a:hover, .deals-card-sub a:hover, .deals-muted a:hover, .deals-row-name:hover { color: var(--cl-forest); text-decoration: underline; }
.deals-row-name { font-weight: 600; }
.deals-card-sub { font-size: 11.5px; color: var(--cl-ink-soft); margin-top: 1px; }
.deals-card-amt { font: 12.5px var(--cl-mono); color: var(--cl-forest); margin-top: 6px; }
.deals-meta { margin-left: 6px; font: 10px var(--cl-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cl-ink-faint); }
.deals-quiet { margin-left: 6px; font-size: 10px; line-height: 18px; vertical-align: 1px; color: var(--cl-gold-deep); }
.deals-card-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 10.5px; color: var(--cl-ink-faint); }
.deals-col-foot { border-top: 1px solid var(--cl-line); padding: 8px 12px 10px; }
.deals-foot-total { font: 11.5px var(--cl-mono); color: var(--cl-forest); }
.deals-foot-weighted { font: 10px var(--cl-mono); color: var(--cl-ink-faint); margin-top: 2px; white-space: pre; }
.deals-empty { font-size: 12px; color: var(--cl-ink-faint); font-style: italic; padding: 8px 2px; }
.deals-list { display: none; padding-top: 16px; }
.deals--list .deals-board { display: none; }
.deals--list .deals-list { display: block; }
.deals-td-amt { font-family: var(--cl-mono); white-space: nowrap; }
.deals-td-stage { font: 11px var(--cl-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cl-ink-soft); white-space: nowrap; }
.deals-muted { color: var(--cl-ink-faint); font-size: 12px; }
.deals-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--cl-white); color: var(--cl-ink);
  border: 1px solid var(--cl-line); font-size: 12.5px; border-radius: 4px; padding: 9px 16px; box-shadow: var(--cl-shadow-float);
  opacity: 0; transition: opacity .2s ease; pointer-events: none; z-index: 9999; max-width: 480px; }
.deals-toast.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .deals-toast { transition: none; } }

/* The Pricing Calculator (includes/columa-deal-scoring.php:937-1033): the
 * sticky score band in linen, card-level options and rungs, the selected one in
 * sage-wash. Gold is the page's one accent: the live fee, the scale, the
 * rationale ticks. */
.cs-standfirst { max-width: 62ch; color: var(--cl-ink-soft); margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.cs-band { position: sticky; top: 0; z-index: 20; background: var(--cl-linen); border-top: 1px solid var(--cl-hairline-soft); border-bottom: 1px solid var(--cl-hairline-soft); padding: 14px 16px; margin: 0 -16px; }
.cs-band-inner { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: baseline; }
.cs-band-item { display: flex; flex-direction: column; gap: 2px; }
.cs-band-item.cs-grow { flex: 1 1 240px; min-width: 210px; }
.cs-band-label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--cl-ink-faint); }
.cs-band-figure { font: 500 26px var(--cl-mono); color: var(--cl-ink); letter-spacing: -.02em; }
.cs-band-figure.cs-live { color: var(--cl-gold); }
.cs-band-sub { font: 11px var(--cl-mono); color: var(--cl-ink-faint); }
.cs-scale { margin-top: 10px; }
.cs-scale-track { position: relative; height: 2px; background: var(--cl-hairline); }
.cs-scale-fill { position: absolute; left: 0; top: 0; height: 2px; background: var(--cl-gold); transition: width .35s ease; }
.cs-scale-marker { position: absolute; top: -5px; width: 2px; height: 12px; background: var(--cl-forest); transition: left .35s ease; }
.cs-scale-ticks { display: flex; justify-content: space-between; margin-top: 6px; }
.cs-scale-ticks span { font: 10px var(--cl-mono); color: var(--cl-ink-faint); }
.cs-approval { margin-top: 10px; }
.cs-approval-inner { background: var(--cl-gold-wash); border: 1px solid var(--cl-gold); border-radius: 6px; padding: 9px 14px; font-size: 12.5px; color: var(--cl-ink); }
.cs-block { padding: 34px 0 10px; border-bottom: 1px solid var(--cl-hairline); }
.cs-block-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 4px; }
.cs-numeral { font: 11px var(--cl-mono); color: var(--cl-ink-faint); letter-spacing: .12em; min-width: 30px; }
.cs-block h2 { font-weight: 500; color: var(--cl-ink); font-size: 15px; margin: 0; line-height: 1.3; }
.cs-block-note { color: var(--cl-ink-soft); font-size: 13px; margin: 2px 0 20px 44px; max-width: 64ch; line-height: 1.55; }
.cs-line-note { margin-top: 12px; }
.cs-factor { padding: 16px 0; border-top: 1px solid var(--cl-hairline); }
.cs-factor:first-of-type { border-top: none; }
.cs-factor-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.cs-factor-q { color: var(--cl-ink); font-size: 14.5px; font-weight: 600; }
.cs-weighted { margin-left: 8px; vertical-align: 2px; white-space: nowrap; text-transform: uppercase; letter-spacing: .1em; font: 400 10px var(--cl-mono); color: var(--cl-ink-faint); }
.cs-factor-hint { display: block; font-size: 12px; color: var(--cl-ink-faint); font-weight: 400; margin-top: 3px; max-width: 68ch; line-height: 1.5; }
.cs-factor-score { font: 12px var(--cl-mono); color: var(--cl-ink-faint); white-space: nowrap; }
.cs-auto { margin: 0 0 8px; font-size: 11.5px; color: var(--cl-ink-soft); }
.cs-auto-badge { margin-right: 6px; }
.cs-sec-tag { margin-left: auto; font: 10px var(--cl-mono); color: var(--cl-ink-faint); white-space: nowrap; padding-top: 6px; }
.cs-scan { background: var(--cl-card); border: 1px solid var(--cl-hairline); border-radius: var(--cl-radius-sm); padding: 16px 18px; margin: 26px 0 4px; }
.cs-scan-label { font-size: 13px; font-weight: 600; color: var(--cl-ink); margin-bottom: 10px; }
.cs-scan-label span { font-weight: 400; font-size: 12px; color: var(--cl-ink-faint); margin-left: 8px; }
.cs-scan-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.cs-scan-row input { flex: 1; max-width: 480px; height: 30px; border-radius: 999px; padding: 0 14px; font-size: 13px; }
.cs-scan-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.cs-scan-status { font-size: 12px; color: var(--cl-ink-soft); }
.cs-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cl-hairline); border: 1px solid var(--cl-hairline); border-radius: 6px; overflow: hidden; }
.cs-opt { background: var(--cl-card); border: none; cursor: pointer; text-align: left; padding: 11px 12px 13px; color: var(--cl-ink); font: inherit; font-size: 13px; line-height: 1.35; transition: background .15s ease; display: flex; flex-direction: column; gap: 6px; min-height: 74px; }
.cs-opt:hover { background: var(--cl-linen); }
.cs-opt:focus-visible, .cs-mod:focus-visible { outline: 2px solid var(--cl-sage); outline-offset: -2px; }
.cs-opt .cs-pt { font: 9.5px var(--cl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-ink-faint); }
.cs-opt[aria-pressed="true"] { background: var(--cl-sage-wash); outline: 1px solid var(--cl-sage); outline-offset: -1px; }
.cs-opt[aria-pressed="true"] .cs-pt { color: var(--cl-forest); font-weight: 500; }
.cs-mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cl-hairline); border: 1px solid var(--cl-hairline); border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.cs-mod { background: var(--cl-card); border: none; cursor: pointer; text-align: left; padding: 13px 15px; color: var(--cl-ink); font: inherit; font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; transition: background .15s ease; }
.cs-mod:hover { background: var(--cl-linen); }
.cs-mod[aria-pressed="true"] { background: var(--cl-sage-wash); outline: 1px solid var(--cl-sage); outline-offset: -1px; }
.cs-mod-amt { font: 11.5px var(--cl-mono); color: var(--cl-ink-faint); white-space: nowrap; }
.cs-mod[aria-pressed="true"] .cs-mod-amt { color: var(--cl-forest); }
.cs-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cl-hairline); border: 1px solid var(--cl-hairline); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.cs-rung { background: var(--cl-card); padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.cs-rung.cs-mid { background: var(--cl-sage-wash); outline: 1px solid var(--cl-sage); outline-offset: -1px; }
.cs-rung-name { font: 500 10.5px var(--cl-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cl-forest); }
.cs-rung-fee { font: 24px var(--cl-mono); color: var(--cl-forest); letter-spacing: -.02em; }
.cs-rung-note { font-size: 12.5px; color: var(--cl-ink-soft); line-height: 1.5; }
.cs-rationale { margin: 26px 0 0; padding: 0; list-style: none; }
.cs-rationale li { padding: 9px 0 9px 20px; border-top: 1px solid var(--cl-hairline); position: relative; font-size: 13.5px; }
.cs-rationale li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 2px; background: var(--cl-gold); }
.cs-rationale li:last-child { border-bottom: 1px solid var(--cl-hairline); }
.cs-rationale li.cs-empty::before { display: none; }
.cs-empty { color: var(--cl-ink-faint); font-style: italic; padding: 12px 0; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.cs-skip { margin-left: auto; }
.cs-use-hint { flex-basis: 100%; font-size: 11.5px; color: var(--cl-ink-faint); }
.cs-line-result { display: flex; margin-top: 10px; gap: 8px; flex-wrap: wrap; align-items: center; }
.cs-rails { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 8px; }
.cs-rail h3 { font: 500 11px var(--cl-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cl-forest); margin: 0 0 2px; }
.cs-rail h3.cs-wax { color: var(--cl-danger); }
.cs-rail ul { margin: 0; padding: 0; list-style: none; }
.cs-rail li { padding: 9px 0; border-top: 1px solid var(--cl-hairline); font-size: 13px; line-height: 1.5; }
.cs-foot { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--cl-hairline); color: var(--cl-ink-faint); font-size: 12px; }
@media (max-width: 900px) {
  .cs-opts { grid-template-columns: repeat(2, 1fr); }
  .cs-ladder, .cs-mods, .cs-rails { grid-template-columns: 1fr; }
  .cs-block-note { margin-left: 0; }
  .cs-band-figure { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .cs-root * { transition: none !important; } }

/* Pricing Sync: the status bar and table (columa-pricing-sync.php's .psx-* and inline styles). */
.psx-stats { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.psx-stat { display: flex; flex-direction: column; gap: 2px; padding-right: 26px; border-right: 1px solid var(--cl-hairline); text-decoration: none; }
.psx-stat:last-of-type { border-right: 0; }
.psx-stat-n { font: 500 22px/1 var(--cl-mono); letter-spacing: -.02em; color: var(--cl-ink); }
.psx-stat-of { font-size: 14px; color: var(--cl-ink-faint); }
.psx-stat-l { font: 500 10px/1.4 var(--cl-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cl-ink-faint); }
a.psx-stat:hover .psx-stat-l { color: var(--cl-ink-soft); }
.psx-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--cl-hairline); }
.psx-note { font-size: 12px; color: var(--cl-ink-faint); }
.psx-refresh { margin-left: auto; }
.psx-rule { border-left: 1px solid var(--cl-hairline); height: 22px; }
.psx-detail { color: var(--cl-ink-faint); font-size: 11px; margin-top: 2px; max-width: 34em; }
.psx-faint { color: var(--cl-ink-faint); }
.psx-quiet { color: var(--cl-ink-faint); font-size: 11px; font-style: italic; }
.psx-just { color: var(--cl-sage-deep); font-size: 11px; font-weight: 700; white-space: nowrap; }
.psx-hint { color: var(--cl-ink-faint); font-size: 9.5px; margin-top: 3px; }
.psx-browse { max-height: 420px; overflow-y: auto; border: 1px solid var(--cl-hairline); border-radius: 8px; }
.psx-browse .table { margin-bottom: 0; }
.psx-browse .table th { position: sticky; top: 0; }

/* Settings → Invoicing: one tile per provider, plus Follow-up invoices (columa-quickbooks.php's .columa-pay-tile). */
.pay-tiles { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 22px; border: 0; padding: 0; min-width: 0; }
.pay-tile { width: 250px; text-align: left; background: var(--cl-card); border: 1px solid var(--cl-hairline); border-radius: var(--cl-radius-sm); padding: 14px 16px; cursor: pointer; box-shadow: none; vertical-align: top; color: var(--cl-ink); font: inherit; }
.pay-tile:hover { background: var(--cl-linen); }
.pay-tile.is-active { background: var(--cl-sage-wash); border-color: var(--cl-sage); }
.pay-tile:disabled { cursor: default; }
.pay-tile-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pay-tile-name .status { margin-left: auto; }
.pay-tile-state { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-tile-note { display: block; margin-top: 8px; color: var(--cl-ink-soft); font-size: 12px; line-height: 1.45; }
/* The signer's pay link on the signed page (columa-agreements.php:1823-1827). */
.sign-pay { margin-top: 22px; }
.sign-pay a.sign-btn { display: inline-flex; align-items: center; text-decoration: none; }
/* The executed link (columa-agreements.php:1826-1860): the billing-department form and its notices, the PDF
   download, and the signature record under the document. Front end: the tenant's brand, not the admin's rules. */
.sign-billing { margin-top: 26px; border: 1px solid var(--cl-line); border-radius: 8px; padding: 16px 18px; background: var(--cl-white); }
.sign-billing-title { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.sign-billing-sub { font-size: 13px; color: var(--cl-ink-faint); margin: 0 0 10px; }
.sign-billing-form { display: flex; gap: 8px; flex-wrap: wrap; }
.sign-billing-form input { flex: 1; min-width: 220px; height: 44px; padding: 0 12px; border: 1px solid var(--cl-line); border-radius: 6px; font-size: 14px; }
.sign-notice { font-size: 14px; border-radius: 8px; padding: 12px 14px; margin-top: 20px; }
.sign-notice--done { background: #f0fdf4; border: 1px solid #d1fae5; }
.sign-notice--warn { background: #fef3c7; border: 1px solid #fcd34d; }
.sign-dl-row { margin: 14px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--cl-line); }
.sign-dl { display: inline-flex; align-items: center; height: 36px; padding: 0 20px; border-radius: 999px; background: var(--brand, var(--cl-gold)); color: var(--cl-white);
  font-size: 13px; font-weight: 600; text-decoration: none; }
.sign-record { margin-top: 28px; border-top: 1px solid var(--cl-line); padding-top: 4px; }
.sign-record h2 { font-size: 15px; margin: 20px 0 14px; }
.sign-record-block { margin: 0 0 22px; }
.sign-record-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--cl-ink-faint); margin: 0 0 4px; }
.sign-record-sig { font: italic 26px/1.3 Georgia, "Times New Roman", serif; margin: 0; padding-bottom: 2px; border-bottom: 1px solid var(--cl-ink); max-width: 280px; }
.sign-record-who { font-size: 14px; margin: 6px 0 0; }
.sign-record-when, .sign-record-foot { font-size: 12px; color: var(--cl-ink-faint); margin: 4px 0 0; }
.sign-record-foot { margin-top: 18px; border-top: 1px solid var(--cl-line); padding-top: 10px; }

/* Score: a percentage in four bands (Accessibility: share of scanned pages passing every automated check). */
.score { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font: 500 12px/1.3 var(--cl-mono); white-space: nowrap; }
.score--good { background: var(--cl-score-good); color: var(--cl-forest-deep); }
.score--fair { background: var(--cl-score-orange); color: var(--cl-score-orange-text); }
.score--weak { background: var(--cl-score-yellow); color: var(--cl-score-yellow-text); }
.score--poor { background: var(--cl-score-red); color: var(--cl-score-red-text); }

/* =========================================================
   The page frame: WordPress's admin, as the Columa plugin sat in it
   (Jake, 2026-11-18: "the interface needs to look like the WP Dashboard").
   components/admin-shell.tsx draws it for a signed-in member; the sign-in
   page and a client's signing page never have it.

   Two parts. The frame (.wp-*) is WordPress's own chrome: the dark bar and the
   dark menu, with Columa's green for the place you are. The screen inside it
   (.columa-admin) is the plugin's kit, columa-core/assets/css/columa-admin.css:
   the same tokens, with its type, buttons, tabs, tables and panels given to
   the app's own classes. Nothing outside the frame is restyled.
   ========================================================= */

/* The plugin's bundled fonts (assets/fonts, latin woff2). Named apart from the
   families the tokens above ask for, so a page outside the frame keeps the
   type it had. */
@font-face { font-family: "Columa Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Columa Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Columa Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Columa Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Columa Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/playfair-display-400.woff2") format("woff2"); }

.wp {
  /* WordPress's default admin greys, the frame's alone. The place you are is Columa's forest green and a
     pointed-at line its light sage, where WordPress has two blues (Jake, 2026-11-18: "Columa green"). */
  --wp-dark: #1d2327;
  --wp-sub: #2c3338;
  --wp-text: #f0f0f1;
  --wp-dim: rgba(240, 246, 252, .7);
  --wp-icon: rgba(240, 246, 252, .6);
  --wp-accent: #475130;
  --wp-hover: #c3d08f;
  --wp-bar-h: 32px;
  --wp-menu-w: 160px;
  --wp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  /* The kit's type, for everything in the frame. */
  --cl-sans: "Columa Sans", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --cl-mono: "Columa Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --cl-display: "Columa Display", "Playfair Display", Georgia, serif;
  --cl-ink-hint: #ABAD9E;
  --cl-sage-soft: #808E57;
  --cl-gold-text: #7A5A28;
  --cl-focus: 0 0 0 2px var(--cl-paper), 0 0 0 4px var(--cl-sage);
  display: flex; align-items: flex-start; min-height: 100vh; padding-top: var(--wp-bar-h);
  /* The menu's column runs the whole height of the page, whatever the menu's own height (WordPress's #adminmenuback). */
  background: linear-gradient(to right, var(--wp-dark) 0, var(--wp-dark) var(--wp-menu-w), transparent var(--wp-menu-w));
}
.wp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wp-skip { position: fixed; z-index: 100000; top: 7px; left: 6px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--wp-text); color: var(--wp-accent); font: 600 14px var(--wp-font); text-decoration: none; }
.wp-skip:focus { width: auto; height: auto; padding: 10px 16px; clip-path: none; box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6); }

/* ---------- the bar ---------- */
.wp-bar { position: fixed; z-index: 9999; top: 0; left: 0; right: 0; height: var(--wp-bar-h); display: flex; align-items: stretch;
  background: var(--wp-dark); color: var(--wp-text); font: 400 13px/var(--wp-bar-h) var(--wp-font); }
.wp-bar__item { position: relative; display: flex; min-width: 0; }
.wp-bar__item--right { margin-left: auto; }
.wp-bar__link { display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--wp-text); text-decoration: none; white-space: nowrap; min-width: 0; }
.wp-bar__link span { overflow: hidden; text-overflow: ellipsis; }
.wp-bar__item:hover > .wp-bar__link, .wp-bar__item:focus-within > .wp-bar__link { background: var(--wp-sub); color: var(--wp-hover); }
.wp-leaf { width: 20px; height: 20px; flex: none; fill: currentColor; color: var(--wp-icon); }
.wp-bar__item:hover .wp-leaf, .wp-bar__item:focus-within .wp-leaf { color: var(--wp-hover); }
.wp-bar__note { align-self: center; margin-left: 8px; padding: 0 8px; line-height: 20px; border-radius: 2px; background: #dba617; color: var(--wp-dark); font-size: 12px; white-space: nowrap; }
.wp-bar__drop { display: none; position: absolute; top: var(--wp-bar-h); left: 0; min-width: 100%; margin: 0; padding: 6px 0; list-style: none; background: var(--wp-sub); box-shadow: 0 3px 5px rgba(0, 0, 0, .2); }
.wp-bar__drop--right { left: auto; right: 0; }
.wp-bar__item--menu:hover > .wp-bar__drop, .wp-bar__item--menu:focus-within > .wp-bar__drop { display: block; }
.wp-bar__drop a, .wp-bar__drop button { display: block; width: 100%; padding: 0 12px; border: 0; background: none; color: var(--wp-dim); font: 400 13px/26px var(--wp-font); text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; }
.wp-bar__drop a:hover, .wp-bar__drop a:focus, .wp-bar__drop button:hover, .wp-bar__drop button:focus { color: var(--wp-hover); }
.wp-bar__drop form { margin: 0; }
.wp-bar__toggle { display: none; width: 52px; padding: 0; border: 0; background: none; color: var(--wp-icon); cursor: pointer; }
.wp-bar__toggle svg { width: 28px; height: 28px; fill: currentColor; }
.wp-bar a:focus-visible, .wp-bar button:focus-visible, .wp-menu a:focus-visible, .wp-menu button:focus-visible { outline: 2px solid var(--wp-hover); outline-offset: -2px; }

/* ---------- the menu ---------- */
.wp-menu { position: sticky; z-index: 9990; top: var(--wp-bar-h); flex: none; width: var(--wp-menu-w); background: var(--wp-dark); font-family: var(--wp-font); }
/* A window too short for the menu lets it scroll with the page, as WordPress does. */
@media (max-height: 640px) { .wp-menu { position: relative; top: 0; } }
.wp-menu__list { margin: 12px 0 0; padding: 0; list-style: none; }
.wp-menu__top { position: relative; margin: 0; }
.wp-menu__top--sep { margin-top: 11px; }
.wp-menu__name { display: flex; align-items: flex-start; min-height: 34px; color: var(--wp-text); font-size: 14px; line-height: 18px; text-decoration: none; }
.wp-menu__icon { flex: none; display: grid; place-items: center; width: 36px; height: 34px; color: var(--wp-icon); }
.wp-menu__icon svg { width: 20px; height: 20px; fill: currentColor; }
.wp-menu__label { padding: 8px 8px 8px 0; }
.wp-menu__top:hover > .wp-menu__name, .wp-menu__top:focus-within > .wp-menu__name { color: var(--wp-hover); }
.wp-menu__top:hover .wp-menu__icon, .wp-menu__top:focus-within .wp-menu__icon { color: var(--wp-hover); }
.wp-menu__top.is-current > .wp-menu__name { background: var(--wp-accent); color: #fff; }
.wp-menu__top.is-current .wp-menu__icon { color: #fff; }
/* The notch that points the current menu at the page. */
.wp-menu__top.is-current > .wp-menu__name::after { content: ""; position: absolute; right: 0; top: 9px; border: 8px solid transparent; border-right-color: var(--cl-paper); pointer-events: none; }
.wp-menu__top.is-current > .wp-menu__name { position: relative; }

.wp-menu__sub { display: none; position: absolute; z-index: 9999; top: 0; left: var(--wp-menu-w); min-width: 160px; margin: 0; padding: 7px 0 8px; list-style: none; background: var(--wp-sub); box-shadow: 0 3px 5px rgba(0, 0, 0, .2); }
.wp-menu__top:hover > .wp-menu__sub, .wp-menu__top:focus-within > .wp-menu__sub { display: block; }
.wp-menu__top.is-current > .wp-menu__sub { display: block; position: static; min-width: 0; box-shadow: none; }
.wp-menu__sub a { display: block; padding: 5px 12px; color: var(--wp-dim); font-size: 13px; line-height: 1.4; text-decoration: none; }
.wp-menu__sub a:hover, .wp-menu__sub a:focus { color: var(--wp-hover); }
.wp-menu__sub a.is-current { color: #fff; font-weight: 600; }
.wp-menu__subhead { display: none; padding: 5px 12px; color: var(--wp-text); font-size: 14px; font-weight: 400; line-height: 1.4; }

.wp-bubble { display: inline-block; min-width: 18px; height: 18px; margin: 0 0 0 6px; padding: 0 5px; border-radius: 9px; background: #d63638; color: #fff; font-size: 11px; font-weight: 400; line-height: 18px; text-align: center; vertical-align: top; box-sizing: border-box; }
.wp-menu__collapse { display: flex; align-items: center; width: 100%; height: 34px; margin: 12px 0 0; padding: 0; border: 0; background: none; color: #a7aaad; font: 400 13px/34px var(--wp-font); cursor: pointer; text-align: left; }
.wp-menu__collapse svg { flex: none; width: 20px; height: 20px; margin: 0 8px; fill: currentColor; transition: transform .1s; }
.wp-menu__collapse .wp-menu__label { padding: 0; }
.wp-menu__collapse:hover { color: var(--wp-hover); }
.wp-scrim { display: none; }

/* Collapsed to its icons: every submenu flies out, under its group's name. */
.wp--folded { --wp-menu-w: 36px; }
.wp--folded .wp-menu__name .wp-menu__label, .wp--folded .wp-menu__collapse .wp-menu__label { display: none; }
.wp--folded .wp-menu__collapse svg { transform: rotate(180deg); }
.wp--folded .wp-menu__top.is-current > .wp-menu__sub { display: none; position: absolute; min-width: 160px; box-shadow: 0 3px 5px rgba(0, 0, 0, .2); }
.wp--folded .wp-menu__top.is-current:hover > .wp-menu__sub, .wp--folded .wp-menu__top.is-current:focus-within > .wp-menu__sub { display: block; }
.wp--folded .wp-menu__subhead { display: block; }
.wp--folded .wp-menu__top.is-current > .wp-menu__name::after { display: none; }

/* ---------- the screen ---------- */
.wp-content { position: relative; z-index: 2; flex: 1; min-width: 0; min-height: calc(100vh - var(--wp-bar-h)); }

/* A phone: a taller bar with a menu button, and the menu slides over the page with every group open. */
@media (max-width: 782px) {
  .wp { --wp-bar-h: 46px; --wp-menu-w: 190px; display: block; background: none; }
  .wp-bar { font-size: 14px; }
  .wp-bar__toggle { display: grid; place-items: center; }
  .wp-bar__toggle[aria-expanded="true"] { background: var(--wp-sub); color: var(--wp-hover); }
  .wp-bar__who { max-width: 38vw; display: inline-block; vertical-align: bottom; }
  .wp-bar__note { display: none; }
  .wp-menu { position: fixed; top: var(--wp-bar-h); bottom: 0; left: 0; overflow-y: auto; transform: translateX(-100%); visibility: hidden; }
  .wp--open .wp-menu { transform: none; visibility: visible; }
  .wp-menu__name { font-size: 16px; line-height: 24px; }
  .wp-menu__icon { height: 40px; }
  .wp-menu__label { padding: 8px 8px 8px 0; }
  .wp-menu__sub, .wp-menu__top.is-current > .wp-menu__sub { display: block; position: static; box-shadow: none; padding: 4px 0 8px; }
  .wp-menu__sub a { padding: 9px 12px 9px 36px; font-size: 15px; }
  .wp-menu__top.is-current > .wp-menu__name::after, .wp-menu__collapse { display: none; }
  .wp--open .wp-scrim { display: block; position: fixed; z-index: 9980; inset: var(--wp-bar-h) 0 0 0; border: 0; padding: 0; background: rgba(0, 0, 0, .45); }
  /* The collapse choice is a desk's: a phone always has the full menu. */
  .wp--folded .wp-menu__name .wp-menu__label { display: block; }
  .wp--folded .wp-menu__subhead { display: none; }
  .wp--folded .wp-menu__top.is-current > .wp-menu__sub { display: block; position: static; box-shadow: none; }
}
@media print {
  .wp { display: block; padding-top: 0; background: none; }
  .wp-bar, .wp-menu, .wp-skip, .wp-scrim { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .wp-menu__collapse svg { transition: none; } }

/* =========================================================
   The screen inside the frame: the plugin's kit on the app's classes.
   Each rule names the kit rule it copies (columa-admin.css).
   ========================================================= */

/* base (.columa-admin) */
.columa-admin { font-family: var(--cl-sans); font-size: 14px; line-height: 1.5; color: var(--cl-ink); background: var(--cl-paper); }
.columa-admin [hidden] { display: none !important; }
.columa-admin a { color: var(--cl-forest); }
.columa-admin a:hover { color: var(--cl-forest-deep); }
/* the page (.wrap): off the menu's edge by WordPress's 20px, 1140 wide */
.columa-admin .page { max-width: 1140px; margin: 0; padding: 20px 20px 48px 22px; }
.columa-admin .page.page--wide { max-width: none; }

/* the title (.cl-crumb, h1.cl-title): mono crumb, display title, 60px of gold under it */
.columa-admin .page-head { align-items: flex-start; padding-bottom: 0; margin-bottom: 18px; border-bottom: 0; }
.columa-admin .eyebrow { font: 500 11px/1.4 var(--cl-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-ink-faint); }
.columa-admin h1 { position: relative; font-family: var(--cl-display); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; margin: 6px 0 0; padding-bottom: 14px; }
.columa-admin h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 2px; background: var(--cl-gold); }
.columa-admin h2 { font-family: var(--cl-sans); font-weight: 500; font-size: 15px; color: var(--cl-ink); }
.columa-admin h3 { font-family: var(--cl-sans); font-weight: 500; }
.columa-admin .count { font-family: var(--cl-mono); font-size: 11px; letter-spacing: .04em; color: var(--cl-ink-faint); }

/* panels (.postbox): linen, a hairline, and the heading as the cream band across the top */
.columa-admin .panel { background: var(--cl-linen); border: 1px solid var(--cl-hairline-soft); border-radius: var(--cl-radius-sm); }
.columa-admin .panel > h2:first-child { margin: -20px -20px 16px; padding: 9px 14px; background: var(--cl-cream); border-bottom: 1px solid var(--cl-hairline);
  border-radius: var(--cl-radius-sm) var(--cl-radius-sm) 0 0; font: 500 11px/1.5 var(--cl-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cl-ink-soft); }
/* empty state (.cl-empty) */
.columa-admin .empty { padding: 44px 24px; background: var(--cl-card); border: 1px dashed var(--cl-hairline); border-radius: 0; color: var(--cl-ink-soft); }
/* notices (.notice): a card with its colour down the left */
.columa-admin .note { background: var(--cl-card); border: 1px solid var(--cl-hairline); border-left-width: 3px; border-left-color: var(--cl-sage); border-radius: var(--cl-radius-sm); font-size: 13px; }
.columa-admin .note--error { border-left-color: var(--cl-danger); background: var(--cl-card); }
.columa-admin .note--warn { border-left-color: var(--cl-ember); background: var(--cl-card); color: var(--cl-ember-deep); }
.columa-admin .note--done { border-left-color: var(--cl-sage); }
.columa-admin .banner { border: 1px solid var(--cl-hairline); border-left: 3px solid var(--cl-ember); border-radius: var(--cl-radius-sm); background: var(--cl-card); font-size: 13px; }

/* buttons (.cl-btn): mono caps in a pill */
.columa-admin .btn { gap: 7px; height: 32px; padding: 0 16px; border-radius: 999px; font: 500 11px/1 var(--cl-mono); letter-spacing: .08em;
  transition: background-color 120ms, border-color 120ms, color 120ms, transform 120ms; }
.columa-admin .btn:active { transform: translateY(1px); }
.columa-admin .btn:disabled, .columa-admin .btn[aria-disabled="true"] { opacity: .4; }
.columa-admin .btn--sm { height: 28px; padding: 0 12px; font-size: 10.5px; }
.columa-admin .btn--xs { height: 24px; padding: 0 10px; font-size: 10px; letter-spacing: .06em; }
.columa-admin .btn--primary { background: var(--cl-forest); color: var(--cl-cream-text); }
.columa-admin .btn--primary:hover { background: var(--cl-forest-deep); color: var(--cl-cream-text); }
.columa-admin .btn--gold { background: var(--cl-gold-deep); border-color: var(--cl-gold-deep); color: var(--cl-white); }
.columa-admin .btn--gold:hover { background: var(--cl-gold-text); border-color: var(--cl-gold-text); color: var(--cl-white); }
.columa-admin .btn--sage { background: var(--cl-sage); border-color: var(--cl-sage); color: var(--cl-white); }
.columa-admin .btn--sage:hover { background: var(--cl-sage-deep); border-color: var(--cl-sage-deep); color: var(--cl-white); }
.columa-admin .btn--ghost { border-color: var(--cl-hairline); color: var(--cl-forest); }
.columa-admin .btn--ghost:hover { border-color: var(--cl-sage-soft); background: var(--cl-sage-wash); color: var(--cl-forest); }
.columa-admin .btn--danger { border-color: var(--cl-danger); color: var(--cl-danger); }
.columa-admin .btn--danger:hover { background: var(--cl-danger-wash); color: var(--cl-danger); }
.columa-admin .btn--text { height: auto; padding: 0; border-radius: 0; font: 400 13px/1.5 var(--cl-sans); letter-spacing: 0; text-transform: none; color: var(--cl-forest); }
.columa-admin .btn--text:hover { text-decoration: underline; text-underline-offset: 3px; }
.columa-admin .icon-btn { border: 0; background: transparent; color: var(--cl-ink-faint); transition: background-color 120ms, color 120ms; }
.columa-admin .icon-btn:hover { background: var(--cl-sage-wash); color: var(--cl-forest); }
.columa-admin .icon-btn--danger { color: var(--cl-danger); }
.columa-admin .icon-btn--danger:hover { background: var(--cl-danger-wash); color: var(--cl-danger); }

/* fields (.cl-input, .cl-select): card at rest in a pill, cream when off; a textarea keeps square corners */
.columa-admin input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not([type=hidden]) {
  height: 30px; padding: 0 14px; border: 1px solid var(--cl-hairline); border-radius: 999px; background-color: var(--cl-card); color: var(--cl-ink); font: 400 13px var(--cl-sans); }
.columa-admin select { height: 30px; padding: 0 28px 0 14px; border: 1px solid var(--cl-hairline); border-radius: 999px; background-color: var(--cl-card); color: var(--cl-ink); font: 400 13px var(--cl-sans); }
.columa-admin textarea { border: 1px solid var(--cl-hairline); border-radius: var(--cl-radius-sm); background-color: var(--cl-card); color: var(--cl-ink); font-family: var(--cl-sans); font-size: 13px; line-height: 1.55; }
.columa-admin .textarea { font-family: var(--cl-mono); }
.columa-admin ::placeholder { color: var(--cl-ink-hint); opacity: 1; }
.columa-admin input:focus-visible, .columa-admin select:focus-visible, .columa-admin textarea:focus-visible,
.columa-admin .btn:focus-visible, .columa-admin .chip:focus-visible, .columa-admin .icon-btn:focus-visible { outline: none; border-color: var(--cl-sage-soft); box-shadow: var(--cl-focus); }
.columa-admin input:disabled, .columa-admin textarea:disabled, .columa-admin select:disabled,
.columa-admin input[readonly]:not([type=checkbox]):not([type=radio]), .columa-admin fieldset:disabled input, .columa-admin fieldset:disabled select, .columa-admin fieldset:disabled textarea { background-color: var(--cl-cream); color: var(--cl-ink-faint); }
.columa-admin input[type=checkbox], .columa-admin input[type=radio] { accent-color: var(--cl-forest); }
.columa-admin .table input:not([type=checkbox]):not([type=radio]), .columa-admin .table select { height: 28px; padding-left: 10px; padding-right: 10px; border-radius: var(--cl-radius-sm); }
.columa-admin .table select { padding-right: 22px; }
.columa-admin code { background: var(--cl-cream); }

/* tables (.cl-table): cream header, card rows, linen under the pointer, hairlines between */
.columa-admin .table { background: var(--cl-card); border: 1px solid var(--cl-hairline); font-size: 13px; }
.columa-admin .table th { padding: 9px 12px; background: var(--cl-cream); color: var(--cl-forest); border-bottom: 1px solid var(--cl-hairline); font: 500 10.5px/1.5 var(--cl-mono); letter-spacing: .12em; }
.columa-admin .table td { padding: 10px 12px; border-top: 0; border-bottom: 1px solid var(--cl-hairline-soft); vertical-align: middle; }
.columa-admin .table tr:last-child td { border-bottom: 0; }

/* the area's tabs (.cl-tabs, .cl-tab): folders on a rule, the open one lifted to the page's card */
.columa-admin .chips--tabs { gap: 3px; row-gap: 4px; align-items: flex-end; margin: 0 0 18px; border-bottom: 1px solid var(--cl-hairline); }
.columa-admin .chips--tabs .chip { height: 30px; padding: 0 11px; margin-bottom: -1px; background: var(--cl-linen); color: var(--cl-ink-soft);
  border: 1px solid var(--cl-hairline-soft); border-top: 2px solid var(--cl-hairline-soft); border-bottom-color: var(--cl-hairline); border-radius: var(--cl-radius-sm) var(--cl-radius-sm) 0 0;
  font: 400 11px/1 var(--cl-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: none; transition: background-color 120ms, color 120ms; }
.columa-admin .chips--tabs .chip:hover { background: var(--cl-card); color: var(--cl-forest); }
.columa-admin .chips--tabs .chip--on { background: var(--cl-card); color: var(--cl-forest); border-color: var(--cl-hairline); border-top-color: var(--cl-forest); border-bottom-color: var(--cl-card); }
/* views and filters (.cl-views, .cl-chip): quiet pills, the chosen one a card */
.columa-admin .chips:not(.chips--tabs) .chip { height: 26px; padding: 0 12px; border: 1px solid transparent; background: none; color: var(--cl-ink-soft); font-size: 13px; box-shadow: none; }
.columa-admin .chips:not(.chips--tabs) .chip:hover { background: var(--cl-sage-wash); color: var(--cl-forest); }
.columa-admin .chips:not(.chips--tabs) .chip--on { background: var(--cl-card); border-color: var(--cl-hairline); color: var(--cl-forest); }

/* the front page (WordPress's Dashboard): its panels as widgets, two or three across */
.columa-admin .dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.columa-admin .dash > .panel { margin: 0; display: flex; flex-direction: column; }
.columa-admin .dash > .panel > p { flex: 1; font-size: 13px; color: var(--cl-ink-soft); }
.columa-admin .dash > .panel .row { flex-wrap: wrap; }
.columa-admin .dash > .dash__wide { grid-column: 1 / -1; }
@media (max-width: 782px) { .columa-admin .page { padding: 16px 12px 40px; } }
