/* Visuel quiztest – kun prisguiden for nyt tag. */
#find-loesning.solution-guide{max-width:880px;padding-top:1.35rem}
#find-loesning .solution-guide-header{margin-bottom:1.05rem}
#find-loesning .solution-guide-header .section-label{border:1px solid #c6d8e8;border-radius:999px;background:#f4f8fc;color:#24557f;letter-spacing:1.15px}
#find-loesning .solution-guide-header p{max-width:570px;color:#536a80}
#find-loesning .solution-guide-header p::after{content:'4 korte spørgsmål  ·  cirka 30 sekunder';display:table;margin:.7rem auto 0;padding:.35rem .7rem;border:1px solid #d7e4ef;border-radius:999px;background:#fff;color:#355a7c;font-size:.72rem;font-weight:750;line-height:1.2}

#find-loesning .solution-guide-card{padding:2rem;border:1px solid #c8d9e8;border-radius:25px;background:linear-gradient(145deg,#fbfdff 0%,#eef5fa 100%);box-shadow:0 18px 48px rgba(23,54,87,.12);isolation:isolate}
#find-loesning .solution-guide-card::before{height:5px;background:linear-gradient(90deg,#173657 0%,#3479ad 60%,#58a4c8 100%)}
#find-loesning .solution-guide-card::after{content:'';position:absolute;right:-35px;bottom:-45px;z-index:-1;width:250px;height:250px;opacity:.055;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220' fill='none' stroke='%23173657' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m28 108 82-70 82 70'/%3E%3Cpath d='M48 96v88h124V96'/%3E%3Cpath d='M84 184v-50h52v50'/%3E%3Cpath d='m70 91 40-34 40 34'/%3E%3C/svg%3E");pointer-events:none}
#find-loesning .solution-guide-card.fh-result-ready::after{display:none}
#find-loesning #sg-content{position:relative;z-index:1}
#find-loesning .sg-progress-bar{display:none}
#find-loesning .sg-progress-label{display:none}

#find-loesning .sg-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin:0 0 1.45rem}
#find-loesning .sg-step-dot{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:.42rem;width:auto!important;height:auto!important;min-height:42px;padding:.48rem .55rem;border:1px solid #d8e3ec;border-radius:11px;background:rgba(255,255,255,.72);color:#74869a;transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}
#find-loesning .sg-step-dot::before{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #cad7e2;border-radius:50%;background:#f5f8fa;color:#62778b;font-size:.7rem;font-weight:900}
#find-loesning .sg-step-dot:nth-child(1)::before{content:'1'}
#find-loesning .sg-step-dot:nth-child(2)::before{content:'2'}
#find-loesning .sg-step-dot:nth-child(3)::before{content:'3'}
#find-loesning .sg-step-dot:nth-child(4)::before{content:'4'}
#find-loesning .sg-step-dot::after{font-size:.7rem;font-weight:800;line-height:1.15;white-space:nowrap}
#find-loesning .sg-step-dot::after{content:attr(data-step-label)}
#find-loesning .sg-step-dot.active{border-color:#3b76a6;background:#e8f2fa;color:#173657;box-shadow:0 4px 12px rgba(30,79,119,.1)}
#find-loesning .sg-step-dot.active::before{border-color:#2d6a9b;background:#2d6a9b;color:#fff;box-shadow:none}
#find-loesning .sg-step-dot.done{border-color:#b7ddc5;background:#edf9f1;color:#22623b}
#find-loesning .sg-step-dot.done::before{content:'✓';border-color:#38a766;background:#38a766;color:#fff}

#find-loesning .sg-question{margin:0 0 1.2rem;text-align:left;font-size:clamp(1.15rem,2.3vw,1.48rem);letter-spacing:-.25px}
#find-loesning .sg-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem}
#find-loesning .sg-option{position:relative;gap:.78rem;min-height:70px;padding:.72rem .82rem;border:1.5px solid #cad8e4;border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 3px 10px rgba(22,48,75,.05);font-weight:700}
#find-loesning .sg-option:last-child:nth-child(odd){grid-column:1/-1}
#find-loesning .sg-option-icon{width:42px!important;height:42px!important;padding:10px;box-sizing:border-box;border-radius:12px;background:#eaf3fa;stroke:#2e6c9e!important}
#find-loesning .sg-option>span:not(.sg-option-text){line-height:1.25}
#find-loesning .sg-option:hover{border-color:#4a83af!important;background:#f6fbff!important;box-shadow:0 8px 20px rgba(30,83,126,.12)!important;transform:translateY(-2px)!important}
#find-loesning .sg-option.selected{border-color:#2e6c9e!important;background:#eaf4fb!important;color:#102a46!important;box-shadow:0 0 0 3px rgba(46,108,158,.13)!important}
#find-loesning .sg-option.selected .sg-option-icon{background:#2e6c9e;stroke:#fff!important}
#find-loesning .sg-option.selected::after{margin-left:auto}
#find-loesning .sg-nav{margin-top:1.15rem}
#find-loesning .sg-btn-back{padding:.55rem 1rem;border:0;background:transparent;color:#567087;text-decoration:underline;text-underline-offset:3px}

#find-loesning .sg-result-check{box-shadow:0 7px 24px rgba(22,163,74,.25)}
#find-loesning .sg-result-title{margin-bottom:.75rem}
#find-loesning .sg-result-summary{position:relative;margin:2.05rem 0 1rem;padding:1.65rem 1.35rem 1.25rem;border:1px solid #c8d9e8;border-left:1px solid #c8d9e8;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(24,58,89,.08)}
#find-loesning .sg-result-summary::before{content:'DIN OPGAVE · KAN TILPASSES';position:absolute;top:-16px;left:18px;padding:.42rem .7rem;border:1px solid #bfd4e5;border-radius:999px;background:#e9f3fa;color:#245d8d;font-size:.66rem;font-weight:850;letter-spacing:.065em}
#find-loesning .sg-result-summary p{line-height:1.62}
#find-loesning .sg-result-editor{display:block;width:100%;min-height:132px;box-sizing:border-box;padding:0;border:0;background:transparent;color:#0f172a;font:inherit;font-size:1rem;line-height:1.62;resize:vertical;overflow:auto;outline:none}
#find-loesning .sg-result-editor:focus{box-shadow:inset 0 -2px 0 #3b76a6}
#find-loesning .sg-result-editor[hidden]{display:none}
#find-loesning .sg-edit-toggle,#find-loesning .sg-copy-secondary{display:block;margin:.65rem 0 0;padding:.3rem 0;border:0;background:transparent;color:#245d8d;font:inherit;font-size:.83rem;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#find-loesning .sg-copy-secondary{margin:.2rem auto .7rem;text-align:center}
#find-loesning .sg-result-summary p{white-space:pre-wrap;overflow-wrap:anywhere}
#find-loesning .sg-cta-main-text{line-height:1.35}
#find-loesning .sg-result-info-text{max-width:520px;border-top:0;padding:.4rem .65rem .2rem;color:#52687c;font-size:.84rem;font-weight:600}
#find-loesning .sg-cta-trust-inline{display:flex;align-items:center;justify-content:center;gap:.48rem;margin-top:.34rem;color:#eaf5ff;font-size:.66rem;font-weight:750;line-height:1;white-space:nowrap}
#find-loesning .sg-cta-trust-inline>span{display:inline-flex;align-items:center}
#find-loesning .sg-cta-trust-inline .sg-trust-free,#find-loesning .sg-cta-trust-inline .sg-trust-safe{color:#dff7e8}
#find-loesning .sg-cta-trust-inline .sg-trust-star{color:#ffe39a}

@media(max-width:768px){
 #find-loesning.solution-guide{padding:.65rem .72rem 1.5rem}
 #find-loesning .solution-guide-header p::after{margin-top:.52rem;font-size:.67rem}
 #find-loesning .solution-guide-card{padding:1.05rem;border-radius:18px}
 #find-loesning .solution-guide-card::after{width:170px;height:170px;right:-35px;bottom:-25px}
 #find-loesning .sg-steps{gap:.28rem;margin-bottom:1rem}
 #find-loesning .sg-step-dot{display:flex;justify-content:center;min-height:34px;padding:.35rem .2rem;border-radius:9px}
 #find-loesning .sg-step-dot::before{width:20px;height:20px;flex:0 0 20px}
 #find-loesning .sg-step-dot::after{display:none}
 #find-loesning .sg-progress-label{display:block!important;margin:-.35rem 0 .8rem;color:#355a7c;font-size:.7rem;font-weight:800;letter-spacing:.02em;text-transform:none;text-align:center}
 #find-loesning .sg-question{margin-bottom:.85rem;text-align:left;font-size:1.08rem}
 #find-loesning .sg-options{grid-template-columns:1fr;gap:.5rem}
 #find-loesning .sg-option,#find-loesning .sg-option:last-child:nth-child(odd){grid-column:auto;min-height:57px;padding:.55rem .65rem;border-radius:13px;font-size:.9rem}
 #find-loesning .sg-option-icon{width:37px!important;height:37px!important;padding:9px;border-radius:10px}
 #find-loesning .sg-result-summary{margin-top:1.75rem;padding:1.35rem .9rem 1rem}
 #find-loesning .sg-result-summary::before{left:50%;transform:translateX(-50%);white-space:nowrap;font-size:.6rem}
 #find-loesning .sg-result-editor{min-height:145px;font-size:.9rem;line-height:1.5}
 #find-loesning .sg-cta-trust-inline{gap:.28rem;font-size:.56rem;letter-spacing:-.01em}
 /* Hold resultatet samlet på en mobilskærm uden at gøre teksten ulæselig. */
 #find-loesning .solution-guide-card.fh-result-ready{padding:.85rem .9rem 1rem}
 #find-loesning .sg-result-check{width:38px;height:38px;margin-bottom:.4rem}
 #find-loesning .sg-result-check svg{width:20px;height:20px}
 #find-loesning .sg-result-title{margin-bottom:.35rem;font-size:1.05rem}
 #find-loesning .sg-result-summary{margin:1.35rem 0 .45rem;padding:1rem .8rem .65rem}
 #find-loesning .sg-result-editor{min-height:108px;max-height:160px;overflow:auto}
 #find-loesning .sg-result-info-text{margin-bottom:.45rem;padding:.15rem .35rem;font-size:.75rem;line-height:1.35}
 #find-loesning .sg-result .sg-cta-main{padding:.75rem 1rem;gap:.1rem}
 #find-loesning .sg-result #sg-cta-btn .sg-cta-main-text{font-size:.9rem;white-space:nowrap}
 #find-loesning .sg-result .sg-restart{margin:.15rem auto 0;padding:.5rem .7rem;min-height:40px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#52687c;font-size:.78rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}
 #find-loesning .sg-result .sg-restart svg{display:none}
 #find-loesning .sg-result .sg-restart:hover,#find-loesning .sg-result .sg-restart:focus-visible{background:transparent;color:#173657}
}

@media(prefers-reduced-motion:reduce){#find-loesning .sg-option,#find-loesning .sg-step-dot{transition:none!important}}

/* V97: keep the quiz readable while fitting more of each step on mobile. */
@media(max-width:768px){
 #find-loesning .solution-guide-header .section-label{display:none!important}
 #find-loesning .solution-guide-header p{font-size:.8rem!important;white-space:nowrap}
 #find-loesning .solution-guide-header p::after{display:none!important}
 #find-loesning .sg-steps{margin-bottom:.35rem!important}
 #find-loesning .sg-step-dot{min-height:30px;padding:.2rem!important}
 #find-loesning .sg-progress-label{margin:0 0 .5rem!important;font-size:.68rem!important}
 #find-loesning .sg-question{margin-bottom:.55rem!important}
 #find-loesning .sg-option,#find-loesning .sg-option:last-child:nth-child(odd){min-height:48px!important;padding:.4rem .6rem!important}
 #find-loesning .sg-option-icon{width:32px!important;height:32px!important;padding:7px}
}
