:root{color-scheme:light}
.theme-control{display:flex;align-items:center;gap:9px;margin:0;font:500 12px/1.3 Montserrat,Arial,sans-serif;color:var(--ink,#173d5b);white-space:nowrap}
.theme-control>span{font-size:13px}.theme-control select{font:inherit;cursor:pointer;width:auto;min-height:40px;margin:0;padding:9px 25px 9px 11px;border:1px solid var(--line,#d7e5ee);border-radius:9px;background:#fff;color:inherit}
.theme-control select:focus-visible{outline:3px solid #65a7d1;outline-offset:3px}.theme-header-actions{display:flex;align-items:center;gap:24px}.theme-toolbar{display:flex;justify-content:flex-end;margin-bottom:20px}
html[data-theme=dark]{--ink:#e0eef8;--blue:#81bee7;--pale:#1d3345;--line:#344c60;--muted:#b0c3d2;--white:#172b3c;color-scheme:dark}
html[data-theme=dark] body{background:#101e2b;color:var(--ink)}
html[data-theme=dark] :is(p,li,.updated){color:var(--muted)}
html[data-theme=dark] :is(.hero,.concerns,.services,.slot-picker){background:#192f41;border-color:var(--line)}
html[data-theme=dark] :is(.auth-card,.panel,.plan,.format-picker,.photo-note,.cookie-notice,.chat-thread-heading,.chat-category,.side-nav button,.side-nav>a,.tabs button[aria-selected=true],.divider span){background:#172b3c;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] :is(input,select,textarea,.chat-compose-row textarea){background:#132636;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#90aabd}
html[data-theme=dark] :is(.btn,.primary,.side-nav button.active,.chat-category.active,.format-choice[aria-pressed=true],.calendar-day.selected,.slot-date.selected,.slot-time.selected){background:#347ca9;border-color:#347ca9;color:#fff}
html[data-theme=dark] :is(.btn:hover,.primary:hover){background:#438ebb}
html[data-theme=dark] :is(.btn.light,.secondary,.slot-time,.chip,.format-choice,.empty,.vk-button,.calendar-day,.slot-date.available,.mini-heart,.notice,.badge){background:#203b50;border-color:#3d5c73;color:#d8edfc}
html[data-theme=dark] :is(.slot-date.selected,.slot-time.selected,.calendar-day.selected){background:#347ca9;color:#fff}
html[data-theme=dark] :is(.format-result,th,td,.logo-mark,.brand-mark){border-color:var(--line)}
html[data-theme=dark] :is(.format-result,.hero-note,.num,.price del,.calendar-weekday,.chat-help,.privacy-note,.divider){color:var(--muted)}
html[data-theme=dark] :is(.hero h1 span,.intro h1 span){color:#83bce3}
html[data-theme=dark] .plan-vip{background:linear-gradient(145deg,#214e70,#326f96);border-color:#538bb2;color:#fff}
html[data-theme=dark] :is(.plan-vip p,.plan-vip li){color:#e1edf6}
html[data-theme=dark] .plan-vip .btn{background:#e2f0fa;color:#173d5b;border-color:#e2f0fa}
html[data-theme=dark] .contact{background:#1d4059}
html[data-theme=dark] .contact p{color:#c6dbea}
html[data-theme=dark] :is(.cookie-notice p,.cookie-notice a,main>a){color:var(--muted)}
html[data-theme=dark] .cookie-notice button{background:#347ca9}
html[data-theme=dark] .chat-list{background:#132636}
html[data-theme=dark] .chat-list-item.active{background:#28475f}
html[data-theme=dark] #chat-messages{background:#102332;border-color:var(--line)}
html[data-theme=dark] .chat-message{background:#20384b;color:var(--ink)}
html[data-theme=dark] .chat-message.mine{background:#285573;color:#edf7ff}
html[data-theme=dark] .chat-message p{color:inherit}
html[data-theme=dark] :is(.chat-message strong,.chat-checks.read){color:#8acfff}
html[data-theme=dark] :is(.chat-message .chat-meta,.chat-checks){color:#b3cbdc}
html[data-theme=dark] .chat-message a{background:#ffffff0c}
html[data-theme=dark] .panel #chat-form{background:#172b3c;border-color:var(--line)}
html[data-theme=dark] #chat-file-preview{background:#203b50}
html[data-theme=dark] .status{color:#8acfff}html[data-theme=dark] .status.error{color:#ffabb3}
html[data-theme=dark] a.btn.light{background:#203b50;color:#d8edfc;border-color:#3d5c73}
header .logo{flex-shrink:0}header nav a{white-space:nowrap}
@media(min-width:751px) and (max-width:1350px){header:has(.header-actions){flex-wrap:wrap;gap:18px}header:has(.header-actions) nav{order:3;width:100%;justify-content:center}header:has(.header-actions) .header-actions{margin-left:auto}}
@media(max-width:1100px){.header-actions{flex-wrap:wrap}.theme-control{gap:6px}.theme-header-actions{gap:14px}}
@media(max-width:750px){header .header-actions{width:100%;justify-content:space-between;order:2}header nav{order:3}.theme-header-actions{flex-wrap:wrap;justify-content:flex-end}body>header{flex-wrap:wrap;gap:18px}.theme-control select{min-height:40px;font-size:12px}.theme-control>span{font-size:12px}}

/* Keep the featured card distinct from the generic dark surfaces. */
html[data-theme=dark] article.plan.plan-vip{background:linear-gradient(145deg,#1d4a6b,#326f96);border-color:#6299bf;color:#fff;box-shadow:0 12px 32px #0003}
html[data-theme=dark] article.plan.plan-vip .label{color:#bfdff5}
html[data-theme=dark] article.plan.plan-vip :is(p,li){color:#e1edf6}
html[data-theme=dark] article.plan.plan-vip a.btn{background:#fff;border-color:#fff;color:#204b6c}
html[data-theme=dark] article.plan.plan-vip a.btn:hover{background:#e4f1fa}
@media(min-width:1000px){.plans,.services-panel .plans{grid-template-columns:repeat(4,minmax(350px,1fr))}.plan.plan-vip h3{font-size:25px;white-space:nowrap;font-weight:700}}
@media(min-width:1800px){.plans,.services-panel .plans{grid-template-columns:repeat(4,minmax(390px,1fr))}.plan.plan-vip h3{font-size:28px}}

html[data-theme=dark] .map-center{background:linear-gradient(145deg,#203c52,#172c3e);border-color:#42627b;box-shadow:0 12px 40px #0002}
html[data-theme=dark] .map-center h2{color:#e8f3fc}
html[data-theme=dark] .map-center .label,html[data-theme=dark] .map-heart{color:#91c8ed}
html[data-theme=dark] .map-number{background:#203e55;color:#a4d7fa;border-color:#5985a4;box-shadow:0 0 0 7px #101e2b}
html[data-theme=dark] .map-branches:before,html[data-theme=dark] .map-branches:after,html[data-theme=dark] .map-branches span,html[data-theme=dark] .map-stages:before{border-color:#527994}

.legal-details{display:block;font-size:11px;line-height:1.7;margin-top:6px;max-width:470px;overflow-wrap:anywhere}.privacy-requisites{border-top:1px solid var(--line,#d7e5ee);padding-top:20px;margin-top:32px;font-size:13px}

@media(max-width:750px){html[data-theme=dark] .hero-photo{background:#192f41}}
