@font-face{font-family:Onest;src:url("./assets/onest-400.55d19ab9.woff2") format("woff2"),url("./assets/onest-400.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Onest;src:url("./assets/onest-500.90b0fcfe.woff2") format("woff2"),url("./assets/onest-500.woff") format("woff");font-weight:500;font-display:swap}
@font-face{font-family:Onest;src:url("./assets/onest-600.9150e8b9.woff2") format("woff2"),url("./assets/onest-600.woff") format("woff");font-weight:600;font-display:swap}
@font-face{font-family:Onest;src:url("./assets/onest-700.8ccf8557.woff2") format("woff2"),url("./assets/onest-700.woff") format("woff");font-weight:700;font-display:swap}
@font-face{font-family:Onest;src:url("./assets/onest-800.b642b3f0.woff2") format("woff2"),url("./assets/onest-800.woff") format("woff");font-weight:800 900;font-display:swap}
:root{--mint:#98d9cf;--mint-light:#e8f6f2;--paper:#f3f3f3;--ink:#111;--muted:#858585;--line:#ededed;--white:#fff;--radius:24px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Onest,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
input,textarea,select{font-size:16px}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.55}
a{color:inherit;text-decoration:none}
button{border:0;color:var(--ink)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #111;outline-offset:3px}
button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}
dialog:focus,.dialog-content:focus,.dialog-top h2[tabindex="-1"]:focus{outline:none}
/* Navigation focuses these landmarks to announce the new screen. They are
   focus targets, not controls; Safari's default ring would frame the page. */
:where(main,section,article,aside,header,footer,div,h1,h2,h3,h4)[tabindex="-1"]:not([contenteditable]):focus{outline:none}
button,a{-webkit-user-select:none;user-select:none}
h1,h2,h3,h4,p{margin:0}
svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.skip-link{position:fixed;left:16px;top:-80px;z-index:80;background:#111;color:white;padding:12px 20px;border-radius:30px}
.skip-link:focus{top:16px}
.initial-loader{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}
.initial-loader img{animation:turn 4s linear infinite}
@keyframes turn{to{transform:rotate(360deg)}}
.site-header{max-width:1536px;margin:auto;padding:26px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:13px}
.brand-mark{width:42px;height:42px}
.brand-name{font-size:15px;font-weight:700;line-height:1.05;letter-spacing:-.4px;text-transform:uppercase}
.brand-name span{display:block}
.header-links{display:flex;align-items:center;gap:32px;margin-left:auto}
.website-link{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;display:flex;gap:6px;align-items:center}
.website-link svg{width:15px;height:15px}
.demo-pill{display:flex;align-items:center;gap:7px;padding:7px 12px;background:var(--mint);border-radius:30px;font-size:10px;font-weight:600;letter-spacing:.65px;text-transform:uppercase;white-space:nowrap}
.demo-pill:before{content:"";width:5px;height:5px;background:#23564d;border-radius:50%}
.header-actions{display:flex;align-items:center;gap:18px}
.icon-button{width:40px;height:40px;border-radius:50%;background:transparent;display:grid;place-items:center;position:relative;transition:background .2s}
.icon-button:hover{background:#e5e5e5}
.notification-dot{position:absolute;right:9px;top:7px;width:6px;height:6px;background:#4eaa97;border:1px solid var(--paper);border-radius:50%}
.avatar-button{background:transparent;display:flex;gap:10px;align-items:center;font-weight:500}
.avatar{display:grid;place-items:center;width:38px;height:38px;background:#e1e1e1;border-radius:50%;font-size:12px;letter-spacing:.2px;font-weight:600}
.avatar-button>svg{width:14px;height:14px;color:#777}
.mobile-menu-button{display:none}
.sidebar-close{display:none}
.workspace{max-width:1536px;margin:5px auto 0;padding:0 38px 30px;display:grid;grid-template-columns:200px minmax(0,1fr);gap:36px}
.sidebar{padding-top:14px;display:flex;flex-direction:column;min-height:calc(100vh - 133px);position:sticky;top:20px;align-self:start;max-height:calc(100vh - 40px)}
.sidebar-label{padding:0 18px 14px;font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:#999}
.side-nav{display:flex;flex-direction:column;gap:7px}
.nav-item{padding:14px 16px;border-radius:30px;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;font-weight:500;color:#696969;transition:background .2s,color .2s}
.nav-item svg{width:20px;height:20px}
.nav-item:hover{background:#e8e8e8;color:#111}
.nav-item.active{background:var(--mint);color:#111}
.nav-count{margin-left:auto;background:#fff9;min-width:20px;padding:1px 5px;border-radius:20px;text-align:center;font-size:10px}
.sidebar-bottom{margin-top:auto;padding-top:45px}
.help-note{padding:20px 17px;border-radius:20px;border:1px solid #dfdfdf;font-size:12px}
.help-note img{width:23px;height:23px;margin-bottom:12px}
.help-note h3{font-weight:500;font-size:13px;margin-bottom:6px}
.help-note p{color:#888;font-size:11px;line-height:1.7}
.text-button{padding:0;background:transparent;font-size:12px;font-weight:500;display:inline-flex;align-items:center;gap:9px;color:inherit}
.text-button svg{width:17px;height:17px}
.help-note .text-button{margin-top:14px}
.logout-button{padding:20px 18px;background:transparent;display:flex;align-items:center;gap:12px;color:#888;font-size:12px}
.logout-button svg{width:18px;height:18px}
.main-content{min-width:0;padding-top:9px}
.breadcrumb{display:flex;align-items:center;gap:8px;color:#999;font-size:11px;margin-bottom:20px}
.breadcrumb svg{width:12px;height:12px}
.breadcrumb span:last-child{color:#555}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}
.page-heading h1{font-size:36px;font-weight:600;letter-spacing:-1.65px;line-height:1.18}
.page-heading p{margin-top:9px;color:var(--muted);font-size:12px}
.button{min-height:46px;padding:12px 21px;display:inline-flex;align-items:center;justify-content:center;gap:13px;border-radius:50px;font-size:12px;font-weight:500;transition:transform .18s,background .18s;white-space:nowrap}
.button:hover{transform:translateY(-2px)}
.button svg{width:18px;height:18px}
.button-dark{background:#111;color:white}
.button-dark:hover{background:#333}
.button-mint{background:var(--mint);color:#111}
.button-white{background:white;color:#111}
.button-outline{background:transparent;border:1px solid #dedede;color:#222}
.button-soft{background:#f0f0f0;color:#111}
.button-small{min-height:35px;padding:8px 15px;font-size:11px;gap:7px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;margin-bottom:26px}
.care-hero{border-radius:var(--radius);overflow:hidden;background:white;display:grid;grid-template-columns:1.2fr 1fr;min-height:268px;position:relative}
.hero-copy{padding:29px 10px 28px 30px;z-index:1;display:flex;flex-direction:column;align-items:flex-start}
.eyebrow{font-size:9px;text-transform:uppercase;font-weight:500;letter-spacing:1.6px;display:flex;align-items:center;gap:8px}
.eyebrow i{width:5px;height:5px;background:var(--mint);border-radius:50%}
.hero-copy h2{font-size:31px;line-height:1.08;letter-spacing:-1.2px;font-weight:600;margin-top:18px}
.hero-copy p{font-size:11px;line-height:1.7;color:#888;margin-top:14px;max-width:210px}
.hero-copy .button{margin-top:21px;font-size:11px;min-height:39px;padding:10px 17px}
.hero-photo{position:relative;min-width:0;background:#eae7e4;overflow:hidden}
.hero-photo img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:58% 50%}
.photo-tag{position:absolute;bottom:17px;left:16px;right:16px;background:#ffffffd9;backdrop-filter:blur(10px);padding:8px 10px;border-radius:30px;display:flex;align-items:center;gap:7px;font-size:9px;font-weight:500}
.photo-tag svg{width:14px;height:14px}
.loyalty-card{background:#111;color:white;border-radius:var(--radius);padding:27px 25px;position:relative;overflow:hidden;display:flex;flex-direction:column}
.loyalty-top{display:flex;align-items:center;justify-content:space-between}
.loyalty-top span{font-size:12px;color:#bcbcbc}
.loyalty-top img{width:25px;height:25px}
.bonus-number{font-size:47px;font-weight:500;line-height:1.2;letter-spacing:-2px;margin-top:19px}
.bonus-number span{font-size:13px;font-weight:400;letter-spacing:0;color:#aaa;margin-left:4px}
.loyalty-card p{font-size:10px;line-height:1.6;color:#aaa;margin-top:8px;max-width:175px}
.loyalty-footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:23px}
.discount-tag{background:#ffffff14;border:1px solid #ffffff1a;border-radius:30px;padding:6px 10px;font-size:10px;color:#ddd}
.round-arrow{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--mint);color:#111}
.round-arrow svg{width:17px;height:17px}
.section-card{background:white;border-radius:var(--radius);padding:26px 28px;margin-bottom:20px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.section-heading h2{font-size:21px;letter-spacing:-.7px;font-weight:600;display:flex;align-items:center;gap:10px}
.count-pill{font-size:10px;font-weight:500;color:#666;background:#f2f2f2;padding:2px 8px;border-radius:20px;letter-spacing:0}
.section-heading .text-button{font-size:11px;color:#777}
.orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:20px}
.tabs{padding:4px;background:#f3f3f3;border-radius:40px;display:inline-flex;gap:3px}
.tab{background:transparent;color:#999;padding:8px 16px;border-radius:30px;font-size:11px;white-space:nowrap}
.tab.selected{background:white;color:#111;box-shadow:0 1px 3px #00000008}
.tab span{font-size:9px;margin-left:4px;opacity:.6}
.search-field{display:flex;align-items:center;gap:8px;max-width:195px;color:#aaa}
.search-field svg{width:17px;height:17px}
.search-field input{min-width:0;width:100%;padding:8px 0;border:0;font-size:11px;background:transparent;outline-offset:0}
.search-field input::placeholder{color:#aaa}
.order-list{display:flex;flex-direction:column}
.order-row{display:grid;grid-template-columns:54px minmax(150px,1.6fr) minmax(125px,1fr) 90px 34px;gap:18px;align-items:center;padding:20px 0;border-top:1px solid var(--line)}
.order-image{width:54px;height:62px;background:#f5f4f2;border-radius:12px;display:grid;place-items:center;color:#797773}
.order-image svg{width:37px;height:42px;stroke-width:1.15}
.order-name{font-size:12px;font-weight:500}
.order-date{font-size:10px;color:#aaa;margin-top:4px}
.order-title{font-size:11px;color:#555;margin-top:5px}
.status{font-size:9px;display:inline-flex;align-items:center;gap:5px;border-radius:30px;padding:5px 9px;white-space:nowrap;font-weight:500}
.status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.status-processing{background:#f0f0f0;color:#6b6b6b}
.status-ready{background:var(--mint-light);color:#36766a}
.status-approval{background:#fff3df;color:#997128}
.status-completed{background:#f0f0f0;color:#888}
.order-ready-date{margin-top:7px;font-size:10px;color:#999}
.order-amount{font-weight:500;font-size:13px;text-align:right;white-space:nowrap}
.order-paid{font-size:9px;color:#aaa;text-align:right;margin-top:4px}
.order-open{width:32px;height:32px;border-radius:50%;background:#f5f5f5;display:grid;place-items:center}
.order-open:hover{background:var(--mint)}
.order-open svg{width:15px;height:15px}
.dashboard-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mini-panel{background:white;border-radius:var(--radius);padding:24px 26px;display:flex;align-items:center;gap:18px}
.mini-panel.mint{background:var(--mint)}
.mini-panel .panel-icon{width:44px;height:44px;background:#f3f3f3;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.mini-panel.mint .panel-icon{background:#ffffff58}
.mini-panel h3{font-size:13px;font-weight:500}
.mini-panel p{font-size:10px;color:#777;line-height:1.6;margin-top:5px;max-width:245px}
.mini-panel.mint p{color:#39685f}
.mini-panel>button{margin-left:auto;background:transparent}
.main-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:29px 1px 0;color:#aaa;font-size:10px}
.main-footer a{display:inline-flex;align-items:center;gap:5px}
.main-footer svg{width:12px;height:12px}
.empty-state{padding:45px 20px;text-align:center;color:#888}
.empty-state svg{width:33px;height:33px;margin-bottom:12px}
.empty-state h3{font-weight:500;font-size:16px;color:#444}
.empty-state p{margin-top:7px;font-size:12px}
.balance-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;margin-bottom:22px}
.balance-grid .loyalty-card{min-height:215px}
.balance-tile{border-radius:var(--radius);background:white;padding:28px;display:flex;flex-direction:column}
.balance-tile.mint{background:var(--mint)}
.balance-tile>span{font-size:12px;color:#777}
.balance-tile strong{font-size:42px;font-weight:500;letter-spacing:-1.5px;margin-top:28px;line-height:1.2}
.balance-tile strong small{font-size:17px;letter-spacing:0}
.balance-tile p{font-size:11px;color:#888;margin-top:10px}
.balance-tile.mint p,.balance-tile.mint>span{color:#416f66}
.history-row{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:17px 0}
.history-icon{width:35px;height:35px;display:grid;place-items:center;background:#f3f3f3;border-radius:50%;color:#777}
.history-icon svg{width:17px;height:17px}
.history-row h3{font-size:12px;font-weight:500}
.history-row p{font-size:10px;color:#999;margin-top:4px}
.history-amount{margin-left:auto;white-space:nowrap;font-size:14px;font-weight:500}
.positive{color:#388574}
.info-note{border-radius:18px;padding:18px 21px;background:#e8f4f0;display:flex;gap:12px;font-size:12px;color:#4c6f67;margin-bottom:22px}
.info-note svg{width:18px;height:18px}
.profile-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}
.profile-header{display:flex;align-items:center;gap:15px;margin-bottom:30px}
.profile-header .avatar{width:57px;height:57px;font-size:18px;background:var(--mint)}
.profile-header h2{font-size:19px;font-weight:500;letter-spacing:-.5px}
.profile-header p{font-size:11px;color:#999;margin-top:5px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 16px}
.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;color:#666}
.form-field.full-width{grid-column:1/-1}
.form-field input,.form-field textarea,.form-field select{width:100%;min-height:48px;border:1px solid #e4e4e4;border-radius:12px;padding:11px 13px;background:#fff;color:#222;font-weight:400;font-size:16px}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:#111}
.form-field textarea{resize:vertical;min-height:85px}
.form-field small{font-size:10px;font-weight:400;color:#999}
.form-actions{margin-top:26px;display:flex;align-items:center;gap:14px}
.form-message{font-size:11px;color:#9d4136;line-height:1.5;min-height:17px}
.check-label{display:flex;align-items:flex-start;gap:10px;font-size:12px;margin:18px 0;font-weight:400;cursor:pointer}
.check-label input{accent-color:#111;width:16px;height:16px;flex-shrink:0;margin-top:2px}
.check-label small{font-size:10px;color:#999;display:block;margin-top:3px}
.card-preview{padding:28px;background:var(--mint);border-radius:var(--radius);position:relative;min-height:220px;margin-bottom:20px}
.card-preview img{position:absolute;right:25px;top:25px;width:30px;height:30px}
.card-preview .eyebrow{max-width:140px}
.card-preview strong{display:block;font-size:23px;letter-spacing:-.7px;font-weight:500;margin:29px 0 24px}
.barcode{height:39px;background:repeating-linear-gradient(90deg,#111 0,#111 2px,transparent 2px,transparent 5px,#111 5px,#111 6px,transparent 6px,transparent 8px,#111 8px,#111 11px,transparent 11px,transparent 14px);width:80%;margin-bottom:7px}
.card-preview .barcode-number{font-size:10px;letter-spacing:3.2px}
.aside-block h3{font-size:15px;font-weight:500;margin-bottom:10px}
.aside-block p{font-size:11px;color:#888;line-height:1.8}
.support-layout{display:grid;grid-template-columns:255px minmax(0,1fr);background:white;overflow:hidden;border-radius:var(--radius);min-height:510px;margin-bottom:20px}
.thread-sidebar{border-right:1px solid #eee;padding:23px 13px}
.thread-sidebar>h2{font-size:13px;font-weight:500;margin:0 12px 19px}
.thread-button{display:block;text-align:left;width:100%;border-radius:14px;background:transparent;padding:15px 13px;margin:5px 0}
.thread-button.active{background:#eaf6f2}
.thread-button strong{font-weight:500;font-size:12px;display:flex;justify-content:space-between;gap:8px}
.thread-button .thread-preview{font-size:10px;color:#999;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;margin-top:7px}
.thread-button .thread-date{font-size:9px;color:#aaa;display:block;margin-top:5px}
.thread-button .nav-count{background:var(--mint)}
.chat-panel{display:flex;flex-direction:column;min-width:0}
.chat-heading{padding:23px 24px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:12px}
.support-avatar{width:36px;height:36px;border-radius:50%;background:var(--mint);display:grid;place-items:center}
.support-avatar img{width:19px;height:19px}
.chat-heading h3{font-size:13px;font-weight:500}
.chat-heading p{font-size:10px;color:#999;margin-top:3px}
.chat-messages{padding:25px;display:flex;flex-direction:column;gap:18px;flex:1;max-height:390px;overflow:auto;min-height:280px}
.message{max-width:85%;padding:14px 17px;border-radius:16px;background:#f3f3f3;font-size:12px;line-height:1.65;align-self:flex-start}
.message-client{background:#e4f4ef;align-self:flex-end;border-bottom-right-radius:4px}
.message-support{border-bottom-left-radius:4px}
.message-time{display:block;text-align:right;color:#999;font-size:9px;margin-top:5px}
.chat-input{padding:15px 24px 21px;display:flex;align-items:center;gap:12px}
.chat-input textarea{resize:none;min-height:44px;max-height:100px;border:1px solid #e9e9e9;border-radius:18px;flex:1;min-width:0;font-size:12px;padding:12px 15px}
.chat-send{height:42px;width:42px;background:#111;color:white;border-radius:50%;display:grid;place-items:center}
.chat-send svg{width:19px;height:19px}
.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,25px);background:#111;color:white;border-radius:16px;padding:14px 23px;font-size:12px;box-shadow:0 7px 30px #0002;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:200;max-width:min(500px,90vw);text-align:center}
.toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{padding:0;border:0;border-radius:var(--radius);width:min(510px,calc(100vw - 32px));max-height:90vh;max-height:90svh;overflow:auto;background:white;color:#111;box-shadow:0 15px 100px #0002}
dialog::backdrop{background:#1116;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.dialog-content{padding:31px}
.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:20px}
.dialog-top h2{font-size:24px;letter-spacing:-.8px;font-weight:500;min-width:0;overflow-wrap:anywhere}
.dialog-subtitle{font-size:12px;color:#888;margin-bottom:25px;line-height:1.7}
.dialog-content .form-grid{gap:16px}
.dialog-content .button{min-height:45px}
.dialog-note{font-size:10px;color:#999;margin-top:16px;text-align:center}
.dialog-content .form-actions{justify-content:flex-end}
.order-dialog{width:min(610px,calc(100vw - 32px))}
.detail-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:12px;font-size:11px;color:#888}
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:27px 0}
.timeline-step{padding-top:11px;border-top:3px solid #eee;color:#aaa;font-size:13px;line-height:1.5}
.timeline-step.done{border-color:var(--mint);color:#333}
.timeline-step.active{border-color:#111;color:#111}
.detail-item{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid #eee}
.detail-item .order-image{width:45px;height:49px}
.detail-item .order-image svg{width:30px;height:35px}
.detail-item h3{font-size:12px;font-weight:500}
.detail-item p{font-size:10px;color:#999;margin-top:4px}
.detail-item strong{margin-left:auto;font-size:12px;font-weight:500;white-space:nowrap}
.total-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:7px 0}
.total-row.large{font-size:16px;font-weight:500;padding:12px 0;margin-top:8px;border-top:1px solid #eee}
.detail-location{background:#f4f4f4;border-radius:16px;display:flex;gap:12px;padding:17px;margin:22px 0;font-size:11px;color:#777}
.detail-location strong{color:#333;font-weight:500;display:block;margin-bottom:3px}
.detail-location svg{width:19px;height:19px}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}
.radio-option{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #e8e8e8;border-radius:14px;margin:12px 0;cursor:pointer;font-size:12px}
.radio-option:has(input:checked){border-color:#83c9bb;background:#f2fbf8}
.radio-option input{accent-color:#111}
.radio-option small{color:#999;display:block;font-size:10px;margin-top:3px}
.success-state{text-align:center;padding:20px 5px 8px}
.success-state .success-icon{margin:0 auto 20px;display:grid;place-items:center;background:var(--mint);height:65px;width:65px;border-radius:50%}
.success-state .success-icon svg{width:28px;height:28px}
.success-state h2{font-size:25px;font-weight:500;letter-spacing:-.8px}
.success-state p{font-size:12px;color:#888;margin:13px auto 24px;max-width:330px;line-height:1.8}
.notification-item{border-top:1px solid #eee;padding:18px 0;display:flex;gap:13px;align-items:flex-start}
.notification-item h3{font-weight:500;font-size:13px}
.notification-item p{font-size:11px;color:#888;margin:5px 0 10px}
.login-layout{max-width:1050px;min-height:calc(100vh - 160px);margin:25px auto;display:grid;grid-template-columns:1fr 1fr;border-radius:28px;overflow:hidden;background:white}
.login-copy{padding:55px 50px;display:flex;flex-direction:column;justify-content:center}
.login-copy h1{font-size:36px;font-weight:600;letter-spacing:-1.4px;line-height:1.15}
.login-copy>p{color:#999;font-size:13px;line-height:1.7;margin:18px 0 29px}
.login-copy .form-field{margin-bottom:17px}
.login-copy .button{width:100%;margin-top:8px}
.login-photo{position:relative;background:var(--mint);overflow:hidden}
.login-photo>img{width:100%;height:100%;object-fit:cover;opacity:.9}
.login-photo-label{position:absolute;bottom:30px;left:30px;right:30px;background:#ffffffdd;backdrop-filter:blur(10px);padding:24px;border-radius:20px}
.login-photo-label h2{font-size:24px;font-weight:500;letter-spacing:-.7px}
.login-photo-label p{font-size:11px;color:#666;margin-top:10px}
.mobile-backdrop{display:none}

/* Client registration, grouped services, photos, and receipt review. */
.button-courier .button-label{display:inline}
.registration-layout{max-width:1080px;margin:28px auto 40px;display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);background:white;border-radius:28px;overflow:hidden}
.registration-copy{padding:46px 38px;background:var(--mint);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px}
.registration-copy h1{font-size:36px;line-height:1.15;letter-spacing:-1.2px;font-weight:600}
.registration-copy p{font-size:16px;line-height:1.7;color:#365c54}
.registration-copy>img{width:46px;height:46px}
.registration-steps{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:18px;color:#315b52;font-size:14px;line-height:1.6}
.registration-steps li{display:flex;align-items:flex-start;gap:12px}
.registration-steps li>span:first-child,.registration-steps li>strong:first-child{display:grid;place-items:center;width:30px;height:30px;background:#ffffff7a;border-radius:50%;flex-shrink:0;font-size:14px;font-weight:600}
.registration-form{padding:38px;min-width:0}
.registration-form h2{font-size:27px;font-weight:600;letter-spacing:-.7px;margin-bottom:10px}
.registration-form>p{font-size:16px;line-height:1.6;color:#737373;margin-bottom:24px}
.registration-form .form-field{font-size:14px}
.registration-form .form-grid{gap:20px 18px}
.registration-form .button{font-size:16px;min-height:50px}
.registration-form .form-actions{justify-content:space-between;flex-wrap:wrap}
.registration-form .check-label{font-size:14px;line-height:1.6}
.registration-form .form-message{font-size:14px}
.service-group{padding:21px 0;border-top:1px solid var(--line)}
.service-heading{display:flex;align-items:center;gap:14px;min-width:0}
.service-heading>div{min-width:0;flex:1}
.service-heading h3{font-size:16px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.service-heading p{font-size:14px;line-height:1.5;color:#858585;margin-top:4px;overflow-wrap:anywhere}
.service-heading>strong,.service-heading .service-price{font-size:16px;font-weight:500;white-space:nowrap;margin-left:auto}
.service-children{display:grid;gap:10px;margin:16px 0 0 59px}
.child-service{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-radius:12px;padding:12px 14px;background:#f7f7f7;font-size:14px;line-height:1.6}
.child-service>div{min-width:0}
.child-service p,.child-service small{display:block;color:#858585;font-size:14px;margin-top:3px}
.child-service strong{white-space:nowrap;font-weight:500}
.item-photo-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;margin-top:12px;font-size:14px;color:#285e52;background:var(--mint-light);border-radius:30px}
.item-photo-button svg{width:18px;height:18px}
.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.media-frame{margin:0;min-width:0;overflow:hidden;border:1px solid #ededed;border-radius:18px;background:#f5f5f5;position:relative}
.media-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;font-weight:500;padding:12px 15px;background:white;color:#555}
.media-image{display:block;width:100%;aspect-ratio:3/2;object-fit:contain;background:#f5f5f5}
.media-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;color:#858585;font-size:14px;text-align:center;line-height:1.6}
.media-empty svg{width:36px;height:36px}
.receipt-dialog{width:min(700px,calc(100vw - 32px));max-height:90vh;max-height:90svh;overflow:hidden}
.receipt-dialog .dialog-content{max-height:90vh;max-height:90svh;display:flex;flex-direction:column;overflow:hidden;padding:28px}
.receipt-dialog .dialog-top{flex-shrink:0}
.receipt-progress{flex-shrink:0;margin:0 0 14px;font-size:14px;line-height:1.6;color:#55736b;padding:11px 14px;background:var(--mint-light);border-radius:12px}
.receipt-scroll{max-height:min(48vh,440px);max-height:min(48svh,440px);overflow:auto;overscroll-behavior:contain;min-height:0;border:1px solid #e5e5e5;border-radius:14px;background:#f5f5f5;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#a6b8b2 #f5f5f5;-webkit-overflow-scrolling:touch}
.receipt-sheet{background:white;padding:26px;font-size:14px;line-height:1.75;color:#444;overflow-wrap:anywhere}
.receipt-title{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:600;line-height:1.4;color:#111;margin-bottom:20px}
.receipt-title>img{width:32px;height:32px;flex-shrink:0}
.receipt-title h3{font-size:20px;line-height:1.35;font-weight:600}
.receipt-title p{font-size:14px;line-height:1.5;font-weight:400;margin-top:4px}
.receipt-sheet h4{font-size:15px;font-weight:600;margin:20px 0 10px}
.receipt-child>span:first-child{padding-left:10px}
.receipt-progress,.receipt-end{display:flex;align-items:center;gap:9px}
.receipt-progress svg,.receipt-end svg{width:18px;height:18px;flex-shrink:0}
.receipt-end{justify-content:center}
.child-service>span:last-child{white-space:nowrap;flex-shrink:0}
.child-service>span:first-child{min-width:0;overflow-wrap:anywhere}
.child-service .child-link-icon{display:inline-block;width:14px;height:14px;vertical-align:middle;margin-right:5px}
.login-register-link{margin-top:25px;display:grid;gap:12px}
.login-register-link>p{color:#777;font-size:14px}
.registration-login-link{margin-top:25px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:14px}
.receipt-line{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid #eee;padding:10px 0;font-size:14px;line-height:1.6}
.receipt-line>span:first-child{color:#777}
.receipt-line>span:last-child,.receipt-line>strong{font-weight:500;text-align:right;color:#222}
.receipt-terms{font-size:14px;line-height:1.8;margin-top:24px;color:#555}
.receipt-terms h3{font-size:17px;line-height:1.4;color:#111;margin:22px 0 10px;font-weight:600}
.receipt-terms p{margin:12px 0}
.receipt-terms ol,.receipt-terms ul{padding-left:22px;margin:12px 0}
.receipt-terms li{margin:10px 0}
.receipt-end{margin-top:24px;padding:16px;background:var(--mint-light);border-radius:12px;font-size:14px;font-weight:500;color:#2f6a59;text-align:center}
.receipt-consent{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.55;margin:18px 0;flex-shrink:0}
.receipt-consent input{width:22px;height:22px;flex-shrink:0;accent-color:#111;margin:1px 0 0;cursor:pointer}
.receipt-consent input:disabled{cursor:not-allowed}
.receipt-consent:has(input:disabled){color:#888}
.receipt-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0;margin-top:4px}
.receipt-actions .button,.confirmation-button{min-height:50px;font-size:16px}
.confirmation-button:disabled{cursor:not-allowed;opacity:.5;transform:none}
/* A single neutral photo at a time, with accessible controls below it. */
dialog:has(.item-gallery){width:min(680px,calc(100vw - 32px))}
.item-gallery{margin:20px 0 0;min-width:0}
.gallery-viewport{width:100%;min-width:0;overflow:hidden;background:#f4f4f4;border:1px solid #ededed;border-radius:18px;touch-action:pan-y pinch-zoom}
.gallery-slide{display:block;margin:0;min-width:0}
.gallery-slide[hidden]{display:none!important}
.gallery-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#f4f4f4;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.gallery-caption{padding:15px 18px;background:white;border-top:1px solid #ededed;font-size:14px;line-height:1.65;color:#666;overflow-wrap:anywhere}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 4px;min-width:0}
.gallery-arrow{width:44px;height:44px;min-width:44px;border-radius:50%;background:#f3f3f3;color:#222;display:grid;place-items:center;padding:0;flex-shrink:0;transition:background .18s}
.gallery-arrow:hover{background:var(--mint-light)}
.gallery-arrow svg{width:21px;height:21px}
.gallery-arrow.previous svg{transform:rotate(180deg)}
.gallery-arrow:disabled{cursor:default;opacity:.4}
.gallery-status{font-size:14px;line-height:1.5;color:#737373;text-align:center;min-width:0}
.gallery-dots{display:flex;align-items:center;justify-content:center;gap:2px;max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:none;margin:3px auto 0}
.gallery-dots::-webkit-scrollbar{display:none}
.gallery-dot{width:44px;height:44px;min-width:44px;padding:0;display:grid;place-items:center;background:transparent;border-radius:50%;flex-shrink:0}
.gallery-dot::after{content:"";width:8px;height:8px;border-radius:50%;background:#c6c6c6;transition:background .18s,box-shadow .18s}
.gallery-dot[aria-pressed="true"]::after{background:#111;box-shadow:0 0 0 4px var(--mint)}
.gallery-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:260px;padding:30px 24px;background:#f4f4f4;border:1px solid #ededed;border-radius:18px;font-size:16px;line-height:1.65;text-align:center;color:#777}
.gallery-empty svg{width:36px;height:36px;color:#8b8b8b}
.gallery-empty h3{font-size:20px;font-weight:500;color:#333}
.gallery-empty p{max-width:360px}
/* Phone verification and optional password setup share the existing form tokens. */
.auth-progress{display:flex;align-items:center;gap:10px;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 25px;font-size:14px;line-height:1.5;color:#888}
.auth-progress>span,.auth-progress>li{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:30px;background:#f4f4f4}
.auth-progress .active,.auth-progress [aria-current="step"]{background:var(--mint-light);color:#265a4f;font-weight:500}
.auth-progress .done{color:#416b61}
.auth-phone{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:12px 16px;background:var(--mint-light);border-radius:14px;font-size:18px;line-height:1.5;font-weight:500;letter-spacing:.2px;color:#285e52;margin:0 0 20px;overflow-wrap:anywhere}
.auth-phone svg{width:21px;height:21px}
.auth-helper{font-size:14px;line-height:1.7;color:#777;margin:14px 0 0}
.auth-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-top:24px}
.auth-actions .button{width:100%;min-height:50px;font-size:16px}
.auth-switch{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:transparent;color:#506d64;padding:10px 0;font-size:14px;line-height:1.6;text-align:center;text-decoration:underline;text-decoration-color:#98b5ac;text-underline-offset:4px}
.auth-switch:hover{color:#111}
.optional-password{border:1px solid #e4e4e4;border-radius:16px;padding:0 18px;margin:24px 0 0;background:#fafafa}
.optional-password>summary{padding:16px 0;font-size:16px;line-height:1.5;font-weight:500;color:#444;cursor:pointer;min-height:52px}
.optional-password[open]>summary{margin-bottom:3px}
.optional-password>.form-grid{padding:3px 0 19px}
.optional-password .auth-helper{margin:0 0 18px}
@media(min-width:1500px){.hero-copy h2{font-size:38px}.hero-copy{padding:34px}.hero-copy p{font-size:12px}.hero-grid{grid-template-columns:minmax(0,1fr) 300px}.care-hero{min-height:295px}}
@media(max-width:1200px){.site-header{padding:24px 25px}.workspace{padding:0 25px 25px;grid-template-columns:180px minmax(0,1fr);gap:24px}.hero-grid{grid-template-columns:minmax(0,1fr) 235px}.hero-copy{padding:25px 18px}.hero-copy h2{font-size:27px}.care-hero{grid-template-columns:1.2fr .8fr}.loyalty-card{padding:25px 21px}.section-card{padding:25px}.order-row{gap:12px;grid-template-columns:46px minmax(120px,1.4fr) minmax(115px,1fr) 78px 28px}.order-image{width:46px;height:55px}.page-heading h1{font-size:32px}.support-layout{grid-template-columns:215px 1fr}}
@media(max-width:1000px){.workspace{grid-template-columns:155px minmax(0,1fr);gap:20px}.brand-name{display:none}.nav-item{padding:12px;font-size:12px;gap:10px}.sidebar-label{padding-left:12px}.help-note{padding:16px 12px}.hero-grid{grid-template-columns:1fr 205px}.care-hero{display:block}.hero-copy{padding:26px;min-height:265px}.hero-photo{display:none}.hero-copy h2{font-size:30px}.hero-copy p{max-width:240px}.order-row{grid-template-columns:45px minmax(90px,1fr) 117px 65px 27px;gap:10px}.order-title{max-width:140px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.order-amount{font-size:12px}.page-heading{gap:15px}.page-heading h1{font-size:29px}.page-heading>.button{font-size:11px;padding:12px 16px;gap:7px}.dashboard-bottom{grid-template-columns:1fr}.balance-grid{grid-template-columns:1.2fr 1fr}.balance-grid>.balance-tile:last-child{grid-column:1/-1;min-height:140px}.balance-tile strong{margin-top:16px}.profile-layout{grid-template-columns:1fr}.profile-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-aside .section-card{margin:0}.card-preview{margin:0}.support-layout{grid-template-columns:180px 1fr}.thread-sidebar{padding:20px 7px}.chat-messages{padding:18px}.chat-heading{padding:20px 18px}.message{max-width:95%;font-size:11px}.chat-input{padding:15px 18px}.section-heading h2{font-size:19px}}

/* Tablet and phone layouts: readable text, reachable controls, and one clear column. */
@media(max-width:760px){
  body{font-size:16px;line-height:1.55}
  .site-header{padding:18px 20px;gap:14px;min-height:86px}
  .brand{gap:11px;min-width:0}
  .brand-mark{width:38px;height:38px}
  .brand-name{display:block;font-size:14px;letter-spacing:-.25px}
  .header-links{margin-left:auto;gap:12px}
  .website-link,.demo-pill,.avatar-button{display:none}
  .header-actions{margin-left:auto;gap:8px}
  .site-header .icon-button,.icon-button{width:44px;height:44px}
  .mobile-menu-button{display:grid;order:10}
  .notification-dot{right:11px;top:9px;width:7px;height:7px}
  .workspace{display:block;padding:0 20px 28px;margin-top:0}
  .sidebar{display:none}
  .sidebar.open{display:flex;position:fixed;left:auto;right:0;top:0;bottom:0;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;min-height:0;width:min(360px,90vw);padding:20px 20px max(20px,env(safe-area-inset-bottom));background:white;z-index:70;overflow-y:auto;overscroll-behavior:contain;box-shadow:-18px 0 65px #00000018;border-radius:24px 0 0 24px}
  .sidebar.open .sidebar-close{display:grid;align-self:flex-end;margin-bottom:18px;flex-shrink:0;background:#f3f3f3}
  .sidebar-label{font-size:13px;padding:0 16px 19px;color:#777;letter-spacing:1.15px}
  .side-nav{gap:8px}
  .sidebar.open .nav-item{padding:15px 17px;min-height:54px;font-size:16px;gap:14px}
  .nav-item svg{width:22px;height:22px}
  .nav-count{font-size:13px;min-width:26px;line-height:24px;padding:0 6px}
  .sidebar-bottom{margin-top:auto;padding-top:30px}
  .help-note{padding:21px 18px;font-size:16px;border-color:#e5e5e5}
  .help-note h3{font-size:16px}
  .help-note p{font-size:14px;line-height:1.7}
  .help-note .text-button{margin-top:10px}
  .logout-button{font-size:16px;padding:19px 16px;min-height:52px}
  .mobile-backdrop.visible{display:block;position:fixed;inset:0;background:#14272155;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);z-index:60}
  .main-content{padding-top:0}
  .breadcrumb{font-size:14px;line-height:1.5;gap:9px;margin-bottom:22px;flex-wrap:wrap}
  .breadcrumb svg{width:14px;height:14px}
  .page-heading{align-items:flex-start;gap:16px;margin-bottom:25px}
  .page-heading>div{min-width:0}
  .page-heading h1{font-size:31px;line-height:1.17;letter-spacing:-1px;overflow-wrap:break-word}
  .page-heading p{font-size:16px;line-height:1.65;margin-top:11px;max-width:none}
  .button{font-size:16px;min-height:50px;padding:13px 21px;gap:12px;line-height:1.4;white-space:normal;text-align:center}
  .button svg{width:20px;height:20px}
  .button-small{font-size:14px;min-height:44px;padding:11px 16px;gap:8px}
  .button-courier{height:52px;min-height:52px;width:52px;min-width:52px;flex-shrink:0;padding:0;gap:0;display:grid;place-items:center;margin-top:1px}
  .button-courier .button-label{display:none}
  .button-courier svg{display:block;width:24px;height:24px;margin:0}
  .text-button{font-size:16px;min-height:44px;line-height:1.45;gap:10px}
  .text-button svg{width:19px;height:19px}
  .hero-grid{grid-template-columns:1fr;gap:18px;margin-bottom:24px}
  .care-hero{display:flex;flex-direction:column;min-height:0}
  .hero-photo{display:block;order:-1;height:clamp(210px,60vw,330px);min-height:210px;width:100%;flex-shrink:0}
  .hero-photo img{display:block;width:100%;height:100%;object-position:58% 50%}
  .hero-copy{padding:27px 24px 28px;min-height:0}
  .eyebrow{font-size:13px;letter-spacing:1px;line-height:1.5;gap:9px}
  .eyebrow i{width:6px;height:6px;flex-shrink:0}
  .hero-copy h2{font-size:33px;line-height:1.1;letter-spacing:-1px;margin-top:17px}
  .hero-copy p{font-size:16px;line-height:1.7;margin-top:15px;max-width:none;color:#757575}
  .hero-copy .button{font-size:16px;min-height:50px;padding:13px 20px;margin-top:22px}
  .photo-tag{font-size:14px;line-height:1.4;padding:11px 13px;left:16px;right:16px;bottom:16px;gap:8px;border-radius:14px}
  .photo-tag svg{width:18px;height:18px}
  .loyalty-card{padding:27px 25px;display:flex;min-height:230px}
  .loyalty-top span{font-size:16px;color:#ccc}
  .loyalty-top img{width:28px;height:28px}
  .bonus-number{font-size:52px;line-height:1.2;letter-spacing:-2px;margin-top:20px}
  .bonus-number span{font-size:16px;letter-spacing:0;margin-left:5px}
  .loyalty-card p{font-size:14px;line-height:1.7;max-width:280px;margin-top:9px;color:#bbb}
  .loyalty-footer{padding-top:20px;margin-top:auto;gap:14px}
  .discount-tag{font-size:14px;padding:8px 12px;line-height:1.4}
  .round-arrow{width:44px;height:44px;flex-shrink:0}
  .round-arrow svg{width:21px;height:21px}
  .section-card{padding:24px;margin-bottom:20px}
  .section-heading{align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
  .section-heading h2{font-size:24px;line-height:1.3;letter-spacing:-.6px;gap:10px}
  .count-pill{font-size:13px;min-width:25px;padding:3px 9px;line-height:1.4}
  .section-heading .text-button{font-size:14px;gap:8px;color:#666}
  .section-heading .text-button svg{width:18px;height:18px}
  .orders-toolbar{flex-direction:column;align-items:stretch;gap:16px;padding-bottom:18px}
  .tabs{padding:4px;gap:3px;width:100%;max-width:100%;overflow:auto;scrollbar-width:none}
  .tabs::-webkit-scrollbar{display:none}
  .tab{flex:1;min-height:44px;font-size:14px;padding:10px 12px;line-height:1.4;white-space:nowrap}
  .tab span{font-size:13px;margin-left:5px}
  .search-field{width:100%;max-width:none;min-height:48px;padding:0 14px;background:#f5f5f5;border-radius:14px;gap:10px}
  .search-field svg{width:21px;height:21px}
  .search-field input{font-size:16px;min-height:48px;padding:10px 0;line-height:1.5}
  .order-row{grid-template-columns:54px minmax(0,1fr) 44px;grid-template-areas:"image summary open" "status status status" "money money money";gap:14px 12px;padding:22px 0;align-items:start}
  .order-row>.order-image{grid-area:image;width:54px;height:65px;border-radius:12px}
  .order-row>.order-image svg{width:37px;height:44px}
  .order-row>div:nth-child(2){grid-area:summary;min-width:0}
  .order-row>div:nth-child(3){grid-area:status;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
  .order-row>.order-money{grid-area:money;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f7f7f7;padding:11px 13px;border-radius:12px}
  .order-row>.order-open{grid-area:open;width:44px;height:44px}
  .order-name{font-size:16px;font-weight:500;min-height:30px;align-items:flex-start;line-height:1.45;text-align:left}
  .order-date{font-size:14px;line-height:1.6;margin-top:5px;color:#858585}
  .order-title{font-size:14px;line-height:1.55;max-width:none;margin-top:5px;white-space:normal;overflow:visible;text-overflow:clip;color:#666}
  .status{font-size:13px;line-height:1.5;padding:7px 10px;gap:6px;white-space:normal}
  .status:before{width:5px;height:5px;flex-shrink:0}
  .order-ready-date{font-size:14px;line-height:1.6;margin-top:0;max-width:none;color:#858585}
  .order-amount{font-size:17px;line-height:1.5;text-align:left}
  .order-paid{font-size:14px;line-height:1.5;color:#737373;margin-top:0;text-align:right}
  .order-open svg{width:20px;height:20px}
  .dashboard-bottom{grid-template-columns:1fr;gap:18px}
  .mini-panel{padding:24px;gap:16px;align-items:flex-start}
  .mini-panel .panel-icon{width:44px;height:44px}
  .mini-panel .panel-icon svg{width:22px;height:22px}
  .mini-panel h3{font-size:17px;line-height:1.4}
  .mini-panel p{font-size:14px;line-height:1.7;margin-top:8px;max-width:none}
  .mini-panel>button{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;margin-left:auto;border-radius:50%;padding:0}
  .mini-panel>button svg{width:22px;height:22px}
  .main-footer{font-size:14px;line-height:1.6;gap:14px;flex-direction:column;align-items:flex-start;padding-top:28px}
  .main-footer a{min-height:44px;gap:8px}
  .main-footer svg{width:17px;height:17px}
  .empty-state{padding:32px 12px}
  .empty-state h3{font-size:20px}
  .empty-state p{font-size:16px;line-height:1.7;margin-top:10px}
  .balance-grid{grid-template-columns:1fr;gap:18px}
  .balance-grid>.loyalty-card,.balance-grid>.balance-tile:last-child{grid-column:auto;min-height:0}
  .balance-tile{padding:26px;min-height:185px}
  .balance-tile>span{font-size:16px}
  .balance-tile strong{font-size:43px;margin-top:20px}
  .balance-tile strong small{font-size:20px}
  .balance-tile p{font-size:14px;line-height:1.7;color:#777}
  .history-row{gap:13px;padding:20px 0}
  .history-icon{width:40px;height:40px;flex-shrink:0}
  .history-icon svg{width:20px;height:20px}
  .history-row h3{font-size:16px;line-height:1.5}
  .history-row p{font-size:14px;line-height:1.6;margin-top:5px;color:#858585}
  .history-amount{font-size:16px}
  .info-note{font-size:14px;line-height:1.65;padding:18px;gap:12px;margin-bottom:22px}
  .info-note svg{width:22px;height:22px}
  .profile-layout{grid-template-columns:1fr;gap:0}
  .profile-header{gap:15px;margin-bottom:28px;align-items:flex-start}
  .profile-header .avatar{width:58px;height:58px;font-size:19px;flex-shrink:0}
  .profile-header h2{font-size:23px;line-height:1.3}
  .profile-header p{font-size:14px;line-height:1.6;margin-top:7px;color:#777;overflow-wrap:anywhere}
  .form-grid{grid-template-columns:1fr;gap:20px}
  .form-grid .form-field{grid-column:1/-1}
  .form-field{font-size:14px;line-height:1.5;gap:9px;color:#555}
  .form-field input,.form-field textarea,.form-field select{font-size:16px;min-height:50px;padding:12px 14px;border-radius:13px;line-height:1.5}
  .form-field textarea{min-height:110px}
  .form-field small{font-size:14px;line-height:1.6;color:#858585}
  .form-actions{gap:14px;flex-wrap:wrap;margin-top:26px}
  .form-actions .button{width:100%}
  .form-message{font-size:14px;line-height:1.6;min-height:21px}
  .check-label{font-size:16px;line-height:1.65;gap:12px;margin:22px 0}
  .check-label input{height:22px;width:22px;margin-top:3px}
  .check-label small{font-size:14px;line-height:1.6;margin-top:6px}
  .profile-aside{grid-template-columns:1fr;gap:20px}
  .profile-aside .section-card{margin:0}
  .card-preview{padding:28px;min-height:245px;margin:0}
  .card-preview .eyebrow{max-width:190px}
  .card-preview strong{font-size:25px;line-height:1.4;margin:28px 0 23px;overflow-wrap:anywhere}
  .card-preview .barcode-number{font-size:14px;letter-spacing:2px}
  .aside-block h3{font-size:19px;line-height:1.4;margin-bottom:13px}
  .aside-block p{font-size:16px;line-height:1.8;color:#777}
  .support-layout{grid-template-columns:1fr;min-height:0}
  .thread-sidebar{border-right:0;border-bottom:1px solid #eee;padding:18px;display:flex;gap:10px;overflow-x:auto}
  .thread-sidebar>h2{display:none}
  .thread-button{width:auto;min-width:205px;max-width:260px;margin:0;padding:15px;flex-shrink:0}
  .thread-button strong{font-size:16px;line-height:1.5;gap:8px}
  .thread-button .thread-preview{font-size:14px;line-height:1.5;margin-top:8px;color:#858585}
  .thread-button .thread-date{font-size:13px;line-height:1.5;margin-top:6px;color:#858585}
  .chat-heading{padding:22px;gap:13px}
  .support-avatar{width:42px;height:42px;flex-shrink:0}
  .support-avatar img{width:22px;height:22px}
  .chat-heading h3{font-size:17px;line-height:1.4}
  .chat-heading p{font-size:14px;line-height:1.5;margin-top:5px;color:#858585}
  .chat-messages{padding:22px;min-height:270px;max-height:410px;gap:18px}
  .message{font-size:16px;line-height:1.65;max-width:94%;padding:15px 17px;overflow-wrap:anywhere}
  .message-time{font-size:13px;line-height:1.5;margin-top:8px;color:#777}
  .chat-input{padding:16px 22px 22px;gap:10px;align-items:flex-end}
  .chat-input textarea{font-size:16px;line-height:1.5;min-height:50px;padding:12px 14px}
  .chat-send{width:48px;height:48px;flex-shrink:0}
  .chat-send svg{width:22px;height:22px}
  .toast{font-size:16px;line-height:1.5;padding:15px 20px;max-width:calc(100vw - 32px);bottom:max(20px,env(safe-area-inset-bottom));border-radius:16px}
  dialog{width:calc(100vw - 28px);max-height:90vh;max-height:90svh;border-radius:22px}
  .dialog-content{padding:26px 24px}
  .dialog-top{gap:14px;margin-bottom:20px;align-items:flex-start}
  .dialog-top h2{font-size:26px;line-height:1.2;letter-spacing:-.7px}
  .dialog-top .icon-button{width:44px;height:44px;flex-shrink:0;margin-top:-7px;margin-right:-7px}
  .dialog-subtitle{font-size:16px;line-height:1.7;margin-bottom:24px;color:#777}
  .dialog-note{font-size:14px;line-height:1.65;margin-top:19px;color:#858585}
  .dialog-content .form-grid{gap:20px}
  .dialog-content .button{min-height:50px}
  .order-dialog{width:calc(100vw - 28px)}
  .detail-meta{font-size:14px;line-height:1.6;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:22px}
  .timeline{grid-template-columns:1fr 1fr;gap:17px 14px;margin:24px 0}
  .timeline-step{font-size:14px;line-height:1.6;padding-top:10px}
  .detail-item{gap:13px;padding:19px 0;flex-wrap:wrap;align-items:flex-start}
  .detail-item .order-image{width:48px;height:57px;flex-shrink:0}
  .detail-item .order-image svg{width:33px;height:39px}
  .detail-item>div{flex:1;min-width:120px}
  .detail-item h3{font-size:16px;line-height:1.5}
  .detail-item p{font-size:14px;line-height:1.6;margin-top:6px;color:#858585}
  .detail-item strong{font-size:16px;line-height:1.5;margin-left:auto}
  .total-row{font-size:16px;line-height:1.5;gap:14px;align-items:flex-start;padding:9px 0}
  .total-row>span:last-child{white-space:nowrap;text-align:right}
  .total-row.large{font-size:18px;padding:15px 0;line-height:1.5}
  .detail-location{font-size:14px;line-height:1.7;gap:12px;padding:18px;margin:22px 0}
  .detail-location svg{width:22px;height:22px}
  .detail-location strong{font-size:16px;line-height:1.5;margin-bottom:6px}
  .detail-actions{flex-direction:column;gap:12px;margin-top:24px}
  .detail-actions .button{width:100%;font-size:16px;min-height:50px;padding:13px 17px}
  .radio-option{font-size:16px;line-height:1.6;gap:14px;padding:18px;margin:15px 0}
  .radio-option input{width:21px;height:21px;flex-shrink:0}
  .radio-option small{font-size:14px;line-height:1.5;margin-top:5px;color:#858585}
  .success-state{padding:17px 0 4px}
  .success-state h2{font-size:28px;line-height:1.2}
  .success-state p{font-size:16px;line-height:1.75;max-width:none;margin:16px auto 25px;color:#777}
  .success-state .button{width:100%}
  .notification-item{gap:13px;padding:21px 0}
  .notification-item h3{font-size:17px;line-height:1.5}
  .notification-item p{font-size:16px;line-height:1.65;margin:8px 0 14px;color:#777}
  .login-layout{margin:15px 20px 30px;min-height:0;grid-template-columns:1fr;border-radius:24px}
  .login-copy{padding:32px 27px}
  .login-copy h1{font-size:33px;line-height:1.2;letter-spacing:-1px}
  .login-copy>p{font-size:16px;line-height:1.7;color:#777;margin:17px 0 28px}
  .login-copy .form-field{margin-bottom:22px}
  .login-copy .button{font-size:16px}
  .login-photo{display:none}
  .registration-layout{grid-template-columns:1fr;margin:15px 20px 30px;border-radius:24px}
  .registration-copy{padding:31px 26px;gap:17px}
  .registration-copy h1{font-size:32px;line-height:1.18;letter-spacing:-.9px}
  .registration-copy p{font-size:16px;line-height:1.65}
  .registration-steps{font-size:14px;gap:14px;margin-top:5px}
  .registration-form{padding:30px 26px}
  .registration-form h2{font-size:25px;line-height:1.3;margin-bottom:12px}
  .registration-form>p{font-size:16px;line-height:1.7;margin-bottom:25px}
  .registration-form .form-grid{gap:21px}
  .registration-form .check-label{font-size:14px;line-height:1.7}
  .registration-form .form-actions{gap:12px}
  .registration-form .form-actions .text-button{width:100%;justify-content:center}
  .service-group{padding:22px 0}
  .service-heading{gap:12px;flex-wrap:wrap;align-items:flex-start}
  .service-heading .order-image{width:48px;height:57px;flex-shrink:0}
  .service-heading>div{min-width:130px;flex:1}
  .service-heading h3{font-size:16px;line-height:1.5}
  .service-heading p{font-size:14px;line-height:1.6;margin-top:6px}
  .service-heading>strong,.service-heading .service-price{font-size:16px;line-height:1.5}
  .service-children{margin:17px 0 0;gap:12px}
  .child-service{font-size:14px;line-height:1.65;padding:14px;gap:15px}
  .child-service p,.child-service small{font-size:14px;line-height:1.6}
  .item-photo-button{font-size:14px;min-height:46px;line-height:1.5;margin-top:15px;padding:11px 15px}
  .media-grid{gap:17px;margin:20px 0;grid-template-columns:1fr}
  .media-frame{border-radius:14px}
  .media-label{font-size:14px;line-height:1.5;padding:11px 12px}
  .media-image{aspect-ratio:3/2}
  .media-empty{min-height:185px;font-size:14px;line-height:1.6;padding:20px 14px}
  .receipt-dialog{width:calc(100vw - 24px);max-height:90svh}
  .receipt-dialog .dialog-content{padding:22px 20px;max-height:90svh}
  .receipt-dialog .dialog-top{margin-bottom:16px}
  .receipt-dialog .dialog-top h2{font-size:25px}
  .receipt-progress{font-size:14px;line-height:1.5;padding:10px 12px;margin-bottom:12px}
  .receipt-scroll{max-height:min(48svh,440px);flex:1;min-height:100px;border-radius:12px}
  .receipt-sheet{padding:20px 18px;font-size:14px;line-height:1.8}
  .receipt-title{font-size:20px;line-height:1.4;margin-bottom:17px}
  .receipt-line{font-size:14px;line-height:1.65;gap:12px;flex-wrap:wrap}
  .receipt-line>span:last-child,.receipt-line>strong{margin-left:auto}
  .receipt-terms{font-size:14px;line-height:1.8;margin-top:22px}
  .receipt-terms h3{font-size:17px;line-height:1.4}
  .receipt-end{font-size:14px;padding:14px;line-height:1.65}
  .receipt-consent{font-size:14px;line-height:1.55;gap:11px;margin:15px 0;align-items:flex-start}
  .receipt-consent input{height:22px;width:22px;margin-top:1px}
  .receipt-actions{flex-wrap:wrap;gap:10px;margin-top:0}
  .receipt-actions .button{flex:1;width:auto;font-size:16px;min-height:50px;padding:12px 15px}
  .confirmation-button{width:100%;font-size:16px;min-height:50px}
  dialog:has(.item-gallery){width:calc(100vw - 28px)}
  .item-gallery{margin-top:20px}
  .gallery-viewport{border-radius:16px;touch-action:pan-y pinch-zoom}
  .gallery-image{aspect-ratio:3/2;object-fit:contain}
  .gallery-caption{font-size:16px;line-height:1.65;padding:15px 16px}
  .gallery-controls{gap:14px;margin-top:18px}
  .gallery-arrow{width:48px;height:48px;min-width:48px}
  .gallery-arrow svg{width:23px;height:23px}
  .gallery-status{font-size:16px;line-height:1.55}
  .gallery-dots{gap:0;margin-top:4px}
  .gallery-dot{width:48px;height:48px;min-width:48px}
  .gallery-dot::after{width:9px;height:9px}
  .gallery-empty{min-height:230px;padding:26px 20px;font-size:16px;line-height:1.7;border-radius:16px}
  .gallery-empty h3{font-size:21px;line-height:1.4}
  .auth-progress{font-size:14px;line-height:1.55;gap:8px;margin-bottom:24px}
  .auth-progress>span,.auth-progress>li{padding:8px 11px}
  .auth-phone{font-size:18px;line-height:1.55;padding:13px 15px;margin-bottom:22px}
  .auth-helper{font-size:16px;line-height:1.7;margin-top:17px}
  .auth-actions{gap:15px;margin-top:26px}
  .auth-actions .button{font-size:16px;min-height:50px}
  .auth-switch{font-size:16px;line-height:1.55;min-height:48px;padding:12px 0}
  .optional-password{padding:0 16px;margin-top:26px}
  .optional-password>summary{font-size:16px;line-height:1.6;min-height:56px;padding:17px 0}
  .optional-password>.form-grid{padding-bottom:20px}
}
@media(max-width:430px){
  .site-header{padding:17px 16px;min-height:82px;gap:10px}
  .brand-mark{width:35px;height:35px}
  .brand-name{font-size:13px}
  .header-actions{gap:4px}
  .workspace{padding:0 16px 26px}
  .page-heading{gap:12px}
  .page-heading h1{font-size:29px;letter-spacing:-.9px}
  .page-heading p{font-size:16px;line-height:1.65}
  .hero-copy{padding:25px 22px 27px}
  .hero-copy h2{font-size:31px}
  .section-card{padding:22px 18px}
  .section-heading{gap:9px 14px}
  .section-heading h2{font-size:23px}
  .tab{padding:10px;font-size:14px}
  .order-row{gap:13px 10px;grid-template-columns:48px minmax(0,1fr) 44px}
  .order-row>.order-image{width:48px;height:61px}
  .order-name{font-size:16px}
  .order-money{gap:10px}
  .mini-panel{padding:22px 18px;gap:13px;flex-wrap:wrap}
  .mini-panel>div{flex:1;min-width:160px}
  .mini-panel>button{margin-left:auto}
  .history-row{flex-wrap:wrap}
  .history-row>div:not(.history-icon){flex:1;min-width:150px}
  .history-amount{margin-left:53px}
  .balance-tile{padding:24px}
  .chat-heading{padding:20px 18px}
  .chat-messages{padding:20px 18px}
  .chat-input{padding:15px 18px 20px}
  .dialog-content{padding:25px 20px}
  .dialog-top h2{font-size:25px}
  .login-layout,.registration-layout{margin:13px 16px 28px}
  .login-copy,.registration-form{padding:29px 23px}
  .registration-copy{padding:29px 23px}
  .receipt-dialog .dialog-content{padding:20px 16px}
  .receipt-sheet{padding:18px 16px}
  .receipt-actions .button{font-size:16px;padding:12px 14px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Original authenticated receipt documents and CAPTCHA. */
.receipt-original-pages{padding:12px;min-width:0}
.receipt-zoom{display:flex;align-items:center;justify-content:center;gap:18px;margin:4px 0 10px}
.receipt-zoom button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ddd;border-radius:50%;background:white;font:inherit;font-size:24px;line-height:1;cursor:pointer}
.receipt-zoom button:disabled{opacity:.4;cursor:default}
.receipt-zoom-value{min-width:52px;text-align:center;font-size:16px}
.card-number-label{display:block;margin:30px 0 6px;font-size:14px}
.receipt-original-page{margin:0 0 16px;background:white;padding:8px;border-radius:8px}
.receipt-original-page canvas,.receipt-original-page img{display:block;width:100%;height:auto}
.receipt-original-page figcaption{padding:9px 4px 3px;font-size:14px;color:#777;text-align:center}
.receipt-document-status{padding:24px 18px;font-size:16px;line-height:1.65;color:#666;text-align:center}
.captcha-frame{display:block;width:100%;height:320px;border:1px solid #e4e4e4;border-radius:14px;background:#fff}
button:disabled{cursor:default}
input[readonly]{background:#f6f6f6;color:#666}
/* Current service dates and the published loyalty rules. */
.order-history-scope{font-size:13px;line-height:1.6;color:#777;margin:0 0 14px}
.order-history-scope:empty{display:none}
.timeline-date{display:block;margin-top:7px;font-size:13px;line-height:1.5;color:#777}
.loyalty-rules-copy{font-size:14px;line-height:1.7;color:#666;margin-bottom:20px}
.loyalty-rates{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;margin:0 0 22px}
.loyalty-rates th,.loyalty-rates td{text-align:left;padding:13px 10px;border-bottom:1px solid #ededed}
.loyalty-rates th{color:#737373;font-weight:400;font-size:13px}
.loyalty-rates td:last-child{font-size:18px;font-weight:500;text-align:right}
.loyalty-rates th:last-child{text-align:right}
.loyalty-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.loyalty-fact{padding:20px;background:#f5f5f5;border-radius:18px;min-width:0}
.loyalty-fact strong{display:block;font-size:23px;line-height:1.3;font-weight:500;letter-spacing:-.5px;margin-bottom:8px}
.loyalty-fact p{font-size:14px;line-height:1.7;color:#777}
.balance-tile .loyalty-level{font-size:25px;line-height:1.3;letter-spacing:-.6px;overflow-wrap:anywhere}
.loyalty-expiry{font-size:14px;line-height:1.7;color:#666;margin-top:18px}
@media(max-width:760px){
 .order-history-scope,.timeline-date{font-size:14px}
 .loyalty-rules-copy{font-size:16px;line-height:1.7;margin-bottom:21px}
 .loyalty-rates{font-size:16px;line-height:1.65}
 .loyalty-rates th{font-size:14px}
 .loyalty-rates th,.loyalty-rates td{padding:14px 8px}
 .loyalty-rates td:last-child{font-size:20px}
 .loyalty-facts{grid-template-columns:1fr;gap:14px}
 .loyalty-fact{padding:22px}
 .loyalty-fact strong{font-size:25px;line-height:1.35}
 .loyalty-fact p,.loyalty-expiry{font-size:16px;line-height:1.7}
 .balance-tile .loyalty-level{font-size:26px;line-height:1.35}
}

.loyalty-range{display:block;font-size:14px;line-height:1.6;color:#777;margin-top:5px}
.loyalty-rates td>strong{font-size:16px;font-weight:500;line-height:1.5}
.loyalty-account-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.loyalty-account-details>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.loyalty-account-details>div>span{font-size:14px;color:#777;line-height:1.5}
.loyalty-account-details>div>strong{font-size:20px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.loyalty-account-details>.loyalty-expiry{grid-column:1/-1;margin:0}
.balance-tile .loyalty-level-help{font-size:14px;line-height:1.7}
@media(max-width:760px){.loyalty-account-details{grid-template-columns:1fr;gap:22px}.loyalty-account-details>div>span{font-size:14px}.loyalty-account-details>div>strong{font-size:22px}.loyalty-rates td>strong{font-size:16px}.balance-tile .loyalty-level-help{font-size:16px}.loyalty-range{font-size:14px}}

/* Account-specific loyalty information stays visible on the overview card. */
.loyalty-card .loyalty-main-level{font-size:14px;font-weight:500;line-height:1.5;color:#ddd;max-width:none;margin-top:10px}
.loyalty-card-details{display:grid;gap:12px;margin:15px 0 0;padding:0;min-width:0}
.loyalty-card-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.loyalty-card-details dt{font-size:13px;line-height:1.5;color:#bcbcbc;min-width:0}
.loyalty-card-details dd{margin:0;font-size:14px;line-height:1.5;color:white;font-weight:500;flex-shrink:0}
.loyalty-card-details>.loyalty-card-scheme{display:block}
.loyalty-card-scheme dd{margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.hero-grid .loyalty-footer{gap:10px;padding-top:18px}
.hero-grid .discount-tag{font-size:12px;line-height:1.45;padding:7px 9px;white-space:normal}
@media(max-width:760px){
 .loyalty-card .loyalty-main-level{font-size:16px;line-height:1.5;margin-top:11px}
 .loyalty-card-details{gap:13px;margin-top:16px}
 .loyalty-card-details dt,.loyalty-card-details dd{font-size:14px;line-height:1.55}
 .loyalty-card-scheme dd{-webkit-line-clamp:3}
 .hero-grid .discount-tag{font-size:14px;padding:8px 11px;line-height:1.4}
 .hero-grid .loyalty-footer{padding-top:21px}
}

/* Server-reviewed payments and the available bonus history. */
.payment-dialog{width:min(550px,calc(100vw - 32px));font-size:16px;line-height:1.6}
.payment-dialog .dialog-content{min-width:0}
.payment-dialog .dialog-top{align-items:flex-start}
.payment-dialog .dialog-top h2{min-width:0;line-height:1.3;overflow-wrap:anywhere}
.payment-dialog .dialog-top .icon-button{flex-shrink:0;margin:0}
.payment-dialog .dialog-subtitle{font-size:16px;line-height:1.65;color:#737373;overflow-wrap:anywhere;margin-bottom:22px}
.payment-dialog .form-field{font-size:14px;line-height:1.6}
.payment-dialog .form-field input,input.payment-amount-input{width:100%;min-width:0;min-height:52px;font-size:16px;line-height:1.5;border:1px solid #dedede;border-radius:14px;background:white;padding:13px 15px;color:#111;font-variant-numeric:tabular-nums}
.payment-dialog .form-message{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.payment-dialog .button,.payment-actions .button{min-height:50px;min-width:0;font-size:16px;line-height:1.45;padding:13px 19px;white-space:normal;overflow-wrap:anywhere}
.payment-dialog button:disabled{transform:none;cursor:default}
.payment-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:128px;padding:24px 12px;font-size:16px;line-height:1.65;text-align:center;color:#666;overflow-wrap:anywhere}
.payment-loading svg{width:24px;height:24px;color:#3f7d70;animation:turn 1.4s linear infinite}
.payment-methods{display:grid;gap:12px;margin:20px 0}
.payment-method{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:18px;border:1px solid #e3e3e3;border-radius:18px;background:white;cursor:pointer;transition:background .18s,border-color .18s}
.payment-method:hover{background:#fafafa}
.payment-method:has(input:checked){border-color:#80c4b7;background:var(--mint-light)}
.payment-method:has(input:focus-visible){outline:2px solid #111;outline-offset:3px}
.payment-method input{width:20px;height:20px;flex-shrink:0;margin:3px 0 0;accent-color:#111;cursor:inherit}
.payment-method>div{flex:1;min-width:0}
.payment-method strong{display:block;font-size:16px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.payment-method small{display:block;margin-top:5px;font-size:14px;line-height:1.6;color:#6f6f6f;overflow-wrap:anywhere}
.payment-method.unavailable{background:#f7f7f7;border-color:#ededed;cursor:default}
.payment-method.unavailable strong{color:#767676}
.payment-method.unavailable input{opacity:.5}
.payment-availability,.payment-limit,.payment-expiry{font-size:14px;line-height:1.65;color:#737373;overflow-wrap:anywhere}
.payment-availability{margin-top:7px}
.payment-limit{margin:9px 0 0}
.payment-expiry{margin:16px 0 0}
.payment-review-summary{margin:20px 0;padding:8px 18px;background:#f5f5f5;border-radius:18px;min-width:0}
.payment-review-summary>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:14px;padding:13px 0;border-bottom:1px solid #e6e6e6;min-width:0}
.payment-review-summary>div:last-child{border-bottom:0}
.payment-review-summary dt{font-size:14px;line-height:1.6;color:#737373;min-width:0;overflow-wrap:anywhere}
.payment-review-summary dd{margin:0;text-align:right;font-size:16px;font-weight:500;line-height:1.5;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.payment-confirmation{display:flex;align-items:flex-start;gap:12px;margin:20px 0;font-size:16px;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}
.payment-confirmation input{width:22px;height:22px;flex-shrink:0;margin:2px 0 0;accent-color:#111;cursor:inherit}
.payment-confirmation>span{min-width:0}
.payment-confirmation:has(input:disabled){color:#777;cursor:default}
.payment-status{text-align:center;padding:22px 0 12px;font-size:16px;line-height:1.65;min-width:0}
.payment-status .status-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;margin:0 auto 19px;background:#f1f1f1;color:#555}
.payment-status .status-icon svg{width:29px;height:29px}
.payment-status h3{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.6px;overflow-wrap:anywhere}
.payment-status p{max-width:410px;margin:12px auto 0;color:#737373;font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.payment-status-success .status-icon,.payment-status-succeeded .status-icon{background:var(--mint);color:#245d50}
.payment-status-pending .status-icon{background:#fff1d9;color:#946b24}
.payment-status-unknown .status-icon{background:#fff1d9;color:#946b24}
.payment-status-rejected .status-icon{background:#fae9e5;color:#9c4838}
.payment-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:24px;min-width:0}
.payment-actions .button{flex:1 1 180px}
.payment-unavailable{padding:18px;background:#f5f5f5;border-radius:16px;font-size:16px;line-height:1.65;color:#737373;overflow-wrap:anywhere}
.payment-unavailable p{font-size:16px;line-height:1.65}

.bonus-history-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px;min-width:0}
.history-periods{display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:100%;min-width:0;padding:5px;background:#f3f3f3;border-radius:27px}
.history-period{min-width:0;min-height:50px;padding:11px 16px;border-radius:22px;background:transparent;color:#737373;font-size:16px;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere;transition:background .18s,color .18s}
.history-period:hover{background:#e8e8e8;color:#111}
.history-period.selected{background:white;color:#111;box-shadow:0 1px 4px #00000008}
.history-status{flex:1 1 220px;font-size:14px;line-height:1.65;color:#737373;min-width:0;overflow-wrap:anywhere}
.bonus-history-list{display:grid;grid-template-columns:minmax(0,1fr);min-width:0}
.bonus-history-row.history-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(80px,auto);align-items:start;gap:16px;padding:21px 0;min-width:0;font-size:16px}
.history-entry-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f3f3f3;color:#737373}
.history-entry-icon svg{width:21px;height:21px}
.history-credit .history-entry-icon{background:var(--mint-light);color:#327762}
.history-debit .history-entry-icon{background:#f3f3f3;color:#6b6b6b}
.history-entry-copy{min-width:0}
.bonus-history-row .history-entry-copy h3{font-size:16px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.bonus-history-row .history-entry-copy p,.history-entry-meta{font-size:14px;line-height:1.65;color:#737373;margin-top:5px;overflow-wrap:anywhere}
.history-entry-meta{display:flex;align-items:baseline;gap:5px 14px;flex-wrap:wrap;min-width:0}
.history-entry-meta span{min-width:0;overflow-wrap:anywhere}
.history-entry-amount{font-size:17px;line-height:1.5;font-weight:500;min-width:0;max-width:220px;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.history-entry-amount small{font-size:14px;line-height:1.5;font-weight:400}
.history-credit .history-entry-amount{color:#327762}
.history-debit .history-entry-amount{color:#444}
.bonus-history-row .history-batch-note,.history-batch-note{font-size:14px;line-height:1.65;color:#737373;margin-top:9px;overflow-wrap:anywhere}
.history-child-list{display:grid;grid-column:2/-1;gap:0;min-width:0;margin-top:3px;border-left:2px solid #e6e6e6;padding-left:16px}
.bonus-history-list>.history-child-list{grid-column:1/-1;margin:0 0 8px 58px;min-width:0}
.history-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,auto);align-items:start;gap:10px 16px;padding:13px 0;min-width:0;border-top:1px solid #eee;font-size:14px;line-height:1.6}
.bonus-history-row.history-row.history-child{grid-template-columns:minmax(0,1fr) minmax(70px,auto);gap:10px 16px;padding:13px 0}
.history-child:first-child{border-top:0}
.history-child .history-entry-icon{display:none}
.history-child .history-entry-copy h3{font-size:14px;font-weight:500;line-height:1.6}
.history-child .history-entry-amount{font-size:14px;line-height:1.6;max-width:150px}
.history-child .history-entry-copy p,.history-child .history-entry-meta{font-size:14px;line-height:1.6}
.history-summary{padding:18px 20px;margin:0 0 20px;border-radius:16px;background:var(--mint-light);font-size:16px;line-height:1.65;color:#376356;overflow-wrap:anywhere}
.history-empty,.history-error,.history-unavailable{padding:30px 20px;border-radius:18px;background:#f5f5f5;min-width:0;text-align:center;font-size:16px;line-height:1.65;color:#737373;overflow-wrap:anywhere}
.history-empty h3,.history-error h3,.history-unavailable h3{font-size:19px;font-weight:500;line-height:1.4;color:#333;margin-bottom:9px}
.history-empty p,.history-error p,.history-unavailable p{font-size:16px;line-height:1.65;max-width:520px;margin:0 auto}
.history-empty svg,.history-error svg,.history-unavailable svg{width:30px;height:30px;margin-bottom:14px;color:#777}
.history-error{background:#fff4ef}
.history-error .button,.history-unavailable .button{min-height:50px;min-width:0;font-size:16px;white-space:normal;margin-top:18px}
.history-period-label{font-size:14px;line-height:1.6;color:#737373;overflow-wrap:anywhere}
@media(max-width:760px){
 .payment-dialog{width:calc(100vw - 28px)}
 .payment-dialog .dialog-content{padding:26px 22px}
 .payment-dialog .dialog-top h2{font-size:25px;letter-spacing:-.7px}
 .payment-dialog .dialog-subtitle{font-size:16px;line-height:1.65}
 .payment-method{padding:17px 16px;gap:12px}
 .payment-actions .button{flex-basis:100%}
 .bonus-history-toolbar{gap:14px;margin-bottom:20px}
 .history-periods{width:100%;border-radius:22px}
 .history-period{flex:1 1 100px;padding:11px 12px;border-radius:18px}
 .history-status{flex-basis:100%}
 .bonus-history-row.history-row{gap:13px;grid-template-columns:40px minmax(0,1fr) minmax(65px,auto)}
 .history-entry-icon{width:40px;height:40px}
 .history-entry-amount{max-width:150px;font-size:16px}
 .history-child-list{padding-left:13px}
 .bonus-history-list>.history-child-list{margin-left:53px}
 .history-summary{padding:17px 18px}
}
@media(max-width:430px){
 .payment-dialog{width:calc(100vw - 24px)}
 .payment-dialog .dialog-content{padding:24px 18px}
 .payment-dialog .dialog-top{gap:12px}
 .payment-method{padding:16px 14px}
 .payment-review-summary{padding:7px 15px}
 .payment-review-summary>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .payment-confirmation{gap:11px}
 .payment-status h3{font-size:23px}
 .payment-actions{gap:10px}
 .bonus-history-row.history-row{grid-template-columns:40px minmax(0,1fr);gap:10px 13px}
 .bonus-history-row.history-row>.history-entry-copy{min-width:0}
 .bonus-history-row.history-row>.history-child-list{min-width:0}
 .bonus-history-row>.history-entry-amount{grid-column:2;margin:0;text-align:left;max-width:100%}
 .history-child-list{grid-column:2;margin-top:3px;padding-left:12px}
 .history-child{grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 0}
 .bonus-history-row.history-row.history-child{grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 0}
 .bonus-history-row.history-row.history-child>.history-entry-amount{grid-column:1;text-align:left;max-width:100%}
 .history-child .history-entry-amount{text-align:left;max-width:100%}
 .history-empty,.history-error,.history-unavailable{padding:26px 17px}
}
@media(prefers-reduced-motion:reduce){.payment-loading svg{animation:none}.payment-method,.history-period{transition:none}}


/* Mobile sheets, natural photo proportions, and a readable order timeline. */
.icon-button,.mobile-menu-button,.sidebar-close,.gallery-arrow,.order-open,
.mini-panel>button,.receipt-zoom button,.search-clear{color:#111}
.dialog-top .icon-button svg,.header-actions svg,.gallery-arrow svg{color:inherit}
.order-dialog,.gallery-dialog,.payment-dialog{width:min(720px,calc(100vw - 32px))}
dialog:has(.item-gallery){width:min(720px,calc(100vw - 32px))}
.order-image{overflow:hidden;flex-shrink:0}
.order-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.item-photo-button{color:#111}
.item-photo-button:disabled{background:#f3f3f3;color:#8a8a8a;opacity:1;cursor:default}
.item-photo-button[data-photo-state="loading"]{color:#737373}
.search-field{position:relative}
.search-field input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.search-clear{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border-radius:50%;background:transparent;cursor:pointer}
.search-clear:hover{background:#e8e8e8}
.search-clear svg{width:18px;height:18px}
.search-clear[hidden]{display:none}
.media-image{aspect-ratio:auto;height:auto;object-fit:contain;background:white}
.gallery-viewport{background:white}
.gallery-image{display:block;width:auto;max-width:100%;height:auto;max-height:min(65vh,620px);max-height:min(65dvh,620px);aspect-ratio:auto;object-fit:contain;background:white;margin:0 auto}
.order-timeline{margin:24px 0;min-width:0}
.timeline-track{display:flex;align-items:flex-start;gap:0;overflow-x:auto;max-width:100%;padding:8px 0 12px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c5c5c5 transparent;scroll-padding-inline:10px}
.order-timeline .timeline-step{position:relative;flex:1 0 108px;min-width:108px;padding:0 7px;border:0;text-align:center;font-size:13px;line-height:1.45;color:#999}
.order-timeline .timeline-step::before{content:"";position:absolute;z-index:0;top:6px;left:0;right:0;height:2px;background:#e4e4e4}
.order-timeline .timeline-step:first-child::before{left:50%}
.order-timeline .timeline-step:last-child::before{right:50%}
.timeline-dot{position:relative;z-index:1;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;margin:0 auto 10px;background:#e4e4e4;border:3px solid white;box-shadow:0 0 0 1px #e4e4e4}
.timeline-dot svg{width:10px;height:10px;color:white;stroke-width:2.5}
.order-timeline .timeline-step.done{color:#555}
.order-timeline .timeline-step.done::before{background:#111}
.order-timeline .timeline-step.done .timeline-dot{background:#111;box-shadow:0 0 0 1px #111}
.order-timeline .timeline-step.active,.order-timeline .timeline-step[data-current="true"]{color:#111;font-weight:500}
.order-timeline .timeline-step.active::before,.order-timeline .timeline-step[data-current="true"]::before{background:linear-gradient(90deg,#111 50%,#e4e4e4 50%)}
.order-timeline .timeline-step.active .timeline-dot,.order-timeline .timeline-step[data-current="true"] .timeline-dot{background:#111;box-shadow:0 0 0 2px #111}
.timeline-step-label{display:block;min-height:38px;overflow-wrap:anywhere}
.timeline-current{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px;min-width:0;text-align:left;margin-top:7px;font-size:15px;line-height:1.5;color:#111}
.timeline-current strong{font-size:16px;font-weight:500}
.timeline-current span{color:#737373}
.timeline-current .timeline-current-label{color:#111}
.payment-slider-block{padding:20px 0 2px;min-width:0}
.payment-slider-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:15px;line-height:1.5;color:#555}
.payment-slider-amount,.payment-live-total{display:block;margin-top:6px;font-size:24px;font-weight:500;line-height:1.4;color:#111;font-variant-numeric:tabular-nums}
input[type="range"].payment-slider-control,.payment-slider input[type="range"]{display:block;width:100%;height:44px;min-height:0;padding:0;margin:14px 0 1px;border:0;border-radius:0;background:transparent;accent-color:#111;cursor:pointer;-webkit-appearance:none;appearance:none;touch-action:pan-y}
input[type="range"].payment-slider-control::-webkit-slider-runnable-track,.payment-slider input[type="range"]::-webkit-slider-runnable-track{height:6px;border-radius:9px;background:linear-gradient(to right,#111 0%,#111 var(--payment-progress,100%),#dedede var(--payment-progress,100%),#dedede 100%)}
input[type="range"].payment-slider-control::-webkit-slider-thumb,.payment-slider input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:28px;height:28px;margin-top:-11px;background:#111;border:3px solid white;border-radius:50%;box-shadow:0 1px 6px #0003}
input[type="range"].payment-slider-control::-moz-range-track,.payment-slider input[type="range"]::-moz-range-track{height:6px;border-radius:9px;background:#dedede}
input[type="range"].payment-slider-control::-moz-range-progress,.payment-slider input[type="range"]::-moz-range-progress{height:6px;border-radius:9px;background:#111}
input[type="range"].payment-slider-control::-moz-range-thumb,.payment-slider input[type="range"]::-moz-range-thumb{width:23px;height:23px;background:#111;border:3px solid white;border-radius:50%;box-shadow:0 1px 6px #0003}
.payment-slider-endpoints{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;line-height:1.5;color:#777;font-variant-numeric:tabular-nums}
.payment-selected-debt{display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid #ededed;font-size:15px;line-height:1.5;color:#737373}
.payment-selected-debt strong{font-size:17px;font-weight:500;color:#111;font-variant-numeric:tabular-nums}
.payment-remaining{color:#737373;font-size:15px;line-height:1.6}
.balance-grid.bonus-balances{grid-template-columns:repeat(2,minmax(0,1fr))}
.loyalty-card-simple{min-height:190px}
.loyalty-card-simple .bonus-number{margin-top:22px}
@keyframes sheet-enter{from{transform:translateY(100%);opacity:.75}to{transform:none;opacity:1}}
@keyframes sheet-backdrop-enter{from{background:#1110;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}to{background:#1116;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}}
@media(max-width:760px){
  dialog{--sheet-gap:max(24px,calc(env(safe-area-inset-top,0px) + 12px));position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:calc(100vh - var(--sheet-gap));max-height:calc(100dvh - var(--sheet-gap));border-radius:26px 26px 0 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-shadow:0 -8px 55px #0002}
  dialog[open]{animation:sheet-enter 250ms cubic-bezier(.2,.8,.2,1) backwards}
  dialog[open]::backdrop{animation:sheet-backdrop-enter 250ms ease-out both}
  dialog.order-dialog,dialog.gallery-dialog,dialog.payment-dialog,dialog.receipt-dialog,dialog:has(.item-gallery){width:100%;max-width:100%;height:calc(100vh - var(--sheet-gap));height:calc(100dvh - var(--sheet-gap));max-height:calc(100dvh - var(--sheet-gap))}
  .dialog-content,.payment-dialog .dialog-content{padding:26px 22px max(26px,calc(env(safe-area-inset-bottom,0px) + 18px));min-width:0}
  .dialog-top{gap:13px;align-items:flex-start}
  .dialog-top h2{font-size:27px;line-height:1.25}
  .dialog-top .icon-button{margin-top:-6px;margin-right:-8px}
  .payment-dialog .dialog-top .icon-button{margin-top:-6px;margin-right:-8px}
  .receipt-dialog .dialog-content{height:100%;max-height:100%;padding:26px 22px max(22px,calc(env(safe-area-inset-bottom,0px) + 16px))}
  .receipt-scroll{max-height:none;flex:1;min-height:100px}
  .gallery-image{max-height:calc(100vh - 265px);max-height:calc(100dvh - 265px);aspect-ratio:auto}
  .gallery-viewport{border-radius:17px}
  .gallery-caption{padding:12px 16px;font-size:15px;line-height:1.5}
  .item-gallery{margin-top:18px}
  .gallery-controls{margin-top:15px}
  .order-timeline{margin:24px 0 22px}
  .order-timeline .timeline-step{flex-basis:132px;min-width:132px;font-size:14px}
  .timeline-current{font-size:15px;margin-top:8px}
  .timeline-current strong{font-size:17px}
  .search-clear{flex-basis:40px;width:40px;height:40px}
  .search-clear svg{width:20px;height:20px}
  .payment-slider-block{padding-top:18px}
  .payment-slider-title{font-size:16px}
  .payment-slider-amount,.payment-live-total{font-size:26px}
  .payment-selected-debt{font-size:16px}
  .payment-selected-debt strong{font-size:18px}
  .balance-grid.bonus-balances{grid-template-columns:1fr}
  .bonus-balances>.balance-tile:last-child{grid-column:auto}
}
@media(max-width:360px){
  .dialog-content,.payment-dialog .dialog-content,.receipt-dialog .dialog-content{padding-left:18px;padding-right:18px}
  .dialog-top h2{font-size:25px}
  .service-heading>div{min-width:100px}
  .service-heading>.service-price{font-size:15px}
}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open]::backdrop{animation:none!important}}

/* Per-device notification settings. */
.push-settings{grid-column:1/-1;min-width:0;font-size:16px;line-height:1.65}
.push-settings-heading{margin-bottom:20px}
.push-settings-heading h2{font-size:25px;font-weight:500;line-height:1.35;letter-spacing:-.5px;overflow-wrap:anywhere}
.push-settings-heading p{margin-top:7px;font-size:14px;line-height:1.65;color:#737373;overflow-wrap:anywhere}
.push-settings-state{padding:17px 19px;border-radius:16px;background:#f5f5f5}
.push-state-enabled .push-settings-state{background:var(--mint-light)}
.push-state-denied .push-settings-state{background:#fff4dd}
.push-settings-copy{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.push-install-guide{margin:19px 0;padding-left:24px;font-size:16px;line-height:1.7}
.push-install-guide li{padding-left:4px;margin-bottom:10px;overflow-wrap:anywhere}
.push-settings-help{margin-top:16px;font-size:14px;line-height:1.7;color:#737373;overflow-wrap:anywhere}
.push-preferences{border:0;min-width:0;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.push-preferences legend{margin-bottom:12px;padding:0;font-size:16px;font-weight:500;line-height:1.6}
.push-preference{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:52px;padding:16px;border:1px solid #e5e5e5;border-radius:16px;cursor:pointer}
.push-preference:has(input:checked){background:var(--mint-light);border-color:#9ed2c7}
.push-preference:has(input:focus-visible){outline:2px solid #111;outline-offset:3px}
.push-preference input[type=checkbox]{appearance:auto;flex-shrink:0;width:22px;height:22px;margin:2px 0 0;accent-color:#276b5d;cursor:inherit}
.push-preference>span{display:block;min-width:0}
.push-preference strong{display:block;font-size:16px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.push-preference small{display:block;margin-top:6px;font-size:14px;line-height:1.6;color:#737373;overflow-wrap:anywhere}
.push-preferences:disabled .push-preference{cursor:default;opacity:.65}
.push-settings-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;min-width:0;margin-top:22px}
.push-settings-actions:empty{display:none}
.push-settings-actions .button,.push-device-controls .button{min-height:50px;min-width:0;padding:13px 22px;font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.push-settings-actions .button{flex:0 1 auto}
.push-settings-actions .button:disabled{cursor:default;transform:none}
.push-settings-error{margin-top:16px;font-size:16px;line-height:1.65;color:#923629;overflow-wrap:anywhere}
.push-device-controls{margin-top:18px;padding-top:18px;border-top:1px solid #eee;min-width:0}
.push-device-controls .button{background:transparent}
@media(max-width:1000px){.push-preferences{grid-template-columns:1fr}}
@media(max-width:760px){
  .push-settings{margin-top:20px}
  .push-settings-heading h2{font-size:23px}
  .push-settings-state{padding:16px}
  .push-settings-actions{gap:10px}
  .push-settings-actions .button,.push-device-controls .button{width:100%;flex-basis:100%}
  .push-preference{padding:16px 14px}
}

/* A quiet, explicit invitation before the browser permission prompt. */
.push-offer-dialog{width:min(560px,calc(100vw - 32px))}
.push-offer{min-width:0;font-size:16px;line-height:1.65}
.push-offer-heading{font-size:23px;line-height:1.3;font-weight:500;letter-spacing:-.5px;overflow-wrap:anywhere;margin-bottom:13px}
.push-offer-copy{font-size:16px;line-height:1.7;color:#666;overflow-wrap:anywhere}
.push-offer-guide{margin:20px 0;padding-left:24px;font-size:16px;line-height:1.7;color:#444}
.push-offer-guide li{padding-left:4px;margin:10px 0;overflow-wrap:anywhere}
.push-offer-status{padding:15px 17px;margin:20px 0;border-radius:15px;background:var(--mint-light);font-size:16px;line-height:1.65;color:#285e52;overflow-wrap:anywhere}
.push-offer-status:empty,.push-offer-error:empty{display:none}
.push-offer-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;min-width:0;margin-top:24px}
.push-offer-actions .button{flex:1 1 180px;min-width:0;min-height:52px;font-size:16px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.push-offer-actions .button:disabled{cursor:default;transform:none}
.push-offer-note{margin-top:17px;font-size:14px;line-height:1.65;color:#777;overflow-wrap:anywhere}
.push-offer-error{margin-top:16px;font-size:16px;line-height:1.65;color:#923629;overflow-wrap:anywhere}
@media(max-width:760px){
 .push-offer-dialog{width:100%;max-width:100%}
 .push-offer-heading{font-size:23px;line-height:1.35}
 .push-offer-actions{gap:11px;margin-top:23px}
 .push-offer-actions .button{flex-basis:100%;width:100%}
 .push-offer-status{padding:15px 16px}
}

/* Touch refresh moves the page content while the header and menu keep their own position. */
@media(any-pointer:coarse){
  html.wf-pull-eligible,body.wf-pull-eligible{overscroll-behavior-y:none}
}
body.wf-pull-eligible .site-header{position:relative;z-index:3;background:var(--paper)}
#main-content.wf-pull-target{
  position:relative;z-index:2;background:var(--paper);
  transform:translate3d(0,var(--wf-pull-offset,0px),0);
  transition:none;will-change:transform;
}
body.wf-pull-refreshing #main-content.wf-pull-target{transition:transform 180ms cubic-bezier(.2,.8,.2,1)}
body.wf-pull-settling #main-content.wf-pull-target{transition:transform 300ms cubic-bezier(.22,1.12,.36,1)}
.wf-pull-indicator{
  position:fixed;z-index:1;top:var(--wf-pull-header-bottom,0px);left:var(--wf-pull-center,50vw);
  width:48px;height:max(0px,var(--wf-pull-offset,0px));max-width:100vw;
  display:grid;place-items:center;overflow:hidden;pointer-events:none;
  transform:translateX(-50%);opacity:0;
}
body.wf-pull-active>.wf-pull-indicator{opacity:clamp(0,calc(var(--wf-pull-progress,0)*1.8),1)}
body.wf-pull-refreshing>.wf-pull-indicator{opacity:1;transition:height 180ms cubic-bezier(.2,.8,.2,1)}
body.wf-pull-settling>.wf-pull-indicator{transition:height 300ms cubic-bezier(.22,1.12,.36,1),opacity 180ms ease-out}
.wf-pull-spinner{
  display:block;width:24px;height:24px;flex-shrink:0;border:2.5px solid #75c8b7;
  border-left-color:transparent;border-radius:50%;
  transform:rotate(calc(var(--wf-pull-progress,0)*240deg - 90deg));
}
body.wf-pull-refreshing .wf-pull-spinner{animation:wf-pull-spin 760ms linear infinite}
.wf-pull-label{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;
  overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;
}
@keyframes wf-pull-spin{
  from{transform:rotate(calc(var(--wf-pull-progress,0)*240deg - 90deg))}
  to{transform:rotate(calc(var(--wf-pull-progress,0)*240deg + 270deg))}
}
@media(prefers-reduced-motion:reduce){
  #main-content.wf-pull-target,body.wf-pull-refreshing #main-content.wf-pull-target,body.wf-pull-settling #main-content.wf-pull-target{transition:none}
  .wf-pull-indicator,body.wf-pull-refreshing>.wf-pull-indicator,body.wf-pull-settling>.wf-pull-indicator{transition:none}
  body.wf-pull-active .wf-pull-spinner{animation:none;transform:rotate(-90deg)}
}

/* Phone-first access and compact profile completion share one quiet form card. */
.auth-layout{width:calc(100% - 48px);max-width:520px;margin:20px auto 48px;min-width:0}
.auth-layout--registration{max-width:640px}
.auth-card{min-width:0;border-radius:28px;background:white;padding:36px}
.auth-card-heading{margin-bottom:27px}
.auth-card-heading h1{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-1px;overflow-wrap:break-word}
.auth-card-heading>p{font-size:16px;line-height:1.65;color:#737373;margin-top:11px}
.auth-card .form-field{font-size:16px;line-height:1.5;gap:9px;min-width:0;margin-bottom:20px;color:#444}
.auth-field-label{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.auth-required{color:#555;font-weight:500}
.auth-optional{font-size:14px;line-height:1.5;font-weight:400;color:#777;margin-left:3px}
.auth-card .form-field input{min-width:0;min-height:52px;font-size:16px;line-height:1.5;padding:13px 15px;border-radius:14px}
.auth-card .form-field input[readonly]{background:#f6f6f6;color:#555;border-color:#ececec}
.auth-card .form-field input[type=date]{min-inline-size:0;max-width:100%;-webkit-appearance:none;appearance:none}
.auth-card .form-field input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:24px}
.auth-card .form-message{font-size:16px;line-height:1.6;overflow-wrap:anywhere;margin-top:18px;min-height:0}
.auth-card .form-message:empty{display:none}
.auth-card .auth-actions{gap:12px;margin-top:24px}
.auth-card .button{font-size:16px;min-height:52px;line-height:1.5;white-space:normal}
.auth-card .auth-actions>.button{width:100%}
.auth-card .auth-switch{font-size:16px;min-height:48px;line-height:1.5;padding:11px 0;color:#4d665e;text-decoration-color:#a7bcb5}
.auth-card .auth-helper{font-size:14px;line-height:1.7;color:#737373;margin:0 0 18px}
.auth-phone-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-radius:16px;background:var(--mint-light);margin-bottom:24px;min-width:0}
.auth-number{font-size:18px;line-height:1.5;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0;color:#244d43}
.auth-inline-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:transparent;padding:8px 0;font-size:14px;line-height:1.5;color:#365d50;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9ab4a8}
.auth-edit-phone{margin:-15px 0 16px;justify-content:flex-start}
.auth-resend-block{display:grid;gap:0;min-width:0}
.auth-card .auth-resend{padding-bottom:5px}
.auth-resend-hint{text-align:center;color:#777;font-size:14px;line-height:1.6;margin:0;min-height:23px;font-variant-numeric:tabular-nums}
.auth-layout button:disabled{cursor:default;opacity:.55;transform:none}
.auth-form-fields{display:grid;min-width:0}
.auth-card .auth-password-hint{margin:-4px 0 0;grid-column:1/-1}
.auth-autofill-username{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.auth-required-note{font-size:14px;line-height:1.6;color:#737373;margin:0 0 19px}
.auth-registration-fields{gap:0 18px}
.auth-registration-fields>.form-field:nth-child(3){grid-column:1/-1}
.auth-registration-password{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:18px;border-top:1px solid #ededed;margin-top:6px;padding-top:24px}
.auth-card .auth-consent{font-size:14px;line-height:1.7;gap:12px;margin:25px 0 0}
.auth-consent input{width:22px;height:22px;margin-top:2px;flex-shrink:0;accent-color:#111}
.auth-consent>span{min-width:0;overflow-wrap:anywhere}
.auth-consent a,.auth-legal-note a{text-decoration:underline;text-decoration-color:#9faea8;text-underline-offset:3px}
.auth-consent a:hover,.auth-legal-note a:hover{color:#111;text-decoration-color:currentColor}
.auth-legal-note{font-size:14px;line-height:1.7;color:#737373;margin-top:22px;overflow-wrap:anywhere}
@media(max-width:760px){
  .auth-layout{width:calc(100% - 32px);margin:10px auto max(28px,env(safe-area-inset-bottom))}
  .auth-card{padding:28px 24px;border-radius:24px}
  .auth-card-heading{margin-bottom:25px}
  .auth-card-heading h1{font-size:28px;letter-spacing:-.8px}
  .auth-card .auth-helper{font-size:16px;line-height:1.65}
  .auth-card .form-field{margin-bottom:20px}
  .auth-phone-summary{padding:12px 14px;margin-bottom:23px}
  .auth-inline-button{font-size:16px;min-height:44px}
  .auth-card .auth-actions{gap:12px;margin-top:24px}
  .auth-registration-fields,.auth-registration-password{grid-template-columns:minmax(0,1fr)}
  .auth-registration-fields>.form-field{grid-column:1/-1}
  .auth-card .auth-consent{font-size:14px;line-height:1.75}
}
@media(max-width:360px){
  .auth-card{padding:25px 20px}
  .auth-card-heading h1{font-size:26px;letter-spacing:-.65px}
  .auth-number{font-size:17px}
}

/* Keep the native date picker inside the same field box on Safari and Chrome. */
#profile-form .form-grid>*,#profile-form .form-field{min-width:0}
#profile-form input[type=date],.auth-card .form-field input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%;height:52px;min-height:52px;padding:12px 14px;font-size:16px;line-height:24px;-webkit-appearance:none;appearance:none}
#profile-form input[type=date]{height:48px;min-height:48px;padding-top:10px;padding-bottom:10px}
#profile-form input[type=date]::-webkit-date-and-time-value,.auth-card .form-field input[type=date]::-webkit-date-and-time-value{min-width:0;min-height:24px;max-width:100%;padding:0;line-height:24px;text-align:left}
#profile-form input[type=date]::-webkit-datetime-edit,.auth-card .form-field input[type=date]::-webkit-datetime-edit{min-width:0;max-width:100%;padding:0;line-height:24px;overflow:hidden}
#profile-form input[type=date]::-webkit-datetime-edit-fields-wrapper,.auth-card .form-field input[type=date]::-webkit-datetime-edit-fields-wrapper{padding:0}
#profile-form input[type=date]::-webkit-calendar-picker-indicator,.auth-card .form-field input[type=date]::-webkit-calendar-picker-indicator{flex-shrink:0;width:20px;height:20px;margin:0;padding:0;opacity:.65;cursor:pointer}

/* Shared small loading indicator, including photo availability checks. */
.loading-spinner{display:inline-block;flex:0 0 auto;width:18px;height:18px;box-sizing:border-box;border:2px solid #dce9e5;border-top-color:#4a9e8e;border-radius:50%;vertical-align:middle;animation:content-loading-spin .7s linear infinite}
@keyframes content-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none}}

/* Each photo uses the same reserved frame while loading or changing slides. */
.gallery-viewport{min-width:0;background:#fff}
.gallery-slide{min-width:0}
.gallery-media{position:relative;isolation:isolate;width:100%;aspect-ratio:3/2;min-height:220px;max-height:calc(100vh - 300px);max-height:calc(100dvh - 300px);overflow:hidden;background:#f5f5f5}
.gallery-media>.gallery-image{position:absolute;inset:0;display:block;width:100%;max-width:100%;height:100%;max-height:none;margin:0;aspect-ratio:auto;object-fit:contain;background:transparent;opacity:1;transition:opacity 120ms ease-out}
.gallery-media[aria-busy=true]>.gallery-image{opacity:0}
.gallery-media>.gallery-image[hidden],.gallery-loading[hidden],.gallery-media>.gallery-empty[hidden]{display:none}
.gallery-loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;background:#f5f5f5;font-size:14px;line-height:1.6;color:#737373;text-align:center;pointer-events:none}
.gallery-loading .loading-spinner{width:24px;height:24px;border-width:2.5px}
.gallery-media>.gallery-empty{position:absolute;inset:0;z-index:2;min-height:0;padding:20px;border:0;border-radius:0;background:#f5f5f5;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.gallery-media>.gallery-empty h3{font-size:19px}
.gallery-viewport .gallery-caption{min-height:46px;padding:11px 16px;font-size:14px;line-height:24px}

/* The image itself opens its item's gallery; the order list keeps its grid size. */
.service-heading:has(>.photo-trigger){display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:start;gap:14px}
.service-heading:has(>.photo-trigger)>div{min-width:0}
.service-heading>.order-image.photo-trigger{position:relative;display:grid;place-items:center;width:76px;height:86px;min-width:0;padding:0;border:0;border-radius:13px;overflow:hidden;background:#f5f4f2;color:#777;cursor:pointer}
.service-heading>.order-image.photo-trigger img{display:block;width:100%;height:100%;object-fit:contain}
.photo-trigger .photo-caption{position:absolute;left:0;right:0;bottom:0;z-index:1;display:block;padding:3px 2px;background:#ffffffeb;color:#444;font-size:11px;line-height:16px;text-align:center;overflow-wrap:anywhere}
.photo-trigger:has(.photo-caption) img{padding-bottom:22px}
.photo-trigger .loading-spinner{position:absolute;left:calc(50% - 9px);top:calc(50% - 9px)}
.order-row-thumbnail{position:relative;overflow:hidden}
.order-row-thumbnail img{display:block;width:100%;height:100%;object-fit:contain}
.order-row-thumbnail .loading-spinner{position:absolute;left:calc(50% - 9px);top:calc(50% - 9px)}

/* An order sheet has its own pull gesture and indicator in the top layer. */
@media(any-pointer:coarse){dialog.wf-pull-eligible{overscroll-behavior-y:none}}
dialog .dialog-content.wf-pull-target{position:relative;z-index:2;background:#fff;transform:translate3d(0,var(--wf-pull-offset,0px),0);transition:none;will-change:transform}
dialog.wf-pull-refreshing .dialog-content.wf-pull-target{transition:transform 180ms cubic-bezier(.2,.8,.2,1)}
dialog.wf-pull-settling .dialog-content.wf-pull-target{transition:transform 300ms cubic-bezier(.22,1.12,.36,1)}
dialog>.wf-pull-indicator{z-index:3}
dialog.wf-pull-active>.wf-pull-indicator{opacity:clamp(0,calc(var(--wf-pull-progress,0)*1.8),1)}
dialog.wf-pull-refreshing>.wf-pull-indicator{opacity:1;transition:height 180ms cubic-bezier(.2,.8,.2,1)}
dialog.wf-pull-settling>.wf-pull-indicator{transition:height 300ms cubic-bezier(.22,1.12,.36,1),opacity 180ms ease-out}
dialog.wf-pull-refreshing .wf-pull-spinner{animation:wf-pull-spin 760ms linear infinite}
@media(max-width:760px){
 #profile-form .form-field input{min-height:52px}
 #profile-form input[type=date]{height:52px;padding-top:12px;padding-bottom:12px}
 .gallery-media{aspect-ratio:4/5;min-height:220px;max-height:calc(100vh - 320px);max-height:calc(100dvh - 320px)}
 .gallery-viewport .gallery-caption{font-size:15px}
 .service-heading:has(>.photo-trigger){grid-template-columns:72px minmax(0,1fr);gap:7px 12px}
 .service-heading>.order-image.photo-trigger{grid-column:1;grid-row:1/span 2;width:72px;height:82px}
 .service-heading:has(>.photo-trigger)>div{grid-column:2;grid-row:1}
 .service-heading:has(>.photo-trigger)>strong,.service-heading:has(>.photo-trigger)>.service-price{grid-column:2;grid-row:2;justify-self:start;margin-left:0}
}
@media(prefers-reduced-motion:reduce){
 .gallery-media>.gallery-image{transition:none}
 dialog .dialog-content.wf-pull-target,dialog.wf-pull-refreshing .dialog-content.wf-pull-target,dialog.wf-pull-settling .dialog-content.wf-pull-target{transition:none}
 dialog.wf-pull-refreshing>.wf-pull-indicator,dialog.wf-pull-settling>.wf-pull-indicator{transition:none}
 dialog.wf-pull-active .wf-pull-spinner{animation:none;transform:rotate(-90deg)}
}

/* Startup remains actionable after a network failure, including in a PWA. */
.initial-loader.startup-error{gap:18px;padding:28px;text-align:center}
.startup-error h1{font-size:24px;font-weight:500;line-height:1.25;max-width:430px}
.startup-error p{max-width:430px;line-height:1.6;color:#626262}
.startup-error .button{min-height:52px;max-width:340px;width:100%;justify-content:center}
.threads-status{font-size:14px;line-height:1.5;padding:12px;margin-bottom:12px;background:#f5f5f5;border-radius:12px}
