/* Dawn layer for the calculator pages, loaded after calc-v1.css. calc-v1 keeps the calculator
   layout; this file moves its surfaces, type and marks onto Dawn: square functional controls,
   ink buttons, amber for marks only, dusk and amber in charts instead of the old green. */
body.calc-v1{--chart-green:var(--dusk);background:var(--page)}
/* the Dawn nav (sticky, ~72px) replaces the 53px calculator topbar */
body.calc-v1 .rc-rail{top:72px}
@media (min-width:921px){body.calc-v1 .rc-rail{max-height:calc(100vh - 72px)}}
body.calc-v1 .rc-art-head{top:96px}

/* labels: the mono uppercase eyebrows become sentence-case Author captions */
body.calc-v1 #compare th,
body.calc-v1 .addbox-remove,
body.calc-v1 .arc .rk,
body.calc-v1 .barlabels .t,
body.calc-v1 .bp-detail-label,
body.calc-v1 .bp-lever .lever-capped,
body.calc-v1 .c-label,
body.calc-v1 .capband-labels .t,
body.calc-v1 .caphero .k,
body.calc-v1 .door .dk,
body.calc-v1 .ebtoggle,
body.calc-v1 .eyebrow,
body.calc-v1 .fadecue span,
body.calc-v1 .fc-tag,
body.calc-v1 .fn-label,
body.calc-v1 .fn-tag,
body.calc-v1 .kt-label,
body.calc-v1 .legend .lgk,
body.calc-v1 .lens-locknote,
body.calc-v1 .mm-ghost,
body.calc-v1 .modepill,
body.calc-v1 .ng-bar-row-label,
body.calc-v1 .ng-compare-col-label,
body.calc-v1 .ol-eyebrow,
body.calc-v1 .pane-section-label,
body.calc-v1 .paperbar,
body.calc-v1 .pd-card-delta,
body.calc-v1 .pd-card-state,
body.calc-v1 .prow-label,
body.calc-v1 .rc-article table th,
body.calc-v1 .rc-clear,
body.calc-v1 .rc-disclose-live,
body.calc-v1 .rc-hub-card .go,
body.calc-v1 .rc-hub-card .k,
body.calc-v1 .rc-legend,
body.calc-v1 .rc-lvrset-out,
body.calc-v1 .rc-node-chip,
body.calc-v1 .rc-reset,
body.calc-v1 .rc-split-legend > span,
body.calc-v1 .rc-table th,
body.calc-v1 .rl-eyebrow,
body.calc-v1 .rw-label,
body.calc-v1 .sd-ctx,
body.calc-v1 .slider-ends,
body.calc-v1 .t-eyebrow,
body.calc-v1 .topbar .lab,
body.calc-v1 .verdict .vk,
body.calc-v1 details.rc-sources summary,
body.calc-v1 tr.rc-yearsep td{text-transform:none!important;letter-spacing:0!important;font-family:var(--f)!important;font-size:var(--t-legal)!important}

/* shape rule: functional controls, boxes, tooltips and panels are square; only chart marks stay rounded */
body.calc-v1 .c-seg,
body.calc-v1 .c-seg button,
body.calc-v1 .sd-statebar button,
body.calc-v1 .fgo-btn,
body.calc-v1 .cb-btn,
body.calc-v1 .cb-emailbtn,
body.calc-v1 .ghostbtn,
body.calc-v1 .rc-chip,
body.calc-v1 .rc-disclose-btn,
body.calc-v1 .rc-reset,
body.calc-v1 .rc-node-chip,
body.calc-v1 .modepill,
body.calc-v1 .mrail-pill,
body.calc-v1 .seg2,
body.calc-v1 .sheet-actions button,
body.calc-v1 input[type=email],
body.calc-v1 .fn-email input,
body.calc-v1 .sd-ctx input[type="date"],
body.calc-v1 .addbox,
body.calc-v1 .addbox-static,
body.calc-v1 .rc-mobilebar,
body.calc-v1 .mm-x,
body.calc-v1 .mmodal,
body.calc-v1 .calc-disclaimer,
body.calc-v1 .warn,
body.calc-v1 .rc-negam,
body.calc-v1 .rc-loancap,
body.calc-v1 .bp-zero,
body.calc-v1 .rc-node-editor,
body.calc-v1 .pop,
body.calc-v1 .rc-pop,
body.calc-v1 .rc-event-pop,
body.calc-v1 .c-chart-tip,
body.calc-v1 .pd-card,
body.calc-v1 .railcard,
body.calc-v1 .viscard,
body.calc-v1 .forkcard,
body.calc-v1 .door,
body.calc-v1 .verdict,
body.calc-v1 .caphero,
body.calc-v1 .fgo-ctastrip,
body.calc-v1 .closeband,
body.calc-v1 .cta-mid,
body.calc-v1 .rc-mistcard,
body.calc-v1 .fcol,
body.calc-v1 .lens-reveal,
body.calc-v1 .bracket,
body.calc-v1 .rc-article .formula,
body.calc-v1 .pwbar,
body.calc-v1 .mrail,
body.calc-v1 #complexPanel,
body.calc-v1 #capComplexPanel{border-radius:0!important}

/* the call-to-action strip sits on night instead of the old green */
body.calc-v1 .fgo-ctastrip{background:var(--night)}
body.calc-v1 .fgo-ctastrip h2{color:var(--on-dark)}

/* business acquisition: the old topbar carried the Start over control; it now sits in a slim row
   under the Dawn nav with the link back to all calculators */
body.calc-v1 .calc-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:4px var(--gut)}
body.calc-v1 .calc-back{font-size:var(--t-caption);color:var(--soft);text-decoration:none}
body.calc-v1 .calc-back:hover{color:var(--ink)}
body.calc-v1 .modepill{font-size:var(--t-caption)!important}
/* phone menu: the calculator's fixed result bar (z 90) would paint over the open menu (nav z 60),
   and page CSS that sets body overflow must not let the page scroll behind it */
body.menu-open .rc-mobilebar{display:none}
body.calc-v1.menu-open{overflow:hidden}
/* the Dawn footer carries its own bottom padding for the result bar, so the body's does not
   need to (it left a cream strip under the footer) */
@media (max-width:920px){body.calc-v1{padding-bottom:0}}
/* charts: the Dawn map sends clay and green to ink, which collapsed every two-part chart into one
   colour. Series now run dusk (the main quantity: principal, balance, bank debt) against amber (the
   contrasting one: interest, rate moves, flags, your cash); the capital stack extends that into a
   ramp of Dawn tones, blues for debt and warm tones for equity. Text labels stay ink. */
body.calc-v1{--clay-deep:var(--ink);--clay-soft:var(--tile);--l-upfront:var(--amber);--l-investor:var(--peach);--l-bank:var(--dusk);--l-vendor:#8C95B0;
  --l-deferred-fill:#B8C4D4;--l-earnout:#D4BF9A;--l-earnout-2:#EFE6D6}
body.calc-v1 .rc-split-principal,body.calc-v1 .rc-split-dot-principal,
body.calc-v1 .bp-band,body.calc-v1 .bp-lever .bar,body.calc-v1 .gauge-fill,
body.calc-v1 .ng-bar-fill-today,body.calc-v1 .ng-bar-fill-2027-same{background:var(--dusk)}
body.calc-v1 .rc-split-interest,body.calc-v1 .rc-split-dot-interest,body.calc-v1 .rc-tip-si,
body.calc-v1 .ng-bar-fill-2027-reduced,body.calc-v1 .gauge-tick,
body.calc-v1 .pg .d,body.calc-v1 .fn-dot,body.calc-v1 .mtick.near i{background:var(--amber)}
body.calc-v1 .rc-balance-area{fill:var(--sky-card);opacity:.7}
body.calc-v1 .rc-rate-line,body.calc-v1 .rc-scrub-line,body.calc-v1 .threshold-line{stroke:var(--amber)}
body.calc-v1 .rc-rate-node,body.calc-v1 .rc-ball,body.calc-v1 .rc-scrub-dot,body.calc-v1 .rc-ev-out,
body.calc-v1 .rc-rate-dot,body.calc-v1 .rc-rate-pulse,body.calc-v1 .you-marker{fill:var(--amber)}
body.calc-v1 .rc-ev-in{fill:var(--dusk)}
body.calc-v1 .rc-node-chip.rc-tx-out{border-color:var(--amber)}
body.calc-v1 .arc-fig .fg{stroke:var(--dusk)}
body.calc-v1 .arc-fig .fg.flag{stroke:var(--amber)}
/* the mortgage chart's buttons wrap on small phones instead of pushing the page sideways */
body.calc-v1 .rc-chart-actions{flex-wrap:wrap}
/* borrowing power: "The detail" holds an .rc-stats grid, which calc-v1 hides on phones (it is the
   mortgage page's top-line row there); inside the detail panel it stays visible */
body.calc-v1 .bp-detail-panel .rc-stats{display:grid}
/* links inside running copy: ink with an amber underline, as on articles and guides */
body.calc-v1 .note-cta,body.calc-v1 .fallback a{color:var(--ink);text-decoration-color:var(--amber)}
