:root{
  --navy:#304878;
  --deep:#24365F;
  --steel:#A8B0C8;
  --pale:#E8ECF4;
  --pale2:#F6F7FB;
  --coral:#FF9999;
  --coral-dark:#F08880;
  --ink:#303F63;
  --white:#FFFFFF;
  --muted:#697694;
  --line:#DCE1EC;
  --shadow:0 24px 60px rgba(48,72,120,.15);
  --radius:34px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:"Source Sans Pro","Source Sans 3","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--pale)}
button,input{font:inherit}
button{cursor:pointer}
body{display:grid;place-items:center;padding:22px;background:linear-gradient(135deg,#fff 0%,#fff 44%,#eef2f8 44%,#eef2f8 100%)}
body:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 12% 12%,rgba(255,153,153,.18),transparent 28%),radial-gradient(circle at 90% 20%,rgba(168,176,200,.25),transparent 30%);pointer-events:none}
.course{width:min(1280px,100%);aspect-ratio:16/9;min-height:640px;background:var(--white);box-shadow:var(--shadow);border-radius:32px;overflow:hidden;position:relative;border:1px solid rgba(168,176,200,.45)}
.topbar{height:76px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:5;background:rgba(255,255,255,.95)}
.brand{display:flex;align-items:center;gap:14px;font-weight:800;color:var(--navy);letter-spacing:.02em}.brand-dot{width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:.72rem;font-weight:900;text-transform:uppercase;box-shadow:0 7px 20px rgba(48,72,120,.22)}.brand-sub{display:block;color:var(--muted);font-weight:600;font-size:.83rem;letter-spacing:0;margin-top:1px}
.progressbox{display:grid;gap:8px;min-width:360px}.progressmeta{display:flex;justify-content:space-between;color:var(--muted);font-size:.9rem;font-weight:700}.bar{height:8px;background:#eef1f7;border-radius:99px;overflow:hidden}.bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--navy),var(--coral));transition:width .35s ease}
.slides{height:calc(100% - 148px);position:relative}.slide{position:absolute;inset:0;display:none;padding:46px 58px 40px;overflow:hidden}.slide.active{display:block;animation:enter .42s ease both}.slide:after{content:"";position:absolute;right:-170px;bottom:-210px;width:520px;height:520px;border:3px solid rgba(168,176,200,.35);border-radius:50%;pointer-events:none}.slide:before{content:"";position:absolute;right:-80px;top:55px;width:250px;height:250px;border-radius:50%;background:rgba(255,153,153,.08);pointer-events:none}.kicker{text-transform:uppercase;letter-spacing:.16em;color:var(--coral-dark);font-size:.78rem;font-weight:900;margin:0 0 13px}.slide h1,.slide h2{font-size:clamp(2.4rem,4.4vw,4.8rem);line-height:.98;letter-spacing:-.045em;margin:0 0 18px;color:var(--navy);font-weight:900}.slide h2{font-size:clamp(2rem,3.35vw,3.5rem)}.lead{font-size:clamp(1rem,1.45vw,1.25rem);line-height:1.48;color:var(--muted);max-width:780px}.small{font-size:.96rem;color:var(--muted);line-height:1.45}.grid{display:grid;gap:22px}.two{grid-template-columns:1.05fr .95fr}.three{grid-template-columns:repeat(3,1fr)}.four{grid-template-columns:repeat(4,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:0 12px 32px rgba(48,72,120,.08);position:relative}.card.blue{background:var(--navy);color:#fff}.card.blue p,.card.blue .small{color:#dfe6f3}.card.soft{background:var(--pale2)}.card.coral{background:rgba(255,153,153,.17);border-color:rgba(255,153,153,.55)}.card h3{margin:0 0 8px;color:inherit;font-size:1.18rem}.card p{margin:.4rem 0;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px;font-weight:800;color:var(--navy);margin:5px}.pill.coral{background:rgba(255,153,153,.18);border-color:rgba(255,153,153,.6);color:#9f5555}.icon-round{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--line);margin-bottom:12px}.icon-round img{width:56px;height:56px}.hero{display:grid;grid-template-columns:1fr 410px;gap:28px;align-items:center;position:relative;z-index:1}.flower{width:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(48,72,120,.15));animation:float 4s ease-in-out infinite}.mini-guide{display:grid;gap:12px}.colorchip{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:13px}.swatch{width:54px;height:54px;border-radius:50%;box-shadow:0 8px 18px rgba(48,72,120,.15);border:4px solid #fff}.motion-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}.motion{min-height:126px;text-align:center;display:grid;place-items:center;align-content:center;gap:8px;opacity:0;transform:translateY(18px);animation:rise .65s ease forwards}.motion:nth-child(2){animation-delay:.13s}.motion:nth-child(3){animation-delay:.25s}.motion:nth-child(4){animation-delay:.38s}.motion img{width:58px;height:58px}.slider-wrap{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:center}.flow-panel{min-height:362px;border-radius:34px;border:1px solid var(--line);background:#fff;padding:24px;display:grid;place-items:center}.flow-panel img{max-width:100%;max-height:310px;object-fit:contain;opacity:.9}.range{accent-color:var(--coral);width:100%;height:44px}.meter{height:18px;border-radius:99px;background:var(--pale);overflow:hidden;margin:16px 0}.meter span{display:block;height:100%;width:50%;background:linear-gradient(90deg,var(--steel),var(--coral));border-radius:99px;transition:width .28s ease}.big-number{font-size:4.3rem;font-weight:900;color:var(--coral);line-height:1}.drag-wrap{display:grid;grid-template-columns:300px 1fr;gap:24px;margin-top:14px}.drag-list{display:grid;gap:12px}.drag-item{background:#fff;border:2px solid var(--steel);color:var(--navy);border-radius:20px;padding:14px 16px;font-weight:900;box-shadow:0 10px 20px rgba(48,72,120,.08);user-select:none}.drag-item.dragging{opacity:.5}.dropzones{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dropzone{min-height:250px;border:3px dashed var(--steel);border-radius:26px;background:var(--pale2);padding:15px}.dropzone h3{margin:0 0 10px;color:var(--navy)}.dropzone.over{border-color:var(--coral);background:rgba(255,153,153,.1)}.dropzone .drag-item{margin:10px 0;border-color:var(--coral)}.feedback{margin-top:12px;font-weight:900;color:var(--coral-dark);min-height:28px}.flip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:22px}.flip-card{height:205px;perspective:1000px}.flip-inner{position:relative;width:100%;height:100%;transition:transform .62s cubic-bezier(.2,.8,.2,1);transform-style:preserve-3d}.flip-card.flipped .flip-inner{transform:rotateY(180deg)}.flip-face{position:absolute;inset:0;border-radius:26px;border:1px solid var(--line);backface-visibility:hidden;background:#fff;box-shadow:0 12px 28px rgba(48,72,120,.08);padding:18px;display:grid;place-items:center;text-align:center}.flip-face img{width:62px;height:62px}.flip-back{transform:rotateY(180deg);background:var(--navy);color:#fff}.flip-back p{color:#dfe6f3}.rotate-wrap{display:grid;grid-template-columns:440px 1fr;gap:34px;align-items:center}.wheel-stage{height:400px;display:grid;place-items:center}.wheel{width:330px;height:330px;border-radius:50%;position:relative;background:conic-gradient(from -20deg,var(--navy) 0 33%,var(--coral) 33% 66%,var(--steel) 66% 100%);box-shadow:0 24px 48px rgba(48,72,120,.18);transition:transform .75s cubic-bezier(.18,.88,.2,1.15)}.wheel:before{content:"";position:absolute;inset:74px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line)}.wheel:after{content:"";position:absolute;top:-24px;left:50%;translate:-50%;border-left:22px solid transparent;border-right:22px solid transparent;border-top:42px solid var(--coral)}.wheel-center{position:absolute;inset:94px;display:grid;place-items:center;text-align:center;font-weight:900;color:var(--navy);font-size:1.14rem}.role-icons{position:absolute;inset:0}.role-icons img{position:absolute;width:66px;height:66px;object-fit:contain;background:#fff;border-radius:50%;padding:6px}.role-icons img:nth-child(1){left:50%;top:25px;translate:-50% 0}.role-icons img:nth-child(2){right:34px;bottom:70px}.role-icons img:nth-child(3){left:34px;bottom:70px}.rotate-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.timeline{position:relative;margin-top:46px;padding-top:38px}.timeline:before{content:"";position:absolute;left:6%;right:6%;top:52px;height:8px;background:var(--pale);border-radius:999px}.timeline:after{content:"";position:absolute;left:6%;top:52px;height:8px;width:0;background:linear-gradient(90deg,var(--navy),var(--coral));border-radius:999px;animation:line 2.2s ease forwards}.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.step{position:relative;padding-top:40px;opacity:0;transform:translateY(18px);animation:rise .5s ease forwards}.step:nth-child(2){animation-delay:.2s}.step:nth-child(3){animation-delay:.4s}.step:nth-child(4){animation-delay:.6s}.step:nth-child(5){animation-delay:.8s}.step:before{content:attr(data-n);position:absolute;left:50%;top:0;translate:-50%;width:46px;height:46px;border-radius:50%;background:#fff;border:8px solid var(--coral);display:grid;place-items:center;color:var(--navy);font-weight:900;z-index:2}.step .card{min-height:180px}.hotspot-scene{display:grid;grid-template-columns:450px 1fr;gap:28px;align-items:center}.hotspot-flower{position:relative;min-height:440px;display:grid;place-items:center}.hotspot-flower img{max-width:420px;width:100%;filter:drop-shadow(0 16px 28px rgba(48,72,120,.12))}.spot{position:absolute;width:54px;height:54px;border-radius:50%;border:0;background:var(--coral);box-shadow:0 0 0 10px rgba(255,153,153,.22),0 10px 20px rgba(48,72,120,.16);color:#fff;font-weight:900;animation:pulse 1.8s infinite}.spot.active{background:var(--navy);box-shadow:0 0 0 12px rgba(48,72,120,.18),0 10px 20px rgba(48,72,120,.16)}.spot:nth-of-type(1){left:58%;top:9%}.spot:nth-of-type(2){left:74%;top:43%}.spot:nth-of-type(3){left:43%;bottom:12%}.spot:nth-of-type(4){left:14%;top:45%}.quiz-layout{display:grid;grid-template-columns:1fr 430px;gap:28px;align-items:center}.conflict{background:#fff;border-radius:30px;padding:18px;border:1px solid var(--line)}.conflict img{width:100%;display:block}.quiz-options{display:grid;gap:12px;margin-top:14px}.option{border:2px solid var(--line);border-radius:18px;background:#fff;padding:14px 16px;text-align:left;font-weight:800;color:var(--navy)}.option.selected{border-color:var(--navy);background:var(--pale)}.option.correct{border-color:#5AAA72;background:#EFFAF1}.option.incorrect{border-color:var(--coral-dark);background:#FFF0F0}.final-grid{display:grid;grid-template-columns:390px 1fr;gap:34px;align-items:center}.score-ring{--deg:0deg;width:280px;height:280px;border-radius:50%;background:conic-gradient(var(--coral) 0deg,var(--coral) var(--deg),var(--pale) var(--deg));display:grid;place-items:center;position:relative;margin:auto;box-shadow:0 16px 35px rgba(48,72,120,.12)}.score-ring:before{content:"";position:absolute;inset:30px;border-radius:50%;background:#fff}.score-ring strong{position:relative;color:var(--navy);font-size:4rem}.status-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.status{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px;font-weight:800}.check{width:30px;height:30px;min-width:30px;border-radius:50%;background:#E7F5EC;color:#3D9B58;display:grid;place-items:center;font-weight:900}.notyet{background:#F2F3F7;color:var(--steel)}.nav{height:72px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);background:rgba(255,255,255,.96);position:relative;z-index:6}.nav-left,.nav-right{display:flex;align-items:center;gap:10px}.btn{border:0;border-radius:999px;padding:12px 18px;font-weight:900;background:var(--navy);color:#fff;box-shadow:0 10px 22px rgba(48,72,120,.2)}.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}.btn.secondary{background:#fff;color:var(--navy);border:1px solid var(--line);box-shadow:none}.btn.coral{background:var(--coral);color:#fff}.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}.slide-count{font-weight:900;color:var(--navy)}
@keyframes enter{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@keyframes rise{to{opacity:1;transform:translateY(0)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-18px)}}
@keyframes line{to{width:88%}}
@keyframes pulse{0%,100%{transform:scale(1);box-shadow:0 0 0 10px rgba(255,153,153,.22),0 10px 20px rgba(48,72,120,.16)}50%{transform:scale(1.08);box-shadow:0 0 0 20px rgba(255,153,153,0),0 10px 20px rgba(48,72,120,.16)}}
@media(max-width:980px){body{padding:0}.course{border-radius:0;min-height:100vh;aspect-ratio:auto}.topbar,.nav{height:auto;min-height:72px;flex-wrap:wrap;gap:10px;padding:16px}.progressbox{min-width:100%}.slides{height:auto;min-height:calc(100vh - 170px)}.slide{position:relative;min-height:calc(100vh - 170px);padding:28px 20px;overflow:auto}.hero,.two,.three,.four,.slider-wrap,.drag-wrap,.dropzones,.flip-grid,.rotate-wrap,.steps,.hotspot-scene,.quiz-layout,.final-grid,.status-list{grid-template-columns:1fr}.flower{max-height:340px}.slide:after,.slide:before{display:none}.wheel-stage{height:310px}.wheel{width:260px;height:260px}.hotspot-flower{min-height:360px}.motion-row{grid-template-columns:1fr 1fr}}

/* Real course refinements */
.card h3{margin-top:0}.quiz-layout .final-grid{display:block}.quiz-layout .score-ring{margin:0 auto 18px}.status-list{gap:9px}.status{font-size:.94rem}.dropzone h3{margin-top:0}.flip-face h3{margin:.35rem 0}.timeline .card{position:relative;z-index:1}.mini-guide{display:grid;gap:10px}.flow-panel img{max-width:100%;object-fit:contain}.conflict .spot:nth-of-type(1){left:61%;top:14%}.conflict .spot:nth-of-type(2){left:75%;top:35%}.conflict .spot:nth-of-type(3){left:35%;top:55%}.conflict .spot:nth-of-type(4){left:18%;top:72%}


/* Layout fix: prevent content from being clipped or hidden behind the frame/nav */
.course{height:min(960px,calc(100vh - 44px));}
.slides{min-height:0;}
.slide{overflow:auto;padding-bottom:56px;scrollbar-gutter:stable both-edges;}
.slide > *{position:relative;z-index:1;}
.card,.flow-panel,.conflict{overflow-wrap:anywhere;}
.flip-face{overflow:auto;}

@media (max-width:980px){
  .course{height:auto;min-height:100vh;}
  .slides{height:auto;}
  .slide{padding-bottom:120px;}
}

@media (min-width:981px){
  .slide h1,.slide h2{max-width:82%;}
  .lead{max-width:72ch;}
}

/* 7-trins konflikttrappe */
.staircase-model{position:relative;background:#fff;border-radius:30px;padding:12px;border:1px solid var(--line)}
.staircase-model img{width:100%;max-width:560px;display:block;margin:auto}
.staircase-model .spot{width:46px;height:46px;font-size:1rem}
.staircase-model .spot:nth-of-type(1){left:9%;bottom:13%}
.staircase-model .spot:nth-of-type(2){left:18%;bottom:24%}
.staircase-model .spot:nth-of-type(3){left:29%;bottom:35%}
.staircase-model .spot:nth-of-type(4){left:41%;bottom:46%}
.staircase-model .spot:nth-of-type(5){left:54%;bottom:57%}
.staircase-model .spot:nth-of-type(6){left:68%;bottom:68%}
.staircase-model .spot:nth-of-type(7){left:82%;bottom:79%}
@media(max-width:700px){
  .staircase-model{padding:8px}
  .staircase-model img{max-width:100%}
  .staircase-model .spot{width:36px;height:36px;box-shadow:0 0 0 6px rgba(255,153,153,.18),0 8px 16px rgba(48,72,120,.14)}
}


/* Readability fix for konflikttrappen */
.staircase-model{padding:16px!important}
.staircase-model img{max-width:680px!important;width:100%!important}
.staircase-model.hotspot-flower{min-height:980px!important;align-items:start!important}
.staircase-model .spot{width:52px!important;height:52px!important;font-size:1.05rem!important}
.staircase-model .spot:nth-of-type(1){left:8%!important;top:81.8%!important}
.staircase-model .spot:nth-of-type(2){left:14.5%!important;top:71.4%!important}
.staircase-model .spot:nth-of-type(3){left:21.2%!important;top:61.0%!important}
.staircase-model .spot:nth-of-type(4){left:27.8%!important;top:50.8%!important}
.staircase-model .spot:nth-of-type(5){left:34.5%!important;top:40.6%!important}
.staircase-model .spot:nth-of-type(6){left:41.0%!important;top:30.4%!important}
.staircase-model .spot:nth-of-type(7){left:47.6%!important;top:20.0%!important}
@media(max-width:980px){.hotspot-scene{grid-template-columns:1fr!important}.staircase-model.hotspot-flower{min-height:860px!important}.staircase-model img{max-width:620px!important}}
@media(max-width:700px){.staircase-model{padding:10px!important}.staircase-model.hotspot-flower{min-height:620px!important}.staircase-model img{max-width:100%!important}.staircase-model .spot{width:40px!important;height:40px!important;font-size:.92rem!important;box-shadow:0 0 0 7px rgba(255,153,153,.18),0 8px 16px rgba(48,72,120,.14)!important}.staircase-model .spot:nth-of-type(1){left:7.4%!important;top:81.5%!important}.staircase-model .spot:nth-of-type(2){left:13.5%!important;top:71.3%!important}.staircase-model .spot:nth-of-type(3){left:20.0%!important;top:61.0%!important}.staircase-model .spot:nth-of-type(4){left:26.5%!important;top:50.7%!important}.staircase-model .spot:nth-of-type(5){left:33.0%!important;top:40.5%!important}.staircase-model .spot:nth-of-type(6){left:39.5%!important;top:30.3%!important}.staircase-model .spot:nth-of-type(7){left:46.0%!important;top:20.0%!important}}


/* Hotspot placement fix for konflikttrappen */
.staircase-model{display:block!important;min-height:auto!important}
.stair-stage{position:relative;width:min(680px,100%);aspect-ratio:860 / 1280;margin:0 auto}
.stair-stage img{width:100%!important;height:100%!important;max-width:none!important;display:block;margin:0 auto}
.stair-stage .spot{position:absolute!important;transform:translate(-50%,-50%)!important;width:48px!important;height:48px!important;font-size:1rem!important}
.stair-stage .spot:nth-of-type(1){left:12.1%!important;top:85.8%!important}
.stair-stage .spot:nth-of-type(2){left:18.1%!important;top:75.8%!important}
.stair-stage .spot:nth-of-type(3){left:24.2%!important;top:65.8%!important}
.stair-stage .spot:nth-of-type(4){left:30.2%!important;top:55.8%!important}
.stair-stage .spot:nth-of-type(5){left:36.3%!important;top:45.8%!important}
.stair-stage .spot:nth-of-type(6){left:42.3%!important;top:35.8%!important}
.stair-stage .spot:nth-of-type(7){left:48.4%!important;top:25.8%!important}
@media(max-width:700px){
  .stair-stage .spot{width:38px!important;height:38px!important;font-size:.92rem!important;box-shadow:0 0 0 7px rgba(255,153,153,.18),0 8px 16px rgba(48,72,120,.14)!important}
}


/* Responsive v2: samlet responsivt lag uden 16:9-tvang */
html,body{height:100%;max-width:100%;overflow:hidden}
body{min-height:100dvh;padding:clamp(0px,1.8vw,22px);display:flex;align-items:center;justify-content:center}
body:before{z-index:0}.course{position:relative;z-index:1;width:min(1280px,100%);height:min(920px,calc(100dvh - clamp(0px,3.6vw,44px)));min-height:0;aspect-ratio:auto!important;display:flex;flex-direction:column;overflow:hidden;background:var(--white)}
.topbar{flex:0 0 auto;min-height:72px;height:auto!important;gap:16px}.progressbox{min-width:min(360px,42vw);width:auto}.slides{flex:1 1 auto;min-height:0!important;height:auto!important;position:relative;overflow:hidden}.slide{position:absolute!important;inset:0!important;min-height:0!important;height:100%;overflow:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:clamp(22px,3.2vw,46px) clamp(20px,4vw,58px) clamp(28px,4vw,56px)!important;scrollbar-gutter:stable}.slide.active{display:block}.slide>*{position:relative;z-index:1}.nav{flex:0 0 auto;height:auto!important;min-height:70px}.slide h1,.slide h2{max-width:100%!important;overflow-wrap:balance}.lead{max-width:74ch!important}.card,.flow-panel,.conflict,.dropzone,.option,.status{overflow-wrap:anywhere}.card{min-width:0}.grid,.hero,.slider-wrap,.drag-wrap,.dropzones,.flip-grid,.rotate-wrap,.steps,.hotspot-scene,.quiz-layout,.final-grid,.status-list,.motion-row{min-width:0}.flower,.flow-panel img,.hotspot-flower img{max-width:100%;height:auto}.btn,.option,.drag-item,.spot{touch-action:manipulation}

@media(max-width:1180px){
  .hero{grid-template-columns:1.05fr .8fr!important}.flower{max-height:360px}.motion-row{grid-template-columns:repeat(2,1fr)!important}.flip-grid{grid-template-columns:repeat(2,1fr)!important}.drag-wrap{grid-template-columns:1fr!important}.dropzones{grid-template-columns:repeat(3,1fr)!important}.rotate-wrap{grid-template-columns:340px 1fr!important}.wheel-stage{height:330px!important}.wheel{width:270px!important;height:270px!important}.wheel:before{inset:62px!important}.wheel-center{inset:80px!important}.role-icons img{width:58px!important;height:58px!important}.hotspot-scene{grid-template-columns:minmax(360px,.95fr) minmax(280px,1fr)!important}.quiz-layout{grid-template-columns:1fr!important}.quiz-layout .final-grid{display:grid!important;grid-template-columns:260px 1fr!important}.status-list{grid-template-columns:repeat(2,1fr)!important}
}

@media(max-width:900px){
  body{padding:0}.course{width:100%;height:100dvh;border-radius:0!important;border:0!important;box-shadow:none!important}.topbar{position:relative!important;display:grid!important;grid-template-columns:1fr!important;padding:12px 16px!important;min-height:auto}.brand{min-width:0}.brand-sub{font-size:.78rem}.progressbox{min-width:0!important;width:100%!important}.progressmeta{font-size:.82rem}.slide{padding:22px 18px 30px!important}.slide:before,.slide:after{display:none!important}.slide h1,.slide h2{font-size:clamp(1.75rem,7.2vw,2.65rem)!important;line-height:1.05!important;margin-bottom:12px!important}.lead{font-size:1rem!important;line-height:1.48!important}.hero,.two,.three,.four,.slider-wrap,.drag-wrap,.dropzones,.flip-grid,.rotate-wrap,.steps,.hotspot-scene,.quiz-layout,.final-grid,.status-list,.motion-row{grid-template-columns:1fr!important}.flower{max-height:260px}.card{border-radius:22px;padding:16px}.flow-panel{min-height:220px!important;padding:16px!important}.flow-panel img{max-height:220px!important}.dropzone{min-height:140px!important}.timeline{margin-top:20px!important;padding-top:0!important;display:grid;gap:12px}.timeline:before,.timeline:after{display:none!important}.step{padding:0!important;opacity:1!important;transform:none!important}.step:before,.step:after{display:none!important}.step .card{min-height:auto!important}.flip-card{height:170px!important}.rotate-buttons{display:grid!important;grid-template-columns:repeat(3,1fr)!important}.wheel-stage{height:260px!important}.wheel{width:220px!important;height:220px!important}.wheel:before{inset:52px!important}.wheel-center{inset:68px!important;font-size:.95rem!important}.role-icons img{width:48px!important;height:48px!important}.score-ring{width:190px!important;height:190px!important}.score-ring:before{inset:24px!important}.score-ring strong{font-size:2.8rem!important}.nav{display:grid!important;grid-template-columns:1fr auto!important;align-items:center;gap:10px;padding:10px 12px!important;border-top:1px solid var(--line);background:rgba(255,255,255,.98)}.nav-left{min-width:0}.slide-count{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-right{display:flex;gap:8px}.nav .btn{min-height:46px;padding:11px 14px;min-width:86px}
}

@media(max-width:520px){
  .topbar{padding:10px 12px!important}.brand-dot{width:36px!important;height:36px!important;min-width:36px!important}.brand{font-size:.95rem}.brand-sub{display:block;font-size:.72rem}.slide{padding:18px 12px 24px!important}.kicker{font-size:.68rem;letter-spacing:.12em}.slide h1,.slide h2{font-size:clamp(1.55rem,8.4vw,2.25rem)!important}.lead{font-size:.96rem!important}.card{padding:14px;border-radius:20px}.card h3{font-size:1.02rem}.motion{min-height:auto!important;text-align:left!important;display:flex!important;justify-content:flex-start!important;padding:12px}.motion img{width:40px;height:40px}.pill{font-size:.86rem;padding:7px 10px}.big-number{font-size:3rem!important}.flip-grid{grid-template-columns:1fr!important}.flip-card{height:155px!important}.dropzones{gap:10px!important}.option{padding:13px 14px}.status{padding:11px;font-size:.88rem}.check{width:26px;height:26px;min-width:26px}.nav{grid-template-columns:1fr!important}.nav-left{display:none!important}.nav-right{width:100%;display:grid!important;grid-template-columns:1fr 1fr}.nav .btn{width:100%;min-width:0}
}

/* Konflikttrappe: desktop viser grafikken, mobil viser læsbare trinkort */
.staircase-model{display:block!important;min-height:auto!important;padding:clamp(10px,1.8vw,16px)!important}.stair-stage{position:relative;width:min(680px,100%);aspect-ratio:860/1280;margin:0 auto}.stair-stage img{width:100%!important;height:100%!important;max-width:none!important;display:block;margin:0 auto}.stair-stage .spot{position:absolute!important;transform:translate(-50%,-50%)!important;width:48px!important;height:48px!important;font-size:1rem!important}.stair-stage .spot:nth-of-type(1){left:12.1%!important;top:85.8%!important}.stair-stage .spot:nth-of-type(2){left:18.1%!important;top:75.8%!important}.stair-stage .spot:nth-of-type(3){left:24.2%!important;top:65.8%!important}.stair-stage .spot:nth-of-type(4){left:30.2%!important;top:55.8%!important}.stair-stage .spot:nth-of-type(5){left:36.3%!important;top:45.8%!important}.stair-stage .spot:nth-of-type(6){left:42.3%!important;top:35.8%!important}.stair-stage .spot:nth-of-type(7){left:48.4%!important;top:25.8%!important}.stair-mobile-list{display:none}
@media(max-width:760px){.stair-stage{display:none!important}.stair-mobile-list{display:grid;gap:10px}.stair-mobile-list .stair-card{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100%!important;height:auto!important;border:1px solid var(--line);box-shadow:0 10px 24px rgba(48,72,120,.08);border-radius:20px;background:#fff;color:var(--navy);display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;text-align:left;padding:12px!important;animation:none!important}.stair-mobile-list .stair-card strong{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy);font-size:1.05rem}.stair-mobile-list .stair-card span{display:grid;gap:2px}.stair-mobile-list .stair-card b{font-size:1rem}.stair-mobile-list .stair-card small{font-size:.86rem;color:var(--muted);line-height:1.25}.stair-mobile-list .stair-card.green{background:#EAF6EE}.stair-mobile-list .stair-card.yellow{background:#FFF5D3}.stair-mobile-list .stair-card.red{background:#FFE1E1}.stair-mobile-list .stair-card.active{outline:3px solid var(--navy);outline-offset:2px;background:#fff}.hotspot-scene .card{margin-top:2px}}


/* Speak controls v4: explicit user-started WAV audio */
.top-speak-controls.audio-v4{
  display:grid;
  grid-template-columns:auto auto auto auto minmax(140px,1fr);
  align-items:center;
  gap:8px;
  order:2;
  flex:0 1 auto;
  min-width:0;
}
.progressbox{order:3}
.speak-icon-btn{
  min-height:38px;
  border:0;
  border-radius:999px;
  padding:8px 13px;
  background:var(--navy);
  color:#fff;
  font-weight:900;
  box-shadow:0 8px 18px rgba(48,72,120,.14);
  white-space:nowrap;
}
.speak-icon-btn.secondary{
  background:#fff;
  color:var(--navy);
  border:1px solid var(--line);
  box-shadow:none;
}
.speak-direct{
  font-weight:900;
  color:var(--navy);
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
  background:#fff;
  white-space:nowrap;
}
.speak-status{
  color:var(--muted);
  font-weight:800;
  font-size:.82rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.top-speak-controls.audio-v4.playing .speak-status::before{
  content:"";
  display:inline-block;
  width:9px;
  height:9px;
  margin-right:7px;
  border-radius:50%;
  background:var(--coral);
  box-shadow:0 0 0 5px rgba(255,153,153,.18);
}
.top-speak-controls.audio-v4.error{
  background:rgba(255,153,153,.16);
  border:1px solid rgba(255,153,153,.55);
  border-radius:999px;
  padding:4px 8px;
}
@media(max-width:980px){
  .topbar{display:grid;grid-template-columns:1fr;align-items:center;}
  .top-speak-controls.audio-v4{
    width:100%;
    grid-template-columns:1fr 1fr 1fr 1fr;
    order:2;
  }
  .speak-status{grid-column:1 / -1;white-space:normal;}
  .progressbox{grid-column:1 / -1;min-width:100%;}
  .speak-icon-btn,.speak-direct{text-align:center;min-height:44px;display:grid;place-items:center;}
}
@media(max-width:560px){
  .top-speak-controls.audio-v4{grid-template-columns:1fr 1fr;}
  .speak-status{grid-column:1 / -1;}
}


/* Fullscreen desktop fit: larger white frame, slightly smaller content */
@media (min-width:981px){
  html,body{
    width:100%;
    height:100%;
    overflow:hidden!important;
  }
  body{
    padding:8px!important;
    display:grid!important;
    place-items:center!important;
  }
  .course{
    width:min(1720px,calc(100vw - 16px))!important;
    height:calc(100vh - 16px)!important;
    max-height:calc(100vh - 16px)!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    border-radius:28px!important;
    overflow:hidden!important;
  }
  .topbar{
    height:74px!important;
    min-height:74px!important;
    padding:0 24px!important;
    gap:12px!important;
    flex-wrap:nowrap!important;
  }
  .brand{
    min-width:190px!important;
    flex:0 0 auto!important;
  }
  .brand-dot{
    width:40px!important;
    height:40px!important;
  }
  .brand-sub{
    font-size:.76rem!important;
  }
  .top-speak-controls.audio-v4{
    transform:scale(.92);
    transform-origin:left center;
    max-width:520px!important;
  }
  .speak-icon-btn,
  .speak-direct{
    min-height:34px!important;
    padding:7px 10px!important;
    font-size:.86rem!important;
  }
  .speak-status{
    max-width:165px!important;
    font-size:.76rem!important;
  }
  .progressbox{
    min-width:260px!important;
    width:min(360px,24vw)!important;
    flex:0 1 360px!important;
  }
  .slides{
    height:calc(100% - 140px)!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .slide{
    position:absolute!important;
    inset:0!important;
    min-height:0!important;
    height:100%!important;
    padding:24px 40px 22px!important;
    overflow:hidden!important;
  }
  .nav{
    height:66px!important;
    min-height:66px!important;
    padding:0 24px!important;
  }
  .slide h1,
  .slide h2{
    font-size:clamp(1.75rem,2.55vw,3.05rem)!important;
    line-height:1.02!important;
    margin-bottom:10px!important;
    max-width:92%!important;
  }
  .kicker{
    font-size:.68rem!important;
    margin-bottom:8px!important;
  }
  .lead{
    font-size:clamp(.88rem,1.02vw,1.04rem)!important;
    line-height:1.36!important;
    max-width:68ch!important;
  }
  .small{
    font-size:.84rem!important;
    line-height:1.32!important;
  }
  .card{
    padding:15px!important;
    border-radius:21px!important;
  }
  .card h3{
    font-size:1rem!important;
    margin-bottom:6px!important;
  }
  .card p{
    margin:.28rem 0!important;
  }
  .grid,
  .hero,
  .slider-wrap,
  .drag-wrap,
  .rotate-wrap,
  .hotspot-scene,
  .quiz-layout,
  .final-grid{
    gap:16px!important;
  }
  .hero{
    grid-template-columns:minmax(0,1fr) minmax(260px,340px)!important;
  }
  .flower{
    max-height:min(360px,50vh)!important;
  }
  .motion-row{
    gap:12px!important;
    margin-top:14px!important;
  }
  .motion{
    min-height:92px!important;
    padding:12px!important;
  }
  .motion img{
    width:44px!important;
    height:44px!important;
  }
  .icon-round{
    width:62px!important;
    height:62px!important;
    margin-bottom:8px!important;
  }
  .icon-round img{
    width:42px!important;
    height:42px!important;
  }
  .flow-panel{
    min-height:250px!important;
    padding:14px!important;
  }
  .flow-panel img{
    max-height:min(250px,42vh)!important;
  }
  .slider-wrap{
    grid-template-columns:minmax(0,1fr) minmax(260px,330px)!important;
  }
  .big-number{
    font-size:3.2rem!important;
  }
  .drag-wrap{
    grid-template-columns:260px minmax(0,1fr)!important;
  }
  .drag-list{
    gap:8px!important;
  }
  .drag-item{
    padding:10px 12px!important;
    border-radius:15px!important;
    font-size:.9rem!important;
  }
  .dropzones{
    gap:10px!important;
  }
  .dropzone{
    min-height:185px!important;
    padding:11px!important;
    border-radius:20px!important;
  }
  .flip-grid{
    gap:12px!important;
    margin-top:14px!important;
  }
  .flip-card{
    height:160px!important;
  }
  .flip-face{
    padding:12px!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }
  .flip-face img{
    width:45px!important;
    height:45px!important;
  }
  .rotate-wrap{
    grid-template-columns:minmax(270px,360px) minmax(0,1fr)!important;
  }
  .wheel-stage{
    height:270px!important;
  }
  .wheel{
    width:235px!important;
    height:235px!important;
  }
  .wheel:before{
    inset:54px!important;
  }
  .wheel-center{
    inset:72px!important;
    font-size:.9rem!important;
  }
  .role-icons img{
    width:48px!important;
    height:48px!important;
  }
  .timeline{
    margin-top:20px!important;
    padding-top:28px!important;
  }
  .steps{
    gap:10px!important;
  }
  .step{
    padding-top:34px!important;
  }
  .step:before{
    width:38px!important;
    height:38px!important;
    border-width:6px!important;
  }
  .step .card{
    min-height:130px!important;
  }
  .hotspot-scene{
    grid-template-columns:minmax(280px,430px) minmax(0,1fr)!important;
    align-items:start!important;
  }
  .staircase-model{
    padding:8px!important;
  }
  .stair-stage{
    width:min(390px,100%)!important;
    max-height:58vh!important;
  }
  .stair-stage .spot{
    width:34px!important;
    height:34px!important;
    font-size:.78rem!important;
    box-shadow:0 0 0 6px rgba(255,153,153,.18),0 8px 14px rgba(48,72,120,.12)!important;
  }
  .hotspot-scene .card .lead{
    max-width:54ch!important;
  }
  .quiz-layout{
    grid-template-columns:minmax(0,1fr) minmax(300px,380px)!important;
  }
  .final-grid{
    grid-template-columns:170px minmax(0,1fr)!important;
    gap:18px!important;
  }
  .score-ring{
    width:165px!important;
    height:165px!important;
  }
  .score-ring:before{
    inset:20px!important;
  }
  .score-ring strong{
    font-size:2.4rem!important;
  }
  .status-list{
    gap:8px!important;
  }
  .status{
    padding:9px!important;
    border-radius:14px!important;
    font-size:.84rem!important;
  }
  .check{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
  }
  .option{
    padding:11px 13px!important;
    border-radius:15px!important;
    font-size:.9rem!important;
  }
  .btn{
    padding:10px 15px!important;
    min-height:40px!important;
  }
}

/* Extra fit for ordinary laptop fullscreen heights */
@media (min-width:981px) and (max-height:820px){
  .slide{
    padding:18px 34px 18px!important;
  }
  .slide h1,
  .slide h2{
    font-size:clamp(1.55rem,2.25vw,2.55rem)!important;
    margin-bottom:8px!important;
  }
  .lead{
    font-size:.88rem!important;
    line-height:1.3!important;
  }
  .card{
    padding:12px!important;
  }
  .flower{
    max-height:300px!important;
  }
  .flip-card{
    height:136px!important;
  }
  .dropzone{
    min-height:155px!important;
  }
  .wheel-stage{
    height:225px!important;
  }
  .wheel{
    width:205px!important;
    height:205px!important;
  }
  .stair-stage{
    width:min(320px,100%)!important;
  }
  .score-ring{
    width:140px!important;
    height:140px!important;
  }
}


/* Slide 3 fullscreen fit: keep bottom content visible without internal scroll */
@media (min-width:981px){
  .slide-flow{
    padding-top:18px!important;
    padding-bottom:14px!important;
  }
  .slide-flow h2{
    font-size:clamp(1.45rem,2.05vw,2.38rem)!important;
    margin-bottom:8px!important;
  }
  .slide-flow .grid.two{
    grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr)!important;
    gap:14px!important;
    height:calc(100% - 58px)!important;
    align-items:stretch!important;
  }
  .slide-flow .flow-panel{
    min-height:0!important;
    height:100%!important;
    padding:10px!important;
  }
  .slide-flow .flow-panel img{
    max-height:100%!important;
    object-fit:contain!important;
  }
  .slide-flow .grid.two > .card{
    height:100%!important;
    overflow:hidden!important;
    padding:11px!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .slide-flow .grid.two > .card > h3{
    font-size:.98rem!important;
    margin-bottom:4px!important;
  }
  .slide-flow .grid.two > .card > p{
    font-size:.84rem!important;
    line-height:1.24!important;
    margin:0 0 4px!important;
  }
  .slide-flow .timeline{
    margin-top:4px!important;
    padding-top:24px!important;
    flex:1 1 auto!important;
  }
  .slide-flow .timeline:before,
  .slide-flow .timeline:after{
    top:36px!important;
    height:6px!important;
  }
  .slide-flow .steps{
    gap:7px!important;
  }
  .slide-flow .step{
    padding-top:28px!important;
  }
  .slide-flow .step:before{
    width:34px!important;
    height:34px!important;
    border-width:5px!important;
    font-size:.82rem!important;
  }
  .slide-flow .step .card{
    min-height:84px!important;
    padding:8px!important;
    border-radius:15px!important;
    box-shadow:none!important;
  }
  .slide-flow .step .card b{
    font-size:.86rem!important;
  }
  .slide-flow .step .card .small{
    font-size:.74rem!important;
    line-height:1.16!important;
  }
}
@media (min-width:981px) and (max-height:820px){
  .slide-flow{
    padding-top:12px!important;
    padding-bottom:10px!important;
  }
  .slide-flow h2{
    font-size:clamp(1.35rem,1.9vw,2.1rem)!important;
  }
  .slide-flow .grid.two{
    height:calc(100% - 48px)!important;
  }
  .slide-flow .grid.two > .card > p{
    font-size:.78rem!important;
    line-height:1.18!important;
  }
  .slide-flow .timeline{
    padding-top:20px!important;
  }
  .slide-flow .timeline:before,
  .slide-flow .timeline:after{
    top:31px!important;
  }
  .slide-flow .step{
    padding-top:23px!important;
  }
  .slide-flow .step:before{
    width:30px!important;
    height:30px!important;
    border-width:4px!important;
  }
  .slide-flow .step .card{
    min-height:68px!important;
    padding:7px!important;
  }
  .slide-flow .step .card .small{
    font-size:.68rem!important;
  }
}
