/* Shared application surfaces, typography and controls. */
:root {
  --app-bg: #f2f5f9;
  --app-surface: #fff;
  --app-fg: #172b43;
  --app-muted: #596b80;
  --app-line: #e0e7ef;
  --app-line-strong: #bdcad9;
  --app-primary: #215bdb;
  --app-primary-dark: #1949b5;
  --app-primary-weak: #edf3ff;
  --app-navy: #11243a;
  --app-radius: 8px;
  --app-radius-lg: 12px;
  --app-shadow-sm: 0 2px 4px #172b4305;
  --app-shadow: 0 16px 48px -24px #11243a4d;
  --bs-body-bg: var(--app-bg);
  --bs-body-color: var(--app-fg);
  --bs-border-color: var(--app-line);
  --bs-primary: var(--app-primary);
  --bs-primary-rgb: 33, 91, 219;
  --bs-link-color: var(--app-primary);
  --bs-link-hover-color: var(--app-primary-dark);
  --bs-border-radius: 8px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: var(--app-radius-lg);
  --bs-body-font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  --bs-body-font-size: .9375rem;
}
html { scroll-behavior: smooth; scroll-padding-bottom: 120px; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--app-bg); color: var(--app-fg); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { text-underline-offset: 3px; }
main.app-main { width: 100%; max-width: 1440px; padding: 32px 40px 48px; flex: 1; }
.app-main:focus, #main-content:focus { outline: none; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 5000; padding: 12px 20px; background: #fff; color: var(--app-primary); border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* Navigation */
.app-navbar { min-height: 72px; background: var(--app-navy); border-bottom: 1px solid #243950; padding-inline: 32px !important; position: sticky; top: 0; z-index: 1030; }
.app-navbar .navbar-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.app-navbar .navbar-brand:hover { color: #fff; }
.brand-name { font-size: 1rem; line-height: 1.25; white-space: normal; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #2c65e5; color: #fff; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.nav-workspace { display: inline-flex; gap: 8px; align-items: center; color: #d6e2f2; text-decoration: none; padding: 10px 16px; margin-right: 16px; font-size: 13px; border-radius: 8px; }
.nav-workspace:hover, .nav-workspace[aria-current] { color: #fff; background: #ffffff12; }
.nav-workspace svg { width: 18px; height: 18px; }
@media (max-width: 991.98px) {
  .nav-workspace.nav-documentation { display: none; }
}
.btn-user { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; color: #fff; border: 1px solid #ffffff26; background: #ffffff08; border-radius: 8px; font-size: 13px; }
.btn-user:hover, .btn-user:focus, .btn-user.show { color: #fff; background: #ffffff14; border-color: #ffffff55; }
.avatar { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: #deebff; background: #29435f; font-weight: 650; font-size: 12px; flex: none; }
.dropdown-menu { padding: 6px; border-color: var(--app-line); border-radius: 10px; }
.dropdown-item { padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.app-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.app-btn svg, .btn-icon svg { width: 18px; height: 18px; flex: none; }

/* Page hierarchy */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 12px 0 28px; }
.page-eyebrow { margin: 0 0 8px; color: var(--app-muted); font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.page-title { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 650; letter-spacing: -.04em; }
.page-sub, .section-sub { color: var(--app-muted); }
.section-title { margin: 0 0 20px; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--app-muted); font-size: 13px; font-weight: 500; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.back-link:hover { color: var(--app-primary); }
.back-link svg { width: 16px; height: 16px; flex: none; }

/* Forms and surfaces */
.card { border: 1px solid var(--app-line); border-radius: var(--app-radius-lg); background: var(--app-surface); box-shadow: var(--app-shadow-sm); }
.card-body { padding: 24px; }
.card-footer { background: transparent; }
.btn { --bs-btn-border-radius: 8px; min-height: 42px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.btn-primary { --bs-btn-bg: var(--app-primary); --bs-btn-border-color: var(--app-primary); --bs-btn-hover-bg: var(--app-primary-dark); --bs-btn-hover-border-color: var(--app-primary-dark); --bs-btn-active-bg: var(--app-primary-dark); --bs-btn-active-border-color: var(--app-primary-dark); box-shadow: 0 2px 3px #215bdb18; }
.btn-outline-primary { --bs-btn-color: var(--app-primary); --bs-btn-border-color: #c1d2f4; --bs-btn-hover-bg: var(--app-primary-weak); --bs-btn-hover-color: var(--app-primary-dark); --bs-btn-hover-border-color: var(--app-primary); }
.btn-outline-secondary { --bs-btn-color: var(--app-fg); --bs-btn-border-color: var(--app-line-strong); --bs-btn-hover-bg: #edf2f8; --bs-btn-hover-color: var(--app-fg); --bs-btn-hover-border-color: #9bacbf; }
.btn-outline-danger { --bs-btn-color: #b42335; --bs-btn-border-color: #dca9b0; --bs-btn-hover-bg: #b42335; --bs-btn-hover-border-color: #b42335; }
.btn-light { --bs-btn-bg: #f0f4fa; --bs-btn-border-color: #f0f4fa; --bs-btn-color: #294463; --bs-btn-hover-bg: #e2ebf6; --bs-btn-hover-border-color: #e2ebf6; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; min-width: 42px; padding: 8px; color: var(--app-muted); }
.form-label { color: #354a63; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.form-control, .form-select { min-height: 44px; border-color: var(--app-line-strong); border-radius: 8px; padding: 10px 12px; color: var(--app-fg); background-color: #fff; font-size: 14px; }
.form-control::placeholder { color: #73849a; }
.form-control:focus, .form-select:focus { border-color: var(--app-primary); box-shadow: 0 0 0 3px #215bdb1a; }
.form-control[type=file] { padding: 9px 12px; background: #f9fbfd; }
.form-text { color: var(--app-muted); }
.form-check-input:checked { background-color: var(--app-primary); border-color: var(--app-primary); }
.form-check-input:focus { box-shadow: 0 0 0 3px #215bdb1a; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-panel { height: 100%; }
.form-actions .ms-auto { margin-left: auto; }

/* Map library */
.workspace-head { margin-top: 4px; margin-bottom: 24px; }
.workspace-overview { display: flex; align-items: center; gap: 40px; margin-bottom: 32px; padding: 0 0 28px; border-bottom: 1px solid var(--app-line); }
.overview-item { display: flex; align-items: center; gap: 14px; }
.overview-item + .overview-item { padding-left: 40px; border-left: 1px solid var(--app-line); }
.overview-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); color: var(--app-primary); }
.overview-icon svg { width: 24px; height: 24px; }
.overview-item strong { display: block; font-size: 26px; font-weight: 650; line-height: 1.25; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.overview-item div > span { font-size: 12px; color: var(--app-muted); }
.map-library { border: 1px solid var(--app-line); border-radius: 12px; overflow: hidden; background: var(--app-surface); box-shadow: var(--app-shadow-sm); }
.library-toolbar { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.library-search { position: relative; flex: 1; max-width: 360px; }
.library-search > svg { width: 18px; height: 18px; position: absolute; left: 13px; top: 13px; color: var(--app-muted); pointer-events: none; }
.library-search .form-control { padding-left: 40px; background: #f8fafc; border-color: var(--app-line); }
.library-sort { width: 180px; flex: none; border-color: var(--app-line); }
.library-columns, .map-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 140px 136px; align-items: center; gap: 24px; padding: 0 24px; }
.library-columns { padding-block: 12px; background: #f7f9fc; border-block: 1px solid var(--app-line); color: var(--app-muted); font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.map-row { min-height: 104px; padding-block: 20px; border-bottom: 1px solid var(--app-line); transition: background .15s ease; }
.map-row:hover { background: #fbfcfe; }
.map-row-main { display: flex; align-items: center; gap: 18px; min-width: 0; text-decoration: none; color: var(--app-fg); }
.map-row-main:hover { color: var(--app-primary); }
.map-thumbnail { width: 60px; height: 60px; display: grid; place-items: center; flex: none; background: #f3f7fc; color: var(--map-color, var(--app-primary)); border: 1px solid var(--app-line); border-radius: 10px; }
.map-thumbnail svg { width: 38px; height: 38px; }
.map-row-info { min-width: 0; }
.map-row-info h2 { font-size: 15px; font-weight: 650; margin: 0; letter-spacing: -.015em; overflow-wrap: anywhere; }
.map-row-info p { font-size: 12px; margin: 6px 0 0; color: var(--app-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-row-count { font-size: 12px; color: var(--app-muted); }
.map-row-count b { font-size: 15px; color: var(--app-fg); font-weight: 600; margin-right: 3px; font-variant-numeric: tabular-nums; }
.map-row-date { font-size: 12px; color: var(--app-muted); }
.map-row-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.map-row-actions .btn-icon { min-width: 36px; width: 36px; }
.map-row-actions .btn-light { display: inline-flex; align-items: center; gap: 14px; }
.library-footer { padding: 14px 24px; color: var(--app-muted); font-size: 12px; }
.library-empty { padding: 48px 24px; text-align: center; color: var(--app-muted); }
.empty-state { padding: 64px 24px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #dce6f5; border-radius: 20px; background: #f1f6ff; color: var(--app-primary); margin: 0 auto 24px; }
.empty-icon svg { width: 34px; height: 34px; }
.empty-state h2 { font-size: 18px; margin: 0 0 24px; font-weight: 600; }

/* Point editor: the map stays alongside its data. */
.entry-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.entry-layout > * { min-width: 0; }
.entry-location .card-body { padding: 20px; }
.panel-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; min-height: 28px; }
.panel-heading .section-title { margin: 0; }
.section-number { width: 26px; height: 26px; border-radius: 6px; background: var(--app-primary-weak); color: var(--app-primary); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.picker-status { margin-left: auto; font-size: 11px; color: var(--app-muted); padding: 4px 8px; border-radius: 5px; background: #f0f4f8; white-space: nowrap; }
.picker-status.is-selected { background: #e9f6f0; color: #17613e; }
.location-search { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.location-search .form-control { min-width: 0; flex: 1; }
.location-search .btn { min-height: 44px; }
.geo-results { max-height: 190px; overflow: auto; border-radius: 8px; }
.geo-results:empty { display: none; }
.geo-results button { text-align: left; }
.picker-frame { position: relative; border: 1px solid var(--app-line); border-radius: 8px; overflow: hidden; }
#picker { height: clamp(360px, 49vh, 520px); background: #e8eff4; }
.picker-reset { position: absolute; z-index: 800; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--app-line); background: #fff; color: var(--app-fg); border-radius: 7px; box-shadow: 0 2px 8px #11243a0d; font-size: 12px; font-weight: 600; }
.picker-reset svg { width: 16px; height: 16px; }
.picker-reset:hover { background: #f3f7fc; }
.coordinate-fields { margin-block: 4px 16px; }
.coordinate-fields .form-control { font-variant-numeric: tabular-nums; }
.entry-actions { grid-column: 1 / -1; position: sticky; bottom: 0; z-index: 900; padding: 16px 20px; border: 1px solid var(--app-line); border-radius: 10px; background: #fff; box-shadow: 0 -8px 24px #11243a06; }
.entry-actions .form-actions > .btn-link { margin-right: auto; }
#picker .leaflet-control-layers, #picker .leaflet-bar { border: 1px solid var(--app-line); border-radius: 8px; box-shadow: 0 3px 12px #11243a14; }
#picker .leaflet-control-zoom a { width: 34px; height: 34px; line-height: 34px; }

/* Secondary screens */
.auth-wrap { min-height: calc(100dvh - 152px); display: grid; place-items: center; padding: 32px 0; }
.auth-card { width: 100%; max-width: 420px; }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 20px; color: #fff; background: var(--app-navy); }
.auth-logo svg { width: 26px; height: 26px; }
.auth-head h1 { font-size: 25px; font-weight: 650; letter-spacing: -.035em; margin: 0; }
.auth-head p, .auth-foot { color: var(--app-muted); }
.auth-form { box-shadow: var(--app-shadow); }
.auth-form .card-body { padding: 32px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13px; }
.schema-row { padding: 16px; margin-bottom: 12px; border: 1px solid var(--app-line); border-radius: 8px; background: #f9fbfd; }
.schema-add { margin-top: 4px; }
.workspace-welcome { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 48px; align-items: center; padding: 40px; margin-bottom: 32px; border: 1px solid var(--app-line); border-radius: 16px; background: var(--app-surface); }
.welcome-copy h1 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; margin: 16px 0; }
.welcome-copy > p { max-width: 52ch; color: var(--app-muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.welcome-workflow { list-style: none; margin: 0; padding: 24px; background: #f5f8fd; border-radius: 12px; }
.welcome-workflow li { display: flex; gap: 16px; padding: 18px 0; align-items: flex-start; }
.welcome-workflow li + li { border-top: 1px solid var(--app-line); }
.welcome-workflow li > span { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid #d3e0f4; border-radius: 8px; color: var(--app-primary); background: #fff; font-size: 11px; font-weight: 650; }
.welcome-workflow strong { font-size: 14px; font-weight: 650; }
.welcome-workflow p { margin: 5px 0 0; font-size: 12px; color: var(--app-muted); }
#projects { scroll-margin-top: 92px; }
#projects .section-title { margin: 0; font-size: 20px; }
.project-steps { display: flex; justify-content: center; list-style: none; padding: 0; gap: 32px; margin: 0; }
.project-steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--app-muted); }
.project-steps li > span { font-size: 11px; border-radius: 6px; padding: 6px 8px; background: #f1f4f8; }
.project-steps .active { color: var(--app-primary); font-weight: 650; }
.project-steps .active > span { background: var(--app-primary); color: #fff; }
.project-steps .done { color: #236545; }
.settings-section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.settings-section-head .section-title { margin: 0; }
.settings-section-head p { font-size: 13px; color: var(--app-muted); margin: 8px 0 0; }
.settings-section-head > .btn { flex: none; }
.schema-empty { padding: 28px 20px; color: var(--app-muted); background: #f9fbfd; border: 1px dashed var(--app-line-strong); border-radius: 8px; font-size: 14px; text-align: center; }
.schema-row-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.schema-index { font-size: 12px; font-weight: 650; color: var(--app-muted); }
.schema-actions { display: flex; gap: 6px; flex: none; }
.schema-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.schema-control { min-width: 0; }
.schema-row > .schema-control { margin-top: 16px; }
.schema-checks { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 16px; font-size: 13px; }
.schema-preview-wrap { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--app-line); margin-top: 16px; padding-top: 16px; }
.schema-preview-label { color: var(--app-muted); font-size: 11px; flex: none; }
.schema-preview { color: var(--app-fg); overflow-wrap: anywhere; min-width: 0; }
.schema-preview.field-format-h1, .entry-field.field-format-h1 .form-control:not([type=file]), .entry-field.field-format-h1 .form-select, .entry-field.field-format-h1 .form-check-label { font-size: 26px; font-weight: 700; line-height: 1.25; }
.schema-preview.field-format-h2, .entry-field.field-format-h2 .form-control:not([type=file]), .entry-field.field-format-h2 .form-select, .entry-field.field-format-h2 .form-check-label { font-size: 20px; font-weight: 650; line-height: 1.35; }
.category-row { display: flex; align-items: flex-end; gap: 16px; }
.category-row > .schema-control:first-child { flex: 1; }
.settings-advanced > summary { padding: 20px 24px; font-size: 15px; font-weight: 600; cursor: pointer; }
.settings-advanced > summary::marker { color: var(--app-muted); }
.settings-advanced[open] > summary { border-bottom: 1px solid var(--app-line); }
.project-wizard { scroll-margin-top: 88px; }
.wizard-toolbar { position: sticky; top: 76px; z-index: 900; padding: 20px; margin-bottom: 24px; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 10px; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; margin-top: 24px; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 10px; }
.wizard-actions .btn { white-space: nowrap; }
.wizard-status { font-size: 13px; color: var(--app-muted); }
.wizard-status:empty { display: none; }
.wizard-name-panel .card-body { padding: 32px; }
.wizard-step-title { margin-bottom: 24px; }
.wizard-step-title:focus { outline: none; }
.project-danger { margin-top: 32px; border-top: 1px solid var(--app-line); padding-top: 24px; }
.project-field-empty p { margin: -8px auto 24px; color: var(--app-muted); max-width: 48ch; }
.alert { border-radius: 8px; }
:focus-visible { outline: 3px solid #427bea; outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  main.app-main { padding-inline: 24px; }
  .library-columns, .map-row { grid-template-columns: minmax(0, 1fr) 90px 110px 120px; gap: 16px; }
  .entry-layout { grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 16px; }
  .entry-location .card-body, .entry-details .card-body { padding: 16px; }
}
@media (max-width: 900px) {
  .workspace-welcome { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .welcome-workflow { display: flex; gap: 16px; padding: 16px; }
  .welcome-workflow li { flex: 1; display: block; padding: 0; }
  .welcome-workflow li + li { border-top: 0; }
  .welcome-workflow li > span { margin-bottom: 12px; }
  .entry-layout { grid-template-columns: 1fr; }
  .entry-actions { position: static; }
  #picker { height: 400px; }
  .map-row, .library-columns { grid-template-columns: minmax(0, 1fr) 90px 120px; }
  .map-row-date, .library-columns > span:nth-child(3) { display: none; }
}
@media (max-width: 575.98px) {
  .workspace-welcome { padding: 24px 20px; }
  .welcome-workflow { display: block; padding: 0; background: none; }
  .welcome-workflow li { display: flex; padding: 16px 0; }
  .welcome-workflow li + li { border-top: 1px solid var(--app-line); }
  .welcome-workflow li > span { margin-bottom: 0; }
  .welcome-copy > p { font-size: 14px; }
  .wizard-toolbar { top: 64px; padding: 16px; }
  .wizard-toolbar .project-steps { gap: 24px; }
  .project-steps li { font-size: 12px; gap: 8px; }
  .wizard-actions { padding: 16px; }
  .wizard-actions .btn { padding-inline: 12px; font-size: 12px; }
  .wizard-name-panel .card-body { padding: 20px; }
  .settings-section-head { align-items: flex-start; flex-direction: column; }
  .schema-grid { grid-template-columns: 1fr; }
  .schema-checks { flex-direction: column; gap: 12px; }
  .schema-row { padding: 12px; }
  .schema-preview-wrap { align-items: flex-start; flex-direction: column; gap: 8px; }
  .category-row { flex-wrap: wrap; }
  .category-row .schema-actions { flex-basis: 100%; }
  .app-navbar { min-height: 64px; padding-inline: 16px !important; }
  .app-navbar .navbar-brand { gap: 9px; margin-right: 8px; }
  .brand-name { max-width: 128px; font-size: 13px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .nav-workspace { display: none; }
  .nav-workspace.nav-auth { display: inline-flex; padding: 8px; margin: 0; }
  .btn-user { padding-right: 8px; }
  main.app-main { padding: 24px 16px 32px; }
  .page-head { gap: 16px; margin-bottom: 24px; }
  .page-eyebrow { font-size: 10px; }
  .workspace-overview { gap: 20px; margin-bottom: 24px; padding-bottom: 24px; }
  .overview-item { gap: 10px; }
  .overview-item + .overview-item { padding-left: 20px; }
  .overview-icon { width: 36px; height: 40px; border-radius: 8px; }
  .overview-icon svg { width: 20px; height: 20px; }
  .overview-item strong { font-size: 22px; }
  .overview-item div > span { font-size: 11px; }
  .library-toolbar { padding: 16px; flex-wrap: wrap; gap: 12px; }
  .library-search { max-width: none; flex-basis: 100%; }
  .library-sort { width: 100%; min-height: 38px; padding-block: 8px; }
  .library-columns { display: none; }
  .map-row { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px 16px; }
  .map-row-main { grid-column: 1 / -1; gap: 12px; }
  .map-thumbnail { width: 48px; height: 48px; }
  .map-thumbnail svg { width: 32px; height: 32px; }
  .map-row-actions { justify-content: flex-end; }
  .map-row-count { padding-left: 60px; }
  .map-row-info h2 { font-size: 14px; }
  .card-body { padding: 20px; }
  .entry-location .card-body, .entry-details .card-body { padding: 14px; }
  .panel-heading { gap: 8px; flex-wrap: wrap; }
  .panel-heading .section-title { font-size: 14px; }
  .picker-status { font-size: 10px; padding: 4px 6px; }
  #picker { height: 340px; }
  .location-search { flex-wrap: wrap; }
  .location-search .form-control { flex-basis: calc(100% - 56px); }
  .location-search #geo-btn { order: 2; width: 100%; }
  .location-search #geo-me { order: 1; }
  .entry-actions { padding: 12px; }
  .entry-actions .form-actions { gap: 8px; }
  .entry-actions .form-actions > .btn { font-size: 12px; padding-inline: 10px; }
  .entry-actions .form-actions > .btn-primary { flex: 1; margin-left: 0; }
  .entry-actions .form-actions > .btn-link { margin-right: 0; }
  .auth-form .card-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
