:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#30273d;background:#f3f0f7;font-synthesis:none;--accent:#6625bf;--muted:#6e7b8d;--line:#e2e7ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:white;min-height:44px;border-radius:14px;padding:11px 15px;font-weight:650}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2e80d6;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.12;letter-spacing:-1px}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:17px}p{line-height:1.5}small,.muted{color:var(--muted)}small{font-size:12px;line-height:1.5}.shell{max-width:520px;margin:auto;padding:22px 20px 105px;min-height:100dvh}.shell.office{max-width:1050px}.header{display:flex;align-items:center;justify-content:space-between;margin:8px 0 22px;gap:12px}.brand{font-size:25px;font-weight:900;letter-spacing:3px}.brand em{font-style:normal;color:var(--accent)}.languages{display:flex;background:#f9fbfd;border-radius:22px;padding:3px;gap:1px}.languages button{min-height:30px;padding:6px 10px;font-size:11px;border-radius:18px;background:none}.languages button.active,.primary,.category.active{background:var(--accent);color:white}.primary{width:100%;box-shadow:0 5px 14px #6625bf20;min-height:49px}.secondary{background:#e6ecf4}.section{margin-top:23px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:750;color:var(--muted);margin-bottom:8px}.hero-copy{margin:22px 0 19px}.hero-copy p{font-size:14px;color:var(--muted);margin-top:10px;max-width:340px}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.category{display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;border-radius:17px;min-height:85px;font-size:11px;font-weight:600;padding:12px 5px;background:#ffffffc9}.icon{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.category .icon{width:28px;height:28px}.map{position:relative;background:#e4eddf;border-radius:23px;overflow:hidden;height:238px;border:1px solid #dce4e6}.map svg{width:100%;height:100%}.map text{font-family:inherit;fill:#5b6a66;font-size:9px;letter-spacing:1px}.map .riga{font-size:23px;fill:#253d4c;font-weight:650;letter-spacing:0}.map .pin text{fill:white;font-size:12px;letter-spacing:0;font-weight:750}.map-caption{position:absolute;bottom:11px;left:11px;background:#fffffff0;padding:5px 9px;border-radius:8px;font-size:10px;color:#607080}.location{width:100%;display:flex;justify-content:space-between;margin-bottom:12px;background:#ffffffb0;font-size:13px;text-align:left}.badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:7px;background:#eee5fa;color:#57229b;font-size:11px;font-weight:650}.demo{font-size:11px;color:#70588b;line-height:1.4;margin:10px 0 15px}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);display:flex;justify-content:space-around;z-index:10;padding:12px 16px max(15px,env(safe-area-inset-bottom));background:#f8fafdF5;border-top:1px solid #e2e7ef;backdrop-filter:blur(15px)}.nav button{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;background:none;min-width:80px;padding:4px}.nav button.active{color:#6625bf}.nav .icon{width:22px;height:22px}.card{background:#fff;border-radius:20px;padding:17px;margin-bottom:10px;border:1px solid #ffffff;box-shadow:0 3px 12px #182d4803}.garage-card{display:block;width:100%;text-align:left}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.row.start{justify-content:flex-start}.rating{color:#6625bf}.meta{font-size:12px;color:#68778a;margin-top:8px;display:flex;gap:10px;flex-wrap:wrap}.price{display:inline-block;background:var(--accent);color:white;border-radius:12px;padding:7px 11px;font-size:19px;font-weight:800;white-space:nowrap}.price.navy{background:#30273d}.sort{display:flex;gap:3px;background:#f8fafd;border-radius:20px;padding:4px;margin:16px 0}.sort button{flex:1;font-size:11px;border-radius:18px;min-height:33px;padding:7px 5px;background:transparent}.sort button.active{background:var(--accent);color:white}.back{padding:8px 0;background:transparent;font-size:13px;color:#637187;display:flex;align-items:center;gap:8px}.detail-title{margin:12px 0 18px}.service-icon{background:#eee5fa;color:var(--accent);padding:13px;border-radius:14px;display:flex}.times{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.times button{font-size:12px;background:#f1f4f8}.times button.active{background:#30273d;color:white}.field{display:block;margin:15px 0;font-size:12px;font-weight:650}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #d9e1eb;border-radius:12px;background:white;padding:13px;color:#30273d;margin-top:7px;min-height:46px}.field textarea{min-height:90px}.login{margin:50px auto 0;max-width:390px}.login h1{margin:18px 0 10px}.login .primary{margin-top:12px}.empty{text-align:center;padding:48px 20px}.empty .icon{width:45px;height:45px;color:#8a9bb0;margin-bottom:15px}.empty p{margin:10px 0 20px;color:var(--muted);font-size:14px}.steps{font-size:11px;color:#7b8899;letter-spacing:.8px;margin:12px 0}.summary{display:grid;grid-template-columns:1fr auto;gap:14px;font-size:13px;margin:20px 0}.summary dt{color:var(--muted)}.summary dd{margin:0;text-align:right;max-width:225px}.notice-inline{background:#e6f2eb;color:#307149;padding:13px;border-radius:12px;font-size:13px;margin:15px 0}.order-status{display:inline-block;padding:7px 10px;border-radius:9px;background:#eee5fa;color:#57229b;font-size:12px;margin:12px 0}.order-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.order-actions button{font-size:12px;background:#eaf0f6}.order-actions button:first-child{background:#30273d;color:white}.order-history{border-top:1px solid var(--line);padding-top:10px;margin-top:14px;font-size:11px;color:var(--muted)}.extra{background:#f3f5f9;border-radius:12px;padding:12px;margin-top:10px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.stats .card{margin:0}.stats strong{display:block;font-size:30px;margin-bottom:7px}.office-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.office .section-title{margin-top:20px}.office nav{display:flex;gap:8px}.office .header{border-bottom:1px solid var(--line);padding-bottom:20px}#notice:not(:empty){position:fixed;left:50%;transform:translateX(-50%);bottom:95px;max-width:calc(100% - 35px);width:400px;background:#30273d;color:white;border-radius:15px;padding:16px;z-index:100;box-shadow:0 7px 30px #30273d30;font-size:14px}.spacer{height:15px}.full{width:100%}.login-help{margin-top:20px;font-size:12px;color:var(--muted)}.car-select{background:#fff;border-radius:15px;padding:12px;margin:12px 0;display:flex;align-items:center;gap:10px}.car-select select{border:0;background:transparent;color:inherit;width:100%;font-size:13px;min-height:30px}.divider{height:1px;background:var(--line);margin:18px 0}.footer-note{font-size:11px;color:var(--muted);text-align:center;margin:17px 0}.geolocation{font-size:12px;width:100%;margin-top:6px;background:#e8eef6}.office-label{font-size:12px;color:var(--muted);margin-top:6px}@media(min-width:700px){.shell:not(.office){margin-top:25px;margin-bottom:25px;border-radius:32px;box-shadow:0 15px 70px #30273d12;min-height:850px;padding:25px}.map{height:270px}.nav{border-radius:25px 25px 0 0}.office{padding:35px}.office h1{font-size:35px}}@media(max-width:650px){.office-grid{grid-template-columns:1fr}.stats strong{font-size:25px}.stats .card{padding:13px}.office .header{flex-wrap:wrap}.office h1{font-size:27px}}

.service-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.service-row:last-child{border-bottom:0}.service-row button{font-size:12px}.service-row strong{font-size:14px}

.map-frame{border:1px solid #dae3eb;border-radius:20px;overflow:hidden;background:#fff;margin:12px 0}.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;font-size:13px}.map-toolbar button{font-size:12px;min-height:36px;padding:8px 12px}.live-map{height:300px;width:100%;background:#e6edf1;z-index:0}.map-note{font-size:11px;color:#6e7b8d;padding:6px 10px}.map-status{font-size:12px;color:#70588b;padding:0 10px}.map-status:not(:empty){padding:8px 10px}.map-price{display:flex;align-items:center;justify-content:center;min-width:76px;height:36px;border:2px solid white;box-shadow:0 3px 9px #30273d40;border-radius:12px;background:#30273d;color:white;font-size:13px;font-weight:800;white-space:nowrap}.map-price:after{content:'';position:absolute;bottom:-5px;left:32px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:7px solid #30273d}.garage-map-marker:focus{outline:3px solid #6625bf;outline-offset:5px}.gps-dot{display:block;width:20px;height:20px;border:3px solid white;border-radius:50%;background:#267ad5;box-shadow:0 0 0 4px #267ad530}.live-map .leaflet-control-zoom a{width:40px;height:40px;line-height:40px}.live-map .leaflet-control-attribution{font-size:10px;color:#324554;background:#fffffff0}.live-map .leaflet-control-attribution a{color:#17619b}.live-map .leaflet-tooltip{font-family:inherit}

.brand{display:flex;align-items:center;gap:9px;color:#393634;letter-spacing:-1px;font-weight:900}.brand img{border-radius:9px}.brand-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;color:#393634;font-size:42px;font-weight:900;letter-spacing:-2px}

.office .brand{font-size:clamp(18px,5vw,25px);letter-spacing:-.7px}.office .brand img{flex-shrink:0}

/* Page scrolling stays available; Leaflet handles map pinch gestures itself. */
html,body{width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y}
.shell{min-width:0;overflow-wrap:anywhere}
.shell>*{min-width:0}
input,select,textarea{max-width:100%}
.live-map{touch-action:none}
@media(pointer:coarse){input,select,textarea,.car-select select{font-size:16px}}

.brand-loading{flex-direction:column;gap:20px}.brand-loading img{border-radius:22px}

.login-logo{display:block;border-radius:18px;margin-bottom:20px}

.map-price{transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;cursor:pointer}.map-price.selected{background:#6625bf;box-shadow:0 4px 16px #6625bf60;border-color:#fff}.map-price.selected:after{border-top-color:#6625bf}.map-preview:empty{display:none}.map-preview-card{padding:14px;border-top:1px solid var(--line);background:white}.map-preview-card .row:last-child{margin-top:12px}.map-close{min-width:44px;font-size:22px;padding:4px}.map-preview-card .secondary{font-size:13px}.map-preview-card strong{font-size:17px}
@media(prefers-reduced-motion:reduce){.map-price{transition:none}}

.bundle-item{padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.bundle-item strong{white-space:nowrap}.category.active{box-shadow:inset 0 0 0 2px #441881}

.chat-message{padding:12px;border-radius:16px;background:white;margin:10px 35px 10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.mine{margin:10px 0 10px 35px;background:#eee5fa}.check-field{display:flex;align-items:center;gap:12px;padding:12px 0}.check-field input{width:22px;height:22px}

.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.schedule-grid input{min-width:0;max-width:100%;box-sizing:border-box}.schedule-days{border:0;padding:0;margin:16px 0;display:flex;flex-wrap:wrap;gap:8px}.schedule-days legend{margin-bottom:10px}.schedule-days label{display:flex;align-items:center;gap:6px;padding:10px;background:#f2ebfa;border-radius:12px}.schedule-days input{accent-color:#6625bf}

.category[data-value="10"]{grid-column:1 / -1;gap:8px;padding:16px}.category[data-value="10"] small{display:block;font-weight:400;font-size:12px;line-height:1.45}.maintenance-description{display:block;font-size:12px;line-height:1.45;margin-top:6px}

.nav button{flex:1;min-width:0}.support-link{display:inline-block;margin-top:16px;padding:14px;border-radius:14px}.summary dd{overflow-wrap:anywhere}.office{padding-bottom:110px}

.client-header{border-bottom:2px solid var(--accent);padding-bottom:9px;gap:10px;margin-bottom:10px}.client-header .brand{font-size:23px;letter-spacing:0;flex-shrink:0}.header-car{display:flex;align-items:center;gap:6px;min-width:0}.header-car .icon{width:21px;flex-shrink:0}.header-car select{width:100%;min-width:0;border:0;background:transparent;color:inherit;font-size:12px;min-height:44px}.service-groups{display:grid;gap:13px;margin:14px 0}.service-group{border:2px solid var(--accent);border-radius:0;min-height:140px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;background:white}.service-group .icon{width:30px;height:30px}.service-group strong{font-size:16px}.service-group span{font-size:13px;line-height:1.45;font-weight:400;max-width:350px}.service-group.purple{background:white;color:inherit}.hero-copy{margin:10px 0 20px}

/* Keep the bottom navigation away from the keyboard while editing forms. */
.shell:has(form input:focus,form textarea:focus,form select:focus) .nav{display:none}
.shell:has(form input:focus,form textarea:focus,form select:focus){padding-bottom:max(160px,35dvh)}
form input,form textarea,form select{scroll-margin-block:80px;font-size:16px}

#screen-content{position:relative;min-width:0;overflow-wrap:break-word}

:root{color-scheme:light}.theme-picker{display:flex;gap:10px}.theme-picker button{flex:1;width:auto}
:root[data-theme="dark"]{color-scheme:dark;background:#121016;color:#f3edf9;--accent:#9657dc;--muted:#b8afc4;--line:#41374c}
[data-theme="dark"] body{background:#121016}
[data-theme="dark"] :is(.card,.category,.location,.car-select,.service-group,.service-group.purple,.map-frame,.map-preview-card,.chat-message){background:#211c29;color:#f3edf9;border-color:#41374c}
[data-theme="dark"] .service-group{border-color:var(--accent)}
[data-theme="dark"] :is(.field input,.field select,.field textarea){background:#17131e;color:#f3edf9;border-color:#51455d}
[data-theme="dark"] :is(.languages,.sort,.extra,.secondary,.times button,.order-actions button,.geolocation,.schedule-days label){background:#32283e;color:#f3edf9}
[data-theme="dark"] :is(.badge,.order-status,.service-icon,.chat-message.mine){background:#3c2355;color:#e5caff}
[data-theme="dark"] .nav{background:#1b1622f5;border-color:#41374c}
[data-theme="dark"] :is(.nav button.active,.back){color:#d1a3ff}
[data-theme="dark"] :is(.primary,.category.active,.languages button.active,.sort button.active,.times button.active){background:#7336b8;color:white}
[data-theme="dark"] .category.active small{color:#efe3ff}
[data-theme="dark"] :is(.hero-copy p,.map-note,.map-status){color:var(--muted)}
[data-theme="dark"] .notice-inline{background:#193c30;color:#b4e9cd}
[data-theme="dark"] .live-map{background:#26222d}
[data-theme="dark"] .header-car select{color:#f3edf9}
[data-theme="dark"] option{background:#211c29;color:#f3edf9}
