:root {
  --navy: #16294d;
  --blue: #2f8fdb;
  --blue-press: #2179c4;
  --blue-bright: #56b1ef;
  --ground: #0b1a30;
  --success: #1f9d6b;
  --success-bg: #e7f6ef;
  --success-ink: #15543a;
  --danger: #c0473e;
  --danger-bg: #fdf1f0;
  --warn-ink: #94794e;
  --warn-bg: #f6efe0;
  --text: #5a6577;
  --text-soft: #6b7589;
  --text-faint: #9aa3b2;
  --hair: #e7eaee;
  --hair-2: #eef0f3;
  --paper: #ffffff;
  --board: #e9ebef;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
body { margin: 0; padding-top: 72px; color: var(--navy); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; }
[id] { scroll-margin-top: 86px; }

.shell { width: 100%; margin: 0; padding: 0 0 80px; }

/* Top navigation is styled by the CANON NAV block at end of file. */
.brand-mark { width: 31px; height: 35px; object-fit: contain; }
.brand-word { display: inline-flex; color: #eaf0f7; font-size: 21px; font-weight: 850; }
.brand-word span:last-child { color: var(--blue-bright); }

[hidden] { display: none !important; }

.workbench {
  width: min(1020px, calc(100% - 64px));
  display: grid;
  gap: 26px;
  margin: 0 auto;
  padding-top: 34px;
  min-width: 0;
}

.heading { display: grid; gap: 12px; }
.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); }
h1, h2 { margin: 0; letter-spacing: 0; }
h1 { color: var(--navy); font-size: 34px; font-weight: 850; line-height: 1.05; }
h2 { color: var(--navy); font-size: 22px; font-weight: 850; }
.tagline { max-width: 560px; margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.6; font-weight: 600; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
  min-width: 0;
}
.panel {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 28px;
  min-width: 0;
}
#verifyForm .field:first-child { display: none; }
.field { display: grid; gap: 6px; color: var(--navy); font-size: 13px; font-weight: 800; min-width: 0; }
input[type="text"], input[type="url"] {
  width: 100%;
  min-height: 40px;
  padding: 10px 13px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #d8dde4;
  border-radius: 9px;
}
input:focus, button:focus, .dropzone:focus-within { outline: 3px solid #9ed8d0; outline-offset: 2px; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 140px;
  min-width: 0;
  padding: 30px 22px;
  background: #fafbfc;
  border: 2px dashed #cdd6e0;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background: #f5f9fd; }
.dropzone.has-file {
  border-color: #68b58a;
  background: #f6fbf8;
}
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone span { pointer-events: none; color: var(--navy); font-size: 15px; font-weight: 850; }
.dropzone span::before { content: "\2191"; display: block; margin-bottom: 12px; color: var(--blue); font-size: 36px; font-weight: 450; line-height: 1; }
.dropzone span::after { content: "Wordt lokaal gehasht - niet geupload"; display: block; margin-top: 4px; color: var(--text-faint); font-size: 13.5px; font-weight: 600; }
.selected-file {
  margin: -6px 0 2px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.selected-file.has-file { color: #2d8b57; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; min-width: 0; }
button {
  min-height: 40px;
  padding: 10px 20px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 9px;
  font-weight: 850;
  cursor: pointer;
}
button:hover { background: var(--blue-press); }
button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--hair);
}
button.secondary:hover { background: #f4f7fb; }

.result-panel { min-height: 300px; align-content: start; min-width: 0; }
.result-panel h2:first-child {
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status { padding: 16px 18px; border: 1px solid var(--hair); border-radius: 11px; font-weight: 850; }
.status.neutral { color: var(--text-faint); background: #fbfcfd; }
.status.good { color: var(--success-ink); background: var(--success-bg); border-color: #bfe6d2; }
.status.bad { color: var(--danger); background: var(--danger-bg); border-color: #f3d4d1; }

.details, .certificate-details { display: grid; gap: 0; margin: 0; }
.details div {
  display: flex;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hair-2);
}
.details dt { width: 130px; flex: none; }
dt { color: var(--text-faint); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
dd { margin: 0; overflow-wrap: anywhere; color: var(--navy); font-family: var(--mono); font-size: 12.5px; line-height: 1.65; }
.claim { margin: 0; color: var(--text-soft); line-height: 1.55; }

.certificate-wrap {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 40px 32px 72px;
  margin-top: 40px;
  background: #e9edf3;
  min-width: 0;
}
.certificate-actions {
  width: 100%;
  max-width: 794px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}
.certificate-file-name {
  margin-right: auto;
  color: #8a93a3;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.certificate {
  width: 794px;
  min-height: 1123px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 74px 64px 42px;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 12px 40px rgba(22, 41, 77, .16);
  overflow: hidden;
}
.a4-certificate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: var(--blue);
}
.certificate-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--navy);
}
.certificate-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
}
.certificate-mark { width: 46px; height: 52px; object-fit: contain; }
.certificate-logo {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}
.certificate-logo span { color: var(--blue); }
.certificate-tagline {
  margin: 6px 0 0;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.certificate-mast-right {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.certificate-id-block {
  min-width: 185px;
  text-align: right;
}
.certificate-id-block p {
  margin: 0;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.certificate-header h2 {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  margin-top: 6px;
  text-align: right;
}
.certificate-intro {
  max-width: 610px;
}
.certificate-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.certificate-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}
.certificate-intro p {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
.certificate-intro .certificate-warning {
  padding: 12px 14px;
  color: #174f36;
  background: #eef8f2;
  border: 1px solid #c9e8d5;
  border-radius: 8px;
  font-weight: 700;
}
.certificate-hash-block {
  padding: 22px 24px;
  background: #f6fafe;
  border: 1.5px solid #d3e3f2;
  border-radius: 10px;
}
.certificate-hash-block p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.certificate-hash-block div {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.certificate-details { grid-template-columns: 1fr 1fr; gap: 0 48px; }
.certificate-details div {
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-2);
}
.certificate-details .span { grid-column: 1 / -1; }
.certificate-details dt { margin-bottom: 8px; }
.certificate-details dd { font-size: 15px; }
.badge-unverified {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  color: #856018;
  background: #f2e6c8;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
}
.badge-local {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  color: #315a7c;
  background: #e7f1fb;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
}
.ledger-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 8px;
  padding: 6px 12px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.ledger-button:hover { background: var(--blue-press); }
.qr {
  width: 148px;
  height: 148px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 8px;
}
.qr svg,
.qr img {
  width: 100%;
  height: 100%;
  display: block;
}
.qr img { object-fit: contain; }
.certificate-verify {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hair-2);
}
.certificate-verify .qr {
  width: 96px;
  height: 96px;
}
.certificate-verify-copy h2,
.certificate-verify-copy h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 15px;
}
.certificate-verify-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.5;
}
.certificate-verify-copy .verify-url {
  margin-top: 8px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.certificate-footer {
  padding-top: 14px;
  border-top: 1px solid var(--hair-2);
}
.certificate-footer p { margin: 0; color: #8a93a3; font-size: 10.5px; line-height: 1.6; }

.site-footer { margin-top: 90px; padding: 48px 0; color: #aebccd; background: var(--ground); }
.footer-inner { display: grid; gap: 24px; width: min(1100px, calc(100% - 64px)); margin: 0 auto; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 24px; color: #eaf0f7; font-size: 21px; font-weight: 850; }
.footer-brand img { width: 28px; height: 32px; object-fit: contain; }
.footer-brand b { color: var(--blue-bright); }
.footer-triad { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #8190a4; }
.footer-triad .sep { color: #3a4760; }
.site-footer p { max-width: 760px; margin: 0; color: #69788d; font-size: 12.5px; line-height: 1.65; }

@media (max-width: 920px) {
  .workbench,
  .heading,
  .grid,
  #verifyForm,
  .result-panel {
    width: min(calc(100vw - 44px), 680px);
    max-width: min(calc(100vw - 44px), 680px);
  }
  .grid { grid-template-columns: minmax(0, 1fr); justify-self: stretch; }
  .panel { padding: 24px; }
  .dropzone { width: 100%; max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .actions button { flex: 1 1 190px; }
  .certificate { width: 100%; padding: 34px 28px; }
  .certificate-details { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .workbench {
    width: min(calc(100vw - 28px), 640px);
    gap: 20px;
    padding-top: 22px;
  }
  .heading,
  .grid,
  #verifyForm,
  .result-panel {
    width: min(calc(100vw - 28px), 640px);
    max-width: min(calc(100vw - 28px), 640px);
  }
  .heading { gap: 10px; }
  h1 {
    font-size: 27px;
    line-height: 1.12;
  }
  h2 { font-size: 19px; }
  .tagline {
    font-size: 14px;
    line-height: 1.5;
  }
  .panel {
    gap: 13px;
    padding: 18px;
    border-radius: 14px;
  }
  .dropzone {
    min-height: 120px;
    padding: 24px 16px;
  }
  .dropzone span { font-size: 14px; }
  .dropzone span::before {
    margin-bottom: 8px;
    font-size: 30px;
  }
  .dropzone span::after {
    font-size: 12px;
  }
  input[type="text"], input[type="url"] {
    min-height: 42px;
    padding: 10px 12px;
  }
  .actions { gap: 10px; }
  .actions button {
    min-height: 42px;
    padding: 11px 14px;
  }
  .result-panel { min-height: 0; }
  .certificate-wrap {
    padding: 24px 14px 40px;
  }
  .certificate {
    width: 100%;
    min-height: 0;
    padding: 44px 22px 28px;
  }
  .certificate-header,
  .certificate-mast-right,
  .certificate-verify {
    flex-direction: column;
    align-items: flex-start;
  }
  .certificate-id-block { text-align: left; }
  .certificate-details { grid-template-columns: 1fr; }
  .certificate-details .span { grid-column: auto; }
}

@media print {
  @page { size: A4; margin: 0; }
  body { padding-top: 0; background: #fff; }
  .topbar, .heading, .grid, .certificate-actions, .site-footer { display: none; }
  .shell, .workbench, .certificate-wrap { width: 100%; padding: 0; margin: 0; background: #fff; }
  .certificate {
    width: 210mm;
    min-height: 0;
    /* NEVER force page height here: a box of exactly 297mm tips onto a second page
       at the slightest mm->px rounding or flex fragmentation. Natural height with
       compact content leaves real headroom on one A4. */
    height: auto;
    gap: 11px;
    padding: 12mm 15mm 8mm;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .a4-certificate::before { display: none; }
  .certificate-header { padding-bottom: 12px; }
  .certificate-mark { width: 40px; height: 46px; }
  .certificate-logo { font-size: 25px; }
  .certificate-tagline { margin-top: 3px; font-size: 9.5px; }
  .certificate-id-block p { font-size: 10px; }
  .certificate-header h2 { font-size: 13px; }
  .certificate-intro h2 { font-size: 25px; }
  .certificate-kicker { margin-bottom: 6px; font-size: 9.5px; }
  .certificate-intro p { margin-top: 7px; font-size: 12px; line-height: 1.34; }
  .certificate-intro .certificate-warning { padding: 7px 9px; }
  .certificate-hash-block { padding: 11px 13px; }
  .certificate-hash-block p { margin-bottom: 5px; font-size: 9.5px; }
  .certificate-hash-block div { font-size: 13px; line-height: 1.38; }
  .certificate-details { gap: 0 24px; }
  .certificate-details div { padding: 6px 0; }
  .certificate-details dt { margin-bottom: 3px; font-size: 9.5px; }
  .certificate-details dd { font-size: 11.5px; line-height: 1.28; }
  .badge-unverified, .badge-local { font-size: 9.5px; }
  .ledger-button {
    min-height: 0;
    margin-top: 3px;
    padding: 0;
    color: var(--blue);
    background: transparent;
    border-radius: 0;
    font-size: 10.5px;
    text-decoration: underline;
  }
  .certificate-verify { gap: 12px; padding-top: 8px; }
  .qr { width: 34mm; height: 34mm; padding: 1.5mm; }
  .certificate-verify .qr { width: 31mm; height: 31mm; }
  .certificate-verify-copy h3 { font-size: 13px; }
  .certificate-verify-copy p { font-size: 10.7px; line-height: 1.28; }
  .certificate-verify-copy .verify-url { font-size: 9.8px; }
  .certificate-footer { padding-top: 5px; }
  .certificate-footer p { font-size: 8.2px; line-height: 1.22; }
}

/* ProofReg unified wordmark */
.brand-logo {
  display: block;
  width: 146px;
  height: auto;
}

.footer-logo,
.footer-brand .footer-logo {
  display: block;
  width: 132px;
  height: auto;
}

.brand-home,
.footer-brand {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .brand-logo,
  .footer-logo {
    width: 118px;
  }
}

/* (removed dead .top-nav / .language-select layers — nav is the CANON block; footer below) */

/* Footer layout guard: keep logo links as images and the footer triad horizontal on desktop. */
.footer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand,
.brand-home {
  text-decoration: none;
}

.footer-triad {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 24px;
  max-width: 720px;
}

.footer-triad span {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 760px) {
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-triad {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-triad { justify-content: flex-start; gap: 14px; }
}

/* === CANON NAV — unified across Www / App / Verify ========================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 20, 36, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar .wrap { max-width: 1100px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-toggle { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.nav .logo { display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0; }
.nav .logo .brand-logo { width: 146px; max-width: none; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 38px; color: #aebccd; font-size: 14px; font-weight: 750; }
.nav-links a:hover { color: #fff; }
.nav-links > a.is-current { color: #fff; text-decoration: underline; text-decoration-color: var(--blue-bright); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn-primary { min-height: 40px; padding: 0 18px; color: #fff !important; background: var(--blue); border-radius: 9px; }
.nav .btn-primary:hover { background: var(--blue-press); }
.language-menu { position: relative; flex: 0 0 auto; }
.language-menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; color: #eaf0f7; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 850; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu[open] summary { border-color: rgba(255,255,255,.5); }
.language-menu[open] .chev { transform: rotate(180deg); }
.language-menu .globe, .language-menu .chev { line-height: 1; }
.language-menu .chev { transition: transform .14s ease; }
.language-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; display: grid; gap: 2px; width: 216px; max-height: 360px; overflow: auto; padding: 7px; background: #fff; border: 1px solid var(--hair); border-radius: 12px; box-shadow: 0 18px 42px rgba(7,16,29,.24); }
.language-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; color: var(--navy); border-radius: 8px; }
.language-option:hover { background: #f4f7fb; }
.language-option strong { display: block; font-size: 14px; font-weight: 750; }
.language-option small { display: block; margin-top: 1px; color: var(--soft, var(--text-faint)); font-size: 11.5px; }
.language-option.is-current { color: var(--blue); background: #f2f8fd; }
.language-option .tick { color: var(--blue); font-weight: 850; }
.nav-links .credit-pill { display: inline-flex; align-items: center; min-height: 38px; max-width: none; padding: 0 16px; color: #dcebff !important; background: rgba(47,102,232,.26); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 14px; font-weight: 850; white-space: nowrap; }
.nav-links .login-button { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; color: #0b1a30 !important; background: #fff; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; font-size: 14px; font-weight: 850; }
.nav-burger { display: none; color: #fff; width: 40px; height: 38px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; cursor: pointer; }
.nav-burger span { width: 17px; height: 2px; background: currentColor; border-radius: 2px; }
@media (max-width: 920px) {
  .topbar .wrap { padding-left: 18px; padding-right: 18px; }
  .nav { gap: 14px; }
  .nav .logo .brand-logo { width: 128px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 12.5px; }
}
@media (max-width: 760px) {
  body { padding-top: 68px !important; }
  .nav { min-height: 68px; }
  .nav .logo .brand-logo { width: 124px; max-width: 48vw; }
  .nav-burger { display: inline-flex; order: 3; }
  .nav-links { position: fixed; top: 68px; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; margin-left: 0; background: #0b1a30; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 18px 42px rgba(7,16,29,.35); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { justify-content: center; min-height: 42px; font-size: 14px; }
  .nav .btn-primary, .nav-links .credit-pill, .nav-links .login-button { justify-content: center; width: 100%; max-width: none; }
  .language-menu { width: 100%; }
  .language-menu summary { justify-content: center; width: 100%; min-height: 42px; }
  .language-panel { position: static; width: 100%; max-height: 280px; margin-top: 8px; box-shadow: none; }
}
@media print {
  .topbar { display: none !important; }
}
