.parcel-route-panel{display:grid;gap:14px;border:1px solid #d5e7dd;background:#f7fbf8;border-radius:18px;padding:18px;min-width:0}.parcel-route-panel h3,.parcel-route-panel p{margin:0}.parcel-map{height:340px;min-width:0;width:100%;border:1px solid #c9dbd1;border-radius:14px;background:#e9f0ec;isolation:isolate;z-index:0;direction:ltr}.parcel-map .leaflet-control-attribution{font:10px/1.5 Arial,sans-serif;max-width:100%;white-space:normal}.parcel-map-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.parcel-map-tools label{flex:1;min-width:150px}.parcel-map-tools button{flex:0 1 auto;padding:12px}.map-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:12px;direction:ltr}.map-coordinates label{display:grid;gap:6px;font-size:12px}.map-coordinates input{width:100%;min-width:0;font-size:14px;direction:ltr}.parcel-coordinate-editor summary{cursor:pointer;font-weight:700;padding:9px 0}.parcel-map-pin,.company-map-pin{display:grid;place-items:center;background:#086b46;color:white;border:3px solid white;border-radius:50%;box-shadow:0 3px 10px #1234;font:700 15px/1 Arial}.company-map-pin{background:#e9a322;color:#302300;border-radius:8px}.parcel-live-price{display:grid;gap:10px;padding:16px;border:2px solid #0b7a4f;border-radius:16px;background:#fff;box-shadow:0 8px 22px #0b7a4f12}.parcel-live-price>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.parcel-live-price>header span{font-size:15px;font-weight:800;color:#33594b}.parcel-live-price>header strong{font-size:24px;color:#08704b;white-space:nowrap}.parcel-live-price [data-parcel-price]>p{color:#587066;font-size:14px}.parcel-estimated-note{padding:10px 12px;border-radius:10px;background:#fff4da;color:#765108;font-weight:700}.parcel-price-breakdown{display:grid;gap:9px;margin:2px 0 0;padding:14px;background:#eef8f1;border:1px solid #d5e7dd;border-radius:14px;font-size:13px}.parcel-price-breakdown>div{display:flex;justify-content:space-between;gap:15px}.parcel-price-breakdown dt{color:#425b50}.parcel-price-breakdown dd{margin:0;font-weight:700;white-space:nowrap}.parcel-price-breakdown .parcel-price-total{border-top:1px solid #c5dfcf;padding-top:11px;font-size:16px;color:#006b43}.parcel-admin-grid{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(360px,1.25fr);gap:20px}.parcel-admin-grid .panel{min-width:0}.parcel-admin-grid form{margin-top:20px}.parcel-admin-grid .switch-row{align-items:start}.parcel-admin-grid .switch-row input{width:auto}.parcel-route-panel [data-parcel-price]:empty{display:none}@media(max-width:850px){.parcel-admin-grid{grid-template-columns:1fr}}@media(max-width:480px){.parcel-map{height:300px}.parcel-route-panel{padding:12px}.parcel-price-breakdown{font-size:12px}.parcel-map-tools{align-items:stretch}.parcel-map-tools button{width:100%}.parcel-live-price>header strong{font-size:20px}}
.delivery-builder{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.delivery-step{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:16px;border:1px solid #d5e7dd;border-radius:20px;background:#fff}.delivery-step>b{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#08704b;color:#fff;font-size:1rem}.delivery-step>div{display:grid;gap:13px;min-width:0}.delivery-step h3{margin:7px 0 2px;color:#075f42}.map-step .parcel-route-panel{padding:0;border:0;background:transparent}.map-selection-status{display:grid;gap:3px;padding:11px 13px;border:1px solid #b9ddcb;border-radius:12px;background:#eaf7f0;color:#075f42}.map-selection-status span{direction:ltr;font-size:.78rem;overflow-wrap:anywhere}.parcel-route-panel{display:grid;gap:14px;border:1px solid #d5e7dd;background:#f7fbf8;border-radius:18px;padding:18px;min-width:0}.parcel-route-panel h3,.parcel-route-panel p{margin:0}.parcel-map{height:340px;min-width:0;width:100%;border:1px solid #c9dbd1;border-radius:14px;background:#e9f0ec;isolation:isolate;z-index:0;direction:ltr}.parcel-map .leaflet-control-attribution{font:10px/1.5 Arial,sans-serif;max-width:100%;white-space:normal}.parcel-map-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.parcel-map-tools label{flex:1;min-width:150px}.parcel-map-tools button{flex:0 1 auto;padding:12px}.map-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:12px;direction:ltr}.map-coordinates label{display:grid;gap:6px;font-size:12px}.map-coordinates input{width:100%;min-width:0;font-size:14px;direction:ltr}.parcel-coordinate-editor summary{cursor:pointer;font-weight:700;padding:9px 0}.parcel-map-pin,.company-map-pin{display:grid;place-items:center;background:#086b46;color:white;border:3px solid white;border-radius:50%;box-shadow:0 3px 10px #1234;font:700 15px/1 Arial}.company-map-pin{background:#d18b12;color:#fff;border-radius:8px}.parcel-live-price{display:grid;gap:10px;padding:16px;border:2px solid #0b7a4f;border-radius:16px;background:#fff;box-shadow:0 8px 22px #0b7a4f12}.parcel-live-price>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.parcel-live-price>header span{font-size:15px;font-weight:800;color:#33594b}.parcel-live-price>header strong{font-size:24px;color:#08704b;white-space:nowrap}.parcel-live-price [data-parcel-price]>p{color:#587066;font-size:14px}.parcel-estimated-note{padding:10px 12px;border-radius:10px;background:#fff4da;color:#765108;font-weight:700}.parcel-price-breakdown{display:grid;gap:9px;margin:2px 0 0;padding:14px;background:#eef8f1;border:1px solid #d5e7dd;border-radius:14px;font-size:13px}.parcel-price-breakdown>div{display:flex;justify-content:space-between;gap:15px}.parcel-price-breakdown dt{color:#425b50}.parcel-price-breakdown dd{margin:0;font-weight:700;white-space:nowrap}.parcel-price-breakdown .parcel-price-total{border-top:1px solid #c5dfcf;padding-top:11px;font-size:16px;color:#006b43}.parcel-admin-grid{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(360px,1.25fr);gap:20px}.parcel-admin-grid .panel{min-width:0}.parcel-admin-grid form{margin-top:20px}.parcel-admin-grid .switch-row{align-items:start}.parcel-admin-grid .switch-row input{width:auto}.parcel-route-panel [data-parcel-price]:empty{display:none}@media(max-width:850px){.parcel-admin-grid{grid-template-columns:1fr}}@media(max-width:480px){.parcel-map{height:300px}.parcel-route-panel{padding:12px}.parcel-price-breakdown{font-size:12px}.parcel-map-tools{align-items:stretch}.parcel-map-tools button{width:100%}.parcel-live-price>header strong{font-size:20px}}

.external-map-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.external-map-tools button {
  min-height: 44px;
  border: 1px solid #b9d9ca;
  border-radius: 12px;
  background: #fff;
  color: #076b49;
  font-weight: 800;
}

@font-face {
  font-family: "Sahla Partners";
  src: url("/assets/partners-download/tajawal-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
.partner-auth-scene .partner-recruitment-ad{position:relative;display:block;width:100%;height:112px;min-height:112px;aspect-ratio:auto;margin:6px 0 2px;padding:0;border:0;border-radius:13px;background:#075f42;color:#fff;text-decoration:none;box-shadow:0 8px 22px #063f2c20;overflow:hidden}.partner-auth-scene .partner-recruitment-ad :is(img,video){position:absolute;inset:0;width:100%;height:100%;border-radius:0;object-fit:cover;object-position:center 24%}.partner-auth-scene .partner-recruitment-ad span{position:absolute;inset:auto 0 0;display:flex;width:100%;height:47%;padding:20px 28px 5px 9px;flex-direction:column;justify-content:flex-end;gap:1px;background:linear-gradient(0deg,rgba(2,52,36,.96) 0,rgba(3,72,49,.7) 54%,transparent 100%);color:#fff;text-align:right;text-shadow:0 2px 6px #002c1e}.partner-auth-scene .partner-recruitment-ad b{font-size:.66rem;font-weight:900;line-height:1.25}.partner-auth-scene .partner-recruitment-ad small{color:#effff7;font-size:.5rem;line-height:1.3}.partner-auth-scene .partner-recruitment-ad i{position:absolute;z-index:2;right:9px;bottom:7px;color:#ffd026;font-size:1rem;font-style:normal;filter:drop-shadow(0 2px 3px #002c1e)}

@font-face {
  font-family: "Sahla Partners";
  src: url("/assets/partners-download/tajawal-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* The approved Algiers scene stays behind the partner access flow. */
.partner-auth-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  min-height: 100svh;
  height: auto;
  max-height: none;
  overflow: visible;
  margin: 0 auto;
  padding: 0 0 max(12px, env(safe-area-inset-bottom));
  border-radius: 0;
  background: #084b38;
  font-family: "Sahla Partners", Tahoma, Arial, sans-serif;
}

.partner-auth-scene::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100vw, 520px);
  transform: translateX(-50%);
  pointer-events: none;
  background-color: #063d2c;
  background:
    linear-gradient(180deg, #ffffff12 0%, transparent 43%, #063d2c99 75%, #063d2cf0 100%),
    url("/assets/partners-download/partners-full-background.png") center top / 100% auto no-repeat;
}

.partner-auth-scene > header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  min-height: 64px;
  flex-shrink: 0;
  padding: max(8px, env(safe-area-inset-top)) 14px 8px;
  background: transparent;
}

.partner-auth-scene > .partner-auth-brand {
  justify-content: center;
}

.partner-auth-scene > header .brand,
.partner-auth-scene > header .logo {
  display: block;
  width: 104px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}

.partner-auth-scene.partner-choice > .access-card,
.partner-auth-scene > .signin.panel {
  position: relative;
  width: calc(100% - 24px);
  flex-shrink: 0;
  margin: 6px 12px 12px;
  padding: 12px 14px;
  border: 1px solid #ffffffc9;
  border-radius: 20px;
  background: #ffffffee;
  box-shadow: 0 16px 48px #02332438;
  color: #163f30;
}

/* Keep the people unobstructed: the role chooser sits on the lower part of the photo. */
.partner-auth-scene.partner-choice > .access-card {
  margin-top: auto;
  margin-bottom: max(8px, env(safe-area-inset-bottom));
}

@media (max-height: 690px) {
  .partner-auth-scene.partner-choice > .access-card {
    max-height: 46svh;
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.partner-auth-scene .portal-role-mark {
  height: 48px;
  margin: 0;
}

.partner-auth-scene .portal-role-mark > .service-badge-art {
  width: 38px;
  height: 48px;
  margin: 0;
}

.partner-auth-scene .signin h1 {
  margin: 2px 0 6px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.partner-auth-scene .signin .eyebrow {
  margin: 0;
}

.partner-auth-scene .signin > .muted,
.partner-auth-scene .portal-hint {
  margin: 8px 0 10px;
  line-height: 1.45;
}

.partner-auth-scene .stack {
  gap: 8px;
}

.partner-auth-scene .stack input,
.partner-auth-scene .stack select {
  background: #fff;
  min-height: 44px;
  padding: 9px 11px;
  font-size: 1rem;
}

.partner-auth-scene .error:empty {
  display: none;
}

.partner-auth-scene .signin .primary {
  width: 100%;
  min-height: 44px;
}

.partner-auth-scene .partner-options .entry-card {
  background: #fffffff5;
  min-height: 72px;
  grid-template-columns: 42px minmax(0, 1fr) 20px !important;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 14px;
}

.partner-auth-scene .partner-options {
  gap: 7px;
}

.partner-auth-scene .partner-options .entry-card > .service-badge-art {
  width: 42px !important;
  height: 54px !important;
}

.partner-auth-scene .partner-options .entry-card > .entry-copy {
  gap: 1px;
}

.partner-auth-scene .partner-options .entry-card .entry-copy b {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.partner-auth-scene .partner-options .entry-card .entry-copy small {
  color: #315d4e;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.4;
}

.partner-auth-scene .partner-options .entry-card > i {
  width: 20px;
  height: 20px;
}

.partner-auth-scene.partner-choice .access-card > h1,
.partner-auth-scene .partner-options > h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.partner-signin-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.partner-auth-scene .partner-signin-title + .muted{margin-top:2px}.partner-auth-scene .secondary.wide{min-height:42px;margin-top:7px}.partner-auth-scene #staff-login + .secondary.wide{margin-top:8px}.partner-auth-scene .signin.panel{max-height:none;overflow:visible}

.partner-auth-scene .stack label {
  gap: 4px;
  font-size: .875rem;
  line-height: 1.4;
}

.partner-auth-scene .signin-language {
  margin-top: 0;
}

.partner-auth-scene .reset-link {
  display: flex;
  margin: 0 auto;
  min-height: 44px;
  padding: 6px 10px;
}

/* Keep the portrait width on tablets, but let long forms extend the document.
   A fixed frame plus hidden overflow made the signup button unreachable on iPad. */
@media (min-width: 600px) {
  .partner-auth-scene,
  .partner-auth-scene::before {
    width: min(430px, 56.25svh);
  }
  .partner-auth-scene{min-height:min(844px,calc(100svh - 32px));height:auto;margin:16px auto;border-radius:24px;overflow:visible}
  .partner-auth-scene::before{position:absolute;inset:0;width:100%;height:auto;transform:none;border-radius:24px}
}

/* Restore the illustrated role cards used before the unified sign-in repair. */
.partner-choice .partner-options{display:grid;gap:8px}
.partner-choice .partner-options .entry-card{width:100%;min-width:0;display:grid;align-items:center;text-align:start;text-decoration:none;color:#174637}
.partner-choice .partner-options .entry-copy{min-width:0;display:flex;flex-direction:column}
.partner-choice .partner-options .entry-copy :is(b,small){margin:0;text-align:start;overflow-wrap:anywhere}
.partner-choice .partner-options .entry-card>i{display:grid;place-items:center;border-radius:50%;background:#e8f4ee;color:#08704b;font-style:normal}
.partner-choice .partner-options .service-badge-art img{display:block;width:100%;height:100%;object-fit:contain}
.partner-choice .partner-choice-back{width:40px;min-height:40px;padding:4px;display:grid;place-items:center;background:#ffffffee;color:#075f42;border-radius:50%;text-decoration:none}
.partner-choice .text-button{display:block;min-height:44px;margin-top:8px;text-align:center}
.partner-choice .access-card{max-height:calc(100svh - 88px);overflow-y:auto;scrollbar-width:thin}
@media(min-width:600px){.partner-choice .access-card{max-height:calc(min(844px,100svh - 32px) - 88px)}}

/* Leave room around controls when Safari scrolls a focused field into view. */
.partner-auth-scene :is(input,select,textarea,button){scroll-margin-block:24px}


.signup-details,.activity-grid{margin:0;padding:0;border:0}
.signup-details{display:grid;gap:12px;min-width:0}
#staff-register [hidden]{display:none!important}
.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.activity-tile{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:98px;padding:8px 3px;color:#17482e;cursor:pointer}
.activity-tile img{width:65px;height:48px;object-fit:contain}
.activity-tile input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}
.activity-tile:has(:checked){background:#e9f7df;border:2px solid #177349}
.activity-tile:focus-within{outline:2px solid #cfaa36}
.activity-tile span{font-size:.83rem;font-weight:700}

body:has(#staff-register,.registration-tiles,#staff-register-otp) {background:#fff9f2}
body:has(#staff-register,.registration-tiles,#staff-register-otp) .partner-auth-scene {
 background: radial-gradient(ellipse 105% 23% at -30% -8%, #fffdf9 88%, #ffde94 98%, transparent 99%), #fff9f2;
 min-height:100svh;
}
body:has(#staff-register,.registration-tiles,#staff-register-otp) .partner-auth-scene::before {display:none}
.partner-choice.partner-auth-scene:has(.registration-tiles)>.access-card,
.partner-auth-scene>.panel:has(#staff-register) {
 margin:0 auto;width:100%;max-height:none;border:0;background:transparent;box-shadow:none;padding:8px 10px;overflow:visible;
}
.signup-welcome {margin:0 4px;color:#163e29;font-size:.95rem;font-weight:700}
.partner-auth-scene.partner-choice .access-card:has(.registration-tiles)>h1 {
 text-align:start;margin:4px 4px 16px;font-size:clamp(1.5rem,6vw,2rem);color:#073a25;
}
.registration-tiles {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.registration-tile {
 position:relative;isolation:isolate;display:flex;align-items:flex-end;min-width:0;
 min-height:clamp(136px,21svh,212px);padding:10px 7px;overflow:hidden;
 border-radius:12px;background:#244b37;color:#fffaf2;text-decoration:none;
}
.registration-tile img,.registration-tile::after {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.registration-tile::after {content:'';z-index:-1;background:linear-gradient(transparent 46%,#100d08bf 100%)}
.registration-tile b {color:#fffaf2;font-size:clamp(.88rem,4.15vw,1.18rem);line-height:1.35;overflow-wrap:anywhere;text-shadow:0 1px 4px #0009}
.registration-tile:focus-visible {outline:3px solid #d6940d}
.activity-tile {border:1px solid #d2e1d4;border-radius:15px;background:#fffdf9}
.activity-tile .activity-symbol {font-size:2rem;line-height:48px}
.activity-tile:has(:checked)::after {content:'✓';position:absolute;top:4px;inset-inline-end:5px;color:#075f42;font-weight:700}
#staff-register [data-show-details] {position:sticky;bottom:max(8px,env(safe-area-inset-bottom));width:100%;z-index:1}
.partner-auth-scene .registration-back {
 display:grid;
 place-items:center;
 width:44px;
 height:44px;
 border-radius:50%;
 background:#fff;
 color:#075f42;
 box-shadow:0 2px 9px #163f3017;
 text-decoration:none;
 font:32px/1 Arial,sans-serif;
 direction:ltr;
}
.partner-auth-scene .registration-back:focus-visible {outline:3px solid #d6940d}
#staff-register [data-kind="shops"] .activity-tile span:last-child {
 color:#084833;
 line-height:1.35;
 overflow-wrap:anywhere;
}

#staff-register .activity-tile[hidden] {display:none!important}
#staff-register [data-retail-group] h3 {
 display:flex;align-items:center;gap:10px;color:#004c37;font-size:19px;margin:16px 2px 8px;
}
#staff-register [data-retail-group] h3::before {
 content:'';width:5px;height:21px;border-radius:6px;background:#efb92c;
}
#staff-register [data-retail-group] h3::after {
 content:'';flex:1;height:1px;background:#caddd2;
}
#staff-register [data-kind="shops"] .activity-tile {
 border-radius:16px;
 background:#fff;
 border:1px solid #dae6ee;
 box-shadow:0 2px 6px #163f300a;
 gap:6px;
}
#staff-register [data-kind="shops"] .activity-tile:has(:checked) {
 background:#edf8f0;
 border-color:#15744c;
 box-shadow:inset 0 0 0 1px #15744c;
}

.partner-auth-scene.partner-welcome {
 width:100%;
 margin:0;
 border-radius:0;
 min-height:100vh;
 min-height:100dvh;
 justify-content:space-between;
 padding:0;
 overflow:hidden;
 background:#d9effa;
}
.partner-auth-scene.partner-welcome::before {
 position:absolute;
 inset:0;
 width:100%;
 transform:none;
 background:
  radial-gradient(ellipse 65% 26% at 50% 46%,#f5ffffee 5%,#e8ffff99 49%,transparent 90%),
  linear-gradient(#dff5ff66,#e2f8ff33 40%,transparent 64%,#002e33a6),
  var(--partner-welcome-photo,url("/assets/sahla-jijel-grand-phare-v232.webp")) center / cover no-repeat;
}
.partner-auth-scene.partner-welcome > header {
 position:static;
 justify-content:center;
 box-sizing:border-box;
 width:min(100%,640px);
 height:auto;
 margin:0 auto;
 padding:max(4dvh,env(safe-area-inset-top)) 5% 0;
}
.partner-auth-scene.partner-welcome > header .logo {
 position:absolute;
 top:45%;
 left:50%;
 width:min(46vw,23dvh);
 max-height:none;
 transform:translateX(-50%);
}
.partner-welcome header::after {
 content:"";
 position:absolute;
 top:13%;
 left:50%;
 transform:translateX(-50%);
 width:min(74vw,33dvh);
 aspect-ratio:1;
 background:url("/assets/bird-icon.png") center/contain no-repeat;
 filter:drop-shadow(0 12px 14px #00523722);
 pointer-events:none;
}
.partner-welcome .entry-languages {
 display:flex;
 direction:rtl;
 align-items:center;
 border-radius:30px;
 background:#ffffffc9;
 padding:3px;
 box-shadow:0 4px 20px #07472f0c,0 0 0 1px #1043320a;
}
.partner-welcome .entry-languages button {
 border:0;
 border-radius:24px;
 background:transparent;
 color:#124539;
 min-width:0;
 min-height:34px;
 padding:4px 14px;
 font:700 13px/1.25 "Sahla Partners",Arial,sans-serif;
}
.partner-welcome .entry-languages button[aria-pressed=true] {background:#006345;color:#fff}
.partner-welcome nav.entry-actions {
 position:static;
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 width:min(90%,600px);
 gap:4%;
 margin:0 auto;
 padding:0 0 max(8dvh,env(safe-area-inset-bottom));
 background:transparent;
 border:0;
 box-shadow:none;
}
.partner-welcome .entry-actions a {
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
 gap:2.4dvh;
 min-height:27dvh;
 text-align:center;
 padding:0 2%;
 border-radius:clamp(24px,7vw,36px);
 text-decoration:none;
 background:linear-gradient(148deg,#ffe16a,#ffca18);
 color:#033f30;
 font:700 clamp(19px,5.6vw,32px)/1.25 "Sahla Partners",Arial,sans-serif;
 box-shadow:0 14px 24px #00271b21,inset 0 2px 1px #ffffff75;
}
.partner-welcome .entry-actions a+a {background:linear-gradient(155deg,white,#f7fffb)}
.partner-welcome .entry-actions a::before {
 content:"";
 width:min(17vw,8dvh);
 aspect-ratio:1;
 border-radius:50%;
 background:#00533d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5M21 12H9m5-5-5 5 5 5'/%3E%3C/svg%3E") no-repeat center / 52%;
}
.partner-welcome .entry-actions a+a::before {
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1M19 6v7m-3.5-3.5h7'/%3E%3C/svg%3E");
}
[dir=ltr] .partner-welcome .entry-actions a {font-size:clamp(15px,4.15vw,24px)}
[dir=ltr] .partner-welcome .entry-actions a:first-child::before {transform:scaleX(-1)}
.partner-welcome :is(button,a):focus-visible {outline:3px solid #153f90;outline-offset:3px}
.partner-welcome .entry-actions a:active {transform:scale(.985)}
@media (orientation:landscape) {
 .partner-welcome header::after {width:36dvh;top:17%;left:41%}
 .partner-auth-scene.partner-welcome > header .logo {width:32dvh;top:31%;left:58%}
 .partner-welcome nav.entry-actions {width:min(80%,720px)}
 .partner-welcome .entry-actions a {min-height:32dvh;font-size:clamp(20px,3.5vw,32px)}
 .partner-welcome .entry-actions a::before {width:min(13dvh,74px)}
}

/* Shared customer and partner welcome. */
body:has(.partner-welcome) {padding:0}
.welcome-mosaic .partner-auth-scene.partner-welcome::before {
 background:var(--partner-welcome-photo) center / cover no-repeat;
}
.partner-welcome nav.entry-actions a,
.partner-welcome .entry-languages,
.customer-welcome > button[data-guest] {
 border:2px solid #e9b644;
 box-shadow:0 0 0 1px #fff0b8,0 7px 18px #002c2240,inset 0 1px 1px #fff9;
}
.partner-welcome nav.entry-actions a {
 min-height:24dvh;
 border-radius:24px;
}
.partner-welcome nav.entry-actions {padding-bottom:max(9dvh,calc(48px + env(safe-area-inset-bottom)))}
.customer-welcome > button[data-guest] {background:#003d35;min-height:38px}
@media (orientation:landscape) {
 .partner-welcome nav.entry-actions a {min-height:30dvh}
}

.partner-auth-scene.partner-welcome nav.entry-actions {
 width:min(90%,56dvh,550px);
 gap:14px;
 padding-bottom:max(9dvh,calc(58px + env(safe-area-inset-bottom)));
}
.partner-auth-scene.partner-welcome nav.entry-actions a {
 min-width:0;
 width:100%;
 aspect-ratio:1;
 box-sizing:border-box;
 min-height:0;
 gap:min(2dvh,16px);
 border:2px solid #dda62d;
 box-shadow:0 0 0 1px #ffe9a2,0 8px 22px #002c2240;
 font-size:clamp(17px,min(5vw,3.2dvh),27px);
}
[dir=ltr] .partner-auth-scene.partner-welcome nav.entry-actions a {font-size:clamp(14px,min(4vw,3dvh),23px)}

.registration-tile:has(.registration-icon) {
 flex-direction:column;
 justify-content:center;
 align-items:center;
 gap:10px;
 background:linear-gradient(155deg,white,#f9fffb);
 border:1px solid #dfc783;border-radius:22px;
 box-shadow:0 3px 9px #0637280d;
}
.registration-tile:has(.registration-icon)::after {display:none}
.registration-tile:has(.registration-icon) b {
 text-shadow:none;
 text-align:center;
 color:#063d30;
 font-size:clamp(.83rem,3.7vw,1.05rem);
}

.registration-icon {
 display:grid;
 place-items:center;
 width:min(21vw,96px);
 height:min(21vw,96px);
 grid-template:100% / 100%;
 color:#006548;
 background:radial-gradient(circle,#dff6e9 0 59%,transparent 60%);
}
.registration-icon svg {width:94%;height:94%;fill:currentColor}
.activity-tile .registration-icon {
 width:54px;
 height:54px;
 border-radius:19px;
 background:linear-gradient(145deg,#edfaf0,#d7f4e6);
 box-shadow:inset 0 -3px #ffcd2b;
}
.activity-tile .registration-icon svg {width:65%;height:65%}
.activity-tile:has(.registration-icon) {background:white;border:1px solid #d4e6dc;gap:8px;padding:12px 3px}
.activity-tile:has(:checked) .registration-icon {background:#00694c;color:#fff}
body:has(#staff-register,.registration-tiles,#staff-register-otp) .partner-auth-scene {
 background:linear-gradient(165deg,#e0f6e9,#fbfffc 53%,#f3faf6);
}
.partner-auth-scene:has(#staff-login)::before {background:none}
.partner-auth-scene:has(#staff-login),main.access-screen:has(.fast-login) {
 background:radial-gradient(ellipse at top,#fff,#e5f7ed 55%,#d6efe1);
 padding:0 0 max(22px,env(safe-area-inset-bottom));
 min-height:100dvh;
}
.partner-auth-scene:has(#staff-login) > header,main.access-screen:has(.fast-login) > header {
 min-height:88px;
 padding-top:max(12px,env(safe-area-inset-top));
 background:transparent;
}
.partner-auth-scene > .signin.panel:has(#staff-login),main.access-screen > .form-card.fast-login {
 width:min(calc(100% - 32px),460px);
 max-height:none;
 margin:14px auto;
 padding:24px 20px;
 border:1px solid #e2c36e;
 border-radius:28px;
 background:white;
 box-shadow:0 14px 38px #00463112;
}
:is(.partner-auth-scene .signin.panel,.access-screen .fast-login):has(#staff-login,#customer-login,#customer-signup) :is(input,.primary,.secondary) {
 border-radius:15px;
 min-height:52px;
}
:is(#staff-login,#customer-login,#customer-signup) input {background:#f7fbf8;border:1px solid #bad9cb;font-size:16px}
:is(#staff-login,#customer-login,#customer-signup) input:focus {outline:2px solid #00815a}
:is(#staff-login,#customer-login,#customer-signup) .primary {background:#006547;color:white;font-weight:700;font-size:18px}
:is(#staff-login,#customer-login,#customer-signup) .error:empty {display:none}
.partner-auth-scene .signin:has(#staff-login) h1,.access-screen .fast-login h1 {color:#004c37;font-size:1.6rem;text-align:center}
.partner-auth-scene .signin:has(#staff-login) .secondary,.fast-login .guest-button {background:#ffda51;color:#00412d;border:0}

.access-screen .fast-login > button[data-guest] {
 display:block;
 margin:6px auto;
 border:0;
 background:transparent;
 font:inherit;
 color:#006247;
 min-height:40px;
}
/* Sahla partner directory */
.registration-tiles,.activity-grid {--columns:3;--art:86px;--tile:145px;gap:10px;grid-template-columns:repeat(var(--columns),minmax(0,1fr))}
.activity-grid {--art:70px;--tile:115px}
:is(.registration-tiles,.activity-grid)[data-columns="1"] {--columns:1}
:is(.registration-tiles,.activity-grid)[data-columns="2"] {--columns:2}
:is(.registration-tiles,.activity-grid)[data-columns="4"] {--columns:4;gap:6px}
:is(.registration-tiles,.activity-grid)[data-size="compact"] {--art:52px;--tile:95px}
:is(.registration-tiles,.activity-grid)[data-size="large"] {--art:124px;--tile:180px}
.registration-tiles .registration-tile,#staff-register .activity-grid .activity-tile {
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
 padding:10px 4px;min-height:var(--tile);background:#fff;border:1px solid #e0e9e4;
 border-radius:20px;box-shadow:0 4px 12px #003e2e08;min-width:0;overflow-wrap:anywhere;
}
.registration-tiles .registration-tile::after {display:none}
.registration-tiles .registration-tile b,.activity-grid .activity-tile span:last-child {
 color:#063e33;text-shadow:none;text-align:center;font-size:clamp(13px,3.6vw,17px);line-height:1.4;
}
.registration-tiles .registration-tile img,.registration-tiles .sahla-art,#staff-register .activity-grid .activity-tile :is(.sahla-art,img,.registration-icon) {
 display:block;position:static;z-index:auto;width:min(var(--art),100%);aspect-ratio:1;height:auto;object-fit:contain;background-repeat:no-repeat;pointer-events:none;
}
#staff-register .activity-grid .activity-tile .registration-icon {display:grid;width:min(calc(var(--art) * .8),94%);place-items:center}
#staff-register .activity-grid .activity-tile:has(:checked) {border-color:#007454;box-shadow:0 0 0 1px #007454}
.partner-auth-scene .registration-tiles .registration-tile:active {transform:scale(.98);border-color:#008257}
body:has(.registration-tiles,#staff-register) .partner-auth-scene {background:linear-gradient(#e1f5ea,#f5f9f6 220px)}
.partner-auth-scene.partner-choice .access-card:has(.registration-tiles)>h1 {margin:2px 5px 20px;font-size:1.65rem}
.registration-tiles[data-columns="1"] .registration-tile,#staff-register .activity-grid[data-columns="1"] .activity-tile {flex-direction:row;justify-content:flex-start;padding-inline:18px;gap:20px;min-height:calc(var(--art) + 26px)}
.registration-tiles[data-columns="4"] .registration-tile b,#staff-register .activity-grid[data-columns="4"] .activity-tile span:last-child {font-size:12px}

/* Sign-in forms */
main.access-screen:has(#customer-login),.partner-auth-scene:has(#staff-login) {
 background:linear-gradient(170deg,#f9fffc 0,#def4e8 145px,#006448 330px,#00422e);
 width:100%;max-width:none;box-sizing:border-box;min-height:100dvh;overflow:visible;
 padding-inline:env(safe-area-inset-left) env(safe-area-inset-right);
 padding-bottom:max(28px,env(safe-area-inset-bottom));color:white;
}
main.access-screen:has(#customer-login)>header,.partner-auth-scene:has(#staff-login)>header {
 width:min(100%,490px);margin:0 auto;box-sizing:border-box;flex-shrink:0;
 height:calc(clamp(62px,9dvh,84px) + env(safe-area-inset-top));min-height:0;
 padding:env(safe-area-inset-top) 14px 0;background:transparent;
}
main.access-screen:has(#customer-login)>header img,.partner-auth-scene:has(#staff-login)>header .logo {filter:none;object-fit:contain;width:clamp(106px,33vw,144px);height:auto;max-height:54px}
main.access-screen > .form-card.fast-login:has(#customer-login),.partner-auth-scene > .signin.panel:has(#staff-login) {
 color:#163e32;border:1px solid #e1bd65;border-top:3px solid #f8c744;
 width:min(calc(100% - 24px),460px);min-width:0;box-sizing:border-box;
 padding:clamp(18px,3dvh,28px) clamp(14px,5vw,24px) 16px;
 margin:clamp(50px,8dvh,76px) auto 12px;overflow:visible;position:relative;
}
:is(.fast-login,.signin.panel):has(#staff-login,#customer-login)::before {
 content:"";position:absolute;bottom:calc(100% - 22px);left:50%;transform:translateX(-50%);width:clamp(74px,11dvh,110px);aspect-ratio:1;pointer-events:none;background:url('/assets/bird-icon.png') center/contain no-repeat;
}
:is(.fast-login,.signin.panel):has(#staff-login,#customer-login) h1 {margin:12px 0 18px;font-size:26px;line-height:1.32}
.partner-auth-scene .partner-signin-title .eyebrow {margin:10px auto 0;text-align:center}
:is(#staff-login,#customer-login) {gap:clamp(10px,1.75dvh,17px)}
:is(#staff-login,#customer-login,#customer-signup) :is(label,.password-field,input,button.primary) {
 min-width:0;max-width:100%;box-sizing:border-box;
}
:is(#staff-login,#customer-login,#customer-signup) input {width:100%}
main.access-screen:has(#customer-login) > header .brand {
 position:absolute;left:50%;transform:translateX(-50%);
}
@media (max-height:720px) {
 :is(.fast-login,.signin.panel):has(#staff-login,#customer-login) h1 {margin:6px 0 10px;font-size:22px}
 .partner-auth-scene .partner-signin-title .eyebrow {margin:0}
 .access-screen .fast-login:has(#customer-login) .switch {margin:5px 0;padding-top:5px}
 :is(.partner-auth-scene .signin.panel,.access-screen .fast-login):has(#staff-login,#customer-login) :is(input,.primary,.secondary) {min-height:46px}
}
@media (max-height:500px) {
 :is(.fast-login,.signin.panel):has(#staff-login,#customer-login)::before {display:none}
 main.access-screen > .form-card.fast-login:has(#customer-login),.partner-auth-scene > .signin.panel:has(#staff-login) {margin-top:6px}
 :is(#staff-login,#customer-login) [role="alert"]:empty {display:none}
 :is(#staff-login,#customer-login) {gap:6px}
}
@media (max-height:500px) and (min-width:650px) {
 main.access-screen > .form-card.fast-login:has(#customer-login),.partner-auth-scene > .signin.panel:has(#staff-login) {width:min(calc(100% - 24px),680px);padding:10px 16px}
 :is(#staff-login,#customer-login) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
 :is(#staff-login,#customer-login) > :not(label) {grid-column:1/-1}
}
:is(#staff-login,#customer-login) label {text-align:start;font-size:15px;font-weight:700;gap:7px}
:is(#staff-login,#customer-login) .password-field {position:relative;display:flex;border:0;background:none;padding:0}
:is(#staff-login,#customer-login) .password-field input {width:100%;padding-inline-end:52px}
:is(#staff-login,#customer-login) .password-field button {position:absolute;inset-inline-end:4px;top:4px;bottom:4px;width:44px;margin:0;background:transparent;border:0}
:is(#staff-login,#customer-login) button.primary {margin-top:5px;min-height:56px}
.access-screen .fast-login .forgot-link,.access-screen .fast-login>button[data-guest] {width:100%;margin:5px auto;text-align:center}
.access-screen .fast-login .switch {padding-top:12px;border-top:1px solid #e6efea}


#staff-register .activity-grid .activity-tile .registration-icon {height:min(calc(var(--art) * .8),65px);background:#eff8f2;box-shadow:none}
#staff-register .activity-grid .activity-tile .registration-icon svg {width:72%;height:72%}
.sahla-art {clip-path:inset(2% round 6px)}

@media (orientation:landscape) {
 .partner-auth-scene.partner-welcome nav.entry-actions {width:min(52%,84dvh);padding-bottom:max(14dvh,52px)}
 .partner-welcome header::after {top:16%;left:39%;width:24dvh}
 .partner-auth-scene.partner-welcome > header .logo {top:21%;left:59%;width:29dvh}
 .partner-auth-scene.partner-welcome > header {padding-top:5px;min-height:44px}
}
.registration-tile .account-icon-fallback {font-size:clamp(38px,12vw,70px);line-height:1.25}

/* Account controls shared by the customer profile and partner dialogs. */
:is(.profile-page,.profile-sheet-actions,.staff-more-grid) button.sahla-settings[data-account-permissions] {
 display:grid;
 grid-template-columns:46px minmax(0,1fr) 12px;
 grid-column:1/-1;
 align-items:center;
 gap:12px;
 box-sizing:border-box;
 width:100%;
 min-height:78px;
 padding:14px 16px;
 border:1px solid #dbb85e;
 border-radius:19px;
 background:linear-gradient(115deg,#f4fbf6,white 74%);
 color:#054831;
 box-shadow:0 4px 12px #003c2810;
 text-align:start;
 cursor:pointer;
}
.profile-page button.sahla-settings {margin-block:14px}
.sahla-settings-mark {display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#006545;color:white}
button.sahla-settings .sahla-settings-mark svg {width:28px;height:28px}
button.sahla-settings .sahla-settings-label {display:grid;gap:3px;line-height:1.45}
button.sahla-settings .sahla-settings-label strong {font-size:17px;color:#004830}
button.sahla-settings .sahla-settings-label small {font-size:13px;color:#45665b;font-weight:500}
.sahla-settings::after {content:'';width:8px;height:8px;border-top:2px solid #006545;border-inline-end:2px solid #006545;transform:rotate(-45deg)}
[dir=ltr] .sahla-settings::after {transform:rotate(45deg)}
#central button[data-settings]:not([data-settings=""]),dialog button[data-settings]:not([data-settings=""]) {
 display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid #d9b65d;
 background:#006346;color:white;font-weight:700;border-radius:13px;min-height:42px;padding:8px 13px;
}
:is(#central,dialog) button[data-settings]:not([data-settings=""])::before {content:'';flex:none;width:20px;height:20px;background:#ffda55;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22m10%202-.6%202.3-2%201.2-2.3-.6-2%203.5%201.7%201.7v3.8l-1.7%201.7%202%203.5%202.3-.6%202%201.2.6%202.3h4l.6-2.3%202-1.2%202.3.6%202-3.5-1.7-1.7v-3.8l1.7-1.7-2-3.5-2.3.6-2-1.2L14%202Z%22/%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.5%22%20stroke%3D%22black%22/%3E%0A%20%20%20%3C/svg%3E") center/contain no-repeat}
button.sahla-settings:focus-visible,button[data-settings]:focus-visible {outline:3px solid #d79d19;outline-offset:3px}
button.sahla-settings:active {transform:scale(.99)}


/* Shared compact navigation for customer and partner applications. */
nav.sahla-bottom-nav{position:fixed;inset:auto 0 0;z-index:45;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.1rem;width:100%;max-width:none;height:auto;margin:0;padding:.2rem .3rem calc(.2rem + env(safe-area-inset-bottom));border:0;border-top:1px solid #dce5eb;border-radius:0;background:#fff;box-shadow:0 -4px 18px #17324508;transform:none;box-sizing:border-box}
nav.sahla-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-width:0;min-height:48px;margin:0;padding:.25rem .1rem;border:0;border-radius:7px;background:transparent;color:#71828f;box-shadow:none;font-size:.75rem;font-weight:500;line-height:1.2}
nav.sahla-bottom-nav button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
nav.sahla-bottom-nav button span{white-space:nowrap}
nav.sahla-bottom-nav button[aria-current=page]{color:#16705a;background:#edf6f1;font-weight:700}
nav.sahla-bottom-nav button:focus-visible{outline:2px solid #16705a;outline-offset:-2px}
.staff-shell .workspace{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.staff-shell .driver-map-workspace{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
.phone-shell .app-content{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
.staff-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:1rem}
.staff-more-grid button{display:flex;align-items:center;justify-content:center;gap:.6rem;min-height:56px;padding:.8rem;background:#f5f9f7;border:1px solid #dce8e2;border-radius:12px;color:#245347}
.staff-more-grid svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:701px){.staff-shell nav.sahla-bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:min(640px,100%);border:1px solid #dce5eb;border-bottom:0;border-radius:16px 16px 0 0}.phone-shell nav.sahla-bottom-nav{left:50%;right:auto;transform:translateX(-50%);max-width:600px}}

/* Keep the back arrow visible alongside the logo and language controls. */
.app-header.customer-header{display:grid;grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr);gap:8px;padding:8px 12px;position:sticky;top:0;z-index:40;background:#fff}
.app-header.customer-header>.page-back{position:static;justify-self:start;width:44px;height:44px;min-width:44px;padding:10px;display:grid;place-items:center;border-radius:10px}
.app-header.customer-header>.profile-logo{position:static;justify-self:start;width:44px;height:48px}
.app-header.customer-header>.header-tools{position:static;justify-self:end;min-width:0;gap:4px}
.app-header.customer-header>.app-wordmark{position:static;width:90px;height:40px}
.customer-header .location-header{width:36px;min-width:36px;padding:3px;justify-content:center}
.customer-header .location-header>span:last-child{display:none}
.page-back svg,[data-back-stores] svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[dir=ltr] .page-back svg,html[dir=ltr] [data-back-stores] svg{transform:rotate(180deg)}
.selected-store-heading [data-back-stores]{display:grid;place-items:center;width:44px;min-height:44px;padding:10px}

/* Physical left/right positions are retained in every language. */
.app-header.customer-header.live-location-header{display:flex;direction:ltr;justify-content:space-between;gap:10px;height:auto;min-height:70px;padding:10px 12px}
.live-location-header .header-language-slot{flex:0 0 auto;order:0}
.live-location-header .language-options{left:0;right:auto;inset-inline-end:auto}
.live-location-header .location-header{order:1;display:flex;direction:rtl;align-items:center;gap:8px;flex:1 1 auto;width:auto;max-width:none;min-width:0;height:auto;min-height:44px;padding:5px 8px;background:transparent;border:0;border-radius:8px;text-align:right}
.live-location-header .location-header .location-icon{flex:0 0 30px;width:30px;height:30px}
.live-location-header .location-header>span:last-child{display:block;max-width:none;min-width:0;white-space:normal;overflow:visible}
.live-location-header .location-header b{display:block;font-size:.8rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.live-location-header>.page-back{order:2;flex:0 0 40px;width:40px!important;min-width:40px!important}
.store-rating-distance{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 7px}.store-rating-distance .store-rating{margin:0}.store-rating-distance .store-distance{font-size:.78rem;color:#526c60;white-space:nowrap}.store-distance[hidden]{display:none!important}

/* Compact customer home: language left, Sahla centered, address right. */
.app-header.customer-header.balanced-customer-header{display:grid;grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);direction:ltr;gap:8px;min-height:66px;padding:8px 12px}
.balanced-customer-header .header-language-slot{display:flex;align-items:center;justify-content:flex-start;gap:5px;min-width:0;grid-column:1;order:0}
.app-header.balanced-customer-header>.app-wordmark{display:block;grid-column:2;order:0;width:86px;height:40px;object-fit:contain;justify-self:center}
.balanced-customer-header>.location-header{grid-column:3;order:0;padding:2px 0;gap:5px;justify-self:stretch;min-height:44px}
.balanced-customer-header .location-header .location-icon{width:23px;height:28px;flex-basis:23px;background:transparent}
.balanced-customer-header .location-header svg{width:20px;height:20px}
.balanced-customer-header .location-header b,.balanced-customer-header .location-header small{display:block;font-size:.69rem;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.balanced-customer-header .location-header small{font-size:.65rem;color:#668074;font-weight:400}
.balanced-customer-header .location-header>span:last-child{flex:1;overflow:hidden}
.balanced-customer-header .header-language-slot .page-back{display:grid;place-items:center;width:36px;min-width:36px;min-height:40px;padding:6px;border-radius:8px}
.customer-home>.app-content{padding-top:6px}
.customer-home .home-hero.compact-home-hero{min-height:68px;height:auto;margin:0 0 8px;padding:8px 12px;grid-template-columns:minmax(0,1fr) 54px;border-radius:13px;box-shadow:none}
.customer-home .home-hero.compact-home-hero .hero-copy h1{margin:0 0 3px;font-size:1rem;line-height:1.4}
.customer-home .home-hero.compact-home-hero .hero-copy p{margin:0;font-size:.75rem;line-height:1.4}
.customer-home .home-hero.compact-home-hero img{width:52px;height:52px;object-fit:contain;filter:none}
.customer-home .universal-search{margin:8px 0;padding:0;border:0;background:transparent;border-radius:10px;gap:0}
.customer-home .universal-search .search-launcher{min-height:44px;height:44px;margin:0;padding:7px 11px;gap:8px;border-radius:10px;background:#f5f9f7;font-size:.8rem}
.customer-home .search-launcher svg{width:19px;height:19px}
.customer-home .free-services{margin:10px -16px 12px;padding:8px 0;background:#f6faf8;border-color:#e5eee9}
.customer-home .free-services-title{padding:0 16px 6px;align-items:center}
.customer-home .free-services-title h2{font-size:.9rem;margin:0}
.customer-home .free-services-title>span{font-size:.67rem}
.customer-home .free-services-slider{gap:10px;padding:0 16px 2px;scroll-padding-inline:16px}
.customer-home .free-services-slider button{flex:0 0 100%;min-width:0;min-height:62px;display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:9px;padding:8px 11px;border-radius:11px;box-shadow:none}
.customer-home .free-services-slider i{width:34px;height:34px;border-radius:9px;font-size:1.15rem}
.customer-home .free-service-copy{min-width:0}
.customer-home .free-services-slider b{margin:0 0 3px;font-size:.83rem;line-height:1.35}
.customer-home .free-services-slider small{font-size:.7rem;line-height:1.4}
.customer-home .free-service-chevron{color:#52806c;font-size:1.2rem}
@media(max-width:350px){.app-header.customer-header.balanced-customer-header{grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:6px;padding-inline:9px}.app-header.balanced-customer-header>.app-wordmark{width:72px}.balanced-customer-header .header-language-slot{gap:2px}.balanced-customer-header .header-language-slot .page-back{width:32px;min-width:32px;padding:4px}}

.auto-services>button[hidden]{display:none!important}.customer-home .auto-services{display:block;overflow:hidden;touch-action:pan-y}.customer-home .auto-services>button{width:100%;animation:service-slide-in .3s ease both}@keyframes service-slide-in{from{opacity:.4;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.customer-home .auto-services>button{animation:none}}.search-businesses,.search-products{margin:16px 0}.search-businesses>h2,.search-products>h2{font-size:1rem;margin:0 0 10px}.search-businesses h2 small,.search-products h2 small{font-size:.75rem;color:#698174}.search-products .comparison-group h3{font-size:.9rem;margin:0}

.app-header.customer-header.balanced-customer-header{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.balanced-customer-header .header-language-slot{justify-self:stretch;width:100%;justify-content:flex-start;direction:ltr;gap:5px}.balanced-customer-header .header-language-slot .page-back,.selected-store-heading [data-back-stores]{display:grid;place-items:center;width:44px;min-width:44px;min-height:44px;padding:8px;background:#086547;color:#fff;border:1px solid #086547;border-radius:10px;box-shadow:none}.balanced-customer-header .page-back svg,.selected-store-heading [data-back-stores] svg{width:25px;height:25px;stroke-width:2.6}.balanced-customer-header .page-back:focus-visible{outline:3px solid #93c8b1;outline-offset:2px}
.search-page-empty>span svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.search-launcher svg,.search svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.support-inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.support-admin-inbox .notification-history>article{display:block;padding:20px}.support-admin-inbox .notification-history>article>strong,.support-admin-inbox .notification-history>article>small{display:block;margin-bottom:8px}.support-transcript{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f2f6f8;border-radius:12px;line-height:1.8}.support-admin-inbox textarea{min-height:110px}.support-admin-inbox .support-response-form{max-width:760px}
.customer-home [data-ad-slot]{width:calc(100% - 24px);margin-inline:auto}.customer-home [data-ad-slot] .ad-carousel{width:100%;margin-inline:0}
.customer-home .app-content>[data-ad-slot]{width:100%;margin-inline:0}

/* Wide customer browsing uses the available screen, including desktop mode on phones. */
@media(min-width:701px){
 body:has(#root .phone-shell){padding:0;background:#f5f9f7}
 #root .phone-shell{width:100%;max-width:none;min-height:100dvh;margin:0;border-radius:0;box-shadow:none;overflow:clip}
 #root .phone-shell .app-content{width:100%;max-width:1440px;margin-inline:auto;padding:24px 32px 104px}
 #root .phone-shell .app-header{padding-inline:32px;height:80px}
 #root .phone-shell nav.sahla-bottom-nav{width:100%;max-width:none;bottom:0;border-radius:0;padding-inline:max(24px,calc((100vw - 1200px)/2))}
 #root .customer-home .service-filter .categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 #root .customer-home .service-filter .categories button{min-width:0;min-height:120px}
 #root .phone-shell .store-list,#root .phone-shell .comparison-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
 #root .phone-shell .store-card,#root .phone-shell .comparison-group{min-width:0;margin:0}
 #root .customer-home .app-content>[data-ad-slot]{width:min(100%,900px);margin:16px auto}
 #root .customer-home .ad-carousel{width:100%;margin-inline:0}
 #root .customer-home .compact-home-hero{min-height:84px}
 #root .customer-home .compact-home-hero h1{font-size:1.25rem}
 #root .customer-home .free-services{margin-inline:0;border-radius:14px}
 #root .customer-home .free-services-slider b,#root .customer-home .search-launcher{font-size:1rem}
 #root .customer-home .free-services-slider small{font-size:.875rem}
 #root .phone-shell .search-page-head{max-width:900px;margin-inline:auto}
 #root .phone-shell .search-cart-bar{width:calc(100% - 64px);max-width:1376px}
}
@media(min-width:1200px){#root .phone-shell .store-list,#root .phone-shell .comparison-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(min-width:701px){#root .customer-home .ad-slide img,#root .customer-home .ad-slide video{object-fit:contain;background:#f0f6f3}#root .customer-home .service-copy b{font-size:1rem}#root .customer-home .service-copy small{font-size:.875rem}}

.cash-summary{display:block;padding:14px;margin:12px 0;border:1px solid #b6d5c3;border-radius:12px;background:#edf7f1;color:#075c40}

.simple-delivery .app-content{padding-top:16px}.simple-delivery .simple-checkout{margin:12px 0;padding:0;border:0;box-shadow:none;background:transparent;gap:14px}.simple-checkout .checkout-section{border:1px solid #dce8e1;border-radius:18px;background:#fff;padding:16px;display:grid;gap:14px}.simple-checkout .checkout-section h2{display:flex;gap:9px;align-items:center;margin:0;font-size:1rem;color:#075c40}.simple-checkout label{font-size:.875rem;gap:6px}.simple-checkout input,.simple-checkout select{min-height:46px;border-radius:10px;padding:10px;width:100%;border:1px solid #cbded4;background:#fff}.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkout-fields>*{min-width:0}.simple-checkout .checkout-options,.simple-checkout .checkout-contact{border:1px solid #e0e9e4;border-radius:12px;padding:12px;background:#f9fcfa}.checkout-options summary,.checkout-contact summary{cursor:pointer;font-size:.875rem;color:#17654c}.checkout-contact summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.checkout-contact summary strong{display:block;font-size:.875rem;line-height:1.7;color:#264a3b}.checkout-contact[open] .checkout-fields,.checkout-options[open] .vehicle-options{margin-top:12px}.vehicle-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vehicle-options label{position:relative;cursor:pointer}.vehicle-options input{position:absolute;width:1px;min-height:0;height:1px;opacity:0}.vehicle-options span{display:flex;gap:8px;align-items:center;padding:12px;border:1px solid #d3e3d9;border-radius:12px;background:#fff;font-size:.875rem}.vehicle-options input:checked+span{border-color:#07835a;background:#e9f7ef;color:#075d40}.vehicle-options input:focus-visible+span{outline:3px solid #73b89a}.simple-checkout .parcel-route-panel{padding:0;background:transparent;border:0;box-shadow:none}.simple-checkout .parcel-map{height:220px;min-height:220px;border-radius:14px}.simple-checkout .parcel-point-picker{gap:8px}.simple-checkout .parcel-point-choice{padding:10px;min-height:44px;border-radius:12px}.simple-checkout .map-selection-status{padding:8px 10px;font-size:.8rem;min-height:0}.simple-checkout .parcel-coordinate-editor{margin-block:8px}.simple-checkout .carrier-customer-profile{margin:0;padding:12px;border-radius:12px}.simple-checkout .carrier-customer-heading{display:none}.simple-checkout .parcel-live-price{margin:0;background:#f1f8f4;box-shadow:none;padding:12px;border-radius:12px}.simple-checkout [data-parcel-quote]{margin:8px 0 0;min-height:42px}.simple-checkout .checkout-cash{display:flex;align-items:center;gap:8px;margin:0;color:#476457;font-size:.875rem}.simple-checkout .checkout-finish .primary{margin:0;min-height:50px;font-size:1rem}.simple-checkout .compact-promo{margin:0}.simple-checkout .error:empty,.simple-checkout [data-company-location]:empty{display:none}.delivery-service-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;background:#e7f5ee;color:#086b4b;flex-shrink:0}.delivery-service-icon svg{width:34px;height:34px;stroke-width:1.7}.simple-checkout [hidden]{display:none!important}@media(min-width:701px){#root .simple-delivery .app-content{max-width:900px}.simple-checkout .parcel-map{height:280px}.simple-checkout .checkout-section{padding:22px}.vehicle-options{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* A readable, live delivery breakdown on phones and tablets. */
.summary[data-cart-delivery] > .delivery-price-breakdown, .delivery-price-breakdown, .delivery-promo-panel [data-delivery-summary] > .delivery-price-breakdown { width:100%; min-width:0; display:grid; gap:10px; }
.delivery-price-row { display:flex; align-items:baseline; justify-content:space-between; gap:16px; font-size:.9rem; }
.delivery-price-row span { min-width:0; overflow-wrap:anywhere; }
.delivery-price-row b { white-space:nowrap; flex-shrink:0; }
.delivery-price-total { border-top:1px solid #d8e9df; padding-top:12px; font-size:1.05rem; color:#06534d; }

/* Compact checkout: one vehicle control and a concise final amount. */
#root .simple-delivery .app-content{padding-bottom:calc(124px + env(safe-area-inset-bottom,0px))}
#root .simple-checkout .checkout-options{padding:12px 14px;border-radius:14px;background:#fff}
#root .simple-checkout .checkout-options>summary{font-size:14px;font-weight:700;line-height:1.5}
#root .simple-checkout .checkout-options[open]>summary{margin-bottom:12px}
#root .simple-checkout .checkout-options>label{margin-top:12px;font-size:13px;line-height:1.4}
#root .simple-checkout .checkout-options>label>input,#root .simple-checkout .checkout-options>label>select{height:44px;min-height:44px;font-size:16px;padding:8px 10px;border-radius:10px}
#root .simple-checkout .checkout-vehicle-picker{display:grid;gap:6px;min-width:0}
#root .simple-checkout .checkout-vehicle-picker>label{margin:0;font-size:13px;font-weight:600;color:#47695b}
#root .simple-checkout .checkout-vehicle-control{position:relative;display:flex;align-items:center;min-width:0;height:48px;background:#f1f8f4;border:1px solid #b7d1c3;border-radius:11px;color:#125b43}
#root .simple-checkout .checkout-vehicle-control select{position:relative;z-index:1;width:100%;height:46px;min-height:46px;appearance:none;-webkit-appearance:none;border:0;border-radius:10px;background:transparent;color:inherit;padding-block:8px;padding-inline:48px 34px;font-size:16px;font-weight:600;line-height:1.4;cursor:pointer}
#root .simple-checkout [data-current-vehicle-icon]{position:absolute;inset-inline-start:11px;display:grid;place-items:center;pointer-events:none;width:28px;height:28px;padding:0;border:0;background:none}
#root .simple-checkout [data-current-vehicle-icon] svg{width:28px;height:25px;stroke-width:1.6;fill:none}
#root .simple-checkout .vehicle-select-arrow{position:absolute;inset-inline-end:11px;width:16px;height:16px;pointer-events:none}
#root .simple-checkout .checkout-finish{gap:10px;padding:14px;border-radius:16px;box-shadow:0 3px 12px #0c503308}
#root .simple-checkout .checkout-finish h2{font-size:16px;margin:0 0 2px}
#root .simple-checkout .checkout-finish .compact-promo{padding:0;border:0;background:transparent;box-shadow:none}
#root .simple-checkout .checkout-finish [data-delivery-summary]{margin:0;padding:0;display:block;font-size:15px}
#root .simple-checkout .checkout-finish .delivery-price-breakdown{gap:9px}
#root .simple-checkout .checkout-finish .delivery-price-row{font-size:14px;gap:12px}
#root .simple-checkout .checkout-finish .delivery-price-total{padding-top:10px;font-size:17px}
#root .simple-checkout .checkout-finish .promo-entry{margin-top:10px;gap:6px}
#root .simple-checkout .checkout-finish .promo-entry input{min-height:40px;height:40px;font-size:16px}
#root .simple-checkout .checkout-finish .promo-entry button{min-height:40px;height:40px;padding:7px 12px;font-size:13px}
#root .simple-checkout [data-promo-message]:empty{display:none}
#root .simple-checkout .checkout-finish .primary{min-height:46px;font-size:15px;border-radius:12px}

:root{--experience-ink:#142b44;--experience-accent:#087e80;--experience-line:#c8dbe5}body{color:var(--experience-ink)}.customer-home .universal-search{margin:14px 4px 22px;position:relative;z-index:1}.customer-home .search-launcher,.cloud-search{min-height:62px;border:1px solid #d2e6eb;border-radius:32px;background:linear-gradient(135deg,#fff,#edfaff);box-shadow:0 10px 28px #2768761a;display:flex;align-items:center;gap:12px;padding:12px 20px;color:#405f70;font-weight:400;font-size:16px;width:100%}.customer-home .search-launcher span:nth-child(2){font-weight:400}.customer-home .home-discovery{background:transparent}.customer-home .image-services{margin:0 0 18px;border:0;background:none;padding:0}.service-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.service-image-card{border:1px solid #e0eaf0;background:#fff;border-radius:18px;overflow:hidden;padding:0;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 16px #2142590a}.service-image-card img{width:100%;aspect-ratio:1.2;object-fit:cover;background:#f0f7fb}.service-image-card b{font-size:14px;line-height:1.65;padding:8px 4px;min-height:52px;color:#173d52}.free-services-title h2{font-size:20px}.free-services-title span{font-size:13px;color:#466277}.market-entry{display:flex;justify-content:space-between;gap:12px;padding:18px;background:#e8f5f7;border-radius:18px;color:#095e6d;text-decoration:none;margin:16px 0;font-weight:700}.market-entry span{font-size:14px}.experience-page{max-width:1100px;margin:auto;padding:20px}.experience-page h1{font-size:28px}.experience-page h2{font-size:20px}.experience-page label{display:grid;gap:8px;font-size:16px;margin:12px 0}.experience-page input,.experience-page select,.experience-page button{font:inherit;min-height:44px;border:1px solid #b8cedb;border-radius:12px;padding:10px;color:#193b50;background:#fff}.experience-page input[type=checkbox]{min-height:auto;accent-color:#087e80}.experience-page button{cursor:pointer}.experience-page button[type=submit],.experience-page form>button{background:#087e80;color:white}.experience-page details{border:1px solid #ccdfe8;background:#fff;border-radius:18px;padding:18px;margin:15px 0}.experience-page summary{cursor:pointer;font-weight:700}.settings-grid,.category-image-grid,.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.config-card,.market-card{min-width:0;border:1px solid #d8e4ea;border-radius:18px;padding:14px;background:white;color:#17354c;text-decoration:none}.config-card img,.market-card>img{width:100%;height:150px;object-fit:cover;border-radius:12px}.config-card input:not([type=checkbox]){max-width:100%;width:100%;box-sizing:border-box}.category-image-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0}.category-image-grid button{padding:0;overflow:hidden;display:grid;align-content:start;background:white}.category-image-grid img{width:100%;height:100px;object-fit:cover}.category-image-grid b{font-size:15px;padding:10px}.category-image-grid .selected{outline:3px solid #0b8585;background:#e6f6f5}.cloud-search input{border:0;background:transparent;min-width:0;flex:1;outline-offset:4px}.classification-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.classification-grid label{display:flex;align-items:center;background:white;padding:10px;border-radius:12px}.experience-page nav{display:flex;flex-wrap:wrap;gap:18px;margin:20px 0}.experience-page #notice{color:#065b65;font-size:16px;position:sticky;top:4px;background:#e9f8fa;border-radius:10px;z-index:2;padding:8px}.experience-page #notice:empty{display:none}.experience-page input:focus-visible,.experience-page button:focus-visible{outline:3px solid #17a4a1;outline-offset:2px}.experience-page header img{width:105px}.ad-carousel{overflow:hidden;border-radius:18px;margin-bottom:16px}.ad-slides img,.ad-slides video{display:block;width:100%;max-height:330px;object-fit:contain;background:#edf4f7}.ad-slide[hidden]{display:none!important}.sa-pull-notice{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:9999;padding:12px 22px;border-radius:30px;background:#123e52;color:#fff;box-shadow:0 6px 25px #123e5233}body:has(.sa-shell){--sa-text:#17334c;--sa-muted:#4b6175;--sa-primary:#087b82;background:#edf3f8}.sa-shell .panel{border-color:#cddce6;box-shadow:0 5px 22px #163d5a08}.sa-shell .muted{color:#4b6175!important}.sa-shell input,.sa-shell select,.sa-shell textarea{background:#fff;color:#17334c;border-color:#9db5c8;font-size:16px}.sa-shell h2,.sa-shell h3{color:#143c59}.sa-shell .primary{background:#087b82;color:#fff}.sa-shell .control-error{color:#ac2738;font-size:15px}.sa-shell .ad-editor-preview{background:#eaf1f5}.sa-shell .ad-editor-preview img{object-fit:contain;max-height:240px}.sa-shell .ad-editor-grid{align-items:start}@media(max-width:650px){.experience-page{padding:14px}.settings-grid,.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-image-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.category-image-grid img{height:80px}.classification-grid{grid-template-columns:repeat(2,1fr)}.config-card{padding:10px}.config-card img{height:105px}.experience-page .settings-grid{grid-template-columns:1fr}.market-card>img{height:120px}}@media(prefers-reduced-motion:no-preference){.customer-home .search-launcher{animation:search-arrive .55s ease both}@keyframes search-arrive{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
.customer-home .app-content{max-width:1100px;margin-inline:auto}.customer-home .universal-search .search-launcher{border-radius:32px!important;min-height:62px!important;font-size:16px!important;background:linear-gradient(120deg,#fff,#eaf7fc)!important;box-shadow:0 10px 25px #22687915!important}.service-image-card img{height:108px;aspect-ratio:auto;object-fit:contain}.service-image-card b{min-height:auto;font-size:14px}.category-image-grid img{object-fit:contain}.image-services .free-services-title{margin:12px 0}.commercial-ad img{object-fit:contain!important}@media(min-width:800px){.service-image-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.service-image-card img{height:130px}.service-image-card b{min-height:50px}.customer-home .home-hero{max-height:100px}}.service-image-card[hidden]{display:none!important}

.customer-home .free-services-banner{padding:0;margin:0 0 16px;border:0;background:transparent}.customer-home #home-ad-carousel,.customer-home #free-services-carousel{margin:0 0 16px;width:100%;border-radius:18px}.customer-home #free-services-carousel{margin:0;touch-action:pan-y}.customer-home #home-ad-carousel .commercial-ad>img,.customer-home #home-ad-carousel .commercial-ad>video,.customer-home .service-banner{height:clamp(118px,32vw,168px);width:100%}.service-banner{position:relative;display:block;padding:0;border:0;border-radius:18px;overflow:hidden;text-align:right;cursor:pointer;background:#064c49}.service-banner>img{width:100%;height:100%;max-height:none;object-fit:cover}.service-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,#032f37e8 0%,#032f3799 35%,transparent 72%);pointer-events:none}.service-banner-copy{position:absolute;z-index:1;inset:0 5% 0 auto;width:52%;display:flex;flex-direction:column;justify-content:center;gap:7px;color:#fff}.service-banner-copy small{font-size:11px;color:#b9f7dd}.service-banner-copy b{font-size:clamp(16px,4vw,24px);line-height:1.45;color:#fff}.service-banner-copy>span{font-size:11px;color:#d7f7ec}.service-banner:focus-visible{outline:3px solid #18b98b;outline-offset:-3px}

#root .customer-home .free-services-banner{width:min(100%,900px);margin-inline:auto}.customer-home #free-services-carousel .service-banner>img{height:100%;width:100%;object-fit:cover;max-height:none}

/* Service directories: search first, compact text lists and readable contrast. */
.market-search{margin:8px 0 0;min-height:56px}.experience-page .market-search input{font-size:17px;min-width:0;padding:5px 0}.experience-page .market-search button{font-size:15px;flex-shrink:0;background:#087e80;color:#fff;border:0}.search-scope{margin:8px 8px 12px;color:#3c5567;font-size:13px}.experience-page .market-categories{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 0 20px;padding:4px 2px 12px;scrollbar-width:thin}.market-categories button{white-space:nowrap;flex:0 0 auto;border:1px solid #b8ced2;border-radius:22px;color:#173b45;background:#fff;padding:8px 17px;font-size:15px;font-weight:600}.market-categories button[aria-pressed=true]{background:#076b59;color:white;border-color:#076b59}.market-list{display:grid;gap:9px;margin-bottom:24px}.market-list-row{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #d7e3e8;border-radius:15px;background:#fff;color:#163746;text-decoration:none}.market-list-row img{width:66px;height:66px;object-fit:contain;border-radius:12px;flex-shrink:0}.market-list-row>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.market-list-row b{font-size:17px;color:#153b40}.market-list-row small{font-size:14px;color:#455f6a}.market-list-row strong{font-size:15px;color:#07634b;white-space:nowrap}.experience-page h1,.experience-page h2,.experience-page summary{color:#14394b;font-weight:700}.experience-page label,.experience-page .config-card{color:#203f50}.customer-home .universal-search .search-launcher{font-size:17px!important;color:#264a56!important}.customer-home .universal-search .search-launcher span:nth-child(2){font-size:17px;line-height:1.6}.admin-portal{--sa-muted:#465e70;--muted:#465e70}.admin-portal .workspace h1,.admin-portal .workspace h2,.admin-portal .workspace h3,.admin-portal .sa-tool-card strong{color:#15384d!important}.admin-portal .sa-sidebar .sa-nav-group h2{color:#dae9f2!important;font-weight:700}.admin-portal .sa-sidebar .sa-nav-item{color:#f0f6fb;font-weight:500}.admin-portal .sa-sidebar .sa-nav-item.is-current{color:#fff}.admin-portal .sa-tool-card small,.admin-portal .sa-page-title p,.admin-portal .sa-kicker,.admin-portal .sa-page-meta,.admin-portal .workspace .muted{color:#435e70!important}.admin-portal .sa-mobile-nav button{color:#425d70;font-size:12px}.admin-portal .sa-menu-dialog .sa-nav-group h2{color:#23485d;font-weight:700}
.customer-home .universal-search{width:100%;max-width:680px;margin-inline:auto}.experience-page .market-search{width:100%;max-width:680px;margin-inline:auto;box-sizing:border-box}.experience-page .search-scope{max-width:680px;margin-inline:auto;padding:6px 12px}.experience-page .market-search input::placeholder{color:#465e6a;opacity:1}

.customer-home #free-services-carousel [data-free-service="duty-pharmacy"]>img{object-position:center top}

/* Compact mobile surfaces with readable Sahla colors. */
.browse-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.browse-filters label{flex:1;min-width:130px;margin:6px 0}.browse-filters .offers-filter{display:flex;align-items:center;gap:8px;flex:0 0 auto}.proximity-note{font-size:13px;color:#405d67;line-height:1.7}.horizontal-results{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:12px;padding:3px 2px 14px}.horizontal-results .market-list-row{flex:0 0 min(82vw,300px);scroll-snap-align:start;box-sizing:border-box}.pharmacy-tabs{align-items:center;padding:12px;background:#e5f5ef;border-radius:14px;color:#07563e}.pharmacy-tabs a{color:#075f4c}.admin-portal .workspace .sa-free-services .sa-nav-item,.admin-portal .sa-menu-dialog .sa-nav-item{color:#163f50!important}.admin-portal .sa-free-services h2{color:#164c4c!important;font-size:19px}.admin-portal .workspace label,.admin-portal .workspace summary{color:#233e50}.customer-home #home-ad-carousel .commercial-ad>img,.customer-home #home-ad-carousel .commercial-ad>video,.customer-home .service-banner{height:clamp(108px,29vw,150px)}.customer-home #home-ad-carousel .commercial-ad>img,.customer-home #home-ad-carousel .commercial-ad>video{object-fit:contain!important;background:#edf6f3}.service-badge-art.badge-supermarkets,.service-badge-art.badge-expressCourier{background:transparent!important;border:0!important;box-shadow:none!important}.service-badge-art.badge-supermarkets img,.service-badge-art.badge-expressCourier img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}.search-page-head{display:flex;align-items:center;gap:8px}.search-page-head .search{flex:1;min-width:0;padding:10px 12px;border-radius:24px;background:#f5fcf9;border:1px solid #a8cabe}.search-page-head input{width:100%;min-width:0;font-size:16px;color:#173e3b}.search-page-head input::placeholder{color:#4c6762;opacity:1}.search-page-empty h2{font-size:18px;line-height:1.8}.search-page .app-content{padding-inline:14px}.customer-home .universal-search .search-launcher{min-height:52px!important;padding:10px 16px;font-size:16px!important}.customer-home .universal-search .search-launcher span:nth-child(2){font-size:16px}.search-page .search-businesses h2,.search-page .search-products h2{font-size:18px;color:#174639}@media(max-width:450px){.experience-page h1{font-size:23px}.market-search{padding:8px 12px;gap:8px}.experience-page .market-search input{font-size:16px}.service-banner-copy b{font-size:16px}.browse-filters{gap:8px}.search-page .municipality-filter{max-width:100%}}

.customer-home .service-badge-art.service.badge-supermarkets,.customer-home .service-badge-art.service.badge-expressCourier{width:68px;height:68px;min-width:68px;flex:0 0 68px}.customer-home #free-services-carousel .service-banner>img{display:block;opacity:1;visibility:visible;position:absolute;inset:0;z-index:0}.experience-page .browse-filters .offers-filter{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:110px}.experience-page .browse-filters .offers-filter input{width:20px;height:20px;flex:0 0 20px}.delete-ad{color:#9d2437!important;border-color:#c27985!important;background:#fff5f5!important}
/* Match the home header's location pin and two-line street / municipality label. */
.experience-page>header.browse-header{display:grid;grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);gap:8px;align-items:center;direction:rtl;margin-bottom:12px}
.browse-header #service-location{grid-column:1;grid-row:1;display:flex;align-items:center;gap:5px;min-width:0;width:100%;min-height:44px;padding:2px 0;background:transparent;border:0;box-shadow:none;color:#65776e;text-align:right;border-radius:8px}
.browse-header #service-location.located{color:#08704b}
.browse-header .location-icon{flex:0 0 23px;width:23px;height:28px;display:grid;place-items:center}
.browse-header .location-icon svg{width:20px;height:20px}
.browse-header .location-address{min-width:0;flex:1}
.browse-header .location-address b,.browse-header .location-address small{display:block;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.browse-header .location-address small{font-size:10.5px;color:#526e60;font-weight:400}
.browse-header #back{grid-column:3;grid-row:1;justify-self:end;font-size:13px}
.browse-header>a:not(#back){grid-column:2;grid-row:1;justify-self:center}
.experience-page>header.browse-header img{width:86px;height:40px;object-fit:contain}
#notice:empty,#service-ads:empty{display:none}

.customer-store .store-departments .department-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-store .store-departments button{min-height:76px;min-width:0;border:1px solid #c9e2d5;border-radius:14px;background:#f1faf5;color:#124837;padding:12px;display:grid;gap:6px;justify-items:center;font:inherit}.customer-store .store-departments button img{width:64px;height:54px;object-fit:contain}.customer-store .catalog-section>button{padding:12px 18px;min-height:44px;border-radius:12px;border:1px solid #b4d6c3;background:#edf8f1;color:#086c48;font:inherit}.customer-store .catalog-section h3{margin:14px 0}.customer-store .store-departments small{color:#4e6c5e}

.customer-home .compact-activity-filters{display:flex;flex-wrap:nowrap!important;align-items:center;gap:8px;overflow-x:auto;max-width:100%;padding:4px 0 10px;margin:10px 0 14px;overscroll-behavior-inline:contain;scrollbar-width:thin;direction:rtl}.customer-home .compact-activity-filters>button,.customer-home .compact-activity-filters>a{flex:0 0 auto;white-space:nowrap;min-height:42px;padding:9px 15px}.customer-home .compact-activity-filters [data-more-activities]{border-style:dashed}
/* Native touch gestures, stable frame and clipped slide transitions. */
.ad-carousel{touch-action:pan-y;isolation:isolate}.ad-carousel .ad-slides{display:grid;overflow:hidden;border-radius:22px;background:#edf6f3}.ad-carousel .ad-slide{grid-area:1/1;margin:0!important;min-width:0;width:100%;overflow:hidden;border-radius:22px!important;backface-visibility:hidden}.ad-carousel .ad-slide img{user-select:none;-webkit-user-drag:none}.ad-carousel .ad-slide[hidden]{display:none!important}

/* Advertisements occupy one fixed frame throughout image/video transitions. */
.ad-carousel:not(.auto-services) .ad-slides{position:relative;display:block;height:clamp(108px,29vw,150px);overflow:hidden;contain:layout paint;border-radius:22px}.ad-carousel:not(.auto-services) .ad-slide{position:absolute;inset:0;height:100%;width:100%;animation:none!important;transition:none!important;box-shadow:none!important}.ad-carousel:not(.auto-services) .ad-slide>img,.ad-carousel:not(.auto-services) .ad-slide>video{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:inherit;animation:none!important}.ad-carousel{overflow-anchor:none}

#config-form .layout-editor {display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center;padding:16px;background:#eaf6f0;border-radius:16px;margin:14px 0}
#config-form select {width:100%;padding:9px;background:white;color:#064934;border:1px solid #ccded4;border-radius:10px;font:inherit}
#config-form .layout-preview {display:grid;grid-template-columns:repeat(var(--count),1fr);gap:6px;grid-column:1/-1;width:min(100%,260px);margin:auto}
#config-form .layout-preview i {border:1px solid #c3a155;border-radius:8px;background:white;height:32px}
#config-form .layout-preview[data-size="compact"] i {height:18px}
#config-form .layout-preview[data-size="large"] i {height:48px}
#config-form .config-picture :is(.sahla-art,img) {display:block;width:100px;height:100px;object-fit:contain;margin:auto;background-repeat:no-repeat}
#config-form [data-add-category],#config-form > button[type=submit] {background:#006345;color:white;border:0;padding:12px 20px;border-radius:13px;margin:10px 0;font-weight:700}
#config-form > button[type=submit] {position:sticky;bottom:12px;z-index:3;width:100%;box-shadow:0 3px 16px #00261d38}
#config-form details {background:white;border:1px solid #d9e7df;padding:15px;border-radius:16px;margin-bottom:10px}
#config-form summary {cursor:pointer;font-weight:700;color:#004c37}
#config-form .config-card {display:grid;gap:8px;align-content:start}
#config-form .config-card input {min-width:0;max-width:100%;box-sizing:border-box}
#config-form .config-card input[type=checkbox] {width:20px;height:20px;accent-color:#006345}


.layout-editor .display-grid {grid-column:1/-1}
.layout-editor .display-grid input {width:20px;height:20px;accent-color:#006345}
.sahla-service-grid {display:grid;gap:8px;grid-template-columns:repeat(var(--count,3),minmax(0,1fr));margin:12px auto}
.sahla-service-grid[data-columns="1"] {--count:1}
.sahla-service-grid[data-columns="2"] {--count:2}
.sahla-service-grid[data-columns="4"] {--count:4}
.sahla-service-grid button {border:1px solid #d7e6dc;border-radius:16px;background:white;overflow:hidden;padding:0;min-width:0;color:#004530;font:inherit}
.sahla-service-grid img {display:block;width:100%;height:95px;object-fit:cover}
.sahla-service-grid[data-size="large"] img {height:136px}
.sahla-service-grid[data-size="compact"] img {height:62px}
.sahla-service-grid b {display:block;padding:7px 3px;font-size:14px;overflow-wrap:anywhere}

/* Compact Sahla surfaces. Content images retain their own proportions. */
@font-face{font-family:SahlaUI;src:url('/assets/fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:SahlaUI;src:url('/assets/fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype');font-weight:600 900;font-display:swap}
:root{--sahla-ink:#172f28;--sahla-line:#e7ece9;font-family:SahlaUI,Arial,sans-serif}
body,button,input,select,textarea{font-family:SahlaUI,Arial,sans-serif}body{background:#f4f6f5;color:var(--sahla-ink)}button,a,input,select,textarea{touch-action:manipulation}h1,h2,h3,p{overflow-wrap:anywhere}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0b9770;outline-offset:3px}
.phone-shell{background:#fff}.phone-shell .app-content{padding:12px 14px 94px}.phone-shell .app-header{border-color:#edf1ee;box-shadow:none}.phone-shell .home-hero{border-radius:16px}.phone-shell .section-title h2{font-size:1.0625rem;font-weight:600;line-height:1.5}.phone-shell .section-title{margin-block:12px}.phone-shell .title-with-badge .service-badge-art{width:38px;height:38px;min-width:38px}.phone-shell .page-title-block h1{font-size:1.125rem}
/* Override the legacy important search declarations at their actual scope. */
.customer-home .universal-search{margin:10px 0 14px}.customer-home .universal-search .search-launcher{min-height:44px!important;height:auto;padding:8px 12px;border-radius:14px!important;background:#f4f6f5!important;border:1px solid #e5eae7;box-shadow:none!important;font-size:.875rem!important;gap:8px}.customer-home .universal-search .search-launcher span:nth-child(2){font-size:.875rem;line-height:1.6}.phone-shell .search-launcher svg{width:20px;height:20px}.phone-shell.search-page .search-page-head{padding:4px 0 8px;gap:8px}.phone-shell.search-page .search-page-head>.search{min-height:44px;padding:6px 10px;border-radius:14px;background:#f4f6f5;border:1px solid #e5eae7;gap:8px}.phone-shell.search-page .search-page-head input{font-size:1rem;min-height:28px;padding:0;border:0;background:transparent}.phone-shell.search-page .search-page-head>button{width:44px;height:44px;font-size:1.3rem}.phone-shell.search-page .commune-filter{margin:4px 0 12px;gap:8px;font-size:.875rem}.phone-shell.search-page .commune-filter select{min-height:40px;font-size:.875rem;padding:6px 10px}.phone-shell .search-page-empty{padding:30px 14px}.phone-shell .search-page-empty>span{width:42px;height:42px}.phone-shell .search-page-empty h2,.phone-shell .search-businesses h2,.phone-shell .search-products h2{font-size:1rem;line-height:1.7}.phone-shell .comparison-group>header h3{font-size:.9375rem;margin:0}.phone-shell .comparison-group>header>strong{font-size:.875rem}.phone-shell .comparison-groups{gap:14px}.phone-shell .comparison-group{padding-bottom:12px}
/* Existing service layout and original emblems, with compact sizing only. */
.phone-shell .categories{gap:8px}.phone-shell .categories button{min-height:84px;padding:8px;gap:7px}.phone-shell .categories button>.service-badge-art{width:52px;height:64px;min-width:52px;margin:0}.phone-shell .categories .service-copy b{font-size:.875rem;line-height:1.5}.phone-shell .categories .service-copy small{font-size:.75rem;line-height:1.4}
/* Restaurants and stores: one compact, readable row on phones. */
.phone-shell .municipality-heading{padding:9px 0;margin:12px 0 8px;border-bottom:1px solid #edf0ee}.phone-shell .municipality-heading h3{font-size:.9375rem;font-weight:600}.phone-shell .municipality-heading>span{font-size:.75rem}.phone-shell .catalog-summary{font-size:.75rem;padding:6px 0;margin:4px 0;line-height:1.6;background:none;border:0}.phone-shell .store-list{display:grid;grid-template-columns:1fr;gap:10px}.phone-shell .store-card{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:12px;position:relative;text-align:start;border:1px solid var(--sahla-line);border-radius:16px;padding:10px;overflow:hidden;background:#fff;box-shadow:none;min-width:0;width:100%;height:auto}.phone-shell .store-card .store-media{width:94px;height:94px;aspect-ratio:1;border-radius:12px;overflow:hidden;grid-column:auto;grid-row:auto}.phone-shell .store-card .store-media>img{display:block;width:100%;height:100%;object-fit:cover}.phone-shell .store-card .store-copy{width:100%;padding:0;min-width:0}.phone-shell .store-card h3{font-size:.9375rem;line-height:1.55;margin:4px 0;white-space:normal;font-weight:600}.phone-shell .store-card p{font-size:.8125rem;line-height:1.6;color:#69776f;margin:2px 0}.phone-shell .store-topline{display:flex;flex-wrap:wrap;align-items:center;gap:5px;justify-content:space-between}.phone-shell .store-category,.phone-shell .public-service{font-size:.75rem;line-height:1.5}.phone-shell .public-service{padding:2px 5px;border-radius:6px}.phone-shell .store-rating-distance{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;font-size:.8125rem;line-height:1.6}.phone-shell .store-rating,.phone-shell .store-distance{font-size:.8125rem;font-weight:400}.phone-shell .store-rating b{font-weight:600}.phone-shell .store-preview-label{display:block;font-size:.75rem;color:#69776f;margin-top:3px}.phone-shell .store-card>i{display:none}
/* Compact product comparison, without changing add-to-cart controls. */
.phone-shell .product-card{border:1px solid var(--sahla-line);border-radius:15px;overflow:hidden;box-shadow:none;background:#fff}.phone-shell .product-media{background:#f6f7f6;overflow:hidden}.phone-shell .product-media img{object-fit:contain;padding:5px;width:100%;height:100%}.phone-shell .product-copy{padding:10px}.phone-shell .product-copy h3{font-size:.9375rem;line-height:1.6;margin-block:5px}.phone-shell .product-actions{gap:6px;flex-wrap:wrap}.phone-shell .add-button{min-height:44px;border-radius:11px;font-size:.875rem}.phone-shell .prices strong{font-size:.9375rem}.phone-shell .search-product-list{display:grid;grid-template-columns:1fr;gap:8px}.phone-shell .search-product-list .product-card{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;padding:8px;gap:10px}.phone-shell .search-product-list .product-media{width:84px;height:84px;min-height:0;aspect-ratio:1;border-radius:11px;grid-column:auto;grid-row:auto}.phone-shell .search-product-list .product-category{display:none}.phone-shell .search-product-list .product-copy{padding:0;min-width:0}.phone-shell .search-product-list .shop-line{font-size:.75rem}.phone-shell .bottom-nav{background:#fffffff7;border-top:1px solid #e5ece8;box-shadow:0 -3px 15px #193d2e04;backdrop-filter:blur(12px)}
.partner-auth-scene .partner-options{gap:8px}.partner-auth-scene .partner-options .entry-card{border:1px solid #dce7e1;border-radius:14px;padding:9px;min-height:72px;box-shadow:none;grid-template-columns:44px minmax(0,1fr) 18px!important}.partner-auth-scene .partner-options .entry-card>.service-badge-art{width:44px!important;height:50px!important;background:transparent}.partner-auth-scene .partner-options .entry-card .entry-copy{width:auto;height:auto;min-width:0;background:transparent;border-radius:0;display:flex;flex-direction:column}.partner-auth-scene .partner-options .entry-card .entry-copy b{font-size:.9375rem;line-height:1.55}.partner-auth-scene .partner-options .entry-card .entry-copy small{font-size:.875rem;line-height:1.5;color:#596e63}.badge-club img{object-fit:contain;width:100%;height:100%}
.staff-shell:not(.driver-map-shell){background:#f4f7f5}.staff-shell:not(.driver-map-shell) .workspace{max-width:1040px;margin:auto}.staff-shell:not(.driver-map-shell) .panel{border:1px solid #e0e9e3;border-radius:16px;box-shadow:none;background:#fff}.staff-shell:not(.driver-map-shell) .topbar{background:#fff;border:1px solid #e0e9e3;border-radius:16px;padding:12px;gap:12px}.staff-shell:not(.driver-map-shell) .staff-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-shell:not(.driver-map-shell) .staff-more-grid>button,.staff-shell:not(.driver-map-shell) .staff-more-grid>a{min-height:60px;border-radius:12px;padding:10px;text-align:start;font-size:.875rem;line-height:1.6}.staff-shell .section-title h2{font-size:1.0625rem}.discovery-card{border-radius:16px;box-shadow:none}.discovery-card-copy h3{font-size:1rem}.discovery-mark img{width:100%;height:100%;object-fit:contain}.discovery-art>span>img{width:90px;height:90px;object-fit:contain}
@media(min-width:900px){.phone-shell.customer-home,.phone-shell.customer-store,.phone-shell.search-page{width:min(960px,100%)}.phone-shell.customer-home .app-content,.phone-shell.customer-store .app-content,.phone-shell.search-page .app-content{padding:18px 24px 100px}.phone-shell .store-list{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-shell .search-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-shell.customer-home .bottom-nav,.phone-shell.customer-store .bottom-nav,.phone-shell.search-page .bottom-nav{max-width:960px;width:100%}}
@media(max-width:360px){.phone-shell .store-card{grid-template-columns:78px minmax(0,1fr);gap:9px;padding:8px}.phone-shell .store-card .store-media{width:78px;height:86px}.phone-shell .app-content{padding-inline:12px}.staff-shell:not(.driver-map-shell) .staff-more-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Free-service region controls are closed until the location icon is tapped. */
.service-region{position:relative;display:block;width:44px;margin:8px 0 12px;border:0!important;padding:0!important;z-index:6}.service-region>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid #dce6df;border-radius:12px;background:#fff;color:#08704b;cursor:pointer;padding:0!important}.service-region>summary::-webkit-details-marker{display:none}.service-region>summary svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.service-region-panel{position:absolute;inset-inline-start:0;top:50px;width:min(280px,calc(100vw - 40px));padding:14px;border:1px solid #dce6df;border-radius:14px;background:#fff;box-shadow:0 8px 24px #133d2e18}.service-region-panel label{display:grid;gap:6px;margin:0!important;font-size:.875rem}.service-region-panel select{width:100%;min-height:44px;font-size:1rem}.service-region-panel button{margin-top:8px;width:100%;min-height:44px;font-size:.875rem}.icon-back,#back{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid #e0e7e2;border-radius:12px;font-size:1.4rem;background:#fff;color:#08704b;text-decoration:none}.sa-pull-notice{position:fixed;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:9999;padding:10px 18px;border:1px solid #cce0d3;border-radius:20px;background:#fff;color:#086342;box-shadow:0 6px 20px #103c2920;font-size:.875rem;pointer-events:none}

.phone-shell.search-page{background:#f7f9f8}.search-page .app-content{background:#f7f9f8}.search-title{padding:4px 2px 14px}.search-title h1{font-size:1.25rem;line-height:1.5;margin:0;color:#143f32;font-weight:600}.search-title p{font-size:.875rem;line-height:1.7;margin:3px 0 0;color:#64776e}.phone-shell.search-page .search-page-head{grid-template-columns:36px minmax(0,1fr) 42px;gap:7px;padding:8px 0 12px;background:#f7f9f8}.phone-shell.search-page .search-page-head>.search{height:48px;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid #d8e4dd;box-shadow:0 2px 8px #113e2905}.phone-shell.search-page .search-page-head input{font:inherit;font-size:1rem;font-weight:400;line-height:1.6;outline:none;min-width:0}.phone-shell.search-page .search-page-head>.search:focus-within{border-color:#08704b;box-shadow:0 0 0 3px #08704b14}.phone-shell.search-page .search-page-head>button{width:36px;height:42px;border:0;background:transparent;box-shadow:none}.phone-shell.search-page .search-page-head>.search-submit{width:42px;height:48px;border-radius:12px;background:#08704b;color:#fff;display:grid;place-items:center}.search-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}.phone-shell.search-page .commune-filter{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;margin:0 0 16px;color:#50665a}.phone-shell.search-page .commune-filter select{max-width:65%;background:#fff;border-color:#dbe5df;border-radius:10px;font-size:.875rem}.phone-shell.search-page .search-page-empty{padding:34px 16px;background:#fff;border:1px solid #e2eae5;border-radius:16px}.phone-shell.search-page .search-page-empty h2{font-size:1.0625rem;font-weight:600;margin:12px 0 4px}.phone-shell.search-page .search-page-empty p{font-size:.875rem;line-height:1.9;color:#687a71;margin:0}.phone-shell.search-page .search-products>h2,.phone-shell.search-page .search-businesses>h2{display:flex;align-items:center;justify-content:space-between;font-size:1rem;font-weight:600;margin:18px 0 12px}.search-page h2 small{font-size:.875rem;font-weight:400;color:#6b7a73}.phone-shell.search-page .comparison-groups{gap:14px}.phone-shell.search-page .comparison-group{border:0;padding:0}.phone-shell.search-page .comparison-group>header{padding:0 2px;margin:0 0 8px;align-items:center}.phone-shell.search-page .comparison-group>header h3{font-size:.875rem;font-weight:500;color:#536d5f;line-height:1.7}.phone-shell.search-page .comparison-group>header>strong{display:none}.phone-shell.search-page .search-product-list{display:grid;grid-template-columns:1fr;gap:9px}.phone-shell.search-page .product-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:10px;border:1px solid #e0e9e3;border-radius:14px;background:#fff;box-shadow:none;overflow:hidden}.phone-shell.search-page .product-media{width:88px;height:96px;min-height:0;border-radius:10px;overflow:hidden}.phone-shell.search-page .product-media img{width:100%;height:100%;object-fit:cover}.phone-shell.search-page .product-category{display:none}.phone-shell.search-page .product-copy{padding:0;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}.phone-shell.search-page .product-copy h3{font-size:1rem;line-height:1.65;font-weight:500;margin:0;white-space:normal}.phone-shell.search-page .shop-line{font-size:.875rem;line-height:1.6;color:#65776c;white-space:normal}.phone-shell.search-page .product-actions{margin-top:4px;gap:6px}.phone-shell.search-page .prices strong{font-size:1rem;font-weight:600}.phone-shell.search-page .add-button{min-height:36px;padding:5px 10px;font-size:.875rem;border-radius:9px}.search-loading>p{font-size:.875rem;color:#536d5f}.search-skeleton{height:116px;margin:9px 0;background:#fff;border:1px solid #e0e9e3;border-radius:14px;padding:10px;display:flex;gap:12px}.search-skeleton i{width:88px;background:#eaf0ec;border-radius:10px}.search-skeleton span{flex:1;align-self:center;height:48px;border-radius:6px;background:linear-gradient(#edf2ef 0 12px,transparent 12px 23px,#edf2ef 23px 35px,transparent 35px)}@media(min-width:700px){.phone-shell.search-page .search-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.phone-shell.search-page .product-card{grid-template-columns:72px minmax(0,1fr);gap:9px}.phone-shell.search-page .product-media{width:72px}.phone-shell.search-page .product-actions{flex-wrap:wrap}}

.scoped-service-search{background:#fff;border:1px solid #d4e5df;border-radius:14px;padding:12px;margin:0 0 16px}.scoped-service-search label{display:block;font-size:.875rem;font-weight:600;margin-bottom:8px}.scoped-service-search>div{display:flex;gap:8px}.scoped-service-search input{flex:1;min-width:0;width:100%;font:inherit;font-size:1rem;border:1px solid #b9d4c9;border-radius:10px;padding:10px 12px}.scoped-service-search button{background:#00684a;color:white;border:0;border-radius:10px;padding:10px 16px;font:inherit;min-height:44px}.scoped-service-search input:focus{outline:2px solid #00845b;outline-offset:2px}
/* Shared customer search surface: identical geometry across service directories. */
.sahla-search{display:block!important;background:transparent!important;border:0!important;padding:0!important;margin:0 0 16px!important;width:100%;box-sizing:border-box}.sahla-search>label{display:block;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.6;margin:0 0 7px;color:#234d3e}.sahla-search-row{display:flex;align-items:center;gap:8px;min-width:0}.sahla-search-field,body .directory-search.sahla-search-field,.customer-home .universal-search .search-launcher{display:flex;align-items:center;gap:10px;box-sizing:border-box;min-width:0;min-height:48px;height:48px;flex:1;border:1px solid #cdded5!important;border-radius:12px!important;background:#fff!important;padding:8px 12px!important;box-shadow:none!important;color:#365e4c;animation:none!important}.sahla-search-field svg,.sahla-search-submit svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8}.sahla-search-field input,body .directory-search.sahla-search-field input{width:100%;min-width:0;min-height:0;height:30px;border:0!important;background:transparent!important;border-radius:0;padding:0!important;outline:none;font-family:inherit;font-size:1rem!important;font-weight:400;line-height:1.6;color:#193e30;box-shadow:none!important}.sahla-search-field:focus-within{outline:2px solid #08704b;outline-offset:2px}.sahla-search-field input::placeholder{color:#6c7d73;opacity:1}.sahla-search .sahla-search-submit{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;border:0;border-radius:12px;background:#08704b;color:#fff;box-shadow:none}.sahla-search .sahla-search-back{border:0;background:transparent;color:#234d3e;width:28px;min-height:44px;padding:0;font-size:24px}.customer-home #free-services-carousel .ad-slides{position:relative;height:clamp(108px,29vw,150px);min-height:108px;display:block;overflow:hidden;contain:layout paint}.customer-home #free-services-carousel .ad-slide{position:absolute;inset:0;width:100%;height:100%;animation:none!important;transition:none!important}.customer-home #free-services-carousel{overflow:hidden;overflow-anchor:none}.customer-home .universal-search .search-launcher{min-height:48px!important;height:48px;font-size:1rem!important}

/* Keep the service search and its history control on one accessible row. */
.sahla-search>.sahla-search-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}
.sahla-search .sahla-search-back{display:grid;place-items:center;flex:0 0 44px;width:44px;height:48px;min-height:48px;border:1px solid #cdded5;border-radius:12px;background:#fff;color:#234d3e}
.sahla-search-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[dir="ltr"] .sahla-search-back svg{transform:rotate(180deg)}
.phone-shell:has(>main #catalog-search-form)>.service-navigation{display:none!important}

/* Customer directory display preference: preserve categories and municipality groups. */
#root .directory-layout-toolbar{display:flex;justify-content:flex-end;margin:4px 0 8px;background:#fff}
#root .directory-layout-toolbar button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:7px;border:1px solid #dce6e0;border-radius:8px;background:white;color:#07563f}
#root .directory-layout-toolbar svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
#root [data-directory-layout] .store-list,#root [data-directory-layout] .pharmacy-list,#root [data-directory-layout] .service-card-grid{display:grid!important;gap:10px!important;background:#fff}
#root [data-directory-layout="list"] .store-list,#root [data-directory-layout="list"] .pharmacy-list,#root [data-directory-layout="list"] .service-card-grid{grid-template-columns:minmax(0,1fr)!important}
#root [data-directory-layout] .store-card,#root [data-directory-layout] .medical-row,#root [data-directory-layout] .pharmacy-card{width:100%!important;min-width:0!important;margin:0!important;padding:12px!important;box-sizing:border-box;background:#fff!important;border:1px solid #e0e8e3!important;border-radius:12px!important;box-shadow:0 1px 3px #143f2910!important}
#root [data-directory-layout="list"] .store-card{display:flex!important;align-items:center;gap:12px;min-height:128px!important;text-align:start}
#root [data-directory-layout="list"] .store-media{flex:0 0 30%;width:30%!important;max-width:160px;height:112px!important;min-height:0!important;border-radius:9px;overflow:hidden}
#root [data-directory-layout] .store-copy{flex:1;min-width:0;padding:0!important}
#root [data-directory-layout] .store-card h3,#root [data-directory-layout] .medical-row h3{font-size:16px!important;line-height:1.5;margin:4px 0}
#root [data-directory-layout] .store-media img{width:100%!important;height:100%!important;object-fit:cover!important;aspect-ratio:auto!important}
#root [data-directory-layout="list"] .medical-row{display:flex!important;align-items:center;gap:12px}
#root [data-directory-layout="list"] .medical-row-photo{width:100px!important;height:112px!important;flex:0 0 100px;object-fit:contain!important;border-radius:9px;background:#f7faf8}
#root [data-directory-layout="grid"] .store-list,#root [data-directory-layout="grid"] .pharmacy-list,#root [data-directory-layout="grid"] .service-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#root [data-directory-layout="grid"] .store-card,#root [data-directory-layout="grid"] .medical-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:start}
#root [data-directory-layout="grid"] .store-media{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3;overflow:hidden;border-radius:9px;margin-bottom:8px}
#root [data-directory-layout="grid"] .medical-row-photo{width:100%!important;height:140px!important;object-fit:contain!important;border-radius:9px;background:#f7faf8}
#root [data-directory-layout="grid"] .store-topline,#root [data-directory-layout="grid"] .pharmacy-card-head{flex-wrap:wrap;gap:5px}
#root [data-directory-layout="grid"] .pharmacy-state{max-width:100%}
#root [data-directory-layout] .medical-row-body{min-width:0}
@media(min-width:768px){#root [data-directory-layout="grid"] .store-list,#root [data-directory-layout="grid"] .pharmacy-list,#root [data-directory-layout="grid"] .service-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Preserve banner proportions instead of stretching a phone-height slot. */
#root .customer-home #home-ad-carousel{width:100%;max-width:900px;margin-inline:auto;border-radius:18px;overflow:hidden}
#root .customer-home #home-ad-carousel .ad-slides{height:auto;aspect-ratio:3/1;border-radius:inherit}
#root .customer-home #home-ad-carousel .commercial-ad{height:100%;min-height:0;background:#edf6f3}
#root .customer-home #home-ad-carousel .ad-slide>img,#root .customer-home #home-ad-carousel .ad-slide>video{width:100%!important;height:100%!important;object-fit:contain!important}
#root .customer-home #free-services-carousel .service-banner{height:auto;aspect-ratio:3/1}
#root .customer-home .service-banner-copy b{font-size:clamp(16px,2.5vw,28px)}
#root .customer-home .service-banner-copy small,#root .customer-home .service-banner-copy>span{font-size:clamp(12px,1.4vw,15px)}
/* A full-screen stage with an uncropped portrait film on every orientation. */
.launch-intro{inset:0!important;width:100%!important;max-width:none!important;transform:none!important;box-shadow:none!important;background:#073e36!important}
.launch-intro:before{content:"";position:absolute;inset:-32px;background:url('/assets/sahla-welcome-v20-poster.jpg') center/cover;filter:blur(28px) brightness(.55);z-index:-1}
.launch-intro .launch-intro-video{object-fit:cover!important;background:transparent}
.launch-intro.is-leaving{transform:none!important}

/* Full viewport opening on phones, including dynamic browser chrome. */
@media(max-width:699px){html,body{margin:0;padding:0;width:100%;min-height:100%}#root .welcome-screen,#root .access-screen{width:100%;max-width:none;min-height:100svh;min-height:100dvh;border-radius:0} .launch-intro{height:100svh;height:100dvh}}
.artisan-photo{display:block;width:100%;height:160px;object-fit:cover;border-radius:12px;margin-bottom:10px}.artisan-contact{display:block;padding:10px 0;color:#086e50}.professional-card>a{display:block;padding:8px 0}


.ui-icon{display:inline-block;width:24px;height:24px;min-width:24px;max-width:24px;max-height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.8}
.service-specialty-tabs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-width:100%;padding:10px 0;margin:10px 0;scrollbar-width:thin;overscroll-behavior-x:contain}
.service-specialty-tabs button{flex:0 0 auto;min-height:44px;white-space:nowrap;border:1px solid #d4e4dd;border-radius:999px;background:white;color:#135f48;padding:10px 16px;font-size:14px}
.service-specialty-tabs button[aria-pressed=true]{background:#08704b;color:white;border-color:#08704b}
.service-contact-links,.service-workflow-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.service-contact-links a,.service-workflow-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #c8ded2;border-radius:12px;padding:9px 12px;color:#096548;background:#f4faf7;font-size:14px;text-decoration:none;width:auto;margin:0}
.service-workflow-actions .danger-button{color:#9e3434;background:#fff5f5;border-color:#eccbcb}.service-thread{width:min(560px,calc(100vw - 24px));max-height:88dvh;overflow:auto;border:1px solid #c8ded2;border-radius:20px;padding:20px;background:white;color:#17372c}.service-thread::backdrop{background:#092e256b}.service-thread header{display:flex;justify-content:space-between;align-items:center}.service-thread h2{font-size:20px}.service-thread label{display:grid;gap:8px}.service-thread textarea{width:100%;box-sizing:border-box;min-height:90px;border:1px solid #c8ded2;border-radius:10px;padding:10px;font:inherit}.service-thread [data-thread-messages]{max-height:35dvh;overflow:auto}.thread-message{padding:10px 12px;margin:8px 0;border-radius:12px;background:#f0f4f2}.thread-message.mine{background:#e2f3e9}.thread-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.thread-message small{font-size:12px;color:#51645a}.medical-bookings{margin-bottom:18px}.doctor-photo{width:100%;height:150px;object-fit:cover;border-radius:12px}.appointment-time{font-size:16px!important;color:#086246!important}

.service-workflow-actions .danger-button{background:#b42332;color:#fff;border:2px solid #b42332;font-weight:700;min-width:145px;min-height:48px}

.service-workflow-actions button:disabled{opacity:.5;cursor:not-allowed}.service-thread input,.service-thread select{padding:12px;border:1px solid #b8ccbf;border-radius:10px;font:inherit}

/* Keep status, explanation and actions together on phones and tablets. */
.customer-service-orders{width:100%;max-width:920px;min-width:0;margin-inline:auto}
.order-card.service-order{display:block;width:100%;min-width:0;height:auto;min-height:0;padding:18px;background:#fff;color:#17372c;overflow-wrap:anywhere}
.order-card.service-order .service-order-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.order-card.service-order .status{display:inline-block;padding:8px 12px;border-radius:10px;font-size:15px;font-weight:700;color:#12492f;background:#e3f3e9}
.order-card.service-order .status.completed{color:#234e70;background:#e6f0fa}
.order-card.service-order .status.cancelled{color:#80303b;background:#fae8eb}
.order-card.service-order h3{color:#17372c;font-size:19px;margin:14px 0 8px}
.order-card.service-order p{color:#344f44;font-size:15px;margin:8px 0;line-height:1.7}
.service-action-notice{display:block;margin:12px 0;padding:14px;border:1px solid #abc8df;border-radius:12px;background:#eff6fc;color:#234e70}
.service-action-notice strong{font-size:17px}.order-card.service-order .service-action-notice p{margin:6px 0 0;color:#234e70}
.order-card.service-order .service-workflow-actions{justify-content:flex-start;align-items:center;gap:10px;margin:12px 0}
.service-workflow-actions button{background:#08704b;color:#fff;border-color:#08704b;font-weight:700}
.service-workflow-actions button.danger-button:not(:disabled){background:#b42332;border-color:#b42332;color:#fff}
.service-workflow-actions button:disabled,.service-workflow-actions button.danger-button:disabled{opacity:1;background:#edf0f2;color:#626d76;border:1px solid #cbd2d8;cursor:not-allowed}
.order-card.service-order .service-contact-links{justify-content:flex-start;flex-wrap:wrap;gap:10px}
@media(max-width:600px){.service-workflow-actions button{flex:1 1 100%;width:100%}.order-card.service-order{padding:14px}}

.provider-avatar{border-radius:16px;object-fit:cover}
/* Artisan directory: compact cards lead to a dedicated request and contact page. */
.artisan-directory-page .artisan-content{padding:16px 16px 100px;max-width:1000px;margin:auto;width:100%;box-sizing:border-box}
.artisan-page-header{display:flex;align-items:center;gap:12px}.artisan-page-header h1{font-size:19px;margin:0}.artisan-page-header>div{flex:1}.artisan-page-header .artisan-my-orders{width:auto;height:auto;font-size:14px;padding:10px 14px;white-space:nowrap}
.artisan-results-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px;gap:12px}.artisan-results-heading h2{font-size:18px;margin:0}.artisan-results-heading>span{color:#52675f;font-size:14px}
.artisan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.artisan-grid .artisan-card{display:flex;flex-direction:column;text-align:start;padding:0;margin:0;width:100%;min-width:0;height:100%;border:1px solid #dbe7e0;border-radius:18px;overflow:hidden;background:#fff;color:#163d2c;box-shadow:0 3px 12px #183e2810;cursor:pointer;font:inherit}
.artisan-card-image{display:block;width:100%;height:130px;background:#f6f8f5;padding:10px;box-sizing:border-box}.artisan-card-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:12px}
.artisan-card-body{display:flex;flex-direction:column;gap:5px;padding:12px;width:100%;box-sizing:border-box;flex:1}.artisan-card-body>strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.artisan-specialty{font-size:14px;color:#405d4f}.artisan-area{font-size:14px;color:#63756b}.artisan-card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:8px;font-size:13px;color:#08704b;flex-wrap:wrap}.artisan-state{display:inline-block;font-size:13px;font-weight:700;padding:4px 9px;border-radius:8px;width:fit-content}.artisan-state.is-open{background:#e0f5e8;color:#126738}.artisan-state.is-closed{background:#f0f1f3;color:#53606a}
.artisan-card:focus-visible{outline:3px solid #d8ae43;outline-offset:3px}.artisan-card:active{background:#f4faf6}
.artisan-profile-hero{display:flex;gap:18px;align-items:center;padding:22px 18px;background:#fff;border:1px solid #dbe7e0;border-radius:20px;margin-bottom:16px}.artisan-profile-hero>img{width:112px;height:112px;object-fit:contain;border-radius:16px;background:#f6f8f5;flex-shrink:0}.artisan-profile-hero h1{font-size:22px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.artisan-profile-hero p{font-size:16px;margin:6px 0}.artisan-profile-hero span:not(.artisan-state){font-size:14px;color:#52675f}
.artisan-panel{padding:20px;background:#fff;border:1px solid #dbe7e0;border-radius:18px;margin:0 0 16px}.artisan-panel h2{font-size:18px;margin:0 0 14px}.artisan-panel .service-contact-links{display:flex;flex-wrap:wrap;gap:10px}.artisan-panel .service-contact-links a,.artisan-message{padding:12px 16px;border:1px solid #b7d2c4;border-radius:12px;font-size:16px;color:#075b3b;background:#f2faf5;text-decoration:none;overflow-wrap:anywhere}.artisan-message{margin-top:12px}.artisan-hours .provider-hours{margin:0}.artisan-hours summary{font-size:17px;font-weight:700}.artisan-request-form label{display:flex;flex-direction:column;gap:8px;font-size:16px}.artisan-request-form input,.artisan-request-form textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid #b9cbbf;border-radius:12px;padding:12px;background:#fff;color:#173d2b}.artisan-request-form button{min-height:48px;width:100%;font-size:16px}.artisan-request-note,.artisan-closed-note{font-size:15px;line-height:1.8;color:#52675f}.artisan-closed-note{padding:14px;background:#f4f5f6;border-radius:12px}
@media(min-width:700px){.artisan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.artisan-card-image{height:160px}}
@media(max-width:360px){.artisan-grid{gap:8px}.artisan-card-body{padding:10px}.artisan-profile-hero{flex-direction:column;text-align:center}.artisan-profile-hero .artisan-state{margin:auto}}
.service-workflow-actions button.service-edit-button{order:-1;background:#08704b;color:#fff;border:2px solid #08704b;min-height:48px;box-shadow:0 2px 6px #08704b20}
.service-orders-shortcut{display:flex;justify-content:flex-end;margin-bottom:12px}.service-orders-shortcut button{padding:10px 18px;border:1px solid #bfd5c8;border-radius:12px;background:#fff;color:#0b6745;font:inherit;font-weight:700}
.service-filter-tabs{display:flex;gap:8px;overflow-x:auto;margin:16px 0}.service-filter-tabs button{padding:12px 18px;border:1px solid #b6cec0;border-radius:12px;background:#fff;color:#174f39;white-space:nowrap;font-size:16px}.service-filter-tabs button[aria-pressed=true]{background:#08704b;color:#fff}.queue-position{padding:12px 16px;background:#eaf7ef;border:1px solid #bad9c7;border-radius:12px;font-size:17px}.queue-position b{font-size:24px;color:#075d3c}
#root .customer-home #free-services-carousel .service-banner-copy{justify-content:flex-start;padding-top:14px;box-sizing:border-box;gap:5px;top:0;bottom:6px;width:58%}
#root .customer-home #free-services-carousel .service-banner-copy b{font-size:clamp(20px,5vw,28px);line-height:1.4}
#root .customer-home #free-services-carousel .service-banner-copy small,#root .customer-home #free-services-carousel .service-banner-copy>span{font-size:14px;line-height:1.5;color:#fff}
@media(max-width:360px){#root .customer-home #free-services-carousel .service-banner-copy{padding-top:8px;gap:2px}#root .customer-home #free-services-carousel .service-banner-copy b{font-size:19px}}
/* Compact appointment rows; full controls are disclosed only when needed. */
.customer-service-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.customer-service-orders>h2{grid-column:1/-1;font-size:18px;margin:8px 0}
.orders-grid.service-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.order-card.compact-request,.order-card.service-order.compact-request{display:block;height:auto;min-height:0;margin:0;padding:0;border:1px solid #d5e4db;border-radius:14px;background:#fff;overflow:hidden;width:100%;box-sizing:border-box}
.compact-request>summary.compact-request-summary{display:block;cursor:pointer;list-style:none;padding:14px 16px;min-height:0;color:#173d2b;font-size:16px;line-height:1.5;position:relative}
.compact-request>summary::-webkit-details-marker{display:none}.compact-request-summary::after{display:none!important}
.compact-request-summary h2,.compact-request-summary h3,.compact-request-summary strong{display:block;font-size:17px!important;line-height:1.45;margin:0 0 5px!important;color:#173d2b}
.compact-request-summary p{font-size:14px!important;line-height:1.5!important;margin:5px 0!important}.compact-request-summary .status,.order-card.service-order .compact-request-summary .status{display:inline-block;font-size:13px;padding:3px 8px;white-space:normal;line-height:1.5}
.compact-request-meta{display:block;margin-top:6px;font-size:14px;color:#50675b}.compact-request-hint{display:block;margin-top:8px;font-size:14px;font-weight:600;color:#08704b;text-decoration:underline;text-underline-offset:3px}
.compact-request-summary .queue-position{display:inline-block;padding:3px 8px;border:0;font-size:14px!important;margin:5px 0!important}.compact-request-summary .queue-position b{font-size:16px}
.compact-request-body{padding:12px 16px 16px;border-top:1px solid #e1ebe5}.compact-request-body>p{font-size:15px;margin:8px 0;line-height:1.6}.compact-request-body .service-workflow-actions{margin:10px 0;gap:8px}.compact-request-body button,.compact-request-body .service-contact-links a{min-height:42px;padding:8px 12px;font-size:14px;border-radius:10px}.compact-request-body .service-workflow-actions button{width:auto;flex:1 1 145px;min-width:0;min-height:44px}.compact-request-body .service-contact-links{flex-wrap:wrap;gap:8px;margin:10px 0}.compact-request-body input{max-width:100%;box-sizing:border-box}.compact-request-body .doctor-reschedule-form{margin:12px 0}.compact-request[open]>summary{background:#f5faf7}.compact-request>summary:focus-visible{outline:3px solid #d3ad48;outline-offset:-3px}
@media(max-width:640px){.customer-service-orders,.orders-grid.service-request-grid{grid-template-columns:minmax(0,1fr)}.compact-request>summary.compact-request-summary{padding:12px 14px}}
/* Visible actions share the compact card space on every service surface. */
.compact-request>.compact-request-summary{padding:12px 14px 8px;cursor:default;text-align:start}
.compact-request .compact-request-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}
.compact-request .compact-request-body{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px 12px;align-items:center}
.compact-request .compact-request-body>p,.compact-request .compact-request-body>code{flex-basis:100%;margin:2px 0;font-size:14px;overflow-wrap:anywhere}
.compact-request .compact-request-body>button{flex:1 1 130px;margin:0;min-height:44px;line-height:1.4;white-space:normal}
.compact-request .compact-request-body .service-contact-links,.compact-request .compact-request-body .service-workflow-actions{display:flex;flex:1 1 100%;gap:6px;margin:0}
.compact-request .compact-request-body .service-contact-links a,.compact-request .compact-request-body .service-workflow-actions button{flex:1 1 130px;width:auto;min-width:0;min-height:44px;margin:0;padding:7px 9px;font-size:14px;line-height:1.4;white-space:normal}
.compact-request .compact-request-body .doctor-reschedule-form{display:flex;flex-wrap:wrap;align-items:end;gap:6px;flex-basis:100%;margin:4px 0}
.compact-request .doctor-reschedule-form label{display:flex;align-items:center;gap:8px;font-size:14px}.compact-request .doctor-reschedule-form input[name=order]{width:70px;padding:8px}.compact-request .doctor-reschedule-form button{min-height:44px;margin:0}
.compact-request .compact-request-summary .status{font-size:14px}
#free-services-carousel[dir=ltr] .service-banner-copy{text-align:left;direction:ltr}
/* Primary controls remain visible; Next opens the secondary actions. */
.compact-service-panel{padding:14px!important}.compact-service-panel>h2{font-size:18px;margin:0 0 8px}.compact-service-panel .service-filter-tabs{margin:8px 0 12px;gap:6px}.compact-service-panel .service-filter-tabs button{padding:7px 12px;font-size:14px;min-height:40px}
.compact-request>.compact-request-summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:10px 12px 6px}
.compact-request-summary>h2,.compact-request-summary>h3{flex:1 1 45%;font-size:16px!important;margin:0!important}.compact-request-summary>p{margin:0!important}.compact-request-summary .queue-position{margin:0!important;padding:2px 6px;font-size:14px!important}.compact-request-summary .queue-position b{font-size:14px}
.compact-request-summary .compact-request-heading{width:100%;gap:4px}.compact-request-summary .compact-request-meta{margin:0}
.compact-request .compact-request-body{padding:6px 12px 10px;gap:6px}
.compact-request .compact-request-body>.service-workflow-actions{display:contents}
.compact-request .compact-request-body>.service-workflow-actions>button,.compact-request .compact-request-body>button{flex:1 1 95px;width:auto;padding:6px 8px;min-height:40px;min-width:0;font-size:14px;line-height:1.4}
.compact-request .request-more{flex:1 1 100%;min-width:0;margin:0;padding:0;border:0;background:transparent}
.compact-request .request-more>summary{cursor:pointer;display:block;list-style:none;width:fit-content;margin-inline-start:auto;padding:7px 14px;border:1px solid #aac7b9;border-radius:8px;font-size:14px;font-weight:700;color:#086246;background:#f1f8f4;min-height:36px;box-sizing:border-box}
.compact-request .request-more>summary::-webkit-details-marker{display:none}.compact-request .request-more>summary::after{display:none}
.compact-request .request-more-content{padding-top:8px;display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #dce9e2;margin-top:8px}
.compact-request .request-more-content>p,.compact-request .request-more-content>code{flex-basis:100%;margin:0;font-size:14px}.compact-request .request-more-content>button{flex:1 1 130px}
.booking-calendar>p{font-size:14px;line-height:1.7;color:#52695c}.booking-week{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.booking-week fieldset{min-width:0;border:1px solid #c6dbcf;border-radius:12px;padding:12px}.booking-week legend{font-weight:700}.booking-day-fields{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.booking-calendar label{display:grid;gap:5px;font-size:14px}.booking-calendar label.check{display:flex;align-items:center;gap:6px}.booking-calendar input,.booking-calendar select{font:inherit;padding:8px;border:1px solid #b7cfc0;border-radius:8px;max-width:100%;box-sizing:border-box}.booking-calendar button{margin-top:12px}.booking-slot-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.booking-slot-list span{font-size:14px;padding:7px 10px;border-radius:8px}.slot-free{background:#e0f3e8;color:#095e40}.slot-full{background:#f2e9e9;color:#80323c}@media(max-width:650px){.booking-week{grid-template-columns:1fr}}
.booking-shifts{display:grid;gap:8px}.booking-shift{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:10px;background:#f6faf8;border:1px solid #d3e3da;border-radius:10px}.booking-shift button{font-size:14px;padding:8px;margin:0}.booking-calendar .booking-overrides{max-height:280px;overflow:auto}.booking-calendar .booking-overrides button{font-size:14px;padding:6px 10px;margin:0}.booking-legend{display:flex;flex-wrap:wrap;gap:6px;font-size:14px}.booking-legend span{padding:5px 8px;border-radius:6px}
.slot-free{background:#e5f6ed!important;color:#135b3d!important;border:1px solid #b4d8c3}.slot-near{background:#fff0d4!important;color:#864405!important;border:1px solid #efb765}.slot-full{background:#e9ecef!important;color:#515a65!important;border:1px solid #c9d0d6}
[data-booking-days]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}[data-booking-days] button{display:grid;gap:3px;border-radius:10px;min-width:0;padding:9px 5px;font:inherit;cursor:pointer}[data-booking-days] b{font-size:14px}[data-booking-days] small{font-size:12px}[data-booking-days] [aria-pressed=true]{outline:3px solid #08704b;outline-offset:1px}.booking-slot-list button{font-size:14px;border:1px solid currentColor;background:#ffffff90;color:inherit;border-radius:7px;padding:5px 8px;min-height:34px;margin:0}.booking-slot-list [aria-pressed=true]{background:#08704b;color:#fff}.booking-day-fields{margin:10px 0}@media(min-width:700px){[data-booking-days]{grid-template-columns:repeat(7,minmax(0,1fr))}}
[data-booking-days]{display:flex;overflow-x:auto;gap:8px;padding:6px 2px 12px;scroll-snap-type:x proximity}[data-booking-days] button{flex:0 0 92px;min-height:86px;scroll-snap-align:start}[data-booking-days] b{font-size:14px}.customer-booking-calendar{padding:14px;border:1px solid #d4e3da;border-radius:14px;background:#fff}.customer-booking-calendar .service-form-row{margin:6px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.calendar-choice-status{font-size:14px;margin:8px 0;color:#385447}.service-free-notice{padding:12px;background:#eff8f3;border-radius:10px;font-size:14px;line-height:1.8}.service-consent{display:flex!important;align-items:flex-start;gap:9px;font-size:14px!important;line-height:1.7;margin:12px 0}.service-consent input{width:20px!important;height:20px;flex-shrink:0;margin-top:3px}.service-consent a{color:#096343;text-decoration:underline}.booking-calendar #booking-program-form{max-width:760px}.service-thread select{width:100%;min-height:44px}

/* Customer document only; keep the existing mobile UI and staff portals. */
@media (min-width:701px) {
  #root > .phone-shell {
    width:100%; max-width:1120px; margin-inline:auto;
    min-height:100dvh; border-radius:0; overflow:visible;
  }
  #root > .phone-shell > .app-content {
    width:100%; max-width:1120px; margin-inline:auto;
    padding:20px 24px 110px; min-width:0;
  }
  #root > .phone-shell > .app-header {width:100%; padding-inline:24px;}
  #root > .phone-shell nav.sahla-bottom-nav {
    left:50%; right:auto; transform:translateX(-50%);
    width:100%; max-width:1120px; padding-inline:20px;
    grid-template-columns:none; grid-auto-columns:minmax(0,1fr);
    bottom:0; border-radius:0;
  }
  #root > .phone-shell .app-content > *,
  #root > .phone-shell .product-copy {min-width:0; max-width:100%;}
  #root > .phone-shell .store-list,
  #root > .phone-shell .comparison-groups {grid-template-columns:repeat(2,minmax(0,1fr));}
  #root > .phone-shell .comparison-group .search-product-list {grid-template-columns:1fr;}
  #root > .phone-shell .search-cart-bar {width:calc(100% - 48px); max-width:1072px;}
  #root > .customer-home .service-filter .categories {
    grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px;
  }
  #root > .customer-home #free-services-carousel,
  #root > .customer-home #home-ad-carousel {width:100%; max-width:900px; margin-inline:auto;}
  #root > .customer-home #free-services-carousel .service-banner {max-height:260px;}
  #root > .phone-shell:not(.customer-home):not(.customer-store):not(.search-page) > .app-content {max-width:800px;}
}
@media (min-width:701px) and (max-width:899px) {
  #root > .phone-shell .store-list,
  #root > .phone-shell .comparison-groups {grid-template-columns:1fr;}
  #root > .customer-home .service-filter .categories {grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Retail departments scroll horizontally; products always use two columns. */
#root .retail-section-tabs {display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-width:100%;padding:10px 0;}
#root .retail-section-tabs button {flex:0 0 auto;border:1px solid #cce3da;border-radius:16px;padding:10px 16px;background:#fff;color:#155b47;}
#root .retail-section-tabs button[aria-pressed="true"] {background:#07664e;color:white;}
#root .product-list.retail-product-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#root .retail-product-grid .product-card {display:flex;flex-direction:column;min-width:0;}
#root .retail-product-grid .product-media {width:100%;height:160px;flex:none;}
#root .retail-product-grid .product-media img {width:100%;height:100%;object-fit:cover;}
#root .retail-product-grid .product-copy {width:100%;min-width:0;flex:1;}

/* Approved Jijel reference proportions: 237-food-home-controls. */
/* Keep the shared SVG filter definitions out of document flow, including
   when the production CSP blocks the previous inline position declaration. */
#sahla-filter-defs {position:absolute; width:0; height:0; overflow:hidden; pointer-events:none;}
body.customer-theme {
  --theme-ink: #004e3e;
  --theme-yellow: #ffcf19;
  background: #fff !important;
  isolation: isolate;
}
/* A fixed backdrop fills the viewport, including tablet gutters, without iOS background-attachment. */
body.customer-theme::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: #fff var(--customer-background-image, url('/assets/sahla-jijel-approved-v233.webp')) center top / cover no-repeat;
  filter: var(--customer-background-filter, none);
}
body.customer-theme::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--customer-background-overlay, #ffffff);
  opacity: var(--customer-background-opacity, .12);
}
body.customer-theme #root > .phone-shell {
  width: 100%; max-width: 940px; min-height: 100svh; margin-inline: auto;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
body.customer-theme #root > .phone-shell > .app-content {
  max-width: 940px; width: 100%; min-width: 0; margin-inline: auto;
  padding: 6px max(12px, env(safe-area-inset-right)) calc(94px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
/* Reset the legacy white gradient that concealed the white home message. */
body.customer-theme #root > .customer-home > .app-content {
  background: transparent; color: #fff;
}
body.customer-theme #root .app-header.balanced-customer-header {
  background: transparent; border: 0; box-shadow: none; color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  height: auto; min-height: 58px; gap: 8px;
  padding: calc(6px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));
  grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
}
body.customer-theme #root .balanced-customer-header > .app-wordmark {
  display: block; width: 108px; height: 42px; padding: 0; border: 0; border-radius: 0;
  background: transparent; stroke: none; overflow: visible;
}
body.customer-theme #root .balanced-customer-header .language-trigger,
body.customer-theme #root .balanced-customer-header .location-header {
  color: #fff; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
/* Override the legacy !important capsule in closed, open and hover states. */
body.customer-theme #root .balanced-customer-header .language-menu {
  width: 44px !important; height: 44px !important; flex: 0 0 44px !important;
}
body.customer-theme #root .balanced-customer-header .language-menu > summary {
  width: 44px !important; height: 44px !important; padding: 0 !important;
  color: #fff; background: transparent !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
}
body.customer-theme #root .balanced-customer-header .language-menu > summary:focus-visible {
  outline: 2px solid var(--theme-yellow); outline-offset: 2px;
}
body.customer-theme #root .balanced-customer-header .language-trigger b {color: #fff; font-size: 16px;}
body.customer-theme #root .balanced-customer-header .language-trigger {min-width: 44px; min-height: 44px; padding: 4px;}
body.customer-theme #root .balanced-customer-header .location-header {padding: 2px 0; gap: 4px;}
body.customer-theme #root .balanced-customer-header .location-header b {font-size: 11px; color: #fff;}
body.customer-theme #root .balanced-customer-header .location-header small {color: #e6fff3;}
body.customer-theme #root .balanced-customer-header .location-icon {color: #fff; background: transparent; border: 0;}
body.customer-theme #root .balanced-customer-header .page-back {background: transparent; border-color: transparent; color: #fff;}
body.customer-theme #root .balanced-customer-header .language-options {color: var(--theme-ink);}
body.customer-theme #root .customer-home .balanced-customer-header > .header-language-slot {grid-column:1; grid-row:1; justify-content:flex-start;}
body.customer-theme #root .customer-home .balanced-customer-header > .app-wordmark {grid-column:2; grid-row:1;}
body.customer-theme #root .customer-home .balanced-customer-header > .location-header {grid-column:3; grid-row:1; justify-self:end;}
/* Let the welcome copy determine the hero height; keep the bird inside it. */
body.customer-theme #root .customer-home .compact-home-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: start;
  min-height: 0; height: auto; max-height: none; gap: 8px;
  margin: 0 0 8px; padding: 3px 2px; border: 0; border-radius: 0;
  background: transparent; color: #fff; box-shadow: none; overflow: hidden;
}
body.customer-theme #root .customer-home .compact-home-hero::before,
body.customer-theme #root .customer-home .compact-home-hero::after {display: none;}
body.customer-theme #root .customer-home .compact-home-hero .hero-copy {min-width: 0; padding: 16px 0 0; text-align: center;}
body.customer-theme #root .customer-home .compact-home-hero h1 {
  font-size: clamp(24px, 7vw, 30px); line-height: 1.4; color: #fff;
  margin: 0 0 2px; text-shadow: 0 1px 3px #00413280;
}
body.customer-theme #root .customer-home .compact-home-hero p {font-size: 15px; color: #fff; line-height: 1.5; margin: 0;}
body.customer-theme #root .customer-home .compact-home-hero img {
  position: static; inset: auto; display: block; width: 96px; height: 100px; max-width: 100%;
  object-fit: contain; margin: 0; padding: 0; filter: none; transform: none; align-self: start;
}
body.customer-theme #root .customer-home .universal-search {width: 94%; max-width: 680px; margin: 10px auto; padding: 0; border: 0; background: transparent;}
body.customer-theme #root .customer-home .universal-search .search-launcher {
  min-height: 36px !important; height: 36px; padding: 4px 12px !important; margin: 0; width: 100%;
  border-radius: 24px !important; background: #ffffffed !important; color: #175d50 !important;
  border: 1px solid #ffffffa6 !important; box-shadow: none !important; font-size: 13px !important;
}
body.customer-theme #root .customer-home .search-launcher > span:nth-child(2) {min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; line-height: 1.4;}
body.customer-theme #root .customer-home .search-launcher > span:first-child {display: flex; align-items: center;}
body.customer-theme #root .customer-home .search-launcher > i {font-size: 20px; line-height: 1; flex: 0 0 auto;}
/* Keep existing ad links/artwork and the free-service carousel; only their home size changes. */
body.customer-theme #root .customer-home .compact-home-hero + [data-ad-slot] {margin-top:0;}
body.customer-theme #root .customer-home #home-ad-carousel {margin-block: 0 10px;}
body.customer-theme #root .customer-home #home-ad-carousel .ad-slides {width: 100%; height: clamp(68px, calc((100vw - 24px) * .215), 112px); aspect-ratio: auto; border-radius: 18px; background: #004e3e;}
body.customer-theme #root .customer-home #home-ad-carousel .commercial-ad {border: 1px solid #ffffffb3; border-radius: 18px !important;}
body.customer-theme #root .customer-home #home-ad-carousel .commercial-ad::before {content:''; position:absolute; inset:-16px; background:var(--home-ad-backdrop) center / cover no-repeat; filter:blur(12px) brightness(.75); pointer-events:none;}
body.customer-theme #root .customer-home #home-ad-carousel .commercial-ad > :is(img,video) {z-index:1; background:transparent; object-fit: contain !important;}
body.customer-theme #root .customer-home .free-services-banner {margin: 8px auto 12px;}
body.customer-theme #root .customer-home #free-services-carousel .ad-slides {height: clamp(74px, 20.5vw, 96px); min-height: 0; aspect-ratio: auto; border-radius: 18px;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner {height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; border: 1px solid #ffffffa6; border-radius: 18px !important;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner > img {object-fit: cover !important; object-position: center !important;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy {width: 57%; padding-block: 4px; gap: 1px;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy b {font-size: clamp(14px, 3.6vw, 18px); line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy small,
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy > span {font-size: 10px; line-height: 1.2;}
/* Same six managed services and source photos, in normal scrolling order. */
body.customer-theme #root .customer-home .service-filter {margin: 0; padding: 0; background: transparent; border: 0;}
body.customer-theme #root .customer-home .service-filter .categories {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  width: 100%; max-width: 600px; margin: 0 auto; padding: 0; overflow: visible;
}
body.customer-theme #root .customer-home .service-filter .categories > :is(button,a.delivery-service-card) {
  display: block; position: relative;
  width: 100%; min-width: 0; min-height: 44px; height: auto; aspect-ratio: 1; margin: 0; padding: 0;
  background: #004e3e; color: #fff; border: 1px solid #ffffffc7;
  border-radius: 16px; box-shadow: 0 2px 6px #002d2514; overflow: hidden;
  text-align: center; text-decoration:none; transition: transform .15s ease;
}
body.customer-theme #root .customer-home .service-filter .categories > button:active {transform: scale(.98);}
body.customer-theme #root .theme-service-scene {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none;
  border-radius: 0; overflow: hidden; background: #004e3e;
}
body.customer-theme #root .theme-service-scene svg {display: block; width: 100%; height: 100%; stroke: none; overflow: hidden;}
body.customer-theme #root .customer-home .categories .service-copy {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end; min-width: 0; width: 100%;
  min-height: 46%; padding: 18px 4px 8px; background: linear-gradient(0deg, #004e3ef5 0%, #004e3edb 42%, #004e3e00 100%);
}
body.customer-theme #root .customer-home .categories .service-copy b {
  font-size: clamp(13px, 4vw, 17px); line-height: 1.5; color: #fff; text-shadow: 0 1px 2px #00362c;
  font-weight: 700; white-space: normal; overflow-wrap: normal; margin: 0;
}
body.customer-theme #root .customer-home .categories .service-copy small {display: none;}
body.customer-theme #root .theme-home-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
  gap: 0; width: 100%; max-width: 600px; margin: 10px auto 0; padding: 5px 0;
  border: 1px solid #ffffff45; border-radius: 9px; color: #fff; background: #003e3624;
}
body.customer-theme #root .theme-home-stats > div {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 3px 7px; min-width: 0; padding: 0 5px; font-size: 11px; line-height: 1.6;
}
body.customer-theme #root .theme-home-stats > div + div {border-inline-start: 1px solid #ffffff40;}
body.customer-theme #root .theme-home-stats strong {font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;}
body.customer-theme #root .theme-home-message {
  display: block; position: static; text-align: center; padding: 8px 4px; margin: 0;
  color: #fff; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere;
  text-shadow: 0 1px 3px #003e3280;
}
body.customer-theme #root .theme-home-message strong {color: inherit;}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: row;
  left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 20px); max-width: 900px;
  bottom: max(8px, env(safe-area-inset-bottom)); padding: 4px; gap: 2px;
  min-height: 62px; border: 1px solid #62bda55e; border-radius: 28px;
  background: #003f35f2; box-shadow: 0 4px 14px #002f2930; backdrop-filter: blur(10px);
}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav button {
  min-height: 52px; min-width: 0; padding: 5px 1px; gap: 3px;
  background: transparent; color: #fff; border: 0; border-radius: 23px; font-size: 10px;
}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav button svg {width: 22px; height: 22px; stroke-width: 1.8;}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav button[aria-current="page"] {background: var(--theme-yellow); color: #003c33; font-weight: 700; box-shadow: none;}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav button:focus-visible {outline: 3px solid white; outline-offset: -3px;}
/* A photo-backed footer prevents later rows showing through the floating bar.
   The rows themselves remain immediately adjacent and scroll normally. */
body.customer-theme #root .customer-home.home-opening-footer-mask::before {
  content:''; position:fixed; inset:0; z-index:44;
  clip-path:inset(var(--home-opening-mask-top, calc(100% - 82px)) 0 0);
  background:var(--customer-background-image, url('/assets/sahla-jijel-approved-v233.webp')) center top / cover no-repeat;
  box-shadow:inset 0 0 0 100vmax color-mix(in srgb, var(--customer-background-overlay,#fff) calc(var(--customer-background-opacity,.12) * 100%), transparent);
}
/* Approved home composition: physical placement does not reverse with language.
   The original portrait keeps its aspect ratio independently of document length. */
body.customer-theme.customer-home-active {position:relative; padding:0; background:#0c85a9 !important;}
body.customer-theme.customer-home-active::before {position:fixed; background-color:#cce8f5; background-size:cover;}
body.customer-theme.customer-home-active::after {position:fixed;}
body.customer-theme #root > .customer-home > .app-content {padding-top:0; padding-inline:clamp(12px,3.8vw,20px);}
body.customer-theme #root .customer-home .app-header.balanced-customer-header {
  position:relative; top:auto; margin:0; min-height:48px; height:auto;
  padding:calc(2px + env(safe-area-inset-top)) clamp(16px,5vw,28px) 2px;
  grid-template-columns:minmax(0,1fr) clamp(108px,28vw,124px) minmax(0,1fr);
}
body.customer-theme #root .customer-home .balanced-customer-header > .app-wordmark {width:100%; height:44px; align-self:center;}
body.customer-theme #root .customer-home .balanced-customer-header > .location-header {direction:rtl; justify-content:flex-start; text-align:right; width:100%; max-width:100%;}
body.customer-theme #root .customer-home .location-header > span:last-child {min-width:0;}
body.customer-theme #root .customer-home .location-header b {font-size:clamp(11px,3.7vw,16px);}
body.customer-theme #root .customer-home .location-header .location-icon {width:20px; flex-basis:20px;}
body.customer-theme #root .customer-home .balanced-customer-header .language-trigger {display:flex; flex-direction:row; gap:6px; justify-content:center;}
body.customer-theme #root .customer-home .balanced-customer-header .language-trigger b {font-size:22px; font-weight:400;}
body.customer-theme #root .customer-home .compact-home-hero {display:block; position:relative; padding:0; margin-bottom:calc(min(100%,900px) / 9);}
body.customer-theme #root .customer-home .compact-home-hero .hero-copy {width:64%; margin-inline:auto; padding:0; text-align:center;}
body.customer-theme #root .customer-home .compact-home-hero h1 {font-size:clamp(23px,7vw,30px); line-height:1.4; margin:0 0 2px; white-space:nowrap; text-align:center;}
body.customer-theme #root .customer-home .compact-home-hero p {font-size:clamp(12px,3.9vw,17px); line-height:1.5; text-align:center; overflow-wrap:anywhere;}
body.customer-theme #root .customer-home .compact-home-hero .hero-copy > :is(h1,p) {display:block; width:100%; max-width:none; align-self:stretch;}
body.customer-theme #root .customer-home .compact-home-hero img {position:absolute; top:0; left:0; right:auto; width:22%; height:100%; max-height:82px; object-fit:contain; mix-blend-mode:normal;}
body.customer-theme #root .customer-home #home-ad-carousel .ad-slides {height:auto; aspect-ratio:4.5;}
body.customer-theme #root .customer-home .universal-search {width:94%;}
body.customer-theme #root .customer-home .search-launcher > i {display:none;}
body.customer-theme #root .customer-home .search-launcher {animation:none !important;}
body.customer-theme #root .customer-home .search-launcher > span:nth-child(2) {text-align:center; font-size:14px;}
body.customer-theme #root .customer-home .free-services-banner {margin-bottom:20px;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy b {font-size:clamp(16px,4.6vw,21px);}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy small,
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy > span {font-size:clamp(11px,3vw,13px);}
body.customer-theme #root .customer-home .service-filter .categories {gap:8px;}
body.customer-theme #root .customer-home nav.sahla-bottom-nav {bottom:max(16px,env(safe-area-inset-bottom));}
body.customer-theme #root .customer-home.home-opening-footer-mask::before {
  top:0; bottom:0; height:auto;
  clip-path:inset(var(--home-opening-mask-top,100vh) 0 0);
  background-color:#0c85a9; background-size:cover; background-position:center top;
}
/* Matched banner proportions keep the artwork and captions inside the frame.
   A fixed ratio gives phones and tablets the same image framing. */
body.customer-theme #root .customer-home #home-ad-carousel,
body.customer-theme #root .customer-home #free-services-carousel {max-width:900px; margin-inline:auto;}
body.customer-theme.customer-home-active #root .customer-home #free-services-carousel .ad-slides {height:auto; aspect-ratio:4.5;}
/* Preserve every existing free-service photograph. A 3:1 image occupies
   two thirds of the 4.5:1 frame, so it is neither stretched nor cropped. */
body.customer-theme #root .customer-home #free-services-carousel .service-banner {background:#004e3e;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner > img {width:66.6667%; height:100%; left:0; right:auto; object-fit:contain !important; object-position:left center !important;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner::after {display:block; background:linear-gradient(90deg,transparent 44%,#004e3e 68%);}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy {
  position:absolute; z-index:2; left:auto; right:3%; inset-inline-start:auto; inset-inline-end:auto;
  top:0; bottom:0; width:44%; height:100%; max-height:100%; display:flex; flex-direction:column;
  justify-content:center; align-items:center; gap:2px; padding:2px 0; color:#fff; text-align:center;
  direction:inherit; pointer-events:none; box-sizing:border-box; text-shadow:none;
}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy b {font-size:clamp(12px,3.8vw,26px); line-height:1.2; -webkit-line-clamp:2;}
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy small,
body.customer-theme #root .customer-home #free-services-carousel .service-banner-copy > span {font-size:clamp(8px,2.7vw,17px); line-height:1.2;}
/* free-service-language-layout: move the artwork, its built-in fade and the
   green caption backdrop together for French/English. Mirror only the image;
   the translated caption stays readable and Arabic keeps its approved layout. */
body.customer-theme #root .customer-home #free-services-carousel[dir="ltr"] .service-banner > img {
  left:auto; right:0; object-position:right center !important; transform:scaleX(-1);
}
body.customer-theme #root .customer-home #free-services-carousel[dir="ltr"] .service-banner::after {
  background:linear-gradient(270deg,transparent 44%,#004e3e 68%);
}
body.customer-theme #root .customer-home #free-services-carousel[dir="ltr"] .service-banner-copy {
  left:3%; right:auto; inset-inline-start:3%; inset-inline-end:auto; direction:ltr;
}
/* The scenic image belongs only to the home. All other customer surfaces are white. */
body.customer-theme:not(.customer-home-active)::before,
body.customer-theme:not(.customer-home-active)::after {display:none;}
body.customer-theme:not(.customer-home-active),
body.customer-theme:not(.customer-home-active) #root > .phone-shell,
body.customer-theme:not(.customer-home-active) #root > .phone-shell > .app-content {background:#fff !important; color:#17352d;}
body.customer-theme:not(.customer-home-active) #root .app-header.balanced-customer-header {background:#fff; color:#004e3e;}
body.customer-theme:not(.customer-home-active) #root .balanced-customer-header .app-wordmark image {filter:none;}
body.customer-theme:not(.customer-home-active) #root .balanced-customer-header :is(.language-trigger,.language-trigger b,.location-header,.location-header b,.location-header small,.location-icon,.page-back) {color:#004e3e;}
body.customer-theme:not(.customer-home-active) #root :is(.theme-home-stats,.theme-home-message,.guest-note) {color:#17352d; text-shadow:none;}
/* Forms/catalogues remain readable while the home keeps its uninterrupted bay background. */
body.customer-theme #root .phone-shell:not(.customer-home) > .app-content {background: transparent; color: #17352d; min-height: calc(100svh - 58px); border-radius: 16px 16px 0 0;}
body.customer-theme #root .customer-home .home-discovery.theme-catalog-panel {background: transparent; padding: 12px; border-radius: 14px; color: #17352d;}
body.customer-theme #root .customer-home .guest-note {color: #fff; background: #003e3340; border: 1px solid #ffffff24; border-radius: 10px; padding: 8px; margin-top: 4px;}
body.customer-theme #root .customer-home .guest-note button {background: #fff; color: #00533f;}
@media (min-width: 600px) {
  body.customer-theme #root > .phone-shell > .app-content {padding-inline: 20px; padding-top: 6px;}
  body.customer-theme #root .app-header.balanced-customer-header {padding-inline: 20px; grid-template-columns: minmax(0,1fr) 124px minmax(0,1fr);}
  body.customer-theme #root .balanced-customer-header > .app-wordmark {width: 124px; height: 46px;}
  body.customer-theme #root .balanced-customer-header .location-header {justify-self: end; width: auto; max-width: 230px;}
  body.customer-theme #root .balanced-customer-header .location-header b {font-size: 13px;}
  body.customer-theme #root .customer-home .compact-home-hero {grid-template-columns: minmax(0,1fr) 76px; min-height: 0;}
  body.customer-theme #root .customer-home .compact-home-hero img {width: 76px; height: 100%; max-height:68px;}
  body.customer-theme #root .customer-home .compact-home-hero h1 {font-size: 26px;}
  body.customer-theme #root .customer-home .compact-home-hero p {font-size: 14px;}
  body.customer-theme #root .customer-home .service-filter .categories {gap: 10px;}
  body.customer-theme #root .customer-home .categories .service-copy b {font-size: 14px;}
  body.customer-theme #root .theme-home-stats > div {font-size: 12px;}
  body.customer-theme #root .phone-shell nav.sahla-bottom-nav {width: calc(100% - 40px);}
  body.customer-theme #root .phone-shell nav.sahla-bottom-nav button {font-size: 11px;}
}
@media (max-width: 359px) {
  body.customer-theme #root .app-header.balanced-customer-header {grid-template-columns: minmax(0,1fr) 90px minmax(0,1fr); gap: 5px;}
  body.customer-theme #root .balanced-customer-header > .app-wordmark {width: 90px;}
  body.customer-theme #root .customer-home .service-filter .categories {gap: 6px;}
  body.customer-theme #root .customer-home .categories .service-copy b {font-size: 12px;}
  body.customer-theme #root .theme-home-stats > div {font-size: 10px; gap: 3px;}
}
@media (prefers-reduced-motion: reduce) {
  body.customer-theme #root .customer-home .categories > :is(button,a.delivery-service-card) {transition: none;}
}



/* v228: text over the original photo remains legible without an opaque page wash. */
body.customer-theme #root .theme-home-stats,
body.customer-theme #root .customer-home .guest-note {background:#003e3320;color:#fff;border-color:#ffffff60;text-shadow:0 1px 3px #001c17;}
body.customer-theme #root .compact-home-hero h1,
body.customer-theme #root .compact-home-hero p {text-shadow:0 1px 4px #001c17;}

/* Directory pages are full viewport surfaces, including safe-area and overscroll. */
body.customer-theme:has(#root > .phone-shell[data-directory-layout]) {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}
body.customer-theme:has(#root > .phone-shell[data-directory-layout])::before,
body.customer-theme:has(#root > .phone-shell[data-directory-layout])::after {
  display: none;
}
body.customer-theme #root > .phone-shell[data-directory-layout] {
  width: 100% !important;
  max-width: none !important;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
body.customer-theme #root > .phone-shell[data-directory-layout] > .app-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
}
body.customer-theme #root > .phone-shell[data-directory-layout] > :is(.app-header,.service-page-header,.service-navigation) {
  background: #fff !important;
  color: #17352d;
  border-radius: 0;
}

/* v239 approved white/green preview. No extra 10px greeting offset.
   The broad haze is a UI layer, independent of the administrator's image. */
body.customer-theme.customer-home-active::before {
  background-image:var(--customer-background-image,url('/assets/sahla-jijel-approved-v233.webp'));
  background-color:#cce8f5;background-position:center top;
  filter:var(--customer-background-filter,none);
}
body.customer-theme.customer-home-active::after {
  opacity:1;
  background:radial-gradient(ellipse 82% 175px at 50% 35px,color-mix(in srgb,#fff calc(var(--customer-header-haze,1) * 95%),transparent) 0%,color-mix(in srgb,#fff calc(var(--customer-header-haze,1) * 85%),transparent) 32%,color-mix(in srgb,#fff calc(var(--customer-header-haze,1) * 52%),transparent) 65%,#ffffff00 100%),linear-gradient(color-mix(in srgb,var(--customer-background-overlay,#fff) calc(var(--customer-background-opacity,.12) * 100%),transparent),color-mix(in srgb,var(--customer-background-overlay,#fff) calc(var(--customer-background-opacity,.12) * 100%),transparent));
}
body.customer-theme.customer-home-active #root .customer-home .balanced-customer-header :is(.language-trigger,.language-trigger b,.location-header,.location-header b,.location-header small,.location-icon) {color:#004e3e;}
body.customer-theme.customer-home-active #root .customer-home .balanced-customer-header .app-wordmark image {filter:none;}
body.customer-theme.customer-home-active #root .customer-home .balanced-customer-header .language-menu,
body.customer-theme.customer-home-active #root .customer-home .balanced-customer-header .language-menu > summary {width:auto !important;min-width:64px;flex-basis:auto !important;}
body.customer-theme.customer-home-active #root .customer-home .balanced-customer-header .language-trigger b {font-size:clamp(12px,3.4vw,16px);font-weight:600;white-space:nowrap;}
body.customer-theme.customer-home-active #root .customer-home .compact-home-hero {overflow:visible;}
body.customer-theme.customer-home-active #root .customer-home .compact-home-hero .hero-copy {position:relative;top:30px;}
body.customer-theme.customer-home-active #root .customer-home .compact-home-hero :is(h1,p) {color:#004e3e;text-shadow:none;}
body.customer-theme.customer-home-active #root .customer-home #free-services-carousel .service-banner {background:#fff;}
body.customer-theme.customer-home-active #root .customer-home #free-services-carousel .service-banner::after {background:linear-gradient(90deg,transparent 34%,#ffffffb3 49%,#fff 68%);}
body.customer-theme.customer-home-active #root .customer-home #free-services-carousel[dir="ltr"] .service-banner::after {background:linear-gradient(270deg,transparent 34%,#ffffffb3 49%,#fff 68%);}
body.customer-theme.customer-home-active #root .customer-home #free-services-carousel .service-banner-copy,
body.customer-theme.customer-home-active #root .customer-home #free-services-carousel .service-banner-copy :is(b,small,span) {color:#004e3e;text-shadow:none;}
body.customer-theme.customer-home-active #root .customer-home .categories .service-copy {background:linear-gradient(0deg,#fff 0%,#fffffff0 35%,#ffffff00 100%);}
body.customer-theme.customer-home-active #root .customer-home .categories .service-copy b {color:#004e3e;text-shadow:none;}
body.customer-theme.customer-home-active #root .customer-home nav.sahla-bottom-nav {background:#fff;border-color:#ffffffa6;}
body.customer-theme.customer-home-active #root .customer-home nav.sahla-bottom-nav button {color:#004e3e;}
body.customer-theme.customer-home-active #root .customer-home nav.sahla-bottom-nav button[aria-current="page"] {background:#ffcf19;color:#004e3e;}
body.customer-theme.customer-home-active #root .customer-home.home-opening-footer-mask::before {
  background-image:var(--customer-background-image,url('/assets/sahla-jijel-approved-v233.webp'));
  background-color:#cce8f5;background-position:center top;filter:var(--customer-background-filter,none);
}

/* v242: the full Arabic language name must not be squeezed into a 44px icon. */
body.customer-theme #root .balanced-customer-header .header-language-slot {min-width:0;overflow:visible;}
body.customer-theme #root .balanced-customer-header .language-menu,
body.customer-theme #root .balanced-customer-header .language-menu > summary {
 width:auto !important;min-width:64px;max-width:100%;flex:0 0 auto !important;
}
body.customer-theme #root .balanced-customer-header .language-trigger {
 display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;
 width:auto;min-height:44px;white-space:nowrap;
}
body.customer-theme #root .balanced-customer-header .language-trigger b {
 font-size:clamp(12px,3.4vw,16px);font-weight:600;line-height:1.4;white-space:nowrap;flex-shrink:0;
}
body.customer-theme #root .balanced-customer-header .language-trigger svg {flex:0 0 12px;width:12px;height:8px;}
/* Paint to the screen edges, but keep interactive content inside the safe area.
   Existing header rules already account for the top inset; do not add it twice. */
html {min-height:100%;background:#fff;}
body.customer-theme #root .customer-home .app-header.balanced-customer-header {
 padding-inline:max(clamp(16px,5vw,28px),env(safe-area-inset-left),env(safe-area-inset-right));
}
@media (display-mode:standalone) {
 body.customer-theme {margin:0;min-height:100dvh;}
 body.customer-theme #root > .phone-shell > :is(.service-page-header,.pharmacy-page-header):first-child {
 padding-top:calc(8px + env(safe-area-inset-top));
 padding-left:max(12px,env(safe-area-inset-left));
 padding-right:max(12px,env(safe-area-inset-right));
 }
}

/* v243: one customer navigation style on home, catalogue, orders and profile. */
body.customer-theme #root .phone-shell nav.sahla-bottom-nav {background:#fff;border-color:#ffffffa6;}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav button {color:#004e3e;}
body.customer-theme #root .phone-shell nav.sahla-bottom-nav button[aria-current="page"] {background:#ffcf19;color:#004e3e;}

/* v244: orders use the same green label / yellow underline as directory tabs. */
body.customer-theme #root .phone-shell .orders-view-toggle {
 display:flex;align-items:stretch;gap:8px;overflow-x:auto;flex-wrap:nowrap;
 padding:0 0 4px;margin:0 0 16px;background:transparent;border:0;border-radius:0;
 -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
body.customer-theme #root .phone-shell .orders-view-toggle::-webkit-scrollbar {display:none;}
body.customer-theme #root .phone-shell .orders-view-toggle > button {
 position:relative;flex:0 0 auto;min-height:44px;padding:10px 16px;
 color:#586b63;background:transparent;border:0;border-radius:0;box-shadow:none;
 font:inherit;white-space:nowrap;
}
body.customer-theme #root .phone-shell .orders-view-toggle > button[aria-pressed="true"] {
 color:#07563f;background:transparent;font-weight:700;
}
body.customer-theme #root .phone-shell .orders-view-toggle > button[aria-pressed="true"]::after {
 content:"";position:absolute;bottom:1px;inset-inline:15%;height:3px;
 border-radius:3px;background:#f4c542;display:block;
}
body.customer-theme #root .phone-shell .orders-view-toggle > button:focus-visible {
 outline:2px solid #07563f;outline-offset:-2px;
}

/* Keep a swipe surface even when the selected orders list is empty. */
body.customer-theme #root #orders-list {min-height:45svh;}


/* Full-bleed opening. One sizing rule overrides legacy phone/tablet rules. */
#launch-intro{position:fixed!important;inset:0!important;width:100%!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#4bafdc!important;z-index:10000}
#launch-intro::before{display:none!important}
#launch-intro .launch-intro-video,#launch-intro .launch-intro-animation{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;max-height:none;object-position:center;object-fit:cover!important;background:transparent!important;z-index:1}
#launch-intro .launch-intro-video[hidden],#launch-intro .launch-intro-animation[hidden]{display:none!important}


html:not(.intro-playing) #launch-intro{display:none!important}

/* Keep map controls and compact cart content within the mobile/tablet frame. */
.partner-pickup-section{min-width:0;display:grid;gap:10px;padding:12px;border:1px solid #d4e5db;border-radius:14px;background:#f7fbf8}
.partner-pickup-section h3,.partner-pickup-section p{margin:0;font-size:14px;line-height:1.6}
.partner-pickup-section h3{font-size:16px;color:#125f44}
.partner-pickup-section .partner-pickup-map{height:240px;min-height:240px;max-width:100%;border-radius:10px;z-index:0}
.partner-pickup-section .map-coordinates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.partner-pickup-section input{min-width:0;width:100%}
.partner-pickup-section details{margin:0}.partner-pickup-section summary{cursor:pointer;font-size:13px}
#partner-location-form{border-top:1px solid #d4e5db;margin-top:18px;padding-top:18px}
.vehicle-rate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.vehicle-rate-grid fieldset{min-width:0;border:1px solid #d4e5db;border-radius:12px;padding:12px;display:grid;gap:10px}
.vehicle-rate-grid legend{font-weight:700;font-size:15px;color:#146244}.vehicle-rate-grid label{font-size:13px}.vehicle-rate-grid small{color:#5e7469;font-size:12px;line-height:1.6}
#root .compact-cart-items{display:flex;flex-direction:column;gap:0;padding:0 12px;margin:10px 0;background:#fff;border:1px solid #dce8e1;border-radius:14px;overflow:hidden}
#root .compact-cart-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px 10px;padding:12px 0;margin:0;min-height:0;align-items:center;border-bottom:1px solid #e4ece7;box-shadow:none;background:transparent;border-radius:0}
#root .compact-cart-item:last-child{border-bottom:0}
#root .compact-cart-item>img{grid-column:1;grid-row:1/3;width:52px;height:52px;min-height:0;object-fit:cover;border-radius:10px}
#root .compact-cart-name{min-width:0;grid-column:2;grid-row:1}
#root .compact-cart-name h3{font-size:14px;line-height:1.45;margin:0 0 3px;overflow-wrap:anywhere}
#root .compact-cart-name small{font-size:12px;color:#6b7c73}
#root .compact-cart-price{grid-column:3;grid-row:1;font-size:14px;white-space:nowrap;color:#115a40}
#root .compact-cart-quantity{grid-column:2;grid-row:2;display:flex;align-items:center;gap:0;width:max-content;border:1px solid #dbe8df;border-radius:9px;overflow:hidden}
#root .compact-cart-quantity button{width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:0;background:#f0f7f2;color:#126143;font-size:20px}
#root .compact-cart-quantity output{min-width:30px;text-align:center;font-size:13px;font-weight:700}
#root .compact-cart-remove{grid-column:3;grid-row:2;justify-self:end;width:40px;height:40px;min-height:40px;padding:0;background:transparent;border:0;color:#8e5252;font-size:23px}
#root .compact-cart-store{display:flex;align-items:center;gap:8px;margin:8px 0;color:#155e45;font-size:15px}
#root .compact-cart-page .summary{padding:14px;background:#fff;border:1px solid #dce8e1;border-radius:14px;display:block}
#root .compact-cart-page .delivery-price-breakdown{gap:7px}#root .compact-cart-page .delivery-price-row{font-size:13px}
#root .compact-cart-page .delivery-price-total{font-size:16px;padding-top:10px;margin-top:3px}
@media(max-width:360px){#root .compact-cart-items{padding-inline:8px}#root .compact-cart-item{grid-template-columns:44px minmax(0,1fr) auto;column-gap:7px}#root .compact-cart-item>img{width:44px;height:44px}#root .compact-cart-price{font-size:12px}}

.delivery-location-control{margin:8px 0 12px;min-width:0}.delivery-location-control>div{display:flex;flex-wrap:wrap;gap:6px}.delivery-location-control button{flex:1;padding:9px 10px;min-height:40px;font-size:13px;border:1px solid #ceded6;border-radius:10px;background:#f5faf7;color:#155841}.delivery-location-control button[aria-pressed=true]{border-color:#187953;background:#e7f5ec}.delivery-location-control small{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#52685d;overflow-wrap:anywhere}.delivery-map-dialog{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow-y:auto;border:0;border-radius:18px;padding:16px;color:#164a38;background:#fff}.delivery-map-dialog::backdrop{background:#001d16a8}.delivery-map-dialog h2{font-size:18px;margin:0 0 8px}.delivery-map-dialog p{font-size:13px;margin:0 0 10px}.delivery-point-map{height:300px;height:min(300px,42dvh);min-height:180px;border-radius:12px;background:#eef3ef;isolation:isolate}.delivery-map-dialog details{margin:10px 0;font-size:12px}.delivery-map-dialog .map-coordinates{display:flex;gap:8px}.delivery-map-dialog label{min-width:0;flex:1}.delivery-map-dialog input{width:100%;box-sizing:border-box}.delivery-map-actions{display:flex;gap:8px;margin-top:12px}.delivery-map-actions button{flex:1;min-height:42px;font-size:13px;padding:9px;border-radius:9px}.catalog-more{display:block;width:100%;padding:12px;margin:12px 0;border-radius:12px;font-size:14px}.catalog-sync{font-size:13px}

#root .delivery-location-control .favorite-places-link{padding:4px 0;border:0;background:transparent;min-height:36px;font-size:12px;display:inline-flex;align-items:center;gap:5px;color:#146447}.delivery-location-control small{display:inline;margin-inline-start:10px}.save-map-place{margin:10px 0;display:grid;gap:8px}.save-map-place label{display:grid;gap:5px;font-size:13px}.save-map-place .save-map-toggle{display:flex;align-items:center;gap:7px}.save-map-place input[type=checkbox]{width:18px;height:18px;margin:0}.save-map-place input:not([type=checkbox]),.save-selected-place input{padding:9px;border:1px solid #d2ded7;border-radius:8px;font-size:16px}.favorite-places-dialog header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.favorite-places-dialog header button{width:40px;height:40px;border:0;background:#f2f6f3;border-radius:10px;font-size:22px}.favorite-place-row{display:flex;align-items:center;border-bottom:1px solid #e3ebe6;padding:6px 0;gap:5px}.favorite-place-row>button:first-child{flex:1;min-width:0;display:flex;align-items:center;gap:9px;border:0;background:transparent;text-align:start;padding:10px 2px;color:#125d44;font-size:13px}.favorite-place-row strong{flex:1;overflow-wrap:anywhere}.favorite-place-row>button:last-child{border:0;background:transparent;color:#825353;padding:10px;font-size:12px}.favorite-places-dialog>.primary{width:100%;min-height:42px;border:0;border-radius:10px}.save-selected-place{display:grid;gap:8px;margin:12px 0}.save-selected-place label{display:grid;gap:5px;font-size:13px}.save-selected-place[hidden]{display:none}.favorite-places-dialog [role=alert],.delivery-map-dialog [data-save-error]{color:#a12e2e;font-size:13px}.favorite-places-profile{width:100%;padding:12px;border:1px solid #d1e2d8;border-radius:12px;background:#fff;color:#145c42;font-size:14px}

/* Per-dish quantities stay visible and editable directly in the restaurant menu. */
.phone-shell .product-actions .menu-cart-control{display:inline-flex;flex:0 0 auto;max-width:100%}
.phone-shell .product-actions .menu-quantity{display:grid;grid-template-columns:40px 26px 40px;align-items:center;min-height:44px;border:1px solid #c7dfd2;border-radius:11px;background:#edf7f1;color:#075d43;overflow:hidden}
.phone-shell .product-actions .menu-quantity button{display:grid;place-items:center;width:40px;height:42px;min-height:42px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:23px;line-height:1;touch-action:manipulation}
.phone-shell .product-actions .menu-quantity button:active{background:#d1ebdd}
.phone-shell .product-actions .menu-quantity button:disabled{opacity:.35;cursor:default}
.phone-shell .product-actions .menu-quantity output{font-size:15px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums;color:#134b38}
.phone-shell .product-actions .menu-quantity button:focus-visible{outline:2px solid #08704b;outline-offset:-3px}

/* The selected compact-card layout, with small product photos. */
#root .cart-cards-page .cart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 2px;border-bottom:1px solid #e0e9e1;color:#155240}
#root .cart-cards-page .cart-heading h1{margin:0;font-size:19px;line-height:1.4}
#root .cart-cards-page .cart-heading>span{font-size:12px;color:#687e70}
#root .cart-cards-page .cart-store-heading{display:flex;align-items:center;gap:8px;margin:0 0 10px;min-width:0}
#root .cart-cards-page .cart-store-heading>span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:#e6f0e8;color:#146645}
#root .cart-cards-page .cart-store-heading svg{width:18px;height:18px}
#root .cart-cards-page .cart-store-heading h2{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#root .cart-cards-page [data-cart-add-more]{flex:none;display:flex;align-items:center;gap:4px;max-width:48%;padding:6px 2px;border:0;background:transparent;color:#146747;font-size:12px;font-weight:600;line-height:1.4}
#root .cart-cards-page [data-cart-add-more]>span{font-size:19px}
#root .cart-cards-page .compact-cart-items{display:grid;gap:8px;padding:0;margin:0;background:transparent;border:0;border-radius:0;overflow:visible}
#root .cart-cards-page .compact-cart-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto;gap:8px;align-items:center;margin:0;padding:10px;min-width:0;min-height:0;border:1px solid #e1e9e2;border-radius:13px;background:#fff;box-shadow:none}
#root .cart-cards-page .compact-cart-item>img{grid-area:auto;width:40px;height:40px;min-height:0;object-fit:cover;padding:0;border:0;border-radius:8px;background:#f0f3ec}
#root .cart-cards-page .compact-cart-info{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0}
#root .cart-cards-page .compact-cart-name{grid-area:auto;min-width:0}
#root .cart-cards-page .compact-cart-name h3{margin:0 0 3px;font-size:13px;line-height:1.4;color:#173c30;overflow-wrap:anywhere}
#root .cart-cards-page .compact-cart-name small{display:block;font-size:11px;line-height:1.4;color:#758278}
#root .cart-cards-page .compact-cart-quantity{grid-area:auto;display:inline-flex;align-items:center;gap:0;width:max-content;max-width:100%;direction:ltr;border:1px solid #dae5dc;border-radius:8px;background:#fff;overflow:hidden}
#root .cart-cards-page .compact-cart-quantity button{flex:none;display:grid;place-items:center;width:27px;height:30px;min-height:30px;margin:0;padding:0;border:0;border-radius:0;background:#f0f6f1;color:#135d42;font-size:19px;line-height:1}
#root .cart-cards-page .compact-cart-quantity output{min-width:24px;text-align:center;font-size:12px;font-weight:700;line-height:1;color:#173c30;font-variant-numeric:tabular-nums}
#root .cart-cards-page .compact-cart-end{display:flex;flex-direction:column;align-items:end;justify-content:space-between;gap:3px;min-width:0}
#root .cart-cards-page .compact-cart-price{grid-area:auto;padding:0;border:0;background:transparent;color:#173c30;font-size:13px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
#root .cart-cards-page .compact-cart-remove{grid-area:auto;display:grid;place-items:center;width:30px;height:26px;min-height:26px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#8b9990}
#root .cart-cards-page .compact-cart-remove svg{width:15px;height:15px}
#root .cart-cards-page .cart-delivery-choice{margin:10px 0;padding:0;border:0;border-bottom:1px solid #dce6dc;background:transparent;border-radius:0}
#root .cart-cards-page .cart-delivery-choice>summary{display:flex;align-items:center;gap:8px;list-style:none;padding:8px 0;min-height:44px;cursor:pointer;color:#1c704e}
#root .cart-cards-page .cart-delivery-choice>summary::-webkit-details-marker{display:none}
#root .cart-cards-page .cart-delivery-choice>summary>svg{flex:none;width:19px;height:19px}
#root .cart-cards-page .cart-delivery-choice>summary>strong{flex:1;min-width:0;font-size:12px;font-weight:600;line-height:1.5;color:#234c38}
#root .cart-cards-page .cart-delivery-choice>summary>span{flex:none;padding:6px 9px;border-radius:7px;background:#eef5ef;color:#146747;font-size:11px}
#root .cart-cards-page .cart-delivery-choice>.delivery-location-control{margin:2px 0 8px}
#root .cart-cards-page .cart-delivery-choice:not([open])>.delivery-location-control{display:none}
#root .cart-cards-page .summary[data-cart-delivery]{display:block;margin:10px 0;padding:12px;border:0;border-radius:12px;background:#e9f2e9;box-shadow:none}
#root .cart-cards-page .delivery-price-breakdown{display:grid;gap:8px;width:100%;min-width:0}
#root .cart-cards-page .delivery-price-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;line-height:1.5;color:#244c38}
#root .cart-cards-page .delivery-price-total{margin:0;padding:0;border:0;font-size:18px;font-weight:700;color:#075747}
#root .cart-cards-page .delivery-price-row b{font-size:inherit;font-variant-numeric:tabular-nums}
#root .cart-cards-page .summary>p{margin:0;font-size:12px;line-height:1.5}
#root .cart-cards-page .cart-checkout-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;margin:0;padding:10px 14px;border:0;border-radius:12px;background:#08734e;color:#fff;box-shadow:none;font-size:14px;line-height:1.5}
html[dir=ltr] #root .cart-cards-page .cart-checkout-button>span[aria-hidden]{transform:rotate(180deg)}
#root .cart-cards-page .compact-cart-quantity button:focus-visible{outline-offset:-3px}
#root .phone-shell.customer-store .store-cart-return{position:sticky;top:64px;z-index:6;display:flex;align-items:center;gap:8px;width:100%;min-height:42px;margin:8px 0 12px;padding:8px 12px;border:1px solid #c6ddcb;border-radius:10px;background:#e9f2e9;color:#135d42;font-size:13px;line-height:1.4;box-shadow:0 2px 6px #1347320a}
#root .phone-shell.customer-store .store-cart-return svg{width:19px;height:19px}
#root .phone-shell.customer-store .store-cart-return>span{flex:1;text-align:start}
#root .phone-shell.customer-store .store-cart-return>b{font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:359px){#root .cart-cards-page .compact-cart-item{grid-template-columns:32px minmax(0,1fr) auto;padding:9px 8px;gap:6px}#root .cart-cards-page .compact-cart-item>img{width:32px;height:36px}#root .cart-cards-page .compact-cart-price{font-size:12px}#root .cart-cards-page .compact-cart-info{gap:5px}#root .cart-cards-page .compact-cart-quantity output{min-width:20px}}
@media(pointer:coarse){#root .cart-cards-page .compact-cart-quantity button{width:30px;height:38px;min-height:38px}#root .cart-cards-page .compact-cart-remove{height:32px;min-height:32px}#root .cart-cards-page [data-cart-add-more]{min-height:40px}}

/* Final overrides for the existing components; service order is unchanged. */
#root .customer-home #free-services-carousel .service-banner>img{object-fit:contain!important;object-position:center!important}
#root .customer-home .service-banner-copy{left:auto;right:auto;inset-inline-start:5%;inset-inline-end:auto;text-align:start;min-width:0;box-sizing:border-box;padding-block:8px;max-height:100%;gap:clamp(3px,1vw,8px)}
#root .customer-home .service-banner-copy b{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.3;font-size:clamp(14px,2.4vw,26px)}
#root .customer-home .service-banner-copy small,#root .customer-home .service-banner-copy>span{white-space:normal;line-height:1.35;font-size:clamp(10px,1.25vw,15px)}
html[dir=ltr] #root .customer-home .service-banner::after{background:linear-gradient(90deg,#032f37e8 0%,#032f3799 35%,transparent 72%)}
#root .service-page-header{display:flex;align-items:center;gap:12px}
#root .service-page-header>div,#root .service-page label,#root .professional-card{min-width:0;overflow-wrap:anywhere}
#root .service-page label{text-align:start;line-height:1.5}
#root .service-page input,#root .service-page select,#root .service-page textarea{min-width:0;max-width:100%;box-sizing:border-box}
#root .service-page .doctor-photo img,#root .service-page img.doctor-photo,#root .service-page .medical-avatar img{object-fit:contain;width:100%;height:100%;max-width:100%;aspect-ratio:1}
#root .service-page .doctor-summary{min-width:0;flex:1}
#root .service-page .community-toolbar{display:flex;flex-wrap:wrap;gap:10px}
@media(min-width:700px){
 #root .services-professional{width:100%;max-width:1180px;margin-inline:auto}
 #root .services-professional .app-content{max-width:none;width:100%;box-sizing:border-box}
 #root .service-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 #root .customer-home #free-services-carousel .service-banner{min-height:190px;max-height:360px}
 #root .customer-home .categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 #root .service-page .service-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media(min-width:1100px){#root .service-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:699px){#root .service-card-grid{grid-template-columns:minmax(0,1fr)}#root .customer-home .service-banner-copy{width:57%}}

/* Tablet home uses the viewport, not the legacy 940px shell / 600px grid.
   Keep phone rules intact and retain the existing artwork and service order. */
@media (min-width:700px) {
 body.customer-theme #root > .phone-shell.customer-home {
  width:100%;max-width:none;margin-inline:0;box-sizing:border-box;
 }
 body.customer-theme #root > .customer-home > .app-content {
  width:100%;max-width:none;box-sizing:border-box;
  padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right));
 }
 body.customer-theme #root .customer-home .service-filter .categories,
 body.customer-theme #root .customer-home .theme-home-stats,
 body.customer-theme #root .customer-home .app-content > [data-ad-slot],
 body.customer-theme #root .customer-home #home-ad-carousel,
 body.customer-theme #root .customer-home #free-services-carousel {
  width:100%;max-width:none;margin-inline:0;box-sizing:border-box;
 }
 body.customer-theme #root .customer-home .service-filter .categories {
  grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
 }
 body.customer-theme #root .customer-home .theme-service-scene {
  max-height:none;aspect-ratio:auto;
 }
 body.customer-theme #root .customer-home .categories .service-copy {
  min-height:46%;padding:24px 8px 12px;box-sizing:border-box;
 }
 body.customer-theme #root .customer-home .categories .service-copy b {
  font-size:clamp(17px,1.7vw,23px);line-height:1.5;overflow-wrap:anywhere;
 }
 body.customer-theme #root .customer-home #free-services-carousel .ad-slides {
  height:96px;min-height:0;aspect-ratio:auto;
 }
 body.customer-theme #root .customer-home #free-services-carousel .service-banner {
  height:100%;min-height:0;max-height:none;aspect-ratio:auto;
 }
 body.customer-theme #root .customer-home .theme-home-stats > div,
 body.customer-theme #root .customer-home .theme-home-stats strong {font-size:16px;}
 body.customer-theme #root .customer-home nav.sahla-bottom-nav {
  width:calc(100% - 40px);max-width:none;
 }
 body.customer-theme #root .customer-home nav.sahla-bottom-nav button {font-size:14px;}
}

/* Closed history rows stay compact; native details supports touch and keyboard. */
#root .customer-order-group {margin-block:16px 24px;}
#root .customer-order-group > h2 {font-size:1.1rem;margin-block:0 12px;}
#root .previous-order {margin-block:8px;border:1px solid #d3e3db;border-radius:12px;background:#fff;color:#17352d;overflow:hidden;}
#root .previous-order > summary {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;list-style:none;}
#root .previous-order > summary::-webkit-details-marker {display:none;}
#root .previous-order > summary:focus-visible {outline:3px solid #08704b;outline-offset:-3px;}
#root .previous-order-title,#root .previous-order-meta {display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere;}
#root .previous-order-title {flex:1;}
#root .previous-order-meta {align-items:flex-end;text-align:end;}
#root .previous-order summary b {font-size:.9rem;line-height:1.4;}
#root .previous-order summary small {font-size:.75rem;line-height:1.4;color:#526c60;}
#root .previous-order summary .status {font-size:.75rem;padding:3px 8px;}
#root .previous-order-details {border-top:1px solid #e3eee8;padding:8px;}
#root .previous-order-details > .order-card {margin:0;box-shadow:none;}
#root .orders-empty-inline {padding:12px;margin:0;color:#526c60;}
#root .orders-view-toggle {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-block:12px 18px;}
#root .orders-view-toggle button {min-width:0;min-height:44px;padding:8px;font-size:14px;white-space:normal;}
#root .orders-view-toggle button[aria-pressed=true] {background:#086547;color:#fff;}


/* Service pages use the viewport; preserve the existing cards and grids. */
body.customer-theme #root > .phone-shell.service-fullscreen{max-width:none;width:100%;margin:0;min-height:100dvh;}
body.customer-theme #root > .service-fullscreen > .app-content{max-width:none;width:100%;min-height:0;border-radius:0;padding-top:0;overflow:visible;box-sizing:border-box;}
body.customer-theme #root .service-fullscreen .theme-catalog-panel{max-width:none;margin:0;min-height:0;}
#root .service-navigation{min-height:44px;padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));}
#root .service-fullscreen .app-content{padding-bottom:calc(94px + env(safe-area-inset-bottom));}
#root .service-fullscreen h1,#root .service-fullscreen h2,#root .service-fullscreen button{overflow-wrap:anywhere;min-width:0;}

.catalog-skeleton{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;pointer-events:none}.catalog-skeleton>div{height:120px;border-radius:12px;background:#e4ece8;padding:12px}.catalog-skeleton i,.catalog-skeleton span{display:block;background:#d3dfd8;border-radius:6px;height:64px}.catalog-skeleton span{height:12px;width:65%;margin-top:10px}

/* Remove outer service gutters only; product cards and their grids are unchanged. */
body.customer-theme.service-viewport{padding:0;}
body.customer-theme #root>.phone-shell.service-fullscreen{overflow:visible;min-height:100dvh;}
body.customer-theme #root>.phone-shell.service-fullscreen>.app-content{max-width:none;margin:0;padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right));border-radius:0;min-height:calc(100dvh - 44px - env(safe-area-inset-top));}
body.customer-theme #root>.customer-home.service-fullscreen>.app-content{padding-inline:0;}
body.customer-theme #root .customer-home.service-fullscreen .home-discovery.theme-catalog-panel{margin:0;border-radius:0;padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left));min-height:calc(100dvh - 138px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
body.customer-theme #root .service-fullscreen>.service-page-header{min-height:44px;height:auto;margin:0;padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));gap:8px;}
body.customer-theme #root .service-fullscreen>.service-page-header h1{margin-block:4px;}
body.customer-theme #root .service-fullscreen>.service-page-header p{margin-block:0 4px;}
body.customer-theme #root .service-fullscreen>.service-page-header small{display:none;}
body.customer-theme #root .service-fullscreen .service-page>.form-card{margin:0;width:100%;max-width:none;}
body.customer-theme #root>.search-page.service-fullscreen>.app-content{padding-top:env(safe-area-inset-top);min-height:100dvh;}
body.customer-theme #root .service-fullscreen .search-page-head{top:0;}


/* Compact doctor directory on phones and tablets. */
#root .medical-directory .service-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:8px;align-items:start}
#root .medical-directory .professional-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:4px 10px;padding:10px;align-content:start}
#root .medical-directory .professional-card>*{grid-column:2;margin:0;min-width:0}
#root .medical-directory .professional-card>img.doctor-photo,#root .medical-directory .professional-card>.medical-avatar{grid-column:1;grid-row:1 / span 3;width:52px;height:52px;max-width:52px;aspect-ratio:1;object-fit:contain;border-radius:8px}
#root .medical-directory .professional-card h3{font-size:15px;line-height:1.4}
#root .medical-directory .professional-card p,#root .medical-directory .professional-card small{font-size:12px;line-height:1.4}
#root .medical-directory .professional-card a,#root .medical-directory .professional-card button{min-height:36px;padding:5px;font-size:13px}
#root .medical-directory .professional-card .service-contact-links{display:flex;flex-wrap:wrap;gap:5px}
.checkout-vehicle-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}
.checkout-vehicle-options button{display:grid;place-items:center;gap:4px;min-width:0;min-height:64px;padding:7px 3px;border:1px solid #cadbd3;border-radius:9px;background:#fff;color:#164f3e;font-size:12px}
.checkout-vehicle-options button[aria-pressed=true]{background:#e0f4e9;border:2px solid #08704b}
.checkout-vehicle-options svg{width:34px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6}

#root .medical-directory .service-card-grid{display:grid;grid-template-columns:1fr;gap:6px}
#root .medical-row{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:9px;background:#fff;border:1px solid #dce8e1;border-radius:9px;box-sizing:border-box}
#root .medical-row-photo{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;object-fit:contain;border-radius:7px;background:#f0f7f3;font-size:22px}
#root .medical-row-body{min-width:0;flex:1}#root .medical-row h3{font-size:14px;line-height:1.4;margin:0 0 3px}
#root .medical-row p{font-size:12px;line-height:1.4;margin:2px 0;color:#52695e;overflow-wrap:anywhere}
#root .medical-row-actions,#root .medical-row-actions .service-contact-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:3px 0 0}
#root .medical-row-actions a,#root .medical-row-actions button{display:inline-flex;align-items:center;min-height:32px;width:auto;margin:0;padding:4px 7px;font-size:12px;line-height:1.3;border-radius:6px}
#root .medical-row-actions button{border:1px solid #c6dfd2;background:#edf7f1;color:#086340}#root .medical-row-actions button:disabled{color:#7d8882;background:#f5f6f5;border-color:#e1e5e2}
@media(min-width:900px){#root .medical-directory .service-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#root .medical-directory .directory-city-select{display:flex;align-items:center;gap:10px;margin:8px 0;font-size:13px}#root .medical-directory .directory-city-select select{flex:1;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #d4e4db;border-radius:12px;background:#fff;font:inherit;color:#174d3b}#root .medical-directory .service-specialty-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;padding:8px 0 12px;scrollbar-width:thin}#root .medical-directory .service-specialty-tabs button{flex:0 0 auto;min-height:40px;max-width:220px;padding:8px 14px;border-radius:20px;font-size:13px;white-space:nowrap}#root .medical-directory .service-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:10px}#root .medical-row{padding:12px;border-radius:14px;gap:12px}#root .medical-row-photo{width:44px;height:44px;flex-basis:44px}#root .medical-row h3{font-size:16px}#root .medical-row p{font-size:13px;line-height:1.6}#root .medical-row-actions a,#root .medical-row-actions button{min-height:40px;padding:7px 10px}

.ai-panel{width:100%;max-width:1100px;margin:auto;padding:16px;box-sizing:border-box;background:var(--card,#fff);border-radius:16px;color:var(--text,#153d31)}.ai-panel form{display:grid;gap:12px;margin-block:16px}.ai-panel label{display:block}.ai-panel input:not([type=checkbox]),.ai-panel textarea,.ai-panel select{width:100%;max-width:100%;box-sizing:border-box;padding:10px;border:1px solid #b9cfc3;border-radius:9px;font:inherit}.ai-panel button{padding:10px 16px;margin:4px;border:1px solid #b9cfc3;border-radius:10px;background:#e4f2e8;color:#164b39;cursor:pointer;font:inherit}.ai-panel button:disabled{opacity:.55}.ai-messages{max-height:55dvh;overflow:auto;overflow-wrap:anywhere}.ai-message{padding:12px;border-bottom:1px solid #dfe9e2}.ai-message p{white-space:pre-wrap;margin:6px 0}.ai-toolbar,.ai-stats{display:flex;flex-wrap:wrap;gap:8px}.ai-toolbar select{width:auto;max-width:100%}.ai-stats p{padding:12px;border:1px solid #dfe9e2;border-radius:10px}.ai-results article{padding:12px;border-bottom:1px solid #dfe9e2}.ai-panel [data-stop]{background:#fee;color:#900}@media(min-width:768px){.ai-panel [data-settings]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.ai-panel{padding:10px;border-radius:0}.ai-toolbar{display:grid;grid-template-columns:1fr 1fr}.ai-toolbar select{grid-column:1/-1;width:100%}}

.ai-panel.ai-chat{max-width:800px;padding:12px;display:flex;flex-direction:column;gap:8px;min-height:70dvh;font-size:15px;line-height:1.6;border:1px solid #dce9e2;border-radius:16px;background:#f6faf8}
.ai-chat .ai-chat-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:0 0 10px;border-bottom:1px solid #dfebe4}.ai-chat-header h2{margin:0;font-size:19px}.ai-chat-header small{font-size:12px;color:#557266}.ai-chat button{font-size:13px;margin:0;min-height:42px;padding:8px 12px}.ai-chat-header button{white-space:nowrap}
.ai-chat .ai-history{font-size:13px}.ai-chat .ai-history summary{cursor:pointer}.ai-chat .ai-toolbar{margin:8px 0}.ai-chat [data-ticket]{font-size:12px;margin:0;color:#557266}.ai-chat [data-ticket]:empty,.ai-chat [data-status]:empty{display:none}
.ai-chat .ai-messages{display:flex;flex-direction:column;gap:12px;min-height:220px;max-height:48dvh;overflow:auto;padding:10px 0;flex:1}.ai-chat .ai-message{align-self:flex-start;max-width:88%;padding:10px 14px;background:white;border:1px solid #deebe3;border-radius:14px;box-sizing:border-box}.ai-chat .ai-message[data-role=user]{align-self:flex-end;background:#08704b;color:white;border-color:#08704b}.ai-chat .ai-message strong{font-size:11px;opacity:.8}.ai-chat .ai-message p{font-size:15px;line-height:1.65;margin:4px 0;white-space:pre-wrap}
.ai-chat form{display:block;margin:0;padding:10px 0 0;border-top:1px solid #deebe3;background:#f6faf8}.ai-chat form details{font-size:12px;margin-bottom:8px}.ai-chat form details input{margin-top:6px}.ai-chat .ai-compose{display:flex;align-items:flex-end;gap:8px}.ai-chat .ai-compose textarea{flex:1;min-width:0;min-height:48px;max-height:120px;resize:vertical;padding:10px;font-size:15px;margin:0;background:white}.ai-chat .ai-compose button{background:#08704b;color:white;border:0;min-height:48px}.ai-chat [data-status]{margin:6px 0;font-size:13px}.ai-chat .ai-privacy{font-size:11px;color:#647a6e;line-height:1.5}
body:has(.ai-chat) .privacy-page{max-width:840px;padding:12px;box-sizing:border-box}body:has(.ai-chat) .privacy-page>header{margin-bottom:12px}body:has(.ai-chat) .privacy-page>header img{max-width:100px}body:has(.ai-chat) #privacy-nav:empty{display:none}
@media(max-width:480px){.ai-panel.ai-chat{padding:10px;border-radius:12px}.ai-chat .ai-toolbar{display:flex}.ai-chat .ai-toolbar select{width:100%}.ai-chat .ai-chat-header{flex-wrap:wrap}.ai-chat .ai-messages{max-height:46dvh}.ai-chat .ai-message{max-width:94%}}

.chat-page .ai-panel.ai-chat{flex:1;min-height:0;max-height:100%;overflow:hidden}.chat-page .ai-chat .ai-messages{min-height:80px;max-height:none;flex:1}.chat-page .ai-chat form,.chat-page .ai-chat-header,.chat-page .ai-history,.chat-page .ai-privacy{flex-shrink:0}
.ai-service-link,.ai-search-help a{display:inline-flex;padding:.5rem .75rem;margin:.25rem;border:1px solid #b8dfca;border-radius:12px;color:#126340;background:#effaf3;text-decoration:none}.ai-search-help{padding:.75rem;margin-block:.5rem}.ai-search-help p{margin:.3rem 0}.search-scope{font-size:.85rem;color:#52675d;padding-inline:1rem}
.ai-chat .ai-chat-header{background:#075c42;color:#fff;padding:12px;border-radius:14px}.ai-chat-header small{color:#deeee6}.ai-chat-header button{background:#fff;color:#075c42;border:0}.ai-chat .ai-messages{background:#f2f7f4;padding:12px;border-radius:12px}.ai-chat .ai-message{border:0;box-shadow:0 1px 3px #123b2310;border-radius:16px 16px 4px 16px}.ai-chat .ai-message[data-role=user]{border-radius:16px 16px 16px 4px}.ai-chat [data-ticket]{background:#e8f3ec;border-radius:8px;padding:6px 10px}.ai-chat .ai-compose textarea{border-radius:18px;resize:none}.ai-chat .ai-compose button{border-radius:16px}.ai-chat [data-status]{color:#075c42}

