/* doc-l calc-simple.css: simple demo calculator. Scope: #roi-calculator.
   C17 doc theme. Shared by diligence versions A, B, C. */
html[data-doc="l"] #roi-calculator {
  --sc-blue: #2563EB;
  --sc-blue-ink: #1D4ED8;
  --sc-tint: #EEF4FF;
  --sc-line: #E6E8EC;
  --sc-ink: #0B1220;
  --sc-body: #344054;
  --sc-muted: #5B6474;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sc-body);
  background: #fff;
}
html[data-doc="l"] #roi-calculator *,
html[data-doc="l"] #roi-calculator *::before,
html[data-doc="l"] #roi-calculator *::after { box-sizing: border-box; }
html[data-doc="l"] #roi-calculator .sc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { html[data-doc="l"] #roi-calculator .sc-wrap { padding: 0 24px; } }

/* Heading */
html[data-doc="l"] #roi-calculator .sc-head { max-width: 760px; margin: 0 0 40px; }
html[data-doc="l"] #roi-calculator .sc-head h2 {
  margin: 12px 0 0; font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.5rem); line-height: 1.15;
  font-weight: 600; letter-spacing: -0.02em; color: var(--sc-ink);
}
html[data-doc="l"] #roi-calculator .sc-head h2 .nowrap { white-space: nowrap; color: var(--sc-blue); }
html[data-doc="l"] #roi-calculator .sc-head p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--sc-body); }
html[data-doc="l"] #roi-calculator .sc-head p strong { font-weight: 600; color: var(--sc-ink); }

/* Cards */
html[data-doc="l"] #roi-calculator .sc-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 1024px) { html[data-doc="l"] #roi-calculator .sc-grid { grid-template-columns: 11fr 9fr; gap: 28px; } }
html[data-doc="l"] #roi-calculator .sc-card {
  background: #fff; border: 1px solid var(--sc-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px -8px rgba(16, 24, 40, 0.08);
  padding: 24px 20px; min-width: 0;
}
@media (min-width: 640px) { html[data-doc="l"] #roi-calculator .sc-card { padding: 32px; } }
html[data-doc="l"] #roi-calculator .sc-card > h3 {
  margin: 0 0 8px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--sc-ink);
}

/* Fields */
html[data-doc="l"] #roi-calculator .sc-field { padding: 14px 0 6px; }
html[data-doc="l"] #roi-calculator .sc-field + .sc-field { border-top: 1px solid #F0F1F4; }
html[data-doc="l"] #roi-calculator .sc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
html[data-doc="l"] #roi-calculator .sc-row label { font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--sc-ink); }
html[data-doc="l"] #roi-calculator .sc-pill {
  flex: none; background: var(--sc-tint); color: var(--sc-blue-ink); border-radius: 999px;
  padding: 4px 12px; font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Sliders */
html[data-doc="l"] #roi-calculator input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: pointer; --fill: 0;
}
html[data-doc="l"] #roi-calculator input[type="range"]:focus { outline: none; }
html[data-doc="l"] #roi-calculator input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--sc-blue) calc(12px + (100% - 24px) * var(--fill) / 100), #E3E7EE calc(12px + (100% - 24px) * var(--fill) / 100));
}
html[data-doc="l"] #roi-calculator input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: #E3E7EE; }
html[data-doc="l"] #roi-calculator input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--sc-blue); }
html[data-doc="l"] #roi-calculator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--sc-blue); box-shadow: 0 1px 3px rgba(16, 24, 40, 0.2); transition: box-shadow .15s;
}
html[data-doc="l"] #roi-calculator input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--sc-blue); box-shadow: 0 1px 3px rgba(16, 24, 40, 0.2);
}
html[data-doc="l"] #roi-calculator input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35); }
html[data-doc="l"] #roi-calculator input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35); }

/* Results: statement card */
html[data-doc="l"] #roi-calculator [hidden] { display: none !important; }
html[data-doc="l"] #roi-calculator .sc-results { display: flex; flex-direction: column; }
html[data-doc="l"] #roi-calculator .sc-opt { display: flex; flex-direction: column; flex: 1; font-variant-numeric: tabular-nums; }
:where(html[data-doc="l"] #roi-calculator .sc-opt) :where(p, ol, dl) { margin: 0; padding: 0; }
html[data-doc="l"] #roi-calculator .sc-lab { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--sc-muted); }
html[data-doc="l"] #roi-calculator .sc-sub { font-size: 14px; line-height: 1.5; color: var(--sc-muted); }
html[data-doc="l"] #roi-calculator .sc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #F0F1F4; }
/* Statement card */
html[data-doc="l"] #roi-calculator .o3-list { margin-top: 8px; }
html[data-doc="l"] #roi-calculator .o3-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #F0F1F4; }
html[data-doc="l"] #roi-calculator .o3-list > div:first-child { border-top: 0; }
html[data-doc="l"] #roi-calculator .o3-list dt { min-width: 0; font-size: 15px; line-height: 1.4; color: var(--sc-body); }
html[data-doc="l"] #roi-calculator .o3-list dd { flex: none; margin: 0; text-align: right; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--sc-ink); }
html[data-doc="l"] #roi-calculator .o3-roi { margin-bottom: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 20px; border-top: 2px solid var(--sc-ink); }
html[data-doc="l"] #roi-calculator .o3-roi p:first-child { font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--sc-ink); }
html[data-doc="l"] #roi-calculator .o3-big { text-align: right; font-size: clamp(2.75rem, 2.2rem + 2.4vw, 3.75rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--sc-blue); }
html[data-doc="l"] #roi-calculator .sc-note { margin: 20px 0 0; font-size: 14px; line-height: 1.5; color: var(--sc-muted); }
@media (min-width: 1024px) {
  html[data-doc="l"] #roi-calculator .sc-inputs { display: flex; flex-direction: column; }
  html[data-doc="l"] #roi-calculator .sc-inputs .sc-field { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}
