*{box-sizing:border-box}
:root{
  --green:#12a150;
  --green2:#087a38;
  --dark:#07111e;
  --muted:#687386;
  --bg:#f4f7f6;
  --card:#fff;
  --line:#e5ebe9;
}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--dark);
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}

.topbar{
  height:76px;
  padding:0 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:24px;
  font-weight:900;
}
.brand-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:var(--green);
  color:white;
}
.navlinks{display:flex;gap:10px;align-items:center}
.navlinks a,.nav-btn,.logout-btn{
  padding:11px 15px;
  border-radius:999px;
  font-weight:800;
  border:0;
  background:transparent;
  cursor:pointer;
}
.nav-btn.green,.btn{background:var(--green);color:white}
.nav-btn.dark,.dark-btn{background:var(--dark);color:white}
.nav-btn.light{background:#eef3f1}
.logout-btn{background:#fee2e2;color:#991b1b}
.pwa-install-button{
  border:1px solid rgba(18,161,80,.22);
  border-radius:999px;
  padding:10px 13px;
  background:#eefbf3;
  color:var(--green2);
  font-weight:900;
  cursor:pointer;
}
.pwa-install-button[hidden]{
  display:none;
}
.inline{display:inline}

.notice{
  max-width:1100px;
  margin:14px auto;
  padding:14px 18px;
  border-radius:16px;
  font-weight:800;
}
.notice.success{background:#dcfce7;color:#166534}
.notice.error{background:#fee2e2;color:#991b1b}

/* HOME */
.hero-shell{
  max-width:1180px;
  margin:28px auto 0;
  padding:46px;
  min-height:610px;
  border-radius:44px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:40px;
  background:
    radial-gradient(circle at 20% 20%,rgba(18,161,80,.18),transparent 30%),
    radial-gradient(circle at 90% 15%,rgba(8,17,31,.12),transparent 25%),
    linear-gradient(135deg,#fff,#ecfff4);
  box-shadow:0 30px 90px rgba(8,17,31,.09);
}
.pill,.eyebrow{
  display:inline-flex;
  background:#d9fbe7;
  color:var(--green2);
  padding:9px 15px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
}
.hero-left h1{
  max-width:680px;
  margin:18px 0;
  font-size:clamp(46px,5.5vw,82px);
  line-height:.92;
  letter-spacing:-4px;
}
.hero-text{
  max-width:620px;
  margin:0 0 26px;
  color:var(--muted);
  font-size:20px;
  line-height:1.45;
}
.search-box{
  max-width:620px;
  background:white;
  padding:8px;
  border-radius:22px;
  display:grid;
  grid-template-columns:1fr auto;
  box-shadow:0 20px 50px rgba(8,17,31,.12);
  border:1px solid var(--line);
}
.search-input{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
}
.search-input input{
  width:100%;
  border:0;
  outline:0;
  background:white;
  font-size:16px;
  font-weight:700;
}
.search-box button,.booking-card button{
  border:0;
  background:var(--green);
  color:white;
  font-weight:900;
  border-radius:16px;
  padding:16px 23px;
  cursor:pointer;
}
.quick-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.quick-actions a{
  padding:13px 18px;
  background:var(--dark);
  color:white;
  border-radius:16px;
  font-weight:900;
}
.quick-actions a:first-child{background:var(--green)}
.stats-row{
  margin-top:32px;
  display:flex;
  gap:28px;
  flex-wrap:wrap;
}
.stats-row div{display:grid;gap:4px}
.stats-row strong{font-size:26px}
.stats-row span{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}
.phone-card,.phone-preview{
  width:min(100%,390px);
  margin:0 auto;
  border-radius:38px;
  padding:20px;
  background:#07111e;
  color:white;
  box-shadow:0 40px 90px rgba(8,17,31,.28);
  border:8px solid #172130;
}
.phone-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}
.phone-top small,.booking-card span{
  display:block;
  color:#aab4c3;
  font-size:12px;
  margin-bottom:4px;
}
.live-dot{
  width:14px;
  height:14px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 8px rgba(34,197,94,.14);
}
.mini-map{
  height:330px;
  position:relative;
  border-radius:30px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    #101c2d;
  background-size:48px 48px;
}
.route-line{
  width:170px;
  height:170px;
  position:absolute;
  left:75px;
  top:72px;
  border:5px dashed rgba(34,197,94,.75);
  border-left:0;
  border-bottom:0;
  border-radius:0 90px 0 0;
}
.map-pin{
  position:absolute;
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:white;
  font-size:24px;
}
.pin-a{left:40px;bottom:45px}
.pin-b{right:45px;top:55px}
.provider-bubble{
  position:absolute;
  left:30px;
  top:38px;
  background:white;
  color:var(--dark);
  border-radius:20px;
  padding:13px 16px;
  display:grid;
  gap:3px;
  box-shadow:0 18px 40px rgba(0,0,0,.2);
}
.provider-bubble span{
  color:var(--green);
  font-weight:900;
  font-size:13px;
}
.booking-card{
  margin-top:16px;
  padding:13px;
  background:#111d2d;
  border-radius:25px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
}
.provider-avatar{
  width:48px;
  height:48px;
  border-radius:18px;
  background:var(--green);
  display:grid;
  place-items:center;
  font-weight:900;
}
.section-head{
  max-width:1180px;
  margin:50px auto 18px;
  padding:0 10px;
  display:flex;
  justify-content:space-between;
  align-items:end;
}
.section-head h2{
  margin:10px 0 0;
  font-size:38px;
  letter-spacing:-1px;
}
.section-head a{color:var(--green);font-weight:900}
.service-grid{
  max-width:1180px;
  margin:0 auto;
  padding:0 10px 35px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.service-card{
  min-height:235px;
  padding:22px;
  border-radius:30px;
  background:white;
  border:1px solid var(--line);
  box-shadow:0 15px 45px rgba(8,17,31,.06);
  display:flex;
  flex-direction:column;
  transition:.2s;
}
.service-card:hover{transform:translateY(-4px)}
.service-card.green{background:var(--green);color:white}
.service-card.dark{background:var(--dark);color:white}
.service-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  background:rgba(18,161,80,.1);
  display:grid;
  place-items:center;
  font-size:25px;
}
.service-card.green .service-icon,.service-card.dark .service-icon{
  background:rgba(255,255,255,.18);
}
.service-card h3{margin:18px 0 8px;font-size:22px}
.service-card p{margin:0;color:var(--muted);line-height:1.4}
.service-card.green p,.service-card.dark p{color:rgba(255,255,255,.78)}
.service-card span{margin-top:auto;font-weight:900;color:var(--green)}
.service-card.green span,.service-card.dark span{color:white}
.how-it-works{
  max-width:1180px;
  margin:10px auto 80px;
  padding:0 10px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.how-card{
  background:#eaf7ef;
  padding:24px;
  border-radius:26px;
}
.how-card span{color:var(--green);font-weight:900}
.how-card h3{margin:10px 0}
.how-card p{color:var(--muted);margin:0}
.payment-note{
  max-width:1180px;
  margin:-48px auto 70px;
  padding:18px 22px;
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  border:1px solid #cceedd;
  border-radius:22px;
  background:#f3fff8;
  color:var(--dark);
}
.payment-note strong{white-space:nowrap}
.payment-note p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}
.payment-note a{
  white-space:nowrap;
  font-weight:900;
  color:var(--green2);
}

/* FORMS + APP */
.app-shell{
  max-width:1180px;
  margin:0 auto;
  padding:26px 18px 70px;
}
.page-hero{
  border-radius:38px;
  padding:50px;
  background:
    radial-gradient(circle at 15% 10%,rgba(18,161,80,.2),transparent 35%),
    linear-gradient(135deg,#fff,#eafff2);
  box-shadow:0 25px 80px rgba(8,17,31,.08);
  margin-bottom:24px;
}
.small-hero{padding:38px}
.booking-intro-hero{
  padding:30px;
}
.page-hero h1,.admin-hero h1{
  font-size:clamp(34px,5vw,62px);
  letter-spacing:-2px;
  line-height:1;
  margin:15px 0;
}
.page-hero p,.admin-hero p{color:var(--muted);font-size:18px}
.booking-layout{
  display:grid;
  grid-template-columns:1fr 390px;
  gap:22px;
  align-items:start;
}
.panel{
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  box-shadow:0 18px 50px rgba(8,17,31,.06);
}
.panel h1,.panel h2{margin-top:0}
label{
  display:grid;
  gap:8px;
  font-weight:900;
  color:#1f2937;
  margin-bottom:16px;
}
input,select,textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 15px;
  outline:none;
  background:#f9fbfa;
}
textarea{min-height:95px;resize:vertical}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border:0;
  padding:14px 20px;
  border-radius:16px;
  font-weight:900;
  cursor:pointer;
}
.btn.full{width:100%}
.map-card{
  border:1px solid var(--line);
  background:#f8fbfa;
  border-radius:24px;
  padding:14px;
  margin-bottom:16px;
}
.map-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.map-head span{
  display:block;
  color:var(--muted);
  font-size:13px;
}
.map-head button{
  border:0;
  background:var(--dark);
  color:white;
  border-radius:14px;
  padding:11px 13px;
  font-weight:900;
  cursor:pointer;
}
#map,#adminMap{
  height:380px;
  border-radius:20px;
  overflow:hidden;
}

/* ADMIN */
.admin-layout{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:22px;
  max-width:1380px;
  margin:24px auto;
  padding:0 18px;
}
.admin-sidebar{
  background:#07111e;
  color:white;
  border-radius:30px;
  padding:22px;
  min-height:calc(100vh - 125px);
  position:sticky;
  top:96px;
}
.admin-sidebar h2{margin:0 0 20px}
.admin-sidebar a{
  display:block;
  padding:13px 14px;
  border-radius:16px;
  color:#dbe4ef;
  font-weight:800;
  margin-bottom:6px;
}
.admin-sidebar a:hover{background:#111d2d;color:white}
.admin-main{min-width:0}
.admin-hero{
  background:linear-gradient(135deg,#fff,#eafff2);
  border:1px solid var(--line);
  border-radius:32px;
  padding:30px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:20px;
}
.stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:20px;
}
.admin-stat-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin-bottom:20px;
}
.stat-card{
  background:white;
  border:1px solid var(--line);
  border-radius:26px;
  padding:24px;
  box-shadow:0 15px 40px rgba(8,17,31,.05);
}
.stat-card span{color:var(--muted);font-weight:800}
.stat-card strong{
  display:block;
  margin-top:10px;
  font-size:42px;
}
.admin-stat-grid .stat-card{
  padding:18px;
  border-radius:20px;
}
.admin-stat-grid .stat-card strong{
  font-size:30px;
}
.panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.admin-filter-bar{
  display:grid;
  grid-template-columns:2fr repeat(4,1fr) auto;
  gap:10px;
  align-items:end;
  margin-bottom:20px;
}
.admin-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:20px;
}
.admin-list{
  display:grid;
  gap:10px;
}
.admin-list-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:16px;
  padding:13px 15px;
  background:#f9fbfa;
}
.admin-list-row span{
  display:block;
  color:var(--muted);
  margin-top:4px;
}
.document-review-row{
  align-items:flex-start;
}
.document-review-row form{
  display:grid;
  gap:8px;
  min-width:260px;
}
.document-review-row input,
.document-review-row select{
  min-height:36px;
}
.admin-provider-card{
  gap:10px;
}
.admin-request-list{
  display:grid;
  gap:12px;
}
.admin-request-list form{
  display:grid;
  gap:10px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f9fbfa;
  padding:14px;
}
.admin-request-list span,
.admin-request-list p{
  color:var(--muted);
  margin:0;
}
.admin-timeline{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}
.admin-timeline div{
  border-left:4px solid var(--green);
  background:#f9fbfa;
  border-radius:0 14px 14px 0;
  padding:12px 14px;
}
.admin-timeline span{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.table-wrap{overflow:auto}
table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}
th,td{
  text-align:left;
  padding:14px;
  border-bottom:1px solid var(--line);
}
th{
  color:var(--muted);
  font-size:13px;
  text-transform:uppercase;
}
.status{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eefdf3;
  color:#166534;
  font-weight:900;
  font-size:12px;
}
.container{
  max-width:1100px;
  margin:24px auto;
  padding:0 18px;
}
.narrow{max-width:720px}
.offline-shell{
  min-height:100vh;
  padding:24px;
  display:grid;
  place-items:center;
}
.offline-shell .panel{
  max-width:520px;
}
.offline-shell h1{
  margin:14px 0 10px;
  font-size:42px;
  letter-spacing:0;
}

@media(max-width:980px){
  .hero-shell,.booking-layout,.admin-layout{grid-template-columns:1fr}
  .hero-shell{margin:12px;padding:30px;border-radius:30px}
  .service-grid{grid-template-columns:repeat(2,1fr);padding:0 18px 35px}
  .how-it-works{grid-template-columns:repeat(2,1fr);padding:0 18px 70px}
  .payment-note{margin:-46px 18px 56px}
  .admin-sidebar{position:relative;top:0;min-height:auto}
  .stat-grid,
  .admin-stat-grid,
  .admin-filter-bar,
  .admin-two-col{grid-template-columns:1fr}
  .admin-hero{display:block}
  .phone-preview{display:none}
  .navlinks{display:none}
}
@media(max-width:560px){
  .topbar{height:66px;padding:0 16px}
  .brand{font-size:20px}
  .hero-shell{padding:22px}
  .hero-left h1{font-size:44px;letter-spacing:-2px}
  .hero-text{font-size:16px}
  .search-box{grid-template-columns:1fr;gap:8px}
  .search-input{min-height:54px}
  .search-box button{width:100%}
  .stats-row{gap:18px}
  .payment-note{display:block}
  .payment-note strong,
  .payment-note a{display:block;margin-bottom:8px}
  .phone-card{border-width:5px;border-radius:30px}
  .mini-map{height:250px}
  .section-head{padding:0 18px}
  .section-head h2{font-size:30px}
  .service-grid,.how-it-works{grid-template-columns:1fr}
  .two{grid-template-columns:1fr}
  .page-hero,.small-hero{padding:26px;border-radius:28px}
  #map,#adminMap{height:320px}
  .map-head{display:block}
  .map-head button{width:100%;margin-top:10px}
}

.pay-breakdown{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:20px 0;
}
.payment-summary-list{
  display:grid;
  gap:0;
  margin:18px 0 0;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
}
.payment-summary-list div{
  display:grid;
  grid-template-columns:minmax(86px,.4fr) minmax(0,1fr);
  gap:12px;
  padding:14px;
  border-bottom:1px solid var(--line);
}
.payment-summary-list div:last-child{
  border-bottom:0;
}
.payment-summary-list span{
  color:var(--muted);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
}
.payment-summary-list strong{
  min-width:0;
  overflow-wrap:anywhere;
}
.pay-breakdown div,
.payment-alert{
  border:1px solid var(--line);
  background:#f8fbfa;
  border-radius:20px;
  padding:16px;
}
.pay-breakdown span,
.payment-alert span,
.muted-note{
  display:block;
  color:var(--muted);
  font-size:14px;
  margin-top:5px;
}
.payment-alert{
  margin:14px 0 18px;
}
@media(max-width:560px){
  .pay-breakdown{grid-template-columns:1fr}
  .payment-summary-list div{
    grid-template-columns:1fr;
    gap:5px;
  }
}

.customer-hero{
  border-radius:42px;
  padding:42px;
  display:grid;
  grid-template-columns:1fr 330px;
  gap:24px;
  align-items:center;
  background:
    radial-gradient(circle at 15% 10%,rgba(18,161,80,.22),transparent 35%),
    linear-gradient(135deg,#fff,#eafff2);
  box-shadow:0 25px 80px rgba(8,17,31,.08);
  margin-bottom:32px;
}
.customer-hero h1{
  font-size:clamp(38px,5vw,68px);
  line-height:.95;
  letter-spacing:-3px;
  margin:16px 0;
}
.customer-hero p{
  color:var(--muted);
  font-size:18px;
  max-width:650px;
}
.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.customer-mini-card{
  background:#07111e;
  color:white;
  border-radius:32px;
  padding:26px;
  box-shadow:0 25px 70px rgba(8,17,31,.2);
}
.customer-mini-card span{
  color:#9ca3af;
  font-weight:800;
}
.customer-mini-card strong{
  display:block;
  font-size:28px;
  margin:12px 0;
}
.customer-mini-card p{
  color:#cbd5e1;
  margin:0;
}
.customer-services{
  margin-bottom:30px;
}
.customer-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:0 0 30px;
}
.summary-card{
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  background:white;
  box-shadow:0 16px 42px rgba(8,17,31,.05);
}
.summary-card span,
.summary-card small{
  color:var(--muted);
  font-weight:800;
}
.summary-card strong{
  display:block;
  margin:8px 0 4px;
  font-size:28px;
}
.booking-list{
  display:grid;
  gap:12px;
}
.booking-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  padding:16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#f9fbfa;
  transition:.2s;
}
.booking-row:hover{
  transform:translateY(-2px);
  background:white;
  box-shadow:0 15px 35px rgba(8,17,31,.06);
}
.booking-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#e7f9ee;
  font-size:25px;
}
.booking-row strong{
  display:block;
}
.booking-row span,
.booking-row small{
  display:block;
  color:var(--muted);
  margin-top:4px;
}
.booking-side{
  text-align:right;
  display:grid;
  gap:6px;
  justify-items:end;
}
.booking-main{
  min-width:0;
}
.booking-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:22px 0;
}
.booking-tabs a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  border-radius:999px;
  background:#eef3f1;
  color:#1f2937;
  font-weight:900;
}
.booking-tabs span{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:white;
  color:var(--green2);
}
.booking-section{
  padding-top:12px;
  margin-top:18px;
}
.booking-section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:start;
  margin:0 0 12px;
}
.booking-section-head h3{
  margin:0 0 4px;
  font-size:24px;
}
.booking-section-head p{
  margin:0;
  color:var(--muted);
}
.booking-section-head>span{
  display:grid;
  place-items:center;
  min-width:44px;
  height:44px;
  border-radius:16px;
  background:#e7f9ee;
  color:var(--green2);
  font-weight:900;
}
.mini-btn{
  padding:9px 12px;
  border-radius:12px;
  font-size:13px;
}
.pay-status{
  display:inline-flex!important;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  background:#fee2e2;
  color:#991b1b!important;
}
.pay-status.paid{
  background:#dcfce7;
  color:#166534!important;
}
.pay-status.quote{
  background:#fef3c7;
  color:#92400e!important;
}
.pay-status.refunded{
  background:#e0e7ff;
  color:#3730a3!important;
}
.status-active{background:#dbeafe;color:#1d4ed8}
.status-completed{background:#dcfce7;color:#166534}
.status-cancelled{background:#fee2e2;color:#991b1b}
.status-upcoming{background:#fef3c7;color:#92400e}
.empty-state{
  text-align:center;
  padding:40px 20px;
  border:1px dashed #cbd5e1;
  border-radius:26px;
  background:#fbfdfc;
}
.empty-state div{
  font-size:42px;
}
.empty-state h3{
  margin-bottom:6px;
}
.empty-state p{
  color:var(--muted);
}
.empty-state.small{
  padding:24px 16px;
}
.detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:20px;
}
.customer-detail-grid{
  align-items:start;
}
.booking-detail-hero{
  display:grid;
  grid-template-columns:1fr 260px;
  gap:20px;
  align-items:center;
  border-radius:38px;
  padding:38px;
  background:
    radial-gradient(circle at 15% 10%,rgba(18,161,80,.18),transparent 35%),
    linear-gradient(135deg,#fff,#eafff2);
  box-shadow:0 25px 80px rgba(8,17,31,.08);
  margin-bottom:24px;
}
.booking-detail-hero h1{
  font-size:clamp(34px,5vw,60px);
  line-height:1;
  margin:15px 0;
}
.booking-detail-hero p{
  color:var(--muted);
  font-size:18px;
  margin:0;
}
.booking-hero-card{
  border-radius:28px;
  background:#07111e;
  color:white;
  padding:24px;
  display:grid;
  gap:8px;
  justify-items:start;
}
.booking-hero-card strong{
  font-size:34px;
}
.booking-hero-card small{
  color:#cbd5e1;
}
.timeline-panel{
  margin-bottom:20px;
}
.status-timeline{
  list-style:none;
  padding:0;
  margin:24px 0 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.status-timeline li{
  position:relative;
  border:1px solid var(--line);
  border-radius:20px;
  background:#f9fbfa;
  padding:16px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  min-height:118px;
}
.status-timeline li.done,
.status-timeline li.current{
  border-color:#b7efcc;
  background:#effdf4;
}
.status-timeline li.current{
  box-shadow:0 12px 30px rgba(18,161,80,.12);
}
.status-timeline li.pending{
  opacity:.72;
}
.status-timeline li.skipped{
  opacity:.5;
}
.status-timeline li.exception-step.current,
.status-timeline li.exception-step.done{
  border-color:#fecaca;
  background:#fff1f2;
}
.timeline-dot{
  width:20px;
  height:20px;
  border-radius:999px;
  background:#cbd5e1;
  margin-top:2px;
}
.status-timeline li.done .timeline-dot,
.status-timeline li.current .timeline-dot{
  background:var(--green);
  box-shadow:0 0 0 6px rgba(18,161,80,.12);
}
.status-timeline li.exception-step.done .timeline-dot,
.status-timeline li.exception-step.current .timeline-dot{
  background:#dc2626;
  box-shadow:0 0 0 6px rgba(220,38,38,.12);
}
.status-timeline strong{
  display:block;
}
.status-timeline p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}
.detail-status{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:20px;
}
.detail-status div{
  background:#f8fbfa;
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
}
.detail-status span{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.detail-status strong{
  display:block;
  margin-top:8px;
}
.quote-card{
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  margin-bottom:12px;
  background:#f9fbfa;
  display:grid;
  gap:12px;
}
.quote-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.quote-card-upgraded{
  margin-bottom:0;
  background:white;
}
.quote-card-upgraded.accepted{
  border-color:#86efac;
  background:#f0fdf4;
}
.quote-card-upgraded.rejected,
.quote-card-upgraded.expired{
  opacity:.72;
}
.quote-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:start;
}
.quote-price{
  font-size:34px;
  font-weight:900;
}
.quote-meta p{
  margin:4px 0 0;
  color:#374151;
}
.quote-facts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.quote-facts div,
.receipt-box div,
.payment-history div{
  border:1px solid var(--line);
  border-radius:16px;
  background:#f8fbfa;
  padding:12px;
}
.quote-facts span,
.receipt-box span,
.payment-history span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  margin:0 0 4px;
}
.locked-action{
  border:1px dashed #cbd5e1;
  border-radius:16px;
  padding:13px;
  background:#f8fafc;
}
.locked-action strong,
.locked-action span{
  display:block;
}
.locked-action span{
  color:var(--muted);
  margin-top:4px;
}
.provider-detail-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  background:#f9fbfa;
  margin-bottom:14px;
}
.provider-detail-card span,
.provider-detail-card small{
  display:block;
  color:var(--muted);
  margin-top:4px;
}
.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.privacy-note{
  padding:13px;
  border-radius:16px;
  background:#fef3c7;
  color:#92400e;
  font-weight:800;
}
.receipt-box,
.payment-history{
  display:grid;
  gap:10px;
  margin:18px 0;
}
.receipt-box h3,
.payment-history h3{
  margin:0;
}
.detail-map{
  height:260px;
  border-radius:22px;
  border:1px solid var(--line);
  overflow:hidden;
  margin:16px 0 20px;
}
.action-panel{
  margin-bottom:20px;
}
.request-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.request-grid form{
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  background:#f9fbfa;
  display:grid;
  gap:10px;
}
.request-grid h3{
  margin:0;
}
.request-grid p{
  margin:0;
  color:var(--muted);
  line-height:1.4;
}
.request-grid textarea{
  min-height:86px;
}
.tracking-panel{
  margin-bottom:22px;
}
.tracking-placeholder{
  padding:18px;
  border:1px solid var(--line);
  border-radius:22px;
  display:grid;
  gap:4px;
  background:#fbfdfc;
}
.tracking-placeholder.active{
  border-color:#cceedd;
  background:#f3fff8;
}
.tracking-placeholder span{
  color:var(--muted);
}
.call-unavailable{
  display:block;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fbfdfc;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  line-height:1.35;
}
.full-width-call-note{
  margin-top:14px;
}
.booking-chat-panel{
  margin-bottom:22px;
}
.chat-thread{
  max-height:420px;
  overflow:auto;
  padding:14px;
  border:1px solid var(--line);
  border-radius:22px;
  display:grid;
  gap:10px;
  background:#f7faf8;
}
.chat-message{
  max-width:min(78%,640px);
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.chat-message.mine{
  justify-self:end;
  border-color:#b7efcc;
  background:#eafff2;
}
.chat-message.theirs{
  justify-self:start;
}
.chat-message div{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:12px;
}
.chat-message p{
  margin:8px 0 0;
  line-height:1.45;
}
.chat-message form{
  margin-top:8px;
}
.chat-message button{
  border:0;
  padding:0;
  background:transparent;
  color:#991b1b;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.chat-send-form{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:end;
}
.chat-send-form textarea{
  min-height:54px;
  resize:vertical;
}
button[disabled]{
  opacity:.45;
  cursor:not-allowed;
}
.review-banner{
  margin-top:16px;
  border-radius:18px;
  padding:15px;
  background:#fff7ed;
  color:#9a3412;
  display:grid;
  gap:4px;
}
.address-setup-card{
  border:1px solid #b7efcc;
  border-radius:24px;
  background:#f0fdf4;
  padding:18px;
  margin:0 0 18px;
}
.address-setup-card h3{
  margin:10px 0 6px;
}
.address-setup-card p{
  color:var(--muted);
  margin:0 0 12px;
}
.address-empty{
  background:white;
}
.address-empty-note{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid rgba(18,161,80,.18);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-weight:800;
  font-size:13px;
  line-height:1.35;
}
.structured-address-panel{
  margin:18px 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fbfdfc;
}
.compact-head{
  margin-bottom:12px;
}
.compact-head h2{
  margin:0 0 4px;
  font-size:22px;
  letter-spacing:0;
}
.address-search-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
}
.address-search-row input{
  min-width:0;
}
.address-search-row button{
  border:0;
  border-radius:16px;
  padding:0 16px;
  background:var(--dark);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.address-search-results{
  display:grid;
  gap:8px;
  margin:8px 0 12px;
  color:var(--muted);
  font-size:13px;
}
.address-search-results button{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  padding:11px 13px;
  background:#fff;
  color:var(--dark);
  font-weight:800;
  text-align:left;
  cursor:pointer;
}
.map-state-message{
  margin:12px 0 0;
  padding:11px 13px;
  border-radius:16px;
  background:#f8fafc;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.map-state-message[data-state="confirmed"]{
  background:#dcfce7;
  color:#166534;
}
.map-state-message[data-state="warning"]{
  background:#fff7ed;
  color:#9a3412;
}
.pin-confirm-row{
  margin-top:12px;
}
.check-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.check-row input{
  width:auto;
  margin-top:4px;
}

.provider-shell{
  max-width:1280px;
}
.provider-hero,
.provider-job-hero{
  border-radius:38px;
  padding:38px;
  display:grid;
  grid-template-columns:1fr 300px;
  gap:22px;
  align-items:center;
  background:
    radial-gradient(circle at 12% 10%,rgba(18,161,80,.18),transparent 34%),
    linear-gradient(135deg,#fff,#eafff2);
  box-shadow:0 25px 80px rgba(8,17,31,.08);
  margin-bottom:22px;
}
.provider-hero h1,
.provider-job-hero h1{
  font-size:clamp(36px,5vw,66px);
  line-height:.96;
  margin:16px 0;
}
.provider-hero p,
.provider-job-hero p{
  color:var(--muted);
  font-size:18px;
  margin:0;
}
.provider-progress-card,
.provider-shift-card{
  border-radius:28px;
  background:#07111e;
  color:white;
  padding:24px;
  display:grid;
  gap:12px;
  box-shadow:0 24px 60px rgba(8,17,31,.2);
}
.provider-progress-card span,
.provider-shift-card span,
.provider-progress-card small,
.provider-shift-card small{
  color:#cbd5e1;
  font-weight:800;
}
.provider-progress-card strong,
.provider-shift-card strong{
  font-size:42px;
  line-height:1;
}
.progress-track{
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:#172130;
}
.progress-track span{
  display:block;
  height:100%;
  background:var(--green);
}
.provider-onboarding-grid,
.provider-work-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:20px;
  align-items:start;
  margin-bottom:20px;
}
.provider-form textarea{
  min-height:110px;
}
.document-upload-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.verification-consent-card,
.verification-subsection,
.selfie-capture-card,
.verification-score-card{
  margin:16px 0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fbfdfc;
}
.verification-consent-card{
  border-color:#b7efcc;
  background:#f0fdf4;
}
.verification-consent-card strong,
.selfie-capture-card strong,
.verification-score-card strong{
  display:block;
  margin-bottom:6px;
}
.verification-consent-card p,
.verification-subsection p,
.selfie-capture-card span,
.verification-score-card span{
  color:var(--muted);
  line-height:1.45;
}
.verification-subsection h3{
  margin:0 0 12px;
  font-size:20px;
}
.verification-document-grid{
  grid-template-columns:1fr;
}
.verification-document-grid label{
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:white;
}
.verification-document-grid label strong,
.verification-document-grid label span,
.verification-document-grid label small{
  display:block;
}
.verification-document-grid label span,
.verification-document-grid label small{
  margin:4px 0 8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}
.selfie-capture-card video{
  width:100%;
  max-height:260px;
  margin:12px 0;
  border-radius:18px;
  background:#07111e;
  object-fit:cover;
}
.selfie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.selfie-actions button{
  border:0;
  border-radius:16px;
  padding:11px 14px;
  background:var(--dark);
  color:white;
  font-weight:900;
  cursor:pointer;
}
.selfie-actions button:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.verification-score-card strong{
  font-size:34px;
  line-height:1;
}
.document-status-list,
.provider-card-list,
.provider-table-list{
  display:grid;
  gap:12px;
}
.document-status-card{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#f9fbfa;
}
.document-status-card span{
  display:block;
  color:var(--muted);
  margin-top:4px;
}
.document-status-card small{
  display:block;
  margin-top:5px;
  color:#9a3412;
  font-size:12px;
  line-height:1.35;
}
.provider-guidance{
  margin-top:18px;
  border-radius:18px;
  padding:16px;
  background:#f0fdf4;
  color:#14532d;
}
.provider-guidance p{
  color:#166534;
  line-height:1.45;
}
.provider-metric-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-bottom:20px;
}
.provider-metric{
  border:1px solid var(--line);
  border-radius:22px;
  background:white;
  padding:20px;
  box-shadow:0 16px 42px rgba(8,17,31,.05);
}
.provider-metric span{
  display:block;
  color:var(--muted);
  font-weight:800;
}
.provider-metric strong{
  display:block;
  margin-top:8px;
  font-size:32px;
}
.provider-work-panel{
  min-height:410px;
}
.provider-card-list.compact{
  gap:8px;
}
.provider-job-card{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  background:#f9fbfa;
}
.provider-job-card h3{
  margin:10px 0 6px;
}
.provider-job-card p,
.provider-job-card small{
  display:block;
  color:var(--muted);
  line-height:1.4;
}
.provider-job-actions{
  display:grid;
  gap:10px;
  justify-items:end;
  text-align:right;
}
.provider-job-actions strong{
  font-size:22px;
}
.provider-table-row,
.provider-mini-row{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:14px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  background:#f9fbfa;
}
.provider-table-row span,
.provider-mini-row span{
  color:var(--muted);
}
.provider-mini-row{
  grid-template-columns:1fr auto;
}
.earnings-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:16px;
}
.earnings-grid div{
  border:1px solid var(--line);
  border-radius:16px;
  background:#f9fbfa;
  padding:14px;
}
.earnings-grid span{
  display:block;
  color:var(--muted);
  font-weight:800;
}
.earnings-grid strong{
  display:block;
  margin-top:6px;
}
.payout-form,
.provider-status-form,
.quote-form,
.provider-report-form{
  display:grid;
  gap:10px;
}
.privacy-lock-panel{
  margin-bottom:20px;
}
.privacy-lock-panel p{
  color:var(--muted);
  margin-bottom:0;
}
.provider-flow{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  display:grid;
  gap:10px;
}
.provider-flow li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  padding:13px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f9fbfa;
}
.provider-flow li span{
  width:18px;
  height:18px;
  border-radius:999px;
  background:#cbd5e1;
}
.provider-flow li.done,
.provider-flow li.current{
  border-color:#b7efcc;
  background:#f0fdf4;
}
.provider-flow li.done span,
.provider-flow li.current span{
  background:var(--green);
  box-shadow:0 0 0 6px rgba(18,161,80,.12);
}
.provider-status-form,
.quote-form,
.provider-report-form{
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  background:#f9fbfa;
}
.provider-photo-columns{
  display:grid;
  gap:18px;
}
.provider-photo-columns h3{
  margin:0 0 10px;
}
.quote-card span{
  display:block;
  color:var(--muted);
  margin-top:4px;
}
.photo-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.photo-grid img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
}
hr{
  border:0;
  border-top:1px solid var(--line);
  margin:24px 0;
}

@media(max-width:980px){
  .customer-hero,
  .detail-grid,
  .booking-detail-hero,
  .request-grid,
  .quote-grid,
  .customer-summary-grid,
  .provider-hero,
  .provider-job-hero,
  .provider-onboarding-grid,
  .provider-work-grid,
  .provider-metric-grid,
  .document-upload-grid{
    grid-template-columns:1fr;
  }
  .verification-consent-card,
  .verification-subsection,
  .selfie-capture-card{
    padding:14px;
    border-radius:20px;
  }
  .status-timeline{
    grid-template-columns:repeat(2,1fr);
  }
  .photo-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

.support-shell{
  max-width:1180px;
}
.support-hero{
  margin-bottom:22px;
  padding:34px;
  border-radius:34px;
  background:
    radial-gradient(circle at 18% 15%,rgba(18,161,80,.16),transparent 30%),
    linear-gradient(135deg,#fff,#eefbf3);
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-end;
  box-shadow:0 18px 50px rgba(8,17,31,.06);
}
.support-hero.compact{
  align-items:center;
}
.support-hero h1{
  margin:14px 0 8px;
  font-size:clamp(32px,4vw,56px);
  line-height:1;
}
.support-hero p{
  max-width:720px;
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.support-layout{
  display:grid;
  grid-template-columns:390px 1fr;
  gap:18px;
  align-items:start;
}
.support-form{
  display:grid;
  gap:14px;
}
.support-list{
  display:grid;
  gap:10px;
}
.support-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fbfdfc;
}
.support-row div{
  display:grid;
  gap:4px;
}
.support-row span:not(.status){
  color:var(--muted);
  font-size:14px;
}
.support-message{
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fbfdfc;
  line-height:1.55;
  color:#334155;
}
.privacy-request-box{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.privacy-request-box h2{
  margin-top:0;
}
.compact-profile-hero{
  align-items:center;
}
.mobile-bottom-nav{
  display:none;
}

.app-home-shell{
  max-width:980px;
}
.app-home-hero{
  margin-bottom:18px;
  padding:30px;
  border:1px solid rgba(8,17,31,.07);
  border-radius:32px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:22px;
  background:#fff;
  box-shadow:0 18px 55px rgba(8,17,31,.06);
}
.app-home-hero h1{
  margin:18px 0 10px;
  max-width:620px;
  font-size:48px;
  line-height:1;
  letter-spacing:0;
}
.app-home-hero p{
  max-width:540px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.45;
}
.home-primary-action{
  min-width:170px;
  justify-content:center;
  text-align:center;
}
.home-action-stack{
  display:grid;
  gap:10px;
}
.customer-assurance-grid{
  margin-bottom:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.customer-assurance-grid div{
  padding:18px;
  border:1px solid rgba(8,17,31,.07);
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 38px rgba(8,17,31,.04);
}
.customer-assurance-grid strong,
.customer-assurance-grid span{
  display:block;
}
.customer-assurance-grid strong{
  margin-bottom:6px;
}
.customer-assurance-grid span{
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}
.active-booking-card,
.quiet-empty-state,
.provider-home-summary{
  margin-bottom:18px;
  padding:20px;
  border:1px solid rgba(8,17,31,.07);
  border-radius:26px;
  background:#fff;
  box-shadow:0 14px 40px rgba(8,17,31,.05);
}
.active-booking-card{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}
.active-booking-card h2{
  margin:10px 0 6px;
  font-size:24px;
  letter-spacing:0;
}
.active-booking-card p,
.active-booking-card small,
.quiet-empty-state span{
  display:block;
  margin:0;
  color:var(--muted);
  line-height:1.35;
}
.quiet-empty-state{
  display:grid;
  gap:4px;
}
.quiet-empty-state.inside-panel{
  margin:0;
  box-shadow:none;
  background:#fbfdfc;
}
.app-home-section-head{
  margin-top:22px;
}
.app-home-section-head h2{
  margin-top:6px;
  font-size:28px;
  letter-spacing:0;
}
.quick-service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-bottom:32px;
}
.quick-service-card{
  min-height:132px;
  padding:18px;
  border:1px solid rgba(8,17,31,.07);
  border-radius:26px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:1fr auto;
  gap:12px 14px;
  background:#fff;
  box-shadow:0 14px 38px rgba(8,17,31,.045);
  transition:.18s ease;
}
.quick-service-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 44px rgba(8,17,31,.08);
}
.quick-service-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#eefbf3;
  color:var(--green2);
  font-weight:900;
}
.quick-service-card h3{
  margin:2px 0 6px;
  font-size:20px;
  letter-spacing:0;
}
.quick-service-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}
.quick-service-card span{
  grid-column:2;
  color:var(--green2);
  font-weight:900;
}
.customer-dashboard-grid{
  display:grid;
  grid-template-columns:1fr 330px;
  gap:18px;
  align-items:start;
}
.customer-side-panel{
  display:grid;
  gap:14px;
  position:sticky;
  top:92px;
}
.compact-panel{
  padding:18px;
  border-radius:24px;
}
.compact-panel h2{
  margin:0 0 4px;
  font-size:22px;
}
.compact-panel .panel-head{
  align-items:start;
}
.compact-panel .panel-head a{
  color:var(--green2);
  font-weight:900;
}
.saved-place-list{
  display:grid;
  gap:8px;
}
.saved-place-pill{
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#fbfdfc;
}
.saved-place-pill.saved{
  border-color:#cceedd;
  background:#f3fff8;
}
.saved-place-pill span{
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
.saved-place-pill strong{
  max-width:170px;
  overflow:hidden;
  color:var(--dark);
  font-size:14px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.support-shortcut-panel h2{
  margin:10px 0 6px;
}
.support-shortcut-actions{
  display:grid;
  gap:9px;
  margin-top:14px;
}
.recent-bookings-panel{
  margin-bottom:28px;
}
.customer-recent-list{
  display:grid;
  gap:10px;
}
.customer-recent-row{
  padding:13px;
  border:1px solid var(--line);
  border-radius:20px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  background:#fbfdfc;
}
.customer-recent-row strong,
.customer-recent-row span{
  display:block;
}
.customer-recent-row span{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}
.provider-home-hero{
  grid-template-columns:1fr 260px;
}
.provider-status-switch{
  padding:22px;
  border-radius:26px;
  display:grid;
  gap:12px;
  background:var(--dark);
  color:#fff;
}
.provider-status-switch span,
.provider-status-switch small{
  color:#cbd5e1;
  font-weight:800;
}
.provider-status-switch strong{
  font-size:34px;
  line-height:1;
}
.provider-home-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.provider-home-summary span{
  color:var(--muted);
  font-weight:800;
}
.provider-home-summary strong{
  display:block;
  margin-top:4px;
  font-size:32px;
}
.provider-home-summary a,
.provider-home-jobs .panel-head a{
  color:var(--green2);
  font-weight:900;
}
.provider-home-jobs{
  margin-bottom:24px;
}
.provider-preview-list{
  display:grid;
  gap:12px;
}
.simple-job-card{
  background:#fff;
}
.provider-tab-panel{
  margin-top:22px;
  scroll-margin-top:96px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.assistant-widget{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:60;
  font-family:Inter,Arial,sans-serif;
}
.assistant-toggle{
  border:0;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  padding:0;
  background:var(--green);
  color:white;
  font-weight:900;
  font-size:22px;
  line-height:1;
  box-shadow:0 18px 46px rgba(18,161,80,.32);
  cursor:pointer;
}
.assistant-toggle span{
  display:grid;
  place-items:center;
}
.assistant-panel{
  position:absolute;
  right:0;
  bottom:62px;
  width:min(370px,calc(100vw - 28px));
  max-height:min(680px,calc(100vh - 120px));
  display:none;
  grid-template-rows:auto 1fr;
  overflow:hidden;
  border:1px solid rgba(8,17,31,.12);
  border-radius:28px;
  background:white;
  box-shadow:0 30px 90px rgba(8,17,31,.22);
}
.assistant-panel.open{
  display:grid;
}
.assistant-panel header{
  padding:18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  background:linear-gradient(135deg,var(--dark),#123326);
  color:white;
}
.assistant-panel header strong{
  display:block;
  font-size:18px;
}
.assistant-panel header span{
  display:block;
  margin-top:4px;
  color:#c8d7d0;
  font-size:13px;
  line-height:1.35;
}
.assistant-close{
  width:32px;
  height:32px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:white;
  font-size:22px;
  cursor:pointer;
}
.assistant-messages{
  padding:16px;
  display:grid;
  gap:10px;
  align-content:start;
  overflow:auto;
  background:#f7faf8;
}
.assistant-message{
  max-width:90%;
  padding:11px 13px;
  border-radius:16px;
  font-size:14px;
  line-height:1.38;
}
.assistant-message.bot{
  justify-self:start;
  background:white;
  border:1px solid var(--line);
  color:#263241;
}
.assistant-message.user{
  justify-self:end;
  background:var(--green);
  color:white;
}
.assistant-loading{
  color:var(--muted)!important;
}
.assistant-suggestions{
  padding:12px 14px;
  display:flex;
  gap:8px;
  overflow-x:auto;
  border-top:1px solid var(--line);
}
.assistant-suggestions button{
  flex:0 0 auto;
  border:1px solid rgba(18,161,80,.22);
  border-radius:999px;
  padding:8px 10px;
  background:#eefbf3;
  color:var(--green2);
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.assistant-form{
  padding:12px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  border-top:1px solid var(--line);
}
.assistant-form input{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  outline:0;
}
.assistant-form button{
  border:0;
  border-radius:16px;
  padding:0 14px;
  background:var(--dark);
  color:white;
  font-weight:900;
  cursor:pointer;
}
.assistant-form.loading button{
  opacity:.7;
}
.assistant-support-link{
  display:block;
  padding:13px 16px 16px;
  border-top:1px solid var(--line);
  color:var(--green2);
  font-weight:900;
  font-size:13px;
  text-align:center;
}
.support-launch-body{
  padding:18px;
  display:grid;
  gap:16px;
}
.support-launch-body p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
}
.support-launch-actions{
  display:grid;
  gap:10px;
}
.support-report-link{
  display:block;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  color:var(--green2);
  font-weight:900;
  text-align:center;
}

@media(max-width:560px){
  .app-shell{
    padding-bottom:170px;
  }
  .app-home-shell{
    padding:16px 10px 170px;
  }
  .booking-intro-hero{
    padding:22px;
    margin-bottom:14px;
  }
  .booking-intro-hero h1{
    font-size:32px;
    margin:12px 0 8px;
    letter-spacing:0;
  }
  .booking-intro-hero p{
    font-size:15px;
    margin:0;
  }
  .booking-form{
    padding:18px;
    border-radius:24px;
  }
  .address-setup-card{
    padding:14px;
    border-radius:20px;
    margin-bottom:14px;
  }
  .address-setup-card h3{
    margin:8px 0 4px;
    font-size:17px;
  }
  .address-setup-card p{
    font-size:13px;
  }
  .address-empty-note{
    font-size:12px;
  }
  .structured-address-panel{
    padding:14px;
    border-radius:20px;
  }
  .address-search-row{
    grid-template-columns:1fr;
  }
  .address-search-row button{
    min-height:46px;
  }
  .app-home-hero{
    padding:24px;
    border-radius:28px;
    grid-template-columns:1fr;
    align-items:start;
  }
  .app-home-hero h1{
    font-size:36px;
    line-height:1.04;
  }
  .app-home-hero p{
    font-size:15px;
  }
  .home-primary-action{
    width:100%;
  }
  .customer-assurance-grid,
  .customer-dashboard-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .customer-assurance-grid div{
    padding:14px 16px;
    border-radius:20px;
  }
  .customer-side-panel{
    position:static;
  }
  .compact-panel{
    padding:16px;
    border-radius:22px;
  }
  .active-booking-card{
    display:grid;
    padding:18px;
    border-radius:24px;
  }
  .active-booking-card h2{
    font-size:20px;
  }
  .quick-service-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .quick-service-card{
    min-height:112px;
    border-radius:24px;
  }
  .customer-recent-row{
    grid-template-columns:auto 1fr;
  }
  .customer-recent-row .pay-status{
    grid-column:2;
    justify-self:start;
  }
  .chat-message{
    max-width:94%;
  }
  .chat-send-form{
    grid-template-columns:1fr;
  }
  .provider-home-hero{
    grid-template-columns:1fr;
  }
  .provider-home .app-home-hero{
    gap:10px;
    padding:16px;
    margin-bottom:10px;
  }
  .provider-home .app-home-hero h1{
    font-size:26px;
    margin:10px 0 4px;
  }
  .provider-home .app-home-hero p{
    display:none;
  }
  .provider-status-switch{
    padding:12px 14px;
    gap:8px;
    border-radius:20px;
    grid-template-columns:1fr auto;
    align-items:center;
  }
  .provider-status-switch strong{
    font-size:24px;
  }
  .provider-status-switch form{
    grid-column:1 / -1;
  }
  .provider-status-switch .btn{
    padding:10px 12px;
    border-radius:12px;
    font-size:13px;
  }
  .provider-home-summary{
    padding:14px 16px;
  }
  .provider-home-summary strong{
    font-size:27px;
  }
  .provider-home .provider-home-summary,
  .provider-home .quiet-empty-state{
    margin-bottom:10px;
  }
  .provider-home>.provider-home-main>.quiet-empty-state,
  .provider-current-card{
    padding:10px 14px;
    border-radius:20px;
    box-shadow:0 8px 24px rgba(8,17,31,.04);
  }
  .provider-home>.provider-home-main>.quiet-empty-state strong{
    font-size:15px;
  }
  .provider-home>.provider-home-main>.quiet-empty-state span{
    font-size:13px;
  }
  .provider-home-jobs{
    padding:16px;
    border-radius:24px;
  }
  .provider-home-jobs .panel-head{
    display:flex;
    align-items:flex-start;
    margin-bottom:12px;
  }
  .provider-home-jobs .panel-head h2{
    font-size:22px;
    margin-bottom:4px;
  }
  .provider-home-jobs .muted-note{
    font-size:12px;
    line-height:1.3;
  }
  .provider-home .simple-job-card{
    padding:11px 13px;
    border-radius:18px;
  }
  .provider-home .simple-job-card h3{
    margin:4px 0;
    font-size:16px;
  }
  .provider-home .simple-job-card p,
  .provider-home .simple-job-card small{
    font-size:12px;
  }
  .provider-home .simple-job-card small{
    display:none;
  }
  .provider-home .provider-job-actions strong{
    font-size:18px;
  }
  .provider-home .provider-job-actions .btn{
    padding:8px 10px;
    border-radius:11px;
    font-size:12px;
  }
  .provider-tab-panel{
    display:none;
  }
  .provider-tab-panel:target{
    display:block;
  }
  body:has(.provider-tab-panel:target) .provider-home-main{
    display:none;
  }
  body:has(.provider-jobs-tab:target) .provider-earnings-tab,
  body:has(.provider-earnings-tab:target) .provider-jobs-tab{
    display:none;
  }
  .provider-work-panel{
    min-height:0;
  }
  .provider-jobs-tab .empty-state.small{
    padding:14px;
    border-radius:18px;
  }
  .provider-jobs-tab .empty-state.small div{
    font-size:24px;
  }
  .provider-jobs-tab .empty-state.small h3{
    margin:4px 0;
    font-size:17px;
  }
  .provider-jobs-tab .empty-state.small p{
    margin:0;
    font-size:13px;
  }
  .assistant-widget{
    right:16px;
    bottom:92px;
    left:auto;
    display:grid;
    justify-items:end;
  }
  .assistant-toggle{
    width:42px;
    height:42px;
    font-size:18px;
    box-shadow:0 12px 28px rgba(18,161,80,.26);
  }
  body:has(.booking-form) .assistant-widget,
  body:has(form[action*="/payments/checkout/"]) .assistant-widget,
  body:has(.provider-home) .assistant-widget,
  body:has(.provider-tab-panel:target) .assistant-widget{
    display:none;
  }
  .assistant-panel{
    right:0;
    left:auto;
    width:calc(100vw - 28px);
    bottom:58px;
    max-height:calc(100vh - 170px);
  }
  body:has(.mobile-bottom-nav){
    padding-bottom:170px;
  }
  .mobile-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:55;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:4px;
    padding:8px;
    border:1px solid rgba(8,17,31,.1);
    border-radius:24px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(18px);
    box-shadow:0 18px 46px rgba(8,17,31,.16);
  }
  .mobile-bottom-nav a{
    min-width:0;
    display:grid;
    place-items:center;
    padding:9px 3px;
    border-radius:16px;
    color:var(--muted);
    font-size:12px;
    font-weight:900;
    text-align:center;
  }
  .mobile-bottom-nav a:focus,
  .mobile-bottom-nav a:hover{
    background:#eefbf3;
    color:var(--green2);
  }
}

@media(max-width:860px){
  .support-hero,
  .support-layout{
    grid-template-columns:1fr;
  }
  .support-hero{
    display:grid;
    padding:24px;
  }
}

.notification-shell{
  max-width:980px;
}
.notification-list{
  display:grid;
  gap:12px;
}
.notification-row{
  padding:18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fbfdfc;
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:flex-start;
}
.notification-row.unread{
  border-color:rgba(18,161,80,.32);
  box-shadow:0 14px 36px rgba(18,161,80,.08);
}
.notification-row.read{
  opacity:.74;
}
.notification-row h3{
  margin:8px 0 6px;
}
.notification-row p{
  margin:0 0 8px;
  color:#334155;
  line-height:1.45;
}
.notification-row small{
  color:var(--muted);
}
.notification-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.notification-actions form{
  margin:0;
}

@media(max-width:680px){
  .notification-row{
    display:grid;
  }
  .notification-actions{
    justify-content:flex-start;
  }
}
@media(max-width:560px){
  .customer-hero{
    padding:26px;
    border-radius:30px;
  }
  .customer-hero h1{
    font-size:42px;
    letter-spacing:-2px;
  }
  .booking-row{
    grid-template-columns:1fr;
  }
  .booking-side{
    text-align:left;
    justify-items:start;
  }
  .booking-section-head,
  .panel-head,
  .quote-top{
    display:block;
  }
  .booking-detail-hero{
    padding:26px;
    border-radius:30px;
  }
  .provider-hero,
  .provider-job-hero{
    padding:26px;
    border-radius:30px;
  }
  .provider-job-card,
  .provider-table-row{
    grid-template-columns:1fr;
  }
  .provider-job-actions{
    justify-items:start;
    text-align:left;
  }
  .earnings-grid{
    grid-template-columns:1fr;
  }
  .status-timeline{
    grid-template-columns:1fr;
  }
  .detail-status{
    grid-template-columns:1fr;
  }
  .quote-facts{
    grid-template-columns:1fr;
  }
  .photo-grid{
    grid-template-columns:1fr;
  }
}

.auth-shell{
  max-width:1180px;
  margin:28px auto 60px;
  padding:0 18px;
  display:grid;
  grid-template-columns:1fr 470px;
  gap:24px;
  align-items:stretch;
}
.auth-copy{
  min-height:620px;
  border-radius:42px;
  padding:46px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    radial-gradient(circle at 18% 15%,rgba(18,161,80,.2),transparent 32%),
    linear-gradient(135deg,#fff,#eafff2);
  box-shadow:0 25px 80px rgba(8,17,31,.08);
}
.auth-copy h1{
  max-width:700px;
  margin:18px 0;
  font-size:clamp(42px,5vw,74px);
  line-height:.94;
}
.auth-copy p{
  max-width:620px;
  color:var(--muted);
  font-size:19px;
  line-height:1.45;
}
.trust-list{
  display:grid;
  gap:12px;
  max-width:620px;
}
.trust-list div{
  display:grid;
  gap:4px;
  padding:16px 18px;
  border:1px solid rgba(18,161,80,.16);
  border-radius:22px;
  background:rgba(255,255,255,.74);
}
.trust-list strong{
  font-size:16px;
}
.trust-list span{
  color:var(--muted);
  line-height:1.35;
}
.auth-panel{
  border:1px solid var(--line);
  border-radius:36px;
  padding:28px;
  background:white;
  box-shadow:0 25px 70px rgba(8,17,31,.08);
  align-self:start;
}
.auth-panel form{
  display:grid;
  gap:16px;
}
.auth-panel h2{
  font-size:36px;
  margin:0 0 6px;
}
.form-kicker{
  color:var(--green2);
  font-weight:900;
  font-size:13px;
  text-transform:uppercase;
}
.field-help{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:6px;
}
.auth-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--muted);
  line-height:1.4;
}
.auth-check input{
  width:auto;
  margin-top:3px;
}
.auth-check a{
  color:var(--green2);
  font-weight:900;
}
.auth-switch{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.auth-switch span{
  color:var(--muted);
}
.auth-switch a{
  padding:9px 13px;
  border-radius:999px;
  background:#eef8f2;
  color:var(--green2);
  font-weight:900;
}

.legal-shell{
  max-width:1180px;
  margin:28px auto 60px;
  padding:0 18px;
}
.legal-hero{
  border-radius:42px;
  padding:44px;
  background:
    radial-gradient(circle at 18% 20%,rgba(18,161,80,.18),transparent 30%),
    linear-gradient(135deg,#fff,#eafff2);
  box-shadow:0 25px 80px rgba(8,17,31,.08);
}
.legal-hero h1{
  max-width:850px;
  font-size:clamp(38px,5vw,68px);
  line-height:.96;
  margin:18px 0;
}
.legal-hero p{
  max-width:760px;
  color:var(--muted);
  font-size:19px;
  line-height:1.5;
}
.legal-layout{
  display:grid;
  grid-template-columns:310px 1fr;
  gap:22px;
  margin-top:24px;
  align-items:start;
}
.legal-summary,
.legal-card{
  border:1px solid var(--line);
  border-radius:28px;
  background:white;
  box-shadow:0 18px 50px rgba(8,17,31,.06);
}
.legal-summary{
  position:sticky;
  top:96px;
  padding:24px;
}
.legal-summary h2,
.legal-card h2{
  margin-top:0;
}
.legal-summary ul{
  margin:0;
  padding-left:20px;
  color:var(--muted);
  display:grid;
  gap:12px;
  line-height:1.35;
}
.legal-card{
  padding:32px;
}
.legal-card h2{
  margin:28px 0 8px;
}
.legal-card h2:first-child{
  margin-top:0;
}
.legal-card p{
  color:#374151;
  line-height:1.62;
  margin:0 0 14px;
}
.legal-note{
  margin-top:28px!important;
  padding:16px;
  border-radius:18px;
  background:#fff7ed;
  color:#9a3412!important;
  font-weight:800;
}

.booking-timing-card{
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#f8fbf7;
}
.booking-timing-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.timing-choice{
  display:grid;
  gap:6px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  cursor:pointer;
}
.timing-choice input{
  width:auto;
}
.timing-choice strong{
  color:var(--ink);
}
.timing-choice span{
  color:var(--muted);
  line-height:1.35;
}
.timing-choice.selected{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(18,161,80,.12);
}
.full-span{
  grid-column:1 / -1;
}

@media(max-width:980px){
  .auth-shell,
  .legal-layout{
    grid-template-columns:1fr;
  }
  .auth-copy{
    min-height:auto;
    gap:28px;
  }
  .legal-summary{
    position:static;
  }
}
@media(max-width:560px){
  .auth-shell,
  .legal-shell{
    margin-top:18px;
    padding:0 14px;
  }
  .auth-copy,
  .legal-hero{
    padding:26px;
    border-radius:30px;
  }
  .auth-copy h1,
  .legal-hero h1{
    font-size:38px;
  }
  .auth-panel,
  .legal-summary,
  .legal-card{
    border-radius:24px;
    padding:20px;
  }
  .auth-switch{
    display:grid;
    align-items:start;
  }
  .booking-timing-options{
    grid-template-columns:1fr;
  }
}

/* Public website footer */
.footer {
  width: 100%;
  margin-top: 48px;
  padding: 24px clamp(20px, 5vw, 72px) calc(24px + env(safe-area-inset-bottom));
  background: #ffffff;
  border-top: 1px solid #e5ece8;
  box-sizing: border-box;
  color: #0b1728;
  text-align: center;
}

.footer p {
  max-width: 1200px;
  margin: 0 auto 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer p:last-child {
  margin-bottom: 0;
}

.footer a {
  color: #0b1728;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover,
.footer a:focus-visible {
  color: #0aa84f;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer {
    margin-top: 32px;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    text-align: left;
  }

  .footer p {
    font-size: 0.9rem;
  }
}
