/* Client UX v424: presentation only; order/payment/legal contracts unchanged. */
.rs-guest-view #bell,.rs-guest-view #appSettings,.rs-guest-view #appAvatar{display:none!important}
.rs-guest-view .appbar .loc,.rs-guest-view .appbar #themeBtn{display:none!important}
.rs-guest-view .tab{font:inherit;border:0;color:var(--text2);background:transparent;cursor:pointer}
.rs-guest-view .tab.active{color:var(--text)}
button:focus-visible,summary:focus-visible{outline:3px solid var(--accent2);outline-offset:3px}
.rs-guest-view .btn-primary,.rs-guest-view .btn-green{box-shadow:none!important}
.rs-guest-view .work-hub-tab.active{background:var(--bg3);color:var(--text);box-shadow:inset 0 -3px var(--accent)}
.rs-order-form{max-width:760px;margin-left:auto;margin-right:auto}
.rs-form-section{font-size:17px;line-height:1.35;margin:26px 0 16px;padding-top:20px;border-top:1px solid var(--border)}
.rs-form-section:first-child{margin-top:0;padding-top:0;border-top:0}
.rs-order-form .field{scroll-margin:24px 0 110px}
.rs-order-actions{position:static;margin-top:16px;padding:0;background:none;box-shadow:none}
.rs-optional{margin:0 0 14px;border:1px solid var(--border);border-radius:12px;padding:0 12px}
.rs-optional>summary{cursor:pointer;padding:14px 0;font-size:14px;font-weight:600;color:var(--text)}
.rs-optional>summary span{font-size:12px;font-weight:400;color:var(--text2);margin-left:4px}
.rs-optional[open]>summary{margin-bottom:8px;border-bottom:1px solid var(--border)}
.rs-optional .field{margin-bottom:12px}
.rs-extra-actions{border:0;margin:10px 0 0;padding:0}
.rs-extra-actions>summary{font-size:13px;color:var(--text2);font-weight:500}
.rs-guest-profile{max-width:640px;margin:0 auto}
.rs-guest-profile .rs-page-title{font-size:24px;margin:8px 0 20px}
.rs-profile-login{padding:22px!important}
.rs-profile-login h2{font-size:20px;line-height:1.35;margin:0 0 10px}
.rs-profile-login p{font-size:14px;line-height:1.6;color:var(--text2);margin:0 0 20px}
.rs-profile-login .caption{text-align:center;margin:10px 0 0}
.rs-profile-links{padding:0 16px!important;margin-top:16px}
.rs-profile-links button{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:14px 0;background:transparent;border:0;border-bottom:1px solid var(--border);color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.rs-profile-links button:last-child{border-bottom:0}
.rs-profile-links button>svg:last-child{margin-left:auto;color:var(--text2)}
.rs-customer-home{max-width:940px;margin:0 auto}
.rs-customer-hero{padding:24px!important;box-shadow:none!important;background:#0a0c0d!important}
.rs-customer-hero h1{font-size:28px;line-height:1.15;letter-spacing:-.6px;color:#fff;margin:0 0 12px;max-width:560px}
.rs-customer-hero p{font-size:14px;line-height:1.6;color:#d8dedb;max-width:500px;margin:0 0 22px}
.rs-customer-hero .btn{max-width:360px;box-shadow:none!important}
.rs-hero-note{font-size:12px;line-height:1.6;color:#c7cfca;margin-top:14px}
.rs-how{padding:20px!important;margin-top:16px}
.rs-how h2{font-size:16px;margin:0 0 18px}
.rs-how ol{list-style:none;counter-reset:step;display:grid;gap:20px;padding:0;margin:0}
.rs-how li{counter-increment:step;display:grid;grid-template-columns:28px 1fr;column-gap:12px;row-gap:4px}
.rs-how li:before{content:counter(step);grid-row:span 2;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg3);color:var(--text);font-size:13px;font-weight:700}
.rs-how li b{font-size:14px;line-height:1.4}
.rs-how li span{font-size:13px;line-height:1.5;color:var(--text2)}
.rs-help-link{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:12px 4px;border:0;background:transparent;color:var(--text2);font:inherit;font-size:14px;cursor:pointer}
.rs-help-link svg:last-child{margin-left:auto}
.rs-settings-section{padding:14px 0;border-bottom:1px solid var(--border)}
.rs-settings-section h4{margin:0 0 12px;font-size:14px}
.rs-settings-section .caption{margin:8px 0 0}
.modal:has(.rs-interface-settings){max-height:calc(100dvh - 24px);padding:16px 18px calc(18px + env(safe-area-inset-bottom))}
.rs-settings-head{display:flex;align-items:center;gap:8px}
.rs-settings-head h3{display:flex;align-items:center;gap:7px;flex:1;min-width:0;font-size:16px;line-height:1.35;margin:0}
.rs-settings-head h3 svg{flex-shrink:0}
.rs-settings-close{width:44px;height:44px;flex-shrink:0;border:0;border-radius:12px;background:var(--bg3);color:var(--text2);font:inherit;font-size:26px;cursor:pointer}
.rs-interface-settings .seg{margin:0}
.rs-interface-settings .seg button{min-height:44px}
.rs-theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.rs-settings-analytics{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:76px;padding:14px 0;border:0;background:transparent;color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.rs-settings-analytics small{display:block;margin-top:4px;color:var(--text2);font-size:12px}
.rs-interface-settings #interfaceSettingsDone{margin:0;min-height:48px}
.rs-tour .rt-hero{max-height:calc(100% - 32px);overflow-y:auto;overscroll-behavior:contain}
.rs-tour .rt-skip,.rs-tour .rt-hskip,.rs-tour .rt-back{min-height:44px;min-width:44px}
.rs-tour .rt-next{min-height:44px}
@media(max-height:640px){
 .rs-tour .rt-hero{padding:18px 18px 14px}
 .rs-tour .rt-badge{margin-bottom:12px}
 .rs-tour .rt-hic{width:52px;height:52px;margin-bottom:12px}
 .rs-tour .rt-ht{font-size:22px}
 .rs-tour .rt-hd{font-size:14px;margin-bottom:14px}
 .rs-tour .rt-feats{margin-bottom:14px}
 .rs-tour .rt-hskip{margin-top:4px}
 .rs-tour .rt-hdots{margin-top:8px}
}
@media(min-width:768px){
 .modal-bg:has(.rs-interface-settings){align-items:center;justify-content:center;padding:24px}
 .modal:has(.rs-interface-settings){width:480px;max-width:100%;max-height:calc(100dvh - 48px);border-radius:20px;border:1px solid var(--border)}
}
.rs-guest-view .gh{padding:14px 16px!important;background:var(--bg2)!important;box-shadow:none!important}
.rs-guest-view .gh-l1{display:none}
.rs-guest-view .gh-num{font-size:32px!important;line-height:1.15!important;margin:8px 0}
@media(max-width:380px){.auth-top>div:first-child{flex-wrap:wrap}.auth-top>div:first-child>div:last-child{flex-basis:100%;justify-content:flex-end}}
@media(min-width:1024px){
 html body .phone{width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
 html body .tabbar{border-radius:0!important}
 .rs-customer-hero{padding:32px!important}
 .rs-customer-hero h1{font-size:34px}
 .rs-how ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
 .rs-order-form{padding:28px!important}
 .rs-guest-profile{margin-top:18px}
}

/* UI425: guest discovery, honest empty states and recoverable form navigation. */
.rs-role-choice{border:0;background:transparent;font-family:inherit;min-height:44px}
.rs-role-choice:focus-visible,.rs-map-list:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.rs-map-list{font:inherit;cursor:pointer;min-height:44px}
.rs-feed-empty{padding:16px!important;margin:4px 0 16px!important}
.rs-feed-empty h2{font-size:18px;margin:0 0 8px}
.rs-feed-empty p{font-size:13px;color:var(--text2);line-height:1.5;margin:0}
.rs-create-error{font-size:13px;line-height:1.4;color:var(--red,#c83d3d);margin-top:6px}
.rs-order-form [aria-invalid=true]{border-color:var(--red,#c83d3d);outline:1px solid var(--red,#c83d3d)}

/* Keep account access and form toggles usable at narrow widths. */
.appbar .app-avatar{flex:0 0 44px;width:44px;height:44px}
.rs-order-form label.check{min-height:44px;align-items:center}
.composer input{min-width:0}
@media(max-width:380px){
 .appbar .logo-icon{flex-shrink:0}
 .appbar .logo-text{display:none}
 .rs-guest-view .appbar .logo-text{display:block}
 .appbar #topTools{flex-shrink:0}
}

/* Keep city suggestions above following cards and support keyboard selection. */
.rs-guest-city-row{position:relative;z-index:2}
.city-sug button.city-opt{display:block;width:100%;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;color:var(--text);font-family:inherit;text-align:left}
.city-sug button.city-opt:last-child{border-bottom:0}
.city-sug button.city-opt:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
