/* Shared finishes for city sites, the Telegram order form and the master's app. */
@font-face{font-family:Manrope;src:url("city-fonts/manrope.woff2") format("woff2");font-display:swap;font-weight:200 800}
@font-face{font-family:Cormorant;src:url("city-fonts/cormorantgaramond.woff2") format("woff2");font-display:swap;font-weight:300 700}
:root{--charcoal:#0d0d0d;--night:#060606;--porcelain:#f3eee4;--brass:#d7bb87;--edge:#45433f;--soft:#c9c5b9;color-scheme:dark}
body[data-city-page],body.order-room,body.master-room{background:#060606;color:var(--porcelain);font-family:Manrope,Arial,sans-serif}
#city-mast{background:#080808;border-bottom-color:#635944}
#city-mast .cs-brand b,.order-room .brand-mark,.master-room .brand-mark{background:transparent url("favicon.svg?v=signet2") center/contain no-repeat;border:0;box-shadow:none;border-radius:0;color:transparent;font-size:0;width:40px;height:40px;flex:none}
#city-mast .cs-brand{gap:12px}
#city-mast .cs-phone{font-weight:560;letter-spacing:-.035em}
body.atelier .spread{border-bottom-color:#595644}
body.atelier .plate{background:#171717;overflow:hidden;border-radius:3px}
body.atelier .plate::after{border-color:rgba(235,218,181,.5);pointer-events:none}
body.atelier .plate img,body.atelier .cards img{display:block;width:100%;object-fit:cover}
body.atelier .card picture{overflow:hidden;border-radius:3px}
body.atelier .card h3{font-weight:550}
body.atelier .card p,body.atelier .deck{color:#d5d2c7}
body.atelier .btn,body.atelier #callback button[type=submit],.order-room .submit,.order-room .track-btn,.master-room .btn.primary{background:linear-gradient(108deg,#e6d0a5,#d2b680);border:1px solid #ecd7b1;color:#090909;box-shadow:inset 0 1px #fff3;border-radius:4px;font-weight:700}
body.atelier #callback{background:linear-gradient(126deg,#1c1b1a,#121212 65%);border-color:#45433f;border-top-color:#bd9f6c;border-radius:4px}
body.atelier #callback :is(input,select,textarea){background:#090909;border-color:#595753;color:#f3eee4;border-radius:4px}
body.atelier .street-map{border-color:#45433f;border-radius:4px;overflow:hidden;background:var(--charcoal)}
body.atelier .street-tools{background:var(--charcoal)}
body[data-city-page=inside] header.section-portrait{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.8fr);align-items:center;gap:clamp(22px,4vw,65px);width:min(1180px,calc(100% - 48px));margin:0 auto clamp(20px,4vw,54px);padding:clamp(20px,4vw,58px) 0;border:0;border-bottom:1px solid var(--edge);background:none;text-align:left}
body[data-city-page=inside] header.section-portrait .wrap{padding:0;width:100%;max-width:none;margin:0;text-align:left}
header.section-portrait::after{content:"";display:block;aspect-ratio:1.78;background:var(--city-photo) center/cover;border-radius:3px;box-shadow:inset 0 0 0 1px #eee2}
body[data-city-page=inside] header.section-portrait h1{font-size:clamp(37px,4vw,67px);line-height:1.04;text-wrap:balance;margin:0 0 .3em}
body[data-city-page=inside] header.section-portrait .lead{max-width:65ch;margin:0;color:var(--soft);line-height:1.65}
body[data-city-page=inside] :is(.case-card,.fact,.faq-item,.contact-card,.cta-box){background-color:#121212;border-color:#343434;color:var(--porcelain)}
body[data-city-page=inside] main p{line-height:1.72}
body[data-city-page=inside] .legal{padding-block:clamp(32px,5vw,76px)}
.order-room{margin:0;min-height:100vh;padding:clamp(16px,4.5vw,76px) max(16px,env(safe-area-inset-left)) max(36px,env(safe-area-inset-bottom));background:radial-gradient(at 14% 15%,#1c1b1a,transparent 54%),#060606}
.order-layout{display:grid;grid-template-columns:minmax(235px,.85fr) minmax(325px,1fr);max-width:1040px;margin:auto;border:1px solid var(--edge);border-radius:5px;overflow:hidden;background:#121212}
.order-intro{display:flex;flex-direction:column;justify-content:space-between;gap:60px;min-height:480px;padding:clamp(24px,3.5vw,48px);background:linear-gradient(180deg,#080808bd,transparent 43%,#080808 99%),var(--city-photo) 53% center/cover}
.order-room .brand{margin:0;gap:12px;color:#fffaee;font:600 27px/1.1 Cormorant,Georgia,serif;text-shadow:0 1px 5px #0009}
.order-intro h1{font:500 clamp(42px,5vw,68px)/.98 Cormorant,Georgia,serif;letter-spacing:-.035em;color:#fff8e8;margin:0 0 14px}
.order-room .lead{font:500 15px/1.6 Manrope,Arial,sans-serif;color:#eee8d8;margin:0;max-width:35ch}
.order-panel{padding:clamp(22px,3.8vw,52px);align-self:center;min-width:0}
.order-room label{display:block;margin:15px 0 6px;color:#deded0;font:600 13px/1.5 Manrope,sans-serif}
.order-room label:first-child{margin-top:0}
.order-room :is(input,select){width:100%;min-height:46px;padding:10px 13px;background:#090909;color:var(--porcelain);border:1px solid #595753;border-radius:4px;font:500 16px/1.35 Manrope,sans-serif;margin:0}
.order-room input::placeholder{color:#b7b4ae}.order-room :focus-visible,.master-room :focus-visible,body[data-city-page] :focus-visible{outline:2px solid #e1c694;outline-offset:3px}
.order-room .submit,.order-room .track-btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;width:100%;margin-top:22px;font:700 15px Manrope,sans-serif}
.order-room .result{background:transparent;padding:0;border:none;color:var(--porcelain);text-align:left}
.order-room .result h3{font:500 clamp(34px,4vw,50px)/1.08 Cormorant,Georgia,serif;color:var(--porcelain);margin:0 0 18px}
.order-room .order-number{font:500 42px/1.1 Cormorant,Georgia,serif;color:var(--brass);letter-spacing:0}
.master-room{--bg:#060606;--bg-elev:#0d0d0d;--surface:#171717;--surface-2:#1c1b1a;--accent:#d4b884;--accent-hi:#ead6ad;--text:#f3eee4;--text-mute:#c6c3bc;--text-dim:#b7b4ae;--line:#343434;--line-2:#595753;--radius:5px;--radius-lg:7px}
.master-room :is(h1,h2,h3,.topbar-title,.order-id,.stat-val,.balance-big,.profile-name){font-family:Cormorant,Georgia,serif}
.master-room .topbar,.master-room .tabs{background:#0d0d0d;border-color:#45433f}
.master-room .screen,.master-room .auth-screen{width:min(100%,820px);margin-inline:auto}
.master-room .screen{padding:clamp(18px,3vw,34px) clamp(16px,3vw,34px) 110px}
.master-room .auth-screen{background:linear-gradient(180deg,#08080877,#060606 230px),var(--city-photo) center top/100% auto no-repeat;padding:clamp(28px,6vw,70px) 24px}
.master-room .auth-screen .steps{background:#121212;border:1px solid #45433f;border-radius:5px}
.master-room .auth-screen h1{font-size:clamp(42px,5vw,60px);line-height:1.05}
.master-room .card,.master-room .order-card,.master-room .active-card,.master-room .stat{border-color:#45433f;background:#121212}
.master-room .tabs{justify-content:center}.master-room .tab{max-width:220px;min-height:58px}
.master-room .tab .ico{width:23px;height:23px;display:grid;place-items:center}.master-room .tab .ico svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-linejoin:round;stroke-linecap:round;stroke-width:1.65}
@media(max-width:700px){body[data-city-page=inside] header.section-portrait{grid-template-columns:1fr;width:calc(100% - 36px);gap:17px}header.section-portrait::after{aspect-ratio:2.65}.order-layout{display:block;max-width:520px}.order-intro{min-height:210px;gap:32px;padding:20px;background-position:center,center 40%}.order-intro h1{font-size:40px}.order-room .brand{font-size:23px}.order-room .brand-mark{width:32px;height:32px}.order-panel{padding:22px 18px 26px}.order-room{padding-top:max(12px,env(safe-area-inset-top))}#city-mast .cs-brand b{width:30px;height:30px}}
@media(prefers-reduced-motion:no-preference){body.atelier .card img{transition:transform .32s ease}body.atelier .card:hover img{transform:scale(1.025)}}


/* Form, work-order and tracking states share the same brass and enamel finish. */
body.atelier .spread-copy{background:radial-gradient(ellipse at 5% 70%,#18181870,transparent 72%);padding-left:clamp(0px,1.4vw,22px)}
body.atelier .deck{font-size:clamp(16px,1.28vw,20px);line-height:1.55}
body.atelier .tariffline{border-top-color:#75664e}
body.atelier .cards .card picture{box-shadow:0 0 0 1px #c8b28e30}
body.atelier .cards .card>div{border-bottom-color:#585746}
body.atelier .card h3{letter-spacing:-.02em;font-size:clamp(24px,2vw,34px)}
.order-room label{text-transform:none;letter-spacing:.01em}
.order-room .result{margin-top:0}
.order-room .order-layout:has(.result.visible) .order-intro h1,.order-room .order-layout:has(.result.visible) .order-intro .lead{display:none}
.order-room .order-layout:has(.result.visible) .order-intro{min-height:230px}
.order-room .result::before{content:"✓";display:grid;place-items:center;width:40px;height:40px;border:1px solid #baa26f;border-radius:50%;color:#dfc48e;font:24px/1 Manrope,sans-serif;margin-bottom:22px}
.master-room .btn{border-radius:5px}
.master-room .btn:not(.ghost):not(.danger){background:#d7be91;color:#090909}
.master-room .btn.danger{background:#582e2c;border:1px solid #aa6c64;color:#fff2e9}
.master-room .btn.danger:hover{background:#733b36}
.master-room .auth-screen .brand-mark{height:54px;width:54px}
body #zc-panel{border-color:#45433f;font-family:Manrope,Arial,sans-serif;background:#121212}
body #zc-panel .zc-head{background:#171717;color:#f4eee2}
body #zc-panel .zc-send{background:#d7bc8b;color:#090909}
body.receipt-room{--accent:#d7bb87;--surf:#121212;--line:#45433f;--mute:#c6c3bc;--bg:#060606;--text:#f2ede2;background:#060606;color:var(--text);font-family:Manrope,Arial,sans-serif}
.receipt-room .brand-mark{width:36px;height:36px;background:transparent url("favicon.svg?v=signet2") center/contain no-repeat;color:transparent;font-size:0;border:0;border-radius:0}
.receipt-room :is(.brand,h1,h2,.master-name,.big-time){font-family:Cormorant,Georgia,serif;letter-spacing:-.022em}
.receipt-room :is(.card,.master-card,.chat-panel){background:#171717;border-color:#45433f}
.receipt-room :is(.btn,.chat-send){background:#d7bb87;color:#090909;border-radius:5px}
.receipt-room header{background:#0d0d0d;border-color:#45433f}
.receipt-room .chat-head{background:#171717}
@media(max-width:700px){body.atelier .spread-copy{padding-left:0}.order-room .order-layout:has(.result.visible) .order-intro{min-height:108px}}
@media(max-width:720px){
  #city-mast nav{flex-wrap:wrap;justify-content:space-between;gap:2px 8px}
  #city-mast nav a{font-size:clamp(16px,4.5vw,20px)}
  #city-mast .cs-inner{row-gap:4px}
  #city-mast .cs-brand{gap:7px;max-width:100%}
  #city-mast .cs-phone{font-size:clamp(16px,4.6vw,21px)}
}
.master-room .banner-ico{width:27px;height:27px;display:grid;place-items:center;color:var(--brass)}
.master-room .banner-ico svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}

/* Keep black neutral on OLED and desktop displays. */
html:has(body[data-city-page]),html:has(body.order-room),html:has(body.master-room),html:has(body.receipt-room){background:#060606}
body[data-city-page=inside]{background:#060606}
body[data-city-page=inside] header.section-portrait{background:transparent}
body.atelier .mobile,body.atelier footer{background:#0b0b0b}
body.atelier .street-tools button:not([data-locate]){background:#191919;color:#ece9e2;border-color:#4d4a45}
.order-room .order-number{padding:14px 0;border:0;border-bottom:1px solid #49443b;border-radius:0;background:none;text-align:left}
.receipt-room .stars .star:not(.active):not(.on):not(.sel){color:#938e83}

[data-photo="door"]{--city-photo:url("images/srv-msk-01-dver-20261117.webp")}

[data-photo="parts"]{--city-photo:url("images/srv-msk-03-lichinka-20261117.webp")}

[data-photo="auto"]{--city-photo:url("images/srv-msk-05-avto-20261117.webp")}

[data-photo="safe"]{--city-photo:url("images/srv-msk-06-seyf-20261117.webp")}

[data-photo="street"]{--city-photo:url("images/srv-msk-10-vyezd-20261117.webp")}

[data-photo="tools"]{--city-photo:url("images/srv-msk-09-instrument-20261117.webp")}
