/* =====================================================================
   Embedded calculators (/embed/<calculator>), shown in an iframe on
   other websites. Self-contained: tokens, font and base styles here,
   the calculator itself from calc.css. No navigation, cookies or analytics.
   ===================================================================== */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --c-ink: #0f172a;
    --c-body: #475569;
    --c-muted: #64748b;
    --c-line: #e2e8f0;
    --c-soft: #f8fafc;
    --c-brand: #2f5bea;
    --c-brand-dark: #1e40af;
    --c-brand-soft: #eef2ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #fff;
    color: var(--c-body);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
a { color: var(--c-brand); }
fieldset { min-width: 0; }
button, input, select { margin: 0; font: inherit; }
button { cursor: pointer; }
sub, sup { line-height: 0; }
[hidden] { display: none !important; }

.calc-embed__main { max-width: 980px; margin: 0 auto; padding: 14px; }
.calc-embed__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 12px; }
.calc-embed__title { margin: 0; color: var(--c-ink); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.calc-embed__brand { display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.calc-embed__brand img { width: 18px; height: 18px; }
.calc-embed__brand:hover { color: var(--c-brand); }
.calc-embed__foot { margin-top: 10px; color: var(--c-muted); font-size: 13px; }
.calc-embed__foot a { font-weight: 600; }

/* Calculator layout inside the frame: two columns from 680 px, no sticky results */
.calc-embed .calc { margin-bottom: 0; }
.calc-embed .calc__results { position: static; }
.calc-embed .calc__status::before { content: none; }
@media (min-width: 680px) {
    .calc-embed .calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
    .calc-embed .calc__inputs { padding: 18px; }
}
