/* V9 — customer UI matched to the approved South-Indian reference. Visual only. */
html,body{max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none!important}
body.customer-mode{background:#efe5d2!important}
body.customer-mode .app{width:100%!important;min-width:0!important;overflow-x:hidden!important}

/* Screen isolation: never show login/session UI under the signed-in home. */
body.customer-mode[data-screen="home"] #onboard,
body.customer-mode[data-screen="chat"] #onboard,
body.customer-mode[data-screen="onboard"] #home,
body.customer-mode[data-screen="onboard"] #chat,
body.customer-mode[data-screen="home"] #chat,
body.customer-mode[data-screen="chat"] #home,
body.customer-mode #home[hidden],body.customer-mode #onboard[hidden],body.customer-mode #chat[hidden]{display:none!important}

/* Header */
body.customer-mode .top{position:relative!important;z-index:50!important;display:flex!important;align-items:center!important;gap:12px!important;padding:9px 22px!important;background:linear-gradient(180deg,#fffef9,#fff8ea)!important;border-bottom:1px solid #d6ab4e!important;box-shadow:0 4px 18px rgba(64,45,14,.07)!important;color:#123f31!important}
body.customer-mode .top::after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:-1px!important;height:3px!important;background:linear-gradient(90deg,#0b6243 0 52%,#e4a629 52% 78%,#b83e2f 78% 100%)!important}
body.customer-mode .brand-home{min-width:0!important}
body.customer-mode .seal{width:54px!important;height:54px!important;border-radius:50%!important;box-shadow:0 0 0 2px #d5a33a,0 5px 14px rgba(61,44,16,.12)!important}
body.customer-mode .brand h1{font:800 29px/1 var(--f-display)!important;color:#0b4d36!important;letter-spacing:-.025em!important}
body.customer-mode .brand small{font-size:10.5px!important;color:#a06c15!important;font-weight:900!important;letter-spacing:.095em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:visible!important}
body.customer-mode .brand small::after{content:" · VINDHU ASSISTANT"!important;color:#0b5a40!important;margin-left:4px!important}
body.customer-mode .tabs{margin-left:auto!important;display:flex!important;gap:4px!important}
body.customer-mode .tab{min-width:66px!important;padding:7px 8px 5px!important;border-radius:13px!important;color:#4d5b53!important;font-size:11px!important}
body.customer-mode .tab[aria-current="true"]{background:#e7f0e7!important;color:#0b5b40!important}
body.customer-mode .theme-toggle{width:46px!important;height:46px!important;background:#fff9e8!important;border-color:#d8b45d!important;color:#a47117!important}
body.customer-mode .header-order-v8{display:none!important}
body.customer-mode[data-screen="home"] .header-order-v8{display:inline-flex!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#116846,#094d35)!important;color:#fff!important;padding:10px 18px!important;font-weight:800!important;box-shadow:0 8px 18px rgba(11,86,59,.18)!important}

/* Signed-in home: one compact reference-style hero, no blank panel. */
body.customer-mode .customer-home{padding:0 0 calc(18px + env(safe-area-inset-bottom))!important;background:radial-gradient(circle at 18px 18px,rgba(205,151,45,.055) 1px,transparent 1.3px) 0 0/34px 34px,linear-gradient(180deg,#fffaf0,#f7ecd7 74%,#fff9ec)!important;overflow:visible!important}
body.customer-mode .home-hero{position:relative!important;display:grid!important;grid-template-columns:minmax(390px,.78fr) minmax(520px,1.22fr)!important;min-height:420px!important;margin:0!important;padding:40px 0 0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#fff9ec!important;box-shadow:none!important;color:#173d2e!important}
body.customer-mode .home-hero::before{content:""!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:42px!important;z-index:8!important;pointer-events:none!important;background:radial-gradient(ellipse at 50% -4%,#276f47 0 52%,transparent 55%) 0 0/44px 35px repeat-x!important}
body.customer-mode .home-hero::after{content:""!important;position:absolute!important;inset:10px!important;z-index:0!important;border:1px solid rgba(204,156,61,.18)!important;border-radius:22px!important;pointer-events:none!important}
body.customer-mode .home-copy{position:relative!important;z-index:4!important;align-self:stretch!important;justify-content:center!important;min-width:0!important;padding:26px 24px 28px 64px!important;background:linear-gradient(90deg,#fffdf8 0%,#fff8e9 96%)!important;text-align:left!important}
body.customer-mode .home-eyebrow{color:#9f6910!important;background:transparent!important;border:0!important;padding:0!important;font-size:11px!important;font-weight:900!important;letter-spacing:.19em!important;text-transform:uppercase!important}
body.customer-mode .home-copy h2{color:#0a4a33!important;text-shadow:none!important;font-size:clamp(42px,4.35vw,61px)!important;line-height:.97!important;max-width:560px!important;margin:11px 0 10px!important;letter-spacing:-.035em!important}
body.customer-mode .home-copy>p{color:#4f5d55!important;max-width:520px!important;font-size:15px!important;line-height:1.42!important}
body.customer-mode .home-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;max-width:560px!important;margin-top:18px!important}
body.customer-mode .home-primary,body.customer-mode .home-secondary{min-height:56px!important;border-radius:17px!important}
body.customer-mode .home-primary{background:linear-gradient(180deg,#126a48,#095038)!important;color:#fff!important;border:1px solid #08452f!important;box-shadow:0 10px 22px rgba(11,86,59,.18)!important}
body.customer-mode .home-secondary{background:#fffdf8!important;color:#123f31!important;border:1px solid #d5b777!important;box-shadow:0 7px 18px rgba(70,52,20,.06)!important}
body.customer-mode .home-annuwrap{display:block!important;position:relative!important;right:auto!important;top:auto!important;width:100%!important;min-height:380px!important;margin:0!important;align-self:stretch!important;visibility:visible!important;opacity:1!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background:url('/assets/heritage-hero-v5.svg?v=9') center/cover no-repeat!important}
body.customer-mode .home-annuwrap .home-motion-stage,body.customer-mode .home-annuwrap>.home-bubble{display:none!important}

/* Exactly 3 destination cards, each with a colorful visual. */
body.customer-mode .home-section{margin:0!important;padding:10px 28px 0!important}
body.customer-mode .home-section-head{display:none!important}
body.customer-mode .home-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.customer-mode .home-tile{position:relative!important;overflow:hidden!important;display:grid!important;grid-template-columns:50px minmax(0,1fr) 38px!important;align-items:center!important;gap:12px!important;min-height:246px!important;padding:158px 16px 15px!important;border:1px solid #dec38a!important;border-radius:20px!important;background:linear-gradient(180deg,#fffefa,#fff6e5)!important;box-shadow:0 10px 24px rgba(71,54,28,.08)!important}
body.customer-mode .home-tile::before{content:""!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:150px!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;opacity:1!important}
body.customer-mode .home-tile::after{content:""!important;position:absolute!important;left:0!important;right:0!important;top:121px!important;height:31px!important;background:linear-gradient(to bottom,transparent,rgba(255,253,248,.98))!important}
body.customer-mode .tile-combo::before{background-image:url('/assets/combos-v5.svg?v=9')!important}
body.customer-mode .tile-plan::before{background-image:url('/assets/weekly-plans-v5.svg?v=9')!important}
body.customer-mode .tile-orders::before{background-image:url('/assets/orders-v5.svg?v=9')!important}
body.customer-mode .tile-menu{display:none!important}
body.customer-mode .tile-icon{position:relative!important;z-index:2!important;width:50px!important;height:50px!important;border-radius:16px!important;background:#edf4e9!important;color:#0f5b40!important}
body.customer-mode .tile-copy,body.customer-mode .tile-arrow{position:relative!important;z-index:2!important}
body.customer-mode .tile-copy b{color:#133c2d!important;font-size:22px!important;line-height:1.05!important}
body.customer-mode .tile-copy small{color:#5f685f!important;font-size:12px!important;line-height:1.25!important}
body.customer-mode .tile-arrow{width:38px!important;height:38px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#0c6343!important;color:#fff!important;font-size:22px!important}
body.customer-mode .home-active{margin:12px 28px 0!important}
body.customer-mode .heritage-signoff{margin:10px 28px 0!important;padding:9px 14px!important;border-radius:13px!important;background:linear-gradient(90deg,#0b4f37,#126849,#0b4f37)!important;border:1px solid #d4a84f!important;color:#f6d98d!important;font-weight:700!important}
body.customer-mode .home-promise{margin:10px 28px 0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #e2c98f!important;border-bottom:1px solid #e2c98f!important;background:#fffaf0!important}
body.customer-mode .home-promise>div{padding:11px 16px!important;border:0!important;border-right:1px solid #e3c991!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.customer-mode .home-promise>div:last-child{border-right:0!important}

/* Initial session screen: compact and separate from signed-in home. */
body.customer-mode .onboard{background:radial-gradient(circle at 18px 18px,rgba(206,151,42,.06) 1px,transparent 1.4px) 0 0/34px 34px,linear-gradient(180deg,#fff9ec,#f6ead5)!important;gap:12px!important;overflow:visible!important}
body.customer-mode #onboard #bubble,body.customer-mode #onboard .bubble{color:#173d2e!important;-webkit-text-fill-color:#173d2e!important;opacity:1!important;text-shadow:none!important;mix-blend-mode:normal!important;background:#fffaf0!important;border:1px solid #dfc58d!important;font-weight:700!important}
body.customer-mode #onboard #bubble *,body.customer-mode #onboard .bubble *{color:#173d2e!important;-webkit-text-fill-color:#173d2e!important}
body.customer-mode .onboard .hero{position:relative!important;overflow:hidden!important;min-height:360px!important;padding:192px 42% 24px 28px!important;border:1.5px solid #d5a443!important;border-radius:25px!important;color:#fff!important;background:linear-gradient(0deg,rgba(8,77,52,.99) 0%,rgba(8,77,52,.94) 36%,rgba(8,77,52,.56) 54%,rgba(8,77,52,.08) 74%),url('/assets/heritage-hero-v5.svg?v=9') center/cover no-repeat!important;box-shadow:0 16px 34px rgba(68,49,18,.12)!important}
body.customer-mode .onboard .heroTop{position:absolute!important;left:26px!important;top:48px!important;width:48%!important;display:flex!important;align-items:center!important;gap:10px!important;z-index:5!important}
body.customer-mode .onboard .mascotBtn{flex:none!important;width:70px!important;height:70px!important;border-radius:21px!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,227,164,.4)!important}
body.customer-mode .onboard .mascotBtn .mascot{width:66px!important}
body.customer-mode .onboard .bubble{margin:0!important;padding:10px 13px!important;border-radius:16px 16px 16px 5px!important;font-size:12px!important;line-height:1.3!important;box-shadow:0 7px 18px rgba(0,0,0,.12)!important}
body.customer-mode .onboard .kick{position:relative!important;z-index:4!important;color:#ffe19c!important;background:rgba(255,255,255,.11)!important;border:1px solid rgba(247,218,151,.25)!important}
body.customer-mode .onboard .hero h2{position:relative!important;z-index:4!important;color:#fff!important;font-size:34px!important;line-height:1.02!important;margin:10px 0 7px!important;max-width:450px!important}
body.customer-mode .onboard .hero>p{position:relative!important;z-index:4!important;color:rgba(255,255,255,.92)!important;font-size:13.5px!important;line-height:1.42!important;max-width:440px!important}
body.customer-mode #startForm{border:1.5px solid #d8bb79!important;border-radius:23px!important;background:#fffdf8!important;box-shadow:0 16px 34px rgba(68,49,18,.09)!important;padding:19px!important;gap:12px!important}
body.customer-mode #startForm::before{content:"Start your private ordering session"!important;display:block!important;color:#0d5138!important;font:700 23px/1.15 var(--f-display)!important;margin-bottom:2px!important}

@media(min-width:760px){
 body.customer-mode:has(#home:not([hidden])) .app,body.customer-mode:has(#onboard:not([hidden])) .app{max-width:1400px!important;height:auto!important;min-height:calc(100dvh - 24px)!important;overflow:visible!important}
 body.customer-mode:has(#home:not([hidden])),body.customer-mode:has(#onboard:not([hidden])){overflow-y:auto!important;overflow-x:hidden!important}
 body.customer-mode .onboard{grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr)!important;grid-template-areas:"hero form" "steps form" "trust form" "tiny form"!important;gap:12px 16px!important;padding:16px 18px 20px!important;align-items:start!important}
 body.customer-mode .onboard>.hero{grid-area:hero!important}
 body.customer-mode .onboard>.steps{grid-area:steps!important}
 body.customer-mode .onboard>.assistant-trust{grid-area:trust!important}
 body.customer-mode .onboard>#startForm{grid-area:form!important;position:sticky!important;top:12px!important}
 body.customer-mode .onboard>.tiny{grid-area:tiny!important}
}

@media(max-width:759px){
 body.customer-mode:has(#home:not([hidden])),body.customer-mode:has(#onboard:not([hidden])){overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}
 body.customer-mode:has(#home:not([hidden])) .app,body.customer-mode:has(#onboard:not([hidden])) .app{height:auto!important;min-height:100dvh!important;overflow:visible!important;border-radius:0!important}
 body.customer-mode:has(#chat:not([hidden])) .app{height:100dvh!important;min-height:0!important;overflow:hidden!important}
 body.customer-mode .top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand theme" "tabs tabs"!important;gap:6px!important;padding:calc(7px + env(safe-area-inset-top)) 10px 6px!important}
 body.customer-mode .brand-home{grid-area:brand!important}
 body.customer-mode .theme-toggle{grid-area:theme!important;width:42px!important;height:42px!important}
 body.customer-mode .tabs{grid-area:tabs!important;justify-content:center!important;margin-left:0!important;border-top:1px solid #ead8af!important;padding-top:4px!important}
 body.customer-mode .tab{min-width:55px!important;padding:5px 6px 3px!important;font-size:10px!important}
 body.customer-mode .seal{width:46px!important;height:46px!important}
 body.customer-mode .brand h1{font-size:21px!important}
 body.customer-mode .brand small{font-size:8.6px!important}
 body.customer-mode .brand small::after{font-size:8.6px!important;margin-left:3px!important}
 body.customer-mode .header-order-v8{display:none!important}

 body.customer-mode .home-hero{display:flex!important;flex-direction:column!important;min-height:0!important;padding:38px 0 0!important}
 body.customer-mode .home-annuwrap{order:1!important;min-height:235px!important;width:100%!important;background-position:center!important}
 body.customer-mode .home-copy{order:2!important;width:100%!important;padding:17px 16px 18px!important;text-align:left!important;background:#fffaf0!important}
 body.customer-mode .home-eyebrow{font-size:9.5px!important}
 body.customer-mode .home-copy h2{font-size:35px!important;line-height:.99!important;margin:8px 0 8px!important;max-width:360px!important}
 body.customer-mode .home-copy>p{font-size:13px!important;line-height:1.4!important}
 body.customer-mode .home-hero-actions{grid-template-columns:1fr!important;gap:8px!important;margin-top:13px!important}
 body.customer-mode .home-primary,body.customer-mode .home-secondary{width:100%!important;min-height:52px!important}
 body.customer-mode .home-section{padding:9px 10px 0!important}
 body.customer-mode .home-grid{grid-template-columns:1fr!important;gap:9px!important}
 body.customer-mode .home-tile{min-height:184px!important;padding:113px 13px 12px!important;grid-template-columns:44px minmax(0,1fr) 32px!important;border-radius:18px!important}
 body.customer-mode .home-tile::before{height:108px!important}
 body.customer-mode .home-tile::after{top:82px!important;height:28px!important}
 body.customer-mode .tile-icon{width:44px!important;height:44px!important;border-radius:14px!important}
 body.customer-mode .tile-copy b{font-size:19px!important}
 body.customer-mode .tile-copy small{font-size:11px!important}
 body.customer-mode .tile-arrow{width:32px!important;height:32px!important;font-size:18px!important}
 body.customer-mode .home-promise{margin:9px 10px 0!important;grid-template-columns:1fr!important}
 body.customer-mode .home-promise>div{padding:9px 11px!important;border-right:0!important;border-bottom:1px solid #e4d1a6!important}
 body.customer-mode .heritage-signoff{margin:9px 10px 0!important;font-size:10.5px!important;padding:9px 7px!important}

 body.customer-mode .onboard{display:flex!important;flex-direction:column!important;padding:9px 9px calc(20px + env(safe-area-inset-bottom))!important;gap:9px!important}
 body.customer-mode .onboard[hidden]{display:none!important}
 body.customer-mode .onboard .hero{min-height:365px!important;padding:213px 16px 19px!important;border-radius:23px!important;background-position:center top!important;background-size:auto 238px!important;background-color:#0b563b!important}
 body.customer-mode .onboard .heroTop{left:14px!important;right:14px!important;top:151px!important;width:auto!important;justify-content:center!important}
 body.customer-mode .onboard .mascotBtn{width:60px!important;height:60px!important;border-radius:18px!important}
 body.customer-mode .onboard .mascotBtn .mascot{width:57px!important}
 body.customer-mode .onboard .bubble{max-width:220px!important;font-size:11px!important;text-align:left!important}
 body.customer-mode .onboard .kick{display:flex!important;width:max-content!important;max-width:100%!important;margin:0 auto!important;font-size:9.5px!important}
 body.customer-mode .onboard .hero h2{font-size:28px!important;text-align:center!important;margin:10px 0 6px!important}
 body.customer-mode .onboard .hero>p{font-size:12.5px!important;text-align:center!important}
 body.customer-mode #startForm{position:relative!important;top:auto!important;padding:16px!important;border-radius:21px!important}
}

html[data-theme="dark"] body.customer-mode .top{background:linear-gradient(180deg,#15251b,#111e16)!important;border-bottom-color:#6a572d!important}
html[data-theme="dark"] body.customer-mode .customer-home,html[data-theme="dark"] body.customer-mode .onboard{background:linear-gradient(180deg,#101a13,#0c1510)!important}
html[data-theme="dark"] body.customer-mode .home-copy{background:linear-gradient(90deg,#17241b,#18261c)!important}
html[data-theme="dark"] body.customer-mode .home-copy h2,html[data-theme="dark"] body.customer-mode .tile-copy b{color:#edf4e9!important}
html[data-theme="dark"] body.customer-mode .home-copy>p,html[data-theme="dark"] body.customer-mode .tile-copy small{color:#aebbad!important}
html[data-theme="dark"] body.customer-mode .home-tile,html[data-theme="dark"] body.customer-mode #startForm{background:linear-gradient(180deg,#1a281e,#152119)!important;border-color:#6b5832!important}
