@font-face{font-family:Museo;src:url('/static/assets/museo-sans-cyrl-500.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
/* Foundations from C:/Project/qlean-drycleaning/web/customer/styles.css. */
:root{--brand:#00b269;--bg:#edf2f0;--button-bg:#f7f7f7;--benefit-bg:#e9f0fc;--ink:rgba(0,0,0,.87);--muted:rgba(0,0,0,.52);--stroke:rgba(0,0,0,.22);--white:#fff;--font:Museo,Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{margin:0;width:100%;height:100%;font-family:var(--font);color:var(--ink)}
body{background:var(--bg);font-size:17px;line-height:24px;overflow:hidden}
button,input,textarea{font:inherit;letter-spacing:inherit}
button,a,summary,input{-webkit-tap-highlight-color:transparent}
button{border:0;cursor:pointer;color:inherit;touch-action:manipulation}
button:disabled{cursor:default;opacity:.4}
:is(button,a,summary,input,textarea):focus-visible{outline:3px solid #168bde;outline-offset:3px}
button:active:not(:disabled){opacity:.78}
p,h1,h2,h3,h4,strong{margin:0;font-weight:400}
a{color:inherit}img{display:block}button img,button svg{pointer-events:none}
[hidden]{display:none!important}
svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.workspace,.device-wrap{width:100%;height:100%;margin:0;min-width:0}
.device{display:flex;flex-direction:column;position:relative;height:100vh;height:100dvh;min-height:0;width:100%;min-width:0;margin:0;background:var(--bg);overflow:hidden}
.topbar{position:relative;display:flex;align-items:center;justify-content:center;background:#fff;min-height:calc(52px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) max(64px,env(safe-area-inset-right,0px)) 0 max(64px,env(safe-area-inset-left,0px));flex-shrink:0;border-radius:0 0 20px 20px}
.topbar h2{font-size:19px;line-height:24px;text-align:center;min-width:0}
.back{position:absolute;left:max(16px,env(safe-area-inset-left,0px));top:calc(4px + env(safe-area-inset-top,0px));background:none;display:flex;align-items:center;width:40px;height:44px;padding:0}
.back img{width:24px;height:24px}
.scroll{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px env(safe-area-inset-right,0px) max(16px,env(safe-area-inset-bottom,0px)) env(safe-area-inset-left,0px)}
.scroll::-webkit-scrollbar{display:none}
.screen{display:flex;flex-direction:column;gap:8px;width:100%;min-width:0}
.card{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:20px;padding:16px;flex-shrink:0;min-width:0;overflow-wrap:break-word}
.card h2{font-size:19px;line-height:24px}
.hero{text-align:left}
.offer-heading{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;text-align:center}
.offer-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:12px;background:var(--bg)}
.offer-icon img{width:28px;height:28px}
.hero h1{font-size:19px;line-height:24px;min-width:0}
.hero .description{font-size:14px;line-height:18px}
.code-box{display:flex;flex-direction:column;gap:4px;background:var(--bg);border-radius:12px;padding:12px;text-align:center}
.code-box label{color:var(--muted);font-size:14px;line-height:18px}
.code-box input{display:block;background:transparent;border:0;color:var(--ink);width:100%;min-width:0;font-size:19px;line-height:24px;letter-spacing:0;font-weight:400;border-radius:4px;padding:0;caret-color:transparent;text-align:center}
.code-box input:placeholder-shown{font-size:14px;line-height:18px}
.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:48px;padding:14px 20px;border-radius:12px;background:var(--button-bg);color:var(--ink);font-size:16px;line-height:20px;font-weight:400;letter-spacing:-.12px;text-align:center;overflow-wrap:break-word}
.button.primary{background:var(--brand);color:#fff}
.button.secondary{background:var(--button-bg)}
.button svg{width:20px;height:20px}
.stat-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-bottom:12px}
summary{list-style:none;cursor:pointer}summary::-webkit-details-marker{display:none}
.chevron{width:20px;height:20px;transition:transform .2s}
#friends-details[open] .chevron{transform:rotate(180deg)}
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stat{display:flex;flex-direction:column;gap:4px;min-width:0;border-radius:12px;background:var(--bg);padding:12px;text-align:center}
.stat strong{font-size:19px;line-height:24px}
.stat span{color:var(--muted);font-size:14px;line-height:18px}
.stats-hint,.stats-extra{font-size:14px;line-height:18px;color:var(--muted)}
.friends{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.friend{display:flex;flex-direction:column;gap:4px;background:var(--bg);border-radius:12px;padding:12px;min-width:0}
.friend-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:17px;line-height:24px}
.friend-line span{min-width:0;overflow-wrap:anywhere}.earned{color:var(--brand);white-space:nowrap}
.friend p{font-size:14px;line-height:18px;color:var(--muted)}
.step-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.step{display:flex;align-items:flex-start;gap:12px}
.step>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.badge{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:12px;background:var(--bg);color:var(--brand);font-size:17px;line-height:24px}
.step h3{font-size:17px;line-height:24px}
.step p{font-size:14px;line-height:18px;color:var(--muted);overflow-wrap:break-word}
.text-link{background:none;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;width:100%;padding:0;min-height:44px;font-size:17px;line-height:24px;color:var(--brand)}
.text-link img{width:20px;height:20px;margin-left:auto}
.faq-list{display:flex;flex-direction:column;gap:8px;min-width:0}
.faq-item{border:1px solid var(--stroke);border-radius:12px;background:#fff}
.faq-item summary{display:block;font-size:17px;line-height:24px;font-weight:400;padding:12px 40px 12px 12px;position:relative;min-height:48px}
.faq-item summary::after{content:'+';position:absolute;right:12px;top:12px;color:var(--muted);font-size:24px;line-height:24px}
.faq-item[open] summary::after{content:'−'}
.faq-item p{font-size:14px;line-height:18px;color:var(--muted);padding:0 12px 12px;overflow-wrap:break-word}
.legal{gap:16px}
.legal h1{font-size:24px;line-height:28px}
.legal section{display:flex;flex-direction:column;gap:8px}
.legal h3{font-size:19px;line-height:24px}
.legal p{font-size:17px;line-height:24px;overflow-wrap:break-word}
.toast{position:absolute;bottom:max(55px,env(safe-area-inset-bottom,0px));left:16px;right:16px;background:#273f32;color:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 4px 20px #0002;font-size:14px;line-height:20px;pointer-events:none;z-index:5;display:flex;align-items:center;gap:8px;animation:toast-in .2s ease-out}
.toast svg{color:var(--brand);width:20px;height:20px}
.dialog{border:0;border-radius:24px;padding:24px;max-width:min(343px,calc(100vw - 32px));width:343px;max-height:calc(100dvh - 40px);color:var(--ink);font-family:var(--font);background:#fff;box-shadow:0 16px 80px #0003;overflow-y:auto;overscroll-behavior:contain}
.dialog::backdrop{background:#0007}
.dialog{scrollbar-width:none}.dialog::-webkit-scrollbar{display:none}
.sheet{display:flex;flex-direction:column;gap:16px;min-width:0}
.handle{display:none}
.sheet-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}
.sheet-heading h2{font-size:24px;line-height:28px;min-width:0}
.close{width:32px;height:32px;border-radius:50%;background:var(--bg);flex-shrink:0;margin:-8px -8px 0 0;display:grid;place-items:center;padding:0}
.close svg{width:20px;height:20px}
.message-card{display:flex;flex-direction:column;gap:8px;background:var(--bg);border-radius:12px;padding:12px;min-width:0}
.message-card strong{font-size:17px;line-height:24px}
.message-card p{font-size:14px;line-height:18px;white-space:pre-wrap;overflow-wrap:anywhere}
.share-notice{font-size:14px;line-height:18px;color:var(--muted)}
/* Messenger links remain available when the native share sheet is unavailable. */
.share-apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.share-apps .app{background:transparent;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;min-height:74px;text-decoration:none;font-size:14px;line-height:18px;border-radius:12px;padding:0}
.app-icon{background:var(--button-bg);width:48px;height:48px;border-radius:12px;display:grid;place-items:center}
.app-icon svg{width:24px;height:24px}
.app-icon.telegram{color:#1685b5}
.app-icon.max{color:var(--brand)}
.app-icon.max img{width:24px;height:24px}
.app-icon.sms{color:var(--brand)}
.load-state p,.inline-note{font-size:14px;line-height:18px;color:var(--muted)}
.loading-bar{height:4px;background:var(--bg);border-radius:4px;overflow:hidden}
.loading-bar:after{content:'';display:block;width:35%;height:100%;background:var(--brand);animation:loading 1.1s ease-in-out infinite alternate}
.data-updated{padding:0 16px 4px;font-size:14px;line-height:18px;color:var(--muted)}
.error-code{font-size:12px!important;line-height:18px!important}
.all-friends-button{margin-top:12px}
.friends-dialog{width:calc(100vw - 32px);max-width:480px;max-height:calc(100dvh - 32px);padding:0;border-radius:20px;overflow:hidden}
.friends-dialog[open]{display:flex;flex-direction:column}
.friends-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;flex-shrink:0}
.friends-dialog-heading{display:flex;flex-direction:column;gap:4px;min-width:0}
.friends-dialog-heading h2{font-size:19px;line-height:24px}
.friends-dialog-heading p{font-size:14px;line-height:18px;color:var(--muted)}
.friends-dialog .close{width:44px;height:44px;margin:0}
.all-friends{margin:0;padding:0 16px max(16px,env(safe-area-inset-bottom,0px));min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.all-friends .friend{flex-shrink:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes loading{to{transform:translateX(185%)}}
@keyframes toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:359px){.actions{grid-template-columns:1fr}}
/* Use the available CSS width, not hardware pixels/DPR. Keep small phones unchanged. */
@media(min-width:390px) and (max-width:767px){
 :root{--compact-title:22px;--compact-title-line:26px;--compact-heading:18px;--compact-body:16px;--compact-body-line:22px;--compact-padding:14px;--compact-gap:10px;--compact-gift:44px;--compact-gift-icon:26px}
 body{font-size:var(--compact-body);line-height:var(--compact-body-line)}
 .topbar{min-height:calc(48px + env(safe-area-inset-top,0px))}
 .back{top:calc(2px + env(safe-area-inset-top,0px))}
 .topbar h2,.card h2,.stat strong,.legal h3{font-size:var(--compact-heading);line-height:22px}
 .card{padding:var(--compact-padding);gap:var(--compact-gap)}
 .offer-heading{gap:10px}
 .offer-icon{width:var(--compact-gift);height:var(--compact-gift)}
 .offer-icon img{width:var(--compact-gift-icon);height:var(--compact-gift-icon)}
 .legal h1,.sheet-heading h2{font-size:var(--compact-title);line-height:var(--compact-title-line)}
 .hero h1,.code-box input{font-size:var(--compact-heading);line-height:22px}
 .hero .description,.code-box input:placeholder-shown{font-size:13px;line-height:18px}
 .friend-line,.step h3,.text-link,.faq-item summary,.legal p,.message-card strong{font-size:var(--compact-body);line-height:var(--compact-body-line)}
 .code-box,.stat,.friend{padding:10px}
 .code-box label,.stat span,.stats-hint,.stats-extra,.friend p,.step p,.faq-item p,.message-card p,.share-notice,.load-state p,.inline-note,.data-updated{font-size:13px;line-height:18px}
 .button{min-height:44px;padding:12px 16px;font-size:15px;line-height:20px}
 .stat-title{gap:10px;margin-bottom:var(--compact-gap)}
 .stats{gap:10px}
 .friends{margin-top:var(--compact-gap)}
 .step-list{gap:var(--compact-gap)}
 .step{gap:10px}
 .badge{width:28px;height:28px;font-size:var(--compact-body);line-height:var(--compact-body-line)}
 .faq-item summary{min-height:44px;padding:11px 38px 11px 12px}
 .faq-item summary::after{top:11px;font-size:22px;line-height:22px}
 .faq-item p{padding-bottom:10px}
 .legal{gap:var(--compact-padding)}
 .dialog{padding:20px}
 .sheet{gap:12px}
 .sheet-heading{gap:10px}
 .message-card{padding:10px}
 .share-apps .app{font-size:13px;line-height:18px}
 .data-updated{padding-right:var(--compact-padding);padding-left:var(--compact-padding)}
 .all-friends-button{margin-top:var(--compact-gap)}
 .friends-dialog{padding:0}
 .friends-dialog-header{padding:var(--compact-padding)}
 .friends-dialog-heading h2{font-size:var(--compact-heading);line-height:22px}
 .friends-dialog-heading p{font-size:13px;line-height:18px}
 .all-friends{padding-right:var(--compact-padding);padding-left:var(--compact-padding);padding-bottom:max(var(--compact-padding),env(safe-area-inset-bottom,0px))}
}
@media(min-width:430px) and (max-width:767px){
 :root{--compact-title:20px;--compact-title-line:24px;--compact-heading:17px;--compact-body:15px;--compact-body-line:21px;--compact-padding:12px;--compact-gap:8px;--compact-gift:40px;--compact-gift-icon:24px}
}
@media(min-width:768px) and (hover:hover) and (pointer:fine){.device{max-width:480px;margin:0 auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
