/*! Dreiym service calculators. Copyright (c) 2026 Dreiym Engineering PLLC. All rights reserved.
    Provided for use on www.dreiym.com only. Copying, modifying, redistributing or reusing any part of this file
    without the written permission of Dreiym Engineering PLLC is prohibited. */
/* Eutectic melting calculator: the phase diagram and the fire temperature context box. It builds on dreiym-calcs.css
   and dreiym-calcs3.css; colours are theme tokens, so the dark theme follows. Printed with this tool only. */
.dcalc-eu .eu-svg{height:292px}
.dcalc-eu .eu-grid{stroke:var(--rule,#d9dee5);stroke-width:1;vector-effect:non-scaling-stroke}
.dcalc-eu .eu-inv,.dcalc-eu .eu-sol{fill:none;stroke:var(--ink-2,#3b4a5e);stroke-width:1;vector-effect:non-scaling-stroke}
.dcalc-eu .eu-liq{fill:none;stroke:var(--ink,#0e2238);stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.dcalc-eu .eu-tie{stroke:var(--ink,#0e2238);stroke-width:1.5;vector-effect:non-scaling-stroke}
.dcalc-eu .eu-ept{fill:var(--ink,#0e2238)}
.dcalc-eu .eu-pt{fill:var(--accent-ink,#b44d18);stroke:var(--surface,#fff);stroke-width:1.5}
.dcalc-eu .eu-lab{fill:var(--ink,#0e2238);font-weight:500}
.dcalc-eu .eu-elab{fill:var(--ink,#0e2238);font-weight:500}
.dcalc-eu .eu-sym{fill:var(--ink,#0e2238);font-weight:600}
.dcalc-eu .eu-ctx{margin:0 0 10px;padding:10px 12px;border:1px solid var(--rule,#d9dee5)}
.dcalc-eu .eu-ctx p{margin:0}
.dcalc-eu .eu-ctx-h{font-weight:700}
.dcalc-eu .eu-ctx-t{margin:4px 0!important}
.dcalc-eu .eu-ctx-n{color:var(--muted,#5d6b7e)}
.dcalc-eu .x3-check{grid-column:1/-1;margin:0 0 10px}
@media print{.dcalc-eu .eu-ctx{break-inside:avoid}}
/* Layout and spacing: the readout under the form stays in the flow; quick starts fill the row with equal heights
   (5 across, 3 + 2, or 2 across on phones); equal stats; on wide tools the diagram sits under the form, beside the
   result, and the fire context runs under both. */
.dcalc.dcalc-v2.dcalc-eu .vd-mini{position:static}
.dcalc-eu .vd-pre-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.dcalc-eu .vd-pre-row .vd-pb:last-child:nth-child(odd){grid-column:1/-1}
@container (min-width:420px){.dcalc-eu .vd-pre-row{grid-template-columns:repeat(6,minmax(0,1fr))}.dcalc-eu .vd-pre-row .vd-pb{grid-column:span 2}.dcalc-eu .vd-pre-row .vd-pb:nth-child(n+4),.dcalc-eu .vd-pre-row .vd-pb:last-child:nth-child(odd){grid-column:span 3}}
@container (min-width:700px){.dcalc-eu .vd-pre-row{grid-template-columns:repeat(5,minmax(0,1fr))}.dcalc-eu .vd-pre-row .vd-pb,.dcalc-eu .vd-pre-row .vd-pb:nth-child(n+4),.dcalc-eu .vd-pre-row .vd-pb:last-child:nth-child(odd){grid-column:auto}}
.dcalc-eu .vd-pb{justify-content:flex-start}
.dcalc.dcalc-v2.dcalc-eu .eu-nums{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}
.dcalc-eu .eu-nums .vd-u{font-size:1em}
.dcalc-eu .eu-sum p{margin:0 0 6px}
.dcalc-eu .eu-sum p:last-child{margin:0}
@container (min-width:640px){.dcalc-eu .vd-main{grid-template-areas:"f o" "g o"}.dcalc-eu .vd-main>.vd-form{grid-area:f}.dcalc-eu .vd-main>.vd-out{grid-area:o}.dcalc-eu .vd-main>.eu-figcol{grid-area:g}}
.dcalc-eu .eu-figcol .vd-fig{margin:0}
.dcalc-eu .eu-svg .vd-t{font-size:12px}
.dcalc-eu .eu-svg .eu-ax{fill:var(--ink-2,#3b4a5e);font-weight:500}
.dcalc-eu .eu-leg{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 0 2px;padding:0;list-style:none}
.dcalc-eu .eu-leg li{display:flex;align-items:center;gap:5px;margin:0}
.dcalc-eu .eu-leg svg{flex:0 0 auto;overflow:visible}
.dcalc-eu .eu-note{display:block}
.dcalc-eu .eu-ctx{font-size:.92em;line-height:1.5}
.dcalc-eu .eu-ctx-n{font-size:.92em}
