/* ==========================================================================
   Case portal — built on the police.govt.nz design system
   ========================================================================== */

:root {
  --p-navy: #00164b;
  --p-blue: #223d92;
  --p-cyan: #32c5f4;
  --p-cyan-dark: #009dcf;
  --p-ink: #1a1a1a;
  --p-body: #333333;
  --p-muted: #5c6470;
  --p-line: #d1d2d4;
  --p-line-soft: #e6e6e6;
  --p-bg-soft: #f4f4f4;
  --p-bg-tint: #eef5fb;
  --p-green: #1d7a3c;
  --p-amber: #b45309;
  --p-red: #c80606;
  --p-focus: #32c5f4;
  --p-radius: 3px;
  --p-shadow: none;
}

/* -- hero copy -------------------------------------------------------------- */
.region-hero .service-header__intro {
  color: #e8edf6;
  max-width: 46rem;
}
.region-hero .service-header__intro a { color: #fff; }

/* -- page layout ------------------------------------------------------------ */
.notices-bar { min-height: 96px; margin-bottom: 0 !important; }
.notices-bar .u-container { padding: 0 24px; }
.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0 64px;
}
.portal-main { min-width: 0; }

@media (max-width: 991px) {
  .portal-layout { grid-template-columns: minmax(0, 1fr); }
  .portal-side { order: 2; }
}
@media (max-width: 560px) {
  .portal-card { padding: 22px 18px; }
  .portal-dob__row { gap: 8px; }
  .portal-dob__cell, .portal-dob__cell--year { width: auto; flex: 1 1 0; min-width: 0; }
  .portal-actions { flex-direction: column; align-items: stretch; }
  .portal-secure { justify-content: center; }
  .case-band__inner { padding: 0 18px; }
  .case-band__ref { font-size: 1.375rem; }
}

/* -- cards ------------------------------------------------------------------ */
.portal-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--p-radius);
  padding: 32px;
  margin-bottom: 24px;
}
.portal-card--lead { border-top: 4px solid var(--p-navy); }
.portal-card--muted { background: var(--p-bg-soft); box-shadow: none; }

.portal-h2 {
  font-size: 1.875rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--p-navy);
  margin: 0 0 12px;
}
.portal-h3 {
  font-size: 1.5625rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--p-navy);
  margin: 0 0 10px;
}
.portal-side .portal-h3,
.portal-aside-card .portal-h3 { font-size: 1.25rem; }

.portal-intro {
  color: var(--p-body);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* -- steps ------------------------------------------------------------------ */
.portal-steps {
  display: flex;
  list-style: none;
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--p-line-soft);
  counter-reset: step;
}
.portal-steps .progress-step {
  flex: 1;
  position: relative;
  padding-right: 12px;
  font-size: .9375rem;
  color: var(--p-muted);
}
.portal-steps .progress-step::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 0;
  top: 13px;
  height: 2px;
  background: var(--p-line-soft);
}
.portal-steps .progress-step:last-child::before { display: none; }
.portal-steps .progress-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--p-line);
  background: #fff;
  color: var(--p-muted);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.portal-steps .progress-step.is-active .progress-marker {
  background: var(--p-navy);
  border-color: var(--p-navy);
  color: #fff;
}
.portal-steps .progress-step.is-active .progress-title { color: var(--p-navy); font-weight: 700; }
.portal-steps .progress-step.is-done .progress-marker {
  background: var(--p-cyan);
  border-color: var(--p-cyan);
  color: var(--p-navy);
}
.portal-steps .progress-step.is-done::before { background: var(--p-cyan); }
.portal-steps .progress-title { font-weight: 600; }

/* -- form fields ------------------------------------------------------------ */
.portal-form .portal-field { margin-bottom: 26px; max-width: 100%; }
.portal-form label,
.portal-form legend {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--p-ink);
  margin-bottom: 6px;
  line-height: 1.35;
  padding: 0;
}
.portal-form legend { margin-bottom: 8px; }
.req { color: var(--p-red); }

.portal-hint {
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--p-muted);
  margin: 0 0 10px;
  max-width: 34rem;
}
.portal-error {
  color: var(--p-red);
  font-size: .9375rem;
  font-weight: 600;
  margin: 8px 0 0;
}
.portal-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--p-red);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  margin-right: 7px;
  vertical-align: 1px;
}

.portal-dialog__panel .portal-field { margin-bottom: 20px; }
.portal-dialog__panel label {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--p-ink);
  margin-bottom: 6px;
}
.portal-dialog__panel input[type="text"] {
  width: 100%;
  max-width: 420px;
  padding: 11px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--p-radius);
  font-family: inherit;
}

.portal-form input[type="text"] {
  width: 100%;
  max-width: 285px;
  padding: 11px 15px;
  font-size: 1.125rem;
  line-height: 24px;
  color: var(--p-ink);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--p-radius);
  font-family: inherit;
}
.portal-form input[type="text"]::placeholder { color: #8b939e; }
.portal-form input[type="text"]:focus,
.portal-form select:focus {
  outline: 2px solid var(--p-focus);
  outline-offset: 1px;
  border-color: var(--p-navy);
}
.portal-form .is-invalid input[type="text"],
.portal-form .is-invalid select { border-color: var(--p-red); background: #fffafa; }

.portal-dob__row { display: flex; gap: 10px; }
.portal-dob__cell { width: 84px; }
.portal-dob__cell--year { width: 110px; }
.portal-form select {
  width: 100%;
  height: 3.125rem;
  padding: 11px 36px 11px 15px;
  font-size: 1.125rem;
  color: var(--p-ink);
  background-color: #fff;
  background-image: url("../images/chevron-grey.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 22px;
  border: 1px solid #ccc;
  border-radius: var(--p-radius);
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}
.portal-form select:hover { cursor: pointer; }

/* -- checkboxes ------------------------------------------------------------- */
.portal-checks { margin: 4px 0 26px; }
.portal-check { display: flex; gap: 12px; margin-bottom: 14px; }
.portal-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 1px 0 0;
  accent-color: var(--p-blue);
  border: 1px solid #767676;
  border-radius: 2px;
}
.portal-check label {
  font-size: 1rem;
  font-weight: 400;
  color: var(--p-ink);
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
}

/* -- actions ---------------------------------------------------------------- */
.portal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--p-blue);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--p-radius);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.portal-btn:hover { background: var(--p-navy); color: #fff; }
.portal-btn:focus-visible { outline: 2px solid var(--p-focus); outline-offset: 2px; }
.portal-btn[disabled] { opacity: .7; cursor: progress; }
.portal-btn--ghost {
  background: transparent;
  color: var(--p-navy);
  border: 1px solid var(--p-navy);
}
.portal-btn--ghost:hover { background: var(--p-navy); color: #fff; }
.portal-btn--small { font-size: 1rem; padding: 10px 16px; }

.portal-secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .875rem;
  color: var(--p-muted);
  margin: 0;
}

/* -- details ---------------------------------------------------------------- */
.portal-details {
  border-top: 1px solid var(--p-line-soft);
  margin-top: 26px;
  padding-top: 18px;
  font-size: 1rem;
}
.portal-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--p-blue);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.portal-details summary::-webkit-details-marker { display: none; }
.portal-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--p-blue);
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
.portal-details[open] summary::before { content: "–"; }
.portal-details > div { padding-top: 12px; color: var(--p-body); }
.portal-details p { max-width: 38rem; }

/* -- lists ------------------------------------------------------------------ */
.portal-list { margin: 0; padding-left: 20px; color: var(--p-body); }
.portal-list li { margin-bottom: 10px; line-height: 1.55; }
.portal-list--small { font-size: .9375rem; padding-left: 18px; }
.portal-list--small li { margin-bottom: 7px; }

/* -- sidebar ---------------------------------------------------------------- */
.portal-side > .portal-aside-card {
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 22px;
  margin-bottom: 20px;
  background: #fff;
}
.portal-aside-card--blue {
  background: var(--p-navy);
  border-color: var(--p-navy);
  color: #fff;
}
.portal-aside-card--blue .portal-h3 { color: #fff; }
.portal-aside-card--blue p { color: #dbe3f1; font-size: .9375rem; }
.portal-aside-card--blue a { color: #fff; }
.portal-aside-card--note { background: var(--p-bg-tint); border-color: #cfe2f3; }
.portal-aside-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: underline;
  margin: 6px 0 10px;
}
.portal-aside-small { font-size: .9375rem; color: var(--p-body); line-height: 1.5; margin: 0 0 10px; }

/* -- dialogs ---------------------------------------------------------------- */
.portal-dialog {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 75, .55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  z-index: 9000;
  overflow-y: auto;
}
.portal-dialog[hidden] { display: none; }
.portal-dialog__panel {
  background: #fff;
  width: 100%;
  max-width: 620px;
  border-radius: var(--p-radius);
  padding: 32px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 22, 75, .3);
}
.portal-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--p-line);
  background: #fff;
  color: var(--p-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.portal-dialog__close:hover { background: var(--p-bg-soft); }
.portal-dialog__body { font-size: 1rem; color: var(--p-body); }
.portal-dialog__body p { line-height: 1.6; }
body.portal-locked { overflow: hidden; }

/* -- misc ------------------------------------------------------------------- */
.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1.4;
}
.portal-badge--pending { background: #fef3c7; color: #7c4a03; border: 1px solid #f0c66b; }
.portal-badge--action { background: #ffe9d6; color: #8a3d05; border: 1px solid #f3b483; }
.portal-badge--done { background: #e3f5e9; color: #14612f; border: 1px solid #a7d8b8; }
.portal-badge--info { background: #e5f4fb; color: #005b7d; border: 1px solid #a8d9ee; }

.portal-alert {
  display: flex;
  gap: 14px;
  border: 1px solid #f0c66b;
  border-left: 5px solid #d98b00;
  background: #fffaf0;
  padding: 16px 18px;
  border-radius: var(--p-radius);
  margin-bottom: 24px;
}
.portal-alert__icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d98b00;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-alert h3 { margin: 0 0 4px; font-size: 1.0625rem; color: #6b3f02; }
.portal-alert p { margin: 0; font-size: .9375rem; color: #6b3f02; line-height: 1.5; }

/* -- case view -------------------------------------------------------------- */
.case-band {
  background: var(--p-navy);
  color: #fff;
  padding: 26px 0 22px;
  margin: 0 calc(50% - 50vw) 28px;
}
.case-band__inner {
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.case-band__label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 700;
  color: #9fb4d6;
  margin: 0 0 6px;
}
.case-band__ref {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .01em;
}
.case-band__meta { margin: 6px 0 0; font-size: .9375rem; color: #c6d3e8; }
.case-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--p-line);
  margin-bottom: 28px;
}
.case-tabs a {
  padding: 12px 18px;
  font-weight: 700;
  color: var(--p-blue);
  text-decoration: none;
  border: 2px solid transparent;
  border-bottom: 0;
  border-radius: var(--p-radius) var(--p-radius) 0 0;
  margin-bottom: -2px;
}
.case-tabs a:hover { background: var(--p-bg-soft); }
.case-tabs a[aria-current="page"] {
  background: #fff;
  border-color: var(--p-line);
  border-bottom-color: #fff;
  color: var(--p-navy);
}

.case-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 64px;
}
@media (max-width: 860px) { .case-grid { grid-template-columns: minmax(0, 1fr); } }

.case-facts { border: 1px solid var(--p-line); border-radius: var(--p-radius); overflow: hidden; }
.case-facts h2 {
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--p-muted);
  margin: 0;
  padding: 14px 16px;
  background: var(--p-bg-soft);
  border-bottom: 1px solid var(--p-line);
}
.case-facts dl { margin: 0; padding: 16px; }
.case-facts dt { font-size: .8125rem; color: var(--p-muted); margin-top: 14px; }
.case-facts dt:first-child { margin-top: 0; }
.case-facts dd { margin: 2px 0 0; font-size: .9375rem; font-weight: 600; color: var(--p-ink); }

.wallet-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--p-line-soft);
}
.wallet-row:first-of-type { border-top: 0; }
.wallet-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: .875rem;
}
.wallet-icon--btc { background: #f7931a; }
.wallet-icon--eth { background: #4a5a8a; }
.wallet-icon--usdt { background: #26a17b; }
.wallet-row__body { flex: 1; min-width: 0; }
.wallet-row__name { font-weight: 700; margin: 0 0 2px; }
.wallet-row__addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8125rem;
  color: var(--p-muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.wallet-row__net { font-size: .8125rem; color: var(--p-muted); margin: 2px 0 0; }
.wallet-row__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.copy-btn {
  border: 0;
  background: none;
  color: var(--p-blue);
  font-size: .8125rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 26px; border-left: 2px solid var(--p-line); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--p-line);
}
.timeline li.is-done::before { background: var(--p-cyan); border-color: var(--p-cyan); }
.timeline time { font-size: .8125rem; color: var(--p-muted); display: block; margin-bottom: 2px; }
.timeline p { margin: 0; font-size: .9375rem; }

/* -- wallet verify page ----------------------------------------------------- */
.verify-wrap { max-width: 720px; margin: 0 auto; padding: 8px 0 64px; }
.verify-wallet {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 16px;
  margin-bottom: 24px;
  background: var(--p-bg-soft);
}
.verify-wallet__body { min-width: 0; }
.verify-wallet__name { font-weight: 700; margin: 0 0 3px; }
.verify-wallet__addr { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: .8125rem; color: var(--p-muted); overflow-wrap: anywhere; }

.signer-list { list-style: none; margin: 0 0 24px; padding: 0; }
.signer {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--p-ink);
}
.signer:hover { border-color: var(--p-blue); background: #f7f9fd; }
.signer.is-selected { border-color: var(--p-blue); box-shadow: inset 0 0 0 1px var(--p-blue); }
.signer__logo { width: 34px; height: 34px; border-radius: 8px; flex: 0 0 34px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: .8125rem; }
.signer__meta { margin-left: auto; font-size: .8125rem; font-weight: 400; color: var(--p-muted); }
.chain-pill { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; color: var(--p-navy); background: var(--p-bg-tint); border: 1px solid #cfe2f3; border-radius: 20px; padding: 3px 9px; }

.msg-box {
  background: var(--p-navy);
  color: #dde6f4;
  border-radius: var(--p-radius);
  padding: 18px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .8125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
}
.msg-box strong { color: #fff; }

.verify-scan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px dashed var(--p-line);
  border-radius: var(--p-radius);
  margin-bottom: 20px;
  font-size: .9375rem;
  color: var(--p-body);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--p-line);
  border-top-color: var(--p-blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  flex: 0 0 22px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.qr-wrap { display: flex; gap: 20px; align-items: flex-start; }
.qr {
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
  background:
    repeating-conic-gradient(#00164b 0 25%, #fff 0 50%) 0 0/12px 12px;
  border: 8px solid #fff;
  outline: 1px solid var(--p-line);
}

.upload-zone {
  border: 1px dashed #9aa4b1;
  border-radius: var(--p-radius);
  background: var(--p-bg-soft);
  padding: 22px;
  text-align: center;
  font-size: .9375rem;
  color: var(--p-muted);
}

@media print {
  header, footer, .case-band__actions, .portal-side { display: none !important; }
}

@media (max-width: 560px) {
  .portal-dob__cell, .portal-dob__cell--year { width: auto; flex: 1 1 0; min-width: 0; }
  .portal-form input[type="text"] { max-width: 100%; }
}

.wallet-icon--sol { background: #9945ff; }

#reference { text-transform: uppercase; letter-spacing: .03em; }

/* -- device chooser + identifier entry -------------------------------------- */
.device-list { display: grid; gap: 12px; margin-bottom: 22px; }
.device {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 18px;
  cursor: pointer;
  font-family: inherit;
  color: var(--p-navy);
}
.device:hover { border-color: var(--p-blue); background: #f7f9fd; }
.device:focus-visible { outline: 2px solid var(--p-focus); outline-offset: 2px; }
.device__logo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--p-bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-navy);
}
.device__body { display: flex; flex-direction: column; gap: 3px; }
.device__name { font-size: 1.125rem; font-weight: 700; }
.device__note { font-size: .875rem; color: var(--p-muted); }
.device__arrow { margin-left: auto; font-size: 1.25rem; color: var(--p-blue); }

.portal-form textarea,
.portal-card textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--p-ink);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--p-radius);
  resize: vertical;
  min-height: 118px;
}
.portal-card textarea:focus { outline: 2px solid var(--p-focus); outline-offset: 1px; border-color: var(--p-navy); }
.portal-field.is-invalid textarea { border-color: var(--p-red); background: #fffafa; }
#identifier-count.is-full { color: var(--p-green); font-weight: 600; }

.portal-card--lead .portal-h2 { margin-bottom: 24px; }

/* -- secure session strip --------------------------------------------------- */
.sysbar {
  background: #fff;
  border-bottom: 1px solid var(--p-line-soft);
  margin: 0 calc(50% - 50vw) 0;
}
.sysbar__inner {
  max-width: 1088px;
  margin: 0 auto;
  padding: 9px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: .8125rem;
  color: var(--p-muted);
}
.sysbar__inner p { margin: 0; }
.sysbar__secure { display: inline-flex; align-items: center; gap: 7px; color: var(--p-navy); font-weight: 700; }
.sysbar__session strong { font-variant-numeric: tabular-nums; color: var(--p-ink); }
.sysbar__case { margin-left: auto !important; }
.sysbar__case strong { color: var(--p-ink); }

@media (max-width: 560px) {
  .sysbar__inner { padding: 8px 15px; gap: 6px; font-size: .6875rem; flex-wrap: nowrap; }
  .sysbar__secure { white-space: nowrap; }
  .sysbar__session { margin-left: auto; white-space: nowrap; }
  .sysbar__case { display: none; }
}

/* -- case extras ------------------------------------------------------------ */
.officer-card { margin-top: 20px; }
.officer-card__body { padding: 16px; }
.officer-card__name { font-weight: 700; margin: 0 0 2px; font-size: .9375rem; }
.officer-card__role { color: var(--p-muted); font-size: .8125rem; margin: 0 0 12px; }
.officer-card__contact { margin: 0 0 4px; font-size: .875rem; overflow-wrap: anywhere; }
.officer-card__note { color: var(--p-muted); font-size: .8125rem; margin: 12px 0 0; line-height: 1.45; }
.case-updated { color: var(--p-muted); font-size: .8125rem; margin: 22px 0 0; }
.portal-required { color: var(--p-muted); font-size: .875rem; margin: 0 0 18px; }

/* -- back to top ------------------------------------------------------------ */
#backtotop { z-index: 5000; }

/* -- motion ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2s; }
  html { scroll-behavior: auto; }
}

/* -- print ------------------------------------------------------------------ */
@media print {
  .sysbar, .case-tabs, .portal-btn, .officer-card__contact a, #backtotop,
  .case-band__actions, .portal-side, .portal-alert__icon { display: none !important; }
  .case-band { background: #fff !important; color: #00164b !important; margin: 0 0 18px !important; padding: 0 0 14px; border-bottom: 2px solid #00164b; }
  .case-band__label, .case-band__meta { color: #333 !important; }
  .case-band__inner { max-width: none; padding: 0; }
  .case-grid { display: block; padding: 0; }
  .case-facts { border: 0; margin-bottom: 18px; }
  .case-facts dl { padding: 0; }
  .portal-card { border: 0; padding: 0; margin-bottom: 14px; }
  .wallet-row { break-inside: avoid; }
  a { color: #00164b !important; text-decoration: none; }
  .portal-layout, .verify-wrap { display: block; max-width: none; }
}

/* -- wallet type badges ------------------------------------------------------ */
.wallet-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-logo img { width: 22px; height: 22px; object-fit: contain; display: block; }
.wallet-logo--lg { width: 56px; height: 56px; flex: 0 0 56px; }
.wallet-logo--lg img { width: 28px; height: 28px; }
.wallet-row__name { font-size: 1.0625rem; }

/* ==========================================================================
   Spacing / rhythm pass — roomier, document-like, less boxed
   ========================================================================== */

/* hero breathes */
.region-hero .service-header-105 { padding: 56px 0 48px; }
.region-hero .service-header__title { margin-bottom: 30px; }
.region-hero .c-nav__items { margin-top: 8px; }

/* one reading column, sidebar becomes a foot block */
.portal-layout {
  display: block;
  max-width: 760px;
  padding: 28px 0 96px;
}
.portal-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--p-line-soft);
}
.portal-side > .portal-aside-card { margin: 0; padding: 24px; font-size: .9375rem; line-height: 1.55; }
.portal-side .portal-list { font-size: .9375rem; }
.portal-side .portal-aside-phone { font-size: 1.25rem; }
.portal-side .portal-h3 { font-size: 1.125rem; margin-bottom: 12px; }

/* cards */
.portal-card { padding: 40px; margin-bottom: 32px; border-color: #e1e3e6; }
.portal-card--lead { padding-top: 40px; }
.portal-card--muted { background: #f7f8f9; border-color: transparent; padding: 32px 40px; }

.portal-h2 { margin-bottom: 8px; }
.portal-card--lead .portal-h2 { margin-bottom: 34px; }
.portal-intro { margin-bottom: 30px; line-height: 1.65; }
.portal-h3 { margin-bottom: 14px; }
.portal-required { margin-bottom: 30px; }

/* fields */
.portal-form .portal-field { margin-bottom: 34px; }
.portal-form label, .portal-form legend { font-size: 1.1875rem; margin-bottom: 8px; }
.portal-hint { font-size: 1rem; line-height: 1.55; margin-bottom: 12px; }
.portal-form input[type="text"] { max-width: 400px; padding: 13px 16px; }
.portal-form select { height: 3.375rem; }
.portal-dob__row { gap: 12px; }
.portal-dob__cell { width: 92px; }
.portal-dob__cell--year { width: 118px; }

/* checks + actions */
.portal-checks { margin: 6px 0 36px; }
.portal-check { gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.portal-check label { font-size: 1.0625rem; line-height: 1.55; }
.portal-check input[type="checkbox"] { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 1px; }
.portal-actions { gap: 22px; }
.portal-btn { padding: 15px 24px; font-size: 1.125rem; }
.portal-secure { font-size: .9375rem; }
.portal-details { margin-top: 34px; padding-top: 24px; }

/* case view */
.case-band { padding: 40px 0 34px; margin-bottom: 40px; }
.case-band__ref { font-size: 2rem; }
.case-band__meta { margin-top: 10px; }
.case-band__actions { gap: 12px; }
.case-tabs { margin-bottom: 40px; }
.case-tabs a { padding: 16px 22px; }
.case-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding-bottom: 96px; max-width: 1180px; }
.case-facts dl { padding: 20px; }
.case-facts dt { margin-top: 18px; }
.officer-card__body { padding: 20px; }
.officer-card__note { margin-top: 16px; }

/* wallet rows */
.wallet-row { padding: 24px 0; gap: 22px; }
.wallet-logo { width: 52px; height: 52px; flex-basis: 52px; }
.wallet-logo img { width: 26px; height: 26px; }
.wallet-logo--lg { width: 68px; height: 68px; flex-basis: 68px; }
.wallet-logo--lg img { width: 32px; height: 32px; }
.wallet-row__name { font-size: 1.1875rem; margin-bottom: 3px; }
.wallet-row__side { gap: 8px; }
.case-updated { margin-top: 30px; }

/* status chips: quieter */
.portal-badge {
  font-size: .8125rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  border: 0;
  background: none;
  padding: 0;
}
.portal-badge--action { color: #8a3d05; }
.portal-badge--done { color: #14612f; }
.portal-badge--pending { color: #7c4a03; }
.portal-badge--info { color: #005b7d; }
.case-tabs .portal-badge {
  background: #ffe9d6;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: .75rem;
  margin-left: 4px;
}

/* verify page */
.verify-wrap { max-width: 680px; padding: 40px 0 96px; }
.verify-wallet { padding: 22px; gap: 20px; margin-bottom: 32px; }
.verify-wallet__name { font-size: 1.25rem; }
.portal-card textarea { min-height: 168px; padding: 18px; line-height: 1.8; }
.verify-scan { padding: 24px; gap: 18px; }
.portal-steps { margin-bottom: 36px; padding-bottom: 28px; }
.portal-steps .progress-step { padding-right: 20px; }
.portal-steps .progress-marker { width: 32px; height: 32px; margin-bottom: 10px; }

/* sysbar a touch taller */
.sysbar__inner { padding: 12px 48px; }

@media (max-width: 991px) {
  .portal-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { gap: 32px; }
}
@media (max-width: 700px) {
  .portal-side { grid-template-columns: minmax(0, 1fr); }
  .portal-card { padding: 26px 20px; }
  .portal-card--muted { padding: 24px 20px; }
  .region-hero .service-header-105 { padding: 40px 0 36px; }
  .case-band { padding: 28px 0 24px; }
  .portal-dob__cell, .portal-dob__cell--year { width: auto; flex: 1 1 0; min-width: 0; }
}

@media (max-width: 860px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sysbar__inner { padding: 8px 15px; gap: 6px; font-size: .6875rem; }
}

.portal-alert { padding: 20px 22px; margin-bottom: 32px; gap: 16px; }
.case-facts h2 { padding: 18px 20px; }
.case-facts dd { font-size: 1rem; }
.wallet-row__side .portal-badge { margin-bottom: 2px; }

/* -- slim scam notice bar --------------------------------------------------- */
.notices-bar {
  min-height: 0;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.notices-bar .u-container { padding: 0 24px; }
.notices-bar .hide-reveal-title {
  padding: 0;
  margin: 0;
  border: 0;
  min-height: 46px;
  gap: 20px;
  font-size: .9375rem;
  line-height: 1.35;
  font-weight: 600;
}
.notices-bar .hide-reveal-title::after { display: none; }
.notices-bar .hide-reveal-title p { margin: 0; }
.notice-toggle {
  flex: 0 0 auto;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}
.notices-bar .hide-reveal-title:hover .notice-toggle { background: rgba(255, 255, 255, .15); }
.notices-bar .hide-reveal-content { font-size: .875rem; line-height: 1.5; padding: 2px 0 14px; }
.notices-bar .hide-reveal-content p { margin: 0 0 8px; }
.notices-bar .hide-reveal-content p:last-child { margin-bottom: 0; }
.notices-bar a { color: #fff; }
@media (max-width: 560px) {
  .notices-bar .u-container { padding: 0 14px; }
  .notices-bar .hide-reveal-title { min-height: 44px; font-size: .8125rem; line-height: 1.3; gap: 10px; padding: 4px 0; }
  .notice-toggle { font-size: .6875rem; padding: 3px 9px; }
}

@media (max-width: 560px) {
  .portal-actions { align-items: stretch; }
}

@media (max-width: 560px) {
  .region-hero .service-header-105 { padding: 24px 0 20px; align-items: stretch; }
  .region-hero .container-105 { padding: 0 18px; width: 100%; }
  .region-hero .service-header__title { font-size: 1.75rem; line-height: 1.2; margin: 0 0 14px; }
  .c-nav__items.service-header__105-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; width: 100%; max-width: none; }
  .service-header__105-ctas .c-nav__item { width: auto; min-width: 0; }
  .service-header__105-ctas .c-nav__item > a,
  .service-header__105-ctas .c-nav__item > button {
    width: 100%;
    min-height: 38px;
    padding: 8px 6px;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 2px;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  .service-header__105-ctas svg { width: 12px; height: 12px; flex: 0 0 12px; }
}

@media (max-width: 560px) {
  .c-nav-105 { position: relative; }
  .c-nav__105-landing {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: auto;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--p-line);
    border-radius: var(--p-radius);
    box-shadow: 0 8px 24px rgba(0, 22, 75, .18);
    z-index: 30;
  }
  .c-nav__105-landing .u-container { padding: 0 !important; }
  .c-nav__105-landing .c-nav__child-item { margin-bottom: 0 !important; }
  .c-nav__105-landing .c-nav__child-content {
    padding: 11px 16px !important;
    height: auto !important;
    min-height: 0 !important;
    border-top: 1px solid var(--p-line-soft);
  }
  .c-nav__105-landing .c-nav__child-item:first-child .c-nav__child-content { border-top: 0; }
  .c-nav__105-landing a {
    font-size: .9375rem !important;
    line-height: 1.35 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .c-nav__105-landing a svg { flex: 0 0 12px; width: 12px; height: 12px; }
  .c-nav__105-landing .c-nav__close { padding: 8px 12px 0; }
}

/* case bar: no text furniture, flush under the header */
.case-band {
  padding: 12px 0;
  margin: -24px calc(50% - 50vw) 40px;
}
.case-band__inner { justify-content: flex-end; align-items: center; min-height: 54px; }
@media (max-width: 700px) {
  .case-band { padding: 10px 0; margin-top: -24px; }
  .case-band__inner { padding: 0 18px; min-height: 0; }
  .case-band__actions { width: 100%; justify-content: flex-end; gap: 8px; }
  .case-band__actions .portal-btn { padding: 10px 14px; font-size: 1rem; }
}

/* overview fact table */
.overview-facts {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 24px;
  margin: 0 0 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--p-line-soft);
}
.overview-facts dt { font-size: .9375rem; color: var(--p-muted); }
.overview-facts dd { margin: 0; font-size: 1rem; font-weight: 600; color: var(--p-ink); }
@media (max-width: 560px) {
  .overview-facts { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .overview-facts dd { margin-bottom: 12px; }
}

/* -- verification wizard ----------------------------------------------------- */
.verify-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  margin: 0 0 26px;
  padding: 16px 20px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: #f7f8f9;
}
.verify-meta div { display: flex; flex-direction: column; gap: 2px; }
.verify-meta dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--p-muted); }
.verify-meta dd { margin: 0; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }

.verify-stepcount { display: none; font-weight: 700; font-size: .875rem; color: var(--p-navy); margin: 0 0 12px; }

.verify-steps {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-left: 2px solid var(--p-line-soft);
}
.verify-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 18px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--p-muted);
  font-size: .9375rem;
}
.verify-steps li:last-child { padding-bottom: 0; }
.verify-steps__mark {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  border: 2px solid var(--p-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
}
.verify-steps li.is-active { color: var(--p-navy); font-weight: 700; border-left-color: var(--p-navy); }
.verify-steps li.is-active .verify-steps__mark { background: var(--p-navy); border-color: var(--p-navy); color: #fff; }
.verify-steps li.is-done { color: var(--p-body); }
.verify-steps li.is-done .verify-steps__mark { background: var(--p-cyan); border-color: var(--p-cyan); color: var(--p-navy); }

.notice-block {
  border-left: 4px solid var(--p-navy);
  background: var(--p-bg-tint);
  padding: 16px 18px;
  margin: 0 0 28px;
  border-radius: 0 var(--p-radius) var(--p-radius) 0;
}
.notice-block p { margin: 0; font-size: .9375rem; line-height: 1.55; }

fieldset.decl { border: 0; padding: 0; margin: 0 0 30px; }
fieldset.decl legend { font-size: 1.1875rem; font-weight: 700; color: var(--p-ink); margin-bottom: 14px; }

.confirm-box {
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  padding: 20px;
  margin: 0 0 24px;
  background: #f7f8f9;
}
.confirm-box__name { font-size: 1.125rem; font-weight: 700; margin: 0 0 2px; }
.confirm-box__ex { font-size: .875rem; color: var(--p-muted); margin: 0 0 6px; }
.confirm-box__note { font-size: .875rem; margin: 0; }

.review-list { margin: 0 0 30px; border-top: 1px solid var(--p-line-soft); }
.review-list div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--p-line-soft); }
.review-list dt { flex: 0 0 190px; font-size: .9375rem; color: var(--p-muted); margin: 0; }
.review-list dd { margin: 0; font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }

.result-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.result-head__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--p-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-foot {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--p-line-soft);
  font-size: .875rem;
  color: var(--p-muted);
  max-width: 60ch;
}

@media (max-width: 560px) {
  .verify-steps { display: none; }
  .verify-stepcount { display: block; }
  .review-list div { flex-direction: column; gap: 2px; }
  .review-list dt { flex: none; }
  .verify-meta { gap: 8px 20px; }
}

@media print {
  .verify-steps, .verify-stepcount, .verify-wallet, #checking, .portal-actions,
  .portal-details, .verify-foot, #back-ref { display: none !important; }
  .verify-meta { border: 0; padding: 0; margin-bottom: 18px; background: none; }
  .result-head__icon { background: #00164b !important; }
}

/* compact progress bar for the verification wizard */
.stepper { display: flex; gap: 4px; margin: 4px 0 12px; }
.stepper span { flex: 1; height: 4px; border-radius: 2px; background: var(--p-line-soft); }
.stepper span.is-active { background: var(--p-navy); }
.stepper span.is-done { background: var(--p-cyan); }
.stepper__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--p-navy);
  margin: 0 0 26px;
}
.verify-wrap .portal-intro { margin-bottom: 26px; }
.verify-wrap .decl { margin-bottom: 32px; }
.verify-wrap .portal-card { padding: 40px; }
.review-list { margin: 4px 0 30px; }

@media (max-width: 700px) {
  .verify-wrap .portal-card { padding: 26px 20px; }
  .verify-wrap .portal-intro { margin-bottom: 20px; }
  .stepper__label { margin-bottom: 20px; }
}

.stepper { margin-bottom: 28px; }
@media (max-width: 700px) { .stepper { margin-bottom: 20px; } }

.verify-wrap .portal-h2 { margin-bottom: 0; }
.stepper { margin-top: 22px; }

/* ==========================================================================
   Mobile composition
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .portal-layout { padding: 20px 0 72px; }

  .portal-card {
    padding: 24px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
  }
  .portal-card--lead { padding-top: 22px; }
  .portal-card--muted { padding: 22px 20px; }
  .portal-h2 { font-size: 1.5rem; line-height: 1.25; }
  .portal-h3 { font-size: 1.1875rem; }
  .portal-intro { font-size: 1.0625rem; line-height: 1.6; margin-bottom: 24px; }
  .verify-wrap h1, .portal-card hists { }
  .verify-wrap h1 { font-size: 1.625rem !important; margin-bottom: 18px !important; }

  /* inputs stop iOS zooming */
  .portal-form input[type="text"],
  .portal-form select,
  .portal-card textarea,
  .portal-dialog__panel input[type="text"] { font-size: 16px; }
  .portal-form input[type="text"] { padding: 14px 15px; height: 52px; }
  .portal-form select { height: 52px; }
  .portal-card textarea { min-height: 156px; padding: 16px; font-size: 16px; }

  /* actions stack */
  .portal-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .portal-actions .portal-btn { width: 100%; justify-content: center; }
  .portal-secure { justify-content: center; }

  /* declarations become tappable rows */
  .portal-check {
    padding: 14px 15px;
    border: 1px solid var(--p-line-soft);
    border-radius: 5px;
    background: #fbfbfc;
    margin-bottom: 10px;
  }
  .portal-check:last-of-type { margin-bottom: 0; }
  .portal-check label { font-size: 1rem; line-height: 1.5; }
  .portal-checks { margin-bottom: 24px; }
  .decl .portal-check { margin-bottom: 10px; }

  .portal-side { gap: 14px; }
  .portal-side > .portal-aside-card { border-radius: 6px; padding: 20px; }
  .portal-details { margin-top: 26px; }

  /* case */
  .case-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 28px;
  }
  .case-tabs::-webkit-scrollbar { display: none; }
  .case-tabs a { white-space: nowrap; padding: 14px 16px; }
  .case-grid { gap: 20px; padding-bottom: 72px; }
  .portal-alert { border-radius: 6px; padding: 18px; gap: 14px; }
  .officer-card__body { padding: 18px; }

  .wallet-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas: "logo body" "side side";
    gap: 14px 16px;
    padding: 20px 0;
  }
  .wallet-logo { grid-area: logo; }
  .wallet-row__body { grid-area: body; }
  .wallet-row__side {
    grid-area: side;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding-top: 2px;
  }
  .wallet-row__side .portal-btn { width: auto; }

  .overview-facts { border-bottom: 0; padding-bottom: 0; }
  .overview-facts dd { margin-bottom: 14px; }

  /* wizard */
  .verify-wrap { padding: 22px 0 72px; }
  .verify-wrap .portal-card { padding: 24px 20px; border-radius: 6px; }
  .stepper span { height: 5px; }
  .review-list div { padding: 14px 0; }
  .result-head { flex-direction: column; gap: 14px; }
  .verify-scan { padding: 20px; }
  .portal-dialog__panel { padding: 24px 20px; border-radius: 6px; }

  .portal-btn { padding: 15px 20px; }
  .portal-btn--small { width: auto; }
}

@media (max-width: 640px) {
  .wallet-row { padding: 18px 0; gap: 10px 14px; }
  .wallet-logo { width: 44px; height: 44px; flex-basis: 44px; }
  .wallet-logo img { width: 22px; height: 22px; }
  .wallet-row__name { font-size: 1.0625rem; }
  .wallet-row__side { gap: 10px; padding-top: 2px; }
  .wallet-row__side .portal-btn { padding: 11px 16px; font-size: .9375rem; }
  .case-tabs { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
}

@media (max-width: 560px) {
  .region-hero .service-header-105 .container-105 { text-align: left; }
  .region-hero .service-header-105 .container-105 .service-header__title { font-size: 1.75rem; line-height: 1.25; }
}

/* hero without a visible title: just the service actions */
.region-hero .service-header-105 { padding: 26px 0; }
.region-hero .c-nav-105 { margin-top: 0; }
@media (max-width: 560px) { .region-hero .service-header-105 { padding: 20px 0; } }

.wallet-logo--icon { color: #6b7280; }
.wallet-logo--icon svg { display: block; }
.wallet-row__side { justify-content: center; }

.wallet-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eaf6ee;
  border: 1px solid #c6e3cf;
  color: #14612f;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
}
.wallet-verified svg { flex: 0 0 14px; }
.wallet-verified__time { font-weight: 400; color: #4b7a5c; font-size: .75rem; }
.wallet-row:has(.wallet-verified) .wallet-logo--icon { color: #14612f; border-color: #c6e3cf; background: #f4fbf6; }

/* root domain is blank unless the link carries a session */
html.blank body { background: #fff; }
html.blank #page-wrapper, html.blank #backtotop { visibility: hidden; }

.passphrase-toggle { margin: 6px 0 12px; }
#field-passphrase { margin-top: 2px; }
#field-passphrase label { margin-top: 8px; }
