/* ─────────────────────────────────────────────────────────────
   Standard Land Company — Deal Desk
   Design system: cream/ink/red · Cormorant + DM Sans + JetBrains Mono
   Hairline rules, sharp corners, no shadows, no gradients.
   ───────────────────────────────────────────────────────────── */
:root {
  --red:        #C41E1E;
  --cream:      #F4F1EB;
  --cream-warm: #EDEAD3;
  --paper:      #FBF9F4;
  --ink:        #0F0F0F;
  --mid:        #6B6B6B;
  --mute:       #888;
  --hush:       #AAA;
  --border:     #E0DBD1;
  --rule-dark:  #1E1E1E;
  --clay:       #8C5A3B;
  --moss:       #4F5F2E;
  --sand:       #C8B991;
  --stone:      #7A7468;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "DM Sans", -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}
img { max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
[hidden] { display: none !important; }

.mono  { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.num   { font-family: var(--mono); font-size: 13px; letter-spacing: -0.2px; }
.red   { color: var(--red); }
.mute  { color: var(--mute); }

.eyebrow {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; color: var(--mute);
}
.eyebrow.red { color: var(--red); }

.btn-primary {
  background: var(--red); color: #fff;
  padding: 14px 24px; border-radius: 0;
  font-weight: 500; font-size: 13px; letter-spacing: 0.5px;
  transition: background 200ms;
}
.btn-primary:hover { background: #A31717; }
.btn-primary:disabled { background: var(--hush); cursor: default; }

.btn-quiet {
  border: 1px solid var(--border); background: var(--paper);
  padding: 8px 16px; font-size: 12px; font-weight: 500;
  transition: border-color 200ms, color 200ms;
}
.btn-quiet:hover { border-color: var(--ink); }

.link-btn {
  font-size: 12px; border-bottom: 1px solid var(--ink);
  padding-bottom: 1px; transition: color 200ms, border-color 200ms;
}
.link-btn:hover { color: var(--red); border-color: var(--red); }
.link-btn.danger:hover { color: var(--red); }

/* ── Sign in ────────────────────────────────────────────── */
.login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--cream);
}
.login-card {
  width: 380px; max-width: calc(100vw - 48px);
  background: var(--paper); border: 1px solid var(--border);
  padding: 48px;
}
.login-logo { height: 44px; margin-bottom: 24px; }
.login-title {
  font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1;
  margin: 8px 0 32px;
}
.login-title em { color: var(--red); }
.field { display: block; margin-bottom: 16px; }
.field span {
  display: block; font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--mute); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--border); background: #fff;
  padding: 10px 12px; border-radius: 0; outline: none;
  transition: border-color 200ms;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.login-error { color: var(--red); font-size: 12px; margin-bottom: 12px; }
.login form .btn-primary { width: 100%; margin-top: 8px; }

/* ── Top bar ────────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; gap: 40px;
  padding: 0 40px; height: 64px;
  background: var(--cream); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.topbar-brand { display: flex; align-items: center; gap: 14px; }
.topbar-brand img { height: 30px; }
.topbar-name { font-family: var(--serif); font-size: 19px; white-space: nowrap; }
.topbar-name em { color: var(--red); }
.topnav { display: flex; gap: 28px; flex: 1; }
.topnav a {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--mute); padding: 23px 0 20px; border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: var(--ink); border-bottom-color: var(--red); }
.topbar-user { display: flex; align-items: center; gap: 18px; }
.topbar-user .mono { font-size: 11px; color: var(--mute); }

main { max-width: 1280px; margin: 0 auto; padding: 40px 40px 96px; }

/* ── View header ────────────────────────────────────────── */
.view-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 8px 0 28px; }
.view-title { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.05; }
.view-title em { color: var(--red); }
.view-head-actions { display: flex; gap: 12px; align-items: center; }

/* ── Stats strip on ink ─────────────────────────────────── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: var(--cream); margin-bottom: 40px;
}
.stats-strip .cell { padding: 26px 28px; border-left: 1px solid var(--rule-dark); }
.stats-strip .cell:first-child { border-left: 0; }
.stats-strip .k {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px;
  color: var(--hush); margin-bottom: 8px;
}
.stats-strip .v { font-family: var(--serif); font-size: 34px; line-height: 1; }
.stats-strip .v em { font-style: italic; color: var(--red); }
.stats-strip .sub { font-family: var(--mono); font-size: 10px; color: var(--mute); margin-top: 8px; }

/* ── Tables ─────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--border); }
.tbl th {
  text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--mute); padding: 12px 14px;
  border-bottom: 1px solid var(--border); background: var(--paper);
  white-space: nowrap;
}
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .deal-name { font-weight: 500; cursor: pointer; border-bottom: 1px solid transparent; }
.tbl .deal-name:hover { color: var(--red); }
.tbl tr.section-row td {
  background: var(--cream-warm); padding: 9px 14px;
  font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--ink);
}
.tbl tr.subtotal-row td {
  font-family: var(--mono); font-size: 12px; color: var(--mid);
  background: var(--cream); padding: 8px 14px;
}
.tbl tr.grand-row td {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  background: var(--ink); color: var(--cream); padding: 12px 14px; border-bottom: 0;
}
.tbl tr.grand-row td em { color: var(--red); font-style: normal; }

.tbl-wrap { overflow-x: auto; }

/* editable cells */
td.editable { cursor: text; }
td.editable:hover { background: var(--cream-warm); }
td.editable input, td.editable select {
  width: 100%; border: 1px solid var(--ink); background: #fff;
  padding: 4px 6px; font-family: inherit; font-size: inherit; outline: none; border-radius: 0;
}

/* status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  white-space: nowrap;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); }
.status-pill.s-under_contract .dot, .status-pill.s-lease_executed .dot { background: var(--red); }
.status-pill.s-negotiating_psa .dot { background: var(--clay); }
.status-pill.s-pending_loi .dot { background: var(--sand); }
.status-pill.s-closed .dot { background: var(--moss); }
.status-pill.s-dead .dot { background: var(--hush); }

.risk-flag { font-family: var(--mono); font-size: 10px; color: var(--red); white-space: nowrap; }

/* ── Section blocks ─────────────────────────────────────── */
.block { margin-bottom: 48px; }
.block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 0; border-bottom: 1px solid var(--ink);
}
.block-head .eyebrow { color: var(--ink); }
.block-head .meta { font-family: var(--mono); font-size: 11px; color: var(--mute); }

/* ── Deal room ──────────────────────────────────────────── */
.crumb { font-family: var(--mono); font-size: 11px; color: var(--mute); margin-bottom: 18px; }
.crumb a:hover { color: var(--red); }
.deal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 28px; }
.deal-title { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.02; }
.deal-sub { margin-top: 10px; color: var(--mid); font-size: 13px; }
.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .deal-grid { grid-template-columns: 1fr; } }

.panel { border: 1px solid var(--border); background: var(--paper); margin-bottom: 32px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.panel-head .eyebrow { color: var(--ink); }
.panel-body { padding: 18px; }
.panel-body.flush { padding: 0; }

/* stage stepper */
.stepper { display: flex; border: 1px solid var(--border); background: var(--paper); margin-bottom: 32px; overflow-x: auto; }
.stepper .step {
  flex: 1; padding: 12px 10px 10px; text-align: center; white-space: nowrap;
  font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--hush); border-left: 1px solid var(--border); position: relative;
}
.stepper .step:first-child { border-left: 0; }
.stepper .step.done { color: var(--mid); }
.stepper .step.current { color: var(--ink); }
.stepper .step.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
}

/* milestones */
.mstone { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.mstone:last-child { border-bottom: 0; }
.mstone .m-date { font-family: var(--mono); font-size: 11px; color: var(--mid); width: 84px; flex-shrink: 0; }
.mstone .m-label { flex: 1; font-size: 13px; }
.mstone .m-count { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.mstone.urgent .m-count, .mstone.urgent .m-date { color: var(--red); }
.mstone.done .m-label { color: var(--hush); text-decoration: line-through; }

/* notes */
.note { padding: 12px 0; border-bottom: 1px solid var(--border); }
.note:last-child { border-bottom: 0; }
.note-meta { font-family: var(--mono); font-size: 10px; color: var(--mute); margin-bottom: 4px; }
.note-body { font-size: 13px; white-space: pre-wrap; }
.note-form textarea { width: 100%; min-height: 64px; border: 1px solid var(--border); padding: 10px; background: #fff; resize: vertical; outline: none; }
.note-form textarea:focus { border-color: var(--ink); }
.note-form { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

/* documents */
.doc-row { display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--border); }
.doc-row:last-child { border-bottom: 0; }
.doc-cat {
  font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--stone); width: 120px; flex-shrink: 0;
}
.doc-title { flex: 1; font-size: 13px; min-width: 0; }
.doc-title .fn { font-family: var(--mono); font-size: 10px; color: var(--mute); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-meta { font-family: var(--mono); font-size: 10px; color: var(--mute); white-space: nowrap; }
.doc-row.superseded { opacity: 0.55; }
.doc-row.archived .doc-title { text-decoration: line-through; color: var(--hush); }

/* checklist */
.check-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--border); }
.check-item:last-child { border-bottom: 0; }
.check-mark { font-family: var(--mono); font-size: 11px; width: 16px; }
.check-item.ok .check-mark { color: var(--moss); }
.check-item.missing .check-mark { color: var(--red); }
.check-item.missing { color: var(--mid); }

/* waterfall */
.wf-row { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.wf-row:last-child { border-bottom: 0; }
.wf-row .wf-who { flex: 1; }
.wf-row .wf-tier { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--stone); }
.wf-row .wf-pct { font-family: var(--mono); font-size: 11px; color: var(--mid); width: 60px; text-align: right; }
.wf-row .wf-amt { font-family: var(--mono); font-size: 12px; width: 110px; text-align: right; }
.wf-row.wf-total { font-weight: 500; border-top: 1px solid var(--ink); border-bottom: 0; }
.wf-warn { font-size: 11px; color: var(--red); padding-top: 8px; }

/* activity */
.act-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.act-row:last-child { border-bottom: 0; }
.act-when { font-family: var(--mono); font-size: 10px; color: var(--mute); width: 118px; flex-shrink: 0; }
.act-what { flex: 1; color: var(--mid); }
.act-what b { color: var(--ink); font-weight: 500; }

/* ── Modal ──────────────────────────────────────────────── */
.modal-veil {
  position: fixed; inset: 0; background: rgba(15,15,15,0.45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 8vh 24px; z-index: 100; overflow-y: auto;
}
.modal {
  background: var(--paper); border: 1px solid var(--rule-dark);
  width: 520px; max-width: 100%; padding: 36px;
}
.modal h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 6px 0 24px; }
.modal h2 em { color: var(--red); }
.modal-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; align-items: center; }
.modal .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ── Toast ──────────────────────────────────────────────── */
#toast-root { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--ink); color: var(--cream); padding: 12px 18px;
  font-size: 12px; border-left: 2px solid var(--red); max-width: 360px;
}

/* ── Forecast ───────────────────────────────────────────── */
.tbl td.exp-edit { cursor: text; }
.tbl td.neg { color: var(--red); }

/* ── Library ────────────────────────────────────────────── */
.perm-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.perm-row:last-child { border-bottom: 0; }
.perm-row .who { flex: 1; }
.perm-row label { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--mid); cursor: pointer; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .topbar { padding: 0 24px; gap: 20px; }
  main { padding: 24px 24px 64px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .cell { border-top: 1px solid var(--rule-dark); }
  .topbar-name { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   CRM — prospects, owners, map, importer, settings
   ───────────────────────────────────────────────────────────── */
.crm-filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 0 10px; border-top: 1px solid var(--rule-dark);
}
.crm-filters input, .crm-filters select {
  border: 1px solid var(--border); background: var(--paper);
  padding: 8px 10px; font-size: 16px;
}
@media (min-width: 769px) {
  .crm-filters input, .crm-filters select { font-size: 12px; }
}
.crm-filters input[type="search"] { flex: 1 1 200px; min-width: 160px; }
.crm-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 14px; align-items: center; }

.chip {
  display: inline-block; font-family: var(--mono); font-size: 9px;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--mid);
  padding: 2px 7px; margin-right: 4px; white-space: nowrap;
}
.chip-verified { border-color: var(--moss); color: var(--moss); }
.chip-dnc      { border-color: var(--red);  color: var(--red); }
.chip-btn {
  font-family: var(--mono); font-size: 10px; line-height: 1;
  border: 1px solid var(--border); color: var(--hush);
  padding: 3px 6px; transition: all 150ms;
}
.chip-btn.on   { border-color: var(--moss); color: #fff; background: var(--moss); }
.chip-btn.on[data-bad], .chip-btn.on[title*="bad"] { border-color: var(--red); background: var(--red); }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn.on:hover { color: #fff; }

.owner-card { border: 1px solid var(--border); padding: 14px 16px; margin-bottom: 10px; background: var(--paper); }
.contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0; border-top: 1px solid var(--border);
}
.contact-row:first-of-type { border-top: 0; }
.contact-row.bad span.mono { text-decoration: line-through; color: var(--hush); }
.contact-flags { margin-left: auto; display: flex; gap: 4px; }

.spec-grid { display: grid; grid-template-columns: 1fr; }
.spec-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; padding-top: 2px; }
.spec-row .v { text-align: right; }

.act-form { display: flex; flex-wrap: wrap; gap: 8px; }
.act-form select, .act-form input {
  border: 1px solid var(--border); background: var(--paper); padding: 8px 10px; font-size: 16px;
}
@media (min-width: 769px) { .act-form select, .act-form input { font-size: 12px; } }
.act-form input { flex: 1 1 180px; }

.prop-map { display: block; width: 100%; height: auto; }
.map-empty { padding: 40px 20px; color: var(--mute); font-size: 12px; text-align: center; }
.big-map { height: min(68vh, 720px); border: 1px solid var(--rule-dark); }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 2px;
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--mid);
  align-items: center;
}
.leg { display: inline-flex; align-items: center; gap: 5px; }
.leg-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.25); }
.map-filter {
  border: 1px solid var(--border); background: var(--paper); padding: 8px 10px; font-size: 12px;
}
.mapboxgl-popup-content { border-radius: 0; box-shadow: 0 2px 14px rgba(0,0,0,.25); }

@media (max-width: 768px) {
  .crm-filters { gap: 6px; }
  .crm-filters input[type="search"] { flex-basis: 100%; }
  .big-map { height: 62vh; }
}

/* Map slide-over record panel */
.map-wrap { position: relative; }
.map-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 92%;
  background: var(--paper); border-left: 1px solid var(--rule-dark);
  padding: 16px 18px 24px; overflow-y: auto; z-index: 5;
  box-shadow: -18px 0 40px rgba(15, 15, 15, 0.18);
  animation: drawer-in 220ms ease;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.drawer-title { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.drawer-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.drawer-row input.map-filter { min-width: 0; }
@media (max-width: 768px) {
  .map-drawer {
    top: auto; left: 0; right: 0; width: 100%; max-width: 100%;
    height: 62%; border-left: 0; border-top: 1px solid var(--rule-dark);
    animation: drawer-up 220ms ease;
  }
  @keyframes drawer-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Data-dense views (Prospects, Map) use the full window width */
main.wide { max-width: none; padding-left: 32px; padding-right: 32px; }

/* Excel-style prospect grid — proportional columns, fits without side-scroll */
.tbl-grid { table-layout: fixed; width: 100%; }
.tbl-grid th, .tbl-grid td {
  padding: 9px 10px; overflow: hidden; vertical-align: middle;
}
.tbl-grid th {
  white-space: nowrap; text-overflow: ellipsis;
  font-size: 9px; letter-spacing: 1.2px; padding-left: 10px; padding-right: 6px;
}
.tbl-grid td { white-space: normal; overflow-wrap: anywhere; }
.tbl-grid .num, .tbl-grid td.r { white-space: nowrap; font-size: 12px; }
.tbl-grid .deal-name { display: inline-block; max-width: 100%; }

/* column proportions: sel · Property · Contacted · Status · Dev · Owner ·
   County · Acreage · Zoning · Use · Agent · → Lead */
.tbl-grid col.c-sel     { width: 30px; }
.tbl-grid col.c-prop    { width: 18%; }
.tbl-grid col.c-contact { width: 7%; }
.tbl-grid col.c-status  { width: 10%; }
.tbl-grid col.c-dev     { width: 10%; }
.tbl-grid col.c-owner   { width: 13%; }
.tbl-grid col.c-county  { width: 9%; }
.tbl-grid col.c-acre    { width: 6%; }
.tbl-grid col.c-zoning  { width: 6%; }
.tbl-grid col.c-use     { width: 10%; }
.tbl-grid col.c-agent   { width: 5%; }
.tbl-grid col.c-lead    { width: 6%; }

/* inline marks that shouldn't push the parcel name onto another line */
.v-mark { color: var(--moss); font-size: 11px; margin-left: 4px; }
.tbl-grid .chip-private { font-size: 8px; padding: 1px 5px; margin-left: 4px; }

.grid-cell { cursor: cell; transition: box-shadow 120ms; }
.grid-cell:hover { box-shadow: inset 0 0 0 1px var(--sand); }
.grid-cell input, .grid-cell select {
  width: 100%; min-width: 0; border: 1px solid var(--ink);
  background: #fff; padding: 4px 6px; font-size: 13px; font-family: var(--mono);
}
.tbl-grid .status-pill { white-space: nowrap; }
.tbl-grid .chip { margin-bottom: 2px; }

/* Below ~1100px there isn't room for 12 columns — fall back to scrolling. */
@media (max-width: 1100px) {
  .tbl-grid { table-layout: auto; white-space: nowrap; }
  .tbl-grid td { white-space: nowrap; }
  .tbl-grid col { width: auto !important; }
}

.chip-private { border-color: var(--clay); color: var(--clay); }

.chip-use { border-color: var(--stone); color: var(--stone); }
.use-editor { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.use-t { font-size: 10px; padding: 4px 8px; }
.use-t.on { border-color: var(--ink); background: var(--ink); color: var(--cream); }
