/* Local audit comparison. Every rule stays inside this component. */
.lc-root {
  --lc-gold: #e8b34a;
  --lc-stack-height: 96.0365853659px;
  width: 100%;
  max-width: 860px;
  margin: 32px auto 38px;
  padding: clamp(20px, 3vw, 32px);
  box-sizing: border-box;
  border: 1px solid rgba(232, 179, 74, .28);
  color: #f2f4f6;
  background: linear-gradient(150deg, rgba(232, 179, 74, .055), rgba(10, 14, 18, .55));
  font-family: var(--font-body, Geist, sans-serif);
  text-align: center;
}
.lc-root .lc-header { max-width: 620px; margin: 0 auto; }
.lc-root .lc-kicker {
  margin: 0 0 14px;
  max-width: none;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: .17em;
  line-height: 1.7;
  color: var(--lc-gold);
}
.lc-root .lc-title {
  margin: 0 0 12px;
  font-family: var(--font-display, Aldrich, sans-serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.lc-root .lc-intro {
  max-width: 500px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: #c9d1d8;
}
.lc-root .lc-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 24px auto 0;
}
.lc-root .lc-preset {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 94px;
  padding: 15px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #0a0e12;
  color: #f2f4f6;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lc-root .lc-preset[aria-pressed="true"] {
  border-color: var(--lc-gold);
  background: #241c10;
  box-shadow: inset 0 -3px var(--lc-gold);
}
.lc-root .lc-preset:hover { border-color: var(--lc-gold); }
.lc-root .lc-preset:focus-visible,
.lc-root .lc-receipt:focus-visible {
  outline: 2px solid var(--lc-gold);
  outline-offset: 4px;
}
.lc-root .lc-preset-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .09em;
}
.lc-root .lc-preset-hours {
  font-family: var(--font-display, Aldrich, sans-serif);
  font-size: 26px;
  line-height: 1.2;
}
.lc-root .lc-preset-hours span { font-size: 12px; }
.lc-root .lc-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 24px auto 26px;
}
.lc-root .lc-visual { margin: 0; min-width: 0; }
.lc-root .lc-stage {
  position: relative;
  height: 300px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  perspective: 950px;
  perspective-origin: 50% 38%;
}
.lc-root .lc-ground {
  position: absolute;
  width: 210px;
  height: 74px;
  left: 50%;
  top: 210px;
  transform: translateX(-50%) rotate(-14deg);
  background: radial-gradient(ellipse, rgba(232, 179, 74, .16), transparent 70%);
}
.lc-root .lc-stack {
  position: absolute;
  left: 50%;
  top: 210px;
  width: 150px;
  height: 106px;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-14deg);
}
.lc-root .lc-layer {
  position: absolute;
  inset: 0;
  border: 1px solid #e8b34a;
  background: linear-gradient(125deg, #ba8c36, #483414);
  transform: translateZ(calc(var(--lc-stack-height) * var(--lc-layer-position)));
  transition: transform .85s cubic-bezier(.22, .7, .25, 1);
}
.lc-root .lc-layer:last-child {
  background: linear-gradient(125deg, #f0ca77, #b07d2b);
}
.lc-root .lc-layer:last-child::after {
  content: '';
  position: absolute;
  inset: 15px 18px;
  border-top: 2px solid rgba(54, 36, 10, .45);
  border-bottom: 2px solid rgba(54, 36, 10, .45);
  background: repeating-linear-gradient(to bottom, transparent 0 11px, rgba(54, 36, 10, .25) 11px 12px);
}
.lc-root .lc-face {
  position: absolute;
  background: #392911;
  border: 1px solid #bd8e39;
}
.lc-root .lc-front {
  left: 0;
  top: 100%;
  width: 100%;
  height: var(--lc-stack-height);
  transform-origin: top center;
  transform: rotateX(90deg);
  transition: height .85s cubic-bezier(.22, .7, .25, 1);
}
.lc-root .lc-side {
  left: 100%;
  top: 0;
  width: var(--lc-stack-height);
  height: 100%;
  background: #76541d;
  transform-origin: left center;
  transform: rotateY(-90deg);
  transition: width .85s cubic-bezier(.22, .7, .25, 1);
}
.lc-root .lc-scale {
  position: absolute;
  right: 0;
  top: 30px;
  bottom: 47px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 8px;
  border-right: 1px solid rgba(232, 179, 74, .3);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 9px;
  line-height: 1.4;
  color: #b9ab8f;
}
.lc-root .lc-scale span:nth-child(2) {
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: .16em;
}
.lc-root .lc-caption {
  max-width: 310px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.65;
  color: #a9b1b8;
}
.lc-root .lc-reading { min-width: 0; padding: 12px 0; }
.lc-root .lc-selected {
  max-width: none;
  margin: 0 0 15px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: .13em;
  line-height: 1.6;
  color: var(--lc-gold);
}
.lc-root .lc-equation {
  max-width: none;
  margin: 0 0 14px;
  font-family: var(--font-display, Aldrich, sans-serif);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: #f2f4f6;
  font-variant-numeric: tabular-nums;
}
.lc-root .lc-unit { font-size: 11px; }
.lc-root .lc-operator { color: #9aa4ad; }
.lc-root .lc-result {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  max-width: none;
  margin: 0 0 14px;
  font-family: var(--font-display, Aldrich, sans-serif);
  line-height: 1.1;
  color: var(--lc-gold);
}
.lc-root .lc-rate { font-size: clamp(46px, 5vw, 64px); font-variant-numeric: tabular-nums; }
.lc-root .lc-per { font-size: 14px; color: #f2f4f6; }
.lc-root .lc-result-label {
  max-width: 240px;
  margin: 0 auto;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1.8;
  color: #a9b1b8;
}
.lc-root .lc-notes { border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 20px; }
.lc-root .lc-note {
  max-width: 660px;
  margin: 0 auto 14px;
  font-size: 13px;
  line-height: 1.75;
  color: #bdc6ce;
}
.lc-root .lc-note strong { color: #f2f4f6; font-weight: 600; }
.lc-root .lc-receipt {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(232, 179, 74, .45);
  background: transparent;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .09em;
  color: var(--lc-gold);
  cursor: pointer;
}
.lc-root .lc-receipt:hover { background: rgba(232, 179, 74, .09); }
.lc-root .lc-receipt-status { display: block; margin-top: 10px; font-size: 12px; line-height: 1.6; color: #bdc6ce; }
.lc-root .lc-receipt-status:empty { display: none; }
@media (max-width: 640px) {
  .lc-root { padding: 22px 16px; }
  .lc-root .lc-presets { grid-template-columns: 1fr; gap: 10px; }
  .lc-root .lc-preset { min-height: 76px; padding: 12px; gap: 7px; }
  .lc-root .lc-comparison { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
  .lc-root .lc-stage { max-width: 310px; height: 285px; }
  .lc-root .lc-caption { max-width: 270px; }
  .lc-root .lc-reading { padding: 4px 0; }
  .lc-root .lc-rate { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-root .lc-layer,
  .lc-root .lc-front,
  .lc-root .lc-side,
  .lc-root .lc-preset { transition: none; }
}
