:root {
  --blink-yellow: #ffd642;
  --surface: #ffffff;
  --app-bg: #f7f8fa;
}

body { background: var(--app-bg); overflow-x: hidden; }
[hidden] { display: none !important; }
html,body,button,a,input,select,label { touch-action: manipulation; }
body.splash-active { overflow: hidden; }
.brand-splash { position: fixed; z-index: 1000; inset: 0; isolation: isolate; display: grid; place-items: center; padding: max(28px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom)); overflow: hidden; color: #321742; background: radial-gradient(circle at 10% 18%,#fff7a8 0 8%,transparent 29%),radial-gradient(circle at 91% 13%,#ff7881 0 9%,transparent 30%),radial-gradient(circle at 83% 90%,#9f7cff 0 8%,transparent 29%),radial-gradient(circle at 8% 88%,#62e9bd 0 10%,transparent 31%),linear-gradient(145deg,#ffe457 5%,#ffac70 48%,#ff7f9f 72%,#b98dff 100%); background-size: 125% 125%; animation: splash-flow 4s ease-in-out infinite alternate; opacity: 1; transition: opacity .3s ease, transform .36s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.brand-splash::before { content: ""; position: absolute; z-index: -2; inset: -25%; background: conic-gradient(from 120deg,rgba(255,255,255,.42),transparent 18%,rgba(102,231,188,.45) 35%,transparent 52%,rgba(255,228,87,.5) 70%,transparent 87%); animation: splash-spin 12s linear infinite; }
.brand-splash::after { content: ""; position: absolute; z-index: -1; width: min(110vw,760px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.55); border-radius: 48% 52% 63% 37%/42% 41% 59% 58%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 90px rgba(255,255,255,.25),0 30px 80px rgba(100,34,79,.12); animation: splash-blob 7s ease-in-out infinite; }
.brand-splash.is-leaving { opacity: 0; transform: scale(1.065); filter: saturate(1.2) blur(5px); pointer-events: none; }
.splash-orb { position: absolute; z-index: 0; border-radius: 999px; opacity: .8; filter: blur(1px); box-shadow: inset 0 0 30px rgba(255,255,255,.42),0 20px 50px rgba(99,35,87,.14); animation: splash-float 5s ease-in-out infinite; }
.splash-orb--one { width: 88px; height: 88px; top: 14%; left: -24px; background: #66e7bc; }
.splash-orb--two { width: 62px; height: 62px; top: 23%; right: 5%; background: #fff36f; animation-delay: -1.7s; }
.splash-orb--three { width: 108px; height: 108px; right: -40px; bottom: 11%; background: #a77bff; animation-delay: -3s; }
.brand-splash-content { position: relative; z-index: 2; width: min(88vw,430px); box-sizing: border-box; display: grid; justify-items: center; padding: clamp(28px,8vw,42px) clamp(22px,7vw,34px); text-align: center; border: 1px solid rgba(255,255,255,.72); border-radius: 36px; background: linear-gradient(145deg,rgba(255,255,255,.48),rgba(255,255,255,.2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.8),0 28px 75px rgba(88,34,71,.2); backdrop-filter: blur(22px) saturate(1.35); -webkit-backdrop-filter: blur(22px) saturate(1.35); font-family: ui-rounded,"Arial Rounded MT Bold","Avenir Next Rounded","Trebuchet MS",sans-serif; animation: splash-arrive .68s cubic-bezier(.18,.85,.3,1.15) both; }
.splash-logo-mark { position: relative; width: clamp(142px,44vw,188px); height: clamp(112px,34vw,144px); display: flex; align-items: center; justify-content: center; gap: 0; border: 1px solid rgba(255,255,255,.82); border-radius: 32% 68% 54% 46%/46% 39% 61% 54%; background: linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.25)); box-shadow: inset 0 2px 0 rgba(255,255,255,.9),0 20px 38px rgba(79,30,70,.18); transform: rotate(-3deg); animation: splash-logo 2.1s ease-in-out infinite; }
.splash-logo-mark b { display: block; margin: 0 -5px; font-size: clamp(4.8rem,22vw,6.6rem); line-height: .8; font-weight: 1000; letter-spacing: -.18em; color: transparent; background: linear-gradient(160deg,#ff4f6d 8%,#ff8a45 46%,#ffcd38 88%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 0 rgba(255,255,255,.62)); }
.splash-logo-mark b:last-child { background: linear-gradient(160deg,#8a5dff 6%,#d65de4 48%,#ff5f89 90%); -webkit-background-clip: text; background-clip: text; }
.splash-logo-mark i { position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 1.5rem; font-style: normal; color: #5c2a75; background: #fff7a8; box-shadow: 0 8px 18px rgba(91,40,94,.2); animation: splash-spark 1.7s ease-in-out infinite; }
.splash-wordmark { display: grid; justify-items: center; margin-top: 24px; line-height: .82; transform: rotate(-1deg); }
.splash-wordmark strong,.splash-wordmark em { font-style: normal; font-weight: 1000; letter-spacing: -.07em; }
.splash-wordmark strong { font-size: clamp(2.25rem,10.5vw,3.55rem); color: #382046; text-shadow: 0 3px 0 rgba(255,255,255,.55); }
.splash-wordmark em { margin-top: 9px; padding: 6px 13px 8px; border-radius: 13px; font-size: clamp(1.15rem,5.4vw,1.7rem); letter-spacing: .08em; color: #fff; background: linear-gradient(90deg,#ff596d,#ff8a45); box-shadow: 0 8px 18px rgba(191,60,80,.25); }
.brand-splash-content p { max-width: 290px; margin: 20px 0 0; color: #4e3156; font-size: clamp(.88rem,3.8vw,1.02rem); line-height: 1.35; font-weight: 900; }
.splash-progress { width: min(64vw,245px); height: 7px; margin: 25px 0 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 99px; background: rgba(255,255,255,.38); box-shadow: inset 0 1px 3px rgba(88,36,76,.13); }
.splash-progress span { display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ff5b72,#ffe457,#66e7bc); box-shadow: 0 0 18px rgba(255,255,255,.8); animation: splash-progress 1.45s cubic-bezier(.3,.7,.2,1) both; }
.brand-splash-content small { padding: 8px 12px; border: 1px solid rgba(255,255,255,.62); border-radius: 99px; color: #4b2b52; background: rgba(255,255,255,.3); font-size: .65rem; font-weight: 1000; letter-spacing: .13em; }
.brand-splash-content small b { color: #e84664; }
@keyframes splash-arrive { from { opacity: 0; transform: translateY(24px) scale(.9) rotate(1deg); } to { opacity: 1; transform: none; } }
@keyframes splash-flow { to { background-position: 100% 100%; } }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-blob { 50% { border-radius: 62% 38% 39% 61%/35% 63% 37% 65%; transform: rotate(10deg) scale(1.05); } }
@keyframes splash-float { 50% { transform: translateY(-16px) translateX(8px) scale(1.06); } }
@keyframes splash-logo { 50% { transform: rotate(2deg) translateY(-4px); } }
@keyframes splash-spark { 50% { transform: scale(1.16) rotate(18deg); } }
@keyframes splash-progress { from { width: 0; } to { width: 100%; } }
@media (max-height: 650px) { .brand-splash-content { padding: 22px; } .splash-logo-mark { width: 125px; height: 98px; } .splash-wordmark { margin-top: 17px; } .brand-splash-content p { margin-top: 14px; } .splash-progress { margin: 18px 0 13px; } }
@media (prefers-reduced-motion: reduce) { .brand-splash,.brand-splash::before,.brand-splash::after,.brand-splash-content,.splash-orb,.splash-logo-mark,.splash-logo-mark i,.splash-progress span { transition: none; animation: none; } .splash-progress span { width: 100%; } }
.app-shell { background: var(--app-bg); }
.customer-preview-bar { position: sticky; z-index: 60; top: 0; min-height: 54px; padding: calc(8px + env(safe-area-inset-top)) 14px 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: white; background: #071c3d; box-shadow: 0 5px 18px rgba(7,28,61,.2); }
.customer-preview-bar span { min-width: 0; }.customer-preview-bar strong,.customer-preview-bar small { display: block; }.customer-preview-bar strong { font-size: .78rem; }.customer-preview-bar small { margin-top: 2px; color: #b8cbe3; font-size: .58rem; }.customer-preview-bar button { flex: none; min-height: 40px; border: 1px solid #ff9d53; border-radius: 10px; padding: 8px 11px; color: white; background: #c85400; font-weight: 900; }
.app-header,
#app-header {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.app-header.is-hidden { transform: translateY(-105%); box-shadow: none; }
.compact-search-shell {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e7ebf0;
  box-shadow: 0 8px 24px rgba(7,27,63,.12);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-115%);
  pointer-events: none;
  transition: transform .24s ease, opacity .2s ease;
}
body.compact-search-active .compact-search-shell { opacity: 1; transform: translateY(0); pointer-events: auto; }
body:not(.all-products-view) .compact-search-shell { display: none !important; }
.compact-search {
  width: min(100%, 760px);
  min-height: 50px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto auto minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 5px 6px 5px 14px;
  border: 1px solid #dfe5ec;
  border-radius: 17px;
  background: white;
}
.compact-search-icon { color: var(--navy); font-size: 1.25rem; transform: rotate(-18deg); }
.compact-search label { color: var(--navy); font-size: .9rem; font-weight: 900; }
.compact-search-divider { width: 1px; height: 23px; background: #dfe4ea; }
.compact-search-typewriter { grid-column: 4; grid-row: 1; min-width: 0; overflow: hidden; color: #778397; font-size: .82rem; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; transition: opacity .15s ease; }
.compact-search-typewriter::after { content: ""; display: inline-block; width: 1px; height: .9em; margin-left: 2px; vertical-align: -.08em; background: var(--orange); animation: search-caret .8s steps(1) infinite; }
.compact-search input { grid-column: 4; grid-row: 1; min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 750; }
.compact-search.has-query .compact-search-typewriter,.compact-search:focus-within .compact-search-typewriter { opacity: 0; }
.compact-search button { width: 40px; height: 40px; border: 0; border-radius: 12px; color: white; background: var(--navy); font-size: 1rem; font-weight: 900; }
@keyframes search-caret { 50% { opacity: 0; } }
.supply-info { min-width: 0; display: flex; align-items: center; gap: 10px; }
.brand { flex: none; margin: 0; }
.brand img { width: 48px; height: 48px; border-radius: 13px; }
.supply-location { min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; color: var(--ink); }
.supply-location small, .supply-location strong, .supply-location span { display: block; }
.supply-location small { color: #8b94a2; font-size: .61rem; line-height: 1; letter-spacing: .12em; font-weight: 900; }
.supply-location strong { margin-top: 4px; max-width: 49vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.02rem; letter-spacing: -.02em; }
.supply-location span { margin-top: 3px; color: #697487; font-size: .68rem; white-space: nowrap; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.install-pill { height: 38px; border: 0; border-radius: 999px; padding: 0 12px; color: var(--navy); background: #e9f8f9; font-size: .72rem; font-weight: 900; }
.auth-install-cta { width: 100%; min-height: 70px; margin: 17px 0 4px; padding: 10px 13px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid rgba(255,122,26,.38); border-radius: 18px; color: #071b3f; background: linear-gradient(110deg,#fff8e8,#fff); box-shadow: 0 9px 22px rgba(7,27,63,.08); text-align: left; }
.auth-install-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg,#ff8b2e,#ff6d00); font-size: 1.45rem; font-weight: 900; box-shadow: 0 8px 18px rgba(255,109,0,.25); }
.auth-install-cta strong,.auth-install-cta small { display: block; }.auth-install-cta strong { font-size: .92rem; }.auth-install-cta small { margin-top: 3px; color: #68758a; font-size: .68rem; font-weight: 700; }.auth-install-cta b { font-size: 1.5rem; }
.pwa-install-fab { position: fixed; z-index: 48; right: 15px; bottom: calc(86px + env(safe-area-inset-bottom)); min-height: 43px; padding: 8px 14px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,154,81,.75); border-radius: 999px; color: white; background: linear-gradient(135deg,#d95800,#ff7a1a); box-shadow: 0 12px 26px rgba(7,27,63,.24); font-size: .75rem; font-weight: 900; }
.pwa-install-fab span { font-size: 1rem; }
.auth-gate:not([hidden]) ~ .pwa-install-fab { display: none !important; }
.install-dialog { width: min(calc(100% - 28px),440px); max-height: calc(100dvh - 36px); margin: auto; padding: 26px 22px 22px; overflow: auto; border: 0; border-radius: 28px; color: #0a1f43; background: #fff; box-shadow: 0 26px 70px rgba(4,18,44,.34); text-align: center; }
.install-dialog::backdrop { background: rgba(4,18,44,.66); backdrop-filter: blur(7px); }
.install-dialog img { width: 106px; height: auto; display: block; margin: 0 auto 14px; }
.install-dialog .eyebrow { margin: 0; color: #ff6d00; font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.install-dialog h2 { margin: 8px 0 0; font-size: 1.45rem; letter-spacing: -.035em; }.install-dialog > p:not(.eyebrow) { margin: 9px auto 0; max-width: 330px; color: #66738a; font-size: .82rem; line-height: 1.45; }
.install-dialog-close { position: absolute; top: 13px; right: 13px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #526078; background: #f0f3f7; font-size: 1.35rem; }
.install-steps { margin-top: 19px; display: grid; gap: 9px; text-align: left; }
.install-step { padding: 13px 14px; display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: center; border: 1px solid #e1e6ee; border-radius: 16px; background: #f8fafc; }
.install-step > b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: white; background: #071b3f; font-size: .78rem; }.install-step strong,.install-step small { display: block; }.install-step strong { font-size: .82rem; }.install-step small { margin-top: 3px; color: #6c788b; font-size: .69rem; line-height: 1.35; }
.install-dialog-done { width: 100%; min-height: 48px; margin-top: 18px; border: 0; border-radius: 15px; color: white; background: #071b3f; font-size: .86rem; font-weight: 900; }
@media (display-mode: standalone) { [data-install-app] { display: none !important; } }
.wallet-button, .account-button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e3e7ed; border-radius: 50%; }
.wallet-button { color: var(--navy); background: white; font-size: 1.2rem; }
.wallet-button > span { display: grid; place-items: center; }.wallet-button > span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wallet-button small { position: absolute; right: -2px; bottom: -3px; min-width: 19px; height: 19px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--orange); color: white; font-size: .58rem; font-weight: 900; }
.account-button { color: var(--navy); background: var(--blink-yellow); border: 0; font-size: .78rem; }

.screen { padding: 0 0 34px; }
.screen[data-screen="home"] { padding-top: 0; }
.screen:not([data-screen="home"]) { padding: 24px 14px 40px; }
.home-sticky-tools { position: sticky; top: 0; z-index: 34; background: white; border-top: 1px solid #edf0f4; box-shadow: 0 7px 18px rgba(7,27,63,.06); }
body.admin-customer-preview .home-sticky-tools { top: calc(54px + env(safe-area-inset-top)); }
.home-search-wrap { padding: 12px 14px 6px; background: white; }
.home-search { height: 54px; margin: 0; border: 1px solid #e5e8ed; border-radius: 18px; box-shadow: 0 8px 22px rgba(10,27,60,.055); }
.home-search { position: relative; grid-template-columns: auto minmax(0,1fr) auto; }
.home-search-typewriter,.home-search input { grid-column: 2; grid-row: 1; min-width: 0; }
.search-bar > .home-search-typewriter { align-self: center; overflow: hidden; color: #778397; font-size: .82rem; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; transform: none; transition: opacity .15s ease; }
.home-search-typewriter::after { content: ""; display: inline-block; width: 1px; height: .9em; margin-left: 2px; vertical-align: -.08em; background: var(--orange); animation: search-caret .8s steps(1) infinite; }
.home-search input { position: relative; z-index: 1; background: transparent; }
.home-search.has-query .home-search-typewriter,.home-search:focus-within .home-search-typewriter { opacity: 0; }
.home-search button { width: 42px; padding: 0; border-radius: 13px; color: white; background: var(--navy); font-size: 1.1rem; }
.quick-tabs { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 11px 14px 12px; background: white; border-bottom: 1px solid #edf0f4; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; scroll-snap-type: x proximity; }
.quick-tabs::-webkit-scrollbar { display: none; }
.quick-tabs button { flex: 0 0 auto; }

.business-hub { position: relative; isolation: isolate; min-height: 218px; margin: 14px; overflow: hidden; box-sizing: border-box; padding: 20px; border: 1px solid rgba(255,255,255,.88); border-radius: 27px; color: #35203f; background: radial-gradient(circle at 92% 10%,rgba(255,255,255,.85) 0 8%,transparent 30%),radial-gradient(circle at 8% 100%,rgba(105,231,189,.62) 0 6%,transparent 35%),linear-gradient(132deg,#fff078 0%,#ffb680 44%,#ff96a8 72%,#c3a4ff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.82),0 18px 38px rgba(97,52,83,.17); }
.business-hub::after { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; right: -84px; bottom: -105px; border: 1px solid rgba(255,255,255,.62); border-radius: 42% 58% 55% 45%/55% 44% 56% 45%; background: rgba(255,255,255,.13); transform: rotate(18deg); }
.business-hub-orb { position: absolute; z-index: -1; border-radius: 999px; background: rgba(255,255,255,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.7),0 10px 22px rgba(87,45,82,.12); }
.business-hub-orb-one { width: 48px; height: 48px; top: 58px; right: 20px; }
.business-hub-orb-two { width: 24px; height: 24px; top: 29px; right: 72px; background: #69e2ba; }
.business-hub-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.business-hub-top > span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; background: rgba(255,255,255,.35); font-size: .66rem; font-weight: 1000; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(12px); }
.business-hub-top > i { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 6px; border-radius: 50%; color: #fff; background: #ff5f76; box-shadow: 0 8px 18px rgba(191,65,91,.23); font-style: normal; }
.business-hub h2 { max-width: 85%; margin: 17px 0 5px; font-family: ui-rounded,"Arial Rounded MT Bold","Avenir Next Rounded",sans-serif; font-size: clamp(1.55rem,7vw,2.2rem); line-height: 1.05; letter-spacing: -.045em; }
.business-hub > p { max-width: 82%; margin: 0; color: #573b5c; font-size: .8rem; line-height: 1.42; font-weight: 750; }
.business-hub-metrics { display: flex; gap: 7px; overflow-x: auto; margin: 15px -2px 0; padding: 2px; scrollbar-width: none; }
.business-hub-metrics::-webkit-scrollbar { display: none; }
.business-hub-metrics span { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 13px; background: rgba(255,255,255,.42); color: #4e3453; font-size: .66rem; font-weight: 900; backdrop-filter: blur(12px); }
.business-hub-metrics b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; color: white; background: #33aa7c; font-size: .65rem; }
.business-hub-metrics span:nth-child(2) b { background: #a168f4; }
.business-hub-actions { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 8px; margin-top: 15px; }
.business-hub-actions button { min-height: 45px; border: 1px solid rgba(255,255,255,.75); border-radius: 14px; padding: 10px 12px; color: #422746; background: rgba(255,255,255,.42); font-size: .73rem; font-weight: 950; backdrop-filter: blur(12px); }
.business-hub-actions .business-hub-primary { display: flex; align-items: center; justify-content: center; gap: 8px; border-color: transparent; color: #17121b; background: #ffe04b; box-shadow: 0 9px 20px rgba(159,100,31,.2); }
.business-hub-actions .business-hub-primary b { font-size: 1rem; }
.business-hub-loading { min-height: 176px; display: grid; align-content: center; gap: 10px; }
.business-hub-loading span { width: 72%; height: 14px; border-radius: 99px; background: rgba(255,255,255,.45); }
.business-hub-loading span:nth-child(2) { width: 48%; }.business-hub-loading span:nth-child(3) { width: 88%; }

.blink-heading { align-items: center; margin: 25px 15px 12px; }
.blink-heading h2 { margin: 0; font-size: 1.22rem; letter-spacing: -.035em; }
.blink-heading p { margin: 4px 0 0; color: #7a8494; font-size: .72rem; }
.blink-heading button { color: #31476c; background: #eef3f7; border-radius: 999px; padding: 8px 11px; }
.product-rail { display: flex; gap: 10px; overflow-x: auto; padding: 2px 14px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.product-rail::-webkit-scrollbar { display: none; }
.product-rail .product-card { flex: 0 0 145px; scroll-snap-align: start; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; padding: 0 14px; }
.category-tile { min-width: 0; overflow: hidden; border: 0; border-radius: 17px; padding: 7px 7px 11px; color: var(--ink); background: #eaf5f6; text-align: left; }
.category-tile:nth-child(3n+2) { background: #fff0df; }
.category-tile:nth-child(3n) { background: #f0edf9; }
.category-collage { height: 78px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.category-collage span { min-width: 0; overflow: hidden; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.85); }
.category-collage img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.category-tile strong { display: -webkit-box; margin: 9px 3px 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .75rem; line-height: 1.15; }
.category-tile small { display: block; margin: 5px 3px 0; color: #607084; font-size: .6rem; font-weight: 800; }
.account-setup { width: auto; margin: 23px 14px 2px; }
.explore-rail { padding-bottom: 16px; }
.home-module { display: block; }
.availability-strip { margin: 22px 14px 4px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px solid #cfe9e3; border-radius: 17px; background: linear-gradient(115deg,#effbf7,#eef8ff); }
.availability-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: white; background: #159a70; font-weight: 900; }
.availability-strip strong,.availability-strip small { display: block; }
.availability-strip strong { color: var(--navy); font-size: .8rem; }
.availability-strip small { margin-top: 3px; color: #657287; font-size: .62rem; line-height: 1.3; }
.availability-strip button { border: 0; border-radius: 999px; padding: 8px 10px; color: white; background: var(--navy); font-size: .61rem; font-weight: 900; }
.variant-rail { display: flex; gap: 10px; overflow-x: auto; padding: 2px 14px 9px; scrollbar-width: none; }
.variant-rail::-webkit-scrollbar { display: none; }
.variant-card { flex: 0 0 205px; padding: 10px; border: 1px solid #e5e8ed; border-radius: 17px; background: white; box-shadow: 0 6px 18px rgba(7,27,63,.05); }
.variant-images { height: 84px; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.variant-images button { min-width: 0; overflow: hidden; padding: 3px; border: 0; border-radius: 11px; background: #f2f5f7; }
.variant-images img { width: 100%; height: 100%; object-fit: contain; }
.variant-card > strong,.variant-card > small { display: block; }
.variant-card > strong { margin-top: 9px; font-size: .78rem; }
.variant-card > small { margin-top: 3px; color: #738095; font-size: .61rem; }
.variant-options { margin-top: 8px; display: flex; gap: 5px; overflow-x: auto; }
.variant-options button { flex: 0 0 auto; padding: 6px 8px; border: 1px solid #cfd8e4; border-radius: 999px; color: var(--navy); background: white; font-size: .58rem; font-weight: 800; }

.product-grid { align-items: start; gap: 10px; padding-bottom: 8px; }
.product-card { min-width: 0; height: auto; overflow: hidden; border: 1px solid #e5e8ed; border-radius: 16px; box-shadow: 0 6px 18px rgba(7,27,63,.055); }
.product-image { position: relative; width: 100%; min-width: 0; min-height: 0; aspect-ratio: 1/1; overflow: hidden; padding: 6px; border: 0; border-radius: 0; background-color: #f2f4f6; isolation: isolate; }
.product-image::before { content: ""; position: absolute; inset: -10px; z-index: -2; background-image: var(--product-image); background-position: center; background-size: cover; filter: blur(15px) saturate(.75); opacity: .16; transform: scale(1.1); }
.product-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.69); }
.product-image img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; border-radius: 10px; }
.product-info { min-height: 138px; padding: 10px; }
.product-category { margin-bottom: 4px; font-size: .56rem; line-height: 1.25; }
.product-info h3 { min-height: 2.35em; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .78rem; line-height: 1.18; }
.product-pack { margin: 5px 0 10px; min-height: 1.2em; font-size: .68rem; }
.product-actions { grid-template-columns: 34px 1fr; gap: 5px; }
.product-actions button { height: 34px; border-radius: 9px; }
.add-button { font-size: .64rem; }
.stock-badge { position: absolute; z-index: 2; left: 7px; bottom: 7px; padding: 5px 7px; border-radius: 999px; color: white; background: #178a67; font-size: .53rem; font-weight: 900; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.stock-badge.is-low { color: #553400; background: #ffd76b; }
.stock-badge.is-out { background: #6d7480; }
.inline-qty { min-width: 0; height: 34px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; border: 1px solid #acdcd9; border-radius: 9px; color: var(--navy); background: #eafafb; }
.inline-qty-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 34px; gap: 5px; }
.inline-qty button { height: 32px; border: 0; color: var(--navy); background: transparent; font-size: 1rem; font-weight: 900; }
.inline-qty strong { text-align: center; font-size: .72rem; }
.remove-item,.cart-remove { display: grid; place-items: center; border: 1px solid #f0c9c6; color: #c43d34; background: #fff4f3; }
.remove-item { width: 34px; height: 34px; border-radius: 9px; }
.remove-item svg,.cart-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-item-actions { display: grid; justify-items: end; gap: 6px; }
.cart-remove { width: 32px; height: 30px; border-radius: 8px; }
.inline-order-control { min-width: 0; display: grid; gap: 5px; }
.unit-label { color: #69768a; font-size: .58rem; font-weight: 850; }
.unit-toggle { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 9px; background: #eef1f5; }
.unit-toggle button { min-width: 0; height: 29px; border: 0; border-radius: 7px; color: #637084; background: transparent; font-size: .6rem; font-weight: 900; }
.unit-toggle button.is-active { color: white; background: var(--navy); box-shadow: 0 2px 6px rgba(7,27,63,.18); }
.cart-unit { width: 100%; height: 29px; margin-top: 7px; border: 1px solid #cfd8e4; border-radius: 8px; padding: 0 6px; color: var(--navy); background: white; font-size: .62rem; font-weight: 850; }
.notify-button { border: 1px solid #d6dce5; color: #596579; background: #f2f4f7; font-size: .62rem; font-weight: 900; }
.stock-filter { width: fit-content; margin: 0 0 13px 2px; display: flex; gap: 8px; align-items: center; color: #526075; font-size: .7rem; font-weight: 800; }
.stock-filter input { width: 18px; height: 18px; accent-color: #158462; }
.detail-hero { position: relative; }
.detail-hero .stock-badge { left: 14px; bottom: 14px; }
.detail-variants { margin: 15px 0 2px; }
.detail-variants > strong { display: block; margin-bottom: 7px; font-size: .72rem; }
.detail-variants > div { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-variants button { padding: 7px 9px; border: 1px solid #d9dfe7; border-radius: 999px; color: var(--navy); background: white; font-size: .62rem; font-weight: 800; }
.detail-variants button.is-active { color: white; background: var(--navy); border-color: var(--navy); }
.detail-cta.is-disabled { background: #6d7480; }
.detail-action-slot { position: sticky; z-index: 5; bottom: 0; margin: 8px -6px 0; padding: 10px 6px; background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: 0 -10px 22px rgba(7,27,63,.08); backdrop-filter: blur(12px); }
.detail-add { min-height: 48px; font-size: .88rem; letter-spacing: .04em; }
.detail-purchase { display: grid; gap: 9px; }
.detail-unit-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.detail-unit-row > span { color: #667286; font-size: .7rem; font-weight: 850; }
.detail-unit-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 10px; background: #edf1f4; }
.detail-unit-toggle button { min-height: 35px; border: 0; border-radius: 8px; color: #5f6c80; background: transparent; font-size: .7rem; font-weight: 900; }
.detail-unit-toggle button.is-active { color: white; background: var(--navy); box-shadow: 0 3px 9px rgba(7,27,63,.2); }
.detail-cart-row { display: grid; grid-template-columns: 42px minmax(124px,1fr) minmax(92px,auto); gap: 7px; }
.detail-stepper { min-width: 0; height: 45px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; overflow: hidden; border-radius: 11px; color: white; background: var(--green); }
.detail-stepper button { height: 45px; border: 0; color: white; background: transparent; font-size: 1.25rem; font-weight: 900; }
.detail-stepper strong { text-align: center; font-size: .9rem; }
.detail-remove { display: grid; place-items: center; border: 1px solid #efcbc8; border-radius: 11px; color: #bd3c34; background: #fff5f4; }
.detail-remove svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-view-cart { border: 0; border-radius: 11px; padding: 0 12px; color: white; background: var(--navy); font-size: .7rem; font-weight: 900; }
.related-products { padding: 22px; border-top: 8px solid #f1f4f7; background: white; }
.related-heading h3 { margin: 4px 0 6px; color: var(--navy); font-size: 1.35rem; letter-spacing: -.035em; }
.related-heading > span { display: block; color: #687589; font-size: .78rem; line-height: 1.45; }
.related-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.related-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #e1e6ec; border-radius: 15px; background: white; box-shadow: 0 5px 15px rgba(7,27,63,.045); }
.related-image { width: 100%; aspect-ratio: 1/1; overflow: hidden; border: 0; padding: 7px; background: #f4f6f8; }
.related-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
.related-copy { flex: 1; display: flex; flex-direction: column; padding: 9px; }
.related-copy > p { margin: 0 0 4px; overflow: hidden; color: #7b8697; font-size: .56rem; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.related-copy h4 { min-height: 2.35em; margin: 0; display: -webkit-box; overflow: hidden; color: var(--navy); font-size: .75rem; line-height: 1.18; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.related-copy > small { display: block; margin: 5px 0 9px; color: #6d7889; font-size: .63rem; }
.related-copy > div { margin-top: auto; display: grid; grid-template-columns: 42px 1fr; gap: 5px; }
.related-copy button { min-width: 0; min-height: 33px; border-radius: 8px; font-size: .61rem; font-weight: 900; }
.related-view { border: 1px solid #d6dde6; color: var(--navy); background: white; }
.related-add { border: 0; color: var(--navy); background: #e7f8f8; }
.related-add.is-added { color: #0a6248; background: #e3f7ee; }
.related-browse { width: 100%; margin-top: 12px; border: 1px solid #cad5e2; border-radius: 11px; padding: 11px; color: var(--navy); background: white; font-size: .72rem; font-weight: 900; }

.delivery-slots { margin-bottom: 15px; padding: 13px; border: 1px solid #dce2e9; border-radius: 15px; background: #f7f9fb; }
.delivery-slots h3 { margin: 2px 0 10px; font-size: .94rem; }
.date-slots,.time-slots { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
.date-slots button,.time-slots button { flex: 0 0 auto; border: 1px solid #d7dee8; border-radius: 10px; color: var(--navy); background: white; }
.date-slots button { min-width: 52px; padding: 8px; }
.date-slots strong,.date-slots small { display: block; }
.date-slots strong { font-size: .8rem; }.date-slots small { margin-top: 2px; font-size: .56rem; }
.time-slots button { padding: 9px 11px; font-size: .62rem; font-weight: 800; }
.date-slots button.is-active,.time-slots button.is-active { color: white; background: var(--navy); border-color: var(--navy); }
.delivery-slots > small { display: block; margin-top: 3px; color: #778397; font-size: .57rem; }

#submit-order { width: 100%; border: 0; border-radius: 13px; padding: 14px; color: white; background: var(--green); font-weight: 900; }
.success-dialog { width: min(90vw, 430px); border: 0; border-radius: 25px; padding: 30px 24px; color: var(--ink); text-align: center; box-shadow: 0 26px 80px rgba(0,0,0,.3); }
.success-dialog::backdrop { background: rgba(4,18,43,.68); backdrop-filter: blur(4px); }
.success-mark { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 2rem; font-weight: 900; }
.success-dialog h2 { margin: 5px 0 10px; color: var(--navy); font-size: 1.8rem; }
.success-dialog > p:not(.eyebrow) { margin: 0; color: #4f5d70; line-height: 1.55; }
.success-dialog > small { display: block; margin: 12px 0 20px; color: #7a8596; line-height: 1.45; }
.success-bilingual-message { display: grid; gap: 12px; margin: 0 0 22px; }
.success-bilingual-message p { margin: 0; color: #4f5d70; font-size: .92rem; line-height: 1.48; }
.success-bilingual-message p[lang="hi"] { color: #637086; font-size: .88rem; }
.success-bilingual-message span { width: 58px; height: 2px; margin: 0 auto; border-radius: 99px; background: linear-gradient(90deg,transparent,#ffb323,transparent); }
.success-dialog button { width: 100%; border: 0; border-radius: 13px; padding: 13px; color: white; background: var(--navy); font-weight: 900; }
.order-history { display: grid; gap: 12px; }
.order-record { padding: 17px; border: 1px solid #e1e6ec; border-radius: 18px; background: white; box-shadow: 0 8px 22px rgba(7,27,63,.055); }
.order-record h3 { margin: 4px 0; color: var(--navy); font-size: 1rem; }
.order-record small { color: #778397; font-size: .65rem; }
.order-record > p { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid #edf0f3; color: #5e6b7d; font-size: .72rem; line-height: 1.65; }

.stock-desk,.app-preferences { margin-top: 22px; padding: 16px; border: 1px solid #e2e6ec; border-radius: 18px; background: white; }
.stock-desk-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.stock-desk-head h2,.app-preferences h2 { margin: 2px 0 4px; font-size: 1.08rem; }.stock-desk-head p { margin: 0; color: #738095; font-size: .67rem; }
.stock-desk-head > span { padding: 7px 9px; border-radius: 999px; color: #804a00; background: #fff0cf; font-size: .61rem; font-weight: 900; }
.stock-summary { margin: 14px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.stock-summary span { padding: 10px 7px; border-radius: 12px; background: #eef8f4; color: #5c687a; font-size: .56rem; text-align: center; }
.stock-summary span:nth-child(2) { background: #fff7df; }.stock-summary span:nth-child(3) { background: #f1f2f4; }
.stock-summary strong { display: block; color: var(--navy); font-size: 1.05rem; }
.stock-product-search,.app-preferences label { display: grid; gap: 6px; color: #4b5669; font-size: .68rem; font-weight: 800; }
.stock-product-search input,.app-preferences select { width: 100%; min-height: 42px; border: 1px solid #d9dfe7; border-radius: 11px; padding: 0 11px; color: var(--navy); background: white; }
.stock-admin-list { margin-top: 11px; display: grid; gap: 7px; }
.stock-admin-row { display: grid; grid-template-columns: 42px minmax(0,1fr) 102px; gap: 9px; align-items: center; padding: 7px; border-radius: 12px; background: #f7f8fa; }
.stock-admin-row img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: white; }
.stock-admin-row strong,.stock-admin-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.stock-admin-row strong { font-size: .67rem; }.stock-admin-row small { margin-top: 3px; color: #778397; font-size: .56rem; }
.stock-admin-row select { width: 100%; height: 34px; border: 1px solid #d7dee8; border-radius: 8px; color: var(--navy); background: white; font-size: .58rem; }
.local-data-note { margin: 11px 0 0; color: #7a8596; font-size: .58rem; line-height: 1.45; }
.app-preferences { display: grid; gap: 12px; }
.language-hi .availability-strip strong::after { content: " · स्टॉक उपलब्धता"; }
.home-products { display: flex; }

.screen-title { padding-top: 4px; }
.sticky-search { top: 10px; }
.filter-row { padding-bottom: 11px; }
.filter-row .category-chip { padding: 9px 11px; font-size: .7rem; }

.bottom-nav { height: calc(70px + env(safe-area-inset-bottom)); padding: 6px 4px env(safe-area-inset-bottom); border-top: 1px solid #e7e9ed; background: rgba(255,255,255,.97); box-shadow: 0 -10px 32px rgba(7,27,63,.10); }
.bottom-nav button { min-width: 0; color: #6b7689; font-size: .61rem; }
.bottom-nav button > span { font-size: 1.18rem; }
.bottom-nav button.is-active { color: var(--navy); }
.bottom-nav button.is-active::after { top: -6px; height: 4px; background: var(--orange); }

@media (min-width: 720px) {
  .app-header { padding-inline: max(22px, calc((100vw - 1180px)/2)); }
  .compact-search-shell { padding-inline: max(22px, calc((100vw - 1180px)/2)); }
  .screen[data-screen="home"] { padding-top: 0; }
  .screen:not([data-screen="home"]) { padding: 34px 26px 50px; }
  .home-search-wrap, .quick-tabs { padding-inline: max(26px, calc((100vw - 1180px)/2)); }
  .business-hub { max-width: 1150px; min-height: 250px; margin: 22px auto; padding: 30px 34px; }
  .business-hub h2 { max-width: 70%; }.business-hub > p { max-width: 62%; }.business-hub-actions { max-width: 520px; }
  .blink-heading { max-width: 1150px; margin-inline: auto; }
  .product-rail { max-width: 1178px; margin-inline: auto; padding-inline: 14px; }
  .product-rail .product-card { flex-basis: 180px; }
  .category-grid { max-width: 1178px; margin-inline: auto; grid-template-columns: repeat(5, 1fr); }
  .account-setup { max-width: 1150px; margin-inline: auto; }
  .product-info { min-height: 142px; }
}

@media (min-width: 1000px) {
  .category-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Account access, customer engagement and operations panels */
.auth-gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right,#173b70 0,#081d3d 43%,#041329 100%); }
.auth-card { width: min(100%,430px); padding: 30px; border-radius: 26px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.auth-card > img { width: 64px; height: 64px; object-fit: contain; }
.auth-card h1 { margin: 7px 0; color: var(--navy); font-size: 1.65rem; }.auth-card > p:not(.eyebrow,.auth-status) { color: #657186; line-height: 1.55; }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }.auth-form label,.broadcast-form label { display: grid; gap: 6px; color: #46546a; font-size: .75rem; font-weight: 800; }
.auth-form input,.auth-form select,.broadcast-form input,.broadcast-form select,.broadcast-form textarea { width: 100%; border: 1px solid #d7dee8; border-radius: 12px; padding: 12px; color: var(--navy); background: white; font: inherit; }
.mobile-field { display: flex; align-items: center; border: 1px solid #d7dee8; border-radius: 12px; overflow: hidden; }.mobile-field span { padding: 0 0 0 12px; color: #526077; }.mobile-field input { border: 0; }
.primary-action { border: 0; border-radius: 12px; padding: 13px; color: white; background: var(--navy); font-weight: 900; }.text-action { border: 0; padding: 8px; color: var(--navy); background: transparent; font-weight: 800; }
.auth-loading { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: #667489; }.auth-loading span { width: 18px; height: 18px; border: 2px solid #d4dce6; border-top-color: var(--orange); border-radius: 50%; animation: auth-spin .8s linear infinite; }@keyframes auth-spin{to{transform:rotate(360deg)}}
.auth-status { min-height: 20px; margin: 12px 0 0; color: #a33f21; font-size: .72rem; line-height: 1.45; }.approval-wait { text-align: center; padding-top: 20px; }.approval-wait > span { font-size: 2rem; }
.role-chooser { display: grid; gap: 10px; margin-top: 22px; }
.role-choice { width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; gap: 11px; align-items: center; padding: 14px; border: 1px solid #dce3ec; border-radius: 15px; color: var(--navy); background: #f8fafc; text-align: left; text-decoration: none; }
.role-choice > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: #58708f; font-size: 1.1rem; }.role-choice strong,.role-choice small { grid-column: 2; display: block; }.role-choice strong { grid-row: 1; align-self: end; font-size: .87rem; }.role-choice small { grid-row: 2; align-self: start; color: #718096; font-size: .64rem; line-height: 1.35; }.role-choice b { grid-column: 3; grid-row: 1 / 3; font-size: 1.15rem; }
.role-choice.is-admin { border-color: #204b7e; color: white; background: linear-gradient(135deg,#082650,#124c80); }.role-choice.is-admin > span { background: var(--orange); }.role-choice.is-admin small { color: #cad9e9; }
.auth-form h2 { margin: 0 0 2px; color: var(--navy); font-size: 1.15rem; }.auth-back { justify-self: start; border: 0; padding: 0; color: #53657c; background: transparent; font-size: .7rem; font-weight: 800; }.otp-help { color: #788597; font-size: .65rem; line-height: 1.45; text-align: center; }
.auth-method-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border-radius: 12px; background: #edf1f6; }.auth-method-toggle button { min-height: 40px; border: 0; border-radius: 9px; color: #607088; background: transparent; font-weight: 850; }.auth-method-toggle button.is-active { color: white; background: var(--navy); box-shadow: 0 4px 12px rgba(7,27,63,.16); }
.auth-gate { position:relative; min-height:100dvh; padding:max(24px,env(safe-area-inset-top)) 18px max(24px,env(safe-area-inset-bottom)); overflow:hidden; background:radial-gradient(circle at 84% 9%,rgba(65,211,221,.2),transparent 28%),radial-gradient(circle at 4% 96%,rgba(255,122,26,.18),transparent 28%),linear-gradient(145deg,#03122a 0,#092957 58%,#0d3d70 100%); }
.auth-gate::before,.auth-gate::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.09); border-radius:50%; pointer-events:none; }.auth-gate::before { width:420px; height:420px; top:-210px; right:-170px; }.auth-gate::after { width:330px; height:330px; bottom:-190px; left:-130px; }
.auth-card { position:relative; z-index:1; width:min(100%,450px); padding:26px; border:1px solid rgba(255,255,255,.58); border-radius:30px; background:rgba(255,255,255,.965); box-shadow:0 28px 80px rgba(0,0,0,.32); backdrop-filter:blur(22px); }
.auth-brand { display:flex; align-items:center; gap:12px; }.auth-brand img { width:54px; height:54px; object-fit:contain; }.auth-brand span { display:grid; gap:2px; }.auth-brand strong { color:var(--navy); font-size:.88rem; letter-spacing:.08em; }.auth-brand small { color:#748197; font-size:.66rem; font-weight:700; }
.auth-trust-pill { width:max-content; display:block; margin:22px 0 10px; padding:7px 10px; border-radius:999px; color:#0a5571; background:#e7f8fa; font-size:.62rem; font-weight:900; letter-spacing:.1em; }
.auth-card h1 { margin:0; font-size:clamp(1.85rem,7vw,2.45rem); line-height:1.04; letter-spacing:-.045em; }.auth-card > p:not(.auth-status) { margin:10px 0 0; color:#66748a; font-size:.82rem; line-height:1.55; }
.auth-form { gap:14px; margin-top:24px; }.auth-form label { gap:7px; color:#3e4e65; font-size:.75rem; font-weight:850; }.auth-form input { min-height:52px; border-color:#d6dfeb; border-radius:15px; padding:13px 14px; background:#f9fbfd; outline:none; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }.auth-form input:focus { border-color:#356b9e; background:white; box-shadow:0 0 0 4px rgba(39,104,159,.11); }
.auth-card .primary-action { min-height:52px; border-radius:15px; background:linear-gradient(135deg,#071b3f,#124f83); box-shadow:0 10px 24px rgba(7,27,63,.2); }.auth-continue { display:flex; align-items:center; justify-content:space-between; padding-inline:18px; }.auth-continue b { font-size:1.1rem; }
.auth-form h2 { font-size:1.08rem; }.otp-help { font-size:.67rem; line-height:1.5; }.otp-intro { margin:0; color:#6b778a; font-size:.75rem; line-height:1.5; }
.business-access { width:100%; min-height:56px; margin-top:16px; display:grid; grid-template-columns:1fr auto; align-items:center; padding:10px 14px; border:1px solid #dce4ed; border-radius:15px; color:var(--navy); background:#f7f9fc; text-align:left; }.business-access span,.business-access strong { grid-column:1; }.business-access span { font-size:.64rem; color:#788598; }.business-access strong { font-size:.78rem; }.business-access b { grid-column:2; grid-row:1/3; font-size:1.05rem; }
.profile-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.profile-required { padding: 13px; border: 1px solid #ffd09e; border-radius: 12px; color: #743800; background: #fff7ed; }.profile-required strong,.profile-required span { display: block; }.profile-required span { margin-top: 4px; font-size: .7rem; line-height: 1.4; }

.product-card { position: relative; }.wishlist-heart { position: absolute; z-index: 3; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #8894a5; background: rgba(255,255,255,.94); box-shadow: 0 4px 12px rgba(5,25,54,.14); font-size: 1.05rem; }.wishlist-heart.is-active { color: #e54852; }.detail-wishlist-heart { z-index: 6; top: 14px; right: 14px; width: 42px; height: 42px; font-size: 1.3rem; }.notify-button.is-active { color: #087054; border-color: #9bd8c5; background: #e9faf4; }.detail-notify.is-active { color: white; background: #128362; }
.notification-button,.wishlist-button { position: relative; border: 0; border-radius: 11px; width: 40px; height: 40px; color: var(--navy); background: #f0f3f7; }.wishlist-button { color: #d83f50; font-size: 1.25rem; }.notification-button i,.wishlist-button i { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--orange); font: 800 .58rem/1 sans-serif; }.wishlist-button i { background: #d83f50; }
.wishlist-summary { margin: 0 0 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 13px 15px; border: 1px solid #d9e4ee; border-radius: 14px; color: var(--navy); background: #f7fafc; }.wishlist-summary:empty { display: none; }.wishlist-summary strong { font-size: .82rem; }.wishlist-summary span { color: #687589; font-size: .68rem; text-align: right; }.wishlist-grid { padding-bottom: 30px; }
.customer-request-card { margin-top: 22px; padding: 18px; border-radius: 18px; color: white; background: linear-gradient(135deg,#0a2853,#12467b); }.customer-request-card h2 { margin: 3px 0 6px; }.customer-request-card > p { color: #dce7f4; font-size: .72rem; line-height: 1.5; }.customer-request-card form { display: grid; gap: 9px; }.customer-request-card textarea { width: 100%; border: 0; border-radius: 12px; padding: 12px; resize: vertical; }.customer-request-card .primary-action { background: var(--orange); }
.request-history { display: grid; gap: 7px; margin-top: 12px; }.request-history > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px; border-radius: 9px; background: rgba(255,255,255,.1); font-size: .66rem; }.request-history small { text-transform: uppercase; }
.signout-button { width: 100%; margin: 20px 0; border: 1px solid #e1a8aa; border-radius: 12px; padding: 12px; color: #a52e36; background: #fff6f6; font-weight: 900; }
.notification-list { display: grid; gap: 10px; }.notification-card { display: grid; grid-template-columns: 16px 1fr; gap: 10px; padding: 16px; border: 1px solid #e2e7ed; border-radius: 15px; background: white; }.notification-card > span { color: #bfc8d3; }.notification-card.is-unread > span { color: var(--orange); }.notification-card strong { color: var(--navy); }.notification-card p { margin: 5px 0; color: #5f6b7d; font-size: .74rem; line-height: 1.5; }.notification-card small { color: #8a94a3; font-size: .61rem; }

/* Floating glass navigation and transparent browsing chrome */
.app-shell { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.home-sticky-tools { background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.72); border-radius: 0 0 24px 24px; box-shadow: 0 10px 28px rgba(7,27,63,.08); backdrop-filter: blur(22px) saturate(1.35); -webkit-backdrop-filter: blur(22px) saturate(1.35); }
.home-search-wrap,.quick-tabs { background: transparent; }
.home-search { border-color: rgba(255,255,255,.86); background: rgba(255,255,255,.72); box-shadow: 0 8px 24px rgba(7,27,63,.075), inset 0 1px 0 rgba(255,255,255,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.quick-tabs { gap: 4px; border-bottom: 0; scroll-padding-inline: 42%; }
.category-visual-menu { gap: 4px; margin: 0; padding: 4px 0 12px; scroll-padding-inline: 42%; }
.category-menu-item { position: relative; flex: 0 0 82px; min-width: 82px; min-height: 76px; padding: 5px 4px 8px; display: grid; grid-template-rows: 37px auto 3px; gap: 3px; place-items: center; overflow: visible; border: 0; border-radius: 18px; color: #485468; background: transparent; scroll-snap-align: center; transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease; }
.category-menu-item b { max-width: 78px; overflow: hidden; font-size: .65rem; line-height: 1.08; font-weight: 780; white-space: normal; text-align: center; text-overflow: ellipsis; }
.category-menu-item em { width: 22px; height: 3px; border-radius: 99px; background: transparent; transition: width .22s ease, background .22s ease, box-shadow .22s ease; }
.category-menu-picture { width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(7,27,63,.08); border-radius: 13px; color: #273951; background: rgba(255,255,255,.76); box-shadow: 0 4px 11px rgba(7,27,63,.08); transition: transform .24s cubic-bezier(.2,.9,.3,1.3), filter .22s ease; }
.category-menu-picture svg { width: 26px; height: 26px; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.category-menu-picture .icon-accent { fill: rgba(255,190,40,.08); transition: fill .22s ease, stroke .22s ease; }
.category-menu-item.is-active { z-index: 2; color: #071c3d; background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,190,38,.25)); box-shadow: 0 7px 18px rgba(116,77,0,.13), inset 0 0 0 1px rgba(255,176,0,.19); transform: translateY(-2px); }
.category-menu-item.is-active .category-menu-picture { border-color: rgba(255,178,0,.42); transform: translateY(-2px) scale(1.08) rotate(-2deg); filter: drop-shadow(0 0 7px rgba(255,184,28,.66)); animation: category-picture-float 1.8s ease-in-out infinite; }
.category-menu-item.is-active .category-menu-picture svg { animation: category-line-draw .42s cubic-bezier(.2,.8,.3,1) both; }
.category-menu-item.is-active .category-menu-picture .icon-accent { fill: #ffbd28; stroke: #172c48; }
.category-menu-item.is-active em { width: 30px; background: #ffbd28; box-shadow: 0 0 9px rgba(255,181,23,.9); animation: nav-lamp-glow 1.8s ease-in-out infinite; }
.category-menu-item:active { transform: scale(.95); }
.catalogue-theme-zone { margin: -24px -14px 18px; padding: 24px 14px 15px; border-radius: 0 0 28px 28px; transition: background .32s ease, color .32s ease; }
body.category-view .catalogue-theme-zone { color: var(--category-deep); background: radial-gradient(circle at 92% 5%,rgba(255,255,255,.82),transparent 29%),linear-gradient(150deg,var(--category-soft),color-mix(in srgb,var(--category-soft) 63%,white)); box-shadow: 0 14px 32px color-mix(in srgb,var(--category-accent) 22%,transparent); }
body.category-view .customer-preview-bar,body.category-view .app-header { background: linear-gradient(115deg,var(--category-deep),var(--category-accent)); }
body.category-view .catalogue-theme-zone .screen-title h1,body.category-view .catalogue-theme-zone .eyebrow { color: var(--category-deep); }
body.category-view .catalogue-theme-zone .screen-title p:not(.eyebrow) { color: color-mix(in srgb,var(--category-deep) 76%,white); }
body.category-view .catalogue-theme-zone .sticky-search { border-color: color-mix(in srgb,var(--category-accent) 27%,white); background: rgba(255,255,255,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
body.category-view .catalogue-theme-zone .stock-filter { border-color: color-mix(in srgb,var(--category-accent) 32%,white); background: rgba(255,255,255,.68); }
body.category-view .category-visual-menu .category-menu-item.is-active { background: rgba(255,255,255,.86); box-shadow: 0 8px 20px color-mix(in srgb,var(--category-accent) 25%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--category-accent) 40%,white); }
body.category-view .category-visual-menu .category-menu-item.is-active em { background: var(--category-accent); box-shadow: 0 0 9px color-mix(in srgb,var(--category-accent) 82%,white); }
.compact-search-shell { left: 12px; right: 12px; top: max(7px, env(safe-area-inset-top)); padding: 0; border: 1px solid rgba(255,255,255,.78); border-radius: 26px; background: rgba(255,255,255,.66); box-shadow: 0 12px 30px rgba(7,27,63,.12); backdrop-filter: blur(22px) saturate(1.35); -webkit-backdrop-filter: blur(22px) saturate(1.35); }
.compact-search { border-color: transparent; border-radius: 25px; background: transparent; }
.all-products-view .screen[data-screen="products"] { padding-top: calc(68px + env(safe-area-inset-top)); }
.all-products-view #catalogue-search { display: none; }
.all-products-view .compact-search-shell { opacity: 1; transform: translateY(0); pointer-events: auto; }
body.admin-customer-preview.all-products-view .compact-search-shell { top: calc(62px + env(safe-area-inset-top)); }
body.admin-customer-preview.all-products-view .screen[data-screen="products"] { padding-top: calc(122px + env(safe-area-inset-top)); }
.bottom-nav { left: 50%; right: auto; bottom: calc(9px + env(safe-area-inset-bottom)); width: min(calc(100% - 28px),520px); height: 58px; padding: 4px 6px; overflow: visible; border: 1px solid rgba(255,255,255,.8); border-radius: 31px; background: rgba(255,255,255,.64); box-shadow: 0 15px 38px rgba(7,27,63,.16), inset 0 1px 0 rgba(255,255,255,.92); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); transform: translateX(-50%); }
.bottom-nav button { isolation: isolate; min-width: 0; gap: 0; border-radius: 25px; color: #4e5868; background: transparent; font-size: .57rem; transition: color .22s ease, transform .22s ease; }
.bottom-nav button::before { content: ""; position: absolute; z-index: -1; inset: 1px 3px; border-radius: 24px; background: transparent; transform: scale(.7); opacity: 0; transition: transform .26s cubic-bezier(.2,.9,.25,1.2), opacity .2s ease, background .2s ease; }
.bottom-nav button.is-active::before { opacity: 1; transform: scale(1); background: linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,183,26,.19)); box-shadow: 0 5px 15px rgba(105,73,0,.11), inset 0 0 0 1px rgba(255,175,0,.16); }
.bottom-nav button.is-active::after { display: none; }
.bottom-nav button b { margin-top: -1px; font-size: .57rem; line-height: 1; font-weight: 800; }
.bottom-nav .nav-icon { width: 28px; height: 28px; display: grid; place-items: center; }
.bottom-nav .nav-icon svg { width: 25px; height: 25px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s ease, filter .22s ease; }
.bottom-nav .nav-lamp { fill: transparent; stroke: currentColor; transition: fill .22s ease, stroke .22s ease, filter .22s ease; }
.bottom-nav button.is-active { color: #071c3d; }
.bottom-nav button.is-active .nav-icon svg { animation: nav-icon-pop .38s cubic-bezier(.2,.9,.3,1.3); filter: drop-shadow(0 3px 5px rgba(255,170,0,.16)); }
.bottom-nav button.is-active .nav-lamp { fill: #ffbd28; stroke: #071c3d; filter: drop-shadow(0 0 5px rgba(255,181,27,.72)); animation: nav-lamp-glow 1.8s ease-in-out infinite; }
.bottom-nav button:active { transform: scale(.94); }
.bottom-nav .cart-nav i { top: -3px; right: calc(50% - 22px); }
@keyframes nav-icon-pop { 0% { transform: translateY(3px) scale(.82) rotate(-4deg); } 65% { transform: translateY(-2px) scale(1.08) rotate(2deg); } 100% { transform: none; } }
@keyframes nav-lamp-glow { 0%,100% { opacity: .88; } 50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,181,27,.9)); } }
@keyframes category-picture-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -2px; } }
@keyframes category-line-draw { from { opacity: .3; stroke-dasharray: 40; stroke-dashoffset: 40; transform: scale(.84); } to { opacity: 1; stroke-dasharray: 40; stroke-dashoffset: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bottom-nav button,.bottom-nav button::before,.bottom-nav .nav-icon svg,.bottom-nav .nav-lamp,.quick-tabs button,.category-menu-picture,.category-menu-picture svg { animation: none!important; transition: none!important; } }

@media (min-width:720px) { .catalogue-theme-zone { margin: -34px -26px 22px; padding: 34px max(26px,calc((100vw - 1180px)/2)) 18px; } }

/* Customer profile dashboard */
.screen[data-screen="account"] { max-width: 760px; margin: 0 auto; padding-top: 0; }
.account-page-header { min-height: 42px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: start; padding-top: 2px; text-align: center; }
.account-page-header h1 { margin: 0; font-size: 1.08rem; letter-spacing: -.02em; }
.profile-identity-card { padding: 8px 4px 6px; }
.profile-name-heading { display: flex; align-items: center; gap: 10px; }
.profile-name-heading h2 { min-width: 0; margin: 0; font-size: clamp(1.7rem,7vw,2.3rem); line-height: 1; letter-spacing: -.05em; }
.profile-name-heading button { flex: none; border: 0; border-radius: 999px; padding: 7px 10px; color: #546176; background: #edf1f5; font-size: .65rem; font-weight: 850; }
.profile-name-editor { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.profile-name-editor label { display: grid; gap: 5px; color: var(--muted); font-size: .64rem; font-weight: 800; }
.profile-name-editor input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--ink); background: var(--surface); }
.profile-meta-row { margin-top: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #667286; }
.profile-meta,.profile-dob { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; }
.profile-meta svg,.profile-dob svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-dob > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.profile-dob input { width: 132px; border: 0; outline: 0; padding: 2px 0; color: inherit; background: transparent; font-size: .76rem; }
.profile-shortcuts { margin: 24px 0 20px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.profile-shortcuts button,.profile-shortcuts a { min-width: 0; min-height: 112px; display: grid; place-items: center; align-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 22px; padding: 12px 7px; color: var(--ink); background: var(--surface); text-decoration: none; box-shadow: 0 7px 22px rgba(7,27,63,.035); }
.profile-shortcuts button:active,.profile-shortcuts a:active { transform: scale(.97); }
.profile-shortcuts span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: #f3f5f8; }
.profile-shortcuts svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-shortcuts strong { overflow: hidden; font-size: .72rem; line-height: 1.15; text-align: center; text-overflow: ellipsis; }
.appearance-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.appearance-toggle { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; padding: 12px 16px; color: var(--ink); background: transparent; text-align: left; }
.appearance-title,.appearance-value,.appearance-options button > span { display: flex; align-items: center; gap: 11px; }
.appearance-title i,.appearance-options i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: #28364b; background: #f4f6f9; font-style: normal; }
.appearance-title svg,.appearance-options svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.appearance-title strong { font-size: .9rem; }
.appearance-value { color: var(--muted); }
.appearance-value b { padding: 5px 8px; border-radius: 7px; background: #edf0f4; font-size: .68rem; font-weight: 600; }
.appearance-value > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.appearance-card.is-expanded .appearance-value > svg { transform: rotate(180deg); }
.appearance-options { border-top: 1px solid var(--line); }
.appearance-options button { width: 100%; min-height: 70px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); padding: 10px 18px; color: var(--ink); background: transparent; font-size: .83rem; text-align: left; }
.appearance-options button:last-child { border-bottom: 0; }
.appearance-options button > b { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #489230; border-radius: 50%; color: transparent; font-size: .7rem; }
.appearance-options button.is-active > b { color: white; background: #489230; }
.profile-section-label { margin: 28px 0 12px; color: #7b8699; font-size: .69rem; letter-spacing: .04em; }
.account-information-form { border-radius: 22px; box-shadow: 0 7px 22px rgba(7,27,63,.03); }
.account-information-form label > span { color: #35445a; font-size: .75rem; font-weight: 800; }
.account-information-form label em { color: var(--muted); font-size: .65rem; font-style: normal; font-weight: 500; }
.screen[data-screen="account"] .customer-request-card,.screen[data-screen="account"] .app-preferences { margin-top: 20px; }
.screen[data-screen="account"] .signout-button { min-height: 50px; margin: 26px 0 48px; border-radius: 16px; }

/* Theme selection: System default intentionally resolves to the light palette. */
html[data-theme="dark"] { --surface:#172233; --paper:#172233; --app-bg:#0d1522; --cream:#0d1522; --ink:#f2f5f9; --muted:#aeb8c7; --line:#303c4e; color:#f2f5f9; background:#0d1522; }
html[data-theme="dark"] body,html[data-theme="dark"] .app-shell { color:var(--ink); background:var(--app-bg); }
html[data-theme="dark"] .home-sticky-tools,html[data-theme="dark"] .home-search-wrap,html[data-theme="dark"] .quick-tabs { border-color:var(--line); background:rgba(23,34,51,.82); }
html[data-theme="dark"] .home-search,html[data-theme="dark"] .search-bar,html[data-theme="dark"] .product-card,html[data-theme="dark"] .empty-panel,html[data-theme="dark"] .profile-form,html[data-theme="dark"] .app-preferences,html[data-theme="dark"] .notification-card,html[data-theme="dark"] .wishlist-summary { border-color:var(--line); color:var(--ink); background:var(--surface); }
html[data-theme="dark"] .product-image,html[data-theme="dark"] .appearance-title i,html[data-theme="dark"] .appearance-options i,html[data-theme="dark"] .profile-shortcuts span { background:#202c3e; }
html[data-theme="dark"] .profile-form input,html[data-theme="dark"] .profile-form select,html[data-theme="dark"] .profile-form textarea,html[data-theme="dark"] .app-preferences select { border-color:#3b485b; color:var(--ink); background:#111b2a; }
html[data-theme="dark"] .profile-name-heading button,html[data-theme="dark"] .appearance-value b { color:#c2cad5; background:#263346; }
html[data-theme="dark"] .bottom-nav { border-color:rgba(255,255,255,.12); background:rgba(18,29,44,.78); box-shadow:0 15px 38px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.08); }
html[data-theme="dark"] .bottom-nav button { color:#aeb8c7; }
html[data-theme="dark"] .bottom-nav button.is-active { color:#fff; }
html[data-theme="dark"] .bottom-nav button.is-active::before { background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,183,26,.2)); }
html[data-theme="dark"] .account-setup { border-color:#2b4d54; color:var(--ink); background:linear-gradient(135deg,#142b31,#172233); }
html[data-theme="dark"] .category-menu-item { color:#b6c0ce; }
html[data-theme="dark"] .category-menu-item.is-active { color:#fff; background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,190,38,.2)); }
html[data-theme="dark"] .category-menu-picture { border-color:#394659; color:#dce3eb; background:#202c3e; }
html[data-theme="dark"] .segmented { background:#202b3c; }
html[data-theme="dark"] .segmented button.is-active { color:#fff; background:#334156; }
html[data-theme="dark"] dialog { color:var(--ink); }
html[data-theme="dark"] .detail-card,html[data-theme="dark"] .detail-card-scroll,html[data-theme="dark"] .cart-dialog,html[data-theme="dark"] .success-dialog { color:var(--ink); background:var(--surface); }
html[data-theme="dark"] .detail-hero { background:#111b29; }

@media(max-width:520px){.profile-name-editor{grid-template-columns:1fr}.profile-shortcuts{gap:7px}.profile-shortcuts button,.profile-shortcuts a{min-height:104px;border-radius:18px}.profile-shortcuts strong{font-size:.66rem}.profile-meta-row{gap:8px 13px}.profile-dob input{width:124px}}

/* Typo-friendly product search suggestions */
.home-search-wrap,.catalogue-theme-zone { position: relative; }
.compact-search-shell { position: fixed; }
.search-suggestion-panel { position: absolute; z-index: 75; left: 12px; right: 12px; top: calc(100% + 7px); max-height: min(54vh,390px); overflow-y: auto; padding: 6px; border: 1px solid rgba(215,222,232,.95); border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 18px 42px rgba(7,27,63,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.home-search-wrap .search-suggestion-panel { top: calc(100% - 1px); }
.catalogue-search-suggestions { position: relative; inset: auto; margin: -7px 0 13px; }
.search-suggestion-panel button { width: 100%; min-height: 54px; display: grid; grid-template-columns: 43px minmax(0,1fr) 18px; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 6px 8px; color: var(--ink); background: transparent; text-align: left; }
.search-suggestion-panel button:active { background: #f0f4f8; transform: scale(.99); }
.search-suggestion-panel img { width: 43px; height: 43px; object-fit: contain; border-radius: 10px; background: #f5f7fa; }
.search-suggestion-panel span,.search-suggestion-panel strong,.search-suggestion-panel small { display: block; min-width: 0; }
.search-suggestion-panel strong { overflow: hidden; font-size: .75rem; line-height: 1.18; white-space: nowrap; text-overflow: ellipsis; }
.search-suggestion-panel small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: .62rem; white-space: nowrap; text-overflow: ellipsis; }
.search-suggestion-panel button > b { color: #738095; font-size: 1.2rem; font-weight: 500; }
html[data-theme="dark"] .search-suggestion-panel { border-color:#334155; background:rgba(23,34,51,.98); }
html[data-theme="dark"] .search-suggestion-panel button:active { background:#253247; }
html[data-theme="dark"] .search-suggestion-panel img { background:#111b2a; }

/* Back to Profile when Orders/Wishlist were opened from Account */
.profile-return-row { min-height: 52px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: -8px 0 10px; }
.profile-return-row button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); box-shadow: 0 6px 18px rgba(7,27,63,.07); }
.profile-return-row button:active { transform: scale(.94); }
.profile-return-row svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-return-row strong { font-size: .9rem; text-align: center; }

.ops-shell { min-height: 100dvh; color: #17253a; background: #f1f4f8; }.ops-header { position: sticky; z-index: 10; top: 0; min-height: calc(64px + env(safe-area-inset-top)); display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) max(16px,calc((100vw - 1180px)/2)) 10px; color: white; background: #071c3d; }.ops-brand,.ops-header-actions { display: flex; gap: 8px; align-items: center; }.ops-brand { min-width: 0; }.ops-header img { flex: none; width: 40px; height: 40px; object-fit: contain; }.ops-header small,.ops-header strong { display: block; }.ops-header small { color: #9cb1ce; font-size: .58rem; }.ops-header button,.ops-header a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #5d7392; border-radius: 9px; padding: 8px 11px; color: white; background: transparent; font-weight: 800; text-decoration: none; }.ops-header #ops-customer-preview { border-color: #ff9d53; background: #a94400; }
.ops-header #ops-signout { position: relative; z-index: 12; min-width: 82px; margin-right: env(safe-area-inset-right); touch-action: manipulation; }
.ops-main { max-width: 1180px; margin: auto; padding: 24px 18px 70px; }.ops-hero { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 24px; border-radius: 22px; color: white; background: linear-gradient(120deg,#0b2d60,#15558a); }.ops-hero h1 { margin: 4px 0; }.ops-hero p:last-child { margin: 0; color: #c9daed; }.ops-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.ops-metrics span { min-width: 100px; padding: 13px; border-radius: 13px; background: rgba(255,255,255,.11); font-size: .63rem; }.ops-metrics strong { display: block; font-size: 1.35rem; }
.ops-tabs { display: flex; gap: 5px; overflow-x: auto; margin: 18px 0; padding: 5px; border-radius: 13px; background: white; }.ops-tabs button { flex: 1 0 auto; border: 0; border-radius: 9px; padding: 10px 16px; color: #667387; background: transparent; font-weight: 800; }.ops-tabs button.is-active { color: white; background: var(--navy); }
.ops-panel { display: none; padding: 20px; border-radius: 18px; background: white; }.ops-panel.is-active { display: block; }.ops-section-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }.ops-section-head h2 { margin: 2px 0; }.ops-section-head select,.ops-search input,.ops-card select,.ops-card input { border: 1px solid #d6dde7; border-radius: 9px; padding: 9px; background: white; }.ops-search { display: grid; gap: 6px; margin-bottom: 12px; color: #657186; font-size: .7rem; font-weight: 800; }.ops-list { display: grid; gap: 10px; }.ops-card { padding: 15px; border: 1px solid #e0e5ec; border-radius: 14px; background: #fafbfd; }.ops-card h3 { margin: 3px 0; color: var(--navy); }.ops-card p { color: #5f6c80; font-size: .74rem; line-height: 1.5; }.ops-card small { color: #7b8798; line-height: 1.6; }.ops-card-head { display: flex; justify-content: space-between; gap: 14px; }.ops-card label { display: grid; gap: 5px; margin-top: 9px; color: #647186; font-size: .65rem; font-weight: 800; }.ops-order-items { padding: 10px; border-radius: 9px; background: white; }.small-action,.ops-actions button { margin-top: 10px; border: 0; border-radius: 8px; padding: 9px 12px; color: white; background: var(--navy); font-weight: 800; }.ops-actions { display: flex; gap: 8px; }.ops-actions button:last-child { background: #9a3640; }.ops-empty { padding: 34px; color: #788397; text-align: center; }.broadcast-form { max-width: 620px; display: grid; gap: 12px; }.broadcast-form > p { color: #7b8797; font-size: .65rem; }.approval-approved { color: #188356; }.approval-pending { color: #b36b00; }.approval-rejected { color: #a02f3a; }
.customer-last-seen { flex: none; color: #7b8798; font-size: .62rem; text-align: right; }.customer-last-seen strong { color: var(--navy); font-size: .68rem; }.customer-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 13px; }.customer-metrics span { padding: 10px 7px; border-radius: 10px; color: #68758a; background: white; font-size: .58rem; text-align: center; }.customer-metrics strong { display: block; color: var(--navy); font-size: 1rem; }.customer-misses { margin: 10px 0 0; padding: 9px; border-radius: 9px; background: #fff5e9; }.customer-orders { margin-top: 13px; padding-top: 11px; border-top: 1px solid #e5e9ef; }.customer-order-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; padding: 8px 0; border-bottom: 1px solid #edf0f4; }.customer-order-line > strong { color: var(--navy); font-size: .65rem; }.customer-order-line > span { grid-column: 1 / -1; color: #59677b; font-size: .68rem; line-height: 1.4; }.customer-order-line > small { grid-column: 2; grid-row: 1; white-space: nowrap; }
.demand-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.demand-columns > section { min-width: 0; padding: 15px; border: 1px solid #e1e6ed; border-radius: 15px; background: #f8fafc; }.demand-subhead { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; }.demand-subhead h3 { margin: 0; color: var(--navy); }.demand-subhead span { padding: 5px 8px; border-radius: 999px; color: #784000; background: #fff1d6; font-size: .62rem; font-weight: 850; }.demand-count { flex: none; min-width: 72px; padding: 9px; border-radius: 11px; color: #69758a; background: white; font-size: .58rem; text-align: center; }.demand-count strong { display: block; color: var(--navy); font-size: 1.2rem; }.demand-priority { margin-top: 11px; display: grid; gap: 4px; }.demand-priority b { color: #a85a00; font-size: .66rem; }.demand-priority span { color: #657287; font-size: .67rem; line-height: 1.45; }.request-priority { flex: none; padding: 6px 8px; border-radius: 999px; color: #9a4d00; background: #fff0d6; font-size: .6rem; font-weight: 850; }.request-card h3 { max-width: 720px; }.request-card label { max-width: 220px; }
.ops-metrics { grid-template-columns: repeat(4,1fr); }.ops-metrics span { min-width: 86px; }
.demand-priority em { width: fit-content; padding: 4px 7px; border-radius: 999px; color: #714600; background: #fff1cf; font-size: .58rem; font-style: normal; font-weight: 850; }.demand-card.has-preview-signal { border-color: #efc773; background: #fffbf1; }
@media(max-width:700px){.auth-card{padding:24px 20px}.profile-name-row{grid-template-columns:1fr}.header-actions{gap:5px}.wishlist-button,.notification-button{width:36px;height:36px}.ops-header{align-items:flex-end}.ops-header img{width:36px;height:36px}.ops-header small{display:none}.ops-header strong{font-size:.8rem}.ops-header button{min-height:44px;padding:8px 9px;font-size:.68rem}.ops-hero{display:block;padding:19px}.ops-metrics{margin-top:16px;grid-template-columns:repeat(2,1fr)}.ops-metrics span{min-width:0}.ops-panel{padding:15px}.ops-section-head{align-items:start}.ops-card-head{display:block}.customer-last-seen{margin-top:9px;text-align:left}.customer-metrics{grid-template-columns:1fr 1fr}.stock-admin-row{grid-template-columns:38px minmax(0,1fr) 92px}.demand-columns{grid-template-columns:1fr}.demand-count,.request-priority{display:inline-block;margin-top:9px}.wishlist-summary{display:block}.wishlist-summary span{display:block;margin-top:4px;text-align:left}}

/* Version 56 — Vitamin Pop glass access console */
.auth-gate {
  isolation: isolate;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next Rounded", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(255,245,92,.96) 0 8%, transparent 29%),
    radial-gradient(circle at 94% 11%, rgba(255,92,116,.88) 0 9%, transparent 31%),
    radial-gradient(circle at 86% 92%, rgba(119,86,255,.82) 0 9%, transparent 31%),
    radial-gradient(circle at 13% 88%, rgba(71,231,194,.94) 0 10%, transparent 30%),
    linear-gradient(135deg,#ffca3a 0%,#ff8a5b 31%,#f665a8 61%,#65e5c4 100%);
  background-size: 150% 150%;
  animation: auth-colour-flow 10s ease-in-out infinite alternate;
}
.auth-gate::before,
.auth-gate::after {
  z-index: -1;
  border: 2px solid rgba(255,255,255,.44);
  background: linear-gradient(145deg,rgba(255,255,255,.23),rgba(255,255,255,.05));
  box-shadow: inset 0 0 60px rgba(255,255,255,.18), 0 24px 70px rgba(77,31,78,.12);
  animation: auth-liquid-orbit 12s ease-in-out infinite;
}
.auth-gate::before { width: 540px; height: 540px; top: -260px; right: -210px; border-radius: 42% 58% 62% 38%/43% 39% 61% 57%; }
.auth-gate::after { width: 440px; height: 440px; bottom: -225px; left: -190px; border-radius: 57% 43% 38% 62%/52% 61% 39% 48%; animation-direction: reverse; animation-duration: 15s; }
.auth-card {
  width: min(100%,460px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  color: #281737;
  background: linear-gradient(145deg,rgba(255,255,255,.66),rgba(255,255,255,.42));
  box-shadow: 0 28px 70px rgba(68,27,69,.2), inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(32px) saturate(1.42);
  -webkit-backdrop-filter: blur(32px) saturate(1.42);
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 27px;
  pointer-events: none;
}
.auth-brand img { width: 58px; height: 58px; filter: drop-shadow(0 8px 14px rgba(89,35,45,.18)); }
.auth-brand strong { color: #281737; font-size: .94rem; letter-spacing: .035em; }
.auth-brand small { color: #674c72; font-size: .68rem; }
.auth-trust-pill {
  margin-top: 20px;
  color: #321a41;
  background: linear-gradient(110deg,rgba(217,255,88,.92),rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 7px 18px rgba(92,54,50,.1);
  transform: rotate(-1deg);
}
.auth-card h1,
.auth-form h2 { color: #281737; font-family: ui-rounded,"Arial Rounded MT Bold","Avenir Next Rounded","Trebuchet MS",sans-serif; }
.auth-card h1 { font-size: clamp(2rem,7.4vw,2.62rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.auth-card > p:not(.auth-status) { color: #604769; font-size: .84rem; font-weight: 650; }
.auth-form label { color: #432b50; font-size: .77rem; }
.auth-form input {
  border: 1px solid rgba(255,255,255,.82);
  color: #281737;
  background: rgba(255,255,255,.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 9px 24px rgba(75,39,76,.08);
}
.auth-form input::placeholder { color: #8c7893; }
.auth-form input:focus { border-color: #ff6b64; background: rgba(255,255,255,.78); box-shadow: 0 0 0 4px rgba(255,107,100,.18),0 10px 24px rgba(75,39,76,.1); }
.auth-card .primary-action {
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  color: #281737;
  background: linear-gradient(110deg,#d9ff58 0%,#ffea54 40%,#ff8064 100%);
  box-shadow: 0 13px 26px rgba(130,50,62,.2),inset 0 1px 0 rgba(255,255,255,.62);
  transition: transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.auth-card .primary-action:hover { filter: saturate(1.12); transform: translateY(-2px); box-shadow: 0 17px 30px rgba(130,50,62,.24),inset 0 1px 0 rgba(255,255,255,.7); }
.auth-card .primary-action:active { transform: translateY(1px) scale(.99); }
.auth-continue b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: #6f42e8; box-shadow: 0 6px 14px rgba(94,57,189,.24); }
.otp-help,.otp-intro { color: #6f5777; }
.business-access {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  color: #281737;
  background: rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8),0 9px 22px rgba(74,38,72,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.business-access span { color: #725c7a; }
.business-access b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #281737; background: #77e6c3; }
.auth-loading { color: #5d4567; font-weight: 750; }
.auth-loading span { border-color: rgba(255,255,255,.72); border-top-color: #ff5c74; }
.auth-status { color: #8b2448; font-weight: 750; }
.text-action,.auth-back { color: #643e86; }

@keyframes auth-colour-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
@keyframes auth-liquid-orbit {
  0%,100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(13deg) scale(1.07); border-radius: 61% 39% 57% 43%/38% 58% 42% 62%; }
}
@media (max-width:700px) {
  .auth-gate { padding: max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom)); }
  .auth-card { padding: 24px 20px; border-radius: 30px; }
  .auth-card h1 { font-size: clamp(1.92rem,9vw,2.35rem); }
}
@media (prefers-reduced-motion:reduce) {
  .auth-gate,.auth-gate::before,.auth-gate::after { animation: none; }
  .auth-card .primary-action { transition: none; }
}

/* Version 57 — customer profile glass console */
.account-information-form {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px;
  gap: 17px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 30px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.38)),
    radial-gradient(circle at 8% 4%,rgba(217,255,88,.24),transparent 28%),
    radial-gradient(circle at 94% 18%,rgba(119,230,195,.23),transparent 30%),
    radial-gradient(circle at 76% 92%,rgba(255,128,100,.18),transparent 32%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95),0 22px 54px rgba(64,35,74,.12);
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
}
.account-information-form::before,
.account-information-form::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
}
.account-information-form::before {
  width: 150px;
  height: 150px;
  top: -72px;
  right: -38px;
  background: linear-gradient(145deg,rgba(255,227,80,.42),rgba(255,107,100,.18));
}
.account-information-form::after {
  width: 130px;
  height: 130px;
  bottom: 74px;
  left: -68px;
  background: linear-gradient(145deg,rgba(119,230,195,.32),rgba(111,66,232,.14));
}
.account-information-form label { color: #432b50; font-weight: 850; }
.account-information-form label > span { font-weight: 850; }
.account-information-form label em { color: #7b6682; font-style: normal; font-weight: 650; }
.account-information-form input,
.account-information-form select,
.account-information-form textarea,
.account-information-form .mobile-field {
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 17px;
  color: #281737;
  background: rgba(255,255,255,.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96),0 9px 24px rgba(75,39,76,.075);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;
}
.account-information-form input:focus,
.account-information-form select:focus,
.account-information-form textarea:focus,
.account-information-form .mobile-field:focus-within {
  border-color: rgba(255,107,100,.8);
  background: rgba(255,255,255,.78);
  box-shadow: 0 0 0 4px rgba(255,107,100,.15),0 11px 26px rgba(75,39,76,.1);
}
.account-information-form .mobile-field input,
.account-information-form .mobile-field input:focus {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.account-information-form .mobile-field > span {
  color: #725c7a;
  border-right-color: rgba(91,67,101,.14);
}
.account-information-form .profile-required {
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 20px;
  color: #563020;
  background: linear-gradient(120deg,rgba(255,234,84,.38),rgba(255,128,100,.14),rgba(255,255,255,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),0 8px 22px rgba(112,64,55,.07);
}
.account-information-form .primary-action {
  min-height: 58px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 18px;
  color: #281737;
  background: linear-gradient(110deg,#d9ff58 0%,#ffea54 42%,#ff8064 100%);
  box-shadow: 0 14px 28px rgba(130,50,62,.19),inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.account-information-form .primary-action:active { transform: scale(.985); }
.account-information-form .primary-action:disabled { cursor: wait; filter: grayscale(.2); opacity: .72; }
.account-information-form .form-status { color: #563d60; font-weight: 800; }
.account-information-form .form-status.is-success { color: #147153; }
.account-information-form .form-status.is-error { color: #a52b4f; }
html[data-theme="dark"] .account-information-form {
  border-color: rgba(255,255,255,.17);
  background: linear-gradient(145deg,rgba(48,34,60,.84),rgba(25,23,40,.7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16),0 22px 54px rgba(0,0,0,.28);
}
html[data-theme="dark"] .account-information-form label { color: #f5eefa; }
html[data-theme="dark"] .account-information-form label em,
html[data-theme="dark"] .account-information-form .mobile-field > span { color: #c7b8ce; }
html[data-theme="dark"] .account-information-form input,
html[data-theme="dark"] .account-information-form select,
html[data-theme="dark"] .account-information-form textarea,
html[data-theme="dark"] .account-information-form .mobile-field { color: #fff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); }
html[data-theme="dark"] .account-information-form .mobile-field input { background: transparent; }
@media (max-width:700px) {
  .account-information-form { padding: 18px; border-radius: 27px; }
}

/* Version 58 — safe-area masthead and unmistakable touch controls */
.screen[data-screen="home"] {
  padding-top: max(10px,env(safe-area-inset-top));
}
.screen:not([data-screen="home"]) {
  padding-top: calc(24px + env(safe-area-inset-top));
}
.screen[data-screen="account"] {
  padding-top: calc(16px + env(safe-area-inset-top));
}
.customer-home-masthead {
  padding: 6px 20px 13px;
  color: #281737;
  background:
    radial-gradient(circle at 92% 12%,rgba(119,230,195,.36),transparent 26%),
    radial-gradient(circle at 8% 5%,rgba(255,234,84,.48),transparent 28%),
    linear-gradient(135deg,#fff7b8 0%,#ffe16d 48%,#ffb578 100%);
  font-family: ui-rounded,"Arial Rounded MT Bold","Avenir Next Rounded","Trebuchet MS",sans-serif;
}
.customer-home-masthead > p {
  margin: 0;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: -.015em;
}
.customer-home-masthead > h1 {
  margin: 2px 0 3px;
  font-size: clamp(1.72rem,8vw,2.25rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.customer-home-masthead > button {
  max-width: 100%;
  min-height: 28px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  color: #281737;
  background: transparent;
  text-align: left;
}
.customer-home-masthead > button span { font-size: .76rem; font-weight: 950; letter-spacing: .015em; }
.customer-home-masthead > button strong { overflow: hidden; font-size: .78rem; font-weight: 750; white-space: nowrap; text-overflow: ellipsis; }
.customer-home-masthead > button b { font-size: 1rem; }
.home-sticky-tools {
  top: max(8px,env(safe-area-inset-top));
}
body.admin-customer-preview .screen[data-screen="home"] { padding-top: 10px; }
body.admin-customer-preview .home-sticky-tools { top: calc(54px + env(safe-area-inset-top)); }

.inline-qty-row {
  grid-template-columns: minmax(0,1fr) 34px;
}
.inline-qty {
  width: 100%;
  grid-template-columns: 27px minmax(18px,1fr) 27px;
  overflow: visible;
}
.inline-qty button {
  min-width: 27px;
  width: 27px;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}
.inline-qty button:last-child {
  color: #0a5f49;
  background: rgba(119,230,195,.24);
  border-radius: 0 8px 8px 0;
}
.product-actions { grid-template-columns: 34px minmax(0,1fr); }
@media (max-width:719px) {
  .product-rail .product-actions:has(.inline-order-control) { grid-template-columns: minmax(0,1fr); }
  .product-rail .product-actions:has(.inline-order-control) > .detail-button { display: none; }
}

.account-information-form .profile-submit-button {
  position: relative;
  min-height: 60px;
  color: #17111e;
  background: linear-gradient(180deg,#ffe85d 0%,#ffd12f 100%);
  border: 1px solid rgba(130,87,0,.18);
  box-shadow: 0 8px 0 #d29a13,0 15px 28px rgba(120,72,10,.2),inset 0 1px 0 rgba(255,255,255,.78);
  transform: translateY(0);
  transition: transform .09s ease,box-shadow .09s ease,filter .18s ease;
}
.account-information-form .profile-submit-button:active,
.account-information-form .profile-submit-button.is-pressed {
  transform: translateY(6px) scale(.985);
  box-shadow: 0 2px 0 #b98108,0 7px 14px rgba(120,72,10,.18),inset 0 3px 7px rgba(128,83,0,.16);
  filter: saturate(1.08);
}
.account-information-form .profile-submit-button:disabled {
  color: #17111e;
  background: linear-gradient(180deg,#ffe77b,#ffd94f);
  box-shadow: 0 3px 0 #c69518,0 8px 18px rgba(120,72,10,.15),inset 0 2px 5px rgba(128,83,0,.12);
  transform: translateY(4px);
}
html[data-theme="dark"] .customer-home-masthead { color:#281737; }
@media (min-width:720px) {
  .customer-home-masthead { padding-inline: max(26px,calc((100vw - 1180px)/2)); }
  .screen:not([data-screen="home"]) { padding-top: calc(34px + env(safe-area-inset-top)); }
  .screen[data-screen="account"] { padding-top: calc(22px + env(safe-area-inset-top)); }
}

/* Version 59 — edge-to-edge ombré safe area and fluid product-detail motion */
.app-shell {
  --page-top-tone: #f4ecff;
  background:
    linear-gradient(180deg,var(--page-top-tone) 0,color-mix(in srgb,var(--page-top-tone) 62%,var(--app-bg)) 118px,var(--app-bg) 235px) no-repeat,
    var(--app-bg);
}
body[data-active-screen="home"] .app-shell { --page-top-tone:#ffe16d; }
body[data-active-screen="products"] .app-shell { --page-top-tone:#edf3f8; }
body.category-view .app-shell { --page-top-tone:var(--category-soft); }
body[data-active-screen="orders"] .app-shell,
body[data-active-screen="wishlist"] .app-shell,
body[data-active-screen="notifications"] .app-shell { --page-top-tone:#e7f8f1; }
body[data-active-screen="account"] .app-shell { --page-top-tone:#f4ecff; }
.screen[data-screen="home"] {
  background: linear-gradient(180deg,rgba(255,225,109,.94) 0,rgba(255,239,166,.62) calc(env(safe-area-inset-top) + 24px),transparent calc(env(safe-area-inset-top) + 105px));
}
.screen[data-screen="products"] {
  background: linear-gradient(180deg,color-mix(in srgb,var(--page-top-tone) 92%,white) 0,transparent calc(env(safe-area-inset-top) + 150px));
}
body.category-view .screen[data-screen="products"] {
  background: linear-gradient(180deg,var(--category-soft) 0,color-mix(in srgb,var(--category-soft) 50%,transparent) calc(env(safe-area-inset-top) + 120px),transparent calc(env(safe-area-inset-top) + 220px));
}
html[data-theme="dark"] .app-shell { --page-top-tone:#2a2036; }
html[data-theme="dark"] body[data-active-screen="home"] .app-shell { --page-top-tone:#4b3b20; }

.product-dialog { --detail-expand-scale:1.095; }
.product-dialog .detail-carousel {
  transition: background-color .34s ease,opacity .28s ease;
}
.product-dialog .detail-carousel-track {
  will-change: transform;
  transition: transform .3s cubic-bezier(.22,.82,.28,1);
}
.product-dialog .detail-card {
  backface-visibility: hidden;
  transform: translateZ(0) scale(1);
  transform-origin: center top;
  will-change: transform,opacity,border-radius;
  transition: transform .38s cubic-bezier(.22,.82,.28,1),border-radius .34s ease,box-shadow .34s ease,opacity .28s ease;
}
.product-dialog .detail-card-scroll {
  backface-visibility: hidden;
  transform: translateZ(0);
}
.product-dialog.is-opening .detail-carousel { opacity:0; }
.product-dialog.is-opening .detail-card.is-current {
  opacity:0;
  transform:translate3d(0,18px,0) scale(.94);
}
.product-dialog.is-detail-expanded .detail-card.is-current {
  transform:translateZ(0) scaleX(var(--detail-expand-scale)) scaleY(1.008);
}
.product-dialog.is-detail-expanded .detail-card:not(.is-current) {
  opacity:0;
  transform:translateZ(0) scale(.96);
}
.product-dialog.is-closing .detail-carousel {
  background-color:transparent;
  opacity:0;
}
.product-dialog.is-closing .detail-card.is-current {
  opacity:0;
  transform:translate3d(0,16px,0) scale(.94);
}
.product-dialog.is-closing .detail-card:not(.is-current) { opacity:0; }
@media (prefers-reduced-motion:reduce) {
  .product-dialog .detail-carousel,
  .product-dialog .detail-carousel-track,
  .product-dialog .detail-card { transition-duration:.01ms; }
}

/* Version 60 — one continuous home-header ombré, without a masthead seam */
body[data-active-screen="home"] .app-shell {
  background: var(--app-bg);
}
.screen[data-screen="home"] {
  background:
    radial-gradient(circle at 92% calc(env(safe-area-inset-top) + 17px),rgba(119,230,195,.34),transparent 29%),
    radial-gradient(circle at 8% calc(env(safe-area-inset-top) + 12px),rgba(255,244,137,.54),transparent 31%),
    linear-gradient(135deg,#fff7b8 0%,#ffe16d 52%,#ffb578 100%);
  background-repeat: no-repeat;
  background-size: 100% calc(env(safe-area-inset-top) + 112px);
}
.customer-home-masthead {
  background: transparent;
}
html[data-theme="dark"] body[data-active-screen="home"] .app-shell {
  background: var(--app-bg);
}

/* Version 64 — seamless status-area canvas, localisation and personalised business hub */
body[data-active-screen]:not([data-active-screen="home"]) .app-shell {
  background: var(--app-bg);
}
.screen:not([data-screen="home"]) {
  background:
    radial-gradient(circle at 91% calc(env(safe-area-inset-top) + 18px),color-mix(in srgb,var(--page-top-tone) 72%,white),transparent 32%),
    linear-gradient(180deg,var(--page-top-tone) 0,color-mix(in srgb,var(--page-top-tone) 62%,var(--app-bg)) 72%,var(--app-bg) 100%);
  background-repeat: no-repeat;
  background-size: 100% calc(env(safe-area-inset-top) + 210px);
}
.screen[data-screen="products"] .catalogue-theme-zone {
  margin-top: calc(-24px - env(safe-area-inset-top));
  padding-top: calc(24px + env(safe-area-inset-top));
}
body.category-view .screen[data-screen="products"] {
  background: var(--app-bg);
}
@media (min-width:720px) {
  .screen[data-screen="products"] .catalogue-theme-zone {
    margin-top: calc(-34px - env(safe-area-inset-top));
    padding-top: calc(34px + env(safe-area-inset-top));
  }
}

/* Version 67 — approved corporate access experience */
.auth-gate {
  isolation: isolate;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: max(42px,env(safe-area-inset-top)) 24px max(34px,env(safe-area-inset-bottom));
  color: #25282e;
  background:
    radial-gradient(circle at 50% 12%,rgba(204,158,55,.10),transparent 29%),
    linear-gradient(145deg,#fbfaf6 0%,#f7f3eb 56%,#f2ecdf 100%);
  background-size: auto;
  animation: none;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
}
.auth-gate::before {
  display: block;
  width: 360px;
  height: 620px;
  top: -310px;
  right: -250px;
  border: 1px solid rgba(192,142,35,.25);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  animation: none;
}
.auth-gate::after {
  display: block;
  width: 540px;
  height: 540px;
  left: -380px;
  bottom: -360px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: rgba(255,255,255,.17);
  box-shadow: none;
  animation: none;
}
.auth-card {
  width: min(100%,460px);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #25282e;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.auth-card::before { display: none; }
.auth-brand { gap: 14px; }
.auth-brand img {
  width: 68px;
  height: 68px;
  border: 1px solid #e4d8c1;
  border-radius: 20px;
  object-fit: cover;
  filter: none;
  box-shadow: 0 9px 24px rgba(41,39,34,.07);
}
.auth-brand span { gap: 4px; }
.auth-brand strong {
  color: #25282e;
  font-size: .96rem;
  font-weight: 800;
  letter-spacing: .055em;
}
.auth-brand small { color: #706d65; font-size: .69rem; font-weight: 550; }
.auth-trust-pill {
  margin: 25px 0 29px;
  padding: 8px 14px;
  border: 1px solid #d7b15c;
  border-radius: 999px;
  color: #9a6910;
  background: rgba(255,255,255,.38);
  box-shadow: none;
  transform: none;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .17em;
}
.auth-card h1,
.auth-form h2 {
  color: #25282e;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
}
.auth-card h1 {
  margin: 0;
  font-size: clamp(2.45rem,10vw,3.55rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.055em;
}
.auth-card > p:not(.auth-status) {
  margin: 11px 0 0;
  color: #66656a;
  font-size: .96rem;
  line-height: 1.45;
  font-weight: 500;
}
.auth-install-cta {
  min-height: 58px;
  margin: 18px 0 0;
  border: 1px solid #ddd2bd;
  border-radius: 15px;
  color: #25282e;
  background: rgba(255,255,255,.48);
  box-shadow: none;
}
.auth-install-icon { border-radius: 11px; color: #25282e; background: #d9ae50; box-shadow: none; }
.auth-install-cta small { color: #77736c; }
.auth-loading { margin-top: 24px; color: #6f6d67; font-weight: 600; }
.auth-loading span { border-color: #dfd8cb; border-top-color: #b98018; }
.auth-form {
  gap: 16px;
  margin-top: 29px;
  padding: 23px;
  border: 1px solid #ded5c5;
  border-radius: 24px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 20px 55px rgba(55,49,38,.07);
}
.auth-form h2 { font-size: 1.08rem; }
.auth-form label { gap: 8px; color: #34363b; font-size: .78rem; font-weight: 750; }
.auth-form input {
  min-height: 56px;
  border: 1px solid #cfc9bd;
  border-radius: 14px;
  color: #25282e;
  background: rgba(255,255,255,.8);
  box-shadow: none;
}
.auth-form input::placeholder { color: #85858b; }
.auth-form input:focus {
  border-color: #b17c19;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(191,143,45,.12);
}
.auth-card .primary-action {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #292c32;
  box-shadow: 0 12px 26px rgba(37,40,46,.14);
  transition: transform .16s ease,background .16s ease,box-shadow .16s ease;
}
.auth-card .primary-action:hover { filter: none; transform: translateY(-1px); background: #1f2227; box-shadow: 0 15px 30px rgba(37,40,46,.18); }
.auth-card .primary-action:active { transform: translateY(1px) scale(.995); box-shadow: 0 7px 16px rgba(37,40,46,.13); }
.auth-continue b {
  width: auto;
  height: auto;
  color: #d9ae50;
  background: transparent;
  box-shadow: none;
  font-size: 1.45rem;
}
.otp-help,.otp-intro { color: #777570; font-size: .72rem; text-align: left; }
.business-access {
  min-height: 64px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid #d8d1c4;
  border-radius: 16px;
  color: #25282e;
  background: rgba(255,255,255,.46);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.business-access span { color: #77736c; }
.business-access strong { font-size: .83rem; }
.business-access b {
  width: 36px;
  height: 36px;
  border: 1px solid #e3d6bd;
  color: #25282e;
  background: #f4ead7;
}
.auth-status { color: #8a3e2b; }
.text-action,.auth-back { color: #8b6219; }
@media(max-width:700px) {
  .auth-gate { align-items: start; padding: max(36px,env(safe-area-inset-top)) 24px max(30px,env(safe-area-inset-bottom)); }
  .auth-card { padding: 0; border-radius: 0; }
  .auth-brand img { width: 62px; height: 62px; border-radius: 18px; }
  .auth-trust-pill { margin: 23px 0 26px; }
  .auth-card h1 { font-size: clamp(2.35rem,12vw,3.1rem); }
  .auth-form { padding: 20px; border-radius: 21px; }
}
@media(max-height:700px) {
  .auth-gate { align-items: start; }
  .auth-trust-pill { margin: 18px 0; }
  .auth-card h1 { font-size: 2.15rem; }
  .auth-form { margin-top: 19px; padding: 17px; }
}
@media(prefers-reduced-motion:reduce) {
  .auth-card .primary-action { transition: none; }
}

/* Version 69 — Corporate graphite operations command centre */
.ops-shell {
  --ops-ink:#1f2329;
  --ops-graphite:#292d33;
  --ops-graphite-deep:#1b1e23;
  --ops-gold:#c9972e;
  --ops-gold-light:#e4c36d;
  --ops-ivory:#f6f3ed;
  --ops-paper:#fffdfa;
  --ops-line:#ddd6ca;
  min-height:100dvh;
  color:var(--ops-ink);
  background:
    linear-gradient(rgba(41,45,51,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(41,45,51,.025) 1px,transparent 1px),
    radial-gradient(circle at 92% 3%,rgba(201,151,46,.14),transparent 24%),
    var(--ops-ivory);
  background-size:36px 36px,36px 36px,auto,auto;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
}
.ops-header {
  min-height:calc(72px + env(safe-area-inset-top));
  padding:calc(12px + env(safe-area-inset-top)) max(18px,calc((100vw - 1240px)/2)) 12px;
  color:#fff;
  background:rgba(28,31,36,.96);
  border-bottom:1px solid rgba(228,195,109,.34);
  box-shadow:0 12px 30px rgba(24,25,28,.13);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.ops-header::after { content:""; position:absolute; right:0; bottom:-1px; left:0; height:2px; background:linear-gradient(90deg,transparent,var(--ops-gold),transparent); opacity:.72; }
.ops-header small { color:#d6c9ad; letter-spacing:.16em; }
.ops-header strong { color:#fff; font-size:.92rem; letter-spacing:.01em; }
.ops-header button,.ops-header a { border-color:#625f59; border-radius:10px; color:#f8f3e8; background:#30343a; }
.ops-header #ops-customer-preview { border-color:#b98c32; color:#2b2418; background:linear-gradient(135deg,#efd17d,#c9972e); box-shadow:0 8px 18px rgba(201,151,46,.18); }
.ops-main { max-width:1240px; padding:28px 20px 80px; }
.ops-hero {
  position:relative;
  overflow:hidden;
  align-items:center;
  min-height:178px;
  padding:30px;
  border:1px solid #45484e;
  border-radius:22px;
  color:#fff;
  background:linear-gradient(125deg,#1d2025 0%,#30343a 68%,#3a3428 100%);
  box-shadow:0 18px 42px rgba(27,30,35,.16);
}
.ops-hero::before { content:""; position:absolute; width:390px; height:390px; top:-260px; right:-60px; border:1px solid rgba(228,195,109,.28); border-radius:50%; box-shadow:0 0 0 46px rgba(228,195,109,.04),0 0 0 92px rgba(228,195,109,.025); }
.ops-hero::after { content:""; position:absolute; right:0; bottom:0; left:0; height:3px; background:linear-gradient(90deg,#7c5919,#e8c667,#a6761c); }
.ops-hero > * { position:relative; z-index:1; }
.ops-hero .eyebrow { color:var(--ops-gold-light); letter-spacing:.2em; }
.ops-hero h1 { margin:7px 0 6px; font-size:clamp(1.8rem,4vw,2.7rem); font-weight:760; letter-spacing:-.035em; }
.ops-hero p:last-child { color:#c8c7c3; font-size:.78rem; }
.ops-metrics { grid-template-columns:repeat(4,minmax(92px,1fr)); gap:9px; }
.ops-metrics span { min-width:92px; padding:15px; border:1px solid rgba(228,195,109,.2); border-radius:12px; color:#d7d6d2; background:rgba(255,255,255,.055); backdrop-filter:blur(8px); }
.ops-metrics strong { margin-bottom:3px; color:#f1d277; font-size:1.45rem; }
.ops-tabs { gap:7px; margin:20px 0; padding:6px; border:1px solid var(--ops-line); border-radius:14px; background:rgba(255,253,250,.82); box-shadow:0 8px 26px rgba(33,35,38,.055); backdrop-filter:blur(16px); }
.ops-tabs button { min-height:42px; border:1px solid transparent; border-radius:9px; color:#6d6a64; }
.ops-tabs button:hover { color:var(--ops-ink); background:#f2eee6; }
.ops-tabs button.is-active { border-color:#30343a; color:#fff; background:linear-gradient(135deg,#1f2227,#373b41); box-shadow:0 8px 18px rgba(31,34,39,.13); }
.ops-panel { padding:24px; border:1px solid var(--ops-line); border-radius:18px; background:rgba(255,253,250,.88); box-shadow:0 18px 44px rgba(33,35,38,.065); backdrop-filter:blur(14px); }
.ops-section-head h2,.ops-card h3,.demand-subhead h3,.customer-activity-card h3 { color:var(--ops-ink); }
.ops-section-head .eyebrow,.ops-card .eyebrow { color:#9a6b16; }
.ops-section-head select,.ops-search input,.ops-card select,.ops-card input,.customer-directory-controls input,.customer-directory-controls select { border-color:#d7d0c4; color:var(--ops-ink); background:#fffdfa; }
.ops-section-head select:focus,.ops-search input:focus,.ops-card select:focus,.ops-card input:focus,.customer-directory-controls input:focus,.customer-directory-controls select:focus { outline:0; border-color:#bd8b26; box-shadow:0 0 0 4px rgba(201,151,46,.11); }
.ops-card { border-color:#dfd8ce; border-radius:14px; background:#fffdfa; box-shadow:0 8px 22px rgba(35,35,34,.045); }
.ops-card p,.ops-card small { color:#6f6d68; }
.ops-order-items,.customer-metrics span,.demand-count { background:#f5f1e9; }
.small-action,.ops-actions button { color:#fff; background:#2b2f34; }
.demand-columns > section { border-color:#ddd6ca; background:#f7f3eb; }
.demand-subhead span,.request-priority { color:#6f4a09; background:#f5e4ba; }

.customer-intelligence-panel { overflow:hidden; }
.customer-intelligence-head { align-items:flex-start; }
.customer-intelligence-head p:last-child { margin:6px 0 0; color:#74716b; font-size:.74rem; }
.live-data-pill { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid #d9d2c7; border-radius:999px; color:#52514e; background:#fff; font-size:.64rem; font-weight:780; white-space:nowrap; }
.live-data-pill i { width:7px; height:7px; border-radius:50%; background:#29956b; box-shadow:0 0 0 4px rgba(41,149,107,.12); }
.customer-insight-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:20px 0; }
.customer-insight-strip span { position:relative; overflow:hidden; min-height:116px; padding:17px; border:1px solid #ddd5c8; border-radius:14px; background:linear-gradient(145deg,#fffefa,#f3eee4); box-shadow:0 8px 22px rgba(34,35,38,.045); }
.customer-insight-strip span::after { content:""; position:absolute; width:54px; height:54px; right:-20px; bottom:-20px; border:12px solid rgba(201,151,46,.09); border-radius:50%; }
.customer-insight-strip span:last-child { border-color:#3b3e43; color:#fff; background:linear-gradient(135deg,#24272c,#3a3d42); }
.customer-insight-strip small,.customer-insight-strip strong,.customer-insight-strip em { display:block; }
.customer-insight-strip small { color:#8a6a2b; font-size:.59rem; font-weight:850; letter-spacing:.12em; }
.customer-insight-strip strong { margin:9px 0 2px; color:#25272b; font-size:1.75rem; line-height:1; }
.customer-insight-strip em { color:#77736b; font-size:.62rem; font-style:normal; }
.customer-insight-strip span:last-child small { color:#e2c474; }.customer-insight-strip span:last-child strong { color:#fff; }.customer-insight-strip span:last-child em { color:#c7c6c3; }
.customer-directory-controls { display:grid; grid-template-columns:minmax(220px,1fr) minmax(160px,.32fr) minmax(150px,.28fr); gap:11px; padding:14px; border:1px solid #ddd6ca; border-radius:14px; background:#f6f2ea; }
.customer-directory-controls label { display:grid; gap:6px; color:#726d65; font-size:.61rem; font-weight:800; letter-spacing:.05em; }
.customer-directory-controls input,.customer-directory-controls select { width:100%; min-height:44px; border:1px solid #d4ccbf; border-radius:9px; padding:9px 11px; font-size:.72rem; }
.customer-result-bar { display:flex; align-items:center; gap:7px; margin:17px 2px 11px; color:#77736c; font-size:.66rem; }
.customer-result-bar strong { color:#272a2f; font-size:.76rem; }.customer-result-bar strong::after { content:""; display:inline-block; width:3px; height:3px; margin:0 7px 2px; border-radius:50%; background:#bd8b26; }
.customer-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.customer-activity-card { padding:0; overflow:hidden; transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }
.customer-activity-card:hover { transform:translateY(-2px); border-color:#c9ae73; box-shadow:0 14px 30px rgba(39,38,34,.08); }
.customer-card-top { display:grid; grid-template-columns:46px minmax(0,1fr) auto; gap:12px; align-items:start; padding:16px; border-bottom:1px solid #e8e1d6; }
.customer-avatar { width:46px; height:46px; display:grid; place-items:center; border:1px solid #bea05c; border-radius:12px; color:#fff; background:linear-gradient(145deg,#30343a,#1d2024); box-shadow:inset 0 0 0 3px rgba(228,195,109,.08); font-size:.8rem; font-weight:850; letter-spacing:.04em; }
.customer-card-top .eyebrow { margin:0; font-size:.54rem; letter-spacing:.12em; }.customer-card-top h3 { margin:3px 0 2px; font-size:.88rem; }.customer-card-top p { margin:0; font-size:.66rem; }
.customer-joined-badge { min-width:116px; padding:8px 10px; border:1px solid #ded5c5; border-radius:10px; text-align:right; background:#f8f3e9; }
.customer-joined-badge small,.customer-joined-badge strong,.customer-joined-badge em { display:block; }.customer-joined-badge small { color:#9b761f; font-size:.49rem; font-weight:900; letter-spacing:.12em; }.customer-joined-badge strong { margin:2px 0; color:#26292e; font-size:.67rem; }.customer-joined-badge em { color:#858078; font-size:.53rem; font-style:normal; }
.customer-primary-data { display:grid; grid-template-columns:1fr 1fr; gap:13px; padding:15px 16px; }
.customer-primary-data div { min-width:0; }.customer-primary-data small,.customer-primary-data strong { display:block; }.customer-primary-data small { margin-bottom:5px; color:#9a948a; font-size:.5rem; font-weight:850; letter-spacing:.11em; }.customer-primary-data strong { color:#34363a; font-size:.67rem; line-height:1.45; }.customer-address-data { grid-column:1/-1; padding-top:11px; border-top:1px solid #eee8de; }
.customer-card-footer { display:flex; flex-wrap:wrap; gap:8px 13px; align-items:center; padding:11px 16px; color:#77736c; background:#f5f1e9; font-size:.57rem; }.customer-card-footer b { color:#2d3035; }.customer-last-active { margin-left:auto; }

@media(max-width:800px) {
  .ops-main { padding:18px 12px 70px; }
  .ops-hero { display:block; min-height:0; padding:22px; }
  .ops-metrics { margin-top:18px; grid-template-columns:repeat(2,1fr); }
  .ops-panel { padding:16px; }
  .customer-insight-strip { grid-template-columns:repeat(2,1fr); }
  .customer-directory-controls { grid-template-columns:1fr 1fr; }
  .customer-search-control { grid-column:1/-1; }
  .customer-directory-grid { grid-template-columns:1fr; }
}
@media(max-width:520px) {
  .ops-header { align-items:center; }
  .ops-header-actions { gap:5px; }.ops-header button,.ops-header a { min-height:40px; padding:7px 8px; font-size:.62rem; }
  .ops-main { padding-right:9px; padding-left:9px; }
  .ops-hero { border-radius:16px; }
  .ops-hero h1 { font-size:1.75rem; }
  .ops-metrics span { padding:12px; }
  .ops-tabs { margin:13px 0; }
  .ops-panel { padding:13px; border-radius:15px; }
  .customer-insight-strip { gap:7px; margin:14px 0; }
  .customer-insight-strip span { min-height:102px; padding:13px; }
  .customer-directory-controls { grid-template-columns:1fr; padding:11px; }
  .customer-search-control { grid-column:auto; }
  .customer-card-top { grid-template-columns:42px minmax(0,1fr); padding:13px; }.customer-avatar { width:42px; height:42px; }.customer-joined-badge { grid-column:1/-1; display:grid; grid-template-columns:auto 1fr auto; align-items:center; min-width:0; text-align:left; }.customer-joined-badge strong { text-align:center; }
  .customer-primary-data { grid-template-columns:1fr; padding:13px; }.customer-address-data { grid-column:auto; }
  .customer-last-active { width:100%; margin-left:0; padding-top:5px; border-top:1px solid #dfd7ca; }
}
