:root{color-scheme:light;--header-bg:rgba(245,243,237,.97);--toggle-track:#e6e5dc;--toggle-thumb:#fffefa}
.header{background:var(--header-bg)}
.theme-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;width:80px;height:44px;padding:4px;border:1px solid var(--line);border-radius:30px;background:var(--toggle-track);isolation:isolate}
.theme-toggle::before{content:'';position:absolute;left:4px;top:4px;width:34px;height:34px;border-radius:50%;background:var(--toggle-thumb);box-shadow:0 1px 5px #0002;transition:transform .22s ease;z-index:-1}
.theme-toggle svg{width:22px;height:22px;margin:0 6px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .sun{color:#b94120}.theme-toggle .moon{color:var(--muted)}
.theme-toggle:hover{border-color:var(--muted)}
[data-theme=dark]{color-scheme:dark;--paper:#171916;--ink:#f0eee6;--orange:#ff7954;--line:#3c4036;--muted:#b4b8aa;--white:#242820;--header-bg:rgba(23,25,22,.97);--toggle-track:#292e25;--toggle-thumb:#e5edcc}
[data-theme=dark] .theme-toggle::before{transform:translateX(36px)}
[data-theme=dark] .theme-toggle .sun{color:var(--muted)}
[data-theme=dark] .theme-toggle .moon{color:#283020}
[data-theme=dark] ::selection{background:#92513c;color:#fffefa}
[data-theme=dark] :is(button,a,input,select,textarea,summary):focus-visible{outline-color:#a7bfff}
[data-theme=dark] .hero-copy>p{color:var(--muted)}
[data-theme=dark] .hero-image{mix-blend-mode:normal}
[data-theme=dark] .art-tag,[data-theme=dark] .photo-print,[data-theme=dark] .id-sheet{color:#24251f}
[data-theme=dark] .art-tag svg{stroke:#24251f}
[data-theme=dark] .print-visual{background:#2b3329}
[data-theme=dark] .document-visual{background:#303129}
[data-theme=dark] .visual-label{color:#c2c8b7}
[data-theme=dark] .service-card{background:#1c1f1a}
[data-theme=dark] .copy-card{background:#252b20}
[data-theme=dark] .gifts-card{background:#32251f}
[data-theme=dark] .paper-icon{color:#3b4433}
[data-theme=dark] .gift-asterisk{color:#593c2d}
[data-theme=dark] .imagery-note{color:var(--muted)}
[data-theme=dark] .student-strip{background:#303b25;color:#eef1e7}
[data-theme=dark] .student-strip .dark{background:#dce8b3;color:#25301d}
[data-theme=dark] .calc-summary{background:#252c20}
[data-theme=dark] .form-grid select,[data-theme=dark] .quantity-control,[data-theme=dark] .search-label input,[data-theme=dark] .order-text-label textarea{border-color:#626956}
[data-theme=dark] .form-grid select option{background:#20251b;color:var(--ink)}
[data-theme=dark] .search-label input{color:var(--ink)}
[data-theme=dark] input::placeholder{color:#a9af9f}
[data-theme=dark] .total-line{border-color:#505a44}
[data-theme=dark] .discount-pill{background:#dce8b3;color:#25301d}
[data-theme=dark] .discount-line,[data-theme=dark] .branch-status.open{color:#c5dd91}
[data-theme=dark] .copy-status{color:#c5dd91!important}
[data-theme=dark] .location-card{background:#20251c}
[data-theme=dark] .order-text-label textarea{background:#22271d}
[data-theme=dark] .manifesto{background:#242e23;color:#f5f3ed}
[data-theme=dark] .manifesto .cream{background:#e5edcc;color:#25301d}
[data-theme=dark] .closing{background:#bd3e20;color:#fff4eb}
[data-theme=dark] .closing-arrow:hover{background:#fff4eb;color:#bd3e20}
[data-theme=dark] .orange,[data-theme=dark] .mobile-bottom a:first-child{background:#ff7954;color:#241810}
[data-theme=dark] .orange:hover{background:#ff9578}
[data-theme=dark] .dark:hover{background:#d4ddbd;color:#20251b}
[data-theme=dark] .round-link:hover{color:#20251b}
[data-theme=dark] .skip-link{color:#171916}
[data-theme=dark] .outline{border-color:#737b65}
.telegram-fallback{display:inline-block;margin-top:8px;text-decoration:underline;text-underline-offset:4px;font-size:13.2px}
.order-channels .email-channel{grid-column:1/-1;justify-self:center;font-size:14.4px;margin:4px 0 0}
.dialog .telegram-help{font-size:12px;line-height:1.6;margin:14px 0;color:var(--muted)}
@media(min-width:701px) and (max-width:1200px){.header-actions{gap:14px}.header-actions>.city{display:none}}
@media(max-width:700px){.header-actions{gap:10px}.theme-toggle{width:76px}.theme-toggle::before{width:32px;height:32px;top:5px}.theme-toggle svg{width:20px;height:20px;margin-inline:6px}[data-theme=dark] .theme-toggle::before{transform:translateX(34px)}}
@media(prefers-reduced-motion:reduce){.theme-toggle::before{transition:none}}
@media print{html[data-theme]{color-scheme:light;--paper:#fff;--ink:#24251f;--muted:#66675e;--line:#d9d8d0}.theme-toggle{display:none}html[data-theme] :is(.service-card,.calc-summary,.location-card,.student-strip){background:white;color:#24251f}}

/* Room for the 20% larger type without changing the page scale. */
.hero-layout>*{min-width:0}.hero h1{max-width:100%}
.hero-buttons{flex-wrap:wrap}.hero-service-strip a{flex-wrap:wrap}
.service-title{flex-wrap:wrap}.service-content{min-height:210px}
.compact{min-height:240px}.student-inner{flex-wrap:wrap}
.location-top{flex-wrap:wrap}.hours{flex-wrap:wrap}
.footer-main{flex-wrap:wrap}.footer-links{flex-wrap:wrap}
.form-grid select{min-height:50px}.order-channels .button{overflow-wrap:anywhere}
.closing>div{flex-wrap:wrap}
@media(min-width:701px) and (max-width:1000px){.hero-layout{grid-template-columns:1.3fr 1fr}}
@media(max-width:1000px){.header{height:76px}.desktop-nav,.header-actions>.button,.header-actions>.city{display:none}.header-actions{gap:12px}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:40px;height:44px;padding:8px}.menu-toggle span{width:23px;height:1.5px;background:var(--ink);transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}.mobile-nav{top:76px}}
@media(max-width:700px){.header{height:72px;padding-inline:12px;gap:8px}.header>.brand{gap:4px;letter-spacing:-1.9px}.header-actions{gap:4px}.menu-toggle{width:32px;padding:4px}.mobile-nav{top:72px}.theme-toggle{width:64px}.theme-toggle::before{width:28px;height:28px;top:7px;left:3px}.theme-toggle svg{width:18px;height:18px;margin-inline:4px}[data-theme=dark] .theme-toggle::before{transform:translateX(28px)}.hero-asterisk{right:-.25em;bottom:1.8em}.hero-buttons{gap:16px}.service-title{align-items:flex-start}.service-title h3{max-width:100%}.student-inner{grid-template-columns:105px 1fr;gap:16px}.student-inner .button{white-space:normal}.compact{min-height:210px}.form-grid{column-gap:14px}.closing h2{min-width:0}.closing>div{align-items:flex-end}.closing-arrow{margin-bottom:15px}.footer-main>.brand{font-size:31.2px}}
@media(max-width:700px){.closing h2{flex-basis:100%}.closing-arrow{margin:4px 0 0 auto}.location-card{min-width:0}.location-card h3 br{display:initial}.student-inner{grid-template-columns:145px 1fr;gap:14px}}
@media(max-width:400px){.form-grid{grid-template-columns:1fr}.hero-buttons{flex-wrap:wrap}.closing{padding-inline:12px}}

.location-actions{display:grid;gap:10px;margin-top:auto}
.location-actions .button{margin-top:0;gap:12px;min-height:54px}
.branch-telegram svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.branch-telegram-web{justify-self:center;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;padding:6px 0}
.branch-telegram-web:hover{color:var(--ink)}
.dialog .order-destination{font-size:13.2px;color:var(--ink);margin:20px 0 10px;line-height:1.6}
.button.telegram-button,button.telegram-button,a.telegram-button{background:#229ed9;color:#06283b;border-color:transparent;text-decoration:none;border-radius:5px;font-weight:600}
.button.telegram-button:hover,button.telegram-button:hover,a.telegram-button:hover{background:#36b0e9;color:#06283b;border-color:transparent}
.branch-account{justify-self:center;font-size:12px;color:var(--muted);padding:4px 0}
.contact-branches{display:grid;gap:12px;margin-top:25px}.contact-branches .button{width:100%;text-align:left}.contact-branches small{display:block;font-size:12px;font-weight:400;margin-top:4px}
.faq .telegram-button{margin-top:15px;font-size:14.4px}.footer-links .telegram-button{font-size:13.2px;min-height:42px;padding:10px 15px}
.closing .closing-arrow.telegram-button{width:112px;height:112px;flex:0 0 auto;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#229ed9;color:#fff}
.closing .closing-arrow.telegram-button svg{display:block;width:72%;height:72%;fill:currentColor;stroke:none;transform:translateX(-2%)}
.closing .closing-arrow.telegram-button:hover{background:#1690cc;color:#fff;transform:translateY(-3px)}
.closing .closing-arrow.telegram-button:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(max-width:700px){.closing .closing-arrow.telegram-button{width:72px;height:72px}}
.order-channels #order-telegram{grid-column:1/-1}.mobile-nav .telegram-button{padding:14px 18px;text-align:left}

/* Keep the two contact actions distinct and equally sized in the menu. */
.call-button,.button.call-button{background:#168344;color:#fff;border:1px solid transparent;border-radius:5px;font-weight:600;text-decoration:none}
.call-button:hover,.button.call-button:hover{background:#106a35;color:#fff}
.mobile-nav .call-button{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;padding:14px 18px;text-align:left}
.call-button svg{display:block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.call-branches .button{min-height:80px}.call-branches small{font-size:14px;line-height:1.5}
.mobile-nav{max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:700px){.mobile-nav{max-height:calc(100dvh - 72px)}.call-branches .button{padding:14px 16px}.call-branches small{font-size:13px}}

/* Footer contact channels share a comfortable target size. */
.footer-links{align-items:center;gap:12px}
.footer-links .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 16px;font-size:14px;line-height:24px;font-weight:600;white-space:nowrap}
.footer-links .vk-button{background:#0069e8;color:#fff;border-color:transparent}
.footer-links .vk-button:hover{background:#005bc9;color:#fff}
.footer-links .vk-button img{display:block;width:24px;height:24px;flex:none;filter:brightness(0) invert(1)}
.footer-links .email-button{background:#e8dfca;color:#302d26;border-color:transparent}
.footer-links .email-button:hover{background:#d9cdb1;color:#302d26}
.footer-links .mail-icon{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.footer-links .button .channel-arrow{font-size:18px;line-height:1}
@media(max-width:700px){.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.footer-links .button{width:100%;padding-inline:12px}.footer-links .email-button{grid-column:1/-1}}

/* Compact contact choices: two balanced rows, including on a phone. */
.button.vk-button{background:#0069e8;color:#fff;border-color:transparent}
.button.vk-button:hover{background:#005bc9;color:#fff}
.button.vk-button img{filter:brightness(0) invert(1)}
.button.email-button{background:#e8dfca;color:#302d26;border-color:transparent}
.button.email-button:hover{background:#d9cdb1;color:#302d26}
.order-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.order-channels #order-telegram{grid-column:auto}
.order-channels .button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:44px;padding:9px 10px;font-size:13px;font-weight:600;line-height:1.35;text-align:center}
.order-channels .channel-icon{display:block;width:18px;height:18px;flex:0 0 18px}
.order-channels .telegram-icon{fill:currentColor;stroke:none}
.order-channels .mail-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#copy-order{min-height:44px;padding:9px 14px;font-size:14px}
.footer-links .button{min-height:44px;padding-block:9px}
.mobile-nav .telegram-button,.mobile-nav .call-button{min-height:44px;padding:10px 16px;font-size:20px}
.call-branches .button,.contact-branches .telegram-button{min-height:68px;padding:11px 16px}
@media(max-width:380px){.order-channels .button{gap:6px;padding-inline:8px;font-size:12px}}
