:root{--ps-glass:rgba(247,246,250,.78);--ps-paper:rgba(255,255,255,.96);--ps-ink:#282435;--ps-muted:#595365;--ps-line:rgba(66,49,86,.18);--ps-edge:rgba(255,255,255,.75);--ps-purple:#6916b7;--ps-soft:rgba(112,42,183,.09);--ps-green:#127d62;--ps-green-bg:#e0f4ec;--ps-shadow:rgba(23,13,37,.16);--ps-warn:#a95413;--ps-wave:#955ed5}
:root[data-theme=dark]{--ps-glass:rgba(28,24,39,.8);--ps-paper:rgba(43,36,57,.96);--ps-ink:#f8f3ff;--ps-muted:#d1c5de;--ps-line:rgba(225,202,250,.23);--ps-edge:rgba(246,236,255,.4);--ps-purple:#dbb3ff;--ps-soft:rgba(190,139,245,.14);--ps-green:#8ae3c1;--ps-green-bg:#24483e;--ps-shadow:rgba(0,0,0,.28);--ps-warn:#ffc487;--ps-wave:#d2a9ff}
/* Same tabbed section. Give the photographic composition enough width for product detail. */
#main.hf-home .ip-panel{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
#main.hf-home .ip-person{min-height:620px;overflow:hidden}
#main.hf-home .ps-scene{position:absolute;top:26px;right:24px;width:min(248px,43%);z-index:1;pointer-events:none;font-family:Geist,Arial,sans-serif;color:var(--ps-ink)}
#main.hf-home .ps-glass{padding:15px;border:1px solid var(--ps-edge);border-radius:15px;background:var(--ps-glass);backdrop-filter:blur(16px);box-shadow:0 9px 28px var(--ps-shadow)}
#main.hf-home .ps-head{display:flex;align-items:center;gap:7px;font-size:16px;line-height:1.25;font-weight:550;color:var(--ps-muted)}
#main.hf-home .ps-head>svg{width:20px;height:20px;flex:0 0 20px;color:var(--ps-purple)}
#main.hf-home .ps-entry{margin-top:13px;padding:12px;background:var(--ps-paper);border:1px solid var(--ps-line);border-radius:9px}
#main.hf-home .ps-entry>p{font-size:17px;line-height:1.4;color:var(--ps-ink);margin:0;font-weight:500}
#main.hf-home .ps-entry>span{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:var(--ps-purple)}
#main.hf-home .ps-entry>span>svg{width:19px;height:19px}
#main.hf-home .ps-entry>span>svg:last-child{padding:4px;box-sizing:content-box;background:var(--ps-soft);border-radius:6px}
#main.hf-home .ps-file{display:flex;align-items:center;gap:8px;padding:11px 0;margin-top:9px;border-bottom:1px solid var(--ps-line)}
#main.hf-home .ps-file>svg{width:21px;height:21px;flex:0 0 21px;color:var(--ps-purple)}
#main.hf-home .ps-file>svg:last-child{width:16px;height:16px;flex-basis:16px;margin-left:auto}
#main.hf-home .ps-file strong{font-size:16px;line-height:1.3;display:block;font-weight:600;color:var(--ps-ink)}
#main.hf-home .ps-file div>span{display:block;font-size:16px;line-height:1.3;margin-top:4px;color:var(--ps-muted)}
#main.hf-home .ps-source{display:flex;align-items:center;gap:6px;font-size:16px;line-height:1.3;color:var(--ps-muted);margin-top:11px}
#main.hf-home .ps-source>svg{width:17px;height:17px;flex:0 0 17px;color:var(--ps-green)}
#main.hf-home .ps-paper{display:flex;gap:10px;align-items:center;width:92%;margin:14px 0 0 auto;padding:12px;border:1px solid var(--ps-edge);background:var(--ps-paper);box-shadow:0 8px 22px var(--ps-shadow);border-radius:9px;transform:rotate(3deg)}
#main.hf-home .ps-pdf-icon{display:grid;justify-items:center;gap:3px;color:var(--ps-purple)}
#main.hf-home .ps-pdf-icon>svg{width:26px;height:29px}
#main.hf-home .ps-pdf-icon>b{font-size:16px;line-height:1}
#main.hf-home .ps-paper strong{font-size:16px;line-height:1.3;font-weight:600;display:block;color:var(--ps-ink)}
#main.hf-home .ps-paper div>span{font-size:16px;color:var(--ps-muted);display:block;line-height:1.3;margin-top:5px}
#main.hf-home .ps-title{font-size:19px;line-height:1.3;font-weight:600;letter-spacing:-.02em;color:var(--ps-ink);margin:13px 0 0}
#main.hf-home .ps-editor{display:grid;gap:10px;background:var(--ps-paper);border:1px solid var(--ps-line);border-radius:8px;padding:12px;margin-top:14px}
#main.hf-home .ps-editor>div{display:flex;gap:9px;font-size:16px;line-height:1.4;color:var(--ps-ink)}
#main.hf-home .ps-editor b{font-size:16px;font-weight:500;color:var(--ps-purple)}
#main.hf-home .ps-review{display:flex;align-items:center;gap:6px;font-size:16px;line-height:1.35;color:var(--ps-purple);margin-top:13px}
#main.hf-home .ps-review>svg{width:18px;height:18px;flex:0 0 18px}
#main.hf-home .ps-learning{bottom:25px;display:flex;flex-direction:column;justify-content:space-between}
#main.hf-home .ps-course{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--ps-edge);border-radius:13px;background:var(--ps-glass);backdrop-filter:blur(16px);box-shadow:0 8px 24px var(--ps-shadow)}
#main.hf-home .ps-course>img{display:block;width:54px;height:70px;object-fit:cover;object-position:47% 30%;border-radius:6px;flex:0 0 54px}
#main.hf-home .ps-course div>span{font-size:16px;line-height:1.3;color:var(--ps-muted)}
#main.hf-home .ps-course p{font-size:18px;line-height:1.25;font-weight:600;margin:5px 0;color:var(--ps-ink)}
#main.hf-home .ps-course-count{display:flex;align-items:center;gap:5px}
#main.hf-home .ps-course-count>svg{width:16px;height:16px}
#main.hf-home .ps-matrix{display:grid;grid-template-columns:32px repeat(3,1fr);align-items:center;justify-items:center;gap:13px 8px;margin-top:16px}
#main.hf-home .ps-matrix>span{display:grid;place-items:center;width:32px;height:32px;font-size:16px;border-radius:50%;background:var(--ps-soft);color:var(--ps-purple)}
#main.hf-home .ps-matrix>svg{width:21px;height:21px;padding:3px;border-radius:50%;background:var(--ps-green-bg);color:var(--ps-green)}
#main.hf-home .ps-due{font-size:18px;line-height:1;font-weight:650;color:var(--ps-warn)}
#main.hf-home .ps-form-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--ps-line);padding:13px 0;font-size:16px;line-height:1.3;color:var(--ps-ink)}
#main.hf-home .ps-form-row>b{display:flex;align-items:center;gap:5px;color:var(--ps-green);font-weight:550}
#main.hf-home .ps-form-row>b>svg{width:16px;height:16px}
#main.hf-home .ps-form-answer{color:var(--ps-muted)}
#main.hf-home .ps-inspection{bottom:25px;display:flex;flex-direction:column;justify-content:space-between}
#main.hf-home .ps-evidence{display:flex;align-items:center;gap:8px;padding:13px;border:1px solid var(--ps-edge);border-radius:11px;background:var(--ps-glass);backdrop-filter:blur(16px);box-shadow:0 8px 22px var(--ps-shadow)}
#main.hf-home .ps-evidence>svg{width:21px;height:21px;flex:0 0 21px;color:var(--ps-purple)}
#main.hf-home .ps-evidence>svg:last-child{color:var(--ps-green);margin-left:auto;width:17px;height:17px;flex-basis:17px}
#main.hf-home .ps-evidence strong{font-size:16px;line-height:1.3;font-weight:600;display:block;color:var(--ps-ink)}
#main.hf-home .ps-evidence div>span{display:block;font-size:16px;line-height:1.3;color:var(--ps-muted);margin-top:4px}
#main.hf-home .ps-voice{top:27px;bottom:24px;display:flex;flex-direction:column;justify-content:space-between;width:min(248px,43%)}
#main.hf-home .ps-wave{display:flex;align-items:center;justify-content:center;gap:4px;height:33px;margin-top:13px;color:var(--ps-wave)}
#main.hf-home .ps-wave>i{width:3px;height:var(--bar);border-radius:2px;background:currentColor}
#main.hf-home .ps-transcript{margin-top:12px;padding:11px;border:1px solid var(--ps-line);border-radius:7px;background:var(--ps-paper);color:var(--ps-ink);font-size:16px;line-height:1.4}
#main.hf-home .ps-voice-output{width:94%;align-self:flex-end}
@media(max-width:1179px){
 #main.hf-home .ip-panel{grid-template-columns:1fr}
 #main.hf-home .ip-person{height:clamp(500px,70vw,680px);min-height:0}
 #main.hf-home .ip-content{padding:30px}
 #main.hf-home .ip-mobile-layout{grid-template-columns:1fr}
 #main.hf-home .ip-mobile-layout>figure{height:clamp(500px,70vw,680px);min-height:0}
 #main.hf-home .ps-scene{width:min(270px,43%)}
}
@media(max-width:600px){
 #main.hf-home .ip-person,#main.hf-home .ip-mobile-layout>figure{height:540px}
 #main.hf-home .ps-scene{right:12px;top:18px;width:47%}
 #main.hf-home .ps-glass{padding:11px;border-radius:11px}
 #main.hf-home .ps-entry{padding:9px;margin-top:10px}
 #main.hf-home .ps-entry>p{font-size:16px}
 #main.hf-home .ps-title{font-size:17px}
 #main.hf-home .ps-file{gap:5px}
 #main.hf-home .ps-file>svg:last-child{display:none}
 #main.hf-home .ps-editor{padding:9px;gap:8px}
 #main.hf-home .ps-editor>div{gap:6px}
 #main.hf-home .ps-course{display:block;padding:10px}
 #main.hf-home .ps-course>img{width:100%;height:42px;object-position:50% 20%;margin-bottom:7px}
 #main.hf-home .ps-course p{font-size:17px}
 #main.hf-home .ps-matrix{grid-template-columns:28px repeat(3,1fr);gap:9px 4px}
 #main.hf-home .ps-matrix>span{width:27px;height:27px}
 #main.hf-home .ps-matrix>svg{width:17px;height:17px;padding:2px}
 #main.hf-home .ps-learning,#main.hf-home .ps-inspection,#main.hf-home .ps-voice{bottom:18px}
 #main.hf-home .ps-form-row{flex-wrap:wrap;gap:6px;padding-block:10px}
 #main.hf-home .ps-voice-output{width:100%}
 #main.hf-home .ps-wave{gap:3px}
}
@media(prefers-reduced-motion:no-preference){
 #main.hf-home .ip-panel:not([hidden]) .ps-glass,#main.hf-home .ip-panel:not([hidden]) .ps-course{animation:ps-enter .45s ease both}
 #main.hf-home .ip-mobile.ic-entered .ps-glass{animation:ps-enter .45s ease both}
 @keyframes ps-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
}

@media(max-width:600px){
 #main.hf-home .ps-voice-output .ps-head,#main.hf-home .ps-voice-output .ps-form-row{display:none}
 #main.hf-home .ps-voice-output .ps-transcript{margin:0;padding:0;border:0;background:transparent}
 #main.hf-home .ps-voice-output .ps-review{margin-top:8px}
}
