/* Keep the original access and administrator layout around the shared heading. */
.workspace-hero { display: contents; }
.report-hero-actions { display: none; }

/* Faculty workspace theme applies only on screen. */
@media screen {
  .portal {
    --workspace-sans: "Noto Serif Bengali", Lato, "Source Sans 3", Arial, sans-serif;
    --workspace-dots: radial-gradient(circle, rgb(255 210 216 / 26%) 0.8px, transparent 1.15px) 0 0 / 8px 8px;
  }
  .portal > .masthead,
  .portal > .masthead .institution-brand strong {
    font-family: var(--workspace-sans);
  }
  .information-dialog,
  #guideDialog {
    --dialog-gutter: clamp(16px, 3vw, 32px);
    --line: #d8d8d8;
    --ink: #191919;
    --muted: #515151;
    background: white;
    color: var(--ink);
    font-family: var(--workspace-sans);
    overflow: hidden;
  }
  .information-dialog[open] {
    display: flex;
    flex-direction: column;
  }
  .information-dialog::backdrop,
  #guideDialog::backdrop { background: rgb(0 0 0 / 64%); }
  .information-dialog .guide-dialog-tools {
    position: static;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--dialog-gutter);
    border-top: 4px solid #b4162e;
    background: #f5f5f5;
  }
  .information-dialog .guide-dialog-tools h2 {
    margin: 0;
    color: var(--ink);
    font: 700 clamp(18px, 3vw, 28px) / 1.25 var(--workspace-sans);
  }
  .information-dialog .guide-dialog-tools button { flex: none; min-height: 44px; }
  .information-dialog .information-dialog-content {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: var(--dialog-gutter);
  }
  .information-dialog :lang(bn) { font-family: "Noto Serif Bengali", serif; }
  .information-dialog .dialog-intro {
    max-width: 70ch;
    margin: 0 0 16px;
    color: var(--muted);
  }
  .information-dialog .policy-toc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
    align-items: start;
    gap: 6px 16px;
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #f5f5f5;
  }
  .information-dialog .policy-toc strong { grid-column: 1 / -1; }
  .information-dialog .policy-toc a {
    display: block;
    padding: 6px 0;
    color: #8c1633;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .information-dialog .policy-toc a span[lang] {
    display: block;
    color: var(--muted);
    font-size: 13px;
  }
  .information-dialog .policy-toc a [aria-hidden="true"] { display: none; }
  .information-dialog :is(.policy-section h3, .policy-help h3, .guide-step h3, .contact-instructions h3) {
    margin: 0 0 8px;
    font: 700 clamp(17px, 2.2vw, 21px) / 1.4 var(--workspace-sans);
    color: var(--ink);
  }
  .information-dialog :is(.guide-dialog-tools h2, .guide-step h3, .contact-instructions h3):lang(bn) {
    font-family: "Noto Serif Bengali", serif;
  }
  .information-dialog :is(.policy-section, .guide-step) {
    padding: clamp(14px, 2.5vw, 24px);
    border: 1px solid var(--line);
    background: #fff;
  }
  .information-dialog .policy-section p { max-width: 75ch; }
  .information-dialog .policy-section-heading { align-items: baseline; margin-bottom: 6px; }
  .information-dialog .policy-section-heading h3 { margin-bottom: 0; }
  .information-dialog .policy-section-heading > span,
  .information-dialog .guide-number {
    background: #272727;
    color: white;
  }
  .information-dialog .guide-number { margin-bottom: 12px; }
  .information-dialog .guide-grid { gap: 14px; }
  .information-dialog .guide-checklist { margin-bottom: 0; }
  .information-dialog .guide-language-pair { gap: 18px 28px; }
  .information-dialog :is(.guide-output, .policy-help, .contact-instructions) {
    padding: clamp(14px, 2.5vw, 24px);
    background: #f5f5f5;
    color: var(--ink);
  }
  .information-dialog .guide-output p { color: var(--muted); }
  .information-dialog .contact-email { margin: 0 0 20px; color: #8c1633; }
  .information-dialog .contact-instructions p:last-child { margin: 0; }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) {
    --editor-ink: #191919;
    --editor-muted: #515151;
    --editor-paper: #ffffff;
    --editor-rail: #edf0f2;
    --editor-rail-rule: #c6cbd0;
    --editor-rail-accent: #8c1633;
    --editor-line: #d8d8d8;
    --editor-accent: #b4162e;
    --editor-hover: #8a1023;
    --editor-tint: #f9eaec;
    --editor-gutter: max(24px, calc((100% - 1160px) / 2));
    color: var(--editor-ink);
    background: var(--editor-paper);
  }

  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) :is(.wrap, .step-controls, #reportForm) {
    --ink: var(--editor-ink);
    --muted: var(--editor-muted);
    --line: var(--editor-line);
    --brand: var(--editor-accent);
  }

  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > .masthead {
    --college-divider: var(--editor-rail-rule);
    --college-secondary: #4b545c;
    gap: 0;
    padding: 24px 20px;
    background: var(--editor-rail);
    color: #25292d;
    border-block-end: 1px solid var(--editor-rail-rule);
    text-align: center;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand .college-logo {
    width: 108px;
    height: 108px;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand-copy { margin: 0; }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > .masthead .institution-brand strong {
    font-weight: 700;
    font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.15;
    color: #202428;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .institution-brand .brand-established {
    margin-top: 5px;
    font-size: 13px;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .institution-brand .brand-affiliation {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand :is(.brand-established, .brand-affiliation) { color: #4b545c; }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 32px;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > main > :is(.workspace, #sessionStatus, .record-register, .record-detail) {
    width: auto;
    margin-inline: var(--editor-gutter);
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .workspace-hero {
    display: block;
    position: relative;
    isolation: isolate;
    background: #202020;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .workspace-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 50%;
    z-index: -1;
    pointer-events: none;
    background: var(--workspace-dots);
    mask-image: linear-gradient(to right, transparent, black 45%);
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .page-intro {
    margin: 0;
    padding: 6px var(--editor-gutter) clamp(10px, 1.5vw, 20px);
    color: #fff;
    font-family: var(--workspace-sans);
  }

  .report-nav .nav-inner nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .report-nav .nav-inner nav a {
    min-height: 44px;
    border: 1px solid #d0d5d9;
    border-radius: 0;
    background: white;
    color: #25292d;
  }
  .report-nav .nav-inner nav a span {
    color: #56616a;
    font-variant-numeric: tabular-nums;
  }
  .report-nav .nav-inner nav a:hover { background: #e0e5e9; color: #202428; }
  .report-nav .nav-inner nav a[aria-current="step"] {
    color: var(--editor-rail-accent);
    background: #f9ebef;
    border-color: #aa5268;
    font-weight: 700;
  }
  .report-nav .nav-inner nav a[aria-current="step"] span { color: var(--editor-rail-accent); }
  .report-nav .nav-inner nav a:focus-visible { outline-color: var(--editor-rail-accent); }
  .report-nav {
    margin: 14px 0 0;
    background: transparent;
    color: #25292d;
  }
  .report-nav summary { margin-bottom: 4px; }
  .report-nav .nav-inner { border-top: 1px solid var(--editor-rail-rule); padding-top: 10px; }
  .report-nav #mobileStepLabel {
    color: #4b545c;
    background: #e0e5e9;
    border-radius: 0;
    padding: 4px 7px;
  }

  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .entry-topbar {
    margin: 0;
    padding: clamp(12px, 1.8vw, 24px) var(--editor-gutter) 0;
    color: #fff;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .product-identity > :first-child {
    color: #ffd2d8;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .product-identity > span:last-child,
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .page-intro p { color: #f3f3f3; }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .page-intro p { margin: 0; }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .page-intro h1 {
    font-family: var(--workspace-sans);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.08;
    color: white;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .session-bar {
    margin: 0;
    padding: 12px var(--editor-gutter);
    border-bottom: 1px solid var(--editor-line);
    border-radius: 0;
    background: #f5f5f5;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .session-bar #signedInAs {
    color: var(--editor-muted);
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .session-bar nav a[aria-current="page"] {
    background: var(--editor-accent);
    color: white;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .session-bar button {
    background: white;
    border-color: #858585;
    color: var(--editor-ink);
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .session-bar :is(button, nav a:not([aria-current="page"])):hover {
    background: #e9e9e9;
  }
  .portal:not(.needs-auth, .auth-checking, .saved-view, .admin-view, .policy-page) .report-hero-actions {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
  }
  .report-hero-actions > button {
    min-height: 44px;
    color: white;
    font-weight: 600;
    padding: 4px 0;
    background: transparent;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .report-hero-actions > button:focus-visible { outline-color: #ffd2d8; }

  .portal.saved-view:not(.needs-auth, .auth-checking, .admin-view) #sessionStatus:not(:empty) {
    margin-block-start: var(--space-related);
  }
  .portal.saved-view:not(.needs-auth, .auth-checking, .admin-view) .record-register {
    margin-top: 24px;
    background: #fff;
  }
  .portal.saved-view:not(.needs-auth, .auth-checking, .admin-view) .record-row {
    background: #f5f5f5;
    border: 1px solid var(--editor-line);
    border-radius: 0;
    margin-block: 10px;
    padding: 16px;
  }

  #reportForm {
    --form-panel: #f4f4f4;
    --form-control-line: #767676;
    font-family: var(--workspace-sans);
    accent-color: var(--editor-accent);
  }
  #reportForm > .card {
    background: #fff;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  #reportForm .section-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(12px, 2vw, 24px);
    align-items: start;
    background: var(--form-panel);
    padding: clamp(16px, 2.6vw, 34px);
    border-top: 3px solid #242424;
    border-bottom: 1px solid var(--editor-line);
  }
  #reportForm .section-title h2 {
    font-family: var(--workspace-sans);
    font-weight: 700;
    font-size: clamp(25px, 3vw, 39px);
    line-height: 1.1;
  }
  #reportForm .section-title .number {
    color: white;
    background: #272727;
    border: 0;
    border-radius: 0;
    min-width: 2.6em;
    height: 2.6em;
    font-variant-numeric: tabular-nums;
  }
  #reportForm .repeat-head .person-number {
    display: grid;
    place-items: center;
    inline-size: 36px;
    block-size: 36px;
    background: #272727;
    color: white;
    font-variant-numeric: tabular-nums;
  }
  #reportForm :is(h3, h4, .repeat-head strong) {
    font-family: var(--workspace-sans);
    color: var(--editor-ink);
  }
  #reportForm .form-group-heading {
    border-bottom: 1px solid var(--editor-line);
    font-size: clamp(19px, 2.1vw, 25px);
    line-height: 1.2;
    margin: 0;
    padding-block: 8px 10px;
  }
  #reportForm .form-group-heading:not(:first-child) { margin-top: var(--space-label); }

  #reportForm :is(.date-time-group, .team-group, .repeat, .location, .funding-block, .file-tile, .admin-subsection, .subsection) {
    background: var(--form-panel);
    border: 0;
    border-top: 2px solid #a7a7a7;
    border-radius: 0;
    padding: clamp(14px, 2vw, 24px);
  }
  #reportForm .funding-block { border-top: 0; }
  #reportForm .narrative-primary { border-top-color: var(--editor-accent); }
  #reportForm .narrative-primary {
    background: var(--form-panel);
    border-top-width: 2px;
    border-top-style: solid;
    padding: clamp(14px, 2vw, 24px);
  }
  #reportForm .field-option {
    color: var(--editor-muted);
    font-weight: 400;
    font-size: .85em;
    margin-inline-start: .55em;
  }
  #reportForm .evidence-fields > .file-tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 146px;
  }
  #reportForm .file-tile > label {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    gap: 6px;
  }
  #reportForm .file-tile .field-hint { font-weight: 400; margin: 2px 0 10px; }
  #reportForm .file-tile label > input { margin-top: auto; }

  #reportForm .evidence-fields {
    background: #eaeaea;
    padding: clamp(12px, 2vw, 24px);
    gap: clamp(12px, 2vw, 24px);
  }
  #reportForm .file-tile {
    --category-color: #2220a9;
    background: #fff;
    border: 0;
    padding: 0 clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px);
  }
  #reportForm .file-tile:nth-child(3n + 2) { --category-color: #a0007d; }
  #reportForm .file-tile:nth-child(3n) { --category-color: #006479; }
  #reportForm .file-tile .card-category {
    align-self: flex-start;
    display: table;
    color: white;
    background: var(--category-color);
    margin: 0 0 14px;
    padding: 4px 10px;
    font: 700 12px / 1.5 var(--workspace-sans);
    text-transform: uppercase;
  }
  #reportForm .file-card-title {
    font: 700 clamp(20px, 2.1vw, 27px) / 1.2 var(--workspace-sans);
    color: var(--editor-ink);
  }
  #reportForm .team-fields { margin-block: 0; }
  #reportForm .team-group {
    background: white;
    border: 1px solid var(--editor-line);
  }
  #reportForm .team-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
  }
  #reportForm .team-heading h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
  }
  #reportForm .team-heading > button.secondary {
    min-height: 44px;
  }
  #reportForm .team-entry {
    margin: 12px 0 0;
    border-top: 1px solid var(--editor-line);
    padding: clamp(12px, 2vw, 20px);
  }
  #reportForm .team-entry .repeat-head { margin-bottom: 8px; }
  #reportForm .team-entry .grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 12px 20px;
  }
  @container (min-width: 540px) {
    #reportForm .team-entry .grid {
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }
  }
  #reportForm .evidence-notes { margin-top: var(--space-row); }
  #reportForm .file-tile input::file-selector-button {
    border-radius: 0;
    background: #252525;
    color: white;
  }
  #reportForm .file-tile input::file-selector-button:hover { background: #414141; }

  #reportForm .submit-card .check {
    padding: clamp(14px, 2vw, 24px);
    background: var(--form-panel);
    border: 1px solid var(--editor-line);
    border-radius: 0;
  }
  #reportForm .step-controls {
    isolation: isolate;
    border-block: 1px solid var(--editor-line);
    background: var(--form-panel);
    padding: clamp(12px, 2vw, 20px);
  }
  #reportForm :is(.actions, .step-controls) button { border-radius: 0; }
  @container (min-width: 650px) {
    #reportForm #files-section .evidence-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #reportForm #files-section .evidence-fields > .wide { grid-column: 1 / -1; }
  }
  #reportForm :is(.duration-preview, .upload-note, .existing-files:not(:empty)):not(.invalid) {
    background: #f5f5f5;
    border-color: var(--editor-line);
    color: var(--editor-ink);
    border-radius: 0;
  }
  #reportForm .draft-state {
    background: #fff;
    border: 1px solid var(--editor-line);
    border-radius: 0;
    color: var(--editor-muted);
  }
  #reportForm .draft-state[data-unsaved="true"] {
    background: #fff5e0;
    border-color: #e1c99b;
    color: #684511;
  }
  #reportForm :is(input:not([type="checkbox"], [type="radio"]), select, textarea) {
    --field-border: var(--form-control-line);
    border-radius: 0;
    background-color: white;
  }
  #reportForm :is(input, textarea)::placeholder {
    color: rgb(18 58 106 / 72%);
    font-style: italic;
  }
  #reportForm :is(input:not([type="checkbox"], [type="radio"]), select, textarea):hover:not(:disabled, :focus) {
    border-color: #242424;
  }
  #reportForm :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--editor-accent); }
  #reportForm :is(button, .section-title h2):focus-visible,
  .step-controls button:focus-visible {
    outline: 3px solid var(--editor-accent);
    outline-offset: 3px;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .wizard-progress {
    background: #e4e4e4;
    height: 4px;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .wizard-progress > span { background: var(--editor-accent); }
  #reportForm #submitButton { background: var(--editor-accent); border-color: var(--editor-accent); color: white; }
  #reportForm #submitButton:hover { background: var(--editor-hover); border-color: var(--editor-hover); }
  #reportForm .step-next {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: clamp(8px, 1.8vw, 22px);
    background: #fff;
    border: 1px solid var(--editor-accent);
    color: var(--editor-accent);
  }
  #reportForm .step-next::before {
    content: "";
    position: absolute;
    inset: 4px 4px -6px -6px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle, var(--editor-accent) 0.8px, transparent 1px) 0 0 / 3px 3px;
  }
  #reportForm .step-next::after {
    content: "";
    inline-size: 7px;
    block-size: 7px;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
  }
  #reportForm .step-next:is(:hover, :focus-visible) {
    background: var(--editor-tint);
    box-shadow: -2px 2px 0 var(--editor-accent);
  }
  #reportForm .step-next:is(:hover, :focus-visible)::before { opacity: 0; }
  #reportForm .step-next:active { box-shadow: none; }
  @media (prefers-reduced-motion: no-preference) {
    #reportForm .step-next { transition: box-shadow 160ms ease-out, background-color 160ms ease-out; }
    #reportForm .step-next::before { transition: opacity 160ms ease-out, transform 160ms ease-out; }
    #reportForm .step-next:is(:hover, :focus-visible)::before { transform: translate(3px, -3px); }
    #reportForm .step-next::after { transition: transform 160ms ease-out; }
    #reportForm .step-next:is(:hover, :focus-visible)::after {
      transform: translateX(3px) rotate(45deg);
    }
  }
  :is(#reportForm, .step-controls) button.secondary {
    background: #fff;
    color: var(--editor-accent);
    border-color: #a98f91;
  }
  :is(#reportForm, .step-controls) button.secondary:hover { background: var(--editor-tint); }

  @media (min-width: 801px) {
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) {
      --rail: clamp(258px, 23vw, 310px);
      background: linear-gradient(to right, var(--editor-rail) var(--rail), var(--editor-paper) var(--rail));
    }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > .masthead {
      border-block-end: 0;
      border-inline-end: 1px solid var(--editor-rail-rule);
    }
  }
  @media (min-width: 801px) and (max-height: 880px) {
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > .masthead {
      position: relative;
    }
  }
  @media (max-width: 800px) {
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) { --editor-gutter: 18px; }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > .masthead { padding: 16px var(--editor-gutter); }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand {
      flex-direction: row;
      text-align: left;
    }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand .college-logo { width: 64px; height: 64px; }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .brand strong br { display: none; }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .institution-brand .brand-affiliation { margin-top: 8px; }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .college-address {
      text-align: left;
      margin-top: 12px;
      padding-top: 10px;
    }
    .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .college-contact-links {
      flex-flow: row wrap;
      column-gap: 16px;
    }
    .report-nav { margin-top: 12px; }
    .report-nav summary { margin-bottom: 0; }
    .report-nav .nav-inner nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 8px; }
    .report-nav .nav-inner nav a { min-height: 48px; }
  }

  .portal > footer > .wrap { border-top: 0; }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > footer {
    --muted: #e0e0e0;
    background: #111111;
    color: #e0e0e0;
    padding: 0 var(--editor-gutter);
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) > footer > .wrap {
    max-width: 1208px;
    padding-block: 14px;
    color: #e0e0e0;
  }
  .portal:not(.needs-auth, .auth-checking, .admin-view, .policy-page) .footer-links button {
    color: #e0e0e0;
    text-decoration-color: #e5a698;
    text-underline-offset: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    .wizard-progress > span { transition: none; }
  }
}
