
  :root {
    --bg-page: #FAF5F8;
    --primary-magenta: #E4097F;
    --primary-purple: #6835B9;
    --navy-ink: #112038;
    --text-muted: #5B6B82;
    --border-soft: #EAEFF6;
    --card-bg: #FFFFFF;
  }

  * { box-sizing: border-box; }
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
  }
  body {
    background: radial-gradient(circle at 10% 15%, #FDEBF4 0%, #FAF6FA 40%, #F5F7FC 100%);
    color: var(--navy-ink);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    position: relative;
  }

  /* Ambient Glow Spotlights */
  .bg-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .bg-glow-1 {
    position: absolute;
    top: -100px;
    right: -80px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 9, 127, 0.08) 0%, rgba(228, 9, 127, 0) 70%);
  }
  .bg-glow-2 {
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(104, 53, 185, 0.07) 0%, rgba(104, 53, 185, 0) 70%);
  }

  /* Floating Fertility-Themed Vector Background Layer */
  .bg-ambient-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .ambient-svg-element {
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
  }

  /* Keyframe animations for soothing ambient floating motion */
  @keyframes floatGentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(4deg); }
  }

  @keyframes floatSway {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(14px, -18px) rotate(3deg); }
    66% { transform: translate(-10px, -26px) rotate(-3deg); }
  }

  @keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.18; }
    50% { transform: scale(1.15); opacity: 0.35; }
  }

  @keyframes helixDrift {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-28px) rotate(2deg); }
  }

  @keyframes orbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  @keyframes swimMotile {
    0%, 100% { transform: translate(0, 0) rotate(-16deg); }
    50% { transform: translate(-22px, -20px) rotate(-8deg); }
  }

  /* Keyframe animations for petals behind girl's portrait */
  @keyframes petalSwayPrimary {
    0% {
      transform: translate(0, 0) rotate(25deg) scale(1);
    }
    50% {
      transform: translate(-14px, -18px) rotate(31deg) scale(1.06);
    }
    100% {
      transform: translate(10px, 12px) rotate(21deg) scale(0.96);
    }
  }

  @keyframes petalSwaySecondary {
    0% {
      transform: translate(0, 0) rotate(-30deg) scale(1);
    }
    50% {
      transform: translate(16px, -22px) rotate(-23deg) scale(1.08);
    }
    100% {
      transform: translate(-12px, 10px) rotate(-34deg) scale(0.95);
    }
  }

  @keyframes petalBreatheBase {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 0.4;
    }
    50% {
      transform: translate(10px, -14px) scale(1.12);
      opacity: 0.65;
    }
    100% {
      transform: translate(-8px, 6px) scale(0.94);
      opacity: 0.35;
    }
  }

  @keyframes petalFloatUpper {
    0% {
      transform: translate(0, 0) rotate(15deg) scale(0.95);
      opacity: 0.25;
    }
    50% {
      transform: translate(18px, -16px) rotate(24deg) scale(1.1);
      opacity: 0.45;
    }
    100% {
      transform: translate(-10px, 14px) rotate(9deg) scale(0.92);
      opacity: 0.2;
    }
  }

  @keyframes haloAuraGlow {
    0%, 100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.45;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.16);
      opacity: 0.75;
    }
  }

  @keyframes ambientPetalDrift1 {
    0%, 100% {
      transform: translateY(0) rotate(0deg) scale(1);
      opacity: 0.45;
    }
    50% {
      transform: translateY(-24px) translateX(8px) rotate(18deg) scale(1.15);
      opacity: 0.8;
    }
  }

  @keyframes ambientPetalDrift2 {
    0%, 100% {
      transform: translateY(0) rotate(-15deg) scale(0.95);
      opacity: 0.4;
    }
    50% {
      transform: translateY(-20px) translateX(-12px) rotate(5deg) scale(1.12);
      opacity: 0.75;
    }
  }

  /* Position & animation assignments */
  .ambient-ovum {
    top: 5%;
    left: 2%;
    width: 220px;
    height: 220px;
    opacity: 0.24;
    animation: floatGentle 18s ease-in-out infinite;
  }
  .ambient-ovum-inner-spin {
    transform-origin: center center;
    animation: orbitSpin 60s linear infinite;
  }

  .ambient-dna {
    top: 12%;
    right: 2%;
    width: 130px;
    height: 360px;
    opacity: 0.22;
    animation: helixDrift 22s ease-in-out infinite;
  }

  .ambient-motile {
    bottom: 8%;
    right: 4%;
    width: 210px;
    height: 190px;
    opacity: 0.24;
    animation: swimMotile 16s ease-in-out infinite;
  }

  .ambient-molecule {
    top: 4%;
    right: 26%;
    width: 120px;
    height: 120px;
    opacity: 0.20;
    animation: floatSway 20s ease-in-out infinite;
  }

  .ambient-capsule {
    bottom: 6%;
    left: 22%;
    width: 110px;
    height: 110px;
    opacity: 0.20;
    animation: floatGentle 15s ease-in-out infinite 2s;
  }

  .ambient-flora {
    bottom: -15px;
    left: -15px;
    width: 240px;
    height: 240px;
    opacity: 0.22;
    animation: floatSway 24s ease-in-out infinite;
  }

  .ambient-star-1 {
    top: 18%;
    left: 17%;
    width: 28px;
    height: 28px;
    opacity: 0.26;
    animation: pulseGlow 5s ease-in-out infinite;
  }
  .ambient-star-2 {
    bottom: 24%;
    right: 18%;
    width: 30px;
    height: 30px;
    opacity: 0.26;
    animation: pulseGlow 6s ease-in-out infinite 2.5s;
  }
  .ambient-star-3 {
    top: 50%;
    left: 3%;
    width: 22px;
    height: 22px;
    opacity: 0.22;
    animation: pulseGlow 4.5s ease-in-out infinite 1.2s;
  }

  @media (prefers-reduced-motion: reduce) {
    .ambient-svg-element,
    .ambient-ovum-inner-spin,
    .petal-shape,
    .petal-halo-glow,
    .floating-petal-vector {
      animation: none !important;
    }
  }

  /* Layout container */
  .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
  }

  /* Top Navigation */
  header.topbar {
    padding: 20px 0 16px;
    width: 100%;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  .journey-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 237, 246, 0.85);
    border: 1px solid rgba(228, 9, 127, 0.18);
    padding: 8px 18px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
  }
  .journey-heart-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .journey-text {
    font-size: 12px;
    line-height: 1.25;
    color: #4A1D37;
    font-weight: 600;
  }
  .journey-text strong {
    color: #380e25;
    font-weight: 700;
  }

  /* Main Hero Shell / Split Card */
  .hero-shell {
    padding: 10px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .split-card {
    display: grid;
    grid-template-columns: 1.08fr 1.32fr;
    background: #FFFFFF;
    border-radius: 36px;
    box-shadow: 0 20px 60px -15px rgba(228, 9, 127, 0.08), 0 8px 24px -6px rgba(17, 32, 56, 0.05);
    border: 1px solid rgba(235, 230, 240, 0.9);
    overflow: hidden;
    min-height: 680px;
    width: 100%;
  }

  /* LEFT HERO PANEL */
  .left-hero-panel {
    background: linear-gradient(165deg, #FDF0F6 0%, #FEE5F2 45%, #FDE9F4 100%);
    position: relative;
    padding: 44px 44px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  .left-content-area {
    position: relative;
    z-index: 3;
    max-width: 380px;
  }
  .eyebrow-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #D6127B;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    color: var(--navy-ink);
  }
  .hero-title span.accent-pink {
    color: var(--primary-magenta);
    display: block;
  }
  .hero-desc {
    color: #634358;
    font-size: clamp(14px, 1.2vw, 15px);
    line-height: 1.5;
    margin-bottom: 28px;
  }
  .hero-props-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 3;
    max-width: 320px;
  }
  .prop-item {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .prop-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(228, 9, 127, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-magenta);
    flex-shrink: 0;
  }
  .prop-label {
    font-size: 14px;
    font-weight: 700;
    color: #2D1424;
    line-height: 1.2;
  }
  .prop-sub {
    font-size: 12px;
    color: #79576F;
    font-weight: 500;
  }

  /* Script annotations */
  .script-note-top {
    position: absolute;
    top: 40px;
    right: 32px;
    font-family: 'Caveat', cursive;
    font-size: clamp(20px, 2.2vw, 26px);
    color: #E4097F;
    line-height: 1.05;
    text-align: right;
    transform: rotate(5deg);
    z-index: 4;
    pointer-events: none;
  }
  .script-note-bottom {
    position: absolute;
    bottom: 30px;
    left: 36px;
    font-family: 'Caveat', cursive;
    font-size: clamp(20px, 2.2vw, 26px);
    color: #E4097F;
    line-height: 1.05;
    transform: rotate(-4deg);
    z-index: 4;
    pointer-events: none;
  }

  /* Decorative Floral Petals & Organic Blobs behind Woman's Portrait */
  .petal-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .petal-halo-glow {
    position: absolute;
    top: 58%;
    right: 18%;
    width: 380px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 45%, rgba(255, 150, 205, 0.45) 0%, rgba(228, 9, 127, 0.22) 48%, rgba(247, 50, 150, 0) 75%);
    filter: blur(28px);
    animation: haloAuraGlow 7s ease-in-out infinite alternate;
    will-change: transform, opacity;
  }

  .petal-shape {
    position: absolute;
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    background: radial-gradient(circle, rgba(255, 120, 185, 0.38) 0%, rgba(247, 50, 150, 0.12) 100%);
    filter: blur(1.5px);
    will-change: transform, opacity;
    transform-origin: center center;
  }

  .petal-1 {
    width: 290px;
    height: 360px;
    top: 24%;
    left: 36%;
    animation: petalSwayPrimary 10s ease-in-out infinite alternate;
  }

  .petal-2 {
    width: 260px;
    height: 320px;
    top: 33%;
    left: 18%;
    background: radial-gradient(circle, rgba(255, 160, 210, 0.35) 0%, rgba(228, 9, 127, 0.08) 100%);
    animation: petalSwaySecondary 12s ease-in-out infinite alternate 1s;
  }

  .petal-3 {
    width: 320px;
    height: 220px;
    bottom: -35px;
    left: 28%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 175, 215, 0.46) 0%, rgba(247, 50, 150, 0.08) 75%);
    filter: blur(3px);
    animation: petalBreatheBase 9s ease-in-out infinite alternate 2s;
  }

  .petal-4 {
    width: 180px;
    height: 220px;
    top: 14%;
    right: 8%;
    border-radius: 55% 45% 40% 60% / 40% 60% 40% 60%;
    background: radial-gradient(circle, rgba(255, 140, 195, 0.32) 0%, rgba(228, 9, 127, 0.04) 80%);
    filter: blur(1px);
    animation: petalFloatUpper 13s ease-in-out infinite alternate 0.5s;
  }

  /* Ambient Petal SVG Details */
  .floating-petal-vector {
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
  }
  .floating-petal-v1 {
    top: 22%;
    right: 28%;
    width: 44px;
    height: 44px;
    animation: ambientPetalDrift1 8s ease-in-out infinite alternate;
  }
  .floating-petal-v2 {
    bottom: 28%;
    right: 48%;
    width: 36px;
    height: 36px;
    animation: ambientPetalDrift2 9.5s ease-in-out infinite alternate 1.5s;
  }

  /* Woman Portrait in Left Panel */
  .hero-woman-wrap {
    position: absolute;
    right: -20px;
    bottom: -10px;
    width: 370px;
    height: 480px;
    z-index: 2;
    pointer-events: none;
  }
  .hero-woman-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: radial-gradient(circle at 60% 50%, black 65%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at 60% 50%, black 65%, transparent 95%);
  }

  /* RIGHT WIZARD PANEL */
  .right-wizard-panel {
    background: #FFFFFF;
    padding: 40px 48px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: 1px solid rgba(235, 230, 240, 0.7);
    width: 100%;
  }

  /* Step Progress Box */
  .wizard-progress-card {
    background: #F8F9FC;
    border: 1px solid #EEF1F7;
    border-radius: 18px;
    padding: 14px 20px 16px;
    margin-bottom: 26px;
    width: 100%;
  }
  .progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .step-badge {
    background: #EBF2FD;
    color: #1E468A;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .step-current-title {
    font-size: 14px;
    font-weight: 700;
    color: #112038;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .step-completion-val {
    font-size: 13px;
    font-weight: 600;
    color: #5B6B82;
    white-space: nowrap;
  }
  .step-track-bar {
    width: 100%;
    height: 7px;
    background: #E7EDF6;
    border-radius: 99px;
    overflow: hidden;
  }
  .step-fill-bar {
    height: 100%;
    width: 14%;
    background: linear-gradient(90deg, #1A387E 0%, #8928A6 50%, #E4097F 100%);
    border-radius: 99px;
    transition: width 0.35s ease;
  }

  /* Question Header */
  .question-heading-area {
    margin-bottom: 24px;
  }
  .q-top-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
  }
  .q-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FEE7F2;
    color: #D6127B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .q-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #E4097F;
    text-transform: uppercase;
  }
  .q-tag-dot {
    width: 7px;
    height: 7px;
    background: #E4097F;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .question-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.22;
    color: #112038;
    margin: 0 0 8px;
    word-break: break-word;
  }
  .question-sub {
    font-size: clamp(13.5px, 1.1vw, 14.5px);
    line-height: 1.45;
    color: #5B6B82;
    margin: 0;
  }

  /* Options list (Stacked full-width cards) */
  .options-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
    width: 100%;
  }
  .option-card {
    border: 1.5px solid #E6ECF5;
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    width: 100%;
    min-height: 64px;
    touch-action: manipulation;
  }
  .option-card:hover {
    border-color: #D2DEED;
    background: #FAFCFE;
    transform: translateY(-1px);
  }
  .option-card.selected {
    border-color: #E4097F;
    background: #FFF8FB;
    box-shadow: 0 4px 16px rgba(228, 9, 127, 0.08);
  }
  .opt-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
  }
  .opt-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EEF3FA;
    color: #1E3A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .option-card.selected .opt-icon-box {
    background: #E4097F;
    color: #FFFFFF;
  }
  .opt-title {
    font-size: 16px;
    font-weight: 700;
    color: #112038;
    display: block;
    line-height: 1.25;
    margin-bottom: 3px;
  }
  .opt-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.35;
    display: block;
    word-break: break-word;
  }
  .opt-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .option-card.selected .opt-radio {
    background: #E4097F;
    border-color: #E4097F;
    color: #FFFFFF;
  }

  /* Input fields */
  .inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
  }
  .field-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .field-box label {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
  }
  .field-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .field-input-wrap.has-error input { border-color: #F87171; background: #FFF8F8; }
  .field-input-wrap.has-error input:focus { box-shadow: 0 0 0 3px rgba(248,113,113,0.18); }
  .wz-field-error {
    display: none; margin: 6px 2px 0; font-size: 12.5px; font-weight: 600; color: #BE123C;
  }
  .wz-field-error.show { display: block; }
  #bmiError.show { margin: -8px 0 14px; }
  .field-input-wrap input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #F8FAFC;
    color: #112038;
    transition: border 0.2s, background 0.2s;
  }
  .field-input-wrap input:focus {
    border-color: #E4097F;
    background: #FFFFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 9, 127, 0.12);
  }
  .unit-text {
    position: absolute;
    right: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #94A3B8;
    pointer-events: none;
  }
  .bmi-summary-badge {
    padding: 16px 20px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  /* Wizard CTA buttons */
  .cta-continue-btn {
    width: 100%;
    padding: 16px 28px;
    min-height: 52px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #E4097F 0%, #6835B9 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(228, 9, 127, 0.28);
    transition: all 0.2s ease;
    touch-action: manipulation;
  }
  .cta-continue-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(228, 9, 127, 0.38);
    background: linear-gradient(90deg, #CE0570 0%, #56299F 100%);
  }
  .cta-continue-btn:active {
    transform: scale(0.99);
  }

  .nav-back-btn {
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-top: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    min-height: 40px;
  }
  .nav-back-btn:hover { color: #E4097F; }

  .security-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748B;
    margin-top: 18px;
    text-align: center;
  }

  /* Results View */
  .results-view-wrap {
    padding: 20px 0 60px;
    width: 100%;
  }
  .results-card-shell {
    background: #FFFFFF;
    border-radius: 32px;
    border: 1px solid #EBE7EE;
    padding: 44px;
    box-shadow: 0 20px 50px -10px rgba(17, 32, 56, 0.08);
    width: 100%;
  }
  .res-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
  }
  .res-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FDF0F6;
    color: #E4097F;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
  }
  .res-head h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.2;
    color: #112038;
    margin: 0;
  }

  .score-dial-banner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    background: #FBFBFE;
    border: 1.5px solid #EDF1F7;
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 32px;
    width: 100%;
  }
  .score-dial-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .score-dial-circle svg {
    width: 190px;
    height: 190px;
    transform: rotate(-90deg);
  }
  .dial-inner-text {
    position: absolute;
    text-align: center;
  }
  .dial-inner-text .score-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: #112038;
  }
  .dial-inner-text .score-denom {
    font-size: 13px;
    font-weight: 700;
    color: #8898AA;
    text-transform: uppercase;
  }

  .dial-info-copy .status-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .dial-info-copy h2 {
    font-size: clamp(19px, 2.2vw, 22px);
    color: #112038;
    margin: 0 0 8px;
  }
  .dial-info-copy p {
    color: #556987;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
  }

  .analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
    width: 100%;
  }
  .anal-card {
    border-radius: 18px;
    padding: 24px 26px;
    border: 1px solid #E8EEF5;
    background: #FFFFFF;
    width: 100%;
  }
  .anal-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .anal-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .anal-card li {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .anal-card li svg {
    flex-shrink: 0;
    margin-top: 3px;
  }

  .action-steps-card {
    background: #FAF7FC;
    border: 1px solid #E9E1F0;
    border-radius: 20px;
    padding: 26px 30px;
    margin-bottom: 32px;
    width: 100%;
  }
  .action-steps-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2D1438;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .action-steps-card ol {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .action-steps-card li {
    font-size: 14px;
    color: #4A3A54;
    line-height: 1.45;
  }

  .res-actions-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
  }
  .btn-outline {
    background: #FFFFFF;
    border: 1.5px solid #D7DFEA;
    color: #475569;
    padding: 14px 26px;
    min-height: 52px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    touch-action: manipulation;
  }
  .btn-outline1{
    color: #FFF ! important;
    background: linear-gradient(90deg, #E4097F 0%, #6835B9 100%) ! important;
    
  }
  .btn-outline:hover {
    border-color: #A3B5CB;
    color: #1E293B;
  }

  /* Consultation Modal */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 32, 56, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
  }
  .modal-overlay.open { display: flex; }
  .modal-inner {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 36px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  }

  /* Footer */
  footer {
    padding: 24px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: auto;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
  }
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #718096;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Visibility toggles */
  .view-panel { display: none; width: 100%; }
  .view-panel.active { display: block; }
  .step-screen { display: none; width: 100%; }
  .step-screen.active { display: block; }
  .hidden { display: none !important; }

  /* Responsive Media Queries */
  @media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .split-card {
      grid-template-columns: 1fr;
      border-radius: 28px;
      min-height: auto;
    }
    .left-hero-panel {
      padding: 34px 34px 28px;
      min-height: 400px;
    }
    .hero-woman-wrap {
      width: 300px;
      height: 400px;
      right: 0;
      bottom: -10px;
    }
    .right-wizard-panel {
      padding: 34px 32px 30px;
      border-left: none;
      border-top: 1px solid rgba(235, 230, 240, 0.7);
    }
    .results-card-shell {
      padding: 32px 28px;
      border-radius: 26px;
    }
    .score-dial-banner {
      grid-template-columns: 190px 1fr;
      padding: 24px 28px;
      gap: 24px;
    }
  }

  @media (max-width: 767px) {
    .container { padding: 0 16px; }
    header.topbar { padding: 14px 0 12px; }
    .header-inner { gap: 10px; }
    .brand-logo-img { height: 32px; max-width: 130px; }
    .journey-badge { padding: 6px 12px; gap: 8px; }
    .journey-heart-icon { width: 20px; height: 20px; }
    .journey-text { font-size: 11px; }

    .hero-shell { padding: 6px 0 28px; }
    .split-card {
      border-radius: 24px;
      box-shadow: 0 12px 36px -10px rgba(228, 9, 127, 0.08);
    }
    .left-hero-panel {
      padding: 28px 22px 24px;
      min-height: auto;
    }
    .left-content-area { max-width: 100%; }
    .hero-woman-wrap {
      position: relative;
      right: auto;
      bottom: auto;
      width: 100%;
      height: 240px;
      margin-top: 18px;
      display: flex;
      justify-content: center;
    }
    .hero-woman-img {
      width: 240px;
      height: 240px;
      border-radius: 50%;
      mask-image: none;
      -webkit-mask-image: none;
      object-position: center top;
      box-shadow: 0 10px 30px rgba(228, 9, 127, 0.15);
      border: 3px solid rgba(255, 255, 255, 0.9);
    }
    .script-note-top, .script-note-bottom { display: none; }
    .hero-props-list { max-width: 100%; gap: 12px; }

    .right-wizard-panel { padding: 24px 20px 24px; }
    .wizard-progress-card { padding: 12px 16px; border-radius: 14px; margin-bottom: 20px; }
    .progress-head { font-size: 12px; gap: 6px; }
    .step-badge { padding: 4px 10px; font-size: 11.5px; }
    .step-current-title { font-size: 12.5px; }
    .step-completion-val { font-size: 12px; }

    .inputs-grid { grid-template-columns: 1fr; gap: 14px; }

    .results-card-shell { padding: 24px 18px; border-radius: 22px; }
    .score-dial-banner {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 22px 16px;
      gap: 18px;
    }
    .score-dial-circle { margin: 0 auto; }
    .analysis-grid { grid-template-columns: 1fr; gap: 16px; }
    .action-steps-card { padding: 20px 18px; border-radius: 16px; }
    .res-actions-row { flex-direction: column; }
    .res-actions-row .btn-outline,
    .res-actions-row .cta-continue-btn {
      width: 100%;
      max-width: 100% !important;
    }
    .footer-inner {
      flex-direction: column;
      text-align: center;
      gap: 8px;
    }
  }

  @media (max-width: 480px) {
    .container { padding: 0 12px; }
    header.topbar { padding: 10px 0 10px; }
    .header-inner { justify-content: space-between; gap: 8px; }
    .brand-logo-img { height: 28px; max-width: 115px; }
    .journey-badge { padding: 4px 10px; gap: 6px; }
    .journey-text { font-size: 10px; }
    .split-card { border-radius: 20px; }
    .left-hero-panel { padding: 22px 16px 18px; }
    .hero-title { font-size: 26px; margin-bottom: 10px; }
    .hero-desc { font-size: 13.5px; margin-bottom: 20px; }
    .hero-woman-wrap { height: 190px; margin-top: 14px; }
    .hero-woman-img { width: 190px; height: 190px; }
    .right-wizard-panel { padding: 20px 14px 20px; }
    .wizard-progress-card { padding: 10px 12px; margin-bottom: 16px; }
    .step-current-title { display: none; }
    .question-title { font-size: 21px; margin-bottom: 6px; }
    .options-stack { gap: 10px; margin-bottom: 20px; }
    .option-card { padding: 12px 14px; min-height: 56px; border-radius: 14px; gap: 10px; }
    .cta-continue-btn { padding: 14px 20px; font-size: 15px; min-height: 48px; }
  }

  /* ================= ADMIN PANEL ================= */
  .admin-shell { display: flex; min-height: 100vh; position: relative; z-index: 2; }
  .admin-side {
    width: 240px; flex-shrink: 0; padding: 24px 16px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-soft);
  }
  .admin-side .admin-logo-link { display:block; padding: 4px 8px 24px; }
  .admin-side .admin-logo-link img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
  .admin-nav { display: flex; flex-direction: column; gap: 3px; }
  .admin-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 13px; border-radius: 14px;
    font-size: 14px; font-weight: 600; color: var(--text-muted);
    text-decoration: none; transition: all 0.2s ease;
  }
  .admin-nav a:hover { background: var(--bg-page); color: var(--navy-ink); }
  .admin-nav a.active {
    background: linear-gradient(135deg, #FDEBF4 0%, #fff 100%);
    color: var(--primary-magenta); font-weight: 700;
    box-shadow: 0 2px 8px rgba(228,9,127,0.1);
  }
  .admin-nav .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; flex-shrink:0; }
  .admin-exit { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-soft); }
  .admin-exit a { font-size: 13px; color: #94A3B8; text-decoration: none; font-weight: 600; }
  .admin-exit a:hover { color: var(--primary-magenta); }

  .admin-main { flex: 1; padding: 32px 40px; overflow-x: auto; }
  .admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
  .admin-head h1 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy-ink); }
  .admin-head p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

  .stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
  .stat-card {
    background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: 22px;
    padding: 20px; box-shadow: 0 2px 8px rgba(17,32,56,0.04);
  }
  .stat-card .s-label { font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
  .stat-card .s-val { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--navy-ink); margin-top: 8px; }
  .stat-card .s-delta { font-size: 12px; margin-top: 6px; font-weight: 700; }
  .s-delta.up { color: #0F766E; }
  .s-delta.down { color: #BE123C; }

  .admin-panel {
    background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: 22px;
    padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(17,32,56,0.04); overflow-x: auto;
  }
  .admin-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .admin-panel-head h2 { font-size: 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--navy-ink); }

  .admin-panel table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .admin-panel th {
    text-align: left; color: #94A3B8; font-weight: 700; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 12px;
    border-bottom: 1px solid var(--border-soft);
  }
  .admin-panel td { padding: 13px 12px; border-bottom: 1px solid #F3F0F5; color: var(--text-muted); }
  .admin-panel tr:last-child td { border-bottom: none; }
  .pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; display: inline-block; }
  .pill.high { background: #EBF9F1; color: #0F766E; }
  .pill.mid { background: #FEF3C7; color: #B45309; }
  .pill.low { background: #FEE2E2; color: #BE123C; }
  .status-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-page); color: var(--text-muted); }
  .status-pill.new { background: #FDEBF4; color: var(--primary-magenta); }

  .bars { display: flex; align-items: flex-end; gap: 14px; height: 180px; padding-top: 20px; }
  .bars .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; height: 100%; }
  .bars .bar { width: 100%; background: linear-gradient(180deg, var(--primary-purple) 0%, var(--primary-magenta) 100%); border-radius: 6px 6px 0 0; max-width: 44px; }
  .bars .bar-label { font-size: 11px; color: #94A3B8; font-weight: 600; }
  .bars .bar-val { font-size: 11px; color: var(--text-muted); font-weight: 700; }

  .two-col-panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }

  /* Chart animations */
  .bars .bar {
    transform-origin: bottom;
    animation: bar-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 90ms);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
  }
  .bars .bar-col:hover .bar { filter: brightness(1.12); box-shadow: 0 6px 16px rgba(104,53,185,0.25); }
  .bars .bar-val { animation: fade-up 0.5s ease both; animation-delay: calc(var(--i, 0) * 90ms + 350ms); }
  .stat-card { animation: fade-up 0.55s ease both; }
  .stat-card:nth-child(2) { animation-delay: 80ms; }
  .stat-card:nth-child(3) { animation-delay: 160ms; }

  .share-row { margin-bottom: 18px; }
  .share-row:last-child { margin-bottom: 0; }
  .share-head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
  .share-head .share-val { color: var(--navy-ink); font-weight: 700; }
  .share-track { height: 10px; border-radius: 999px; background: var(--bg-page); overflow: hidden; }
  .share-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-magenta) 100%);
    animation: fill-grow 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 120ms + 150ms);
  }
  .share-fill.irregular { background: linear-gradient(90deg, #F59E0B 0%, #E4097F 100%); }

  @keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes fill-grow { from { width: 0; } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  @media (prefers-reduced-motion: reduce) {
    .bars .bar, .bars .bar-val, .stat-card, .share-fill { animation: none; }
  }

  .admin-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
  .admin-pagination .pg-info { font-size: 13px; color: var(--text-muted); font-weight: 600; }
  .admin-pagination .pg-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .admin-pagination .pg-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 12px; border-radius: 999px;
    background: var(--card-bg); border: 1px solid var(--border-soft);
    font-size: 13px; font-weight: 600; color: var(--text-muted);
    text-decoration: none; transition: all 0.2s ease;
  }
  .admin-pagination a.pg-link:hover { border-color: var(--primary-magenta); color: var(--primary-magenta); }
  .admin-pagination .pg-link.active {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-magenta) 100%);
    border-color: transparent; color: #fff; font-weight: 700;
  }
  .admin-pagination .pg-link.disabled { opacity: 0.45; cursor: not-allowed; }
  .admin-pagination .pg-link.dots { border: none; background: none; min-width: auto; padding: 0 4px; }

  .admin-user { display: flex; align-items: center; gap: 10px; margin-top: 0; padding: 10px; border-radius: 14px; background: var(--bg-page); }
  .admin-avatar {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-magenta) 100%);
    color: #fff; font-weight: 700; font-size: 14px;
  }
  .admin-user-info { display: flex; flex-direction: column; min-width: 0; }
  .admin-user-info strong { font-size: 13px; color: var(--navy-ink); }
  .admin-user-info small { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .admin-logout { margin-top: 10px; }
  .admin-logout button {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 14px; min-height: 42px; border-radius: 999px; cursor: pointer;
    background: #fff; border: 1.5px solid #FBCFE8; color: var(--primary-magenta);
    font-size: 13px; font-weight: 700; font-family: inherit; transition: all 0.2s ease;
  }
  .admin-logout button:hover {
    background: var(--primary-magenta); border-color: var(--primary-magenta); color: #fff;
    box-shadow: 0 4px 12px rgba(228,9,127,0.25);
  }
  .admin-logout button:focus-visible { outline: 3px solid rgba(228,9,127,0.3); outline-offset: 2px; }

  .admin-form-panel { max-width: 460px; }
  .admin-form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-ink); margin: 0 0 6px; }
  .admin-form input {
    width: 100%; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 12px;
    font-size: 14px; font-family: inherit; margin-bottom: 16px;
  }
  .admin-form input:focus { outline: none; border-color: var(--primary-magenta); box-shadow: 0 0 0 3px rgba(228,9,127,0.12); }
  .admin-form .field-error { color: #BE123C; font-size: 12px; font-weight: 600; margin: -10px 0 14px; }
  .admin-form .cta-continue-btn { width: 100%; margin-top: 4px; }
  .admin-flash { background: #EBF9F1; color: #0F766E; font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }

  .login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; position: relative; z-index: 2; }
  .login-card {
    width: 100%; max-width: 400px; background: var(--card-bg);
    border: 1px solid var(--border-soft); border-radius: 22px;
    padding: 32px 28px; box-shadow: 0 8px 30px rgba(17,32,56,0.08);
  }
  .login-card .login-logo { display: block; height: 36px; width: auto; margin: 0 auto 20px; }
  .login-card h1 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy-ink); text-align: center; }
  .login-card .login-sub { color: var(--text-muted); font-size: 14px; text-align: center; margin: 6px 0 24px; }
  .login-card label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-ink); margin-bottom: 6px; }
  .login-card input[type=email], .login-card input[type=password] {
    width: 100%; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 12px;
    font-size: 14px; font-family: inherit; margin-bottom: 16px;
  }
  .login-card input:focus { outline: none; border-color: var(--primary-magenta); box-shadow: 0 0 0 3px rgba(228,9,127,0.12); }
  .login-card .login-remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; font-weight: 600; }
  .login-card .login-error { background: #FEE2E2; color: #BE123C; font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
  .login-card .cta-continue-btn { width: 100%; }
  .login-card .login-back { display: block; text-align: center; margin-top: 18px; font-size: 13px; color: #94A3B8; text-decoration: none; font-weight: 600; }
  .login-card .login-back:hover { color: var(--primary-magenta); }

  /* ---------- Admin: responsive shell ---------- */
  /* Fixed (not sticky): html/body use overflow-x:hidden, which breaks position:sticky */
  .admin-side {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 20;
    height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; background: #fff;
  }
  .admin-exit { margin-top: auto; }
  .admin-main { min-width: 0; margin-left: 240px; }
  .admin-panel td { white-space: nowrap; }
  .admin-menu-btn, .admin-side-close {
    width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border-soft); color: var(--navy-ink);
  }
  .admin-topbar, .admin-backdrop, .admin-side-close { display: none; }
  .admin-menu-btn:focus-visible, .admin-side-close:focus-visible { outline: 3px solid rgba(228,9,127,0.3); outline-offset: 2px; }

  @media (max-width: 860px) {
    .admin-shell { flex-direction: column; }

    .admin-topbar {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 62px; padding: 10px 16px;
      background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-soft);
    }
    .admin-topbar img { height: 28px; width: auto; max-width: 140px; object-fit: contain; display: block; }
    .admin-topbar .admin-topbar-title { flex: 1; font-size: 14px; font-weight: 700; color: var(--navy-ink); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .admin-side {
      position: fixed; top: 0; left: 0; bottom: 0; z-index: 50;
      width: 280px; max-width: 85vw;
      background: #fff; border-right: 1px solid var(--border-soft);
      box-shadow: 8px 0 30px rgba(17,32,56,0.12);
      transform: translateX(-105%); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .admin-open .admin-side { transform: none; }
    .admin-side-close { display: inline-flex; position: absolute; top: 18px; right: 14px; width: 36px; height: 36px; }
    .admin-nav a { padding: 13px 14px; }

    .admin-backdrop {
      display: block; position: fixed; inset: 0; z-index: 40;
      background: rgba(17,32,56,0.4); opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
    }
    .admin-open .admin-backdrop { opacity: 1; pointer-events: auto; }
    body.admin-open { overflow: hidden; }

    .admin-main { margin-left: 0; padding: 82px 16px 20px; }
    .admin-head { margin-bottom: 20px; }
    .admin-head h1 { font-size: 22px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
    .stat-card { padding: 16px; border-radius: 18px; }
    .stat-card .s-val { font-size: 24px; }
    .two-col-panels { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
    .two-col-panels .admin-panel { margin-bottom: 0; }
    .admin-panel td .pill { white-space: normal; }
    .admin-panel { padding: 18px 16px; border-radius: 18px; margin-bottom: 16px; }
    .bars { gap: 8px; height: 160px; }
    .bars .bar-label { font-size: 10px; text-align: center; }
  }

  @media (max-width: 640px) {
    .admin-head { flex-direction: column; align-items: stretch; }
    .admin-head .admin-head-action { width: 100%; justify-content: center; }

    /* Tables become stacked cards */
    .admin-panel table.stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
    .stack-table thead { display: none; }
    .admin-panel.stack-panel { background: none; border: none; box-shadow: none; padding: 0; overflow: visible; }
    .stack-table tr {
      background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: 16px;
      padding: 6px 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(17,32,56,0.04);
    }
    .admin-panel .stack-table td {
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      padding: 9px 0; border-bottom: 1px dashed #F0EAF2; text-align: right;
    }
    .admin-panel .stack-table tr td:last-child { border-bottom: none; }
    .stack-table td::before {
      content: attr(data-label); flex-shrink: 0; text-align: left;
      font-size: 11px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.04em;
    }
    .stack-table td.stack-title { font-weight: 700; color: var(--navy-ink); font-size: 14px; }
    .stack-table td.stack-empty::before { content: none; }

    .admin-pagination { flex-direction: column; align-items: center; }
    .admin-pagination .pg-list { justify-content: center; }
    .admin-pagination .pg-page:not(.pg-near) { display: none; }
  }

  @media (max-width: 400px) {
    .stat-grid { grid-template-columns: 1fr; }
    .admin-panel table { font-size: 12px; }
    .admin-panel th, .admin-panel td { padding-left: 8px; padding-right: 8px; }
  }
