/* CR-008: a reversible local visual candidate. Approved palette is inherited. */
#tt-adaptive-review :is(a,button,summary,select):focus-visible{outline:3px solid var(--tt-accent);outline-offset:4px;}
#tt-adaptive-review :is(a,button,summary,select){touch-action:manipulation;}
#tt-adaptive-review [id]{scroll-margin-top:24px;}
#tt-adaptive-review summary{cursor:pointer;}
#tt-adaptive-review .tt-theme button{font-size:16px;}
#tt-adaptive-review .tt-reading-tools{position:relative;}
#tt-adaptive-review .tt-reading-tools>summary{display:none;}
#tt-adaptive-review .tt-reading-panel{display:flex;gap:18px;align-items:center;}
#tt-adaptive-review .tt-reading-panel>label{font-size:16px;display:flex;align-items:center;gap:8px;}
#tt-adaptive-review .tt-reading-panel select{border-radius:7px;padding:5px;min-width:55px;}
#tt-adaptive-review .tt-header-actions{gap:12px;}
#tt-adaptive-review .tt-hero-photo-frame{grid-column:2;grid-row:1/4;height:380px;border-radius:16px;overflow:hidden;background:var(--tt-soft);}
#tt-adaptive-review .tt-hero-photo-frame .tt-hero-photo{height:100%!important;object-position:50% 20%;transform:scale(1.18);transform-origin:50% 20%;border-radius:0;}
#tt-adaptive-review .tt-pdf-card .tt-actions{margin:0 0 26px;}
#tt-adaptive-review .tt-pdf-body>p:first-child{min-height:0;}
#tt-adaptive-review .tt-pdf-meta,#tt-adaptive-review .tt-home-pdf small,#tt-adaptive-review .tt-home-pdf .tt-link-label{font-size:16px;}
#tt-adaptive-review .tt-topic-picker{display:flex;align-items:center;gap:18px;font-size:18px;margin:6px 0 0;}
#tt-adaptive-review .tt-topic-picker select{flex:1;min-width:0;max-width:560px;border-radius:9px;padding:10px;min-height:54px;width:100%;}
#tt-adaptive-review .tt-pdf-introduction{max-width:850px;}
#tt-adaptive-review .tt-price-amount{display:block;font-size:clamp(42px,5cqi,56px);line-height:1.2;letter-spacing:-.045em;margin:10px 0;color:var(--tt-accent);white-space:nowrap;}
#tt-adaptive-review .tt-price-label,#tt-adaptive-review .tt-price-explanation{display:block;font-size:18px;line-height:1.5;}
#tt-adaptive-review .tt-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#tt-adaptive-review .tt-program-order{border-top:4px solid var(--tt-accent);}
#tt-adaptive-review .tt-toc-shell{position:sticky;top:20px;align-self:start;max-height:calc(100dvh - 40px);overflow:auto;border-radius:12px;background:var(--tt-soft);}
#tt-adaptive-review .tt-toc-shell>summary{padding:18px 20px;font-size:18px;font-weight:600;line-height:1.4;}
#tt-adaptive-review .tt-toc{padding-top:0;}
#tt-adaptive-review .tt-toc a{font-size:16px;}
#tt-adaptive-review .tt-toc-return{display:inline-flex;align-items:center;min-height:48px;margin-top:22px;font-size:16px;}
#tt-adaptive-review .tt-group[open]{border-color:var(--tt-accent);}
#tt-adaptive-review .tt-group[open]>summary{background:var(--tt-soft);border-radius:11px 11px 0 0;}
@container(max-width:1100px) and (min-width:681px){
 #tt-adaptive-review .tt-reading-panel{gap:8px;flex-wrap:wrap;justify-content:flex-end;}
 #tt-adaptive-review .tt-header-actions{max-width:470px;}
}
@container(max-width:680px){
 #tt-adaptive-review .tt-inner{padding-left:16px;padding-right:16px;}
 #tt-adaptive-review .tt-header{padding-top:12px;gap:4px 12px;align-items:center;}
 #tt-adaptive-review .tt-brand-words{align-self:end;}
 #tt-adaptive-review .tt-header-actions{align-self:start;gap:6px;flex-wrap:nowrap;position:relative;max-width:none;}
 #tt-adaptive-review .tt-reading-tools{position:static;}
 #tt-adaptive-review .tt-reading-tools>summary{display:flex;align-items:center;justify-content:center;list-style:none;min-height:44px;font-size:16px;padding:5px 6px;border:1px solid var(--tt-line);border-radius:8px;white-space:nowrap;}
 #tt-adaptive-review .tt-reading-tools>summary::-webkit-details-marker{display:none;}
 #tt-adaptive-review .tt-reading-tools[open]>summary{background:var(--tt-panel);}
 #tt-adaptive-review .tt-reading-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:5;display:grid;gap:16px;width:min(300px,calc(100vw - 32px));padding:18px;background:var(--tt-panel);border:1px solid var(--tt-line);border-radius:12px;box-shadow:0 8px 28px #152c3430;}
 #tt-adaptive-review .tt-theme{gap:8px;}
 #tt-adaptive-review .tt-theme button{font-size:16px;flex:1;padding:8px;}
 #tt-adaptive-review .tt-theme button[aria-pressed=true]{background:var(--tt-soft);}
 #tt-adaptive-review .tt-reading-panel>label{justify-content:space-between;}
 #tt-adaptive-review .tt-contact-toggle{font-size:16px!important;padding:5px 7px;}
 #tt-adaptive-review .tt-nav{gap:9px;padding-top:0;}
 #tt-adaptive-review .tt-nav a{font-size:16px;padding:12px 0;}
 #tt-adaptive-review .tt-nav a:nth-child(2){white-space:nowrap;}
 #tt-adaptive-review .tt-hero{grid-template-columns:124px minmax(0,1fr);gap:16px 14px;}
 #tt-adaptive-review .tt-hero-photo-frame{grid-column:1;grid-row:2;height:180px;border-radius:10px;}
 #tt-adaptive-review .tt-hero-photo-frame .tt-hero-photo{transform:scale(1.4);transform-origin:50% 20%;object-position:50% 30%;}
 #tt-adaptive-review .tt-hero-title .tt-eyebrow{font-size:16px;}
 #tt-adaptive-review .tt-page-heading{padding:26px 0;}
 #tt-adaptive-review .tt-page-heading h1{font-size:29px;}
 #tt-adaptive-review .tt-topic-picker{display:grid;gap:8px;}
 #tt-adaptive-review .tt-pdf-visual{grid-template-columns:82px minmax(0,1fr);gap:14px;padding:18px;}
 #tt-adaptive-review .tt-pdf-visual img{width:82px;}
 #tt-adaptive-review .tt-pdf-visual h2{font-size:23px;}
 #tt-adaptive-review .tt-pdf-body{padding:18px;}
 #tt-adaptive-review .tt-pdf-card .tt-actions{gap:10px;}
 #tt-adaptive-review .tt-pdf-card .tt-actions a{font-size:18px;}
 #tt-adaptive-review .tt-toc-shell{position:static;max-height:none;overflow:visible;margin-bottom:24px;}
 #tt-adaptive-review .tt-toc-shell>summary{padding:16px 18px;min-height:56px;}
 #tt-adaptive-review .tt-toc{margin:0;padding:0 18px 12px;gap:0 16px;}
 #tt-adaptive-review .tt-toc a{font-size:16px;}
}
@media(prefers-reduced-motion:reduce){#tt-adaptive-review *{scroll-behavior:auto!important;}}
@container(max-width:350px){
 #tt-adaptive-review .tt-nav{gap:4px;}
 #tt-adaptive-review .tt-nav a{font-size:15px;}
 #tt-adaptive-review .tt-header-actions{gap:4px;}
 #tt-adaptive-review .tt-reading-tools>summary{padding-left:4px;padding-right:4px;}
 #tt-adaptive-review .tt-contact-toggle{padding-left:5px;padding-right:5px;}
}
