:root {
  --ink: #111111;
  --forest: #111111;
  --forest-2: #ff0000;
  --rose: #ff0000;
  --rose-dark: #d90000;
  --blush: #fff3b0;
  --cream: #fefbd0;
  --paper: #ffffff;
  --sage: #eff18c;
  --sage-2: #dfe368;
  --line: #dedede;
  --muted: #5d5d5d;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--paper);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: block;
  text-decoration: none;
}
.wordmark img { display: block; width: min(380px, 38vw); height: auto; border-radius: 5px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.shop-back,
.setup-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.shop-back:hover,
.setup-link:hover { background: var(--sage); }
.setup-link { color: var(--rose); }
.is-embedded .setup-link,
.is-embedded .private-badge,
.is-embedded .integration-guide { display: none !important; }
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  background: white;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}
.private-badge span { color: var(--rose); font-size: 10px; }

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: 30px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 72px;
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.88) 0 7%, transparent 7.3%),
    linear-gradient(135deg, #fff3b0 0%, #fefbd0 48%, #eff18c 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.hero::before { width: 260px; height: 260px; right: -80px; top: -100px; border: 1px solid rgba(23,63,53,.13); }
.hero::after { width: 140px; height: 140px; left: 48%; bottom: -90px; background: rgba(255,255,255,.35); }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.06;
}
h1 { max-width: 720px; font-size: clamp(46px, 5.4vw, 76px); letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.025em; }
h3 { font-size: 30px; }
.hero-text { max-width: 640px; margin: 28px 0 34px; color: #333333; font-size: 18px; }
.primary-link,
.calculate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--rose);
  box-shadow: 0 12px 25px rgba(255,0,0,.2);
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.primary-link:hover,
.calculate-button:hover { transform: translateY(-2px); background: var(--rose-dark); box-shadow: 0 15px 30px rgba(217,0,0,.25); }
.primary-link:focus-visible,
.calculate-button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible { outline: 3px solid #eff18c; outline-offset: 3px; }
.hero-art {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 26px;
  background: white;
  box-shadow: 0 22px 45px rgba(0,0,0,.16);
  transform: rotate(1.4deg);
}
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; }
.hero-art figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #111;
  background: rgba(239,241,140,.94);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.planner-section { padding: 110px 20px 120px; background: white; }
.section-heading { width: min(1180px, 100%); margin: 0 auto 46px; max-width: 760px; text-align: center; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); }
.planner-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  gap: 30px;
  align-items: start;
}
.planner-form,
.results {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 34px rgba(25,58,47,.06);
}
.planner-form { padding: 34px; }
fieldset { margin: 0; padding: 0 0 32px; border: 0; }
fieldset + fieldset { padding-top: 32px; border-top: 1px solid var(--line); }
legend { width: 100%; margin: 0 0 22px; padding: 0; color: var(--forest); font-weight: 800; font-size: 17px; }
legend span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  border-radius: 50%;
  color: white;
  background: var(--rose);
  font-size: 13px;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.number-field { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 750; }
.number-control { display: grid; grid-template-columns: 42px 1fr 42px; height: 52px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; }
.number-control button { border: 0; background: transparent; color: var(--forest); font-size: 22px; cursor: pointer; }
.number-control button:hover { background: var(--sage); }
.number-control input { width: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; color: var(--ink); font-weight: 800; appearance: textfield; }
.number-control input::-webkit-inner-spin-button { appearance: none; }
.micro-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.choice-list { display: grid; gap: 10px; }
.choice-card {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  transition: border .2s ease, background .2s ease, transform .2s ease;
}
.choice-card:hover { border-color: var(--sage-2); transform: translateY(-1px); }
.choice-card:has(input:checked) { border-color: var(--rose); background: #fffde8; }
.choice-card > input { position: absolute; opacity: 0; pointer-events: none; }
.choice-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--rose-dark); background: var(--blush); font-size: 19px; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { color: var(--forest); }
.choice-card small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.checkmark { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #9b9b9b; border-radius: 50%; color: transparent; background: white; font-size: 13px; }
.choice-card input:checked ~ .checkmark { color: white; border-color: var(--rose); background: var(--rose); }
.vase-card { grid-template-columns: 40px 1fr 28px; }
.inline-number { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: -4px 12px 2px; color: var(--muted); font-size: 12px; }
.inline-number input { width: 72px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: white; text-align: center; }
.choice-card:not(:has(input:checked)) + .inline-number { opacity: .45; pointer-events: none; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented label span { min-height: 67px; display: grid; place-content: center; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: white; text-align: center; }
.segmented label:hover span { border-color: var(--sage-2); }
.segmented input:checked + span { color: white; border-color: var(--rose); background: var(--rose); }
.segmented strong, .segmented small { display: block; }
.segmented small { margin-top: 2px; color: inherit; opacity: .76; font-size: 10px; }
.reserve-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px 15px; border-radius: 13px; background: var(--sage); }
.reserve-field strong, .reserve-field small { display: block; }
.reserve-field small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.reserve-field select { min-width: 92px; height: 40px; padding: 0 10px; border: 1px solid var(--sage-2); border-radius: 9px; color: var(--forest); background: white; font-weight: 750; }
.calculate-button { width: 100%; margin-top: 2px; }

.results { position: sticky; top: 20px; padding: 34px; background: var(--forest); color: white; border: 0; box-shadow: var(--shadow); }
.results .eyebrow { color: #ff5c5c; }
.results h3 { color: white; }
.results-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.style-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; color: #fff3b0; background: rgba(255,255,255,.11); font-size: 11px; font-weight: 750; }
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 28px 0 20px; }
.bundle-card { min-width: 0; padding: 15px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.08); }
.bundle-symbol { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; color: #111; background: #ff5c5c; font-family: Georgia, serif; font-weight: 700; }
.gyps-card .bundle-symbol { background: #fff3b0; }
.euc-card .bundle-symbol { background: #eff18c; }
.bundle-count { font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.bundle-unit { font-size: 12px; color: #e5e5e5; }
.bundle-card strong, .bundle-card small { display: block; }
.bundle-card strong { margin-top: 7px; font-size: 12px; }
.bundle-card small { margin-top: 2px; color: #d8d8d8; font-size: 10px; }
.result-callout { display: grid; grid-template-columns: 27px 1fr; gap: 10px; padding: 15px; border-radius: 13px; color: #111; background: #eff18c; }
.result-callout > span { color: var(--rose); }
.result-callout p { margin: 0; font-size: 12px; }
.calculation-details { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.calculation-details summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; color: white; font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.calculation-details summary::-webkit-details-marker { display: none; }
.calculation-details[open] summary span { transform: rotate(45deg); }
.detail-content { padding: 0 0 18px; }
.detail-intro { margin: 0 0 14px; color: #d8d8d8; font-size: 11px; }
.breakdown { display: grid; gap: 7px; }
.breakdown-row { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr); gap: 6px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.breakdown-row:first-child { color: #c8c8c8; border: 0; font-weight: 700; }
.breakdown-row span:not(:first-child) { text-align: right; }
.stem-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.stem-totals span { padding: 8px; border-radius: 9px; background: rgba(255,255,255,.08); font-size: 9px; text-align: center; }
.stem-totals strong { display: block; font-size: 16px; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.copy-button, .print-button { min-height: 42px; border: 1px solid rgba(255,255,255,.27); border-radius: 10px; color: white; background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
.copy-button:hover, .print-button:hover { background: rgba(255,255,255,.1); }
.copy-dialog { width: min(560px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 16px; color: #111; background: white; box-shadow: 0 24px 70px rgba(0,0,0,.32); }
.copy-dialog::backdrop { background: rgba(0,0,0,.62); }
.copy-dialog-inner { padding: 22px; }
.copy-dialog-inner > strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.copy-dialog-inner > p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; }
.copy-dialog textarea { width: 100%; min-height: 250px; resize: vertical; padding: 13px; border: 1px solid var(--line); border-radius: 10px; color: #111; background: #f7f7f7; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.copy-dialog-actions button { min-height: 40px; padding: 8px 13px; border: 1px solid #111; border-radius: 9px; color: white; background: #111; font-size: 12px; font-weight: 750; cursor: pointer; }
.copy-dialog-actions button:first-child { color: white; border-color: var(--rose); background: var(--rose); }
.result-shop-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -4px 0 18px;
  border-radius: 11px;
  color: var(--forest);
  background: #fff3b0;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.result-shop-link:hover { transform: translateY(-1px); background: #eff18c; }
.planning-note { padding: 14px; border-radius: 12px; color: #ffe3e3; background: rgba(255,0,0,.24); font-size: 11px; }
.planning-note strong { color: white; }
.planning-note p { margin: 5px 0 0; }
.results.pulse { animation: resultPulse .55s ease; }
@keyframes resultPulse { 0%,100% { transform: scale(1); } 45% { transform: scale(1.012); } }

.shop-section { padding: 110px max(20px, calc((100% - 1180px)/2)) 80px; background: var(--cream); }
.shop-heading { display: grid; grid-template-columns: 1fr .68fr; align-items: end; gap: 40px; margin-bottom: 38px; }
.shop-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { min-height: 190px; display: flex; flex-direction: column; padding: 22px; border: 1px solid #dedede; border-radius: 18px; background: white; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #ff5c5c; box-shadow: 0 16px 35px rgba(0,0,0,.1); }
.product-kicker { color: var(--rose-dark); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card strong { margin-top: 25px; color: var(--forest); font-family: Georgia, serif; font-size: 23px; line-height: 1.1; }
.product-card small { margin-top: 9px; color: var(--muted); font-size: 11px; }
.product-arrow { margin-top: auto; align-self: flex-end; color: var(--forest); font-size: 20px; }
.testbox-card { color: white; border-color: var(--rose); background: var(--rose); }
.testbox-card .product-kicker, .testbox-card strong, .testbox-card small, .testbox-card .product-arrow { color: white; }
.delivery-note { display: grid; grid-template-columns: 32px 1fr; gap: 12px; max-width: 840px; margin: 32px auto 0; padding: 18px 20px; border-radius: 14px; color: #111; background: #eff18c; font-size: 13px; }
.delivery-note > span { font-size: 23px; }
.delivery-note p { margin: 0; }
.integration-guide { max-width: 980px; margin: 28px auto 0; border: 2px solid #111; border-radius: 18px; background: white; overflow: hidden; }
.integration-guide > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 24px; list-style: none; cursor: pointer; }
.integration-guide > summary::-webkit-details-marker { display: none; }
.integration-guide > summary small, .integration-guide > summary strong { display: block; }
.integration-guide > summary small { margin-bottom: 3px; color: var(--rose); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.integration-guide > summary strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.guide-toggle { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: #111; font-size: 21px; transition: transform .2s ease; }
.integration-guide[open] .guide-toggle { transform: rotate(45deg); }
.guide-body { padding: 4px 24px 26px; border-top: 1px solid var(--line); }
.guide-warning { display: grid; grid-template-columns: 32px 1fr; gap: 11px; margin: 22px 0; padding: 16px; border: 1px solid #ffd1d1; border-radius: 13px; background: #fff1f1; font-size: 13px; }
.guide-warning p { margin: 0; }
.setup-steps { margin: 0; padding: 0; list-style: none; }
.setup-steps > li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.setup-steps > li:first-child { border-top: 0; }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--rose); font-size: 13px; font-weight: 850; }
.setup-steps strong { color: #111; font-size: 16px; }
.setup-steps p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.field-suggestion { display: inline-block; margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: var(--sage); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.code-panel { margin-top: 15px; overflow: hidden; border: 1px solid #2d2d2d; border-radius: 12px; background: #111; }
.code-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 15px; color: #d6d6d6; border-bottom: 1px solid #363636; font-size: 11px; }
.code-toolbar button { padding: 7px 10px; border: 0; border-radius: 7px; color: #111; background: var(--sage); font-size: 11px; font-weight: 800; cursor: pointer; }
.code-toolbar button:hover { background: var(--blush); }
.code-panel pre { max-height: 390px; margin: 0; padding: 17px; overflow: auto; color: #f2f2f2; font: 11px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.guide-tip { padding: 12px 14px; border-left: 4px solid var(--rose); background: #fffde8; }
.release-step { margin: 6px 0; padding: 18px !important; border: 0 !important; border-radius: 13px; background: var(--sage); }
.release-step .step-number { color: #111; background: white; }
.release-step p { color: #333; }
.seo-suggestion { margin-top: 22px; padding: 18px; border-radius: 13px; background: var(--blush); }
.seo-suggestion > strong { display: block; margin-bottom: 8px; }
.seo-suggestion p { margin: 5px 0; font-size: 12px; }
.official-help { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: 18px; font-size: 11px; }
.official-help a { color: var(--rose); font-weight: 750; }
footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; color: var(--muted); font-size: 12px; }
footer a { color: var(--forest); font-weight: 750; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .75fr; padding: 60px 48px; }
  .planner-layout { grid-template-columns: 1fr; }
  .results { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .site-header { min-height: 72px; width: min(100% - 28px, 1180px); }
  .wordmark img { width: min(235px, 58vw); }
  .header-actions { gap: 3px; }
  .shop-back, .setup-link { padding: 7px 8px; font-size: 10px; }
  .setup-link { display: none; }
  .private-badge { padding: 6px 9px; font-size: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; width: calc(100% - 20px); padding: 52px 24px 36px; border-radius: 24px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-text { margin: 22px 0 28px; font-size: 16px; }
  .primary-link { width: 100%; }
  .hero-art { min-height: 270px; max-height: 310px; margin-top: 6px; border-width: 6px; transform: rotate(.6deg); }
  .hero-art img { object-position: 43% 53%; }
  .planner-section { padding: 80px 12px; }
  .section-heading { margin-bottom: 32px; padding: 0 10px; }
  .planner-layout { gap: 16px; }
  .planner-form, .results { padding: 23px 18px; border-radius: 18px; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .number-control { grid-template-columns: 34px 1fr 34px; }
  .segmented { gap: 5px; }
  .segmented label span { padding: 7px 3px; }
  .reserve-field { align-items: flex-start; }
  .reserve-field small { max-width: 190px; }
  .results-topline { display: block; }
  .style-pill { display: inline-block; margin-top: 12px; }
  .bundle-grid { gap: 6px; }
  .bundle-card { padding: 13px 8px; }
  .bundle-count { font-size: 31px; }
  .bundle-card strong { font-size: 10px; }
  .bundle-card small { font-size: 9px; }
  .breakdown-row { grid-template-columns: 1.2fr repeat(3, .7fr); font-size: 9px; }
  .shop-section { padding: 80px 12px 55px; }
  .shop-heading { grid-template-columns: 1fr; gap: 16px; padding: 0 10px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .product-card { min-height: 175px; padding: 17px; }
  .product-card strong { margin-top: 18px; font-size: 19px; }
  .delivery-note { margin-top: 22px; }
  .integration-guide > summary { padding: 18px; }
  .integration-guide > summary strong { font-size: 21px; }
  .guide-body { padding: 3px 16px 20px; }
  .setup-steps > li { grid-template-columns: 32px 1fr; gap: 10px; }
  .step-number { width: 30px; height: 30px; }
  .release-step { padding: 14px 10px !important; }
  .code-panel pre { font-size: 9px; }
  footer { min-height: 90px; display: grid; justify-content: center; gap: 0; padding: 18px 0; text-align: center; }
}

@media (max-width: 390px) {
  .private-badge { display: none; }
  .field-grid, .product-grid { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-card { display: grid; grid-template-columns: 30px 58px 1fr; align-items: center; gap: 7px; }
  .bundle-symbol { margin: 0; }
  .bundle-card strong { margin: 0; }
  .bundle-card small { grid-column: 3; }
}

@media print {
  .site-header, .hero, .planner-form, .shop-section, footer, .result-actions, .result-shop-link, .integration-guide { display: none !important; }
  body, .planner-section { background: white; }
  .planner-section { padding: 0; }
  .section-heading { margin-bottom: 24px; }
  .planner-layout { display: block; }
  .results { position: static; color: #111; background: white; border: 1px solid #bbb; box-shadow: none; }
  .results h3, .results .planning-note strong, .calculation-details summary { color: #111; }
  .results .eyebrow, .bundle-unit, .bundle-card small, .detail-intro { color: #555; }
  .bundle-card, .stem-totals span { color: #111; background: #f5f5f5; border-color: #ddd; }
  .calculation-details { border-color: #ccc; }
  .calculation-details:not([open]) .detail-content { display: block; }
  .planning-note { color: #333; background: #f6ecef; }
}

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