:root{--blue:#178cf6;--blue2:#0b78db;--navy:#10264a;--text:#20324d;--muted:#7c8ba1;--bg:#f6f9fc;--line:#e6edf5;--soft:#eef7ff;--success:#1bae79;--warn:#d99500;--danger:#e55353;--radius:14px;--shadow:0 8px 26px rgba(20,45,76,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Plus Jakarta Sans',Arial,sans-serif;color:var(--text);background:var(--bg);font-size:14px}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:9px;margin:3px 6px 28px;font-size:20px;color:var(--navy)}.brand b span{color:var(--blue)}.brand-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(180deg,#3ca5ff,#1688f8);color:#fff;box-shadow:0 5px 14px rgba(23,140,246,.2)}.brand.big{justify-content:center;margin-bottom:20px;font-size:24px}.brand.big .brand-icon{width:44px;height:44px}nav{display:grid;gap:4px}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;color:#607089;font-weight:600;font-size:13px;position:relative}.nav-link i{width:18px;text-align:center}.nav-link.active,.nav-link:hover{background:#ebf5ff;color:var(--blue)}.nav-link em{margin-left:auto;background:#ff6464;color:#fff;font-style:normal;font-size:9px;min-width:18px;height:18px;border-radius:20px;display:grid;place-items:center}.help-card{margin-top:auto;background:#f1f7fd;border-radius:12px;padding:14px;display:grid;gap:6px}.help-card small{font-size:11px;color:var(--muted)}.main-wrap{min-width:0}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:15}.top-search{width:min(420px,48vw);height:38px;background:#f4f7fa;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;padding:0 12px;color:#8a99ac}.top-search input{border:0;outline:0;background:transparent;width:100%;padding-left:9px}.top-actions{display:flex;align-items:center;gap:10px}.icon-only{width:38px;height:38px;border:0;background:#f4f7fa;border-radius:10px;color:#52647c;display:grid;place-items:center}.relative{position:relative}.count{position:absolute;top:-4px;right:-4px;background:#ff6262;color:#fff;border-radius:20px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;font-size:9px;font-weight:800}.user-mini{display:flex;align-items:center;gap:9px}.user-mini>span:last-child{display:grid}.user-mini b{font-size:12px}.user-mini small{font-size:9px;color:var(--muted)}.avatar{width:38px;height:38px;border-radius:50%;background:#dff0ff;color:var(--blue);font-weight:800;display:grid;place-items:center}.content{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:26px 0 56px}.page-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:17px}.page-title h1{margin:0;font-size:24px;color:var(--navy)}.page-title p{margin:5px 0 0;color:var(--muted);font-size:12px}.hero{min-height:190px;border-radius:15px;overflow:hidden;background:linear-gradient(105deg,#178cf6,#2c9eff);color:#fff;padding:28px 30px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center}.hero h2{font-size:26px;line-height:1.15;margin:0 0 10px}.hero p{max-width:520px;line-height:1.7;font-size:12px;opacity:.94}.hero-visual{height:100%;position:relative;display:grid;place-items:center}.hero-visual .house{font-size:88px;opacity:.2}.section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 11px}.section-head h2{font-size:16px;margin:0;color:var(--navy)}.link{color:var(--blue);font-weight:700;font-size:12px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.category-card{background:#fff;border:1px solid var(--line);border-radius:11px;min-height:90px;padding:13px 8px;display:grid;place-items:center;text-align:center;box-shadow:0 3px 12px rgba(20,45,76,.025)}.category-card:hover{border-color:#baddff}.category-icon{width:38px;height:38px;border-radius:10px;background:#eaf5ff;color:var(--blue);display:grid;place-items:center;font-size:18px}.category-card b{font-size:10px;color:var(--navy)}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.service-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.service-media{height:130px;background:linear-gradient(135deg,#eef6fb,#dfedf5);display:grid;place-items:center;color:var(--blue);font-size:48px}.service-body{padding:13px}.service-body h3{font-size:13px;margin:0 0 5px;color:var(--navy)}.rating{font-size:11px;color:#f3a41b}.muted{color:var(--muted)}.price{font-weight:800;margin-top:7px;color:var(--navy)}.price strong{color:var(--blue)}.btn{border:0;border-radius:9px;padding:10px 15px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue2)}.btn.outline{background:#fff;border:1px solid var(--line);color:var(--navy)}.btn.danger{background:#fff0f0;border:1px solid #ffd7d7;color:var(--danger)}.btn.small{padding:8px 10px;font-size:11px}.btn.wide{width:100%}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.panel-pad{padding:18px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.chip{border:1px solid var(--line);background:#fff;color:#6e7e92;padding:8px 13px;border-radius:30px;font-size:11px}.chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}.service-list{display:grid;gap:8px}.service-row{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px}.thumb{height:62px;border-radius:9px;background:#ecf5fa;display:grid;place-items:center;color:var(--blue);font-size:27px}.service-row h3{margin:0 0 4px;font-size:13px;color:var(--navy)}.service-row p{margin:2px 0;font-size:10px}.detail-layout{display:grid;grid-template-columns:1.65fr .78fr;gap:18px}.detail-media{height:290px;background:linear-gradient(135deg,#dfeef5,#f2f8fb);border-radius:11px;display:grid;place-items:center;color:var(--blue);font-size:95px}.detail-card{padding:18px}.detail-card h1{font-size:25px;margin:16px 0 5px}.quick-info{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:10px;margin:16px 0;overflow:hidden}.quick-info>div{padding:13px;text-align:center;border-right:1px solid var(--line);font-size:11px}.quick-info>div:last-child{border-right:0}.quick-info i{color:var(--blue);font-size:17px;margin-bottom:6px}.select-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.select-card{border:1px solid var(--line);border-radius:9px;padding:11px;background:#fff}.select-card.active{border:1.5px solid var(--blue);background:#f4faff}.sticky-card{position:sticky;top:82px;height:max-content}.summary-row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eff3f7;font-size:11px}.summary-row:last-child{border-bottom:0}.summary-row.total{font-size:15px;font-weight:800}.steps{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:20px}.step{text-align:center;color:#9aa8ba;font-size:10px;position:relative}.step:before{content:attr(data-step);width:25px;height:25px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;margin:auto auto 5px;position:relative;z-index:2}.step:after{content:'';height:1px;background:var(--line);position:absolute;top:13px;left:50%;right:-50%}.step:last-child:after{display:none}.step.active{color:var(--blue);font-weight:700}.step.active:before{background:var(--blue);color:#fff;border-color:var(--blue)}.booking-layout{display:grid;grid-template-columns:1.5fr .7fr;gap:16px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-weight:700}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.calendar span{padding:8px 4px;border-radius:8px;font-size:10px}.calendar .head{color:#9ba8b9;font-weight:700}.calendar .day{cursor:pointer}.calendar .selected{background:var(--blue);color:#fff}.time-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.field{display:grid;gap:6px}.field label{font-size:10px;font-weight:700}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:9px;padding:10px 11px;outline:none;background:#fff}.field input:focus,.field textarea:focus,.field select:focus{border-color:#91c9ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.full{grid-column:1/-1}.tabs{display:flex;background:#f2f6fa;border-radius:9px;padding:3px;width:max-content;max-width:100%;overflow:auto}.tab{padding:7px 12px;border-radius:7px;color:#7a899d;font-size:10px;white-space:nowrap}.tab.active{background:var(--blue);color:#fff}.orders{margin-top:14px;overflow:hidden}.order-head,.order-row{display:grid;grid-template-columns:55px 1.2fr .7fr .6fr .65fr auto;gap:10px;align-items:center;padding:11px 13px;border-bottom:1px solid var(--line)}.order-head{font-size:9px;color:#9aa7b8;font-weight:700}.order-row:last-child{border-bottom:0}.badge{display:inline-flex;width:max-content;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:700}.badge.success{background:#e6faf3;color:#16815d}.badge.warning{background:#fff5dd;color:#b77b00}.badge.info{background:#eaf5ff;color:#0e78d8}.badge.danger{background:#fff0f0;color:#d44949}.badge.muted{background:#eef2f6;color:#6c7b8c}.favorite-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.provider-row{display:grid;grid-template-columns:45px 1fr auto;gap:11px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.provider-row:last-child{border-bottom:0}.provider-row h3{font-size:12px;margin:0}.chat-layout{display:grid;grid-template-columns:315px 1fr;min-height:620px;overflow:hidden}.chat-list{border-right:1px solid var(--line)}.chat-list-head{padding:16px}.chat-person{display:grid;grid-template-columns:40px 1fr auto;gap:9px;padding:12px 14px;border-top:1px solid #f1f4f7}.chat-person.active{background:#f2f8ff}.chat-person b{font-size:11px}.chat-person small{font-size:9px}.chat-window{display:flex;flex-direction:column}.chat-header{padding:13px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px}.messages{padding:18px;flex:1;background:#fbfdff}.bubble{max-width:68%;padding:9px 12px;border-radius:12px;margin:8px 0;font-size:10px;line-height:1.55}.bubble.them{background:#fff;border:1px solid var(--line)}.bubble.me{margin-left:auto;background:var(--blue);color:#fff}.message-time{font-size:8px;opacity:.7;display:block;margin-top:4px}.chat-form{border-top:1px solid var(--line);padding:11px;display:flex;gap:8px}.chat-form input{flex:1;border:1px solid var(--line);border-radius:9px;padding:10px}.notice{display:grid;grid-template-columns:38px 1fr auto;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.notice:last-child{border-bottom:0}.notice-icon{width:36px;height:36px;border-radius:9px;background:#edf6ff;color:var(--blue);display:grid;place-items:center}.notice.unread{background:#fbfdff}.account-wrap{max-width:730px}.profile-head{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--line)}.profile-head .avatar{width:64px;height:64px}.menu-row{display:flex;align-items:center;justify-content:space-between;padding:14px 1px;border-bottom:1px solid var(--line);font-size:12px}.menu-row i{width:22px;color:#5b6f88}.provider-profile{text-align:center}.provider-profile .avatar{width:88px;height:88px;margin:0 auto 10px;font-size:22px}.success-box{text-align:center;max-width:580px;margin:20px auto}.success-icon{width:86px;height:86px;border-radius:50%;background:#e8faf4;color:var(--success);font-size:38px;display:grid;place-items:center;margin:0 auto 16px}.alert{padding:11px 13px;border-radius:9px;margin-bottom:12px;font-size:11px}.alert.success{background:#eafaf4;color:#177a59}.alert.danger{background:#fff0f0;color:#c54545}.stack{display:grid;gap:12px}.auth-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(160deg,#f6fbff,#edf6ff);padding:18px}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:var(--shadow)}.auth-card h1{font-size:23px;margin-bottom:5px}.auth-card label{display:grid;gap:6px;font-size:11px;font-weight:700}.auth-card input{border:1px solid var(--line);border-radius:9px;padding:11px}.demo-note{margin-top:18px;padding:11px;background:#f5f9fd;border-radius:9px;font-size:10px;color:#68798e}.mobile-only{display:none}.empty{padding:40px 20px;text-align:center;color:var(--muted)}
@media(max-width:900px){body{background:#fff}.shell{display:block}.sidebar{position:fixed;left:0;top:0;width:240px;transform:translateX(-102%);transition:.2s;box-shadow:20px 0 50px rgba(10,30,55,.12)}body.menu-open .sidebar{transform:none}.topbar{height:56px;padding:0 12px}.mobile-only{display:grid}.top-search{display:none}.user-mini>span:last-child{display:none}.content{width:100%;padding:16px 14px 82px}.page-title{align-items:center}.page-title h1{font-size:20px}.page-title p{font-size:9px}.hero{min-height:150px;padding:17px 14px;border-radius:11px;grid-template-columns:1.45fr .55fr}.hero h2{font-size:18px}.hero p{font-size:9px;line-height:1.55}.hero-visual .house{font-size:58px}.category-grid{grid-template-columns:repeat(3,1fr);gap:8px}.category-card{min-height:74px;padding:9px 5px}.category-icon{width:32px;height:32px;font-size:15px}.category-card b{font-size:8px}.service-grid{grid-template-columns:repeat(2,1fr);gap:8px}.service-media{height:100px;font-size:38px}.service-body{padding:10px}.service-body h3{font-size:11px}.rating,.price{font-size:9px}.section-head{margin:18px 0 9px}.section-head h2{font-size:13px}.link{font-size:9px}.detail-layout,.booking-layout{grid-template-columns:1fr}.sticky-card{position:static}.detail-media{height:210px;font-size:70px}.detail-card h1{font-size:21px}.quick-info>div{font-size:9px;padding:10px 5px}.select-grid{grid-template-columns:repeat(3,1fr)}.service-row{grid-template-columns:62px 1fr auto;padding:8px}.thumb{height:52px;font-size:22px}.service-row .price{font-size:9px}.order-head{display:none}.order-row{grid-template-columns:52px 1fr auto;padding:10px}.order-row .desktop-col{display:none}.orders{box-shadow:none}.favorite-list{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr;min-height:calc(100vh - 150px)}.chat-list.hide-mobile,.chat-window.hide-mobile{display:none}.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:64px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);z-index:18;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a{display:grid;place-items:center;align-content:center;gap:4px;color:#78879b;font-size:8px}.bottom-nav i{font-size:15px}.bottom-nav a.active{color:var(--blue)}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.chat-form{position:sticky;bottom:64px;background:#fff}.detail-card{padding:12px}.panel-pad{padding:14px}.auth-card{padding:22px}}
@media(min-width:901px){.bottom-nav{display:none}}

/* ===== Asset pack integration ===== */
img{max-width:100%;display:block}.brand{min-height:38px}.brand-logo{width:150px;height:auto;object-fit:contain}.brand.big{margin:0 auto 22px}.brand-logo.auth-logo{width:190px;margin:auto}.nav-img{width:19px;height:19px;object-fit:contain;flex:0 0 19px}.nav-link.active .nav-img{filter:saturate(1.08)}.help-icon{width:34px;height:34px;object-fit:contain}.icon-img{width:21px;height:21px;object-fit:contain}.search-img{width:17px;height:17px;object-fit:contain}.avatar-img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#eaf5ff}.avatar-img.mini{width:38px;height:38px}.profile-avatar{width:64px;height:64px}.provider-avatar{width:92px;height:92px;margin:0 auto 10px}.hero{position:relative}.hero-visual{overflow:hidden;align-self:stretch;margin:-28px -30px -28px 0}.hero-banner-img{width:100%;height:100%;object-fit:cover;object-position:center right;border-radius:0 15px 15px 0}.category-icon{padding:4px;background:#eef7ff}.category-icon img{width:100%;height:100%;object-fit:contain}.service-media{padding:0;overflow:hidden;background:#eef6fb}.service-media img{width:100%;height:100%;object-fit:cover}.thumb{overflow:hidden;padding:0;background:#eef6fb}.thumb img{width:100%;height:100%;object-fit:cover}.detail-media{overflow:hidden;padding:0}.detail-media img{width:100%;height:100%;object-fit:cover}.inline-asset-icon{width:28px;height:28px;object-fit:contain}.quick-icon{width:25px;height:25px;object-fit:contain;margin:0 auto 5px}.quick-info i{display:none}.arrow-img{width:17px;height:17px;object-fit:contain}.provider-row .arrow-img{margin-left:auto}.button-icon{width:18px;height:18px;object-fit:contain}.notice-icon{padding:5px;overflow:hidden}.notice-icon img{width:100%;height:100%;object-fit:contain}.menu-row span:first-child{display:flex;align-items:center;gap:10px}.menu-icon{width:22px;height:22px;object-fit:contain}.menu-row i{display:none}.bottom-nav-img{width:21px;height:21px;object-fit:contain}.bottom-nav a.active .bottom-nav-img{transform:scale(1.06)}.asset-button.is-fav{background:#fff0f2}.asset-success{width:118px;height:118px;border-radius:0;background:transparent}.asset-success img{width:100%;height:100%;object-fit:contain}.back-link{display:inline-flex;align-items:center;gap:5px}.icon-submit{width:42px;height:42px;padding:9px}.rating:before{content:'';display:inline-block;width:13px;height:13px;background:url('../images/46_icon_rating.png') center/contain no-repeat;vertical-align:-2px;margin-right:3px}.rating{color:#f3a41b}.rating::first-letter{font-size:0}.provider-profile .avatar{display:none}
@media(max-width:900px){.brand-logo{width:142px}.hero-visual{margin:-17px -14px -17px 0}.hero-banner-img{border-radius:0 11px 11px 0}.avatar-img{width:38px;height:38px}.provider-avatar{width:86px;height:86px}.bottom-nav-img{width:20px;height:20px}.category-icon{width:38px;height:38px}.service-media{height:108px}.detail-media{height:225px}}

.rating{display:flex;align-items:center;gap:3px;color:#f3a41b}.rating:before{display:none!important}.rating-icon{width:14px;height:14px;object-fit:contain;display:inline-block}.service-body .rating{flex-wrap:wrap}

/* ===== HYBRID UI FIX: original vector UI icons + content image assets ===== */
.sidebar .brand{margin:3px 6px 28px;font-size:20px;min-height:auto}
.sidebar .brand .brand-icon{width:34px;height:34px}
.sidebar .nav-link i{display:inline-block;width:18px;text-align:center;font-size:14px}
.help-card .help-icon{display:none}
.bottom-nav i{display:block;font-size:15px}
@media(max-width:900px){
  .sidebar{width:235px}
  .sidebar .brand{margin-bottom:22px}
}

/* Vector UI icons: account menu + notifications */
.menu-row i.menu-fa{display:inline-flex!important;width:22px;height:22px;align-items:center;justify-content:center;color:#1688f8;font-size:13px;flex:0 0 22px}.menu-row i.menu-arrow{display:inline-flex!important;color:#8fbff0;font-size:10px;width:auto}.notice-icon{padding:0!important;overflow:visible!important;font-size:14px}.notice-icon i{display:block}.notice-icon.order{background:#edf6ff;color:#1688f8}.notice-icon.promo{background:#fff0f0;color:#ef5350}.notice-icon.system{background:#edf6ff;color:#1688f8}


/* Final asset placement */
.brand-mark{width:32px;height:32px;object-fit:contain;flex:0 0 32px}.brand.big .brand-mark{width:46px;height:46px;flex-basis:46px}.auth-mark{filter:none}.hero-visual{display:flex;align-items:flex-end;justify-content:center;background:transparent}.hero-banner-img.hero-person{width:auto;max-width:100%;height:100%;object-fit:contain;object-position:center bottom;border-radius:0;filter:none}.success-icon.asset-success{width:128px;height:128px}.success-icon.asset-success img{width:100%;height:100%;object-fit:contain}.settings-intro{display:flex;align-items:center;gap:16px;padding:12px 0 20px;border-bottom:1px solid var(--line)}.settings-illustration{width:88px;height:88px;object-fit:contain;border-radius:14px;background:#f8fbff}.settings-intro h3{margin:0 0 5px}.settings-list{display:grid}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 2px;border-bottom:1px solid var(--line)}.setting-row>span{display:grid;grid-template-columns:26px 1fr;column-gap:8px;align-items:center}.setting-row i{grid-row:1/3;color:var(--blue);text-align:center}.setting-row b{font-size:12px}.setting-row small{font-size:9px;color:var(--muted);margin-top:3px}.setting-row input{accent-color:var(--blue)}
.auth-shell{width:min(900px,100%);display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.auth-shell .auth-card{width:100%;border:0;border-radius:0;box-shadow:none}.auth-visual{background:linear-gradient(160deg,#eaf6ff,#f8fbff);padding:26px;display:flex;flex-direction:column;justify-content:center;text-align:center}.auth-visual img{width:100%;max-height:360px;object-fit:contain}.auth-visual h2{margin:8px 0 4px;color:var(--navy);font-size:20px}.auth-visual p{margin:0;color:var(--muted);font-size:11px}
@media(max-width:900px){.brand-mark{width:30px;height:30px;flex-basis:30px}.hero-visual{margin:-17px -14px -17px 0}.hero-banner-img.hero-person{height:100%;max-width:135%}.auth-shell{grid-template-columns:1fr;max-width:440px}.auth-visual{display:none}.settings-illustration{width:70px;height:70px}.success-icon.asset-success{width:108px;height:108px}}

/* ===== MOBILE REFERENCE MATCH v5 ===== */
.mobile-onboarding{display:none}
.mobile-home-bell{display:none}
@media(max-width:900px){
  :root{--radius:10px}
  body{background:#fff;font-size:13px}
  .sidebar{display:none!important}
  .topbar{display:none!important}
  .main-wrap{min-height:100vh}
  .content{width:100%;padding:18px 16px 82px}
  .page-title{margin-bottom:12px;align-items:flex-start}
  .page-title h1{font-size:19px;line-height:1.15;letter-spacing:-.35px}
  .page-title p{font-size:9px;margin-top:4px}
  .mobile-home-bell{display:grid;position:relative;width:34px;height:34px;border:1px solid #e8eef5;border-radius:10px;place-items:center;color:#223a5c;background:#fff}
  .mobile-home-bell span{position:absolute;right:-4px;top:-5px;min-width:16px;height:16px;border-radius:20px;background:#ff5d66;color:#fff;font-size:8px;font-weight:800;display:grid;place-items:center;padding:0 4px}
  .hero{min-height:118px;height:118px;padding:14px 13px;border-radius:9px;grid-template-columns:1.35fr .65fr;background:#238ff0;box-shadow:none}
  .hero h2{font-size:15px;line-height:1.12;margin:0 0 6px;letter-spacing:-.2px}
  .hero p{font-size:7.6px;line-height:1.45;margin:0 0 8px;max-width:190px}
  .hero .btn{font-size:8px;padding:7px 10px;border-radius:18px}
  .hero-visual{margin:-14px -13px -14px 0;overflow:hidden;align-items:end}
  .hero-banner-img.hero-person{height:100%;width:100%;max-width:none;object-fit:contain;object-position:right bottom}
  .section-head{margin:14px 0 8px}
  .section-head h2{font-size:11px;font-weight:800}
  .link{font-size:8px}
  .category-grid{grid-template-columns:repeat(3,1fr);gap:7px}
  .category-card{min-height:72px;padding:8px 3px;border-radius:8px;box-shadow:none;border-color:#e4ebf3;align-content:center;gap:4px}
  .category-icon{width:31px;height:31px;padding:3px;border-radius:8px;background:#eef7ff}
  .category-card b{font-size:7.2px;line-height:1.25;font-weight:700}
  .service-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .service-card{border-radius:8px;box-shadow:none;border-color:#e4ebf3}
  .service-media{height:78px}
  .service-body{padding:7px 8px 8px}
  .service-body h3{font-size:9px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rating{font-size:7.4px}
  .rating-icon{width:10px;height:10px}
  .price{font-size:7.4px;margin-top:4px;white-space:nowrap}
  .price strong{font-size:8.7px}
  .bottom-nav{height:58px;padding:0 4px env(safe-area-inset-bottom);box-shadow:0 -2px 10px rgba(15,38,74,.035)}
  .bottom-nav a{font-size:7px;gap:3px}
  .bottom-nav i{font-size:13px}
  .bottom-nav a.active{color:#1688f8}
  .panel{box-shadow:none}
  .auth-body{padding:0;background:#fff;min-height:100dvh;display:block}
  .auth-shell{display:none;width:100%;min-height:100dvh;border:0;border-radius:0;box-shadow:none;grid-template-columns:1fr;background:#fff}
  .auth-shell.force-login{display:grid}
  .auth-shell.force-login .auth-visual{display:none}
  .auth-shell.force-login .auth-card{padding:28px 22px;align-self:center;max-width:440px;margin:auto}
  .mobile-onboarding{display:flex;min-height:100dvh;padding:34px 18px 22px;flex-direction:column;background:#fff;overflow:hidden}
  .mobile-onboarding.is-hidden{display:none}
  .onboarding-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
  .onboarding-brand img{width:56px;height:56px;object-fit:contain}
  .onboarding-brand b{font-size:24px;color:#10264a;letter-spacing:-.7px}.onboarding-brand b span{color:#1688f8}
  .onboarding-brand p{font-size:11px;line-height:1.45;margin:5px 0 0;color:#52657e}
  .onboarding-art{flex:1;min-height:270px;display:flex;align-items:center;justify-content:center;margin:5px -8px 2px}
  .onboarding-art img{width:100%;height:100%;max-height:350px;object-fit:contain;object-position:center bottom}
  .onboarding-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:5px 0 18px}
  .onboarding-cats>div{text-align:center;background:#f8fbfe;border:1px solid #e6eef6;border-radius:8px;padding:9px 3px 7px;min-height:68px;display:grid;place-items:center;align-content:center;gap:4px}
  .onboarding-cats span{width:29px;height:29px;border-radius:8px;background:#eaf5ff;color:#1688f8;display:grid;place-items:center;font-size:12px}
  .onboarding-cats small{font-size:6.8px;line-height:1.25;color:#23405e;font-weight:600}
  .onboarding-cta{width:100%;height:44px;border-radius:8px;font-size:11px}
  .onboarding-dots{display:flex;justify-content:center;gap:6px;margin-top:15px}.onboarding-dots i{width:5px;height:5px;border-radius:50%;background:#dbe7f2}.onboarding-dots i.active{background:#1688f8}
}
@media(max-width:380px){
  .content{padding-left:13px;padding-right:13px}
  .hero{height:112px;min-height:112px}
  .onboarding-art{min-height:235px}
}

/* ===== MOBILE REFERENCE MATCH v5 ===== */
.mobile-onboarding{display:none}
.mobile-home-bell{display:none}
@media(max-width:900px){
  :root{--radius:10px}
  body{background:#fff;font-size:13px}
  .sidebar{display:none!important}
  .topbar{display:none!important}
  .main-wrap{min-height:100vh}
  .content{width:100%;padding:18px 16px 82px}
  .page-title{margin-bottom:12px;align-items:flex-start}
  .page-title h1{font-size:19px;line-height:1.15;letter-spacing:-.35px}
  .page-title p{font-size:9px;margin-top:4px}
  .mobile-home-bell{display:grid;position:relative;width:34px;height:34px;border:1px solid #e8eef5;border-radius:10px;place-items:center;color:#223a5c;background:#fff}
  .mobile-home-bell span{position:absolute;right:-4px;top:-5px;min-width:16px;height:16px;border-radius:20px;background:#ff5d66;color:#fff;font-size:8px;font-weight:800;display:grid;place-items:center;padding:0 4px}
  .hero{min-height:118px;height:118px;padding:14px 13px;border-radius:9px;grid-template-columns:1.35fr .65fr;background:#238ff0;box-shadow:none}
  .hero h2{font-size:15px;line-height:1.12;margin:0 0 6px;letter-spacing:-.2px}
  .hero p{font-size:7.6px;line-height:1.45;margin:0 0 8px;max-width:190px}
  .hero .btn{font-size:8px;padding:7px 10px;border-radius:18px}
  .hero-visual{margin:-14px -13px -14px 0;overflow:hidden;align-items:end}
  .hero-banner-img.hero-person{height:100%;width:100%;max-width:none;object-fit:contain;object-position:right bottom}
  .section-head{margin:14px 0 8px}
  .section-head h2{font-size:11px;font-weight:800}
  .link{font-size:8px}
  .category-grid{grid-template-columns:repeat(3,1fr);gap:7px}
  .category-card{min-height:72px;padding:8px 3px;border-radius:8px;box-shadow:none;border-color:#e4ebf3;align-content:center;gap:4px}
  .category-icon{width:31px;height:31px;padding:3px;border-radius:8px;background:#eef7ff}
  .category-card b{font-size:7.2px;line-height:1.25;font-weight:700}
  .service-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .service-card{border-radius:8px;box-shadow:none;border-color:#e4ebf3}
  .service-media{height:78px}
  .service-body{padding:7px 8px 8px}
  .service-body h3{font-size:9px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rating{font-size:7.4px}
  .rating-icon{width:10px;height:10px}
  .price{font-size:7.4px;margin-top:4px;white-space:nowrap}
  .price strong{font-size:8.7px}
  .bottom-nav{height:58px;padding:0 4px env(safe-area-inset-bottom);box-shadow:0 -2px 10px rgba(15,38,74,.035)}
  .bottom-nav a{font-size:7px;gap:3px}
  .bottom-nav i{font-size:13px}
  .bottom-nav a.active{color:#1688f8}
  .panel{box-shadow:none}
  .auth-body{padding:0;background:#fff;min-height:100dvh;display:block}
  .auth-shell{display:none;width:100%;min-height:100dvh;border:0;border-radius:0;box-shadow:none;grid-template-columns:1fr;background:#fff}
  .auth-shell.force-login{display:grid}
  .auth-shell.force-login .auth-visual{display:none}
  .auth-shell.force-login .auth-card{padding:28px 22px;align-self:center;max-width:440px;margin:auto}
  .mobile-onboarding{display:flex;min-height:100dvh;padding:34px 18px 22px;flex-direction:column;background:#fff;overflow:hidden}
  .mobile-onboarding.is-hidden{display:none}
  .onboarding-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
  .onboarding-brand img{width:56px;height:56px;object-fit:contain}
  .onboarding-brand b{font-size:24px;color:#10264a;letter-spacing:-.7px}.onboarding-brand b span{color:#1688f8}
  .onboarding-brand p{font-size:11px;line-height:1.45;margin:5px 0 0;color:#52657e}
  .onboarding-art{flex:1;min-height:270px;display:flex;align-items:center;justify-content:center;margin:5px -8px 2px}
  .onboarding-art img{width:100%;height:100%;max-height:350px;object-fit:contain;object-position:center bottom}
  .onboarding-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:5px 0 18px}
  .onboarding-cats>div{text-align:center;background:#f8fbfe;border:1px solid #e6eef6;border-radius:8px;padding:9px 3px 7px;min-height:68px;display:grid;place-items:center;align-content:center;gap:4px}
  .onboarding-cats span{width:29px;height:29px;border-radius:8px;background:#eaf5ff;color:#1688f8;display:grid;place-items:center;font-size:12px}
  .onboarding-cats small{font-size:6.8px;line-height:1.25;color:#23405e;font-weight:600}
  .onboarding-cta{width:100%;height:44px;border-radius:8px;font-size:11px}
  .onboarding-dots{display:flex;justify-content:center;gap:6px;margin-top:15px}.onboarding-dots i{width:5px;height:5px;border-radius:50%;background:#dbe7f2}.onboarding-dots i.active{background:#1688f8}
}
@media(max-width:380px){
  .content{padding-left:13px;padding-right:13px}
  .hero{height:112px;min-height:112px}
  .onboarding-art{min-height:235px}
}

/* v-next: hero alignment matched to supplied mobile reference */
@media(max-width:900px){
  .hero{position:relative;grid-template-columns:1.22fr .78fr;overflow:hidden}
  .hero>div:first-child{position:relative;z-index:2;min-width:0}
  .hero-visual{position:relative;z-index:1;margin:-14px -8px -14px -5px;display:flex;align-items:flex-end;justify-content:center;overflow:visible}
  .hero-banner-img.hero-person{display:block;width:auto;height:104%;max-width:145%;object-fit:contain;object-position:center bottom;margin:0 auto;transform:translateX(-3px)}
}
@media(max-width:430px){
  .hero{grid-template-columns:1.18fr .82fr}
  .hero-visual{margin:-14px -6px -14px -9px}
  .hero-banner-img.hero-person{height:102%;max-width:150%;transform:translateX(-5px)}
}

/* 2026-09-11 HERO REWORK — compact reference layout */
.hero{
  background:linear-gradient(112deg,#087cf0 0%,#168cf7 48%,#35a8ff 100%);
  min-height:176px;height:176px;padding:24px 28px;
  grid-template-columns:minmax(0,1.45fr) minmax(250px,.55fr);
  border-radius:12px;position:relative;overflow:hidden;
}
.hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-95px;top:-115px;background:rgba(255,255,255,.055);pointer-events:none}
.hero h2{font-size:24px;line-height:1.08;margin:0 0 9px;letter-spacing:-.5px}
.hero p{font-size:11px;line-height:1.55;max-width:520px;margin:0 0 13px}
.hero .btn{font-size:11px;padding:9px 14px;border-radius:18px}
.hero-visual{height:176px;margin:-24px -28px -24px 0;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:transparent}
.hero-banner-img.hero-person{height:170px;width:auto;max-width:none;object-fit:contain;object-position:center bottom;transform:none;margin:0 auto;filter:drop-shadow(0 5px 10px rgba(0,70,150,.08))}
@media(min-width:901px){
  .content{width:min(1160px,calc(100% - 64px));padding-top:24px}
  .page-title{margin-bottom:15px}.page-title h1{font-size:23px}.page-title p{font-size:11px}
  .category-card{min-height:82px}.service-media{height:122px}
}
@media(max-width:900px){
  .hero{height:116px;min-height:116px;padding:13px 12px;grid-template-columns:minmax(0,1.28fr) minmax(112px,.72fr);border-radius:9px;background:linear-gradient(112deg,#087cf0 0%,#168cf7 52%,#3aabff 100%)}
  .hero:after{width:145px;height:145px;right:-55px;top:-68px}
  .hero h2{font-size:15px;line-height:1.08;margin-bottom:5px;letter-spacing:-.25px}
  .hero p{font-size:7.2px;line-height:1.4;max-width:185px;margin-bottom:7px}
  .hero .btn{font-size:7.5px;padding:6px 10px;border-radius:16px}
  .hero-visual{height:116px;margin:-13px -12px -13px -3px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
  .hero-banner-img.hero-person{height:112px;width:auto;max-width:none;object-fit:contain;object-position:center bottom;margin:0;transform:translateX(-2px)}
}
@media(max-width:380px){
  .hero{grid-template-columns:minmax(0,1.24fr) minmax(104px,.76fr)}
  .hero-banner-img.hero-person{height:108px;transform:translateX(-4px)}
}

/* Reference mobile screens: Favorite / Chat / Account / Notifications */
.ref-title{margin-bottom:10px}.ref-title h1{font-size:20px}.account-gear{color:#17385f;font-size:16px}.ref-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;margin-bottom:10px}.ref-tabs .tab{text-align:center}.ref-favorite-list{overflow:hidden;box-shadow:none}.ref-favorite-row{display:grid;grid-template-columns:48px 1fr 34px;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);color:var(--navy)}.ref-favorite-row:last-child{border-bottom:0}.ref-favorite-row>img{width:44px;height:44px;border-radius:50%;object-fit:cover}.ref-fav-copy{display:grid;gap:2px}.ref-fav-copy b{font-size:11px}.ref-fav-copy small{font-size:9px;color:var(--muted)}.ref-fav-copy em{font-size:9px;color:#f5aa18;font-style:normal}.ref-chat-dot{width:28px;height:28px;border-radius:50%;background:#eef7ff;color:var(--blue);display:grid;place-items:center}
.notice-icon.order{background:#eaf5ff;color:#1687ed}.notice-icon.promo{background:#fff0f0;color:#ff5058}.notice-icon.system{background:#eaf5ff;color:#1687ed}.profile-edit-form{display:none}.profile-edit-form.show{display:grid}.ref-edit-profile{margin-top:3px;padding:5px 10px}.settings-panel .settings-intro{display:none}
@media(max-width:900px){
 .content{padding:12px 20px 82px}.page-title.ref-title{margin:0 0 10px}.page-title.ref-title h1{font-size:18px}.notif-read-form{display:none}
 .ref-favorite-list{border-radius:10px}.ref-favorite-row{grid-template-columns:46px 1fr 32px;padding:9px 8px}.ref-favorite-row>img{width:42px;height:42px}.ref-tabs{height:34px}.ref-tabs .tab{padding:7px}
 .chat-layout{border:0;box-shadow:none;min-height:calc(100vh - 138px);border-radius:0}.chat-list{border:0}.chat-list-head{padding:0 0 9px}.chat-list-head h2{font-size:18px}.chat-person{grid-template-columns:42px 1fr auto;padding:9px 2px;border-top:0;border-bottom:1px solid #edf1f5}.chat-person.active{background:transparent}.chat-person .avatar-img{width:40px;height:40px}.chat-person b{font-size:11px}.chat-person small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.chat-window{border:1px solid var(--line);border-radius:10px;overflow:hidden}.chat-header{padding:10px}.messages{padding:12px;background:#fff}.bubble{font-size:10px;max-width:78%;border-radius:10px}.chat-form{bottom:64px;padding:9px;background:#fff}.chat-form input{height:38px}
 .account-wrap{max-width:none}.account-wrap>.panel{border:0;box-shadow:none;padding:0}.profile-head{padding:6px 0 12px;gap:12px}.profile-head .profile-avatar{width:50px;height:50px}.profile-head h2{font-size:13px}.profile-head p{font-size:9px}.profile-edit-form{margin-top:8px!important;padding:10px;background:#f8fbfe;border-radius:9px}.menu-row{padding:13px 2px;font-size:10px}.menu-row .menu-fa{color:#166fb9}.account-wrap .btn.danger.wide{height:38px;background:#fff4f4;color:#e34b4b;border:1px solid #ffcaca}.account-gear{display:block}
 .notice{grid-template-columns:36px 1fr auto;gap:9px;padding:11px 2px}.notice-icon{width:34px;height:34px}.notice b{font-size:10px}.notice .muted{font-size:8px!important;line-height:1.4}.notice>small{font-size:8px}.panel.panel-pad:has(.notice){border:0;box-shadow:none;padding:0}
 .settings-panel{border:0!important;padding:0!important}.settings-list{border-top:1px solid var(--line)}.setting-row{padding:14px 2px!important}
}

/* Chat polish: vector icons + reference-like mobile conversation */
.chat-back{width:30px;height:30px;display:grid;place-items:center;color:#5f7087;border-radius:50%;font-size:13px;flex:0 0 30px}
.chat-back:hover{background:#f3f7fb;color:var(--blue)}
.icon-submit i{font-size:15px;line-height:1;color:#fff}
.chat-window{display:flex;flex-direction:column;background:#fff}
.chat-header{min-height:62px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e8eef5;background:#fff}
.messages{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px}
.bubble{padding:10px 12px;line-height:1.55;box-shadow:none}
.bubble.them{align-self:flex-start;background:#fff;border:1px solid #dce7f1;color:#17385f;border-radius:12px 12px 12px 4px}
.bubble.me{align-self:flex-end;background:var(--blue);color:#fff;border-radius:12px 12px 4px 12px}
.message-time{display:block;margin-top:5px;font-size:7px;opacity:.62}
.chat-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:8px;border-top:1px solid #e8eef5;padding:10px;background:#fff}
.chat-form input{width:100%;height:42px;border:1px solid #d9e5ef;border-radius:10px;padding:0 12px;outline:0;background:#fff}
.chat-form input:focus{border-color:#8ec8ff;box-shadow:0 0 0 3px rgba(32,146,245,.08)}
.icon-submit{width:42px;height:42px;border-radius:10px;padding:0;display:grid;place-items:center}
@media(max-width:900px){
 .content:has(.chat-layout){padding:0 0 64px}
 .content:has(.chat-layout)>.alert{margin:10px 14px}
 .chat-layout{height:calc(100dvh - 120px);min-height:0;border:0!important;border-radius:0!important}
 .chat-window{height:100%;border:0!important;border-radius:0!important;overflow:hidden}
 .chat-header{padding:8px 14px;min-height:58px}
 .chat-header .avatar-img{width:38px;height:38px}
 .messages{padding:14px 14px 12px;background:#fbfdff}
 .bubble{font-size:10px;max-width:82%;padding:9px 11px}
 .chat-form{position:static!important;bottom:auto!important;padding:9px 14px calc(9px + env(safe-area-inset-bottom));min-height:62px}
 .chat-form input{height:40px}
 .icon-submit{width:40px;height:40px;border-radius:9px}
}

/* === Reference fidelity pass: all primary screens === */
:root{--ref-blue:#1688f8;--ref-navy:#10264a;--ref-muted:#8493a7;--ref-line:#e8eef5}
.rating i{color:#f6ad1b;font-size:.9em}.back-link{display:inline-flex;align-items:center;gap:7px}.asset-button{font-size:17px}.asset-button.is-fav{color:#1688f8}
.provider-mobile-top{display:none}.provider-actions{display:flex;gap:8px;margin:14px 0}.provider-actions>*{flex:1}.provider-actions .btn{width:100%}.provider-head{display:flex;align-items:center;gap:14px}.provider-head h1{margin:0 0 4px}.provider-head p{margin:0 0 4px}.provider-profile{text-align:left}.provider-info{grid-template-columns:repeat(3,1fr)}
.notification-list{margin-top:10px}.notif-tabs{margin-top:0;grid-template-columns:repeat(4,1fr);width:100%}.notif-tabs .tab{text-align:center}
.ref-calendar{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px}.ref-calendar-grid button.day{border:0;background:transparent;padding:8px 4px;border-radius:8px;color:var(--text);font-size:10px}.ref-calendar-grid button.day.selected{background:var(--blue);color:#fff;font-weight:700}.cal-nav{border:0;background:transparent;color:#5b6d84;width:28px;height:28px}.duration-field{margin-bottom:10px}

@media(max-width:900px){
 body{background:#fff}.shell{display:block}.main-wrap{min-height:100dvh}.topbar{display:none}.content{width:100%;margin:0;padding:14px 18px 78px}.sidebar{display:none!important}.page-title{margin:0 0 12px}.page-title h1{font-size:18px;line-height:1.2}.page-title p{font-size:8.5px;margin-top:4px}.panel{box-shadow:none}.section-head{margin:16px 0 8px}.section-head h2{font-size:12px}.link{font-size:9px}.btn{border-radius:8px}
 .bottom-nav{height:58px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #e8eef5;box-shadow:none}.bottom-nav a{font-size:7px;gap:3px}.bottom-nav a i{font-size:14px}.bottom-nav a.active{color:#1688f8}
 /* home */
 .home-title{margin-top:1px}.home-title h1{font-size:19px}.home-title p{font-size:8px}.mobile-home-bell{display:grid;width:32px;height:32px;border:1px solid #edf1f5;border-radius:9px;place-items:center;color:#193858;position:relative}.mobile-home-bell span{position:absolute;right:-5px;top:-5px;background:#ff6363;color:#fff;width:17px;height:17px;border-radius:50%;font-size:8px;display:grid;place-items:center;font-weight:800}
 .hero{height:122px;min-height:122px;padding:14px 13px;grid-template-columns:1.2fr .8fr;border-radius:9px}.hero h2{font-size:15px}.hero p{font-size:7.1px;line-height:1.35;max-width:180px}.hero .btn{font-size:7px;padding:6px 10px}.hero-visual{height:122px;margin:-14px -13px -14px -4px}.hero-banner-img.hero-person{height:120px}
 .category-grid{grid-template-columns:repeat(3,1fr);gap:7px}.category-card{min-height:66px;padding:7px 4px;border-radius:9px}.category-icon{width:31px;height:31px}.category-icon img{max-width:100%;max-height:100%}.category-card b{font-size:7.3px}.service-grid{grid-template-columns:repeat(2,1fr);gap:8px}.service-media{height:83px}.service-body{padding:8px}.service-body h3{font-size:9px}.rating{font-size:7.5px}.price{font-size:8px;margin-top:4px}.price strong{font-size:9px}
 /* service list */
 .content:has(.service-list) .page-title p{display:none}.panel.panel-pad:has(input[name="q"]){border:0;padding:0;margin-bottom:10px!important}.panel.panel-pad:has(input[name="q"]) .field input{height:35px;background:#f7fafc}.filters{gap:6px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.chip{padding:7px 12px;font-size:8px;white-space:nowrap}.service-list{gap:0}.service-row{grid-template-columns:61px 1fr auto;border:0;border-bottom:1px solid #edf1f5;border-radius:0;padding:9px 0}.service-row .thumb{height:51px}.service-row h3{font-size:9.5px}.service-row p{font-size:7px}.service-row .price{font-size:7px;text-align:right}.service-row .price strong{font-size:8.5px}
 /* service detail */
 .detail-layout{display:block}.detail-card{border:0;padding:0}.detail-media{height:190px;border-radius:10px;margin:0 -2px 10px}.detail-card h1{font-size:20px;margin:9px 0 4px}.detail-card>.quick-info{margin:12px 0}.quick-info>div{padding:10px 3px;font-size:8px}.quick-info i{font-size:14px;color:#275a8a}.detail-card h3{font-size:11px;margin:14px 0 6px}.detail-card p{font-size:8px!important;line-height:1.55!important}.sticky-card{position:static;border:0;padding:0;margin-top:10px}.detail-layout>.sticky-card h2,.detail-layout>.sticky-card>p,.detail-layout>.sticky-card>.price,.detail-layout>.sticky-card>.summary-row{display:none}.detail-layout>.sticky-card .btn{height:40px;font-size:10px}.provider-row{box-shadow:none;border-radius:9px;padding:8px}.provider-row h3{margin:0;font-size:9px}
 /* booking */
 .content:has(.booking-layout) .page-title p{display:none}.steps{margin:3px 0 15px}.step{font-size:8px}.step:before{width:22px;height:22px}.step:after{top:11px}.booking-layout{display:block}.booking-layout>section{border:0;padding:0}.booking-layout>aside{display:none}.booking-layout h2{font-size:12px;margin:12px 0 9px}.ref-calendar{padding:9px;border:0}.calendar-head{font-size:9px}.calendar{gap:1px}.calendar span,.ref-calendar-grid button.day{font-size:7.5px;padding:7px 2px}.duration-field label,.field>label{font-size:8px}.duration-field select{height:34px;font-size:8px}.time-grid{gap:6px}.time-grid .select-card{padding:8px 6px;font-size:8px;text-align:center}.booking-layout .btn.wide{height:39px;font-size:9px;margin-top:8px}
 /* orders */
 .content:has(.orders) .page-title p{display:none}.content:has(.orders) .tabs{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.content:has(.orders) .tab{text-align:center;font-size:7px}.orders{border:0;margin-top:10px}.order-head{display:none}.order-row{grid-template-columns:54px 1fr auto;padding:9px 0;border-bottom:1px solid #edf1f5}.order-row .thumb{height:48px}.order-row b{font-size:9px}.order-row .muted{font-size:7px!important}.order-row .price{font-size:7.5px!important}.badge{font-size:7px;padding:4px 7px}
 /* favorites */
 .ref-title h1{font-size:18px}.ref-tabs{background:#f5f8fb;height:34px;border-radius:9px}.ref-tabs .tab{font-size:8px}.ref-favorite-list{border:0}.ref-favorite-row{padding:8px 0;border-bottom:1px solid #edf1f5}.ref-favorite-row>img{width:40px;height:40px}.ref-fav-copy b{font-size:9px}.ref-fav-copy small,.ref-fav-copy em{font-size:7px}.ref-chat-dot{width:27px;height:27px;font-size:10px}
 /* chat */
 .content:has(.chat-layout){padding:10px 16px 58px}.chat-layout{height:calc(100dvh - 68px)}.chat-list-head h2{font-size:18px!important}.chat-person{padding:10px 0}.chat-person .avatar-img{width:38px;height:38px}.chat-person b{font-size:9px}.chat-person small{font-size:7px;max-width:205px}.chat-window{background:#fff}.chat-header{min-height:56px;padding:8px 2px;border-bottom:1px solid #edf1f5}.chat-header .avatar-img{width:38px;height:38px}.chat-header b{font-size:10px}.messages{background:#fff;padding:13px 2px}.bubble{font-size:8.7px;max-width:78%;padding:9px 10px}.chat-form{padding:9px 0 calc(9px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 40px}.chat-form input{height:38px;font-size:9px}.icon-submit{width:38px;height:38px}.icon-submit i{font-size:13px}
 /* account */
 .account-wrap>.panel{border:0}.profile-head{padding:3px 0 11px}.profile-head .profile-avatar{width:48px;height:48px}.profile-head h2{font-size:11px!important}.profile-head p{font-size:7.5px!important}.ref-edit-profile{font-size:7px;padding:5px 9px}.menu-row{padding:12px 1px;font-size:8.5px}.menu-fa{width:20px;text-align:center}.menu-arrow{font-size:8px;color:#a5b1bf}.account-wrap .btn.danger.wide{height:38px;font-size:9px}
 /* notifications */
 .notif-tabs{height:34px;background:#f5f8fb;border-radius:9px;margin-bottom:7px}.notif-tabs .tab{font-size:7px;padding:7px 5px}.notification-list{border:0;padding:0;margin:0}.notice{grid-template-columns:34px 1fr auto;padding:10px 0;border-bottom:1px solid #edf1f5}.notice-icon{width:32px;height:32px;border-radius:9px}.notice b{font-size:9px}.notice .muted{font-size:7px!important}.notice>small{font-size:7px}
 /* provider */
 .provider-mobile-top{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;margin:-2px 0 5px}.provider-back,.provider-more{width:32px;height:32px;border:0;background:transparent;display:grid;place-items:center;color:#53667e}.provider-profile{border:0;padding:0}.provider-head{gap:11px}.provider-avatar{width:52px!important;height:52px!important}.provider-head h1{font-size:11px;margin:0}.provider-head p{font-size:7.5px}.provider-head .rating{font-size:7.5px}.provider-actions{margin:10px 0 12px}.provider-actions .btn{height:34px;font-size:8px}.provider-info{display:grid;grid-template-columns:1fr;gap:0;border:0;margin:0}.provider-info>div{border:0!important;border-bottom:1px solid #edf1f5!important;text-align:left!important;padding:10px 0!important;display:grid;grid-template-columns:22px 1fr;align-items:center}.provider-info>div i{grid-row:1/3;color:#1b6eaf}.provider-info>div b,.provider-info>div span{text-align:left}.provider-profile>div[style="text-align:left"] h3{font-size:10px}.provider-profile>div[style="text-align:left"] p{font-size:8px!important}
 /* success */
 .success-box{border:0;margin:10px auto;padding:10px 0;max-width:360px}.success-box .asset-success img{max-width:110px}.success-box h1{font-size:18px}.success-box>p{font-size:8px}.success-box .summary-row{font-size:8px}.success-box .btn{height:38px;font-size:9px}
}

/* ===== production polish / functional account upgrade ===== */
.content{width:min(1040px,calc(100% - 48px));padding-top:24px}.panel-pad{padding:20px}.user-avatar-img{object-fit:cover;border:1px solid var(--line);background:#fff}.profile-avatar{object-fit:cover}.profile-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.avatar-picker{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.avatar-choice{position:relative}.avatar-choice input{position:absolute;opacity:0}.avatar-choice img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid transparent;padding:2px}.avatar-choice input:checked+img{border-color:var(--blue);box-shadow:0 0 0 3px #e7f3ff}.upload-box{border:1px dashed #bdd5ea;border-radius:10px;padding:14px;background:#f9fcff}.kyc-status{display:inline-flex;gap:7px;align-items:center;padding:7px 10px;border-radius:8px;background:#fff6dc;color:#8a6500;font-size:11px;font-weight:700}.kyc-status.verified{background:#eaf9f3;color:#087451}.settings-list form{display:grid;gap:8px}.setting-row input{accent-color:var(--blue);width:18px;height:18px}.auth-switch{text-align:center;font-size:12px;margin-top:16px}.auth-switch a{color:var(--blue);font-weight:800}.stack select{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:9px;padding:11px;background:#fff}.notif-tabs .tab{cursor:pointer}.notif-tabs .tab.active{color:var(--blue);border-color:var(--blue)}.notice.is-filtered{display:none}.install-pwa{display:none}
@media(min-width:1400px){.content{width:min(1080px,calc(100% - 64px))}.hero{min-height:180px}.service-media{height:125px}}
@media(max-width:900px){.content{width:100%;padding:18px 16px 82px}.notif-read-form{display:block!important}.notif-read-form .btn{font-size:8px;padding:7px 9px}.notification-list{padding:8px!important}.notice{grid-template-columns:34px minmax(0,1fr) auto!important}.profile-tools{gap:6px}.avatar-choice img{width:48px;height:48px}.panel-pad{padding:14px}.settings-illustration{max-width:86px}}

/* booking calendar functional states */
.ref-calendar-grid button.day.is-disabled,.ref-calendar-grid button.day:disabled{opacity:.28;cursor:not-allowed;background:transparent;color:#8b98a9}.cal-nav:disabled{opacity:.25;cursor:not-allowed}

/* ===== v3 functional marketplace / admin / wallet ===== */
.notif-tabs .tab.active{background:var(--blue)!important;color:#fff!important;border-color:var(--blue)!important;border-radius:8px}.notif-tabs .tab.active:hover{color:#fff!important}.notice.unread{background:#f1f8ff}.notice{transition:.18s}.notice:hover{background:#f7fbff}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:6px}.metric-card small{color:var(--muted);font-size:10px}.metric-card strong{font-size:20px;color:var(--navy)}.trend{font-size:10px;font-weight:700}.trend.up{color:#15926c}.trend.down{color:#d94d4d}.explore-head{margin-top:28px}.explore-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}.explore-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 7px;text-align:center;display:grid;place-items:center;gap:7px;min-height:92px}.explore-card:hover{border-color:#b9dafe;transform:translateY(-1px)}.explore-card img{width:38px;height:38px;object-fit:contain}.explore-card span{font-size:10px;font-weight:700}.status-card{margin-top:18px;padding:14px;background:#f5faff;border:1px solid #dcedff;border-radius:12px;display:flex;gap:12px;align-items:center}.status-card h3{margin:2px 0;color:var(--blue)}.status-card p{margin:0;font-size:11px}.status-pulse{width:44px;height:44px;border-radius:50%;background:#dcefff;color:var(--blue);display:grid;place-items:center;position:relative}.status-pulse:after{content:'';position:absolute;inset:-5px;border:2px solid #8ec7ff;border-radius:50%;animation:pulseStatus 1.8s infinite}@keyframes pulseStatus{0%{opacity:.8;transform:scale(.8)}100%{opacity:0;transform:scale(1.25)}}.status-timeline{display:grid;grid-template-columns:repeat(6,1fr);margin:17px 0 4px}.timeline-step{position:relative;text-align:center;color:#a6b2bf;font-size:9px}.timeline-step:before{content:'';height:2px;background:#e4ebf2;position:absolute;top:10px;left:-50%;right:50%}.timeline-step:first-child:before{display:none}.timeline-step span{width:21px;height:21px;border-radius:50%;background:#eef2f6;display:grid;place-items:center;margin:0 auto 6px;position:relative;z-index:1;font-size:8px}.timeline-step.active{color:var(--blue)}.timeline-step.active:before{background:var(--blue)}.timeline-step.active span{background:var(--blue);color:#fff}.wallet-balance{background:linear-gradient(135deg,#0f79d7,#209bff);color:#fff;border-radius:16px;padding:22px;display:grid;gap:5px}.wallet-balance strong{font-size:28px}.wallet-balance small{opacity:.8}.wallet-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 22px}.transaction-row{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.transaction-row>div{display:grid}.transaction-row small{font-size:9px;color:var(--muted);margin-top:3px}.transaction-row .plus{color:#149069}.transaction-row .minus{color:#dc5757}.txn-icon{width:34px;height:34px;border-radius:10px;background:#edf7ff;color:var(--blue);display:grid;place-items:center}.bank-card{display:grid!important;grid-template-columns:34px 1fr;gap:10px;align-items:center}.bank-card>i{font-size:20px;color:var(--blue)}.bank-card p{margin:4px 0 0}.modal-backdrop{position:fixed;inset:0;background:rgba(9,26,45,.45);z-index:200;display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}.modal-backdrop.show{display:flex}.app-modal{width:min(420px,100%);background:#fff;border-radius:16px;padding:22px;box-shadow:0 25px 80px #071d3540;position:relative}.modal-close{position:absolute;right:13px;top:12px;border:0;background:#f1f5f8;width:30px;height:30px;border-radius:50%;font-size:20px}.location-box{text-align:center}.location-orbit{width:68px;height:68px;border-radius:50%;background:#e9f5ff;color:var(--blue);display:grid;place-items:center;font-size:25px;margin:0 auto 14px;box-shadow:0 0 0 10px #f5faff}.location-box h2{color:var(--navy)}.location-box p{color:var(--muted);font-size:12px;line-height:1.7}.location-actions{display:grid;gap:8px;margin:16px 0 10px}.admin-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.admin-head h1{margin:4px 0;color:var(--navy)}.admin-head p{margin:0;color:var(--muted)}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:800;color:var(--blue)}.live-pill{background:#ecfbf5;color:#14815f;border:1px solid #c5efdf;border-radius:30px;padding:8px 11px;font-size:10px;font-weight:700}.live-pill i{display:inline-block;width:7px;height:7px;background:#16a977;border-radius:50%;margin-right:5px;animation:pulseDot 1.4s infinite}@keyframes pulseDot{50%{opacity:.25}}.admin-metrics{grid-template-columns:repeat(4,1fr)}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.admin-inline{display:flex;gap:7px;flex-wrap:wrap}.admin-inline input{border:1px solid var(--line);border-radius:8px;padding:9px;min-width:0;flex:1}.mini-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.mini-row span{display:grid}.mini-row small{font-size:9px;color:var(--muted)}.traffic-row{display:grid;grid-template-columns:90px 1fr 35px 45px;align-items:center;gap:8px;padding:6px 0;font-size:10px}.traffic-row>div{height:7px;background:#eef2f6;border-radius:8px;overflow:hidden}.traffic-row>div i{display:block;height:100%;background:var(--blue);border-radius:8px}.traffic-row small{color:var(--muted)}.audit-row{display:grid;grid-template-columns:27px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}.audit-row>i{color:var(--blue);margin-top:3px}.audit-row>div{display:grid}.audit-row small,.audit-row span{font-size:9px;color:var(--muted);margin-top:2px}.admin-user-head,.admin-user-row{display:grid;grid-template-columns:2fr .6fr .6fr .7fr;gap:10px;align-items:center;padding:9px}.admin-user-head{background:#f5f8fb;border-radius:8px;font-size:10px}.admin-user-row{border-bottom:1px solid var(--line);font-size:10px}.admin-user-row>span:first-child{display:grid}.admin-user-row small{font-size:8px;color:var(--muted)}
@media(max-width:900px){.bottom-nav{height:72px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;align-items:flex-start!important}.bottom-nav a{min-width:54px;padding:4px 5px!important;gap:4px!important}.bottom-nav a i{font-size:16px!important}.bottom-nav a span{font-size:8px!important}.content{padding-bottom:96px!important}.metric-grid,.admin-metrics{grid-template-columns:repeat(2,1fr)}.provider-metrics .metric-card:first-child{grid-column:1/-1}.metric-card{padding:12px}.metric-card strong{font-size:16px}.explore-grid{grid-template-columns:repeat(4,1fr)}.explore-card{min-height:78px;padding:8px 4px}.explore-card img{width:31px;height:31px}.status-timeline{overflow-x:auto;grid-template-columns:repeat(6,75px);padding-bottom:6px}.admin-head{align-items:flex-start;gap:10px}.live-pill{white-space:nowrap}.admin-grid{grid-template-columns:1fr}.admin-user-head{display:none}.admin-user-row{grid-template-columns:1fr auto auto;gap:6px}.admin-user-row>span:first-child{grid-column:1/-1}.traffic-row{grid-template-columns:65px 1fr 25px 40px}.app-modal{padding:20px 16px}.wallet-balance strong{font-size:23px}}

/* ===== V4 orders, direct chat, public about ===== */
.order-card-list{display:grid;gap:10px}.order-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:11px;color:inherit}.order-card>img{width:88px;height:76px;object-fit:cover;border-radius:9px}.order-card-copy{display:grid;gap:5px;min-width:0}.order-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.order-card-copy>span{font-size:10px}.order-card-copy>strong{font-size:13px;color:var(--navy)}.order-card-copy>small{font-size:9px;color:var(--blue);font-weight:700}.order-detail-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.back-link{font-size:10px;font-weight:700;color:var(--muted)}.order-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px}.order-detail-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.order-detail-title small{font-size:9px;color:var(--muted)}.order-detail-title h1{font-size:22px;color:var(--navy);margin:4px 0}.order-detail-title>strong{font-size:18px;color:var(--blue)}.detail-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.detail-info-grid>div{border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;gap:4px}.detail-info-grid small{font-size:9px;color:var(--muted)}.detail-info-grid b{font-size:10px}.order-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.order-detail-actions form{margin:0}.review-box{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.order-detail-side{height:max-content;position:sticky;top:84px}.trust-note{display:flex;gap:9px;background:#f4faff;border:1px solid #dceeff;border-radius:9px;padding:10px;margin-top:13px;color:#557088}.trust-note i{color:var(--blue)}.trust-note span{font-size:9px;line-height:1.55}.job-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.chat-preview{display:block;margin-top:3px;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-meta{display:grid;justify-items:end;gap:5px}.chat-meta em{font-style:normal;background:var(--blue);color:#fff;min-width:17px;height:17px;padding:0 5px;border-radius:20px;display:grid;place-items:center;font-size:8px}.bubble{white-space:normal;word-break:break-word}
.about-public{background:#f6f9fc;color:#1f3147}.about-shell{width:min(1120px,calc(100% - 40px));margin:0 auto;padding-bottom:40px}.about-top{height:76px;display:flex;align-items:center;justify-content:space-between}.about-top .brand{position:static}.about-hero{background:#fff;border:1px solid #e2eaf2;border-radius:18px;padding:48px;overflow:hidden;position:relative}.about-hero:after{content:'';position:absolute;width:320px;height:320px;border-radius:50%;background:#edf7ff;right:-120px;top:-130px}.about-eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#1688f8}.about-hero h1{font-size:34px;line-height:1.18;max-width:760px;color:#0d2038;margin:9px 0 13px;position:relative;z-index:1}.about-hero>p{max-width:760px;font-size:12px;line-height:1.8;color:#718096;position:relative;z-index:1}.about-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:30px;position:relative;z-index:1}.about-trust-grid>div{border:1px solid #e3ebf3;border-radius:12px;padding:15px;display:grid;gap:6px}.about-trust-grid i{color:#1688f8;font-size:19px}.about-trust-grid b{font-size:10px}.about-trust-grid small{font-size:9px;line-height:1.5;color:#718096}.about-section{padding:42px 4px}.about-section h2{font-size:21px;color:#0d2038;margin:7px 0 18px}.about-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.about-steps article,.about-card{background:#fff;border:1px solid #e2eaf2;border-radius:12px;padding:17px}.about-steps span{font-size:9px;font-weight:800;color:#1688f8}.about-steps h3,.about-card h3{font-size:12px;color:#0d2038}.about-steps p,.about-card p,.about-facts p{font-size:9px;color:#718096;line-height:1.7}.about-two{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding-top:0}.about-card i{color:#1688f8;font-size:20px}.about-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.about-facts>div{background:#fff;border:1px solid #e2eaf2;border-radius:12px;padding:20px}.about-kv{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:9px}.about-kv span{color:#718096}.about-footer{border-top:1px solid #e2eaf2;display:flex;justify-content:space-between;padding:22px 4px;font-size:8px;color:#8b99aa}
@media(max-width:900px){.order-detail-layout{grid-template-columns:1fr}.order-detail-side{position:static}.order-detail-title h1{font-size:17px}.detail-info-grid{grid-template-columns:1fr}.order-card{grid-template-columns:74px minmax(0,1fr)}.order-card>img{width:74px;height:68px}.order-tabs{overflow-x:auto;white-space:nowrap}.about-shell{width:min(100% - 24px,720px)}.about-top{height:64px}.about-hero{padding:26px 18px}.about-hero h1{font-size:24px}.about-trust-grid,.about-steps,.about-two,.about-facts{grid-template-columns:1fr}.about-section{padding:26px 0}.about-footer{gap:12px;flex-direction:column}}


/* V5 — clean order detail + mobile-safe layout */
.order-detail-main,.order-detail-side{min-width:0;overflow:hidden}
.order-detail-title{min-width:0}
.order-title-copy{min-width:0;overflow:hidden}
.order-title-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.order-title-copy h1{overflow-wrap:anywhere}
.order-price{flex:0 0 auto;font-size:18px;font-weight:800;color:var(--blue);white-space:nowrap;text-align:right}
.detail-info-grid>div{min-width:0}
.detail-info-grid b{overflow-wrap:anywhere}
.order-detail-actions .btn,.order-detail-actions form{min-width:0}

@media(max-width:900px){
  .content{padding-left:14px!important;padding-right:14px!important}
  .order-detail-head{margin-bottom:10px}
  .order-detail-layout{display:block}
  .order-detail-main{padding:14px!important;border-radius:12px}
  .order-detail-title{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
  .order-title-copy h1{font-size:16px!important;line-height:1.25;margin:4px 0 0!important}
  .order-price{font-size:14px;max-width:112px;overflow:hidden;text-overflow:ellipsis}
  .status-card{padding:12px;margin-top:14px;align-items:flex-start}
  .status-pulse{width:38px;height:38px;flex:0 0 38px}
  .status-card h3{font-size:15px;margin:1px 0 3px}
  .status-card p{font-size:9px;line-height:1.5}
  .status-timeline{display:flex!important;overflow-x:auto;gap:0;margin:14px -4px 4px;padding:0 4px 7px;scrollbar-width:none}
  .status-timeline::-webkit-scrollbar{display:none}
  .timeline-step{flex:0 0 72px;font-size:8px;line-height:1.25}
  .timeline-step:before{left:-50%;right:50%}
  .detail-info-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px;margin-top:13px}
  .detail-info-grid>div{padding:10px 11px;border-radius:9px}
  .detail-info-grid small{font-size:8px}
  .detail-info-grid b{font-size:10px;line-height:1.45}
  .order-detail-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
  .order-detail-actions>a,.order-detail-actions form,.order-detail-actions form .btn{width:100%!important}
  .order-detail-actions .btn{min-height:38px;padding:9px 8px!important;font-size:9px;justify-content:center}
  .order-detail-side{margin-top:10px;padding:13px!important;border-radius:12px}
  .order-detail-side h3{font-size:13px;margin-top:0}
  .summary-row{font-size:9px}
  .trust-note{padding:9px}.trust-note span{font-size:8px}
  .back-link{font-size:9px}
  .order-detail-head .badge{font-size:8px;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

@media(max-width:380px){
  .order-detail-title{grid-template-columns:1fr}
  .order-price{text-align:left;max-width:none}
  .order-detail-actions{grid-template-columns:1fr}
}


/* ===== V5.3 custom in-app dialog (no browser alert/confirm) ===== */
body.dialog-open{overflow:hidden}
.hs-dialog-backdrop{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,24,43,.48);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.hs-dialog-backdrop.show{opacity:1;visibility:visible}
.hs-dialog{width:min(390px,100%);background:#fff;border:1px solid #e6edf5;border-radius:18px;padding:22px;box-shadow:0 24px 80px rgba(7,29,53,.22);transform:translateY(10px) scale(.98);transition:transform .18s ease;text-align:center}
.hs-dialog-backdrop.show .hs-dialog{transform:translateY(0) scale(1)}
.hs-dialog-icon{width:54px;height:54px;margin:0 auto 13px;border-radius:50%;display:grid;place-items:center;background:#eaf5ff;color:var(--blue);font-size:21px;box-shadow:0 0 0 8px #f6fbff}
.hs-dialog[data-type=\"danger\"] .hs-dialog-icon{background:#fff0f0;color:#e05252;box-shadow:0 0 0 8px #fff8f8}
.hs-dialog-copy h3{margin:0 0 8px;color:var(--navy);font-size:17px;line-height:1.3}
.hs-dialog-copy p{margin:0;color:var(--muted);font-size:11px;line-height:1.7;white-space:pre-line}
.hs-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}
.hs-dialog[data-type=\"info\"] .hs-dialog-actions{grid-template-columns:1fr}
.hs-dialog-actions .btn{height:42px;justify-content:center;border-radius:10px;font-size:10px}
@media(max-width:480px){.hs-dialog-backdrop{padding:16px}.hs-dialog{border-radius:16px;padding:20px 16px}.hs-dialog-copy h3{font-size:15px}.hs-dialog-copy p{font-size:10px}.hs-dialog-actions{gap:8px}.hs-dialog-actions .btn{height:40px}}

/* ===== V5.5 provider service catalog + customer advanced filters ===== */
.provider-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.provider-service-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:12px;overflow:hidden}.provider-service-card>img{width:120px;height:108px;object-fit:cover;border-radius:10px;background:#eef4f9}.provider-service-copy{min-width:0;display:grid;gap:8px}.provider-service-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.provider-service-top small{font-size:8px;color:var(--muted)}.provider-service-top h3{margin:4px 0 0;font-size:13px;color:var(--navy)}.provider-service-copy p{margin:0;font-size:9px;line-height:1.55;color:var(--muted)}.provider-service-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:9px}.provider-service-meta b{color:var(--blue)}.provider-service-meta span{color:var(--muted)}.service-reject-note{font-size:8px;line-height:1.45;padding:8px 9px;border:1px solid #ffd6d6;background:#fff7f7;color:#b94b4b;border-radius:8px}.provider-service-form{margin-top:14px}.service-create-form{display:grid;gap:11px}.service-form-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}.service-create-form textarea{resize:vertical;min-height:120px}
.service-filter-panel{margin-bottom:14px}.service-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.service-search-input{margin:0}.search-with-icon{position:relative}.search-with-icon>i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#91a0b1;font-size:11px}.search-with-icon input{padding-left:34px!important}.filter-submit{height:40px;align-self:end}.advanced-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(150px,.9fr);gap:9px;margin-top:10px;align-items:end}.advanced-filter-grid .field{margin:0}.near-filter{display:flex;align-items:center;cursor:pointer}.near-filter>input{position:absolute;opacity:0;pointer-events:none}.near-filter>span{width:100%;min-height:56px;border:1px solid var(--line);border-radius:10px;padding:9px 10px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;background:#fff}.near-filter i{grid-row:1/3;color:var(--blue);font-size:15px}.near-filter b{font-size:9px;color:var(--navy)}.near-filter small{font-size:7px;color:var(--muted)}.near-filter>input:checked+span{border-color:#76bfff;background:#f1f8ff;box-shadow:0 0 0 2px #dcedff}.filter-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #edf1f5;margin-top:12px;padding-top:10px;font-size:9px;color:var(--muted)}.filter-foot b{color:var(--navy)}.category-scroll{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.category-scroll::-webkit-scrollbar{display:none}.customer-service-results .service-row{align-items:center}.service-result-copy{min-width:0}.service-result-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.service-result-head h3{margin:0}.verified-mini{font-size:7px;font-weight:700;color:#18794e;background:#edf9f2;border:1px solid #cdeedb;border-radius:20px;padding:3px 6px}.service-result-meta{display:flex;gap:10px;flex-wrap:wrap;margin:5px 0;color:#6f8194;font-size:8px}.service-result-meta i{color:var(--blue)}.customer-service-results .price{display:grid;justify-items:end;gap:2px;white-space:nowrap}.customer-service-results .price small,.customer-service-results .price span{font-size:8px;color:var(--muted)}.service-area-line{margin-top:7px;font-size:9px;color:#687c91}.service-area-line i{color:var(--blue);margin-right:4px}.service-detail-gallery img{width:100%;height:100%;object-fit:cover}.service-gallery-thumbs{display:flex;gap:7px;overflow-x:auto;padding:9px 0 3px;scrollbar-width:none}.service-gallery-thumbs::-webkit-scrollbar{display:none}.service-gallery-thumbs button{width:64px;height:54px;border:1px solid var(--line);border-radius:8px;padding:0;background:#fff;overflow:hidden;cursor:pointer;flex:0 0 64px}.service-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
@media(max-width:1000px){.advanced-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.provider-service-grid{grid-template-columns:1fr}}
@media(max-width:700px){.service-search-row{grid-template-columns:1fr}.filter-submit{width:100%}.advanced-filter-grid{grid-template-columns:1fr 1fr}.provider-service-card{grid-template-columns:90px minmax(0,1fr)}.provider-service-card>img{width:90px;height:90px}.service-form-grid{grid-template-columns:1fr}.customer-service-results .service-row{grid-template-columns:78px minmax(0,1fr);gap:10px}.customer-service-results .service-row>.price{grid-column:2;justify-items:start}.service-result-meta{display:grid;gap:4px}.provider-service-top{align-items:flex-start}}
@media(max-width:420px){.advanced-filter-grid{grid-template-columns:1fr}.provider-service-card{grid-template-columns:72px minmax(0,1fr);padding:9px}.provider-service-card>img{width:72px;height:72px}.provider-service-top{display:grid}.provider-service-top .badge{justify-self:start}.customer-service-results .service-row{grid-template-columns:68px minmax(0,1fr)}.customer-service-results .thumb{width:68px!important;height:68px!important}}

/* V5.6 Provider IA + clean search/filter modal */
.provider-dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.provider-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 22px}.provider-shortcut-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;box-shadow:var(--shadow);transition:.18s ease}.provider-shortcut-card:hover{transform:translateY(-1px);border-color:#bddcff}.provider-shortcut-card .shortcut-icon{width:44px;height:44px;border-radius:12px;background:#edf7ff;color:var(--blue);display:grid;place-items:center;font-size:18px}.provider-shortcut-card b{display:block;color:var(--navy);font-size:13px}.provider-shortcut-card small{display:block;margin-top:4px;color:var(--muted);font-size:10px;line-height:1.45}.provider-shortcut-card>i{color:#a8b5c5;font-size:11px}.provider-order-preview,.provider-order-list{display:grid;gap:10px}.provider-order-row{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:18px}.provider-order-main{display:grid;gap:5px;min-width:0}.provider-order-main b{font-size:13px;color:var(--navy)}.provider-order-main span{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.provider-order-end{display:flex;align-items:center;gap:12px;flex:0 0 auto}.provider-order-end strong{font-size:12px;color:var(--navy)}.provider-order-end>i{color:#a7b4c4;font-size:10px}.provider-order-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.provider-order-stats>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 14px}.provider-order-stats small{display:block;color:var(--muted);font-size:9px;margin-bottom:4px}.provider-order-stats strong{font-size:20px;color:var(--navy)}.provider-tabs{margin-bottom:14px}.provider-order-card{padding:15px 16px;display:block}.provider-order-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.provider-order-card-head small{font-size:8px;color:#9aa9bb}.provider-order-card-head h3{margin:4px 0 0;font-size:14px;color:var(--navy)}.provider-order-card-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;color:#6e8096;font-size:9px}.provider-order-card-meta i{color:var(--blue);margin-right:4px}.provider-order-card-foot{border-top:1px solid #edf2f7;padding-top:11px;display:flex;justify-content:space-between;align-items:center}.provider-order-card-foot strong{color:var(--navy)}.provider-order-card-foot span{font-size:9px;color:var(--blue);font-weight:700}.provider-title-actions{display:flex;gap:8px;flex-wrap:wrap}.provider-service-form-focused{margin-top:18px;scroll-margin-top:82px;box-shadow:0 0 0 3px rgba(23,140,246,.08),var(--shadow)}
.customer-search-title{margin-bottom:12px}.customer-search-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:10px}.customer-search-input{height:48px;background:#fff;border:1px solid var(--line);border-radius:13px;display:grid;grid-template-columns:20px minmax(0,1fr) 38px;align-items:center;padding:0 7px 0 14px;box-shadow:var(--shadow)}.customer-search-input>i{color:#8fa0b4}.customer-search-input input{border:0;outline:0;background:transparent;min-width:0;width:100%;padding:0 9px;color:var(--navy)}.customer-search-input button{width:36px;height:36px;border:0;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center}.customer-filter-button{height:48px;border:1px solid var(--line);background:#fff;border-radius:13px;padding:0 16px;display:flex;align-items:center;gap:8px;color:var(--navy);font-weight:700;box-shadow:var(--shadow);position:relative}.customer-filter-button i{color:var(--blue)}.customer-filter-button em{font-style:normal;background:var(--blue);color:#fff;min-width:19px;height:19px;border-radius:20px;display:grid;place-items:center;font-size:9px}.customer-search-summary{display:flex;justify-content:space-between;align-items:center;margin:8px 2px 12px;color:var(--muted);font-size:10px}.customer-search-summary b{color:var(--navy)}.customer-search-summary a{color:var(--blue);font-weight:700}.filter-modal-backdrop{position:fixed;inset:0;z-index:2147482500;background:rgba(9,24,43,.46);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease}.filter-modal-backdrop.open{opacity:1;visibility:visible;pointer-events:auto}.filter-modal{width:min(520px,100%);max-height:min(720px,calc(100vh - 36px));overflow:auto;background:#fff;border-radius:18px;box-shadow:0 26px 80px rgba(9,25,44,.24);padding:20px}.filter-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.filter-modal-head small{color:var(--muted);font-size:9px}.filter-modal-head h2{margin:3px 0 0;font-size:19px;color:var(--navy)}.filter-modal-form{display:grid;gap:12px}.filter-price-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.filter-near-row{margin-top:0}.filter-modal-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;padding-top:5px}.filter-modal-actions .btn{min-height:43px}body.filter-modal-open{overflow:hidden}
@media(max-width:1000px){.provider-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-shortcuts{grid-template-columns:1fr}.provider-order-card-meta{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.provider-page-title{align-items:flex-start;gap:12px}.provider-page-title h1{font-size:20px}.provider-dashboard-metrics{grid-template-columns:1fr 1fr;gap:8px}.provider-dashboard-metrics .metric-card{padding:12px}.provider-dashboard-metrics .metric-card strong{font-size:16px}.provider-shortcut-card{padding:13px;grid-template-columns:40px minmax(0,1fr) auto}.provider-shortcut-card .shortcut-icon{width:40px;height:40px}.provider-order-row{padding:12px;align-items:flex-start}.provider-order-end{display:grid;justify-items:end;gap:6px}.provider-order-end>i{display:none}.provider-order-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.provider-order-stats>div{padding:10px 8px;text-align:center}.provider-order-stats strong{font-size:16px}.provider-tabs{width:100%}.provider-tabs .tab{flex:1;text-align:center;padding:8px 7px}.provider-order-card{padding:13px}.provider-order-card-meta{grid-template-columns:1fr 1fr;gap:7px}.provider-title-actions{width:100%}.provider-title-actions .btn{flex:1}.customer-search-bar{grid-template-columns:minmax(0,1fr) 48px;gap:8px}.customer-filter-button{width:48px;padding:0;justify-content:center}.customer-filter-button span{display:none}.customer-filter-button em{position:absolute;top:-5px;right:-5px}.customer-search-input{height:46px}.customer-filter-button{height:46px}.filter-modal-backdrop{align-items:flex-end;padding:0}.filter-modal{width:100%;max-height:82vh;border-radius:20px 20px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -12px 50px rgba(9,25,44,.18)}.filter-price-row{grid-template-columns:1fr 1fr}.filter-modal-actions{position:sticky;bottom:0;background:#fff;padding-top:10px}.customer-service-results .service-row{border-radius:13px}.customer-search-title p{max-width:90%}}
@media(max-width:420px){.provider-dashboard-metrics{grid-template-columns:1fr 1fr}.provider-order-card-meta{grid-template-columns:1fr}.provider-order-stats{grid-template-columns:repeat(2,1fr)}.filter-price-row{grid-template-columns:1fr}.filter-modal-actions{grid-template-columns:1fr 1fr}.customer-search-input input{font-size:12px}.provider-order-card-head{align-items:flex-start}}

/* ===== V5.7 mobile service result layout fix ===== */
.customer-service-results .service-row{
  width:100%;
  min-width:0;
  overflow:hidden;
}
.customer-service-results .service-row>.thumb{
  width:78px;
  min-width:78px;
  overflow:hidden;
}
.customer-service-results .service-row>.thumb img{
  width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;
}
.customer-service-results .service-result-copy{
  width:100%;min-width:0;
}
.customer-service-results .service-result-copy>p{
  line-height:1.45;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.customer-service-results .service-result-head h3{
  min-width:0;
  overflow-wrap:anywhere;
}

@media(max-width:700px){
  .customer-service-results .service-row{
    grid-template-columns:68px minmax(0,1fr) minmax(68px,auto)!important;
    gap:10px!important;
    align-items:center;
    padding:11px 0!important;
    border-radius:0!important;
  }
  .customer-service-results .service-row>.thumb{
    width:68px!important;
    min-width:68px!important;
    height:68px!important;
  }
  .customer-service-results .service-result-copy{
    grid-column:2;
    align-self:center;
  }
  .customer-service-results .service-result-head{
    gap:5px;
    flex-wrap:wrap;
  }
  .customer-service-results .service-result-head h3{
    font-size:10.5px!important;
    line-height:1.3;
  }
  .customer-service-results .verified-mini{
    font-size:6.5px;
    padding:2px 5px;
    flex:0 0 auto;
  }
  .customer-service-results .service-result-copy>p{
    margin:3px 0!important;
    font-size:7.8px!important;
    line-height:1.35;
    -webkit-line-clamp:1;
  }
  .customer-service-results .service-result-meta{
    display:flex!important;
    flex-wrap:wrap;
    gap:3px 8px!important;
    margin:4px 0!important;
    font-size:7.7px!important;
    line-height:1.35;
  }
  .customer-service-results .service-result-meta span{
    min-width:0;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .customer-service-results .rating{
    font-size:7.8px!important;
    line-height:1.3;
  }
  .customer-service-results .service-row>.price{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    justify-items:end!important;
    align-self:center!important;
    margin:0!important;
    text-align:right!important;
    white-space:nowrap;
    min-width:68px;
  }
  .customer-service-results .service-row>.price small{
    font-size:6.8px!important;
    line-height:1;
  }
  .customer-service-results .service-row>.price strong{
    font-size:9.5px!important;
    line-height:1.2;
  }
  .customer-service-results .service-row>.price span{
    font-size:6.8px!important;
    line-height:1;
  }
}

@media(max-width:360px){
  .customer-service-results .service-row{
    grid-template-columns:62px minmax(0,1fr)!important;
  }
  .customer-service-results .service-row>.thumb{
    width:62px!important;min-width:62px!important;height:62px!important;
  }
  .customer-service-results .service-row>.price{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    justify-items:start!important;
    text-align:left!important;
    grid-template-columns:auto auto auto;
    align-items:baseline;
    gap:4px;
    min-width:0;
  }
}


/* V5.8 KYC + Support Center */
.account-wrap .panel:has(.kyc-status), .content .panel:has(.kyc-status){max-width:900px;width:100%;overflow:hidden}
.content .panel:has(.kyc-status) .form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;width:100%}
.content .panel:has(.kyc-status) .field{min-width:0}.content .panel:has(.kyc-status) input[type=file]{width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.content .panel:has(.kyc-status) .field.full{grid-column:1/-1}.content .panel:has(.kyc-status) .btn.primary{grid-column:1/-1;width:100%}
.support-grid{display:grid;gap:18px}.support-title{align-items:end}.support-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.support-section-head h2,.support-live h2{margin:0;font-size:18px}.support-section-head p,.support-live p{margin:4px 0 0}.faq-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:0 12px;min-width:280px;background:#fff}.faq-search input{border:0!important;outline:0;height:40px;width:100%;background:transparent}.faq-list{display:grid;gap:8px}.faq-item{border:1px solid var(--line);border-radius:10px;padding:0 14px;background:#fff}.faq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:13px 0;font-weight:700}.faq-item summary::-webkit-details-marker{display:none}.faq-item p{margin:0;padding:0 0 14px;color:var(--muted);line-height:1.6}.faq-item[open] summary i{transform:rotate(180deg)}
.ticket-list{display:grid;gap:10px}.ticket-row{display:flex;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:10px;padding:13px}.ticket-row>div{display:grid;gap:4px;min-width:0}.ticket-row small,.ticket-row span{font-size:11px;color:var(--muted)}.ticket-row p{margin:5px 0 0;background:#f7f9fc;padding:8px;border-radius:8px;font-size:11px}.support-live{overflow:hidden}.support-live-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.support-live-head>div{display:flex;gap:12px;align-items:center}.support-live-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#eaf4ff;color:var(--blue)}.support-chat-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:420px}.support-history{border-right:1px solid var(--line);padding:14px;display:flex;flex-direction:column;gap:8px}.support-history>b{margin-bottom:4px}.support-history-item{display:grid;gap:3px;padding:10px;border-radius:9px;color:var(--text)}.support-history-item small{font-size:10px;color:var(--muted)}.support-history-item.active{background:#eef6ff;color:#137be0}.support-chat-main{display:flex;flex-direction:column;min-width:0}.support-messages{flex:1;padding:18px;overflow:auto;max-height:450px;display:flex;flex-direction:column;gap:10px;background:#fbfcfe}.support-bubble{max-width:72%;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:12px;line-height:1.5;display:grid;gap:4px}.support-bubble.me{align-self:flex-end;background:#178cf6;color:#fff;border-color:#178cf6}.support-bubble b,.support-bubble small{font-size:9px;opacity:.75}.support-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:12px;border-top:1px solid var(--line)}.support-chat-form input{height:42px}.support-session-ended{padding:15px;text-align:center;color:#448060;background:#f2fbf5;border-top:1px solid #dcefe3}.support-ticket-modal{max-width:520px}
@media(max-width:900px){.content .panel:has(.kyc-status) .form-grid{grid-template-columns:1fr}.content .panel:has(.kyc-status) .field.full,.content .panel:has(.kyc-status) .btn.primary{grid-column:1}.support-section-head{align-items:flex-start;flex-direction:column}.faq-search{min-width:0;width:100%}.support-chat-layout{grid-template-columns:1fr;min-height:0}.support-history{border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;overflow:auto}.support-history>b{display:none}.support-history-item{min-width:145px}.support-live-head{align-items:flex-start;flex-direction:column}.support-live-head>div{align-items:flex-start}.support-live-head form,.support-live-head .btn{width:100%}.support-messages{max-height:360px;min-height:280px;padding:12px}.support-bubble{max-width:86%;font-size:10px}.ticket-row{padding:10px}.support-ticket .btn.small{width:100%}}

/* V5.9 Ratings & verified-order reviews */
.provider-rating-main{font-size:15px;font-weight:800;display:flex;align-items:center;gap:5px}.provider-rating-main span{font-size:12px;font-weight:500;color:var(--muted)}
.review-section{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.review-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.review-section-head h3{margin:0 0 4px;font-size:19px}.review-section-head p{margin:0}.review-score{min-width:130px;text-align:right;display:grid;justify-items:end}.review-score strong{font-size:32px;line-height:1;color:#0b1f3a}.review-score span{font-size:12px;color:#f5a623;font-weight:700;margin-top:5px}.review-score small{color:var(--muted);margin-top:3px}.rating-breakdown{display:grid;gap:7px;max-width:520px;margin-bottom:16px}.rating-break-row{display:grid;grid-template-columns:42px minmax(100px,1fr) 34px;align-items:center;gap:9px;font-size:11px}.rating-break-row>span{white-space:nowrap}.rating-break-row>span i{color:#f5a623;font-size:9px}.rating-break-row>div{height:7px;border-radius:999px;background:#edf1f6;overflow:hidden}.rating-break-row>div>i{display:block;height:100%;border-radius:inherit;background:#f5a623}.rating-break-row>b{text-align:right;font-size:10px;color:var(--muted)}
.review-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}.review-filters a{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:8px;color:#53657a;background:#fff;font-size:11px;font-weight:600}.review-filters a i{color:#f5a623}.review-filters a span{color:#8c9aad}.review-filters a.active{border-color:#188cf5;background:#eef7ff;color:#0d7ee5}.review-list{display:grid;gap:10px}.review-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;padding:14px 0;border-top:1px solid #edf0f4}.review-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#1386ed;font-weight:800}.review-copy{min-width:0}.review-user-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.review-user-line b{font-size:12px}.review-user-line time{font-size:9px;color:var(--muted)}.review-stars{display:flex;gap:2px;margin:4px 0}.review-stars i{font-size:10px;color:#d9dee5}.review-stars i.on{color:#f5a623}.review-copy>small{font-size:9px}.review-copy p{font-size:11px;line-height:1.55;margin:7px 0 0;color:#35475c}.review-empty{padding:25px 0!important}
.customer-review-form{margin-top:20px!important;padding:18px;border:1px solid #dfe8f3;border-radius:12px;background:#fbfdff}.review-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.review-form-head h3{margin:0}.review-form-head p{margin:4px 0 0;font-size:10px}.star-rating-input{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px;margin-top:4px}.star-rating-input input{position:absolute;opacity:0;pointer-events:none}.star-rating-input label{font-size:28px;line-height:1;cursor:pointer;color:#d9dfe7;transition:transform .15s,color .15s}.star-rating-input label:hover{transform:scale(1.08)}.star-rating-input label:hover,.star-rating-input label:hover~label,.star-rating-input input:checked~label{color:#f5a623}.star-rating-caption{display:flex;justify-content:space-between;max-width:210px;font-size:8px;color:var(--muted);margin-top:-3px}.customer-review-form textarea{resize:vertical}.customer-review-form .btn{align-self:flex-start;min-width:170px}
@media(max-width:640px){.review-section{margin-top:18px;padding-top:16px}.review-section-head{align-items:flex-start}.review-score{min-width:82px}.review-score strong{font-size:27px}.review-score span{font-size:9px}.review-filters{gap:6px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;margin-right:-14px}.review-filters a{flex:0 0 auto;min-height:30px;padding:0 10px;font-size:9px}.review-card{grid-template-columns:32px minmax(0,1fr);gap:9px;padding:11px 0}.review-avatar{width:32px;height:32px;font-size:11px}.review-user-line b{font-size:10px}.review-copy p{font-size:9.5px}.customer-review-form{padding:13px}.review-form-head{flex-direction:column}.star-rating-input label{font-size:25px}.customer-review-form .btn{width:100%}}

/* V5.10 floating live support */
.support-float-widget{position:fixed!important;right:22px;bottom:22px;width:min(390px,calc(100vw - 32px));height:540px;max-height:calc(100vh - 44px);z-index:950;background:#fff;border:1px solid #dce7f2;border-radius:18px;box-shadow:0 24px 70px rgba(21,47,74,.22);display:flex;flex-direction:column;overflow:hidden}
.support-float-widget .support-live-head{padding:14px 16px;background:linear-gradient(135deg,#178cf6,#0876d8);color:#fff;border:0;flex:none}
.support-float-widget .support-live-head p{color:#dceeff!important;font-size:10px}.support-float-widget .support-live-icon{background:#fff;color:#178cf6}
.support-float-widget .support-chat-layout{display:flex;flex:1;min-height:0}.support-float-widget .support-history{display:none}.support-float-widget .support-chat-main{flex:1;min-height:0}.support-float-widget .support-messages{max-height:none;min-height:0;height:100%}
.support-float-toggle{margin-left:auto;width:34px;height:34px;border:0;border-radius:9px;background:#ffffff25;color:#fff;cursor:pointer}
.support-float-widget.minimized{width:230px;height:64px}.support-float-widget.minimized .support-chat-layout,.support-float-widget.minimized .support-live-head form,.support-float-widget.minimized .support-live-head>div p{display:none}.support-float-widget.minimized .support-live-head{height:64px}
@media(max-width:640px){.support-float-widget{right:12px;bottom:76px;width:calc(100vw - 24px);height:min(520px,calc(100vh - 110px));border-radius:16px}.support-float-widget.minimized{width:210px;height:60px;right:12px}}

/* V5.11 compact chat bullet + real topup UI */
.support-float-widget{right:18px!important;bottom:18px!important;width:340px!important;height:470px!important;max-height:calc(100vh - 36px)!important;border-radius:16px!important;transition:.18s ease!important}.support-float-widget.minimized{width:54px!important;height:54px!important;border-radius:50%!important;background:#168cf5!important;border:0!important;box-shadow:0 12px 34px rgba(23,140,246,.32)!important;overflow:hidden!important}.support-float-widget.minimized .support-live-head{padding:0!important;width:54px;height:54px!important;display:grid!important;place-items:center!important;background:#168cf5!important}.support-float-widget.minimized .support-live-head>div,.support-float-widget.minimized .support-live-head>form{display:none!important}.support-float-toggle{margin:0!important;width:54px!important;height:54px!important;border-radius:50%!important;background:transparent!important;font-size:18px!important}.support-float-widget:not(.minimized) .support-float-toggle{width:32px!important;height:32px!important;border-radius:9px!important;background:#ffffff22!important;font-size:13px!important;margin-left:auto!important}.support-float-widget:not(.minimized) .support-live-head{padding:12px 13px!important}.support-float-widget:not(.minimized) .support-live-icon{width:34px;height:34px}.support-float-widget:not(.minimized) .support-live-head h2{font-size:14px!important}.support-float-widget:not(.minimized) .support-live-head p{font-size:9px!important}.topup-modal{max-width:470px}.topup-methods{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.topup-methods label{cursor:pointer}.topup-methods input{position:absolute;opacity:0}.topup-methods span{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;align-items:center;padding:11px;border:1px solid var(--line);border-radius:11px}.topup-methods i{grid-row:1/3;color:var(--blue)}.topup-methods small{font-size:9px;color:var(--muted)}.topup-methods input:checked+span{border-color:#168cf5;background:#eff7ff;box-shadow:0 0 0 1px #168cf5}.secure-note,.inline-warning{display:flex;gap:9px;padding:11px;border-radius:10px;font-size:10px;line-height:1.45;margin:10px 0}.secure-note{background:#eff7ff;color:#42627f}.inline-warning{background:#fff7e8;color:#9a6500}.manual-qris-box{display:flex;gap:14px;align-items:center;background:#f8fbfe;border:1px solid var(--line);padding:12px;border-radius:12px;margin:10px 0}.manual-qris-box img{width:140px;height:140px;object-fit:contain;background:#fff;border-radius:8px}.manual-qris-box div{display:grid;gap:5px}.manual-qris-box small{color:var(--muted);font-size:10px}.topup-status-list{display:grid;gap:8px}.topup-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px}.topup-status-row div{display:grid;gap:2px;min-width:0}.topup-status-row small{font-size:9px;color:var(--muted)}.subsection-title{margin-top:22px}
@media(max-width:640px){.support-float-widget{right:12px!important;bottom:74px!important;width:calc(100vw - 24px)!important;height:min(460px,calc(100vh - 100px))!important}.support-float-widget.minimized{width:50px!important;height:50px!important}.support-float-widget.minimized .support-live-head,.support-float-widget.minimized .support-float-toggle{width:50px!important;height:50px!important}.topup-methods{grid-template-columns:1fr}.manual-qris-box{align-items:flex-start}.manual-qris-box img{width:110px;height:110px}.topup-status-row{grid-template-columns:minmax(0,1fr) auto}.topup-status-row .pill{grid-column:2}}

/* V5.12 global modal/form spacing refinements */
.app-modal-card,
.wallet-modal-card,
.modal-card,
.confirm-modal-card,
.filter-modal-card{
  padding:26px 28px!important;
}
.app-modal-card h2,
.app-modal-card h3,
.wallet-modal-card h2,
.wallet-modal-card h3,
.modal-card h2,
.modal-card h3,
.confirm-modal-card h2,
.confirm-modal-card h3,
.filter-modal-card h2,
.filter-modal-card h3{
  margin:0 0 10px!important;
  line-height:1.25!important;
}
.app-modal-card p,
.wallet-modal-card p,
.modal-card p,
.confirm-modal-card p,
.filter-modal-card p{
  margin:0 0 18px!important;
  line-height:1.55!important;
}
.app-modal-card label,
.wallet-modal-card label,
.modal-card label,
.confirm-modal-card label,
.filter-modal-card label{
  display:block!important;
  margin:0 0 7px!important;
}
.app-modal-card input,
.app-modal-card select,
.app-modal-card textarea,
.wallet-modal-card input,
.wallet-modal-card select,
.wallet-modal-card textarea,
.modal-card input,
.modal-card select,
.modal-card textarea,
.confirm-modal-card input,
.confirm-modal-card select,
.confirm-modal-card textarea,
.filter-modal-card input,
.filter-modal-card select,
.filter-modal-card textarea{
  margin:0 0 16px!important;
}
.app-modal-card .btn,
.app-modal-card button[type="submit"],
.wallet-modal-card .btn,
.wallet-modal-card button[type="submit"],
.modal-card .btn,
.modal-card button[type="submit"],
.confirm-modal-card .btn,
.confirm-modal-card button[type="submit"],
.filter-modal-card .btn,
.filter-modal-card button[type="submit"]{
  margin-top:4px!important;
}
.modal-close,
.app-modal-close,
.wallet-modal-close,
.filter-modal-close{
  top:14px!important;
  right:14px!important;
}
.form-row,
.form-grid,
.modal-form-grid{
  row-gap:18px!important;
  column-gap:18px!important;
}
.form-group{
  margin-bottom:18px!important;
}
.form-group:last-child{
  margin-bottom:0!important;
}
/* wallet dialogs */
.wallet-sheet,
.wallet-modal{
  padding:26px 28px!important;
}
.wallet-sheet .wallet-copy,
.wallet-modal .wallet-copy{
  margin-bottom:18px!important;
}
.wallet-sheet input,
.wallet-modal input{
  min-height:46px!important;
}
.wallet-sheet button,
.wallet-modal button{
  min-height:46px!important;
}
/* prevent overly compressed spacing in compact cards */
.card .field + .field,
.panel .field + .field,
.settings-card .field + .field{
  margin-top:14px!important;
}
@media(max-width:640px){
  .app-modal-card,
  .wallet-modal-card,
  .modal-card,
  .confirm-modal-card,
  .filter-modal-card,
  .wallet-sheet,
  .wallet-modal{
    padding:22px 20px!important;
  }
}

.modal-form-spaced{display:flex;flex-direction:column;gap:0}
.modal-form-spaced label{margin-bottom:7px!important}
.modal-form-spaced input,.modal-form-spaced select,.modal-form-spaced textarea{margin-bottom:16px!important}
.modal-form-spaced button[type=submit]{margin-top:2px!important}

/* V5.13 REAL APP-MODAL SPACING FIX */
.app-modal{
  padding:30px 28px 26px!important;
  border-radius:18px!important;
}
.app-modal > h2,
.app-modal > h3{
  margin:0 42px 12px 0!important;
  line-height:1.25!important;
}
.app-modal > p{
  margin:0 0 24px!important;
  line-height:1.55!important;
}
.app-modal form{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
}
.app-modal .field{
  margin:0 0 18px!important;
}
.app-modal .field label{
  display:block!important;
  margin:0 0 8px!important;
  line-height:1.3!important;
}
.app-modal .field input,
.app-modal .field select,
.app-modal .field textarea{
  width:100%!important;
  min-height:46px!important;
  margin:0!important;
}
.app-modal form > .btn,
.app-modal form > button[type="submit"]{
  margin-top:2px!important;
  min-height:46px!important;
}
.app-modal .field + .btn,
.app-modal .field + button[type="submit"]{
  margin-top:4px!important;
}
.app-modal .modal-close{
  top:14px!important;
  right:14px!important;
}
#withdrawModal .app-modal > p{
  margin-bottom:22px!important;
}
#withdrawModal .app-modal .field{
  margin-bottom:18px!important;
}
#withdrawModal .app-modal form > button{
  margin-top:0!important;
}
#topupModal .app-modal > p{
  margin-bottom:22px!important;
}
@media(max-width:640px){
  .app-modal{
    padding:26px 22px 22px!important;
  }
  .app-modal > h2,
  .app-modal > h3{
    margin-right:38px!important;
    margin-bottom:11px!important;
  }
  .app-modal > p{
    margin-bottom:20px!important;
  }
  .app-modal .field{
    margin-bottom:16px!important;
  }
}

/* V5.16 smooth mobile performance */
@supports (content-visibility:auto){
  .service-card,.service-row,.provider-order-card,.ticket-row,.topup-status-row{
    content-visibility:auto;
    contain-intrinsic-size:120px;
  }
}
.service-card,.service-row,.provider-order-card,.ticket-row,.topup-status-row{contain:layout paint style}
@media(max-width:700px){
  .filter-modal-backdrop,.hs-modal-backdrop,.app-modal-backdrop{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    background:rgba(9,24,43,.48)!important;
  }
  .panel,.card,.service-card,.service-row,.provider-order-card,.wallet-card{
    box-shadow:0 2px 10px rgba(16,42,67,.055)!important;
  }
  .support-float-widget{box-shadow:0 10px 28px rgba(21,47,74,.16)!important}
  *{-webkit-tap-highlight-color:transparent}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* V5.17 provider order workflow */
.provider-next-btn{background:#15915f!important;border-color:#15915f!important;color:#fff!important}
.provider-flow-help,.customer-wait-note{margin-top:14px;padding:13px 15px;border:1px solid #d8e8f6;border-radius:12px;background:#f6fbff;display:flex;align-items:flex-start;gap:10px;color:#48657f}
.provider-flow-help i,.customer-wait-note i{color:#168cf5;margin-top:2px}.provider-flow-help div{display:flex;flex-direction:column;gap:3px}.provider-flow-help b{color:#102a43}.provider-flow-help span,.customer-wait-note span{font-size:12px;line-height:1.5}
.outline-danger{background:#fff!important;color:#e24c4c!important}
@media(max-width:640px){.order-detail-actions{display:grid!important;grid-template-columns:1fr!important}.order-detail-actions>a,.order-detail-actions form,.order-detail-actions button{width:100%!important}.provider-flow-help,.customer-wait-note{font-size:12px}}

/* V5.18 settlement/payment environment */
.alert.compact{padding:10px 12px;margin:4px 0 10px;font-size:11px}
.success-flow{background:#f0fbf6!important;border-color:#cbeedc!important}
.success-flow i{color:#15915f!important}

/* V5.19 image anti-copy interaction */
img:not(.allow-image-interaction){
  -webkit-user-drag:none!important;
  user-drag:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}
.service-card img,.hero img,.explore-card img,.provider-profile img,.order-card img,.settings-intro img,.avatar-picker img{
  pointer-events:none;
}

/* V5.21 aggressive mobile smoothness */
@media(max-width:700px){
  html{scroll-behavior:auto!important}
  body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
  .hs-dialog-backdrop,.app-modal-backdrop,.filter-modal-backdrop,.location-modal,.modal-backdrop{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  .hs-dialog,.app-modal,.filter-modal,.support-float-widget,.panel,.card,.service-card,.provider-order-card{
    box-shadow:0 2px 9px rgba(16,42,67,.045)!important;
  }
  .status-pulse,.live-dot,.dot{animation:none!important}
  .service-card,.service-row,.provider-order-card,.ticket-row,.topup-status-row,.notification-item{
    content-visibility:auto;
    contain-intrinsic-size:120px;
    contain:layout paint style;
  }
  .sidebar,.bottom-nav,.topbar{backface-visibility:hidden}
  input,select,textarea{font-size:16px}
}
img{image-rendering:auto}

/* V5.22 QA fixes */
.time-option.is-disabled{opacity:.38;pointer-events:none;background:#f4f6f8!important}
.checkout-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.checkout-section-head h2{margin:0 0 5px}
.checkout-review{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:18px;background:#fbfdff}.checkout-review-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;border-bottom:1px solid var(--line)}.checkout-review-row:last-child{border-bottom:0}.checkout-review-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}.checkout-review-row small{color:var(--muted)}.checkout-review-row b{font-size:12px;line-height:1.45}.checkout-review-row>a{color:var(--blue);font-weight:700;font-size:11px;flex:none}
.quantity-field small{display:block;margin-top:6px;line-height:1.45}
.password-field{position:relative}.password-field input{padding-right:46px!important}.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:transparent;color:#718096;border-radius:8px}
@media(max-width:640px){.checkout-review-row{align-items:flex-start}.checkout-section-head{align-items:center}.booking-summary{position:static!important}}

/* V5.23 auth password field alignment fix */
.auth-card .password-field{
  position:relative;
  width:100%;
  display:block;
}
.auth-card .password-field input{
  width:100%!important;
  min-width:0!important;
  display:block!important;
  padding-right:46px!important;
}
.auth-card .password-toggle{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  color:#718096!important;
  border-radius:8px!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  z-index:2;
}
.auth-card .password-toggle:hover{
  background:#f1f6fb!important;
  color:var(--blue)!important;
}
.auth-card .stack > label{
  width:100%;
  min-width:0;
}
@media(max-width:640px){
  .auth-card .password-field input{min-height:44px!important}
  .auth-card .password-toggle{right:6px!important}
}
