﻿/* =========================================================
   Profit Calculator - profit-calculator.css
   Extracted from Cascading Profit Calculator standalone build
   ========================================================= */

/* ── Custom properties ─────────────────────────────────── */
:root {
  --navy:            #0A3F56;
  --navy-2:          #062330;
  --teal:            #138496;
  --teal-2:          #0F6F7E;
  --teal-3:          #0B5965;
  --mint-bg:         #B5EAE4;
  --mint-bg-2:       #D6F2EE;
  --light-teal:      #8DD7CF;
  --light-light-teal:#B5EAE4;
  --light-gray:      #D3D5D5;
  --paper:           #FFFFFF;
  --ink:             #062330;
  --ink-soft:        #4F6670;
  --rule:            #D3D5D5;
}

/* ── Reset / Base ───────────────────────────────────────── */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: rgb(201, 201, 208);
  font-family: Roboto, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  height: 100vh;
}

/* ── Layout ─────────────────────────────────────────────── */
.layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  gap: 0;
}

/* ── Controls sidebar ───────────────────────────────────── */
.controls {
  width: 24vw;
  flex-shrink: 0;
  min-width: 400px;
  background: var(--navy-2);
  color: #fff;
  border-radius: 0;
  box-shadow: rgba(0,0,0,.25) 0px 20px 60px, rgba(0,0,0,.1) 0px 4px 12px;
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow: hidden auto;
  transition: width 320ms cubic-bezier(.4,0,.2,1),
              min-width 320ms cubic-bezier(.4,0,.2,1),
              opacity 220ms ease;
}

.controls::-webkit-scrollbar { width: 8px; }
.controls::-webkit-scrollbar-track { background: var(--navy); }
.controls::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

body.no-controls .controls {
  width: 0;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
body.no-controls .layout { justify-content: center; }

/* ── Controls head ──────────────────────────────────────── */
.controls-head {
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.controls-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 60%, var(--teal-3) 60%);
}

.controls-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--light-light-teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.controls-sub {
  font-size: 13px;
  color: rgb(199, 204, 217);
  margin: 0;
  line-height: 1.4;
}

/* ── Control groups ─────────────────────────────────────── */
.group {
  padding: 14px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.group:last-child { border-bottom: none; }

.group-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--light-light-teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(181,234,228,.2);
}

/* ── Fields ─────────────────────────────────────────────── */
.field { display: block; }
.field + .field { margin-top: 10px; }

.field-lbl {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgb(182, 188, 201);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

select.input,
input[type="number"].input,
input[type="text"].input {
  width: 100%;
  background: var(--navy);
  border: 2px solid rgba(255,255,255,.1);
  color: #fff;
  padding: 12px 16px;
  font: 600 18px Roboto, sans-serif;
  border-radius: 4px;
  outline: none;
  transition: all 180ms;
}
select.input:hover,
input[type="number"].input:hover,
input[type="text"].input:hover {
  background: #405051;
  border: 2px solid #3f6472;
  cursor: pointer;
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%232BB89A' d='M6 8.2L1.8 4h8.4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}
select.input:focus,
input[type="number"].input:focus,
input[type="text"].input:focus {
    border-color: #3f6472;
    background: #405051;
}

/* ── Sliders ─────────────────────────────────────────────── */
.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-row label {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(226, 230, 239);
}
.slider-row .slider-val {
  width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--light-light-teal);
  font-weight: 700;
  font-size: 14px;
}

input[type="range"] {
  appearance: none;
  width: 100%;
  background: transparent;
  margin: 8px 0 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: -6px;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: rgba(0,0,0,.3) 0px 2px 4px;
}
.slider-foot {
  font-size: 11px;
  color: rgb(139, 146, 164);
  margin-top: 4px;
}

/* ── Service groups ─────────────────────────────────────── */
.svc-group { margin-bottom: 2px; }

button.svc-group-label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  color: var(--light-light-teal);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 4px 6px;
  text-align: left;
  margin: 8px 0 0;
}
button.svc-group-label:hover { color: #fff; }
.svc-group:first-child button.svc-group-label { margin-top: 0; }

.svc-group-chevron {
  display: inline-block;
  font-size: 8px;
  transition: transform 260ms ease;
  transform: rotate(90deg);
}
button.svc-group-label.collapsed .svc-group-chevron {
  transform: rotate(0deg);
}

.svc-group-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 280ms ease;
}
button.svc-group-label.collapsed + .svc-group-body {
  grid-template-rows: 0fr;
}
.svc-group-inner {
  min-height: 0;
  overflow: hidden;
}

.svc-row {
  background: var(--navy);
  border-radius: 4px;
  padding: 4px 0 0;
  overflow: hidden;
  transition: background 120ms;
}
.svc-row + .svc-row { margin-top: 2px; }
.svc-row.off { background: var(--navy-2); }
.svc-row.off .svc-fee,
.svc-row.off .qty-row { opacity: .35; }
.svc-row.off .qty-stepper button,
.svc-row.off .qty-stepper input { pointer-events: none; }

.svc-main {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.14s;
}
.svc-main:hover { 
    background: #172a2c;
    color: #fff;
}
.svc-main input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: all 0.12s;
}
.svc-main input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.svc-main input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 1px;
  width: 5px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.svc-meta { min-width: 0; }
.svc-label {
  font-size: 15px;
  font-weight: 600;
  color: rgb(226, 230, 239);
  line-height: 0.9;
}
.svc-sub {
  font-size: 12px;
  color: rgb(139, 146, 164);
  font-weight: 500;
  margin-top: 2px;
}
.svc-fee {
  font-size: 13px;
  font-weight: 700;
  color: var(--light-light-teal);
  font-variant-numeric: tabular-nums;
}

/* ── Qty stepper ─────────────────────────────────────────── */
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 8px 40px;
  gap: 8px;
  width: 100%;
  white-space: nowrap;
}
.qty-lbl {
  font-size: 12px;
  color: rgb(139, 146, 164);
  font-weight: 500;
  letter-spacing: .02em;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  height: 26px;
  overflow: hidden;
}
.qty-stepper button {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: var(--teal);
  font: 700 14px Roboto, sans-serif;
  cursor: pointer;
  transition: background 120ms;
}
.qty-stepper button:hover:not(:disabled) { background: rgba(43,184,154,.15); }
.qty-stepper button:disabled { color: rgb(74,81,104); cursor: not-allowed; }
.qty-stepper input {
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  color: #fff;
  text-align: center;
  font: 700 12.5px Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  outline: none;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* ── Toggle list ─────────────────────────────────────────── */
.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  overflow: hidden;
}
.toggle-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  background: var(--navy);
  cursor: pointer;
  transition: background 120ms;
  user-select: none;
}
.toggle-row:hover { background: var(--teal); }
.toggle-row.disabled { opacity: .4; cursor: not-allowed; }
.toggle-row.disabled:hover { background: var(--navy); }

.toggle-row input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.12s;
}
.toggle-row input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.toggle-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 1px;
  width: 5px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.toggle-row .toggle-label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgb(226, 230, 239);
  line-height: 1.25;
}
.toggle-row .toggle-sub {
  font-size: 12px;
  color: rgb(139, 146, 164);
  font-weight: 500;
  margin-top: 1px;
}
.toggle-row .toggle-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.toggle-row .toggle-price.na {
  color: rgb(106, 113, 134);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ── Drug list ───────────────────────────────────────────── */
.drug-row {
  display: grid;
  grid-template-columns: 20px 1fr 84px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: var(--navy);
}
.drug-row + .drug-row { border-top: 1px solid rgba(255,255,255,.06); }

.drug-row input.drug-name {
  background: transparent;
  border: none;
  color: rgb(226, 230, 239);
  font: 600 12.5px Roboto, sans-serif;
  padding: 2px 0;
  outline: none;
  width: 100%;
}
.drug-row .cost-input {
  display: flex;
  align-items: center;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  padding: 0 6px;
  height: 28px;
}
.drug-row .cost-input span {
  color: rgb(139, 146, 164);
  font-size: 12px;
  font-weight: 600;
}
.drug-row .cost-input input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font: 700 12.5px/normal Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  padding: 0 4px;
  outline: none;
  text-align: right;
}
.drug-row .cost-input input::-webkit-outer-spin-button,
.drug-row .cost-input input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.drug-foot {
  font-size: 12px;
  color: rgb(139, 146, 164);
  margin-top: 6px;
  text-align: right;
}

/* ── Action buttons ─────────────────────────────────────── */
.actions {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 4px;
  border: none;
  font: 700 12.5px Roboto, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 120ms, background 120ms;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost {
  background: transparent;
  color: rgb(182, 188, 201);
  border: 1px solid rgba(255,255,255,.16);
}
.btn.ghost:hover { background: rgba(255,255,255,.04); color: #fff; }

/* ── Show controls FAB ───────────────────────────────────── */
.show-controls-fab {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  background: var(--navy-2);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  font: 700 11.5px Roboto, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: rgba(0,0,0,.2) 0px 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 220ms ease 100ms, transform 220ms ease 100ms;
}
body.no-controls .show-controls-fab {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.show-controls-fab:hover { background: var(--navy); }

/* ── Document wrapper (zoom/pan canvas) ──────────────────── */
.doc-wrap {
  flex: 1;
  overflow: hidden;
  background: #6c6c6c;
  position: relative;
  cursor: grab;
  transition: all 0.2s;
}
.doc-wrap:active { cursor: grabbing; }
.doc-wrap:hover { background: #5f6161; }
.doc-wrap.dragging { cursor: grabbing; }

/* ── Page (printable document) ───────────────────────────── */
.page {
  width: 816px;
  height: 97vh;
  background: var(--paper);
  position: absolute;
  top: 0; left: 0;
  transform-origin: top left;
  overflow: auto;
  box-shadow: rgba(0,0,0,.18) 0px 20px 60px, rgba(0,0,0,.08) 0px 4px 12px;
  display: flex;
  flex-direction: column;
  border: 3px solid #138496;
  border-radius: 8px;
  cursor: grab;
}
.page:active {
  cursor: grabbing;
}
.page::-webkit-scrollbar { width: 8px; }
.page::-webkit-scrollbar-track { background: #0b1f28; }
.page::-webkit-scrollbar-thumb { background: rgb(136, 165, 170); border-radius: 4px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: #0b1f28;
  color: #fff;
  padding: 36px 48px;
  position: sticky;
  top: 0px;
  z-index: 10;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 35%, var(--teal-3) 35%, var(--teal-3) 65%, var(--teal) 65%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--teal);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.brand-logo-img { height: 70px; width: auto; display: block; }
.screen-logo { display: block; }
.print-logo  { display: none; }

.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
  display: grid;
  place-items: center;
}
.brand-logo::after {
  content: "";
  position: absolute;
  width: 14px; height: 4px;
  background: var(--teal);
  bottom: -2px; right: -4px;
  transform: rotate(45deg);
  border-radius: 2px;
}
.brand-logo svg { width: 24px; height: 24px; color: #fff; }

.brand-name { font-weight: 700; font-size: 28px; letter-spacing: -.02em; line-height: 1; }
.brand-name .pharm { color: rgb(182,188,201); font-weight: 600; }
.brand-name .assess { color: var(--teal); font-weight: 700; }

h1.title {
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  color: #fff;
}
.subtitle {
  color: var(--teal);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.005em;
  margin: 0 0 14px;
}
.meta {
  color: rgb(199, 204, 217);
  font-size: 13px;
  font-weight: 500;
}
.meta .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgb(199, 204, 217);
  vertical-align: middle;
  margin: 0 8px 2px;
}

/* ── Band ─────────────────────────────────────────────────── */
.band {
  background: var(--light-teal);
  padding: 14px 48px;
  border-left: 6px solid var(--teal);
}
.band .lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.band .lead .accent { color: var(--teal-2); }
.band .note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Body ─────────────────────────────────────────────────── */
.body { padding: 22px 48px 0; }

/* ── Table head ──────────────────────────────────────────── */
.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--teal-2);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  padding: 0 14px 10px;
  border-bottom: 1px solid var(--rule);
}
.table-head .left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.table-head .pipe { color: rgb(182, 207, 200); font-weight: 400; }

/* ── Doc rows ────────────────────────────────────────────── */
.rows { display: flex; flex-direction: column; }

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 14px 12px 18px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.row:nth-child(2n) { background: rgb(245, 250, 248); }
.row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--teal);
}
.row.muted { opacity: .35; }
.row.muted::before { background: rgb(182, 207, 200); }
.row .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.row .label .sub {
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 4px;
}
.row .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-2);
  font-variant-numeric: tabular-nums;
}

/* ── Total ────────────────────────────────────────────────── */
.total {
  margin-top: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.total .lbl {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.total .val {
  font-weight: 800;
  font-size: 28px;
  color: var(--light-light-teal);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* ── Per-RPh section ─────────────────────────────────────── */
.per-rph { margin-top: 22px; }

.per-rph-bar {
  background: var(--teal);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .04em;
}
.per-rph-bar .pipe { color: rgba(255,255,255,.6); margin: 0 10px; }
.per-rph-bar .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  vertical-align: middle;
  margin: 0 8px 2px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--mint-bg-2);
}
.stat {
  padding: 16px 18px 18px;
  text-align: center;
  border-right: 1px solid rgb(214, 231, 225);
}
.stat:last-child { border-right: none; }
.stat .stat-label {
  color: var(--teal-2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.stat .stat-value {
  color: var(--ink);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat .stat-foot {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.stat.feature {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-right: none;
  position: relative;
  padding: 22px 18px 24px;
  box-shadow: rgba(141,215,207,.18) 0px 0px 0px 1px inset;
}
.stat.feature::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--light-teal);
}
.stat.feature .stat-label {
  color: var(--light-teal);
  font-size: 11px;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.stat.feature .stat-value {
  color: var(--light-light-teal);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.025em;
  text-shadow: rgba(181,234,228,.4) 0px 0px 24px;
}
.stat.feature .stat-foot { color: rgb(181, 197, 204); }

.stats-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--mint-bg);
  border-top: 1px solid rgb(214, 231, 225);
}
.stats-2 .stat { border-right: 1px solid rgb(214, 231, 225); background: transparent; }
.stats-2 .stat:last-child { border-right: none; background: var(--navy-2); color: #fff; }
.stats-2 .stat:last-child .stat-label { color: var(--light-teal); }
.stats-2 .stat:last-child .stat-value { color: var(--light-light-teal); }
.stats-2 .stat:last-child .stat-foot { color: rgb(199, 204, 217); }

/* ── Callout ─────────────────────────────────────────────── */
.callout {
  margin: 18px 0 0;
  background: var(--mint-bg-2);
  border-left: 4px solid var(--teal);
  padding: 14px 22px;
}
.callout-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  margin: 0 0 4px;
}
.callout ul {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.callout li { font-size: 12.5px; color: var(--ink-soft); }

.body-spacer { height: 22px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  background: var(--navy-2);
  color: #fff;
  padding: 14px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 50%, var(--teal-3) 50%);
}
.footer .url { color: var(--teal); font-weight: 700; }

/* ── Pulse animation ─────────────────────────────────────── */
@keyframes pulse {
  0%   { background-color: rgba(43,184,154,.18); }
  100% { background-color: transparent; }
}
.pulse { animation: pulse 360ms ease-out 1; }

/* ── Print styles ────────────────────────────────────────── */
@page { size: letter portrait; margin: 0; }

@media print {
  html, body {
    background: #fff;
    margin: 0; padding: 0;
    width: 8.5in; height: 11in;
    overflow: visible;
  }

  .controls,
  .show-controls-fab { display: none !important; }

  .layout { padding: 0; gap: 0; display: block; width: 8.5in; min-height: 0; }

  .doc-wrap { width: 8.5in; overflow: visible; position: static; }

  .page {
    box-shadow: none;
    width: 8.5in; height: 11in;
    min-height: 11in; max-height: 11in;
    overflow: hidden;
    margin: 0;
    position: static;
    transform: none !important;
    break-after: avoid;
    break-inside: avoid;
  }

  .screen-logo { display: none; }
  .print-logo  { display: block; }

  .hero { padding: 22px 48px; background: #f0f0f0; color: #000; }
  .hero::before { background: #ccc; }
  .hero::after { background: #ccc; }
  .brand { margin-bottom: 18px; }
  h1.title { font-size: 40px; line-height: .95; margin-bottom: 8px; color: #333; }
  .subtitle { font-size: 15px; margin-bottom: 10px; }
  .meta { font-size: 12px; color: #333; }
  .band { padding: 10px 48px; }
  .band .lead { font-size: 15px; margin-bottom: 2px; }
  .band .note { font-size: 11.5px; }
  .body { padding: 14px 48px 0; }
  .table-head { padding-bottom: 7px; font-size: 11.5px; }
  .row { padding: 7px 14px 7px 18px; }
  .row .label { font-size: 13px; }
  .row .label .sub { font-size: 12px; }
  .row .price { font-size: 14px; }
  .total { padding: 11px 22px; margin-top: 8px; }
  .total .lbl { font-size: 13px; }
  .total .val { font-size: 24px; }
  .per-rph { margin-top: 12px; }
  .per-rph-bar { padding: 9px 22px; font-size: 12.5px; }
  .stat { padding: 11px 14px 13px; background: #f0f0f0 !important; }
  .stat .stat-label { font-size: 12px; margin-bottom: 5px; color: #000 !important; }
  .stat .stat-value { font-size: 24px; margin-bottom: 5px; color: #000 !important; }
  .stat .stat-foot { font-size: 10px; color: #000 !important; }
  .stat.feature { padding: 14px 16px 16px; background: #f0f0f0 !important; }
  .stat .stat-value { font-size: 30px; color: #000 !important; }
  .stat .stat-label { font-size: 10px; color: #000 !important; }
  .callout { margin-top: 10px; padding: 9px 22px; }
  .callout-title { font-size: 12.5px; }
  .callout li { font-size: 11.5px; }
  .footer { padding: 9px 48px; font-size: 11px; }
  .body-spacer { display: none; }

  * { print-color-adjust: exact !important; }
}