.service-switch{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Equal icon boxes avoid emoji font baselines shifting the service labels. */
.service-choice{display:flex;align-items:center;justify-content:center;gap:4px}
.service-choice-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.2em;width:1.2em;height:1.2em;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
html:has(body.client-garage-mode.client-garage-v3 #clientOffers:not(.hidden)),
html:has(body.client-garage-mode.client-garage-v3 #clientServices:not(.hidden)){height:auto!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important}
body.client-garage-mode.client-garage-v3:has(#clientOffers:not(.hidden),#clientServices:not(.hidden)){height:auto!important;max-height:none!important;overflow:visible!important}
body.client-garage-mode.client-garage-v3:has(#clientOffers:not(.hidden)) #clientHome,
body.client-garage-mode.client-garage-v3:has(#clientOffers:not(.hidden)) #clientHome .client-garage{min-height:0!important;padding-bottom:12px!important}
#clientOffers,#clientServices{color:#101e2e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.4;color-scheme:light}
#clientOffers{padding:7px 0 27px}
/* Service navigation sits below system and Telegram controls. */
body.client-garage-mode.client-garage-v3:has(#clientServices:not(.hidden)) .header{display:none}
body.client-garage-mode.client-garage-v3 #clientPanel:has(#clientServices:not(.hidden)){transform:none!important;padding-bottom:0!important}
#clientServices{--gs-chrome-top:var(--tg-content-safe-area-inset-top,0px);--gs-system-top:max(env(safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px));padding:calc(8px + max(env(safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px)) + var(--gs-chrome-top)) max(3px,var(--tg-content-safe-area-inset-right,0px),var(--tg-safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px)) max(3px,var(--tg-content-safe-area-inset-left,0px),var(--tg-safe-area-inset-left,0px))}
body.tg-fullscreen #clientServices{--gs-chrome-top:max(56px,var(--tg-content-safe-area-inset-top,0px))}
#clientOffers *,#clientServices *{box-sizing:border-box}
#clientOffers button,#clientServices button{font:inherit;border:0;box-shadow:none}
.gs-section-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 9px;margin:0 0 12px}
.gs-section-row h2{margin:0;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.55px}
#clientOffers .gs-more{display:flex;align-items:center;gap:5px;background:transparent;padding:7px 0;min-height:44px;font-size:12px;color:#526b7b;white-space:nowrap}
#clientOffers .gs-banner{display:block;width:100%;padding:0;background:#f3f6f8;border-radius:23px;overflow:hidden;flex:0 0 100%;min-width:0;user-select:none;-webkit-user-select:none}
.gs-banner img{width:100%;height:100%;aspect-ratio:1942/809;object-fit:contain;display:block;pointer-events:none;-webkit-user-drag:none}
.gs-window{overflow:hidden;border-radius:23px;touch-action:pan-y;aspect-ratio:1942/809;border:1px solid #ffffffb3;box-shadow:0 8px 24px #49677d12}
.gs-track{display:flex;width:100%;height:100%;will-change:transform}
.gs-controls{display:flex;align-items:center;justify-content:center;min-height:44px;position:relative}
#clientOffers .gs-dot{border:0;background:transparent;padding:0;width:44px;height:44px;display:grid;place-items:center}
.gs-dot::before{content:"";width:7px;height:7px;border-radius:8px;background:#91aabd}
.gs-dot[aria-pressed=true]::before{width:21px;background:#435e72}
.gs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gs-brand{text-align:center;margin:0 0 14px}.gs-brand h2{font-size:30px;font-weight:400;letter-spacing:4px;margin:0}.gs-brand p{margin:6px 0 0;font-size:12px;color:#667d8e;letter-spacing:.35px}
.gs-panel{background:#f3f8fc;border:1px solid #ffffffeb;border-radius:26px;padding:14px;box-shadow:0 15px 35px #34576c10}
.gs-tabs{display:flex;gap:4px;background:#dee9f1;border-radius:18px;padding:5px;margin:0 0 12px}
#clientServices .gs-tabs button{background:transparent;color:#738293;border-radius:14px;padding:11px 6px;min-height:44px;flex:1;font-size:13px}
#clientServices .gs-tabs button[aria-selected=true]{background:#fff;color:#17283a;font-weight:650}
#clientServices .gs-service-card{width:100%;display:block;text-align:left;border:1px solid #fff;border-radius:22px;padding:0;overflow:hidden;background:#f6fafe;color:#101e2e;margin:0 0 10px}
.gs-service-card img{display:block;width:100%;height:auto;aspect-ratio:1942/809;object-fit:contain}.gs-service-card>span{display:block;padding:10px 12px 12px}.gs-service-card strong{display:block;font-size:16px;font-weight:650;margin-bottom:3px}.gs-service-card small{display:block;color:#768595;font-size:12px;line-height:1.5}
.gs-tag{font-size:11px;letter-spacing:1.7px;color:#788b98;font-weight:600;margin-bottom:6px}
.gs-title{color:#101e2e;font-size:29px;letter-spacing:-.6px;line-height:1.15;margin:0 0 8px;font-weight:700}
.gs-intro{font-size:13px;line-height:1.5;color:#788796;margin:0 0 12px}
#gsForm fieldset{margin:0;padding:0;border:0;min-width:0}
#clientServices .gs-field{display:block;margin:0 0 10px;min-width:0;color:#17273a}
.gs-field>span{display:block;margin-bottom:5px;font-size:13px;font-weight:600}.gs-field small{color:#8b97a2;font-weight:400;font-size:11px}
#clientServices input:not([type=file]),#clientServices textarea{font-family:inherit;box-sizing:border-box;width:100%;min-width:0;background:#fff;border:1px solid #ced9e2;border-radius:16px;padding:10px 12px;color:#17273a;min-height:44px;font-size:16px;box-shadow:none}
#clientServices textarea{display:block;min-height:56px;resize:vertical}#clientServices input::placeholder,#clientServices textarea::placeholder{color:#909ca7;font-size:12px}
#clientServices .gs-upload{display:flex;align-items:center;justify-content:center;gap:8px;min-height:47px;padding:11px 12px;position:relative;overflow:hidden;background:#e9f0f6;color:#62798d;border:1px dashed #afc1cf;border-radius:16px;font-size:13px;margin:0 0 12px;cursor:pointer}
.gs-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.gs-photos,.gs-order-photos{display:flex;gap:8px;flex-wrap:wrap}.gs-photos:not(:empty){margin-bottom:19px}.gs-photo{position:relative}.gs-photo img,.gs-order-photos img{width:80px;height:80px;object-fit:cover;border-radius:12px;background:#e2e9ef;cursor:pointer}
#clientServices .gs-photo button{position:absolute;right:-3px;top:-5px;width:30px;height:30px;border-radius:50%;background:#fff;color:#17273a;padding:0;font-size:20px}
#clientServices .gs-primary{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(120deg,#465767,#293642);color:#fff;border-radius:23px;padding:13px 18px;min-height:50px;font-size:17px;font-weight:650;box-shadow:0 12px 25px #2438481c}
#clientServices .gs-primary:disabled{opacity:.6}
#clientServices .gs-secondary{width:100%;background:#e2ebf2;color:#34495d;border-radius:23px;min-height:50px;padding:13px 18px;margin-top:12px}
.gs-contact{padding:9px 12px;border-radius:16px;background:#e6eef5;margin:3px 0 12px}.gs-contact strong{display:block;font-size:13px;font-weight:600}.gs-contact span{display:block;font-size:11px;color:#7b8b9a;margin-top:3px}
.gs-note{font-size:11px;line-height:1.5;text-align:center;color:#71828f;margin:10px 4px 0}.gs-error{font-size:13px;color:#a13232;margin:0 0 12px}.gs-error:empty{display:none}
.gs-success,.gs-empty{text-align:center}.gs-success-icon{display:grid;place-items:center;width:58px;height:58px;background:#e0ebe9;border-radius:50%;color:#47776b;font-size:28px;margin:5px auto 20px}
.gs-order{margin-bottom:14px}.gs-order-head{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}.gs-order small{color:#788796}.gs-copy{white-space:pre-wrap;overflow-wrap:anywhere}.gs-status{display:inline-flex;padding:5px 9px;border-radius:14px;background:#dde8f0;color:#334e62;font-size:12px}.gs-price{font-weight:650;margin-top:16px}
.gs-photo-dialog{border:0;border-radius:20px;padding:42px 10px 10px;max-width:95vw;background:#edf4f9}.gs-photo-dialog::backdrop{background:#081726b3}.gs-photo-dialog img{display:block;max-width:85vw;max-height:75vh;object-fit:contain}.gs-photo-dialog button{position:absolute;top:6px;right:8px;width:32px;height:32px;padding:0;background:#fff;color:#132436;border-radius:50%}
.shop-tabs{display:flex;gap:8px;margin-bottom:16px}.shop-tabs button{flex:1}.shop-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.shop-toolbar select{flex:1;min-width:150px}.shop-order .shop-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.shop-order .shop-copy{white-space:pre-wrap;overflow-wrap:anywhere}.shop-order .shop-photos{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.shop-photos img{width:95px;height:95px;object-fit:cover;border-radius:12px;cursor:pointer}.shop-order .shop-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.shop-order .shop-actions input{flex:1;min-width:120px}.shop-order .shop-actions button{flex:1}.shop-order details{margin-top:14px}.shop-order summary{cursor:pointer}.shop-order .shop-timeline{padding-left:18px;font-size:12px;line-height:1.6}.shop-finance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-finance-grid .card{margin:0}.shop-finance-grid strong{display:block;font-size:20px;margin-top:6px}.shop-admin-error{color:#ff9b9b;margin-top:10px}.shop-accepted{margin-top:12px;color:#8be1b0;font-size:13px}
@media(prefers-reduced-motion:reduce){.gs-track{transition:none!important}}
@media(max-width:360px){.gs-panel{padding:12px}.gs-title{font-size:26px}.service-choice{font-size:12px}.gs-brand h2{font-size:29px}}

#clientServices .gs-catalog .gs-service-card:last-of-type{margin-bottom:0}
/* Scale the catalogue artwork to the available height without cropping it. */
.gs-catalog .gs-service-card img{max-height:clamp(60px,calc((100svh - var(--gs-system-top) - var(--gs-chrome-top) - 480px) / 2),138px);background:#e8f0f4}
@media(max-height:780px){
 .gs-brand{margin-bottom:10px}
 #clientServices textarea{min-height:56px}
 #clientServices .gs-upload{margin-bottom:10px;min-height:44px;padding:9px 12px}
 .gs-contact{margin-bottom:10px;padding:5px 10px}
 .gs-note{margin-top:6px}
}
@media(max-height:720px){
 .gs-brand{margin-bottom:8px}
 .gs-brand h2{font-size:26px}
 .gs-tabs{margin-bottom:8px}
 .gs-catalog{padding:10px}
 .gs-service-card>span{padding:8px 10px}
}
