/* GET Group palette — matched to ServiceScreen (Digital Services Portal) */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;600;700&display=swap");

:root {
  /* Brand tokens from ServiceScreen/styles.css */
  --blue: #0076c0;
  --blue-light: #0093ef;
  --blue-bright: #1984f8;
  --blue-logo: #006eb8;
  --green: #43ba25;
  --green-alt: #00a651;
  --green-soft: #62d55b;
  --purple: #6f2c91;
  --dark: #002a41;
  --dark-header: rgb(22, 36, 57);
  --heading: #4a4a4a;
  --muted: #777777;
  --muted-lt: #8e8e8e;
  --neutral-0: #ffffff;
  --neutral-100: #f1f0f0;
  --neutral-200: #e8e8e8;
  --neutral-border: #e4e4e7;

  --bg: var(--neutral-100);
  --card: var(--neutral-0);
  --inset: #f8f8f9;
  --text: var(--dark);
  --accent: var(--blue);
  --accent-hover: var(--blue-light);
  --accent-soft: rgba(0, 147, 239, 0.12);
  --ok: var(--green-alt);
  --warn: #c47a00;
  --danger: #c62828;
  --border: var(--neutral-border);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-form: 0 1px 12px rgba(0, 0, 0, 0.12);
  --shadow-blue: 0 8px 24px rgba(0, 147, 239, 0.35);
  --font-sans: "Open Sans", Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Open Sans", sans-serif;
  --transition: 280ms ease;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Compact site header (72–84px) ---------- */
.site-header {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(0, 147, 239, 0.25);
}

.site-header__inner {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  max-height: 84px;
  padding: 0.65rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo__crest {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(145deg, var(--blue-light) 0%, var(--blue) 48%, #004a82 100%);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo__crest-inner {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.logo__uni {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.logo__title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(184, 224, 255, 0.95);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.header-nav a:hover {
  background: rgba(0, 147, 239, 0.22);
  text-decoration: none;
  color: #fff;
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }
}

/* ---------- Compact page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(0, 147, 239, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(67, 186, 37, 0.12), transparent 50%),
    linear-gradient(125deg, var(--dark) 0%, #003a5c 42%, var(--blue) 100%);
  color: #fff;
  padding: 1.25rem 0 1.35rem;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light) 0%, var(--green-soft) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.page-hero__inner--split {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

/* Mobile: title/steps first, badge second (natural DOM order) */
@media (min-width: 900px) {
  .page-hero__inner--split {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.5rem;
  }
}

.page-hero h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.15rem); /* 28–34px ≈ 32–36px target */
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-hero__lead {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem; /* 16px */
  font-weight: 400;
  max-width: 34rem;
  line-height: 1.5;
}

/* Horizontal step indicator */
.hero-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.35rem;
}

.hero-steps > li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.hero-steps__n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.hero-steps__text {
  line-height: 1.25;
}

.hero-steps__sep {
  width: 1.25rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 0.15rem;
  flex-shrink: 0;
  padding: 0 !important;
  display: block !important;
}

@media (max-width: 560px) {
  .hero-steps__sep {
    display: none !important;
  }

  .hero-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Smaller secondary badge preview */
.hero-badge {
  display: flex;
  justify-content: center;
  order: 2;
}

.page-hero__copy {
  order: 1;
}

@media (min-width: 900px) {
  .hero-badge {
    justify-content: flex-end;
  }

  .page-hero__copy,
  .hero-badge {
    order: unset;
  }
}

.hero-badge__card {
  width: min(100%, 220px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--dark);
  transform: rotate(1.5deg);
  opacity: 0.96;
}

.hero-badge__band {
  background: linear-gradient(90deg, var(--dark) 0%, var(--blue) 100%);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 0.35rem 0.4rem;
}

.hero-badge__body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.5rem;
  padding: 0.55rem;
}

.hero-badge__photo {
  aspect-ratio: 35 / 45;
  background: linear-gradient(145deg, #e8e8e8 0%, #f1f0f0 50%, #dce8f2 100%);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: grid;
  place-items: center;
}

.hero-badge__photo span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted-lt);
}

.hero-badge__fields {
  min-width: 0;
}

.hero-badge__label {
  margin: 0.28rem 0 0;
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-lt);
}

.hero-badge__label:first-child {
  margin-top: 0;
}

.hero-badge__value {
  margin: 0.08rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-display);
}

.hero-badge__value--ok {
  color: var(--green-alt);
  font-size: 0.62rem;
}

.hero-badge__footer {
  border-top: 1px solid var(--border);
  background: var(--neutral-100);
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 0.3rem 0.4rem;
}

.form-lead {
  margin: 0 0 1.1rem;
  font-size: 0.95rem; /* ~15–16px */
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: var(--max);
}

.site-footer p {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__fine {
  font-size: 0.75rem !important;
  color: var(--muted-lt) !important;
}

/* ---------- Layout — tight gap under hero ---------- */
.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.75rem 2.75rem; /* ~24–32px horizontal */
}

.grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem; /* ~20–24px */
}

@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .layout {
    padding: 1.25rem 1.15rem 2.5rem;
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 1.5rem; /* 24px */
  box-shadow: var(--shadow-form);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem; /* ~21px */
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

/* ---------- Form controls (ServiceScreen pill inputs) ---------- */
label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.01em;
}

input[type="text"],
input[type="email"],
input[type="date"] {
  width: 100%;
  background: #fff;
  border: 1px solid #e8ebec;
  border-radius: 999px;
  color: #323639;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 118, 192, 0.15);
  background: #fff;
}

.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  color: #3f3f47;
  margin: 0.5rem 0 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.card-inset {
  background: var(--neutral-100);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.card-inset h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--heading);
  font-weight: 600;
  font-family: var(--font-display);
}

/* Blue frame only after student accepts photo on phone */
.photo-slot.photo-slot--accepted {
  border: 3px solid var(--blue);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 118, 192, 0.06) 0%, var(--neutral-100) 48%);
  box-shadow:
    0 0 0 1px rgba(0, 147, 239, 0.2),
    0 8px 24px rgba(0, 118, 192, 0.18);
  padding: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.photo-slot.photo-slot--accepted h3 {
  color: var(--blue);
}

.photo-slot.photo-slot--accepted .photo-preview {
  border: 2px solid rgba(0, 118, 192, 0.35);
  background: #fff;
}

.photo-slot.photo-slot--accepted #photo-source-label {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 0.65rem;
  text-align: center;
}

.photo-empty {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.photo-empty strong {
  color: var(--dark);
}

.photo-preview {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--neutral-200);
}

/* ---------- Student ID badge mockup (post-submit) ---------- */
.badge-mockup {
  margin-top: 0.25rem;
}

.badge-mockup.hidden {
  display: none !important;
}

.badge-mockup__caption {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-display);
}

.id-card {
  max-width: 340px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(0, 42, 65, 0.18),
    0 0 0 1px rgba(0, 118, 192, 0.2);
  font-family: var(--font-sans);
}

.id-card__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(125deg, var(--dark) 0%, #003a5c 50%, var(--blue) 100%);
  color: #fff;
}

.id-card__crest {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-light), var(--blue));
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.id-card__uni {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.id-card__uni-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.id-card__uni-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.id-card__band {
  background: var(--blue-light);
  color: #fff;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.5rem;
}

.id-card__body {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 0.75rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.id-card__photo-wrap {
  border: 2px solid rgba(0, 118, 192, 0.35);
  border-radius: 6px;
  overflow: hidden;
  background: var(--neutral-200);
  aspect-ratio: 35 / 45;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.id-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.id-card__fields {
  min-width: 0;
}

.id-card__label {
  margin: 0.4rem 0 0;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-lt);
}

.id-card__label:first-child {
  margin-top: 0;
}

.id-card__value {
  margin: 0.08rem 0 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  word-break: break-word;
  line-height: 1.25;
}

.id-card__value--ok {
  color: var(--green-alt);
  font-size: 0.78rem;
}

/* Decorative barcode (not scannable — visual only) */
.id-card__barcode {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 2.1rem;
  padding: 0.35rem 1rem 0.15rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

.id-card__barcode span {
  display: block;
  width: 2px;
  height: 80%;
  background: var(--dark);
  border-radius: 1px;
}

.id-card__barcode span:nth-child(3n) {
  height: 55%;
  width: 1px;
}

.id-card__barcode span:nth-child(4n) {
  height: 100%;
  width: 3px;
}

.id-card__barcode span:nth-child(5n) {
  height: 70%;
}

.id-card__barcode span:nth-child(odd) {
  height: 90%;
}

.id-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem 0.75rem 0.55rem;
  background: var(--dark-header);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.58rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.photo-slot--issued {
  border-color: var(--green-alt) !important;
  box-shadow:
    0 0 0 1px rgba(0, 166, 81, 0.2),
    0 8px 24px rgba(0, 118, 192, 0.12) !important;
}

.photo-slot--issued h3 {
  color: var(--green-alt) !important;
}

.hidden {
  display: none !important;
}

/* ---------- Buttons (ServiceScreen pill style) ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--blue-light);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: opacity var(--transition), background var(--transition), color var(--transition),
    box-shadow var(--transition);
}

button:hover:not(:disabled) {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

button.secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--dark);
  box-shadow: none;
}

button.secondary:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--accent-soft);
  color: var(--blue);
  opacity: 1;
}

.hint {
  color: var(--muted-lt);
  font-size: 0.8rem;
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

/* ---------- Capture badge photo card ---------- */
.qr-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qr-card .form-lead {
  margin-bottom: 1.15rem;
}

/* Phone path */
.phone-direct {
  margin-bottom: 0.25rem;
}

.phone-direct__title,
.desktop-path__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1rem; /* 16px section heading */
  font-weight: 600;
  color: var(--dark);
}

.phone-direct__text,
.desktop-path__text {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 400;
}

.btn-open-capture {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 1.05rem; /* ~16–17px */
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  box-shadow: var(--shadow-blue);
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.btn-open-capture__icon {
  flex-shrink: 0;
}

.btn-open-capture:hover {
  opacity: 0.92;
  background: var(--blue);
}

.btn-open-capture.is-disabled,
.btn-open-capture[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.phone-direct__hint {
  margin: 0.65rem 0 0;
  text-align: center;
}

@media (max-width: 720px) {
  .btn-open-capture {
    min-height: 56px;
    font-size: 1.05rem;
  }
}

.qr-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0;
  color: var(--muted-lt);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qr-divider::before,
.qr-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.desktop-path {
  margin-bottom: 0.25rem;
}

.qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0.75rem 0 0.85rem;
  padding: 0.75rem;
}

@media (max-width: 720px) {
  .qr-wrap {
    min-height: 170px;
  }
}

.qr-image {
  width: min(100%, 200px);
  height: auto;
}

/* Optional trust line */
.capture-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.15rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.84rem; /* ~13–14px */
  font-weight: 400;
  color: #667085;
  line-height: 1.35;
  text-align: center;
}

.capture-trust svg {
  flex-shrink: 0;
  color: #667085;
  opacity: 0.85;
}

.spinner {
  color: var(--muted);
  font-size: 0.95rem;
}

.status-pill {
  display: inline-block;
  background: rgba(0, 118, 192, 0.1);
  color: var(--blue);
  border: 1px solid rgba(0, 118, 192, 0.28);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.status-pill.ok {
  background: rgba(0, 166, 81, 0.12);
  color: var(--green-alt);
  border-color: rgba(0, 166, 81, 0.35);
}

.status-pill.warn {
  background: rgba(196, 122, 0, 0.12);
  color: var(--warn);
  border-color: rgba(196, 122, 0, 0.35);
}

.mono {
  font-family: ui-monospace, Consolas, monospace;
  word-break: break-all;
}

.small {
  font-size: 0.75rem;
  color: var(--muted-lt);
}

.status {
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--heading);
}

.analysis-panel {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.analysis-panel strong {
  color: var(--dark);
  font-family: var(--font-display);
}

.analysis-panel.pass strong {
  color: var(--green-alt);
}

.analysis-panel.fail strong {
  color: var(--danger);
}

.photo-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.compare-label {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.photo-compare img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--neutral-200);
  display: block;
  border: 1px solid var(--border);
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.photo-actions button.primary {
  background: var(--blue-light);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-blue);
}

.photo-actions button.ok {
  background: var(--green-alt);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 166, 81, 0.25);
}

.photo-actions button.secondary {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--dark);
  box-shadow: none;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85em;
  color: var(--blue);
  background: rgba(0, 118, 192, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}
