:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #1a1c20;
  --muted: #626874;
  --faint: #9aa0aa;
  --line: #e2e5ea;
  --accent: #8c5e2a;
  --accent-ink: #ffffff;
  --accent-soft: #f2ede8;
  --blue: #2f5674;
  --blue-soft: #e6eef4;
  --green: #3f7a52;
  --green-soft: #e5f1e8;
  --amber: #b7791f;
  --red: #b4432e;
  --red-soft: #f8e5e0;
  --shadow: 0 1px 2px rgb(20 24 32 / 5%), 0 6px 24px rgb(20 24 32 / 7%);
  --radius: 18px;
  --serif: 'Fraunces', Georgia, serif;
  --read: 'Literata', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: 19px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111215; --surface: #1b1d21; --surface-2: #212328; --ink: #eceef1; --muted: #a0a5ae; --faint: #6b7079;
    --line: #2c2f35; --accent: #d9a866; --accent-ink: #1b1d21; --accent-soft: #2c2822; --blue: #8fb4d1; --blue-soft: #1d2833;
    --green: #86c49a; --green-soft: #1c2a20; --red: #ea8b78; --red-soft: #33201c; --amber: #e3b05a;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 28px rgb(0 0 0 / 35%); color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #111215; --surface: #1b1d21; --surface-2: #212328; --ink: #eceef1; --muted: #a0a5ae; --faint: #6b7079;
  --line: #2c2f35; --accent: #d9a866; --accent-ink: #1b1d21; --accent-soft: #2c2822; --blue: #8fb4d1; --blue-soft: #1d2833;
  --green: #86c49a; --green-soft: #1c2a20; --red: #ea8b78; --red-soft: #33201c; --amber: #e3b05a;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 28px rgb(0 0 0 / 35%); color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; }
body { overscroll-behavior: none; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; }
input, textarea, select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; width: 100%; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: none; line-height: 1.5; }
svg { display: block; }

/* ---------- Shell ---------- */
#app { height: 100%; }
.shell { display: flex; height: 100%; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.view { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px calc(96px + var(--safe-b)); }
.view.flush { padding: 0; }
.split { flex: 1; display: flex; min-height: 0; }
.split > .pane { flex: 1; min-width: 0; overflow-y: auto; }
.split > .pane + .pane { border-left: 1px solid var(--line); background: var(--surface-2); }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; min-height: 52px; color: var(--faint); font-size: 11px; font-weight: 500; border-radius: 12px; }
.tab.on { color: var(--accent); }
.tab svg { width: 24px; height: 24px; }

.rail { display: none; }
@media (min-width: 900px) {
  .tabbar { display: none; }
  .view { padding-bottom: 40px; }
  .rail { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 18px 0; border-right: 1px solid var(--line); background: var(--surface); }
  .rail .logo { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
  .rail .tab { flex: 0; width: 68px; min-height: 64px; justify-content: center; }
  .rail .tab.on { background: var(--accent-soft); }
}

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.view.flush .top { padding-left: 16px; padding-right: 16px; }
.top h1 { flex: 1; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -0.01em; }
.top h2 { flex: 1; margin: 0; font-size: 17px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); flex: none; }
.icon-btn:active { background: var(--line); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 600; font-size: 15px; background: var(--surface); border: 1px solid var(--line); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--accent); }
.btn.block { width: 100%; }
.btn svg { width: 20px; height: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip svg { width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.seg { display: flex; background: var(--line); border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 10%); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.list { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.list > *, .refs > * { min-width: 0; }
.view { overflow-x: hidden; }
@media (min-width: 700px) { .list.grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.topic-foot .btn.ghost { min-height: 40px; }
.sermon-card { text-align: left; display: block; width: 100%; }
.sermon-card h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; align-items: center; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 15px; height: 15px; }
.empty { text-align: center; color: var(--muted); padding: 56px 24px; }
.empty .big { font-family: var(--serif); font-size: 64px; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 600; margin: 22px 4px 10px; }

/* ---------- Editor ---------- */
.title-input { border: 0; background: transparent; padding: 4px 0; font-family: var(--serif); font-size: 30px; font-weight: 600; box-shadow: none !important; }
.title-input::placeholder { color: var(--faint); }
.sub-input { border: 0; background: transparent; padding: 4px 0; font-size: 16px; color: var(--muted); box-shadow: none !important; }
.topic { position: relative; padding: 16px 16px 14px; }
.topic-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.topic-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; flex: none; }
.kind-btn { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); padding: 8px 4px; min-height: 36px; }
.topic-title { border: 0; background: transparent; padding: 6px 0; font-size: 20px; font-weight: 600; box-shadow: none !important; }
.topic-notes { border: 0; background: transparent; padding: 4px 0; font-size: 16px; color: var(--ink); box-shadow: none !important; min-height: 48px; }
.topic-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 42px; height: 40px; display: grid; place-items: center; font-size: 20px; color: var(--accent); }
.stepper button:active { background: var(--accent-soft); }
.stepper span { min-width: 56px; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.spacer { flex: 1; }
.refs { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ref-pill { display: flex; align-items: center; gap: 10px; background: var(--blue-soft); color: var(--blue); border-radius: 14px; padding: 10px 6px 10px 14px; min-height: 48px; text-align: left; width: 100%; }
.ref-pill b { font-weight: 700; font-size: 15px; white-space: nowrap; }
.ref-pill .pv { flex: 1; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-pill .x { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; flex: none; }
.ref-notes { margin: -2px 0 2px 14px; padding-left: 12px; border-left: 2px solid var(--line); display: grid; gap: 4px; }
.ref-note { font-size: 13.5px; color: var(--muted); }
.ref-note b { color: var(--ink); font-weight: 600; }
.ref-link { color: var(--blue); font-weight: 600; padding: 4px 2px; }
.order-btns { display: flex; gap: 2px; }

/* ---------- Bible reader ---------- */
.reader { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; font-family: var(--read); font-size: var(--font); line-height: 1.75; }
.reader h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5em; margin: 8px 0 18px; line-height: 1.2; }
.verse { border-radius: 8px; padding: 2px 4px; margin: 0 -4px; cursor: pointer; transition: background 0.15s; }
.verse sup { font-family: var(--sans); font-size: 0.58em; font-weight: 700; color: var(--accent); margin-right: 4px; vertical-align: 0.5em; }
.verse.sel { background: var(--accent-soft); box-shadow: inset 0 -2px 0 var(--accent); }
.verse.hl { background: color-mix(in srgb, var(--amber) 18%, transparent); }
.gloss { text-decoration: underline dotted var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: help; padding: 8px 0; }
.verse-actions .icon-btn { width: 42px; }
.reader-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 28px; font-family: var(--sans); }
.ver-bar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 10px; }
.ver-bar::-webkit-scrollbar { display: none; }

.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.picker-grid button { min-height: 52px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.picker-grid button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.book-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.book-grid button { font-size: 14px; padding: 0 6px; }
.book-grid button small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }

/* ---------- Sheets ---------- */
.scrim { position: fixed; inset: 0; background: rgb(10 8 5 / 38%); z-index: 50; animation: fade 0.2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 92vh; background: var(--surface); border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column; box-shadow: 0 -8px 40px rgb(0 0 0 / 18%); animation: up 0.26s cubic-bezier(.2,.8,.2,1); padding-bottom: var(--safe-b); }
.sheet.tall { height: 92vh; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 4px; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px 20px; flex: none; }
.sheet-head h3 { flex: 1; margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.sheet-body { overflow-y: auto; padding: 4px 20px 24px; flex: 1; -webkit-overflow-scrolling: touch; }
@media (min-width: 900px) {
  .sheet { left: auto; top: 0; width: 520px; max-height: none; height: 100%; border-radius: 24px 0 0 24px; animation: left 0.26s cubic-bezier(.2,.8,.2,1); }
  .sheet.tall { height: 100%; }
  .sheet .grab { display: none; }
  .sheet-head { padding-top: 18px; }
}
@keyframes up { from { transform: translateY(100%); } }
@keyframes left { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }

.actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; min-height: 84px; justify-content: center; }
.action svg { width: 24px; height: 24px; color: var(--accent); }

/* ---------- Popover (glossário) ---------- */
.pop { position: fixed; z-index: 70; max-width: min(360px, calc(100vw - 32px)); background: var(--ink); color: var(--bg); border-radius: 16px; padding: 14px 16px; box-shadow: 0 12px 40px rgb(0 0 0 / 30%); font-family: var(--sans); font-size: 15px; line-height: 1.5; animation: fade 0.15s; }
.pop .t { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.pop .c { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; margin-bottom: 4px; }

/* ---------- Insight cards ---------- */
.insight { border-radius: 16px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); }
.insight .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.insight.cumprimento .k, .insight.profecia .k { color: var(--green); }
.insight.paralelo .k { color: var(--blue); }
.insight.contexto .k, .insight.livro .k { color: var(--accent); }
.insight p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.insight .rl { display: flex; flex-wrap: wrap; gap: 6px; }
.mini { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--blue); }
.pick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); min-height: 36px; padding: 0 6px; }
.pick.on { color: var(--green); }
.pick svg { width: 18px; height: 18px; }
.xref { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.xref .body { flex: 1; min-width: 0; }
.xref .body b { color: var(--blue); font-size: 14px; }
.xref .body div { font-family: var(--read); font-size: 15px; line-height: 1.5; color: var(--ink); }

/* ---------- Interlinear ---------- */
.inter { display: flex; flex-wrap: wrap; gap: 10px; }
.word { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); min-width: 76px; }
.word.rtl { direction: rtl; }
.word .o { font-size: 24px; font-family: 'SBL Hebrew', 'Ezra SIL', 'Noto Serif Hebrew', 'Times New Roman', serif; }
.word .tr { font-size: 12.5px; color: var(--muted); font-style: italic; direction: ltr; }
.word .g { font-size: 13px; font-weight: 600; direction: ltr; text-align: center; }
.word .s { font-size: 11px; color: var(--accent); font-weight: 700; direction: ltr; }
.inter.rtl { flex-direction: row-reverse; justify-content: flex-start; }

.strong h4 { font-family: var(--serif); margin: 0; font-size: 34px; font-weight: 500; }
.strong .tl { color: var(--muted); font-style: italic; }
.kv { display: grid; gap: 4px; margin: 14px 0; }
.kv .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 700; }
.kv .v { font-size: 15.5px; line-height: 1.55; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }

/* ---------- Busca ---------- */
.search-box { position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--faint); }
.search-box input { padding-left: 44px; min-height: 52px; font-size: 17px; border-radius: 16px; background: var(--surface); }
.result { display: block; width: 100%; text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.result b { color: var(--accent); font-size: 14px; }
.result div { font-family: var(--read); font-size: 16px; line-height: 1.55; margin-top: 2px; }
mark { background: color-mix(in srgb, var(--amber) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

.gloss-item { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.gloss-item .t { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.gloss-item p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }

/* ---------- Mapa ---------- */
.map-wrap { position: relative; flex: 1; min-height: 0; }
#map, .map { position: absolute; inset: 0; background: var(--surface-2); }
.map-panel { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 500; }
.map-panel .chips { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.map-info { position: absolute; left: 12px; right: 12px; bottom: calc(84px + var(--safe-b)); z-index: 500; }
@media (min-width: 900px) { .map-info { bottom: 16px; max-width: 420px; } }
.leaflet-container { font-family: var(--sans); }
.pin-label { background: var(--surface); color: var(--ink); border: 0; border-radius: 8px; box-shadow: var(--shadow); font-weight: 600; font-size: 12px; padding: 3px 8px; }
.leaflet-tooltip-left.pin-label::before, .leaflet-tooltip-right.pin-label::before { display: none; }

/* ---------- Modo pregação ---------- */
.preach { position: fixed; inset: 0; z-index: 40; background: var(--bg); display: flex; flex-direction: column; }
.preach-top { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 6px; }
.progress { display: flex; gap: 4px; flex: 1; }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.progress i.done { background: var(--accent); }
.progress i b { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.preach-body { flex: 1; overflow-y: auto; padding: 16px 24px 24px; max-width: 900px; width: 100%; margin: 0 auto; }
.preach-kind { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.preach-title { font-family: var(--serif); font-size: clamp(30px, 6vw, 52px); font-weight: 600; line-height: 1.1; margin: 8px 0 18px; letter-spacing: -0.01em; }
.preach-notes { font-size: clamp(18px, 2.6vw, 24px); line-height: 1.6; white-space: pre-wrap; }
.preach-ref { display: block; width: 100%; text-align: left; margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.preach-ref b { font-size: 18px; color: var(--blue); }
.preach-ref div { font-family: var(--read); font-size: clamp(17px, 2.3vw, 21px); line-height: 1.6; margin-top: 6px; }
.preach-ref .ref-notes { margin-top: 8px; }
.preach-bar { display: flex; align-items: center; gap: 14px; padding: 12px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--surface); }
.timer { display: flex; align-items: center; gap: 14px; flex: 1; justify-content: center; }
.ring { position: relative; width: 74px; height: 74px; flex: none; }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ring .lbl { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 17px; }
.big-btn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.big-btn svg { width: 28px; height: 28px; }
.big-btn.play { background: var(--accent); color: var(--accent-ink); border: 0; }
.total { font-size: 13px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.over .lbl { color: var(--red); }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 500; font-size: 14px; animation: fade 0.2s; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.row { display: flex; gap: 10px; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hr { height: 1px; background: var(--line); margin: 18px 0; }
.mt { margin-top: 14px; }
.loading { padding: 40px; text-align: center; color: var(--faint); }

.wrap { max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .wrap > .btn.primary.block { width: auto; float: none; } }

.verse sup { padding: 8px 3px; }
.map-sheet { position: relative; flex: 1; min-height: 60vh; margin: -4px -20px -24px; display: flex; }
.map-sheet .view { padding: 0 !important; }
.map-sheet .map-info { bottom: 16px; }
.sheet:has(.map-sheet) .sheet-body { display: flex; flex-direction: column; }
