﻿:root {
  --en-navy: #0a2457;
  --en-navy-2: #0c3a80;
  --en-accent: #f59e0b;
  --en-accent-dark: #d97706;
  --en-teal: #0fa8a1;
  --en-bg: #f6f8fb;
  --en-text: #1f2937;
  --en-muted: #64748b;
  --en-border: #e2e8f0;
  --bs-primary: #0c3a80;
  --bs-primary-rgb: 12, 58, 128;
  --bs-link-color: #1d5fa8;
  --bs-link-color-rgb: 29, 95, 168;
}

html { font-size: 15px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--en-text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

h1, h2, h3, h4, h5 { font-weight: 700; color: var(--en-navy); letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--en-border); }
.site-header .navbar { padding: .75rem 0; }
.site-header .nav-link { font-weight: 500; color: var(--en-text); padding: .5rem .85rem !important; border-radius: .5rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--en-navy); background: var(--en-bg); }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--en-navy); }
.brand-logo { display: block; width: 40px; height: 40px; }
.brand-text { font-family: "Montserrat", "Inter", system-ui, sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; line-height: 1; color: var(--en-navy); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--en-navy); color: #fff; display: inline-grid; place-items: center; font-size: 1.05rem; }
.brand-footer .brand-text { color: #fff; }
.brand-tile { background: #fff; border-radius: 10px; padding: 3px; display: inline-grid; place-items: center; }
.brand-tile .brand-logo { width: 34px; height: 34px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: .6rem; }
.btn-primary { background: var(--en-navy-2); border-color: var(--en-navy-2); }
.btn-primary:hover, .btn-primary:focus { background: var(--en-navy); border-color: var(--en-navy); }
.btn-outline-primary { color: var(--en-navy-2); border-color: var(--en-navy-2); }
.btn-outline-primary:hover { background: var(--en-navy-2); border-color: var(--en-navy-2); }
.btn-accent { background: var(--en-accent); border-color: var(--en-accent); color: #1a1a1a; }
.btn-accent:hover, .btn-accent:focus { background: var(--en-accent-dark); border-color: var(--en-accent-dark); color: #111; }

.btn:focus, .btn:active:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(245, 158, 11, .35);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 85% -10%, rgba(14,165,164,.35), transparent 60%),
              linear-gradient(135deg, var(--en-navy) 0%, var(--en-navy-2) 100%);
  color: #e5edf7;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.1; }
.hero .lead { color: #c9d6e6; font-size: 1.15rem; }
.hero .eyebrow { color: var(--en-accent); }
/* Dotted texture behind the hero text */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero .container { position: relative; }
.hero-visual { position: relative; margin: -2rem -1.5rem -3rem 0; }
.hero-art { display: block; width: 100%; height: auto; max-width: 560px; margin-left: auto; overflow: visible; }

.hero-art .ha-float { animation: ha-float 7s ease-in-out infinite; }
.hero-art .ha-float-alt { animation: ha-float 8s ease-in-out -3s infinite; }
.hero-art .ha-float-slow { animation: ha-float 10s ease-in-out -5s infinite; }
.hero-art .ha-route { animation: ha-dash 2.4s linear infinite; }
.hero-art .ha-pulse { transform-box: fill-box; transform-origin: center; animation: ha-pulse 2.4s ease-out infinite; }
@keyframes ha-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ha-dash { to { stroke-dashoffset: -18; } }
@keyframes ha-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art * { animation: none !important; }
}

/* Quick GPA bar overlapping the hero's bottom edge */
.quick-gpa-wrap { position: relative; z-index: 3; margin-top: -2.75rem; }
.quick-gpa {
  background: #fff; border-radius: 1rem; box-shadow: 0 20px 50px rgba(15,39,71,.18);
  padding: 1rem 1.25rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
}
.quick-gpa-label { display: flex; align-items: center; gap: .85rem; padding-right: .5rem; }
.quick-gpa-label .feature-icon { width: 46px; height: 46px; font-size: 1.3rem; flex: 0 0 auto; }
.text-navy { color: var(--en-navy); }
@media (max-width: 991.98px) {
  .quick-gpa { grid-template-columns: 1fr; }
}
.quick-gpa-wrap + .trust-bar { border-bottom: 1px solid var(--en-border); }
/* Home page hero (institutions): a sample GPA report card (modelled on the real report: _GpaReportSheet) with a transcript behind it and status chips beside it, then the five-step workflow strip overlapping the hero's bottom edge.
   Class names are .hero-*: .report-sheet is the real printable report and must not be reused here. */
.hero-report { position: relative; max-width: 440px; margin: 0 0 0 auto; color: var(--en-text); }
.hero-report-card { position: relative; z-index: 2; background: #fff; border-radius: 1rem; padding: 1.1rem 1.25rem; box-shadow: 0 24px 60px rgba(4,16,45,.35); }
.hero-report-card .gpa-score { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; padding: .8rem 1.1rem; border-radius: .8rem; }
.hero-report-card .gpa-score .value { font-size: 2.5rem; }
.hero-report-card .gpa-score .gpa-pill { margin-top: 0; font-size: .85rem; }
.hero-report-card .report-table { font-size: .82rem; table-layout: fixed; }
.hero-report-card .report-table td:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-report-card .report-table th:nth-child(2) { width: 3.2rem; }
.hero-report-card .report-table th:nth-child(3) { width: 3.6rem; }
.hero-report-card .report-table th:nth-child(4) { width: 5rem; }
.hero-report-card .report-table th { font-size: .66rem; padding-top: 0; }
.hero-report-card .report-table td { padding-top: .32rem; padding-bottom: .32rem; }
.hero-report-card .report-table tfoot td { border-bottom: 0; padding-top: .55rem; }
.hero-transcript {
  position: absolute; z-index: 1; left: -76px; top: 46px; width: 190px; height: 270px; padding: .9rem .8rem; border-radius: .6rem;
  background: #f1f5fb; transform: rotate(-5deg); box-shadow: 0 16px 40px rgba(4,16,45,.3); font-size: .72rem; font-weight: 700; color: var(--en-navy);
}
.hero-transcript::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; top: 2.2rem; bottom: .9rem; border-radius: .25rem;
  background: repeating-linear-gradient(0deg, #d6dfec 0 1px, transparent 1px 15px), repeating-linear-gradient(90deg, #d6dfec 0 1px, transparent 1px 38px);
}
.report-chips { flex-direction: column; justify-content: space-around; gap: .9rem; }
.report-chip {
  display: flex; align-items: center; gap: .5rem; padding: .45rem .65rem .45rem .5rem;
  background: #fff; border-radius: .8rem; box-shadow: 0 12px 30px rgba(4,16,45,.3); font-size: .76rem; font-weight: 600; line-height: 1.15; color: var(--en-navy);
}
.report-chip .rc-icon { width: 28px; height: 28px; border-radius: .5rem; display: grid; place-items: center; background: #e6efff; color: var(--en-navy-2); font-size: .95rem; flex: 0 0 auto; }
.report-chip .rc-ok { color: #16a34a; font-size: 1rem; }
.report-chip:nth-child(1) { transform: rotate(3deg); }
.report-chip:nth-child(2) { transform: rotate(-3deg) translateX(10px); }
.report-chip:nth-child(3) { transform: rotate(2deg); }
/* From 1200px the chips get their own lane to the right of the card (overlapping only its padding), so they never cover report data. */
@media (min-width: 1200px) {
  .hero-report { max-width: 540px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .hero-report-card { grid-column: 1; grid-row: 1; }
  .report-chips { grid-column: 2; grid-row: 1; position: relative; z-index: 3; margin: 1.5rem 0 1.5rem -1.1rem; }
}

.workflow-wrap { margin-bottom: 2.5rem; }
.workflow {
  list-style: none; margin: 0; padding: 1.15rem 1.5rem; background: #fff; border-radius: 1rem; box-shadow: 0 20px 50px rgba(15,39,71,.18);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 1.6rem; row-gap: 1.1rem;
}
.workflow li { position: relative; display: flex; align-items: center; gap: .65rem; min-width: 0; }
.wf-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: .8rem; display: grid; place-items: center; font-size: 1.2rem; background: var(--wf-bg, #e6efff); color: var(--wf-fg, var(--en-navy-2)); }
.wf-title { font-weight: 700; color: var(--en-navy); line-height: 1.2; }
.wf-text { font-size: .8rem; line-height: 1.3; color: var(--en-muted); }
.wf-arrow { position: absolute; right: -1.25rem; top: 50%; transform: translateY(-50%); color: var(--en-muted); }
.workflow li:last-child .wf-arrow { display: none; }
@media (max-width: 1199.98px) { .workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wf-arrow { display: none; } }
@media (max-width: 767.98px) { .workflow { grid-template-columns: 1fr; } }

/* Product screenshots gallery (home page): real workspace screens, fictional data (tools/capture-home-screens.mjs) */
.product-tabs .nav-link { font-weight: 600; color: var(--en-navy); background: #fff; border: 1px solid var(--en-border); }
.product-tabs .nav-link:hover { background: var(--en-bg); }
.product-tabs .nav-link.active { background: var(--en-navy); border-color: var(--en-navy); color: #fff; }
.product-shot { margin-bottom: 0; border-radius: 1rem; border: 1px solid var(--en-border); background: #fff; overflow: hidden; box-shadow: 0 24px 60px rgba(15,39,71,.16); }
.product-shot img { display: block; width: 100%; height: auto; }
.product-caption { max-width: 720px; margin: 1.25rem auto 0; text-align: center; color: var(--en-muted); }

/* Institution sign-up (/for-institutions/sign-up): split screen, benefits and a sample report on the navy left (about 40%), the form on the right (about 60%).
   Both halves sit inside the centred .container (so they line up with the header logo at any screen width); the navy is a pseudo-element that runs out to the
   left screen edge, and the wrapper clips it. Stacks below 992px, where the navy runs out to both edges. */
.signup-split { overflow: hidden; background: #fff; }
.signup-grid { display: grid; grid-template-columns: 2fr 3fr; min-height: 680px; }
.signup-aside { position: relative; z-index: 0; padding: 3.5rem 2.5rem 3.5rem 0; color: #e5edf7; }
.signup-aside::before, .signup-aside::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 100vw; }
.signup-aside::before { background: radial-gradient(900px 420px at 90% -10%, rgba(14,165,164,.35), transparent 60%), linear-gradient(135deg, var(--en-navy) 0%, var(--en-navy-2) 100%); }
.signup-aside::after { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px); background-size: 22px 22px; }
.signup-aside-inner { max-width: 460px; }
.signup-aside h1 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.signup-aside .eyebrow { color: var(--en-accent); }
.signup-aside .lead { color: #c9d6e6; font-size: 1.05rem; }
.signup-benefits li { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; font-weight: 500; color: #fff; }
.signup-benefits i { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: .6rem; background: rgba(255,255,255,.12); color: var(--en-accent); font-size: 1.05rem; }
.signup-shot { margin: 0 0 1.5rem; }
.signup-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: .9rem; background: #fff; box-shadow: 0 20px 50px rgba(4,16,45,.4); }
.signup-shot figcaption { margin-top: .5rem; font-size: .75rem; color: #9fb3cc; }
.signup-trust { color: #c9d6e6; }
.signup-main { padding: 3.5rem 0 3.5rem 2.5rem; }
.signup-main-inner { max-width: 560px; margin-inline: auto; }
.signup-more > summary { cursor: pointer; font-weight: 600; color: var(--en-navy-2); }
.signup-more[open] > summary { margin-bottom: 1rem; }
.signup-note { margin: 1.75rem 0 0; padding: 1rem 1.25rem; border-radius: .9rem; background: var(--en-bg); border: 1px solid var(--en-border); font-size: .92rem; color: var(--en-muted); }
@media (max-width: 991.98px) {
  .signup-grid { grid-template-columns: 1fr; min-height: 0; }
  .signup-aside { padding: 2rem 0 1.75rem; }
  .signup-aside::before, .signup-aside::after { left: -100vw; right: -100vw; width: auto; }
  .signup-aside-inner, .signup-main-inner { max-width: 640px; margin-inline: auto; }
  /* Compact on small screens (design review): the headline, two benefits and the free-reports line, then the form straight away. */
  .signup-aside .lead, .signup-benefits li:nth-child(n+3) { display: none; }
  .signup-aside h1 { margin-bottom: 1rem !important; }
  .signup-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin-bottom: .75rem !important; }
  .signup-benefits li { font-size: .88rem; }
  .signup-main { padding: 2rem 0 2.5rem; }
}
@media (max-width: 575.98px) { .signup-benefits { grid-template-columns: 1fr; } }

/* Data coverage band (home page): two big numbers on the navy band */
.coverage-band .stat-big { font-size: clamp(2.6rem, 5vw, 3.75rem); font-weight: 800; line-height: 1; color: #fff; }
.coverage-band .stat-label { margin-top: .4rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #9fb3cc; }
.text-teal { color: var(--en-teal); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--en-teal); }

.page-hero {
  background: url("../images/hero-globe.svg") no-repeat right -60px center / auto 150%,
              linear-gradient(135deg, var(--en-navy) 0%, var(--en-navy-2) 100%);
  color: #c9d6e6; padding: 3rem 0 3.25rem;
}
@media (max-width: 767.98px) { .page-hero { background-size: auto 110%, auto; background-position: right -120px center, 0 0; } }
.page-hero h1 { color: #fff; font-weight: 800; }
.page-hero .breadcrumb a { color: #c9d6e6; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: #8aa0bd; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--en-bg); }
.section-title { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-title p { color: var(--en-muted); font-size: 1.05rem; }

.trust-bar { background: #fff; border-bottom: 1px solid var(--en-border); padding: 1.25rem 0; color: var(--en-muted); font-weight: 500; }
.trust-bar i { color: var(--en-teal); }

.feature-card { background: #fff; border: 1px solid var(--en-border); border-radius: 1rem; padding: 1.75rem; height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,39,71,.08); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(14,165,164,.12); color: var(--en-teal); margin-bottom: 1rem; }
.feature-icon.accent { background: rgba(245,158,11,.15); color: var(--en-accent-dark); }
.feature-card p { color: var(--en-muted); }

.step { display: flex; gap: 1rem; }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--en-navy); color: #fff; font-weight: 700; display: grid; place-items: center; }

.price-card { background: #fff; border: 1px solid var(--en-border); border-radius: 1rem; padding: 2rem; height: 100%; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--en-accent); box-shadow: 0 20px 50px rgba(15,39,71,.12); position: relative; }
.price-card .badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--en-accent); color: #111; font-weight: 700; font-size: .75rem; padding: .3rem .8rem; border-radius: 999px; }
.price { font-size: 2.75rem; font-weight: 800; color: var(--en-navy); }
.price small { font-size: 1rem; color: var(--en-muted); font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.check-list li { padding: .35rem 0 .35rem 1.75rem; position: relative; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--en-teal); font-weight: 700; }
/* A list of what something does NOT do: crosses, not checks (document check page). */
.check-list.limits li::before { content: "\F622"; color: #b45309; }
/* Pricing (Views/Evaluation/Pricing.cshtml): below 992px the plan cards stack, one column, so no card is left alone on a row. */
.price-card h3, .plan-panel h3 { font-weight: 700; color: var(--en-navy); } /* Bootstrap's .h5 would make them light */
.plan-cta-note { margin-top: .6rem; text-align: center; font-size: .8rem; color: var(--en-muted); }
.plan-note { display: flex; gap: .6rem; align-items: flex-start; justify-content: center; max-width: 880px; margin-inline: auto; font-size: .95rem; color: var(--en-text); }
.plan-note > i { margin-top: .15rem; color: var(--en-teal); }
@media (max-width: 991.98px) { .plan-col { max-width: 520px; } }

.cta-band { background: linear-gradient(135deg, var(--en-navy-2), var(--en-navy)); color: #c9d6e6; border-radius: 1.25rem; padding: 3rem; }
.cta-band h2 { color: #fff; }

/* Book a demo page (Views/Home/BookDemo): a side column with the agenda, the Calendly iframe on the right. */
.demo-aside { padding: 2rem; background: var(--en-bg); }
.demo-embed iframe { display: block; width: 100%; height: 760px; border: 0; }
@media (max-width: 991.98px) { .demo-aside { padding: 1.5rem; } .demo-embed { border-top: 1px solid var(--en-border); } .demo-embed iframe { height: 980px; } }
@media (min-width: 992px) { .demo-embed { border-left: 1px solid var(--en-border); } }

/* ---------- Cards / panels ---------- */
.panel { background: #fff; border: 1px solid var(--en-border); border-radius: 1rem; padding: 1.5rem; }
.panel + .panel { margin-top: 1.5rem; }
.panel-title { font-size: 1.1rem; font-weight: 700; color: var(--en-navy); margin-bottom: 1rem; }
.lift { margin-top: -2.5rem; position: relative; z-index: 2; }

.form-label { font-weight: 600; font-size: .9rem; color: #334155; }
.form-control, .form-select { border-radius: .55rem; border-color: #cbd5e1; }
.form-section-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--en-teal); font-weight: 700; margin: 1.5rem 0 .75rem; }
.form-section-title:first-child { margin-top: 0; }

/* ---------- GPA calculator ---------- */
.gpa-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--en-muted); font-weight: 600; border-bottom-width: 1px; }
.gpa-table td { vertical-align: middle; }
.gpa-table .form-control, .gpa-table .form-select { min-width: 80px; }
.gpa-table .course-name { min-width: 180px; }
.btn-remove { color: #94a3b8; }
.btn-remove:hover { color: #dc2626; }

.gpa-result { position: sticky; top: 90px; }
.gpa-score { background: linear-gradient(135deg, var(--en-navy), var(--en-navy-2)); color: #fff; border-radius: 1rem; padding: 1.75rem; text-align: center; }
.gpa-score .value { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.gpa-score .value small { font-size: 1.1rem; font-weight: 500; color: #9fb3cc; }
.gpa-score .gpa-pill { display: inline-block; background: var(--en-accent); color: #111; font-weight: 800; border-radius: .5rem; padding: .15rem .7rem; margin-top: .75rem; }
.gpa-meter { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; margin-top: 1rem; overflow: hidden; }
.gpa-meter > div { height: 100%; background: var(--en-accent); border-radius: 99px; transition: width .3s ease; }
.stat-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--en-border); font-size: .92rem; }
.stat-row:last-child { border-bottom: 0; }
.stat-row span:first-child { color: var(--en-muted); }
.stat-row span:last-child { font-weight: 600; }
.grade-pill { display: inline-block; min-width: 2.3rem; text-align: center; font-weight: 700; border-radius: .4rem; padding: .1rem .45rem; background: #e0f2f1; color: #0f766e; font-size: .85rem; }
.grade-pill.f { background: #fee2e2; color: #b91c1c; }
.grade-pill.p { background: #e2e8f0; color: #475569; }

/* ---------- Grading scales ---------- */
.country-card { display: block; background: #fff; border: 1px solid var(--en-border); border-radius: .85rem; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--en-text); height: 100%; transition: border-color .15s, box-shadow .15s; }
.country-card:hover { border-color: var(--en-teal); box-shadow: 0 10px 30px rgba(15,39,71,.07); color: var(--en-text); }
.country-card h6 { margin: 0 0 .35rem; color: var(--en-navy); font-weight: 700; }
.country-card .scale-link { font-size: .88rem; color: var(--en-muted); }

.table-scale th { background: var(--en-bg); color: var(--en-navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

/* Country directory (/grading-scales): one card per country, flags from the flag-icons library. */
.country-tile { display: flex; flex-direction: column; gap: .6rem; }
.country-tile-head { display: flex; align-items: center; gap: .7rem; }
.country-tile-head h2 { font-size: 1.05rem; font-weight: 700; color: var(--en-navy); margin: 0; }
.tile-flag { width: 2rem; height: 1.5rem; border-radius: .25rem; box-shadow: 0 0 0 1px rgba(15,39,71,.12); flex: 0 0 auto; background-size: cover; }
.tile-flag-globe, .hero-flag-globe { display: grid; place-items: center; background: rgba(14,165,164,.12); color: var(--en-teal); box-shadow: none; }
.stage-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.stage-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: #0f766e; background: #e0f2f1; border-radius: 999px; padding: .15rem .55rem; }
.tile-main { font-size: .88rem; margin: 0; }
.tile-more { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--bs-link-color); }
.country-tile:hover .tile-more .bi { transform: translateX(3px); }
.tile-more .bi { display: inline-block; transition: transform .15s; }
.how-steps { padding-left: 1.2rem; margin: 0; }
.how-steps li + li { margin-top: .5rem; }
.faq-section { scroll-margin-top: 6rem; }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-item { border-top: 1px solid var(--en-border); padding: .75rem 0; }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item summary { font-weight: 600; color: var(--en-navy); cursor: pointer; }
.faq-item p { margin: .5rem 0 0; color: var(--en-muted); }

/* Country page (/grading-scales/{country}). */
.hero-flag { width: 3.2rem; height: 2.4rem; border-radius: .35rem; box-shadow: 0 0 0 2px rgba(255,255,255,.35); flex: 0 0 auto; background-size: cover; font-size: 1.4rem; }
.country-main .panel-title .bi { color: var(--en-teal); margin-right: .25rem; }
.edu-stages { list-style: none; padding: 0; margin: 1.25rem 0 .75rem; position: relative; }
.edu-stages::before { content: ""; position: absolute; left: 1.15rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--en-border); }
.edu-stage { display: flex; gap: .9rem; position: relative; padding: .45rem 0; }
.edu-stage-icon { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #fff; border: 2px solid var(--en-teal); color: var(--en-teal); z-index: 1; }
.edu-stage-school .edu-stage-icon { border-color: #94a3b8; color: #64748b; }
.edu-stage-doctorate .edu-stage-icon { border-color: var(--en-accent); color: var(--en-accent-dark); }
.edu-stage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; color: var(--en-navy); }
.edu-years { font-size: .78rem; font-weight: 600; color: var(--en-muted); background: var(--en-bg); border: 1px solid var(--en-border); border-radius: 999px; padding: .05rem .5rem; }
.edu-credential { font-size: .9rem; }

/* Degree reports: the education system in brief (a smaller timeline, the applicant's stage marked) and the U.S. comparison box. */
.edu-brief { border: 1px solid var(--en-border); border-radius: .8rem; padding: .9rem 1rem; margin-top: 1rem; background: #fff; break-inside: avoid; }
.edu-compact { margin: .5rem 0 0; }
.edu-compact::before { left: 1rem; }
.edu-compact .edu-stage { padding: .25rem 0; gap: .7rem; }
.edu-compact .edu-stage-icon { width: 2rem; height: 2rem; font-size: .9rem; }
.edu-stage.is-degree .edu-stage-icon { background: var(--en-navy); border-color: var(--en-navy); color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.edu-stage.is-degree .edu-stage-head strong { color: var(--en-navy); }
.comparison-box .value { font-size: 1.8rem; }
.degree-table th[scope="row"] { font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--en-navy); }
.degree-pairs .pair-title { margin-top: 1rem; }
.degree-sheet .sheet-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--en-muted); border-bottom: 1px solid var(--en-border); padding-bottom: .4rem; margin: 1.9rem 0 .9rem; font-weight: 700; }
.degree-sheet .degree-title { font-size: 1.65rem; font-weight: 800; color: var(--en-navy); line-height: 1.2; }
.degree-sheet .degree-original { font-size: 1.05rem; color: var(--en-muted); }
.degree-sheet .method-list li { margin-bottom: .3rem; }
@media print { .degree-sheet .sheet-h, .degree-sheet .edu-brief, .degree-sheet .stat-row { break-inside: avoid; } .degree-sheet .sheet-h { break-after: avoid; } }
.scale-tips { list-style: none; padding: 0; margin: 0; }
.scale-tips li { position: relative; padding: .35rem 0 .35rem 1.6rem; }
.scale-tips li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .35rem; color: var(--en-teal); }
.level-section { margin-top: 2rem; }
/* The Sources panel comes right after the last level section, which is not a .panel, so the .panel + .panel gap does not reach it: give it the sections' gap. */
.level-section + .panel { margin-top: 2rem; }
.level-head { display: flex; gap: .85rem; align-items: center; margin-bottom: 1rem; }
.level-head h2 { font-size: 1.35rem; font-weight: 800; color: var(--en-navy); margin: 0; }
.level-icon { width: 2.8rem; height: 2.8rem; border-radius: .75rem; display: grid; place-items: center; font-size: 1.3rem; background: rgba(14,165,164,.12); color: var(--en-teal); flex: 0 0 auto; }
.scale-card { scroll-margin-top: 6rem; }
.scale-card:target { border-color: var(--en-teal); box-shadow: 0 0 0 3px rgba(14,165,164,.18); }
.scale-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.scale-card-head h3 { font-size: 1.1rem; font-weight: 700; color: var(--en-navy); margin: 0; }
.scale-badges { display: flex; gap: .35rem; flex-wrap: wrap; }
.scale-badges .text-bg-light { border: 1px solid var(--en-border); }
.scale-description { color: var(--en-muted); font-size: .92rem; margin: .6rem 0 1rem; }
.scale-card .table-responsive { overflow-y: hidden; }
/* Phones: tighter cells and smaller headers (the uppercase "DESCRIPTION" alone was the widest word) so the tables fit
   without a sideways scroll. Very long single words carry soft hyphens in the data instead (Russia, 0041). */
@media (max-width: 575.98px) {
    .scale-card { padding: 1.25rem 1rem; }
    .table-scale { font-size: .875rem; }
    .table-scale td { hyphens: auto; }   /* English words such as "Distinction" (Australia at 360px) */
    .table-scale > :not(caption) > * > * { padding: .5rem .4rem; }
    .table-scale th { font-size: .7rem; letter-spacing: 0; }
}
.pass-rules { margin-top: 1.25rem; padding: .9rem 1rem; border-radius: .75rem; background: var(--en-bg); border: 1px solid var(--en-border); }
.pass-rules h4 { font-size: .95rem; font-weight: 700; color: var(--en-navy); margin-bottom: .5rem; }
.pass-rules .table { background: transparent; --bs-table-bg: transparent; }   /* the 1px screen-reader caption would add a scrollbar */
.scale-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.source-list { list-style: none; padding: 0; margin: 0; }
.source-list li { display: flex; gap: .85rem; padding: .85rem 0; border-top: 1px solid var(--en-border); }
.source-list li:first-child { border-top: 0; }
.source-kind { width: 2.1rem; height: 2.1rem; border-radius: .5rem; display: grid; place-items: center; flex: 0 0 auto; background: var(--en-bg); color: var(--en-navy); }
.source-title { font-weight: 600; }
.review-pill { display: inline-block; margin-top: .35rem; font-size: .72rem; font-weight: 600; border-radius: 999px; padding: .1rem .55rem; }
.review-pill.pending { background: #fef3c7; color: #92400e; }
.review-pill.done { background: #dcfce7; color: #166534; }
.country-side { margin-top: 1.5rem; }
/* Stays in view while scrolling only where it fits (~750px tall) below the 88px header. */
@media (min-width: 992px) and (min-height: 860px) { .country-side { position: sticky; top: 5.5rem; } }
/* "At a glance" card on the country page (Views/GradingScales/Country, sidebar). */
.glance-card .panel-title .bi { color: var(--en-teal); margin-right: .25rem; }
.glance-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--en-muted); margin-bottom: .4rem; }
.glance-label .bi { margin-right: .2rem; color: var(--en-teal); }
.glance-top { margin: -.35rem 0 .2rem; font-size: .9rem; color: var(--en-muted); }
.glance-value { font-weight: 600; line-height: 1.35; color: var(--en-navy); }
.glance-block { padding: .75rem 0 .1rem; }
.glance-passmarks { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.glance-passmarks li { display: flex; align-items: baseline; gap: .6rem; }
.glance-mark { flex: 0 0 auto; min-width: 2.4rem; color: var(--en-navy); }
.glance-name { font-size: .9rem; line-height: 1.35; }
.glance-foot { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--en-border); }
.glance-count { font-size: .9rem; color: var(--en-navy); white-space: nowrap; }
.glance-meter { height: 6px; border-radius: 999px; background: var(--en-border); overflow: hidden; margin: .5rem 0 .55rem; }
.glance-meter span { display: block; height: 100%; border-radius: 999px; background: var(--en-teal); }
.glance-meter.partial span { background: var(--en-accent); }
.mobile-cta + .panel { margin-top: 1.5rem; }
.mobile-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 1.5rem; padding: .9rem 1.1rem; border-radius: 1rem; background: rgba(14,165,164,.1); border: 1px solid rgba(14,165,164,.25); font-weight: 600; color: var(--en-navy); }
.on-this-page ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.on-this-page li + li { margin-top: .4rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1.25rem 1.75rem; border-left: 2px solid var(--en-border); margin-left: .5rem; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--en-teal); }

.progress-steps { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0 .5rem; }
.progress-steps::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 3px; background: var(--en-border); }
.progress-steps .ps { position: relative; text-align: center; flex: 1; font-size: .8rem; color: var(--en-muted); }
.progress-steps .ps .dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--en-border); margin: 0 auto .4rem; display: grid; place-items: center; }
.progress-steps .ps.done .dot { background: var(--en-teal); border-color: var(--en-teal); color: #fff; }
.progress-steps .ps.done { color: var(--en-navy); font-weight: 600; }

/* ---------- FAQ ---------- */
.accordion-button { font-weight: 600; color: var(--en-navy); }
.accordion-button:not(.collapsed) { background: var(--en-bg); color: var(--en-navy); box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--en-navy); color: #9fb3cc; padding: 3.5rem 0 1.5rem; margin-top: auto; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: .9rem; }
.site-footer a { color: #c9d6e6; text-decoration: none; line-height: 2; }
.site-footer a:hover { color: var(--en-accent); }
.site-footer hr { border-color: rgba(255,255,255,.12); opacity: 1; margin: 2rem 0 1.25rem; }

.summary-box { background: var(--en-bg); border-radius: .8rem; padding: 1rem 1.25rem; }
.summary-box .total { font-size: 1.6rem; font-weight: 800; color: var(--en-navy); }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  .gpa-result { position: static; }
}

/* ---------- Accounts (Identity pages, My orders) ---------- */
.identity-panel { padding: 2rem; }
.identity-panel h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.identity-panel h4 { font-size: 1.05rem; }
.manage-nav .nav-link { color: var(--en-text); border-radius: .55rem; padding: .55rem .8rem; font-weight: 500; }
.manage-nav .nav-link i { width: 1.25rem; display: inline-block; color: var(--en-muted); }
.manage-nav .nav-link:hover { background: var(--en-bg); }
.manage-nav .nav-link.active { background: var(--en-navy-2); color: #fff; }
.manage-nav .nav-link.active i { color: #fff; }
@media (min-width: 768px) { .manage-content { border-left: 1px solid var(--en-border); padding-left: 2rem; } }

.user-menu { border: 1px solid var(--en-border); font-weight: 600; }
.order-card { display: block; border: 1px solid var(--en-border); border-radius: .85rem; padding: 1rem 1.25rem; color: var(--en-text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.order-card:hover { border-color: var(--en-teal); box-shadow: 0 10px 30px rgba(15,39,71,.07); color: var(--en-text); }

/* ---------- Institution workspace ---------- */
.workspace-hero { padding: 2.25rem 0 3.5rem; }
/* Every workspace page starts its first block at the same height under the header. Pages whose content opens with a Bootstrap .row (GPA reports, Degree reports, Team)
   got 16px from the column's margin (the row's negative margin collapses into .lift's own and is lost); pages that open with a bare card or alert (Plan, Activity, Settings,
   Batches) did not, so the tabs jumped. The 16px is given to those as well. */
.workspace-hero + section > .lift > :first-child:not(.row) { margin-top: 1rem; }
.usage-info { margin-left: .35rem; color: #9fb3cc; font-size: .95rem; line-height: 1; text-decoration: none; vertical-align: -.1em; }
.usage-info:hover, .usage-info:focus-visible { color: #fff; }
.usage-popover { --bs-popover-max-width: 260px; --bs-popover-body-padding-x: 1rem; --bs-popover-body-padding-y: .8rem; --bs-popover-body-color: var(--en-navy); }
.workspace-tabs .nav-link { color: #c9d6e6; font-weight: 600; border-radius: .55rem; padding: .45rem .9rem; }
.workspace-tabs .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.workspace-tabs .nav-link.active { background: #fff; color: var(--en-navy); }
.step-dot { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--en-navy-2); color: #fff; font-size: .8rem; margin-right: .4rem; }
.gpa-chip { display: inline-block; min-width: 3.2rem; padding: .2rem .5rem; border-radius: .45rem; background: var(--en-bg); color: var(--en-navy); font-weight: 800; }

/* Institution workspace: review status pills, the status filter chips, and a report's history (Views/Institution). */
.rs { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 999px; border: 1px solid transparent; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.rs-draft { background: #f1f3f5; color: #495057; border-color: #dee2e6; }
.rs-ai { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.rs-review { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.rs-approved { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.rs-final { background: var(--en-navy); color: #fff; }
/* The review bar of an institution report (Views/Institution/Report.cshtml): status | assign to | next step, on a tinted band inside the white card; stacked under 860px. */
.review-bar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr) minmax(0, 1.4fr); background: #f3f5fd; border: 1px solid #e2e7f6; border-radius: .9rem; padding: 1.1rem 0; }
.review-cell { padding: .2rem 1.1rem; min-width: 0; }
.review-cell + .review-cell { border-left: 1px solid #dde3f2; }
.review-label { display: block; margin-bottom: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6b83; }
.review-text { font-size: .85rem; line-height: 1.4; color: #5b6b83; }
.review-status { display: flex; align-items: center; gap: 1rem; }
.review-status-text .review-text { margin-top: .5rem; }
.review-icon { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 3.9rem; height: 3.9rem; border-radius: 50%; font-size: 1.65rem; }
.review-icon-badge { position: absolute; top: -.3rem; right: -.2rem; font-size: 1.05rem; line-height: 1; }
.ri-draft { background: #e9ecef; color: #495057; }
.ri-ai { background: #e8e4fb; color: #5b3fd0; }
.ri-ai .review-icon-badge { color: #6d4fd8; }
.ri-review { background: #fdf0c9; color: #92400e; }
.ri-approved { background: #d9f5e3; color: #166534; }
.ri-final { background: #dfe6f1; color: var(--en-navy); }
.review-field { position: relative; }
.review-field > i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: #5b6b83; pointer-events: none; }
.review-field .form-select, .review-field .form-control { padding-left: 2.4rem; border-radius: .7rem; border-color: #d3dbea; background-color: #fff; }
.review-note > i { top: .62rem; transform: none; }
.review-note textarea { display: block; resize: none; line-height: 1.35; }
.review-actions { display: flex; gap: .6rem; margin-top: .6rem; }
.review-assign { display: block; width: 100%; margin-top: .6rem; border-radius: .7rem; font-weight: 600; padding: .5rem .75rem; }
.review-actions .btn { flex: 1 1 0; border-radius: .7rem; font-weight: 600; padding: .5rem .75rem; white-space: nowrap; }
.review-actions .btn-success { box-shadow: 0 6px 14px rgba(25, 135, 84, .22); }
@media (max-width: 859.98px) {
  .review-bar { grid-template-columns: minmax(0, 1fr); padding: .6rem 0 1rem; }
  .review-cell { padding: .9rem 1.1rem 0; }
  .review-cell + .review-cell { border-left: 0; border-top: 1px solid #dde3f2; margin-top: .9rem; }
}
.status-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.status-chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem; border: 1px solid var(--en-border); border-radius: 999px; color: var(--en-navy); background: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.status-chips a:hover { background: var(--en-bg); }
.status-chips a.active { background: var(--en-navy); border-color: var(--en-navy); color: #fff; }
.status-chips a.empty:not(.active) { color: #8a96a8; font-weight: 500; }
.status-chips .n { font-size: .75rem; font-weight: 700; opacity: .75; }
.event-list { position: relative; }
.event { display: flex; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--en-border); }
.event:last-child { border-bottom: 0; }
.event-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--en-bg); color: var(--en-navy); font-size: .85rem; }
.event-icon.ev-statuschanged { background: #dcfce7; color: #166534; }
.event-icon.ev-edited { background: #fef3c7; color: #92400e; }
.event-icon.ev-uploaded { background: #ede9fe; color: #5b21b6; }
.event-icon.ev-deleted { background: #fee2e2; color: #991b1b; }
.event-icon.ev-integritychecked { background: #e0f2fe; color: #075985; }
.integrity-finding { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem 0; border-top: 1px solid var(--en-border); }
.integrity-finding:first-of-type { border-top: 0; }
.sev { flex: 0 0 auto; min-width: 4.2rem; text-align: center; padding: .15rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.sev-high { background: #fee2e2; color: #991b1b; }
.sev-medium { background: #fef3c7; color: #92400e; }
.sev-low { background: #f1f3f5; color: #495057; }
/* "Verify this credential" (Views/Institution/_VerifyCredential): official sources of the report's country, two columns when there is room. */
.verify-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem 2rem; }
.verify-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--en-muted); margin: 0 0 .4rem; }
.verify-list { list-style: none; margin: 0; padding: 0; }
.verify-list li { padding: .55rem 0; border-top: 1px solid var(--en-border); }
.verify-list li:first-child { border-top: 0; padding-top: 0; }
.verify-link { font-weight: 600; text-decoration: none; }
.verify-link:hover, .verify-link:focus { text-decoration: underline; }
.verify-link .bi { font-size: .72em; }
.verify-host { margin-left: .35rem; font-size: .75rem; color: var(--en-muted); overflow-wrap: anywhere; }
.event-body { min-width: 0; }
.event-details { padding-left: 1.1rem; margin-top: .2rem; }
.event-details summary { cursor: pointer; }
.report-sheet { padding: 2rem; }
.report-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--en-muted); }
@media print {
  .workspace-hero, .alert { display: none !important; }
  .report-section { padding: 0 !important; }
  .report-section .lift { margin-top: 0 !important; max-width: 100% !important; }
  .report-sheet { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .gpa-score { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Keep header links on one line; the menu collapses below 1200px (navbar-expand-xl). */
.site-header .nav-link, .site-header .btn { white-space: nowrap; }
.user-menu { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
/* Institution members: a navy "Workspace" button next to the account menu, and an account menu that starts with who and which institution (_LoginPartial). */
.header-workspace { font-weight: 600; }
.account-menu-head { display: flex; align-items: center; gap: .75rem; min-width: 250px; padding: .6rem 1rem .4rem; }
.account-menu-head > .bi { font-size: 1.7rem; line-height: 1; color: var(--en-navy); }
.account-menu-name { font-weight: 700; line-height: 1.25; color: var(--en-navy); }
.account-menu-sub { font-size: .82rem; line-height: 1.3; color: var(--en-muted); overflow-wrap: anywhere; }
@media (max-width: 1199.98px) { .site-header .navbar-collapse { padding: .75rem 0; } }
/* From 1200px up the links sit in the middle of the page, not just after the logo: the logo, links and buttons share a
   three-column grid (the collapse wrapper is display: contents so its children become grid items). */
@media (min-width: 1200px) {
  .site-header .navbar > .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .site-header .navbar-collapse { display: contents !important; }
  .site-header .navbar-brand { justify-self: start; }
  .site-header .main-nav { grid-column: 2; flex-direction: row; justify-content: center; }
  .site-header .header-actions { grid-column: 3; justify-self: end; }
}
/* The container is 1140px wide up to 1399px: a long account name would push the centred links off-centre, so it is cut shorter there. */
@media (min-width: 1200px) and (max-width: 1399.98px) { .user-menu { max-width: 110px; } }

/* The validation summary renders even without errors; hide it until there is something to show. */
.validation-summary-valid { display: none; }

/* ---------- Account pages (restyled Identity scaffold) ---------- */
.manage-form { max-width: 480px; }
.feature-icon-danger { background: rgba(220, 38, 38, .1); color: #dc2626; }
.setup-steps { padding-left: 1.2rem; }
.setup-steps > li { margin-bottom: 1.5rem; }
.setup-steps > li::marker { font-weight: 700; color: var(--en-navy-2); }
.qr-code { width: 180px; height: 180px; padding: 8px; background: #fff; border: 1px solid var(--en-border); border-radius: .75rem; }
.qr-code svg { width: 100%; height: 100%; display: block; }
.recovery-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; max-width: 520px; }
.recovery-code { display: block; text-align: center; padding: .5rem; border: 1px dashed var(--en-border); border-radius: .5rem; background: var(--en-bg); color: var(--en-navy); font-size: 1rem; }

/* ---------- Manual Entry / Upload Transcript bar above the GPA forms (Views/Gpa/_EntryTabs) ---------- */
.entry-bar { padding: .35rem 1rem 0; margin-bottom: 1.5rem; }
.entry-tabs { gap: .25rem; flex-wrap: nowrap; }
.entry-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--en-muted); font-weight: 600; padding: .7rem .9rem .6rem; white-space: nowrap; }
.entry-tabs .nav-link:hover { color: var(--en-navy); }
.entry-tabs .nav-link.active { color: var(--en-navy); border-bottom-color: var(--en-teal); }
.entry-badge { display: inline-block; margin-left: .45rem; padding: .15rem .55rem; border-radius: 999px; background: #fde68a; color: #78350f; font-size: .68rem; font-weight: 700; letter-spacing: .02em; vertical-align: .08em; }
@media (max-width: 575.98px) { .entry-badge { display: none; } }
@media (max-width: 575.98px) {
  .entry-bar { padding: .25rem .5rem 0; }
  .entry-tabs .nav-item { flex: 1 1 0; }
  .entry-tabs .nav-link { width: 100%; padding: .65rem .25rem .55rem; font-size: .92rem; }
  .upload-box { flex-wrap: wrap; }
  .upload-box .btn { width: 100%; }
}
.upload-box { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 2px dashed var(--en-border); border-radius: .85rem; background: var(--en-bg); }
.upload-icon { font-size: 1.8rem; color: var(--en-teal); }
.gpa-table .term-cell { width: 130px; }
.gpa-table .course-term { min-width: 100px; }

/* Batches (Views/Batches): the drop zone, the list of files being sent, and the progress bar of one batch. */
.batch-drop { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 2rem 1rem; text-align: center; color: var(--en-navy); background: #f8fafc; border: 2px dashed var(--en-border); border-radius: .85rem; }
.batch-drop > .bi { font-size: 2rem; color: var(--en-teal); }
.batch-drop.dragover { border-color: var(--en-teal); box-shadow: 0 0 0 3px rgba(15, 168, 161, .15); }
.batch-drop.disabled { opacity: .6; pointer-events: none; }
.batch-choose { color: var(--en-teal); font-weight: 600; text-decoration: underline; cursor: pointer; }
.batch-files { list-style: none; margin: 1rem 0 .5rem; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.batch-file { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .35rem .6rem; background: #fff; border: 1px solid var(--en-border); border-radius: .5rem; }
.batch-file-name { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.batch-file-status { margin-left: auto; }
.batch-file .btn { margin-left: .25rem; }
.batch-bar { height: .85rem; }
