/* UG Scholars Recruitment — visual layer on top of Bootstrap 5 (MCFSP@UR navy and gold) */
:root {
  --navy: #00427a;
  --navy-deep: #00325e;
  --ink: #0b2a4a;
  --forest: #0f4f8b;          /* primary action colour */
  --forest-dark: #003a70;
  --forest-tint: #e3ecf6;
  --gold: #e8a838;
  --amber: #e8a838;
  --paper: #eef2f7;
  --line: #d8e0ea;
  --muted: #5b6b7f;
  --green: #1f7a4d;
  --radius: 14px;
  --radius-sm: 8px;
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-primary: var(--forest);
  --bs-primary-rgb: 15, 79, 139;
  --bs-link-color: var(--forest);
  --bs-link-color-rgb: 15, 79, 139;
  --bs-link-hover-color: var(--forest-dark);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
}
body { font-size: 0.975rem; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--head); color: var(--ink); }
h1, .h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
h2, h3 { font-weight: 700; }
.text-muted { color: var(--muted) !important; }
a { text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--amber) !important; outline-offset: 2px; }
.skip { position: absolute; left: 1rem; top: 0.5rem; z-index: 2000; background: #fff; padding: 0.5rem 1rem; }

/* Buttons & forms */
.btn-primary { --bs-btn-bg: var(--forest); --bs-btn-border-color: var(--forest); --bs-btn-hover-bg: var(--forest-dark); --bs-btn-hover-border-color: var(--forest-dark);
  --bs-btn-active-bg: var(--forest-dark); --bs-btn-disabled-bg: #8aa99a; --bs-btn-disabled-border-color: #8aa99a; font-weight: 600; }
.btn-outline-primary { --bs-btn-color: var(--forest); --bs-btn-border-color: var(--forest); --bs-btn-hover-bg: var(--forest); --bs-btn-hover-border-color: var(--forest); --bs-btn-active-bg: var(--forest-dark); font-weight: 600; }
.btn-success { --bs-btn-bg: #1d6f42; --bs-btn-border-color: #1d6f42; --bs-btn-hover-bg: #155232; --bs-btn-hover-border-color: #155232; }
.btn { border-radius: var(--radius-sm); }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: #c3cedb; background-color: #fff; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--forest); box-shadow: 0 0 0 0.2rem rgba(46, 107, 79, 0.18); }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.req { color: #b3261e; }

/* Brand bar & nav */
.brand-bar { background: #fff; border-bottom: 1px solid var(--line); }
.brand-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.logo-mcf img { height: 84px; width: auto; display: block; }
.logo-ur { height: 66px; width: auto; }
.brand-title { font-family: var(--head); font-weight: 700; color: var(--navy); text-align: center; line-height: 1.25; font-size: 1.05rem; }
@media (max-width: 575.98px) { .logo-mcf img { height: 46px; } .logo-ur { height: 34px; } .brand-title { display: none; } }
.app-nav { background: var(--navy); padding: 0.45rem 0; }
.app-nav .nav-link { color: #d3e0ee; font-weight: 500; border-radius: 999px; padding: 0.4rem 0.9rem !important; }
.app-nav .nav-link:hover { color: #fff; }
.app-nav .nav-link.active { color: var(--navy); background: #fff; }
.app-nav .navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.nav-tools { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.pill-link { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; padding: 0.35rem 0.95rem; border-radius: 999px; font-size: 0.9rem; }
.btn-user { color: #fff; display: flex; align-items: center; gap: 0.5rem; border: 0; }
.btn-user:hover, .btn-user:focus { color: #fff; }
.avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 800; }
@media (max-width: 991.98px) { .app-nav .navbar-collapse { padding-top: 0.75rem; } .nav-tools { margin-top: 0.5rem; } }

.app-footer { background: var(--navy); color: #c9d7e6; padding: 1.4rem 0; font-size: 0.88rem; margin-top: 3rem; }
.app-footer a { color: #fff; }
.is-landing .app-footer { margin-top: 0; }

/* Page scaffolding */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0.15rem 0 0.2rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
@media (min-width: 768px) { .panel { padding: 1.5rem; } }
.panel.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; }

/* Status pills */
.status { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.status-draft { background: #eceeea; color: #4a5550; }
.status-submitted { background: #e7eef7; color: #24507f; }
.status-under_review { background: #efe9f7; color: #5b3a8a; }
.status-shortlisted { background: #fbf1dc; color: #7a5208; }
.status-interview { background: #fdebd9; color: #8a4510; }
.status-selected { background: #e2f3ea; color: var(--green); }
.status-waitlisted { background: #e9eef0; color: #3d5a66; }
.status-rejected { background: #f8e6e4; color: #8f2a20; }
.seg-submitted { background: #7ea6d4; } .seg-under_review { background: #7d5fb0; } .seg-shortlisted { background: #d9a62b; }
.seg-interview { background: #d9793a; } .seg-selected { background: var(--green); } .seg-waitlisted { background: #6f8f9c; } .seg-rejected { background: #b8574c; }

/* Landing */
.hero-band { position: relative; overflow: hidden; background-color: var(--navy); color: #fff; padding: 4rem 0 4.5rem; text-align: center;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; }
.hero-deco span { position: absolute; border-radius: 50%; border: 1.5px solid rgba(232, 168, 56, 0.28); right: -6%; top: 50%; transform: translateY(-50%); }
.hero-deco span:nth-child(1) { width: 380px; height: 380px; right: 4%; }
.hero-deco span:nth-child(2) { width: 640px; height: 640px; right: -8%; border-color: rgba(232, 168, 56, 0.16); }
.hero-deco span:nth-child(3) { width: 900px; height: 900px; right: -20%; border-color: rgba(255, 255, 255, 0.06); }
@media (max-width: 767.98px) { .hero-deco { display: none; } .hero-band { padding: 2.5rem 0 3rem; } }
.hero-inner { position: relative; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); color: var(--gold);
  border-radius: 999px; padding: 0.45rem 1.2rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 1.6rem; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero-band h1 { color: #fff; font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; margin: 0 auto 0.9rem; }
.hero-band h1 .accent { color: var(--gold); }
.hero-sub { color: #d3e0ee; font-size: 1.1rem; margin-bottom: 2rem; }
.hero-panel { background: #eef2f7; border-radius: var(--radius); padding: 0.9rem; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; text-align: left; box-shadow: 0 18px 40px rgba(0, 20, 45, 0.25); }
.hero-deadline { margin: 0; color: var(--ink); font-weight: 600; background: #e2e8f0; border: 1px solid #cdd6e2; border-radius: 10px; padding: 0.75rem 1rem; flex: 1 1 280px; display: flex; gap: 0.6rem; align-items: center; }
.hero-deadline i { color: var(--muted); }
.hero-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-navy { background: #2a5a8c; color: #fff; font-weight: 700; padding: 0.75rem 1.2rem; border-radius: 10px; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid #cdd6e2; font-weight: 600; padding: 0.75rem 1.1rem; border-radius: 10px; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 575.98px) { .hero-actions, .hero-actions .btn { width: 100%; } }

.band { padding-top: 3.5rem; }
.band:last-of-type { padding-bottom: 3.5rem; }
.section-label { font-family: var(--head); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.4rem; }
.how-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.how-card, .note-card, .about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.how-num { display: block; font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: #c9d2de; line-height: 1; margin-bottom: 1rem; }
.how-card h3, .note-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.5rem; }
.how-card p, .note-card p { color: var(--muted); margin: 0; }
.prep-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prep-list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--line); }
.prep-list li:last-child { border-bottom: 0; }
.prep-list i { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--forest-tint); color: var(--navy); flex: 0 0 auto; }
.prep-list span { font-weight: 600; flex: 1; }
.who { font-style: normal; font-size: 0.78rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; background: #f1f4f8; color: var(--muted); white-space: nowrap; }
.who-for_all { background: #fdf3de; color: #8a5a00; }
@media (max-width: 575.98px) { .prep-list li { flex-wrap: wrap; } .who { margin-left: 3.1rem; } }
.about-card p { color: #34465a; }
.weights { display: grid; gap: 1rem; margin-top: 1.2rem; }
.weight-top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 0.35rem; }
.weight-top strong { font-family: var(--head); font-size: 1.25rem; color: var(--navy); }
.weight-bar { height: 10px; background: #e6ebf2; border-radius: 999px; overflow: hidden; }
.weight-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), #2a6fb0); border-radius: 999px; }
.weight:nth-child(2) .weight-bar span { background: linear-gradient(90deg, #c98a12, var(--gold)); }
.notes-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.note-card > i { font-size: 1.3rem; color: var(--gold); margin-bottom: 0.9rem; display: block; }
.staff-links { font-size: 0.9rem; color: var(--muted); margin-top: 2.5rem; }

/* Auth */
.auth-wrap { display: flex; justify-content: center; padding: 1rem 0 2rem; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.portal-tabs { display: flex; gap: 0.25rem; background: var(--paper); padding: 0.25rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.portal-tabs a { flex: 1; text-align: center; padding: 0.45rem; border-radius: 4px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.portal-tabs a.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28, 43, 58, 0.12); }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; display: flex; flex-direction: column; }
.stat .n { font-family: var(--head); font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); font-size: 0.85rem; }

/* Pipeline (admin) */
.pipeline { display: flex; height: 2.4rem; border-radius: var(--radius-sm); overflow: hidden; gap: 2px; background: var(--line); }
.pipeline a { display: block; min-width: 6px; transition: filter 0.15s; }
.pipeline a:hover { filter: brightness(1.12); }
.pipeline-legend { list-style: none; padding: 0; margin: 0.85rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.88rem; }
.pipeline-legend a { color: var(--ink); text-decoration: none; }
.pipeline-legend a:hover { text-decoration: underline; }
.dot { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: 0.35rem; vertical-align: -1px; }
.chart-box { position: relative; height: 240px; }

.progress-line { height: 8px; background: var(--forest-tint); border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.progress-line.sm { height: 6px; margin: 0 0 0.2rem; }
.progress-line span { display: block; height: 100%; background: var(--forest); border-radius: 999px; }

/* Segmented filters */
.seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.2rem; gap: 0.2rem; }
.seg a { padding: 0.35rem 0.8rem; border-radius: 4px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.seg a.active { background: var(--ink); color: #fff; }

/* Tables: become stacked cards on small screens */
.data-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 0; }
.data-table > :not(caption) > * > * { padding: 0.7rem 0.8rem; }
.data-table thead th { background: #eef1ec; font-size: 0.8rem; font-weight: 700; color: #3e4c46; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table tbody tr:hover { background: #fafbf9; }
.data-table tr.inactive td { color: var(--muted); }
.check-col { width: 2.5rem; }
@media (max-width: 767.98px) {
  .table-responsive { overflow: visible; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table { border: 0; background: transparent; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tbody tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; padding: 0.5rem 0.25rem; position: relative; }
  .data-table td { border: 0; padding: 0.3rem 0.8rem !important; text-align: right; overflow: hidden; }
  .data-table td[data-label]::before { content: attr(data-label); float: left; margin-right: 1rem; font-weight: 600; color: var(--muted); font-size: 0.85rem; }
  .data-table td .small.text-muted { display: block; }
  .data-table td.check-col { text-align: left; padding-bottom: 0 !important; }
  .data-table td.text-end { padding-top: 0.5rem !important; }
}

.filters .form-label { font-size: 0.8rem; color: var(--muted); }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.6rem 0.8rem; margin-bottom: 0.6rem; background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
.bulk-bar:not(.has-selection) { background: #e7ebe5; color: var(--muted); }

/* Scholar dashboard */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.checklist li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.8rem; display: flex; flex-direction: column; border-top: 4px solid var(--line); }
.checklist li.done { border-top-color: var(--forest); }
.checklist a { font-weight: 600; text-decoration: none; color: var(--ink); }
.checklist span { font-size: 0.8rem; color: var(--muted); }
.checklist li.done span { color: var(--forest); font-weight: 600; }
.journey { list-style: none; display: flex; padding: 0; margin: 0; }
.journey li { flex: 1; text-align: center; font-size: 0.8rem; color: var(--muted); position: relative; padding-top: 1.6rem; }
.journey li::before { content: ""; position: absolute; top: 0.4rem; left: 50%; transform: translateX(-50%); width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 0.8rem; left: -50%; width: 100%; height: 2px; background: var(--line); }
.journey li:first-child::after { display: none; }
.journey li.past::before, .journey li.now::before { background: var(--forest); border-color: var(--forest); }
.journey li.past::after, .journey li.now::after { background: var(--forest); }
.journey li.now { color: var(--ink); font-weight: 700; }
.journey li.now::before { box-shadow: 0 0 0 4px var(--forest-tint); }

/* Wizard */
.wizard { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .wizard { grid-template-columns: 240px 1fr; align-items: start; } .wizard-steps { position: sticky; top: 1rem; } }
.wizard > * { min-width: 0; }
.wizard-steps { max-width: 100%; }
.wizard-steps ol { -webkit-overflow-scrolling: touch; padding-bottom: 0.25rem; }
.wizard-steps ol { list-style: none; padding: 0; margin: 0; display: flex; overflow-x: auto; gap: 0.25rem; scrollbar-width: thin; }
@media (min-width: 992px) { .wizard-steps ol { flex-direction: column; overflow: visible; } }
.wizard-steps a { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; text-decoration: none; color: var(--muted); border-radius: var(--radius-sm); white-space: nowrap; }
.wizard-steps a:hover { background: #fff; }
.wizard-steps .num { flex: 0 0 auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid #c5cdc3; font-weight: 700; font-size: 0.85rem; background: #fff; }
.wizard-steps li.done .num { background: var(--forest); border-color: var(--forest); color: #fff; }
.wizard-steps li.current a { background: #fff; color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
.wizard-steps li.current .num { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 991.98px) { .wizard-steps .lbl { display: none; } .wizard-steps li.current .lbl { display: inline; } }
.wizard-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.word-count.over { color: #b3261e; font-weight: 700; }
.upload-list { list-style: none; padding: 0; margin: 0; }
.upload-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.upload-list li.has-file .upload-meta strong::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--forest); margin-right: 0.4rem; }
.upload-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; max-width: 100%; }
.upload-actions input[type=file] { max-width: 260px; }
.review-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; background: #fbfcfa; max-height: 60vh; overflow: auto; }
.declaration { background: #fbf6e9; border: 1px solid #ecdcb0; border-radius: var(--radius-sm); padding: 0.9rem 0.9rem 0.9rem 2.4rem; }

/* Application display */
.app-section + .app-section { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.app-section h3 { font-size: 1.05rem; margin-bottom: 0.9rem; color: var(--forest-dark); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem 1.5rem; margin: 0; }
.facts dt { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.essay { margin-top: 1.1rem; }
.essay h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.35rem; }
.essay p { max-width: 75ch; margin-bottom: 0.2rem; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); }

/* Review layout */
.review-layout { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .review-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .review-layout > aside { position: sticky; top: 1rem; } }
.score-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; border-top: 4px solid var(--forest); }
.score-input { font-size: 1.15rem; font-weight: 700; max-width: 7rem; font-variant-numeric: tabular-nums; }
.total-line { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.8rem 0; margin-bottom: 0.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total-line strong { font-size: 2rem; line-height: 1; margin-left: auto; font-variant-numeric: tabular-nums; }
.assessor-score { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.assessor-score .big { font-size: 1.4rem; font-weight: 800; }
.mini-rubric { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 0.8rem; font-size: 0.8rem; margin: 0.5rem 0; }
.mini-rubric div { display: flex; justify-content: space-between; }
.mini-rubric dt { font-weight: 400; color: var(--muted); } .mini-rubric dd { margin: 0; font-weight: 600; }

/* Reports */
.exports { display: grid; gap: 0.5rem; }
.export-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.85rem 1rem; }
.summary-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.summary { padding: 1rem; }
.summary table th, .summary table td { font-size: 0.86rem; vertical-align: middle; }
.share { height: 8px; background: var(--forest-tint); border-radius: 999px; overflow: hidden; }
.share span { display: block; height: 100%; background: var(--forest); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print {
  .app-nav, .app-footer, .btn, .wizard-steps, aside, .alert { display: none !important; }
  body { background: #fff; } .panel { border: 0; padding: 0; } .review-layout { display: block; }
}

.applicant-photo { float: right; width: 110px; height: 132px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 0 0 1rem 1rem; }
.data-table thead th { background: #e8eef5; }
.app-section h3 { color: var(--navy); }

/* Student verification & registration */
.auth-card.wide { max-width: 640px; }
.verify-card { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 40px rgba(0, 40, 80, 0.10); }
.verify-head { background: var(--navy); color: #fff; padding: 1.6rem 1.75rem; display: flex; align-items: center; gap: 1rem;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; }
.verify-head strong { display: block; font-family: var(--head); font-size: 1.35rem; line-height: 1.2; }
.verify-head span { color: #c9d7e6; font-size: 0.9rem; }
.verify-badge { flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-size: 1.2rem; }
.verify-body { padding: 1.75rem; }
.verify-foot { border-top: 1px solid var(--line); padding: 0.9rem 1.75rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
.lead-rule { border-left: 3px solid var(--gold); padding-left: 0.8rem; color: #34465a; margin-bottom: 1.4rem; }
.btn-gold { background: var(--gold); color: var(--navy-deep); font-weight: 700; border: 0; border-radius: 999px; padding: 0.8rem 1.2rem; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(232, 168, 56, 0.35); }
.btn-gold:hover, .btn-gold:focus { background: #d9971f; color: var(--navy-deep); }
.input-group-text { background: #f3f6fa; color: var(--muted); border-color: #c3cedb; }
.input-group-text.locked { color: var(--navy); }
.form-control[readonly] { background: #f3f6fa; font-weight: 600; color: var(--ink); }
.admission-note { display: flex; gap: 0.7rem; margin-top: 1.4rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: #fdf6e6; border: 1px solid #f0dcaa; font-size: 0.88rem; color: #5a4516; }
.admission-note i { color: #c98a12; margin-top: 0.2rem; }
.admission-note p { margin: 0; }
.admission-note.emphasis { border-color: #e2b75a; box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.2); }
.verified-box { background: #f4f8fc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1.25rem; }
.locked-note { color: var(--muted); }
.vsteps { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; }
.vsteps li { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 0.78rem; color: var(--muted); border-top: 3px solid var(--line); padding-top: 0.5rem; }
.vsteps .n { width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid #c3cedb; font-weight: 700; font-size: 0.72rem; background: #fff; }
.vsteps li.done { border-top-color: var(--navy); } .vsteps li.done .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.vsteps li.current { border-top-color: var(--gold); color: var(--ink); font-weight: 700; } .vsteps li.current .n { border-color: var(--gold); background: var(--gold); color: var(--navy-deep); }
.col-chip { font-size: 0.8rem; background: var(--forest-tint); color: var(--navy); border-radius: 999px; padding: 0.2rem 0.65rem; }
.col-chip strong { display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.7rem; margin-right: 0.2rem; }

.lock-icon { color: var(--muted); font-size: 0.75em; margin-left: 0.3rem; }
.locked-summary { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; background: #f4f8fc; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; margin-bottom: 1.25rem; }
.locked-summary i { color: var(--navy); margin-top: 0.2rem; }

/* Scoring sheet */
.sheet-section + .sheet-section { margin-top: 1.25rem; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--navy); color: #fff; padding: 0.55rem 0.9rem; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.sheet-head h3 { color: #fff; font-size: 0.98rem; margin: 0; }
.sheet-head h3 span { color: var(--gold); font-weight: 700; }
.sheet-head strong { font-family: var(--head); font-size: 1.05rem; }
.sheet-table { border: 1px solid var(--line); border-top: 0; }
.sheet-table th { font-size: 0.78rem; color: var(--muted); background: #f3f6fa; }
.sheet-table td { font-size: 0.88rem; vertical-align: middle; }
.sheet-table .code { font-size: 0.72rem; font-weight: 700; color: var(--navy); background: var(--forest-tint); border-radius: 4px; padding: 0.05rem 0.35rem; margin-left: 0.25rem; }
.sheet-table tr.rated td { background: #fdf8ec; }
.sheet-table .rating-select { max-width: 11rem; }
.section-totals { margin: 0 0 0.5rem; }
.section-totals div { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.section-totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
details.panel > summary { cursor: pointer; font-family: var(--head); font-weight: 700; }
.badge-provisional { font-size: 0.7rem; font-weight: 600; color: #8a5a00; background: #fdf3de; border-radius: 999px; padding: 0.1rem 0.45rem; white-space: nowrap; }
.agg-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem; margin: 0 0 0.75rem; }
.agg-sections div { background: #f3f6fa; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.5rem 0.7rem; }
.agg-sections dt { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.agg-sections dd { margin: 0; font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.agg-sections .agg-total { background: var(--navy); border-color: var(--navy); }
.agg-sections .agg-total dt { color: #c9d7e6; } .agg-sections .agg-total dd { color: #fff; }

/* Admin panel: sidebar layout */
.admin-topbar { background: var(--navy); color: #d3e0ee; padding: 0.55rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.admin-topbar-title { color: #fff; font-family: var(--head); letter-spacing: 0.02em; }
.btn-side-toggle { background: #fff; color: var(--navy); font-weight: 700; border-radius: 999px; }
.admin-shell { display: flex; align-items: stretch; flex: 1; }
.admin-main { flex: 1; min-width: 0; padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 2rem; }
.admin-side { background-color: var(--navy-deep) !important; color: #c9d7e6; }  /* Bootstrap makes offcanvas-lg transparent on desktop */
@media (min-width: 992px) {
  .admin-side { width: 264px; flex: 0 0 264px; position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto; }
  .admin-side .offcanvas-body { display: flex; flex-direction: column; min-height: 100%; padding: 1rem 0.75rem; }
}
@media (max-width: 991.98px) { .admin-side { background: var(--navy-deep) !important; color: #c9d7e6; } .admin-side .offcanvas-header { color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); } }
.admin-side .offcanvas-body { display: flex; flex-direction: column; }
.side-group { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 700; color: var(--gold); margin: 1rem 0.6rem 0.35rem; }
.side-group:first-child { margin-top: 0.25rem; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list a, .side-list button { display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.45rem 0.65rem; border-radius: var(--radius-sm); color: #d3e0ee; text-decoration: none; font-size: 0.9rem; background: none; border: 0; text-align: left; }
.side-list a:hover, .side-list button:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-list a.active { background: #fff; color: var(--navy); font-weight: 700; }
.side-list a.active i { color: var(--navy); }
.side-list i { color: #8fb0d3; }
.side-list span { flex: 1; }
.side-badge { font-style: normal; font-size: 0.72rem; font-weight: 700; background: var(--gold); color: var(--navy-deep); border-radius: 999px; padding: 0.05rem 0.5rem; }
.side-list a.active .side-badge { background: var(--navy); color: #fff; }
.side-dl { font-size: 0.72rem; opacity: 0.7; }
.side-bottom { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,.12); }
.side-user { display: flex; gap: 0.6rem; align-items: center; margin-top: auto; padding: 0.9rem 0.6rem 0.2rem; border-top: 1px solid rgba(255,255,255,.12); }
.side-user .avatar { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; font-size: 0.8rem; }
.side-user small { display: block; color: #8fb0d3; font-size: 0.72rem; }
.side-user strong { color: #fff; font-size: 0.85rem; line-height: 1.25; display: block; }
.admin-body .app-footer { margin-top: 0; }
.preview-banner { background: var(--gold); color: var(--navy-deep); font-weight: 600; font-size: 0.9rem; padding: 0.5rem 0; }
.preview-banner a { color: var(--navy-deep); }

/* Dashboard: reports and quick links */
.link-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.link-card { display: flex; gap: 0.8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.link-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(0, 40, 80, .08); color: var(--ink); }
.link-card > i { width: 2.3rem; height: 2.3rem; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: var(--forest-tint); color: var(--navy); }
.link-card.dl > i { background: #fdf3de; color: #a36b00; }
.link-card strong { display: flex; gap: 0.4rem; align-items: center; font-size: 0.95rem; }
.link-card small { color: var(--muted); display: block; line-height: 1.35; margin-top: 0.15rem; }
.link-card .count { font-style: normal; font-size: 0.72rem; background: var(--navy); color: #fff; border-radius: 999px; padding: 0.05rem 0.5rem; }
.link-group-title { font-family: var(--head); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin: 1.25rem 0 0.6rem; }
.chart-box.tall { height: 320px; }
.dim-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.dim-nav a { font-size: 0.8rem; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; color: var(--navy); }
.dim-nav a:hover { border-color: var(--navy); }
.analytics-table th, .analytics-table td { font-size: 0.85rem; vertical-align: middle; white-space: nowrap; }
.analytics-table tbody th { white-space: normal; min-width: 200px; }
.admin-side .offcanvas-header h2 { color: #fff; }

/* Dashboard headline tiles and breakdowns */
.kpi-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.kpi { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); border-top: 4px solid var(--navy); }
a.kpi:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(0, 40, 80, .08); color: var(--ink); }
.kpi > i { position: absolute; top: 0.9rem; right: 1rem; color: #a9bdd3; font-size: 1.1rem; }
.kpi .n { font-family: var(--head); font-size: 1.9rem; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi .l { font-weight: 600; font-size: 0.9rem; margin-top: 0.2rem; }
.kpi .s { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.kpi-dl { border-top-color: var(--gold); }
.kpi-dl .s { color: #1d6f42; font-weight: 600; }
.breakdown h2 i { color: var(--gold); margin-right: 0.2rem; }
.breakdown table th, .breakdown table td { font-size: 0.86rem; vertical-align: middle; }
.breakdown thead th { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.sticky-save { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--paper); padding: 0.6rem 0; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.prog-table td, .prog-table th { font-size: 0.86rem; }
.code-chip { font-size: 0.7rem; font-weight: 700; color: var(--navy); background: var(--forest-tint); border-radius: 4px; padding: 0.05rem 0.35rem; margin-left: 0.25rem; }
.breakdown td, .breakdown th.text-end { white-space: nowrap; } .breakdown tbody th { white-space: normal; }
@media (min-width: 768px) { .cycles-table td:not(:first-child) { white-space: nowrap; } }

/* Scoring scale editor */
.scale-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; background: var(--paper); padding: 0.6rem 0; margin-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.scale-sums { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.scale-sum { font-size: 0.82rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.75rem; }
.scale-sum.ok { border-color: #9fd1b5; background: #e9f6ef; } .scale-sum.off { border-color: #e7a59d; background: #fbeceb; color: #8f2a20; }
.scale-sum.total { background: var(--navy); color: #fff; border-color: var(--navy); }
.scale-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.scale-crit { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.75rem; background: #fbfcfe; }
.scale-crit.is-bad { border-color: #e7a59d; background: #fdf3f2; }
.scale-crit-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.scale-label { font-weight: 600; }
.scale-max { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.scale-opts td { font-size: 0.85rem; vertical-align: middle; }
.pts-cell { width: 5.5rem; }
.pts, .pts-na { text-align: right; font-variant-numeric: tabular-nums; }
/* Score calculator */
.calc summary { cursor: pointer; font-family: var(--head); font-weight: 700; color: var(--navy); }
.calc summary i { color: var(--gold); margin-right: 0.3rem; }
.calc-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.calc-sec { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.6rem 0.8rem 0.4rem; margin: 0; }
.calc-sec legend { float: none; width: auto; font-size: 0.95rem; font-weight: 700; padding: 0 0.3rem; margin: 0; }
.calc-out { font-weight: 500; color: var(--muted); margin-left: 0.3rem; } .calc-out strong { color: var(--navy); }
.calc-row { display: grid; grid-template-columns: 1fr minmax(0, 12rem) 2.2rem; gap: 0.5rem; align-items: center; padding: 0.2rem 0; font-size: 0.82rem; }
.calc-pts { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.calc-result { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.8rem; padding: 0.6rem 0.8rem; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.calc-result strong { font-family: var(--head); font-size: 1.15rem; margin-right: auto; }
.calc-result .btn-outline-primary { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.5); }
.calc-result .btn-outline-secondary { --bs-btn-color: #d3e0ee; --bs-btn-border-color: rgba(255,255,255,.3); }
@media (max-width: 575.98px) { .calc-row { grid-template-columns: 1fr 2.2rem; } .calc-row select { grid-column: 1 / -1; } }
/* Help page */
.help-layout { display: grid; gap: 1.25rem; }
@media (min-width: 1200px) { .help-layout { grid-template-columns: 230px minmax(0, 1fr); align-items: start; } .help-toc { position: sticky; top: 1rem; } }
.help-toc { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.86rem; }
.help-toc a { text-decoration: none; padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); color: var(--navy); }
.help-toc a:hover { background: #fff; }
.help-body { max-width: 900px; }
.help-body h2 { font-size: 1.25rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.help-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.help-body h3 { font-size: 1.02rem; margin-top: 1.2rem; }
.help-body li { margin: 0.2rem 0; }
.help-body code { color: var(--navy); background: #f3f6fa; padding: 0.05rem 0.3rem; border-radius: 4px; }
.help-table th { background: #f3f6fa; font-size: 0.85rem; } .help-table td { font-size: 0.88rem; }
@media (min-width: 992px) { .wizard-steps a { white-space: normal; line-height: 1.25; } }
.error-summary ul { padding-left: 1.1rem; } .error-summary li { margin: 0.2rem 0; }
.photo-note { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.4rem; }
.photo-note img { width: 64px; height: 64px; border-radius: 6px; border: 1px solid var(--line); object-fit: cover; }
/* Results page */
.step-no { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8rem; margin-right: 0.35rem; }
.publish-panel { border-left: 5px solid var(--gold); }
.publish-panel.is-published { border-left-color: #1d7a46; }
.publish-panel h2 i { color: var(--gold); } .publish-panel.is-published h2 i { color: #1d7a46; }
.results-check td, .results-check th { font-size: 0.84rem; }
.results-check thead th { position: sticky; top: 0; background: #f3f6fa; }
/* Track my application / Check results */
.results-hero { padding: 3.2rem 0 3.4rem; }
.results-hero h1 { font-size: clamp(1.9rem, 1.1rem + 3vw, 3.1rem); }
.track-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 720px; margin: 1.4rem auto 0; background: rgba(255, 255, 255, 0.94); border-radius: 12px; padding: 0.6rem; box-shadow: 0 10px 30px rgba(0, 20, 50, 0.25); }
.track-field { flex: 1 1 240px; display: flex; align-items: center; gap: 0.5rem; background: #e9eef4; border: 1px solid #d3dce7; border-radius: 8px; padding: 0 0.8rem; color: #6b7a8c; }
.track-field input { flex: 1; border: 0; background: transparent; padding: 0.7rem 0; font-size: 0.95rem; color: var(--ink); outline: none; min-width: 0; }
.track-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 66, 122, 0.15); }
.track-dob { flex: 0 1 190px; }
.btn-track { background: #2f5b86; color: #fff; font-weight: 700; border-radius: 8px; padding: 0.65rem 1.4rem; }
.btn-track:hover { background: var(--navy); color: #fff; }
.hero-actions .btn-track-link { white-space: nowrap; }
.track-result { max-width: 820px; }
.track-card { border-top: 5px solid var(--navy); }
.status-card-selected { border-top-color: #1d7a46; } .status-card-rejected { border-top-color: #9aa6b4; } .status-card-waitlisted { border-top-color: var(--gold); }
.track-msg { font-size: 1.05rem; }
.status-card-selected .track-msg { color: #14603a; font-weight: 600; }
.track-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; counter-reset: s; }
.track-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 0.82rem; color: var(--muted); position: relative; }
.track-steps li span { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: #e9eef4; color: var(--muted); font-weight: 700; margin-bottom: 0.3rem; }
.track-steps li.done span { background: #1d7a46; color: #fff; } .track-steps li.now span { background: var(--navy); color: #fff; }
.track-steps li.now { color: var(--ink); font-weight: 700; }
@media print { .results-hero, .app-nav, .brand-bar, .app-footer, .track-card .btn { display: none !important; } }
/* Rwanda locations */
.loc-crumb { font-size: 0.9rem; } .loc-crumb i { font-size: 0.65rem; color: var(--muted); margin: 0 0.3rem; }
.loc-grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.loc-item { display: flex; flex-direction: column; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: #fbfcfe; }
.loc-item:hover { border-color: var(--navy); color: var(--ink); }
.loc-item span { font-size: 0.78rem; color: var(--muted); } .loc-item em { color: #a36b00; font-style: normal; }
.loc-action > summary { list-style: none; } .loc-action > summary::-webkit-details-marker { display: none; }
.loc-form { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.4rem; padding: 0.6rem; background: #f3f6fa; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; }
.loc-form .form-control, .loc-form .form-select { width: auto; min-width: 150px; }
.loc-table td { font-size: 0.88rem; }
/* Blue banner: the scholars photo shows through, tinted blue so the white text stays readable */
.hero-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/hero-bg.jpg") center 30% / cover no-repeat; opacity: 0.32; mix-blend-mode: luminosity; }
.hero-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 50, 94, 0.25) 0%, rgba(0, 50, 94, 0.55) 100%); }
.hero-band > * { position: relative; z-index: 1; }
.hero-band > .hero-deco { position: absolute; inset: 0; z-index: 1; }
/* Step-by-step export window */
.export-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(6, 25, 45, 0.45); padding: 1rem; }
.export-modal[hidden] { display: none; }
.export-card { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; width: min(460px, 100%); box-shadow: 0 20px 50px rgba(0, 20, 50, 0.3); }
.export-bar { height: 12px; background: #e6ecf3; border-radius: 999px; overflow: hidden; }
.export-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), #2f7bbf); transition: width 0.4s; }

/* ---------- Extended dashboard ---------- */
.ext-dash { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; }
.ext-block { grid-column: span 6; min-width: 0; }
.ext-chart-block { grid-column: span 2; }
.ext-chart-block.is-wide { grid-column: span 3; }
@media (max-width: 1199.98px) { .ext-chart-block, .ext-chart-block.is-wide { grid-column: span 3; } }
@media (max-width: 767.98px) { .ext-chart-block, .ext-chart-block.is-wide { grid-column: span 6; } }
.ext-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.ext-head h2 { font-size: 1.35rem; margin: 0; color: #12375d; white-space: nowrap; }
.ext-pill { background: #e4eef9; color: #12375d; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 8px; padding: 0.45rem 0.8rem; }
.ext-rule { flex: 1; height: 2px; background: #dfe6ee; }
.ext-note { color: #6b7a8c; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 767.98px) { .ext-rule, .ext-note { display: none; } }
/* KPI row */
.ext-kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.ext-kpi { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 1.1rem 1.3rem; border-left: 6px solid var(--c); box-shadow: 0 1px 2px rgba(16, 38, 61, 0.06), 0 6px 18px rgba(16, 38, 61, 0.05); text-decoration: none; color: inherit; }
a.ext-kpi:hover { box-shadow: 0 10px 24px rgba(16, 38, 61, 0.12); color: inherit; }
.ext-kpi .l { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a97a6; min-height: 2.4em; }
.ext-kpi .n { font-family: var(--head); font-weight: 800; font-size: 2.3rem; line-height: 1.1; color: #12375d; font-variant-numeric: tabular-nums; }
.ext-kpi .s { font-size: 0.82rem; font-weight: 700; color: #8a97a6; margin-top: 0.2rem; }
/* Stat cards */
.ext-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ext-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 1rem; min-height: 132px; padding: 1.2rem 1.4rem; border-radius: 16px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 20px -8px var(--c1); transition: transform 0.15s, box-shadow 0.15s; }
.ext-card:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px var(--c1); }
.ext-card::before, .ext-card::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.13); pointer-events: none; }
.ext-card::before { width: 130px; height: 130px; right: -30px; bottom: -50px; }
.ext-card::after { width: 80px; height: 80px; right: 60px; bottom: -45px; background: rgba(255, 255, 255, 0.09); }
.ext-card .ico { flex: 0 0 auto; width: 3.6rem; height: 3.6rem; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); font-size: 1.45rem; }
.ext-card .txt { display: flex; flex-direction: column; position: relative; z-index: 1; }
.ext-card .n { font-family: var(--head); font-weight: 800; font-size: 2.15rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ext-card .l { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.95; }
.ext-card .go { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity 0.15s; }
.ext-card:hover .go { opacity: 0.85; }
/* Chart panels */
.ext-panel { background: #fff; border-radius: 16px; padding: 1.4rem 1.2rem 1.2rem; height: 100%; box-shadow: 0 1px 2px rgba(16, 38, 61, 0.05), 0 8px 22px rgba(16, 38, 61, 0.05); }
.ext-badge { display: table; margin: 0 auto 1rem; background: #0f3552; color: #fff; font-size: 1.05rem; font-weight: 800; border-radius: 8px; padding: 0.55rem 1.3rem; text-align: center; }
.ext-badge-left { margin: 0 0 1rem; }
.ext-chart-wrap { display: flex; align-items: center; gap: 1rem; }
.ext-chart-wrap.style-bar { display: block; }
.ext-canvas { position: relative; flex: 1 1 60%; height: 280px; min-width: 0; }
.ext-legend { list-style: none; margin: 0; padding: 0; flex: 0 1 42%; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.88rem; }
.ext-legend li { display: grid; grid-template-columns: 0.9rem 1fr auto; gap: 0.5rem; align-items: center; }
.ext-legend .sw { width: 0.9rem; height: 0.9rem; border-radius: 3px; }
.ext-legend .lab { color: #3b4a5a; line-height: 1.25; }
.ext-legend .val { font-weight: 800; color: #12375d; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ext-legend small { font-weight: 600; color: #6b7a8c; }
@media (max-width: 575.98px) { .ext-chart-wrap { flex-direction: column; } .ext-legend { width: 100%; } }
/* Tiles (Cards style) */
.ext-tiles { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.ext-tile { border: 1px solid #e3e9f0; border-left: 5px solid var(--c); border-radius: 10px; padding: 0.7rem 0.8rem; display: flex; flex-direction: column; }
.ext-tile .l { font-size: 0.8rem; color: #5b6b7f; line-height: 1.25; min-height: 2.5em; }
.ext-tile .n { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: #12375d; }
.ext-tile .bar { height: 6px; background: #edf1f5; border-radius: 99px; overflow: hidden; margin: 0.3rem 0 0.2rem; }
.ext-tile .bar span { display: block; height: 100%; background: var(--c); }
.ext-tile .p { font-size: 0.78rem; font-weight: 700; color: #6b7a8c; }
/* Category by gender */
.ext-catgender { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.ext-cg { background: #fff; border-radius: 16px; border-top: 6px solid var(--c); padding: 1.2rem 1.4rem 1rem; box-shadow: 0 1px 2px rgba(16, 38, 61, 0.05), 0 8px 22px rgba(16, 38, 61, 0.05); }
.ext-cg h4 { font-size: 1.15rem; font-weight: 800; color: #12375d; margin: 0; }
.ext-cg .full { min-height: 1.3em; }
.ext-cg .n { display: block; font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: #12375d; line-height: 1.1; margin-top: 0.4rem; }
.ext-cg .sub { display: block; font-size: 0.85rem; color: #8a97a6; padding-bottom: 0.8rem; border-bottom: 1px solid #e8edf2; }
.ext-cg .fm { display: grid; grid-template-columns: 1fr 1fr; text-align: center; padding-top: 0.8rem; }
.ext-cg .fm i { font-size: 1.25rem; display: block; }
.ext-cg .fm strong { display: block; font-size: 1.35rem; font-weight: 800; }
.ext-cg .fm span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a97a6; }
.ext-cg .f i, .ext-cg .f strong { color: #2b78d6; }
.ext-cg .m i, .ext-cg .m strong { color: #e8a317; }
/* Customize panel */
.ext-cfg td, .ext-cfg th { font-size: 0.86rem; }
.ext-card-editor { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.ext-ce { display: grid; grid-template-columns: 2.4rem 1.4fr 1fr 1fr 0.8fr; gap: 0.4rem; align-items: center; }
.ext-ce.is-empty { opacity: 0.55; }
.ext-ce-prev { width: 2.4rem; height: 2.4rem; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
@media (max-width: 575.98px) { .ext-ce { grid-template-columns: 2.4rem 1fr 1fr; } }
@media print { .ext-card, .ext-kpi, .ext-panel, .ext-cg { break-inside: avoid; box-shadow: none !important; } #customize { display: none !important; } }
/* Chart panels: legend below the ring in narrow panels, beside it in wide ones */
.ext-panel { container-type: inline-size; }
.ext-chart-wrap { flex-direction: column; align-items: stretch; }
.ext-chart-wrap .ext-canvas { height: 270px; flex: none; width: 100%; }
.ext-chart-wrap .ext-legend { flex: none; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.45rem 1rem; margin-top: 0.8rem; }
@container (min-width: 560px) {
  .ext-chart-wrap:not(.style-bar) { flex-direction: row; align-items: center; }
  .ext-chart-wrap:not(.style-bar) .ext-canvas { flex: 1 1 58%; width: auto; height: 300px; }
  .ext-chart-wrap:not(.style-bar) .ext-legend { flex: 0 1 42%; width: auto; grid-template-columns: 1fr; margin-top: 0; }
}
.ext-cg .full { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext-cg .fm span { display: block; }
.ext-cg .fm em { display: block; font-style: normal; font-size: 0.8rem; font-weight: 700; color: #5b6b7f; }
/* Document verification */
.verify-doc { max-width: 720px; }
.verify-result { display: flex; gap: 1rem; align-items: flex-start; border-left: 6px solid; }
.verify-result > i { font-size: 2rem; margin-top: 0.2rem; }
.verify-result.valid { border-left-color: #1d7a46; } .verify-result.valid > i { color: #1d7a46; }
.verify-result.invalid { border-left-color: #c0392b; } .verify-result.invalid > i { color: #c0392b; }
.verify-dl { display: grid; grid-template-columns: 9rem 1fr; gap: 0.35rem 1rem; margin: 0.5rem 0 0.8rem; }
.verify-dl dt { font-weight: 500; color: var(--muted); } .verify-dl dd { margin: 0; font-weight: 700; }
/* Printing "Track my application": branded header and footer, no browser date/URL */
.print-brand { display: none; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff !important; }
  .print-brand { display: flex; }
  .print-head { align-items: center; justify-content: space-between; gap: 1rem; padding: 12mm 14mm 4mm; border-bottom: 2.5px solid #0b3d6e; margin-bottom: 8mm; }
  .print-head .pb-mcf { height: 24mm; } .print-head .pb-ur img { height: 16mm; display: block; }
  .print-head .pb-ur { text-align: right; font-style: italic; font-size: 9pt; }
  .print-head .pb-mid { flex: 1; text-align: center; color: #0b5c8a; font-weight: 700; font-size: 12pt; align-self: flex-end; }
  .print-foot { position: fixed; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: center; gap: 1.5mm; padding: 4mm 14mm 8mm; border-top: 4px solid #f5b800; color: #0b5c8a; font-size: 9pt; background: #fff; }
  .print-foot em { font-size: 10.5pt; }
  .track-result { padding: 0 14mm !important; max-width: none !important; }
  .track-card { box-shadow: none !important; border: 1px solid #d8e0ea; }
}
/* Selection workflow */
.status-pre_selected, .status-passed_interview, .status-home_visit_recommended { background: #e6effb; color: #1f4f8f; }
.status-not_pre_selected, .status-not_passed_interview, .status-home_visit_not_recommended, .status-not_selected { background: #f1f2f4; color: #5b6472; }
.status-selected { background: #dff3e7; color: #17663b; }
.wf-mini { list-style: none; padding: 0; margin: 0 0 0.6rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; font-size: 0.62rem; line-height: 1.2; text-align: center; color: #8a97a6; }
.wf-mini li span { display: block; height: 6px; border-radius: 3px; background: #e3e9f0; margin-bottom: 3px; }
.wf-mini .wf-done span { background: #1d7a46; } .wf-mini .wf-now span { background: #0b3d6e; } .wf-mini .wf-failed span { background: #c0392b; }
.wf-mini .wf-now, .wf-mini .wf-failed { color: #1f2d3d; font-weight: 700; }
.status-history { list-style: none; padding: 0; margin: 0; font-size: 0.82rem; border-left: 2px solid #d8e0ea; }
.status-history li { position: relative; padding: 0 0 0.7rem 0.8rem; }
.status-history li::before { content: ""; position: absolute; left: -6px; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: #0b3d6e; border: 2px solid #fff; }
.status-history li.neg::before { background: #c0392b; }
.status-history .c { background: #f4f7fb; border-radius: 6px; padding: 0.3rem 0.5rem; margin: 0.2rem 0; }
.status-history .w { color: #8a97a6; font-size: 0.75rem; }
.journey li.failed { color: #b0392f; font-weight: 700; }
.journey li.failed::before { background: #c0392b !important; border-color: #c0392b !important; }
.track-steps.six { grid-template-columns: repeat(6, 1fr); }
.track-steps li.failed span { background: #c0392b; color: #fff; }
.track-steps li.failed { color: #b0392f; font-weight: 700; }
@media (max-width: 575.98px) { .track-steps.six { grid-template-columns: repeat(3, 1fr); row-gap: 0.8rem; } }
/* Claims */
.claim-reason { background: #fff7e6; border-left: 4px solid #e8a317; border-radius: 6px; padding: 0.5rem 0.8rem; font-size: 0.92rem; }
.claim-box { border: 1px solid #d8e0ea; border-left: 4px solid #0b3d6e; border-radius: 8px; padding: 0.7rem 0.9rem; background: #fff; }
.claim-box.claim-accepted { border-left-color: #1d7a46; } .claim-box.claim-rejected { border-left-color: #8a97a6; }
.claim-response { background: #f4f7fb; border-radius: 6px; padding: 0.4rem 0.6rem; }
.claim-form { background: #f8fafc; border: 1px solid #e3e9f0; border-radius: 8px; padding: 0.8rem; }
.status-admitted_ur { background: #e6effb; color: #1f4f8f; } .status-not_admitted_ur { background: #f1f2f4; color: #5b6472; }
.track-steps.six { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 575.98px) { .track-steps.six { grid-template-columns: repeat(4, 1fr); } }
.wf-mini { grid-template-columns: repeat(7, 1fr) !important; }
/* Step-by-step result uploads */
.stage-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.stage-card { border-top: 4px solid var(--navy); display: flex; flex-direction: column; }
.stage-card .stage-form { margin-top: auto; }
.stage-card fieldset legend { float: none; width: auto; }

/* ---------- Applications list: responsive to the space it has (sidebar open or not) ---------- */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.bulk-bar .bulk-action { flex: 1 1 240px; max-width: 420px; min-width: 0; }
.bulk-bar .bulk-comment { flex: 2 1 220px; min-width: 0; }
@media (max-width: 575.98px) { .bulk-bar .bulk-action, .bulk-bar .bulk-comment { flex-basis: 100%; max-width: none; } .bulk-bar .btn { width: 100%; } }

.apps-wrap { container-type: inline-size; }
.apps-table { width: 100%; }
.apps-table td, .apps-table th { vertical-align: middle; }
.apps-table td:nth-child(2) { white-space: nowrap; }                  /* reference */
.apps-table td:nth-child(3) a { font-weight: 600; }
.apps-table .status { white-space: normal; display: inline-block; max-width: 11rem; line-height: 1.25; text-align: center; }
.apps-table .c-open { width: 1%; }
.app-mini { display: none; margin-top: 0.15rem; }
.app-mini span { display: none; }
.app-mini span + span::before { content: " · "; }
/* narrower: hide columns one after another; their details move under the applicant's name */
@container (max-width: 1180px) {
  .apps-wrap .apps-table .c-district { display: none; }
  .app-mini, .app-mini .m-district { display: inline; }
  .apps-wrap .apps-table > :not(caption) > * > * { padding: 0.6rem 0.55rem; }
}
@container (max-width: 1040px) {
  .apps-wrap .apps-table .c-college, .apps-wrap .apps-table .c-reviews { display: none; }
  .app-mini .m-college, .app-mini .m-reviews { display: inline; }
}
@container (max-width: 900px) {
  .apps-wrap .apps-table .c-type { display: none; }
  .app-mini .m-type { display: inline; }
  .app-mini { display: block; }
}
/* phones: every application is a card */
@container (max-width: 700px) {
  .apps-wrap .apps-table, .apps-wrap .apps-table tbody, .apps-wrap .apps-table tr, .apps-wrap .apps-table td { display: block; width: 100%; }
  .apps-wrap .apps-table { border: 0; background: transparent; }
  .apps-wrap .apps-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .apps-wrap .apps-table tbody tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; padding: 0.6rem 0.4rem 0.7rem; position: relative; }
  .apps-wrap .apps-table td { border: 0; padding: 0.25rem 0.8rem !important; text-align: left; background: transparent !important; box-shadow: none !important; }
  .apps-wrap .apps-table td.check-col { position: absolute; top: 0.55rem; right: 0.3rem; width: auto; padding: 0 !important; }
  .apps-wrap .apps-table td:nth-child(2) { font-size: 0.85rem; color: var(--muted); }
  .apps-wrap .apps-table td:nth-child(3) { font-size: 1.05rem; padding-right: 2.5rem !important; }
  .apps-wrap .apps-table .c-agg, .apps-wrap .apps-table td[data-label="Status"] { display: inline-block; width: auto; }
  .apps-wrap .apps-table .c-agg::before, .apps-wrap .apps-table td[data-label="Status"]::before { display: none; }
  .apps-wrap .apps-table td[data-label]::before { content: none; }
  .apps-wrap .apps-table .c-open { display: block; width: 100%; margin-top: 0.3rem; }
  .apps-wrap .apps-table .c-open .btn { width: 100%; }
}
/* base look of the applications table (same as .data-table, without its screen-width card layout) */
.apps-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 0; }
.apps-table > :not(caption) > * > * { padding: 0.7rem 0.8rem; }
.apps-table thead th { background: #eef1ec; font-size: 0.8rem; font-weight: 700; color: #3e4c46; border-bottom: 1px solid var(--line); white-space: nowrap; }
.apps-table tbody tr:hover { background: #fafbf9; }
.apps-table .check-col { width: 2.4rem; }

/* ---------- Intake settings: responsive to the space it has ---------- */
.cycles-wrap { container-type: inline-size; }
.cycles-table { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 0; }
.cycles-table > :not(caption) > * > * { padding: 0.75rem 0.8rem; }
.cycles-table thead th { background: #eef1ec; font-size: 0.8rem; font-weight: 700; color: #3e4c46; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cycles-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (min-width: 1700px) { .cycles-layout { grid-template-columns: minmax(0, 1fr) 380px; } }
.cycles-table td:first-child { min-width: 13rem; }
.cycles-table .cy-period span { display: block; white-space: nowrap; }
.cycles-table .cy-actions { width: 1%; }
.cycles-table .cy-actions .btn { display: block; width: 100%; margin: 0.15rem 0; white-space: nowrap; }
.cycles-table .cy-actions form { display: block !important; }
.cycles-table .cy-mini { display: none; }
@container (max-width: 1100px) {
  .cycles-wrap .cycles-table .c-level, .cycles-wrap .cycles-table .c-cohort, .cycles-wrap .cycles-table .c-apps { display: none; }
  .cycles-wrap .cycles-table .cy-mini { display: block; margin-top: 0.2rem; }
}
@container (max-width: 560px) {
  .cycles-wrap .cycles-table, .cycles-wrap .cycles-table tbody, .cycles-wrap .cycles-table tr, .cycles-wrap .cycles-table td { display: block; width: 100%; }
  .cycles-wrap .cycles-table { border: 0; background: transparent; }
  .cycles-wrap .cycles-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cycles-wrap .cycles-table tbody tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; padding: 0.5rem 0.2rem; }
  .cycles-wrap .cycles-table td { border: 0; background: transparent !important; box-shadow: none !important; padding: 0.3rem 0.8rem !important; }
  .cycles-wrap .cycles-table .cy-period span { white-space: normal; }
  .cycles-wrap .cycles-table .cy-actions { width: 100%; text-align: left !important; }
  .cycles-wrap .cycles-table .cy-actions .btn, .cycles-wrap .cycles-table .cy-actions form { display: inline-block !important; width: auto; margin-right: 0.3rem; }
  .cycles-wrap .cycles-table td:first-child { min-width: 0; }
}
.missing-panel { border-left: 5px solid #e8a317; } .missing-panel h2 i { color: #e8a317; }
.prog-table .combo-input { min-width: 16rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; }
/* Applicant password reset */
.reset-done { background: #e8f5ec; border: 1px solid #9fd3b0; border-radius: var(--radius); padding: 1rem 1.1rem; }
.reset-done .fa-circle-check { color: #1d7a46; }
.reset-pw { display: inline-block; background: #fff3a8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.3rem 0.9rem; border-radius: 6px; margin-bottom: 0.6rem; user-select: all; }
