/* Noba-inspired information hierarchy; MENTIS content and components remain original. */
:root,body,body.study-view{--sun-bg:#F8FAFC;--sun-surface:#FFFFFF;--sun-soft:#EDF2F7;--sun-gold:#A7BCD1;--sun-red:#315D87;--sun-deep:#24496C;--sun-ink:#253342;--sun-muted:#56687A;--sun-line:#D8E0E8;--paper:#F8FAFC;--ink:#253342;--muted:#56687A;--green:#315D87;--line:#D8E0E8;--white:#FFFFFF;--soft:#EDF2F7;--study-bg:#F8FAFC;--study-ink:#253342;--study-muted:#56687A;--study-accent:#315D87;--study-line:#D8E0E8;background:#F8FAFC;background-image:none;color:#253342}
body header,body.study-view header{background:#fff;border-color:#D8E0E8}body .brand strong{color:#315D87}body .card,body .study-main .card{background:#fff;box-shadow:none;border-radius:6px;border-color:#D8E0E8}body .btn,body .study-main .btn{background:#315D87;border-color:#315D87;color:#fff;border-radius:5px}body .btn.outline,body .study-main .btn.outline{background:transparent;border-color:#8EA6BE;color:#24496C}body .btn.light,body .study-main .btn.light{background:#EDF2F7;color:#24496C;border-color:#D8E0E8}body .notice,body .study-main .notice{background:#EDF3F8;color:#3E556C;border-color:#8CA8C3}body .notice a{color:#24496C}body input,body select,body textarea,body .cms-form input,body .cms-form select,body .cms-form textarea,body .cms-filter input,body .cms-filter select,body .reasoning-page select,body .reasoning-page textarea{background:#fff;border-color:#BECBD7;color:#253342}body .banner{background:#EDF2F7;border-color:#D8E0E8}body .study-main .study-article .vignette,body .study-main .study-article pre{background:#EEF3F8;border-color:#8CA8C3}body .study-main .study-article .notice{color:#3E556C}body .study-main .taxonomy-row:hover,body .study-main .study-reading-row:hover{background:#EDF3F8}body footer{background:#EDF2F7;border-color:#D8E0E8;color:#56687A}body .cg-history .correct{background:#E2EDF7;color:#253342}body .reasoning-fact,body .reasoning-review,body .cg-selected,body .cg-group{background:#EDF3F8;border-color:#8CA8C3}body .cg-history p{background:#F0F3F7}body .cg-progress li{background:#E0E7EF;color:#455D76}body .cg-progress li.shown{background:#315D87;color:#fff}body .cg-options button.selected,body .diagnosis-options button.selected-option{background:#E1ECF6;outline-color:#315D87}body .study-main .study-directory-body>a[aria-current],body .study-main .study-directory-body>a:hover{background:#E8EFF6;color:#24496C}body .home-admin-link{color:#315D87;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.noba-home{max-width:1180px;margin-bottom:64px}.home-introduction{max-width:960px;padding:42px 0 30px}.home-introduction h1{font-size:42px;font-weight:650;line-height:1.3;margin:14px 0 18px;letter-spacing:-.02em}.home-introduction>p{font-size:19px;margin:0 0 12px;color:#56687A}.home-feature-row{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:28px;align-items:stretch;margin:4px 0 56px}.home-carousel{min-width:0;overflow:hidden;background:#fff;border:1px solid #D8E0E8;border-radius:7px}.home-slide-image-frame{height:clamp(220px,27vw,330px);display:grid;place-items:center;background:#F0F4F8;overflow:hidden}.home-slide-image{display:block;width:100%;height:100%}.home-slide-image[hidden]{display:none}.home-slide-image.fit-contain{object-fit:contain}.home-slide-image.fit-cover{object-fit:cover}.home-slide-caption{padding:22px 26px}.home-slide-caption h2{font-size:25px;margin:0 0 12px}.home-slide-caption p{font-size:17px;line-height:1.75;margin:0 0 12px}.home-slide-caption a{font-size:16px;color:#315D87;text-decoration:underline;text-underline-offset:4px}.home-carousel-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #E2E8EF;padding:12px 18px}.home-carousel-controls button{min-width:40px;min-height:42px;padding:6px 10px;border:1px solid #D2DDE7;border-radius:5px;background:#fff;color:#315D87;font-size:14px}.home-carousel-controls button:hover{background:#EDF3F8}.home-carousel-controls [data-home-carousel=pause]{margin-left:auto;min-width:112px}.home-carousel-dots{display:flex;gap:6px;flex-wrap:wrap}.home-carousel-dots button{min-width:32px;font-size:13px}.home-carousel-dots [aria-pressed=true]{background:#315D87;color:#fff;border-color:#315D87}.home-carousel-status:empty{display:none}.home-carousel-status{padding:0 18px;font-size:13px!important;margin:0 0 10px!important;color:#56687A}.home-carousel-empty{min-height:350px;padding:45px;display:flex;flex-direction:column;justify-content:center;background:#EDF3F8}.home-loading,.home-image-error{padding:24px;font-size:16px;color:#56687A}.home-practice{background:#EAF0F6;border-top:4px solid #315D87;border-radius:5px;padding:28px;display:flex;flex-direction:column;min-width:0}.home-practice h2{font-size:29px;margin:16px 0 10px}.home-practice>p{font-size:17px;line-height:1.8;margin:0 0 16px}.home-practice-links{display:grid;gap:0;margin:0 0 22px}.home-practice-links>a{padding:15px 0;border-bottom:1px solid #CDD9E4;color:#24496C}.home-practice-links strong{font-size:18px;display:block}.home-practice-links span{font-size:14px;display:block;color:#56687A;margin-top:5px}.home-practice>.btn{margin-top:auto;width:100%}.home-knowledge-band{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;padding:36px;background:#EDF2F7;margin:48px 0;border-block:1px solid #D8E0E8}.home-knowledge-band h2{font-size:28px;margin:16px 0 12px}.home-knowledge-band p{font-size:17px;max-width:700px;margin:0}.home-band-links{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:16px}.home-slide-admin-row img{display:block;object-fit:contain;background:#F0F4F8;border:1px solid #D8E0E8;border-radius:4px;flex-shrink:0}.home-slide-admin-row>div{flex:1;min-width:0}.home-upload-preview{display:block;max-width:100%;height:180px;object-fit:contain;background:#F0F4F8;margin:16px 0}.home-upload-preview[hidden]{display:none}#home-settings label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center}#home-settings input[type=checkbox]{width:18px;height:18px;margin:0}.noba-home .study-subjects h3{font-size:21px}.noba-home .study-section{margin-top:48px}
@media(max-width:979px){.home-feature-row{grid-template-columns:minmax(0,1fr);gap:22px}.home-slide-image-frame{height:340px}.home-practice-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.home-practice-links>a{border-bottom:0;border-right:1px solid #CDD9E4;padding:4px 16px 4px 0}.home-practice-links>a:last-child{border:0}.home-practice>.btn{width:auto;align-self:flex-start}.home-knowledge-band{grid-template-columns:1fr;gap:24px}.home-band-links{flex-direction:row;align-items:center;flex-wrap:wrap}.home-introduction h1{font-size:36px}}
@media(max-width:599px){.home-introduction{padding:28px 0 22px}.home-introduction h1{font-size:30px;line-height:1.4}.home-introduction>p{font-size:17px}.home-slide-image-frame{height:auto;aspect-ratio:16/10}.home-slide-caption{padding:20px}.home-slide-caption h2{font-size:23px}.home-slide-caption p{font-size:16px}.home-carousel-controls{padding:10px;gap:6px}.home-carousel-controls [data-home-carousel=pause]{width:100%;margin:4px 0 0}.home-practice{padding:22px}.home-practice h2{font-size:26px}.home-practice-links{grid-template-columns:1fr;gap:0}.home-practice-links>a{border-right:0;border-bottom:1px solid #CDD9E4;padding:14px 0}.home-practice>.btn{width:100%}.home-knowledge-band{padding:24px 20px}.home-knowledge-band h2{font-size:25px}.home-band-links{align-items:flex-start;flex-direction:column}.home-slide-admin-row{flex-wrap:wrap}.home-slide-admin-row img{width:84px;height:60px}.home-carousel-empty{min-height:240px;padding:24px}body header nav{background:#fff}}
@media(prefers-reduced-motion:reduce){.home-carousel *{transition:none!important;animation:none!important}}
body dialog{background:#fff;border-color:#D8E0E8;box-shadow:0 16px 60px #20395026}body dialog::backdrop{background:#20395059}
