/* Shared header + footer for every page. Self-contained: all selectors are prefixed
 * "ch-" so they work next to Tailwind pages, the public site and the sign-in card. */
.ch-ico { width: 1.1rem; height: 1.1rem; flex: none; }
.ch-ico-lg { width: 1.5rem; height: 1.5rem; }
.ch-skip { position: absolute; left: -999px; top: 8px; background: #0a0a0a; color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.ch-skip:focus { left: 8px; }
.ch-inline { display: inline; margin: 0; }

.ch-nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e0e6ea; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #0a0a0a; line-height: 1.5; }
.ch-nav *, .ch-foot *, .ch-sosbar * { box-sizing: border-box; }
.ch-nav a, .ch-foot a, .ch-sosbar a { color: inherit; text-decoration: none; }
.ch-in { width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 16px; height: 68px; }
.ch-logo { display: inline-flex; align-items: center; flex: none; }
.ch-logo img { display: block; height: 50px; width: auto; }
.ch-links { display: flex; gap: 4px; margin-left: clamp(28px, 4.5vw, 64px); }
.ch-links a { padding: 8px 12px; border-radius: 6px; font-size: .93rem; font-weight: 500; color: #0a0a0a; }
.ch-links a:hover, .ch-links a[aria-current] { background: #f3f8fb; }
.ch-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ch-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #d6382b; color: #fff; font-size: 10.5px; font-weight: 700; vertical-align: 1px; }

.ch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid transparent; font: inherit; font-size: .93rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.ch-btn-sm { min-height: 34px; padding: 0 12px; font-size: .9rem; }
.ch-btn-primary { background: #0070ac; color: #fff !important; }
.ch-btn-primary:hover { background: #005a8c; }
.ch-btn-ghost { background: #fff; border-color: #b5bcc3; color: #0a0a0a !important; }
.ch-btn-ghost:hover { border-color: #0a0a0a; }
.ch-btn-sos { background: #d6382b; color: #fff !important; }
.ch-btn-sos:hover { background: #b52c21; }

.ch-iconbtn { position: relative; width: 36px; height: 36px; border: 0; border-radius: 6px; background: none; display: grid; place-items: center; cursor: pointer; color: #0a0a0a; }
.ch-iconbtn:hover { background: #f3f8fb; }
.ch-badge { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #d6382b; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.ch-badge[hidden] { display: none; }
.ch-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border: 1px solid #b5bcc3; border-radius: 999px; background: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: #0a0a0a; }
.ch-chip:hover { border-color: #0a0a0a; }
.ch-chip.on { background: #0070ac; border-color: #0070ac; color: #fff; }
.ch-down { transform: rotate(90deg); width: .8rem; height: .8rem; }
.ch-me { display: inline-flex; align-items: center; gap: 8px; padding: 3px 8px 3px 3px; border-radius: 999px; }
.ch-me:hover { background: #f3f8fb; }
.ch-av { width: 28px; height: 28px; border-radius: 50%; background: #0070ac; color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.ch-me-name { font-size: .9rem; font-weight: 600; }

.ch-pop-wrap { position: relative; }
.ch-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 330px; max-height: 420px; overflow: auto; background: #fff; border: 1px solid #d9dfe4; border-radius: 8px; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .3); z-index: 60; }
.ch-pop[hidden] { display: none; }
.ch-pop-sm { width: 190px; padding: 4px 0; }
.ch-pop-h { margin: 0; padding: 8px 12px 4px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0a0a0a; }
.ch-pop-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 0; background: none; font: inherit; font-size: .9rem; text-align: left; cursor: pointer; color: #0a0a0a; }
.ch-pop-item:hover { background: #f3f8fb; } .ch-pop-item.on { font-weight: 700; color: #0070ac; }
.ch-pop-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #e0e6ea; font-size: .9rem; }
.ch-pop-top button { border: 0; background: none; font: inherit; font-size: .8rem; color: #0070ac; cursor: pointer; font-weight: 600; }
.ch-pop-list a { display: block; padding: 10px 12px; border-bottom: 1px solid #eef2f5; }
.ch-pop-list a:hover { background: #f3f8fb; }
.ch-pop-list a.unread { background: #eaf3fa; }
.ch-pop-list b { display: block; font-size: .9rem; } .ch-pop-list span { display: block; font-size: .82rem; } .ch-pop-list small { font-size: .74rem; opacity: .8; }
.ch-empty { margin: 0; padding: 22px 12px; text-align: center; font-size: .85rem; }
.ch-pop-foot { display: block; padding: 10px; text-align: center; font-size: .85rem; font-weight: 600; color: #0070ac !important; }

.ch-menu { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 6px; background: none; cursor: pointer; color: #0a0a0a; place-items: center; }
.ch-menu:hover { background: #f3f8fb; }
.ch-drawer { display: none; border-top: 1px solid #e0e6ea; background: #fff; padding: 4px 16px 14px; }
.ch-drawer .ch-btn { width: 100%; margin-top: 10px; }
.ch-drawer form { margin: 0; }
.ch-roles { padding: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .ch-roles .ch-pop-h { width: 100%; padding-left: 0; }
.ch-nav.open .ch-drawer { display: flex; }

/* Footer */
.ch-foot { border-top: 1px solid #e0e6ea; background: #f3f8fb; color: #0a0a0a; padding: 24px 0 12px; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.5; font-size: 14px; }
.ch-foot .ch-in { height: auto; align-items: flex-start; }
.ch-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 18px; }
.ch-foot-brand p { margin: 8px 0 0; max-width: 36ch; }
.ch-foot-brand .ch-logo img { height: 56px; }
.ch-foot h4 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: #0a0a0a; }
.ch-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ch-foot li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ch-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ch-stores img { display: block; }
.ch-foot-bot { margin-top: 16px; padding-top: 10px; border-top: 1px solid #dfe5ea; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: .84rem; }
.ch-sosbar { display: none; }

@media (max-width: 960px) {
  .ch-links, .ch-right { display: none; }
  .ch-menu { display: grid; }
  .ch-logo img { height: 42px; }
  .ch-foot-grid { grid-template-columns: 1fr 1fr; }
  .ch-sosbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e0e6ea; }
  .ch-sosbar .ch-btn { flex: 1; }
  body { padding-bottom: 0; }
}
@media (max-width: 520px) { .ch-foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ch-btn { transition: none; } }

/* ================= Phone: behaves like a native app ================= */
.tabbar { display: none; }
@media (max-width: 960px) {
  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
  a, button { touch-action: manipulation; }
  /* top app bar: logo + menu only, the tab bar carries the actions */
  .ch-nav { position: sticky; top: 0; z-index: 45; border-bottom: 1px solid #e0e6ea; padding-top: env(safe-area-inset-top); background: #fff; }
  .ch-nav .ch-in { min-height: 56px; padding: 0 14px; }
  .ch-logo img { height: 36px; }
  .ch-menu { width: 44px; height: 44px; border-radius: 50%; }
  .ch-menu:active { background: #e7f2f9; }
  /* inputs: 16px stops iOS zooming on focus; 48px tall targets */
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
  input:not([type=checkbox]):not([type=radio]):not([type=file]), select { min-height: 48px; }
  .ch-btn, .btn, button[type=submit] { min-height: 48px; border-radius: 14px; }
  .ch-foot { display: none; }
  .ch-sosbar { display: none !important; }

  /* bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #dfe6eb; box-shadow: 0 -8px 24px -16px rgba(0,0,0,.25); }
  .tb { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-height: 52px; padding: 4px 2px; border-radius: 14px; color: #0a0a0a; text-decoration: none; transition: transform .12s ease, background-color .15s; }
  .tb:active { transform: scale(.92); }
  .tb-i { position: relative; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; transition: background-color .2s; }
  .tb-svg { width: 24px; height: 24px; stroke-width: 1.8; }
  .tb-t { font-size: .72rem; font-weight: 600; line-height: 1; letter-spacing: .01em; }
  .tb[aria-current="page"] { color: #005a8c; }
  .tb[aria-current="page"] .tb-i { background: #e2f0f8; }
  .tb[aria-current="page"] .tb-svg { stroke-width: 2.2; }
  .tb-n { position: absolute; top: -3px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d6382b; color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box; }
  /* centre SOS: raised round button */
  .tb-sos { color: #d6382b; }
  .tb-sos .tb-i { width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: #d6382b; color: #fff; box-shadow: 0 8px 18px -6px rgba(214,56,43,.65), 0 0 0 5px #fff; }
  .tb-sos .tb-svg { width: 28px; height: 28px; color: #fff; stroke-width: 2; }
  .tb-sos[aria-current="page"] .tb-i { background: #b82a1f; }
  .tb-sos .tb-t { color: #b82a1f; font-weight: 700; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .tb, .tb-i { transition: none; } .tb:active { transform: none; } }

/* ---- Phone menu: slide-in sidebar with profile on top ---- */
.ch-scrim { display: none; }
@media (max-width: 960px) {
  .ch-drawer { position: fixed; inset: 0 auto 0 0; z-index: 90; display: flex; flex-direction: column; width: min(310px, 86vw); padding: 0; border: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(-104%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; box-shadow: 0 0 44px -8px rgba(0,0,0,.45); padding-bottom: env(safe-area-inset-bottom); }
  .ch-nav.open .ch-drawer { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .ch-scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(8,14,20,.5); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .ch-nav.open .ch-scrim { opacity: 1; pointer-events: auto; }
  .ch-nav.open { z-index: 80; }
  body.ch-lock { overflow: hidden; }

  .ch-d-head { display: flex; align-items: center; gap: 14px; padding: calc(22px + env(safe-area-inset-top)) 20px 20px; background: #0070ac; color: #fff; }
  .ch-d-av { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.9); background: #fff; }
  .ch-d-ini { display: grid; place-items: center; background: #fff; color: #005a8c; font-size: 1.35rem; font-weight: 700; }
  .ch-d-who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .ch-d-who b { font-size: 1.1rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
  .ch-d-who small { font-size: .84rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; opacity: .92; }
  .ch-d-who em { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.2); font-style: normal; font-size: .76rem; font-weight: 700; color: #fff; }
  .ch-d-guest .ch-d-who small { white-space: normal; }
  .ch-d-nav { display: flex; flex-direction: column; padding: 10px 10px 4px; flex: 1; }
  .ch-d-nav a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 14px; border-radius: 12px; font-size: 1rem; font-weight: 500; color: #0a0a0a; border: 0 !important; transition: background-color .15s; }
  .ch-d-nav a:active { background: #e7f2f9; }
  .ch-d-nav a[aria-current="page"] { background: #e2f0f8; color: #005a8c; font-weight: 650; }
  .ch-d-nav .ch-ico { width: 22px; height: 22px; flex: none; }
  .ch-d-nav .ch-count { margin-left: auto; }
  .ch-drawer .ch-roles { margin: 0 14px; padding: 12px 0; border-top: 1px solid #e0e6ea; }
  .ch-d-out { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 18px; border-top: 1px solid #e0e6ea; margin-top: 4px; }
  .ch-d-out .ch-btn { width: 100%; margin: 0; justify-content: center; }
}
@media (min-width: 961px) { .ch-drawer, .ch-scrim { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ch-drawer, .ch-scrim { transition: none !important; } }

/* ---- Quick action tiles (patient home): flat tinted tiles, no borders ---- */
.qa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.qa { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--qa-bg); color: #0a0a0a; text-decoration: none; transition: filter .15s, transform .12s; }
.qa:hover { filter: brightness(.97); }
.qa:active { transform: scale(.98); }
.qa-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--qa-fg); }
.qa-svg { width: 18px; height: 18px; stroke-width: 2; }
.qa-t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qa-t b { font-size: .95rem; line-height: 1.2; font-weight: 700; letter-spacing: -.005em; }
.qa-t small { font-size: .8rem; line-height: 1.2; color: #0a0a0a; }
.qa-go { margin-left: auto; flex: none; width: 16px; height: 16px; display: none; color: var(--qa-fg); }
.qa-sky   { --qa-bg: #e3f1f9; --qa-fg: #005a8c; }
.qa-rose  { --qa-bg: #fde9ec; --qa-fg: #b4233a; }
.qa-green { --qa-bg: #e3f5ec; --qa-fg: #0b6b43; }
.qa-violet{ --qa-bg: #eee9fb; --qa-fg: #5a31a8; }
@media (max-width: 1100px) { .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .qa-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qa { padding: 10px 12px; min-height: 56px; }
  .qa-go { display: none; }
  .qa-t b { font-size: .9rem; } .qa-t small { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) { .qa { transition: none; } }

/* ---- Phone header: menu button on the LEFT ---- */
@media (max-width: 960px) {
  .ch-in { display: flex; align-items: center; }
  .ch-menu { order: -1; margin: 0 6px 0 -8px !important; }
}

/* Keep app chrome above Leaflet's panes/controls (they use z-index up to 1000). */
@media (max-width: 960px) {
  .ch-nav { z-index: 1050; }
  .ch-nav.open { z-index: 1200; }
}
@media (max-width: 760px) { .tabbar { z-index: 1100; } }

/* Phone header: menu left, logo right, no background or border. Scrolls with the page so nothing overlaps it. */
@media (max-width: 960px) {
  .ch-nav { position: relative; background: transparent !important; border-bottom: 0 !important; box-shadow: none; backdrop-filter: none; }
  .ch-logo { order: 2; margin-left: auto; }
  .ch-menu { margin-left: -8px !important; }
}

/* ---- Sign out button ---- */
.signout { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 14px; background: #fdeceb; color: #a3200f; font: inherit; font-size: .98rem; font-weight: 700; letter-spacing: -.005em; cursor: pointer; transition: background-color .15s, color .15s, transform .12s; }
.signout:hover { background: #d6382b; color: #fff; }
.signout:active { transform: scale(.97); }
.signout-ico { width: 20px; height: 20px; stroke-width: 2; }
.ch-d-out .signout { width: 100%; }
@media (prefers-reduced-motion: reduce) { .signout { transition: none; } }

/* Smaller logo on phones */
@media (max-width: 960px) { .ch-logo img { height: 28px; } }
@media (max-width: 760px) { .ch-logo img { height: 28px; } .ch-nav .ch-in { min-height: 52px; } }

/* Maps: no grey borders on the map frame, zoom buttons, locate button or attribution. */
.leaflet-container { border: 0; outline: none; }
.leaflet-bar, .leaflet-touch .leaflet-bar { border: 0 !important; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.leaflet-bar a, .leaflet-bar a:hover { border-bottom: 0 !important; }
.leaflet-bar a + a { box-shadow: inset 0 1px 0 rgba(0,0,0,.08); }
.leaflet-control-attribution { border: 0; }
.tmd-locate { box-shadow: 0 2px 10px rgba(0,0,0,.18); }

/* Phone screens are identical in the browser and the installed app: no footer, no floating help button. */
@media (max-width: 960px) { .ch-foot, .tmd-fab { display: none !important; } }

/* Phone menu button: round white button that stays on screen while the page scrolls. */
@media (max-width: 960px) {
  .ch-menu {
    position: fixed !important; z-index: 1100;
    top: calc(10px + env(safe-area-inset-top)); left: calc(12px + env(safe-area-inset-left));
    width: 46px; height: 46px; margin: 0 !important; border-radius: 50%;
    background: #fff; color: #0a0a0a; box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
    transition: transform .12s ease, box-shadow .15s;
  }
  .ch-menu:hover { background: #fff; }
  .ch-menu:active { transform: scale(.92); background: #e7f2f9; }
  .ch-nav.open .ch-menu { visibility: hidden; }
  /* keep the logo clear of the fixed button */
  .ch-nav .ch-in { padding-left: 62px; }
}
@media (prefers-reduced-motion: reduce) { .ch-menu { transition: none; } }

/* Menu section heading (e.g. "My health") */
@media (max-width: 960px) {
  .ch-d-h { margin: 14px 14px 4px; padding-top: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #0a0a0a; }
}

/* Desktop: "My health" dropdown in the top bar */
.ch-dd { position: relative; }
.ch-dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 6px; font-weight: 500; cursor: pointer; color: #0a0a0a; white-space: nowrap; }
.ch-dd > summary::-webkit-details-marker { display: none; }
.ch-dd > summary:hover, .ch-dd[open] > summary { background: #f3f8fb; }
.ch-dd > summary[aria-current="page"] { background: #f3f8fb; }
.ch-dd-ic { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .15s; }
.ch-dd[open] .ch-dd-ic { transform: rotate(-90deg); }
.ch-dd-pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; min-width: 220px; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.28); }
.ch-dd-pop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #0a0a0a; white-space: nowrap; }
.ch-dd-pop a:hover { background: #f1f6fa; }
.ch-dd-pop .ch-ico { width: 18px; height: 18px; }
.ch-dd-pop .ch-count { margin-left: auto; }
@media (max-width: 960px) { .ch-dd { display: none; } }

/* Clean soft button (e.g. "Find a doctor") */
.btn-soft { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px; border-radius: 10px; background: #0070ac; color: #fff !important; font-size: .82rem; font-weight: 700; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background-color .15s, transform .1s; }
.btn-soft:hover { background: #005a8c; }
.btn-soft:active { transform: scale(.97); }
@media (max-width: 960px) { .btn-soft { min-height: 34px; } }

/* Phones: tighter header and less empty space above the page content. */
@media (max-width: 960px) {
  .ch-nav .ch-in { height: 52px; min-height: 0; }
  .ch-logo img { height: 26px; }
  .ch-menu { width: 42px; height: 42px; top: calc(5px + env(safe-area-inset-top)); }
  .ch-nav .ch-in { padding-left: 58px; }
  #main.max-w-6xl { padding-top: 6px !important; }
  .ck-stage { padding-top: 12px !important; }
  .ck-head { min-height: 36px; margin-bottom: 8px; }
}

/* Profile fields keep their own compact size on phones (16px type is kept so phones never zoom in). */
@media (max-width: 960px) {
  .pf-f input, .pf-f select { font-size: 16px !important; height: 50px; min-height: 50px !important; }
}

/* Map credits: a small "i" button; tap to read the credits. */
.leaflet-control-attribution { display: none !important; }
.tmd-attr { display: flex; align-items: center; gap: 6px; margin: 0 8px 8px 0 !important; padding: 0; min-height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 6px rgba(0, 0, 0, .2); font-size: .7rem; line-height: 1.2; color: #0a0a0a; max-width: calc(100vw - 40px); }
.tmd-attr-b { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; font: italic 700 .8rem Georgia, serif; color: #0a0a0a; cursor: pointer; }
.tmd-attr-t { padding: 4px 0 4px 10px; }
.tmd-attr-t[hidden] { display: none; }
.tmd-attr a { color: #005a8c; text-decoration: underline; }
.ch-pop-btns { display: inline-flex; gap: 14px; }
