/* JOIN-MR LoA Console — futuristic theme */
:root {
  --bg: #071722;
  --bg-2: #0b2030;
  --surface: rgba(18, 44, 60, .55);
  --surface-solid: #0f2737;
  --stroke: rgba(122, 200, 214, .16);
  --stroke-strong: rgba(122, 200, 214, .32);
  --text: #e4f0f3;
  --muted: #8fa8b3;
  --cyan: #3fd6c8;
  --violet: #8c7cf0;
  --green: #3fd69a;
  --amber: #f2b85b;
  --red: #f06f6f;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));

  /* letter (paper) colours */
  --ink: #1c2826;
  --paper-muted: #5e6b68;
  --teal: #1e5a55;
  --line: #cfd8d5;

  --sans: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Sora", "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, Menlo, monospace;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(140, 124, 240, .18), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(63, 214, 200, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--cyan); }
code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 5px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 200, 214, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 200, 214, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- surfaces & controls ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.panel-head h2 { font-family: var(--display); font-size: 15px; font-weight: 600; margin: 0; }
.panel-head small { color: var(--muted); font-size: 12.5px; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: #c6d9df; }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 4px; }
.field small { color: var(--muted); font-size: 12.5px; }
input, textarea {
  font: inherit;
  color: var(--text);
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(6, 22, 32, .6);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 46px; }
input:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(63, 214, 200, .18); }
input::placeholder, textarea::placeholder { color: #5c7784; }
input[type="date"] { color-scheme: dark; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 14.5px; text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .2s;
}
.btn:hover { border-color: var(--cyan); background: rgba(63,214,200,.08); }
.btn-primary {
  border: 0; color: #04161f;
  background: var(--grad);
  box-shadow: 0 8px 28px -10px rgba(63, 214, 200, .7);
}
.btn-primary:hover { background: var(--grad); box-shadow: 0 10px 34px -8px rgba(140, 124, 240, .8); }
.btn:disabled { opacity: .5; cursor: progress; }

.link {
  font: inherit; font-size: 13.5px; font-weight: 500;
  background: none; border: 0; padding: 2px 0; cursor: pointer;
  color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(63,214,200,.35);
}
.link:hover { border-bottom-color: currentColor; }
.link-quiet { color: var(--muted); border-bottom-color: rgba(143,168,179,.35); }

.alert { padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 0 0 16px; }
.alert-err { background: rgba(240,111,111,.12); color: #ffb1b1; border: 1px solid rgba(240,111,111,.35); }

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 12px clamp(16px, 3vw, 40px);
  background: rgba(7, 23, 34, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-badge {
  display: inline-flex; align-items: center;
  background: #ffffff;
  padding: 7px 14px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(63,214,200,.25), 0 8px 24px -12px rgba(63,214,200,.6);
}
.brand-badge img { display: block; height: 36px; width: auto; }
.brand:hover .brand-badge { box-shadow: 0 0 0 1px rgba(63,214,200,.6), 0 8px 28px -10px rgba(63,214,200,.8); }
.topbar-nav { display: flex; gap: 6px; font-size: 14px; flex-wrap: wrap; }
.topbar-nav a { color: #c6d9df; text-decoration: none; padding: 7px 12px; border-radius: 999px; }
.topbar-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.topbar-nav .nav-out { border: 1px solid var(--stroke); }

.banner {
  margin: 16px clamp(16px, 3vw, 40px) 0; padding: 10px 16px; border-radius: 10px;
  background: rgba(242,184,91,.12); color: #ffd797; border: 1px solid rgba(242,184,91,.3); font-size: 14px;
}

/* ---------- hero ---------- */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 24px;
  max-width: 1400px; margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 40px) 12px;
}
.hero-kicker { color: var(--cyan); font-size: 14px; margin: 0 0 12px; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.02em;
  margin: 0 0 16px; max-width: 18ch;
  background: linear-gradient(100deg, #ffffff 30%, #a9eee6 60%, #c2b8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p:not(.hero-kicker) { color: var(--muted); font-size: 16.5px; max-width: 54ch; margin: 0 0 26px; }
.hero-art { width: 100%; max-width: 340px; justify-self: center; overflow: visible; }
.orbit { transform-origin: 160px 160px; }
.orbit-a { animation: spin 40s linear infinite; }
.orbit-b { animation: spin 26s linear infinite reverse; }
.scan { animation: scan 3.2s ease-in-out infinite; opacity: .85; filter: drop-shadow(0 0 6px #3fd6c8); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(48px); } }

/* ---------- stats ---------- */

.stats {
  max-width: 1400px; margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 40px) 8px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  position: relative; overflow: hidden;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2px;
}
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .8;
}
.stat span { font-size: 13px; color: var(--muted); }
.stat strong { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15; }
.stat small { font-size: 12.5px; color: var(--muted); }
.stat-warn.is-on::before { background: linear-gradient(90deg, var(--amber), var(--red)); }
.stat-warn.is-on strong { color: var(--amber); }

.chart-panel { grid-column: span 3; padding: 18px 20px 12px; }
.ring-panel { grid-column: span 1; padding: 18px 20px; }
.chart svg { width: 100%; height: auto; display: block; }
.c-grid { stroke: rgba(143,168,179,.12); stroke-dasharray: 3 5; }
.c-base { stroke: rgba(143,168,179,.35); }
.c-bar { fill: url(#barg); transform-box: fill-box; transform-origin: bottom; animation: grow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.c-bar-empty { fill: rgba(143,168,179,.2); animation: none; }
.c-val { fill: var(--text); font: 600 13px var(--display); text-anchor: middle; }
.c-lbl { fill: var(--muted); font: 12px var(--sans); text-anchor: middle; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.ring-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#ring { width: 128px; flex: none; }
#ring svg { width: 100%; height: auto; display: block; }
.r-num { fill: var(--text); font: 600 26px var(--display); text-anchor: middle; }
.r-lbl { fill: var(--muted); font: 11px var(--sans); text-anchor: middle; }
.legend { list-style: none; margin: 0; padding: 0; font-size: 13px; flex: 1; min-width: 140px; }
.legend li { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: #c6d9df; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; font-family: var(--mono); font-weight: 500; }

/* ---------- workspace ---------- */

.workspace {
  max-width: 1400px; margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 40px) 40px;
  display: grid; gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  scroll-margin-top: 70px;
}
.compose { padding: clamp(20px, 2.6vw, 34px); }
.compose h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.lede { color: var(--muted); margin: 0 0 24px; max-width: 60ch; }

fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend {
  display: flex; align-items: center; gap: 10px; width: 100%;
  font-family: var(--display); font-size: 14.5px; font-weight: 600; color: var(--text);
  padding: 0; margin-bottom: 14px;
}
legend::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
legend::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--stroke-strong), transparent); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { grid-template-columns: 1fr 1fr 2fr; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.status { min-height: 1.5em; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
form.is-busy .status::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
  border: 2px solid var(--cyan); border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}

.desk {
  position: sticky; top: 76px;
  display: flex; flex-direction: column; align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(63,214,200,.14), transparent 60%),
    rgba(6, 22, 32, .5);
  border: 1px solid var(--stroke);
}
.desk-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.desk-note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 10px var(--green); }

/* ---------- the letter preview (always light, like the PDF) ---------- */

.paper {
  container-type: inline-size;
  width: 100%; max-width: 600px;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(63,214,200,.25), 0 24px 60px -20px rgba(0, 0, 0, .7), 0 0 80px -30px rgba(63,214,200,.5);
  position: relative;
}
.paper-body {
  padding: 6.5cqw 10.5cqw 12cqw;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.85cqw;
  line-height: 1.42;
}
.paper p { margin: 0 0 1.1em; text-align: justify; hyphens: auto; }
.p-head { display: flex; gap: 2.4cqw; align-items: center; padding-bottom: 1.8cqw; border-bottom: .9cqw double var(--teal); }
.p-logo { width: 11cqw; height: 11cqw; object-fit: contain; }
.p-journal { font-weight: 600; font-size: 2.8cqw; color: var(--teal); line-height: 1.2; }
.p-meta { font-family: var(--sans); font-size: 1.43cqw; color: var(--paper-muted); }
.p-ref { display: flex; justify-content: space-between; margin-top: 4cqw; }
.p-ref span { display: inline-block; width: 8cqw; }
.p-h { text-align: center; font-size: 2.4cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 4.4cqw 0 3.6cqw; font-weight: 600; }
.p-to { display: flex; margin-bottom: 3cqw; }
.p-to > span { width: 8cqw; flex: none; }
.p-details { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border-left: .32cqw solid var(--teal); }
.p-details th { font-family: var(--sans); font-weight: 400; font-size: 1.6cqw; color: var(--paper-muted); text-align: left; vertical-align: top; padding: .25em 1.6cqw; width: 18cqw; white-space: nowrap; }
.p-details td { padding: .15em 0; vertical-align: top; }
.p-details .p-title { font-weight: 600; }
.p-sign p { margin: 0 0 1.5cqw; }
.p-seal {
  display: flex; gap: 3.6cqw; align-items: center;
  width: 58cqw; padding: 1.9cqw;
  border: .17cqw solid var(--teal); border-radius: 1cqw;
  box-shadow: inset .45cqw 0 0 -0.02cqw var(--teal);
}
.p-qr { width: 14.3cqw; height: 14.3cqw; flex: none; image-rendering: pixelated; background: #f1f4f3; }
.p-seal-text { display: flex; flex-direction: column; line-height: 1.35; }
.p-seal-text small { font-family: var(--sans); font-size: 1.3cqw; color: var(--paper-muted); }
.p-seal-text small:first-child { font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; font-size: 1.2cqw; }
.p-seal-text strong { font-size: 2.1cqw; }
.p-seal-text span { font-size: 1.6cqw; }
.p-seal-text span:nth-of-type(2), .p-code { font-family: var(--sans); font-size: 1.35cqw !important; color: var(--paper-muted); }
.p-code b { font-family: var(--mono); color: var(--ink); font-size: 1.5cqw; }
.p-foot {
  position: absolute; left: 10.5cqw; right: 10.5cqw; bottom: 4cqw;
  border-top: 1px solid var(--line); padding-top: 1.4cqw;
  font-family: var(--sans); font-size: 1.4cqw; color: var(--paper-muted); text-align: center;
}

/* ---------- issued letters ---------- */

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px) 60px; }
.issued { padding: clamp(18px, 2.4vw, 30px); scroll-margin-top: 80px; }
.issued-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.issued-head h2 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 0; }
.issued-head input { max-width: 360px; border-radius: 999px; padding-left: 16px; }
.table-wrap { overflow-x: auto; }
.issued table { width: 100%; border-collapse: collapse; font-size: 14px; }
.issued thead th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 0 14px 12px 0; border-bottom: 1px solid var(--stroke-strong); white-space: nowrap; }
.issued tbody td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.issued tbody tr { transition: background .15s; }
.issued tbody tr:hover { background: rgba(63,214,200,.04); }
.issued tbody td small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.t-num { font-family: var(--mono); font-size: 13px; color: #bdf3ec; white-space: nowrap; }
.t-ms { min-width: 280px; max-width: 520px; }
.t-title { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-date { white-space: nowrap; }
.t-err { color: #ffa3a3 !important; max-width: 260px; }
.t-actions { white-space: nowrap; }
.t-actions > * + * { margin-left: 12px; }
tr.is-revoked td:not(.t-actions) { color: var(--muted); }
tr.is-revoked .t-title { text-decoration: line-through; text-decoration-color: rgba(240,111,111,.6); }
.empty { color: var(--muted); padding: 28px 0; text-align: center; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: rgba(242,184,91,.14); color: var(--amber); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.chip-sent { background: rgba(63,214,154,.13); color: var(--green); }
.chip-failed { background: rgba(240,111,111,.14); color: var(--red); }
.chip-revoked { background: rgba(143,168,179,.14); color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: min(640px, calc(100vw - 32px));
  padding: 14px 18px; border-radius: 12px;
  font-size: 14.5px; color: var(--text);
  background: rgba(15, 39, 55, .95); border: 1px solid var(--green);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.7), 0 0 30px -10px var(--green);
  cursor: pointer; z-index: 20;
}
.toast-err { border-color: var(--red); box-shadow: 0 16px 40px -12px rgba(0,0,0,.7), 0 0 30px -10px var(--red); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-panel, .ring-panel { grid-column: span 2; }
  .workspace { grid-template-columns: 1fr; }
  .desk { position: static; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 220px; order: -1; }
}
@media (max-width: 720px) {
  .issued thead { display: none; }
  .issued table, .issued tbody, .issued tr, .issued td { display: block; width: 100%; }
  .issued tbody tr { padding: 14px 0; border-bottom: 1px solid var(--stroke); }
  .issued tbody td { border: 0; padding: 3px 0; min-width: 0; max-width: none; }
  .issued .t-num { font-size: 12.5px; }
  .issued .t-date { color: var(--muted); font-size: 13px; }
  .issued .t-actions { padding-top: 10px; white-space: normal; }
}
@media (max-width: 560px) {
  .brand-badge { padding: 6px 10px; }
  .brand-badge img { height: 24px; }
  .row, .row-3 { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 14px 16px; }
  .topbar-nav a:not(.nav-out) { display: none; }
  .actions .btn { flex: 1; }
  .c-lbl { font-size: 16px; }
}

/* ---------- sign-in ---------- */

body.auth { display: grid; place-items: center; padding: 24px; }
.auth-card {
  width: 100%; max-width: 420px; padding: 38px 34px 32px;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 20px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 80px -40px var(--cyan);
}
.auth-badge { margin-bottom: 22px; }
.auth-badge img { height: 36px; }
.auth-journal { font-size: 13px; color: var(--cyan); margin: 0 0 6px; }
.auth-card h1 { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.2; margin: 0 0 8px; }
.auth-lede { color: var(--muted); margin: 0 0 24px; }
.stack .btn { width: 100%; margin-top: 4px; }

/* ---------- public verification ---------- */

body.verify { display: flex; flex-direction: column; }
.verify-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding: 16px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--stroke); background: rgba(7,23,34,.7); backdrop-filter: blur(12px); font-size: 13px; color: var(--muted); }

.verify-main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) 20px 56px; }
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-bottom: 28px; }
.verdict-unknown { display: block; }
.verdict h1 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 8px; }
.verdict p { margin: 0; color: var(--muted); max-width: 58ch; }
.seal {
  position: relative; width: 104px; height: 104px; display: grid; place-items: center;
}
.seal svg { width: 100%; height: 100%; }
.seal-ring { transform-origin: 50px 50px; animation: spin 18s linear infinite; }
.verdict-valid h1 { color: var(--green); }
.verdict-revoked h1 { color: var(--red); }
.verify-form { display: flex; gap: 12px; align-items: end; margin-top: 26px; max-width: 520px; }
.verify-form .field { flex: 1; margin: 0; }
.verify-form input { font-family: var(--mono); letter-spacing: .06em; }
.record { margin: 0; overflow: hidden; }
.record > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--stroke); }
.record > div:last-child { border-bottom: 0; }
.record dt { color: var(--muted); font-size: 13.5px; }
.record dd { margin: 0; }
.record-title { font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.4; }
.record .mono { font-family: var(--mono); font-size: 14px; color: #bdf3ec; }
.sig-row { background: linear-gradient(90deg, rgba(63,214,154,.1), transparent); }
.sig-ok { color: var(--green); font-size: 13px; display: block; margin-top: 2px; }
.sig-bad { color: var(--red); font-size: 13px; display: block; margin-top: 2px; }
.verify-foot { padding: 20px; text-align: center; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--stroke); }
@media (max-width: 560px) {
  .record > div { grid-template-columns: 1fr; gap: 2px; }
  .verify-form { flex-direction: column; align-items: stretch; }
  .verdict { grid-template-columns: 1fr; }
  .seal { width: 84px; height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
