/*
Theme Name: Педиатр — сайт врача
Description: Сайт детского врача: очный приём и онлайн-консультации, запись с сайта, заявки в админке. Все тексты, фото, контакты и цвет меняются в «Внешний вид → Настроить → Сайт врача».
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pediatr
License: GPLv2 or later
*/

@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url(assets/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url(assets/fonts/unbounded-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: swap; src: url(assets/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: swap; src: url(assets/fonts/golos-text-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos"; font-weight: 400 900; font-display: swap; src: url(assets/fonts/golos-text-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+20BD; }

:root {
	--main: #2447D6;
	--main-dark: color-mix(in srgb, var(--main) 78%, #000);
	--ink: #13233A;
	--muted: #56657A;
	--mist: #EEF2F7;
	--peach: #FFE6D8;
	--peach-deep: #F5BFA3;
	--line: #DCE3EC;
	--paper: #FFFFFF;
	--wrap: 1200px;
	--pad: clamp(20px, 4vw, 44px);
	--sec: clamp(72px, 9vw, 128px);
	--display: "Unbounded", "Golos", system-ui, sans-serif;
	--text: "Golos", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--main); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--main) 55%, #fff); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -.035em; }
h1 { font-size: clamp(2.15rem, 4.2vw, 3.55rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.14rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.wrap--text { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { flex: none; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn--main { background: var(--main); color: #fff; }
.btn--main:hover { background: var(--main-dark); }
.btn--line { background: var(--paper); color: var(--main); box-shadow: inset 0 0 0 1.5px var(--main); }
.btn--line:hover { background: var(--mist); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--wide { width: 100%; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .2s ease; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.admin-bar .top { top: 32px; }
.top__in { display: flex; align-items: center; gap: 32px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--main); color: #fff; font: 600 .82rem/1 var(--display); letter-spacing: -.02em; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__txt strong { font-weight: 650; }
.brand__txt span { font-size: .87rem; color: var(--muted); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .97rem; }
.nav a:hover { color: var(--main); }
.top__act { display: flex; align-items: center; gap: 20px; }
.top__phone { color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.burger { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer; }

/* Первый экран: фон — центильные кривые роста */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); }
.chart { position: absolute; right: 0; bottom: 0; width: 60%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.chart__grid { stroke: var(--main); stroke-opacity: .07; stroke-width: 1; }
.chart__line { fill: none; stroke: var(--main); stroke-opacity: .28; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: rp-draw 1.9s cubic-bezier(.3,.6,.2,1) var(--d) forwards; }
.chart__line--mid { stroke-opacity: .75; stroke-width: 2.4; }
.chart__lab { font: 600 13px var(--text); fill: var(--main); fill-opacity: .6; opacity: 0; animation: rp-fade .6s ease 1.6s forwards; }
@keyframes rp-draw { to { stroke-dashoffset: 0; } }
@keyframes rp-fade { to { opacity: 1; } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__who { margin-bottom: 22px; color: var(--main); font-weight: 600; }
.hero__lead { max-width: 33em; margin: 26px 0 36px; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { display: flex; gap: 10px; align-items: flex-start; max-width: 30em; margin-top: 24px; color: var(--muted); font-size: .95rem; }
.hero__note .ic { color: var(--main); margin-top: 1px; }

.portrait { position: relative; justify-self: end; width: 100%; max-width: 440px; margin: 0; }
.portrait__img { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--peach); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait__cap { position: absolute; left: -28px; bottom: 32px; display: flex; flex-direction: column; padding: 14px 20px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(19,35,58,.35); line-height: 1.3; }
.portrait__cap strong { font-weight: 650; }
.portrait__cap span { color: var(--muted); font-size: .9rem; }

/* Заглушка фото */
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--peach); }
.ph span { font: 500 clamp(5rem, 11vw, 9rem)/1 var(--display); letter-spacing: -.06em; color: var(--peach-deep); }

/* Линейка возрастов — ось графика роста */
.ages { padding: 48px 0 56px; border-block: 1px solid var(--line); background: var(--paper); }
.ages__title { margin-bottom: 36px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.ruler { position: relative; height: 54px; margin-inline: 2px; border-bottom: 2px solid var(--ink); }
.ruler__tick { position: absolute; left: var(--x); bottom: 0; width: 1.5px; height: 10px; background: var(--ink); transform: translateX(-50%); opacity: .45; }
.ruler__tick.is-major { height: 22px; opacity: 1; }
.ruler__num { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); font: 500 .85rem/1 var(--display); white-space: nowrap; }
.ruler__num:first-of-type { transform: none; }
.ruler__num:last-of-type { transform: translateX(-100%); }
.ages__list { position: relative; list-style: none; margin: 0; padding: 0; height: 76px; }
.ages__list li { position: absolute; left: var(--x); width: var(--w); top: 0; padding: 22px 12px 0 0; }
.ages__list li::before { content: ""; position: absolute; left: 0; right: 3px; top: 0; height: 8px; border-radius: 0 0 4px 4px; background: var(--main); }
.ages__list li:nth-child(1)::before { opacity: .18; }
.ages__list li:nth-child(2)::before { opacity: .34; }
.ages__list li:nth-child(3)::before { opacity: .52; }
.ages__list li:nth-child(4)::before { opacity: .72; }
.ages__range { display: none; }
.ages__name { display: block; font-weight: 600; line-height: 1.3; }

/* Секции */
.sec { padding-block: var(--sec); }
.sec--mist { background: var(--mist); }
.sec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.sec__head p { color: var(--muted); font-size: 1.08rem; }
.prose { font-size: 1.07rem; }
.prose p { max-width: 36em; }
.prose h2 { margin: 1.8em 0 .6em; font-size: 1.4rem; }

/* О враче */
.about__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 7vw, 104px); align-items: center; }
.about__img { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--peach); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: 24px; }
.edu__h { margin: 44px 0 18px; }
.edu { list-style: none; margin: 0; padding: 0; }
.edu li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.edu li:last-child { border-bottom: 1px solid var(--line); }
.edu__y { font: 500 .95rem/1.6 var(--display); color: var(--main); }

/* Как я работаю */
.princ { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 48px; }
.princ__item { padding-top: 22px; border-top: 2px solid var(--main); }
.princ__item h3 { margin-bottom: 10px; }
.princ__item p { color: var(--muted); }
.quote { max-width: 900px; margin: clamp(56px, 8vw, 96px) 0 0; }
.quote p { font: 400 clamp(1.3rem, 2.5vw, 2rem)/1.35 var(--display); letter-spacing: -.03em; }
.quote p::before { content: "«"; }
.quote p::after { content: "»"; }
.quote cite { display: block; margin-top: 16px; color: var(--muted); font-style: normal; }

/* Приём и цены */
.price { list-style: none; margin: 0 0 44px; padding: 0; border-top: 1px solid var(--line); }
.price__row { display: grid; grid-template-columns: 1fr 150px 150px; gap: 16px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.price__main h3 { margin-bottom: 4px; }
.price__main p { max-width: 40em; color: var(--muted); }
.tag { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--mist); color: var(--main); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.price__val { justify-self: end; font: 500 1.2rem/1.2 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.price__none { justify-self: end; color: var(--muted); font-size: .95rem; white-space: nowrap; }

/* Шаги */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 76px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--main); font: 500 1.1rem/1 var(--display); box-shadow: inset 0 0 0 1.5px var(--main); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 68px; right: -16px; height: 1.5px; background: var(--main); opacity: .3; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.review { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 30px; border-radius: 24px; background: var(--mist); }
.review blockquote { margin: 0; font-size: 1.04rem; }
.review figcaption { margin-top: auto; color: var(--muted); font-size: .93rem; font-weight: 600; }
.reviews__more { margin-top: 28px; font-weight: 600; }

/* Вопросы */
.faq__wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.sec--mist .faq details, .sec--mist .faq details:first-child { border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--main); background: linear-gradient(var(--main), var(--main)) center / 12px 1.5px no-repeat, linear-gradient(var(--main), var(--main)) center / 1.5px 12px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--main), var(--main)) center / 12px 1.5px no-repeat; }
.faq details p { max-width: 44em; padding: 0 54px 24px 0; color: var(--muted); }

/* Запись */
.book { padding-block: var(--sec); background: var(--ink); color: rgba(255,255,255,.8); }
.book__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px clamp(36px, 6vw, 88px); align-items: start; }
.book__form { grid-column: 2; grid-row: 1 / span 2; }
.book__map { grid-column: 1; grid-row: 2; }
.book h2 { color: #fff; }
.book__lead { margin: 16px 0 36px; font-size: 1.08rem; max-width: 26em; }
.book__phone { display: inline-block; margin-bottom: 20px; color: #fff; font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--display); letter-spacing: -.035em; text-decoration: none; }
.book__phone:hover { text-decoration: underline; }
.book__msg { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.book__msg a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.book__msg a:hover { background: rgba(255,255,255,.08); }
.book__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.book__list li { display: flex; gap: 14px; align-items: flex-start; }
.book__list .ic { color: #fff; opacity: .7; margin-top: 2px; }
.book__list small { display: block; font-size: .9rem; opacity: .75; }
.map { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.06); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.book__route { display: inline-block; margin-top: 14px; color: #fff; font-weight: 600; font-size: .95rem; }

.book__form { padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: var(--paper); color: var(--ink); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 8px; }
.fld > span, .seg legend { font-size: .93rem; font-weight: 600; }
.fld em { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 54px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--text); transition: border-color .15s ease; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--main); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.seg legend { margin-bottom: 8px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 500; line-height: 1.25; }
.seg input:checked + span { border-color: var(--main); background: color-mix(in srgb, var(--main) 7%, #fff); color: var(--main); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--main) 55%, #fff); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .93rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--main); }
.form__urgent { color: var(--muted); font-size: .88rem; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { margin-bottom: 22px; padding: 16px 18px; border-radius: 14px; font-weight: 500; }
.note--ok { background: color-mix(in srgb, var(--main) 9%, #fff); color: var(--main-dark); }
.note--err { background: #FDECE7; color: #9A2F14; }

/* Подвал */
.foot { padding: 0 0 36px; background: var(--ink); color: rgba(255,255,255,.62); font-size: .92rem; }
.foot a { color: rgba(255,255,255,.85); }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px var(--pad) 32px; border-top: 1px solid rgba(255,255,255,.12); }
.foot__name { margin-bottom: 6px; color: #fff; font: 500 1.05rem/1.3 var(--display); letter-spacing: -.02em; }
.foot__legal p { margin-bottom: .6em; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.foot__bottom p { margin: 0; }
.foot__warn { flex-basis: 100%; margin-bottom: 8px !important; color: #fff; font-weight: 600; }

.mbar { display: none; }

/* Внутренние страницы */
.page { padding-block: clamp(48px, 7vw, 96px); }
.page h1 { margin-bottom: 32px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* Подсказки в режиме «Настроить» */
.rp-hint { display: inline-block; margin: 8px 0; padding: 8px 12px; border: 1px dashed #D9A400; border-radius: 8px; background: #FFF4CC; color: #624800; font-size: .85rem; font-weight: 500; }
.portrait__img .rp-hint, .about__img .rp-hint { position: absolute; left: 16px; top: 16px; margin: 0; }

@media (max-width: 1100px) {
	.nav { gap: 20px; }
	.top__phone { display: none; }
}
@media (max-width: 920px) {
	.nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: var(--paper); box-shadow: 0 16px 24px -12px rgba(19,35,58,.18); }
	.nav.is-open { display: flex; }
	.nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.burger { display: grid; }
	.hero__grid { grid-template-columns: 1fr; }
	.portrait { order: -1; justify-self: start; max-width: 340px; }
	.portrait__cap { left: auto; right: -20px; bottom: 24px; }
	.chart { width: 100%; height: 62%; top: 0; bottom: auto; -webkit-mask-image: none; mask-image: none; }
	.about__grid, .book__grid, .faq__wrap, .sec__head { grid-template-columns: 1fr; }
	.about__img { max-width: 480px; }
	.book__form, .book__map { grid-column: auto; grid-row: auto; }
	.sec__head { gap: 12px; }
	.faq__wrap { gap: 28px; }
	.princ { grid-template-columns: 1fr; gap: 28px; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.steps li:nth-child(2)::after { display: none; }
	.reviews { grid-template-columns: 1fr; }
	.price__row { grid-template-columns: 1fr auto; }
	.price__main { grid-column: 1 / -1; }
	.price__val, .price__none { justify-self: end; }
	/* Линейка становится вертикальной, как отметки роста на дверном косяке */
	.ruler { display: none; }
	.ages__list { height: auto; display: grid; gap: 0; border-left: 2px solid var(--ink); }
	.ages__list li { position: relative; left: auto; width: auto; display: flex; gap: 16px; align-items: baseline; padding: 14px 0 14px 22px; }
	.ages__list li::before { left: -2px; right: auto; top: 50%; width: 14px; height: 2px; border-radius: 0; background: var(--ink); opacity: 1 !important; }
	.ages__range { display: block; flex: none; width: 84px; font: 500 .9rem/1.3 var(--display); color: var(--main); }
}
@media (max-width: 600px) {
	body { font-size: 16px; padding-bottom: 78px; }
	.top__in { min-height: 66px; gap: 12px; }
	.top__act .btn { display: none; }
	.brand__mark { width: 40px; height: 40px; }
	.hero { padding-top: 20px; }
	.portrait { max-width: 250px; }
	.portrait__img { border-radius: 24px; }
	.chart { height: 400px; }
	.about__img { aspect-ratio: 1; border-radius: 24px; }
	.portrait__cap { right: -64px; bottom: 18px; padding: 10px 14px; }
	h1 { font-size: 2rem; }
	.hero__lead { margin: 18px 0 28px; }
	.hero__cta .btn { width: 100%; }
	.steps { grid-template-columns: 1fr; }
	.steps li { min-height: 52px; padding: 2px 0 0 72px; }
	.steps li::after { display: none; }
	.form__row, .seg { grid-template-columns: 1fr; }
	.faq details p { padding-right: 0; }
	.edu li { grid-template-columns: 1fr; gap: 2px; }
	.book__form { border-radius: 24px; }
	.foot__grid { grid-template-columns: 1fr; gap: 20px; }
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); }
	.mbar .btn { flex: 1; min-height: 50px; padding: 0 12px; }
}
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.chart__line { animation: none; stroke-dashoffset: 0; }
	.chart__lab { animation: none; opacity: 1; }
	*, *::before, *::after { transition: none !important; }
}
