body .tte-context-help{box-sizing:border-box;max-width:960px;margin:24px auto 40px;padding:24px;border:1px solid #3e5073;border-radius:8px;background:#10172a;color:#eaf0ff;}
body .tte-context-help h2{margin:0 0 12px;color:#fff;font-size:24px;line-height:1.4;overflow-wrap:anywhere;}
body .tte-context-help p{margin:0 0 16px;color:#c9d6ed;font-size:16px;line-height:1.6;}
body .tte-context-help form{margin:16px 0 20px;}
body .tte-context-help label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#eaf0ff;}
body .tte-search-row{display:flex;align-items:stretch;gap:12px;}
body .tte-search-row input{flex:1;min-width:0;box-sizing:border-box;min-height:44px;padding:12px;border:1px solid #637aa6;border-radius:8px;font:inherit;background:#0b1324;color:#fff;}
body .tte-nav-primary,body .tte-nav-secondary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:10px 16px;border:1px solid #637aa6;border-radius:8px;font:inherit;font-size:14px;line-height:1.4;text-decoration:none;cursor:pointer;}
body .tte-nav-primary{background:#294494;color:#fff;}
body .tte-nav-secondary{background:#17243c;color:#eaf0ff;}
body .tte-nav-primary:hover{background:#3456b7;color:#fff;}
body .tte-nav-secondary:hover{background:#243659;color:#fff;}
body .tte-nav-primary[aria-disabled=true],body .tte-nav-secondary:disabled{opacity:.6;cursor:default;}
body .tte-search-actions,body .tte-recovery-links{display:flex;flex-wrap:wrap;gap:12px;}
body .tte-search-actions{margin:16px 0 8px;padding:0 20px;}
body .tte-search-tip{font-size:14px;line-height:1.5;color:#c9d6ed;margin:8px 20px 16px;}
body .tte-search-pages{max-width:960px;margin:24px auto 40px;color:#eaf0ff;}
body .tte-search-pages ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;}
body .tte-search-pages :is(a,span){display:inline-flex;min-width:44px;min-height:44px;box-sizing:border-box;align-items:center;justify-content:center;padding:8px 12px;background:#17243c;color:#eaf0ff;border:1px solid #637aa6;border-radius:8px;text-decoration:none;}
body .tte-search-pages .current{background:#294494;font-weight:700;}
body .tte-context-help :is(a,button,input):focus-visible,body .tte-search-actions :is(a,button):focus-visible,body .tte-search-pages a:focus-visible{outline:3px solid #8ca8ff;outline-offset:4px;}
@media(max-width:767px){body .tte-context-help{padding:16px;margin:20px auto;}body .tte-context-help h2{font-size:22px;}body .tte-search-row{flex-direction:column;gap:8px;}body .tte-search-actions{gap:8px;}body .tte-recovery-links a{flex:1 1 calc(50% - 6px);min-width:0;}}

body #searchOverlay #searchInput{min-width:0;flex:1 1 auto;}
body #searchOverlay #searchCloseBtn{flex:0 0 44px;min-width:44px;min-height:44px;}

body .tte-search-row input::placeholder{color:#a5b7d8;opacity:1;}
body #searchOverlay.tte-live-enabled .search-panel{max-height:calc(100dvh - 48px);overflow-y:auto;}
body #searchOverlay.tte-live-enabled .search-input-row{position:sticky;top:0;z-index:1;background:#171e35;}
body .tte-live-results{margin:16px 20px 20px;}
body .tte-live-status{margin:0 0 12px;font-size:14px;line-height:1.5;color:#d1def5;overflow-wrap:anywhere;}
body .tte-live-list{list-style:none;margin:0 0 12px;padding:0;max-height:40dvh;overflow-y:auto;overscroll-behavior:contain;}
body .tte-live-list li{margin:0;padding:0;border-bottom:1px solid #3b4c70;}
body .tte-live-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 10px;min-height:44px;box-sizing:border-box;text-decoration:none;color:#eaf0ff;font-size:16px;line-height:1.5;}
body .tte-live-list a:hover,body .tte-live-list a:focus{background:#233457;}
body .tte-live-list a:focus-visible{outline:3px solid #8ca8ff;outline-offset:-3px;}
body .tte-live-title{min-width:0;overflow-wrap:anywhere;}
body .tte-live-type{flex:0 0 auto;font-size:14px;color:#bfd0ef;}
body .tte-live-results [hidden],body #searchOverlay #searchResults[hidden]{display:none!important;}
body.tte-result-cards main .container>article{box-sizing:border-box;max-width:960px;margin:0 auto 20px;padding:20px;border:1px solid #35425e;border-radius:8px;background:#10172a;}
body.tte-result-cards main .container>article h2{margin:0 0 10px;font-size:22px;line-height:1.45;}
body.tte-result-cards main .container>article h2 a{color:#dae5ff;text-underline-offset:4px;overflow-wrap:anywhere;}
body.tte-result-cards main .container>article p{max-width:76ch;margin:0;color:#c9d6ed;font-size:16px;line-height:1.65;}
body.tte-result-cards main .container>article a:focus-visible{outline:3px solid #8ca8ff;outline-offset:4px;}
@media(max-width:767px){body .tte-live-list a{align-items:flex-start;}body .tte-live-list{max-height:36dvh;}body.tte-result-cards main .container>article{padding:16px;}body.tte-result-cards main .container>article h2{font-size:20px;}}

body.tte-live-dialog-open{overflow:hidden;}
body .tte-search-filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;}
body .tte-search-filters a[aria-current=page]{background:#294494;color:#fff;border-color:#8ca8ff;font-weight:700;}
body .tte-search-filters a:focus-visible{outline:3px solid #8ca8ff;outline-offset:4px;}
@media(max-width:767px){body .tte-search-filters a{flex:1 1 auto;}}
/* Plugin-owned navigation must not inherit the theme's sticky main-nav styling. */
body .tte-context-help>nav,body #tte-search-pages{position:static!important;inset:auto!important;z-index:auto!important;width:auto;height:auto;background:transparent;border:0;box-shadow:none;backdrop-filter:none;transform:none!important;}
