/* Cagayan Disaster App — shared look. Light by default; dark follows the phone or the toggle. */

@font-face { font-family: Archivo; font-weight: 400; font-style: normal; font-display: swap; src: url(/vendor/fonts/archivo-400.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-weight: 500; font-style: normal; font-display: swap; src: url(/vendor/fonts/archivo-500.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-weight: 600; font-style: normal; font-display: swap; src: url(/vendor/fonts/archivo-600.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-weight: 700; font-style: normal; font-display: swap; src: url(/vendor/fonts/archivo-700.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-weight: 800; font-style: normal; font-display: swap; src: url(/vendor/fonts/archivo-800.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/vendor/fonts/plex-mono-500.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url(/vendor/fonts/plex-mono-600.woff2) format("woff2"); }

:root {
  --font: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --bg: #F3F5F7; --surface: #FFFFFF; --surface-2: #F9FAFB; --surface-3: #F2F4F7;
  --ink: #101828; --ink-2: #344054; --muted: #475467; --faint: #667085;
  --line: #D0D5DD; --line-soft: #E4E7EC;
  --brand: #0E5A8A; --brand-strong: #0B4870; --on-brand: #FFFFFF; --brand-tint: #EAF4FB; --brand-tint-ink: #0E5A8A; --brand-soft: #9DD3F5;
  --danger: #B42318; --danger-btn: #C4320A; --on-danger: #FFFFFF; --danger-tint: #FEF3F2; --danger-line: #FECDCA; --danger-soft: #FFE4E0;
  --warn-ink: #93370D; --warn-tint: #FFFAEB; --warn-line: #FEDF89;
  --ok-ink: #067647; --ok-tint: #ECFDF3; --ok-line: #ABEFC6;
  --info-ink: #1849A9; --info-tint: #E0EAFF; --info-line: #B2CCFF;
  --s-new: #B42318; --s-new-bg: #FEF3F2;
  --s-dispatched: #B54708; --s-dispatched-bg: #FFFAEB;
  --s-en_route: #175CD3; --s-en_route-bg: #EFF8FF;
  --s-on_scene: #5925DC; --s-on_scene-bg: #F4F3FF;
  --s-returning: #475467; --s-returning-bg: #F2F4F7;
  --s-available: #067647; --s-available-bg: #ECFDF3;
  --s-resolved: #067647; --s-resolved-bg: #ECFDF3;
  --s-closed: #475467; --s-closed-bg: #F2F4F7;
  --s-out_of_service: #B42318; --s-out_of_service-bg: #FEF3F2;
  --s-cancelled: #475467; --s-cancelled-bg: #F2F4F7;
  --p1: #D92D20; --on-p1: #FFFFFF; --p2: #FDB022; --on-p2: #1F1300; --p3: #667085; --on-p3: #FFFFFF;
  --focus: #2E90FA;
  --radius: 12px; --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0A0F1A; --surface: #111827; --surface-2: #172033; --surface-3: #1D2940;
  --ink: #E6EAF2; --ink-2: #CDD5E0; --muted: #98A2B3; --faint: #8A96AA;
  --line: #344054; --line-soft: #263248;
  --brand: #84CAFF; --brand-strong: #B2DDFF; --on-brand: #06223A; --brand-tint: #0F2A44; --brand-tint-ink: #B2DDFF; --brand-soft: #2E6FA3;
  --danger: #F97066; --danger-btn: #D92D20; --on-danger: #FFFFFF; --danger-tint: #3B1512; --danger-line: #7A271A; --danger-soft: #FECDCA;
  --warn-ink: #FEC84B; --warn-tint: #2B2108; --warn-line: #7A5A14;
  --ok-ink: #75E0A7; --ok-tint: #0B2A1C; --ok-line: #085D3A;
  --info-ink: #B2CCFF; --info-tint: #102A56; --info-line: #2D4E8A;
  --s-new: #FA7F75; --s-new-bg: rgba(249, 112, 102, 0.14);
  --s-dispatched: #FDB022; --s-dispatched-bg: rgba(253, 176, 34, 0.13);
  --s-en_route: #84CAFF; --s-en_route-bg: rgba(132, 202, 255, 0.13);
  --s-on_scene: #BDB4FE; --s-on_scene-bg: rgba(189, 180, 254, 0.15);
  --s-returning: #98A2B3; --s-returning-bg: rgba(152, 162, 179, 0.15);
  --s-available: #47CD89; --s-available-bg: rgba(71, 205, 137, 0.13);
  --s-resolved: #47CD89; --s-resolved-bg: rgba(71, 205, 137, 0.13);
  --s-closed: #98A2B3; --s-closed-bg: rgba(152, 162, 179, 0.15);
  --s-out_of_service: #FA7F75; --s-out_of_service-bg: rgba(249, 112, 102, 0.13);
  --s-cancelled: #98A2B3; --s-cancelled-bg: rgba(152, 162, 179, 0.15);
  --p1: #F97066; --on-p1: #1A0A08; --p2: #FDB022; --on-p2: #1F1300; --p3: #98A2B3; --on-p3: #0A0F1A;
  --focus: #84CAFF;
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.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; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 20px; font-weight: 800; }
h2 { font-size: 16px; font-weight: 800; }
h3 { font-size: 14px; font-weight: 800; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 24px; height: 24px; }

/* ---------- buttons, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { color: var(--ink); background: var(--surface-2); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand); }
.btn.danger { background: var(--danger-btn); border-color: var(--danger-btn); color: var(--on-danger); }
.btn.danger:hover { filter: brightness(0.95); color: var(--on-danger); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-tint); }
.btn.outline-ok { background: transparent; border-color: var(--s-available); color: var(--s-available); }
.btn.big { min-height: 58px; font-size: 18px; font-weight: 800; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.small { min-height: 34px; padding: 0 10px; font-size: 13px; border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.link-btn { border: 0; background: none; padding: 8px 0; min-height: 44px; color: var(--brand); font-weight: 700; text-decoration: underline; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field .hint { font-weight: 500; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-width: 0; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 400;
}
.textarea { padding: 10px 12px; min-height: 80px; resize: vertical; line-height: 1.4; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); min-height: 44px; padding-top: 10px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex-shrink: 0; }
.error-text { color: var(--danger); font-size: 13px; font-weight: 700; }

/* ---------- cards, banners, chips ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.card.pad { padding: 16px; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius); border: 1px solid; font-size: 13px; line-height: 1.4; }
.banner .icon { margin-top: 1px; }
.banner strong { font-weight: 800; }
.banner.info { background: var(--info-tint); border-color: var(--info-line); color: var(--info-ink); }
.banner.warn { background: var(--warn-tint); border-color: var(--warn-line); color: var(--warn-ink); }
.banner.danger { background: var(--danger-tint); border-color: var(--danger-line); color: var(--danger); }
.banner.neutral { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.banner.ok { background: var(--ok-tint); border-color: var(--ok-line); color: var(--ok-ink); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 6px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag.sample { color: var(--warn-ink); background: var(--warn-tint); border-color: var(--warn-line); }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pri { display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 12px; padding: 2px 6px; border-radius: 6px; min-width: 28px; }
.pri.P1 { background: var(--p1); color: var(--on-p1); }
.pri.P2 { background: var(--p2); color: var(--on-p2); }
.pri.P3 { background: var(--p3); color: var(--on-p3); }
.st-new { color: var(--s-new); background: var(--s-new-bg); }
.st-dispatched { color: var(--s-dispatched); background: var(--s-dispatched-bg); }
.st-en_route { color: var(--s-en_route); background: var(--s-en_route-bg); }
.st-on_scene { color: var(--s-on_scene); background: var(--s-on_scene-bg); }
.st-returning { color: var(--s-returning); background: var(--s-returning-bg); }
.st-available { color: var(--s-available); background: var(--s-available-bg); }
.st-resolved { color: var(--s-resolved); background: var(--s-resolved-bg); }
.st-closed { color: var(--s-closed); background: var(--s-closed-bg); }
.st-out_of_service { color: var(--s-out_of_service); background: var(--s-out_of_service-bg); }
.st-cancelled { color: var(--s-cancelled); background: var(--s-cancelled-bg); }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 2000; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* ---------- dialogs ---------- */
dialog.sheet { border: 0; padding: 0; border-radius: 16px; background: var(--surface); color: var(--ink); width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
dialog.sheet::backdrop { background: rgba(10, 15, 26, 0.55); }
dialog.sheet .sheet-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
dialog.sheet .sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- brand ---------- */
.logo { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.2; }
.brand-sub { font-size: 12px; color: var(--muted); line-height: 1.3; }

/* ---------- citizen app ---------- */
body.citizen { min-height: 100vh; min-height: 100dvh; }
.phone { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
@media (min-width: 600px) { .phone { border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); } }
.app-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.lang { display: flex; background: var(--surface-3); border-radius: 999px; }
.lang button { min-width: 48px; height: 44px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); }
.view { flex: 1; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.view:focus { outline: none; }
.notices { padding: 12px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.bottom-nav { position: sticky; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--line-soft); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
.bottom-nav a[aria-current="page"] { color: var(--brand); font-weight: 800; }
.call-911 { display: flex; align-items: center; gap: 14px; padding: 16px; background: #B42318; color: #FFFFFF; border-radius: 16px; }
.call-911 .dial { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: #FFFFFF; color: #B42318; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; }
.call-911 .dial:hover { color: #B42318; }
.call-911 .title { font-weight: 800; font-size: 18px; line-height: 1.2; }
.call-911 .sub { font-size: 13px; line-height: 1.4; color: #FFE4E0; }
.tracker-card { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.tracker-card:hover { color: var(--ink); border-color: var(--brand); }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.progress span { height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--brand); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 6px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.15; text-align: center; cursor: pointer; text-decoration: none; }
.tile:hover { color: var(--ink); border-color: var(--brand); }
.tile[aria-pressed="true"] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); background: var(--danger-tint); color: var(--danger); }
.tile .icon { width: 24px; height: 24px; color: var(--brand); }
.tile[aria-pressed="true"] .icon { color: var(--danger); }
.tile .tag { margin-top: 1px; }
.tile.off .icon { color: var(--faint); }
.loc-card { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.loc-art { width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; color: var(--danger-btn); }
.loc-art .icon { width: 32px; height: 32px; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stepper button { width: 46px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.stepper output { font-family: var(--mono); font-weight: 600; font-size: 18px; }
.photo-thumb { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.sms-box { margin: 0; white-space: pre-wrap; font: 500 12px/1.5 var(--mono); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
.hero { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: #0E5A8A; color: #FFFFFF; }
.hero.done { background: #067647; }
.hero.closed { background: #475467; }
.hero .now { align-self: flex-start; font-size: 12px; font-weight: 700; color: #0E5A8A; background: #E4F1FA; border-radius: 999px; padding: 3px 10px; }
.hero.done .now { color: #067647; background: #DCFAE6; }
.hero.closed .now { color: #344054; background: #F2F4F7; }
.hero .big { font-size: 24px; font-weight: 800; line-height: 1.15; }
.hero .sub { font-size: 14px; line-height: 1.45; color: #E4F1FA; }
.hero.done .sub, .hero.closed .sub { color: #F2F4F7; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; min-height: 40px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; margin-top: 1px; flex-shrink: 0; color: #FFFFFF; }
.timeline .dot .icon { width: 11px; height: 11px; stroke-width: 3.4; }
.timeline .line { flex: 1; width: 2px; min-height: 14px; background: var(--line); margin: 2px 0; }
.timeline li.done .dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.timeline li.done .line { background: var(--brand); }
.timeline li.now .dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.timeline .txt { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 12px; }
.timeline .label { font-size: 15px; font-weight: 600; }
.timeline li.now .label { font-weight: 800; }
.timeline li.todo .label { color: var(--muted); }
.hotline { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; }
.hotline .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.hotline .call { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--brand); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.hotline .call[aria-disabled="true"] { color: var(--faint); cursor: not-allowed; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 13px; white-space: nowrap; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.safety li { display: flex; gap: 8px; }
.safety ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4; }
.safety .icon { color: var(--brand); stroke-width: 2.4; margin-top: 1px; }
.report-row { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.report-row:hover { color: var(--ink); border-color: var(--brand); }
.empty { padding: 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
.footer-note { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }

/* ---------- plain pages (sign-in, not found) ---------- */
body.plain { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; }
.narrow { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.qr { width: 200px; height: 200px; image-rendering: pixelated; border-radius: 8px; background: #FFFFFF; padding: 6px; align-self: center; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-family: var(--mono); font-size: 15px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px; }
.secret { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px; user-select: all; }
