/* Reference layout replaces the competing desktop and refresh layout layers. */
.fr-salon-photo{background:#e2efe7 url('../images/salon-inclusive.png') center/cover!important}
:root{--fr-primary:#16765f;--fr-primary-soft:#e9f5f0;--fr-bg:#f8fbfa;--fr-ink:#213b31;--fr-muted:#71847b;--fr-line:#dfece5;--ux-green:#16765f;--ux-green-dark:#105846;--ux-green-soft:#e9f5f0;--ux-nav-width:720px}
.fr-customer,.fr-staff{padding:0 0 108px!important;background:linear-gradient(180deg,#f8fcfa,#edf6f1 60%,#fff)!important;min-height:100vh}
.fr-customer .container,.fr-staff .container{width:calc(100% - 32px)!important;max-width:720px!important;margin-inline:auto!important;box-sizing:border-box}
.fr-head{padding:16px 0!important;min-height:72px;background:transparent!important;border:0!important;box-shadow:none}
.fr-head h1{font-size:19px}.fr-brand b{font-size:18px}.fr-icon-btn{background:#fff!important;box-shadow:none!important;border:1px solid var(--fr-line)!important;border-radius:16px}
.fr-main{padding:0!important}.fr-section{margin:26px 0}.fr-section-head{margin-bottom:12px}.fr-section-head h2{font-size:17px}.fr-section-head p{line-height:1.8}.fr-section-head button{background:transparent;padding:8px 0;min-height:44px;font-size:12px}
.reference-welcome{display:flex;align-items:center;gap:12px;margin:5px 0 18px}.reference-avatar{width:50px;height:50px;border:3px solid #fff;border-radius:50%;background:#d8ece2;color:#185a45;font:inherit;font-weight:800}.reference-welcome small{color:var(--fr-muted)}.reference-welcome h1{font-size:20px;margin:4px 0}
.fr-search-launch,.fr-search-box{background:#e9f3ee!important;border:1px solid #dceae2;border-radius:18px;min-height:52px;width:100%;color:var(--fr-primary)}
.reference-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.reference-categories button{border:0;background:transparent;font:inherit;font-size:11px;color:var(--fr-ink);padding:0;min-width:0}.reference-categories img{width:70px;height:70px;max-width:100%;object-fit:contain;display:block;margin:0 auto 6px}
.reference-banner{height:190px;position:relative;border-radius:24px;overflow:hidden;background:#e2efe7;margin:16px 0}.reference-banner>img{width:100%;height:100%;object-fit:cover}.reference-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,#f2f9f4 5%,#f2f9f4dd 40%,transparent 85%)}.reference-banner>div{position:absolute;right:20px;top:20px;z-index:1}.reference-banner small{font-size:11px;color:var(--fr-muted)}.reference-banner h2{font-size:22px;line-height:1.65;margin:5px 0 10px}.reference-banner button{display:flex;align-items:center;gap:12px;background:#164f3d;color:#fff;border:0;border-radius:99px;padding:10px 16px;font:inherit;font-size:12px;min-height:44px}
.fr-salon-grid{display:grid;grid-template-columns:1fr;gap:12px}.fr-salon-card{display:grid;grid-template-columns:112px minmax(0,1fr);padding:9px;gap:12px;border-radius:20px;background:#fff;border:1px solid var(--fr-line);box-shadow:0 6px 20px #234f3810}.fr-salon-photo{height:110px;border-radius:15px;overflow:hidden}.fr-salon-photo>span{display:none}.fr-salon-info{padding:4px 0;min-width:0}.fr-salon-info h3{font-size:15px}.fr-salon-info p{line-height:1.7;margin:7px 0}.fr-card-meta{gap:5px}.fr-card-meta span{font-size:10px;background:#f1f7f3}
.fr-filter-row{padding:16px 0;gap:8px}.fr-filter-row button{min-height:44px;background:#fff}.fr-filter-row button.active{background:var(--fr-primary);color:#fff}.fr-result-head{font-size:13px;margin:10px 0 16px}
.fr-upcoming,.fr-profile-card,.fr-account-group,.fr-summary,.fr-info-card,.fr-form-card,.fr-staff-hero,.ux-schedule-card,.ux-booking-card{border:1px solid var(--fr-line);border-radius:22px;box-shadow:none!important;background:#fff!important;color:var(--fr-ink)}
.fr-appointment-list,.fr-staff-booking-list{gap:14px}.fr-appointment-list article,.fr-staff-booking-list article{border-radius:22px;padding:18px;background:#fff;border:1px solid var(--fr-line)}.fr-appointment-time{background:var(--fr-primary-soft);padding:10px 6px;border-radius:14px;text-align:center}.fr-appointment-actions button,.fr-status-actions button{min-height:44px}
.fr-profile-card{padding:22px}.fr-profile-card>span{border-radius:50%;background:var(--fr-primary-soft);color:var(--fr-primary)}.fr-account-group{padding:12px 18px;margin:18px 0}.fr-account-group h3{margin:8px 0 12px}.fr-account-group button{min-height:64px}
.fr-staff-hero{padding:22px!important;background:linear-gradient(135deg,#e9f5ee,#fff)!important}.fr-staff-hero h1{font-size:23px}.fr-staff-hero p{color:var(--fr-muted)}.fr-staff-stats{gap:8px;margin-top:20px}.fr-staff-stats span{background:#fff;border:1px solid var(--fr-line);padding:15px 6px;border-radius:16px}.fr-staff-stats small{color:var(--fr-muted)}
.fr-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fr-quick-grid button,.fr-service-chips button{border:1px solid var(--fr-line)!important;border-radius:18px;background:#fff;box-shadow:none!important;font-size:12px}.fr-quick-grid .fr-icon{color:var(--fr-primary)!important;filter:none!important}
.fr-mini-bookings article,.fr-customer-list button{border-radius:18px;padding:15px;background:#fff;border:1px solid var(--fr-line)}.fr-mini-bookings time{background:var(--fr-primary-soft);padding:10px 6px;border-radius:12px}
.fr-primary,.ux-submit-booking,.ux-save-schedule{background:var(--fr-primary);border-radius:16px;box-shadow:none}.fr-form-card input,.fr-form-card select,.ux-booking-card input,.ux-booking-card select{min-height:50px;border-radius:15px;background:#f8fbf9}.fr-choice-list>button{padding:16px;border-radius:20px}.fr-choice-list>button.selected{background:#edf7f0;border-color:var(--fr-primary)}.fr-progress{margin-block:20px}.fr-salon-cover{border-radius:0 0 28px 28px}.fr-service-list article{border-radius:18px;padding:16px}
.fr-customer .bottom-nav.fr-bottom-nav,.fr-staff .staff-bottom-nav.fr-staff-nav{position:fixed!important;top:auto!important;bottom:0!important;right:auto!important;left:50%!important;transform:translateX(-50%)!important;width:min(100%,752px)!important;max-width:752px!important;min-height:80px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:8px 10px max(10px,env(safe-area-inset-bottom))!important;background:#ffffffef!important;border:1px solid var(--fr-line)!important;border-radius:24px 24px 0 0!important;box-shadow:0 -5px 24px #224c3710!important}
.fr-bottom-nav:before,.fr-bottom-nav:after,.fr-staff-nav:before,.fr-staff-nav:after{display:none!important}.fr-bottom-nav .nav-item,.fr-staff-nav>button{min-height:60px!important;transform:none!important;box-shadow:none!important;background:transparent!important;color:var(--fr-muted)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important}.fr-bottom-nav .nav-item.active,.fr-staff-nav>button.active{background:var(--fr-primary-soft)!important;color:var(--fr-primary)!important;transform:none!important;box-shadow:none!important}.fr-bottom-nav .nav-item.active span,.fr-staff-nav>button.active span{color:inherit!important}.fr-bottom-nav img,.fr-staff-nav img{width:36px;height:36px;object-fit:contain}
.ux-recommended-grid{grid-template-columns:1fr}.ux-recommended-grid>button{box-shadow:none}.ux-rec-avatar{background:var(--fr-primary-soft);color:var(--fr-primary)}
@media(min-width:960px){.fr-customer,.fr-staff{max-width:1120px;margin:auto;border-inline:1px solid var(--fr-line)}.fr-customer .container,.fr-staff .container{max-width:960px!important}.fr-salon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-banner{height:240px}.reference-banner>div{top:30px;right:32px}.reference-banner h2{font-size:29px}.reference-categories{max-width:520px;margin:20px auto}.fr-quick-grid{gap:16px}.fr-main{padding-bottom:24px!important}.fr-customer .bottom-nav.fr-bottom-nav,.fr-staff .staff-bottom-nav.fr-staff-nav{width:960px!important;max-width:calc(100% - 32px)!important}.fr-mini-bookings,.fr-customer-list{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-recommended-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.fr-salon-card{grid-template-columns:90px minmax(0,1fr);gap:8px}.fr-salon-photo{height:100px}.reference-categories img{height:58px}.fr-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
