/* Shared journeys and touch layouts. Keep desktop summaries alongside the form. */
:root{--muted:#65786e;scroll-padding-top:24px}
html{background:var(--bg)}
.workspace{background:var(--bg);min-height:100dvh}
.sidebar .brand{font-size:22px;gap:8px}
.checkout-steps{display:flex;gap:12px;margin:0 0 24px;max-width:640px}
.checkout-steps a{display:flex;align-items:center;gap:8px;flex:1;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;color:#63756b;font-size:13px;background:#fff;white-space:nowrap}
.checkout-steps a span{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#f0f3ed;font-size:12px}
.checkout-steps a.active{border-color:#93b3a5;color:var(--teal);background:#edf5ef;font-weight:700}
.checkout-steps a.active span{background:var(--teal);color:#fff}
.mobile-form-bar{display:none}
.cart-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.cart-edit-actions button{min-width:44px;min-height:44px}
body:has(.modal-overlay){overflow:hidden}
.service-art img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.service-art .popular{z-index:1;background:#fffffff0;padding:4px 7px;border-radius:5px}
.inquiry-items{border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0;margin:0 0 18px}
.inquiry-items legend{font-size:14px;font-weight:600;padding:0 6px}
.inquiry-item-choice{display:flex;align-items:flex-start;gap:10px;min-height:48px;padding:12px 0;cursor:pointer}
.inquiry-item-choice+ .inquiry-item-choice{border-top:1px solid var(--line)}
.inquiry-item-choice input{accent-color:var(--teal);flex-shrink:0;margin-top:4px}
.inquiry-item-choice>span{min-width:0;overflow-wrap:anywhere}
.inquiry-item-choice strong,.inquiry-item-choice small{display:block}
.inquiry-item-choice small{font-size:12px;color:var(--muted);line-height:1.8;margin-top:4px}
.inquiry-context,.inquiry-request-summary{font-size:13px;line-height:1.85;margin:12px 0;padding:12px 14px;border-radius:10px;background:var(--soft);color:var(--teal)}
.inquiry-request-summary ul{padding-left:18px;margin:8px 0 0}

.modal{overscroll-behavior:contain}
.photo-preview:focus-within{outline:2px solid var(--teal);outline-offset:3px}
.upload-zone:focus-within{outline:2px solid var(--teal);outline-offset:3px}
.upload-zone:focus-within .sr-only{position:static;width:100%;height:auto;clip:auto;margin-top:12px}

@media(max-width:760px){
 :root{--mobile-nav-height:calc(72px + env(safe-area-inset-bottom,0px));font-size:15px;scroll-padding-top:90px;scroll-padding-bottom:180px}
 body{overflow-wrap:break-word;-webkit-text-size-adjust:100%}
 .topbar{min-height:72px;height:auto;padding:12px 16px;gap:8px}
 .mobile-brand{font-size:21px;gap:7px;white-space:nowrap;letter-spacing:-1px}
 .mobile-brand .brand-mark{width:32px;height:34px}
 .header-right{gap:4px;flex-shrink:0}
 .icon-button,.user-chip{min-width:44px;min-height:44px;width:44px;height:44px;flex-shrink:0}
 .icon-button svg{width:21px;height:21px}
 .user-chip{justify-content:center;border-radius:50%}
 .avatar{width:36px;height:36px;font-size:12px}
 .content{padding:24px 16px calc(var(--mobile-nav-height) + 28px);max-width:100%;min-width:0}
 .content:has(.mobile-form-bar){padding-bottom:calc(var(--mobile-nav-height) + 112px)}
 h1{font-size:25px;line-height:1.45;letter-spacing:-.8px}
 h2{font-size:22px}h3{font-size:18px}h4{font-size:15px}
 .page-heading{align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:20px}
 .page-heading>div{min-width:0}
 .page-heading p{font-size:13px;line-height:1.75;color:#667a6d;margin-top:8px;word-break:keep-all}
 .eyebrow{font-size:10px;letter-spacing:1.3px;color:#627b69;line-height:1.6}
 .button,.button.sm,.page-heading .button,.hero .button,.order-list-card .order-actions .button{min-height:48px;padding:12px 16px;font-size:14px;border-radius:12px;gap:7px;white-space:normal}
 .button svg{width:19px;height:19px}
 .text-link,.footer .text-link{min-height:44px;font-size:13px;padding:8px 0;line-height:1.6}
 .text-link svg{width:17px;height:17px}
 .small,small{font-size:13px}.tiny{font-size:12px}
 .muted{color:#63766c}
 .panel{padding:20px 16px;margin-bottom:16px;border-radius:16px;min-width:0}
 .panel .panel{padding:16px 12px}
 .form-layout>*,.grid-2>*,.grid-3>*,.two-col>*{min-width:0}
 .field{gap:8px;margin-bottom:20px}
 .field label{font-size:14px;line-height:1.6}
 .field input,.field select,.field textarea,.input,.ops-toolbar input,.ops-toolbar select{font-size:16px;min-height:50px;padding:12px;border-radius:11px;scroll-margin-block:110px}
 .field textarea{min-height:116px;line-height:1.7}
 .field small{font-size:12px;line-height:1.8;color:#64786d}
 input[type=checkbox],input[type=radio]{width:20px;height:20px;min-width:20px;min-height:20px;flex-shrink:0;accent-color:var(--teal)}
 input[type=date]{min-width:0;max-width:100%;appearance:none}
 .form-header{gap:10px;margin-bottom:22px;flex-wrap:wrap}
 .form-header h3{font-size:17px}
 .step-number{width:30px;height:30px;flex-shrink:0}
 .hint{font-size:13px;line-height:1.85;padding:14px;color:#566e52}
 .hint.warning{color:#80612b}.hint.error{color:#9e4b36}
 .choice-grid{gap:10px;grid-template-columns:1fr}
 .choice{padding:15px 12px;gap:12px;min-height:72px}
 .choice strong{font-size:14px}.choice small{font-size:12px;color:#63766b}
 .slot-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .slot{font-size:14px;padding:13px 8px;min-height:72px}
 .slot small{font-size:12px;color:#63766b}
 .slot input{vertical-align:middle;margin:0 5px 0 0}
 .consent{font-size:13px;line-height:1.85;gap:10px;padding:8px 0;margin:12px 0;color:#536b5a;min-height:48px}
 .consent input{margin-top:4px}
 .upload-zone{padding:24px 12px;border-radius:13px}
 .upload-zone strong{font-size:15px}.upload-zone small{font-size:12px;line-height:1.8}
 .photos{gap:16px;margin-top:16px;padding:4px}
 .photos img{width:88px;height:88px}
 .photo-preview button{width:44px;height:44px;right:-12px;top:-12px;background:#fff;box-shadow:0 2px 7px #193d3220}
 .photo-preview button svg{width:17px;height:17px}
 .checkout-steps{gap:6px;margin-bottom:20px}
 .checkout-steps a{justify-content:center;gap:5px;font-size:12px;padding:9px 4px;min-height:48px;border-radius:10px}
 .checkout-steps a span{width:20px;height:20px;font-size:11px}
 .summary-line{font-size:14px;gap:12px;color:#63766b}
 .summary-total{font-size:15px;gap:12px}.summary-total strong{font-size:26px}
 .cart-summary-cta{display:none}
 .summary-panel>.button[type=submit],.summary-panel .summary-total~.button[type=submit]{display:none}
 .mobile-form-bar{position:fixed;bottom:var(--mobile-nav-height);left:0;right:0;z-index:31;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:84px;padding:12px max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));background:#fff;border-top:1px solid #dce6df;box-shadow:0 -6px 24px #214b3610}
 .mobile-form-bar>div{min-width:100px}.mobile-form-bar small{display:block;font-size:12px;color:#60766a;line-height:1.5}
 .mobile-form-bar strong{display:block;font-size:22px;line-height:1.5;letter-spacing:-.5px;color:var(--teal)}
 .mobile-form-bar .button{min-width:140px;flex:0 1 210px}
 .mobile-bottom{height:var(--mobile-nav-height);padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:#fff;align-items:stretch}
 .mobile-bottom a{min-width:0;min-height:56px;justify-content:center;gap:4px;font-size:11px;line-height:1.5;color:#63756b;border-radius:12px}
 .mobile-bottom a svg{width:22px;height:22px}
 .mobile-bottom a.active{background:#edf4ed}
 .hero{min-height:286px;border-radius:18px}
 .hero-copy{padding:28px 22px 30px}
 .hero-kicker{font-size:10px;color:#63775b;letter-spacing:.8px}
 .hero h2{font-size:29px;line-height:1.5;letter-spacing:-1px}
 .hero p{font-size:13px;max-width:270px;color:#5c7256;margin:12px 0 22px;line-height:1.85}
 .hero img{right:-48px;bottom:12px;width:210px;height:230px;opacity:.16}
 .hero-note{font-size:9px;color:#627658;right:16px;bottom:12px;letter-spacing:.5px}
 .section{margin-top:28px}.section-heading{gap:10px;align-items:center}
 .section-heading h3{font-size:18px;gap:6px;flex-wrap:wrap}.section-heading h3 small{font-size:12px;color:#667b6b}
 .overview{padding:18px 0;border-radius:16px}.overview-item{padding:0 4px;gap:8px}
 .overview-item small{font-size:11px;color:#65796b}.overview-item strong{font-size:24px}.overview-item strong span{font-size:12px;color:#62756a}
 .stat-icon{width:34px;height:34px}
 .catalog-grid,.catalog-grid.home-catalog{gap:12px}
 .service-card{border-radius:15px}.service-art{height:120px}.service-art svg{width:72px;height:72px}
 .service-art .popular{font-size:10px;color:#526c4a}
 .service-text{padding:14px 12px}.service-text small{font-size:11px;color:#66796a;letter-spacing:0}
 .service-text h4{font-size:14px;line-height:1.65;min-height:24px;margin:5px 0 12px;font-weight:600}
 .service-text strong{font-size:17px;white-space:nowrap}.service-text strong span{font-size:12px;color:#65796b}
 .service-text .row{gap:3px}
 .chip-list{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:8px;padding:3px 0 8px;margin-bottom:16px;scrollbar-width:thin}
 .chip{flex-shrink:0;min-height:44px;padding:10px 15px;font-size:13px;color:#617666;border-radius:22px}
 .chip.active{color:white}
 .search-bar svg{top:16px;width:19px;height:19px}
 .search-bar input{padding-left:42px}
 .order-highlight,.order-list-card{padding:20px 16px;min-width:0}
 .order-meta{font-size:12px;color:#62766a;overflow-wrap:anywhere}
 .tag{font-size:12px;padding:5px 9px;white-space:normal;text-align:center}
 .tag.gray{color:#60715e}.tag.orange{color:#89612b}.tag.red{color:#a04a39}
 .order-product{gap:12px}.order-product>div{min-width:0}
 .order-product h4{font-size:15px;line-height:1.6}.order-product p{font-size:12px;color:#61766b}
 .progress-step{font-size:10px;line-height:1.7;color:#6c7d6c}
 .order-list-card .order-actions{gap:12px;flex-wrap:wrap;padding-top:16px}
 .order-list-card .order-actions .row-start{gap:8px;flex-wrap:wrap}
 .order-list-card .order-actions strong{font-size:18px}
 .cart-item{grid-template-columns:48px minmax(0,1fr);gap:12px}
 .cart-item>.row-start,.cart-item>div:last-child{grid-column:2;justify-self:stretch;min-width:0}
 .cart-item .garment{grid-row:1 / span 2;align-self:start;width:48px;height:58px}
 .cart-item h4{font-size:15px}.cart-item p{font-size:13px;line-height:1.8;color:#63766b;overflow-wrap:anywhere}
 .cart-item .price{font-size:18px}.cart-item .icon-button{width:44px;height:44px}
 .cart-edit-actions{justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}
 .cart-edit-actions .button{min-height:44px;padding:8px 14px;font-size:13px}
 .detail-grid{font-size:14px;gap:22px 14px}.detail-grid dt{font-size:12px;color:#62766a}.detail-grid dd{overflow-wrap:anywhere}
 .timeline-item strong{font-size:14px}.timeline-item p{font-size:13px;color:#65786d}
 .care-card{padding:24px 20px}.care-card p{font-size:13px;color:#7b694c}.care-card .text-link{font-size:13px}
 .care-card .eyebrow{font-size:10px;color:#886c42}.care-illustration{opacity:.3}
 .info-strip{font-size:13px;line-height:1.8;color:#5d7353}
 .empty{padding:38px 18px}.empty h3{font-size:18px}.empty p{font-size:14px;color:#627561;line-height:1.85}
 .auth-container{margin:12px auto 24px}.auth-container .panel{padding:24px 18px}
 .auth-links{gap:16px;flex-wrap:wrap;font-size:13px}.auth-links a{min-height:44px;display:flex;align-items:center}
 .account-nav>a{min-height:56px;font-size:15px;padding:16px 0;gap:12px}
 .notification h4{font-size:15px}.notification p{font-size:13px}.notification time{font-size:12px;color:#63766b}
 .coupon p,.coupon small{font-size:13px;color:#62764f}.coupon code{font-size:13px;color:#536e43}
 .footer{font-size:11px;line-height:1.9;margin-top:28px;color:#65776a}.footer span:last-child{margin-top:8px}
 .business-footer{font-size:11px;color:#65776a;line-height:1.9}
 .modal-overlay{padding:12px 0 0;align-items:flex-end}
 .modal{max-width:640px;max-height:calc(100dvh - 24px);padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;box-shadow:0 -12px 80px #102a2b33}
 .modal-header{gap:12px;position:sticky;top:-24px;background:#fff;z-index:1;padding:12px 0;margin-top:-12px;margin-bottom:14px}
 .modal-header h3{font-size:19px}.modal-header .icon-button{min-width:44px}
 .modal p{font-size:14px;line-height:1.85}.modal .row{flex-wrap:wrap}
 #toast{bottom:calc(var(--mobile-nav-height) + 16px);font-size:14px;padding:14px 18px;border-radius:12px;max-width:calc(100vw - 32px);line-height:1.7}
 body:has(.mobile-form-bar) #toast{bottom:calc(var(--mobile-nav-height) + 100px)}
 .keyboard-open .mobile-bottom,.keyboard-open .mobile-form-bar{visibility:hidden;pointer-events:none}
 .keyboard-open #toast{bottom:16px}
}
@media(max-width:360px){
 .topbar{padding-inline:12px}.mobile-brand{font-size:19px;gap:5px}.mobile-brand .brand-mark{width:29px}
 .header-right{gap:0}.content{padding-inline:12px}.hero-copy{padding-inline:18px}
 .hero h2{font-size:27px}.checkout-steps a{font-size:11px;gap:4px}
 .service-text{padding-inline:10px}.service-text strong{font-size:16px}
 .mobile-form-bar{gap:8px;padding-inline:12px}.mobile-form-bar .button{min-width:132px;padding-inline:12px;font-size:13px}
}
@media(hover:none){.button:hover,.service-card:hover{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
