/* Stick Depth / Kalkulator Głębokości Kija — CalcBoxer climate */
body[data-stickdepth-page="1"] .stick-shell {
  margin-bottom: 1.5rem;
}
/* Wyraźny, ale subtelny podział sekcji pod kalkulatorem */
body[data-stickdepth-page="1"] .stick-section {
  margin-top: 1.75rem;
  padding: 1.25rem 1.15rem 1.4rem;
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--accent) 18%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-card) 94%, var(--accent) 3%);
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  box-sizing: border-box;
}
body[data-stickdepth-page="1"] .stick-section > .calc-math-section-title,
body[data-stickdepth-page="1"] .stick-section > .calc-explanation-title,
body[data-stickdepth-page="1"] .stick-section > .seo-sources-heading {
  margin-top: 0;
}
body[data-stickdepth-page="1"] .calc-explanation.stick-section {
  margin-top: 1.5rem;
}
body[data-stickdepth-page="1"] .seo-sources.stick-section {
  max-width: 54em;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
body[data-stickdepth-page="1"] .stick-form-compact .stick-param {
  margin: 0 0 .7rem;
  padding: .65rem .75rem;
  border-radius: 12px;
}
body[data-stickdepth-page="1"] .stick-form-compact .stick-param-head {
  margin-bottom: .4rem;
}
body[data-stickdepth-page="1"] .stick-form-compact .stick-param-title {
  font-size: .9rem;
}
body[data-stickdepth-page="1"] .stick-form-compact h2 {
  margin: 0 0 .65rem;
  font-size: 1.15rem;
}
body[data-stickdepth-page="1"] .stick-live--compact {
  margin: 0 0 .75rem;
  padding: .55rem .75rem;
}
body[data-stickdepth-page="1"] .stick-live--compact .stick-live-depth {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}
body[data-stickdepth-page="1"] .stick-bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .65rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  body[data-stickdepth-page="1"] .stick-bridge-grid {
    grid-template-columns: 1fr;
  }
}
body[data-stickdepth-page="1"] .stick-bridge-card {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .15s ease, border-color .15s ease;
  box-sizing: border-box;
}
body[data-stickdepth-page="1"] .stick-bridge-card:hover,
body[data-stickdepth-page="1"] .stick-bridge-card:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
body[data-stickdepth-page="1"] .stick-bridge-card strong {
  font-size: .95rem;
}
body[data-stickdepth-page="1"] .stick-bridge-card span {
  font-size: .78rem;
  line-height: 1.35;
  color: var(--text-muted);
}
body[data-stickdepth-page="1"] .stick-diagram {
  margin: 1rem 0 0;
}
body[data-stickdepth-page="1"] .stick-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}
body[data-stickdepth-page="1"] .stick-param {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-card) 92%, var(--accent) 4%);
  transition: border-color .15s ease;
}
body[data-stickdepth-page="1"] .stick-param:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
body[data-stickdepth-page="1"] .stick-param-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .55rem;
}
body[data-stickdepth-page="1"] .stick-param-title {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
  display: flex;
  gap: .45rem;
  align-items: baseline;
}
body[data-stickdepth-page="1"] .stick-param-n {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
}
body[data-stickdepth-page="1"] .stick-chip {
  flex: 0 0 auto;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .78rem;
  font-weight: 700;
  padding: .28rem .55rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
  color: var(--accent-warm, var(--accent));
  white-space: nowrap;
}
body[data-stickdepth-page="1"] .stick-param input[type="range"] {
  width: 100%;
  accent-color: var(--accent, #dc2626);
}
body[data-stickdepth-page="1"] .stick-scale {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .4rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .7rem;
  color: var(--text-muted);
}
body[data-stickdepth-page="1"] .stick-param select {
  width: 100%;
  padding: .7rem .8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: inherit;
  font-size: .92rem;
}
body[data-stickdepth-page="1"] .stick-symptoms {
  display: grid;
  gap: .45rem;
}
@media (min-width: 640px) {
  body[data-stickdepth-page="1"] .stick-symptoms {
    grid-template-columns: 1fr 1fr;
  }
}
body[data-stickdepth-page="1"] .stick-check {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  padding: .65rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  background: var(--bg-card);
}
body[data-stickdepth-page="1"] .stick-check:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
}
body[data-stickdepth-page="1"] .stick-check input {
  margin-top: .15rem;
  accent-color: var(--accent);
}
body[data-stickdepth-page="1"] .stick-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin: 0 0 1rem;
}
@media (max-width: 420px) {
  body[data-stickdepth-page="1"] .stick-presets {
    grid-template-columns: 1fr;
  }
}
body[data-stickdepth-page="1"] .stick-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  text-align: left;
  padding: .55rem .75rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  color: inherit;
  font: inherit;
  min-width: 0;
}
body[data-stickdepth-page="1"] .stick-preset-btn.is-on,
body[data-stickdepth-page="1"] .stick-preset-btn:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
}
body[data-stickdepth-page="1"] .stick-preset-btn strong {
  font-size: .88rem;
}
body[data-stickdepth-page="1"] .stick-run {
  width: 100%;
  margin-top: .25rem;
  padding: .95rem 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
}
body[data-stickdepth-page="1"] .stick-aside-hint {
  color: var(--text-muted);
  line-height: 1.55;
}
body[data-stickdepth-page="1"] .stick-scan {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-card) 88%, var(--accent) 6%);
}
body[data-stickdepth-page="1"] .stick-scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent);
  animation: stickScan 1.35s infinite ease-in-out;
}
@keyframes stickScan {
  0% { top: 8%; opacity: .9; }
  50% { opacity: .45; }
  100% { top: 92%; opacity: .9; }
}
body[data-stickdepth-page="1"] .stick-report {
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 16px;
  padding: 1rem 1.05rem 1.15rem;
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 7%, var(--bg-card)), color-mix(in srgb, var(--accent) 3%, var(--bg-card))) padding-box,
    var(--accent-line, linear-gradient(90deg, var(--accent), var(--accent-warm, #f59e0b))) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 10%, transparent);
}
body[data-stickdepth-page="1"] .stick-report-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: .55rem;
  margin-bottom: .75rem;
}
body[data-stickdepth-page="1"] .stick-depth-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}
body[data-stickdepth-page="1"] .stick-depth-value {
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 900;
  text-align: center;
  line-height: 1;
  margin: .35rem 0 .55rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm, #f59e0b), #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body[data-stickdepth-page="1"] .stick-meter {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--border) 85%, transparent);
  margin: 0 0 .75rem;
}
body[data-stickdepth-page="1"] .stick-meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #eab308, #f97316, #ef4444);
  transition: width .7s ease;
}
body[data-stickdepth-page="1"] .stick-diag-badge {
  display: inline-block;
  margin: 0 auto .7rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
  color: var(--text);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  width: fit-content;
  max-width: 100%;
}
body[data-stickdepth-page="1"] .stick-report-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body[data-stickdepth-page="1"] .stick-desc {
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 .9rem;
  max-width: 36rem;
}
body[data-stickdepth-page="1"] .stick-stats {
  display: grid;
  gap: .55rem;
  width: 100%;
  margin: 0 0 .85rem;
}
@media (min-width: 520px) {
  body[data-stickdepth-page="1"] .stick-stats {
    grid-template-columns: 1fr 1fr;
  }
}
body[data-stickdepth-page="1"] .stick-stat {
  text-align: left;
  padding: .7rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
body[data-stickdepth-page="1"] .stick-stat-label {
  display: block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: .68rem;
  color: var(--text-muted);
  margin-bottom: .25rem;
}
body[data-stickdepth-page="1"] .stick-stat-value {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
}
body[data-stickdepth-page="1"] .stick-risk-track {
  height: .4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
  overflow: hidden;
  margin-top: .45rem;
}
body[data-stickdepth-page="1"] .stick-risk-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transition: width .7s ease;
}
body[data-stickdepth-page="1"] .stick-treat {
  text-align: left;
  width: 100%;
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 90%, var(--accent) 5%);
  margin-bottom: .85rem;
}
body[data-stickdepth-page="1"] .stick-treat strong {
  display: block;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}
body[data-stickdepth-page="1"] .stick-parts {
  width: 100%;
  text-align: left;
  margin: 0 0 .85rem;
}
body[data-stickdepth-page="1"] .stick-parts-title {
  font-size: .82rem;
  font-weight: 700;
  margin: 0 0 .45rem;
}
body[data-stickdepth-page="1"] .stick-part-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  align-items: center;
  margin: .35rem 0;
  font-size: .82rem;
}
body[data-stickdepth-page="1"] .stick-part-bar {
  height: .45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
  overflow: hidden;
  grid-column: 1 / -1;
}
body[data-stickdepth-page="1"] .stick-part-fill {
  height: 100%;
  width: 0;
  background: color-mix(in srgb, var(--accent) 75%, #f59e0b);
  transition: width .6s ease;
}
body[data-stickdepth-page="1"] .stick-meta {
  text-align: left;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 .85rem;
  width: 100%;
}
body[data-stickdepth-page="1"] .stick-cert {
  position: relative;
  margin: .85rem 0;
  padding: 1.5rem 1.15rem 1.25rem;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #e6c47a 35%, transparent);
  background:
    radial-gradient(ellipse at 50% 35%, color-mix(in srgb, #e6c47a 18%, transparent), transparent 50%),
    linear-gradient(165deg, #2a0a12, #4a1020 48%, #12060a);
  color: #f6efe4;
  box-shadow: 0 18px 42px color-mix(in srgb, #000 30%, transparent);
}
body[data-stickdepth-page="1"] .stick-cert-brand {
  position: relative;
  z-index: 1;
  margin: 0 0 .45rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f6efe4 55%, transparent);
}
body[data-stickdepth-page="1"] .stick-cert-seal {
  position: relative;
  z-index: 1;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto .55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1.5px solid #e6c47a;
  background: color-mix(in srgb, #12060a 55%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  color: #f6efe4;
}
body[data-stickdepth-page="1"] .stick-cert-kicker {
  position: relative;
  z-index: 1;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e6c47a;
  font-weight: 700;
}
body[data-stickdepth-page="1"] .stick-cert-title,
body[data-stickdepth-page="1"] .stick-cert h4 {
  position: relative;
  z-index: 1;
  margin: .4rem 0 .55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 4.2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: #f6efe4;
}
body[data-stickdepth-page="1"] .stick-cert-depth {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 9vw, 3.6rem);
  font-weight: 700;
  line-height: .95;
  margin: .2rem 0 .5rem;
  color: #f6efe4;
}
body[data-stickdepth-page="1"] .stick-cert-grade {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto .6rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: #e6c47a;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2a0a12;
  max-width: 100%;
}
body[data-stickdepth-page="1"] .stick-cert-body {
  position: relative;
  z-index: 1;
  margin: 0 auto .75rem;
  max-width: 30rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: .88rem;
  line-height: 1.45;
  color: color-mix(in srgb, #f6efe4 78%, transparent);
}
body[data-stickdepth-page="1"] .stick-cert-footer {
  position: relative;
  z-index: 1;
  font-size: .72rem;
  letter-spacing: .06em;
  color: #e6c47a;
}
body[data-stickdepth-page="1"] .stick-cert-picker {
  margin: 1rem 0 1.1rem;
  padding: 1rem .9rem 1.05rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--border) 90%, var(--accent));
  background: color-mix(in srgb, var(--bg-card) 92%, var(--accent));
}
body[data-stickdepth-page="1"] .stick-cert-picker-head {
  margin: 0 0 .75rem;
}
body[data-stickdepth-page="1"] .stick-cert-picker-head strong {
  display: block;
  margin-bottom: .25rem;
  font-size: 1rem;
}
body[data-stickdepth-page="1"] .stick-cert-match {
  margin: .45rem 0 0;
  font-size: .82rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 70%, var(--text));
}
body[data-stickdepth-page="1"] .stick-cert-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: .45rem;
  margin: 0 0 .9rem;
}
body[data-stickdepth-page="1"] .stick-cert-style {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  padding: .55rem .6rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body[data-stickdepth-page="1"] .stick-cert-style:hover,
body[data-stickdepth-page="1"] .stick-cert-style.is-on {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
}
body[data-stickdepth-page="1"] .stick-cert-style-name {
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
}
body[data-stickdepth-page="1"] .stick-cert-style-hint {
  font-size: .7rem;
  color: var(--text-muted);
}
body[data-stickdepth-page="1"] .stick-cert-preview-wrap {
  display: flex;
  justify-content: center;
}
body[data-stickdepth-page="1"] #stick-cert-preview {
  width: min(220px, 55vw);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px color-mix(in srgb, #000 28%, transparent);
  background: #111;
}
body[data-stickdepth-page="1"] .stick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  width: 100%;
}
body[data-stickdepth-page="1"] .stick-actions .btn {
  flex: 1 1 10rem;
}
body[data-stickdepth-page="1"] .stick-toast {
  margin-top: .65rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, #16a34a 35%, var(--border));
  background: color-mix(in srgb, #16a34a 10%, var(--bg-card));
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}
body[data-stickdepth-page="1"] .stick-hero-art {
  margin: .65rem auto 0;
  max-width: 22rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
body[data-stickdepth-page="1"] .stick-hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}
body[data-stickdepth-page="1"] .stick-scroll-table {
  overflow-x: auto;
  margin: .75rem 0;
}
body[data-stickdepth-page="1"] .stick-start {
  margin: 0 0 .85rem;
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-card));
}
body[data-stickdepth-page="1"] .stick-start strong {
  display: block;
  margin-bottom: .2rem;
}
body[data-stickdepth-page="1"] .stick-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin: 0 0 1rem;
  padding: .8rem .9rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 8%, var(--bg-card)), color-mix(in srgb, var(--accent) 3%, var(--bg-card))) padding-box,
    var(--accent-line, linear-gradient(90deg, var(--accent), var(--accent-warm, #f59e0b))) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 10%, transparent);
}
body[data-stickdepth-page="1"] .stick-live-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
body[data-stickdepth-page="1"] .stick-live-depth {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
body[data-stickdepth-page="1"] .stick-live-grade {
  font-size: .82rem;
  line-height: 1.35;
  color: var(--text-muted);
  max-width: 18rem;
}
body[data-stickdepth-page="1"] .stick-diagram {
  margin: 0 0 1rem;
}
body[data-stickdepth-page="1"] .stick-diag-card {
  padding: .85rem .9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
}
body[data-stickdepth-page="1"] .stick-diag-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: baseline;
  margin-bottom: .65rem;
}
body[data-stickdepth-page="1"] .stick-diag-total {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 700;
  color: var(--accent);
}
body[data-stickdepth-page="1"] .stick-diag-row {
  margin: .4rem 0;
}
body[data-stickdepth-page="1"] .stick-diag-lab {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .82rem;
  margin-bottom: .2rem;
}
body[data-stickdepth-page="1"] .stick-diag-track {
  height: .5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
  overflow: hidden;
}
body[data-stickdepth-page="1"] .stick-diag-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width .35s ease;
}
body[data-stickdepth-page="1"] .stick-gauge-svg {
  display: block;
  width: min(100%, 320px);
  margin: .75rem auto 0;
  color: var(--text-muted);
}
body[data-stickdepth-page="1"] .stick-gauge-num {
  fill: var(--text);
  font-size: 22px;
  font-weight: 800;
  font-family: Georgia, serif;
}
body[data-stickdepth-page="1"] .stick-gauge-cap {
  fill: var(--text-muted);
  font-size: 11px;
  letter-spacing: .12em;
}
body[data-stickdepth-page="1"] .stick-refine-label {
  font-weight: 700;
  margin: .35rem 0 .65rem;
  font-size: .95rem;
}
body[data-stickdepth-page="1"] .stick-press-grid {
  display: grid;
  gap: .75rem;
  margin: .85rem 0;
}
@media (min-width: 720px) {
  body[data-stickdepth-page="1"] .stick-press-grid {
    grid-template-columns: 1fr 1fr;
  }
}
body[data-stickdepth-page="1"] .stick-press-card {
  padding: .85rem .95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
body[data-stickdepth-page="1"] .stick-press-card h3 {
  margin: 0 0 .35rem;
  font-size: .95rem;
}
body[data-stickdepth-page="1"] .stick-press-card p,
body[data-stickdepth-page="1"] .stick-press-card li {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
body[data-stickdepth-page="1"] .stick-press-card ul {
  margin: .35rem 0 0;
  padding-left: 1.1rem;
}
body[data-stickdepth-page="1"] .viral-press {
  margin: .85rem 0;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border-left: 3px solid var(--accent-line, var(--accent));
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-card));
}
body[data-stickdepth-page="1"] .viral-press-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .35rem;
}
body[data-stickdepth-page="1"] .viral-press-quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  font-style: italic;
}

/* —— Mobile + tablet —— */
body[data-stickdepth-page="1"] {
  overflow-x: clip;
}
body[data-stickdepth-page="1"] .main > .container,
body[data-stickdepth-page="1"] .stick-shell,
body[data-stickdepth-page="1"] .calculator-card,
body[data-stickdepth-page="1"] .eco-calc-results,
body[data-stickdepth-page="1"] .stick-section,
body[data-stickdepth-page="1"] .gym-formula-figure {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body[data-stickdepth-page="1"] .stick-shell {
  width: 100%;
}
body[data-stickdepth-page="1"] .calc-formula,
body[data-stickdepth-page="1"] pre.calc-formula {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: clamp(0.72rem, 2.6vw, 0.92rem);
  line-height: 1.45;
  box-sizing: border-box;
}
body[data-stickdepth-page="1"] .calc-formula code,
body[data-stickdepth-page="1"] pre.calc-formula code {
  white-space: inherit;
  word-break: break-word;
}
body[data-stickdepth-page="1"] .stick-scroll-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
body[data-stickdepth-page="1"] .stick-scroll-table .seo-overview-table {
  width: 100%;
  min-width: 18rem;
  max-width: none;
}
body[data-stickdepth-page="1"] .stick-param select,
body[data-stickdepth-page="1"] .stick-param input[type="range"] {
  max-width: 100%;
  box-sizing: border-box;
}
body[data-stickdepth-page="1"] .form-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}
body[data-stickdepth-page="1"] .form-actions-row .btn {
  flex: 1 1 8rem;
  min-height: 2.75rem;
}
body[data-stickdepth-page="1"] .stick-run {
  min-height: 2.85rem;
  touch-action: manipulation;
}
body[data-stickdepth-page="1"] .stick-preset-btn,
body[data-stickdepth-page="1"] .stick-check,
body[data-stickdepth-page="1"] .stick-actions .btn {
  touch-action: manipulation;
  min-height: 2.75rem;
}
body[data-stickdepth-page="1"] .stick-param input[type="range"] {
  min-height: 2rem;
}

/* Tablet: form + report side by side earlier than desktop-wide */
@media (min-width: 900px) and (max-width: 1319.98px) {
  body[data-stickdepth-page="1"] .stick-shell.eco-calculator-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 1rem;
    align-items: start;
  }
  body[data-stickdepth-page="1"] .stick-shell .eco-calc-results {
    position: sticky;
    top: 0.75rem;
  }
}

@media (max-width: 899.98px) {
  body[data-stickdepth-page="1"] .hero {
    padding-bottom: 0.35rem;
  }
  body[data-stickdepth-page="1"] .hero h1 {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    line-height: 1.15;
    word-break: break-word;
  }
  body[data-stickdepth-page="1"] .hero-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  body[data-stickdepth-page="1"] .stick-hero-art {
    max-width: 100%;
  }
  body[data-stickdepth-page="1"] .stick-section {
    margin-top: 1.15rem;
    padding: 0.95rem 0.85rem 1.05rem;
    border-radius: 12px;
  }
  body[data-stickdepth-page="1"] .stick-shell {
    gap: 0.85rem;
  }
  body[data-stickdepth-page="1"] .calculator-card.stick-form-compact,
  body[data-stickdepth-page="1"] .eco-calc-results {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  body[data-stickdepth-page="1"] .stick-param-head {
    flex-wrap: wrap;
    align-items: center;
  }
  body[data-stickdepth-page="1"] .stick-chip {
    max-width: 100%;
    white-space: normal;
    text-align: right;
  }
  body[data-stickdepth-page="1"] .stick-live {
    align-items: flex-start;
  }
  body[data-stickdepth-page="1"] .stick-live-grade {
    max-width: 100%;
  }
  body[data-stickdepth-page="1"] .stick-report {
    padding: 0.85rem 0.8rem 1rem;
  }
  body[data-stickdepth-page="1"] .stick-depth-value {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }
  body[data-stickdepth-page="1"] .stick-actions {
    flex-direction: column;
  }
  body[data-stickdepth-page="1"] .stick-actions .btn {
    flex: 1 1 auto;
    width: 100%;
  }
  body[data-stickdepth-page="1"] .stick-cert {
    padding: 1.1rem 0.85rem 1rem;
  }
  body[data-stickdepth-page="1"] .stick-cert-title,
  body[data-stickdepth-page="1"] .stick-cert h4 {
    font-size: 1.05rem;
  }
  body[data-stickdepth-page="1"] .stick-cert-body {
    font-size: 0.86rem;
  }
  body[data-stickdepth-page="1"] .viral-press {
    padding: 0.85rem 0.9rem;
  }
  body[data-stickdepth-page="1"] .viral-press-quote {
    font-size: 0.95rem;
  }
  body[data-stickdepth-page="1"] .stick-press-card {
    padding: 0.75rem 0.8rem;
  }
  body[data-stickdepth-page="1"] .stick-scroll-table .seo-overview-table {
    font-size: 0.82rem;
  }
  body[data-stickdepth-page="1"] .stick-scroll-table th,
  body[data-stickdepth-page="1"] .stick-scroll-table td {
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
  }
}

/* Phones */
@media (max-width: 640px) {
  body[data-stickdepth-page="1"] .stick-presets {
    grid-template-columns: 1fr;
  }
  body[data-stickdepth-page="1"] .stick-symptoms {
    grid-template-columns: 1fr;
  }
  body[data-stickdepth-page="1"] .stick-stats {
    grid-template-columns: 1fr;
  }
  body[data-stickdepth-page="1"] .stick-bridge-grid {
    grid-template-columns: 1fr;
  }
  body[data-stickdepth-page="1"] .stick-section {
    padding: 0.85rem 0.7rem 0.95rem;
    box-shadow: inset 2px 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  }
  body[data-stickdepth-page="1"] .stick-form-compact .stick-param {
    padding: 0.55rem 0.65rem;
  }
  body[data-stickdepth-page="1"] .stick-check {
    padding: 0.7rem 0.7rem;
  }
  body[data-stickdepth-page="1"] .stick-report-top {
    font-size: 0.62rem;
    gap: 0.35rem;
  }
  body[data-stickdepth-page="1"] .stick-meta {
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }
  body[data-stickdepth-page="1"] .calc-explanation-body p,
  body[data-stickdepth-page="1"] .stick-section > p {
    overflow-wrap: anywhere;
  }
}

/* Narrow phones */
@media (max-width: 380px) {
  body[data-stickdepth-page="1"] .stick-badge {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
  }
  body[data-stickdepth-page="1"] .stick-preset-btn {
    padding: 0.55rem 0.65rem;
  }
  body[data-stickdepth-page="1"] .stick-preset-btn strong {
    font-size: 0.84rem;
  }
  body[data-stickdepth-page="1"] .stick-chip {
    font-size: 0.7rem;
    padding: 0.22rem 0.45rem;
  }
}

/* Prefer reduced motion: keep layout, drop scan bounce noise already elsewhere */
@media (prefers-reduced-motion: reduce) {
  body[data-stickdepth-page="1"] .stick-scan-line {
    animation: none;
    top: 50%;
  }
  body[data-stickdepth-page="1"] .stick-meter-fill,
  body[data-stickdepth-page="1"] .stick-risk-fill,
  body[data-stickdepth-page="1"] .stick-part-fill,
  body[data-stickdepth-page="1"] .stick-diag-fill {
    transition: none;
  }
}