/* Mockup °C -> °F: smaltovaný laboratórny teplomer vedľa výsledku */
.mk-cf{--thm-plate:#f4ecdc;--thm-inlay:#fbf6ec;--thm-edge:#d8c7a4;--thm-ink:#3b2f22;--thm-mut:#8a7558;--thm-glass:#ffffff;--thm-label:#2f261c;--thm-label-fg:#f8e9c8;--thm-brass:#c9a25a}
@media(prefers-color-scheme:dark){.mk-cf{--thm-plate:#2b251d;--thm-inlay:#342c22;--thm-edge:#5a4a33;--thm-ink:#f1e4c8;--thm-mut:#c2ab84;--thm-glass:#4a4f5c;--thm-label:#120f0b;--thm-label-fg:#f3d79c;--thm-brass:#a8853f}}

/* vstup: teplý rám a rýchle hodnoty ako farebná škála od chladnej po teplú */
.mk-cf .cform{border-top:4px solid transparent;border-image:linear-gradient(90deg,#1e40af,#0ea5e9,#f59e0b,#dc2626) 1;border-image-slice:1 0 0 0}
.mk-cf .quick-v{position:relative;padding-left:1.7rem!important}
.mk-cf .quick-v::before{content:"";position:absolute;left:.7rem;top:50%;width:.55rem;height:.55rem;margin-top:-.275rem;border-radius:50%;background:var(--q,#0ea5e9)}
.mk-cf .quick-v:nth-child(1){--q:#0ea5e9}.mk-cf .quick-v:nth-child(2){--q:#38bdf8}.mk-cf .quick-v:nth-child(3){--q:#a3a948}.mk-cf .quick-v:nth-child(4){--q:#f59e0b}.mk-cf .quick-v:nth-child(5){--q:#dc2626}.mk-cf .quick-v:nth-child(6){--q:#991b1b}
.mk-cf .conv-pair .swap-mid{border-radius:50%;border:2px solid var(--thm-brass);color:var(--thm-ink);background:radial-gradient(circle at 35% 30%,var(--thm-inlay),var(--thm-plate))}

/* výsledok: teplomer v ľavom stĺpci, hodnoty vpravo */
.mk-cf .cres{display:grid;grid-template-columns:minmax(132px,200px) minmax(0,1fr);column-gap:1.4rem;align-items:start;border-top-color:var(--thm-c,#0ea5e9);background:radial-gradient(120% 80% at 0% 0%,color-mix(in srgb,var(--thm-c,#0ea5e9) 9%,transparent),transparent 60%),var(--card)}
.mk-cf .cres>*{grid-column:2;min-width:0}
.mk-cf .cres>.figure.thm{grid-column:1;grid-row:1/span 6;margin:0;align-self:start}
.mk-cf .cres>.cres-actions,.mk-cf .cres>.about,.mk-cf .cres>details{grid-column:1/-1}
.mk-cf .cres.is-empty .empty{align-self:start}
.mk-cf .cres-head{margin-top:.2rem}
.mk-cf dl#out{margin-top:.4rem}
.mk-cf .tile:first-child dd{font-family:Georgia,"Iowan Old Style","Times New Roman",serif;font-variant-numeric:lining-nums;color:var(--thm-c,var(--acc));font-weight:700}
@media(prefers-color-scheme:dark){body.mk-cf .tile:first-child dd,body.mk-cf .tile:nth-child(2) dd{color:color-mix(in srgb,var(--thm-c,var(--acc)) 60%,#fff)}}
.mk-cf .tile:nth-child(2) dd{color:var(--thm-c,var(--fg))}

.thm-svg{display:block;width:100%;height:auto;max-width:200px;filter:drop-shadow(0 6px 14px rgba(60,40,10,.18))}
.thm-plate{fill:var(--thm-plate);stroke:var(--thm-edge);stroke-width:2}
.thm-inlay{fill:var(--thm-inlay);stroke:var(--thm-edge);stroke-width:1;stroke-dasharray:2 3}
.thm-screw{fill:var(--thm-brass);stroke:rgba(0,0,0,.25);stroke-width:1}
.thm-slot{stroke:rgba(0,0,0,.45);stroke-width:1.2;stroke-linecap:round}
.thm-label{fill:var(--thm-label)}
.thm-l1,.thm-l2{font-family:Georgia,"Iowan Old Style","Times New Roman",serif;font-variant-numeric:lining-nums;fill:var(--thm-label-fg);font-weight:700}
.thm-l1{font-size:17px}.thm-l2{font-size:15px;opacity:.85}
.thm-unit{font:700 12px Georgia,serif;fill:var(--thm-mut);letter-spacing:.04em}
.thm-tk{stroke:var(--thm-ink);stroke-width:1.4}.thm-tk.sm{stroke-width:.8;opacity:.6}
.thm-num{font:600 10.5px Georgia,"Times New Roman",serif;font-variant-numeric:lining-nums tabular-nums;fill:var(--thm-ink);font-variant-numeric:tabular-nums}
.thm-mark{stroke-width:1;stroke-dasharray:3 3;opacity:.75}
.thm-frz{stroke:#0ea5e9}.thm-boil{stroke:#dc2626}
.thm-frz-dot{fill:#0ea5e9}.thm-boil-dot{fill:#dc2626}
.thm-tube{fill:var(--thm-glass);stroke:var(--thm-edge);stroke-width:1.5}
.thm-gloss{pointer-events:none}
.thm-shine{fill:#fff;opacity:.55}
.thm-fill rect,.thm-fill circle{transition:y .45s ease,height .45s ease}
.thm-ex rect{fill:var(--thm-c,#0ea5e9)}
.thm-ex text{font:700 12px system-ui,sans-serif;fill:#fff;letter-spacing:.03em}
/* ukážka (pred zadaním): tlmená, s nálepkou "napr." */
.figure.thm.is-ex .thm-fill,.figure.thm.is-ex .thm-ptr{opacity:.5}
.figure.thm.is-ex .thm-l1,.figure.thm.is-ex .thm-l2{opacity:.55;font-style:italic}
@media(prefers-reduced-motion:reduce){.thm-fill rect,.thm-fill circle{transition:none}}
@media(max-width:480px){
.mk-cf .cres{grid-template-columns:136px minmax(0,1fr);column-gap:.8rem}
.mk-cf dl#out{grid-template-columns:minmax(0,1fr)!important}
.mk-cf .tile:first-child dd{font-size:clamp(1.6rem,8vw,2.2rem)}
}
