@font-face { font-family: Outfit; font-weight: 500; font-display: swap; src: url(/fonts/outfit-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(/fonts/caveat-latin-600-normal.woff2) format('woff2'); }

:root {
  --bg: #14161B; --bg-deep: #0D0E12; --card: #1D2027; --card-2: #23262E; --card-3: #2A2E37; --line: #2E323C; --line-2: #3A3F4A;
  --text: #ECEEF2; --text-2: #C9CDD5; --muted: #A3A9B5; --dim: #5A606C;
  --accent: #F2A541; --accent-ink: #14161B; --blue: #8FB8FF; --blue-bg: #1F2A3D;
  --overdue: #FF9A8B; --today: #F2C36B; --ok: #5FB98E; --danger: #F28B82;
  --blue-ink: #14161B; --star: #FFD36E; --star-bg: rgba(255,211,110,.16); --mint: #7FD1AE; --mint-bg: rgba(127,209,174,.14);
  --lav: #A9C7FF; --lav-bg: rgba(169,199,255,.14); --err-bg: #5A2522; --err-ink: #FFD9D4; --warn-bg: #4A3A14; --warn-ink: #FFD98A;
  --hot: #F59E6B; --cold: #7CC4FF; --alert-red: #B3261E; --scrim: rgba(0,0,0,.6); --shadow: rgba(0,0,0,.35); --sensor-on: #FFB4A9;
  --note-bg: rgba(242,165,65,.12); --note-line: rgba(242,165,65,.45); --pin-back: rgba(13,14,18,.92);
  --display: Outfit, system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F6F5F2; --bg-deep: #ECEAE5; --card: #FFFFFF; --card-2: #F3F2EE; --card-3: #E9E7E1; --line: #E2DFD8; --line-2: #D3D0C8;
    --text: #1B1D22; --text-2: #3A3E46; --muted: #5F6570; --dim: #9AA0AA;
    --accent: #A85C0C; --accent-ink: #FFFFFF; --blue: #2F6FD6; --blue-bg: #E3ECFB; --blue-ink: #FFFFFF;
    --overdue: #B83A28; --today: #8A5E00; --ok: #23764D; --danger: #B83A28;
    --star: #8A5A00; --star-bg: rgba(201,140,0,.16); --mint: #1D6E4A; --mint-bg: rgba(46,138,92,.14);
    --lav: #2B5AA8; --lav-bg: rgba(47,111,214,.12); --err-bg: #FBE3DF; --err-ink: #8A1F14; --warn-bg: #FCEFC9; --warn-ink: #6E4A00;
    --hot: #B4501C; --cold: #1F6AAE; --alert-red: #B3261E; --scrim: rgba(20,22,27,.45); --shadow: rgba(20,22,27,.16); --sensor-on: #B83A28;
    --note-bg: rgba(201,118,26,.10); --note-line: rgba(180,101,15,.45); --pin-back: rgba(246,245,242,.94);
    color-scheme: light;
  }
}
/* forced Light (theme switch); Dark is the :root default */
:root[data-theme="light"] {
  --bg: #F6F5F2; --bg-deep: #ECEAE5; --card: #FFFFFF; --card-2: #F3F2EE; --card-3: #E9E7E1; --line: #E2DFD8; --line-2: #D3D0C8;
  --text: #1B1D22; --text-2: #3A3E46; --muted: #5F6570; --dim: #9AA0AA;
  --accent: #A85C0C; --accent-ink: #FFFFFF; --blue: #2F6FD6; --blue-bg: #E3ECFB; --blue-ink: #FFFFFF;
  --overdue: #B83A28; --today: #8A5E00; --ok: #23764D; --danger: #B83A28;
  --star: #8A5A00; --star-bg: rgba(201,140,0,.16); --mint: #1D6E4A; --mint-bg: rgba(46,138,92,.14);
  --lav: #2B5AA8; --lav-bg: rgba(47,111,214,.12); --err-bg: #FBE3DF; --err-ink: #8A1F14; --warn-bg: #FCEFC9; --warn-ink: #6E4A00;
  --hot: #B4501C; --cold: #1F6AAE; --alert-red: #B3261E; --scrim: rgba(20,22,27,.45); --shadow: rgba(20,22,27,.16); --sensor-on: #B83A28;
  --note-bg: rgba(201,118,26,.10); --note-line: rgba(180,101,15,.45); --pin-back: rgba(246,245,242,.94);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-text-size-adjust: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); }

.avatar { flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; color: #14161B; }
.btn { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2);
  font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.blue { background: var(--blue); color: var(--blue-ink); border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }
.chip { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--card-2); font-weight: 600; }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-bg); }
.field { width: 100%; min-height: 52px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px; }
textarea.field { resize: none; }
.muted { color: var(--muted); }
.due-overdue { color: var(--overdue); }
.due-today { color: var(--today); }
.due-later { color: var(--muted); }
.icon { width: 22px; height: 22px; flex: none; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1000; background: var(--card-3);
  color: var(--text); padding: 14px 22px; border-radius: 16px; font-weight: 600; box-shadow: 0 10px 30px var(--shadow);
  max-width: min(90vw, 640px); text-align: center; animation: toast-in .2s ease-out; }
.toast.error { background: var(--err-bg); color: var(--err-ink); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

.voice-row { display: flex; gap: 10px; align-items: stretch; }
.voice-row > .field { flex: 1; }
.mic-btn { width: 56px; flex: none; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2);
  display: flex; align-items: center; justify-content: center; }
.mic-btn.recording { background: var(--err-bg); border-color: var(--danger); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(242,139,130,.25); } }

.record-btn { user-select: none; -webkit-user-select: none; touch-action: none; }
.record-btn .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--danger); }
.record-btn.recording { background: var(--err-bg); border-color: var(--danger); }

.voice-note { display: flex; align-items: center; gap: 12px; }
.voice-note .play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--blue);
  display: flex; align-items: center; justify-content: center; }
.voice-note .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.voice-note .bar > i { display: block; height: 100%; width: 0; background: var(--blue); }
.voice-note .len { font-size: 14px; color: var(--muted); min-width: 36px; text-align: right; }
.transcript { font-style: italic; color: var(--text-2); }

.modal-back { position: fixed; inset: 0; background: var(--scrim); display: flex; align-items: center; justify-content: center; z-index: 500; padding: 16px; }
.modal { background: var(--card); border-radius: 24px; padding: 24px; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: flex; flex-direction: column; gap: 16px; }

/* photo sheet */
.photo-sheet { gap: 12px; }
.photo-sheet .ps-top { display: flex; justify-content: space-between; align-items: center; }
.photo-sheet .ps-img { width: 100%; max-height: 52vh; object-fit: contain; border-radius: 14px; background: var(--bg-deep); }
.photo-sheet .ps-meta { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.photo-sheet .ps-meta b { color: var(--text); font-size: 17px; }
.photo-sheet .ps-rx { display: flex; gap: 10px; }
.rx-btn { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.rx-btn.heart[aria-pressed="true"] { border-color: var(--danger); background: rgba(242,139,130,.14); }
.rx-btn.like[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-bg); }
.photo-sheet .ps-who { font-size: 14px; color: var(--muted); }
.photo-sheet .ps-comments { display: flex; flex-direction: column; gap: 8px; }
.photo-sheet .comment { background: var(--card-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.photo-sheet .comment .tx { overflow-wrap: anywhere; }
.photo-sheet .ps-albums { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-sheet .ps-albums .chip { min-height: 40px; font-size: 14px; border-radius: 999px; }

.hearth-footer { font-size: 12px; color: var(--muted); text-align: center; padding: 18px 8px 6px; }
.hearth-footer a, .hearth-footer .linkish { color: var(--muted); text-decoration: underline; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

.req-list { display: flex; flex-direction: column; gap: 8px; }
.req { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.req .where { font-size: 14px; font-weight: 600; color: var(--ok); margin-top: 2px; }
.req.away { border-color: var(--danger); }
.req.away .where { color: var(--danger); }

/* house alerts */
.house-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 16px; white-space: nowrap; }
.house-chip .sub { font-weight: 500; opacity: .85; }
.house-chip.open { background: var(--warn-bg); color: var(--warn-ink); }
.house-chip.armed { background: var(--lav-bg); color: var(--lav); }
.house-chip.alarm { background: var(--alert-red); color: #fff; animation: alarm-pulse 1s infinite; }
@keyframes alarm-pulse { 50% { box-shadow: 0 0 0 5px rgba(179,38,30,.35); } }
.house-banner { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 30; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 92%; }
.house-banner .house-chip.open { background: var(--alert-red); color: #fff; animation: alarm-pulse 2s infinite; }
.house-banner .house-chip .sub { color: rgba(255,255,255,.85); }
.house-snooze { margin-left: 6px; border: 0; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .8em; font-weight: 600; cursor: pointer; background: rgba(255,255,255,.18); color: inherit; }
.house-banner .house-snooze { padding: 3px 12px; margin-left: 4px; background: rgba(255,255,255,.22); }
.house-snooze:active { background: rgba(255,255,255,.35); }
.house-banner .house-chip { font-size: 17px; padding: 6px 8px 6px 16px; gap: 6px; }
.house-banner .house-chip svg { width: 16px; height: 16px; }
/* Scanning a screen's QR code with the phone camera */
.scan-box { position: relative; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #000; }
.scan-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 14%; border: 3px solid rgba(255,255,255,.85); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.scan-btn { min-height: 56px; justify-content: center; }
/* task extras: stars, lock, waiting */
.tb { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.tb.star { background: var(--star-bg); color: var(--star); }
.tb.lock { background: var(--lav-bg); color: var(--lav); padding: 3px 6px; }
.tb.wait { background: var(--mint-bg); color: var(--mint); }
.te-extras { display: flex; flex-direction: column; gap: 10px; }
/* rewards & checks */
.rw-head { display: flex; align-items: center; gap: 16px; }
.rw-big { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--star); }
.rw-list { display: flex; flex-direction: column; gap: 8px; }
.rw-item, .ck-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card-2); }
.rw-item.far { opacity: .7; }
.rw-emoji { font-size: 30px; width: 40px; text-align: center; }
.rw-hist { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-2); }
.rw-hist .ok, .ck-item .ok { color: var(--mint); } .rw-hist .bad { color: var(--danger); }
.star-pill { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--star); }
/* shared form bits used by sheets on every page */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tog { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.tog input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
label.f { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
/* Tooly SSO */
.tooly-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font-size: 18px; text-decoration: none; }
.tooly-btn img { border-radius: 6px; background: #fff; padding: 2px; }
.login .or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 6px 0; }
.login .or::before, .login .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.connect-note { background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 14px; padding: 12px 14px; }
.connect-note p { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.tooly-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card-2); flex-wrap: wrap; }
.tooly-card img { border-radius: 6px; background: #fff; padding: 2px; }
.tooly-card.on { box-shadow: inset 0 0 0 1px var(--mint); }
.sso-msg { max-width: 520px; margin: 12vh auto; padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sso-msg h1 { margin: 0; } .sso-msg p { color: var(--text-2); margin: 0; } .sso-msg footer { margin-top: 30px; font-size: 13px; color: var(--muted); }
/* Undo after Mark done */
.undo-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1000; display: flex; align-items: center; gap: 14px;
  background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px 12px 20px; box-shadow: 0 12px 40px var(--shadow); max-width: min(720px, 94vw); transition: opacity .3s; }
.undo-toast.gone { opacity: 0; }
.undo-text { font-weight: 600; }
.undo-btn { min-height: 44px; padding: 0 18px; font-weight: 700; color: var(--accent); }
.undo-left { min-width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--accent); }
.undo-left:empty { display: none; }
/* Done recently */
.recent { display: flex; flex-direction: column; gap: 6px; }
.rc-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--card-2); opacity: .9; }
.rc-item.pending { box-shadow: inset 0 0 0 1px var(--accent); }
.rc-check { width: 24px; height: 24px; border-radius: 7px; background: var(--mint-bg); color: var(--mint); display: grid; place-items: center; flex: none; }
.rc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-name { text-decoration: line-through; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-sub { font-size: 13px; color: var(--muted); }
.rc-undo { min-height: 38px; padding: 0 14px; font-weight: 700; }

/* Theme switch: Light · Auto · Dark */
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); }
.theme-switch button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; }
.theme-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-switch button[aria-checked="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px var(--shadow), inset 0 0 0 1px var(--line-2); }
.theme-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.theme-switch.compact button { min-height: 32px; padding: 0 10px; font-size: 13px; }
.hearth-footer .theme-switch { display: flex; width: max-content; margin: 0 auto 10px; }
.hearth-footer .theme-switch button { text-decoration: none; }

/* ---------- site header (homepage, legal pages, Admin) ---------- */
.site-head { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 12px clamp(16px, 3vw, 40px);
  background: var(--card-2); border-bottom: 1px solid var(--line); }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.site-brand img { border-radius: 12px; }
.site-brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand .bn { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.site-brand .bs { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 12px; border-radius: 10px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--card-3); }
.site-acts { display: flex; align-items: center; gap: 10px; flex: none; }
.site-btn { min-height: 42px; padding: 0 16px; background: transparent; border: 1.5px solid var(--line-2); color: var(--text); text-decoration: none; font-size: 15px; }
.site-btn:hover, .site-btn.on { border-color: var(--accent); }
.site-btn.on { color: var(--accent); }
.site-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.am { position: relative; }
.am-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font-weight: 600; cursor: pointer; }
.am-btn:hover, .am-btn[aria-expanded="true"] { background: var(--card-3); }
.am-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 8px; box-shadow: 0 16px 40px var(--shadow); z-index: 60; display: flex; flex-direction: column; }
.am-panel[hidden] { display: none; }
.am-who { display: flex; gap: 12px; align-items: center; padding: 8px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.am-pic { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.am-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.am-panel a, .am-panel button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; background: none; border: 0; font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.am-panel a:hover, .am-panel button:hover, .am-panel a:focus-visible, .am-panel button:focus-visible { background: var(--card-3); outline: none; }
.site-head a:focus-visible, .site-head button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1180px) { .site-btn { padding: 0 12px; } .site-nav a { padding: 8px 8px; font-size: 15px; } .theme-switch.compact button span { display: none; } }
@media (max-width: 1000px) {
  .site-head { flex-wrap: wrap; gap: 10px; }
  .site-menu-btn { display: inline-flex; }
  .site-nav, .site-acts { display: none; width: 100%; }
  .site-head.open .site-nav { display: flex; flex-direction: column; align-items: stretch; margin: 4px 0 0; order: 3; }
  .site-head.open .site-nav a { padding: 12px; font-size: 17px; }
  .site-head.open .site-acts { display: flex; flex-wrap: wrap; order: 4; padding: 8px 0 4px; border-top: 1px solid var(--line); }
  .am-panel { left: 0; right: auto; }
  .theme-switch.compact button span { display: inline; }
}
a.btn, a.btn:hover { text-decoration: none; }
.sso-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; } .sso-msg footer a { color: var(--muted); }
.bg-banner { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 10px 16px; background: var(--alert-red); color: #fff; font-weight: 600; font-size: 15px; text-align: center; }
details.breakglass { border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; }
details.breakglass summary { cursor: pointer; color: var(--muted); font-size: 14px; }
details.breakglass[open] { display: flex; }
details.breakglass > label, details.breakglass > input, details.breakglass > button { display: block; width: 100%; margin-top: 8px; }
.bg-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.bg-steps label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.bg-qr { background: #fff; padding: 8px; border-radius: 12px; align-self: center; }
.bg-codes { background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; font-size: 16px; line-height: 1.6; text-align: center; user-select: all; }
