/* Scoped refinements preserve the cinematic home and workspace identity. */
.tn-filter-bar{display:grid;grid-template-columns:minmax(190px,1.25fr) repeat(4,minmax(130px,1fr)) auto;gap:12px;align-items:end;padding:18px;margin:20px 0 24px;border:1px solid #cfdfda;border-radius:18px;background:#fff;box-shadow:0 5px 20px #153d3006}
.tn-filter-bar label{display:grid;gap:7px;margin:0;font-size:13px;font-weight:650;color:#234b40;min-width:0}.tn-filter-bar select,.tn-filter-bar input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #b8cdc5;border-radius:10px;background:#f7faf9;color:#163c30;font:inherit;font-weight:500;box-sizing:border-box}
.tn-filter-bar[data-search="native"]{grid-template-columns:repeat(4,minmax(120px,1fr)) auto}
.tn-exam-search-wrap{margin:16px 0 0}.tn-exam-search{display:flex;gap:10px;align-items:center}.tn-exam-search input{flex:1;min-width:0!important;width:100%;min-height:44px;padding:11px 14px;border:1px solid #b8cdc5;border-radius:10px;background:#fff;color:#163c30;font:inherit}.tn-exam-search button{min-height:44px;padding:10px 16px;border:1px solid #b8cdc5;border-radius:10px;background:#fff;color:#175443;font:inherit;cursor:pointer}#tal-exam-search-hint[hidden]{display:none!important}
.tn-filter-bar .tn-filter-reset{min-height:44px;padding:10px 15px;border:1px solid #b8cdc5;border-radius:10px;background:#fff;color:#175443;font:inherit;font-weight:650;cursor:pointer}.tn-filter-bar .tn-filter-reset:hover{background:#edf7f2}
.tn-filter-status{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0!important;font-size:13px;color:#49685d}.tn-filter-status strong{color:#193f32}.tn-filter-empty{padding:24px;border:1px dashed #a9c7ba;border-radius:14px;color:#1b4637;background:#f5faf7;margin:20px 0}
.tn-filter-bar :focus-visible{outline:3px solid #087d87;outline-offset:3px}.tn-filter-hidden,.tn-syllabus-hidden,[data-tn-filtered="false"],[data-tn-filter-group="empty"]{display:none!important}
.tn-exams-page .tn-assessment-card{gap:6px}.tn-exams-page .tn-assessment-card .tn-format-summary{font-size:14px}.tn-exams-page .tn-assessment-card .tn-assessment-topics h4{margin-top:10px}.tn-exams-page .tn-card-footer .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.page.narrow.tn-assessment-details{width:calc(100% - 64px);max-width:1400px!important;padding-top:32px;padding-bottom:40px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.tn-assessment-details>h1{font-size:clamp(28px,3vw,44px);line-height:1.18;letter-spacing:-.025em;max-width:1200px;margin:12px 0 20px}
.tn-assessment-details .assessment-detail-card{padding:clamp(22px,2.5vw,36px);margin-top:18px}.tn-assessment-details .assessment-detail-card>p{font-size:15px;line-height:1.65;margin:10px 0}.tn-assessment-details .tn-assessment-topics p{font-size:15px;line-height:1.6}
.tn-assessment-details #tn-sample-documents{max-width:none!important;padding:15px 20px!important;margin:16px 0!important}.tn-assessment-details #tn-sample-documents p{font-size:13px!important;line-height:1.5}.tn-assessment-details .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px;gap:16px;margin:20px 0}.tn-assessment-details .stats>div{padding:18px 20px}.tn-assessment-details .stats b{font-size:26px}.tn-assessment-details .stats span{font-size:13px;line-height:1.4}
.tn-assessment-details .mode-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.tn-assessment-details button.mode-choice{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;min-height:108px;padding:20px 22px;border:1px solid #075b55!important;border-radius:14px;background:#105d51!important;color:#fff!important;cursor:pointer;box-shadow:0 3px 0 #063c34;transition:background .15s,transform .15s,box-shadow .15s;font:inherit}
.tn-assessment-details button.mode-choice strong{display:flex;align-items:center;gap:12px;width:100%;font-size:17px;color:inherit}.tn-assessment-details button.mode-choice strong::after{content:'→';margin-left:auto;font-size:23px}.tn-assessment-details button.mode-choice span{font-size:13px;line-height:1.55;color:#e0eee6!important}.tn-assessment-details button.mode-choice:nth-child(2){background:#edf6f2!important;color:#164c3b!important;box-shadow:0 3px 0 #c4dcd0}.tn-assessment-details button.mode-choice:nth-child(2) span{color:#3d6053!important}.tn-assessment-details button.mode-choice:hover{transform:translateY(-2px);box-shadow:0 5px 0 #063c34}.tn-assessment-details button.mode-choice:focus-visible{outline:3px solid #c39735;outline-offset:4px}
.tn-assessment-details .tn-device-note{background:#f1f7f4;padding:14px 16px;border-radius:10px}.tn-assessment-details .assessment-detail-card>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;padding-left:20px;font-size:14px;line-height:1.6}
.tn-notification-bell{position:relative!important;min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;border-radius:14px!important;transition:background .2s,color .2s,border-color .2s}
.sv-notification>i{display:none!important}.tn-notification-bell.has-unread{background:#fff2d9!important;color:#895400!important;border:1px solid #e3ad43!important}.tn-notification-bell svg{transform-origin:50% 12%;flex-shrink:0}.tn-notification-bell.has-unread svg{color:#a96500!important}.tn-notification-bell:not(.sv-notification)::before{content:'';width:21px;height:21px;display:block;background:currentColor;transform-origin:50% 12%;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21h4'/%3E%3C/svg%3E")}
.tn-notification-bell.tn-ring svg,.tn-notification-bell.tn-ring::before{animation:tn-bell-ring .9s ease-in-out 2}.tn-unread-badge{font-size:10px!important;font-weight:750;line-height:17px;min-width:17px;padding:0 3px;border-radius:12px;background:#a75c06;color:#fff;position:absolute;right:-4px;top:-5px;text-align:center;border:2px solid #fff;box-sizing:content-box}.tn-unread-badge[hidden]{display:none!important}
.tn-social-links a,.tn-instagram-link{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:40px;text-decoration:none}.tn-instagram-link svg{width:20px;height:20px;flex:none}.tn-instagram-link:hover{text-decoration:underline}
.tn-help-launcher{right:16px!important;bottom:max(16px,env(safe-area-inset-bottom))!important}.tn-help-launcher-button{padding:6px 12px 6px 6px!important;min-height:48px!important;gap:8px!important;font-size:12px!important}.tn-help-launcher-mascot{width:34px!important;height:34px!important}.tn-help-launcher-mascot img{width:34px!important;height:34px!important}
@keyframes tn-bell-ring{0%,100%{transform:rotate(0)}15%,45%{transform:rotate(12deg)}30%,60%{transform:rotate(-12deg)}75%{transform:rotate(5deg)}}
@media(min-width:1100px){.tn-exams-page .tn-exam-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.tn-filter-bar,.tn-filter-bar[data-search="native"]{grid-template-columns:repeat(3,minmax(0,1fr))}.tn-filter-bar .tn-filter-search{grid-column:span 2}}
@media(max-width:650px){.tn-filter-bar,.tn-filter-bar[data-search="native"]{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}.tn-filter-bar .tn-filter-search{grid-column:1/-1}.tn-filter-bar .tn-filter-reset{grid-column:1/-1}.page.narrow.tn-assessment-details{width:calc(100% - 28px);padding-top:24px}.tn-assessment-details .mode-choice-grid{grid-template-columns:1fr}.tn-assessment-details .assessment-detail-card>ul{grid-template-columns:1fr}.tn-assessment-details .stats{gap:10px}.tn-assessment-details .stats>div{padding:15px}.tn-assessment-details .stats b{font-size:22px}}
@media(prefers-reduced-motion:reduce){.tn-notification-bell,.tn-assessment-details button.mode-choice{transition:none}.tn-notification-bell.tn-ring svg,.tn-notification-bell.tn-ring::before{animation:none}.tn-assessment-details button.mode-choice:hover{transform:none}}
@media(max-width:650px){.tn-help-launcher{right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important}.tn-help-launcher-button{width:48px!important;height:48px!important;padding:6px!important;justify-content:center!important}.tn-help-launcher-button>span:not(.tn-help-launcher-mascot),.tn-help-launcher-button>i{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}}

@supports(content-visibility:auto){.tn-assessment-group .tn-assessment-card{content-visibility:auto;contain-intrinsic-size:auto 460px}}
