.f6-tur{color:#17354a;font-family:Arial,sans-serif;box-sizing:border-box}
.f6-tur *{box-sizing:border-box}
.f6-tur[data-expanded=true]{position:fixed;inset:0;z-index:10000;background:#edf7fb;overflow:auto;border:0;border-radius:0;margin:0;padding:0;overscroll-behavior:contain}
body:has(.f6-tur[data-expanded=true]){overflow:hidden}
.f6-tur h3,.f6-tur h4,.f6-tur p,.f6-tur figure{margin:0}
.f6-tur button{font:inherit;cursor:pointer;min-height:44px;margin:0;border-radius:10px;white-space:normal}
.f6-tur button:disabled{opacity:.5;cursor:not-allowed}
.f6-tur [hidden]{display:none!important}
.f6-tur .tur-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.f6-tur img[data-loaded=false]{visibility:hidden}
.tur-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 28px;background:#087cca;color:white}
.tur-topbar small{font-size:10px;letter-spacing:.1em;font-weight:700}
.tur-topbar h3{font-size:clamp(19px,2vw,27px);color:#fff;line-height:1.2}
.tur-progress{display:grid;gap:4px;text-align:center;flex:1}
.tur-progress strong{font-size:17px}.tur-progress span{font-size:12px}
.f6-tur .tur-close{background:#fff;color:#0872b8;border:0;padding:8px 16px;font-size:13px;font-weight:700}
.tur-stage{--cast-height:clamp(330px,calc(100dvh - 350px),580px);position:relative;isolation:isolate;overflow:clip;display:grid;grid-template-columns:minmax(130px,1fr) minmax(250px,1.35fr) minmax(130px,1fr);gap:16px;padding:0 16px;height:var(--cast-height);min-height:330px}
.tur-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 62%;z-index:-2}
.tur-stage:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent 65%,#e6f4f9cc);pointer-events:none}
.tur-character{position:relative;min-height:0;min-width:0;align-self:stretch}
.tur-michael{grid-column:1;grid-row:1;--waist:.53;--below-waist:47%;--portrait-scale:1.980198}
.tur-anna{grid-column:3;grid-row:1;--waist:.50;--below-waist:50%;--portrait-scale:1.78}
/* Michael's hair starts at .025 and eyes at .127 of his PNG; Anna's hair at .04.
   Keep both waists on the frame bottom. Michael's head has 10px clearance;
   Anna is 2.6% above the eye-line calibration (1.734783), per the latest
   human adjustment; preserve the 1.85m / 1.70m relative-height direction.
   Scale by visible height, not by the transparent PNG margins. */
.tur-poses{position:absolute;inset:0;container-type:size;clip-path:inset(0 -100vw)}
.tur-person-image{position:absolute;bottom:0;left:50%;width:auto;height:calc((100cqh - 10px) * var(--portrait-scale));max-width:none;display:block;transform:translate(-50%,var(--below-waist))}
.tur-anna .tur-person-image{transform:translate(-50%,var(--below-waist)) scaleX(-1)}
.tur-character[data-active=true] .tur-person-image{filter:drop-shadow(0 0 5px #74ceeb)}
.tur-character figcaption{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:1;display:grid;gap:2px;text-align:center;padding:5px 10px;border-radius:8px;background:#ffffffed;box-shadow:0 3px 12px #1635521c;max-width:100%;width:max-content}
.tur-character figcaption strong{font-size:14px;color:#0978ba}.tur-character figcaption span{font-size:10px}
.tur-dialogue{grid-column:2;grid-row:1;align-self:start;min-width:0;position:relative;z-index:2;margin-top:calc(var(--cast-height) * .22);transform:translateX(-32px)}
.tur-dialogue[data-speaker=anna]{margin-top:calc(var(--cast-height) * .37);transform:translateX(32px)}
.tur-bubble{position:relative;background:#fff;border:2px solid #35566b;border-radius:28px;padding:17px 22px;box-shadow:0 5px 12px #16355220}
.tur-bubble:before,.tur-bubble:after{content:"";position:absolute;left:-48px;top:22px;width:50px;height:30px;background:#35566b;clip-path:polygon(100% 0,100% 100%,0 0);pointer-events:none}
.tur-bubble:after{left:-41px;top:24px;width:44px;height:24px;background:#fff}
.tur-bubble[data-speaker=anna]:before{left:auto;right:-48px;transform:scaleX(-1)}
.tur-bubble[data-speaker=anna]:after{left:auto;right:-41px;transform:scaleX(-1)}
.tur-line{font-size:22px;font-weight:600;line-height:1.4}
.tur-playback{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:8px 24px;background:#edf7fb}
.tur-media-message{font-size:13px;color:#875121}
.tur-controls{display:flex;flex-wrap:wrap;gap:6px}
.f6-tur .tur-controls button{padding:7px 10px;border:1px solid #a8cddd;background:transparent;color:#12638c;font-size:12px;min-height:38px}
.tur-transcript{display:grid;gap:10px;margin-top:12px!important;border-top:1px solid #cae1eb;padding-top:12px;line-height:1.5;color:#133e59}
.tur-note{margin-top:12px;background:#fff6d6;padding:12px;border:1px solid #d7c486;border-radius:8px}.tur-note p{font-size:20px;font-weight:700;margin-top:5px}
.tur-dock{background:#fff;padding:16px max(24px,calc((100vw - 1400px)/2));border-top:1px solid #d6e8ef}
.tur-intro{display:grid;gap:10px;max-width:1000px;margin:auto;font-size:14px;line-height:1.4}.tur-intro h4{font-size:19px}.tur-note-text{font-size:12px;color:#586b75}
.tur-intro button{justify-self:start}.tur-intro small{color:#576a77}
.tur-answer-form{display:grid;grid-template-columns:minmax(0,1fr) 175px;align-items:end;gap:20px}
.tur-choices{border:0;margin:0;padding:0;min-width:0}.tur-choices legend{font-size:15px;font-weight:700;padding:0;margin-bottom:8px}
.tur-choice{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d3e0e8;box-shadow:0 2px 6px #12365108;padding:8px 12px;border-radius:9px;cursor:pointer;min-height:49px;line-height:1.35;font-size:16px}
.tur-choice+.tur-choice{margin-top:7px}.tur-choice input{width:17px;min-height:17px;margin:0;flex:none;accent-color:#087cca}.tur-choice b{padding:5px 9px;background:#e2f1fa;color:#087cca;border-radius:5px;font-size:14px}
.tur-choice:has(input:checked){background:#edf8ff;border-color:#087cca;box-shadow:inset 3px 0 #087cca}
.f6-tur .tur-primary{background:#1d9862;color:white;border:0;padding:12px 22px;font-weight:700;box-shadow:0 4px 0 #16794e}
.f6-tur .tur-send{height:calc(100% - 28px);min-height:70px;font-size:18px}
.f6-tur .tur-secondary{padding:6px 12px;background:#f5fafc;border:1px solid #bfd4df;color:#406377;font-size:12px;margin-top:8px;min-height:36px}
.tur-feedback{color:#875121;line-height:1.4;font-size:13px}.tur-feedback:empty{display:none}
.tur-feedback-card{display:grid;gap:8px;line-height:1.4}.tur-feedback-card button{justify-self:start}.tur-feedback-card strong{color:#185780}.tur-feedback-card p{font-size:14px}
.tur-help{padding:8px max(24px,calc((100vw - 1400px)/2));background:#f1f8fc;border-top:1px solid #dae8ef}
.f6-tur .tur-help-toggle{display:flex;align-items:center;gap:12px;border:0;padding:0;background:transparent;color:#31566a;text-align:left;font-size:13px;font-weight:700}
.tur-carl{display:block;width:44px;height:44px;object-fit:contain;flex:none}.tur-help-toggle:after{content:"+";font-size:22px}.tur-help-toggle[aria-expanded=true]:after{content:"−"}.tur-support{font-size:11px;color:#617482;padding:2px 0}
.f6-tur :is(button,input):focus-visible,.f6-tur [tabindex]:focus{outline:3px solid #e3a52a;outline-offset:3px}
@media(max-width:700px){.tur-topbar{gap:12px;padding:12px 14px;flex-wrap:wrap}.tur-topbar h3{font-size:19px}.tur-progress{flex:0 0 auto;font-size:12px}.tur-progress span{max-width:105px}.f6-tur .tur-close{font-size:11px;padding:5px 9px;min-height:34px}.tur-stage{--cast-height:240px;height:auto;min-height:0;grid-template-columns:1fr 1fr;grid-template-rows:var(--cast-height) auto;gap:12px;padding:0 10px 14px}.tur-background,.tur-stage:after{height:var(--cast-height);bottom:auto}.tur-michael{grid-column:1}.tur-anna{grid-column:2}.tur-dialogue,.tur-dialogue[data-speaker=anna]{grid-column:1/-1;grid-row:2;margin-top:14px;transform:none}.tur-bubble{padding:14px 18px;border-radius:22px}.tur-bubble:before,.tur-bubble[data-speaker=anna]:before{top:-26px;left:calc(25% - 12px);right:auto;width:30px;height:28px;clip-path:polygon(0 100%,100% 100%,0 0);transform:none}.tur-bubble:after,.tur-bubble[data-speaker=anna]:after{top:-20px;left:calc(25% - 10px);right:auto;width:24px;height:23px;clip-path:polygon(0 100%,100% 100%,0 0);transform:none}.tur-bubble[data-speaker=anna]:before{left:calc(75% - 12px)}.tur-bubble[data-speaker=anna]:after{left:calc(75% - 10px)}.tur-character figcaption{padding:4px 7px;bottom:8px}.tur-dock,.tur-help{padding:12px 14px}.tur-playback{padding:6px 14px}.tur-answer-form{grid-template-columns:1fr;gap:12px}.f6-tur .tur-send{min-height:48px;height:auto}.tur-choice{font-size:15px;min-height:53px}.tur-choice b{display:none}.tur-line{font-size:18px}}
@media(prefers-reduced-motion:reduce){.f6-tur *{scroll-behavior:auto}}
@media print{.f6-tur[data-expanded=true]{position:static;overflow:visible}.tur-topbar,.tur-controls,.tur-help,.tur-secondary,.tur-close{display:none}.tur-stage{height:350px}.tur-dock{break-inside:avoid}}
