@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --aph-navy: #002b45;
  --aph-navy-light: #17465f;
  --aph-cream: #f5f1ea;
  --aph-paper: #ffffff;
  --aph-gold: #d4af37;
  --aph-link: #8a6f13;
  --aph-ink: #2a2a2a;
  --aph-muted: #666666;
  --aph-border: #ded8ce;
  --aph-sage: #71806a;
  --aph-sage-soft: #e7ece4;
  --aph-ochre: #9b7738;
  --aph-ochre-soft: #f1eadc;
  --aph-clay: #945f54;
  --aph-clay-soft: #f0e5e1;
  --aph-dusty-blue: #6f8492;
  --aph-dusty-blue-soft: #e6ebee;
  --aph-plum: #7f7382;
  --aph-plum-soft: #ece8ed;
  --primary-color: var(--aph-navy);
  --primary-light: var(--aph-navy-light);
  --primary-dark: #001c2d;
  --secondary-color: var(--aph-gold);
  --heading-color: var(--aph-navy);
  --background: var(--aph-cream);
  --surface: var(--aph-paper);
  --surface-alt: #faf8f4;
  --border: var(--aph-border);
  --border-light: #eee9e0;
  --text-primary: var(--aph-ink);
  --text-secondary: var(--aph-muted);
  --text-tertiary: #817b72;
  --black: var(--aph-navy);
  --charcoal: var(--aph-ink);
  --dark-surface: #073b58;
  --warm-cream: var(--aph-cream);
}

html, body { background-color: var(--aph-cream); color: var(--aph-ink); }
body, button, input, select, textarea { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }
h1, h2, h3, .section-title, .choice-heading, .hero-title, .dashboard-header h1,
.page-title, .lesson-title, .modal-title, .auth-title, .quiz-title {
  font-family: "Playfair Display", Georgia, serif !important;
  color: var(--aph-navy);
  letter-spacing: -.02em;
}
a { color: var(--aph-link); }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--aph-gold) !important; outline-offset: 3px; }

.topbar, .bottom-nav {
  background: var(--aph-navy) !important;
  color: #fff;
}
.sidebar {
  background: #fff !important;
  color: var(--aph-ink) !important;
  border-right: 1px solid var(--aph-border) !important;
  box-shadow: 8px 0 30px rgba(0,43,69,.05);
}
.sidebar .logo, .sidebar .nav-item, .sidebar .nav-icon, .sidebar .drawer-toggle {
  color: var(--aph-ink) !important;
}
.sidebar .logo img { background:#fff; border:1px solid var(--aph-border); }
.sidebar .nav-item.active,
.sidebar .nav-item.category-header.active {
  background: var(--aph-ochre-soft) !important;
  color: var(--aph-navy) !important;
  box-shadow: inset 3px 0 0 var(--aph-gold);
}
.bottom-nav-item.active { background:rgba(212,175,55,.17)!important; color:#fff!important; }
.sidebar .nav-item:hover { background: var(--aph-cream) !important; color:var(--aph-navy)!important; }
.sidebar .nav-section-title, .sidebar .workspace-info { color: #6f6a62 !important; }
.sidebar .nav-badge { background: var(--aph-gold) !important; color: var(--aph-navy) !important; }
.sidebar .nav-badge.badge-special { background:var(--aph-ochre-soft)!important; color:var(--aph-navy)!important; }
.sidebar-header { border-bottom-color:var(--aph-border)!important; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--aph-gold) !important; }

.nav { background-color:#fff!important; color:var(--aph-ink)!important; }
.hero { background-color: var(--aph-cream) !important; }
.hero-title, .hero .section-title, .hero h1 { color: var(--aph-navy) !important; }
.hero-accent, .hero-eyebrow, .eyebrow, .quick-start-label { color: var(--aph-gold) !important; }

.btn, .nav-cta, button.primary, .primary-button, .btn-primary,
.submit-btn, .save-btn, .auth-button, .quiz-submit {
  border-radius: 6px !important;
  font-family: Inter, sans-serif !important;
  font-weight: 700;
}
.btn-primary, button.primary, .primary-button, .submit-btn, .save-btn, .auth-button, .quiz-submit {
  background: var(--aph-navy) !important;
  color: #fff !important;
  border-color: var(--aph-navy) !important;
}
.nav-cta, .btn-light { background: #fff !important; color: var(--aph-navy) !important; }

.dashboard-card, .card, .content-card, .course-card, .tool-card, .challenge-card,
.quiz-card, .modal-content, .auth-card, .panel {
  background: #fff;
  border-color: var(--aph-border) !important;
  box-shadow: 0 10px 34px rgba(0,43,69,.07);
}
.progress-fill, .progress-bar-fill { background: var(--aph-gold) !important; }
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--aph-navy) !important; }

/* Public AI Excellence landing page */
.nav { border-bottom-color: var(--aph-border) !important; }
.nav-logo { color: var(--aph-navy) !important; border-radius: 2px !important; overflow:hidden; background:#fff!important; }
.nav-logo img { width:100%; height:100%; display:block; object-fit:contain; }
.nav-login { color: var(--aph-navy) !important; }
.nav-login:hover { color: var(--aph-navy) !important; }
.choice-section, .programmes-section, .pricing-section, .method, .finder { background-color: var(--aph-cream); }
.section-title, .choice-heading { color: var(--aph-navy) !important; }

@media (max-width: 768px) {
  h1, .hero-title { letter-spacing: -.025em; }
  .bottom-drawer { background: var(--aph-navy) !important; }
}


/* 2026-09-17 corporate surface correction: white work areas, navy structure, gold accents, square geometry. */
:root { --aph-radius: 2px; }
body { background: var(--aph-cream) !important; }
a { color: var(--aph-link); }
:where(.login-container,.signup-container,.verify-container,.auth-card,.dashboard-card,.card,.content-card,.course-card,.tool-card,.challenge-card,.quiz-card,.panel,.modal-content,.schedule-modal,#pageContent,.main-content) { background-color: #fff; }
:where(.login-container,.signup-container,.verify-container,.auth-card,.dashboard-card,.card,.content-card,.course-card,.tool-card,.challenge-card,.quiz-card,.panel,.modal-content,.schedule-modal,input,select,textarea,button,.btn,.nav-cta,.primary-button,.btn-primary,.submit-btn,.save-btn,.auth-button,.quiz-submit) { border-radius: var(--aph-radius) !important; }
.login-header,.signup-header,.verify-header,.auth-header { background: var(--aph-navy) !important; color:#fff !important; }
.login-header h1,.signup-header h1,.verify-header h1,.auth-header h1 { color:#fff !important; }
.btn-login,.btn-signup,.btn-submit,.auth-button { background:var(--aph-navy) !important; border-color:var(--aph-navy) !important; color:#fff !important; }
.btn-login:hover,.btn-signup:hover,.btn-submit:hover,.auth-button:hover { background:var(--aph-navy-light) !important; border-color:var(--aph-navy-light) !important; }
.login-logo,.signup-logo { border-radius:0 !important; }
.ai-assist-panel,.tools-pill,.ai-msg,.ai-assist-input,.ai-assist-send,.ai-assist-close,.isha-review { border-radius:2px !important; }
.ai-assist-header { background:var(--aph-navy) !important; }
.ai-assist-panel,.ai-assist-messages,.ai-assist-input-row { background:#fff !important; }
.ai-msg.user { background:var(--aph-navy) !important; }
.ai-msg.bot { background:#f7f7f5 !important; }
.tools-pill { background:var(--aph-navy) !important; }
.reframe-section,.footer { background:var(--aph-navy) !important; }

@media (max-width: 1024px) {
  html,body { width:100% !important; max-width:100% !important; overflow-x:hidden !important; }
  body { zoom:1 !important; }
  .app-container { width:100% !important; max-width:100vw !important; min-width:0 !important; }
  .main-content { width:100% !important; max-width:100vw !important; min-width:0 !important; box-sizing:border-box !important; }
  #pageContent { width:100% !important; max-width:100% !important; min-width:0 !important; overflow-x:hidden !important; background:#fff !important; }
}
@media (max-width: 768px) {
  .main-content { margin-left:0 !important; left:0 !important; right:0 !important; }
  .top-nav { width:100% !important; max-width:100vw !important; }
}
.top-nav { background:var(--aph-navy) !important; color:#fff !important; }
.signup-link a,.forgot-password,.footer a { color:var(--aph-link) !important; }
#pageContent .action-card,#pageContent .schedule-section,#pageContent .schedule-slide>div,#pageContent [class*="-card"],#pageContent [class*="-panel"],#pageContent [class*="-section"] { border-radius:2px !important; }
.brand-system-icon{display:inline-flex;width:1.25em;height:1.25em;vertical-align:-.2em;color:currentColor}.brand-system-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:square;stroke-linejoin:miter}
.btn-practitioner,.toast,.submit-btn:hover { background:var(--aph-navy) !important; border-color:var(--aph-navy) !important; color:#fff !important; }
.btn-practitioner:hover,.toast:hover { background:var(--aph-navy-light) !important; }
.terms-checkbox a { color:var(--aph-link) !important; }

/* Shared public Hub footer. */
.footer{background:var(--aph-navy)!important;color:rgba(255,255,255,.58)!important;padding:40px clamp(20px,5vw,80px)!important}
.footer .footer-inner{width:100%;max-width:none;margin:0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;padding:0!important}
.footer .footer-brand{display:flex;align-items:center;gap:10px;color:#fff!important;font:700 .88rem Inter,sans-serif}
.footer .footer-brand .nav-logo{width:42px;height:42px;background:#fff!important;overflow:hidden}
.footer .footer-brand .nav-logo img{width:100%;height:100%;object-fit:contain;display:block}
.footer .footer-links{display:flex;gap:24px;flex-wrap:wrap}
.footer .footer-links a{font-size:.82rem;color:rgba(255,255,255,.66)!important;text-decoration:none}
.footer .footer-links a:hover{color:#fff!important}
.footer .footer-copy p{font-size:.72rem;color:rgba(255,255,255,.44)!important;line-height:1.5;text-align:right;margin:0}
@media(max-width:768px){.footer .footer-inner{flex-direction:column;text-align:center}.footer .footer-copy p{text-align:center}.footer .footer-links{justify-content:center}}

/* Corporate semantic colours: clear states without consumer-app brights. */
:root {
  --success-color: var(--aph-sage);
  --warning-color: var(--aph-ochre);
  --error-color: var(--aph-clay);
  --info-color: var(--aph-dusty-blue);
}
:where(.success,.success-message,.alert-success,.status-success,.badge-success,.completed,.approved) {
  background-color:var(--aph-sage-soft)!important; border-color:var(--aph-sage)!important; color:#33412f!important;
}
:where(.warning,.warning-message,.alert-warning,.status-warning,.badge-warning,.pending) {
  background-color:var(--aph-ochre-soft)!important; border-color:var(--aph-ochre)!important; color:#5d471f!important;
}
:where(.error,.error-message,.alert-error,.status-error,.badge-error,.danger,.rejected) {
  background-color:var(--aph-clay-soft)!important; border-color:var(--aph-clay)!important; color:#643c34!important;
}
:where(.info,.info-message,.alert-info,.status-info,.badge-info) {
  background-color:var(--aph-dusty-blue-soft)!important; border-color:var(--aph-dusty-blue)!important; color:#3f5360!important;
}
#successToast,.toast.success { background:var(--aph-sage)!important; color:#fff!important; }
.tee-badge { background:var(--aph-sage)!important; border:1px solid rgba(0,43,69,.16)!important; }

/* Heading contrast follows the surface underneath it. */
#pageContent :where(h1,h2,h3,h4,.page-title,.section-title,.dashboard-header h1) { color:var(--aph-navy)!important; }
:where(.top-nav,.footer,.reframe-section,.final-cta-section,.testimonials-section,.sd-spotlight,.ai-assist-header,.bottom-drawer) :where(h1,h2,h3,h4,.section-title,.page-title) { color:#fff!important; }
:where(.hero,.top-nav,.footer,.reframe-section,.final-cta-section,.testimonials-section,.sd-spotlight,.ai-assist-header,.bottom-drawer) :where(.eyebrow,.kicker,.overline,.accent,.hero-accent) { color:var(--aph-gold)!important; }
:where([style*="background: #059669"],[style*="background:#059669"],[style*="background: #10b981"],[style*="background:#10b981"],[style*="background: #22c55e"],[style*="background:#22c55e"]) { background:var(--aph-sage)!important; }
:where([style*="background: #f59e0b"],[style*="background:#f59e0b"],[style*="background: #d97706"],[style*="background:#d97706"]) { background:var(--aph-ochre)!important; }
:where([style*="background: #ef4444"],[style*="background:#ef4444"],[style*="background: #dc2626"],[style*="background:#dc2626"]) { background:var(--aph-clay)!important; }
:where([style*="background: #8b5cf6"],[style*="background:#8b5cf6"],[style*="background: #7c3aed"],[style*="background:#7c3aed"]) { background:var(--aph-plum)!important; }

/* Image-led learning cards: logos for tools, owned editorial images for learning. */
.featured-image,.course-thumbnail,.challenge-thumbnail,.lesson-thumbnail,.pathway-thumbnail,.recommendation-image {
  width:100%; aspect-ratio:16/9; object-fit:cover; background:var(--aph-dusty-blue-soft); border-bottom:1px solid var(--aph-border);
}
.course-thumbnail { padding:0!important; position:relative; overflow:hidden; }
.course-thumbnail .featured-image { height:100%; }
.course-thumbnail .academy-tag { position:absolute; left:12px; bottom:12px; z-index:2; }
.image-awaiting-editorial {
  position:relative;
  background-color:var(--aph-dusty-blue-soft)!important;
  background-image:linear-gradient(135deg,rgba(255,255,255,.7),rgba(111,132,146,.18))!important;
}
.image-awaiting-editorial::after {
  content:""; position:absolute; inset:18% 10%; border-top:1px solid rgba(0,43,69,.16); border-bottom:1px solid rgba(0,43,69,.16);
}
.tool-card img,.tool-logo { object-fit:contain!important; background:#fff; padding:12px; }
.hero .btn-primary { background:var(--aph-navy)!important; border-color:var(--aph-navy)!important; color:#fff!important; }

/* Full-width page shells: colour and photography run edge to edge while each
   page keeps its own internal reading padding. */
.app-container {
  width:100% !important;
  max-width:none !important;
}
.main-content {
  width:auto !important;
  max-width:none !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.main-content > *,
#pageContent {
  width:100% !important;
  max-width:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#pageContent > :first-child {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
@media (max-width:768px) {
  .main-content { padding:0 0 calc(76px + env(safe-area-inset-bottom)) !important; }
}

/* Model Finder follows the light APH landing-page composition. */
.model-finder-page .topbar {
  background:#fff !important;
  color:var(--aph-navy) !important;
  border-bottom:1px solid var(--aph-border) !important;
}
.model-finder-page .topbar nav a { color:var(--aph-navy) !important; }
.model-finder-page .topbar .brand-mark {
  background:#fff !important;
  color:var(--aph-navy) !important;
  border:1px solid var(--aph-border);
}
.model-finder-page .topbar .nav-cta {
  background:var(--aph-navy) !important;
  color:#fff !important;
}
.model-finder-page .hero {
  background:var(--aph-cream) !important;
  color:var(--aph-ink) !important;
  border-bottom:1px solid var(--aph-gold) !important;
}
.model-finder-page .hero h1 { color:var(--aph-navy) !important; }
.model-finder-page .hero p { color:var(--aph-muted) !important; }
.model-finder-page .hero-notes { color:var(--aph-navy) !important; }
.model-finder-page :where(.finder,.compare-section,.explain,.method,.capability-note) {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.model-finder-page .explain > :where(.section-heading,.explain-grid) {
  max-width:none !important;
}

/* Shared APH → AI Excellence brand lockup. The marks stand on the page without
   tiles, circles or frames. */
.brand-lockup { display:flex !important; align-items:center !important; gap:12px !important; }
.aph-brand-mark { display:inline-flex; width:48px; height:48px; flex:0 0 48px; align-items:center; justify-content:center; text-decoration:none; }
.aph-brand-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.brand-divider { width:1px; height:34px; background:var(--aph-border); flex:0 0 1px; }
.aiex-brand { display:inline-flex; align-items:center; gap:10px; color:var(--aph-navy); text-decoration:none; }
:where(.nav-logo,.logo-icon,.login-logo,.signup-logo,.brand-mark,.brand-mark-image) {
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.brand-mark-image { width:42px; height:42px; object-fit:contain; display:block; }
.aph-back-link {
  display:inline-flex; align-items:center; min-height:38px; padding:8px 12px;
  border:1px solid currentColor; border-radius:2px; color:inherit; text-decoration:none;
  font:600 .78rem/1.15 Inter,sans-serif; white-space:nowrap;
}
.top-nav .aph-back-link { color:#fff !important; border-color:rgba(255,255,255,.65); }
.model-finder-page .topbar .aph-back-link,.nav .aph-back-link { color:var(--aph-navy) !important; border-color:var(--aph-border); }
.sidebar-header.brand-lockup { padding-left:18px; padding-right:18px; }
.sidebar-header .aph-brand-mark { width:42px; height:42px; flex-basis:42px; }
.auth-brand-lockup { justify-content:center; margin:0 auto 16px; }
.auth-brand-lockup .login-logo,.auth-brand-lockup .signup-logo { margin:0 !important; }
.login-header > .aph-back-link,.signup-header > .aph-back-link,.verify-header > .aph-back-link { color:#fff !important; border-color:rgba(255,255,255,.6); margin:0 0 18px; }
.navbar .logo-icon { display:inline-flex; width:38px; height:38px; }
.navbar .logo-icon img { width:100%; height:100%; object-fit:contain; }

/* Model Finder hero: light APH canvas with an owned editorial photograph. */
.model-finder-page .hero { min-height:620px; padding:145px clamp(24px,6vw,96px) 72px !important; overflow:hidden; }
.model-finder-page .hero > :not(.model-hero-photo) { position:relative; z-index:2; max-width:48%; }
.model-finder-page .hero h1 { font-size:clamp(3rem,4.8vw,4.8rem) !important; }
.model-hero-photo { position:absolute; z-index:0; inset:0 0 0 46%; margin:0; overflow:hidden; }
.model-hero-photo img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.model-hero-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--aph-cream) 0%,rgba(245,241,234,.88) 13%,rgba(245,241,234,0) 42%); }
@media (max-width:900px) {
  .model-finder-page .hero { padding:112px 18px 0 !important; min-height:0; }
  .model-finder-page .hero > :not(.model-hero-photo) { max-width:100%; }
  .model-hero-photo { position:relative; inset:auto; width:calc(100% + 36px); aspect-ratio:16/10; margin:36px -18px 0; }
  .model-hero-photo::after { display:none; }
}
@media (max-width:700px) {
  .aph-brand-mark { width:40px; height:40px; flex-basis:40px; }
  .brand-divider { height:28px; }
  .nav-brand .aiex-brand > span:last-child,.model-finder-page .topbar .aiex-brand > span:last-child { display:none; }
  .aph-back-link { font-size:0; width:40px; min-width:40px; padding:0; justify-content:center; }
  .aph-back-link::before { content:"←"; font-size:18px; }
  .top-nav-logo-center > span:last-child { display:none !important; }
}

/* Keep the AI Work Finder hero image inside its own section. */
.model-finder-page .hero{position:relative;isolation:isolate;overflow:hidden}
.model-finder-page .work-finder{position:relative;z-index:2;clear:both}
.model-finder-page .model-hero-photo{bottom:0;max-height:100%}
@media(max-width:820px){.model-finder-page .model-hero-photo{max-height:none}}

/* Promotional demonstration shared by the public Hub pages. */
.tool-finder-promo{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  align-items:center;
  gap:clamp(28px,5vw,84px);
  padding:clamp(56px,7vw,108px) clamp(24px,6vw,96px);
  background:#fff;
  border-top:1px solid var(--aph-border);
  border-bottom:1px solid var(--aph-border);
}
.tool-finder-promo-copy{max-width:660px}
.tool-finder-promo h2{
  margin:0 0 22px;
  color:var(--aph-navy);
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(2.35rem,4vw,4.6rem);
  font-weight:600;
  letter-spacing:-.04em;
  line-height:1.02;
}
.tool-finder-promo p:not(.eyebrow){margin:0 0 28px;color:var(--aph-muted);font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.7}
.tool-finder-promo-media{margin:0;border-top:6px solid var(--aph-gold);background:var(--aph-navy);box-shadow:0 22px 60px rgba(0,43,69,.14)}
.tool-finder-promo video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--aph-navy)}
.programme-purchase-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--aph-border);margin-top:24px}
.programme-purchase-links a{padding:13px 10px;text-align:center;color:var(--aph-navy);background:#fff;font-weight:700;text-decoration:none;border-right:1px solid var(--aph-border)}
.programme-purchase-links a:last-child{border-right:0;background:var(--aph-navy);color:#fff}
.programme-purchase-links a:hover,.programme-purchase-links a:focus-visible{background:var(--aph-gold);color:var(--aph-navy)}
@media(max-width:900px){
  .tool-finder-promo{grid-template-columns:1fr;padding:54px 18px}
  .tool-finder-promo-copy{max-width:none}
  .programme-purchase-links{grid-template-columns:1fr}
  .programme-purchase-links a{border-right:0;border-bottom:1px solid var(--aph-border)}
}

/* Shared navigation for every public AI Excellence page. */
.public-hub-nav{
  position:sticky!important;top:0!important;left:auto!important;right:auto!important;z-index:80!important;
  width:100%!important;height:auto!important;min-height:82px!important;padding:0!important;
  background:#fff!important;color:var(--aph-navy)!important;border-top:5px solid var(--aph-gold)!important;
  border-bottom:1px solid var(--aph-border)!important;box-shadow:none!important;
}
.public-nav-inner{
  width:100%!important;max-width:none!important;min-height:77px!important;margin:0!important;
  padding:0 clamp(20px,4vw,72px)!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:space-between!important;gap:24px!important;position:relative!important;
}
.public-hub-nav .brand-lockup,.public-hub-nav .brand{flex:0 0 auto!important;min-width:0}
.public-hub-nav .nav-logo{width:44px!important;height:44px!important;flex:0 0 44px!important}
.public-hub-nav .nav-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
.public-hub-nav .public-nav-links{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(10px,1.2vw,22px)!important;
  margin:0!important;padding:0!important;background:#fff!important;
}
.public-hub-nav .public-nav-links>a{
  display:inline-flex!important;align-items:center!important;min-height:40px!important;padding:7px 0!important;
  color:var(--aph-navy)!important;text-decoration:none!important;font:650 clamp(.72rem,.78vw,.86rem)/1.2 Inter,sans-serif!important;
  white-space:nowrap!important;border-radius:0!important;
}
.public-hub-nav .public-nav-links>a:hover,.public-hub-nav .public-nav-links>a[aria-current="page"]{
  color:var(--aph-link)!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:6px!important;
}
.public-hub-nav .public-nav-links .aph-back-link,.public-hub-nav .public-nav-links .aph-nav-back{
  padding:8px 11px!important;border:1px solid var(--aph-border)!important;text-decoration:none!important;
}
.public-hub-nav .public-nav-links .public-nav-cta{
  padding:10px 15px!important;background:var(--aph-navy)!important;color:#fff!important;border:1px solid var(--aph-navy)!important;
  text-decoration:none!important;
}
.public-nav-toggle{display:none;width:44px;height:44px;place-items:center;padding:0;border:1px solid var(--aph-border)!important;background:#fff!important;color:var(--aph-navy)!important;cursor:pointer}
.public-nav-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:square}
.model-finder-page .public-hub-nav+main>.hero{padding-top:82px!important}
@media(max-width:1180px){
  .public-hub-nav{min-height:70px!important}
  .public-nav-inner{min-height:65px!important;padding:0 18px!important}
  .public-nav-toggle{display:grid!important;margin-left:auto}
  .public-hub-nav .public-nav-links{
    display:none!important;position:absolute!important;top:calc(100% + 1px)!important;left:0!important;right:0!important;
    max-height:calc(100vh - 72px)!important;overflow:auto!important;padding:12px 18px 18px!important;
    flex-direction:column!important;align-items:stretch!important;gap:0!important;border-bottom:1px solid var(--aph-border)!important;
    box-shadow:0 20px 35px rgba(0,43,69,.12)!important;
  }
  .public-hub-nav.is-open .public-nav-links{display:flex!important}
  .public-hub-nav .public-nav-links>a{width:100%!important;min-height:48px!important;padding:12px 4px!important;border-bottom:1px solid #eee9e0!important}
  .public-hub-nav .public-nav-links .aph-back-link,.public-hub-nav .public-nav-links .aph-nav-back{font-size:.8rem!important;width:100%!important;border:0!important;border-bottom:1px solid #eee9e0!important;justify-content:flex-start!important}
  .public-hub-nav .public-nav-links .aph-back-link::before{content:none!important}
  .public-hub-nav .public-nav-links .public-nav-cta{justify-content:center!important;margin-top:10px!important;border-bottom:1px solid var(--aph-navy)!important}
  .model-finder-page .public-hub-nav+main>.hero{padding-top:58px!important}
}
@media(max-width:560px){
  .public-nav-inner{padding:0 14px!important;gap:10px!important}
  .public-hub-nav .aph-brand-mark{width:38px;height:38px;flex-basis:38px}
  .public-hub-nav .brandlock,.public-hub-nav .brand-lockup{gap:8px!important}
  .public-hub-nav .nav-logo{width:36px!important;height:36px!important;flex-basis:36px!important}
  .public-hub-nav .aiex-brand>span:last-child,.public-hub-nav .brand>span:last-child{display:none!important}
  .public-hub-nav .brand .aph{width:44px!important}.public-hub-nav .brand .aiex{width:36px!important}
}

/* Public worksheet library: use the same restrained APH surface system. */
.worksheets-page{background:var(--aph-cream)!important;color:var(--aph-charcoal)!important}
.worksheets-page .page-wrap{max-width:980px!important;padding-top:34px!important}
.worksheets-page .header{padding:38px 0 34px!important}
.worksheets-page .header h1,.worksheets-page .ws-card h2{
  font-family:'Playfair Display',serif!important;color:var(--aph-navy)!important;font-weight:600!important
}
.worksheets-page .header h1{font-size:clamp(2.25rem,5vw,4.2rem)!important}
.worksheets-page .header p,.worksheets-page .ws-card .subtitle{color:#5f5b55!important}
.worksheets-page .logo img{border-radius:0!important;object-fit:contain!important}
.worksheets-page .logo-name{font-family:Inter,sans-serif!important;color:var(--aph-navy)!important}
.worksheets-page .ws-card,.worksheets-page .score-box,.worksheets-page .milestone{
  border-radius:0!important;border:1px solid var(--aph-border)!important;box-shadow:none!important;background:#fff!important
}
.worksheets-page .ws-badge{border-radius:0!important;background:var(--aph-navy)!important;color:#fff!important}
.worksheets-page .field input,.worksheets-page .field textarea,.worksheets-page .field select,
.worksheets-page .audit-table input,.worksheets-page .audit-table select,.worksheets-page .radio-opt label{
  border-radius:0!important;border-color:var(--aph-border)!important;background:#fff!important
}
.worksheets-page .field input:focus,.worksheets-page .field textarea:focus,.worksheets-page .field select:focus,
.worksheets-page .audit-table input:focus{border-color:var(--aph-gold)!important;box-shadow:0 0 0 2px rgba(212,175,55,.24)!important}
.worksheets-page .tab-btn.active{color:var(--aph-navy)!important;border-color:var(--aph-gold)!important}
.worksheets-page .submit-btn{border-radius:0!important;background:var(--aph-navy)!important;color:#fff!important}
