.general-study-nav{display:flex;flex-wrap:wrap;gap:10px}.general-study-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--pp-rule);border-radius:4px;text-decoration:none}.general-study-nav [aria-current=page]{background:var(--pp-control);color:white}.general-study-nav a:hover{outline:2px solid var(--pp-orange);outline-offset:2px}.general-studies{margin:18px 0 30px}.general-studies>h2{font-size:28px;margin:0 0 8px}.general-studies>p{font-size:16px;margin:0 0 18px}.general-studies .grid{margin-top:14px}.general-study-card h2{font-size:25px}.general-study-card .open-study{font-weight:700}.general-studies .study-card img{height:190px}.brand span{color:var(--pp-orange)}@media(max-width:540px){.general-studies .grid{grid-template-columns:1fr}.general-studies .study-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center}.general-studies .study-card img{height:100%;min-height:150px;border-bottom:0;border-right:1px solid var(--pp-rule)}.general-study-nav a{flex:1 1 140px}.general-studies .study-card h2{font-size:23px}}

/* General study pages share a compact header inside the mobile tablet. */
body[data-template^="site-"]>header{gap:8px 20px;padding-block:10px}
body[data-template^="site-"]>main>.intro{padding:18px 0 0}
body[data-template^="site-"] .intro>.eyebrow{margin:0 0 8px}
body[data-template^="site-"] .intro>h1{margin:0 0 12px}
body[data-template^="site-"] .intro>.lead{margin:0 0 10px}
body[data-template^="site-"] .intro>p:not(.eyebrow):not(.lead){margin:0 0 16px}
body[data-template^="site-"] .sheets{margin-top:20px}
@media(max-width:720px){
 body[data-template^="site-"]>header{flex-wrap:nowrap;justify-content:space-between;padding:8px 18px;gap:12px;font-size:14px;line-height:1.3}
 body[data-template^="site-"]>header .brand{display:inline-flex;flex-basis:auto}
 body[data-template^="site-"]>header a{min-width:0;min-height:44px}
 body[data-template^="site-"]>header a:last-child{text-align:right}
 body[data-template^="site-"]>main{padding-top:16px}
 body[data-template^="site-"]>main>.intro{padding-top:0}
 body[data-template^="site-"] .intro>h1{font-size:clamp(28px,7vw,36px)}
 body[data-template^="site-"] .general-study-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 body[data-template^="site-"] .general-study-nav a{justify-content:center;min-width:0;min-height:44px;padding:6px;font-size:14px;line-height:1.25;text-align:center}
}

/* Same toolbar roles and tokens as the authored visual studies. */
body[data-template^="site-"]>header.studio-bar{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:8px 10px;background:var(--pp-control);color:#fff}
body[data-template^="site-"]>header.studio-bar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:14px}
body[data-template^="site-"]>header.studio-bar .brand{margin-right:auto;font-size:18px;font-weight:750;flex-shrink:0}
body[data-template^="site-"]>header.studio-bar .library-control{width:44px;flex:0 0 44px}
body[data-template^="site-"]>header.studio-bar .library-control,body[data-template^="site-"]>header.studio-bar .plan-control{border:1px solid #626f68;border-radius:5px;padding:8px 10px}
body[data-template^="site-"]>header.studio-bar .plan-control{white-space:nowrap;font-weight:600;font-size:12px}
body[data-template^="site-"]>header.studio-bar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
body[data-template^="site-"] .intro>.lead{font-size:15px;line-height:1.4}
body[data-template^="site-"] .intro>h1{font-size:clamp(25px,3.4vw,42px);line-height:1.1;margin-bottom:8px}
@media(max-width:520px){
 body[data-template^="site-"]>main{padding:10px}
 body[data-template^="site-"] .intro>.eyebrow{font-size:10px}
 body[data-template^="site-"] .intro>p:not(.eyebrow):not(.lead){font-size:14px;line-height:1.45;margin-bottom:12px}
 body[data-template^="site-"] .intro>h1{font-size:25px}
}

.study-comparison[hidden]{display:none}.comparison-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.comparison-options button{font:inherit;font-weight:700;min-height:48px;flex:1 1 100px;padding:10px;border:1px solid #81968b;border-radius:7px;background:#fffdf6;color:#29483d;cursor:pointer}.comparison-options button[aria-pressed=true]{background:#236ca4;color:white;border-color:#236ca4}.comparison-options button:focus-visible{outline:3px solid #e78336;outline-offset:3px}.comparison-scene{border:1px solid #b8c8bd;border-radius:10px;overflow:hidden}.comparison-scene svg{display:block;width:100%;height:auto}.comparison-legend{font-size:14px;line-height:1.5}.comparison-response{padding:16px;border-left:4px solid #e78336;background:#f1f3eb}.comparison-response h3{font-size:24px;line-height:1.25;margin:0 0 12px}.comparison-response p{font-size:18px;line-height:1.55;margin:10px 0}.sheet>div{min-width:0}.sheet img[hidden]{display:none}@media(max-width:540px){.comparison-response{padding:12px}.comparison-response h3{font-size:22px}.comparison-response p{font-size:17px}.comparison-options button{font-size:16px}.comparison-legend{font-size:13px}}


.comparison-camera{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.comparison-camera button{min-height:44px;flex:1 1 105px;border:1px solid #81968b;border-radius:6px;background:#fffdf6;color:#29483d;padding:8px;font:inherit;font-size:15px;cursor:pointer}.comparison-scene{touch-action:pan-y;cursor:grab}.comparison-scene:active{cursor:grabbing}.comparison-scene:focus-visible,.comparison-camera button:focus-visible{outline:3px solid #e78336;outline-offset:3px}.comparison-camera-status{font-size:14px;line-height:1.4;margin:8px 0}
