/* Cash-to-Capital institutional visual skin — presentation layer only.
 * Scoped exclusively to cash-to-capital/index.html. No model, rate, login or state changes.
 * Palette follows approved RatesLab SVG: navy #0B2D4A, teal #14B8A6,
 * white #FFFFFF, and pale mint #DDF4EF.
 */
body.rateslab-cash-body {
  --cash-navy:#0B2D4A;
  --cash-teal:#14B8A6;
  --cash-deep-teal:#08766A;
  --cash-white:#FFFFFF;
  --cash-mint:#DDF4EF;
  --cash-muted:#506A78;
  --cash-border:#D3E6E2;
  --cash-shadow:0 16px 46px rgba(11,45,74,.075);
  background:#FFFFFF;
  color:var(--cash-navy);
  line-height:1.58;
  overflow-x:clip;
}
.rateslab-cash-body .cash-skip-link {
  position:fixed;left:14px;top:-120px;z-index:1000;padding:10px 18px;
  background:var(--cash-navy);color:#fff;border-radius:8px;
}
.rateslab-cash-body .cash-skip-link:focus {top:12px;}
.rateslab-cash-body header {
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #DEEAE8;
  box-shadow:0 4px 18px rgba(11,45,74,.025);
}
.rateslab-cash-body .nav {max-width:1700px;}
.rateslab-cash-body .navlinks {color:var(--cash-navy);}
.rateslab-cash-body .navlinks a:hover {color:var(--cash-deep-teal);}
.rateslab-cash-body .navcta {
  background:var(--cash-navy);
  color:#FFFFFF;
  box-shadow:none;
  border-radius:9px;
}
.rateslab-cash-body .navcta:hover {background:#195271;color:#FFFFFF;}
.rateslab-cash-body .nav-signin {color:var(--cash-deep-teal);}
.rateslab-cash-body :where(a,button,input,summary):focus-visible {
  outline:3px solid var(--cash-deep-teal);
  outline-offset:3px;
}
.rateslab-cash-body .page-cash {
  max-width:1580px;
  padding-inline:clamp(20px,4vw,64px);
  margin-inline:auto;
  padding-bottom:clamp(55px,5vw,90px);
}
/* Premium white hero with a pale mint process panel */
.rateslab-cash-body .page-cash > .cash-hero {
  position:relative;
  padding-block:clamp(45px,5vw,80px) clamp(26px,3vw,43px);
}
.rateslab-cash-body .page-cash > .cash-hero::before {
  background:#FFFFFF;
  border:0;
}
.rateslab-cash-body .cash-hero-grid {
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:clamp(30px,5vw,83px);align-items:center;
}
.rateslab-cash-body .cash-hero-copy {min-width:0;}
.rateslab-cash-body .cash-hero .eyebrow {
  font-size:12px;font-weight:850;letter-spacing:.14em;
  color:var(--cash-deep-teal);display:flex;align-items:center;gap:12px;
}
.rateslab-cash-body .cash-hero .eyebrow::before {
  content:"";display:block;background:var(--cash-teal);
  width:24px;height:3px;border-radius:5px;flex:none;
}
.rateslab-cash-body .cash-hero h1 {
  color:var(--cash-navy);
  margin:17px 0 24px;font-weight:790;
  line-height:1.045;letter-spacing:-.055em;
  font-size:clamp(48px,4.7vw,80px);
}
.rateslab-cash-body .cash-hero h1 span {color:#0A887C;}
.rateslab-cash-body .cash-hero .lead {
  max-width:770px;margin:0;color:var(--cash-navy);
  font-size:clamp(20px,1.6vw,25px);line-height:1.46;
  font-weight:650;letter-spacing:-.018em;
}
.rateslab-cash-body .cash-hero-support {
  margin:16px 0 0;max-width:770px;color:var(--cash-muted);
  font-size:clamp(18px,1.5vw,22px);line-height:1.65;
}
/* Editorial framework: high-contrast, chart-led product story, not three cards. */
.rateslab-cash-body .cash-hero-process {
  position:relative;isolation:isolate;overflow:hidden;
  min-width:0;
  padding:clamp(26px,3vw,43px) clamp(24px,3vw,44px) 20px;
  background-color:#0B2D4A;
  background-image:linear-gradient(145deg,#0B2D4A 0%,#103B55 78%,#0B2D4A 100%);
  border:1px solid #194962;border-radius:23px;
  box-shadow:0 27px 65px rgba(11,45,74,.16);
  color:#FFFFFF;
}
.rateslab-cash-body .cash-hero-process::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:280px;height:280px;right:-126px;top:-146px;border-radius:50%;
  border:1px solid rgba(20,184,166,.26);
  box-shadow:0 0 0 42px rgba(20,184,166,.045),0 0 0 94px rgba(20,184,166,.025);
}
.rateslab-cash-body .cash-hero-process-top {
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.rateslab-cash-body .cash-hero-process-label {
  color:#87DED2;
  font-size:11px;line-height:1.5;font-weight:800;letter-spacing:.13em;
}
.rateslab-cash-body .cash-hero-process-index {
  color:#9AB9C1;font-size:12px;font-weight:760;
  letter-spacing:.1em;font-variant-numeric:tabular-nums;white-space:nowrap;
}
.rateslab-cash-body .cash-hero-process-intro {margin-top:27px;max-width:540px;}
.rateslab-cash-body .cash-hero-process-intro h2 {
  color:#FFFFFF;
  font-size:clamp(29px,2.45vw,43px);
  line-height:1.13;letter-spacing:-.043em;
  margin:0;font-weight:750;
}
.rateslab-cash-body .cash-hero-process-intro h2 em {
  color:#5BDBC9;font-style:normal;font-weight:750;
}
.rateslab-cash-body .cash-hero-process-intro p {
  font-size:clamp(13px,1.07vw,16px);
  color:#C7DADF;line-height:1.6;
  margin:14px 0 0;max-width:450px;
}
.rateslab-cash-body .cash-hero-process-graphic {
  display:block;width:calc(100% + clamp(48px,6vw,88px));
  height:clamp(76px,7vw,116px);
  margin:8px calc(clamp(24px,3vw,44px) * -1) -11px;
  pointer-events:none;
}
.rateslab-cash-body .cash-hero-process-grid {
  display:grid;grid-template-columns:minmax(0,1fr);
  gap:0;margin:6px 0 0;
  border-top:1px solid rgba(204,230,227,.25);
}
.rateslab-cash-body .cash-hero-process-item {
  display:grid;grid-template-columns:45px minmax(0,1fr) 48px;
  min-width:0;min-height:0;align-items:center;
  gap:clamp(12px,1.25vw,19px);
  padding:clamp(14px,1.8vw,23px) 0;
  background:transparent;
  border:0;border-bottom:1px solid rgba(204,230,227,.22);
  border-radius:0;color:#FFFFFF;
}
.rateslab-cash-body .cash-process-number {
  color:#61DDC9;
  font-size:clamp(16px,1.45vw,20px);
  font-weight:750;letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
}
.rateslab-cash-body .cash-process-copy {
  display:flex;flex-direction:column;gap:3px;min-width:0;
}
.rateslab-cash-body .cash-process-copy strong {
  display:block;
  font-size:clamp(21px,1.9vw,29px);
  font-weight:770;letter-spacing:-.04em;line-height:1.18;
  color:#FFFFFF;
}
.rateslab-cash-body .cash-process-copy small {
  color:#C4D7DB;font-size:clamp(11px,.97vw,14px);
  line-height:1.5;font-weight:550;
}
.rateslab-cash-body .cash-process-icon {
  width:43px;height:37px;max-width:100%;
  color:#66D7C7;
  opacity:.95;justify-self:end;
}
.rateslab-cash-body .cash-hero-process-bottom {
  display:flex;justify-content:space-between;align-items:center;
  gap:15px;padding-top:17px;
  color:#A5C3CB;font-weight:680;
  font-size:11px;letter-spacing:.06em;text-transform:uppercase;
}
.rateslab-cash-body .cash-hero-process-bottom span:last-child {
  color:#5BDBC9;font-size:24px;line-height:1;
}
.rateslab-cash-body .cash-market-status {
  display:flex;align-items:flex-start;gap:11px;flex-wrap:wrap;
  margin-top:clamp(28px,3vw,44px);padding-top:18px;
  border-top:1px solid #E2EEEA;
}
.rateslab-cash-body .cash-market-status .data-status {
  border-radius:8px;padding:8px 11px;line-height:1.6;
  color:#47666F;background:#F3FAF8;border:1px solid #DAEAE4;
  font-size:12px;font-weight:550;
}
.rateslab-cash-body .cash-market-status #dataStatus {
  background:#FFF5F3;color:#8B3834;
  font-weight:720;border-color:#F0D6D2;
}
.rateslab-cash-body .cash-market-status #dataStatus[hidden] { display:none !important; }
.rateslab-cash-body .cash-market-status a {
  text-decoration:underline;text-underline-offset:3px;color:var(--cash-deep-teal);
  font-weight:700;
}
/* Capital input: one prominent figure, concise contextual guidance. */
.rateslab-cash-body .shared-capital {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,1.25fr);
  align-items:center;gap:clamp(20px,3vw,50px);
  padding:clamp(23px,2.6vw,36px);
  background:#FFFFFF;border:1px solid var(--cash-border);border-radius:20px;
  box-shadow:var(--cash-shadow);position:relative;overflow:hidden;
}
.rateslab-cash-body .shared-capital::before {
  content:"";position:absolute;width:5px;inset:0 auto 0 0;background:var(--cash-teal);
}
.rateslab-cash-body .cash-panel-kicker {
  font-size:11px;text-transform:uppercase;letter-spacing:.12em;
  font-weight:850;color:var(--cash-deep-teal);line-height:1.45;
}
.rateslab-cash-body .cash-input-intro h3 {
  margin:10px 0 8px;color:var(--cash-navy);font-size:clamp(22px,1.85vw,28px);
  font-weight:760;letter-spacing:-.03em;
}
.rateslab-cash-body .cash-input-intro .muted {
  margin:0;max-width:560px;font-size:14px;color:var(--cash-muted);line-height:1.6;
}
.rateslab-cash-body .cash-capital-input {min-width:0;}
.rateslab-cash-body .cash-field-caption {
  display:block;color:#5C7780;font-size:12px;
  font-weight:800;margin-bottom:8px;
}
.rateslab-cash-body .money {
  background:#F8FCFA;border:1px solid #B7D4CE;border-radius:12px;
  min-height:74px;padding:8px 17px;
  transition:border-color .17s ease,box-shadow .17s ease;
}
.rateslab-cash-body .money:focus-within {
  border-color:var(--cash-deep-teal);
  box-shadow:0 0 0 3px rgba(20,184,166,.18);
}
.rateslab-cash-body .money span {
  color:var(--cash-navy);font-size:31px;font-weight:840;
}
.rateslab-cash-body .money input {
  color:var(--cash-navy);background:transparent;font-size:clamp(26px,2.5vw,34px);
  letter-spacing:-.045em;font-weight:825;
}
.rateslab-cash-body .quick {gap:8px;margin-top:11px;}
.rateslab-cash-body .quick button {
  border:1px solid #D3E4E0;color:#385B68;background:white;
  min-width:60px;padding:9px 13px;border-radius:9px;
  font-size:13px;font-weight:720;transition:background .18s,border-color .18s;
}
.rateslab-cash-body .quick button:hover {border-color:var(--cash-teal);background:#EAF9F3;}
.rateslab-cash-body .quick button.active,
.rateslab-cash-body .quick button.active:hover {
  background:var(--cash-navy);color:white;border-color:var(--cash-navy);
}
/* Inputs: pale-mint workspace, with white panel interiors. */
.rateslab-cash-body .control-panel {
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:16px;margin-top:18px;padding:18px;
  background:var(--cash-mint);border:1px solid #BDE2D6;border-radius:20px;
  box-shadow:none;
}
.rateslab-cash-body .control {
  background:#FFFFFF;border:1px solid #C7E3DA;border-radius:14px;
  padding:clamp(19px,2vw,27px);min-width:0;
}
.rateslab-cash-body .control .label {
  color:var(--cash-deep-teal);
  font-size:11px;font-weight:850;letter-spacing:.105em;margin-bottom:12px;
}
.rateslab-cash-body .cash-comparison-control strong {
  color:var(--cash-navy);font-size:clamp(15px,1.15vw,18px);
  font-weight:760;line-height:1.75;display:block;
}
.rateslab-cash-body .control .help {
  font-size:12px;color:#607A83;margin-top:13px;line-height:1.6;
}
.rateslab-cash-body .control .slider-head .label {margin:0;}
.rateslab-cash-body .chip {
  background:var(--cash-navy);color:white;font-size:14px;
  padding:8px 12px;border-radius:9px;font-weight:850;
}
.rateslab-cash-body input[type=range] {
  accent-color:var(--cash-deep-teal);
  margin:23px 0 12px;cursor:pointer;
}
.rateslab-cash-body input[type=range]:disabled {cursor:not-allowed;}
.rateslab-cash-body .ticks {font-size:11px;color:#58737E;font-variant-numeric:tabular-nums;}
/* Results: sectional hierarchy and useful, consistent actions. */
.rateslab-cash-body .cash-results {padding-top:clamp(48px,5vw,76px);}
.rateslab-cash-body .cash-results-heading {
  display:flex;justify-content:space-between;align-items:end;gap:20px;
  margin-bottom:25px;
}
.rateslab-cash-body .cash-results-heading h2 {
  margin:9px 0 0;max-width:770px;
  font-size:clamp(28px,2.7vw,44px);font-weight:770;line-height:1.14;
  letter-spacing:-.04em;color:var(--cash-navy);
}
.rateslab-cash-body .cash-results-heading p {
  max-width:325px;font-size:14px;line-height:1.55;color:var(--cash-muted);margin:0;
}
.rateslab-cash-body .tabs {
  margin:0 0 29px;padding:7px;gap:7px;
  background:var(--cash-mint);border:1px solid #C3E3D9;border-radius:15px;
}
.rateslab-cash-body .tabs button {
  min-height:49px;border:1px solid transparent;
  background:transparent;color:#2D5964;
  border-radius:10px;font-size:14px;font-weight:850;
  transition:background .17s ease,color .17s ease,box-shadow .17s ease;
}
.rateslab-cash-body .tabs button:hover:not(.active) {background:#FFFFFF;border-color:#C3E4D9;}
.rateslab-cash-body .tabs button.active {
  background:var(--cash-navy);border-color:var(--cash-navy);
  color:#FFFFFF;box-shadow:0 4px 12px rgba(11,45,74,.11);
}
.rateslab-cash-body .tabs button.risk.active {
  background:#08786D;border-color:#08786D;color:#FFFFFF;
}
.rateslab-cash-body .tabs button.total.active {
  background:var(--cash-navy);border-color:var(--cash-navy);color:#FFFFFF;
}
.rateslab-cash-body .context {
  margin:0 0 18px;align-items:center;gap:24px;
}
.rateslab-cash-body .context h3 {
  font-size:clamp(25px,2.2vw,34px);letter-spacing:-.035em;
  color:var(--cash-navy);font-weight:790;
}
.rateslab-cash-body .context p {
  font-size:15px;color:var(--cash-muted);margin-top:6px;line-height:1.55;
}
.rateslab-cash-body .context .note {
  max-width:365px;min-width:245px;
  background:var(--cash-mint);border:1px solid #C1E2D7;
  border-radius:12px;color:#194E53;padding:15px 18px;
  font-size:13px;line-height:1.65;
}
.rateslab-cash-body .context .note b {color:var(--cash-navy);}
/* Wider, calmer data grid. Scrolls horizontally when necessary on phones. */
.rateslab-cash-body .table-card {
  background:#fff;
  border:1px solid #D1E1E0;border-radius:18px;
  box-shadow:0 15px 34px rgba(11,45,74,.065);
}
.rateslab-cash-body .table-scroll {overflow-x:auto;}
.rateslab-cash-body table {min-width:820px;border-collapse:separate;border-spacing:0;}
.rateslab-cash-body th {
  color:#FFFFFF;background:var(--cash-navy);
  text-transform:uppercase;letter-spacing:.065em;
  font-size:12px;font-weight:800;line-height:1.45;
  padding:16px 17px;border-bottom:0;
}
.rateslab-cash-body td {
  font-size:14px;line-height:1.55;color:#284B5B;
  padding:17px 17px;border-bottom:1px solid #E6F0ED;
  font-variant-numeric:tabular-nums;
}
.rateslab-cash-body td:first-child {color:var(--cash-navy);min-width:250px;}
.rateslab-cash-body .prod {font-weight:780;}
.rateslab-cash-body .prod small {display:inline-block;color:#597580;font-weight:650;}
.rateslab-cash-body tbody tr:hover,
.rateslab-cash-body tbody tr.selected {background:#F0FAF7;}
.rateslab-cash-body tbody tr:last-child {background:#E8F8F2;}
.rateslab-cash-body tbody tr:last-child td:first-child {
  border-left:4px solid var(--cash-teal);
  padding-left:13px;
}
.rateslab-cash-body tbody tr:last-child td {font-weight:760;}
.rateslab-cash-body .bar {
  background:#E3F0EB;border-radius:99px;width:115px;height:8px;
  margin-left:9px;
}
.rateslab-cash-body .fill {
  background:var(--cash-teal);border-radius:99px;
}
.rateslab-cash-body .fill.green {background:#0B8C7E;}
.rateslab-cash-body .fill.red {background:#C14B57;}
.rateslab-cash-body .pos {color:#08766A;}
.rateslab-cash-body .neg {color:#B33A4B;}
.rateslab-cash-body .cash-methodology-note {
  margin-top:22px;padding:17px 20px;
  background:#F2FBF7;
  border:1px solid #C7E9DD;border-left:4px solid var(--cash-teal);
  border-radius:11px;color:#466570;
  font-size:13px;line-height:1.7;
}
.rateslab-cash-body .cash-methodology-note strong {color:var(--cash-navy);}
.rateslab-cash-body .cash-results-actions {margin-top:25px;gap:12px;}
.rateslab-cash-body .cash-results-actions .btn {
  min-height:51px;border-radius:9px;
  padding:14px 20px;font-size:14px;font-weight:780;
}
.rateslab-cash-body .btn.primary {
  background:var(--cash-navy);color:#fff;box-shadow:none;
}
.rateslab-cash-body .btn.primary:hover {background:#185271;}
.rateslab-cash-body .btn.secondary {
  background:#fff;color:var(--cash-navy);
  border-color:#B5CFCA;
}
.rateslab-cash-body .btn.secondary:hover {
  background:#EFFAF6;border-color:var(--cash-deep-teal);
}
/* Footer aligned with the navy wordmark and homepage. */
.rateslab-cash-body footer.cash-footer {
  margin-top:0;border-top:0;background:var(--cash-navy);
  color:#FFFFFF;
}
.rateslab-cash-body .cash-footer .footer,
.rateslab-cash-body .cash-footer .legal-links {
  max-width:1580px;
  padding-inline:clamp(20px,4vw,64px);
}
.rateslab-cash-body .cash-footer .footer {
  gap:40px;padding-block:38px 17px;
  color:#CBDCE2;font-size:13px;line-height:1.7;
}
.rateslab-cash-body .cash-footer .footer strong {font-size:19px;color:#FFFFFF;}
.rateslab-cash-body .cash-footer .legal-links a {color:#CBDCE2;font-size:12px;}
.rateslab-cash-body .cash-footer .legal-links a:hover {color:#72E4D4;}
/* Narrow laptop, tablet and phone layouts */
@media(max-width:1150px) {
  .rateslab-cash-body .cash-hero-grid {gap:28px;}
  .rateslab-cash-body .cash-hero-process-item {padding-block:16px;}
  .rateslab-cash-body .shared-capital {grid-template-columns:minmax(0,1fr) minmax(340px,1.15fr);}
}
@media(max-width:900px) {
  .rateslab-cash-body .cash-hero-grid,
  .rateslab-cash-body .shared-capital,
  .rateslab-cash-body .control-panel {grid-template-columns:1fr;}
  .rateslab-cash-body .cash-hero h1 {font-size:clamp(44px,6.5vw,62px);}
  .rateslab-cash-body .cash-hero-process {max-width:750px;}
  .rateslab-cash-body .cash-results-heading {display:block;}
  .rateslab-cash-body .cash-results-heading p {margin-top:13px;max-width:570px;}
}
@media(max-width:600px) {
  .rateslab-cash-body .page-cash {padding-inline:15px;}
  .rateslab-cash-body .page-cash > .cash-hero {padding-block:35px 26px;}
  .rateslab-cash-body .cash-hero h1 {font-size:clamp(40px,10vw,53px);}
  .rateslab-cash-body .cash-hero .lead {font-size:20px;}
  .rateslab-cash-body .cash-hero-process {padding:14px;}
  .rateslab-cash-body .cash-hero-process-intro {margin-top:21px;}
  .rateslab-cash-body .cash-hero-process-intro h2 {font-size:clamp(27px,7vw,38px);}
  .rateslab-cash-body .cash-hero-process-graphic {height:84px;margin-top:13px;}
  .rateslab-cash-body .cash-hero-process-item {grid-template-columns:31px minmax(0,1fr) 35px;gap:12px;padding-block:16px;}
  .rateslab-cash-body .cash-process-copy strong {font-size:21px;}
  .rateslab-cash-body .cash-process-copy small {font-size:11px;}
  .rateslab-cash-body .cash-process-icon {width:32px;height:28px;}
  .rateslab-cash-body .cash-hero-process-bottom {font-size:10px;}
  .rateslab-cash-body .cash-market-status {display:block;}
  .rateslab-cash-body .cash-market-status .data-status {display:block;margin-top:6px;font-size:11px;}
  .rateslab-cash-body .shared-capital {padding:20px 18px;}
  .rateslab-cash-body .money {min-height:64px;}
  .rateslab-cash-body .control-panel {padding:10px;gap:9px;}
  .rateslab-cash-body .control {padding:18px;}
  .rateslab-cash-body .cash-results-heading h2 {font-size:30px;}
  .rateslab-cash-body .tabs {gap:4px;padding:5px;}
  .rateslab-cash-body .tabs button {font-size:11px;min-height:45px;padding:10px 5px;}
  .rateslab-cash-body .context {align-items:stretch;}
  .rateslab-cash-body .context .note {min-width:0;max-width:none;}
  .rateslab-cash-body th {font-size:11px;padding:13px;}
  .rateslab-cash-body td {font-size:13px;padding:14px 13px;}
  .rateslab-cash-body .cash-results-actions .btn {width:100%;}
  .rateslab-cash-body .cash-footer .footer {display:block;}
  .rateslab-cash-body .cash-footer .footer>div+div {margin-top:18px;}
}
@media(prefers-reduced-motion:reduce) {
  .rateslab-cash-body .quick button,.rateslab-cash-body .tabs button,
  .rateslab-cash-body .money {transition:none;}
}
