:root {
  --navy-950: #2b1231;
  --navy-900: #421b49;
  --navy-800: #5d2865;
  --teal-700: #762f7d;
  --teal-600: #903795;
  --teal-500: #a64bad;
  --mint-200: #d8b7de;
  --mint-100: #f1e4f3;
  --mint-50: #faf5fb;
  --orange-600: #c86c4a;
  --orange-100: #fae9e3;
  --savings-highlight: #ffd66b;
  --cream: #fbf8fc;
  --ink: #271f2a;
  --muted: #716574;
  --line: #e7dce9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(68, 27, 75, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.hidden { display: none !important; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(144, 55, 149, 0.28);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 4%, rgba(216, 183, 222, 0.48), transparent 28rem),
    radial-gradient(circle at 96% 28%, rgba(241, 228, 243, 0.82), transparent 24rem),
    var(--cream);
  padding-bottom: 72px;
}
.app-shell::before {
  content: "";
  position: fixed;
  z-index: 0;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(144, 55, 149, 0.14);
  border-radius: 42% 58% 60% 40%;
  top: 160px;
  left: -245px;
  transform: rotate(28deg);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin: 0 auto;
  height: 86px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(7, 30, 43, 0.1);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-950); text-decoration: none; width: max-content; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-size: 20px; letter-spacing: 0.11em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.nest-mark {
  position: relative;
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: var(--teal-600);
  border-radius: 48% 52% 53% 47% / 38% 45% 55% 62%;
  transform: rotate(-8deg);
  box-shadow: 0 8px 20px rgba(12, 152, 127, 0.25);
}
.nest-mark::after { content: ""; position: absolute; width: 15px; height: 8px; right: -2px; top: 3px; background: var(--mint-200); border-radius: 100% 0 100% 0; transform: rotate(35deg); }
.nest-mark span { transform: rotate(8deg); font-weight: 800; font-size: 22px; }
.header-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: 0.02em; }
.pulse-dot, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 5px rgba(24, 179, 148, 0.12); }
.admin-link { justify-self: end; color: var(--navy-800); text-decoration: none; font-weight: 700; font-size: 13px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); transition: .2s ease; }
.admin-link:hover { background: white; transform: translateY(-1px); }

.top-progress { position: relative; z-index: 2; max-width: 1000px; margin: 30px auto 42px; padding: 0 24px; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stepper::before { content: ""; position: absolute; left: 16.5%; right: 16.5%; top: 17px; height: 1px; background: var(--line); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #899398; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.step-number { z-index: 1; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #7c898e; background: var(--cream); border: 1px solid #cdd9d6; font-size: 12px; }
.step.active { color: var(--navy-900); }
.step.active .step-number { color: white; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 0 0 6px rgba(10, 42, 58, .08); }
.step.done { color: var(--teal-700); }
.step.done .step-number { background: var(--mint-100); border-color: var(--teal-500); color: var(--teal-700); }

.calculator-grid { position: relative; z-index: 1; max-width: 1250px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 26px; }
.form-panel, .contact-card { background: rgba(255,255,255,.92); border: 1px solid rgba(215, 226, 223, .9); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.panel-heading { padding: 40px 44px 32px; background: linear-gradient(140deg, rgba(228, 247, 240, .75), rgba(255,255,255,.5)); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--teal-700); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.panel-heading h1, .contact-card h1 { max-width: 690px; margin: 10px 0 12px; color: var(--navy-950); font-size: clamp(32px, 4vw, 48px); line-height: 1.03; letter-spacing: -.045em; }
.panel-heading p, .contact-card > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.input-section { padding: 32px 44px 34px; border-bottom: 1px solid var(--line); }
.section-title { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 23px; }
.section-title > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--teal-700); background: var(--mint-100); font-size: 10px; font-weight: 800; }
.section-title h2 { margin: 1px 0 4px; color: var(--navy-900); font-size: 18px; letter-spacing: -.02em; }
.section-title p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field-label { color: #35474e; font-size: 12px; font-weight: 750; }
.field-control { min-height: 48px; display: flex; align-items: center; overflow: hidden; border: 1px solid #ccd9d6; border-radius: 13px; background: white; transition: .18s ease; }
.field-control:focus-within { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(24,179,148,.1); }
.field-control input, .field-control select { width: 100%; min-width: 0; padding: 12px 13px; color: var(--navy-950); background: transparent; border: 0; outline: 0; font-size: 14px; font-weight: 720; }
.field-control input[type="number"] { text-align: right; }
.field-affix { height: 24px; display: inline-flex; align-items: center; padding-left: 13px; color: var(--muted); border-right: 1px solid #e4eae8; padding-right: 10px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.field-affix-end { order: 2; padding-left: 10px; padding-right: 13px; border-left: 1px solid #e4eae8; border-right: 0; }
.field-hint { color: #849095; font-size: 10px; line-height: 1.45; }
.fixed-field .field-control, .locked-field .field-control { background: #f3f7f5; }
.fixed-field input, .locked-field input { color: #66767b; }
.lock-badge { margin-right: 8px; padding: 5px 8px; color: var(--teal-700); background: var(--mint-100); border-radius: 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.select-control { position: relative; }
.select-control::after { content: "⌄"; position: absolute; right: 14px; top: 11px; color: var(--teal-700); font-weight: 900; pointer-events: none; }
.select-control select { appearance: none; padding-right: 35px; }
.segmented { min-height: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: #eef3f1; }
.segmented button { border: 0; color: var(--muted); background: transparent; border-radius: 9px; font-size: 11px; font-weight: 700; cursor: pointer; }
.segmented button.selected { color: var(--navy-900); background: white; box-shadow: 0 2px 10px rgba(7,30,43,.09); }

.primary-button, .secondary-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 14px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.primary-button { color: white; background: var(--navy-900); border: 1px solid var(--navy-900); box-shadow: 0 12px 25px rgba(10,42,58,.2); }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(10,42,58,.24); }
.primary-button:disabled { opacity: .7; cursor: wait; }
.primary-button.wide { width: calc(100% - 88px); margin: 30px 44px 40px; }
.secondary-button { padding: 0 18px; color: var(--navy-900); background: white; border: 1px solid #cfdad8; box-shadow: 0 5px 14px rgba(7,30,43,.06); }
.secondary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(7,30,43,.1); }

.live-panel { position: sticky; top: 24px; overflow: hidden; padding: 27px; color: white; background: var(--navy-950); border-radius: 28px; box-shadow: 0 28px 60px rgba(7,30,43,.2); }
.live-panel::before { content: ""; position: absolute; width: 230px; height: 230px; right: -100px; top: -120px; border: 42px solid rgba(24,179,148,.1); border-radius: 50%; }
.live-panel-top { position: relative; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--mint-200); }
.live-kicker { position: relative; margin: 37px 0 7px; color: #a9bbb9; font-size: 12px; }
.live-panel > strong { position: relative; display: block; font-size: 39px; line-height: 1; letter-spacing: -.04em; }
.live-panel > strong.positive { color: #93e0c8; }
.live-panel > strong.negative { color: #ff9a70; }
.live-period { display: block; margin-top: 8px; color: #a9bbb9; font-size: 11px; }
.mini-comparison { margin: 30px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-comparison div { padding: 13px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; }
.mini-comparison span { display: block; color: #92aaa9; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.mini-comparison b { display: block; margin-top: 6px; color: white; font-size: 15px; }
.saving-track { height: 6px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 99px; }
.saving-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-500), #84dfc3); border-radius: inherit; transition: width .4s ease; }
.live-stats { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.live-stats div { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.live-stats span { color: #a9bbb9; font-size: 10px; }
.live-stats b { color: white; font-size: 12px; }
.model-note { margin: 19px 0 0; padding: 13px; color: #9fb3b2; background: rgba(24,179,148,.08); border-radius: 12px; font-size: 9.5px; line-height: 1.55; }

.contact-layout { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.contact-card { padding: 43px; }
.back-button { padding: 0; margin: 0 0 32px; color: var(--teal-700); background: transparent; border: 0; font-size: 12px; font-weight: 800; cursor: pointer; }
.contact-card h1 { margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 28px; }
.text-field { display: flex; flex-direction: column; gap: 8px; color: #35474e; font-size: 11px; font-weight: 750; }
.text-field em { color: #8c999d; font-style: normal; font-weight: 500; }
.text-field input { min-height: 50px; padding: 12px 14px; color: var(--navy-950); border: 1px solid #ccd9d6; border-radius: 13px; background: white; outline: 0; }
.text-field input:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(24,179,148,.1); }
.phone-format-hint { margin-top: -2px; color: #849095; font-size: 9.5px; font-weight: 500; line-height: 1.45; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 23px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin: 0; accent-color: var(--teal-600); }
.contact-card .primary-button.wide { width: 100%; margin: 24px 0 0; }
.privacy-line { margin: 12px 0 0 !important; text-align: center; font-size: 9px !important; color: #8b979b !important; }
.form-error { margin: 15px 0 -7px; padding: 10px 12px; color: #992f16; background: var(--orange-100); border-radius: 10px; font-size: 11px; }
.form-error.center { max-width: 700px; margin: 18px auto; text-align: center; }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-summary { position: sticky; top: 24px; padding: 27px; color: white; background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); border-radius: 25px; box-shadow: 0 20px 50px rgba(7,30,43,.18); }
.contact-summary > span { color: var(--mint-200); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.contact-summary h2 { margin: 8px 0 24px; font-size: 30px; letter-spacing: -.04em; }
.contact-summary dl { margin: 0; }
.contact-summary dl div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-summary dt { color: #a7b7b6; font-size: 10px; }
.contact-summary dd { margin: 0; text-align: right; font-size: 11px; font-weight: 750; }
.contact-summary dd.positive { color: #91ddc6; }

.results-shell { min-height: 100vh; background: #f2f5f3; }
.results-shell .site-header { max-width: none; padding-left: max(28px, calc((100vw - 1240px)/2)); padding-right: max(28px, calc((100vw - 1240px)/2)); background: white; }
.results-page { background: #f2f5f3; padding-bottom: 54px; }
.results-hero { padding: 56px max(28px, calc((100vw - 1240px)/2)) 120px; color: white; background: var(--navy-950); display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.eyebrow.light { color: #89ddc4; }
.results-hero h1 { max-width: 770px; margin: 12px 0 12px; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.055em; }
.results-hero p { max-width: 650px; margin: 0; color: #aabdbc; line-height: 1.65; font-size: 14px; }
.results-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.light-button { color: white; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); box-shadow: none; }
.mint-button { color: var(--navy-950); background: #95e2ca; border-color: #95e2ca; box-shadow: 0 12px 25px rgba(0,0,0,.16); padding: 0 20px; }

.kpi-grid { max-width: 1240px; margin: -66px auto 26px; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi-card { min-height: 152px; padding: 25px; display: flex; flex-direction: column; color: var(--navy-950); background: white; border: 1px solid #dfe7e4; border-radius: 21px; box-shadow: 0 14px 35px rgba(7,30,43,.08); }
.kpi-card > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kpi-card strong { margin-top: 22px; font-size: clamp(27px, 3vw, 38px); line-height: 1; letter-spacing: -.045em; }
.kpi-card small { margin-top: auto; padding-top: 12px; color: #7f8b90; font-size: 10px; }
.kpi-card.featured { color: white; background: var(--teal-700); border-color: var(--teal-700); }
.kpi-card.featured > span, .kpi-card.featured small { color: #c7eee1; }
.kpi-card.carbon { background: var(--mint-100); border-color: #c8e9df; }

.result-card, .delivery-card, .results-footer { max-width: 1192px; margin: 0 auto 22px; }
.result-card { padding: 32px; background: white; border: 1px solid #dfe7e4; border-radius: 22px; box-shadow: 0 10px 30px rgba(7,30,43,.045); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.card-heading h2 { margin: 7px 0 0; color: var(--navy-950); font-size: 26px; letter-spacing: -.035em; }
.card-heading p { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.card-heading.compact { margin-bottom: 20px; }
.card-heading.compact h2 { font-size: 21px; }
.period-pill { padding: 8px 11px; color: var(--teal-700); background: var(--mint-100); border-radius: 999px; white-space: nowrap; font-size: 10px; font-weight: 800; }
.cost-overview { display: grid; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 42px; }
.cost-overview .card-heading { grid-column: 1 / -1; }
.cost-bars { display: flex; flex-direction: column; gap: 22px; }
.cost-bar-row > div:first-child { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.cost-bar-row span { color: var(--muted); font-size: 11px; font-weight: 750; }
.cost-bar-row strong { color: var(--navy-950); font-size: 18px; }
.cost-bar-track { height: 18px; background: #eef2f1; border-radius: 6px; overflow: hidden; }
.cost-bar-track span { display: block; height: 100%; border-radius: inherit; animation: bar-grow .8s cubic-bezier(.2,.7,.2,1) both; transform-origin: left; }
.foam-bar { background: linear-gradient(90deg, #ef7a47, var(--orange-600)); }
.nest-bar { background: linear-gradient(90deg, #43c4a7, var(--teal-700)); }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.saving-callout { padding: 22px; color: white; background: var(--navy-950); border-radius: 17px; }
.saving-callout span { color: #a9bdbc; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.saving-callout strong { display: block; margin-top: 11px; color: #91ddc6; font-size: 28px; letter-spacing: -.04em; }
.saving-callout p { margin: 9px 0 0; color: #9eafaf; font-size: 9px; line-height: 1.5; }

.chart-wrap { width: 100%; overflow: hidden; }
.chart-wrap svg { display: block; width: 100%; min-width: 620px; overflow: visible; }
.chart-grid { stroke: #e1e8e5; stroke-width: 1; stroke-dasharray: 4 5; }
.chart-label { fill: #718087; font-size: 10px; font-family: Inter, Arial, sans-serif; }
.chart-line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1500; animation: draw-line 1.3s ease both; }
.chart-line-foam { stroke: var(--orange-600); }
.chart-line-nest { stroke: var(--teal-600); animation-delay: .12s; }
.chart-dot { stroke: white; stroke-width: 2; }
.chart-dot-foam { fill: var(--orange-600); }
.chart-dot-nest { fill: var(--teal-600); }
@keyframes draw-line { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }
.chart-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { width: 24px; height: 3px; border-radius: 99px; }
.legend-swatch.foam { background: var(--orange-600); }
.legend-swatch.nest { background: var(--teal-600); }

.two-column-results { max-width: 1192px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr .85fr; gap: 22px; }
.two-column-results .result-card { width: 100%; margin-bottom: 22px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 10px 12px; color: #6d7a80; background: #f4f7f6; text-align: right; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
th:first-child, td:first-child { text-align: left; }
td { padding: 12px; color: #415057; text-align: right; border-bottom: 1px solid #e5ebe9; }
tbody tr:hover { background: #fbfcfc; }
tfoot td { color: var(--navy-950); background: var(--mint-50); border-top: 2px solid var(--teal-500); border-bottom: 0; font-weight: 850; }
.positive { color: var(--teal-700) !important; }
.negative { color: var(--orange-600) !important; }
.assumption-list { margin: 0; }
.assumption-list div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #e5ebe9; }
.assumption-list dt { color: var(--muted); font-size: 10px; }
.assumption-list dd { margin: 0; color: var(--navy-950); text-align: right; font-size: 11px; font-weight: 800; }
.carbon-note { margin-top: 18px; padding: 16px; background: var(--mint-100); border-radius: 13px; }
.carbon-note b { color: var(--teal-700); font-size: 10px; }
.carbon-note p { margin: 6px 0 0; color: #4f6c65; font-size: 9.5px; line-height: 1.55; }
.projection-table-card table { min-width: 780px; }
.delivery-card { padding: 20px 24px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; color: var(--navy-950); background: var(--mint-100); border: 1px solid #c8e8de; border-radius: 18px; }
.delivery-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--teal-700); background: white; border-radius: 50%; font-weight: 900; }
.delivery-icon.sending { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .65; } }
.delivery-card h2 { margin: 0; font-size: 15px; }
.delivery-card p { margin: 5px 0 0; color: #557169; font-size: 10px; line-height: 1.5; }
.results-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 7px 4px; }
.results-footer .back-button { margin: 0; white-space: nowrap; }
.results-footer p { max-width: 600px; margin: 0; color: #7b898e; text-align: right; font-size: 9px; }

@media (max-width: 1020px) {
  .calculator-grid { grid-template-columns: 1fr; max-width: 850px; }
  .live-panel { position: relative; top: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 24px; }
  .live-panel-top, .live-kicker, .live-panel > strong, .live-period, .mini-comparison, .saving-track { grid-column: 1; }
  .live-stats, .model-note { grid-column: 2; }
  .live-stats { grid-row: 2 / span 5; margin-top: 0; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column-results { grid-template-columns: 1fr; padding: 0 24px; }
  .two-column-results .result-card { max-width: none; }
  .result-card, .delivery-card, .results-footer { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 760px) {
  .site-header { height: 74px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .header-note { display: none; }
  .brand small { display: none; }
  .admin-link { font-size: 11px; }
  .top-progress { margin: 22px auto 30px; }
  .step { font-size: 8px; }
  .stepper::before { left: 15%; right: 15%; }
  .calculator-grid, .contact-layout { padding: 0 14px; }
  .form-panel, .contact-card { border-radius: 22px; }
  .panel-heading, .input-section, .contact-card { padding-left: 22px; padding-right: 22px; }
  .panel-heading { padding-top: 30px; }
  .panel-heading h1, .contact-card h1 { font-size: 34px; }
  .field-grid, .contact-grid { grid-template-columns: 1fr; }
  .primary-button.wide { width: calc(100% - 44px); margin-left: 22px; margin-right: 22px; }
  .live-panel { display: block; padding: 24px; }
  .live-stats { margin-top: 28px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-summary { position: static; order: -1; }
  .contact-card .primary-button.wide { width: 100%; margin-left: 0; margin-right: 0; }
  .results-hero { padding: 42px 20px 105px; display: block; }
  .results-hero h1 { font-size: 40px; }
  .results-actions { margin-top: 25px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; margin-top: -62px; padding: 0 14px; gap: 10px; }
  .kpi-card { min-height: 135px; padding: 18px; border-radius: 17px; }
  .kpi-card strong { margin-top: 17px; font-size: 26px; }
  .result-card, .delivery-card, .results-footer { margin-left: 14px; margin-right: 14px; }
  .result-card { padding: 22px; border-radius: 18px; }
  .card-heading { display: block; }
  .period-pill { display: inline-block; margin-top: 12px; }
  .cost-overview { grid-template-columns: 1fr; }
  .cost-overview .card-heading { grid-column: 1; }
  .saving-callout { margin-top: 24px; }
  .chart-wrap { overflow-x: auto; padding-bottom: 6px; }
  .two-column-results { padding: 0 14px; }
  .two-column-results .result-card { margin-left: 0; margin-right: 0; }
  .delivery-card { grid-template-columns: 42px 1fr; }
  .delivery-card .secondary-button { grid-column: 1 / -1; }
  .results-footer { display: block; }
  .results-footer p { margin-top: 15px; text-align: left; }
}

@media (max-width: 470px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card { min-height: 125px; }
  .results-actions { flex-direction: column; }
  .results-actions button { width: 100%; }
}

@media print {
  @page { size: A4 landscape; margin: 9mm; }
  body, .results-shell, .results-page { background: white !important; }
  .no-print { display: none !important; }
  .results-hero { padding: 18px 22px 58px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .results-hero h1 { font-size: 34px; }
  .kpi-grid { max-width: none; margin: -40px 0 12px; padding: 0; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .kpi-card { min-height: 102px; padding: 14px; border-radius: 10px; box-shadow: none; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .kpi-card strong { margin-top: 12px; font-size: 24px; }
  .result-card { max-width: none; margin: 0 0 10px; padding: 17px; border-radius: 10px; box-shadow: none; break-inside: avoid; }
  .cost-overview { grid-template-columns: 1fr 180px; }
  .chart-card { page-break-before: always; }
  .two-column-results { max-width: none; grid-template-columns: 1.45fr .85fr; gap: 10px; }
  .two-column-results .result-card { margin: 0 0 10px; }
  .projection-table-card { page-break-before: always; }
  .chart-wrap svg { min-width: 0; }
  .chart-line { animation: none; stroke-dasharray: none; }
  .cost-bar-track span { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.admin-page { min-height: 100vh; background: radial-gradient(circle at 82% 14%, rgba(188,235,220,.45), transparent 28rem), var(--cream); }
.admin-header { height: 86px; padding: 0 max(28px, calc((100vw - 1100px)/2)); display: flex; justify-content: space-between; align-items: center; background: white; border-bottom: 1px solid var(--line); }
.admin-user { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; }
.admin-user a { color: var(--teal-700); font-weight: 800; text-decoration: none; }
.admin-content { max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px; }
.admin-content > .back-button { display: inline-block; margin-bottom: 34px; text-decoration: none; }
.admin-title { max-width: 690px; }
.admin-title h1 { margin: 10px 0 13px; color: var(--navy-950); font-size: clamp(38px, 5vw, 57px); line-height: 1; letter-spacing: -.052em; }
.admin-title p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.admin-grid { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.admin-card { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow); }
.admin-card-heading { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 28px; }
.admin-card-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: var(--teal-700); background: var(--mint-100); border-radius: 13px; font-size: 18px; font-weight: 900; }
.admin-card-heading h2 { margin: 1px 0 5px; color: var(--navy-950); font-size: 19px; }
.admin-card-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.admin-price input { text-align: right; font-size: 24px; }
.admin-notice { margin: 18px 0; padding: 15px; color: #4f6b65; background: var(--mint-100); border-radius: 12px; }
.admin-notice b { font-size: 11px; }
.admin-notice p { margin: 5px 0 0; font-size: 10px; line-height: 1.55; }
.last-updated { margin: 13px 0; color: #839095; font-size: 9px; }
.admin-success { margin: 15px 0; padding: 11px; color: #096954; background: var(--mint-100); border-radius: 10px; font-size: 10px; }
.admin-card > .primary-button { width: 100%; margin-top: 20px; }
.admin-info-card { padding: 28px; color: white; background: var(--navy-950); border-radius: 23px; box-shadow: 0 24px 60px rgba(7,30,43,.18); }
.admin-info-card h2 { margin: 12px 0 20px; font-size: 26px; line-height: 1.08; letter-spacing: -.035em; }
.admin-info-card ol { margin: 0; padding: 0 0 0 17px; color: #b1c1c0; font-size: 10.5px; line-height: 1.65; }
.admin-info-card li + li { margin-top: 10px; }
.admin-info-card a { display: inline-block; margin-top: 25px; color: #90dfc6; text-decoration: none; font-size: 11px; font-weight: 800; }
@media (max-width: 780px) {
  .admin-header { height: 74px; padding: 0 18px; }
  .admin-user span { display: none; }
  .admin-content { padding-top: 35px; }
  .admin-grid { grid-template-columns: 1fr; }
}

/* Nua Medical brand system */
.site-header {
  height: 96px;
  grid-template-columns: 1fr auto;
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(144, 55, 149, 0.13);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  color: var(--navy-950);
  text-decoration: none;
}

.nua-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 13px;
  background: white;
  box-shadow: 0 7px 24px rgba(66, 27, 73, 0.09);
}

.brand-divider {
  width: 1px;
  height: 42px;
  background: linear-gradient(transparent, rgba(144, 55, 149, 0.28), transparent);
}

.product-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.nest-logo {
  display: block;
  width: 190px;
  height: auto;
}

.product-lockup small {
  margin: 5px 0 0 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-note {
  justify-self: end;
  color: #6d5a71;
  font-weight: 650;
}

.pulse-dot,
.live-dot {
  background: var(--teal-500);
  box-shadow: 0 0 0 5px rgba(166, 75, 173, 0.12);
}

.panel-heading {
  background:
    radial-gradient(circle at 90% 10%, rgba(185, 143, 193, 0.24), transparent 15rem),
    linear-gradient(140deg, rgba(241, 228, 243, 0.76), rgba(255, 255, 255, 0.6));
}

.field-control:focus-within,
.text-field input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(166, 75, 173, 0.1);
}

.primary-button {
  background: linear-gradient(135deg, #6f2b77, #963e9c);
  border-color: #762f7d;
  box-shadow: 0 13px 28px rgba(111, 43, 119, 0.24);
}

.primary-button:hover:not(:disabled) {
  box-shadow: 0 17px 34px rgba(111, 43, 119, 0.31);
}

.live-panel {
  background:
    radial-gradient(circle at 104% -4%, rgba(212, 150, 220, 0.24), transparent 15rem),
    linear-gradient(150deg, #2b1231 0%, #421b49 58%, #5f2867 100%);
  box-shadow: 0 30px 65px rgba(54, 18, 61, 0.24);
}

.live-panel::before {
  border-color: rgba(216, 183, 222, 0.11);
}

.live-panel-top,
.eyebrow.light {
  color: #e3c5e8;
}

.live-panel > strong.positive,
.contact-summary dd.positive {
  color: var(--savings-highlight) !important;
  text-shadow: 0 3px 18px rgba(255, 214, 107, 0.2);
}

.saving-track span {
  background: linear-gradient(90deg, #b364ba, #e0bce5);
}

.contact-summary {
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 143, 193, 0.28), transparent 14rem),
    linear-gradient(150deg, #421b49, #29122f);
  box-shadow: 0 22px 52px rgba(54, 18, 61, 0.22);
}

.results-shell,
.results-page {
  background: #f7f2f8;
}

.results-shell .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.results-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  padding-top: 48px;
  background:
    radial-gradient(circle at 88% 5%, rgba(217, 170, 223, 0.22), transparent 25rem),
    radial-gradient(circle at 7% 110%, rgba(144, 55, 149, 0.32), transparent 24rem),
    linear-gradient(128deg, #25102b 0%, #421b49 52%, #692a70 100%);
}

.results-hero::before,
.results-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.results-hero::before {
  width: 310px;
  height: 310px;
  right: 9%;
  top: -170px;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.025), 0 0 0 92px rgba(255, 255, 255, 0.018);
}

.results-hero::after {
  width: 170px;
  height: 170px;
  left: 42%;
  bottom: -125px;
}

.results-hero-copy {
  position: relative;
  z-index: 1;
}

.results-brand-stamp {
  width: max-content;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(20, 4, 24, 0.18);
}

.results-hero-copy > .eyebrow {
  display: block;
}

.results-brand-stamp img:first-child {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.results-brand-stamp > span {
  width: 1px;
  height: 28px;
  background: #e5d6e7;
}

.results-brand-stamp img:last-child {
  width: 160px;
  height: auto;
}

.results-hero h1 {
  text-wrap: balance;
}

.results-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.results-proof-row span {
  padding: 8px 11px;
  color: #e8d8eb;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mint-button {
  color: #36153c;
  background: #eed5f1;
  border-color: #eed5f1;
}

.kpi-grid {
  position: relative;
  z-index: 2;
  gap: 16px;
}

.kpi-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 168px;
  padding: 24px;
  border-color: rgba(126, 78, 132, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(68, 27, 75, 0.09);
  animation: dashboard-card-in 0.6s cubic-bezier(.2,.75,.2,1) both;
  transform-origin: 50% 100%;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease, border-color .32s ease;
  will-change: transform;
}

.kpi-card:nth-child(2) { animation-delay: .08s; }
.kpi-card:nth-child(3) { animation-delay: .16s; }
.kpi-card:nth-child(4) { animation-delay: .24s; }

.kpi-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45% -65%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(184, 118, 193, .13) 49%, transparent 61%);
  transform: translateX(-36%) rotate(8deg);
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M4 3.5 20.5 15l-7.2 1.3 4.1 7-3.6 2.1-4.1-7L5 24Z' fill='%235d2865' stroke='%23f1e4f3' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto;
  }

  button,
  a,
  select,
  input[type="checkbox"],
  .segmented,
  .kpi-card {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='10' fill='%23f1e4f3' stroke='%235d2865' stroke-width='2'/%3E%3Ccircle cx='15' cy='15' r='3.5' fill='%23a64bad'/%3E%3C/svg%3E") 15 15, pointer;
  }

  input:not([type="checkbox"]) {
    cursor: text;
  }

  .kpi-card:hover {
    transform: perspective(700px) translateY(-9px) rotateX(1.5deg) scale(1.018);
    border-color: rgba(144, 55, 149, .3);
    box-shadow: 0 30px 68px rgba(68, 27, 75, .18), 0 9px 22px rgba(166, 75, 173, .1);
  }

  .kpi-card:hover::after {
    opacity: 1;
    transform: translateX(36%) rotate(8deg);
  }

  .kpi-card:hover .kpi-topline i {
    transform: translateY(-2px) rotate(-6deg) scale(1.08);
    box-shadow: 0 8px 18px rgba(91, 36, 98, .12);
  }

  .kpi-card:hover strong {
    transform: translateY(-2px);
  }
}

@keyframes dashboard-card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.kpi-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.kpi-topline > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kpi-topline i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  background: var(--mint-100);
  border-radius: 11px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease;
}

.kpi-card strong { transition: transform .32s cubic-bezier(.2,.8,.2,1); }

.kpi-card.featured {
  background:
    radial-gradient(circle at 98% 0%, rgba(255,255,255,.19), transparent 10rem),
    linear-gradient(145deg, #6e2b76, #963f9d);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 22px 50px rgba(99, 37, 107, 0.28);
}

.kpi-card.featured .kpi-topline > span,
.kpi-card.featured small {
  color: #f0dff2;
}

.kpi-card.featured .kpi-topline i {
  color: white;
  background: rgba(255,255,255,.14);
}

.kpi-sheen {
  position: absolute;
  z-index: -1;
  width: 120px;
  height: 120px;
  right: -56px;
  bottom: -67px;
  border: 25px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.kpi-card.carbon {
  background:
    radial-gradient(circle at 100% 0%, rgba(144,55,149,.13), transparent 11rem),
    linear-gradient(145deg, #f4e8f5, #ead5ee);
  border-color: #ddc1e1;
}

.result-card {
  border-color: rgba(126, 78, 132, 0.14);
  border-radius: 24px;
  box-shadow: 0 13px 38px rgba(68, 27, 75, 0.055);
}

.cost-bar-track {
  height: 20px;
  background: #f2edf3;
  border: 1px solid #ece2ed;
}

.foam-bar {
  background: linear-gradient(90deg, #e1a085, var(--orange-600));
}

.nest-bar {
  background: linear-gradient(90deg, #b362ba, #762f7d);
}

.saving-callout {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 110% 0%, rgba(198,121,206,.22), transparent 10rem),
    linear-gradient(145deg, #2c1232, #4d2055);
  box-shadow: 0 18px 36px rgba(54, 18, 61, .18);
}

.saving-callout strong {
  color: #efcff2;
}

.advantage-chip {
  width: max-content;
  margin-top: 17px;
  padding: 7px 9px;
  color: #ead6ed;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.chart-line-nest { stroke: var(--teal-600); }
.chart-dot-nest { fill: var(--teal-600); }
.legend-swatch.nest { background: var(--teal-600); }
.period-pill { color: var(--teal-700); background: var(--mint-100); }
.positive { color: var(--teal-700) !important; }

.delivery-card {
  background: linear-gradient(135deg, #f4e9f5, #ecdaef);
  border-color: #dcc2df;
}

.delivery-icon {
  color: var(--teal-700);
  box-shadow: 0 7px 18px rgba(87, 31, 94, .08);
}

.admin-page {
  background:
    radial-gradient(circle at 82% 14%, rgba(216,183,222,.5), transparent 28rem),
    var(--cream);
}

.admin-info-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(198,121,206,.22), transparent 14rem),
    linear-gradient(145deg, #2b1231, #54235c);
}

@media (max-width: 760px) {
  .site-header { height: 80px; padding: 0 16px; }
  .brand-lockup { gap: 10px; }
  .nua-logo { width: 44px; height: 44px; border-radius: 10px; }
  .brand-divider { height: 34px; }
  .nest-logo { width: 142px; }
  .product-lockup small { margin-top: 4px; font-size: 7px; }
  .results-hero { min-height: 0; padding-top: 36px; }
  .results-brand-stamp { margin-bottom: 22px; }
  .results-brand-stamp img:last-child { width: 140px; }
  .kpi-card { min-height: 148px; }
}

@media (max-width: 470px) {
  .nua-logo { width: 40px; height: 40px; }
  .nest-logo { width: 125px; }
  .product-lockup small { display: none; }
  .results-brand-stamp img:last-child { width: 124px; }
  .results-proof-row { gap: 6px; }
  .results-proof-row span { padding: 7px 9px; font-size: 7.5px; }
}

@media print {
  .results-brand-stamp { margin-bottom: 12px; padding: 5px 9px 5px 5px; box-shadow: none; }
  .results-brand-stamp img:first-child { width: 28px; height: 28px; }
  .results-brand-stamp img:last-child { width: 120px; }
  .results-proof-row { display: none; }
  .kpi-card { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .kpi-card:hover,
  .kpi-card:hover .kpi-topline i,
  .kpi-card:hover strong {
    transform: none;
  }

  .kpi-card::after { display: none; }
}

/* DirectAdmin installer and private administration */
.setup-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(216, 183, 222, .7), transparent 28rem),
    radial-gradient(circle at 95% 90%, rgba(144, 55, 149, .2), transparent 30rem),
    #fbf8fc;
}
.setup-shell { width: min(860px, calc(100% - 28px)); margin: 0 auto; padding: 42px 0 70px; }
.setup-brand { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 26px; }
.setup-brand img:first-child { width: 70px; height: 70px; object-fit: contain; border-radius: 16px; background: white; box-shadow: 0 10px 30px rgba(66,27,73,.1); }
.setup-brand img:last-child { width: 230px; height: auto; }
.setup-brand > span { width: 1px; height: 48px; background: #d9c5dc; }
.setup-card { padding: 42px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.setup-card > h1 { margin: 10px 0 12px; color: var(--navy-950); font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -.05em; }
.setup-card > p { color: var(--muted); line-height: 1.65; }
.setup-card form { margin-top: 30px; }
.setup-section-title { margin: 28px 0 16px; padding-bottom: 9px; color: var(--navy-900); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.setup-section-title:first-of-type { margin-top: 0; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.setup-full { grid-column: 1 / -1; }
.setup-grid small { color: #849095; font-size: 9.5px; font-weight: 500; }
.setup-submit { width: 100%; margin-top: 28px; }
.setup-complete { text-align: center; }
.setup-check { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; color: white; background: linear-gradient(135deg, #6f2b77, #a64bad); border-radius: 50%; font-size: 28px; font-weight: 900; box-shadow: 0 16px 35px rgba(111,43,119,.25); }
.setup-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.setup-actions a { padding: 0 22px; text-decoration: none; }
.setup-note { margin-top: 25px; padding: 13px; background: var(--mint-100); border-radius: 12px; font-size: 10px; }

.admin-public-link { color: var(--teal-700); text-decoration: none; font-size: 11px; font-weight: 800; }
.admin-user form { margin: 0; }
.admin-user button { padding: 0; color: var(--teal-700); background: none; border: 0; font-weight: 800; cursor: pointer; }
.login-shell { min-height: calc(100vh - 86px); display: grid; place-items: center; padding: 36px 18px; }
.login-card { width: min(480px, 100%); }
.login-card h1 { margin: 10px 0; color: var(--navy-950); font-size: 35px; letter-spacing: -.04em; }
.login-card > p { margin: 0 0 25px; color: var(--muted); line-height: 1.6; }
.login-card .text-field + .text-field { margin-top: 16px; }
.login-card > .primary-button { width: 100%; margin-top: 24px; }
.wide-admin { max-width: 1240px; }
.admin-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-toolbar h1 { margin: 10px 0; color: var(--navy-950); font-size: clamp(36px, 5vw, 54px); letter-spacing: -.05em; }
.admin-toolbar p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.65; }
.admin-toolbar > a { flex: 0 0 auto; padding: 0 18px; text-decoration: none; }
.admin-flash { margin-top: 25px; }
.enquiries-card { margin-top: 25px; }
.enquiries-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.enquiries-heading h2 { margin: 7px 0 4px; color: var(--navy-950); font-size: 25px; }
.enquiries-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.enquiries-heading > a { padding: 0 18px; text-decoration: none; }
.enquiries-table { min-width: 880px; }
.enquiries-table td { vertical-align: middle; }
.enquiries-table strong, .enquiries-table small { display: block; }
.enquiries-table small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.enquiries-table a { color: var(--teal-700); text-decoration: none; }
.delete-form { margin: 0; }
.delete-button { padding: 7px 10px; color: #9b3f2e; background: #fae9e3; border: 0; border-radius: 8px; font-size: 9px; font-weight: 800; cursor: pointer; }
.empty-state { padding: 42px 20px; text-align: center; color: var(--muted); background: var(--mint-50); border-radius: 15px; }
.empty-state > span { font-size: 30px; color: var(--teal-500); }
.empty-state h3 { margin: 9px 0 4px; color: var(--navy-950); }
.empty-state p { margin: 0; font-size: 10px; }

@media (max-width: 760px) {
  .setup-card { padding: 27px 21px; border-radius: 22px; }
  .setup-brand img:first-child { width: 54px; height: 54px; }
  .setup-brand img:last-child { width: 170px; }
  .setup-grid { grid-template-columns: 1fr; }
  .setup-full { grid-column: auto; }
  .setup-actions { flex-direction: column; }
  .admin-toolbar, .enquiries-heading { display: block; }
  .admin-toolbar > a, .enquiries-heading > a { margin-top: 18px; }
  .admin-brand-lockup .product-lockup small { display: none; }
}
