:root {
  --ft-ink: #183b40;
  --ft-muted: #587278;
  --ft-teal: #147d7a;
  --ft-teal-dark: #0d5c5b;
  --ft-teal-soft: #e8f6f3;
  --ft-gold: #efb94e;
  --ft-gold-soft: #fff5dc;
  --ft-coral: #d96855;
  --ft-coral-soft: #fff0eb;
  --ft-ivory: #fffaf1;
  --ft-paper: #ffffff;
  --ft-line: #dbe9e6;
  --ft-shadow: 0 24px 70px rgba(24, 59, 64, .12);
  --ft-radius: 28px;
}

.ft-main { padding-bottom: 56px; }
.ft-main *, .ft-home-section *, .ft-tools-block *, .ft-child-modal * { box-sizing: border-box; }
.ft-main a, .ft-home-section a, .ft-tools-block a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ft-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.ft-muted { color: var(--ft-muted); }
.ft-small { font-size: 14px; line-height: 1.55; }
.ft-note { color: var(--ft-muted); font-size: 14px; line-height: 1.6; }
.ft-note strong { color: var(--ft-ink); }
.ft-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--ft-teal-soft); color: var(--ft-teal-dark); font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.ft-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ft-gold); box-shadow: 0 0 0 5px rgba(239,185,78,.18); }
.ft-title { margin: 18px 0 14px; max-width: 850px; color: var(--ft-ink); font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.ft-lead { max-width: 760px; margin: 0; color: var(--ft-muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.ft-section { margin-top: 42px; }
.ft-section-title { margin: 0 0 10px; color: var(--ft-ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.ft-section-sub { max-width: 720px; margin: 0 0 22px; color: var(--ft-muted); line-height: 1.65; }
.ft-card { border: 1px solid var(--ft-line); border-radius: var(--ft-radius); background: var(--ft-paper); box-shadow: 0 12px 40px rgba(24,59,64,.06); }
.ft-card-pad { padding: clamp(20px, 3vw, 32px); }
.ft-grid { display: grid; gap: 18px; }
.ft-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.ft-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 20px; border: 1px solid transparent; border-radius: 15px; font: inherit; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none !important; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.ft-btn:hover { transform: translateY(-2px); }
.ft-btn:active { transform: translateY(0); }
.ft-btn:focus-visible, .ft-sos-tab:focus-visible, .ft-child-close:focus-visible, .ft-filter select:focus-visible, .ft-field select:focus-visible, .ft-field input:focus-visible { outline: 3px solid rgba(20,125,122,.28); outline-offset: 3px; }
.ft-btn-primary { background: var(--ft-teal); color: #fff; box-shadow: 0 12px 28px rgba(20,125,122,.22); }
.ft-btn-primary:hover { background: var(--ft-teal-dark); }
.ft-btn-secondary { background: var(--ft-gold); color: #3f3218; box-shadow: 0 12px 28px rgba(239,185,78,.2); }
.ft-btn-ghost { border-color: var(--ft-line); background: #fff; color: var(--ft-teal-dark); }
.ft-btn-danger { background: var(--ft-coral); color: #fff; }
.ft-btn-small { min-height: 42px; padding: 10px 15px; border-radius: 12px; font-size: 14px; }
.ft-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.ft-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ft-gold-soft); color: #725417; font-size: 12px; font-weight: 800; }
.ft-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; background: var(--ft-teal-soft); color: var(--ft-teal); font-size: 25px; }
.ft-icon svg { width: 26px; height: 26px; }
.ft-disclaimer { padding: 16px 18px; border-left: 4px solid var(--ft-gold); border-radius: 0 14px 14px 0; background: var(--ft-gold-soft); color: #624f2b; font-size: 14px; line-height: 1.6; }

/* Homepage feature */
.ft-home-section { padding-top: 24px; }
.ft-home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); overflow: hidden; border: 1px solid rgba(20,125,122,.14); border-radius: 36px; background: linear-gradient(135deg, #f2fbf8 0%, #fffaf1 62%, #fff2d2 100%); box-shadow: var(--ft-shadow); }
.ft-home-hero::before { content: ""; position: absolute; width: 280px; height: 280px; right: 20%; top: -190px; border-radius: 50%; background: rgba(239,185,78,.18); }
.ft-home-copy { position: relative; z-index: 1; padding: clamp(26px, 5vw, 56px); }
.ft-home-copy h2 { max-width: 690px; margin: 18px 0 14px; color: var(--ft-ink); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -.035em; }
.ft-home-copy p { max-width: 650px; color: var(--ft-muted); font-size: 18px; line-height: 1.65; }
.ft-home-mascot { position: relative; min-height: 330px; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.95), rgba(255,250,241,.2) 65%); }
.ft-home-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; mix-blend-mode: multiply; }
.ft-home-mini-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.ft-home-mini-links a { color: var(--ft-teal-dark); font-size: 14px; font-weight: 800; }

/* Tool cards */
.ft-tools-block { margin: 30px 0 38px; scroll-margin-top: 100px; }
.ft-tools-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.ft-tools-head h2 { margin: 0; color: var(--ft-ink); font-size: clamp(25px, 3vw, 36px); letter-spacing: -.025em; }
.ft-tools-head p { max-width: 560px; margin: 0; color: var(--ft-muted); line-height: 1.55; }
.ft-tool-card { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 24px; overflow: hidden; border: 1px solid var(--ft-line); border-radius: 24px; background: #fff; color: var(--ft-ink) !important; text-decoration: none !important; box-shadow: 0 10px 32px rgba(24,59,64,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ft-tool-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -58px; bottom: -58px; border-radius: 50%; background: var(--ft-teal-soft); transition: transform .25s ease; }
.ft-tool-card:hover { transform: translateY(-5px); border-color: rgba(20,125,122,.35); box-shadow: 0 20px 46px rgba(24,59,64,.12); }
.ft-tool-card:hover::after { transform: scale(1.35); }
.ft-tool-card h3 { margin: 16px 0 8px; font-size: 21px; line-height: 1.25; }
.ft-tool-card p { margin: 0 0 18px; color: var(--ft-muted); font-size: 14px; line-height: 1.55; }
.ft-tool-link { position: relative; z-index: 1; margin-top: auto; color: var(--ft-teal); font-size: 14px; font-weight: 900; }
.ft-tool-card.ft-warm { background: linear-gradient(145deg, #fff, var(--ft-gold-soft)); }
.ft-tool-card.ft-sos { background: linear-gradient(145deg, #fff, var(--ft-coral-soft)); }
.ft-tool-card.ft-sos .ft-icon { background: #fff; color: var(--ft-coral); }

/* Forms and calculator */
.ft-calculator { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr); gap: 24px; align-items: start; }
.ft-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ft-field { display: flex; flex-direction: column; gap: 8px; }
.ft-field-full { grid-column: 1 / -1; }
.ft-field label, .ft-field legend { color: var(--ft-ink); font-size: 14px; font-weight: 850; }
.ft-field select, .ft-field input, .ft-filter select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c8dcd8; border-radius: 13px; background: #fff; color: var(--ft-ink); font: inherit; }
.ft-field input[type="number"] { max-width: 160px; }
.ft-field-help { color: var(--ft-muted); font-size: 12px; line-height: 1.45; }
.ft-segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.ft-segmented legend { grid-column: 1 / -1; margin-bottom: 8px; }
.ft-radio-card { position: relative; display: block; cursor: pointer; }
.ft-radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.ft-radio-card span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px; border: 1px solid #c8dcd8; border-radius: 13px; background: #fff; color: var(--ft-muted); font-size: 14px; font-weight: 800; text-align: center; }
.ft-radio-card input:checked + span { border-color: var(--ft-teal); background: var(--ft-teal-soft); color: var(--ft-teal-dark); box-shadow: inset 0 0 0 1px var(--ft-teal); }
.ft-radio-card input:focus-visible + span { outline: 3px solid rgba(20,125,122,.25); outline-offset: 2px; }
.ft-result { position: sticky; top: 104px; overflow: hidden; border: 0; background: linear-gradient(155deg, var(--ft-teal-dark), var(--ft-teal)); color: #fff; box-shadow: 0 24px 60px rgba(20,125,122,.22); }
.ft-result::after { content: ""; position: absolute; width: 230px; height: 230px; right: 0; top: -110px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.ft-result-inner { position: relative; z-index: 1; padding: clamp(24px, 4vw, 36px); }
.ft-result-label { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 750; }
.ft-result-amount { margin: 12px 0 6px; font-size: clamp(32px, 4.5vw, 46px); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.ft-result-caption { color: rgba(255,255,255,.84); font-size: 14px; line-height: 1.55; }
.ft-breakdown { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.ft-breakdown-row { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; color: rgba(255,255,255,.9); font-size: 14px; }
.ft-breakdown-row span:last-child { flex: 0 0 auto; font-weight: 850; text-align: right; }
.ft-result .ft-note { margin-top: 20px; color: rgba(255,255,255,.76); }
.ft-result .ft-actions { margin-top: 22px; }
.ft-result .ft-btn-ghost { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; }
.ft-price-updated { margin-top: 14px; color: var(--ft-muted); font-size: 12px; }
.ft-copy-status { min-height: 22px; margin-top: 8px; color: inherit; font-size: 13px; }

/* Timer */
.ft-timer-layout { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.ft-timer-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 530px; padding: 30px; overflow: hidden; border: 0; background: linear-gradient(160deg, #e8f6f3, #fff5dc); text-align: center; }
.ft-timer-stage::before, .ft-timer-stage::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); }
.ft-timer-stage::before { width: 240px; height: 240px; left: -120px; top: -100px; }
.ft-timer-stage::after { width: 180px; height: 180px; right: -80px; bottom: -70px; }
.ft-ring-wrap { position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 1; }
.ft-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ft-ring-track { fill: rgba(255,255,255,.65); stroke: rgba(20,125,122,.12); stroke-width: 10; }
.ft-ring-progress { fill: none; stroke: var(--ft-teal); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.ft-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ft-timer-time { color: var(--ft-ink); font-size: clamp(52px, 9vw, 76px); font-weight: 900; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ft-timer-zone { max-width: 210px; margin-top: 12px; color: var(--ft-teal-dark); font-size: 17px; font-weight: 850; line-height: 1.3; }
.ft-timer-sub { position: relative; z-index: 1; max-width: 330px; margin: 20px 0 0; color: var(--ft-muted); font-size: 14px; line-height: 1.55; }
.ft-timer-controls { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.ft-mascot-stage { position: relative; min-height: 338px; margin: -8px -8px 20px; overflow: hidden; border: 1px solid #d8eee8; border-radius: 25px; background: radial-gradient(circle at 50% 28%, #ffffff 0%, #effbf7 44%, #fff4d8 100%); isolation: isolate; }
.ft-mascot-stage::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(#9ed8cd 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.ft-mascot-orbit { position: absolute; z-index: 0; border: 1px solid rgba(20,125,122,.15); border-radius: 50%; pointer-events: none; }
.ft-mascot-orbit-one { width: 250px; height: 250px; left: -145px; top: -115px; animation: ft-orbit-drift 9s ease-in-out infinite; }
.ft-mascot-orbit-two { width: 210px; height: 210px; right: -120px; bottom: -105px; border-color: rgba(239,185,78,.3); animation: ft-orbit-drift 11s ease-in-out infinite reverse; }
.ft-zubik-svg { position: relative; z-index: 1; display: block; width: 100%; height: 320px; overflow: visible; }
.ft-zubik-body { transform-origin: 210px 190px; animation: ft-zubik-float 3.8s ease-in-out infinite; }
.ft-zubik-shadow { transform-origin: 210px 323px; animation: ft-zubik-shadow-breathe 3.8s ease-in-out infinite; }
.ft-zubik-eye { transform-box: fill-box; transform-origin: center; animation: ft-zubik-blink 5.4s ease-in-out infinite; }
.ft-zubik-brush { transform-origin: 0 0; animation: ft-zubik-brush-idle 3.2s ease-in-out infinite; }
.ft-zubik-foam { opacity: 0; }
.ft-zubik-spark { transform-box: fill-box; transform-origin: center; animation: ft-zubik-sparkle 2.8s ease-in-out infinite; }
.ft-zubik-spark-two { animation-delay: .6s; }
.ft-zubik-spark-three { animation-delay: 1.1s; }
.ft-zubik-spark-four { animation-delay: 1.7s; }
.ft-mouth-brushing { display: none; }
.ft-mascot-stage[data-ft-mascot-state="brushing"] .ft-mouth-brushing,
.ft-mascot-stage[data-ft-mascot-state="paused"] .ft-mouth-brushing { display: block; }
.ft-mascot-stage[data-ft-mascot-state="brushing"] .ft-mouth-happy,
.ft-mascot-stage[data-ft-mascot-state="paused"] .ft-mouth-happy { display: none; }
.ft-mascot-stage[data-ft-mascot-state="brushing"] .ft-zubik-brush { animation: ft-zubik-brush-scrub 4.2s ease-in-out infinite; }
.ft-mascot-stage[data-ft-mascot-state="brushing"] .ft-zubik-foam { animation: ft-zubik-foam-bubbles 1.8s ease-in-out infinite; }
.ft-mascot-stage[data-ft-mascot-state="paused"] .ft-zubik-brush,
.ft-mascot-stage[data-ft-mascot-state="paused"] .ft-zubik-foam { animation-play-state: paused; }
.ft-mascot-stage[data-ft-mascot-state="done"] .ft-zubik-body { animation: ft-zubik-celebrate 1.3s ease-in-out infinite; }
.ft-mascot-stage[data-ft-mascot-state="done"] .ft-zubik-brush { animation: ft-zubik-brush-done .8s ease-out forwards; }
.ft-mascot-stage[data-ft-mascot-state="done"] .ft-zubik-foam { opacity: 0; }
.ft-mascot-bubble { position: absolute; z-index: 3; left: 50%; bottom: 13px; width: max-content; max-width: calc(100% - 28px); padding: 9px 15px; border: 1px solid rgba(20,125,122,.18); border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(24,59,64,.1); color: var(--ft-teal-dark); font-size: 13px; font-weight: 850; line-height: 1.25; text-align: center; transform: translateX(-50%); }
@keyframes ft-zubik-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes ft-zubik-shadow-breathe { 0%,100% { transform: scaleX(1); opacity: .13; } 50% { transform: scaleX(.88); opacity: .09; } }
@keyframes ft-zubik-blink { 0%,43%,47%,100% { transform: scaleY(1); } 45% { transform: scaleY(.12); } }
@keyframes ft-zubik-brush-idle { 0%,100% { transform: translate(4px,-2px) rotate(0deg); } 50% { transform: translate(-4px,2px) rotate(2deg); } }
@keyframes ft-zubik-brush-scrub {
  0%,8% { opacity: 0; transform: translate(95px,-55px) rotate(-16deg); }
  16% { opacity: 1; transform: translate(14px,-8px) rotate(-4deg); }
  25% { opacity: 1; transform: translate(0,0) rotate(0deg); }
  35% { transform: translate(-14px,5px) rotate(3deg); }
  45% { transform: translate(7px,-2px) rotate(-2deg); }
  55% { transform: translate(-10px,4px) rotate(2deg); }
  65% { transform: translate(6px,-2px) rotate(-2deg); }
  75%,84% { opacity: 1; transform: translate(0,0) rotate(0deg); }
  100% { opacity: 0; transform: translate(95px,-55px) rotate(-16deg); }
}
@keyframes ft-zubik-brush-done { to { opacity: 0; transform: translate(90px,-52px) rotate(-18deg); } }
@keyframes ft-zubik-foam-bubbles { 0%,100% { opacity: .25; transform: translate(0,4px); } 50% { opacity: 1; transform: translate(-5px,-7px); } }
@keyframes ft-zubik-sparkle { 0%,100% { opacity: .35; transform: scale(.75) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }
@keyframes ft-zubik-celebrate { 0%,100% { transform: translateY(0) rotate(-2deg) scale(1); } 50% { transform: translateY(-11px) rotate(2deg) scale(1.035); } }
@keyframes ft-orbit-drift { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(15px,10px) rotate(12deg); } }
.ft-zone-list { display: grid; gap: 12px; margin-top: 22px; }
.ft-zone-item { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--ft-line); border-radius: 16px; background: #fff; color: var(--ft-muted); transition: border-color .2s, background .2s, transform .2s; }
.ft-zone-item.is-active { border-color: var(--ft-teal); background: var(--ft-teal-soft); color: var(--ft-teal-dark); transform: translateX(5px); }
.ft-zone-item.is-done { color: var(--ft-teal); }
.ft-zone-number { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--ft-teal-soft); color: var(--ft-teal); font-weight: 900; }
.ft-zone-item strong { display: block; color: inherit; }
.ft-zone-item small { display: block; margin-top: 3px; color: var(--ft-muted); }
.ft-complete { text-align: center; }
.ft-complete h2 { color: var(--ft-ink); font-size: 34px; }
.ft-confetti { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.ft-confetti-piece { position: absolute; top: -20px; width: 11px; height: 18px; border-radius: 3px; animation: ft-confetti-fall 2.8s ease-in forwards; }
@keyframes ft-confetti-fall { to { transform: translate3d(0, 580px, 0) rotate(520deg); opacity: 0; } }

/* SOS */
.ft-sos-hero { padding: clamp(24px, 4vw, 40px); border: 1px solid #f0d5ce; border-radius: var(--ft-radius); background: linear-gradient(145deg, #fff, var(--ft-coral-soft)); }
.ft-sos-hero .ft-title { font-size: clamp(30px, 4vw, 46px); }
.ft-sos-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0 20px; }
.ft-sos-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 110px; padding: 15px 10px; border: 1px solid var(--ft-line); border-radius: 19px; background: #fff; color: var(--ft-ink); font: inherit; font-weight: 850; cursor: pointer; transition: transform .18s, border-color .18s, background .18s; }
.ft-sos-tab:hover { transform: translateY(-2px); border-color: var(--ft-teal); }
.ft-sos-tab[aria-selected="true"] { border-color: var(--ft-teal); background: var(--ft-teal-soft); color: var(--ft-teal-dark); box-shadow: inset 0 0 0 1px var(--ft-teal); }
.ft-sos-tab span:first-child { font-size: 28px; }
.ft-sos-panel { scroll-margin-top: 110px; }
.ft-alert { padding: 18px 20px; border-radius: 18px; font-size: 15px; line-height: 1.6; }
.ft-alert-danger { border: 1px solid #ecc3b9; background: var(--ft-coral-soft); color: #75372c; }
.ft-alert-warm { border: 1px solid #eed9a9; background: var(--ft-gold-soft); color: #624f2b; }
.ft-alert strong { display: block; margin-bottom: 5px; font-size: 17px; }
.ft-final-price-alert { margin-top: 22px; }
.ft-steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: ft-step; }
.ft-steps li { position: relative; margin: 0 0 14px; padding: 16px 18px 16px 58px; border: 1px solid var(--ft-line); border-radius: 16px; background: #fff; line-height: 1.55; counter-increment: ft-step; }
.ft-steps li::before { content: counter(ft-step); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ft-teal-soft); color: var(--ft-teal); font-weight: 900; }
.ft-call-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.ft-call-card { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--ft-line); border-radius: 18px; background: #fff; }
.ft-call-card strong { color: var(--ft-ink); }
.ft-call-card small { min-height: 38px; margin: 5px 0 12px; color: var(--ft-muted); line-height: 1.4; }
.ft-call-card .ft-btn { margin-top: auto; }
.ft-emergency-number { color: var(--ft-coral); font-size: 26px; font-weight: 900; }
.ft-subchoice { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.ft-subchoice .ft-btn[aria-pressed="true"] { background: var(--ft-teal-dark); color: #fff; }
.ft-elapsed { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--ft-ink); color: #fff; font-size: 18px; font-weight: 850; font-variant-numeric: tabular-nums; }

/* Filters */
.ft-filter { margin: 28px 0 18px; padding: 20px; border: 1px solid var(--ft-line); border-radius: 20px; background: linear-gradient(135deg, #f4fbf9, #fff); }
.ft-filter-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.ft-filter label { display: flex; flex-direction: column; gap: 7px; color: var(--ft-ink); font-size: 13px; font-weight: 850; }
.ft-filter-count { margin: 12px 0 0; color: var(--ft-muted); font-size: 13px; }
.ft-article { transition: opacity .2s, transform .2s; }

/* Downloads */
.ft-download-card { display: flex; flex-direction: column; padding: 24px; }
.ft-download-card h3 { margin: 15px 0 8px; color: var(--ft-ink); font-size: 21px; }
.ft-download-card p { color: var(--ft-muted); font-size: 14px; line-height: 1.55; }
.ft-download-card .ft-actions { margin-top: auto; padding-top: 12px; }
.ft-file-meta { color: var(--ft-teal); font-size: 12px; font-weight: 850; }
.ft-kit-hero { display: grid; grid-template-columns: 1fr 260px; overflow: hidden; }
.ft-kit-hero-copy { padding: clamp(24px, 4vw, 42px); }
.ft-kit-hero img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

/* Child mode */
.ft-child-launch { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0; padding: 22px 24px; border: 1px solid #eed9a9; border-radius: 22px; background: linear-gradient(135deg, var(--ft-gold-soft), #fff); }
.ft-child-launch strong { display: block; color: var(--ft-ink); font-size: 20px; }
.ft-child-launch p { margin: 5px 0 0; color: var(--ft-muted); font-size: 14px; }
.ft-child-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; }
.ft-child-backdrop { position: absolute; inset: 0; background: rgba(11,42,45,.78); backdrop-filter: blur(8px); }
.ft-child-dialog { position: relative; width: min(760px, 100%); max-height: min(850px, calc(100vh - 40px)); overflow: auto; border-radius: 32px; background: var(--ft-ivory); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.ft-child-close { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ft-ink); font-size: 25px; cursor: pointer; }
.ft-child-slide { min-height: 540px; padding: clamp(28px, 5vw, 52px); text-align: center; }
.ft-child-slide h2 { margin: 18px auto 12px; color: var(--ft-ink); font-size: clamp(28px, 5vw, 42px); line-height: 1.15; }
.ft-child-slide p { max-width: 560px; margin: 0 auto; color: var(--ft-muted); font-size: 20px; line-height: 1.55; }
.ft-child-illustration { display: grid; place-items: center; width: 220px; height: 220px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: 0 16px 45px rgba(24,59,64,.1); font-size: 100px; }
.ft-child-illustration img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; }
.ft-child-dots { display: flex; justify-content: center; gap: 8px; margin: 26px 0 20px; }
.ft-child-dot { width: 10px; height: 10px; border-radius: 50%; background: #d5dfdc; }
.ft-child-dot.is-active { width: 28px; border-radius: 999px; background: var(--ft-teal); }
.ft-child-nav { display: flex; justify-content: center; gap: 12px; }
body.ft-modal-open { overflow: hidden; }

/* Print */
.ft-print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; color: #000 !important; }
  .site-header, .legal-strip, .legal-nav, .alisa-chat-fab, .alisa-chat-teaser, .alisa-chat-panel, .cookie-banner, .ft-actions, .ft-filter, .ft-sos-tabs, .ft-child-launch, .ft-home-section, .ft-print-hide, .ft-timer-controls, .ft-call-grid, footer { display: none !important; }
  .ft-main { padding: 0 !important; }
  .ft-card, .ft-result, .ft-sos-hero { box-shadow: none !important; border: 1px solid #bbb !important; background: #fff !important; color: #000 !important; }
  .ft-result * { color: #000 !important; }
  .ft-result { position: static !important; }
  .ft-calculator, .ft-timer-layout, .ft-grid-2, .ft-grid-3 { display: block !important; }
  .ft-calculator > *, .ft-timer-layout > * { margin-bottom: 18px; }
  .ft-title { font-size: 28px !important; }
  .ft-print-only { display: block; }
  .ft-sos-panel[hidden] { display: block !important; }
  a { color: #000 !important; text-decoration: none !important; }
}

@media (max-width: 1050px) {
  .ft-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-sos-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-call-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ft-home-hero, .ft-calculator, .ft-timer-layout, .ft-kit-hero { grid-template-columns: 1fr; }
  .ft-home-mascot { min-height: 280px; }
  .ft-home-mascot img { object-position: center 42%; }
  .ft-result { position: static; }
  .ft-timer-stage { min-height: 480px; }
  .ft-kit-hero img { max-height: 280px; }
  .ft-tools-head { display: block; }
  .ft-tools-head p { margin-top: 8px; }
}
@media (max-width: 620px) {
  .ft-grid-2, .ft-grid-3, .ft-grid-4, .ft-form-grid, .ft-call-grid, .ft-filter-row { grid-template-columns: 1fr; }
  .ft-title { font-size: 34px; }
  .ft-home-copy { padding: 26px 22px; }
  .ft-home-copy h2 { font-size: 32px; }
  .ft-home-copy p { font-size: 16px; }
  .ft-home-mascot { min-height: 230px; }
  .ft-actions { align-items: stretch; }
  .ft-actions .ft-btn { flex: 1 1 100%; }
  .ft-sos-tabs { gap: 8px; }
  .ft-sos-tab { min-height: 92px; font-size: 13px; }
  .ft-timer-stage { min-height: 440px; padding: 22px 16px; }
  .ft-mascot-stage { min-height: 308px; margin-left: -4px; margin-right: -4px; }
  .ft-zubik-svg { height: 292px; }
  .ft-mascot-bubble { font-size: 12px; }
  .ft-ring-wrap { width: min(250px, 76vw); }
  .ft-child-launch { display: block; }
  .ft-child-launch .ft-btn { width: 100%; margin-top: 16px; }
  .ft-child-slide { min-height: 500px; padding: 30px 22px; }
  .ft-child-slide p { font-size: 18px; }
  .ft-child-illustration { width: 180px; height: 180px; }
  .ft-segmented { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-btn, .ft-tool-card, .ft-zone-item, .ft-ring-progress { transition: none !important; }
  .ft-confetti { display: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ft-zubik-body, .ft-zubik-shadow, .ft-zubik-eye, .ft-zubik-brush, .ft-zubik-foam, .ft-zubik-spark, .ft-mascot-orbit { animation: none !important; }
  .ft-zubik-brush { opacity: 1 !important; transform: none !important; }
  .ft-zubik-foam { display: none !important; }
}

/* Interactive video coach: the brush is positioned by the timer, not by a fragile CSS loop. */
.ft-coach-stage { min-height: 0; margin: -8px -8px 18px; padding: 14px 14px 16px; background: radial-gradient(circle at 50% 20%, #ffffff 0%, #effbf7 48%, #fff1dc 100%); }
.ft-coach-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.ft-coach-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--ft-teal-dark); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.ft-coach-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #d96855; box-shadow: 0 0 0 4px rgba(217,104,85,.12); animation: ft-coach-pulse 1.8s ease-in-out infinite; }
.ft-coach-step { color: var(--ft-muted); font-size: 11px; font-weight: 800; text-align: right; }
.ft-coach-svg { height: 326px; margin: 0 auto; }
.ft-coach-stage .ft-zubik-brush { animation: none !important; transform-origin: 0 0; transition: opacity .2s ease; }
.ft-coach-stage[data-ft-mascot-state="paused"] .ft-coach-brush { opacity: .62; }
.ft-coach-stage[data-ft-mascot-state="done"] .ft-coach-brush { opacity: 0; }
.ft-coach-foam { opacity: 0; transition: opacity .2s ease; }
.ft-coach-stage[data-ft-mascot-state="brushing"] .ft-coach-foam { opacity: 1; }
.ft-coach-stage[data-ft-mascot-state="paused"] .ft-coach-foam { opacity: .35; }
.ft-coach-tooth { fill: url(#ft-coach-tooth); stroke: #cde6e0; stroke-width: 2; transition: fill .2s ease, stroke .2s ease, opacity .2s ease; }
[data-ft-coach-tooth] { opacity: .94; transition: opacity .2s ease; }
[data-ft-coach-jaw="lower"] .ft-coach-tooth { fill: #e8f8f3; stroke: #9ed8cd; }
[data-ft-coach-tooth].is-coach-active { opacity: 1; }
[data-ft-coach-tooth].is-coach-current .ft-coach-tooth { fill: #fff6c9; stroke: #efb94e; stroke-width: 3; }
[data-ft-coach-tooth].is-coach-clean .ft-coach-tooth { fill: #ffffff; stroke: #73c8b7; }
[data-ft-coach-arrow] { transition: opacity .2s ease; }
[data-ft-coach-done] { transition: opacity .3s ease; }
.ft-coach-stage[data-ft-mascot-state="done"] [data-ft-coach-done] { opacity: 1; }
.ft-coach-spark { transform-box: fill-box; transform-origin: center; animation: ft-zubik-sparkle 2.8s ease-in-out infinite; }
.ft-coach-spark-two { animation-delay: .7s; }
.ft-coach-spark-three { animation-delay: 1.3s; }
.ft-coach-tooth-focus { width: max-content; max-width: 100%; margin: -2px auto 8px; padding: 5px 10px; border: 1px solid #eed9a9; border-radius: 999px; background: #fff8df; color: #8a6420; font-size: 10px; font-weight: 900; text-align: center; }
.ft-coach-tooth-focus.is-front { border-color: #efb94e; background: #fff1bd; color: #6e4d13; }
.ft-coach-surfaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: -2px; }
.ft-coach-surfaces span { padding: 6px 9px; border: 1px solid #d8eee8; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ft-muted); font-size: 10px; font-weight: 850; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ft-coach-surfaces span.is-active { border-color: #147d7a; background: #147d7a; color: #fff; }
.ft-coach-surfaces span.is-done { border-color: #9ed8cd; background: #e5f8f2; color: var(--ft-teal-dark); }
.ft-coach-progress { height: 5px; margin: 12px 12px 0; overflow: hidden; border-radius: 99px; background: #dceee8; }
.ft-coach-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #147d7a, #efb94e); transition: width .15s linear; }
.ft-coach-stage .ft-mascot-bubble { position: static; width: auto; max-width: 100%; margin: 11px auto 0; transform: none; font-size: 12px; }
.ft-video-card { margin: 0 0 20px; overflow: hidden; border: 1px solid #d8eee8; border-radius: 20px; background: #f5fbf8; }
.ft-video-card summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ft-video-card summary::-webkit-details-marker { display: none; }
.ft-video-card summary::marker { display: none; }
.ft-video-play { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #147d7a; color: #fff; font-size: 14px; }
.ft-video-card summary strong { display: block; color: var(--ft-ink); font-size: 14px; }
.ft-video-card summary small { display: block; margin-top: 3px; color: var(--ft-muted); font-size: 11px; }
.ft-video-arrow { margin-left: auto; color: var(--ft-teal); font-size: 22px; }
.ft-video-body { padding: 0 14px 14px; }
.ft-video-frame-wrap { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 14px; background: #183b40; }
.ft-video-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.ft-video-body p { margin: 10px 2px 0; color: var(--ft-muted); font-size: 11px; line-height: 1.5; }
.ft-video-body a { color: var(--ft-teal-dark); font-weight: 800; }
@keyframes ft-coach-pulse { 0%,100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@media (max-width: 620px) {
  .ft-coach-stage { margin-left: -4px; margin-right: -4px; padding: 12px 9px 14px; }
  .ft-coach-header { align-items: flex-start; }
  .ft-coach-badge { font-size: 9px; }
  .ft-coach-step { max-width: 115px; font-size: 10px; }
  .ft-coach-svg { height: 246px; }
  .ft-coach-surfaces { gap: 4px; }
  .ft-coach-surfaces span { padding: 5px 6px; font-size: 9px; }
  .ft-coach-stage .ft-mascot-bubble { font-size: 11px; }
  .ft-video-card summary { padding: 12px; gap: 9px; }
  .ft-video-card summary strong { font-size: 12px; }
  .ft-video-card summary small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-coach-live-dot, .ft-coach-spark { animation: none !important; }
  .ft-coach-stage .ft-zubik-brush { transform: none !important; }
  .ft-coach-tooth, [data-ft-coach-tooth], .ft-coach-surfaces span, .ft-coach-progress span { transition: none !important; }
}

/* Premium coach refresh: a quiet, self-contained visual scene rather than a wall of instructions. */
.ft-coach-hero { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-top: 20px; padding: 28px 32px; overflow: hidden; border: 1px solid #dceee7; border-radius: 30px; background: linear-gradient(135deg, #f2fbf7 0%, #fffdf7 58%, #fff1d5 100%); box-shadow: 0 18px 50px rgba(24,59,64,.07); }
.ft-coach-hero::after { content: ""; position: absolute; width: 260px; height: 260px; right: 18%; top: -205px; border: 1px solid rgba(20,125,122,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(20,125,122,.035), 0 0 0 58px rgba(20,125,122,.025); pointer-events: none; }
.ft-coach-hero > * { position: relative; z-index: 1; }
.ft-coach-hero .ft-title { max-width: 730px; margin: 14px 0 10px; font-size: clamp(32px, 4.5vw, 52px); }
.ft-coach-hero .ft-title em { color: #bd8126; font-style: normal; }
.ft-coach-hero .ft-lead { max-width: 650px; font-size: 16px; line-height: 1.55; }
.ft-hero-meta { display: flex; flex: 0 0 auto; gap: 8px; }
.ft-hero-meta span { min-width: 78px; padding: 12px 13px; border: 1px solid rgba(20,125,122,.12); border-radius: 17px; background: rgba(255,255,255,.72); color: var(--ft-muted); font-size: 11px; line-height: 1.25; text-align: center; }
.ft-hero-meta strong { display: block; margin-bottom: 3px; color: var(--ft-teal-dark); font-size: 25px; line-height: 1; }
.ft-timer-layout { grid-template-columns: minmax(0, 1.35fr) minmax(315px, .65fr); gap: 24px; align-items: start; margin-top: 26px; }
.ft-coach-panel { min-width: 0; padding: 18px; border: 0; border-radius: 32px; background: linear-gradient(145deg, #164d56 0%, #103b49 52%, #172e46 100%); box-shadow: 0 25px 65px rgba(16,59,73,.2); color: #fff; }
.ft-coach-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 3px 6px 16px; }
.ft-panel-eyebrow { display: block; color: var(--ft-teal); font-size: 10px; font-weight: 950; letter-spacing: .14em; line-height: 1.3; }
.ft-coach-panel .ft-panel-eyebrow { color: #9de5d2; }
.ft-coach-panel h2 { margin: 5px 0 0; color: #fff; font-size: 25px; letter-spacing: -.025em; }
.ft-panel-chip { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(183,246,223,.2); border-radius: 999px; background: rgba(255,255,255,.07); color: #d2f3e9; font-size: 11px; font-weight: 800; }
.ft-coach-stage { min-height: 0; margin: 0; padding: 14px 14px 16px; border: 1px solid rgba(155,236,214,.2); border-radius: 26px; background: #103b49; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -25px 60px rgba(4,25,42,.12); }
.ft-coach-header { margin-bottom: 5px; }
.ft-coach-badge { color: #c8f4e7; font-size: 10px; letter-spacing: .1em; }
.ft-coach-live-dot { background: #ffd66e; box-shadow: 0 0 0 4px rgba(255,214,110,.14); }
.ft-coach-step { color: #d4eee8; font-size: 11px; }
.ft-coach-svg { height: 360px; }
.ft-coach-stage .ft-coach-tooth { stroke: #b6ddd5; stroke-width: 1.6; }
.ft-coach-stage [data-ft-coach-jaw="lower"] .ft-coach-tooth { fill: url(#ft-coach-tooth-lower); }
.ft-coach-stage .ft-coach-tooth-shine { pointer-events: none; }
.ft-coach-stage [data-ft-coach-tooth].is-coach-active .ft-coach-tooth { stroke: #7de0c8; }
.ft-coach-stage [data-ft-coach-tooth].is-coach-current { filter: drop-shadow(0 0 7px rgba(255,214,110,.82)); }
.ft-coach-stage [data-ft-coach-tooth].is-coach-current .ft-coach-tooth { fill: #fff1ae; stroke: #ffd66e; stroke-width: 2.8; }
.ft-coach-stage [data-ft-coach-tooth].is-coach-clean .ft-coach-tooth { stroke: #72d7bd; }
.ft-coach-tooth-focus { margin: -1px auto 9px; padding: 6px 12px; border: 1px solid rgba(183,246,223,.2); background: rgba(255,255,255,.08); color: #d2eee5; font-size: 11px; }
.ft-coach-tooth-focus.is-front { border-color: rgba(255,214,110,.62); background: rgba(255,214,110,.16); color: #ffe8a6; }
.ft-coach-surfaces { gap: 7px; margin-top: 0; }
.ft-coach-surfaces span { padding: 7px 11px; border: 1px solid rgba(183,246,223,.18); background: rgba(255,255,255,.07); color: #b6d9d3; font-size: 11px; }
.ft-coach-surfaces span.is-active { border-color: #ffd66e; background: #ffd66e; color: #193b40; box-shadow: 0 5px 16px rgba(255,214,110,.18); }
.ft-coach-surfaces span.is-done { border-color: rgba(114,215,189,.45); background: rgba(114,215,189,.14); color: #b7f0dc; }
.ft-coach-progress { height: 6px; margin: 13px 6px 0; background: rgba(255,255,255,.14); }
.ft-coach-progress span { background: linear-gradient(90deg, #75e0c8, #ffd66e); }
.ft-coach-stage .ft-mascot-bubble { margin: 12px auto 0; padding: 12px 16px; border: 0; border-radius: 16px; background: #f4fffb; box-shadow: 0 8px 25px rgba(3,26,39,.18); color: #164d56; font-size: 13px; }
.ft-coach-panel .ft-video-card { margin: 14px 0 0; border: 0; border-radius: 18px; background: #f5fcf9; }
.ft-coach-panel .ft-video-card summary { padding: 14px 16px; }
.ft-coach-panel .ft-video-play { background: #1ba99d; }
.ft-coach-panel .ft-video-body { padding-bottom: 15px; }
.ft-timer-stage { min-height: 0; padding: 24px; overflow: hidden; border: 1px solid #dceee7; border-radius: 32px; background: linear-gradient(160deg, #fffdf8 0%, #f2faf6 100%); box-shadow: 0 20px 55px rgba(24,59,64,.1); text-align: left; }
.ft-timer-stage-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ft-timer-mode { color: var(--ft-muted); font-size: 10px; font-weight: 750; }
.ft-timer-stage .ft-ring-wrap { width: min(230px, 100%); margin: 9px auto 0; }
.ft-timer-stage .ft-ring-track { fill: rgba(255,255,255,.78); stroke: #dceee7; stroke-width: 9; }
.ft-timer-stage .ft-ring-progress { stroke: #1ba99d; stroke-width: 9; filter: drop-shadow(0 3px 3px rgba(27,169,157,.16)); }
.ft-timer-stage .ft-timer-time { font-size: 64px; }
.ft-timer-stage .ft-timer-zone { max-width: 180px; margin-top: 10px; font-size: 14px; }
.ft-timer-stage .ft-timer-sub { max-width: 270px; margin: 3px auto 18px; font-size: 13px; text-align: center; }
.ft-route-mini { position: relative; z-index: 1; padding-top: 16px; border-top: 1px solid #dceee7; }
.ft-route-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ft-ink); font-size: 14px; }
.ft-route-heading span { color: var(--ft-muted); font-size: 11px; font-weight: 750; }
.ft-route-note { margin: 5px 0 0; color: var(--ft-teal); font-size: 11px; line-height: 1.4; }
.ft-timer-stage .ft-zone-list { gap: 6px; margin-top: 11px; }
.ft-timer-stage .ft-zone-item { gap: 9px; padding: 9px 10px; border-color: #e1eee9; border-radius: 13px; background: rgba(255,255,255,.7); font-size: 12px; }
.ft-timer-stage .ft-zone-item.is-active { border-color: #1ba99d; background: #e6f8f1; transform: none; box-shadow: 0 4px 12px rgba(27,169,157,.08); }
.ft-timer-stage .ft-zone-item.is-done { color: var(--ft-teal); }
.ft-timer-stage .ft-zone-number { width: 26px; height: 26px; background: #e8f6f1; font-size: 11px; }
.ft-timer-stage .ft-zone-item.is-done .ft-zone-number { background: #1ba99d; color: #fff; }
.ft-timer-stage .ft-zone-item strong { font-size: 12px; }
.ft-timer-stage .ft-zone-item small { margin-top: 2px; font-size: 9px; line-height: 1.3; }
.ft-timer-stage .ft-timer-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.ft-timer-stage .ft-timer-controls .ft-btn-primary { grid-column: 1 / -1; min-height: 54px; border-radius: 16px; background: linear-gradient(135deg, #1ba99d, #147d7a); box-shadow: 0 12px 25px rgba(20,125,122,.22); font-size: 17px; }
.ft-timer-stage .ft-timer-controls .ft-btn-ghost { min-height: 43px; padding: 10px 12px; border-color: #d5e8e0; border-radius: 13px; font-size: 13px; }
.ft-sound-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; padding: 10px 12px; border: 1px solid #d5e8e0; border-radius: 13px; background: #fff; color: var(--ft-teal-dark); font-size: 13px; font-weight: 800; cursor: pointer; }
.ft-sound-toggle input { width: 16px; height: 16px; margin: 0; accent-color: #1ba99d; }
.ft-habit-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ft-habit-item { display: flex; align-items: center; gap: 12px; padding: 15px 17px; border: 1px solid #dceee7; border-radius: 19px; background: #fff; box-shadow: 0 8px 25px rgba(24,59,64,.04); }
.ft-habit-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 13px; background: #e8f7f1; color: #1ba99d; font-size: 20px; font-weight: 900; }
.ft-habit-item:nth-child(2) .ft-habit-symbol { background: #fff4d7; color: #bd8126; font-size: 15px; }
.ft-habit-item:nth-child(3) .ft-habit-symbol { background: #fff0ed; color: #d77d87; }
.ft-habit-item strong { display: block; color: var(--ft-ink); font-size: 14px; }
.ft-habit-item small { display: block; margin-top: 3px; color: var(--ft-muted); font-size: 12px; line-height: 1.35; }
.ft-parent-notes { max-width: 920px; margin-top: 34px; }
.ft-parent-notes-heading { margin-bottom: 13px; }
.ft-parent-notes-heading .ft-section-title { margin-top: 5px; font-size: 27px; }
.ft-parent-notes details { margin-top: 8px; padding: 0 18px; border: 1px solid #dceee7; border-radius: 16px; background: #fff; }
.ft-parent-notes summary { padding: 16px 0; color: var(--ft-ink); font-size: 14px; font-weight: 850; cursor: pointer; }
.ft-parent-notes details p { margin: 0 0 17px; color: var(--ft-muted); font-size: 14px; line-height: 1.6; }
.ft-timer-footer-actions { margin-top: 27px; }
.ft-timer-footer-actions .ft-note { font-size: 12px; }
@media (max-width: 1100px) {
  .ft-timer-layout { grid-template-columns: minmax(0, 1.15fr) minmax(295px, .85fr); gap: 18px; }
  .ft-coach-panel { padding: 13px; }
  .ft-coach-svg { height: 320px; }
  .ft-timer-stage { padding: 19px; }
  .ft-hero-meta { flex-direction: column; }
  .ft-hero-meta span { min-width: 94px; padding: 8px 11px; }
  .ft-hero-meta strong { display: inline; margin-right: 3px; font-size: 19px; }
}
@media (max-width: 860px) {
  .ft-coach-hero { align-items: start; flex-direction: column; gap: 18px; }
  .ft-hero-meta { flex-direction: row; }
  .ft-hero-meta span { min-width: 86px; }
  .ft-timer-layout { grid-template-columns: 1fr; }
  .ft-coach-panel { order: 0; }
  .ft-timer-stage { order: 1; }
  .ft-timer-stage .ft-ring-wrap { width: 220px; }
  .ft-timer-stage .ft-zone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-timer-stage .ft-timer-controls { max-width: 440px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 620px) {
  .ft-coach-hero { margin-top: 14px; padding: 22px 20px; border-radius: 24px; }
  .ft-coach-hero .ft-title { font-size: 34px; }
  .ft-coach-hero .ft-lead { font-size: 15px; }
  .ft-hero-meta { width: 100%; gap: 6px; }
  .ft-hero-meta span { flex: 1 1 0; min-width: 0; padding: 9px 6px; font-size: 10px; }
  .ft-hero-meta strong { font-size: 18px; }
  .ft-timer-layout { margin-top: 18px; gap: 16px; }
  .ft-coach-panel { padding: 9px; border-radius: 25px; }
  .ft-coach-panel-top { padding: 7px 5px 12px; }
  .ft-coach-panel h2 { font-size: 21px; }
  .ft-panel-chip { padding: 7px 8px; font-size: 9px; }
  .ft-coach-stage { padding: 10px 7px 12px; border-radius: 20px; }
  .ft-coach-svg { height: 246px; }
  .ft-coach-badge { font-size: 8px; }
  .ft-coach-step { max-width: 130px; font-size: 10px; }
  .ft-coach-tooth-focus { font-size: 10px; }
  .ft-coach-surfaces { gap: 4px; }
  .ft-coach-surfaces span { padding: 6px 7px; font-size: 9px; }
  .ft-coach-stage .ft-mascot-bubble { padding: 10px 11px; font-size: 11px; }
  .ft-coach-panel .ft-video-card summary { padding: 12px; }
  .ft-timer-stage { padding: 19px 16px; border-radius: 25px; }
  .ft-timer-stage .ft-zone-list { grid-template-columns: 1fr; }
  .ft-timer-stage .ft-zone-item small { font-size: 10px; }
  .ft-habit-strip { gap: 7px; }
  .ft-habit-item { display: block; padding: 12px 7px; text-align: center; }
  .ft-habit-symbol { margin: 0 auto 7px; width: 32px; height: 32px; border-radius: 11px; font-size: 17px; }
  .ft-habit-item strong { font-size: 11px; }
  .ft-habit-item small { font-size: 10px; }
  .ft-parent-notes { margin-top: 26px; }
  .ft-parent-notes details { padding: 0 14px; }
}
@media print {
  .ft-coach-hero, .ft-coach-panel, .ft-timer-stage, .ft-habit-item { box-shadow: none !important; border: 1px solid #bbb !important; background: #fff !important; color: #000 !important; }
  .ft-coach-panel h2, .ft-coach-panel .ft-panel-eyebrow, .ft-coach-badge, .ft-coach-step { color: #000 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-coach-live-dot, .ft-coach-spark { animation: none !important; }
  .ft-coach-stage [data-ft-coach-tooth].is-coach-current { filter: none; }
}
.ft-coach-quick-start { display: none; }
@media (max-width: 860px) {
  .ft-coach-quick-start { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 47px; margin: 0 0 11px; padding: 11px 16px; border: 1px solid rgba(255,214,110,.55); border-radius: 15px; background: linear-gradient(135deg, #ffd66e, #f3bc52); box-shadow: 0 8px 20px rgba(3,26,39,.16); color: #193b40; font: inherit; font-size: 15px; font-weight: 950; cursor: pointer; }
  .ft-coach-quick-start:active { transform: translateY(1px); }
  .ft-coach-quick-start:focus-visible { outline: 3px solid rgba(255,214,110,.65); outline-offset: 3px; }
}
@media (max-width: 620px) {
  .ft-coach-badge { font-size: 9px; }
  .ft-coach-surfaces span { padding: 6px 7px; font-size: 10px; }
  .ft-coach-stage .ft-mascot-bubble { font-size: 12px; }
}

/* Cosmic mission layer: original character, session-only stars and a final reward. */
.ft-coach-hero { border-color: rgba(117,224,200,.18); background-color: #102f46; background-image: radial-gradient(circle at 12% 28%, rgba(255,255,255,.35) 0 1px, transparent 1.5px), radial-gradient(circle at 78% 64%, rgba(255,214,110,.35) 0 1px, transparent 1.5px), linear-gradient(135deg, #102f46 0%, #164d56 58%, #45385f 100%); background-size: 83px 83px, 127px 127px, auto; box-shadow: 0 20px 55px rgba(16,47,70,.16); }
.ft-coach-hero::after { border-color: rgba(117,224,200,.16); box-shadow: 0 0 0 28px rgba(117,224,200,.035), 0 0 0 58px rgba(117,224,200,.02); }
.ft-coach-hero .ft-kicker { background: rgba(255,255,255,.09); color: #c8f4e7; }
.ft-coach-hero .ft-title { color: #fff; }
.ft-coach-hero .ft-title em { color: #ffd66e; }
.ft-coach-hero .ft-lead { color: #d1e7e5; }
.ft-hero-meta span { border-color: rgba(183,246,223,.18); background: rgba(255,255,255,.08); color: #c6dfdc; }
.ft-hero-meta strong { color: #ffd66e; }
.ft-space-hero { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 3px 5px 16px; }
.ft-space-mascot-wrap { width: 108px; height: 108px; overflow: hidden; border: 1px solid rgba(183,246,223,.28); border-radius: 28px; background: #081a35; box-shadow: 0 12px 30px rgba(3,20,38,.28), 0 0 0 5px rgba(117,224,200,.04); animation: ft-space-float 4.8s ease-in-out infinite; }
.ft-space-mascot { display: block; width: 100%; height: 100%; object-fit: cover; }
.ft-space-hero-copy { min-width: 0; }
.ft-space-hero-copy h2 { margin: 5px 0 5px; color: #fff; font-size: 25px; line-height: 1.12; letter-spacing: -.025em; }
.ft-space-hero-copy p { margin: 0; color: #b9d9d5; font-size: 12px; line-height: 1.45; }
.ft-space-score { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 2px 6px; min-width: 78px; padding: 11px 12px; border: 1px solid rgba(255,214,110,.26); border-radius: 20px; background: rgba(255,214,110,.08); text-align: center; }
.ft-space-score > span { color: #ffd66e; font-size: 19px; line-height: 1; }
.ft-space-score strong { color: #fff; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.ft-space-score small { grid-column: 1 / -1; color: #bdd9d5; font-size: 10px; }
.ft-space-star-track { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; margin: 12px 4px 0; padding: 10px 12px; border: 1px solid rgba(183,246,223,.14); border-radius: 17px; background: rgba(3,25,42,.2); }
.ft-space-star-track span { color: rgba(255,255,255,.16); font-size: 16px; line-height: 1; text-align: center; transform: scale(.9); transition: color .25s ease, transform .25s ease, text-shadow .25s ease; }
.ft-space-star-track span.is-earned { color: #ffd66e; text-shadow: 0 0 9px rgba(255,214,110,.58); transform: scale(1.12); }
.ft-planet { position: relative; overflow: visible; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); box-shadow: inset -5px -5px 9px rgba(4,26,42,.22), inset 3px 3px 6px rgba(255,255,255,.22); }
.ft-planet::before { content: ""; position: absolute; z-index: 0; left: -6px; right: -6px; top: 10px; height: 7px; border: 2px solid rgba(255,214,110,.65); border-radius: 50%; transform: rotate(-16deg); pointer-events: none; }
.ft-planet-1 { background: linear-gradient(145deg, #5bd7c1, #168b8a); }
.ft-planet-2 { background: linear-gradient(145deg, #b9a4ef, #6e5aa7); }
.ft-planet-3 { background: linear-gradient(145deg, #f5a4aa, #bd657e); }
.ft-planet-4 { background: linear-gradient(145deg, #79b9ed, #346c9f); }
.ft-timer-stage .ft-zone-item.is-active .ft-planet { box-shadow: 0 0 0 4px rgba(27,169,157,.12), 0 0 16px rgba(27,169,157,.26), inset -5px -5px 9px rgba(4,26,42,.18); }
.ft-timer-stage .ft-zone-item.is-done .ft-planet::before { border-color: #ffd66e; }
.ft-space-complete { margin-top: 14px; padding: 25px 20px 20px; border: 1px solid rgba(255,214,110,.5); border-radius: 24px; background: linear-gradient(145deg, #fff8df 0%, #f1fbf6 100%); box-shadow: 0 15px 35px rgba(3,25,42,.15); color: var(--ft-ink); }
.ft-space-complete .ft-panel-eyebrow { color: #a46e1c; }
.ft-space-complete h2 { margin: 8px 0 8px; color: var(--ft-ink); font-size: 27px; line-height: 1.15; }
.ft-space-complete p { margin: 8px auto; max-width: 440px; color: var(--ft-muted); font-size: 14px; line-height: 1.55; }
.ft-space-complete .ft-btn { margin-top: 7px; }
.ft-reward-orbit { position: relative; display: grid; place-items: center; width: 86px; height: 86px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(145deg, #1ba99d, #164d56); box-shadow: 0 12px 30px rgba(20,125,122,.24); }
.ft-reward-orbit span { color: #ffd66e; font-size: 47px; line-height: 1; text-shadow: 0 3px 10px rgba(255,214,110,.28); }
.ft-reward-orbit i { position: absolute; inset: -9px; border: 2px solid rgba(239,185,78,.65); border-radius: 50%; transform: rotate(-17deg) scaleY(.42); }
.ft-reward-orbit i::after { content: ""; position: absolute; right: 6px; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: #b9a4ef; box-shadow: 0 0 0 3px rgba(185,164,239,.18); }
.ft-reward-constellation { margin: 12px 0 3px; color: #efb94e; font-size: 21px; letter-spacing: .14em; }
@keyframes ft-space-float { 0%,100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-5px) rotate(.6deg); } }
@media (max-width: 1100px) {
  .ft-space-hero { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; }
  .ft-space-mascot-wrap { width: 90px; height: 90px; border-radius: 24px; }
  .ft-space-hero-copy h2 { font-size: 22px; }
  .ft-space-hero-copy p { font-size: 11px; }
  .ft-space-star-track { gap: 2px; padding-left: 9px; padding-right: 9px; }
  .ft-space-star-track span { font-size: 14px; }
}
@media (max-width: 620px) {
  .ft-space-hero { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 9px; padding: 5px 4px 12px; }
  .ft-space-mascot-wrap { width: 76px; height: 76px; border-radius: 20px; }
  .ft-space-hero-copy h2 { margin-top: 4px; font-size: 18px; }
  .ft-space-hero-copy p { display: none; }
  .ft-space-hero-copy .ft-panel-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .ft-space-score { min-width: 51px; padding: 8px 7px; border-radius: 16px; gap: 2px 4px; }
  .ft-space-score > span { font-size: 14px; }
  .ft-space-score strong { font-size: 21px; }
  .ft-space-score small { font-size: 8px; }
  .ft-space-star-track { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin: 10px 3px 0; padding: 9px 12px; }
  .ft-space-star-track span { font-size: 17px; }
  .ft-space-complete { padding: 22px 15px 17px; }
  .ft-space-complete h2 { font-size: 23px; }
  .ft-reward-orbit { width: 74px; height: 74px; }
  .ft-reward-orbit span { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-space-mascot-wrap { animation: none !important; }
  .ft-space-star-track span { transition: none !important; }
}

/* v5 cinema coach: official 3D video first, self-contained coach only as fallback. */
.ft-cinema-hero { border-color: #dceee7; background-color: #fff; background-image: radial-gradient(circle at 90% 10%, rgba(239,185,78,.18), transparent 34%), linear-gradient(135deg, #f1fbf7 0%, #fffdf8 62%, #fff3db 100%); background-size: auto; box-shadow: 0 18px 50px rgba(24,59,64,.08); }
.ft-cinema-hero::after { border-color: rgba(20,125,122,.12); box-shadow: 0 0 0 28px rgba(20,125,122,.035), 0 0 0 58px rgba(20,125,122,.02); }
.ft-cinema-hero .ft-kicker { background: #e8f6f3; color: #0d5c5b; }
.ft-cinema-hero .ft-title { color: #183b40; }
.ft-cinema-hero .ft-title em { color: #147d7a; }
.ft-cinema-hero .ft-lead { color: #587278; }
.ft-cinema-hero .ft-hero-meta span { border-color: rgba(20,125,122,.13); background: rgba(255,255,255,.8); color: #587278; }
.ft-cinema-hero .ft-hero-meta strong { color: #147d7a; }
.ft-cinema-panel { padding: 19px; border: 1px solid rgba(117,224,200,.18); background: linear-gradient(150deg, #123f4c 0%, #0c2d3e 58%, #101f34 100%); box-shadow: 0 25px 65px rgba(12,45,62,.22); }
.ft-cinema-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 3px 4px 16px; }
.ft-cinema-top h2 { margin: 5px 0 5px; color: #fff; font-size: 25px; line-height: 1.15; letter-spacing: -.025em; }
.ft-cinema-top p { margin: 0; color: #b9d9d5; font-size: 12px; }
.ft-cinema-score { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; flex: 0 0 auto; gap: 2px 6px; min-width: 79px; padding: 11px 12px; border: 1px solid rgba(255,214,110,.28); border-radius: 19px; background: rgba(255,214,110,.09); text-align: center; }
.ft-cinema-score > span { color: #ffd66e; font-size: 19px; line-height: 1; }
.ft-cinema-score strong { color: #fff; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.ft-cinema-score small { grid-column: 1 / -1; color: #d8e7e2; font-size: 10px; }
.ft-coach-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 0 12px; padding: 5px; border: 1px solid rgba(183,246,223,.13); border-radius: 16px; background: rgba(2,20,34,.25); }
.ft-coach-mode button { min-height: 42px; padding: 9px 12px; border: 0; border-radius: 11px; background: transparent; color: #b9d9d5; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.ft-coach-mode button[aria-pressed="true"] { background: #f4fffb; color: #124d56; box-shadow: 0 6px 18px rgba(2,20,34,.2); }
.ft-coach-mode button:focus-visible { outline: 3px solid rgba(255,214,110,.6); outline-offset: 2px; }
.ft-cinema-notice { margin: 0 0 12px; padding: 12px 14px; border: 1px solid rgba(255,214,110,.35); border-radius: 14px; background: rgba(255,214,110,.12); color: #ffedbd; font-size: 12px; line-height: 1.5; }
.ft-cinema-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(183,246,223,.17); border-radius: 22px; background: #071522; box-shadow: 0 18px 38px rgba(1,14,25,.3), inset 0 1px 0 rgba(255,255,255,.07); isolation: isolate; }
.ft-cinema-player, .ft-cinema-player > div, .ft-cinema-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.ft-cinema-player iframe { position: absolute; inset: 0; }
.ft-cinema-loading { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: radial-gradient(circle at 50% 40%, #164d56, #081a2b 72%); color: #fff; text-align: center; pointer-events: none; }
.ft-cinema-loading strong { font-size: 15px; }
.ft-cinema-loading small { color: #a9ccc7; font-size: 11px; }
.ft-cinema-loader { width: 42px; height: 42px; margin-bottom: 4px; border: 3px solid rgba(255,255,255,.18); border-top-color: #ffd66e; border-radius: 50%; animation: ft-cinema-spin 1s linear infinite; }
.ft-cinema-statusbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 4px 0; color: #b9d9d5; font-size: 10px; line-height: 1.4; }
.ft-cinema-statusbar span:last-child { flex: 0 0 auto; color: #ffd66e; font-weight: 900; letter-spacing: .05em; }
.ft-cinema-guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 12px; padding: 16px 17px; border-radius: 19px; background: linear-gradient(135deg, #f5fffb, #eaf8f2); color: #183b40; box-shadow: 0 10px 25px rgba(2,20,34,.14); }
.ft-cinema-guide-copy { min-width: 0; }
.ft-cinema-guide-copy > span { display: block; color: #147d7a; font-size: 10px; font-weight: 950; letter-spacing: .055em; text-transform: uppercase; }
.ft-cinema-guide-copy > strong { display: block; margin-top: 4px; color: #183b40; font-size: 20px; line-height: 1.18; letter-spacing: -.015em; }
.ft-cinema-guide-copy > p { margin: 6px 0 0; color: #587278; font-size: 12px; line-height: 1.45; }
.ft-cinema-steps { display: grid; gap: 5px; min-width: 132px; }
.ft-cinema-steps span { padding: 6px 9px; border: 1px solid #d7eae3; border-radius: 9px; background: rgba(255,255,255,.66); color: #6a8082; font-size: 10px; font-weight: 850; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ft-cinema-steps span.is-active { border-color: #147d7a; background: #147d7a; color: #fff; box-shadow: 0 4px 12px rgba(20,125,122,.16); }
.ft-cinema-steps span.is-done { border-color: #a5d8ca; background: #e4f5ee; color: #147d7a; }
.ft-cinema-source { margin: 11px 5px 0; color: #a9c6c2; font-size: 10px; line-height: 1.5; }
.ft-cinema-source a { color: #d9eee9; font-weight: 750; }
.ft-fallback-view { min-width: 0; }
.ft-cinema-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 5px 0; color: #d9eee9; font-size: 11px; font-weight: 800; }
.ft-cinema-progress-label small { color: #9dbcb8; font-size: 9px; font-weight: 600; }
.ft-cinema-star-track { margin-top: 7px; background: rgba(2,20,34,.25); }
.ft-cinema-complete { margin-top: 15px; }
.ft-video-sound-note { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 10px 12px; border: 1px solid #d5e8e0; border-radius: 13px; background: #f2faf6; color: #147d7a; font-size: 12px; font-weight: 800; }
.ft-cinema-controls .ft-planet { border-radius: 9px; box-shadow: none; text-shadow: none; }
.ft-cinema-controls .ft-planet::before { display: none; }
.ft-cinema-controls .ft-zone-item.is-active .ft-planet { box-shadow: 0 0 0 3px rgba(27,169,157,.12); }
.ft-cinema-controls .ft-zone-item.is-done .ft-planet { background: #1ba99d; }
@keyframes ft-cinema-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .ft-cinema-panel { padding: 14px; }
  .ft-cinema-top h2 { font-size: 22px; }
  .ft-cinema-guide { gap: 10px; padding: 13px; }
  .ft-cinema-guide-copy > strong { font-size: 17px; }
  .ft-cinema-steps { min-width: 116px; }
  .ft-cinema-steps span { padding: 5px 7px; font-size: 9px; }
}
@media (max-width: 860px) {
  .ft-cinema-panel { padding: 16px; }
  .ft-cinema-guide-copy > strong { font-size: 20px; }
  .ft-cinema-screen { border-radius: 20px; }
}
@media (max-width: 620px) {
  .ft-cinema-panel { padding: 10px; border-radius: 25px; }
  .ft-cinema-top { gap: 9px; padding: 5px 4px 12px; }
  .ft-cinema-top h2 { margin-top: 4px; font-size: 19px; }
  .ft-cinema-top p { font-size: 10px; }
  .ft-cinema-top .ft-panel-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .ft-cinema-score { min-width: 54px; padding: 8px 7px; border-radius: 15px; gap: 2px 4px; }
  .ft-cinema-score > span { font-size: 14px; }
  .ft-cinema-score strong { font-size: 21px; }
  .ft-cinema-score small { font-size: 8px; }
  .ft-coach-mode { margin-bottom: 9px; }
  .ft-coach-mode button { min-height: 39px; padding: 8px 6px; font-size: 11px; }
  .ft-cinema-screen { border-radius: 16px; }
  .ft-cinema-loading strong { font-size: 12px; }
  .ft-cinema-loading small { font-size: 9px; }
  .ft-cinema-loader { width: 32px; height: 32px; }
  .ft-cinema-statusbar { padding-top: 8px; font-size: 9px; }
  .ft-cinema-guide { grid-template-columns: 1fr; gap: 11px; margin-top: 10px; padding: 13px; border-radius: 16px; }
  .ft-cinema-guide-copy > strong { font-size: 18px; }
  .ft-cinema-guide-copy > p { font-size: 11px; }
  .ft-cinema-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; min-width: 0; }
  .ft-cinema-steps span { padding: 6px 4px; font-size: 8px; text-align: center; }
  .ft-cinema-source { margin-top: 9px; font-size: 9px; }
  .ft-cinema-progress-label { margin-top: 11px; font-size: 10px; }
  .ft-cinema-progress-label small { font-size: 8px; }
  .ft-video-sound-note { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-cinema-loader { animation: none !important; border-color: #ffd66e; }
  .ft-coach-mode button, .ft-cinema-steps span { transition: none !important; }
}
@media print {
  .ft-cinema-screen, .ft-coach-mode, .ft-cinema-statusbar, .ft-cinema-source { display: none !important; }
}

/* v6 Magic Timer-inspired original adventure: local WebGL, reveal and stickers. */
.ft-magic-hero { background-image: radial-gradient(circle at 88% 14%, rgba(185,164,239,.25), transparent 33%), radial-gradient(circle at 68% 100%, rgba(255,214,110,.24), transparent 38%), linear-gradient(135deg, #effbf7 0%, #fffdf8 48%, #f2edff 100%); }
.ft-magic-hero .ft-title em { color: #715aa6; }
.ft-magic-hero .ft-hero-meta strong { color: #715aa6; }
.ft-magic-panel { position: relative; border-color: rgba(185,164,239,.28); background: radial-gradient(circle at 10% 0%, rgba(59,174,164,.2), transparent 32%), radial-gradient(circle at 100% 42%, rgba(113,90,166,.25), transparent 42%), linear-gradient(150deg, #123f4c 0%, #171f3c 58%, #251d42 100%); }
.ft-magic-top h2 { font-size: 26px; }
.ft-character-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 11px; }
.ft-character-picker button { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 66px; padding: 9px 11px; border: 1px solid rgba(220,239,239,.16); border-radius: 17px; background: rgba(3,18,37,.28); color: #eefbf8; font: inherit; text-align: left; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ft-character-picker button:hover { transform: translateY(-2px); border-color: rgba(255,214,110,.45); }
.ft-character-picker button[aria-pressed="true"] { border-color: #fff; background: #f8fffc; color: #183b40; box-shadow: 0 9px 24px rgba(2,14,31,.26), 0 0 0 3px rgba(255,214,110,.18); }
.ft-character-picker button:focus-visible { outline: 3px solid #ffd66e; outline-offset: 2px; }
.ft-character-picker button > span:nth-child(2) { min-width: 0; }
.ft-character-picker strong { display: block; font-size: 14px; line-height: 1.2; }
.ft-character-picker small { display: block; overflow: hidden; margin-top: 4px; color: #b8d5d3; font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.ft-character-picker button[aria-pressed="true"] small { color: #657b80; }
.ft-character-picker button > i { display: none; position: absolute; right: 7px; top: 7px; width: 17px; height: 17px; border-radius: 50%; background: #1ba99d; color: #fff; font-size: 10px; font-style: normal; line-height: 17px; text-align: center; }
.ft-character-picker button[aria-pressed="true"] > i { display: block; }
.ft-character-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 14px; font-size: 22px; font-weight: 900; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.ft-character-zubik { background: linear-gradient(145deg, #ffe69b, #eab64e); color: #6d4b16; }
.ft-character-bunny { background: linear-gradient(145deg, #e5dcff, #a894dc); color: #594483; }
.ft-character-dino { background: linear-gradient(145deg, #c9f3cf, #64bd92); color: #205f50; }
.ft-magic-mode { margin-bottom: 10px; }
.ft-magic-mode button { min-height: 38px; font-size: 11px; }
.ft-magic-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid rgba(210,238,235,.2); border-radius: 23px; background: radial-gradient(circle at 50% 35%, #316d79, #101b35 75%); box-shadow: 0 20px 42px rgba(2,12,29,.34), inset 0 1px 0 rgba(255,255,255,.08); isolation: isolate; touch-action: pan-y; }
.ft-magic-mount, .ft-magic-mount canvas { display: block; width: 100%; height: 100%; }
.ft-magic-mount canvas { outline: none; }
.ft-magic-loading { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(circle at 50% 38%, #265e6c, #141b35 75%); color: #fff; text-align: center; pointer-events: none; }
.ft-magic-loading strong { font-size: 15px; }
.ft-magic-loading small { color: #b9d9d5; font-size: 11px; }
.ft-magic-loader { width: 42px; height: 42px; margin-bottom: 5px; border: 3px solid rgba(255,255,255,.18); border-top-color: #ffd66e; border-right-color: #b9a4ef; border-radius: 50%; animation: ft-magic-spin 1s linear infinite; }
.ft-magic-hud { position: absolute; z-index: 2; left: 13px; right: 13px; top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; }
.ft-magic-hud span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(11,26,49,.48); box-shadow: 0 4px 15px rgba(2,14,30,.12); color: #f4fffb; font-size: 9px; font-weight: 850; letter-spacing: .04em; backdrop-filter: blur(8px); }
.ft-magic-hud span:last-child { color: #ffe6a3; }
.ft-magic-pause { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; min-width: 170px; padding: 17px 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 21px; background: rgba(13,28,50,.74); box-shadow: 0 15px 40px rgba(2,13,30,.25); color: #fff; text-align: center; transform: translate(-50%, -50%); backdrop-filter: blur(10px); pointer-events: none; }
.ft-magic-pause > span { color: #ffd66e; font-size: 25px; }
.ft-magic-pause strong { margin-top: 4px; font-size: 18px; }
.ft-magic-pause small { margin-top: 5px; color: #c4dcda; font-size: 10px; }
.ft-magic-statusbar { padding-top: 9px; }
.ft-magic-statusbar span:last-child { color: #d3c6f4; }
.ft-magic-guide { margin-top: 10px; }
.ft-magic-reveal { position: relative; overflow: hidden; height: 166px; margin-top: 12px; border: 1px solid rgba(255,214,110,.26); border-radius: 20px; background: linear-gradient(135deg, #24324e, #164d56); box-shadow: 0 12px 28px rgba(2,15,31,.2); isolation: isolate; }
.ft-magic-reveal > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; clip-path: inset(0 100% 0 0); transition: clip-path .18s linear; }
.ft-magic-reveal-cover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 13px; background-color: #23334e; background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.09) 0 18px, transparent 19px), radial-gradient(circle at 80% 75%, rgba(185,164,239,.12) 0 28px, transparent 29px), linear-gradient(135deg, #233b52, #2d2750); color: #fff; clip-path: inset(0 0 0 0); transition: clip-path .18s linear; }
.ft-magic-reveal-cover > * { transition: opacity .2s ease; }
.ft-magic-reveal-cover > span { display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid rgba(255,214,110,.45); border-radius: 17px; background: rgba(255,214,110,.12); color: #ffd66e; font-size: 28px; font-weight: 950; }
.ft-magic-reveal-cover strong { display: block; font-size: 16px; }
.ft-magic-reveal-cover small { display: block; margin-top: 5px; color: #c5d9dc; font-size: 10px; }
.ft-magic-reveal-meter { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; }
.ft-magic-reveal-meter span, .ft-magic-reveal-meter strong { padding: 6px 9px; border-radius: 999px; background: rgba(12,25,44,.7); color: #fff; font-size: 9px; backdrop-filter: blur(7px); }
.ft-magic-reveal-meter strong { color: #ffe293; font-size: 11px; }
.ft-magic-reveal-line { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.13); }
.ft-magic-reveal-line > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #75e0c8, #ffd66e, #c4b1f1); }
.ft-sticker-album { margin-top: 13px; padding: 14px; border: 1px solid rgba(197,221,224,.15); border-radius: 20px; background: rgba(3,17,35,.24); }
.ft-sticker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ft-sticker-heading h3 { margin: 4px 0 0; color: #fff; font-size: 17px; }
.ft-sticker-heading > strong { display: grid; place-items: center; min-width: 52px; height: 37px; border: 1px solid rgba(255,214,110,.3); border-radius: 13px; background: rgba(255,214,110,.1); color: #ffd66e; font-size: 16px; }
.ft-sticker-album > p { margin: 6px 0 11px; color: #a9c8c7; font-size: 10px; line-height: 1.45; }
.ft-sticker-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ft-sticker-slot { min-width: 0; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.045); text-align: center; }
.ft-sticker-picture { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); }
.ft-sticker-picture > span { position: absolute; left: 50%; top: 50%; color: rgba(255,255,255,.25); font-size: 30px; font-weight: 950; transform: translate(-50%, -50%); }
.ft-sticker-picture > img { display: none; width: 100%; height: 100%; object-fit: cover; }
.ft-sticker-slot > strong { display: block; margin-top: 7px; color: #dcecea; font-size: 11px; }
.ft-sticker-slot > small { display: block; overflow: hidden; margin-top: 3px; color: #86aaa9; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ft-sticker-slot.is-earned { border-color: rgba(255,214,110,.55); background: rgba(255,214,110,.09); box-shadow: 0 7px 20px rgba(2,15,30,.16); }
.ft-sticker-slot.is-earned .ft-sticker-picture > img { display: block; animation: ft-sticker-arrive .55s cubic-bezier(.2,.8,.2,1) both; }
.ft-sticker-slot.is-earned .ft-sticker-picture > span { display: none; }
.ft-sticker-slot.is-earned > strong { color: #ffe4a0; }
.ft-sticker-slot.is-earned > small { color: #c4e8dc; }
.ft-magic-complete { text-align: center; }
.ft-magic-reward-badge { position: relative; width: 128px; height: 128px; margin: 0 auto 15px; }
.ft-magic-reward-badge > img { display: block; width: 100%; height: 100%; object-fit: cover; border: 5px solid #fff; border-radius: 35px; box-shadow: 0 12px 30px rgba(20,70,72,.2), 0 0 0 3px #efb94e; transform: rotate(-3deg); }
.ft-magic-reward-badge > span { position: absolute; right: -12px; top: -14px; display: grid; place-items: center; width: 43px; height: 43px; border: 3px solid #fff; border-radius: 50%; background: #efb94e; color: #fff; font-size: 23px; box-shadow: 0 7px 17px rgba(126,89,25,.2); }
.ft-magic-complete h2 { font-size: 25px; }
.ft-magic-zone { border-radius: 9px; color: #fff; box-shadow: none; }
.ft-magic-zone-1 { background: linear-gradient(145deg, #5bd7c1, #168b8a); }
.ft-magic-zone-2 { background: linear-gradient(145deg, #b9a4ef, #6e5aa7); }
.ft-magic-zone-3 { background: linear-gradient(145deg, #f5a4aa, #bd657e); }
.ft-magic-zone-4 { background: linear-gradient(145deg, #79b9ed, #346c9f); }
.ft-magic-controls .ft-zone-item.is-active .ft-magic-zone { box-shadow: 0 0 0 3px rgba(27,169,157,.13); }
.ft-magic-controls .ft-zone-item.is-done .ft-magic-zone { background: #1ba99d; }
.ft-magic-sound { display: inline-flex; }
@keyframes ft-magic-spin { to { transform: rotate(360deg); } }
@keyframes ft-sticker-arrive { 0% { opacity: 0; transform: scale(.55) rotate(-8deg); } 70% { transform: scale(1.08) rotate(2deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@media (max-width: 1100px) {
  .ft-character-picker button { gap: 7px; padding: 8px; }
  .ft-character-symbol { width: 34px; height: 34px; border-radius: 12px; font-size: 18px; }
  .ft-character-picker strong { font-size: 12px; }
  .ft-character-picker small { font-size: 8px; }
  .ft-magic-screen { aspect-ratio: 16 / 11; }
}
@media (max-width: 860px) {
  .ft-magic-screen { aspect-ratio: 16 / 9; }
  .ft-magic-reveal { height: 180px; }
}
@media (max-width: 620px) {
  .ft-magic-top h2 { font-size: 19px; }
  .ft-character-picker { gap: 5px; }
  .ft-character-picker button { justify-content: center; min-height: 61px; padding: 7px 4px; border-radius: 14px; text-align: center; }
  .ft-character-picker button > span:nth-child(2) { flex: 0 1 auto; }
  .ft-character-symbol { width: 30px; height: 38px; border-radius: 11px; font-size: 17px; }
  .ft-character-picker strong { font-size: 11px; }
  .ft-character-picker small { display: none; }
  .ft-character-picker button > i { right: 4px; top: 4px; width: 14px; height: 14px; font-size: 8px; line-height: 14px; }
  .ft-magic-mode button { font-size: 10px; }
  .ft-magic-screen { aspect-ratio: 4 / 3; border-radius: 17px; }
  .ft-magic-hud { left: 8px; right: 8px; top: 8px; }
  .ft-magic-hud span { padding: 6px 7px; font-size: 7px; }
  .ft-magic-statusbar span:last-child { display: none; }
  .ft-magic-reveal { height: 137px; border-radius: 16px; }
  .ft-magic-reveal-cover { gap: 9px; }
  .ft-magic-reveal-cover > span { width: 40px; height: 40px; border-radius: 14px; font-size: 23px; }
  .ft-magic-reveal-cover strong { font-size: 13px; }
  .ft-magic-reveal-cover small { max-width: 170px; font-size: 9px; }
  .ft-sticker-album { padding: 11px 9px; border-radius: 17px; }
  .ft-sticker-heading h3 { font-size: 15px; }
  .ft-sticker-slots { gap: 5px; }
  .ft-sticker-slot { padding: 5px; border-radius: 12px; }
  .ft-sticker-picture { border-radius: 9px; }
  .ft-sticker-slot > strong { margin-top: 5px; font-size: 10px; }
  .ft-sticker-slot > small { font-size: 7px; }
  .ft-magic-reward-badge { width: 110px; height: 110px; }
  .ft-magic-complete h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-magic-loader { animation: none !important; border-color: #ffd66e; }
  .ft-character-picker button, .ft-magic-reveal > img, .ft-magic-reveal-cover, .ft-magic-reveal-cover > * { transition: none !important; }
  .ft-sticker-slot.is-earned .ft-sticker-picture > img { animation: none !important; }
}
@media print {
  .ft-character-picker, .ft-magic-screen, .ft-magic-reveal, .ft-sticker-album, .ft-magic-statusbar { display: none !important; }
}

/* v7: full-visit calculator and illustrated child story */
.ft-calc-v7-hero *, .ft-calc-v7-workspace *, .ft-calc-v7-explain *, .ft-child-v7-launch *, .ft-child-v7-modal * { box-sizing: border-box; }
.ft-calc-v7-hero { position: relative; overflow: hidden; padding: 25px 0 70px; background: radial-gradient(circle at 85% 12%, rgba(122,220,193,.22), transparent 28%), radial-gradient(circle at 8% 90%, rgba(245,196,111,.13), transparent 32%), linear-gradient(135deg, #103f46, #075e60 62%, #0b706b); color: #fff; }
.ft-calc-v7-hero::after { content: ''; position: absolute; right: -110px; bottom: -210px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); pointer-events: none; }
.ft-calc-v7-hero .ft-breadcrumbs { position: relative; z-index: 1; margin-bottom: 43px; color: #b9ded7; }
.ft-calc-v7-hero .ft-breadcrumbs a { color: #e6f5f0; }
.ft-calc-v7-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); align-items: end; gap: 50px; }
.ft-calc-v7-kicker, .ft-calc-v7-result-kicker { display: inline-flex; margin-bottom: 15px; color: #a9e5d4; font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ft-calc-v7-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.ft-calc-v7-hero h1 em { color: #ffd98b; font-style: normal; }
.ft-calc-v7-hero-grid > div:first-child > p { max-width: 700px; margin: 24px 0 0; color: #d4ebe5; font-size: 18px; line-height: 1.6; }
.ft-calc-v7-doctor-card { display: flex; align-items: flex-start; gap: 15px; padding: 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 24px; background: rgba(255,255,255,.1); box-shadow: 0 18px 45px rgba(3,37,42,.18); backdrop-filter: blur(12px); }
.ft-calc-v7-doctor-icon { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; border-radius: 50%; background: #ffd98b; color: #164e50; font-weight: 950; }
.ft-calc-v7-doctor-card strong { display: block; color: #fff; font-size: 17px; line-height: 1.4; }
.ft-calc-v7-doctor-card p { margin: 8px 0 0; color: #c7e3dd; font-size: 13px; line-height: 1.5; }
.ft-calc-v7-workspace { padding: 54px 0 40px; background: #f2f6f2; }
.ft-calc-v7-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); align-items: start; gap: 24px; }
.ft-calc-v7-main { display: grid; min-width: 0; gap: 24px; }
.ft-calc-v7-card { min-width: 0; padding: 30px; border: 1px solid #dee8e1; border-radius: 28px; background: #fff; box-shadow: 0 12px 36px rgba(25,65,58,.055); }
.ft-calc-v7-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.ft-calc-v7-step { display: block; margin-bottom: 6px; color: #16877d; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ft-calc-v7-card-head h2 { margin: 0; color: #173f43; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.ft-calc-v7-card-head h2 > span { display: inline-grid; place-items: center; min-width: 29px; height: 29px; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: #e2f3ed; color: #11786f; font-size: 14px; vertical-align: 3px; }
.ft-calc-v7-local { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #eef7f2; color: #4f746d; font-size: 10px; font-weight: 750; }
.ft-calc-v7-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ft-calc-v7-fieldset > legend, .ft-calc-v7-field { display: block; width: 100%; margin-bottom: 10px; color: #385b5d; font-size: 13px; font-weight: 800; }
.ft-calc-v7-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ft-calc-v7-choice { position: relative; cursor: pointer; }
.ft-calc-v7-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ft-calc-v7-choice > span { display: block; min-height: 58px; padding: 14px 16px; border: 1.5px solid #dbe6df; border-radius: 15px; background: #fbfdfb; color: #264c50; font-size: 14px; font-weight: 800; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.ft-calc-v7-choice small { display: block; margin-top: 4px; color: #77908d; font-size: 10px; font-weight: 600; }
.ft-calc-v7-choice input:checked + span { border-color: #1b9b8d; background: #eaf7f1; box-shadow: inset 0 0 0 1px #1b9b8d; color: #0d625d; }
.ft-calc-v7-choice input:focus-visible + span { outline: 3px solid #f0b84d; outline-offset: 2px; }
.ft-calc-v7-divider { height: 1px; margin: 26px 0; background: #e7ede8; }
.ft-calc-v7-subtitle { margin: 0 0 17px; color: #173f43; font-size: 20px; }
.ft-calc-v7-service-grid { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: end; gap: 12px; }
.ft-calc-v7-service-grid > [hidden], .ft-calc-v7-tooth[hidden] { display: none !important; }
.ft-calc-v7-field select { width: 100%; height: 53px; margin-top: 9px; padding: 0 42px 0 14px; border: 1.5px solid #d9e5de; border-radius: 14px; background: #fbfdfb; color: #173f43; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.ft-calc-v7-field select:focus-visible, .ft-calc-v7-stepper input:focus-visible { outline: 3px solid rgba(27,155,141,.25); border-color: #16877d; }
.ft-calc-v7-stepper { display: grid; grid-template-columns: 42px 1fr 42px; height: 53px; margin-top: 9px; overflow: hidden; border: 1.5px solid #d9e5de; border-radius: 14px; background: #fbfdfb; }
.ft-calc-v7-stepper button { border: 0; background: #edf5f0; color: #146f68; font-size: 22px; font-weight: 700; cursor: pointer; }
.ft-calc-v7-stepper button:hover { background: #dceee6; }
.ft-calc-v7-stepper input { min-width: 0; width: 100%; border: 0; background: transparent; color: #173f43; font: inherit; font-size: 17px; font-weight: 850; text-align: center; appearance: textfield; }
.ft-calc-v7-stepper input::-webkit-inner-spin-button { appearance: none; }
.ft-calc-v7-tooth { margin-top: 17px; }
.ft-calc-v7-tooth .ft-calc-v7-choice > span { min-height: 46px; padding: 11px 14px; }
.ft-calc-v7-service-hint { min-height: 52px; margin-top: 16px; padding: 12px 14px; border-left: 3px solid #75bbaa; border-radius: 0 11px 11px 0; background: #f1f7f3; color: #5b7572; font-size: 12px; line-height: 1.5; }
.ft-calc-v7-add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 15px; border: 0; border-radius: 15px; background: linear-gradient(135deg, #138d81, #0d6f6b); box-shadow: 0 9px 20px rgba(13,111,107,.18); color: #fff; font: inherit; font-size: 15px; font-weight: 850; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.ft-calc-v7-add:hover { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(13,111,107,.24); }
.ft-calc-v7-add > span { font-size: 23px; font-weight: 500; line-height: 1; }
.ft-calc-v7-add-status { min-height: 18px; margin: 8px 0 -8px; color: #36766b; font-size: 11px; text-align: center; }
.ft-calc-v7-extras { margin-top: 25px; border: 1px solid #e0e9e3; border-radius: 18px; background: #fafcf9; }
.ft-calc-v7-extras > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 18px; color: #254d50; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
.ft-calc-v7-extras > summary::-webkit-details-marker { display: none; }
.ft-calc-v7-extras > summary b { display: block; margin-bottom: 3px; color: #788e89; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.ft-calc-v7-summary-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e5f1ea; color: #197c70; font-size: 20px; transition: transform .18s ease; }
.ft-calc-v7-extras[open] .ft-calc-v7-summary-plus { transform: rotate(45deg); }
.ft-calc-v7-extras-body { padding: 0 18px 18px; }
.ft-calc-v7-extras-body > p { margin: 0 0 15px; color: #718783; font-size: 11px; line-height: 1.5; }
.ft-calc-v7-extras-body .ft-calc-v7-fieldset > legend { margin-bottom: 6px; font-size: 11px; }
.ft-calc-v7-check { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 41px; padding: 8px 4px; border-bottom: 1px solid #e8eee9; color: #476561; font-size: 12px; cursor: pointer; }
.ft-calc-v7-check:last-child { border-bottom: 0; }
.ft-calc-v7-check input { width: 17px; height: 17px; margin: 0; accent-color: #16877d; }
.ft-calc-v7-check b { color: #274e50; font-size: 12px; }
.ft-calc-v7-reset { padding: 8px 11px; border: 1px solid #dce7e0; border-radius: 10px; background: #fff; color: #6b817d; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.ft-calc-v7-reset:hover { border-color: #c58b84; color: #a34e45; }
.ft-calc-v7-empty { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px dashed #cfdfd5; border-radius: 17px; background: #f8fbf8; }
.ft-calc-v7-empty[hidden] { display: none !important; }
.ft-calc-v7-empty > span { display: grid; place-items: center; flex: 0 0 auto; width: 41px; height: 41px; border-radius: 13px; background: #e4f1e9; color: #4c8b7c; font-size: 24px; }
.ft-calc-v7-empty strong { color: #385c5b; font-size: 14px; }
.ft-calc-v7-empty p { margin: 4px 0 0; color: #7a8f8b; font-size: 11px; line-height: 1.5; }
.ft-calc-v7-plan-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ft-calc-v7-plan-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 13px; padding: 14px 13px 14px 16px; border: 1px solid #e0e9e2; border-radius: 15px; background: #fbfdfb; }
.ft-calc-v7-plan-item strong { display: block; color: #284e50; font-size: 13px; }
.ft-calc-v7-plan-item div > span { display: block; margin-top: 4px; color: #7b8f8b; font-size: 10px; }
.ft-calc-v7-plan-item > b { color: #176e67; font-size: 12px; white-space: nowrap; }
.ft-calc-v7-plan-item > b.is-after { color: #aa6856; }
.ft-calc-v7-plan-item > button { width: 32px; height: 32px; border: 0; border-radius: 10px; background: #f0f4f0; color: #879893; font-size: 20px; cursor: pointer; }
.ft-calc-v7-plan-item > button:hover { background: #fae9e5; color: #ad5b50; }
.ft-calc-v7-result { position: sticky; top: 94px; min-width: 0; max-height: calc(100vh - 112px); overflow: auto; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: radial-gradient(circle at 100% 0%, rgba(108,205,179,.2), transparent 30%), linear-gradient(150deg, #123f46, #075c5d); box-shadow: 0 20px 50px rgba(14,63,63,.18); color: #fff; scrollbar-width: thin; }
.ft-calc-v7-result-kicker { margin-bottom: 7px; font-size: 9px; }
.ft-calc-v7-result h2 { margin: 0; color: #fff; font-size: 24px; }
.ft-calc-v7-amount { display: block; margin: 20px 0 8px; color: #ffe19c; font-size: clamp(31px, 3.2vw, 43px); font-weight: 900; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.ft-calc-v7-range-note { margin: 0 0 20px; color: #c1dfd7; font-size: 11px; line-height: 1.5; }
.ft-calc-v7-unknown { margin: 0 0 16px; padding: 13px; border: 1px solid rgba(255,211,155,.25); border-radius: 13px; background: rgba(255,211,155,.09); }
.ft-calc-v7-unknown[hidden] { display: none !important; }
.ft-calc-v7-unknown strong { color: #ffe0a6; font-size: 12px; }
.ft-calc-v7-unknown p { margin: 5px 0 0; color: #d8e7df; font-size: 10px; line-height: 1.5; }
.ft-calc-v7-breakdown { border-top: 1px solid rgba(255,255,255,.14); }
.ft-calc-v7-breakdown-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft-calc-v7-breakdown-row strong { display: block; color: #eff9f5; font-size: 11px; line-height: 1.35; }
.ft-calc-v7-breakdown-row span { display: block; margin-top: 3px; color: #a9cdc4; font-size: 9px; line-height: 1.35; }
.ft-calc-v7-breakdown-row > b { align-self: center; color: #fff; font-size: 11px; white-space: nowrap; }
.ft-calc-v7-breakdown-row.is-after > b { color: #ffd2ab; }
.ft-calc-v7-final-note { margin-top: 19px; padding: 15px; border-radius: 14px; background: #fff4d9; color: #264c4c; }
.ft-calc-v7-final-note strong { display: block; font-size: 12px; line-height: 1.45; }
.ft-calc-v7-final-note span { display: block; margin-top: 3px; color: #657c72; font-size: 10px; }
.ft-calc-v7-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.ft-calc-v7-actions button { min-height: 44px; padding: 10px; border-radius: 12px; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.ft-calc-v7-copy { border: 1px solid #fff; background: #fff; color: #145c5a; }
.ft-calc-v7-print { border: 1px solid rgba(255,255,255,.32); background: transparent; color: #fff; }
.ft-calc-v7-copy-status { display: block; min-height: 16px; margin-top: 6px; color: #c9e7df; font-size: 9px; text-align: center; }
.ft-calc-v7-book { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 5px; padding: 12px 0; color: #ffe19c; font-size: 12px; font-weight: 850; text-decoration: none; }
.ft-calc-v7-price-date { margin: 4px 0 0; color: #8dbab0; font-size: 9px; text-align: center; }
.ft-calc-v7-source { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 24px; padding: 21px 25px; border: 1px solid #dce7df; border-radius: 20px; background: #fff; }
.ft-calc-v7-source strong { color: #315654; font-size: 13px; }
.ft-calc-v7-source p { margin: 4px 0 0; color: #7a8f88; font-size: 11px; line-height: 1.5; }
.ft-calc-v7-source a { flex: 0 0 auto; color: #14796f; font-size: 12px; font-weight: 800; text-decoration: none; }
.ft-calc-v7-explain { padding: 35px 0 70px; background: #f2f6f2; }
.ft-calc-v7-explain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.ft-calc-v7-explain-grid article { position: relative; overflow: hidden; padding: 25px; border: 1px solid #dee8e0; border-radius: 22px; background: rgba(255,255,255,.7); }
.ft-calc-v7-explain-grid article > span { position: absolute; right: 16px; top: 7px; color: #e3eee6; font-size: 50px; font-weight: 950; }
.ft-calc-v7-explain-grid h2 { position: relative; margin: 0 0 10px; color: #264d4e; font-size: 18px; }
.ft-calc-v7-explain-grid p { position: relative; margin: 0; color: #708681; font-size: 12px; line-height: 1.6; }
.ft-calc-v7-faq { margin-top: 40px; }
.ft-calc-v7-faq > h2 { color: #244b4d; font-size: 28px; }
.ft-calc-v7-faq details { border-color: #d9e5dc; border-radius: 15px; background: #fff; }

/* Child launch: a small invitation to the full illustrated story. */
.ft-child-v7-launch { position: relative; display: grid; grid-template-columns: 125px minmax(0, 1fr) auto; align-items: center; gap: 25px; overflow: hidden; margin: 25px 0 35px; padding: 25px 27px; border: 1px solid #d4e8dd; border-radius: 28px; background: radial-gradient(circle at 90% 0%, rgba(255,215,137,.32), transparent 30%), linear-gradient(135deg, #e7f6ed, #f8f3df); box-shadow: 0 14px 35px rgba(32,81,65,.08); }
.ft-child-v7-launch-art { position: relative; width: 115px; height: 105px; }
.ft-child-v7-launch-tooth { position: absolute; left: 25px; top: 24px; width: 66px; height: 70px; border-radius: 45% 45% 38% 38%; background: linear-gradient(145deg, #fff, #e6f5ef); box-shadow: 0 10px 18px rgba(39,93,74,.14); transform: rotate(-5deg); }
.ft-child-v7-launch-tooth::before, .ft-child-v7-launch-tooth::after { content: ''; position: absolute; bottom: -13px; width: 29px; height: 35px; border-radius: 0 0 50% 50%; background: #edf8f3; }
.ft-child-v7-launch-tooth::before { left: 5px; transform: rotate(12deg); }
.ft-child-v7-launch-tooth::after { right: 5px; transform: rotate(-12deg); }
.ft-child-v7-launch-crown { position: absolute; z-index: 2; left: 34px; top: 4px; width: 53px; height: 35px; background: linear-gradient(145deg, #ffe293, #eeb94f); clip-path: polygon(0 28%, 22% 54%, 37% 0, 59% 52%, 83% 3%, 100% 33%, 90% 100%, 10% 100%); transform: rotate(-5deg); }
.ft-child-v7-launch-art i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #efae7d; }
.ft-child-v7-launch-art i:nth-of-type(1) { left: 4px; top: 27px; }
.ft-child-v7-launch-art i:nth-of-type(2) { right: 2px; top: 52px; width: 11px; height: 11px; background: #73c5b0; }
.ft-child-v7-launch-art i:nth-of-type(3) { left: 9px; bottom: 2px; width: 6px; height: 6px; background: #e8bc58; }
.ft-child-v7-launch-copy { position: relative; z-index: 1; }
.ft-child-v7-launch-copy > span { color: #338676; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ft-child-v7-launch-copy h2 { margin: 7px 0 8px; color: #1e504d; font-size: 24px; line-height: 1.2; }
.ft-child-v7-launch-copy p { max-width: 600px; margin: 0; color: #617e73; font-size: 13px; line-height: 1.55; }
.ft-child-v7-launch-button { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; min-height: 55px; padding: 13px 18px 13px 22px; border: 0; border-radius: 16px; background: #147f74; box-shadow: 0 9px 20px rgba(20,127,116,.2); color: #fff; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; white-space: nowrap; }
.ft-child-v7-launch-button b { font-size: 20px; }
.ft-child-v7-launch-button:hover { background: #0e6e65; }

/* Child story: self-contained illustrations, no external media. */
.ft-child-v7-modal[hidden], .ft-child-v7-slide[hidden] { display: none !important; }
.ft-child-v7-modal { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 16px; }
.ft-child-v7-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(8,38,42,.76); backdrop-filter: blur(12px); cursor: default; }
.ft-child-v7-dialog { position: relative; display: flex; flex-direction: column; width: min(1060px, 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.7); border-radius: 34px; background: #fffdf8; box-shadow: 0 35px 100px rgba(3,28,33,.38); }
.ft-child-v7-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; padding: 18px 25px 12px; }
.ft-child-v7-brand { display: flex; align-items: center; gap: 12px; }
.ft-child-v7-brand strong { display: block; color: #194c4c; font-size: 15px; }
.ft-child-v7-brand small { display: block; margin-top: 3px; color: #81978e; font-size: 10px; }
.ft-child-v7-mini-crown { width: 37px; height: 31px; background: linear-gradient(145deg, #ffe79d, #eeb94e); clip-path: polygon(0 25%, 22% 53%, 37% 0, 59% 52%, 83% 3%, 100% 30%, 90% 100%, 10% 100%); }
.ft-child-v7-close { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid #dce8df; border-radius: 50%; background: #f5f9f5; color: #426761; font: inherit; font-size: 27px; line-height: 1; cursor: pointer; }
.ft-child-v7-close:hover { background: #e9f3ec; }
.ft-child-v7-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); flex: 0 0 auto; margin: 0 30px; padding: 6px 0 13px; }
.ft-child-v7-progress-line { position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; overflow: hidden; border-radius: 99px; background: #e0e9e2; }
.ft-child-v7-progress-line i { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38ac96, #efbf64); transition: width .35s ease; }
.ft-child-v7-progress button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; border: 0; background: transparent; color: #8a9c95; font: inherit; cursor: pointer; }
.ft-child-v7-progress button > span { display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid #fffdf8; border-radius: 50%; background: #e2eae4; color: #71877f; font-size: 11px; font-weight: 900; box-shadow: 0 0 0 1px #e2eae4; }
.ft-child-v7-progress button > small { font-size: 9px; font-weight: 700; }
.ft-child-v7-progress button.is-active > span { background: #16897d; box-shadow: 0 0 0 1px #16897d, 0 5px 12px rgba(22,137,125,.2); color: #fff; }
.ft-child-v7-progress button.is-active > small { color: #14776e; }
.ft-child-v7-slides { flex: 1 0 auto; }
.ft-child-v7-slide { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: 38px; min-height: 455px; margin: 0 18px; padding: 20px 25px 25px; border-radius: 27px; animation: ft-child-v7-scene-in .38s cubic-bezier(.2,.75,.25,1) both; }
.ft-child-v7-slide.is-mint { background: linear-gradient(145deg, #eaf6ee, #f7f5e8); }
.ft-child-v7-slide.is-sunny { background: linear-gradient(145deg, #fff4d9, #edf5e9); }
.ft-child-v7-slide.is-coral { background: linear-gradient(145deg, #fff0e9, #edf6ef); }
.ft-child-v7-slide.is-celebrate { background: linear-gradient(145deg, #eee9fb, #fff3dc); }
.ft-child-v7-visual { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; }
.ft-child-v7-visual::before { content: ''; position: absolute; inset: 10px -8px -9px 11px; border-radius: 30px; background: rgba(255,255,255,.6); transform: rotate(2deg); }
.ft-child-v7-visual img { position: relative; display: block; width: 100%; height: 100%; border: 5px solid rgba(255,255,255,.9); border-radius: 30px; object-fit: cover; box-shadow: 0 20px 45px rgba(37,79,65,.16); }
.ft-child-v7-scene-number { position: absolute; z-index: 2; left: -9px; top: -9px; display: grid; place-items: center; width: 49px; height: 49px; border: 4px solid #fff; border-radius: 17px; background: #efbb5d; box-shadow: 0 7px 16px rgba(95,71,27,.18); color: #fff; font-size: 21px; font-weight: 950; transform: rotate(-7deg); }
.ft-child-v7-copy { min-width: 0; padding-right: 10px; }
.ft-child-v7-eyebrow { display: block; margin-bottom: 12px; color: #248272; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ft-child-v7-copy h2 { margin: 0 0 16px; color: #174e4c; font-size: clamp(30px, 3.5vw, 43px); line-height: 1.08; letter-spacing: -.035em; }
.ft-child-v7-lead { margin: 0; color: #526f68; font-size: 17px; line-height: 1.58; }
.ft-child-v7-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.ft-child-v7-chips span { padding: 8px 11px; border: 1px solid rgba(58,132,111,.15); border-radius: 999px; background: rgba(255,255,255,.68); color: #447268; font-size: 10px; font-weight: 750; }
.ft-child-v7-reassure { margin: 17px 0 0; padding-left: 13px; border-left: 3px solid #e8b75e; color: #7c8270; font-size: 11px; line-height: 1.55; }
.ft-child-v7-reward-links { display: grid; gap: 8px; margin-top: 18px; }
.ft-child-v7-reward-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(49,123,106,.17); border-radius: 13px; background: rgba(255,255,255,.76); color: #176e65; font-size: 12px; font-weight: 850; text-decoration: none; }
.ft-child-v7-reward-links a:hover { background: #fff; border-color: #4b9f8d; }
.ft-child-v7-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; flex: 0 0 auto; padding: 17px 25px 21px; }
.ft-child-v7-controls button { min-height: 48px; border-radius: 14px; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.ft-child-v7-prev { padding: 10px 18px; border: 1px solid #d8e5dc; background: #fff; color: #52736b; }
.ft-child-v7-prev:disabled { opacity: .38; cursor: default; }
.ft-child-v7-next { min-width: 145px; padding: 10px 20px; border: 0; background: linear-gradient(135deg, #168c7f, #0e6d68); box-shadow: 0 8px 18px rgba(14,109,104,.19); color: #fff; }
.ft-child-v7-controls > p { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; color: #82948c; font-size: 10px; text-align: center; }
.ft-child-v7-controls > p > span { width: 7px; height: 7px; border-radius: 50%; background: #76bca7; }
.ft-child-v7-modal button:focus-visible, .ft-child-v7-modal a:focus-visible { outline: 3px solid #e9b44f; outline-offset: 3px; }
@keyframes ft-child-v7-scene-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .ft-calc-v7-layout { grid-template-columns: 1fr; }
  .ft-calc-v7-result { position: static; max-height: none; overflow: visible; }
  .ft-calc-v7-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft-calc-v7-doctor-card { max-width: 650px; }
  .ft-child-v7-launch { grid-template-columns: 100px minmax(0, 1fr); }
  .ft-child-v7-launch-button { grid-column: 2; justify-self: start; }
  .ft-child-v7-slide { gap: 25px; padding-left: 18px; padding-right: 18px; }
  .ft-child-v7-lead { font-size: 15px; }
}
@media (max-width: 720px) {
  .ft-calc-v7-hero { padding: 18px 0 45px; }
  .ft-calc-v7-hero .ft-breadcrumbs { margin-bottom: 29px; }
  .ft-calc-v7-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .ft-calc-v7-hero-grid > div:first-child > p { margin-top: 18px; font-size: 15px; }
  .ft-calc-v7-doctor-card { padding: 18px; border-radius: 19px; }
  .ft-calc-v7-doctor-card strong { font-size: 14px; }
  .ft-calc-v7-workspace { padding: 25px 0; }
  .ft-calc-v7-layout, .ft-calc-v7-main { gap: 15px; }
  .ft-calc-v7-card, .ft-calc-v7-result { padding: 21px; border-radius: 22px; }
  .ft-calc-v7-card-head { margin-bottom: 20px; }
  .ft-calc-v7-card-head h2 { font-size: 23px; }
  .ft-calc-v7-local { display: none; }
  .ft-calc-v7-service-grid { grid-template-columns: 1fr; }
  .ft-calc-v7-choice > span { padding: 12px; font-size: 12px; }
  .ft-calc-v7-choice small { font-size: 9px; }
  .ft-calc-v7-plan-item { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px; }
  .ft-calc-v7-plan-item > b { grid-column: 1; grid-row: 2; }
  .ft-calc-v7-plan-item > button { grid-column: 2; grid-row: 1 / 3; }
  .ft-calc-v7-amount { font-size: 34px; }
  .ft-calc-v7-source { align-items: flex-start; flex-direction: column; gap: 13px; padding: 18px; }
  .ft-calc-v7-explain { padding: 10px 0 45px; }
  .ft-calc-v7-explain-grid { grid-template-columns: 1fr; }
  .ft-child-v7-launch { grid-template-columns: 75px minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 22px; }
  .ft-child-v7-launch-art { width: 75px; transform: scale(.72); transform-origin: left center; }
  .ft-child-v7-launch-copy h2 { font-size: 20px; }
  .ft-child-v7-launch-copy p { font-size: 12px; }
  .ft-child-v7-launch-button { grid-column: 1 / 3; justify-content: space-between; width: 100%; }
  .ft-child-v7-modal { padding: 0; }
  .ft-child-v7-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .ft-child-v7-topbar { padding: 12px 16px 8px; }
  .ft-child-v7-brand small { display: none; }
  .ft-child-v7-brand strong { font-size: 13px; }
  .ft-child-v7-mini-crown { width: 29px; height: 25px; }
  .ft-child-v7-close { width: 39px; height: 39px; }
  .ft-child-v7-progress { margin: 0 14px; padding-bottom: 9px; }
  .ft-child-v7-progress button > small { display: none; }
  .ft-child-v7-progress-line { top: 21px; }
  .ft-child-v7-slide { grid-template-columns: 1fr; align-content: start; gap: 16px; min-height: 0; margin: 0 10px; padding: 14px 14px 18px; border-radius: 23px; }
  .ft-child-v7-visual { width: min(100%, 39dvh); max-width: 350px; }
  .ft-child-v7-visual img { border-width: 4px; border-radius: 23px; }
  .ft-child-v7-visual::before { border-radius: 23px; }
  .ft-child-v7-scene-number { left: -5px; top: -5px; width: 40px; height: 40px; border-radius: 14px; font-size: 17px; }
  .ft-child-v7-copy { padding: 0 2px; text-align: center; }
  .ft-child-v7-eyebrow { margin-bottom: 7px; font-size: 8px; }
  .ft-child-v7-copy h2 { margin-bottom: 9px; font-size: clamp(26px, 8vw, 34px); }
  .ft-child-v7-lead { font-size: 14px; line-height: 1.48; }
  .ft-child-v7-chips { justify-content: center; margin-top: 12px; }
  .ft-child-v7-chips span { padding: 6px 9px; font-size: 9px; }
  .ft-child-v7-reassure { margin-top: 11px; padding: 0; border: 0; font-size: 10px; }
  .ft-child-v7-reward-links { grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .ft-child-v7-reward-links a { justify-content: center; min-height: 42px; padding: 8px; font-size: 10px; text-align: center; }
  .ft-child-v7-reward-links a span { display: none; }
  .ft-child-v7-controls { position: sticky; bottom: 0; z-index: 3; padding: 12px 15px calc(13px + env(safe-area-inset-bottom)); background: rgba(255,253,248,.96); box-shadow: 0 -8px 25px rgba(35,68,58,.06); backdrop-filter: blur(10px); }
  .ft-child-v7-controls > p { font-size: 9px; }
}
@media (max-width: 520px) {
  .ft-child-v7-controls { grid-template-columns: 1fr 1.25fr; gap: 10px; }
  .ft-child-v7-controls > p { display: none; }
  .ft-child-v7-controls button { width: 100%; min-width: 0; }
  .ft-calc-v7-actions { grid-template-columns: 1fr; }
}
@media (max-height: 700px) and (max-width: 720px) {
  .ft-child-v7-visual { width: min(100%, 34dvh); }
  .ft-child-v7-slide { gap: 11px; padding-top: 10px; }
  .ft-child-v7-chips { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-child-v7-slide { animation: none !important; }
  .ft-child-v7-progress-line i, .ft-calc-v7-choice > span, .ft-calc-v7-add { transition: none !important; }
}
@media print {
  .ft-calc-v7-hero, .ft-calc-v7-main, .ft-calc-v7-source, .ft-calc-v7-explain, .ft-calc-v7-actions, .ft-calc-v7-book, .ft-calc-v7-copy-status, .ft-child-v7-launch, .ft-child-v7-modal { display: none !important; }
  .ft-calc-v7-workspace { padding: 0 !important; background: #fff !important; }
  .ft-calc-v7-layout { display: block !important; }
  .ft-calc-v7-result { position: static !important; max-height: none !important; overflow: visible !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; color: #000 !important; }
  .ft-calc-v7-result *, .ft-calc-v7-result h2, .ft-calc-v7-amount, .ft-calc-v7-range-note, .ft-calc-v7-breakdown-row strong, .ft-calc-v7-breakdown-row span, .ft-calc-v7-breakdown-row > b, .ft-calc-v7-price-date { color: #000 !important; }
  .ft-calc-v7-result-kicker { color: #333 !important; }
  .ft-calc-v7-amount { margin: 10px 0 !important; font-size: 30px !important; }
  .ft-calc-v7-breakdown { border-color: #aaa !important; }
  .ft-calc-v7-breakdown-row { break-inside: avoid; border-color: #ccc !important; }
  .ft-calc-v7-breakdown-row strong, .ft-calc-v7-breakdown-row > b { font-size: 11pt !important; }
  .ft-calc-v7-breakdown-row span { font-size: 9pt !important; }
  .ft-calc-v7-final-note, .ft-calc-v7-unknown { border: 1px solid #999 !important; background: #fff !important; }
  .ft-calc-v7-final-note *, .ft-calc-v7-unknown * { color: #000 !important; }
}

.ft-child-v7-modal .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.ft-child-v7-progress button:focus-visible { outline: none; }
.ft-child-v7-progress button:focus-visible > span { outline: 3px solid #e9b44f; outline-offset: 3px; }

/* v10: friends peek from behind existing cards without covering their text */
.ft-site-peeks, .ft-site-peeks * { box-sizing: border-box; }
.ft-site-peeks { position: absolute; z-index: 1; inset: 0; overflow: visible; pointer-events: none; }
.ft-peek-anchor-parent { position: relative !important; }
.ft-peek-anchor { position: relative !important; z-index: 2 !important; }
.ft-peek { --peek-height: 180px; position: absolute; right: auto; display: block; margin: 0; padding: 0; border: 0; border-radius: 24px; background: transparent; cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(30px) scale(.92); transform-origin: 50% 100%; transition: opacity .38s ease, transform .48s cubic-bezier(.2,.82,.2,1), visibility .48s; -webkit-tap-highlight-color: transparent; }
.ft-peek.from-left { right: auto; transform: translateY(30px) scale(.92); }
.ft-peek.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.ft-peek:focus-visible { outline: 3px solid #d9a83f; outline-offset: 4px; }
.ft-peek-puppet { position: relative; display: block; height: var(--peek-height); aspect-ratio: 557 / 738; filter: drop-shadow(0 9px 7px rgba(48,63,57,.15)); transform-origin: 50% 100%; animation: ft-peek-bob 3.2s ease-in-out infinite; }
.ft-peek-monster .ft-peek-puppet { height: calc(var(--peek-height) * .94); aspect-ratio: 712 / 683; animation-duration: 2.8s; animation-delay: -.9s; }
.ft-peek-puppet > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ft-peek-base { z-index: 1; }
.ft-peek-leg-left, .ft-peek-leg-right { z-index: 2; }
.ft-peek-hip { z-index: 3; }
.ft-peek-arm { z-index: 4; transform-origin: 70.7% 50.8%; }
.ft-peek-monster .ft-peek-arm { transform-origin: 82.8% 49%; }
.ft-peek-astronaut .ft-peek-leg-left { transform-origin: 40.3% 73.5%; }
.ft-peek-astronaut .ft-peek-leg-right { transform-origin: 62.8% 73.5%; }
.ft-peek-monster .ft-peek-leg-left { transform-origin: 39.3% 80.5%; }
.ft-peek-monster .ft-peek-leg-right { transform-origin: 63.9% 80.5%; }
.ft-peek.is-waving .ft-peek-arm { animation: ft-peek-wave .46s ease-in-out 4; }
.ft-peek-monster.is-waving .ft-peek-arm { animation: ft-peek-monster-wave 1.9s ease-in-out both; }
.ft-peek-lid { position: absolute; z-index: 5; display: block; border-radius: 50%; pointer-events: none; transform: scaleY(0); animation: ft-peek-blink 5.6s infinite; }
.ft-peek-astronaut .ft-peek-lid { border-bottom: 2px solid rgba(235,183,72,.65); background: linear-gradient(145deg, #754713, #38230e); }
.ft-peek-astronaut .lid-a-left { left: 34%; top: 27%; width: 12.6%; height: 8.8%; }
.ft-peek-astronaut .lid-a-right { left: 53%; top: 26.4%; width: 12.6%; height: 8.8%; }
.ft-peek-monster .ft-peek-lid { border-bottom: 2px solid rgba(101,64,137,.45); background: linear-gradient(145deg, #b98bdd, #986ac4); animation-delay: -2.1s; }
.ft-peek-monster .lid-m-top { left: 47.3%; top: 13.2%; width: 12.6%; height: 12.4%; }
.ft-peek-monster .lid-m-left { left: 35.1%; top: 22%; width: 12.6%; height: 13.2%; }
.ft-peek-monster .lid-m-right { left: 61.1%; top: 22%; width: 12.6%; height: 13.2%; }
.ft-peek-bubble { position: absolute; z-index: 12; right: 0; bottom: calc(100% + 7px); width: max-content; max-width: min(210px, calc(100vw - 28px)); padding: 10px 14px; border: 1px solid #dce7e0; border-radius: 14px 14px 14px 5px; background: #fff; box-shadow: 0 9px 24px rgba(41,77,65,.14); color: #315e57; font-size: 14px; font-weight: 800; line-height: 1.3; text-align: center; opacity: 0; pointer-events: none; transform: translate(0, 7px) scale(.94); transform-origin: 100% 100%; transition: opacity .18s ease, transform .18s ease; }
.ft-peek-monster .ft-peek-bubble { border-radius: 14px 14px 5px 14px; }
.ft-peek.from-left .ft-peek-bubble { right: auto; left: 0; transform-origin: 0 100%; }
.ft-peek.is-tapped .ft-peek-bubble { opacity: 1; transform: translate(0, 0) scale(1); }

@keyframes ft-peek-bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes ft-peek-wave { 0%,100% { transform: rotate(0); } 28% { transform: rotate(-24deg); } 52% { transform: rotate(14deg); } 76% { transform: rotate(-16deg); } }
@keyframes ft-peek-monster-wave { 0% { transform: rotate(0); } 18%,78% { transform: rotate(-125deg); } 32%,48%,64% { transform: rotate(-112deg); } 40%,56%,72% { transform: rotate(-137deg); } 100% { transform: rotate(0); } }
@keyframes ft-peek-blink { 0%,43%,46%,100% { transform: scaleY(0); } 44%,45% { transform: scaleY(1); } }

@media (max-width: 640px) {
  .ft-peek { --peek-height: 132px; border-radius: 18px; }
  .ft-peek.is-visible, .ft-peek.from-left.is-visible { transform: translateY(0) scale(1); }
  .ft-peek-bubble { max-width: min(178px, calc(100vw - 24px)); padding: 8px 10px; font-size: 13px; }
}
@media (max-height: 600px) { .ft-peek { --peek-height: 104px; } }
@media (prefers-reduced-motion: reduce) {
  .ft-peek, .ft-peek * { animation: none !important; transition: none !important; }
  .ft-peek-lid { display: none; }
}
@media print { .ft-site-peeks { display: none !important; } }
