:root {
  --primary: #5b3df5;
  --primary-dark: #4326d8;
  --primary-soft: #eeeaff;
  --orange: #ff7a1a;
  --orange-soft: #fff0e4;
  --green: #16a86a;
  --green-soft: #e6f8f0;
  --blue: #1685ef;
  --blue-soft: #e8f3ff;
  --pink: #e94f94;
  --pink-soft: #fdebf4;
  --teal: #0f9e91;
  --teal-soft: #e4f8f6;
  --danger: #dc3a4d;
  --danger-soft: #ffeaed;
  --ink: #17162b;
  --muted: #6e7082;
  --muted-2: #9799a8;
  --line: #e7e7ef;
  --surface: #fff;
  --surface-2: #f7f7fb;
  --surface-3: #f0f0f7;
  --shadow-sm: 0 4px 16px rgba(29, 25, 72, .06);
  --shadow: 0 16px 45px rgba(35, 29, 98, .11);
  --shadow-lg: 0 28px 80px rgba(35, 29, 98, .17);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --sidebar: 260px;
}

[data-theme="dark"] {
  --ink: #f5f4ff;
  --muted: #acaec1;
  --muted-2: #7f8298;
  --line: #302f43;
  --surface: #1c1b29;
  --surface-2: #14131e;
  --surface-3: #262538;
  --primary-soft: #2c245d;
  --orange-soft: #3b281d;
  --green-soft: #193a30;
  --blue-soft: #1c3048;
  --pink-soft: #3b2030;
  --teal-soft: #183b38;
  --danger-soft: #432229;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface-2); font-family: "DM Sans", "Noto Sans Gujarati", system-ui, sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { color: white; background: var(--primary); }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { width: 20px; height: 20px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, b, strong { letter-spacing: -.02em; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.block { display: block; }
.clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.text-danger { color: var(--danger); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.purple { color: var(--primary); }
.eyebrow.light { color: rgba(255,255,255,.78); }

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; color: white; background: linear-gradient(145deg, #7259ff, var(--primary-dark)); box-shadow: 0 8px 20px rgba(91,61,245,.28); }
.brand-mark svg { width: 23px; height: 23px; stroke-width: 2.4; }
.brand > span:last-child { display: grid; line-height: 1.1; }
.brand b { font-size: 15px; font-weight: 800; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 17px; border: 0; border-radius: 12px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(91,61,245,.25); outline-offset: 2px; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: white; background: linear-gradient(135deg, #6c50ff, var(--primary-dark)); box-shadow: 0 9px 22px rgba(91,61,245,.22); }
.btn-primary:hover { box-shadow: 0 12px 27px rgba(91,61,245,.31); }
.btn-secondary { color: var(--primary); background: var(--primary-soft); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-light { color: var(--primary-dark); background: white; box-shadow: 0 10px 30px rgba(15,10,60,.15); }
.btn-glass { color: white; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(12px); }
.btn-success { color: white; background: var(--green); }
.btn-ghost-danger { color: var(--danger); background: var(--danger-soft); }
.btn-xl { min-height: 54px; padding: 14px 23px; border-radius: 15px; font-size: 15px; }
.btn-lg { min-height: 50px; }
.btn-sm { min-height: 37px; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.btn-xs { min-height: 31px; padding: 6px 10px; border-radius: 8px; font-size: 11px; }
.btn-block { width: 100%; }
.link-btn { padding: 0; border: 0; color: var(--primary); background: transparent; font-weight: 700; cursor: pointer; }

.landing-body { background: radial-gradient(circle at 15% 0%, #f5f2ff 0, #fff 30%, #fff 100%); }
.landing-nav { position: sticky; z-index: 20; top: 10px; display: flex; align-items: center; justify-content: space-between; height: 72px; padding-inline: 16px; border: 1px solid rgba(91,61,245,.1); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 10px 36px rgba(35,29,98,.07); backdrop-filter: blur(18px); }
.desktop-nav { display: flex; align-items: center; gap: 32px; color: #5e6072; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn-ghost { border: 1px solid #dedbec; background: rgba(255,255,255,.72); }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px; min-height: 650px; padding-top: 34px; padding-bottom: 84px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 8px 12px; border: 1px solid #dcd7ff; border-radius: 999px; color: var(--primary-dark); background: #f6f4ff; font-family: "Noto Sans Gujarati", sans-serif; font-size: 12px; font-weight: 700; }
.live-pill > span { width: 8px; height: 8px; border-radius: 50%; background: #18b875; box-shadow: 0 0 0 4px rgba(24,184,117,.12); }
.hero h1 { margin-bottom: 22px; color: #18152c; font-family: "Noto Sans Gujarati", "DM Sans", sans-serif; font-size: clamp(46px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -.06em; }
.hero h1 span { color: var(--primary); }
.hero-copy > p { max-width: 620px; margin-bottom: 30px; color: #65677b; font-family: "Noto Sans Gujarati", sans-serif; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatar-stack { display: flex; }
.avatar-stack span { display: grid; place-items: center; width: 37px; height: 37px; margin-left: -8px; border: 3px solid white; border-radius: 50%; color: white; background: #504c63; font-size: 10px; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: #6652df; }
.avatar-stack span:nth-child(2) { background: #ec783f; }
.avatar-stack span:nth-child(3) { background: #1ca479; }
.avatar-stack span:last-child { width: 42px; background: #1f1d33; }
.stars { color: #ff9f1a; font-size: 12px; letter-spacing: 2px; }
.trust-strip small { color: #77798b; font-size: 11px; }

.hero-visual { position: relative; min-height: 520px; overflow: hidden; border-radius: 42px; background: radial-gradient(circle at 50% 45%, #ece8ff 0, #f6f4ff 44%, #fbfaff 75%); }
.map-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(91,61,245,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(91,61,245,.055) 1px, transparent 1px); background-size: 38px 38px; transform: rotate(-8deg) scale(1.18); }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; width: 260px; height: 90px; border: 3px dashed rgba(91,61,245,.18); border-color: rgba(91,61,245,.18) transparent transparent transparent; border-radius: 50%; transform: rotate(18deg); }
.hero-visual::before { left: 70px; top: 210px; }
.hero-visual::after { right: 20px; top: 170px; transform: rotate(-24deg); }
.pulse-ring { position: absolute; left: 50%; top: 42%; translate: -50% -50%; border: 1px solid rgba(91,61,245,.15); border-radius: 50%; }
.ring-one { width: 230px; height: 230px; }
.ring-two { width: 330px; height: 330px; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; min-width: 215px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.floating-card > div { display: grid; min-width: 0; }
.floating-card small { color: #88899a; font-size: 10px; }
.floating-card b { overflow: hidden; color: #272539; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; }
.float-icon.orange { color: #ef6c13; background: var(--orange-soft); }
.float-icon.purple { color: var(--primary); background: var(--primary-soft); }
.float-icon svg { width: 19px; height: 19px; }
.mini-status { margin-left: auto; padding: 3px 6px; border-radius: 5px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 800; }
.shop-float { left: 24px; top: 90px; }
.customer-float { right: 22px; top: 270px; }
.rider-bubble { position: absolute; z-index: 5; left: 50%; top: 42%; translate: -50% -50%; }
.bike-orb { display: grid; place-items: center; width: 92px; height: 92px; border: 9px solid white; border-radius: 50%; color: white; background: linear-gradient(145deg, #755dff, #4d2de0); box-shadow: 0 20px 45px rgba(91,61,245,.32); }
.bike-orb svg { width: 43px; height: 43px; stroke-width: 1.8; }
.online-dot { position: absolute; right: 7px; bottom: 8px; width: 17px; height: 17px; border: 4px solid white; border-radius: 50%; background: #19b775; }
.delivery-line { position: absolute; left: 195px; top: 178px; width: 155px; height: 120px; border: 3px dotted rgba(91,61,245,.27); border-color: rgba(91,61,245,.3) transparent transparent transparent; border-radius: 50%; transform: rotate(33deg); }
.hero-order-card { position: absolute; z-index: 4; left: 50%; bottom: 28px; width: 76%; padding: 17px; translate: -50% 0; border: 1px solid rgba(255,255,255,.9); border-radius: 19px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-lg); }
.order-live-head { display: flex; align-items: center; gap: 10px; }
.order-live-head > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: var(--primary); background: var(--primary-soft); }
.order-live-head > span svg { width: 19px; }
.order-live-head div { display: grid; }
.order-live-head small { color: #9091a0; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.order-live-head b { color: #252236; font-size: 13px; }
.order-live-head strong { margin-left: auto; color: var(--primary); font-size: 12px; }
.mini-progress { height: 5px; margin: 13px 0; overflow: hidden; border-radius: 5px; background: #eceaf4; }
.mini-progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #967eff); }
.rider-info { display: flex; align-items: center; gap: 9px; }
.rider-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: #302d45; font-size: 10px; font-weight: 800; }
.rider-info div { display: grid; }
.rider-info b { color: #29273c; font-size: 12px; }
.rider-info small { color: #8c8d9d; font-size: 9px; }
.rider-info button { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border: 0; border-radius: 9px; color: var(--green); background: var(--green-soft); }
.rider-info button svg { width: 15px; }
.metric-float { position: absolute; z-index: 6; right: 5px; top: 72px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 13px; background: #211d39; box-shadow: var(--shadow); }
.metric-float > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: white; background: #28b77c; font-weight: 800; }
.metric-float div { display: grid; color: white; }
.metric-float b { font-size: 11px; }
.metric-float small { color: #aaa6be; font-size: 8px; }

.quick-services { padding-top: 90px; padding-bottom: 105px; }
.section-heading { margin-bottom: 42px; }
.section-heading.center { max-width: 650px; margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 10px 0 11px; color: #1b1830; font-family: "Noto Sans Gujarati", sans-serif; font-size: clamp(30px, 3.5vw, 43px); line-height: 1.25; }
.section-heading p { color: #747689; font-family: "Noto Sans Gujarati", sans-serif; font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 220px; overflow: hidden; padding: 25px; border: 1px solid #ecebf3; border-radius: 21px; background: white; box-shadow: 0 10px 35px rgba(39,35,78,.04); transition: .25s; }
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -35px; width: 115px; height: 115px; border-radius: 50%; background: var(--card-soft); opacity: .8; }
.service-card:hover { translate: 0 -5px; border-color: var(--card); box-shadow: var(--shadow); }
.service-card > span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 15px; color: var(--card); background: var(--card-soft); }
.service-card h3 { margin-bottom: 8px; color: #211e35; font-size: 18px; }
.service-card p { color: #77798b; font-family: "Noto Sans Gujarati", sans-serif; font-size: 13px; line-height: 1.75; }
.service-card a { display: inline-flex; align-items: center; gap: 5px; color: var(--card); font-size: 12px; font-weight: 800; }
.service-card a svg { width: 14px; height: 14px; }
.accent-purple { --card: var(--primary); --card-soft: var(--primary-soft); }
.accent-orange { --card: var(--orange); --card-soft: var(--orange-soft); }
.accent-blue { --card: var(--blue); --card-soft: var(--blue-soft); }
.accent-green { --card: var(--green); --card-soft: var(--green-soft); }
.accent-pink { --card: var(--pink); --card-soft: var(--pink-soft); }
.accent-teal { --card: var(--teal); --card-soft: var(--teal-soft); }

.ecosystem-section { padding: 95px 0 100px; background: #f8f7ff; }
.ecosystem-map { position: relative; min-height: 430px; max-width: 900px; margin: 0 auto 45px; }
.eco-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 175px; min-height: 145px; padding: 20px; border: 1px solid #e8e5f8; border-radius: 24px; background: white; box-shadow: var(--shadow); text-align: center; }
.eco-node > span { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 10px; border-radius: 18px; }
.eco-node b { color: #252238; font-size: 16px; }
.eco-node small { color: #8c8d9e; font-size: 10px; }
.customer-node { left: 50%; top: 0; translate: -50% 0; }
.customer-node > span { color: var(--primary); background: var(--primary-soft); }
.shop-node { left: 6%; bottom: 0; }
.shop-node > span { color: var(--orange); background: var(--orange-soft); }
.partner-node { right: 6%; bottom: 0; }
.partner-node > span { color: var(--green); background: var(--green-soft); }
.eco-center { position: absolute; z-index: 3; left: 50%; top: 57%; display: grid; place-items: center; width: 105px; height: 105px; translate: -50% -50%; border: 8px solid #f2efff; border-radius: 50%; color: #29263f; background: white; box-shadow: var(--shadow-lg); }
.eco-center .brand-mark { width: 39px; height: 39px; flex-basis: 39px; margin-bottom: 2px; border-radius: 12px; }
.eco-center b { font-size: 13px; }
.eco-center small { color: #8c8d9c; font-size: 8px; }
.eco-path { position: absolute; border: 2px dashed #cfc8f3; }
.eco-path span { position: absolute; padding: 5px 9px; border: 1px solid #e6e2fa; border-radius: 999px; color: #7c71bd; background: white; font-size: 9px; font-weight: 700; white-space: nowrap; }
.path-left { left: 25%; top: 30%; width: 32%; height: 45%; border-color: #d6cdf8 transparent transparent #d6cdf8; border-radius: 80% 0 0 0; rotate: -3deg; }
.path-left span { left: -45px; top: 35%; }
.path-right { right: 25%; top: 30%; width: 32%; height: 45%; border-color: #cef0df #cef0df transparent transparent; border-radius: 0 80% 0 0; rotate: 3deg; }
.path-right span { right: -49px; top: 35%; color: #3e9b73; border-color: #d7f0e5; }
.path-bottom { left: 26%; bottom: 12%; width: 48%; height: 25%; border-color: transparent transparent #f2d9c6 transparent; border-radius: 50%; }
.path-bottom span { left: 50%; bottom: -16px; translate: -50%; color: #d07231; border-color: #f4e0d0; }
.flow-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 20px 24px; border: 1px solid #e8e5f6; border-radius: 20px; background: white; box-shadow: var(--shadow-sm); }
.flow-strip > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 9px; }
.flow-strip > div > span { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 800; }
.flow-strip b { color: #2b283e; font-size: 12px; }
.flow-strip small { color: #9495a3; font-size: 9px; }
.flow-strip > svg { width: 15px; color: #c3c1ce; }

.trust-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding-top: 110px; padding-bottom: 110px; }
.trust-copy h2 { margin: 10px 0 18px; color: #1d1a31; font-family: "Noto Sans Gujarati", sans-serif; font-size: clamp(31px, 4vw, 47px); line-height: 1.35; }
.trust-copy > p { color: #747587; font-family: "Noto Sans Gujarati", sans-serif; line-height: 1.9; }
.check-list { display: grid; gap: 16px; padding: 0; margin: 26px 0 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 13px; }
.check-list li > svg { width: 22px; height: 22px; color: var(--green); }
.check-list li span { display: grid; }
.check-list b { color: #2a273c; font-size: 13px; }
.check-list small { color: #8d8e9d; font-size: 11px; }
.trust-panel { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; min-height: 360px; padding: 35px; border-radius: 34px; background: linear-gradient(145deg, #f2efff, #fbfaff); }
.score-ring { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: conic-gradient(var(--primary) 0 94%, #ded9fa 94% 100%); box-shadow: 0 15px 40px rgba(91,61,245,.2); }
.score-ring::before { content: ""; position: absolute; width: 179px; height: 179px; border-radius: 50%; background: white; }
.score-ring > div { position: relative; z-index: 1; display: grid; place-items: center; }
.score-ring b { color: #24213a; font-size: 48px; line-height: 1; }
.score-ring span { margin: 7px 0 3px; color: #ff9d16; font-size: 13px; letter-spacing: 2px; }
.score-ring small { color: #818293; font-size: 10px; }
.trust-metrics { display: grid; gap: 14px; }
.trust-metrics > div { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.icon-box { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; }
.icon-box.purple { color: var(--primary); background: var(--primary-soft); }
.icon-box.green { color: var(--green); background: var(--green-soft); }
.icon-box.orange { color: var(--orange); background: var(--orange-soft); }
.trust-metrics p { display: grid; margin: 0; }
.trust-metrics b { color: #2a273c; font-size: 14px; }
.trust-metrics small { color: #9091a0; font-size: 9px; }
.cta-section { padding: 70px 0; color: white; background: radial-gradient(circle at 70% 20%, #7d65ff 0, transparent 32%), linear-gradient(125deg, #3c22cb, #5d3cf2); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { margin: 8px 0 8px; font-family: "Noto Sans Gujarati", sans-serif; font-size: 35px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.75); font-family: "Noto Sans Gujarati", sans-serif; }
.landing-footer { display: flex; align-items: center; justify-content: space-between; min-height: 110px; color: #747587; font-size: 12px; }
.landing-footer > a { display: flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 700; }
.landing-footer svg { width: 16px; }

.modal { position: fixed; z-index: 1000; inset: 0; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,16,36,.62); backdrop-filter: blur(6px); animation: fade .2s both; }
.modal-card { position: relative; z-index: 1; width: min(520px, 100%); max-height: min(850px, calc(100vh - 40px)); overflow: auto; padding: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); animation: modalUp .25s both; }
.modal-card.wide { width: min(720px, 100%); }
.modal-card h2 { margin: 6px 0 5px; font-family: "Noto Sans Gujarati", "DM Sans", sans-serif; font-size: 27px; }
.modal-close { position: absolute; z-index: 3; right: 15px; top: 15px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 11px; color: var(--muted); background: var(--surface-2); cursor: pointer; }
.auth-card { text-align: center; }
.auth-logo { display: grid; place-items: center; margin-bottom: 14px; }
.auth-card .form-stack { margin-top: 24px; text-align: left; }
.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.form-stack { display: grid; gap: 16px; }
.form-stack label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 700; text-align: left; }
.form-stack input, .form-stack select, .form-stack textarea, .search-box input { width: 100%; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); outline: none; transition: border .2s, box-shadow .2s; }
.form-stack input, .form-stack select { height: 46px; padding: 0 13px; }
.form-stack textarea { padding: 12px 13px; resize: vertical; }
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus, .search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,61,245,.09); }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; left: 13px; top: 14px; width: 17px; color: var(--muted-2); }
.input-wrap input { padding-left: 41px; }
.password-toggle { position: absolute; right: 8px; top: 7px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.password-toggle svg { width: 16px; }
.demo-logins { margin-top: 20px; padding: 14px; border-radius: 13px; background: var(--surface-2); text-align: left; }
.demo-logins > b { display: block; margin-bottom: 9px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.demo-logins > div { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-logins button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--primary); background: var(--surface); font-size: 10px; font-weight: 700; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.span-2 { grid-column: span 2; }
.role-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.role-selector label { display: block; cursor: pointer; }
.role-selector input { position: absolute; opacity: 0; }
.role-selector label > span { display: grid; place-items: center; min-height: 100px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: var(--surface); }
.role-selector label > span svg { margin-bottom: 6px; }
.role-selector b { color: var(--ink); font-size: 12px; }
.role-selector small { font-family: "Noto Sans Gujarati", sans-serif; font-size: 10px; }
.role-selector input:checked + span { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px rgba(91,61,245,.08); }
.server-flash { position: fixed; z-index: 1200; left: 50%; top: 18px; translate: -50%; max-width: calc(100% - 30px); padding: 12px 18px; border-radius: 12px; color: white; background: var(--danger); box-shadow: var(--shadow); font-weight: 700; }
.toast-region { position: fixed; z-index: 2000; right: 20px; top: 20px; display: grid; gap: 10px; }
.toast { display: flex; align-items: flex-start; gap: 10px; width: min(360px, calc(100vw - 40px)); padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-lg); animation: toastIn .25s both; }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--danger); }
.toast span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; color: var(--primary); background: var(--primary-soft); }
.toast.success span { color: var(--green); background: var(--green-soft); }
.toast.error span { color: var(--danger); background: var(--danger-soft); }
.toast p { margin: 0; font-size: 12px; font-weight: 600; }

/* Dashboard */
.dashboard-body { min-height: 100vh; background: var(--surface-2); }
.sidebar { position: fixed; z-index: 90; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: var(--sidebar); padding: 22px 16px 18px; border-right: 1px solid var(--line); background: var(--surface); }
.sidebar-brand { padding: 0 8px 23px; border-bottom: 1px solid var(--line); }
.sidebar-nav { flex: 1; display: grid; align-content: start; gap: 5px; margin-top: 18px; overflow: auto; }
.nav-section-label { margin: 0 10px 7px; color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; min-height: 51px; padding: 8px 11px; border-radius: 12px; color: var(--muted); transition: .2s; }
.sidebar-nav a > svg { width: 19px; height: 19px; flex: 0 0 19px; }
.sidebar-nav a span { display: grid; }
.sidebar-nav a b { font-size: 12px; font-weight: 700; }
.sidebar-nav a small { font-family: "Noto Sans Gujarati", sans-serif; font-size: 9px; opacity: .7; }
.sidebar-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.sidebar-nav a.active { color: var(--primary); background: var(--primary-soft); box-shadow: inset 3px 0 var(--primary); }
.sidebar-support { display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 11px; border-radius: 13px; background: var(--primary-soft); }
.sidebar-support > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; color: white; background: var(--primary); }
.sidebar-support > span svg { width: 17px; }
.sidebar-support div { display: grid; min-width: 0; }
.sidebar-support b { font-size: 10px; }
.sidebar-support small { color: var(--muted); font-size: 8px; }
.sidebar-support a { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 9px; color: var(--primary); background: var(--surface); }
.sidebar-support a svg { width: 14px; }
.logout-form button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px; border: 0; border-radius: 11px; color: var(--danger); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.logout-form button:hover { background: var(--danger-soft); }
.logout-form svg { width: 18px; }
.app-shell { min-height: 100vh; margin-left: var(--sidebar); }
.app-header { position: sticky; z-index: 70; top: 0; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 30px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(18px); }
.mobile-brand-btn { display: none; }
.header-location { display: flex; align-items: center; gap: 9px; }
.header-location > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.header-location > span svg { width: 17px; }
.header-location div { display: grid; }
.header-location small { color: var(--muted); font-size: 9px; }
.header-location b { display: flex; align-items: center; gap: 3px; font-size: 12px; }
.header-location b svg { width: 12px; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); cursor: pointer; }
.icon-btn svg { width: 18px; }
.notification-btn > span { position: absolute; right: -3px; top: -4px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid var(--surface); border-radius: 999px; color: white; background: var(--danger); font-size: 8px; font-weight: 800; }
.header-profile { display: flex; align-items: center; gap: 9px; min-width: 175px; padding-left: 7px; }
.profile-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; color: white; background: linear-gradient(145deg, #5b3df5, #8b73ff); font-size: 11px; font-weight: 800; }
.header-profile > span:nth-child(2) { display: grid; min-width: 0; }
.header-profile b { overflow: hidden; max-width: 125px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.header-profile small { color: var(--muted); font-size: 9px; }
.header-profile > svg { width: 14px; margin-left: auto; color: var(--muted); }
.availability-switch { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 10px; font-weight: 800; cursor: pointer; }
.availability-switch input { position: absolute; opacity: 0; }
.availability-switch i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #b8b9c5; transition: .2s; }
.availability-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: white; transition: .2s; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.availability-switch input:checked + i { background: var(--green); }
.availability-switch input:checked + i::after { left: 17px; }
.notification-panel { position: fixed; z-index: 100; right: 22px; top: 65px; display: none; width: min(390px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); }
.notification-panel.open { display: block; animation: modalUp .2s both; }
.panel-head { display: flex; justify-content: space-between; gap: 20px; padding: 17px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; font-size: 15px; }
.panel-head small { color: var(--muted); font-size: 10px; }
.panel-head .link-btn { font-size: 10px; }
.notification-list article { display: flex; gap: 11px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.notification-list article.unread { background: var(--primary-soft); }
.notice-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; color: var(--primary); background: var(--surface); }
.notice-icon svg { width: 17px; }
.notification-list article div { min-width: 0; }
.notification-list article b { display: block; font-size: 11px; }
.notification-list article p { margin: 2px 0 4px; color: var(--muted); font-size: 10px; }
.notification-list article small { color: var(--muted-2); font-size: 8px; }

.dashboard-main { padding: 28px 30px 100px; }
.dashboard-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.dashboard-title-row h1 { margin: 5px 0 3px; font-family: "Noto Sans Gujarati", "DM Sans", sans-serif; font-size: clamp(25px, 3vw, 34px); }
.dashboard-title-row p { margin: 0; color: var(--muted); font-family: "Noto Sans Gujarati", sans-serif; font-size: 12px; }
.title-actions { display: flex; align-items: center; gap: 9px; }
.live-availability { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 11px; color: var(--danger); background: var(--danger-soft); font-size: 10px; font-weight: 700; }
.live-availability span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.live-availability.on { color: var(--green); background: var(--green-soft); }
.welcome-banner { position: relative; display: flex; min-height: 225px; overflow: hidden; padding: 30px 35px; border-radius: 24px; color: white; background: linear-gradient(125deg, #4629d7, #7459ff); box-shadow: 0 18px 45px rgba(74,45,210,.18); }
.welcome-banner::before { content: ""; position: absolute; right: 80px; top: -130px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.welcome-banner::after { content: ""; position: absolute; right: -60px; bottom: -210px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.shop-banner { background: linear-gradient(125deg, #d75512, #ff8b2f); box-shadow: 0 18px 45px rgba(224,96,24,.18); }
.partner-banner { background: linear-gradient(125deg, #0f8e6c, #24bc83); box-shadow: 0 18px 45px rgba(20,156,112,.18); }
.admin-banner { background: linear-gradient(125deg, #1f1c36, #49425f); box-shadow: 0 18px 45px rgba(35,31,56,.2); }
.welcome-banner > div:first-child { position: relative; z-index: 2; max-width: 650px; }
.welcome-banner h2 { margin: 7px 0 7px; font-family: "Noto Sans Gujarati", sans-serif; font-size: 28px; }
.welcome-banner p { max-width: 570px; margin-bottom: 19px; color: rgba(255,255,255,.75); font-family: "Noto Sans Gujarati", sans-serif; font-size: 12px; }
.welcome-banner > div > div { display: flex; gap: 9px; }
.banner-art { position: absolute !important; z-index: 1 !important; right: 75px; top: 50%; width: 180px; height: 180px; translate: 0 -50%; }
.banner-art > span { position: absolute; display: grid; place-items: center; border-radius: 50%; color: white; background: rgba(255,255,255,.14); backdrop-filter: blur(7px); }
.bag-one { left: 30px; top: 25px; width: 105px; height: 105px; border: 12px solid rgba(255,255,255,.08); }
.bag-one svg { width: 47px; height: 47px; }
.bike-one { left: -4px; bottom: 0; width: 53px; height: 53px; }
.bike-one svg { width: 25px; }
.pin-one { right: 0; top: 5px; width: 46px; height: 46px; }
.pin-one svg { width: 21px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat-card { display: flex; align-items: center; gap: 13px; min-height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-sm); }
.stat-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; }
.stat-icon.purple { color: var(--primary); background: var(--primary-soft); }
.stat-icon.orange { color: var(--orange); background: var(--orange-soft); }
.stat-icon.green { color: var(--green); background: var(--green-soft); }
.stat-icon.blue { color: var(--blue); background: var(--blue-soft); }
.stat-icon svg { width: 21px; }
.stat-card > div { display: grid; min-width: 0; }
.stat-card small { color: var(--muted); font-size: 9px; }
.stat-card b { margin: 2px 0; font-size: 21px; }
.stat-card em { color: var(--muted-2); font-size: 8px; font-style: normal; }
.content-grid { display: grid; gap: 16px; margin-top: 18px; }
.content-grid.two-one { grid-template-columns: 1.55fr .8fr; }
.panel-card, .table-panel { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.panel-card { padding: 20px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.panel-title h2 { margin: 0; font-size: 16px; }
.panel-title p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.panel-title > a { display: flex; align-items: center; gap: 4px; color: var(--primary); font-size: 10px; font-weight: 700; }
.panel-title > a svg { width: 13px; }
.compact-list { display: grid; }
.compact-order, .compact-job { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.compact-list > div:first-child { border-top: 0; }
.list-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; }
.list-icon.purple { color: var(--primary); background: var(--primary-soft); }
.list-icon.orange { color: var(--orange); background: var(--orange-soft); }
.list-icon svg { width: 18px; }
.compact-order > div, .compact-job > div { display: grid; min-width: 0; }
.compact-order b, .compact-job b { font-size: 11px; }
.compact-order small, .compact-job small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.compact-order > strong, .compact-job > strong { font-size: 11px; }
.compact-order > a svg, .compact-job > a svg { width: 15px; color: var(--muted); }
.quick-actions { display: grid; align-content: start; }
.quick-action { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.quick-action:nth-child(2) { border-top: 0; }
.quick-action > svg:first-child { width: 38px; height: 38px; padding: 10px; border-radius: 11px; }
.quick-action.purple > svg:first-child { color: var(--primary); background: var(--primary-soft); }
.quick-action.orange > svg:first-child { color: var(--orange); background: var(--orange-soft); }
.quick-action.blue > svg:first-child { color: var(--blue); background: var(--blue-soft); }
.quick-action > span { display: grid; }
.quick-action b { font-size: 11px; }
.quick-action small { color: var(--muted); font-size: 8px; }
.quick-action > svg:last-child { width: 14px; color: var(--muted); }
.empty-mini { display: grid; place-items: center; padding: 28px; color: var(--muted); text-align: center; }
.empty-mini svg { width: 26px; height: 26px; }
.empty-mini p { margin: 7px 0 0; font-size: 11px; }

.market-toolbar { position: sticky; z-index: 45; top: 80px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(185px, .55fr) auto auto; align-items: center; gap: 12px; margin-bottom: 17px; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(15px); }
.search-box { position: relative; }
.search-box > svg { position: absolute; z-index: 1; left: 13px; top: 12px; width: 17px; color: var(--muted); }
.search-box input { height: 41px; padding: 0 13px 0 40px; background: var(--surface-2); }
.market-shop-select { position: relative; display: block; }
.market-shop-select > svg { position: absolute; z-index: 1; left: 12px; top: 12px; width: 16px; height: 16px; color: var(--primary); }
.market-shop-select select { width: 100%; height: 41px; padding: 0 34px 0 36px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface-2); font-size: 9px; font-weight: 700; }
.category-pills { display: flex; gap: 6px; overflow: auto; scrollbar-width: none; }
.category-pills button, .filter-tabs button { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 700; cursor: pointer; }
.category-pills button.active, .filter-tabs button.active { border-color: var(--primary); color: white; background: var(--primary); }
.cart-button { position: relative; display: flex; align-items: center; gap: 7px; height: 41px; padding: 0 12px; border: 0; border-radius: 10px; color: white; background: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.cart-button svg { width: 17px; }
.cart-button b { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 6px; color: var(--ink); background: white; font-size: 9px; }
.market-banner { position: relative; display: flex; justify-content: space-between; min-height: 170px; overflow: hidden; margin-bottom: 18px; padding: 27px 32px; border-radius: 22px; color: white; background: linear-gradient(115deg, #4125cd, #765cff); }
.market-banner::before { content: ""; position: absolute; right: -20px; top: -100px; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.market-banner h2 { position: relative; margin: 7px 0 5px; font-family: "Noto Sans Gujarati", sans-serif; font-size: 27px; }
.market-banner p { position: relative; color: rgba(255,255,255,.75); font-family: "Noto Sans Gujarati", sans-serif; font-size: 11px; }
.market-bag { position: absolute; right: 80px; top: 50%; display: grid; place-items: center; width: 100px; height: 100px; translate: 0 -50%; border: 12px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.13); }
.market-bag svg { width: 45px; height: 45px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-sm); transition: .2s; }
.product-card:hover { translate: 0 -3px; box-shadow: var(--shadow); }
.product-visual { position: relative; display: grid; place-items: center; height: 155px; overflow: hidden; background: color-mix(in srgb, var(--product-color) 13%, var(--surface)); }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--product-color) 28%, transparent); border-radius: 50%; }
.product-visual::before { width: 130px; height: 130px; }
.product-visual::after { width: 185px; height: 185px; }
.product-visual > span { position: relative; z-index: 2; font-size: 61px; filter: drop-shadow(0 12px 12px rgba(30,25,60,.14)); }
.product-visual > img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-visual > em { position: absolute; z-index: 3; left: 10px; top: 10px; padding: 4px 7px; border-radius: 6px; color: white; background: var(--green); font-size: 8px; font-style: normal; font-weight: 800; }
.favorite-btn { position: absolute; z-index: 3; right: 10px; top: 10px; display: grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 9px; color: #8c8d9b; background: rgba(255,255,255,.9); cursor: pointer; }
.favorite-btn svg { width: 15px; }
.favorite-btn.active { color: var(--danger); }
.favorite-btn.active svg { fill: currentColor; }
.product-content { padding: 14px; }
.product-shop { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 8px; }
.product-shop svg { width: 11px; height: 11px; }
.product-content h3 { min-height: 38px; margin: 8px 0 2px; font-family: "Noto Sans Gujarati", sans-serif; font-size: 14px; line-height: 1.45; }
.product-content > p { margin-bottom: 13px; color: var(--muted); font-size: 9px; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-buy > div { display: grid; }
.product-buy strong { font-size: 15px; }
.product-buy del { color: var(--muted); font-size: 8px; }
.btn-add-cart { display: flex; align-items: center; gap: 3px; min-height: 33px; padding: 7px 9px; border: 1px solid var(--primary); border-radius: 9px; color: var(--primary); background: var(--surface); font-size: 9px; font-weight: 800; cursor: pointer; }
.btn-add-cart:hover { color: white; background: var(--primary); }
.btn-add-cart svg { width: 13px; }

.filter-tabs { display: flex; gap: 7px; margin-bottom: 16px; overflow: auto; scrollbar-width: none; }
.filter-tabs button span { margin-left: 4px; padding: 2px 5px; border-radius: 5px; color: inherit; background: rgba(128,128,128,.15); font-size: 8px; }
.order-grid, .job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.order-card, .job-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.order-card-head, .job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-card-head h3, .job-title h3 { margin: 4px 0 0; font-size: 15px; }
.badge { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 800; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { color: var(--green); background: var(--green-soft); }
.badge-warning { color: var(--orange); background: var(--orange-soft); }
.badge-danger { color: var(--danger); background: var(--danger-soft); }
.badge-info { color: var(--blue); background: var(--blue-soft); }
.progress-track { height: 6px; margin: 16px 0; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #9883ff); }
.order-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
.order-meta-grid span { display: flex; align-items: center; gap: 6px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.order-meta-grid svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--primary); }
.order-items { display: grid; gap: 6px; margin: 14px 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.order-items div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 9px; }
.order-items strong { color: var(--ink); }
.party-contacts { margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.party-contacts > summary { display: flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--primary); font-size: 9px; font-weight: 800; cursor: pointer; list-style: none; }
.party-contacts > summary::-webkit-details-marker { display: none; }
.party-contacts > summary svg { width: 13px; height: 13px; }
.party-contacts > summary svg:last-child { margin-left: auto; transition: rotate .2s; }
.party-contacts[open] > summary svg:last-child { rotate: 180deg; }
.party-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 8px; padding: 0 9px 9px; }
.contact-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.contact-avatar { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; color: white; background: linear-gradient(145deg, var(--primary), #8f7aff); font-size: 10px; font-weight: 800; }
.contact-avatar svg { width: 17px; }
.contact-card-head > div { display: grid; min-width: 0; }
.contact-card-head small { color: var(--primary); font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-card-head b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.contact-card-head em { overflow: hidden; color: var(--muted); font-size: 7px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.contact-card-head .role-pill { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-details { display: grid; gap: 6px; margin: 10px 0 0; }
.contact-details > div { display: grid; grid-template-columns: 78px 1fr; gap: 8px; align-items: start; }
.contact-details dt { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 7px; }
.contact-details dt svg { width: 10px; height: 10px; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 8px; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.contact-actions a { display: inline-flex; align-items: center; gap: 4px; min-height: 27px; padding: 5px 8px; border-radius: 7px; color: var(--primary); background: var(--primary-soft); font-size: 7px; font-weight: 800; }
.contact-actions a svg { width: 10px; height: 10px; }
.contact-card-empty { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.contact-card-empty > div { display: grid; }
.contact-card-empty small { color: var(--primary); font-size: 7px; font-weight: 800; }
.contact-card-empty b { color: var(--ink); font-size: 10px; }
.contact-card-empty p { margin: 2px 0 0; font-size: 8px; }
.order-card-foot, .job-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.order-card-foot > div:first-child, .job-foot > div:first-child { display: grid; }
.order-card-foot small, .job-foot small { color: var(--muted); font-size: 8px; }
.money-lg { font-size: 18px; }
.action-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.service-icon svg { width: 20px; }
.job-title { flex: 1; }
.route-visual { margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.route-point { display: flex; align-items: center; gap: 9px; }
.route-point > span { width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.route-point.drop > span { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.route-point div { display: grid; min-width: 0; }
.route-point small { color: var(--muted); font-size: 8px; }
.route-point strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.route-line { width: 1px; height: 21px; margin: 3px 0 3px 4px; border-left: 2px dotted var(--muted-2); }
.job-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.job-chips span { display: flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 7px; color: var(--muted); background: var(--surface-2); font-size: 8px; }
.job-chips svg { width: 11px; }
.job-card > p { min-height: 34px; margin-bottom: 12px; font-size: 10px; }
.job-foot strong { font-size: 17px; }
.job-map-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; padding: 13px 16px; border: 1px solid #cfeede; border-radius: 14px; background: var(--green-soft); }
.job-map-strip > div { display: flex; align-items: center; gap: 9px; }
.job-map-strip > div > div { display: grid; }
.job-map-strip b { font-size: 11px; }
.job-map-strip small { color: var(--muted); font-size: 8px; }
.job-map-strip > span { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 9px; font-weight: 700; }
.job-map-strip svg { width: 14px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(22,168,106,.13); }

.service-type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 25px; }
.service-choice { display: grid; place-items: center; min-height: 145px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; }
.service-choice:hover { border-color: var(--primary); translate: 0 -2px; }
.service-choice > span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; }
.service-choice > span.purple { color: var(--primary); background: var(--primary-soft); }
.service-choice > span.blue { color: var(--blue); background: var(--blue-soft); }
.service-choice > span.orange { color: var(--orange); background: var(--orange-soft); }
.service-choice > span.green { color: var(--green); background: var(--green-soft); }
.service-choice > span.pink { color: var(--pink); background: var(--pink-soft); }
.service-choice b { font-size: 12px; }
.service-choice small { margin-top: 4px; color: var(--muted); font-family: "Noto Sans Gujarati", sans-serif; font-size: 8px; text-align: center; }
.section-subtitle { display: flex; justify-content: space-between; margin: 20px 0 14px; }
.section-subtitle h2 { margin: 0; font-size: 18px; }
.section-subtitle p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }

.table-panel { overflow: hidden; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border-bottom: 1px solid var(--line); }
.table-toolbar .search-box { width: min(360px, 100%); }
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); background: var(--surface-2); font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
td { font-size: 10px; }
tbody tr:hover { background: color-mix(in srgb, var(--primary-soft) 35%, transparent); }
tbody tr:last-child td { border-bottom: 0; }
.table-product, .table-user { display: flex; align-items: center; gap: 10px; }
.table-product > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--row-color) 13%, var(--surface)); font-size: 20px; }
.table-product div, .table-user div { display: grid; }
.table-product b, .table-user b { font-size: 10px; }
.table-product small, .table-user small { color: var(--muted); font-size: 8px; }
.table-user > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: white; background: linear-gradient(145deg, var(--primary), #8b74ff); font-size: 9px; font-weight: 800; }
.table-actions, .admin-actions { display: flex; align-items: center; gap: 5px; }
.table-actions button, .table-icon { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface); cursor: pointer; }
.table-actions button:hover, .table-icon:hover { color: var(--primary); border-color: var(--primary); }
.table-actions button.danger, .table-icon.danger { color: var(--danger); }
.table-actions svg, .table-icon svg { width: 13px; }
.role-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 7px; font-size: 8px; font-weight: 800; }
.role-pill svg { width: 11px; height: 11px; }
.role-customer { color: var(--primary); background: var(--primary-soft); }
.role-shopkeeper { color: var(--orange); background: var(--orange-soft); }
.role-partner { color: var(--green); background: var(--green-soft); }
.role-admin { color: var(--blue); background: var(--blue-soft); }
.approval-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 16px; }
.approval-summary article { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.approval-summary article > div { display: grid; }
.approval-summary b { font-size: 19px; }
.approval-summary small { color: var(--muted); font-size: 8px; }

.wallet-hero { position: relative; display: flex; justify-content: space-between; min-height: 215px; overflow: hidden; padding: 30px 35px; border-radius: 24px; color: white; background: radial-gradient(circle at 80% 30%, #8e79ff 0, transparent 28%), linear-gradient(125deg, #2d1a9e, #5d3ef3); box-shadow: 0 20px 45px rgba(67,38,215,.2); }
.wallet-hero::after { content: ""; position: absolute; right: -80px; bottom: -210px; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.wallet-hero p { margin: 17px 0 0; color: rgba(255,255,255,.67); font-size: 11px; }
.wallet-hero h2 { margin: 2px 0 10px; font-size: 37px; }
.wallet-hero > div:first-child > small { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.67); font-size: 9px; }
.wallet-hero small svg { width: 13px; }
.wallet-chip { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; width: 260px; min-height: 145px; padding: 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 19px; background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07)); backdrop-filter: blur(16px); }
.wallet-chip > svg { width: 26px; height: 26px; rotate: 90deg; }
.wallet-chip span { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.wallet-chip b { font-size: 15px; letter-spacing: .15em; }
.settlement-preview { display: grid; gap: 2px; }
.settlement-preview div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.settlement-preview div b { color: var(--ink); }
.settlement-preview div.total { margin-top: 8px; padding: 14px; border: 0; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.settlement-preview div.total b { color: var(--primary); font-size: 15px; }
.settings-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: start; }
.settings-note { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #d9d1ff; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.settings-note > svg { width: 20px; }
.settings-note > span { display: grid; }
.settings-note b { font-size: 10px; }
.settings-note small { color: var(--muted); font-size: 8px; }
.parcel-examples { display: grid; gap: 0; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.parcel-examples h3 { margin: 0 0 6px; font-size: 12px; }
.parcel-examples div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.parcel-examples b { color: var(--primary); }
.toggle-label { align-content: center; grid-template-columns: auto 1fr !important; align-items: center; }
.toggle-label input { width: 18px !important; height: 18px !important; }

.profile-layout { display: grid; grid-template-columns: 270px 1fr; gap: 16px; align-items: start; }
.profile-card { display: grid; place-items: center; text-align: center; }
.large-avatar { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 8px 0 13px; border-radius: 28px; color: white; background: linear-gradient(145deg, var(--primary), #947eff); font-size: 27px; font-weight: 800; box-shadow: 0 15px 35px rgba(91,61,245,.25); }
.large-avatar span { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border: 4px solid var(--surface); border-radius: 50%; background: var(--green); }
.profile-card h2 { margin: 0; font-size: 18px; }
.profile-card > p { margin: 3px 0 10px; color: var(--muted); font-size: 10px; }
.profile-trust { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.profile-trust div { display: grid; border-left: 1px solid var(--line); }
.profile-trust div:first-child { border-left: 0; }
.profile-trust b { font-size: 12px; }
.profile-trust small { color: var(--muted); font-size: 8px; }
.profile-forms { display: grid; gap: 16px; }
.performance-hero { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 30px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.score-ring.small { position: relative; width: 160px; height: 160px; }
.score-ring.small::before { width: 130px; height: 130px; background: var(--surface); }
.score-ring.small b { font-size: 36px; }
.performance-hero h2 { margin: 7px 0 5px; font-size: 24px; }
.performance-hero p { color: var(--muted); font-family: "Noto Sans Gujarati", sans-serif; font-size: 11px; }
.level-bar { height: 8px; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.level-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #a38eff); }
.performance-hero > div > small { color: var(--muted); font-size: 8px; }

.empty-state { grid-column: 1 / -1; display: grid; place-items: center; min-height: 340px; padding: 35px; border: 1px dashed var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; color: var(--primary); background: var(--primary-soft); }
.empty-state > span svg { width: 30px; height: 30px; }
.empty-state h2 { margin: 14px 0 4px; font-size: 19px; }
.empty-state p { margin-bottom: 15px; color: var(--muted); font-size: 11px; }

.cart-drawer { position: fixed; z-index: 800; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); translate: 105% 0; border-left: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); transition: translate .3s; }
.cart-drawer.open { translate: 0; }
.drawer-overlay { position: fixed; z-index: 790; inset: 0; display: none; background: rgba(20,18,35,.45); backdrop-filter: blur(3px); }
.drawer-overlay.open { display: block; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 21px; }
.drawer-head p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.cart-items { flex: 1; display: grid; align-content: start; gap: 10px; padding: 18px; overflow: auto; }
.cart-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 13px; }
.cart-item > span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: var(--surface-2); font-size: 25px; }
.cart-item > div { display: grid; }
.cart-item b { font-size: 11px; }
.cart-item small { color: var(--muted); font-size: 9px; }
.qty-control { display: flex !important; align-items: center; gap: 7px; margin-top: 6px; }
.qty-control button { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; }
.qty-control button svg { width: 11px; }
.qty-control span { font-size: 10px; font-weight: 800; }
.cart-item > button { align-self: start; border: 0; color: var(--danger); background: transparent; cursor: pointer; }
.cart-item > button svg { width: 15px; }
.cart-summary { padding: 18px; border-top: 1px solid var(--line); background: var(--surface-2); }
.cart-summary > div { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: 11px; }
.cart-summary > div b { font-size: 13px; }
.checkout-total { display: flex; justify-content: space-between; padding: 14px; border-radius: 11px; background: var(--primary-soft); }
.checkout-total b { color: var(--primary); font-size: 17px; }
.delivery-breakdown { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.delivery-breakdown > div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.delivery-breakdown > div b { color: var(--ink); }
.delivery-breakdown > div:last-of-type { padding-top: 7px; border-top: 1px dashed var(--line); color: var(--primary); font-weight: 800; }
.delivery-breakdown > div:last-of-type b { color: var(--primary); }
.delivery-breakdown > small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.selected-party { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.selected-party > span { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.selected-party > span svg { width: 18px; }
.selected-party > div { display: grid; min-width: 0; }
.selected-party small { color: var(--muted); font-size: 7px; }
.selected-party b { font-size: 10px; }
.selected-party em { overflow: hidden; color: var(--muted); font-size: 7px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.form-stack label > small { margin-top: 4px; color: var(--muted); font-size: 7px; font-weight: 500; }
.selection-preview { display: flex; flex-wrap: wrap; gap: 7px 12px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); background: var(--surface-2); font-size: 8px; }
.selection-preview b { flex-basis: 100%; color: var(--ink); font-size: 9px; }
.selection-preview span { display: inline-flex; align-items: center; gap: 4px; overflow-wrap: anywhere; }
.selection-preview span svg { width: 10px; height: 10px; color: var(--primary); }
.selection-preview hr { width: 100%; margin: 2px 0; border: 0; border-top: 1px solid var(--line); }
.muted-selection { opacity: .55; }
.parcel-quote { display: grid; align-content: center; padding: 11px 13px; border: 1px solid #cfeede; border-radius: 12px; background: var(--green-soft); }
.parcel-quote small { color: var(--muted); font-size: 7px; }
.parcel-quote b { color: var(--green); font-size: 18px; }
.parcel-quote em { color: var(--muted); font-size: 7px; font-style: normal; line-height: 1.5; }
.network-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 160px; padding: 26px 30px; border-radius: 22px; color: white; background: linear-gradient(125deg, #3420aa, #6d50f5); box-shadow: 0 18px 40px rgba(69,45,196,.18); }
.network-hero h2 { margin: 7px 0 4px; font-size: 23px; }
.network-hero p { margin: 0; color: rgba(255,255,255,.72); font-family: "Noto Sans Gujarati", sans-serif; font-size: 10px; }
.network-count { display: grid; place-items: center; min-width: 135px; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.1); }
.network-count b { font-size: 31px; }
.network-count span { color: rgba(255,255,255,.72); font-size: 8px; }
.network-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 16px 0; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.network-toolbar .search-box { width: min(500px, 100%); }
.network-toolbar > span { display: flex; align-items: center; gap: 5px; padding-right: 8px; color: var(--green); font-size: 8px; font-weight: 700; }
.network-toolbar > span svg { width: 13px; }
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.network-card-wrap .contact-card { height: 100%; padding: 15px; border-radius: 16px; }
.delivery-choice, .service-radio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.delivery-choice label, .service-radio label { display: block; cursor: pointer; }
.delivery-choice input, .service-radio input { position: absolute; opacity: 0; }
.delivery-choice label span { display: grid; min-height: 95px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.delivery-choice label span svg { margin-bottom: 7px; color: var(--primary); }
.delivery-choice label span b { font-size: 11px; }
.delivery-choice label span small { color: var(--muted); font-size: 8px; }
.delivery-choice input:checked + span, .service-radio input:checked + span { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px rgba(91,61,245,.08); }
.service-radio { grid-template-columns: repeat(5, 1fr); }
.service-radio label span { display: grid; place-items: center; min-height: 72px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.service-radio label span { font-size: 20px; }
.service-radio label b { font-size: 8px; }
.tracking-timeline { position: relative; display: grid; gap: 0; margin-top: 21px; }
.live-location-card { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 12px; border: 1px solid #ccebdd; border-radius: 13px; background: var(--green-soft); }
.live-location-card > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; color: white; background: var(--green); }
.live-location-card > span svg { width: 19px; }
.live-location-card > div { display: grid; min-width: 0; }
.live-location-card b { font-size: 11px; }
.live-location-card small { color: var(--muted); font-size: 8px; }
.live-location-card a { display: flex; align-items: center; gap: 4px; margin-left: auto; color: var(--green); font-size: 9px; font-weight: 800; }
.live-location-card a svg { width: 12px; }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; padding: 15px; border-radius: 14px; background: var(--surface-2); }
.star-rating label { display: block; cursor: pointer; }
.star-rating input { position: absolute; opacity: 0; }
.star-rating span { color: #c9c8d3; font-size: 36px; line-height: 1; transition: color .15s, transform .15s; }
.star-rating label:hover span, .star-rating label:hover ~ label span, .star-rating input:checked ~ span, .star-rating label:has(input:checked) ~ label span { color: #ff9d16; }
.star-rating label:hover span { transform: scale(1.08); }
.timeline-item { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 10px; min-height: 63px; }
.timeline-item::before { content: ""; position: absolute; left: 16px; top: 31px; bottom: 0; width: 2px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item > span { z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--surface); border-radius: 50%; color: white; background: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.timeline-item > span svg { width: 15px; }
.timeline-item > div { display: grid; align-content: start; }
.timeline-item b { font-size: 11px; }
.timeline-item small { color: var(--muted); font-size: 9px; }
.mobile-bottom-nav { display: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  :root { --sidebar: 225px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .service-type-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-main { padding-inline: 22px; }
  .banner-art { right: 30px; opacity: .8; }
  .settings-layout { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-strip { justify-content: center; }
  .hero-visual { width: min(600px, 100%); margin: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-section { grid-template-columns: 1fr; gap: 45px; }
  .trust-panel { max-width: 610px; margin: auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sidebar { translate: -105% 0; width: 260px; box-shadow: var(--shadow-lg); transition: translate .25s; }
  .sidebar.open { translate: 0; }
  .app-shell { margin-left: 0; }
  .mobile-brand-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
  .app-header { padding-inline: 18px; }
  .header-location { margin-right: auto; margin-left: 10px; }
  .content-grid.two-one { grid-template-columns: 1fr; }
  .order-grid, .job-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-card { max-width: none; }
  .approval-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .landing-nav { top: 0; width: 100%; height: 66px; padding-inline: 14px; border-width: 0 0 1px; border-radius: 0; }
  .landing-nav .brand small { display: none; }
  .landing-nav .brand b { font-size: 12px; }
  .landing-nav .brand-mark { width: 37px; height: 37px; flex-basis: 37px; }
  .nav-actions { gap: 5px; }
  .nav-actions .btn { min-height: 38px; padding: 7px 10px; border-radius: 10px; font-size: 11px; }
  .nav-actions .mobile-login-btn { display: inline-flex; }
  .nav-actions .mobile-login-btn svg { width: 15px; height: 15px; }
  .hero { min-height: auto; padding: 55px 0 65px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; border-radius: 30px; }
  .shop-float { left: 12px; top: 75px; }
  .customer-float { right: 10px; top: 245px; }
  .floating-card { min-width: 190px; }
  .metric-float { right: 8px; top: 14px; }
  .hero-order-card { width: 92%; bottom: 18px; }
  .quick-services { padding-block: 65px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 200px; }
  .ecosystem-section { padding-block: 65px; }
  .ecosystem-map { display: grid; grid-template-columns: 1fr; gap: 13px; min-height: auto; }
  .eco-node { position: static; width: 100%; min-height: 110px; translate: none; grid-template-columns: auto 1fr; column-gap: 13px; justify-items: start; text-align: left; }
  .eco-node > span { grid-row: span 2; margin: 0; }
  .eco-center { position: static; width: 100%; height: 90px; translate: none; border: 0; border-radius: 20px; }
  .eco-path { display: none; }
  .flow-strip { display: grid; grid-template-columns: 1fr; }
  .flow-strip > svg { margin: auto; rotate: 90deg; }
  .trust-section { padding-block: 65px; }
  .trust-panel { grid-template-columns: 1fr; }
  .score-ring { position: relative; width: 190px; height: 190px; margin: auto; }
  .score-ring::before { width: 155px; height: 155px; }
  .cta-inner h2 { font-size: 27px; }
  .landing-footer { flex-direction: column; justify-content: center; gap: 13px; padding-block: 25px; text-align: center; }
  .modal { align-items: end; padding: 0; }
  .modal-card, .modal-card.wide { width: 100%; max-height: 92vh; padding: 26px 20px calc(25px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .role-selector { grid-template-columns: repeat(3, 1fr); }
  .role-selector label > span { min-height: 92px; padding: 8px; }
  .toast-region { right: 14px; top: 14px; }

  .app-header { height: 62px; padding: 0 12px; }
  .header-location > span { width: 34px; height: 34px; }
  .header-location small { display: none; }
  .header-location b { max-width: 88px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .header-profile > span:nth-child(2), .header-profile > svg { display: none; }
  .header-profile { min-width: auto; padding: 0; }
  .availability-switch { padding: 5px; }
  .availability-switch > span { display: none; }
  .availability-switch i { width: 32px; }
  .availability-switch input:checked + i::after { left: 15px; }
  .js-theme-toggle { display: none; }
  .dashboard-main { padding: 20px 14px 105px; }
  .dashboard-title-row { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .dashboard-title-row h1 { font-size: 25px; }
  .title-actions { width: 100%; }
  .title-actions .btn { flex: 1; padding-inline: 9px; font-size: 10px; }
  .live-availability { width: 100%; }
  .welcome-banner { min-height: 260px; padding: 25px 22px; }
  .welcome-banner h2 { font-size: 23px; }
  .welcome-banner > div:first-child { max-width: 100%; }
  .welcome-banner > div > div { display: grid; grid-template-columns: 1fr 1fr; }
  .welcome-banner .btn { padding-inline: 9px; font-size: 10px; }
  .banner-art { right: -25px; top: auto; bottom: -50px; translate: none; opacity: .32; }
  .stat-grid, .stat-grid.three { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .stat-card { min-height: 103px; padding: 13px; gap: 9px; }
  .stat-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .stat-icon svg { width: 18px; }
  .stat-card b { font-size: 16px; }
  .panel-card { padding: 15px; }
  .content-grid { gap: 11px; }
  .market-toolbar { top: 69px; grid-template-columns: 1fr auto; padding: 7px; }
  .market-shop-select { grid-column: 1 / -1; grid-row: 2; }
  .market-toolbar .category-pills { grid-column: 1 / -1; grid-row: 3; }
  .cart-button span { display: none; }
  .market-banner { min-height: 185px; padding: 23px; }
  .market-banner h2 { max-width: 75%; font-size: 23px; }
  .market-bag { right: 14px; top: 65%; width: 80px; height: 80px; }
  .market-bag svg { width: 34px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-visual { height: 130px; }
  .product-visual > span { font-size: 48px; }
  .product-content { padding: 11px; }
  .product-content h3 { min-height: 36px; font-size: 12px; }
  .product-shop { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .product-shop svg { display: inline; }
  .product-buy strong { font-size: 13px; }
  .btn-add-cart { padding: 6px; }
  .order-card, .job-card { padding: 14px; }
  .party-contact-grid { grid-template-columns: 1fr; }
  .order-meta-grid { grid-template-columns: 1fr; }
  .order-card-foot { align-items: flex-start; flex-direction: column; }
  .action-row { width: 100%; justify-content: flex-start; }
  .action-row .btn { flex: 1; }
  .service-type-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .service-choice { min-height: 130px; }
  .job-map-strip { align-items: flex-start; flex-direction: column; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .table-toolbar .search-box { width: 100%; }
  .approval-summary { gap: 9px; }
  .approval-summary article { padding: 11px; }
  .wallet-hero { min-height: 290px; padding: 24px; }
  .wallet-chip { position: absolute; right: 20px; left: 20px; bottom: 20px; width: auto; min-height: 105px; }
  .settings-layout { grid-template-columns: 1fr; }
  .network-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
  .network-count { width: 100%; grid-template-columns: auto auto; justify-content: center; gap: 8px; min-width: 0; padding: 10px; }
  .network-count b { font-size: 20px; }
  .network-toolbar { align-items: stretch; flex-direction: column; }
  .network-toolbar .search-box { width: 100%; }
  .network-toolbar > span { padding: 0 4px 4px; }
  .network-grid { grid-template-columns: 1fr; }
  .performance-hero { grid-template-columns: 1fr; text-align: center; }
  .score-ring.small { margin: auto; }
  .mobile-bottom-nav { position: fixed; z-index: 80; right: 10px; bottom: calc(9px + env(safe-area-inset-bottom)); left: 10px; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 64px; padding: 7px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface) 93%, transparent); box-shadow: 0 15px 40px rgba(21,18,45,.2); backdrop-filter: blur(18px); }
  .mobile-bottom-nav a { display: grid; place-items: center; align-content: center; gap: 3px; border-radius: 12px; color: var(--muted); }
  .mobile-bottom-nav a svg { width: 18px; height: 18px; }
  .mobile-bottom-nav a span { max-width: 58px; overflow: hidden; font-family: "Noto Sans Gujarati", sans-serif; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-bottom-nav a.active { color: var(--primary); background: var(--primary-soft); }
  .notification-panel { right: 10px; top: 58px; }
  .service-radio { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 380px) {
  .hero-visual { min-height: 445px; }
  .floating-card { min-width: 172px; padding: 9px; }
  .customer-float { top: 232px; }
  .hero-order-card { padding: 13px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { height: 165px; }
  .stat-grid, .stat-grid.three { grid-template-columns: 1fr; }
}

/* Area-wise service administration */
.area-context-bar { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; padding: 12px 15px; border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line)); border-radius: 15px; background: linear-gradient(120deg, var(--primary-soft), var(--surface)); box-shadow: var(--shadow-sm); }
.area-context-bar > span { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; color: white; background: var(--primary); }
.area-context-bar > span svg { width: 19px; }
.area-context-bar > div { display: grid; min-width: 0; }
.area-context-bar small { color: var(--muted); font-size: 9px; }
.area-context-bar b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.area-context-bar em { margin-left: auto; padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 9px; font-style: normal; font-weight: 800; }
.online-copy { color: var(--green); font-weight: 800; }
.market-empty { grid-column: 1 / -1; }

.policy-note { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; padding: 15px 17px; border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line)); border-radius: 15px; background: linear-gradient(120deg, var(--green-soft), var(--surface)); }
.policy-note > svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--green); }
.policy-note b { display: block; margin-bottom: 3px; font-size: 12px; }
.policy-note p { margin: 0; color: var(--muted); font-family: "Noto Sans Gujarati", sans-serif; font-size: 10px; line-height: 1.7; }
.contact-line { margin-top: 8px; font-size: 10px; }
.auto-approved-note { margin-top: 5px; color: var(--green); font-size: 8px; font-weight: 700; }
.area-chip-list { display: flex; flex-wrap: wrap; gap: 5px; min-width: 150px; }
.area-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; color: var(--primary); background: var(--primary-soft); font-size: 8px; font-weight: 700; white-space: nowrap; }
.area-chip svg { width: 11px; height: 11px; }
.muted-chip { color: var(--muted); background: var(--surface-3); }
.service-state { display: inline-flex; align-items: center; gap: 5px; min-width: 105px; padding: 6px 8px; border-radius: 9px; font-size: 8px; font-weight: 800; }
.service-state svg { width: 13px; height: 13px; }
.service-state.on { color: var(--green); background: var(--green-soft); }
.service-state.off { color: var(--danger); background: var(--danger-soft); }

.area-admin-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 190px; overflow: hidden; padding: 28px 31px; border-radius: 24px; color: white; background: linear-gradient(130deg, #282054, #5b3df5 58%, #7e68ff); box-shadow: var(--shadow); }
.area-admin-hero::after { content: ""; position: absolute; right: 9%; width: 180px; height: 180px; border: 30px solid rgba(255,255,255,.07); border-radius: 50%; }
.area-admin-hero > div, .area-admin-hero > button { position: relative; z-index: 1; }
.area-admin-hero h2 { max-width: 650px; margin: 8px 0; font-family: "Noto Sans Gujarati", sans-serif; font-size: 27px; }
.area-admin-hero p { max-width: 690px; margin: 0; color: rgba(255,255,255,.76); font-family: "Noto Sans Gujarati", sans-serif; font-size: 11px; }
.area-admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin: 14px 0; }
.area-admin-stats article { display: grid; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }
.area-admin-stats b { color: var(--primary); font-size: 22px; }
.area-admin-stats span { color: var(--muted); font-size: 9px; font-weight: 700; }
.area-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.area-admin-card { display: flex; flex-direction: column; min-height: 230px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.area-admin-card.inactive { opacity: .78; background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); }
.area-card-head { display: flex; align-items: center; gap: 10px; }
.area-card-head > span { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.area-card-head > div { display: grid; min-width: 0; }
.area-card-head small { color: var(--muted); font-size: 8px; }
.area-card-head h3 { margin: 1px 0 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.area-card-head > .badge { margin-left: auto; }
.area-admin-card > p { min-height: 42px; margin: 14px 0; color: var(--muted); font-size: 9px; }
.area-member-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.area-member-counts span { display: grid; justify-items: center; gap: 2px; padding: 8px 3px; border-radius: 10px; color: var(--muted); background: var(--surface-2); font-size: 7px; text-align: center; }
.area-member-counts svg { width: 14px; height: 14px; color: var(--primary); }
.area-member-counts b { color: var(--ink); font-size: 11px; }
.area-actions { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; }

.profile-area-box { display: grid; width: 100%; gap: 5px; margin-top: 15px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); text-align: left; }
.profile-area-box small { color: var(--muted); font-size: 8px; }
.profile-area-box b { display: flex; align-items: flex-start; gap: 6px; font-size: 10px; }
.profile-area-box b svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--primary); }
.profile-area-box em { color: var(--muted); font-size: 7px; font-style: normal; }
.assigned-area-readonly { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line)); border-radius: 13px; background: var(--primary-soft); }
.assigned-area-readonly > svg { flex: 0 0 20px; color: var(--primary); }
.assigned-area-readonly > div { display: grid; }
.assigned-area-readonly b { font-size: 10px; }
.assigned-area-readonly span { margin-top: 2px; color: var(--primary-dark); font-size: 10px; font-weight: 700; }
.assigned-area-readonly small { margin-top: 4px; }

.area-assignment-field { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.area-assignment-field legend { padding: 0 6px; font-size: 10px; font-weight: 800; }
.registration-area-field { border-color: color-mix(in srgb, var(--primary) 23%, var(--line)); background: linear-gradient(145deg, var(--primary-soft), var(--surface)); }
.registration-area-field legend { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-dark); }
.registration-area-field legend svg { width: 15px; height: 15px; }
.area-picker-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.area-picker-foot > small { color: var(--muted); font-family: "Noto Sans Gujarati", sans-serif; }
.area-picker-foot > b { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: var(--primary); background: var(--surface); font-size: 8px; }
.area-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.area-check { display: block; cursor: pointer; }
.area-check > input { position: absolute; opacity: 0; }
.area-check > span { display: flex; align-items: center; gap: 7px; min-height: 54px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: .18s; }
.area-check > span > svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--muted); }
.area-check > span > b { display: none; }
.area-check > span > small { color: var(--muted); font-size: 8px; line-height: 1.35; }
.area-check > span { display: grid; grid-template-columns: auto 1fr; }
.area-check > span b { display: block; grid-column: 2; font-size: 9px; }
.area-check > span small { grid-column: 2; }
.area-check input:checked + span { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px rgba(91,61,245,.08); }
.area-check input:checked + span > svg { color: var(--primary); }
.area-check.inactive > span { opacity: .6; }

@media (max-width: 1100px) {
  .area-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .area-context-bar { align-items: flex-start; }
  .area-context-bar em { font-size: 7px; white-space: nowrap; }
  .area-admin-hero { align-items: flex-start; flex-direction: column; min-height: 240px; padding: 24px 21px; }
  .area-admin-hero h2 { font-size: 23px; }
  .area-admin-hero .btn { width: 100%; }
  .area-admin-stats { grid-template-columns: repeat(2, 1fr); }
  .area-card-grid { grid-template-columns: 1fr; }
  .area-check-grid { grid-template-columns: 1fr 1fr; }
  .area-picker-foot { align-items: flex-start; flex-direction: column; }
  .area-actions .btn { flex: 1; padding-inline: 8px; }
}

@media (max-width: 380px) {
  .area-check-grid { grid-template-columns: 1fr; }
}

/* Category-wise shop discovery and private service locations */
.category-directory-hero, .category-admin-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 190px; overflow: hidden; padding: 29px 31px; border-radius: 24px; color: white; background: linear-gradient(130deg, #251d52, #5b3df5 55%, #8a74ff); box-shadow: var(--shadow); }
.category-directory-hero::after, .category-admin-hero::after { content: ""; position: absolute; right: 7%; width: 185px; height: 185px; border: 28px solid rgba(255,255,255,.07); border-radius: 50%; }
.category-directory-hero > *, .category-admin-hero > * { position: relative; z-index: 1; }
.category-directory-hero h2, .category-admin-hero h2 { margin: 8px 0; font-family: "Noto Sans Gujarati", sans-serif; font-size: 27px; }
.category-directory-hero p, .category-admin-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-family: "Noto Sans Gujarati", sans-serif; font-size: 11px; line-height: 1.7; }
.category-directory-count { display: grid; min-width: 125px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.11); backdrop-filter: blur(10px); text-align: center; }
.category-directory-count b { font-size: 34px; }
.category-directory-count span { color: rgba(255,255,255,.78); font-size: 9px; font-weight: 800; }
.shop-category-grid, .category-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shop-category-card, .category-admin-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow-sm); }
.shop-category-card > header, .category-admin-card > header { display: flex; align-items: center; gap: 11px; }
.shop-category-card > header > span, .category-admin-card > header > span { display: grid; place-items: center; width: 49px; height: 49px; flex: 0 0 49px; border-radius: 15px; background: linear-gradient(145deg, var(--primary-soft), var(--surface-3)); font-size: 24px; }
.shop-category-card header > div, .category-admin-card header > div { min-width: 0; }
.shop-category-card header small, .category-admin-card header small { color: var(--muted); font-size: 8px; font-weight: 800; }
.shop-category-card h3, .category-admin-card h3 { margin: 2px 0 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.shop-category-card header > em { margin-left: auto; padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 8px; font-style: normal; font-weight: 800; }
.shop-category-card > p, .category-admin-card > p { min-height: 34px; margin: 13px 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.category-area-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; }
.category-area-row span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; color: var(--primary); background: var(--primary-soft); font-size: 8px; font-weight: 700; }
.category-area-row svg { width: 11px; height: 11px; }
.category-shop-list { display: grid; gap: 7px; }
.category-shop-mini { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px; border-radius: 12px; background: var(--surface-2); }
.category-shop-mini > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: white; background: var(--primary); font-size: 9px; font-weight: 800; }
.category-shop-mini > div:nth-child(2) { display: grid; min-width: 0; }
.category-shop-mini b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.category-shop-mini small { overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.category-shop-mini > div:last-child { display: flex; gap: 4px; }
.category-shop-mini a { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 9px; color: var(--primary); background: var(--surface); }
.category-shop-mini a svg { width: 14px; height: 14px; }
.category-admin-card.inactive { opacity: .76; background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); }
.category-admin-card header > .badge { margin-left: auto; }
.category-admin-card dl { display: grid; gap: 7px; margin: 0; }
.category-admin-card dl > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; padding: 8px 9px; border-radius: 10px; background: var(--surface-2); }
.category-admin-card dt { color: var(--muted); font-size: 8px; font-weight: 800; }
.category-admin-card dd { margin: 0; overflow: hidden; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.category-admin-card footer { display: flex; align-items: center; gap: 6px; margin-top: 13px; }
.category-shop-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; max-height: 300px; overflow: auto; padding-right: 3px; }
.product-category-label { display: inline-flex; align-items: center; width: fit-content; margin: 8px 0 0; padding: 4px 7px; border-radius: 999px; color: var(--primary); background: var(--primary-soft); font-size: 7px; font-weight: 800; }
.category-pills button span { margin-right: 3px; }

.current-location-panel { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 17px 19px; border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--line)); border-radius: 19px; background: linear-gradient(125deg, var(--primary-soft), var(--surface)); box-shadow: var(--shadow-sm); }
.current-location-panel > span { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 15px; color: white; background: var(--primary); }
.current-location-panel > span svg { width: 21px; }
.current-location-panel > div:nth-child(2) { display: grid; min-width: 0; }
.current-location-panel small { color: var(--primary); font-size: 8px; font-weight: 800; }
.current-location-panel h2 { margin: 3px 0; font-size: 14px; }
.current-location-panel p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.current-location-panel em { margin-top: 5px; color: var(--green); font-size: 8px; font-style: normal; font-weight: 700; }
.location-panel-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-left: auto; }
.job-location-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.job-location-actions .action-row { margin: 0; }
.js-share-location.is-live, .js-current-location.is-live, .js-capture-location.is-live { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }
.form-stack input[readonly] { color: var(--muted); background: var(--surface-2); }

.service-location-list { display: grid; gap: 10px; margin-top: 14px; }
.service-location-card { padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.service-location-card.live { border-color: color-mix(in srgb, var(--green) 35%, var(--line)); background: linear-gradient(120deg, var(--green-soft), var(--surface)); }
.service-location-card header { display: flex; align-items: center; gap: 10px; }
.service-location-card header > span { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; color: white; background: var(--primary); }
.service-location-card.live header > span { background: var(--green); }
.service-location-card header > div { display: grid; min-width: 0; }
.service-location-card header small { color: var(--primary); font-size: 7px; font-weight: 900; }
.service-location-card header h3 { margin: 2px 0 0; font-size: 11px; }
.service-location-card header em { margin-left: auto; color: var(--muted); font-size: 7px; font-style: normal; }
.service-location-card > p { margin: 10px 0; color: var(--muted); font-size: 8px; }
.service-location-card > div { display: flex; flex-wrap: wrap; gap: 6px; }
.service-location-card a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--primary); background: var(--surface); font-size: 8px; font-weight: 800; }
.service-location-card a svg { width: 13px; height: 13px; }
.empty-state.compact { min-height: 220px; }

@media (max-width: 850px) {
  .shop-category-grid, .category-admin-grid { grid-template-columns: 1fr; }
  .category-directory-hero, .category-admin-hero { align-items: flex-start; flex-direction: column; min-height: 235px; padding: 24px 21px; }
  .category-directory-count { min-width: 110px; }
  .current-location-panel { align-items: flex-start; flex-wrap: wrap; }
  .location-panel-actions { width: 100%; margin-left: 62px; justify-content: flex-start; }
}

@media (max-width: 520px) {
  .category-directory-hero h2, .category-admin-hero h2 { font-size: 22px; }
  .category-shop-check-grid { grid-template-columns: 1fr; }
  .category-admin-card footer { flex-wrap: wrap; }
  .category-admin-card footer .btn { flex: 1; }
  .category-shop-mini { grid-template-columns: 35px minmax(0, 1fr); }
  .category-shop-mini > div:last-child { grid-column: 1 / -1; justify-content: flex-end; }
  .location-panel-actions { margin-left: 0; }
  .location-panel-actions .btn { flex: 1; }
  .service-location-card header { align-items: flex-start; flex-wrap: wrap; }
  .service-location-card header em { width: 100%; margin-left: 49px; }
  .job-foot { align-items: flex-start; flex-direction: column; }
  .job-location-actions { width: 100%; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
