/* Mobile layout revision: spacing changes do not alter business or approval state. */
.quick-order .btn{justify-content:flex-start;min-height:48px}
.store-inline-value{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.store-inline-value .text-link{display:inline-flex;align-items:center;gap:2px;padding:0;min-height:44px}
.store-inline-value .icon{width:16px;height:16px}
#demo-store-change-form{display:grid;gap:14px}
#demo-store-change-form textarea{width:100%;box-sizing:border-box;border:1px solid #c9d5e5;border-radius:10px;padding:12px;font:inherit;color:inherit;resize:vertical}
.quick-order .btn>.icon:last-child{margin-left:auto}
.order-filters{padding:0;margin:10px 0;border:1px solid var(--line);border-radius:10px;background:#fff}
.order-filters>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 12px;list-style:none}
.order-filters>summary::-webkit-details-marker{display:none}
.filter-toggle{color:var(--orange);display:flex;gap:8px;align-items:center}
.filter-toggle:after{content:'⌄';font-size:18px}
.order-filters[open] .filter-toggle:after{content:'⌃'}
.order-filters .filters{padding:0 12px 10px;margin:0;gap:8px}
.heading{overflow-wrap:anywhere}
.row dd,.order strong,.invitation-lock strong,.desktop-store{overflow-wrap:anywhere}
.onboard-content>.panel{padding:26px}
.binding-status>.success-icon{float:left;width:36px;height:36px;margin:0 10px 8px 0}
.binding-status>.success-icon .icon{width:22px;height:22px}
.binding-status>h1{font-size:23px;min-height:36px}
.binding-status>h1+p{clear:both}
.binding-status>details{margin-top:14px}
.onboard-intro{padding-top:20px}
@media(max-width:800px){
  :root{font-size:15px}
  h1,.heading h1{font-size:22px;letter-spacing:0}
  h2,.section-title h2,.form-panel>h2{font-size:17px}
  small,.small{font-size:13px;line-height:1.5}
  .topbar{height:54px;padding:0 14px;gap:10px}
  .brand{font-size:17px;gap:8px;letter-spacing:0}
  .brand-mark{width:28px;height:28px;border-radius:8px}
  .brand-mark svg{width:21px;height:21px}
  .topbar .demo-tag,.onboard-header .demo-tag,.demo-tag{font-size:12px;padding:3px 6px;white-space:normal;text-align:center}
  .main{padding:12px 14px calc(82px + env(safe-area-inset-bottom));max-width:580px}
  .heading{margin-bottom:12px;min-height:30px}
  .heading p{font-size:13px;margin-top:4px;line-height:1.5}
  .eyebrow{font-size:12px;letter-spacing:0;margin-bottom:8px}
  .panel{padding:14px;border-radius:12px}
  .section{margin-bottom:14px}
  .section-title{margin-bottom:4px;min-height:40px;gap:8px}
  .section-title .text-link{font-size:13px}
  .btn{min-height:46px;padding:10px 14px}
  .btn.ghost,.text-link{min-height:44px}
  .metrics{padding:12px 0;margin-bottom:12px}
  .metric{padding:2px 12px;min-height:56px}
  .metric strong{font-size:25px;line-height:1.2;margin-bottom:3px}
  .metric span{font-size:12px}
  .attention{padding:8px 12px;gap:8px;margin-bottom:12px;border-radius:10px}
  .attention h3{font-size:14px;line-height:1.5}
  .attention p{font-size:13px;line-height:1.55}
  .attention .btn{font-size:13px;flex:none}
  .home-orders.panel,.order-list.panel{padding:0 12px}
  .order{padding:12px 0;gap:10px;min-height:76px}
  .order strong{font-size:15px;line-height:1.4;margin-bottom:5px}
  .order p,.order small{font-size:12px;line-height:1.45}
  .order .end{gap:6px;flex:none}
  .order>.icon:last-child{width:16px}
  .device-icon{width:32px;height:38px}
  .badge{font-size:12px;padding:3px 6px}
  .mobile-nav{height:calc(62px + env(safe-area-inset-bottom));padding:3px 8px calc(3px + env(safe-area-inset-bottom))}
  .mobile-nav a{min-height:54px;flex:1;gap:3px;padding:4px 8px;font-size:12px;justify-content:center}
  .mobile-nav .icon{width:21px;height:21px}
  .workspace:has(.page-head)>.topbar{display:none}
  .workspace:has(.page-head)>.main{padding-top:0}
  .page-head{min-height:54px;gap:8px;margin:0 -14px 12px;padding:0 14px;background:#fff;border-bottom:1px solid var(--line)}
  .page-head .back{width:44px;height:44px;border:0;background:none;flex:none}
  .page-head>div{display:flex;align-items:center;gap:12px;flex:1;flex-wrap:wrap}
  .page-head h1{font-size:20px;letter-spacing:0}
  .page-head .small{font-size:12px;margin-left:auto}
  .steps{margin-bottom:10px;gap:6px;min-height:28px}
  .step{font-size:12px;gap:5px}
  .step i{width:22px;height:22px}
  .form-panel{padding:0;border:0;background:none}
  .fields{gap:12px;margin-top:10px}
  .field{gap:6px;min-width:0}
  .field>label{font-size:14px;line-height:1.5}
  .field input,.field select,.search{height:46px;font-size:16px;padding:10px}
  .field small,.field .error,.error{font-size:12px;line-height:1.5}
  .check{font-size:13px;line-height:1.6;margin-top:12px;gap:9px;min-height:44px;align-items:center}
  .check input{width:22px;height:22px}
  .upload{padding:10px;gap:10px;margin-top:10px}
  .upload .grow{min-width:0}
  .upload p{font-size:12px}
  .upload .btn{min-height:44px;font-size:13px;padding:8px 10px}
  .upload img{width:42px;height:54px}
  .upload-actions{gap:6px;margin-top:6px}
  .actionbar{padding:8px 14px max(8px,env(safe-area-inset-bottom));gap:10px}
  .actionbar .btn{min-height:46px;padding:10px 12px;font-size:14px}
  .actionbar .btn.back-step{flex-basis:78px}
  .plans{gap:10px;margin:12px 0}
  .plan,.plan.selected{min-height:124px;padding:12px}
  .plan.selected{padding:11px}
  .plan strong{font-size:18px;margin:6px 0}
  .plan p{font-size:12px}
  .plan .price{font-size:23px;margin-top:8px}
  .plan .price small{font-size:12px}
  .benefit{margin-top:12px;padding-top:12px}
  .benefit p,.ticks li{font-size:13px}
  .period{margin:12px 0;height:36px}
  .ticks{margin:12px 0}.ticks li{margin:8px 0}
  .note{padding:10px 12px;font-size:13px;line-height:1.6}
  details{padding:10px 0}
  summary{min-height:44px;display:flex;align-items:center;font-size:14px}
  details:not(.order-filters)>summary:after{content:'⌄';margin-left:auto;padding-left:8px}
  details[open]:not(.order-filters)>summary:after{content:'⌃'}
  details p{margin-top:8px;font-size:13px}
  .search-wrap .search{padding-left:39px;padding-right:66px}
  .search-wrap .icon{top:14px}
  .search-go{height:44px;top:1px;font-size:13px}
  .filters button{min-height:44px;font-size:13px;padding:8px 10px}
  .counter{margin-top:10px;font-size:12px;gap:10px}
  .order-list.panel{margin-top:8px!important}
  .success-head{padding:4px 0 10px}
  .success-head .success-icon{float:left;width:34px;height:34px;margin:0 9px 8px 0}
  .success-head .success-icon .icon{width:22px;height:22px}
  .success-head h1{font-size:21px;line-height:34px}
  .success-head p{clear:both;font-size:13px;margin-top:6px}
  .status-grid{margin:8px 0 12px;gap:8px}
  .status-cell{padding:10px 8px}
  .status-cell small{font-size:12px;margin-bottom:5px}
  .status-cell strong{font-size:13px}
  .review-table{margin-top:8px}
  .review-table .row,.row{font-size:14px;gap:12px;padding:9px 0;line-height:1.55}
  .row dt{font-size:13px;max-width:45%}
  .row dd{min-width:0}
  .timeline{margin:12px 0}
  .timeline>div{padding-bottom:18px}
  .timeline p{font-size:12px;margin-top:3px}
  .card-art{padding:18px}
  .card-art h2{font-size:24px;margin:18px 0 8px}
  .card-art .card-number{margin-top:16px;letter-spacing:1px}
  .card-details{margin-top:12px}
  .empty{padding:24px 14px}
  .empty .icon{width:28px;height:28px;margin-bottom:10px}
  .empty h2{font-size:18px}
  .empty p{margin-bottom:14px}
  .demo-foot{font-size:12px;line-height:1.6;margin-top:12px}
  .profile-row{margin:8px 0 12px}
  .binding-profile{margin-bottom:12px}
  .profile-row .avatar{width:40px;height:40px}
  .onboard-header{height:54px;padding:0 14px;gap:12px}
  .onboard-main{padding:12px 14px 16px}
  .onboard-content>.panel{padding:14px;border-radius:12px}
  .onboard-content h1{font-size:21px;line-height:1.5;letter-spacing:0}
  .onboard-content h1+p{font-size:14px;line-height:1.6;margin:8px 0 12px}
  .invitation-lock{padding:10px;gap:8px;margin:12px 0;border-radius:9px}
  .invitation-lock>.icon{width:18px}
  .invitation-lock strong{font-size:18px;margin:4px 0;line-height:1.4}
  .invitation-lock .small,.invitation-lock p{font-size:12px;line-height:1.55}
  .lock-label{font-size:12px;padding:2px 5px}
  .segmented{margin:10px 0;gap:8px}
  .onboard-content .segmented button{min-height:44px;padding:8px;font-size:14px}
  .join-form,.onboard-content>.panel .join-form{gap:12px;margin:12px 0}
  .join-form .btn,.binding-status .btn{min-height:46px;margin-top:0}
  .join-form>.text-link{margin-top:-8px;padding:4px;min-height:44px}
  .join-form textarea{font-size:16px}
  .binding-status>.success-icon{width:32px;height:32px;margin:0 8px 0 0}
  .binding-status>h1{font-size:21px;min-height:32px}
  .binding-status .row{font-size:14px;gap:12px}
  .binding-status .row dt{font-size:13px}
  .binding-status>.btn{margin-top:12px}
  .binding-status>.attention{margin-top:12px}
  .binding-status>.note{margin-top:12px}
  .binding-status>details{margin-top:12px}
  .onboard-content .note{font-size:13px;line-height:1.6}
  .onboard-footer{padding:0 14px 16px;gap:16px;font-size:12px;flex-wrap:wrap}
  .review-scenarios{margin-top:12px;gap:8px}
  .review-scenarios h3{margin-top:8px}
}
@media(max-width:380px){
  .order{gap:8px}.order>.device-icon{display:none}
  .page-head .small{font-size:12px}.page-head>div{gap:8px}
  .metric{padding:2px 8px}
}
