/* Buckley Field: mobile first app shell */
:root {
  --brand: #0b3d6b;
  --brand-2: #0b62a8;
  --accent: #f2a900;
  --bg: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --text: #1a2230;
  --muted: #667085;
  --line: #dde2ea;
  --mine: #d7ebff;
  --mine-text: #0e2a47;
  --theirs: #ffffff;
  --ok: #138a4b;
  --warn: #b26b00;
  --bad: #c2352b;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --radius: 12px;
  --top-h: 56px;
  --nav-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141b;
    --surface: #18202b;
    --surface-2: #1f2935;
    --text: #e7ebf1;
    --muted: #98a2b3;
    --line: #2b3746;
    --mine: #1d4b78;
    --mine-text: #eaf3ff;
    --theirs: #212c39;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.4;
  background: var(--bg); color: var(--text);
  min-height: 100dvh;
}
a { color: var(--brand-2); text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.grow { flex: 1 1 auto; min-width: 0; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 6px;
  min-height: calc(var(--top-h) + var(--safe-t)); padding: var(--safe-t) 8px 0;
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.tb-title { flex: 1 1 auto; min-width: 0; padding: 0 6px; }
.tb-main { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-sub { font-size: 12px; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-right { display: flex; gap: 2px; align-items: center; }
.tb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  color: #fff; font-size: 18px; cursor: pointer;
}
.tb-btn:active { background: rgba(255,255,255,.15); }

/* ── Bottom nav ── */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--surface); border-top: 1px solid var(--line);
}
.bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 11px; font-weight: 600;
}
.bottomnav a i { font-size: 20px; }
.bottomnav a.on { color: var(--brand-2); }
.has-nav main { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 16px); }

main { max-width: 900px; margin: 0 auto; padding: 12px; }
main.narrow { max-width: 520px; }

/* ── Cards / lists ── */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.card + .card { margin-top: 12px; }
.card h2, .card h3 { margin: 0 0 10px; font-size: 17px; }
.section-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 4px 8px; }

.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.list-item:last-child { border-bottom: 0; }
.list-item:active { background: var(--surface-2); }
.li-main { flex: 1 1 auto; min-width: 0; }
.li-title { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--muted); flex: 0 0 auto; }

.avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-2); color: #fff; font-weight: 700; font-size: 15px;
}
.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.ai { background: linear-gradient(135deg, #7b3fe4, #0b62a8); }

.badge { display: inline-block; min-width: 20px; padding: 2px 7px; border-radius: 10px; background: var(--brand-2); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.pill.active { background: #e3f6ea; color: var(--ok); border-color: #bfe6cf; }
.pill.scheduled { background: #fff3dc; color: var(--warn); border-color: #f4dba8; }
.pill.closed { background: var(--surface-2); color: var(--muted); }
.pill.admin { background: #ece4ff; color: #5b2bbf; border-color: #d8c8ff; }
@media (prefers-color-scheme: dark) {
  .pill.active { background: #123524; border-color: #1f5a3c; color: #6fdc9f; }
  .pill.scheduled { background: #3a2a0c; border-color: #6b4c12; color: #ffc65c; }
  .pill.admin { background: #2b1f4d; border-color: #4a3585; color: #c4b0ff; }
}

/* ── Buttons & forms ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 650; cursor: pointer; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand-2); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 140px; }

label.lbl { display: block; font-size: 13px; font-weight: 650; color: var(--muted); margin: 0 0 5px 2px; }
.field + .field { margin-top: 14px; }
.input, select.input, textarea.input {
  display: block; width: 100%; min-height: 48px; padding: 11px 12px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  font-size: 16px; /* 16px stops iOS zoom on focus */
}
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent; background: var(--surface); }
.code-input { letter-spacing: .5em; text-align: center; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.help { font-size: 12px; color: var(--muted); margin: 5px 2px 0; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; }
.alert.err { background: #fde8e6; color: #8c1d14; }
.alert.ok { background: #e3f6ea; color: #0d5c33; }
.alert.info { background: #e6f0fb; color: #0b3d6b; }
@media (prefers-color-scheme: dark) {
  .alert.err { background: #3d1714; color: #ffb4ac; }
  .alert.ok { background: #123524; color: #8fe7b5; }
  .alert.info { background: #12273d; color: #a9cdf5; }
}

.search { position: relative; }
.search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 38px; }

/* Segmented tabs */
.tabs { display: flex; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: calc(var(--top-h) + var(--safe-t)); z-index: 15; }
.tabs button { flex: 1; border: 0; background: none; padding: 12px 6px; font-weight: 650; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; }
.tabs button.on { color: var(--brand-2); border-bottom-color: var(--brand-2); }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 8px; font-weight: 650; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.date-range { gap: 6px; flex: 1 1 260px; }
.date-range .input { min-height: 40px; padding: 7px 8px; font-size: 15px; flex: 1 1 0; min-width: 0; }

/* ── Sign in ── */
.auth-wrap { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 24px 16px calc(24px + var(--safe-b)); }
.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-logo .mark { width: 64px; height: 64px; border-radius: 16px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; }
.auth-logo h1 { margin: 12px 0 2px; font-size: 22px; }

/* ── Chat view ── */
.chat-page { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.chat-page .tabs { position: static; }
.chat-pane { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
#messages { padding: 12px 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.day-sep { align-self: center; margin: 10px 0 6px; padding: 3px 10px; border-radius: 10px; font-size: 12px; font-weight: 650; background: var(--surface); color: var(--muted); box-shadow: var(--shadow); }
.msg { display: flex; gap: 8px; max-width: 86%; align-items: flex-end; }
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg .avatar { width: 30px; height: 30px; font-size: 11px; }
.msg.cont .avatar { visibility: hidden; }
.bubble { background: var(--theirs); border-radius: 14px 14px 14px 4px; padding: 7px 10px 5px; box-shadow: var(--shadow); min-width: 64px; overflow-wrap: anywhere; }
.msg.mine .bubble { background: var(--mine); color: var(--mine-text); border-radius: 14px 14px 4px 14px; }
.msg.ai .bubble { border: 1px solid #b9a2f3; }
.b-name { font-size: 12px; font-weight: 700; color: var(--brand-2); margin-bottom: 2px; }
.b-name .co { font-weight: 500; color: var(--muted); }
.b-text { white-space: pre-wrap; font-size: 15px; }
.b-meta { font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }
.msg.mine .b-meta { color: inherit; opacity: .65; }
.b-media { margin: 2px -4px 4px; }
.b-media img { display: block; border-radius: 10px; max-height: 320px; width: auto; max-width: 100%; cursor: zoom-in; background: var(--surface-2); min-width: 120px; min-height: 80px; object-fit: cover; }
.b-file { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; background: rgba(0,0,0,.05); color: inherit; }
.b-file i { font-size: 26px; }
.b-loc { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; gap: 5px; align-items: flex-start; }
.msg.mine .b-loc { color: inherit; opacity: .75; }
.msg.ai { max-width: 94%; }
.b-table { margin: 6px 0 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.b-table table { border-collapse: collapse; font-size: 13px; width: 100%; }
.b-table th, .b-table td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.b-table th { background: var(--surface-2); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.b-table td.n { text-align: right; font-variant-numeric: tabular-nums; }
.b-table tr:last-child td { border-bottom: 0; }
.b-dl { margin: 4px 0 2px; }
.msg.system { align-self: center; max-width: 92%; }
.msg.system .bubble { background: transparent; box-shadow: none; text-align: center; font-size: 13px; color: var(--muted); padding: 2px 6px; }
.msg.deleted .b-text { font-style: italic; color: var(--muted); }
.msg .del-btn { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 0 0 0 6px; cursor: pointer; }
.load-older { align-self: center; margin: 4px 0 8px; }
.uploading .bubble { opacity: .7; }
.progress { height: 4px; background: rgba(0,0,0,.1); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.progress > div { height: 100%; width: 0; background: var(--brand-2); transition: width .2s; }

.composer {
  flex: 0 0 auto; display: flex; gap: 6px; align-items: flex-end;
  padding: 8px 8px calc(8px + var(--safe-b)); background: var(--surface); border-top: 1px solid var(--line);
}
.composer textarea {
  flex: 1 1 auto; min-height: 44px; max-height: 140px; resize: none;
  padding: 11px 14px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface-2); font-size: 16px; line-height: 1.3;
}
.composer textarea:focus { outline: none; border-color: var(--brand-2); }
.c-btn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--brand-2); font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.c-btn.send { background: var(--brand-2); color: #fff; font-size: 17px; }
.c-btn:active { background: var(--surface-2); }
.c-btn.send:active { background: var(--brand); }
.locbar { flex: 0 0 auto; font-size: 12px; padding: 4px 12px; background: var(--surface-2); color: var(--muted); border-top: 1px solid var(--line); display: flex; gap: 6px; align-items: center; }
.locbar.ok i { color: var(--ok); }
.locbar.off i { color: var(--warn); }
.locbar button { margin-left: auto; border: 0; background: none; color: var(--brand-2); font-weight: 650; font-size: 12px; cursor: pointer; }
.closed-bar { flex: 0 0 auto; padding: 14px 14px calc(14px + var(--safe-b)); text-align: center; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ── Media grid ── */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 4px; }
.media-grid .tile { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); border-radius: 6px; overflow: hidden; cursor: pointer; border: 0; padding: 0; }
.media-grid .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-grid .tile .ficon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 28px; color: var(--muted); }
.media-grid .tile .ficon span { font-size: 10px; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-grid .tile .geo { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.media-grid .tile .chk { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.25); }
.media-grid .tile.sel .chk { background: var(--brand-2); }
.media-grid .tile.sel .chk::after { content: "\2713"; color: #fff; font-size: 13px; font-weight: 700; display: block; text-align: center; line-height: 18px; }
.media-grid .tile.sel img { opacity: .8; }
.media-item { min-width: 0; }
.media-item .tile { width: 100%; display: block; }
.media-item .cap { padding: 4px 2px 6px; font-size: 11px; line-height: 1.3; }
.media-item .cap .who { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-item .cap .when { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-head { display: flex; align-items: baseline; gap: 8px; margin: 16px 2px 8px; }
.group-head h3 { margin: 0; font-size: 15px; }

/* ── Sheet / modal ── */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(10,15,25,.5); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 640px; max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  padding-bottom: var(--safe-b); animation: up .18s ease-out;
}
@media (min-width: 700px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 16px; max-height: 85dvh; } }
@keyframes up { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { flex: 1; margin: 0; font-size: 17px; }
.sheet-head .x { border: 0; background: none; font-size: 20px; color: var(--muted); width: 40px; height: 40px; cursor: pointer; }
.sheet-body { flex: 1 1 auto; overflow-y: auto; padding: 14px; }
.sheet-foot { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.sheet-foot .btn { flex: 1; }

.pick-item { display: flex; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.pick-item:last-child { border-bottom: 0; }
.pick-item .tick { width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--line); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: #fff; }
.pick-item.on .tick { background: var(--brand-2); border-color: var(--brand-2); }
.pick-item.on .tick::after { content: "\2713"; font-weight: 700; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.chip button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0 4px; font-size: 14px; }

/* Autocomplete dropdown */
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.15); max-height: 260px; overflow-y: auto; }
.ac-list div { padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.ac-list div:last-child { border-bottom: 0; }
.ac-list div:active, .ac-list div:hover { background: var(--surface-2); }
.ac-sel { margin-top: 6px; font-size: 13px; color: var(--ok); }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; color: #fff; }
.lb-top { display: flex; align-items: center; gap: 6px; padding: calc(8px + var(--safe-t)) 8px 8px; }
.lb-top .grow { font-size: 13px; }
.lb-img { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pinch-zoom; }
.lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-info { padding: 10px 14px calc(12px + var(--safe-b)); font-size: 13px; background: rgba(255,255,255,.06); }
.lb-info a { color: #9fd0ff; }
.lb-nav { position: absolute; top: 50%; width: 44px; height: 64px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; }
.lb-nav.prev { left: 0; border-radius: 0 8px 8px 0; } .lb-nav.next { right: 0; border-radius: 8px 0 0 8px; }

/* ── Toast ── */
#toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 420px; }
#toast div { background: #1f2a37; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.3); animation: up .18s ease-out; }
#toast div.err { background: var(--bad); }
.chat-page #toast { bottom: calc(80px + var(--safe-b)); }

/* ── Tables (admin) ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--surface-2); position: sticky; top: 0; }
table.tbl td .input { min-height: 38px; padding: 6px 8px; font-size: 14px; }
table.tbl tr.rejected td { opacity: .45; text-decoration: line-through; }
table.tbl tr.confirmed td:first-child { box-shadow: inset 3px 0 0 var(--ok); }

.export-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.export-grid .btn { min-height: 64px; flex-direction: column; gap: 4px; font-size: 13px; }
.export-grid .btn i { font-size: 20px; color: var(--brand-2); }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty i { font-size: 40px; display: block; margin-bottom: 10px; opacity: .5; }

.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.fab { position: fixed; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 19; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-2); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(11,98,168,.45); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
