/* Narrow-screen reading layout. Desktop composition is preserved above 759px. */
@media(max-width:759px){
 /* Keep scrolled copy behind a solid header on the two light reading pages. */
 body.p15-compact .stage[data-active=PROFILE]>.site-header,
 body.p15-compact .stage[data-media=product]>.site-header{isolation:isolate}
 body.p15-compact .stage[data-active=PROFILE]>.site-header::before,
 body.p15-compact .stage[data-media=product]>.site-header::before{
  content:"";position:absolute;top:-20px;left:-22px;right:-22px;height:146px;
  background:#fafafa;border-bottom:1px solid #dedede;z-index:-1;pointer-events:none;
 }
 body.p15-compact .pf20-root{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
 body.p15-compact .pf20-dossier{position:relative;left:auto;top:auto;margin:150px 20px 40px;width:auto;height:auto;padding-top:450px}
 body.p15-compact .pf20-dossier:before{display:none}
 body.p15-compact .pf20-about-panel,body.p15-compact .stage[data-active=PROFILE] .pf20-about-panel{position:relative;left:auto;top:auto;width:100%;height:auto;transform:none;opacity:1}
 body.p15-compact .pf20-panel-back{display:none}
 body.p15-compact .pf20-panel-sheet{position:relative;inset:auto;padding:56px 16px 20px;clip-path:none;border-radius:6px;overflow:visible}
 body.p15-compact .pf20-panel-tab{right:12px;width:190px;font-size:10px}
 body.p15-compact .pf20-panel-tab b{font-size:17px}
 body.p15-compact .pf20-top-code{left:16px;right:16px;top:39px;font-size:8px}
 body.p15-compact .pf20-about-head h2{font-size:37px;letter-spacing:-1px}
 body.p15-compact .pf20-about-head p{font-size:15px;line-height:1.75;margin:18px 0}
 body.p15-compact .pf20-section-title h3{font-size:17px}
 body.p15-compact .pf20-section-title small{font-size:12px}
 body.p15-compact .pf20-section-title>i{display:none}
 body.p15-compact .pf20-education-row{height:auto;min-height:65px;flex-wrap:wrap;gap:6px 12px;padding:12px}
 body.p15-compact .pf20-education-row strong{font-size:15px;white-space:normal}
 body.p15-compact .pf20-education-row>small{display:none}
 body.p15-compact .pf20-education-row time{margin:0;font-size:13px}
 body.p15-compact .pf20-experience-row{height:auto;min-height:108px;padding:14px 10px;align-items:flex-start}
 body.p15-compact .pf20-experience-row>b{width:26px;font-size:21px;margin-top:3px}
 body.p15-compact .pf20-experience-row>i{margin:3px 10px 0 0;width:3px}
 body.p15-compact .pf20-experience-row header{flex-wrap:wrap;gap:6px}
 body.p15-compact .pf20-experience-row h4{font-size:15px;white-space:normal}
 body.p15-compact .pf20-experience-row header small{font-size:11px;padding:4px 6px}
 body.p15-compact .pf20-experience-row time{width:100%;margin:0;font-size:12px}
 body.p15-compact .pf20-experience-row p{font-size:14px;line-height:1.65;white-space:normal;overflow:visible;text-overflow:clip}
 body.p15-compact .pf20-tools{height:auto;flex-wrap:wrap;padding-bottom:12px}
 body.p15-compact .pf20-tools .pf20-section-title{height:42px;width:100%}
 body.p15-compact .pf20-tools .pf20-section-icon{height:42px}
 body.p15-compact .pf20-tool-list{height:auto;flex-wrap:wrap;width:100%;padding:6px 5px;gap:3px}
 body.p15-compact .pf20-tool{width:38px;height:40px;border:0}
 body.p15-compact .pf20-tools-note{white-space:normal;margin:8px 12px 0;font-size:11px}
 /* Contact values remain readable and usable; the decorative terminal fits below. */
 body.p15-compact .ct21{transform:none;width:100%;top:146px;height:calc(100% - 146px);overflow-x:hidden;overflow-y:auto;padding:10px 22px 32px}
 body.p15-compact .ct21-heading{position:relative;inset:auto;width:100%}
 body.p15-compact .ct21-heading>span{font-size:11px;letter-spacing:1px}
 body.p15-compact .ct21-heading h1{font-size:clamp(38px,10vw,64px);letter-spacing:-2px;margin:20px 0}
 body.p15-compact .ct21-rule{font-size:25px;gap:16px}
 body.p15-compact .ct21-list{position:relative;inset:auto;width:100%;margin:26px 0}
 body.p15-compact .ct21-row{height:auto;min-height:76px;gap:8px;padding:14px 0;flex-wrap:wrap}
 body.p15-compact .ct21-row small{width:65px;font-size:12px}
 body.p15-compact .ct21-row>span{font-size:16px;overflow-wrap:anywhere;min-width:0;flex:1}
 body.p15-compact .ct21-row>b{font-size:20px;gap:4px}body.p15-compact .ct21-row>b>span{font-size:11px}
 body.p15-compact .ct21-terminal{position:relative;left:auto;top:auto;width:100%;height:480px;margin:0}
 body.p15-compact .ct21-index,body.p15-compact .ct21-word,body.p15-compact .ct21-topnote,body.p15-compact .ct21-sidecopy,body.p15-compact .ct21-footer{display:none}
 body.p15-compact .ct21 .ct21-device-hit{left:50%;top:0;width:655px;height:565px;transform:translateX(-50%) scale(.43);transform-origin:top center}
 body.p15-compact .ct21-status{left:14px;right:14px;top:245px;width:auto}
 body.p15-compact .ct21-status>label{font-size:18px}body.p15-compact .ct21-status>strong{font-size:42px;letter-spacing:-1px}body.p15-compact .ct21-status>strong>i{font-size:35px}
 body.p15-compact .ct21-value{font-size:17px;margin-top:18px;overflow-wrap:anywhere}
 /* Archive cards must size against their actual single-column container. */
 body.p15-compact .m15-root .m15-archive-card{width:100%!important;min-width:0;max-width:100%;transform:none!important}
 body.p15-compact .m15-root .m15-archive-card>div{width:100%;max-width:100%;height:auto;aspect-ratio:16/10}
 body.p15-compact .m15-root .m15-archive-card img{width:100%;height:100%;max-width:100%;object-fit:contain}
 body.p15-compact .m15-root .m15-archive-grid{min-width:0;grid-template-columns:minmax(0,1fr)}
 body.p15-compact .m15-root .m15-viewer .m15-viewer-content{width:auto!important;max-width:calc(100% - 40px);left:20px!important;right:20px!important}
 body.p15-compact .m15-root .m15-viewer-caption h2{font-size:20px!important;overflow-wrap:anywhere}
}
@media(max-width:360px){
 body.p15-compact .pf20-portrait-card,body.p15-compact .stage[data-active=PROFILE] .pf20-portrait-card{transform:translateX(-50%) scale(.65)}
 body.p15-compact .pf20-dossier{padding-top:380px;margin-inline:16px}
 body.p15-compact .ct21{padding-inline:16px}body.p15-compact .ct21-row small{width:53px}
}


