/* Property-manager app. Builds on the tokens in scheduling/base.html. */
:root {
  --nc-red: #f87171;
  --nc-red-bg: rgba(248, 113, 113, 0.12);
  --nc-amber: #fbbf24;
  --nc-amber-bg: rgba(251, 191, 36, 0.12);
  --nc-green: #4ade80;
  --nc-green-bg: rgba(74, 222, 128, 0.12);
  --nc-gray: #94a3b8;
  --nc-gray-bg: rgba(148, 163, 184, 0.12);
  /* Account app look ("color A", Oct 2026): a lighter navy page with slate cards
     that lift off it. Overrides the site-wide tokens for account pages only. */
  --bg-main: #0b1120;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --nc-surface: #1e293b;      /* cards */
  --nc-surface-2: #0f172a;    /* insets on cards: inputs, notes, panels */
  --nc-raised: #334155;       /* buttons and icon wells on cards */
  --nc-raised-line: #475569;
  --nc-line: rgba(148, 163, 184, 0.16);
  --nc-input-line: rgba(148, 163, 184, 0.3);
  --nc-radius: 16px;
}

.nc-app { display: grid; gap: 1.25rem; }
.nc-app h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin: 0; letter-spacing: -0.01em; }
.nc-app h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
.nc-muted { color: var(--text-muted); }
.nc-small { font-size: 0.85rem; }
.nc-crumbs { font-size: 0.85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 0.35rem; }
.nc-crumbs a { text-decoration: underline; text-underline-offset: 2px; }

.nc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.nc-head-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Sub-navigation (tabs). It's a <nav>, so it inherits the site header's
   right-aligned pill styles; override them here. Left-aligned so that on a
   phone the tabs scroll instead of clipping off the left edge, with vertical
   padding so the scroll container doesn't crop the pill borders. */
.nc-subnav { display: flex; justify-content: flex-start; gap: 0.5rem; overflow-x: auto;
  scrollbar-width: none; padding: 0.15rem 0.1rem 0.35rem; margin: 0; }
.nc-subnav::-webkit-scrollbar { display: none; }
.nc-subnav a { flex: 0 0 auto; padding: 0.5rem 1rem; white-space: nowrap; font-weight: 600; font-size: 0.92rem;
  color: var(--text-muted); background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px; text-align: center; }
.nc-subnav a:hover { color: var(--text-main); border-color: var(--accent-strong); }
.nc-subnav a[aria-current="page"] { color: var(--text-main); background: var(--accent-soft); border-color: var(--accent-strong); }

/* Buttons — 44px min tap target */
.nc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px; padding: 0.55rem 1rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--nc-raised-line); background: var(--nc-raised); color: var(--text-main);
  cursor: pointer; text-decoration: none; font-family: inherit; line-height: 1.1; }
.nc-btn:hover { border-color: var(--accent); }
.nc-btn:focus-visible, .nc-input:focus-visible, .nc-select:focus-visible, .nc-textarea:focus-visible,
.nc-subnav a:focus-visible, .nc-card-link:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; }
.nc-btn-primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #022c22; }
.nc-btn-primary:hover { filter: brightness(1.08); }
.nc-btn-danger { color: var(--nc-red); border-color: rgba(248, 113, 113, 0.5); background: transparent; }
.nc-btn-ghost { background: transparent; }
.nc-btn-sm { min-height: 36px; padding: 0.35rem 0.75rem; font-size: 0.85rem; }

/* Cards */
.nc-card { background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); padding: 1rem 1.1rem; }
.nc-card + .nc-card { margin-top: 0; }
.nc-card-link { display: block; color: inherit; }
.nc-card-link:hover { border-color: rgba(34, 197, 94, 0.6); }

/* Stat tiles */
.nc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
@media (min-width: 720px) { .nc-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.nc-stat { display: block; background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: 12px;
  padding: 0.75rem 0.85rem; color: inherit; }
a.nc-stat:hover { border-color: var(--accent); }
.nc-stat[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.nc-stat-num { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.nc-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.nc-stat.is-red .nc-stat-num { color: var(--nc-red); }
.nc-stat.is-amber .nc-stat-num { color: var(--nc-amber); }
.nc-stat.is-gray .nc-stat-num { color: var(--nc-gray); }

/* Status badges: always text + color, never color alone */
.nc-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.nc-badge::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.nc-badge.overdue, .nc-badge.fail, .nc-badge.failed { color: var(--nc-red); background: var(--nc-red-bg); border-color: rgba(248,113,113,.35); }
.nc-badge.due_soon, .nc-badge.deficient { color: var(--nc-amber); background: var(--nc-amber-bg); border-color: rgba(251,191,36,.35); }
.nc-badge.ok, .nc-badge.pass { color: var(--nc-green); background: var(--nc-green-bg); border-color: rgba(74,222,128,.35); }
.nc-badge.unknown, .nc-badge.inactive { color: var(--nc-gray); background: var(--nc-gray-bg); border-color: rgba(148,163,184,.35); }

/* Toolbar */
.nc-toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.nc-toolbar .nc-input { flex: 1 1 14rem; }
.nc-toolbar .nc-select { flex: 0 1 11rem; }

/* Lists of properties / assemblies */
.nc-list { display: grid; gap: 0.6rem; }
.nc-row { display: grid; gap: 0.35rem 1rem; grid-template-columns: 1fr auto; align-items: center; }
.nc-row-title { font-weight: 700; }
.nc-row-sub { color: var(--text-muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.nc-row-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; grid-column: 1 / -1; }
@media (min-width: 720px) {
  .nc-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .nc-row-meta { grid-column: auto; justify-content: flex-end; }
}

/* Key/value details */
.nc-dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1rem; margin: 0; }
.nc-dl dt { color: var(--text-muted); font-size: 0.85rem; }
.nc-dl dd { margin: 0; overflow-wrap: anywhere; }

.nc-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 900px) { .nc-grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }

/* Forms */
.nc-form { display: grid; gap: 0.9rem; }
.nc-form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 720px) { .nc-form-grid { grid-template-columns: 1fr 1fr; } .nc-form-grid .nc-span-2 { grid-column: 1 / -1; } }
.nc-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.nc-field .nc-help { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.25rem; }
.nc-field .nc-error, .nc-errorlist { color: var(--nc-red); font-size: 0.85rem; margin-top: 0.25rem; }
.nc-input, .nc-select, .nc-textarea { width: 100%; min-height: 44px; padding: 0.55rem 0.75rem; border-radius: 10px;
  border: 1px solid var(--nc-input-line); background: var(--nc-surface-2); color: var(--text-main);
  font: inherit; font-size: 16px; /* 16px stops iOS Safari zooming on focus */ }
.nc-textarea { min-height: 5.5rem; resize: vertical; }
.nc-select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
.nc-input[type="date"] { color-scheme: dark; }
.nc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nc-field.has-error .nc-input, .nc-field.has-error .nc-select, .nc-field.has-error .nc-textarea { border-color: var(--nc-red); }

/* Messages */
.nc-messages { display: grid; gap: 0.5rem; }
.nc-msg { padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--nc-line); background: var(--nc-surface-2); }
.nc-msg.success { border-color: rgba(74,222,128,.45); }
.nc-msg.error { border-color: rgba(248,113,113,.55); }
.nc-msg.warning { border-color: rgba(251,191,36,.55); }

/* Tables (wide screens) that collapse to cards on phones */
.nc-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.nc-table th { text-align: left; color: var(--text-muted); font-weight: 600; font-size: 0.8rem; padding: 0.5rem; border-bottom: 1px solid var(--nc-line); }
.nc-table td { padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--nc-line); vertical-align: top; }
@media (max-width: 719px) {
  .nc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nc-table, .nc-table tbody, .nc-table tr, .nc-table td { display: block; width: 100%; }
  .nc-table tr { border: 1px solid var(--nc-line); border-radius: 12px; padding: 0.4rem 0.75rem; margin-bottom: 0.6rem; background: var(--nc-surface); }
  .nc-table td { border: 0; padding: 0.3rem 0; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem;
    justify-items: end; text-align: right; }
  .nc-table td::before { content: attr(data-label); color: var(--text-muted); font-size: 0.8rem; text-align: left;
    grid-row: 1 / span 4; justify-self: start; }
  .nc-table td[data-label=""]::before { content: none; }
}

.nc-empty { text-align: center; padding: 2rem 1rem; }
.nc-empty p { margin: 0.25rem 0 1rem; }

.nc-org-switch { display: flex; gap: 0.4rem; align-items: center; }
.nc-org-switch .nc-select { min-height: 36px; padding-top: 0.3rem; padding-bottom: 0.3rem; font-size: 0.9rem; }

.nc-pager { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.nc-preview-table { max-height: 24rem; overflow: auto; border: 1px solid var(--nc-line); border-radius: 12px; }
.nc-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Unconfirmed-email banner */
.nc-verify-banner { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }
.nc-verify-banner > div { flex: 1 1 18rem; }

/* Phase 2: settings, notices */
.nc-count { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; border-radius: 999px; background: var(--accent-strong); color: #022c22; font-size: .72rem; font-weight: 800; text-align: center; margin-left: .25rem; }
.nc-check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500 !important; font-size: .95rem; cursor: pointer; line-height: 1.4; }
.nc-check input { width: 1.1rem; height: 1.1rem; margin: .12rem 0 0; flex-shrink: 0; accent-color: var(--accent-strong); }
.nc-check-small { font-size: .8rem !important; color: var(--text-muted); }
.nc-field-check label { margin-bottom: 0; }
.nc-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.nc-fieldset legend { font-weight: 600; font-size: .9rem; margin-bottom: .45rem; padding: 0; }
.nc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .45rem .9rem; }
.nc-checks ul, .nc-checks li { list-style: none; margin: 0; padding: 0; }
.nc-copy { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .35rem 0 .6rem; }
.nc-copy code { overflow-wrap: anywhere; padding: .35rem .55rem; border: 1px solid var(--nc-line); border-radius: 8px; background: rgba(148,163,184,.08); }
.nc-fwd { margin-bottom: 1rem; }
.nc-fwd .nc-copy { margin-bottom: 0; }
.nc-seg { display: inline-flex; gap: .25rem; padding: .2rem; border: 1px solid var(--nc-line); border-radius: 999px; margin: 0 0 1rem; }
.nc-seg a { padding: .35rem .9rem; border-radius: 999px; color: var(--text-muted); font-size: .88rem; font-weight: 600; text-decoration: none; }
.nc-seg a.on { background: rgba(34,197,94,.16); color: var(--accent); }
.nc-attachments { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.nc-notice-body { font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; max-height: 32rem; overflow-y: auto; color: var(--text); }
.nc-pager { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }

/* Phase 3: booking */
.nc-book-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: .5rem; }
.nc-book-list { display: grid; gap: .1rem; }
.nc-book-row { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .55rem .4rem; border-top: 1px solid var(--nc-line); cursor: pointer; font-weight: 500 !important; }
.nc-book-row:first-child { border-top: 0; }
.nc-book-row input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--accent-strong); margin: 0; }
.nc-book-row.is-booked { opacity: .7; cursor: default; }
.nc-book-meta { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; text-align: right; }
.nc-select-sm { padding: .25rem 1.6rem .25rem .5rem; font-size: .85rem; min-height: 0; width: auto; }
.nc-book-side { position: sticky; top: 1rem; }
@media (max-width: 640px) {
  .nc-book-row { grid-template-columns: auto 1fr; }
  .nc-book-meta { grid-column: 2; justify-content: flex-start; text-align: left; }
}
.nc-job { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; align-items: baseline; }

/* Phase 4: utility submissions */
.nc-sub-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; margin-top: .75rem; }
.nc-sub-actions details { flex: 1 1 100%; }
.nc-sub-actions summary { list-style: none; display: inline-flex; cursor: pointer; }
.nc-sub-actions summary::-webkit-details-marker { display: none; }

/* Phase 5: reports */
.nc-stat-hero { border-color: rgba(34,197,94,.55); background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(34,197,94,.03)); }
.nc-stat-hero .nc-stat-num { color: var(--accent); }
@media (min-width: 900px) { .nc-stat-hero { grid-column: span 2; } }
.nc-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem; align-items: end; }
.nc-filters label { display: grid; gap: .25rem; font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.nc-report-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.nc-report { display: flex; flex-direction: column; gap: .4rem; }
.nc-report h3 { margin: 0; font-size: 1rem; }
.nc-report p { margin: 0; flex: 1; }
.nc-report .nc-row-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.nc-state-compliant { color: var(--nc-green); }
.nc-state-pending { color: #93c5fd; }
.nc-state-action { color: var(--nc-red); }
.nc-newlink { display: grid; gap: .4rem; }
.nc-share-row { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .55rem 0; border-top: 1px solid var(--nc-line); }
.nc-share-row:first-child { border-top: 0; }
.nc-share-row form { display: inline; }

/* Other inspections + "Book · Coming soon" */
.nc-inline-form { display: inline; margin: 0; }
.nc-btn-soon { opacity: .78; border-style: dashed; cursor: pointer; gap: .4rem; }
.nc-btn-soon:hover { opacity: 1; }
.nc-btn-soon.is-on { cursor: default; opacity: .7; }
.nc-soon-tag { font-size: .72rem; font-weight: 600; padding: .05rem .4rem; border-radius: 999px; background: var(--nc-surface-2); border: 1px solid var(--nc-line); white-space: nowrap; }
.nc-insp-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem .75rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--nc-line); }
.nc-insp-row:first-child { border-top: 0; }
.nc-insp-row .nc-row-btns { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; align-items: center; }
.nc-quick { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
@media (max-width: 640px) { .nc-insp-row { grid-template-columns: minmax(0,1fr); } .nc-insp-row .nc-row-btns { justify-content: flex-start; } }

/* Import review */
.nc-match { border: 1px solid var(--nc-line); border-radius: 10px; padding: .6rem .8rem .7rem; margin: 0 0 .7rem; min-width: 0; }
.nc-match legend { padding: 0 .3rem; overflow-wrap: anywhere; }
.nc-radio { display: flex; gap: .5rem; align-items: flex-start; padding: .25rem 0; font-size: .92rem; cursor: pointer; overflow-wrap: anywhere; }
.nc-radio input { margin-top: .2rem; flex: none; accent-color: var(--accent-strong); }
.nc-import-actions { flex-wrap: wrap; }

/* Greyed-out property: the account has no plan (view-only, no tracking) */
.nc-card.nc-locked { opacity: .45; filter: grayscale(1); }
.nc-card.nc-locked:hover { opacity: .7; }
.nc-grid-2.nc-locked > * { opacity: .55; filter: grayscale(1); }

/* ── Property page: summary, needs attention, inspection-type tiles ── */
.nc-summary { display: grid; gap: 1.1rem; padding: 1.3rem 1.4rem; }
.nc-summary-top { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem 1.5rem; }
.nc-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.nc-summary .nc-muted { margin-top: .3rem; }
.nc-summary-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.nc-quiet-links { display: flex; flex-wrap: wrap; gap: 0 1.1rem; justify-content: flex-start; }
.nc-quiet { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: #cbd5e1;
  font-size: .9rem; font-weight: 600; text-decoration: none; }
.nc-quiet:hover { color: var(--text-main); }
.nc-meta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .2rem 1.4rem; margin: 0; font-size: .86rem; }
.nc-meta > div { display: flex; gap: .4rem; align-items: baseline; }
.nc-meta dt { color: var(--text-muted); white-space: nowrap; }
.nc-meta dd a { white-space: nowrap; }
.nc-meta dd { margin: 0; font-weight: 600; }
.nc-meta dd a { text-decoration: underline; text-underline-offset: 2px; }
.nc-meta-wide { flex-basis: 100%; }
.nc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .9rem 1rem; margin: 0;
  padding-top: 1rem; border-top: 1px solid var(--nc-line); }
.nc-facts dt { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.nc-facts dd { margin: .25rem 0 0; font-weight: 600; }
.nc-facts dd.is-overdue, .nc-facts dd.is-failed { color: #fca5a5; }
.nc-facts dd.is-due_soon { color: #fcd34d; }
.nc-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.nc-section-head h2 { margin: 0 0 .75rem; }
.nc-section-head a.nc-small { text-decoration: underline; text-underline-offset: 2px; }

.nc-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--nc-raised);
  display: inline-flex; align-items: center; justify-content: center; color: var(--text-main); }
.nc-ico.is-overdue, .nc-ico.is-failed { color: #fca5a5; }
.nc-ico.is-due_soon, .nc-ico.is-deficient { color: #fcd34d; }
.nc-ico.is-bookable { background: rgba(34, 197, 94, .14); color: #86efac; }
.nc-head.nc-head-ico { flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 0.85rem; }
.nc-head-ico > div { min-width: 0; }

.nc-attn-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .5rem 1rem; align-items: center;
  padding: .8rem 0; border-top: 1px solid var(--nc-line); }
.nc-attn-row:first-child { border-top: 0; padding-top: 0; }
.nc-attn-main a { text-decoration: none; }
.nc-attn-main a:hover strong { text-decoration: underline; text-underline-offset: 2px; }
.nc-attn-row .nc-row-btns { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; align-items: center; }
@media (max-width: 720px) {
  .nc-attn-row { grid-template-columns: auto minmax(0, 1fr); }
  .nc-attn-row .nc-badge { grid-column: 2; justify-self: start; }
  .nc-attn-row .nc-row-btns { grid-column: 1 / -1; justify-content: stretch; }
  .nc-attn-row .nc-row-btns .nc-btn { flex: 1 1 auto; }
  .nc-summary-actions { align-items: stretch; width: 100%; }
  .nc-summary-actions .nc-btn-primary { width: 100%; }
  .nc-quiet-links { justify-content: flex-start; }
}

.nc-types { display: grid; gap: .25rem; }
.nc-tiles { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .nc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .nc-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.nc-tile { display: flex; flex-direction: column; gap: .2rem; padding: .9rem; border-radius: var(--nc-radius);
  background: var(--nc-surface); border: 1px solid var(--nc-line); color: var(--text-main); text-decoration: none; min-height: 128px; }
a.nc-tile:hover { border-color: var(--accent); }
a.nc-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nc-tile.is-overdue { border-color: rgba(248, 113, 113, .5); }
.nc-tile.is-off { background: transparent; border-style: dashed; border-color: rgba(148, 163, 184, .35); }
.nc-tile.is-off .nc-ico { background: transparent; border: 1px solid rgba(148, 163, 184, .25); color: var(--text-muted); }
.nc-tile.is-off .nc-tile-name { color: #cbd5e1; }
.nc-tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .4rem; margin-bottom: .55rem; }
.nc-tile-name { font-weight: 700; line-height: 1.25; }
.nc-tile-sub { font-size: .82rem; color: var(--text-muted); }
.nc-tile-add { font-size: .82rem; font-weight: 700; color: #86efac; }
/* A tracked tile: the whole tile opens it (stretched link); "+ Add another" sits on top. */
.nc-tile.has-main { position: relative; }
.nc-tile.has-main:hover { border-color: var(--accent); }
.nc-tile-main { display: flex; flex-direction: column; gap: .2rem; flex: 1 1 auto; color: inherit; text-decoration: none; }
.nc-tile-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.nc-tile-main:focus-visible { outline: none; }
.nc-tile-main:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.nc-tile-more { position: relative; z-index: 1; align-self: flex-start; margin-top: .55rem; font-size: .8rem;
  font-weight: 700; color: #86efac; text-decoration: none; }
.nc-tile-more:hover { text-decoration: underline; text-underline-offset: 2px; }
.nc-tiles.nc-locked > * { opacity: .55; filter: grayscale(1); }
.nc-nowrap { white-space: nowrap; }

.nc-app-foot { margin: 2.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--nc-line); }
.nc-inline-upload { margin: 0; } .nc-inline-upload .nc-btn { white-space: nowrap; cursor: pointer; }
.nc-scope { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.2rem; margin-top: .9rem; padding: .7rem .9rem; border-radius: 10px; background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.3); }
.nc-scope-counts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--text-muted); }
.nc-scope-counts strong { color: var(--text-main, inherit); }
.nc-scope-counts .nc-state-due strong { color: var(--nc-amber); }
.nc-scope-counts .nc-state-over strong { color: var(--nc-red); }
.nc-section-h { font-size: 1.05rem; margin: 1.4rem 0 .6rem; }
.nc-quiet.is-disabled { color: var(--text-muted); opacity: .5; cursor: not-allowed; }
/* Latest booking on the property page: status pill + six-step timeline (booking_timeline.py). */
.nc-booking { display: grid; gap: 1.1rem; margin: .6rem 0 0; padding: 1rem 0; border-top: 1px solid var(--nc-line); }
.nc-booking h2 { margin: 0 0 .2rem; font-size: 1.05rem; }
.nc-booking-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.nc-pill { flex: none; font-size: .82rem; font-weight: 600; border-radius: 999px; padding: .25rem .65rem; white-space: nowrap; }
.nc-pill-blue { color: #93c5fd; background: rgba(59,130,246,.16); }
.nc-pill-amber { color: #fcd34d; background: rgba(251,191,36,.14); }
.nc-pill-green { color: #4ade80; background: rgba(74,222,128,.14); }
.nc-pill-red { color: #fca5a5; background: rgba(248,113,113,.14); }
.nc-pill-gray { color: #cbd5e1; background: rgba(148,163,184,.16); }
.nc-booking-panel, .nc-booking-next, .nc-booking-file { background: var(--nc-surface-2); border-radius: 12px; padding: .85rem 1rem; }
.nc-booking-panel { display: grid; gap: .3rem; }
.nc-booking-when { font-weight: 700; font-size: 1rem; }
.nc-booking-next { display: grid; gap: .5rem; justify-items: start; }
.nc-booking-next.is-red { background: rgba(248,113,113,.08); }
.nc-booking-file { display: flex; justify-content: space-between; align-items: center; gap: .75rem; color: inherit; text-decoration: none; }
.nc-booking-file:hover { outline: 1px solid var(--nc-line); }
.nc-booking-dl { font-weight: 600; font-size: .9rem; color: #4ade80; text-decoration: none; white-space: nowrap; }
.nc-booking-due { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .8rem; border-top: 1px solid var(--nc-line); }
.nc-booking-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; }
.nc-booking-cancel > summary { list-style: none; }
.nc-booking-cancel > summary::-webkit-details-marker { display: none; }
.nc-booking-cancel[open] form { margin-top: .5rem; display: grid; gap: .4rem; justify-items: start; }
.nc-booking-cancel p { margin: 0; }

.nc-timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.nc-timeline li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: .75rem; padding-bottom: 1rem; }
.nc-timeline li:last-child { padding-bottom: 0; }
.nc-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 4px; width: 2px;
  background: rgba(148,163,184,.35); }
.nc-timeline li.is-done:not(:last-child)::after, .nc-timeline li.is-failed:not(:last-child)::after { background: var(--accent-strong); }
.nc-tl-dot { width: 24px; height: 24px; box-sizing: border-box; border-radius: 999px; display: flex; align-items: center;
  justify-content: center; border: 2px solid rgba(148,163,184,.45); margin-top: 1px; }
.is-done > .nc-tl-dot { background: var(--accent-strong); border-color: var(--accent-strong); color: #022c22; }
.is-failed > .nc-tl-dot { background: var(--nc-red); border-color: var(--nc-red); color: #450a0a; }
.is-stopped > .nc-tl-dot { background: #64748b; border-color: #64748b; color: #020617; }
.is-current > .nc-tl-dot { border-color: #60a5fa; }
.is-current > .nc-tl-dot span { width: 10px; height: 10px; border-radius: 999px; background: #60a5fa; }
.nc-tl-text { display: grid; gap: .15rem; }
.nc-tl-title { font-weight: 600; }
.is-todo .nc-tl-title { color: var(--text-muted); }
@media (min-width: 900px) {
  .nc-timeline { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .nc-timeline li { grid-template-columns: none; grid-template-rows: auto auto; align-content: start; row-gap: .6rem;
    padding: 0 1rem 0 0; }
  .nc-timeline li:not(:last-child)::after { left: 34px; right: 8px; top: 12px; bottom: auto; width: auto; height: 2px; }
}

.nc-past { display: grid; gap: 0; padding-top: .4rem; }
.nc-past h2 { font-size: .95rem; margin: 0 0 .4rem; }
.nc-past-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--nc-line); }

/* Portfolio: two compact tiles, and a quiet search that only shows on big portfolios */
.nc-sums { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0.8rem; }
.nc-sum { display: inline-flex; align-items: baseline; gap: 0.4rem; padding: 0.45rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--nc-line); background: var(--nc-surface); color: var(--text-muted); font-size: 0.9rem; }
.nc-sum b { color: var(--text-main); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.nc-sum:hover { border-color: rgba(148,163,184,.6); }
.nc-sum[aria-current="true"] { border-color: var(--accent); }
.nc-sum.is-red b { color: var(--nc-red); }
.nc-sum.is-amber b { color: var(--nc-amber); }
.nc-search { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.7rem; max-width: 26rem; }
.nc-search input { flex: 1; min-width: 0; padding: 0.4rem 0.7rem; font-size: 0.9rem; border-radius: 8px;
  border: 1px solid var(--nc-line); background: transparent; color: inherit; }
.nc-search select { padding: 0.4rem 0.4rem; font-size: 0.85rem; border-radius: 8px; border: 1px solid var(--nc-line);
  background: transparent; color: var(--text-muted); }
.nc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Property card: Needs attention sits inside the summary, above the booking */
.nc-summary-attn { margin: .6rem 0 0; padding: 1rem 0 .2rem; border-top: 1px solid var(--nc-line); }
.nc-summary-attn h2 { margin: 0 0 .7rem; font-size: 1.05rem; }
/* Booking: the "Backflow test" header is the toggle; the details fold under it */
.nc-booking h2#booking-h { display: flex; align-items: center; gap: .5rem; margin: 0 0 .25rem; font-size: 1.3rem; font-weight: 800; }
.nc-booking-sub { font-size: .95rem; color: var(--text-main); opacity: .8; }
.nc-booking-fold > summary { cursor: pointer; list-style: none; }
.nc-booking-fold > summary::-webkit-details-marker { display: none; }
.nc-caret { flex: none; width: .5rem; height: .5rem; margin: 0 .15rem 0 .1rem; border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted); transform: rotate(-45deg); transition: transform .15s; }
.nc-booking-fold[open] .nc-caret { transform: rotate(45deg); }
.nc-booking-fold > summary:hover .nc-caret { border-color: var(--text-main); }
.nc-booking-fold > summary:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; border-radius: 6px; }
.nc-booking-body { display: grid; gap: 1.1rem; margin-top: 1.1rem; }
.nc-nowrap { white-space: nowrap; }

/* Property page: the calm line shown when nothing needs attention */
.nc-all-clear { display: flex; align-items: center; gap: .9rem; }
.nc-ico.is-ok { background: rgba(34, 197, 94, .16); color: #86efac; }

/* ── Add property: "What does the building have?" chips, and the setup page ── */
.nc-chips-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.nc-chips-set > legend { padding: 0; margin-bottom: .6rem; font-weight: 600; }
.nc-chips-set .nc-help { margin-top: .6rem; color: var(--text-muted); font-size: 0.8rem; }
.nc-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.nc-chip { position: relative; display: inline-flex; }
.nc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nc-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--nc-raised-line); background: var(--nc-raised); color: var(--text-main); font-weight: 600; cursor: pointer; user-select: none; }
.nc-chip span:hover { border-color: var(--text-muted); }
.nc-chip input:checked + span { background: rgba(34,197,94,.16); border-color: #22c55e; color: #86efac; }
.nc-chip input:checked + span::before { content: "✓"; margin-right: .4rem; }
.nc-chip input:focus-visible + span { outline: 2px solid var(--accent-strong, #22c55e); outline-offset: 2px; }
.nc-more { margin: 1rem 0 0; }
.nc-more > summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: .35rem; }
.nc-more[open] > summary { margin-bottom: .6rem; }
.nc-setup { max-width: 640px; }
.nc-setup-list { display: grid; margin-bottom: 1.1rem; }
.nc-setup-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem;
  padding: .85rem 0; border: 0; border-top: 1px solid var(--nc-line); margin: 0; min-width: 0; }
.nc-setup-row:first-child { border-top: 0; padding-top: 0; }
.nc-setup-name { display: flex; flex-direction: column; font-weight: 600; }
.nc-setup-row .nc-input { width: 11.5rem; }
.nc-setup-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.07); }
.nc-setup-banner h2 { margin: 0 0 .2rem; font-size: 1.05rem; }
.nc-setup-banner .nc-actions form { margin: 0; }

/* ── Property page tabs (under the header): Tests, Inspections, History ── */
.nc-tabs { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--nc-line); margin: .4rem 0 0; }
.nc-tabs::-webkit-scrollbar { display: none; }
.nc-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 2px;
  font-weight: 600; color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.nc-tabs a:hover { color: var(--text-main); }
.nc-tabs a[aria-current="page"] { color: var(--text-main); border-bottom-color: var(--text-main); }
.nc-tabs a:focus-visible { outline: 2px solid var(--accent-strong, #22c55e); outline-offset: 2px; border-radius: 4px; }
.nc-tab-count { font-size: .75rem; font-weight: 700; padding: .05rem .45rem; border-radius: 999px; background: var(--nc-raised); color: var(--text-main); }
.nc-tab-count.is-alert { background: rgba(248,113,113,.18); color: #fca5a5; }
.nc-tests { display: grid; gap: .6rem; }
.nc-tests .nc-booking { margin: 0; padding: 0; border-top: 0; }
.nc-tests .nc-booking h2 { font-size: 1.15rem; }
.nc-empty-tab { padding: 1.3rem 1.4rem; }
@media (max-width: 480px) { .nc-tabs { gap: 1rem; } .nc-tabs a { font-size: .92rem; } }

/* ── Violations tab: city records (city_records.py) ── */
.nc-section-title { margin: 0; font-size: 1.05rem; }
.nc-city { display: grid; gap: .4rem; }
.nc-city-list { display: grid; }
.nc-city-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .85rem 0; border-top: 1px solid var(--nc-line); }
.nc-city-row:first-child { border-top: 0; }
.nc-city-main { flex: 1 1 16rem; min-width: 0; }
.nc-city-row.is-handled .nc-city-main strong { color: var(--text-muted); }
.nc-city-acts { display: flex; flex-wrap: wrap; gap: 0 1rem; margin: .2rem 0 0; }
.nc-linkbtn { background: none; border: 0; padding: .35rem 0; min-height: 32px; color: var(--text-muted); font: inherit; font-size: .8rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.nc-linkbtn:hover { color: var(--text-main); }

/* Violations tab as a severity board: count tiles, then one card per record with where the case stands. */
.nc-viol { display: grid; gap: .85rem; }
.t-urgent { --c: #f87171; --ct: #fca5a5; }
.t-action { --c: #fbbf24; --ct: #fcd34d; }
.t-headsup { --c: #60a5fa; --ct: #93c5fd; }
.t-ok { --c: #4ade80; --ct: #86efac; }
.t-none { --c: #94a3b8; --ct: #cbd5e1; }
.nc-viol-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 900px) { .nc-viol-sum { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.nc-vt { display: flex; flex-direction: column; justify-content: space-between; gap: .7rem; padding: 1rem 1.1rem; min-width: 0;
  border-radius: var(--nc-radius); border: 1px solid var(--nc-line); background: var(--nc-surface);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, var(--nc-surface)), color-mix(in srgb, var(--c) 5%, var(--nc-surface))); }
.nc-vt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.nc-vt-n { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ct); }
.nc-vt-ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  color: var(--ct); background: color-mix(in srgb, var(--c) 18%, transparent); }
.nc-vt-label { font-weight: 700; font-size: .95rem; }
.nc-vt-sub { font-size: .8rem; color: var(--text-muted); margin-top: .1rem; }
.nc-vt.is-zero { background: var(--nc-surface); }
.nc-vt.is-zero .nc-vt-n, .nc-vt.is-zero .nc-vt-ic { color: var(--text-muted); background: var(--nc-surface-2); }
.nc-vt.is-zero .nc-vt-ic { background: var(--nc-surface-2); }

.nc-viol-list { display: grid; gap: .75rem; }
.nc-vr { display: grid; grid-template-columns: 6px auto minmax(0, 1fr) 17rem; background: var(--nc-surface);
  border: 1px solid var(--nc-line); border-radius: var(--nc-radius); overflow: hidden; }
.nc-vr-band { background: var(--c); grid-row: 1 / span 2; }
.nc-vr-ic, .nc-viol-clear .nc-vr-ic, .nc-vreg .nc-vr-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; color: var(--ct); background: color-mix(in srgb, var(--c) 16%, transparent); }
.nc-vr > .nc-vr-ic { margin: 1.1rem 0 0 1.1rem; }
.nc-vr-main { padding: 1.05rem 1.25rem 1.1rem; min-width: 0; }
.nc-vr-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-bottom: .2rem; }
.nc-vr-title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.nc-vr-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700;
  color: var(--ct); background: color-mix(in srgb, var(--c) 15%, transparent); white-space: nowrap; }
.nc-vr-pill::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.nc-vr-side { padding: 1.05rem 1.25rem; border-left: 1px solid var(--nc-line); display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; }
.nc-vr-days { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.nc-vr-days-n { font-size: 2.1rem; font-weight: 800; line-height: 1; color: var(--ct); margin-right: .15rem; }
.nc-vr-acts { display: grid; gap: .1rem; }
.nc-vr-acts .nc-city-acts { gap: 0 1.1rem; }
.nc-vr-acts .nc-btn { width: 100%; }
.nc-vr.is-handled .nc-vr-title { color: var(--text-muted); }

.nc-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nc-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center;
  font-size: .75rem; color: var(--text-muted); }
.nc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 10px; left: calc(50% + 15px); right: calc(-50% + 15px);
  height: 3px; border-radius: 2px; background: var(--nc-raised-line); }
.nc-steps li.done::after { background: var(--c); }
.nc-step-dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--nc-raised-line);
  background: var(--bg-main); color: var(--bg-main); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.nc-steps .done .nc-step-dot { background: var(--c); border-color: var(--c); }
.nc-steps .now { color: var(--text-main); font-weight: 700; }
.nc-steps .now .nc-step-dot { border-color: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.nc-steps .now .nc-step-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.nc-viol-clear, .nc-vreg { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.3rem; background: var(--nc-surface);
  border: 1px solid var(--nc-line); border-radius: var(--nc-radius); }
.nc-viol-clear { --c: #4ade80; --ct: #86efac; border-color: rgba(74, 222, 128, .35);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, var(--nc-surface)), var(--nc-surface)); }
.nc-viol-clear .nc-vr-ic { width: 56px; height: 56px; }
.nc-vreg-main { flex: 1; min-width: 0; display: grid; gap: .45rem; }
.nc-vreg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }
.nc-vreg-end { color: var(--text-main); }
.nc-vreg-bar { height: 10px; border-radius: 999px; background: var(--nc-surface-2); overflow: hidden; }
.nc-vreg-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22c55e, var(--c)); }
.nc-vreg.t-ok .nc-vreg-bar span { background: #22c55e; }
.nc-vreg .nc-city-acts { margin: 0; }
.nc-viol-quiet { display: grid; padding: .4rem 1.1rem; background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: var(--nc-radius); }
.nc-viol-quiet h2 { margin: .6rem 0 .2rem; font-size: .85rem; font-weight: 600; }
.nc-viol-quiet-row { display: flex; align-items: center; gap: .5rem 1rem; padding: .5rem 0; border-top: 1px solid var(--nc-line); }
.nc-viol-quiet h2 + .nc-viol-quiet-row { border-top: 0; }
.nc-viol-quiet-ic { color: var(--text-muted); display: flex; }
.nc-viol-quiet-main { flex: 1; min-width: 0; }
.nc-viol-quiet .nc-city-acts { margin: 0; }
.nc-viol-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; }
.nc-viol-past { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; font-size: .9rem;
  color: var(--text-main); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(203, 213, 225, .4); }

@media (max-width: 719px) {
  .nc-vr { grid-template-columns: 5px auto minmax(0, 1fr); }
  .nc-vr > .nc-vr-ic { margin: 1rem 0 0 .9rem; width: 42px; height: 42px; }
  .nc-vr-main { padding: .95rem 1rem 0; }
  .nc-vr-side { grid-column: 2 / -1; border-left: 0; padding: .9rem 1rem 1rem .9rem; flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .nc-vr-acts { flex: 1 1 100%; }
  .nc-steps { margin-left: calc(-42px - .9rem); }          /* full card width under the icon */
  .nc-steps li { font-size: .7rem; }
  .nc-viol-quiet-row { flex-wrap: wrap; }
  .nc-viol-quiet-main { flex: 1 1 calc(100% - 2.5rem); }
  .nc-vreg { flex-wrap: wrap; }
  .nc-vreg > .nc-btn { width: 100%; }
}

/* ── Set up several properties at once ── */
.nc-bulk-row { margin: 0; min-width: 0; }
.nc-bulk-name { padding: 0; margin-bottom: .6rem; }
.nc-chip-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--nc-raised-line); background: transparent; color: var(--text-main); font: inherit; font-size: .9rem; }
.nc-chip-btn:hover, .nc-chip-btn[aria-pressed="true"] { border-style: solid; border-color: #22c55e; color: #86efac; }
.nc-chip input:disabled + span { opacity: .75; cursor: default; }
.nc-bulk-actions { position: sticky; bottom: 0; padding: .75rem 0; background: var(--bg-main); }
.nc-portfolio-setup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.nc-share-setup > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .4rem; }
.nc-access > summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 2px; }
.nc-access-form { display: grid; gap: .3rem; margin-top: .4rem; min-width: 16rem; }
.nc-access-list { max-height: 14rem; overflow-y: auto; padding: .3rem .5rem; border: 1px solid var(--nc-line); border-radius: 10px; display: grid; gap: .1rem; }

/* ── Setup finished: the year at a glance ── */
.nc-year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .35rem; align-items: end; height: 9rem; }
.nc-year-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .25rem; min-width: 0; }
.nc-year-bar { width: 100%; max-width: 2.2rem; min-height: 3px; border-radius: 6px 6px 2px 2px; background: #22c55e; }
.nc-year-n { font-size: .75rem; font-weight: 700; color: var(--text-main); }
.nc-year-m { font-size: .72rem; color: var(--text-muted); }
.nc-next-steps .nc-card-link { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; text-decoration: none; }
.nc-asm-photo { margin: 0 0 1rem; padding: .75rem; max-width: 22rem; }
.nc-asm-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.nc-asm-photo figcaption { margin-top: .4rem; }

/* ── J1+ look in the app (Nov 2026): Fraunces titles, pill buttons, green "next step" cards,
   photo band on the portfolio. Colors stay "color A". Shared pieces: scheduling/css/brand.css. ── */
:root { --nc-radius: 18px; }
.nc-app h1 { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 500;
  font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.75rem); line-height: 1.08; letter-spacing: -0.01em; }
.nc-empty h2, .nc-nudge h2, .nc-summary-attn h2, .nc-next h2, .nc-first-steps h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; }
.nc-btn { border-radius: 999px; padding-left: 1.15rem; padding-right: 1.15rem; }
.nc-btn-sm { padding-left: .9rem; padding-right: .9rem; }
.nc-card-link:hover { border-color: rgba(148, 163, 184, .45); }

/* Pill tabs on the property page */
.nc-tabs { gap: .5rem; border-bottom: 0; padding: .2rem 0; }
.nc-tabs a { min-height: 42px; padding: 0 1.05rem; border: 1px solid var(--nc-line); border-bottom-width: 1px; border-radius: 999px; font-weight: 600; }
.nc-tabs a[aria-current="page"] { background: var(--nc-raised); border-color: var(--nc-raised-line); color: var(--text-main); }

/* Property page: "Needs attention" becomes the green next-step box */
.nc-summary-attn { margin: 1rem 0 0; padding: 1.1rem 1.2rem .5rem; border: 1px solid rgba(134, 239, 172, .35);
  border-radius: 16px; background: #0f2a20; }
.nc-summary-attn h2 { font-size: 1.4rem; color: #f6faf7; margin: 0 0 .7rem; }

/* Portfolio: photo band with the account name and the counts */
.nc-band { padding: 2rem 2rem 1.6rem; }
.nc-band .nc-head { align-items: flex-end; }
.nc-band h1 { color: #f8fafc; }
.nc-band-sub { margin-top: .35rem; color: #e2e8f0; font-size: .95rem; }
.nc-band .nc-btn { background: rgba(2, 6, 23, .6); border-color: rgba(226, 232, 240, .45); }
.nc-band .nc-sums { margin: 1.1rem 0 0; }
.nc-band .nc-sum { background: rgba(2, 6, 23, .72); border-color: rgba(148, 163, 184, .5); color: #e2e8f0; }

/* Green "next step" card (portfolio attention, first-run setup offer) */
.nc-next { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.6rem; border-radius: var(--nc-radius); background: #0f2a20; border: 1px solid rgba(134, 239, 172, .35); }
.nc-next > div:first-child { flex: 1 1 22rem; min-width: 0; }
.nc-next h2 { margin: 0 0 .35rem; font-size: 1.45rem; color: #f6faf7; }
.nc-next p { margin: 0; color: #cfe0d5; line-height: 1.55; }
.nc-next .nc-actions { margin: 0; }

/* First run: no properties yet */
.nc-welcome { padding: 3.5rem 1.5rem 3rem; text-align: center; }
.nc-welcome h1 { color: #f8fafc; margin: 0 auto .8rem; max-width: 16em; }
.nc-welcome-hi { margin: 0 0 .5rem; color: #bbf7d0; }
.nc-welcome-sub { margin: 0 auto 1.4rem; max-width: 34rem; color: #e2e8f0; font-size: 1.08rem; line-height: 1.55; }
.nc-welcome-more { margin: 1rem 0 0; color: #e2e8f0; }
.nc-welcome-more a { color: #4ade80; text-decoration: underline; text-underline-offset: 2px; }
.nc-first-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.nc-first-steps .nc-card { padding: 1.3rem 1.4rem; }
.nc-first-steps h2 { margin: .7rem 0 .35rem; font-size: 1.3rem; }
.nc-first-steps p { margin: 0; line-height: 1.55; }
.nc-step-num { display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%; align-items: center; justify-content: center;
  background: rgba(34, 197, 94, .16); color: #86efac; font-weight: 700; }

@media (max-width: 640px) {
  .nc-band { padding: 1.5rem 1.2rem 1.3rem; }
  .nc-welcome { padding: 2.5rem 1.1rem 2.25rem; }
}

/* Portfolio row menu (Edit / Archive / Restore / Delete), property-page archive, delete pages. */
.nc-row-wrap { position: relative; }
.nc-row-wrap.has-menu > .nc-card-link { padding-right: 3.6rem; }
.nc-row-menu { position: absolute; top: .55rem; right: .55rem; }
.nc-row-menu > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; color: #cbd5e1; cursor: pointer; }
.nc-row-menu > summary::-webkit-details-marker { display: none; }
.nc-row-menu > summary:hover, .nc-row-menu[open] > summary { background: var(--nc-raised); color: var(--text-main); }
.nc-row-menu > summary:focus-visible { outline: 2px solid #4ade80; outline-offset: 2px; }
.nc-row-menu-panel { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 160px;
  display: flex; flex-direction: column; padding: .35rem; border-radius: 14px;
  background: var(--nc-surface-2); border: 1px solid var(--nc-raised-line); box-shadow: 0 12px 30px rgba(2, 6, 23, .5); }
.nc-row-menu-panel form { margin: 0; }
.nc-row-menu-panel a, .nc-row-menu-panel button { display: block; width: 100%; text-align: left; padding: .6rem .8rem;
  border-radius: 10px; border: 0; background: none; color: var(--text-main); font: inherit; font-size: .95rem;
  text-decoration: none; cursor: pointer; }
.nc-row-menu-panel a:hover, .nc-row-menu-panel button:hover { background: var(--nc-surface); }
.nc-row-menu-panel .is-danger, .nc-quiet.is-danger { color: var(--nc-red); }
button.nc-quiet { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.nc-danger-zone { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  border-color: rgba(248, 113, 113, .35); }
.nc-danger-zone h2 { margin: 0 0 .3rem; }
.nc-confirm { max-width: 640px; padding: 1.75rem 2rem; font-size: .95rem; line-height: 1.55; }
.nc-app .nc-confirm h1 { margin: 0 0 1rem; font-size: 1.6rem; line-height: 1.2; }
.nc-confirm p { margin: 0 0 .85rem; color: #cbd5e1; }
.nc-confirm p strong { color: var(--text-main); }
.nc-confirm p.nc-small { font-size: .85rem; margin-bottom: 0; }
.nc-confirm-list { margin: 0 0 1rem; padding-left: 1.1rem; color: #cbd5e1; }
.nc-confirm-list li + li { margin-top: .4rem; }
.nc-confirm-list strong { color: var(--text-main); }
.nc-confirm .nc-form { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--nc-raised); max-width: none; gap: 1.1rem; }
.nc-confirm .nc-form label { display: grid; gap: .45rem; max-width: 340px; font-size: .9rem; font-weight: 600; color: var(--text-main); }
.nc-confirm .nc-input { min-height: 42px; font-size: .95rem; }
.nc-confirm .nc-actions { margin: 0; gap: .6rem; }
.nc-confirm .nc-btn { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.nc-confirm .nc-msg { margin: 0 0 .5rem; }
@media (max-width: 640px) { .nc-confirm { padding: 1.25rem 1.1rem; } }

/* Portfolio: Needs attention + Set up side by side (stacked on narrow screens). */
.nc-pf-callouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 1rem; margin-bottom: 1.25rem; }
.nc-pf-callouts > section { margin: 0; height: 100%; padding: 1.4rem 1.6rem; border-radius: var(--nc-radius); box-sizing: border-box; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: space-between; gap: 1rem; }
.nc-pf-callouts > section > div:first-child { flex: 0 1 auto; }
.nc-pf-callouts .nc-portfolio-setup h2 { margin: 0 0 .35rem; font-family: "Fraunces", Georgia, serif; font-weight: 500;
  font-size: 1.45rem; color: var(--text-main); }
.nc-pf-callouts .nc-portfolio-setup p { margin: 0; color: #cbd5e1; line-height: 1.55; }
.nc-pf-callouts .nc-actions { margin: 0; }

/* Staff "View account" banner (ops dashboard → Accounts → View account). */
.nc-staff-view { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; padding: .8rem 1.1rem; border-radius: 14px; background: rgba(56, 189, 248, .1);
  border: 1px solid rgba(56, 189, 248, .5); color: #bae6fd; font-size: .92rem; }
.nc-staff-view strong { color: #e0f2fe; margin-right: .35rem; }
.nc-staff-view form { margin: 0; }

/* Done-for-you setup page (/property-managers/setup/) */
.nc-setup-steps { list-style: none; margin: 0; display: grid; gap: .5rem; }
.nc-setup-steps li { line-height: 1.5; }

/* ── City Data tab (requirements.py, _city_data.html) ──────────────────────
   Its own sky accent so the city's rules read as separate from the account's
   own records. */
:root { --ncd-sky: #38bdf8; --ncd-sky-text: #7dd3fc; --ncd-sky-line: rgba(56, 189, 248, .35); }
.nc-tabs a.is-city[aria-current="page"] { color: var(--ncd-sky-text); border-bottom-color: var(--ncd-sky); }
.nc-tab-preview { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #fcd34d;
  border: 1px dashed rgba(252, 211, 77, .6); border-radius: 6px; padding: 0 .35rem; }
.ncd-wrap { display: grid; gap: 1rem; }
.ncd-staff { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem;
  padding: .75rem 1rem; border-radius: 12px; border: 1px dashed rgba(252, 211, 77, .55); background: rgba(251, 191, 36, .08);
  font-size: .9rem; }
.ncd-staff span { color: var(--text-muted); }
.ncd-staff-note { display: block; margin-top: .2rem; }
.ncd-verify { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fcd34d; border: 1px solid rgba(252, 211, 77, .5); border-radius: 5px; padding: 0 .3rem; vertical-align: 1px; }
.ncd { border: 1px solid var(--ncd-sky-line); border-radius: 18px; overflow: hidden; background: #111a2e; }
.ncd-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem;
  padding: 1.1rem 1.4rem; background: #16213a; border-bottom: 1px solid rgba(56, 189, 248, .25); }
.ncd-name { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.ncd-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; border: 1px solid rgba(56, 189, 248, .55);
  color: var(--ncd-sky); display: flex; align-items: center; justify-content: center; }
.nc-app h2.ncd-title { font-size: 1.2rem; margin: 0; }
.ncd-cols { display: flex; flex-wrap: wrap; gap: 2.4rem; padding: 1.6rem 1.4rem 1.8rem; }
.ncd-left { flex: 1 1 260px; min-width: 0; display: grid; gap: 1.6rem; align-content: start; }
.ncd-right { flex: 999 1 560px; min-width: 0; display: grid; gap: 2.6rem; }
.ncd-spec { border-top: 2px solid var(--ncd-sky); }
.ncd-spec h3 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin: .75rem 0 .25rem; color: #e2e8f0; }
.ncd-spec dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; }
.ncd-spec dt, .ncd-spec dd { padding: .55rem 0; border-bottom: 1px solid rgba(148, 163, 184, .14); font-size: .94rem; }
.ncd-spec dt { color: var(--text-muted); }
.ncd-spec dd { margin: 0; font-weight: 600; text-align: right; }
.ncd-spec dd.is-missing { color: var(--nc-amber); font-weight: 500; }
.ncd-src { font-size: .82rem; color: var(--text-muted); margin-top: .5rem; }
.ncd-src a { color: var(--ncd-sky-text); }
.nc-app h2.ncd-h2 { font-size: 1.5rem; margin: 0; letter-spacing: -.01em; }
.ncd-lede { font-size: 1.05rem; color: #cbd5e1; margin: .4rem 0 0; max-width: 40rem; }
.ncd-tally { display: flex; flex-wrap: wrap; gap: 2rem; margin: 1.1rem 0 .5rem; }
.ncd-tally div { display: grid; }
.ncd-tally b { font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ncd-tally span { font-size: .75rem; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-top: .25rem; }
.is-req { color: var(--ncd-sky-text); } .is-conf { color: var(--nc-amber); } .is-nreq { color: #64748b; }
.ncd-list { display: grid; }
.ncd-it { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.5rem; padding: .9rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, .14); }
.ncd-it:first-child { border-top: 1px solid rgba(148, 163, 184, .35); }
.ncd-n { font-weight: 600; }
.ncd-w { font-size: .88rem; color: var(--text-muted); margin-top: .15rem; }
.ncd-w em { font-style: normal; background: var(--nc-surface-2); border: 1px solid rgba(148, 163, 184, .25); border-radius: 6px;
  padding: .05rem .45rem; color: #e2e8f0; margin-right: .4rem; font-size: .82rem; }
.ncd-s { text-align: right; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.ncd-ask { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.ncd-chip { min-height: 36px; padding: 0 .85rem; border-radius: 999px; border: 1px solid var(--nc-raised-line); background: transparent;
  color: var(--text-main); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.ncd-chip:hover, .ncd-chip:focus-visible { border-color: var(--ncd-sky); outline-offset: 2px; }
.ncd-fill { display: inline-block; margin-top: .4rem; font-size: .86rem; font-weight: 600; color: var(--ncd-sky-text); }
details.ncd-off { display: block; }
details.ncd-off summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; cursor: pointer; min-height: 32px;
  align-items: center; list-style: none; }
details.ncd-off summary::-webkit-details-marker { display: none; }
details.ncd-off .ncd-n { color: var(--text-muted); font-weight: 500; }
details.ncd-off .ncd-n::before { content: "▸ "; }
details.ncd-off[open] .ncd-n::before { content: "▾ "; }
details.ncd-off ul { margin: .6rem 0 0; padding-left: 1.1rem; font-size: .88rem; color: var(--text-muted); display: grid; gap: .3rem; }
details.ncd-off li strong { color: #e2e8f0; font-weight: 600; }
.ncd-perf { display: grid; gap: 1rem; }
.ncd-stackwrap { display: grid; gap: .5rem; }
.ncd-stack { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--nc-surface-2); }
.ncd-stack span { height: 100%; }
.ncd-legend { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .88rem; }
.ncd-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .4rem; vertical-align: -1px; background: currentColor; }
.ncd-legend span { color: #e2e8f0; }
.g-ok { background: var(--nc-green); } .g-soon { background: var(--nc-amber); } .g-overdue { background: var(--nc-red); } .g-other { background: #64748b; }
.ncd-legend .g-ok, .ncd-legend .g-soon, .ncd-legend .g-overdue, .ncd-legend .g-other { background: none; }
.ncd-legend .g-ok::before { background: var(--nc-green); } .ncd-legend .g-soon::before { background: var(--nc-amber); }
.ncd-legend .g-overdue::before { background: var(--nc-red); } .ncd-legend .g-other::before { background: #64748b; }
.ncd-run-card { background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .4rem; }
.ncd-run-head { display: flex; justify-content: space-between; gap: .5rem; }
.ncd-run { position: relative; height: 80px; margin: .35rem .5rem 0; }
.ncd-track { position: absolute; left: 0; right: 0; top: 30px; height: 4px; border-radius: 2px; background: var(--nc-raised); }
.ncd-now { position: absolute; top: 18px; left: 0; width: 3px; height: 28px; background: var(--ncd-sky); border-radius: 2px; }
.ncd-mk { position: absolute; top: 24px; transform: translateX(-50%); display: grid; justify-items: center; }
.ncd-mk.is-start { transform: none; justify-items: start; }
.ncd-mk.is-end { transform: translateX(-100%); justify-items: end; }
.ncd-mk i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--nc-surface); display: block; background: var(--nc-green); }
.ncd-mk b { font-size: .74rem; font-weight: 600; white-space: nowrap; margin-top: .5rem; }
.ncd-mk.is-up b { margin-top: 0; position: absolute; bottom: 20px; }
.ncd-mk.s-overdue i { background: var(--nc-red); } .ncd-mk.s-due_soon i, .ncd-mk.s-booked i { background: var(--nc-amber); }
.ncd-axis { display: flex; justify-content: space-between; font-size: .74rem; color: var(--text-muted); margin: 0 .5rem; }
.ncd-axis span:first-child { color: var(--ncd-sky-text); font-weight: 600; }
.ncd-tbl { position: relative; background: var(--nc-surface); border: 1px solid var(--nc-line); border-radius: 14px; overflow-x: auto; }
.ncd-tbl table { border-collapse: collapse; width: 100%; min-width: 680px; }
.ncd-tbl th { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted);
  text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--nc-line); }
.ncd-tbl td { padding: .75rem .9rem; border-bottom: 1px solid rgba(148, 163, 184, .1); font-size: .88rem; vertical-align: middle; }
.ncd-tbl tr:last-child td { border-bottom: 0; }
.ncd-v { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; white-space: nowrap; }
.ncd-v::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.ncd-v.s-ok { color: var(--nc-green); } .ncd-v.s-due_soon, .ncd-v.s-booked { color: var(--nc-amber); }
.ncd-v.s-overdue { color: var(--nc-red); } .ncd-v.s-unknown, .ncd-v.s-not_tracked { color: var(--nc-gray); }
.ncd-ev { font-size: .82rem; color: #cbd5e1; } .ncd-ev.is-miss { color: var(--nc-amber); }
.ncd-v.s-unconfirmed { color: var(--nc-gray); }
.ncd-mk.s-unconfirmed i, .ncd-mk.s-unknown i, .ncd-mk.s-not_tracked i { background: #64748b; }
.is-late { color: var(--nc-red); }
.ncd-rr-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.ncd-rr-head h1 { margin: 0; }
.ncd-rr-step { display: grid; gap: .8rem; }
.nc-app .ncd-rr-step h2 { font-size: 1.1rem; margin: 0; }
.ncd-rr-text { display: grid; gap: .35rem; }
.ncd-rr-text textarea { width: 100%; font: inherit; font-size: .9rem; line-height: 1.45; }
@media (max-width: 640px) {
  .ncd-cols { padding: 1.1rem 1rem 1.3rem; gap: 1.8rem; }
  .ncd-tally { gap: 1.2rem; } .ncd-tally b { font-size: 2rem; }
  .ncd-it, details.ncd-off summary { grid-template-columns: minmax(0, 1fr); }
  .ncd-s { text-align: left; }
  .ncd-mk b { display: none; }
}

/* ── Building Clear brand (brand.py) ── */
.brand-bc .brand-mark { border-color: rgba(56, 189, 248, .55); }
.brand-bc .brand-mark svg { stroke: #38bdf8; }
.bc-preview { margin: 0 auto 1rem; max-width: 72rem; }
.bc-hero { background-image: radial-gradient(ellipse at 70% 0%, rgba(56, 189, 248, .28), transparent 60%),
  radial-gradient(ellipse at 10% 100%, rgba(14, 116, 144, .35), transparent 55%); }
.bc-hero .pm-kicker { color: #7dd3fc; }
.bc-promises .pm-promise { grid-template-columns: minmax(0, 1fr); }
.bc-promises .pm-promise-text { max-width: 46rem; }
.bc-fine { max-width: 48rem; margin: 0 auto; text-align: center; }

.nc-city-order { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .5rem; }
.nc-city-order .nc-input-sm { max-width: 11rem; }
