/* 3584 amg-pet-quiz: картка «{Вид} знає», кнопки порадника й оверлей майстрів. Шкала REWORK §1: h2 24, h3 18, текст 15, підписи 13–14.
   Кольори DESIGN-SPEC §13: кнопки --plum #003566, небо #e1ebf4 (коти), мʼята #e2f4e4 (собаки), текст #242424. Шар 100013–100014 (ORCHESTRATION §3.1 п. 6). */
html.amg-pquiz-open,html.amg-pquiz-open body{overflow:hidden}
html.amg-pquiz-open body ul.xts-sticky-navbar,html.amg-pquiz-open body .amg-sticky-cta{visibility:hidden;pointer-events:none}
@media (min-width:1024px){html.amg-pquiz-open{scrollbar-gutter:stable}}

/* картка входу */
html body .amg-pw .amg-pw-quiz-card{display:block;margin-top:32px}
html body .amg-pw .amg-pw-quiz-card__in{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;align-items:start;padding:20px;background:#e1ebf4;color:#242424}
html body .amg-pw .amg-pw-quiz-card--dog .amg-pw-quiz-card__in{background:#e2f4e4}
html body .amg-pw .amg-pw-quiz-card__txt{display:grid;gap:8px;justify-items:start;min-width:0}
html body .amg-pw .amg-pw-quiz-card__eye{font-size:13px;font-weight:600;line-height:1.3;color:#242424}
html body .amg-pw .amg-pw-quiz-card__h{font-family:var(--font-display,"Fixel Display","Fixel Display Fallback",Nunito,Arial,sans-serif);font-size:24px;font-weight:700;line-height:1.2;color:#242424}
html body .amg-pw .amg-pw-quiz-card__p{font-size:15px;line-height:1.5;color:#242424;max-width:56ch}
html body .amg-pw .amg-pw-quiz-card .amg-pw-btn{margin-top:6px}
html body .amg-pw .amg-pw-quiz-card__pic{display:block;width:88px;height:88px}
html body .amg-pw .amg-pw-quiz-card__pic img{width:100%;height:100%}
@media (min-width:768px){
  html body .amg-pw .amg-pw-quiz-card__in{grid-template-columns:minmax(0,1fr) 160px;align-items:center;column-gap:32px;padding:24px 40px}
  html body .amg-pw .amg-pw-quiz-card__pic{width:160px;height:160px}
}

/* порадник і смуга */
html body .amg-pw .amg-pw-quiz-advb{display:flex;flex-wrap:wrap;gap:8px}
html body .amg-pw.amg-pw-seg--calm .amg-pw-quiz-ghost,html body .amg-pw .amg-pw-quiz-ghost{background:transparent;border:1.5px solid var(--plum,#003566);color:var(--plum,#003566)}
html body .amg-pw.amg-pw-seg--calm .amg-pw-quiz-ghost:hover,html body .amg-pw .amg-pw-quiz-ghost:hover{background:var(--plum,#003566);color:#fff}

/* оверлей */
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__scrim{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:100013}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__sheet{position:fixed;z-index:100014;left:0;right:0;bottom:0;top:auto;height:calc(100% - 28px);margin:0;background:#fff;color:#242424;border-radius:16px 16px 0 0;display:flex;flex-direction:column;overflow:hidden}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__x{position:absolute;right:12px;top:12px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;background:#f5f5f5;color:#242424;z-index:1}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__body{display:flex;flex-direction:column;min-height:0;flex:1 1 auto}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:64px 16px 16px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__q{font-family:var(--font-display,"Fixel Display","Fixel Display Fallback",Nunito,Arial,sans-serif);font-size:24px;font-weight:700;line-height:1.2;color:#242424;text-align:center;letter-spacing:normal}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__q:focus{outline:0;box-shadow:none}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__hint{margin-top:8px;font-size:15px;line-height:1.5;color:#242424;text-align:center}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__opts{display:grid;gap:8px;margin-top:20px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__opt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:10px 16px;border-radius:12px;background:#f5f5f5;color:#242424;font-size:15px;font-weight:500;line-height:1.3;text-align:left}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__opt:hover{background:#ebebeb}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__opt.is-on{background:#e1ebf4;box-shadow:inset 0 0 0 2px var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__ot{display:grid;gap:2px;min-width:0}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__ol{font-size:15px;font-weight:600;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__od{font-size:13px;font-weight:400;line-height:1.35;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__mark{display:grid;place-items:center;flex:none;width:24px;height:24px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__mark.is-ok{color:#2e7d32}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__mark.is-no{color:#cf1124}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__box{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:6px;background:#fff;box-shadow:inset 0 0 0 1.5px #8a8a8a;color:var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__opt.is-on .amg-pw-quiz__box{box-shadow:inset 0 0 0 1.5px var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__fb{margin-top:16px;padding:12px 14px;border-radius:12px;background:#f5f5f5;font-size:14px;line-height:1.5;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__fb[hidden]{display:none}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__leg{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;font-size:13px;line-height:1.3;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tl{margin-top:8px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tr{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;border-bottom:1px solid #ebebeb}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tn{font-size:15px;font-weight:600;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tg{display:inline-flex;gap:0;padding:2px;border-radius:24px;background:#f5f5f5}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tb{display:grid;place-items:center;width:44px;height:44px;min-height:44px;border-radius:50%;color:#666}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tb.is-on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tb--dislike.is-on{color:#cf1124}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tb--like.is-on{color:#2e7d32}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__lab{display:block;margin-top:20px;font-size:14px;font-weight:600;line-height:1.3;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__in{-webkit-appearance:none;appearance:none;display:block;width:100%;height:48px;min-height:48px;margin:6px 0 0;padding:0 14px;border:1.5px solid #8a8a8a;border-radius:10px;background:#fff;color:#242424;font:inherit;font-size:16px;line-height:1.2;box-shadow:none}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__in:focus,html body .amg-pw.amg-pw-quiz .amg-pw-quiz__in:focus-within{border-color:var(--plum,#003566);outline:2px solid var(--plum,#003566);outline-offset:1px;box-shadow:none}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__err{margin-top:6px;font-size:13px;line-height:1.35;color:#cf1124}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__err[hidden]{display:none}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__praise{margin-top:16px;font-size:15px;font-weight:600;text-align:center;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__h3{margin-top:24px;font-family:var(--font-sans,Nunito,Arial,sans-serif);font-size:18px;font-weight:600;line-height:1.3;color:#242424;letter-spacing:normal}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tips{margin-top:8px;counter-reset:t}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tips li{position:relative;padding:10px 0 10px 32px;border-bottom:1px solid #ebebeb;font-size:15px;line-height:1.45;color:#242424;counter-increment:t}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__tips li::before{content:counter(t);position:absolute;left:0;top:10px;width:22px;height:22px;border-radius:50%;background:#e1ebf4;font-size:13px;font-weight:600;line-height:22px;text-align:center;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__kcal{margin-top:16px;font-size:18px;font-weight:500;line-height:1.3;text-align:center;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__kcal b{display:block;font-family:var(--font-display,"Fixel Display","Fixel Display Fallback",Nunito,Arial,sans-serif);font-size:40px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__foot{flex:none;padding:10px 16px calc(14px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #ebebeb}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__pr{display:flex;align-items:center;justify-content:space-between;font-size:13px;line-height:1.3;color:#242424}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__reset{min-height:32px;padding:0 4px;font-size:13px;font-weight:600;color:var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__bar{display:block;height:4px;margin:4px 0 12px;border-radius:2px;background:#ebebeb;overflow:hidden}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__bar span{display:block;height:100%;background:var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__nav{display:flex;gap:10px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__back{display:grid;place-items:center;flex:none;width:48px;height:48px;min-height:48px;border:1.5px solid var(--plum,#003566);border-radius:50%;color:var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-btn.amg-pw-quiz__next{flex:1 1 auto;min-height:48px;padding:0 20px;border:0;border-radius:24px;background:var(--plum,#003566);color:#fff;font-size:15px;font-weight:600;text-align:center}
html body .amg-pw.amg-pw-quiz .amg-pw-btn.amg-pw-quiz__next:hover{background:var(--plum-deep,#002447);color:#fff}
html body .amg-pw.amg-pw-quiz .amg-pw-btn.amg-pw-quiz__next:disabled{background:#ebebeb;color:#666;cursor:not-allowed}
@media (min-width:1024px){
  html body .amg-pw.amg-pw-quiz .amg-pw-quiz__sheet{left:50%;right:auto;top:50%;bottom:auto;width:560px;height:min(720px,calc(100vh - 48px));transform:translate(-50%,-50%);border-radius:16px}
  html body .amg-pw.amg-pw-quiz .amg-pw-quiz__scroll{padding:64px 32px 20px}
  html body .amg-pw.amg-pw-quiz .amg-pw-quiz__foot{padding:12px 32px 20px}
}

/* 3690: «Не знаю точної дати» на кроці дати народження калькулятора, вибір приблизного віку; рядок про фасовку на картці корму */
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__nd{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:12px 0 0;padding:0;border:0;background:none;color:#242424;font-size:15px;font-weight:500;line-height:1.3;text-align:left;cursor:pointer}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__nd.is-on .amg-pw-quiz__box{box-shadow:inset 0 0 0 1.5px var(--plum,#003566)}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__nd:focus-visible{outline:2px solid var(--plum,#003566);outline-offset:2px;border-radius:6px}
html body .amg-pw.amg-pw-quiz p.amg-pw-quiz__lab{margin-bottom:8px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__in--y{max-width:120px}
html body .amg-pw.amg-pw-quiz .amg-pw-quiz__pdp{text-align:center}
