/* My DBHSE: shared visual system for learning and administration. */
:root {
  --border:var(--line);--panel:var(--surface);--white:var(--surface);--teal:var(--primary);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
:root[data-theme="apple"] {
  --bg:#f3f6f8;--surface:#fff;--surface-soft:#f7f9fa;--ink:#172e40;
  --muted:#576b7b;--faint:#687c8b;--line:#dde6eb;--primary:#087e8b;
  --primary-hover:#06616c;--on-primary:#fff;--rail:#122c3f;--rail-2:#234355;
  --rail-text:#d7e4eb;--rail-muted:#9db7c7;--accent:#83ddd2;--accent-ink:#123e42;
  --feature:#153b4c;--feature-2:#226575;--feature-muted:#c5e2e8;
  --notice:#edf7f8;--notice-ink:#315d66;--neutral:#087e8b;--neutral-bg:#e9f5f5;
  --shadow:0 3px 16px #162f4305;--focus:#008997;
}
body {--border:var(--line);--panel:var(--surface);--white:var(--surface);--teal:var(--primary);background-image:none;line-height:1.5}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
h1 {font-size:2rem;line-height:1.2;letter-spacing:-.045em}
h2 {font-size:1.125rem;line-height:1.4;letter-spacing:-.025em}
h3 {letter-spacing:-.015em}
button,a,input,textarea,select {touch-action:manipulation}
.shell {min-height:calc(100dvh - 44px)}
.preview-banner {min-height:44px;padding:6px 32px;font-size:.75rem;background:var(--surface);gap:14px}
.preview-banner .text-button {font-size:.75rem;min-height:30px}
.sidebar {width:250px;padding:27px 16px 22px;background:var(--rail);border-color:var(--rail-2);align-self:stretch}
.brand {font-size:1.25rem;gap:12px;margin:0 10px 32px;color:var(--rail-text)!important}
.brand small {font-size:.5625rem;letter-spacing:.14em;margin-top:5px;color:var(--rail-muted)}
.brand-mark {width:40px;height:43px;background:var(--rail-2)!important;color:var(--accent);border-color:#a5d9e02e!important;border-radius:10px}
.brand-mark span {display:none}
.workspace-label {font-size:.625rem;letter-spacing:.14em;margin:0 12px 12px;color:var(--rail-muted)}
.sidebar nav {max-height:none;overflow:visible}
.nav-item {padding:10px 12px;min-height:43px;font-size:.8125rem;border-radius:8px;gap:11px;color:var(--rail-text);margin-bottom:4px}
.nav-item .icon {width:18px;height:18px;opacity:.85}
.nav-item:hover {background:var(--rail-2);color:var(--rail-text)}
:root[data-theme="apple"] .sidebar .nav-item.active,.sidebar .nav-item.active {
  background:var(--rail-2);color:#fff;border-color:transparent;box-shadow:inset 3px 0 var(--accent)
}
.console-nav-heading {font-size:.5625rem;letter-spacing:.16em;font-weight:700;color:var(--rail-muted);padding:18px 12px 8px}
.sidebar-bottom {padding:28px 10px 0}
.discipline-caption {font-size:.5625rem;letter-spacing:.1em;margin-bottom:9px}
.discipline-rail {gap:7px;margin-bottom:17px}
.discipline-rail span {height:28px;width:28px;border-radius:6px;font-size:.625rem}
.install-action {font-size:.75rem;min-height:38px;color:var(--rail-text);border-color:#a5bfd944!important;border-radius:7px}
.official-logo {height:60px;margin-top:16px;border:0;border-radius:7px}
.official-logo img {height:45px}
.topbar {min-height:69px;padding:14px 32px;font-size:.75rem;background:var(--surface);gap:16px}
#breadcrumb {font-weight:500;color:var(--muted)}
.topbar-actions {gap:10px}
.network {display:inline-flex;align-items:center;gap:6px;font-size:.6875rem}
.network:before {content:"";display:block;width:6px;height:6px;border-radius:50%;background:var(--active)}
.avatar {height:34px;width:34px;font-size:.6875rem;border:1px solid var(--line)}
.button {border-radius:8px;min-height:43px;padding:10px 16px;font-size:.8125rem;font-weight:650;box-shadow:none}
.button.small {border-radius:7px;min-height:36px;padding:7px 11px;font-size:.75rem}
.button.light,.button.quiet {background:var(--surface);border-color:var(--line)}
.theme-button {font-size:.75rem;min-height:36px;padding:7px 10px;background:var(--surface-soft);border-color:var(--line)}
.theme-button .icon {width:16px;height:16px}
.button:hover {box-shadow:0 3px 9px #063d4710}
main {padding:32px;max-width:1540px}
.page-title {margin-bottom:26px;align-items:flex-end}
.page-title .eyebrow {font-size:.625rem;letter-spacing:.14em;margin-bottom:8px}
.page-title p {font-size:.875rem;max-width:650px;margin-bottom:0;line-height:1.65}
.eyebrow,.small-label {font-size:.625rem;letter-spacing:.12em}
.panel,.class-card,.summary,.feature-course {border-radius:12px}
.panel,.class-card {padding:24px;box-shadow:var(--shadow)}
.panel.table-panel {padding:0}
.summary-row {gap:16px;margin-bottom:26px}
.summary {padding:18px 20px;gap:15px;box-shadow:none}
.summary strong {font-size:1.6rem;font-weight:650;letter-spacing:-.04em}
.summary span:not(.summary-icon) {font-size:.75rem;margin-top:4px}
.summary-icon {width:41px;height:41px;border:0;border-radius:10px;background:var(--neutral-bg);color:var(--primary)}
.summary-icon.summary-photo {display:none}
.summary-photo img {display:none}
.section-head {margin-bottom:20px}
.section-head h2 small {font-size:.75rem;margin-top:5px}
.text-button {font-size:.8125rem;min-height:38px;font-weight:600}
.metadata,.row-text small,.helper {font-size:.75rem;line-height:1.65}
.row-text strong {font-size:.875rem}
.notice {font-size:.8125rem;border-radius:8px;padding:13px 16px;line-height:1.65}
.empty {padding:36px 24px;border-radius:10px;background:var(--surface-soft);font-size:.875rem}
.toolbar {padding:0;margin-bottom:18px;gap:12px}
.search {width:420px;min-height:43px;font-size:.8125rem;background:var(--surface)}
input,select,textarea {border-radius:8px;min-height:44px;border-color:var(--line);padding:11px 12px;line-height:1.45;transition:border-color .15s,box-shadow .15s}
input:hover,select:hover,textarea:hover {border-color:color-mix(in srgb,var(--primary) 40%,var(--line))}
input:focus,select:focus,textarea:focus {border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}
input[aria-invalid="true"] {border-color:var(--error)}
label {font-size:.8125rem;font-weight:600;margin:18px 0 7px}
th {font-size:.625rem;letter-spacing:.09em;padding:14px 20px;font-weight:650}
td {padding:19px 20px;font-size:.8125rem;line-height:1.5}
td small {font-size:.75rem;margin-top:5px}
.row-actions {gap:7px}
.record-person {gap:12px}
.profile-avatar {width:40px;height:40px;font-size:.75rem}
.badge {font-size:.6875rem;padding:4px 8px;border-radius:5px}
.course-tile:before {height:3px}
.course-tile .course-content h3,.enrolment-admin-course .course-content h3 {font-size:1rem;line-height:1.45}
.course-tile .course-icon,.course-icon {border-radius:8px}
.course-thumb {width:54px;height:58px}
.course-foot {gap:16px}
.feature-course {min-height:260px}
.feature-content {padding:28px}
.feature-content h2 {font-size:1.65rem}
.feature-photo {opacity:.85}
.list-row {padding:17px 0}
.list-row .file-icon {background:var(--neutral-bg);border-color:transparent}
.next-step {border-color:var(--line);border-left:3px solid var(--primary)}
.next-step h2 {font-size:1.4rem}
.learning-card {margin-bottom:22px}
.card-thumb {width:44px;height:40px;border-radius:8px}
.card-thumb>img {border-radius:8px;opacity:.9}
.card-thumb>span {display:none}
.photo-section-head {gap:12px}
.class-photo {height:100px;border-radius:8px}
.class-photo>span {display:none}
.learner-quick-actions {gap:15px;margin-top:-8px;margin-bottom:14px}
.career-feature {border-radius:12px}
.career-teaser {border-top:1px solid var(--line)}
.opportunity-card {border-radius:12px}
.opportunity-card .photo-section-head h2 {font-size:1.1rem}
.partner-logos {border-radius:10px;background:transparent;border:0;border-top:1px solid var(--line);box-shadow:none;margin-top:32px;padding:22px 0;gap:28px}
.partner-logos .logos-label {font-size:.6875rem;max-width:140px;color:var(--muted);font-weight:500}
.partner-logos .logo-row {gap:18px}
.partner-logos .partner-logo {height:64px;padding:10px 14px;border-radius:8px;border:1px solid var(--line);box-shadow:none}
.partner-logos .partner-logo img {height:40px;max-width:120px}
.partner-logos .logo-badge {display:none}
footer {padding:4px 32px 24px;font-size:.6875rem;gap:16px}
dialog {border-radius:14px;padding:26px;box-shadow:0 25px 100px #102b3e40}
dialog::backdrop {background:#0d253c80;backdrop-filter:blur(3px)}
.dialog-header {margin-bottom:8px}
.dialog-header h2 {font-size:1.25rem}
.icon-button {height:34px;width:34px;border-radius:7px}
.form-actions {padding-top:20px;margin-top:25px}
.enrolment-kind>label,.enrolment-course-option {border-color:var(--line)}
.enrolment-kind>label:has(input:checked),.enrolment-course-option.is-selected {border-color:var(--primary);background:var(--neutral-bg)}
.enrolment-admin-course>.notice {background:var(--surface-soft)}
.console-onboarding {margin:0 0 24px;padding:23px 25px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.console-onboarding-head {display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.console-onboarding h2 {font-size:1.15rem;margin:0 0 6px}
.console-onboarding p {font-size:.8125rem;color:var(--muted);margin:0;line-height:1.65}
.console-onboarding-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:23px 0 0;padding-top:22px;border-top:1px solid var(--line);list-style:none}
.console-onboarding-steps li {display:flex;gap:12px;align-items:flex-start}
.console-step-number {display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:8px;color:var(--primary);background:var(--neutral-bg);font-size:.6875rem;font-weight:700}
.console-onboarding-steps strong {font-size:.8125rem;font-weight:650;display:block;margin:2px 0 4px}
.console-onboarding-steps p {font-size:.75rem}
.console-records-heading {display:flex;justify-content:space-between;align-items:center;gap:18px;margin:28px 0 17px}
.console-records-heading h2 {font-size:1rem}
.console-records-heading span {font-size:.75rem;color:var(--muted)}
.console-records-empty {padding:45px 25px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.console-records-empty>.icon {width:30px;height:30px;color:var(--primary);padding:0;margin-bottom:14px}
.console-records-empty h3 {font-size:1.1rem;margin:0 0 7px}
.console-records-empty p {font-size:.8125rem;color:var(--muted);max-width:450px;margin:0 auto 19px}
.console-row-primary {font-weight:600}
.console-caption {font-size:.75rem;color:var(--muted)}
/* The sign-in workspace has one clear task and a separate admin identity. */
body:has(.portal-auth) {padding-bottom:0}
body:has(.portal-auth) .topbar {min-height:62px;background:transparent;border-bottom:0;padding:12px 38px}
body:has(.portal-auth) .preview-banner {padding:7px 38px;background:var(--surface);border-bottom:1px solid var(--line)}
body:has(.portal-auth) #breadcrumb {font-size:.75rem}
body:has(.portal-auth) .network,body:has(.portal-auth) #avatar {display:none}
body:has(.portal-auth) main {max-width:1220px;padding:10px 38px 22px}
body:has(.portal-auth) footer {max-width:1220px;margin:auto;padding:2px 38px 24px}
.portal-auth {display:grid;grid-template-columns:minmax(0,.9fr) minmax(370px,1.1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);box-shadow:0 15px 50px #15354708}
.portal-auth-story {position:relative;overflow:hidden;padding:35px 42px 27px;display:flex;flex-direction:column;background:#13354a;color:#fff}
.portal-auth-admin .portal-auth-story {background:#112e45}
.portal-auth-story:after {content:none}
.portal-auth-wordmark {position:relative;z-index:1;display:flex;gap:11px;align-items:center;font-size:1.2rem;font-weight:650;letter-spacing:-.03em}
.portal-auth-monogram {width:38px;height:40px;display:grid;place-items:center;border:1px solid #89c7cf66;border-radius:9px;background:#ffffff0a;font-size:.9375rem;letter-spacing:-.05em;color:#a1e8df}
.portal-auth-wordmark small {display:block;font-size:.5rem;font-weight:500;letter-spacing:.14em;color:#adc8d6;margin-top:4px}
.portal-auth-intro {position:relative;z-index:1;margin-top:44px}
.portal-auth-kicker {display:block;font-size:.5625rem;font-weight:650;letter-spacing:.16em;color:#94dbd5;margin-bottom:15px}
.portal-auth h1 {font-size:clamp(2.15rem,3vw,2.75rem);letter-spacing:-.045em;line-height:1.13;margin:0 0 19px;max-width:410px;color:#fff;font-weight:650}
.portal-auth-intro>p {font-size:.875rem;line-height:1.75;color:#c1d6e1;max-width:380px;margin:0}
.portal-auth-features {position:relative;z-index:1;display:grid;gap:19px;margin:30px 0 35px}
.portal-auth-feature {display:flex;gap:13px;align-items:flex-start}
.portal-auth-feature>span {font-size:.5625rem;color:#8ed8d0;font-weight:650;line-height:1;padding-top:5px;letter-spacing:.05em}
.portal-auth-feature h3 {color:#f3f9fc;font-size:.8125rem;font-weight:600;margin:0 0 4px;line-height:1.4}
.portal-auth-feature p {font-size:.75rem;line-height:1.65;color:#adcad8;max-width:330px;margin:0}
.portal-auth-signature {position:relative;z-index:1;margin-top:auto;padding-top:19px;border-top:1px solid #ffffff1c;display:flex;align-items:center;gap:7px;font-size:.625rem;color:#c5d8e2;flex-wrap:wrap}
.portal-auth-signature>span:last-child {margin-left:auto;color:#9abacb;font-size:.5625rem}
.portal-auth-dot {width:5px;height:5px;border-radius:50%;background:#8fdcd1}
.portal-auth .portal-auth-form {padding:39px 44px 27px;border:0;border-radius:0;box-shadow:none;min-width:0;background:var(--surface);display:flex;flex-direction:column;justify-content:center}
.portal-auth .registration-logo {margin:0 0 26px;height:53px;align-items:center}
.portal-auth .registration-logo img {width:126px;height:54px;object-fit:contain}
.portal-auth-form .eyebrow {font-size:.5625rem;font-weight:700;letter-spacing:.15em;color:var(--primary);margin-bottom:11px}
.portal-auth-form h2 {font-size:1.7rem;line-height:1.2;font-weight:650;letter-spacing:-.04em;margin:0 0 11px}
.portal-auth-form form>p {font-size:.8125rem;color:var(--muted);line-height:1.7;margin:0 0 23px}
.portal-auth-form label {font-size:.75rem;margin:20px 0 8px}
.portal-auth-form input {font-size:.875rem;min-height:46px;background:var(--surface-soft);border-radius:7px}
.portal-auth-form input::placeholder {font-size:.8125rem;color:var(--faint)}
.portal-auth-form form>.button {border-radius:7px;min-height:46px;font-size:.8125rem;margin-top:24px;justify-content:space-between;padding-left:17px;padding-right:17px}
.portal-auth-form form>.button span {font-size:1.2rem;font-weight:400;line-height:1}
.portal-auth-form form>.helper {margin:14px 0 0;font-size:.75rem;line-height:1.65}
.portal-password-label {display:flex;align-items:end;justify-content:space-between;gap:12px}
.portal-password-label .text-button {font-size:.6875rem;min-height:30px;margin-bottom:1px}
.portal-password-field {position:relative}
.portal-password-field input {padding-right:62px}
.portal-password-toggle {position:absolute;right:1px;top:1px;bottom:1px;padding:0 13px;background:transparent;color:var(--muted);border:0;border-radius:7px;font-size:.6875rem;font-weight:600}
.portal-password-toggle:hover {background:var(--neutral-bg);color:var(--primary)}
.portal-auth-form .registration-links {margin-top:20px;padding-top:11px;justify-content:flex-start}
.portal-auth-form .registration-links .text-button {font-size:.6875rem}
.portal-signin-note {font-size:.75rem;color:var(--muted);padding-top:17px;margin-top:23px;border-top:1px solid var(--line);line-height:1.6}
.portal-auth #live-auth-message {font-size:.75rem;line-height:1.6;color:var(--primary);margin:14px 0 0;min-height:0}
.portal-auth #live-auth-message:not(:empty) {padding:11px 13px;background:var(--notice);border:1px solid var(--line);border-radius:7px}
.portal-auth-partners .partner-logos {margin:0;padding:22px 0 0;border:0;gap:25px}
.portal-auth-partners .partner-logos .logos-label {font-size:.625rem;max-width:100px}
.portal-auth-partners .logo-row {display:flex;justify-content:flex-end;gap:24px}
.portal-auth-partners .partner-logo {height:44px;width:130px;border:0;padding:4px 12px;background:transparent}
.portal-auth-partners .partner-logo img {height:34px;max-width:110px}
.portal-auth-partners .partner-logo:nth-child(2),.portal-auth-partners .partner-logo:nth-child(3) {width:85px}
@media(min-width:1000px) {
  .sidebar {position:sticky;top:0;height:100dvh;overflow-y:auto;scrollbar-width:thin}
}
@media(max-width:1150px) {
  .sidebar {width:222px;padding-left:12px;padding-right:12px}
  main {padding:27px 25px}.topbar {padding:13px 25px}
  .dashboard-grid {grid-template-columns:1fr}.dashboard-secondary {grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-auth-story {padding:32px}.portal-auth .portal-auth-form {padding:35px 32px}
  .portal-auth h1 {font-size:2.3rem}
}
@media(max-width:850px) {
  .portal-auth {grid-template-columns:minmax(0,.9fr) minmax(330px,1fr)}
  .portal-auth-story {padding:28px}.portal-auth .portal-auth-form {padding:31px 28px}
  .portal-auth h1 {font-size:2rem}.portal-auth-intro {margin-top:34px}
  .portal-auth-features {gap:17px}.portal-auth-signature>span:last-child {display:none}
  .console-onboarding-steps {gap:17px}
}
@media(max-width:720px) {
  .sidebar {position:static;height:auto;width:100%;padding:17px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;background:var(--rail)}
  .sidebar #navigation,.workspace-label,.sidebar-bottom {display:none}
  .brand {margin:0;font-size:1.15rem;gap:10px}.brand small {font-size:.5rem}.brand-mark {width:33px;height:36px;font-size:.8125rem}
  .preview-banner {padding:7px 18px;font-size:.6875rem;min-height:40px;gap:8px;align-items:flex-start}
  .preview-banner>div {gap:9px;flex-wrap:wrap;justify-content:flex-end}
  .preview-banner .text-button {font-size:.6875rem;min-height:26px}
  .topbar {padding:12px 18px;min-height:60px;gap:12px}.topbar #breadcrumb {font-size:.6875rem;max-width:none}
  .topbar .network {display:none}.topbar .theme-button {min-height:34px;padding:7px 9px}
  main {padding:25px 18px 28px}
  h1 {font-size:1.75rem}.page-title {align-items:flex-start;gap:16px;margin-bottom:23px}
  .page-title p {font-size:.8125rem}.page-title>.button,.page-title>.row-actions {flex-shrink:0}
  .summary-row {gap:9px;margin-bottom:23px}.summary {padding:16px 13px;display:block;border-radius:10px}
  .summary .summary-icon {display:none}.summary strong {font-size:1.45rem}.summary span:not(.summary-icon) {font-size:.625rem;line-height:1.5}
  .panel,.class-card {padding:21px;border-radius:11px}.panel.table-panel {padding:0}
  .dashboard-grid,.dashboard-primary,.dashboard-secondary {gap:18px}.dashboard-secondary {grid-template-columns:1fr}
  .feature-course {min-height:260px}.feature-content {padding:24px 20px}.feature-content h2 {font-size:1.3rem}
  .course-top {gap:12px}.course-tile .course-content h3 {font-size:.9375rem}
  .list-row>.row-actions {margin-left:0}.row-text small {font-size:.75rem}.list-row .row-text {min-width:140px}
  .toolbar {margin-bottom:16px}.toolbar .search {width:100%;font-size:1rem}
  .learner-table tr {border-radius:11px;padding:3px 16px}
  .learner-table td {font-size:.8125rem}.learner-table td[data-label]:before {font-size:.6875rem}
  .learner-table .row-actions .button {font-size:.6875rem;padding:8px 10px;min-height:39px;flex:1 0 28%}
  .partner-logos {padding:21px 0;margin-top:25px}.partner-logos .logos-label {font-size:.6875rem;margin-bottom:14px}
  .partner-logos .logo-row {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .partner-logos .partner-logo {height:48px;padding:8px;border-radius:6px}.partner-logos .partner-logo img {height:30px}
  .console-onboarding {padding:21px}.console-onboarding-head {display:block}.console-onboarding-head .button {margin-top:16px}
  .console-onboarding-steps {grid-template-columns:1fr;gap:19px;margin-top:21px;padding-top:21px}
  .console-records-heading {margin-top:24px}.console-records-heading span {font-size:.6875rem}
  .console-records-empty {padding:34px 23px}
  .console-records-empty p {font-size:.8125rem}
  footer {padding:3px 18px 25px;font-size:.625rem;gap:7px}
  dialog {padding:22px;border-radius:12px;max-height:calc(100dvh - 32px)}
  input,select,textarea {font-size:1rem}.form-grid {gap:0}.form-actions {gap:9px}
  .mobile-nav-item {font-size:.625rem;padding-top:8px;gap:5px;color:var(--muted)}
  .mobile-nav-item.active {color:var(--primary);background:var(--neutral-bg);border-radius:7px}
  .portal-auth {display:flex;flex-direction:column;border-radius:13px;box-shadow:0 8px 30px #15354708}
  .portal-auth-story {padding:26px 26px 24px}
  .portal-auth-wordmark {font-size:1.1rem}.portal-auth-monogram {width:32px;height:34px;font-size:.8125rem}
  .portal-auth-intro {margin-top:27px}.portal-auth h1 {font-size:2.05rem;margin-bottom:12px;max-width:100%}
  .portal-auth-intro>p {font-size:.8125rem;max-width:100%}.portal-auth-kicker {font-size:.5rem;margin-bottom:11px}
  .portal-auth-features,.portal-auth-signature {display:none}
  .portal-auth .portal-auth-form {padding:26px}
  .portal-auth .registration-logo {margin-bottom:22px;height:45px}.portal-auth .registration-logo img {height:45px;width:115px}
  .portal-auth-form h2 {font-size:1.5rem}.portal-auth-form form>p {font-size:.8125rem;margin-bottom:21px}
  .portal-auth-form input {font-size:1rem;min-height:47px}
  .portal-auth-form label {font-size:.75rem;margin-top:18px}.portal-auth-form .text-button {font-size:.75rem}
  .portal-auth-form form>.button {font-size:.875rem;min-height:47px}.portal-auth-form form>.helper {font-size:.6875rem}
  body:has(.portal-auth) .preview-banner {padding:7px 18px;align-items:center}
  body:has(.portal-auth) .topbar {padding:10px 18px;min-height:52px}
  body:has(.portal-auth) main {padding:4px 18px 18px}
  body:has(.portal-auth) footer {padding:0 18px 23px}
  .portal-auth-partners .partner-logos {padding-top:19px;display:block}
  .portal-auth-partners .partner-logos .logos-label {margin-bottom:12px;font-size:.625rem}
  .portal-auth-partners .logo-row {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .portal-auth-partners .partner-logo,.portal-auth-partners .partner-logo:nth-child(2),.portal-auth-partners .partner-logo:nth-child(3) {width:auto;height:35px;padding:4px;background:#fff;border-radius:5px}
  .portal-auth-partners .partner-logo img {height:26px}
}
@media(prefers-reduced-motion:reduce) {
  .course-tile:hover,.opportunity-card:hover {transform:none}
}

/* Keep the familiar DB HSE portrait, world montage and welcome jet. */
.portal-auth:has(.portal-auth-world) .portal-auth-intro {margin-top:27px}
.portal-auth:has(.portal-auth-world) h1 {font-size:clamp(2rem,2.7vw,2.4rem);margin-bottom:13px}
.portal-auth-visual {position:relative;z-index:1;margin-top:22px}
.portal-auth-story .portal-auth-world {height:220px;border:1px solid #ffffff26;border-radius:12px;background:#153b4c;isolation:isolate}
.portal-auth-world .world-architecture {opacity:.8;object-position:35% center;filter:none}
/* Keep the complete portrait inside its frame at every viewport width. */
.portal-auth-world .world-portrait {right:8px;bottom:0;width:44%;max-width:160px;height:100%;object-fit:contain;object-position:center bottom;mask-image:none;-webkit-mask-image:none;filter:none;opacity:1;z-index:2}
.portal-auth-world:after {background:linear-gradient(0deg,#0f3147d9,transparent 74%)}
.portal-auth-world .world-caption {left:19px;bottom:19px;color:#fff;max-width:44%;font-size:1rem;line-height:1.4;letter-spacing:-.02em;text-shadow:0 2px 10px #082a45}
.portal-auth-image-note {display:block;margin:7px 0 0;color:#a2becd;font-size:.5625rem;line-height:1.45}
.portal-auth-flight {position:relative;z-index:1;margin:7px 0 17px}
.portal-auth-flight .welcome-flight {width:100%;height:65px;margin:0}
.portal-auth-flight .welcome-flight svg {width:100%;height:48px;overflow:visible;display:block}
.portal-auth-flight .flight-base {stroke:#8db9cb;opacity:.38;stroke-dasharray:3 8}
.portal-auth-flight .flight-line {stroke:#8ee0d4;stroke-width:2}
.portal-auth-flight .flight-plane {width:29px;height:29px;background:#a2eee2;color:#133b4c;box-shadow:0 3px 12px #09263c44}
.portal-auth-flight .flight-plane .icon {width:19px;height:19px;transform:rotate(68deg)}
.portal-auth-flight .flight-labels {padding-top:5px;color:#b6d3df;font-size:.625rem;letter-spacing:.02em}
.portal-flight-controls {display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap;margin-top:10px;min-height:27px}
.portal-flight-controls>span {margin-right:auto;font-size:.5625rem;color:#a2c4d5;line-height:1.5}
.portal-flight-controls button {border:0;padding:5px 0;min-height:29px;background:transparent;color:#b3e9e6;font-size:.5625rem;font-weight:600;text-underline-offset:3px}
.portal-flight-controls button:hover {text-decoration:underline}
.portal-flight-controls button:disabled {color:#b5cbd6;opacity:.8;cursor:default;text-decoration:none}
@media(prefers-reduced-motion:no-preference) {
  .portal-auth-world {animation:portal-world-enter .6s ease-out both}
  @keyframes portal-world-enter {from {opacity:0;transform:translateY(5px)}to {opacity:1;transform:translateY(0)}}
}
@media(max-width:1000px) {
  .portal-auth-story .portal-auth-world {height:205px}
  .portal-auth:has(.portal-auth-world) h1 {font-size:2.1rem}
  .portal-flight-controls {gap:10px}
  .portal-flight-controls>span {width:100%}
}
@media(min-width:721px) {
  .portal-auth:has(.portal-auth-world) .portal-auth-story {padding:26px 32px 22px}
  .portal-auth:has(.portal-auth-world) .portal-auth-intro {margin-top:18px}
  .portal-auth:has(.portal-auth-world) h1 {font-size:clamp(1.85rem,2.3vw,2.1rem);line-height:1.12;margin-bottom:10px}
  .portal-auth:has(.portal-auth-world) .portal-auth-intro>p {font-size:.8125rem;line-height:1.55}
  .portal-auth-visual {margin-top:16px}
  .portal-auth-story .portal-auth-world {height:180px}
  .portal-auth-world:after {background:linear-gradient(0deg,#0f314780,transparent 58%)}
  .portal-auth-world .world-architecture {opacity:.8;filter:none}
  .portal-auth-flight {margin-top:4px;margin-bottom:10px}
  .portal-flight-controls {margin-top:4px}
  .portal-auth-signature {padding-top:12px}
}
@media(max-width:720px) {
  /* Put the sign-in task first; keep the welcome photo and jet below it. */
  .portal-auth:has(.portal-auth-world) .portal-auth-form {order:-1}
  .portal-auth:has(.portal-auth-world) .portal-auth-story {padding:24px 26px 20px}
  .portal-auth:has(.portal-auth-world) .portal-auth-intro {margin-top:23px}
  .portal-auth:has(.portal-auth-world) h1 {font-size:1.95rem;margin-bottom:12px}
  .portal-auth:has(.portal-auth-world) .portal-auth-intro>p {font-size:.75rem;line-height:1.65}
  .portal-auth-visual {margin-top:20px}
  .portal-auth-story .portal-auth-world {height:180px;border-radius:10px}
  .portal-auth-world .world-caption {left:16px;bottom:16px;font-size:.9375rem}
  .portal-auth-world .world-portrait {width:44%;max-width:140px}
  .portal-auth-image-note {font-size:.5rem}
  .portal-auth-flight {margin-bottom:0}
  .portal-auth-flight .welcome-flight {height:60px}
  .portal-auth-flight .welcome-flight svg {height:43px}
  .portal-auth-flight .flight-plane {width:26px;height:26px}
  .portal-flight-controls {margin-top:10px;gap:15px}
  .portal-flight-controls>span {width:auto;max-width:45%;font-size:.5rem}
  .portal-flight-controls button {font-size:.5625rem;min-height:30px}
}
