/* Fælles layout, kort, svarfelter og betjening fra byg-motor/stil.css. */
.kulstof-wrap{--max:1500px}
.kulstof-head{padding:18px 0 8px}
.kulstof-head::before{display:none}
.overlinje{font:500 11px var(--mono);color:var(--slate);letter-spacing:.8px}
.overlinje span{background:#ffe198;border:1px solid #c29d4d;border-radius:3px;padding:1px 5px;letter-spacing:0}
.hi{margin-left:5px}
#intro{font:17px/1.4 var(--body);color:#3e4e4c;max-width:80ch}
.landskab-model{margin-top:12px}
.rig-body{grid-template-columns:minmax(0,1fr) 330px}
.fremskridt{font:500 11px var(--mono);color:var(--slate)}
#figur{max-height:calc(100dvh - 100px);min-height:0}
#figur .ordtekst{font-size:25px}
#figur .kulstof-pil{paint-order:stroke;pointer-events:none}
#figur .del[data-ord]{filter:none!important}
#figur .del.tidligere-pil{opacity:1}
body:not(.vis-tidligere) .tidligere-navn{display:none}
.figur-note{padding:6px 4px;font:11px var(--body);color:var(--slate)}
.visning-bar{display:flex;justify-content:flex-end;padding:8px 13px;border-top:2px solid var(--ink);background:var(--accent-lys)}
.figur-link{font:12px var(--display);text-underline-offset:3px}
.ren-figur{display:none}
.kulstof-foot{max-width:1500px;padding:24px;margin:auto;display:flex;justify-content:space-between;font:13px var(--display)}
[hidden]{display:none!important}
body.figur-visning .side,body.figur-visning #figur-ramme,body.figur-visning #fig-intro,body.figur-visning #tidligere-kontrol{display:none!important}
body.figur-visning .rig-body{grid-template-columns:1fr}
body.figur-visning .ren-figur{display:block;width:100%;height:auto;max-height:calc(100dvh - 180px);object-fit:contain}
body.fokus #figur{max-height:calc(100dvh - 95px)}
body.fokus .kulstof-foot{display:none}
@media(min-width:861px) and (max-height:700px){
 .top-in{height:44px}.kulstof-head{padding-top:10px}.kulstof-head h1{font-size:29px;margin:8px 0 5px}#intro{font-size:15px}
 .side{padding:10px;gap:8px}.ord{font-size:13px;padding:4px 9px}.bakke{gap:6px;padding:7px}.opg p{font-size:13px}
 .rig-head{padding:7px 10px}.landskab-model{scroll-margin-top:54px}
}
@media(max-width:1100px) and (min-width:861px){.rig-body{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:860px){
 .rig-body{grid-template-columns:1fr}.side{max-height:45vh}.kulstof-wrap{padding:0 16px}.kulstof-head h1{font-size:28px}.hi{white-space:normal}
 #figur{max-height:none}.landskab-model{scroll-margin-top:70px}.opg p{font-size:13px}.ord{font-size:13px;padding:4px 8px}
}
@media(max-width:620px){
 .overlinje{font-size:10px}.kulstof-head{padding-top:12px}#intro{font-size:15px}.kulstof-head h1{font-size:25px}
 .landskab-model .side{max-height:43vh}.rig-head .spacer{display:none}.rig-head [data-feedback-vaert]{margin-left:auto}
 .kontakt{font-size:12px}.ord{font-size:12px;padding:4px 7px}.bakke{gap:6px;padding:7px}.side{padding:9px}
 body.figur-visning .ren-figur{max-height:none}
}

@media(min-width:861px){.side{position:sticky;top:67px;max-height:calc(100dvh - 80px);overflow:auto;align-self:start}body.fokus .side{top:8px}}
@media(min-width:861px) and (max-height:700px){.side{top:53px}}

#figur .sted-boks{fill:#e4eedc;stroke:#527744;stroke-width:2}

#figur .procesnavn.laast .boks{fill:#fff9ee;stroke:none}
#figur .procesnavn .ordtekst{font-style:italic}
#figur .pil-underlag{pointer-events:none}
