/* GENERATED from ../calc-tools.css by scripts/dark-mode/build-dark.mjs — do not edit.
   Tune colours in ../dark.css (palette + hand-made overrides), then re-run the script
   after any colour change in ../calc-tools.css. */
:where(html[data-theme="dark"]) .ct {
    /* calc-tools.css:12 */ --ct-field-bg: var(--dk-bg-alt);
    --ct-tint: rgba(205, 171, 120, 0.11);
    --ct-on: rgba(201, 172, 131, 0.11);
    --ct-on-line: #745520;
    --ct-muted: var(--dk-muted);
    --ct-faint: var(--dk-faint);
    background-color: var(--cream);
    background-image: none
}
:where(html[data-theme="dark"]) .calc-page__workspace .ct {
    /* calc-tools.css:54 */ background-color: transparent;
    background-image: none
}
:where(html[data-theme="dark"]) .ct-card {
    /* calc-tools.css:149 */ background-color: var(--dk-surface);
    background-image: none;
    border-color: var(--line);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.128)
}
:where(html[data-theme="dark"]) .ct-card__icon,
:where(html[data-theme="dark"]) .ct-how__icon {
    /* calc-tools.css:165 */ background-color: var(--ct-tint, rgba(205, 171, 120, 0.11));
    background-image: none;
    color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-card__icon svg,
:where(html[data-theme="dark"]) .ct-how__icon svg {
    /* calc-tools.css:177 */ stroke: currentColor
}
:where(html[data-theme="dark"]) .ct-card__title {
    /* calc-tools.css:194 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-card__title::after,
:where(html[data-theme="dark"]) .ct-compare__title::after {
    /* calc-tools.css:204 */ background-color: var(--gold-fill);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-card__sub {
    /* calc-tools.css:219 */ color: var(--ct-muted)
}
:where(html[data-theme="dark"]) .ct-field label {
    /* calc-tools.css:273 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-input {
    /* calc-tools.css:281 */ background-color: var(--ct-field-bg);
    background-image: none;
    border-color: var(--dk-line)
}
:where(html[data-theme="dark"]) .ct-input:focus-within {
    /* calc-tools.css:295 */ background-color: var(--dk-input);
    background-image: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(220, 146, 62, 0.182)
}
:where(html[data-theme="dark"]) .ct-input input,
:where(html[data-theme="dark"]) .ct-input select {
    /* calc-tools.css:301 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-input__pre,
:where(html[data-theme="dark"]) .ct-input__suf {
    /* calc-tools.css:318 */ color: var(--ct-faint)
}
:where(html[data-theme="dark"]) .ct-input--select {
    /* calc-tools.css:326 */ background-color: var(--dk-input);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-input--select .caret {
    /* calc-tools.css:337 */ stroke: var(--ink)
}
:where(html[data-theme="dark"]) .ct-field__hint {
    /* calc-tools.css:356 */ color: var(--ct-faint)
}
:where(html[data-theme="dark"]) .ct-sub {
    /* calc-tools.css:363 */ border-top-color: var(--line);
    color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-option,
:where(html[data-theme="dark"]) .ct-radio {
    /* calc-tools.css:395 */ background-color: var(--dk-surface);
    background-image: none;
    border-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-option:hover,
:where(html[data-theme="dark"]) .ct-radio:hover {
    /* calc-tools.css:409 */ border-color: var(--ct-on-line)
}
:where(html[data-theme="dark"]) .ct-option.is-on,
:where(html[data-theme="dark"]) .ct-radio.is-on {
    /* calc-tools.css:414 */ background-color: var(--ct-on);
    background-image: none;
    border-color: var(--ct-on-line)
}
:where(html[data-theme="dark"]) .ct-switch__ui {
    /* calc-tools.css:430 */ background-color: var(--dk-bg-deep);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-switch__ui::after {
    /* calc-tools.css:441 */ background-color: var(--dk-heading);
    background-image: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.432)
}
:where(html[data-theme="dark"]) .ct-switch:checked + .ct-switch__ui {
    /* calc-tools.css:454 */ background-color: var(--gold-fill);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-switch:focus-visible + .ct-switch__ui,
:where(html[data-theme="dark"]) .ct-radio input:focus-visible + .ct-radio__dot,
:where(html[data-theme="dark"]) .ct-seg__item input:focus-visible + span {
    /* calc-tools.css:462 */ outline-color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-option__title {
    /* calc-tools.css:475 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-option__copy {
    /* calc-tools.css:481 */ color: var(--ct-muted)
}
:where(html[data-theme="dark"]) .ct-choice__title {
    /* calc-tools.css:510 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-choice__sub {
    /* calc-tools.css:517 */ color: var(--ct-muted)
}
:where(html[data-theme="dark"]) .ct-radio__dot {
    /* calc-tools.css:524 */ border-color: #b9b2a8;
    background-color: var(--dk-input);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-radio input:checked + .ct-radio__dot {
    /* calc-tools.css:536 */ border-color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-radio input:checked + .ct-radio__dot::after {
    /* calc-tools.css:540 */ background-color: var(--gold);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-type {
    /* calc-tools.css:550 */ border-bottom-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-type__label {
    /* calc-tools.css:561 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-seg__item span {
    /* calc-tools.css:584 */ color: var(--ct-muted);
    background-color: var(--dk-surface);
    border-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-seg__item span:hover {
    /* calc-tools.css:602 */ color: var(--gold);
    border-color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-seg__item input:checked + span {
    /* calc-tools.css:607 */ background-color: var(--navy);
    border-color: var(--dk-line-strong);
    box-shadow: inset 0 0 0 1px rgba(204, 155, 70, 0.4);
    color: #fff
}
:where(html[data-theme="dark"]) .ct-mode__caption {
    /* calc-tools.css:644 */ color: var(--ct-muted)
}
:where(html[data-theme="dark"]) .ct-extras {
    /* calc-tools.css:653 */ border-top-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-extras summary {
    /* calc-tools.css:659 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-extras summary .caret {
    /* calc-tools.css:674 */ stroke: var(--ink)
}
:where(html[data-theme="dark"]) .ct-extras summary:hover {
    /* calc-tools.css:691 */ color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-snap {
    /* calc-tools.css:703 */ color: #fff;
    background-color: transparent;
    background-image: linear-gradient(180deg, #0a2d52 0%, var(--navy) 60%);
    box-shadow: var(--shadow-panel)
}
:where(html[data-theme="dark"]) .ct-snap__icon {
    /* calc-tools.css:721 */ border-color: rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.07);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-snap__icon svg,
:where(html[data-theme="dark"]) .ct-stat__icon svg,
:where(html[data-theme="dark"]) .ct-tip__icon svg {
    /* calc-tools.css:732 */ stroke: currentColor
}
:where(html[data-theme="dark"]) .ct-snap__title {
    /* calc-tools.css:744 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-snap__sub {
    /* calc-tools.css:753 */ color: var(--ct-snap-text)
}
:where(html[data-theme="dark"]) .ct-stat {
    /* calc-tools.css:776 */ background-color: var(--ct-snap-fill);
    background-image: none;
    border-color: var(--ct-snap-line)
}
:where(html[data-theme="dark"]) .ct-stat__icon {
    /* calc-tools.css:791 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-stat__label {
    /* calc-tools.css:809 */ color: var(--ct-snap-text)
}
:where(html[data-theme="dark"]) .ct-stat__value {
    /* calc-tools.css:815 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-stat__value--gold {
    /* calc-tools.css:845 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-stat--good {
    /* calc-tools.css:853 */ background-color: rgba(144, 173, 155, 0.34);
    background-image: none;
    border-color: rgba(150, 192, 158, 0.42)
}
:where(html[data-theme="dark"]) .ct-stat--good .ct-stat__value,
:where(html[data-theme="dark"]) .ct-stat--good .ct-stat__icon {
    /* calc-tools.css:858 */ color: #c9e6b9
}
:where(html[data-theme="dark"]) .ct-stat--bad {
    /* calc-tools.css:863 */ background-color: rgba(221, 142, 109, 0.34);
    background-image: none;
    border-color: rgba(222, 150, 118, 0.42)
}
:where(html[data-theme="dark"]) .ct-stat--bad .ct-stat__value,
:where(html[data-theme="dark"]) .ct-stat--bad .ct-stat__icon {
    /* calc-tools.css:868 */ color: #f3bda2
}
:where(html[data-theme="dark"]) .ct-field--dark label {
    /* calc-tools.css:881 */ color: var(--ct-snap-text)
}
:where(html[data-theme="dark"]) .ct-field--dark .ct-input {
    /* calc-tools.css:886 */ background-color: transparent;
    background-image: none;
    border-color: rgba(255, 255, 255, 0.3)
}
:where(html[data-theme="dark"]) .ct-field--dark .ct-input:focus-within {
    /* calc-tools.css:891 */ background-color: color-mix(in srgb, var(--dk-input) 5%, transparent);
    background-image: none;
    border-color: #735520;
    box-shadow: none
}
:where(html[data-theme="dark"]) .ct-field--dark select {
    /* calc-tools.css:897 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-field--dark option {
    /* calc-tools.css:901 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-field--dark .caret {
    /* calc-tools.css:905 */ stroke: #fff
}
:where(html[data-theme="dark"]) .ct-verdict {
    /* calc-tools.css:909 */ background-color: var(--ct-snap-fill);
    background-image: none;
    border-color: var(--ct-snap-line)
}
:where(html[data-theme="dark"]) .ct-verdict__main {
    /* calc-tools.css:918 */ background-color: rgba(255, 255, 255, 0.12);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-verdict__main .ct-stat__label {
    /* calc-tools.css:923 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-verdict__main .ct-stat__value {
    /* calc-tools.css:929 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-verdict__copy {
    /* calc-tools.css:933 */ color: rgba(255, 255, 255, 0.86)
}
:where(html[data-theme="dark"]) .ct-verdict__copy strong {
    /* calc-tools.css:941 */ color: #f2a76b
}
:where(html[data-theme="dark"]) .ct-snap__table thead th {
    /* calc-tools.css:968 */ color: var(--ct-snap-text)
}
:where(html[data-theme="dark"]) .ct-snap__table tbody th {
    /* calc-tools.css:975 */ color: rgba(255, 255, 255, 0.88)
}
:where(html[data-theme="dark"]) .ct-snap__table tbody tr {
    /* calc-tools.css:987 */ border-top-color: var(--ct-snap-line)
}
:where(html[data-theme="dark"]) .ct-snap .is-gold {
    /* calc-tools.css:991 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-dates__value {
    /* calc-tools.css:1004 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-tip {
    /* calc-tools.css:1011 */ color: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.16)
}
:where(html[data-theme="dark"]) .ct-tip__icon {
    /* calc-tools.css:1023 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-line {
    /* calc-tools.css:1041 */ border-bottom-color: var(--ct-snap-line)
}
:where(html[data-theme="dark"]) .ct-line dt,
:where(html[data-theme="dark"]) .ct-line > p:first-child {
    /* calc-tools.css:1050 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-line dd,
:where(html[data-theme="dark"]) .ct-line__big {
    /* calc-tools.css:1057 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-line__sub {
    /* calc-tools.css:1070 */ color: rgba(255, 255, 255, 0.6)
}
:where(html[data-theme="dark"]) .ct-line--gold dd,
:where(html[data-theme="dark"]) .ct-line .is-gold {
    /* calc-tools.css:1079 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-steps {
    /* calc-tools.css:1084 */ background-color: rgba(255, 255, 255, 0.07);
    background-image: none;
    border-color: var(--ct-snap-line)
}
:where(html[data-theme="dark"]) .ct-steps__title {
    /* calc-tools.css:1091 */ color: var(--ct-snap-text)
}
:where(html[data-theme="dark"]) .ct-steps .ct-line:last-child {
    /* calc-tools.css:1105 */ border-bottom-color: currentcolor
}
:where(html[data-theme="dark"]) .ct-line--total {
    /* calc-tools.css:1119 */ border-top-color: rgba(255, 255, 255, 0.16);
    border-bottom-color: currentcolor
}
:where(html[data-theme="dark"]) .ct-dti,
:where(html[data-theme="dark"]) .ct-breakdown {
    /* calc-tools.css:1132 */ border-top-color: var(--ct-snap-line)
}
:where(html[data-theme="dark"]) .ct-dti__title {
    /* calc-tools.css:1138 */ color: var(--ct-snap-text)
}
:where(html[data-theme="dark"]) .ct-dti__row {
    /* calc-tools.css:1144 */ background-color: var(--ct-snap-fill);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-badge {
    /* calc-tools.css:1159 */ color: #c9e6b9;
    background-color: rgba(150, 192, 158, 0.2);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-badge.is-over {
    /* calc-tools.css:1169 */ color: #f3bda2;
    background-color: rgba(222, 150, 118, 0.2);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-breakdown dt {
    /* calc-tools.css:1186 */ color: rgba(255, 255, 255, 0.88)
}
:where(html[data-theme="dark"]) .ct-breakdown .ct-breakdown__total {
    /* calc-tools.css:1196 */ border-top-color: rgba(255, 255, 255, 0.3)
}
:where(html[data-theme="dark"]) .ct-breakdown__total dd {
    /* calc-tools.css:1203 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-snap .calc-tools {
    /* calc-tools.css:1212 */ border-top-color: currentcolor
}
:where(html[data-theme="dark"]) .ct-snap .calc-tools__btn--send {
    /* calc-tools.css:1257 */ background-color: transparent;
    background-image: none;
    border-color: rgba(255, 255, 255, 0.72);
    color: #fff
}
:where(html[data-theme="dark"]) .ct-snap .calc-tools__btn--send:hover {
    /* calc-tools.css:1263 */ background-color: rgba(255, 255, 255, 0.1);
    background-image: none;
    border-color: #fff
}
:where(html[data-theme="dark"]) .ct-snap .calc-tools__btn--share {
    /* calc-tools.css:1268 */ background-color: #fff;
    background-image: none;
    border-color: #fff;
    color: var(--navy)
}
:where(html[data-theme="dark"]) .ct-snap .calc-tools__btn--share:hover {
    /* calc-tools.css:1274 */ background-color: #f8f5f3;
    background-image: none;
    color: var(--navy)
}
:where(html[data-theme="dark"]) .ct-note {
    /* calc-tools.css:1283 */ background-color: rgba(201, 172, 131, 0.11);
    background-image: none;
    border-color: #69583e
}
:where(html[data-theme="dark"]) .ct-note__icon {
    /* calc-tools.css:1293 */ color: #fff;
    background-color: #d4894a;
    background-image: none
}
:where(html[data-theme="dark"]) .ct-note__body {
    /* calc-tools.css:1307 */ color: var(--dk-muted)
}
:where(html[data-theme="dark"]) .ct-note__title {
    /* calc-tools.css:1315 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-compare__title {
    /* calc-tools.css:1330 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-compare__sub {
    /* calc-tools.css:1340 */ color: var(--ct-muted)
}
:where(html[data-theme="dark"]) .ct-compare__scroll {
    /* calc-tools.css:1346 */ background-color: var(--dk-surface);
    background-image: none;
    border-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-compare__table th,
:where(html[data-theme="dark"]) .ct-compare__table td {
    /* calc-tools.css:1361 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-compare__table thead th,
:where(html[data-theme="dark"]) .ct-compare__table thead td {
    /* calc-tools.css:1369 */ color: var(--ct-muted);
    background-color: var(--dk-surface);
    border-bottom-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-compare__table tbody tr + tr {
    /* calc-tools.css:1387 */ border-top-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-compare__table td.is-good {
    /* calc-tools.css:1391 */ color: #8ebf9a
}
:where(html[data-theme="dark"]) .ct-compare__dot {
    /* calc-tools.css:1396 */ background-color: #3f4b5a;
    background-image: none
}
:where(html[data-theme="dark"]) .ct-compare__dot.is-gold {
    /* calc-tools.css:1406 */ background-color: var(--gold-fill);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-compare__remove {
    /* calc-tools.css:1410 */ color: var(--ct-faint)
}
:where(html[data-theme="dark"]) .ct-compare__remove:hover {
    /* calc-tools.css:1420 */ color: var(--ink);
    background-color: var(--cream);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-hero {
    /* calc-tools.css:1466 */ background-color: var(--cream);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-hero__eyebrow {
    /* calc-tools.css:1489 */ color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-hero__eyebrow::after {
    /* calc-tools.css:1500 */ background-color: currentColor;
    background-image: none
}
:where(html[data-theme="dark"]) .ct-hero__title {
    /* calc-tools.css:1508 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-hero__accent {
    /* calc-tools.css:1518 */ color: #e7a051
}
:where(html[data-theme="dark"]) .ct-hero__lede {
    /* calc-tools.css:1522 */ color: var(--body)
}
:where(html[data-theme="dark"]) .ct-hero__back {
    /* calc-tools.css:1530 */ color: var(--ink);
    background-color: rgba(255, 255, 255, 0.55);
    background-image: none;
    border-color: var(--gold)
}
:where(html[data-theme="dark"]) .ct-hero__back svg {
    /* calc-tools.css:1546 */ stroke: currentColor
}
:where(html[data-theme="dark"]) .ct-hero__back:hover {
    /* calc-tools.css:1557 */ color: #fff;
    background-color: var(--gold);
    background-image: none
}
:where(html[data-theme="dark"]) .ct-how {
    /* calc-tools.css:1622 */ background-color: var(--dk-surface);
    background-image: none;
    border-top-color: var(--line)
}
:where(html[data-theme="dark"]) .ct-how__lede {
    /* calc-tools.css:1629 */ color: var(--body)
}
:where(html[data-theme="dark"]) .ct-how__title {
    /* calc-tools.css:1657 */ color: var(--ink)
}
:where(html[data-theme="dark"]) .ct-how__copy {
    /* calc-tools.css:1666 */ color: var(--ct-muted, var(--dk-muted))
}
@media (min-width: 1080px) {
    :where(html[data-theme="dark"]) .ct-how__item + .ct-how__item {
        /* calc-tools.css:1698 */ border-left-color: var(--line)
    }
}
:where(html[data-theme="dark"]) .ct-band {
    /* calc-tools.css:1707 */ color: #fff;
    background-color: var(--navy);
    background-image: url("../../images/bg_have-question.avif")
}
:where(html[data-theme="dark"]) .ct-band::before {
    /* calc-tools.css:1714 */ background-color: transparent;
    background-image: linear-gradient(90deg, rgba(1, 34, 67, 0.94) 0%, rgba(1, 34, 67, 0.8) 50%, rgba(1, 34, 67, 0.35) 100%)
}
:where(html[data-theme="dark"]) .ct-band__eyebrow {
    /* calc-tools.css:1727 */ color: var(--gold-light)
}
:where(html[data-theme="dark"]) .ct-band__heading {
    /* calc-tools.css:1735 */ color: #fff
}
:where(html[data-theme="dark"]) .ct-band__lede {
    /* calc-tools.css:1744 */ color: rgba(255, 255, 255, 0.86)
}
:where(html[data-theme="dark"]) .ct-band__btn svg {
    /* calc-tools.css:1763 */ stroke: currentColor
}
:where(html[data-theme="dark"]) .ct-band__note {
    /* calc-tools.css:1773 */ color: rgba(255, 255, 255, 0.86)
}
:where(html[data-theme="dark"]) .ct-band__note svg {
    /* calc-tools.css:1781 */ stroke: var(--gold-light)
}
