@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@400;500;600&family=Onest:wght@300;400;500;600&display=swap");
/* Тема «квест»: включается только при html.qs (переход из /quest/). Логика и оплата не затронуты. */
html.qs{
  --ink-950:#2b1d16;--ink-900:rgba(40,28,20,.6);--ink-850:#3b2a21;--ink-800:#4a362b;
  --water-400:#c8b59b;--water-200:#c8b59b;--gold-400:#c8b59b;--gold-300:#c8b59b;
  --mist-100:#f6efe4;--mist-400:rgba(246,239,228,.72);--mist-600:rgba(246,239,228,.5);
  --line:rgba(246,239,228,.28);--bz-blue:#f6efe4;--bz-ink:#f6efe4;
  --disp:"Cormorant Garamond","Times New Roman",serif;--sans:"Onest",system-ui,sans-serif;
}
html.qs,html.qs body{background:#2b1d16;color:#f6efe4;font-family:var(--sans)}
html.qs body::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(40,28,20,.5) 0%,rgba(40,28,20,.86) 38%,rgba(40,28,20,.95) 100%),var(--qbg,none) center top/cover no-repeat}
html.qs body:has(.step[data-step="2"].active){--qbg:url(/quest/astro.jpg)}
html.qs body:has(.step[data-step="3"].active){--qbg:url(/quest/hobbema.jpg)}
html.qs body:has(.step[data-step="4"].active){--qbg:url(/quest/philo.jpg)}
html.qs body:has(.step[data-step="5"].active){--qbg:url(/quest/youth.jpg)}
html.qs body:has(.step[data-step="6"].active){--qbg:url(/quest/wanderer.jpg)}
html.qs body:has(.step[data-step="7"].active){--qbg:url(/quest/chekhov.jpg)}
html.qs .stepart{display:none}
html.qs .wrap{max-width:560px;padding-top:22px}
/* шапка и прогресс */
html.qs .brand-name,html.qs .brand-name b{color:#f6efe4}
html.qs .brand-name{color:rgba(246,239,228,.6)}
html.qs .brand-name b{font-family:var(--disp)}
html.qs .badge-ring{border-color:rgba(246,239,228,.6)}html.qs .badge-ring svg{stroke:#f6efe4}
html.qs .progress .dot{background:rgba(246,239,228,.25)}html.qs .progress .dot.done{background:rgba(246,239,228,.7)}html.qs .progress .dot.current{background:#f6efe4}
/* заголовки и тексты */
html.qs h1,html.qs h2,html.qs h3,html.qs h4,html.qs h1.step-title,html.qs .pw-h,html.qs .bz-hero h2,html.qs .pw-look-h,html.qs .ai-box h2,html.qs .pdf-card h2,html.qs .ikq .qt,html.qs .ai-dir b,html.qs .rcard .rvalue,html.qs .teaser-name,html.qs .deepen summary,html.qs .pw-amt{font-family:var(--disp);font-weight:500;color:#f6efe4;text-transform:none;letter-spacing:0}
html.qs h1.step-title,html.qs .pw-h,html.qs .bz-hero h2{font-size:clamp(32px,9vw,42px);line-height:1.08}
html.qs p.step-sub,html.qs .section-count,html.qs .bz-label,html.qs .bz-lock-head,html.qs .bz-lock-cta,html.qs .pw-order-note,html.qs .pw-order-h,html.qs .pw-consent,html.qs .qnum,html.qs .pw-hint,html.qs .pw-state,html.qs .ik-rep,html.qs .ikq .qh,html.qs .ik-count,html.qs .ai-sub,html.qs .ai-loading,html.qs .ai-err,html.qs .ai-dir span,html.qs .pw-m span i,html.qs .cta-block p,html.qs .deepen p,html.qs .qlist,html.qs .zhstl-list,html.qs .pw-restore,html.qs .pdf-card .note,html.qs footer,html.qs .pw-time div span,html.qs .pw-note{color:rgba(246,239,228,.75)}
html.qs .section-count,html.qs .bz-label{color:#c8b59b}
html.qs .bz-t,html.qs .rcard .rdesc,html.qs .teaser-body,html.qs .pw-list,html.qs .pw-order-row,html.qs .pw-m span b,html.qs .ai-block p,html.qs .ik-ans,html.qs .pdf-card p,html.qs .qgroup .qtitle,html.qs .mbox,html.qs .mbox summary,html.qs .pw-time b{color:#f6efe4}
html.qs .bz-glyph{color:#f6efe4}
html.qs .bz-l,html.qs .pw-k,html.qs .ai-label,html.qs .ik-ans b,html.qs .rcard .rlabel,html.qs .pw-methods legend,html.qs .teaser-spheres-label,html.qs .why-block .why-label{color:#c8b59b}
html.qs a,html.qs footer a,html.qs .pw-order-note a,html.qs .pw-consent a,html.qs .pw-promo-t,html.qs .pw-open,html.qs .pw-strip a{color:#c8b59b}
/* карточки */
html.qs .bz-card,html.qs .rcard,html.qs .result-hero,html.qs .teaser-card,html.qs .why-block,html.qs .mock-card-wrap,html.qs .pw-card,html.qs .qcard,html.qs .ikq,html.qs .ai-box,html.qs .mbox,html.qs .lens,html.qs .dilts-row,html.qs .ikigai-cell,html.qs .pw-order,html.qs .pw-m{background:rgba(40,28,20,.58);border:1px solid rgba(246,239,228,.26);border-radius:4px;box-shadow:none;color:#f6efe4}
html.qs .bz-lcard{background:rgba(40,28,20,.35);border:1px dashed rgba(246,239,228,.3);border-radius:4px}
html.qs .bz-lcard .ph{background:rgba(246,239,228,.15)}
html.qs .pw-time{background:rgba(246,239,228,.1);border-radius:4px}html.qs .pw-time svg{stroke:#c8b59b}
html.qs .pdf-card,html.qs .ai-step,html.qs .paid-banner{background:rgba(246,239,228,.1);border:1px solid rgba(200,181,155,.55);border-radius:4px;color:#f6efe4}
html.qs .bz-chip,html.qs .chip{background:transparent;border:1px solid rgba(200,181,155,.6);color:#c8b59b}
html.qs .cta-block{border-top-color:rgba(246,239,228,.25)}
html.qs .pw-m:has(input:checked){border-color:#c8b59b;background:rgba(246,239,228,.12)}
html.qs .pw-m input,html.qs .opt input,html.qs .pw-consent input{accent-color:#c8b59b}
/* тесты */
html.qs .opt,html.qs .yn{background:rgba(40,28,20,.4);border:1px solid rgba(246,239,228,.3);border-radius:4px;color:#f6efe4}
html.qs .opt:hover,html.qs .yn:hover{border-color:#c8b59b}
html.qs .opt.sel,html.qs .yn.sel{background:#f6efe4;border-color:#f6efe4;color:#3b2a21}
/* поля */
html.qs .field label{color:rgba(246,239,228,.7)}
html.qs .field input,html.qs .field textarea,html.qs .ik-row input,html.qs .rs-row input,html.qs .pw-promo-row input,html.qs input[type=date],html.qs input[type=text],html.qs input[type=email],html.qs textarea{background:rgba(40,28,20,.55);border:1px solid rgba(246,239,228,.45);border-radius:4px;color:#f6efe4;color-scheme:dark}
html.qs .field input:focus,html.qs .field textarea:focus,html.qs .ik-row input:focus{border-color:#f6efe4;background:rgba(40,28,20,.75)}
html.qs input::placeholder,html.qs textarea::placeholder,html.qs .ik-row input::placeholder{color:rgba(246,239,228,.42)}
/* кнопки */
html.qs .btn,html.qs .btn.gold{background:#f6efe4;color:#3b2a21;border-radius:4px;font-family:var(--sans);font-weight:500;font-size:15px;letter-spacing:0;text-transform:none;padding:17px 20px;box-shadow:none}
html.qs .btn:hover,html.qs .btn.gold:hover{background:#fff;transform:none}
html.qs .btn.ghost{background:transparent;color:#f6efe4;box-shadow:none;border:1px solid rgba(246,239,228,.5)}
html.qs .btn.ghost:hover{background:rgba(246,239,228,.1)}
html.qs .btn[disabled],html.qs .pw-pay[aria-disabled="true"]{opacity:.4}
html.qs .ik-add{color:#c8b59b;border-bottom-color:#c8b59b}
html.qs .mbox summary::before{color:#c8b59b}
html.qs .ai-dot,html.qs .pdf-dot{background:#c8b59b}
html.qs .pw-open{border-bottom-color:#c8b59b}
html.qs .ikq .qh2,html.qs .ik-row .n,html.qs .qnum{color:rgba(246,239,228,.6)}
html.qs .ik-row .n{color:rgba(246,239,228,.5)}
html.qs .rs-row input{background:rgba(40,28,20,.55)}
html.qs .pw-pay[aria-disabled="true"]{background:rgba(246,239,228,.35);color:#3b2a21}
html.qs body{background:transparent}
html.qs input[type=date]{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;-webkit-appearance:none;appearance:none;text-align:left;min-height:52px;padding:13px 14px}
html.qs input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}
html.qs .field{min-width:0;max-width:100%}
html.qs .wrap{animation:qsin .6s ease both}@keyframes qsin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
html.qs body::before{animation:qsbg .8s ease both}@keyframes qsbg{from{opacity:0}to{opacity:1}}
html.qs .fam-row{border-top-color:rgba(246,239,228,.16)}
html.qs .fam-row span,html.qs .fam-note{color:rgba(246,239,228,.62)}
html.qs .love-q{color:#f6efe4}
html.qs .love-ta{background:rgba(255,255,255,.07);border-color:rgba(246,239,228,.28);color:#f6efe4}
html.qs .love-ta:focus{border-color:#c8b59b}
html.qs .love-done{background:rgba(255,255,255,.09);color:#f6efe4}
html.qs .pw-promo-row{flex-wrap:wrap}
html.qs .pw-promo-row input{flex:1 1 160px;min-width:160px;width:auto}
html.qs .pw-promo-row .btn,html.qs .pw-promo-row button{flex:0 0 auto;width:auto;padding-left:20px;padding-right:20px}
html.qs .pw-coffee{font-family:"Cormorant Garamond",serif;font-size:19px;color:#f6efe4}
html.qs .bz-lcard2{background:rgba(255,255,255,.07);border-color:rgba(200,181,155,.5)}
html.qs .bz-lcard2 .lk{color:#c8b59b;opacity:1}
html.qs .bz-lcard2 .bz-l{color:#c8b59b}
html.qs .bz-lock-head2{font-family:"Cormorant Garamond",serif;font-size:26px;font-weight:500;color:#f6efe4}
html.qs .bz-lock-cta2{color:rgba(246,239,228,.8)}
html.qs .qs-more-link{color:#c8b59b}
html.qs .bz-coffee{color:rgba(246,239,228,.7);font-size:14px}
html.qs .qs-path{color:#c8b59b}
html.qs .qp-n{color:rgba(246,239,228,.85)}
html.qs .qp-n.on i{background:#c8b59b;color:#3b2a21;border-color:#c8b59b}
html.qs .qp-t{color:#f6efe4}
html.qs .qp-coffee{color:rgba(246,239,228,.7)}
html.qs .pw-look{margin:18px 0 6px;padding:0}
html.qs .pw-look-h{font-size:24px;line-height:1.2;margin-bottom:12px}
html.qs .qp-plus{font-family:"Cormorant Garamond",serif;font-size:24px;line-height:1.25;font-weight:500;color:#f6efe4}
html.qs .pw-lh{font-family:"Cormorant Garamond",serif;font-size:24px;font-weight:500;color:#f6efe4}
html.qs .pw-price{flex-wrap:wrap;row-gap:4px}
html.qs .pw-amt{white-space:nowrap}
html.qs .pw-note{flex:1 1 180px}
html.qs .pw-pay,html.qs .pw-pay[aria-disabled="true"]{opacity:1;background:#f6efe4;color:#3b2a21;font-weight:700}
html.qs .pw-ic{color:#c8b59b;opacity:.85}

/* страница ожидания отчёта: длинный результат скрыт, остаётся карточка PDF и заглушка */
html.qs section.step[data-step="7"]>*:not(.pdf-card):not(.qs-wait):not(.qs-wait2):not(.qs-keep){display:none!important}
html.qs .qs-wait{margin-top:14px}
html.qs .qs-wait h2{font-family:var(--disp);font-weight:400;font-size:28px;line-height:1.15;margin-bottom:12px;color:#f6efe4}
html.qs .qs-wait p{font-size:16px;line-height:1.55;color:rgba(246,239,228,.82);margin-bottom:14px}
html.qs .qs-wait2{margin:18px 0 8px}html.qs .qs-wait2 p{font-size:16px;line-height:1.55;color:rgba(246,239,228,.82);margin-bottom:14px}
/* десктоп: колонка шире, крупнее текст */
@media(min-width:1000px){
html.qs .wrap{max-width:680px;padding-top:34px}
html.qs .step-title{font-size:44px}
html.qs p.step-sub,html.qs .rcard .rdesc,html.qs .qs-wait p{font-size:17px}
}
