:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #F1F3F6;
  --border: #E5E7EB;
  --border-strong: #CBD2DC;
  --ink: #0F141A;
  --ink-2: #4B5563;
  --muted: #8B93A1;
  --accent: #0F141A;
  --accent-ink: #FFFFFF;
  --ok: #16A34A;
  --warn: #D97706;
  --err: #DC2626;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(15, 20, 26, .04), 0 6px 20px rgba(15, 20, 26, .03);
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --serif: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box
}

[hidden] {
  display: none !important
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%
}

.split-2>*,
.ref-layout>*,
.anam-layout>*,
.container>* {
  min-width: 0;
  max-width: 100%
}

img {
  max-width: 100%;
  display: block
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

/* Discreet Top Progress Bar */
.progress-top {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(247, 248, 250, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px
}

.stepper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none
}

.stepper::-webkit-scrollbar {
  display: none
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: .15s ease
}

.step-pill .num {
  font-family: var(--mono);
  font-size: 10px;
  opacity: .8
}

.step-pill.on {
  background: var(--accent);
  color: var(--accent-ink)
}

.step-pill.done:not(.on) {
  color: var(--ink);
  border-color: var(--border);
  background: var(--surface)
}

.step-pill:disabled {
  opacity: .4;
  cursor: not-allowed
}

/* Bottom Vector Navbar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 6px;
  box-shadow: 0 -4px 20px rgba(15, 20, 26, .05)
}

.bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 68px;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 500;
  transition: .15s
}

.bnav-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.bnav-btn.on,
.bnav-btn:hover {
  color: var(--ink);
  background: var(--surface-2)
}

/* Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 14px 92px
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px
}

.page-head h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em
}

.page-head p {
  margin: 4px 0 0;
  color: var(--ink-2);
  max-width: 660px
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 16px
}

.card-soft {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px
}

/* Buttons & Inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  transition: .15s ease;
  text-decoration: none
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink)
}

.btn-primary:hover {
  background: #1E2530
}

.btn-primary:disabled {
  opacity: .42;
  cursor: not-allowed
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink)
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-2)
}

.btn-light {
  background: #FFFFFF;
  color: #0F141A;
  border: 1px solid rgba(255, 255, 255, .3)
}

.btn-dark-ghost {
  background: rgba(255, 255, 255, .1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .22)
}

.btn-sm {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px
}

label.lbl {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin: 12px 0 5px
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  transition: border-color .15s
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface)
}

textarea {
  min-height: 84px;
  resize: vertical
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.sp {
  flex: 1
}

.muted {
  color: var(--muted)
}

.err {
  color: var(--err);
  font-size: 13px;
  margin: 8px 0 0
}

.ok {
  color: var(--ok)
}

/* Stage 1: Capture Grid (Mobile-first) */
.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px
}

@media(min-width:960px) {
  .split-2 {
    grid-template-columns: 1.35fr .95fr;
    align-items: start
  }
}

.angle-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px
}

.angle-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 12px;
  text-align: left;
  transition: .15s
}

.angle-tab.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent)
}

.angle-tab.done:not(.on) {
  border-color: var(--ok)
}

.angle-tab b {
  display: block;
  font-size: 12px
}

.angle-tab span {
  font-family: var(--mono);
  font-size: 11px;
  opacity: .75
}

.viewport {
  position: relative;
  background: #080A0D;
  color: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}

@media(min-width:768px) {
  .viewport {
    aspect-ratio: 4/3;
    max-height: 540px
  }
}

.viewport video,
.viewport .preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.viewport canvas.mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.viewport.mirrored video,
.viewport.mirrored canvas.mesh {
  transform: scaleX(-1)
}

.cv-hud {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap
}

.cv-btn {
  pointer-events: auto;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(15, 20, 26, .82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff
}

.guide-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px
}

.oval-guide {
  position: absolute;
  inset: 10% 22%;
  border: 1.5px dashed rgba(255, 255, 255, .32);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transition: border-color .2s
}

.oval-guide.ready {
  border-color: #22C55E;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, .2)
}

.bracket {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(255, 255, 255, .35);
  border-style: solid;
  pointer-events: none;
  z-index: 1
}

.b-tl {
  top: 16px;
  left: 16px;
  border-width: 1.5px 0 0 1.5px
}

.b-tr {
  top: 16px;
  right: 16px;
  border-width: 1.5px 1.5px 0 0
}

.b-bl {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 1.5px 1.5px
}

.b-br {
  bottom: 16px;
  right: 16px;
  border-width: 0 1.5px 1.5px 0
}

.cv-pill {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(15, 20, 26, .78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff
}

.cv-pill.good {
  border-color: #22C55E;
  color: #86EFAC
}

.cv-pill.warn {
  border-color: #F59E0B;
  color: #FDE68A
}

.cam-controls {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap
}

.angle-list-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
  cursor: pointer;
  background: var(--surface)
}

.angle-list-card.on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink)
}

.angle-list-card.done {
  border-color: #86EFAC;
  background: #F0FDF4
}

.angle-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--mono);
  font-size: 11px
}

/* Stage 2: Male Visual References */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.pill-btn {
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-2)
}

.pill-btn.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent)
}

.ref-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px
}

@media(min-width:980px) {
  .ref-layout {
    grid-template-columns: 1.6fr .9fr;
    align-items: start
  }
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px
}

@media(min-width:720px) {
  .ref-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
  }
}

@media(min-width:1100px) {
  .ref-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

.ref-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-tap-highlight-color: transparent
}

.ref-card:active {
  transform: scale(.98)
}

.ref-card.sel {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 20, 26, .16)
}

.ref-visual {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background: #161B22;
  aspect-ratio: 4/5;
  overflow: hidden
}

.ref-visual img,
.ref-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top
}

.ref-badge-l {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(15, 20, 26, .78);
  color: #fff
}

.ref-badge-r {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #16A34A;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25)
}

.ref-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px 10px 9px;
  background: linear-gradient(transparent, rgba(8, 10, 13, .88));
  color: #fff
}

.ref-overlay small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  opacity: .85;
  text-transform: uppercase
}

.ref-overlay b {
  font-size: 13px;
  line-height: 1.25;
  display: block
}

.ref-body {
  padding: 10px;
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1
}

.ref-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 6px;
  margin-top: auto;
  font-size: 10.5px
}

.ref-meta span {
  color: var(--muted);
  display: block
}

.ref-sticky-bar {
  position: sticky;
  bottom: 70px;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  box-shadow: 0 6px 24px rgba(15, 20, 26, .12)
}

.sim-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0
}

.sim-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted)
}

.sim-box img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.adapt-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0
}

.adapt-btn {
  padding: 8px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600
}

.adapt-btn.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent)
}

/* Stage 3: Dynamic Animated Quiz */
@keyframes quizSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

@keyframes quizOptIn {
  from {
    opacity: 0;
    transform: translateX(-8px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes quizPop {
  0% {
    transform: scale(1)
  }

  45% {
    transform: scale(.975)
  }

  100% {
    transform: scale(1)
  }
}

.quiz-shell {
  max-width: 720px;
  margin: 0 auto
}

.quiz-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px
}

.quiz-blocks {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none
}

.quiz-blocks::-webkit-scrollbar {
  display: none
}

.quiz-blk-pill {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  flex: none;
  transition: .15s
}

.quiz-blk-pill.on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent)
}

.quiz-blk-pill:disabled {
  opacity: .4;
  cursor: not-allowed
}

.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(16px, 4vw, 26px);
  box-shadow: var(--shadow);
  animation: quizSlideIn .28s cubic-bezier(.22, 1, .36, 1) both
}

.quiz-qtitle {
  margin: 6px 0 4px;
  font-size: clamp(18px, 4.5vw, 23px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.015em
}

.quiz-hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted)
}

.quiz-opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 10px
}

@media(min-width:640px) {
  .quiz-opts.cols2 {
    grid-template-columns: repeat(2, 1fr)
  }
}

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  font-size: 13.5px;
  line-height: 1.35;
  min-height: 50px;
  transition: transform .12s ease, border-color .15s, background .15s, color .15s;
  animation: quizOptIn .25s ease both
}

.quiz-opt:nth-child(1) {
  animation-delay: .02s
}

.quiz-opt:nth-child(2) {
  animation-delay: .05s
}

.quiz-opt:nth-child(3) {
  animation-delay: .08s
}

.quiz-opt:nth-child(4) {
  animation-delay: .11s
}

.quiz-opt:active {
  transform: scale(.98)
}

.quiz-opt.sel {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  animation: quizPop .22s ease
}

.quiz-badge {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex: none
}

.quiz-opt.sel .quiz-badge {
  background: rgba(255, 255, 255, .18);
  color: #fff
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border)
}

.prog-bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden
}

.prog-bar>i {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width .3s cubic-bezier(.22, 1, .36, 1)
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  margin: 3px;
  cursor: pointer
}

.chip.sel {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent)
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--ink-2);
  margin: 2px 4px 2px 0
}

/* ============================================================================
   EDITORIAL REPORT / DOSSIER (Fidelidade à imagem de referência anexada)
   ============================================================================ */
.report {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 34px);
  color: #11161D;
  box-shadow: var(--shadow)
}

.rep-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 18px;
  margin-bottom: 20px
}

.rep-star {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 8px;
  display: block
}

.rep-title {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: .02em;
  margin: 0;
  text-transform: uppercase;
  font-weight: 600
}

.rep-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: #6B7280;
  text-transform: uppercase;
  margin-top: 6px
}

.rep-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 20px
}

@media(min-width:900px) {
  .rep-hero {
    grid-template-columns: 210px 1fr 1.05fr;
    align-items: stretch
  }
}

.rep-meta-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px
}

@media(min-width:900px) {
  .rep-meta-list {
    grid-template-columns: 1fr;
    align-content: start
  }
}

.rep-meta-item {
  display: flex;
  align-items: center;
  gap: 10px
}

.rep-meta-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #D1D5DB;
  display: grid;
  place-items: center;
  flex: none;
  color: #4B5563;
  font-size: 12px
}

.rep-meta-item small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6B7280
}

.rep-meta-item b {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em
}

.rep-portrait {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #F3F4F6;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center
}

.rep-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 460px
}

.rep-portrait canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

/* Interactive Before/After Slider */
.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  min-height: 320px;
  max-height: 460px;
  overflow: hidden;
  border-radius: 12px;
  user-select: none;
  background: #0F141A
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(0, 0, 0, .5);
  pointer-events: none;
  z-index: 3
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0F141A;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  pointer-events: none;
  z-index: 4
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0
}

.ba-tag-l,
.ba-tag-r {
  position: absolute;
  top: 10px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15, 20, 26, .78);
  color: #fff;
  pointer-events: none
}

.ba-tag-l {
  left: 10px
}

.ba-tag-r {
  right: 10px
}

.ba-ai-seal {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(15, 20, 26, .84);
  color: #F9FAFB;
  text-align: center;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .16)
}

.rep-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.rep-box {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  background: #FAFAFB
}

.rep-box-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4B5563;
  margin: 0 0 10px;
  font-weight: 600
}

.rep-outline-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0
}

.sym-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex: none
}

.donut-in {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FAFAFB;
  display: grid;
  place-items: center;
  text-align: center
}

.donut-in b {
  font-size: 18px;
  line-height: 1
}

.donut-in small {
  font-size: 8px;
  letter-spacing: .08em;
  color: #6B7280;
  text-transform: uppercase
}

.sym-list {
  flex: 1;
  min-width: 170px;
  font-size: 11px
}

.sym-item {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px dashed #E5E7EB
}

.shape-row {
  display: flex;
  gap: 14px;
  align-items: center
}

.shape-bullets {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #374151
}

.conf-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: #4B5563
}

.conf-bar i {
  flex: 1;
  height: 4px;
  background: #E5E7EB;
  border-radius: 99px;
  overflow: hidden;
  display: block
}

.conf-bar i>b {
  display: block;
  height: 100%;
  background: #11161D
}

.rep-prop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

@media(min-width:640px) {
  .rep-prop-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(min-width:980px) {
  .rep-prop-grid {
    grid-template-columns: repeat(6, 1fr)
  }
}

.prop-card {
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #ECEEF2;
  border-radius: 10px;
  background: #FFFFFF
}

.prop-card h5 {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: #4B5563
}

.prop-card svg {
  width: 54px;
  height: 54px;
  margin: 0 auto 6px
}

.prop-card b {
  display: block;
  font-size: 11px
}

.prop-card small {
  color: #6B7280;
  font-size: 10px
}

.rep-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px
}

@media(min-width:768px) {
  .rep-2col {
    grid-template-columns: 1fr 1fr
  }
}

.rep-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px
}

@media(min-width:860px) {
  .rep-3col {
    grid-template-columns: 1.25fr 1fr 1fr
  }
}

.rep-compat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px
}

@media(min-width:520px) {
  .rep-compat-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.compat-mini {
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  background: #fff
}

.compat-mini svg {
  width: 100%;
  height: 68px;
  margin-bottom: 6px
}

.compat-mini b {
  display: block;
  font-size: 11px;
  line-height: 1.25
}

.compat-mini small {
  font-size: 10px;
  color: #6B7280
}

.rep-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB
}

@media(min-width:820px) {
  .rep-bottom {
    grid-template-columns: 1.6fr .8fr .8fr 1fr;
    align-items: stretch
  }
}

.score-box {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  background: #FAFAFB;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.score-box small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: #6B7280;
  text-transform: uppercase
}

.score-box strong {
  font-size: 28px;
  font-weight: 600;
  margin-top: 4px
}

.rating-dark {
  background: #0F141A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.rating-dark small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  opacity: .8;
  text-transform: uppercase
}

.rating-dark .stars {
  font-size: 18px;
  letter-spacing: 3px;
  margin: 6px 0
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 16px 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .1em
}

@media print {
  body {
    background: #fff
  }

  .noprint,
  .topbar,
  .site-footer {
    display: none !important
  }

  .container {
    max-width: 100%;
    padding: 0
  }

  .report {
    border: 0;
    box-shadow: none;
    padding: 8px
  }
}