:root {
  color-scheme: light;
  --nav: #123576;
  --nav-muted: #c4d4f3;
  --accent: #174ea6;
  --accent-hover: #123f8b;
  --ink: #162743;
  --muted: #52627a;
  --line: #dce4ef;
  --canvas: #f3f6fb;
  --soft: #eaf1fc;
  --white: #fff;
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--canvas); display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid #316bd1; outline-offset: 3px; }
::selection { color: var(--nav); background: #cfdefb; }
.skip { position: absolute; left: 12px; top: 12px; padding: 10px; background: var(--white); transform: translateY(-160%); z-index: 2; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sidebar { position: sticky; top: 0; height: 100dvh; overflow: auto; display: flex; flex-direction: column; background: var(--nav); color: var(--white); padding: 25px 16px 18px; }
.sidebar :focus-visible { outline-color: #d4e3ff; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 6px 28px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: #e9f0ff; color: var(--nav); border-radius: 9px; }
.brand-mark svg { width: 25px; height: 25px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.brand small { color: var(--nav-muted); font-size: 12px; }
.menu > summary { display: none; }
.menu p { margin: 22px 10px 7px; color: var(--nav-muted); font-size: 12px; font-weight: 600; }
.menu a, .menu nav span { min-height: 43px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-decoration: none; border-radius: 7px; }
.menu a:hover { background: #204889; }
.menu a[aria-current="page"] { background: #2455a1; font-weight: 650; }
.menu nav span { color: var(--nav-muted); }
.environment { margin-top: auto; border-top: 1px solid #45639a; padding: 14px 8px 0; font-size: 13px; font-weight: 650; }
.environment small { display: block; color: var(--nav-muted); font-weight: 400; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(18px, 4vw, 48px); min-height: 64px; border-bottom: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13px; }
.topbar strong { color: var(--ink); }
.divider { padding-inline: 5px; }
.phase { padding: 4px 9px; border-radius: 6px; background: var(--soft); color: #214b85; font-size: 12px; }
main { max-width: 1440px; margin: auto; padding: 34px clamp(18px, 4vw, 48px); }
.heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(29px, 4vw, 38px); line-height: 1.16; letter-spacing: -.035em; }
.heading p { margin-top: 7px; color: var(--muted); }
.primary, .secondary, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; font-weight: 650; transition: background-color 140ms ease-out, transform 140ms ease-out; }
.primary { background: var(--accent); color: var(--white); }
.primary:hover { background: var(--accent-hover); }
.secondary, .icon-button { border-color: var(--line); background: var(--white); color: var(--accent); }
.secondary:hover, .icon-button:hover { background: var(--soft); }
.primary:active, .secondary:active { transform: scale(.98); }
.icon-button { width: 42px; padding: 0; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin: 24px 0; }
.metrics > div { padding: 13px clamp(9px, 2vw, 22px); }
.metrics > div + div { border-left: 1px solid var(--line); }
.metrics dt { color: var(--muted); font-size: 13px; }
.metrics dd { margin: 0; font-size: 27px; font-weight: 650; font-variant-numeric: tabular-nums; }
.directory { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: clip; }
.directory-head, .filters { display: flex; align-items: center; gap: 10px; padding: 15px 19px; }
.directory-head { justify-content: space-between; padding-bottom: 0; }
h2 { font-size: 19px; letter-spacing: -.02em; }
.directory-head span, .empty p { color: var(--muted); font-size: 14px; }
.search { position: relative; flex: 1; }
.search svg { position: absolute; top: 11px; left: 11px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 38px; }
input, select { width: 100%; min-height: 42px; border: 1px solid #bac9de; border-radius: 7px; padding: 8px 10px; background: var(--white); color: var(--ink); }
input::placeholder { color: var(--muted); }
.filters select { min-width: 122px; max-width: 190px; }
.table-frame { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 18px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
th { background: var(--canvas); font-size: 13px; color: var(--muted); }
td:first-child { font-weight: 650; }
.edit { border: 0; background: transparent; color: var(--accent); padding: 8px 0; text-decoration: underline; text-underline-offset: .2em; }
.empty { padding: 37px 15px 43px; border-top: 1px solid var(--line); text-align: center; }
.empty-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; margin: 0 auto 12px; background: var(--soft); color: var(--accent); }
.empty p { margin: 5px 0 13px; }
#notice { padding: 8px 19px; color: #185741; background: #e9f6ef; }
dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); border: 0; border-radius: 14px; padding: 21px; color: var(--ink); background: var(--white); box-shadow: 0 12px 46px #1627433d; }
dialog::backdrop { background: #11274799; }
dialog header, dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
dialog footer { justify-content: flex-end; margin-top: 20px; }
.form-hint { margin-bottom: 15px; color: var(--muted); font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.fields label { font-weight: 600; font-size: 13px; }
.fields input, .fields select { margin-top: 5px; font-weight: 400; }
.error { color: #a02c34; margin-top: 13px; }
@media (max-width: 850px) {
  body { grid-template-columns: 192px minmax(0, 1fr); }
  .filters { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
}
@media (max-width: 650px) {
  body { display: block; }
  .sidebar { position: static; height: auto; padding: 14px 18px; }
  .brand { margin: 0; }
  .menu > summary { display: list-item; margin-top: 10px; cursor: pointer; }
  .menu nav { padding-bottom: 8px; }
  .environment { display: none; }
  main { padding-top: 22px; }
  .heading { align-items: flex-start; flex-direction: column; }
  .metrics { margin-block: 18px; }
  .table-frame table, .table-frame tbody, .table-frame tr, .table-frame td { display: block; }
  .table-frame thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .table-frame tr { padding: 10px 16px; border-top: 1px solid var(--line); }
  .table-frame td { border: 0; padding: 3px 0; }
}
@media (max-width: 420px) {
  .fields { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
  .primary:active, .secondary:active { transform: none; }
}

#customer-dialog, #print-dialog { width: min(820px, calc(100% - 28px)); }
.card-section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.card-section summary { cursor: pointer; font-weight: 650; }
.card-section summary small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.card-section summary + .fields { margin-top: 12px; }
.section-head, .document-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.document-line { justify-content: flex-start; border-bottom: 1px solid var(--line); padding-block: 5px; }
.document-line p { margin-right: auto; }
.payment-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.payment-line p { color: var(--muted); font-size: 13px; }
.collection-filters { align-items: end; flex-wrap: wrap; }
.collection-filters label { font-size: 13px; font-weight: 600; }
.collection-filters :is(input, select) { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; }
.collection-filters .search { min-width: min(100%, 210px); }
.collection-filters .search input { padding-left: 10px; }
.collection-amount { font-weight: 700; white-space: nowrap; }
.report-actions, .report-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.report-tabs { margin-top: 20px; border-bottom: 1px solid var(--line); }
.report-tabs a { padding: 8px 10px; text-decoration: none; color: var(--muted); }
.report-tabs a[aria-current="page"] { color: var(--accent); border-bottom: 2px solid var(--accent); font-weight: 700; }
.report-actions a { text-decoration: none; }
.report-link { text-decoration: none; }
.import-panel, .analytics-section, .report-controls { margin-top: 18px; }
.import-panel, .analytics-section { padding: 18px; }
.import-panel details, .import-panel .report-actions { margin-top: 12px; }
.import-panel summary { cursor: pointer; font-weight: 650; overflow-wrap: anywhere; }
.import-item { border-top: 1px solid var(--line); padding: 10px 0; }
.import-item .fields { margin-top: 10px; }
.analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.analytics-line, .month-line { display: grid; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.analytics-line { grid-template-columns: 1fr auto; }
#login-form button, #user-form .report-actions { margin-top: 12px; }
.settings-user { padding: 9px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.field-menu > summary { display: flex; align-items: center; gap: 10px; min-height: 43px; cursor: pointer; padding: 8px 10px; border-radius: 7px; list-style: none; }
.field-menu > summary::-webkit-details-marker { display: none; }
.field-menu > summary::after { content: ''; width: 7px; height: 7px; margin-left: auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.field-menu[open] > summary::after { transform: rotate(225deg); }
.field-menu > summary:hover { background: #204889; }
.field-menu > div { padding-left: 17px; }
.field-menu > div > a { padding-left: 17px; font-size: 14px; }
.field-heading { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.field-visit { padding: 15px 19px; border-top: 1px solid var(--line); display: grid; gap: 7px; overflow-wrap: anywhere; }
.field-visit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.field-visit-head p, .field-location, .field-visit details { font-size: 13px; color: var(--muted); }
.field-state { flex: none; border-radius: 6px; padding: 4px 7px; color: #214b85; background: var(--soft); font-size: 12px; font-weight: 700; }
.state-late, .state-missed { color: #843838; background: #fae8eb; }
.state-completed { color: #175441; background: #e6f5eb; }
.field-timeline { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.field-visit details summary { cursor: pointer; }
.visit-photo { display: block; width: min(100%, 320px); height: auto; border-radius: 8px; margin-top: 8px; }
#visit-result-fields { margin-top: 12px; }
.field-visit button { justify-self: start; }
.active-visit { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 13px; margin: 0 0 16px; background: #e6effd; }
.active-visit p, .visit-report-summary { color: var(--muted); font-size: 14px; }
.active-visit .field-departure { grid-column: 1 / -1; color: #7a321e; background: #fff0df; border-radius: 7px; padding: 9px 12px; }
#visit-customer-search button { margin-top: 6px; }
#visit-customer-status { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) {
  #visit-timesheet table, #visit-timesheet tbody, #visit-timesheet tr, #visit-timesheet td { display: block; }
  #visit-timesheet thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  #visit-timesheet tr { padding: 10px 16px; border-top: 1px solid var(--line); }
  #visit-timesheet td { border: 0; padding: 3px 0; }
  #visit-timesheet td::before { content: attr(data-label); display: inline-block; min-width: 104px; padding-right: 8px; color: var(--muted); font-weight: 600; }
}
#active-clock { color: var(--nav); font-size: 24px; font-variant-numeric: tabular-nums; }
.visit-report-summary { padding: 0 19px 12px; }
#visit-timesheet td :is(p, details) { margin-top: 4px; font-size: 13px; }
#visit-login-form .report-actions { margin-top: 12px; }
.login-page { display: grid; grid-template-columns: 1fr; place-items: center; padding: 20px; }
.login-card { width: min(100%, 460px); padding: clamp(18px, 5vw, 34px); }
.login-brand { display: flex; align-items: center; gap: 10px; color: var(--nav); margin-bottom: 18px; }
.login-card .fields { grid-template-columns: 1fr; }
.login-card h1 { font-size: clamp(23px, 5vw, 30px); }
.login-card .form-hint { margin-top: 6px; }
.login-card button, .login-setup, #field-user-form button, #field-logout { margin-top: 12px; }
.login-setup { display: inline-block; color: var(--accent); }
#visit-dialog { width: min(640px, calc(100% - 28px)); }
.field-visit-fields { min-width: 0; margin: 0 0 10px; padding: 0; border: 0; }
#visit-outcome-field textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #bac9de; border-radius: 7px; padding: 8px; font: inherit; resize: vertical; }
@media (max-width: 650px) {
  .field-visit button { justify-self: stretch; }
  .active-visit { grid-template-columns: 1fr auto; }
  .active-visit button { grid-column: 1 / -1; }
  .field-metrics dt { font-size: 12px; }
}
#users-status { margin-top: 8px; color: var(--muted); }
@media (max-width: 650px) {
  :is(#instrument-open, #instrument-overdue) { font-size: clamp(13px, 4vw, 22px); overflow-wrap: anywhere; }
}
.reports-main .reports-intro {
  display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 24px 26px; border: 1px solid #cbdaf0; border-radius: 14px;
  background: #e6effd; color: #142e59;
}
.reports-intro p { color: #38557d; margin-top: 6px; }
.reports-intro .secondary { border-color: #c5d5ec; }
.reports-main .report-controls { margin-top: 14px; }
.report-period { margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 650; }
.report-kpis { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin: 8px 0 0; }
.report-kpi { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.report-kpi dt { font-size: 13px; font-weight: 650; color: var(--muted); }
.report-kpi dd { margin: 3px 0; font-size: clamp(18px, 3vw, 29px); font-weight: 750; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.report-kpi small { color: var(--muted); }
.kpi-total { color: #fff; border-color: var(--nav); background: var(--nav); }
.kpi-total :is(dt, small) { color: var(--nav-muted); }
.kpi-overdue dd { color: #8a4028; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.report-layout .analytics-section { min-width: 0; margin: 0; }
.report-layout .form-hint { margin-top: 4px; }
.report-empty { color: var(--muted); background: var(--canvas); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.trend-panel .report-empty { min-height: 130px; display: grid; place-items: center; text-align: center; }
.analytics-line small { color: var(--muted); }
.finance-panel .analytics-line:last-child { margin-top: 7px; padding: 10px 8px; border: 0; border-radius: 7px; background: var(--soft); }
#monthly-bars { overflow-x: auto; }
#monthly-bars svg { width: 100%; height: auto; min-width: 380px; fill: var(--muted); stroke: none; font: 13px "Segoe UI", system-ui, sans-serif; }
#monthly-bars .chart-grid { stroke: var(--line); stroke-width: 1; }
#monthly-bars .chart-bar { fill: #4776bd; }
#monthly-bars .chart-selected { fill: #133a80; }
#monthly-bars .chart-negative { fill: #a3533b; }
#monthly-bars .chart-month-selected { fill: var(--nav); font-weight: 750; }
#chart-data { margin-top: 9px; }
#chart-data summary { color: var(--accent); cursor: pointer; font-size: 13px; }
#monthly-values { margin-top: 6px; }
#finance-dialog, #daily-dialog { width: min(620px, calc(100% - 28px)); }
@media (max-width: 950px) {
  .report-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .reports-main .reports-intro { padding: 16px; }
  .report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .report-kpi { padding: 12px; }
  .kpi-total { grid-column: 1 / -1; }
  #monthly-bars svg { min-width: 0; font-size: 21px; }
  #monthly-bars .chart-month:not(.chart-month-selected) { display: none; }
}
#finance-form { margin-top: 12px; }
#finance-form button { margin-top: 10px; }
.month-line { grid-template-columns: minmax(58px, 90px) minmax(0, 1fr) minmax(80px, auto); font-size: 13px; }
.month-line meter { width: 100%; accent-color: var(--accent); }
.month-line strong, .analytics-line strong { text-align: right; overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .analytics-grid { grid-template-columns: 1fr; gap: 0; }
  #analytics .metrics dd { font-size: clamp(13px, 4vw, 22px); overflow-wrap: anywhere; }
}
#report-dialog { width: min(780px, calc(100% - 28px)); }
#excel-results { max-height: 48vh; overflow: auto; margin-top: 12px; overflow-wrap: anywhere; }
#excel-results p + p { border-top: 1px solid var(--line); padding: 5px 0; }
.import-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.import-row input { flex: none; width: 18px; min-height: 18px; }
#report-form footer { flex-wrap: wrap; }
.collection-error { margin: 0 19px 12px; }
.collection-filters + .collection-error + .collections-table td:first-child { font-weight: 400; }
.pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.pagination span { color: var(--muted); font-size: 13px; }
.pagination > div { display: flex; flex-wrap: wrap; gap: 5px; }
.pagination button { min-height: 36px; min-width: 36px; padding: 5px 8px; font-size: 13px; }
.pagination button[aria-current="page"] { color: var(--white); background: var(--accent); border-color: var(--accent); }
.pagination button:disabled { cursor: default; }
@media (max-width: 650px) {
  .collections-table td::before { content: attr(data-label); display: inline-block; min-width: 88px; padding-right: 8px; color: var(--muted); font-weight: 600; }
  .collection-filters label { flex: 1 1 136px; min-width: 0; }
  .collection-filters .search { flex-basis: 100%; }
  .collection-filters select { max-width: none; }
  :is(#collection-total, #cash-total) { font-size: clamp(14px, 4vw, 25px); overflow-wrap: anywhere; }
}
.payment-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.balance-pill { display: inline-block; margin: 4px 0; padding: 3px 9px; border-radius: 6px; color: #174077; background: #e3edff; font-weight: 750; }
.balance-paid { color: #175441; background: #e6f5eb; }
.balance-cancelled { color: #773039; background: #fae8eb; }
#cancellation-form textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #bac9de; border-radius: 7px; padding: 8px; font: inherit; resize: vertical; }
.edit-customer { white-space: nowrap; }
#batch { min-width: 0; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
#batch legend { padding-inline: 6px; font-weight: 650; }
#batch .form-hint { margin-block: 10px; }
.schedule-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px; align-items: end; margin-bottom: 10px; }
.schedule-row label { min-width: 0; font-size: 13px; }
.schedule-row input { margin-top: 4px; }
.print-controls { flex-wrap: wrap; margin-bottom: 18px; }
.print-controls h2 { margin-right: auto; }
.print-page { padding: 20px; border: 1px solid var(--line); margin-bottom: 12px; overflow-wrap: anywhere; }
.draft-label { color: var(--muted); font-weight: 700; }
.print-page h3 { font-size: 24px; }
.print-page h4 { margin-bottom: 5px; }
.print-facts { display: grid; grid-template-columns: minmax(95px, 1fr) minmax(0, 2fr); gap: 4px 12px; }
.print-facts dt { font-weight: 650; }
.print-facts dd { margin: 0; }
.signature { margin-top: 26px; white-space: pre-wrap; }
@media (max-width: 600px) {
  .schedule-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-page { padding: 12px; }
  .print-page :is(th, td) { padding: 6px; }
}
@page { size: A4; margin: 15mm; }
@media print {
  body { display: block; background: white; }
  body:has(#print-dialog[open]) > :not(#print-dialog), .print-controls { display: none !important; }
  #print-dialog[open] { position: static; display: block; width: auto; max-width: none; max-height: none; overflow: visible; margin: 0; padding: 0; box-shadow: none; color: black; }
  #print-dialog::backdrop { display: none; }
  .print-page { border: 0; margin: 0; padding: 0; }
  .print-page + .print-page { break-before: page; }
  .print-page tr, .signature { break-inside: avoid; }
}

.field-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#field-break-panel, #visit-reminder { margin-block: 1rem; }
#new-visit-customer { margin-block-start: .5rem; }
.field-visit p, #visit-timesheet p { overflow-wrap: anywhere; white-space: pre-wrap; }
#visit-action-form textarea { width: 100%; resize: vertical; }

#location-review-panel { margin-block: 1rem; }
#location-exception { margin-block: 1rem; }

.break-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
#break-clock { color:#16438c; font-size:1.45rem; font-variant-numeric:tabular-nums; }
#field-break-panel.break-running { background:#f6f9ff; }
#field-break-status, #field-live-status { margin-block:.45rem .85rem; }
.field-live { margin-block:1rem; }
#field-live-map { display:block; width:100%; height:clamp(16rem, 45vh, 30rem); border:1px solid #d6e0f0; border-radius:.65rem; margin-block:.85rem .35rem; }
#field-live-map[hidden] { display:none; }
#field-live-attribution { font-size:.85rem; }

.field-live-heading { display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
#field-live-count { color:#17477f; background:#eaf2fc; border-radius:1rem; padding:.25rem .75rem; font-size:.85rem; }
#field-live-empty { min-height:13rem; display:grid; align-content:center; justify-items:center; gap:.35rem; padding:1.5rem; text-align:center; border:1px solid #d6e0f0; border-radius:.65rem; background:#eef4fb; color:#254461; }
#field-live-empty[hidden] { display:none; }
#field-live-picker { max-width:25rem; }
