/* "Byg jeres fællesskab" — configurator (DESIGN.md tokens). */
.pl { display: grid; gap: 40px; }
@media (min-width: 1000px) { .pl { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: start; } .pl__plan { position: sticky; top: 96px; } }
.st { padding: 32px 0; border-top: 1px solid var(--line); }
.st:first-child { border-top: 1px solid var(--ink); }
.st__h { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.st__no { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--night); color: #fff; font: 400 18px/1 var(--serif); flex: none; }
.st__t { font: 400 clamp(28px, 2.8vw, 36px)/1.1 var(--serif); letter-spacing: -.01em; }
.st__c { margin-left: auto; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.minibar { display: none; }
@media (max-width: 999px) { .minibar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: var(--night); color: #fff; border-radius: var(--r); font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px rgba(22,33,31,.25); } .minibar[hidden] { display: none; } .minibar .btn { min-height: 40px; background: #fff; color: var(--night); } }
.opts { display: grid; gap: 10px; }
.opts--3 { grid-template-columns: 1fr; } @media (min-width: 600px) { .opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opt { min-width: 0; }
.opt { display: grid; gap: 4px; justify-items: start; align-content: start; text-align: left; padding: 16px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.opt .i { color: var(--teal); margin-bottom: 6px; width: 22px; height: 22px; }
.opt b { font-weight: 600; font-size: 16px; }
.opt span { font-size: 15px; color: var(--muted); }
.opt:hover { border-color: var(--ink); }
.opt:active { transform: scale(.97); }
.opt.is-on { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal); }
.opts--fac { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 600px) { .opts--fac { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fac span { min-width: 0; flex: 1; }
.fac[aria-pressed="true"]::after { flex: none; margin-left: 10px; }
.fac { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); font: 500 15px/1.2 var(--sans); text-align: left; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.fac .i { color: var(--teal); width: 20px; height: 20px; }
.fac:hover { border-color: var(--ink); } .fac:active { transform: scale(.97); }
.fac[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal); }
.fac[aria-pressed="true"]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.rng label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.rng output { font: 400 28px/1 var(--serif); }
.rng output b { font-weight: 400; color: var(--teal); }
.rng output span { font: 500 15px/1 var(--sans); color: var(--muted); }
.rng input[type="range"] { width: 100%; height: 44px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.rng input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--line); border-radius: 2px; }
.rng input[type="range"]::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
.rng input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: var(--teal); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--teal); }
.rng input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--teal); }
.rng__ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.st--send .form { margin-top: 8px; }
/* the plan card */
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: 0 24px 60px rgba(22, 33, 31, .10); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.plan__top .chip, .plan__sum .chip { white-space: normal; height: auto; min-height: 26px; padding: 4px 10px; line-height: 1.2; }
@media (max-width: 999px) { .pl__plan { order: -1; } .plan { box-shadow: none; } }
.plan__svg { width: 100%; height: auto; display: block; background: var(--paper); border-radius: var(--r); }
.plan__svg .u { fill: var(--teal); opacity: 0; transition: opacity 260ms var(--ease-out); }
.plan__svg .u.w { fill: var(--night); }
.plan__svg .u.in { opacity: 1; }
.plan__svg .mid { fill: var(--sand); }
.plan__svg .mid-ring { fill: none; stroke: var(--teal); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.plan__svg .fi { fill: var(--white); stroke: var(--teal); stroke-width: 1; }
.plan__svg .fi-ic { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan__svg .lbl { font: 600 13px var(--sans); fill: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.plan__svg .grund { fill: none; stroke: var(--line); stroke-width: 1; }
.plan__svg .grund.soeger { stroke-dasharray: 6 5; stroke: var(--muted); }
.plan__svg .grund.bygning { stroke: var(--night); stroke-width: 2; }
.plan__svg .tree { fill: var(--green); opacity: .55; }
.plan__sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.plan__sum .chip { height: 28px; }
.plan__sum .chip::before, .plan__top .chip::before { display: none; }
.plan__sum .chip--f { background: var(--sand); color: var(--ink); } .plan__sum .chip--f::before { background: var(--teal); }
.plan__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.plan.is-sent { border-color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .plan__svg .u { transition: none; opacity: 1; } }
