/* TDNSC V42: reviewable modern-cute homepage uplift. Original copy and routes preserved. */
:root {--ux-ink:#19375d;--ux-muted:#516b85;--ux-blue:#d7f0ff;--ux-pink:#ffe5f0;--ux-lilac:#efe6ff;--ux-mint:#e2f7ef;--ux-line:#d6e7f3;--ux-shadow:0 14px 35px rgba(34,80,118,.08)}
html {scroll-behavior:smooth}
body {background:#f9fcff!important;color:var(--ux-ink)!important}
.header {background:#fff!important;border-bottom:1px solid #e3eef7!important;box-shadow:0 3px 14px #234f7410!important}
.tdnsc-level3-banner {background:#e2f4ff!important;color:#1d5283!important;font-size:.82rem!important;font-weight:700!important;letter-spacing:.01em!important;padding:8px 14px!important}
#home.student-home {max-width:1100px!important;margin:0 auto!important;padding-inline:clamp(12px,3vw,28px)!important}
#home .welcome-panel.v21-hero {background:#d7f0ff!important;background-image:none!important;border:1px solid #b9dfef!important;box-shadow:var(--ux-shadow)!important;border-radius:30px!important;overflow:hidden!important;gap:24px!important}
#home .welcome-panel.v21-hero::before {display:none!important;content:none!important}
#home .welcome-panel.v21-hero .v21-hero-shape {display:none!important}
#home .v21-hero-copy h1 {font-family:ui-rounded,'Avenir Next',system-ui,sans-serif!important;line-height:1.08!important;letter-spacing:-.04em!important;color:#20385a!important}
#home .v21-hero-copy h1 span {color:#438ec6!important;text-shadow:none!important}
#home .v21-hero-copy p {color:#3b5e79!important}
#home .v21-hero-benefits {opacity:.74!important}
/* One clear action first, a calm secondary option. Text and destinations unchanged. */
#home .v21-hero-actions {display:flex!important;flex-wrap:wrap!important;gap:11px!important}
#home .v21-hero-actions >a {box-shadow:none!important;transform:none!important;border-radius:16px!important;min-height:54px!important;justify-content:center!important;padding:13px 18px!important}
#home .v21-hero-actions .v28-mcq-secondary {order:0!important;background:#c94386!important;border:1px solid #c94386!important;color:#fff!important;font-weight:800!important;box-shadow:0 5px 14px #c9438624!important}
#home .v21-hero-actions .v28-exam-primary {order:1!important;background:#fff!important;border:1px solid #a8cddd!important;color:#275d85!important;box-shadow:none!important}
#home .v21-hero-actions .v28-exam-primary * {color:#275d85!important}
#home .v21-hero-actions a:hover {transform:translateY(-1px)!important}
#home .tdnsc-study-guide {background:#fff!important;border:1px solid var(--ux-line)!important;box-shadow:var(--ux-shadow)!important;border-radius:26px!important;overflow:hidden!important}
#home .tdnsc-study-guide h2 {color:#1d416a!important;font-size:clamp(1.45rem,3vw,2rem)!important;line-height:1.16!important}
#home .tdnsc-study-guide-cta {background:#538fc4!important;color:white!important;border-radius:14px!important;border:0!important;box-shadow:none!important}
#home .revision-menu {margin-top:26px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#home .revision-menu-header {text-align:left!important;margin-bottom:18px!important}
#home .revision-menu-header h2 {font-family:ui-rounded,'Avenir Next',system-ui,sans-serif!important;font-size:clamp(1.65rem,4vw,2.45rem)!important;line-height:1.13!important;color:#183c66!important;letter-spacing:-.035em!important}
#home .revision-menu-header p {color:var(--ux-muted)!important;font-size:1.02rem!important}
#home .ux-primary-paths {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
#home .ux-primary-paths .revision-menu-button {--accent:#dceeff;--text:#204a74;min-height:190px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:9px!important;background:var(--accent)!important;background-image:none!important;border:1px solid #d0e4ee!important;border-radius:24px!important;padding:21px!important;color:var(--text)!important;box-shadow:0 7px 22px #35668812!important;transform:none!important}
#home .ux-primary-paths .revision-menu-button:nth-child(1) {--accent:#ffe8f1;--text:#783356}
#home .ux-primary-paths .revision-menu-button:nth-child(2) {--accent:#eee8ff;--text:#55377a}
#home .ux-primary-paths .revision-menu-button:nth-child(3) {--accent:#e1f3ff;--text:#284f75}
#home .ux-primary-paths .revision-menu-button .revision-menu-icon {background:#ffffff9c!important;border:0!important;color:var(--text)!important;width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:15px!important}
#home .ux-primary-paths .revision-menu-button .revision-menu-icon svg {width:28px!important;height:28px!important}
#home .ux-primary-paths .revision-menu-button .revision-menu-arrow {margin-left:auto!important;margin-top:auto!important;background:#fff9!important;color:var(--text)!important;border:0!important;flex:0 0 30px!important;width:30px!important;height:30px!important}
#home .revision-menu-button .revision-menu-copy {width:100%!important;flex:1!important}
#home .revision-menu-button .revision-menu-copy strong {font-size:1.03rem!important;color:inherit!important;line-height:1.23!important}
#home .revision-menu-button .revision-menu-copy small {font-size:.87rem!important;color:inherit!important;line-height:1.42!important;font-weight:500!important;opacity:.92!important}
#home .ux-resource-label {display:block!important;margin-bottom:9px!important;font-size:.7rem!important;letter-spacing:.075em!important;font-weight:900!important;text-transform:uppercase!important;color:inherit!important;opacity:.85!important}
#home .ux-more-paths {margin-top:16px!important;background:#fff!important;border:1px solid var(--ux-line)!important;border-radius:22px!important;box-shadow:0 7px 20px #345d8010!important;overflow:hidden!important}
#home .ux-more-paths>summary {list-style:none!important;cursor:pointer!important;padding:17px 22px!important;font-size:1rem!important;font-weight:800!important;color:#2d5a82!important;display:flex!important;justify-content:space-between!important;align-items:center!important}
#home .ux-more-paths>summary::-webkit-details-marker {display:none}
#home .ux-more-paths[open]>summary span {transform:rotate(45deg)}
#home .ux-secondary-paths {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 16px 16px!important}
#home .ux-secondary-paths .revision-menu-button {min-height:108px!important;display:flex!important;flex-direction:row!important;align-items:center!important;background:#f5f9ff!important;border:1px solid #dbe8f3!important;color:#36577b!important;box-shadow:none!important;border-radius:18px!important;padding:16px!important;gap:10px!important}
#home .ux-secondary-paths .revision-menu-button .revision-menu-icon {width:42px!important;height:42px!important;flex:0 0 42px!important;background:white!important;border:0!important;color:#426a93!important;border-radius:13px!important}
#home .ux-secondary-paths .revision-menu-button .revision-menu-icon svg {width:24px!important;height:24px!important}
#home .ux-secondary-paths .revision-menu-button .revision-menu-arrow {background:none!important;color:#426a93!important;border:0!important;flex:0 0 21px!important;width:21px!important;height:21px!important}
#home .revision-menu-button:hover {box-shadow:0 9px 25px #2c618722!important;transform:translateY(-1px)!important}
#home .revision-menu-note {font-size:.83rem!important;color:#667d94!important;padding:10px 0!important}
#home .ux-notes-shortcut {margin:0 0 13px!important}
#home .ux-notes-shortcut a {display:inline-flex!important;align-items:center!important;padding:10px 14px!important;border:1px solid #cfe5f2!important;background:#f0f8ff!important;border-radius:13px!important;text-decoration:none!important;color:#315c83!important;font-weight:750!important}
#home .v19-more-details {margin-top:25px!important}
#home a:focus-visible,#home summary:focus-visible {outline:3px solid #377cbb!important;outline-offset:3px!important}
@media(max-width:840px){#home .ux-primary-paths {grid-template-columns:1fr!important}#home .ux-primary-paths .revision-menu-button {min-height:110px!important;flex-direction:row!important;align-items:center!important;padding:16px!important}#home .ux-primary-paths .revision-menu-button .revision-menu-arrow{margin:0!important}#home .ux-secondary-paths {grid-template-columns:1fr!important}}
@media(max-width:540px){#home.student-home {padding-inline:14px!important}#home .welcome-panel.v21-hero {border-radius:24px!important;padding:20px!important}#home .v21-hero-benefits {display:none!important}#home .v21-hero-actions {flex-direction:column!important}#home .v21-hero-actions>a {width:100%!important}#home .ux-primary-paths {gap:10px!important}#home .ux-primary-paths .revision-menu-button {border-radius:18px!important;min-height:105px!important}#home .revision-menu-header {margin-bottom:14px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}#home a {transition:none!important}}

/* Less crowded navigation, without losing any existing destinations. */
body:has(#home) .ux-simpler-nav {display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important;overflow:visible!important}
body:has(#home) .ux-simpler-nav>.nav-link {padding:9px 12px!important;color:#315b7d!important;font-size:.88rem!important;white-space:nowrap!important}
body:has(#home) .ux-nav-more {position:relative!important;z-index:80!important}
body:has(#home) .ux-nav-more>summary {cursor:pointer!important;list-style:none!important;padding:9px 12px!important;border-radius:12px!important;color:#315b7d!important;font-size:.88rem!important;font-weight:750!important;white-space:nowrap!important}
body:has(#home) .ux-nav-more>summary::-webkit-details-marker{display:none}
body:has(#home) .ux-nav-dropdown {position:absolute!important;right:0!important;top:calc(100% + 7px)!important;min-width:205px!important;display:grid!important;padding:8px!important;background:#fff!important;border:1px solid #d9e8f3!important;border-radius:16px!important;box-shadow:0 15px 35px #27578129!important}
body:has(#home) .ux-nav-dropdown a {text-decoration:none!important;color:#315b7d!important;text-align:left!important;padding:10px 12px!important;border-radius:10px!important;white-space:nowrap!important;font-size:.92rem!important}
body:has(#home) .ux-nav-dropdown a:hover{background:#f0f8ff!important}
body:has(#home) .mobile-dock {background:#ffffffed!important;border-top:1px solid #e5eef6!important;box-shadow:0 -7px 20px #2f6a9914!important;backdrop-filter:blur(12px)!important}
body:has(#home) .mobile-dock a {color:#356389!important;border-radius:13px!important}
@media(max-width:540px){body:has(#home) .ux-simpler-nav{gap:0!important;justify-content:center!important}body:has(#home) .ux-simpler-nav>.nav-link,body:has(#home) .ux-nav-more>summary {padding:9px 7px!important;font-size:.78rem!important}}
