/* Saffron edge lighting remains visible on touch and responds to direct interaction. */
@property --glow-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.restaurantGrid .restaurant-card,.zestMapSheet{position:relative;isolation:isolate;will-change:auto;border:2px solid #ffc64f;border-radius:24px;box-shadow:0 0 18px #ffc64f40,0 8px 24px #ffc64f24}
.zestMapSheet{position:absolute}
.restaurantGrid .restaurant-card::before,.zestMapSheet::before{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;padding:2px;background:radial-gradient(260px circle at var(--glow-x,50%) var(--glow-y,0%),#fff1b9 0%,#ffc64f 32%,#ffc64f00 72%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;opacity:0;transition:opacity .18s ease-out}
.restaurantGrid .restaurant-card:hover,.restaurantGrid .restaurant-card:focus-within,.zestMapSheet:hover,.zestMapSheet:focus-within{border-color:#ffdb78;box-shadow:0 0 24px #ffc64f66,0 8px 28px #ffc64f30}
.restaurantGrid .restaurant-card:focus-within::before,.zestMapSheet:focus-within::before{opacity:1}
.homeMapView .restaurantGrid{margin-left:-12px;padding-left:12px;padding-top:12px;padding-bottom:22px;scroll-padding-inline:12px}
.restaurant-card .actions button{transition:background-color .16s ease-out,border-color .16s ease-out,transform .16s ease-out}
.restaurant-card .actions button[aria-pressed=true]{background:#ffc64f;color:#20373b}
@media(hover:hover) and (pointer:fine){.restaurantGrid .restaurant-card:hover::before,.zestMapSheet:hover::before{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .restaurantGrid .restaurant-card{transition:box-shadow .2s ease-out,border-color .2s ease-out,transform .2s ease-out}
 .restaurantGrid .restaurant-card:hover{transform:translateY(-3px)}
 .restaurantGrid .restaurant-card:active{transform:scale(.995)}
 .restaurant-card .actions button:active{transform:scale(.96)}
 .restaurantGrid .restaurant-card.is-orbiting::before,.zestMapSheet.is-orbiting::before{opacity:1;background:conic-gradient(from var(--glow-angle),#ffc64f00 0deg 260deg,#ffc64f 310deg,#fff8dc 345deg,#ffc64f00 360deg);animation:palateo-glow-orbit .65s linear}
 .restaurantGrid .restaurant-card.is-opening::before,.zestMapSheet.is-opening::before{animation-duration:.52s}
 .screen.is-leaving{animation:palateo-page-leave .14s ease-in .38s both;pointer-events:none}
 .place-screen{animation:palateo-page-enter .26s cubic-bezier(.16,1,.3,1) both}
 @keyframes palateo-glow-orbit{from{--glow-angle:-90deg}to{--glow-angle:270deg}}
 @keyframes palateo-page-leave{to{opacity:0;transform:translateY(-4px)}}
 @keyframes palateo-page-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){.restaurantGrid .restaurant-card,.restaurant-card .actions button,.restaurantGrid .restaurant-card .photo img{transform:none!important}.restaurantGrid .restaurant-card::before,.zestMapSheet::before{background:#ffc64f}}
@media(max-width:839px){.zestMapSheet{position:fixed}}
.previewNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:#20373b;color:#edf7fa;font:12px/1.5 "Plus Jakarta Sans",sans-serif}
.previewNotice button{flex:none;min-height:44px;padding:8px 14px;background:#ffc64f;border:1px solid #ffc64f;border-radius:10px;color:#20373b;font:inherit;font-weight:700;cursor:pointer}
.dataAttribution{display:none}
#n-social{display:flex!important}
.navComingSoonPill{display:inline-block;background:rgba(255,198,79,0.22);color:#ffc64f;border:1px solid rgba(255,198,79,0.55);font-size:7.5px;font-weight:800;padding:1px 5px;border-radius:99px;margin-left:4px;letter-spacing:0.04em;vertical-align:middle;line-height:1.2}
.navBetaPill{display:inline-block;background:rgba(81,156,171,0.25);color:#c3e7f1;border:1px solid rgba(81,156,171,0.65);font-size:7.5px;font-weight:800;padding:1px 5px;border-radius:99px;margin-left:4px;letter-spacing:0.04em;vertical-align:middle;line-height:1.2}
.askTitleRow .navBetaPill{font-size:11px;padding:2px 8px;background:#20373b;color:#ffc64f;border:1px solid #ffc64f;border-radius:99px;font-weight:800;letter-spacing:0.06em;vertical-align:middle;margin-left:8px}

/* Product controls inherit the existing aqua, teal and saffron palette. */
::selection{background:#ffc64f;color:#20373b}
:focus-visible{outline:3px solid #519cab;outline-offset:4px}
input,select{caret-color:#20373b;accent-color:#20373b}
html{scrollbar-color:#519cab #c3e7f1}
.screen{animation:none!important}
.screen.is-leaving{animation:palateo-page-leave .14s ease-in .38s both!important}
.place-screen{animation:palateo-page-enter .26s cubic-bezier(.16,1,.3,1) both!important}
.eyebrow{display:none}
.homeRecommendations>.section{align-items:baseline;margin-top:20px;margin-bottom:16px;gap:16px}
.homeRecommendations>.section h2{font-size:25px;letter-spacing:-.025em;margin:0;color:#20373b}
.homeFilterChips{margin-bottom:18px}
.filterChip{box-shadow:none!important;min-height:44px!important}
.homeFilterChips .filterChip{font-size:13px;padding:10px 18px}
.homeListView .restaurantGrid,.discover-screen .restaurantGrid,.saved-screen .restaurantGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.restaurantGrid .restaurant-card{padding:0 20px 16px;background:#102b30;color:#edf7fa;border-radius:24px;overflow:visible}
.restaurant-card .photo{position:relative;display:block;flex:none;width:100%!important;height:196px!important;border-radius:21px 21px 0 0!important;overflow:hidden;padding:0;border:0}
.restaurant-card .photo img{width:100%;height:100%;object-fit:cover;transform:none!important}
.restaurant-card .match{position:absolute!important;top:14px!important;left:14px!important;right:auto!important;width:auto!important;display:flex!important;align-items:center;gap:7px;padding:8px 12px!important;min-height:36px;border:0!important;border-radius:12px!important;background:#ffc64f!important;color:#20373b!important;box-shadow:none!important;pointer-events:none}
.restaurant-card .match b{font-size:19px!important;line-height:1!important;font-variant-numeric:tabular-nums}
.restaurant-card .match span{font-size:12px!important;text-transform:none;letter-spacing:0;line-height:1}
.restaurant-card .restname{margin:0 0 7px;line-height:1.3}
.restaurant-card .restnameButton{font-size:22px!important;font-weight:750!important;color:#edf7fa!important;letter-spacing:-.025em;padding:0;min-height:44px;text-align:left}
.restaurant-card .meta{color:#b5d5dc!important;font-size:13px!important;line-height:1.6}
.restaurant-card .tags{margin:13px 0 14px;gap:6px}
.restaurant-card .tag{border:0!important;border-radius:5px!important;background:#26474d!important;color:#d5ebf0!important;font-size:11px!important;padding:4px 7px!important}
.restaurant-card .why{background:none!important;border:0!important;padding:0!important;margin:0 0 10px;color:#b5d5dc!important;font-size:12px}
.restaurant-card .why summary{color:#d5ebf0!important;min-height:44px;display:list-item;padding:12px 0;font-size:12px!important;cursor:pointer}
.restaurant-card .why dl{margin:4px 0 12px}.restaurant-card .why dl div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #33555c}.restaurant-card .why dd{margin:0;color:#edf7fa}.restaurant-card .why p{font-size:12px!important;line-height:1.7!important;color:#b5d5dc!important}
.venuePrimary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.venuePrimary .btn{display:flex!important;align-items:center;justify-content:center;margin:0!important;min-height:48px!important;border-radius:12px!important;font-size:13px!important;padding:10px!important;box-shadow:none!important;transform:none!important}
.venuePrimary .primary{background:#ffc64f!important;color:#20373b!important;border:1px solid #ffc64f!important}
.venuePrimary .secondary{background:#e9f6f8!important;color:#20373b!important;border:1px solid #e9f6f8!important}
.restaurant-card :focus-visible{outline-color:#ffc64f}
.homeListToolbar{margin-bottom:0!important;box-shadow:none!important}
.homeListView .homeRecommendations{padding-top:0!important}
.viewSwitcher{box-shadow:none!important}
.homeSearch{box-shadow:none!important;min-height:44px}
.hero h1{font-size:34px!important;line-height:1.2!important;letter-spacing:-.03em!important}.hero p{max-width:65ch;font-size:15px!important;color:#365a61!important}
.previewNotice{padding-block:6px}.previewNotice strong{font-weight:600}
@media(max-width:1050px){.homeListView .restaurantGrid,.discover-screen .restaurantGrid,.saved-screen .restaurantGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.homeListView .restaurantGrid,.discover-screen .restaurantGrid,.saved-screen .restaurantGrid{grid-template-columns:1fr;gap:24px}.homeRecommendations>.section{flex-direction:column;gap:7px}.homeRecommendations>.section h2{font-size:25px}.restaurant-card .photo{height:196px!important}.hero h1{font-size:29px!important}}
@media(prefers-reduced-motion:reduce){.screen.is-leaving,.place-screen{animation:none!important}}

.homeListToolbar .viewTab.active{background:#20373b!important;color:#edf7fa!important}
.restaurantGrid .restaurant-card{padding-bottom:10px;border-color:#efc75e;box-shadow:0 0 12px #ffc64f25,0 8px 22px #20373b16}
.restaurantGrid .restaurant-card:hover{box-shadow:0 0 20px #ffc64f45,0 12px 26px #20373b24}
.restaurant-card .photo{height:206px!important}
.restaurant-card .restnameButton{font-size:20px!important;line-height:1.3;min-height:32px}
.restaurant-card .restname{margin-bottom:6px}
.restaurant-card .match{top:12px!important;left:12px!important;border-radius:10px!important;padding:8px 10px!important;background:#ffce64!important}
.restaurant-card .match b{font-size:17px!important}
.restaurant-card .venueSave{position:absolute;top:10px;right:10px;width:44px;height:44px;border-radius:50%;background:#f6fbfcf2;border:1px solid #e3edf0;color:#20373b;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 10px #102b3018}
.venueSave svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linejoin:round}.venueSave[aria-pressed=true]{background:#ffc64f}.venueSave[aria-pressed=true] svg{fill:#20373b}
.restaurant-card .why{margin-bottom:8px!important}.restaurant-card .why summary{font-size:12px!important;padding-block:10px;min-height:40px}
.restaurantGrid .restaurant-card .why{display:block!important}
.venuePrimary{grid-template-columns:1.25fr 1fr;gap:12px;margin-bottom:10px}
.venuePrimary .btn{min-height:44px!important;border-radius:10px!important}
.venueDirections{padding:8px 0!important;min-height:44px;background:transparent!important;border:0!important;color:#d5ebf0!important;font:inherit;font-size:12px!important;cursor:pointer;text-align:center;white-space:nowrap}
.venueDirections:hover{text-decoration:underline;text-underline-offset:4px}
.homeMapView .restaurantGrid{gap:20px;padding:12px 16px 24px;margin-inline:-16px;scroll-padding-inline:16px}.homeMapView .restaurantGrid .restaurant-card{flex:0 0 340px!important;min-width:340px!important}
.streetMapFrame{background:#f3f4f5!important;border:1px solid #b9d4db!important;box-shadow:0 10px 30px #20373b0d!important;border-radius:24px!important;overflow:hidden;position:relative}
.streetMapFrame .zestMapStage{height:490px!important;min-height:490px!important;background:#f3f4f5!important;overflow:hidden}
.streetMap{position:absolute;inset:0;width:100%;height:100%;background:#f3f4f5}
.streetMapFrame .homeMapToolbar{top:18px!important;left:18px!important;right:auto!important;gap:10px!important;z-index:3}
.streetMapFrame .homeMapToolbar .viewSwitcher,.streetMapFrame .homeSearch{background:#ffffff!important;border:1px solid #d2dce0!important;color:#20373b!important;box-shadow:0 3px 14px #20373b15!important}
.streetMapFrame .homeMapToolbar .viewTab.active{background:#20373b!important;color:#edf7fa!important;border:0!important}
.streetMapFrame .zestMapLegend{top:auto!important;left:18px!important;bottom:34px!important;right:auto!important;z-index:2;background:#fffffff0!important;color:#365a61!important;border:1px solid #d2dce0;font-size:10px;padding:7px 10px;box-shadow:none!important}
.streetMapFrame .zestMapControls{top:18px!important;right:18px!important;bottom:auto!important;z-index:3;gap:8px}
.streetMapFrame .zestMapBtn{width:44px;height:44px;background:#fff!important;color:#20373b!important;border:1px solid #d2dce0!important;box-shadow:0 3px 14px #20373b12!important;border-radius:12px}
.streetMapFrame .zestMapBtn.active{background:#20373b!important;color:#edf7fa!important}
.streetMapFrame .mapNotice{background:#f7fafb!important;color:#365a61!important;border-top:1px solid #d2dce0;padding:12px 18px!important;margin:0!important;font-size:11px!important;line-height:1.6}
.streetMapFrame .maplibregl-ctrl-bottom-left{left:18px;bottom:8px}.streetMapFrame .maplibregl-ctrl-bottom-right{font-family:inherit;font-size:10px}.streetMapFrame .maplibregl-ctrl-attrib{background:#fffffff2!important;color:#365a61}.maplibregl-ctrl-attrib a{color:#365a61}
.streetMapStatus{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:14px 18px;border-radius:12px;background:#fff;color:#20373b;font-size:13px;box-shadow:0 4px 20px #20373b12;z-index:2;text-align:center;max-width:80%}
.mapFailed button{font:inherit;border:0;background:none;color:#20373b;text-decoration:underline;padding:8px;cursor:pointer}
.restaurantMarker{display:flex;align-items:center;gap:5px;position:relative;min-height:40px;min-width:44px;padding:8px 10px;border-radius:24px;background:#fff;border:1px solid #c6d6db;color:#20373b;font:700 11px/1.2 "Plus Jakarta Sans",sans-serif;box-shadow:0 3px 10px #20373b22;cursor:pointer;transition:background-color .16s ease-out,box-shadow .16s ease-out;transform:none!important;filter:none!important}
.restaurantMarker::after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;transform:rotate(45deg);background:inherit;border-bottom:1px solid #c6d6db;border-right:1px solid #c6d6db}
.restaurantMarker .markerDot{width:7px;height:7px;background:#e9b744;border-radius:50%;flex:none}
.restaurantMarker .markerName{font-weight:500;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.restaurantMarker.active{background:#ffc64f;border-color:#20373b;box-shadow:0 5px 14px #20373b35}.restaurantMarker:focus-visible{outline:3px solid #20373b;outline-offset:4px}
.streetMapFrame .zestMapSheet{top:78px!important;bottom:auto!important;right:76px!important;left:auto!important;width:290px!important;max-height:calc(100% - 130px);border-width:1.5px;box-shadow:0 8px 32px #20373b28,0 0 14px #ffc64f30;border-radius:20px;overflow:auto;z-index:5}
.streetMapFrame .zestSheetPhoto{width:100%;height:140px;overflow:hidden;border-radius:18px 18px 0 0}.streetMapFrame .zestSheetPhoto img{width:100%;height:100%;object-fit:cover}
.streetMapFrame .zestSheetClose{position:absolute;top:10px;right:10px;width:36px;height:36px;min-width:36px;min-height:36px;background:#fff;color:#20373b;border:0;border-radius:50%;font-size:24px;box-shadow:0 3px 8px #20373b20}
.mapPlaceBody{padding:14px 16px 10px}.mapPlaceMatch{font-size:11px;font-weight:700;color:#ffc64f}.mapPlaceBody h3{font-size:18px;line-height:1.3;margin:7px 0}.mapPlaceBody p{font-size:12px;color:#b5d5dc;line-height:1.6;margin:5px 0}.mapPlaceBody .mapPlaceReason{color:#edf7fa;margin:10px 0 12px;font-size:11px}.mapPlaceBody .venuePrimary{gap:8px}.mapVisited{background:transparent;color:#d5ebf0;border:0;font:inherit;font-size:11px;min-height:36px;cursor:pointer}.mapVisited[aria-pressed=true]{color:#ffc64f}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.restaurantGrid .restaurant-card:hover{transform:perspective(1100px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-3px);transition:transform .12s ease-out,box-shadow .2s ease-out,border-color .2s ease-out}}
@media(max-width:839px){.streetMapFrame{margin-inline:16px;border-radius:20px!important}.streetMapFrame .zestMapStage{height:410px!important;min-height:410px!important}.streetMapFrame .homeMapToolbar{left:12px!important;top:12px!important}.streetMapFrame .homeSearch{width:44px;padding:8px!important}.streetMapFrame .homeSearch span{display:none}.streetMapFrame .zestMapControls{right:12px!important;top:12px!important}.streetMapFrame .zestMapLegend{left:12px!important;bottom:34px!important}.streetMapFrame .zestMapSheet{position:fixed;left:16px!important;right:16px!important;bottom:calc(80px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;max-height:60dvh;z-index:30;display:grid;grid-template-columns:100px 1fr;border-radius:18px}.streetMapFrame .zestSheetPhoto{height:100%;min-height:180px;border-radius:16px 0 0 16px}.streetMapFrame .zestSheetClose{right:8px;top:8px}.mapPlaceBody{padding:12px 40px 10px 12px}.mapPlaceBody .venuePrimary{grid-template-columns:1fr}.mapPlaceBody .venueDirections{display:none}.mapPlaceBody h3{font-size:16px}.mapPlaceBody .mapPlaceReason{font-size:10px}.mapPlaceBody .venuePrimary .btn{font-size:12px!important}.homeMapView .restaurantGrid .restaurant-card{flex-basis:304px!important;min-width:304px!important}.streetMapFrame .restaurantMarker .markerName{display:none}}
@media(max-width:359px){.homeMapView .restaurantGrid .restaurant-card{flex-basis:278px!important;min-width:278px!important}.streetMapFrame .homeMapToolbar .viewTab{padding-inline:10px}.streetMapFrame .zestMapLegend{display:none}}
@media(prefers-reduced-motion:reduce){.restaurantGrid .restaurant-card:hover{transform:none!important}.restaurantMarker{transition:none}}

/* Flat streets, coloured category pins, and a compact food companion. */
.restaurantMarker{--pin:#d8613d}.restaurantMarker[data-kind=cafe]{--pin:#2875bb}.restaurantMarker[data-kind=dessert]{--pin:#9753a8}.restaurantMarker[data-kind=regional]{--pin:#28845a}.restaurantMarker .markerDot{background:var(--pin);box-shadow:0 0 0 3px color-mix(in srgb,var(--pin) 18%,white)}.restaurantMarker.active{border-color:var(--pin);box-shadow:0 4px 18px #16333b33}.zestMapLegend{gap:12px!important;flex-wrap:wrap;font-size:11px!important}.zestMapStage.is3d{transform:none!important}

/* ==========================================================================
   PALO: ANIMATED LIVING PET & NON-BLOCKING COMPANION BUBBLE
   ========================================================================== */
.paloContainer{position:fixed;right:20px;bottom:84px;z-index:125;display:flex;flex-direction:column;align-items:flex-end;pointer-events:none}
.paloContainer *{pointer-events:auto}

/* The Lively Pet Mascot (Canonical Codex Design Enhanced) */
.paloPetWrapper{position:relative;display:flex;flex-direction:column;align-items:center;cursor:pointer;outline:0;-webkit-tap-highlight-color:transparent;transition:transform .2s ease-out}
.paloPetWrapper:hover{transform:scale(1.06)}
.paloPetWrapper:active{transform:scale(.95)}
.paloCreature{position:relative;width:84px;height:88px;display:flex;flex-direction:column;align-items:center}

/* Canonical Codex Anatomy */
.palo{position:relative;display:inline-block;width:82px;height:78px;transform-origin:bottom center}
.paloFace{position:absolute;width:66px;height:55px;left:8px;top:15px;border-radius:50% 50% 45% 45%;background:radial-gradient(circle at 38% 30%, #fff4bc 0%, #ffc64f 45%, #e29e24 85%, #b87309 100%);box-shadow:0 6px 16px rgba(16,43,48,0.22), inset 0 -3px 0 #cc9e31;transition:transform .2s ease-out}
.paloFace i{position:absolute;top:22px;left:19px;width:6px;height:8px;border-radius:50%;background:#183b3e;animation:paloBlink 5.2s infinite;transition:height .15s, top .15s, border-radius .15s}
.paloFace i::after{content:"";position:absolute;top:1px;left:1px;width:2.5px;height:2.5px;border-radius:50%;background:#ffffff}
.paloFace i+i{left:41px}
.paloFace b{position:absolute;top:34px;left:28px;width:10px;height:4px;border-radius:0 0 8px 8px;background:#183b3e;transition:height .12s, border-radius .12s, transform .12s}
.paloLeaf{position:absolute;top:0;left:40px;width:26px;height:18px;border-radius:80% 0 80% 0;background:linear-gradient(135deg, #5fe397 0%, #197343 100%);transform:rotate(-15deg);z-index:2;transform-origin:bottom left;animation:paloSproutSpring 4s ease-in-out infinite;box-shadow:0 2px 6px rgba(25,115,67,0.32)}
.paloFoot{position:absolute;bottom:2px;width:18px;height:10px;border-radius:50%;background:#e5ad38;box-shadow:0 2px 5px rgba(0,0,0,0.18)}
.paloFoot.left{left:14px}
.paloFoot.right{right:14px}

/* Pet Interactive States & Motion */
.paloCreature .palo,.paloSvg{animation:paloFloat 3.8s ease-in-out infinite}
.paloCreature:hover .palo,.paloCreature:focus-visible .palo{animation:paloHello .75s ease-in-out 2}
.paloCreature.is-speaking .palo{animation:paloTalkBob .32s ease-in-out infinite alternate}
.paloCreature.is-speaking .paloFace b{animation:paloMouthFlap .24s ease-in-out infinite alternate}
.paloCreature.is-listening .palo{animation:paloListenPerk .6s ease-in-out infinite alternate}
.paloCreature.is-thinking .palo{animation:paloThinkTilt .9s ease-in-out infinite alternate}
.paloCreature.is-delighted .palo,.paloCreature.is-learning .palo{animation:paloJoyJump .65s ease-in-out 2}
.paloCreature.is-joyful .palo{animation:paloJoyBounce .55s ease-in-out infinite alternate}
.paloCreature.is-curious .palo{animation:paloCuriousTilt .7s ease-in-out infinite alternate}
.paloCreature.is-warm .palo{animation:paloWarmBob .8s ease-in-out infinite alternate;filter:drop-shadow(0 0 8px rgba(244,63,94,0.35))}
.paloCreature.is-playful .palo{animation:paloPlayfulWobble .45s ease-in-out infinite alternate}
.paloCreature.is-gentle .palo{animation:paloGentleSway .9s ease-in-out infinite alternate}

/* Voice Soundwave Halo */
.paloVoiceHalo{position:absolute;inset:-8px;border-radius:50%;border:2px solid #ffc64f;opacity:0;pointer-events:none;transform:scale(.85)}
.paloCreature.is-speaking .paloVoiceHalo{animation:paloHaloPulse 1.2s ease-out infinite}
.paloCreature.is-listening .paloVoiceHalo{border-color:#5fe397;animation:paloHaloPulse .8s ease-out infinite}

.paloMoodPill{margin-top:-6px;padding:3px 10px;background:#183b3e;color:#f4faf8;font:700 10px/1.3 "Plus Jakarta Sans",system-ui,sans-serif;border:1px solid #719393;border-radius:12px;box-shadow:0 3px 10px rgba(24,59,62,0.28);white-space:nowrap;letter-spacing:.2px;pointer-events:none;transition:background-color .2s}

/* Sparkle particles burst */
.paloSparkles{position:absolute;inset:-10px;pointer-events:none;z-index:2;display:flex;justify-content:center;align-items:center}
.paloSparkles .sSpark{position:absolute;font-size:15px;animation:paloSparkleFly .9s ease-out forwards}
.paloSparkles .s1{top:0;left:10%;animation-delay:0s}
.paloSparkles .s2{top:5%;right:15%;animation-delay:.08s}
.paloSparkles .s3{bottom:15%;left:5%;animation-delay:.15s}
.paloSparkles .s4{bottom:20%;right:8%;animation-delay:.05s}

/* Non-blocking Speech Bubble Hub */
.paloBubble{position:relative;width:min(420px,calc(100vw - 32px));max-height:76dvh;margin-bottom:12px;background:rgba(255,255,255,0.98);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(24,59,62,0.18);border-radius:22px;box-shadow:0 14px 38px rgba(16,43,48,0.18),0 2px 8px rgba(16,43,48,0.06),0 0 0 1px rgba(255,198,79,0.2);color:#20373b;display:none;flex-direction:column;overflow:hidden;box-sizing:border-box;animation:paloBubbleIn .26s cubic-bezier(.16,1,.3,1)}
.paloBubble.is-open{display:flex}

.paloBubbleTail{position:absolute;bottom:-9px;right:34px;width:18px;height:18px;background:inherit;border-right:1px solid rgba(24,59,62,0.18);border-bottom:1px solid rgba(24,59,62,0.18);transform:rotate(45deg);z-index:1}

/* Header */
.paloBubbleHeader{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#eef5f2;border-bottom:1px solid #c9dcd8;flex:none}
.paloIdentity{display:flex;align-items:center;gap:10px}
.paloAvatarBadge .palo{width:36px;height:34px;transform:scale(.65);transform-origin:left center}
.paloTitleRow{display:flex;align-items:center;gap:7px}
.paloTitleRow h3{font-size:16px;font-weight:800;letter-spacing:-.3px;margin:0;color:#183b3e}
.paloLiveDot{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 2px rgba(16,185,129,0.25);display:inline-block;animation:paloLivePulse 2s infinite ease-in-out;flex:none}
.paloSubtitle{font-size:10px;font-weight:600;color:#557276;margin:0;letter-spacing:.2px}
.paloBrainBadge{border:1px solid #ffc64f;background:#fff6dc;color:#855c03;font:700 10px/1 "Plus Jakarta Sans",sans-serif;padding:4px 8px;border-radius:12px;cursor:pointer;display:inline-flex;align-items:center;gap:3px;transition:background-color .15s}
.paloBrainBadge:hover{background:#ffeaad}
.paloHeaderActions{display:flex;gap:6px}
.paloIconBtn{width:32px;height:32px;border:1px solid #b6cbc7;background:#fff;border-radius:50%;color:#20373b;font-size:13px;display:grid;place-items:center;cursor:pointer;transition:background-color .15s,transform .15s}
.paloIconBtn:hover{background:#ffc64f;border-color:#ffc64f}

/* Speech Text Body */
.paloSpeechBody{padding:12px 16px 8px;max-height:160px;overflow-y:auto;flex:none}
.paloMessageText{font-size:13.5px;line-height:1.55;color:#183b3e;margin:0;font-weight:550;letter-spacing:-0.01em}

/* Live Cognitive Thinking Monologue (Palo's Own Brain in Action) */
.paloThoughtBox{margin:6px 16px 10px;padding:10px 12px;background:#f6faf8;border:1px solid #b8d6cf;border-left:3.5px solid #183b3e;border-radius:12px;box-shadow:0 2px 8px rgba(24,59,62,0.06);animation:paloSlideDown .2s ease-out}
.paloThoughtHeader{display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;gap:8px}
.paloThoughtBadge{font-size:10.5px;font-weight:800;color:#183b3e;letter-spacing:.5px;text-transform:uppercase;display:flex;align-items:center;gap:5px}
.paloThoughtState{font-size:9.5px;font-weight:750;color:#1e524b;background:#d7eae4;padding:2px 8px;border-radius:8px}
.paloThoughtChevron{font-size:11px;color:#51756e;transition:transform 0.2s ease-out;margin-left:auto;padding-left:6px}
.paloThoughtSteps{display:flex;flex-direction:column;gap:7px;margin-top:8px;padding-top:8px;border-top:1px dashed #c0d8d2}
.paloThoughtStep{display:flex;align-items:flex-start;gap:9px;font-size:11.5px}
.paloThoughtIcon{font-size:14px;line-height:1.2;flex:none}
.paloThoughtStage{display:block;font-size:10px;font-weight:800;color:#183b3e;text-transform:uppercase;letter-spacing:.5px}
.paloThoughtDesc{margin:1px 0 0;color:#2e4d48;line-height:1.45}

/* Verified Review Citation Card */
.paloReviewCard{margin:6px 16px 10px;padding:11px 13px;background:#fffdf6;border:1px solid #ffe18f;border-left:3.5px solid #ffc64f;border-radius:12px;box-shadow:0 2px 8px rgba(255,198,79,0.16);animation:paloSlideDown .2s ease-out}
.paloReviewHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;gap:8px}
.paloReviewBadge{font-size:9.5px;text-transform:uppercase;letter-spacing:.8px;font-weight:800;color:#855c03}
.paloSentimentPill{font-size:10px;font-weight:750;background:#ffefc2;color:#6b4700;padding:2px 8px;border-radius:10px}
.paloReviewQuote{font-size:12.5px;font-style:italic;color:#28443f;line-height:1.55;margin:0 0 6px}
.paloReviewTip{font-size:11px;font-weight:600;color:#516d67;line-height:1.45;margin:0}

/* Live Web Search Intelligence Card */
.paloWebSearchCard{margin:6px 16px 10px;padding:12px 14px;background:#f0f9f6;border:1px solid #73b8a6;border-left:4px solid #107c68;border-radius:14px;box-shadow:0 3px 12px rgba(16,124,104,0.14);animation:paloSlideDown .2s ease-out}
.paloWebSearchHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;gap:8px}
.paloWebSearchBadge{font-size:9.5px;text-transform:uppercase;letter-spacing:.8px;font-weight:800;color:#0e5e4f;display:flex;align-items:center;gap:4px}
.paloWebLearnPill{font-size:10px;font-weight:750;background:#d2eee6;color:#0a4d41;padding:2px 7px;border-radius:10px}
.paloWebSearchHeading{font-size:13.5px;font-weight:800;color:#183b3e;margin:0 0 4px;line-height:1.3}
.paloWebSearchSummary{font-size:12px;color:#2c4b46;line-height:1.55;margin:0 0 6px}
.paloWebSearchBuzz{font-size:11.5px;font-style:italic;color:#3d615b;line-height:1.5;margin:0 0 6px;padding-left:8px;border-left:2px solid #52a893}
.paloWebSearchTags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.paloWebSearchTag{font-size:9.5px;font-weight:750;background:#ffffff;border:1px solid #94cbbe;color:#183b3e;border-radius:8px;padding:2px 6px}

/* Quick Chip Rail */
.paloChipRail{display:flex;gap:6px;padding:2px 16px 10px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:none}
.paloChipRail::-webkit-scrollbar{display:none}
.paloChipRail button{flex:none;border:1px solid #9dc3ba;border-radius:18px;padding:6px 12px;background:#ffffff;color:#183b3e;font:700 11px/1 "Plus Jakarta Sans",sans-serif;cursor:pointer;transition:all .16s ease-out;white-space:nowrap}
.paloChipRail button:hover{background:#ffc64f;border-color:#ffc64f;color:#183b3e;transform:translateY(-1px);box-shadow:0 2px 6px rgba(255,198,79,0.3)}
.paloChipRail button:active{transform:scale(0.96)}

/* Results Deck */
.paloResultsDeck{padding:0 16px 6px;max-height:270px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:10px}
.paloVenueCard{padding:12px 13px;background:#ffffff;border:1px solid #c9ded9;border-radius:14px;box-shadow:0 2px 8px rgba(20,55,59,0.06);transition:border-color .15s,box-shadow .15s,transform .15s}
.paloVenueCard:hover{border-color:#ffc64f;box-shadow:0 4px 14px rgba(255,198,79,0.22);transform:translateY(-1px)}
.paloVenueMeta{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.paloCuisineTag{font-size:9.5px;text-transform:uppercase;letter-spacing:.8px;font-weight:800;color:#436963}
.paloVenueName{font-size:15px;font-weight:800;margin:2px 0;color:#183b3e;line-height:1.25;letter-spacing:-0.01em}
.paloVenueSub{font-size:11px;color:#55726e;margin:0;line-height:1.4}
.paloMatchPill{background:#ffc64f;color:#183b3e;border-radius:10px;padding:4px 8px;text-align:center;flex:none;border:1px solid #ebb43e}
.paloMatchPill strong{display:block;font-size:13px;line-height:1}
.paloMatchPill span{display:block;font-size:8.5px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}
.paloVenueQuote{font-size:11.5px;font-style:italic;color:#3b5a54;margin:7px 0 9px;line-height:1.5;border-left:2.5px solid #ffc64f;padding-left:8px}
.paloVenueActions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.paloExploreBtn{border:0;background:none;color:#116053;font:800 12px/1 "Plus Jakarta Sans",sans-serif;padding:6px 0;cursor:pointer;text-align:left;transition:color .15s}
.paloExploreBtn:hover{color:#0b453b;text-decoration:underline;text-underline-offset:3px}
.paloFeedbackRow{display:flex;gap:5px}
.paloFeedbackBtn{border:1px solid #a8c8c2;border-radius:12px;padding:5px 10px;background:#f6faf8;color:#203f3a;font:700 11px/1 "Plus Jakarta Sans",sans-serif;cursor:pointer;transition:all .15s}
.paloFeedbackBtn:hover{background:#ffc64f;border-color:#ffc64f;transform:translateY(-1px)}
.paloFeedbackBtn.active{background:#183b3e;color:#fff;border-color:#183b3e}

/* ML & Cognitive Brain Drawer */
.paloBrainDrawer{padding:14px 16px;background:#edf5f2;border-top:1px solid #c2d8d3;max-height:300px;overflow-y:auto;overscroll-behavior:contain}
.paloBrainHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.paloBrainHead h4{font-size:13.5px;font-weight:800;color:#183b3e;margin:0}
.paloXpTag{font-size:10px;font-weight:750;background:#ffc64f;color:#20373b;padding:3px 8px;border-radius:12px;margin-top:2px;display:inline-block}

/* Cognitive Brain Drawer Stats Grid */
.paloBrainStatsGrid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:12px}
.paloStatCard{background:#ffffff;border:1px solid #c8ded8;border-radius:12px;padding:8px 3px;text-align:center}
.paloStatVal{display:block;font-size:15px;font-weight:850;color:#183b3e;line-height:1.1}
.paloStatLabel{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.4px;font-weight:750;color:#5a7b75;margin-top:2px}

.paloSectionSub{font-size:10.5px;color:#55706c;line-height:1.45;margin:0 0 8px}

/* Teach Form */
.paloTeachForm{display:flex;flex-direction:column;gap:6px;background:#ffffff;padding:10px;border-radius:12px;border:1px solid #c2dbd4}
.paloTeachInput,.paloTeachTextarea{border:1px solid #9dbbb4;border-radius:8px;padding:6px 9px;font:500 11.5px/1.3 "Plus Jakarta Sans",sans-serif;color:#183b3e;background:#fafcfb}
.paloTeachInput:focus,.paloTeachTextarea:focus{outline:0;border-color:#ffc64f;box-shadow:0 0 0 2px rgba(255,198,79,0.25)}
.paloTeachTextarea{resize:none}
.paloTeachBtn{border:0;border-radius:10px;background:#183b3e;color:#ffffff;font:800 11px/1 "Plus Jakarta Sans",sans-serif;padding:8px 12px;cursor:pointer;transition:background-color .15s}
.paloTeachBtn:hover{background:#ffc64f;color:#183b3e}

/* Concept Cloud */
.paloConceptCloud{display:flex;flex-wrap:wrap;gap:5px;max-height:130px;overflow-y:auto;padding-right:2px}
.paloConceptPill{border:1px solid #9dc3ba;background:#ffffff;color:#1c423f;border-radius:12px;padding:4px 8px;font:700 10.5px/1 "Plus Jakarta Sans",sans-serif;cursor:pointer;transition:background-color .15s,transform .15s}
.paloConceptPill:hover{background:#ffc64f;border-color:#ffc64f;transform:translateY(-1px)}
.paloConceptPill.active{background:#183b3e;color:#fff;border-color:#183b3e}

/* Concept Detail Box */
.paloConceptDetailBox{margin-top:8px;padding:9px 11px;background:#ffffff;border:1px solid #73b8a6;border-left:3px solid #ffc64f;border-radius:10px;animation:paloSlideDown .15s ease-out}
.paloConceptDetailHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}
.paloConceptDetailHead h6{margin:0;font-size:12px;font-weight:800;color:#183b3e}
.paloConceptCategory{font-size:9.5px;font-weight:750;background:#d8efe8;color:#0b5749;padding:2px 6px;border-radius:8px}
.paloConceptDetailFact{font-size:11px;color:#2c4b46;line-height:1.45;margin:0 0 6px}
.paloConceptDetailMeta{display:flex;align-items:center;justify-content:space-between;font-size:9.5px;color:#678580;font-weight:600}

.paloGenomeSection{margin-bottom:12px}
.paloGenomeSection h5{font-size:11px;text-transform:uppercase;letter-spacing:.7px;font-weight:800;color:#35534f;margin:0 0 6px}
.paloAffinities{display:flex;flex-direction:column;gap:5px}
.paloAffinityBar{display:grid;grid-template-columns:80px 1fr 34px;align-items:center;gap:8px;font-size:11px}
.paloAffLabel{color:#20373b;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.paloAffTrack{height:8px;background:#d2e5e0;border-radius:4px;overflow:hidden}
.paloAffFill{height:100%;background:linear-gradient(90deg,#5fe397,#ffc64f);border-radius:4px}
.paloAffVal{text-align:right;font-weight:700;color:#183b3e;font-size:10.5px}
.paloSpiceGauge{display:flex;align-items:center;gap:8px;font-size:10.5px;font-weight:700;color:#45605d}
.paloSpiceTrack{position:relative;flex:1;height:8px;background:linear-gradient(90deg,#64bfa1,#ffc64f,#ff5a36);border-radius:4px}
.paloSpiceThumb{position:absolute;top:-4px;width:16px;height:16px;background:#fff;border:2px solid #183b3e;border-radius:50%;transform:translateX(-50%);box-shadow:0 2px 4px rgba(0,0,0,0.2)}
.paloLogList{padding:0;margin:0;list-style:none;font-size:10.5px;color:#3a5450;display:flex;flex-direction:column;gap:4px}
.paloLogList li{display:flex;align-items:center;gap:6px;background:#ffffff;padding:5px 8px;border-radius:8px;border:1px solid #d4e4e0}
.paloLogTime{color:#76918d;font-size:9.5px}
.paloLogList strong{margin-left:auto;color:#183b3e}
.paloBrainFooter{margin-top:12px;text-align:center}
.paloCloseBrainBtn{border:1px solid #94b1aa;background:#fff;color:#183b3e;font:700 11px/1 "Plus Jakarta Sans",sans-serif;padding:8px 16px;border-radius:14px;cursor:pointer}

/* Form & Input Bar */
.paloForm{padding:10px 16px 14px;background:#f4f8f6;border-top:1px solid #d0e3de;flex:none}
.paloInputRow{display:flex;align-items:center;background:#fff;border:1.5px solid #95bbb1;border-radius:16px;padding:3px;box-shadow:0 2px 6px rgba(16,43,48,0.06);transition:border-color .15s,box-shadow .15s}
.paloInputRow:focus-within{border-color:#183b3e;box-shadow:0 0 0 3px rgba(255,198,79,0.35)}
.paloInputRow input{flex:1;min-width:0;border:0;background:transparent;padding:9px 12px;font:500 13px/1.3 "Plus Jakarta Sans",sans-serif;color:#183b3e;outline:0}
.paloMicBtn,.paloSendBtn{width:36px;height:36px;border:0;border-radius:12px;font-size:15px;display:grid;place-items:center;cursor:pointer;transition:background-color .15s,transform .15s;flex:none}
.paloMicBtn{background:#e8f2ef;color:#183b3e;margin-right:4px}
.paloMicBtn:hover{background:#ffc64f}
.paloMicBtn.is-listening{background:#ff5a36;color:#fff;animation:paloMicPulse .8s infinite alternate}
.paloSendBtn{background:#ffc64f;color:#183b3e;font-weight:900}
.paloSendBtn:hover{background:#ffb726;transform:scale(1.05)}
.paloStatusText{font-size:10.5px;color:#4f6e69;margin:6px 4px 0;line-height:1.4;display:flex;align-items:center;gap:4px}

/* Keyframe Animations */
@keyframes paloFloat{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-6px) rotate(2deg)}}
@keyframes paloShadowPulse{0%,100%{transform:scale(1);opacity:.22}50%{transform:scale(.85);opacity:.12}}
@keyframes paloSproutSpring{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg)}75%{transform:rotate(7deg)}}
@keyframes paloBlink{0%,43%,47%,100%{transform:scale(1,1)}45%{transform:scale(1,0.08)}}
@keyframes paloTalkBob{from{transform:translateY(0) scale(1)}to{transform:translateY(-4px) scale(1.03)}}
@keyframes paloMouthFlap{from{height:4px;border-radius:0 0 8px 8px}to{height:9px;border-radius:50%}}
@keyframes paloListenPerk{from{transform:translateY(0) rotate(-4deg)}to{transform:translateY(-4px) rotate(5deg)}}
@keyframes paloThinkTilt{from{transform:rotate(-6deg)}to{transform:rotate(8deg)}}
@keyframes paloJoyJump{0%,100%{transform:translateY(0) scale(1)}40%{transform:translateY(-14px) scale(1.06) rotate(-5deg)}70%{transform:translateY(-4px) scale(.97) rotate(4deg)}}
@keyframes paloJoyBounce{0%,100%{transform:translateY(0) scale(1)}35%{transform:translateY(-10px) scale(1.06) rotate(-4deg)}70%{transform:translateY(-2px) scale(.97) rotate(3deg)}}
@keyframes paloCuriousTilt{0%,100%{transform:rotate(5deg) scale(1.03)}50%{transform:rotate(10deg) scale(1.05) translateY(-3px)}}
@keyframes paloWarmBob{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.02)}}
@keyframes paloPlayfulWobble{0%,100%{transform:rotate(0)}25%{transform:rotate(-6deg) scale(1.04)}75%{transform:rotate(6deg) scale(1.04)}}
@keyframes paloGentleSway{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-2px) rotate(2deg)}}
@keyframes paloHaloPulse{0%{opacity:.75;transform:scale(.85)}100%{opacity:0;transform:scale(1.4)}}
@keyframes paloHello{0%,100%{transform:rotate(0)}30%{transform:translateY(-8px) rotate(-10deg) scale(1.04)}65%{transform:rotate(8deg) scale(1.02)}}
@keyframes paloSparkleFly{0%{opacity:0;transform:scale(.4) translateY(4px)}50%{opacity:1;transform:scale(1.2) translateY(-8px)}100%{opacity:0;transform:scale(1) translateY(-18px)}}
@keyframes paloBubbleIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes paloSlideDown{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes paloMicPulse{from{transform:scale(1);box-shadow:0 0 0 0 rgba(255,90,54,0.5)}to{transform:scale(1.08);box-shadow:0 0 0 6px rgba(255,90,54,0)}}

/* Mobile Viewport Adaptations */
@media(max-width:600px){
  .paloContainer{right:12px;bottom:78px}
  .paloCreature{width:72px;height:76px}
  .paloCreature .palo{zoom:.85}
  .paloSvg{width:72px;height:72px}
  .paloBubble{width:calc(100vw - 24px);max-height:70dvh}
  .paloBubbleTail{right:28px}
  .paloResultsDeck{max-height:220px}
}

@media(prefers-reduced-motion:reduce){
  .paloCreature .palo,.paloSvg,.paloShadow,.paloSproutWrap,.paloEyesGroup,.paloBubble,.paloReviewCard,.paloSparkles *,.paloVoiceHalo{animation:none!important;transition:none!important}
}

/* Retain Login and Intro components */
.interactiveLogin .loginPet{display:flex;align-items:center;gap:12px;margin-bottom:20px;color:#315e68;font-size:12px}
.interactiveLogin .loginPet .palo{width:70px;transform:scale(1.1)}
.passwordWrap{position:relative}
.passwordWrap .field{padding-right:66px;width:100%;box-sizing:border-box}
.passwordWrap>button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#315e68;font-size:12px;padding:12px;cursor:pointer}
.passwordHint{font-size:11px!important;min-height:14px;margin:4px 0!important;color:#9b3f38!important}
.interactiveLogin .field::placeholder{color:#526e76;opacity:1}
.petEyesClosed .paloFace i{height:2px;top:20px;border-radius:0}
.interactiveLogin .field:focus{box-shadow:0 0 0 3px #ffc64f25}
.interactiveLogin .introReplay{font-size:11px;border-top:1px solid #527275;padding-top:15px;margin-top:12px;width:100%}
.paloIntro{border:0;border-radius:28px;padding:0;background:#183b3e;color:#fff;width:min(680px,calc(100vw - 32px));overflow:hidden}
.paloIntro::backdrop{background:#102e38aa;backdrop-filter:blur(4px)}
.paloIntro video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.paloIntro>div{padding:0 32px 26px;position:relative}
.paloIntro span{font-size:10px;letter-spacing:3px;color:#ffcf69}
.paloIntro h2{font-size:clamp(28px,5vw,44px);line-height:1.05;letter-spacing:-1.5px;margin:12px 0 20px}
.paloIntro button{background:#ffc64f;color:#20373b;padding:12px 19px;border:0;border-radius:30px;font-weight:750;cursor:pointer}


/* Live Conversation Transcript */
#paloTranscript{max-height:140px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#f7faf8;border-top:1px solid #d5e5e0;border-bottom:1px solid #d5e5e0;padding:8px 14px;margin:0;display:flex;flex-direction:column;gap:6px;scrollbar-width:thin}
#paloTranscript::-webkit-scrollbar{width:4px}
#paloTranscript::-webkit-scrollbar-thumb{background:#c0d8d2;border-radius:4px}
.paloTurn{font-size:12px;line-height:1.45;margin:0;word-break:break-word;display:inline-block;transition:opacity .15s ease-out}
.paloTurn.user{align-self:flex-end;background:#fff8e5;border:1px solid #fedc8a;color:#183b3e;padding:6px 11px;border-radius:14px 14px 3px 14px;max-width:86%;font-weight:600;box-shadow:0 1px 3px rgba(255,198,79,0.12)}
.paloTurn.assistant{align-self:flex-start;background:#ffffff;border:1px solid #cfe0db;color:#20373b;padding:7px 11px;border-radius:14px 14px 14px 3px;max-width:90%;box-shadow:0 1px 3px rgba(20,55,59,0.04)}

/* Brain Drawer Controls */
#paloLearnDish{font:600 13px/1.3 "Plus Jakarta Sans",sans-serif;width:100%;padding:9px 12px;border-radius:10px;border:1.5px solid #9dc3ba;background:#ffffff;color:#183b3e;margin:8px 0 10px;outline:0;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
#paloLearnDish:focus{border-color:#183b3e;box-shadow:0 0 0 3px rgba(255,198,79,0.3)}
#paloLearnActions{display:flex;gap:8px;margin-bottom:8px}
#paloLearnActions button,#paloSyncRetry{padding:8px 14px;border:1px solid #88a5a7;border-radius:12px;background:#ffffff;color:#20373b;font:700 11px/1 "Plus Jakarta Sans",sans-serif;cursor:pointer;transition:background-color .15s,transform .15s,border-color .15s}
#paloLearnActions button:hover,#paloSyncRetry:hover{background:#ffc64f;border-color:#ffc64f;transform:translateY(-1px)}
#paloLearnActions button[aria-pressed=true]{background:#183b3e;color:#ffffff;border-color:#183b3e}

@keyframes paloLivePulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.7}}

/* Adaptive Memory & Continuous Learning Loop */
.paloMemoryCard{background:#ffffff;border:1px solid #c2dbd4;border-left:3.5px solid #107c68;border-radius:12px;padding:11px 13px;margin:8px 0 12px;box-shadow:0 2px 8px rgba(16,124,104,0.06)}
.paloMemoryHead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}
.paloMemoryPersona{font-size:12.5px;font-weight:800;color:#183b3e;display:block}
.paloMemoryMeta{font-size:10px;color:#53736e;margin:2px 0 0}
.paloLoopBadge{font-size:9.5px;font-weight:750;background:#d8efe8;color:#0b5749;padding:3px 7px;border-radius:10px;display:flex;align-items:center;gap:5px;white-space:nowrap}
.paloLoopPulse{width:6px;height:6px;border-radius:50%;background:#107c68;animation:paloLivePulse 1.8s infinite ease-in-out}
.paloMemoryRow{font-size:11px;color:#2c4b46;margin:4px 0;line-height:1.4}
.paloMemoryRow strong{color:#183b3e;font-weight:750}
.paloMemoryActions{margin-top:8px;padding-top:7px;border-top:1px dashed #d0e4df;display:flex;justify-content:flex-end}
.paloClearMemoryBtn{background:none;border:0;color:#7a9993;font:700 10.5px/1 "Plus Jakarta Sans",sans-serif;padding:3px 6px;cursor:pointer;border-radius:6px;transition:color .15s}
.paloClearMemoryBtn:hover{color:#b34032;text-decoration:underline}


/* ==========================================================================
   PALATEO NEW UI SPEC: MAP, PLACE DETAILS, DISH MATCH & PROFILE PASS
   ========================================================================== */

/* 2. Map Floating Widgets: Weather & Theme Capsule */
.mapWeatherWidget {
  position: absolute;
  left: 14px;
  bottom: 64px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: #1e293b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.mapWeatherWidget .weatherAqi {
  color: #059669;
  font-weight: 700;
  margin-left: 2px;
}

.mapThemeToggle {
  position: absolute;
  left: 14px;
  bottom: 22px;
  z-index: 10;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  padding: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.mapThemeBtn {
  border: 0;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  color: #475569;
  background: transparent;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mapThemeBtn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.32);
}

[data-map-dark] .mapWeatherWidget {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}
[data-map-dark] .mapThemeToggle {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-map-dark] .mapThemeBtn {
  color: #94a3b8;
}
[data-map-dark] .mapThemeBtn.active {
  background: #3b82f6;
  color: #ffffff;
}

/* 3. Map City Picker Modal */
.mapCityPickerModal {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mapCityPickerCard {
  background: #0f2023;
  border: 1px solid #1e3a3f;
  border-radius: 20px;
  padding: 16px 20px;
  width: min(340px, 90%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
.mapCityPickerHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mapCityPickerHead h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
  color: #ffffff;
}
.mapCityPickerHead button {
  background: #172d31;
  border: 0;
  color: #a0b2ad;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}
.mapCityList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mapCityBtn {
  background: #172d31;
  border: 1px solid #23474d;
  color: #e5ede9;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mapCityBtn:hover {
  background: #1f3b40;
  border-color: #31626a;
}
.mapCityBtn.active {
  background: #0e382d;
  border-color: #10b981;
  color: #34d399;
}

/* 4. Map Preview Card (Screenshot 2 Match) */
.streetMapFrame .zestMapSheet {
  margin: 10px 12px 14px;
  padding: 0;
  background: #0f2023;
  border: 1px solid #1e3a3f;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  color: #f0fdf4;
  animation: slideUp 0.22s cubic-bezier(0.2, 0.8, 0.4, 1);
}
.zestSheetTopBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.zestCityDropdownBtn {
  background: #172d31;
  border: 1px solid #23474d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 99px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.zestCityDropdownBtn:hover {
  background: #1f3b40;
}
.zestSheetCountBadge {
  background: #172d31;
  border: 1px solid #23474d;
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 99px;
  padding: 6px 12px;
}
.zestSheetSearchBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #172d31;
  border: 1px solid #23474d;
  color: #d0ded8;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.zestSheetSearchBtn:hover {
  background: #1f3b40;
  color: #ffffff;
}
.zestCardImageContainer {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #172d31;
  cursor: pointer;
}
.zestCardImageContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.zestCardImageContainer:hover img {
  transform: scale(1.03);
}
.zestCardStatusPill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 99px;
  padding: 4px 10px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.zestCardStatusPill.isOpen {
  background: rgba(14, 56, 45, 0.92);
  border: 1px solid #17604d;
  color: #34d399;
}
.zestCardStatusPill.isClosed {
  background: rgba(59, 24, 27, 0.92);
  border: 1px solid #6b262c;
  color: #f87171;
}
.zestCardTopActions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.zestCardCircleBtn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 32, 35, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.zestCardCircleBtn:hover {
  transform: scale(1.08);
}
.zestCardCircleBtn.navBtn {
  background: #2563eb;
  border: 0;
}
.zestCardBottomBadgeLeft {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 32, 35, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d0ded8;
  font-size: 11px;
  font-weight: 750;
  border-radius: 99px;
  padding: 3px 10px;
  z-index: 2;
}
.zestCardBottomBadgeRight {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 32, 35, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d0ded8;
  font-size: 11px;
  font-weight: 750;
  border-radius: 99px;
  padding: 3px 10px;
  z-index: 2;
}
.zestCardBody {
  padding: 12px 14px 14px;
  cursor: pointer;
}
.zestCardRow1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.zestCardTitle {
  font-size: 16.5px;
  font-weight: 850;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zestCardRating {
  font-size: 12px;
  font-weight: 850;
  color: #fbbf24;
  white-space: nowrap;
}
.zestCardRating small {
  color: #8dafa8;
  font-weight: 600;
}
.zestCardRow2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.zestCardSubtitle {
  font-size: 12px;
  color: #9bb7af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zestCardMatchPill {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 10.5px;
  font-weight: 850;
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
  flex: none;
}
.zestCardMustOrder {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 6px;
}
.zestCardMustOrder strong {
  color: #fbbf24;
  font-weight: 800;
  flex: none;
}
.zestCardMustOrder span {
  color: #e2ece8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 5. Place Details View (Screenshot 1 Match) */
.aboutSpotCard {
  background: #14282b;
  border: 1px solid #234346;
  border-radius: 20px;
  padding: 16px 18px;
  color: #e5ede9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  margin-top: 14px;
}
.aboutSpotHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 8px;
  flex-wrap: wrap;
}
.aboutSpotCategoryBadge {
  background: #1c3639;
  border: 1px solid #2d555a;
  color: #a9cdc5;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aboutSpotStatusPill.isOpen {
  background: #0e382d;
  border: 1px solid #17604d;
  color: #34d399;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aboutSpotStatusPill.isClosed {
  background: #3b181b;
  border: 1px solid #6b262c;
  color: #f87171;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aboutSpotRow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d0ded8;
}
.aboutSpotRow .rowIcon {
  font-size: 15px;
  color: #fbbf24;
  flex: none;
  margin-top: 1px;
}
.aboutSpotFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #234346;
  gap: 8px;
}
.aboutSpotRating {
  background: #1c3639;
  border: 1px solid #2d555a;
  color: #fbbf24;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 850;
}
.aboutSpotRating span {
  color: #8dafa8;
  font-weight: 600;
  font-size: 11px;
}
.aboutSpotVerified {
  background: #1c3639;
  border: 1px solid #2d555a;
  color: #d2ebe4;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 6. Signature Dishes & Palate Match */
.signatureDishesSection {
  margin-top: 26px;
}
.signatureDishesSection h2 {
  font-size: 20px;
  font-weight: 850;
  color: #f0fdf4;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
.signatureDishesSection .subtitle {
  font-size: 12.5px;
  color: #8baaa2;
  margin: 0 0 16px;
}
.spotDishCard {
  background: #14282b;
  border: 1px solid #234346;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  color: #e5ede9;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.spotDishCard:hover {
  border-color: #376368;
  transform: translateY(-1px);
}
.dishCardHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.dishTitleArea {
  display: flex;
  align-items: center;
  gap: 9px;
}
.vegDot {
  width: 15px;
  height: 15px;
  border: 1.5px solid #22c55e;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.vegDot::after {
  content: '';
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
}
.nonVegDot {
  width: 15px;
  height: 15px;
  border: 1.5px solid #ef4444;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.nonVegDot::after {
  content: '';
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
}
.dishName {
  font-size: 15px;
  font-weight: 800;
  color: #f0fdf4;
  margin: 0;
}
.dishPrice {
  font-size: 15px;
  font-weight: 850;
  color: #fbbf24;
  flex: none;
}
.dishDesc {
  font-size: 12.5px;
  color: #8dafa8;
  line-height: 1.45;
  margin: 0 0 12px;
}
.dishCardActions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.dishHighlightPill {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dishVoteArea {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.dishVoteArea span {
  font-size: 11.5px;
  color: #8dafa8;
  font-weight: 600;
}
.dishVoteBtn {
  background: #1c3639;
  border: 1px solid #2d555a;
  color: #a9cdc5;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dishVoteBtn:hover {
  background: #25474c;
  border-color: #3f747c;
}
.dishVoteBtn.active {
  background: #fbbf24;
  color: #14282b;
  border-color: #fbbf24;
  font-weight: 850;
  transform: scale(1.06);
}

/* 7. Sticky Bottom Action Bar (Screenshot 1) */
.spotStickyActionBar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 24, 26, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid #234346;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  display: flex;
  gap: 12px;
  z-index: 99;
  margin: 24px -16px -32px -16px;
  border-radius: 20px 20px 0 0;
}
.spotStickyActionBar .btnVisited {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  background: #14282b;
  border: 1.5px solid #2a5257;
  color: #e5ede9;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.spotStickyActionBar .btnVisited.active {
  background: #0e382d;
  border-color: #10b981;
  color: #34d399;
}
.spotStickyActionBar .btnDirections {
  flex: 1.25;
  min-height: 48px;
  border-radius: 14px;
  background: #fbbf24;
  border: 0;
  color: #14282b;
  font-size: 14px;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.25);
  transition: all 0.15s ease;
}
.spotStickyActionBar .btnDirections:hover {
  background: #f59e0b;
}

/* 8. Profile Filters & Passport Modal */
.profileFilterSection {
  margin-top: 18px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d5ded4;
  border-radius: 18px;
}
.profileFilterHeading {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 10px;
}
.profileFilterPills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profileFilterPill {
  border: 1px solid #c8d8ce;
  background: #f4f8f5;
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 750;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.profileFilterPill.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: 0 2px 8px rgba(11, 89, 63, 0.25);
}

.passportModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.passportModalCard {
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  width: min(540px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid #e0eae2;
}
.passportModalHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #e8efe9;
  padding-bottom: 12px;
}
.passportModalHeader h2 {
  font-size: 20px;
  font-weight: 850;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.passportModalClose {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #eef4f0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.passportItemCard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #e2eae3;
  border-radius: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.passportItemCard:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}
.passportItemPhoto {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
  background: #f0f5f1;
}
.passportItemInfo {
  flex: 1;
  min-width: 0;
}
.passportItemTitle {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passportItemMeta {
  font-size: 12px;
  color: var(--muted);
}
.passportItemScore {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  background: #e8f5ec;
  padding: 3px 8px;
  border-radius: 99px;
  flex: none;
}

/* 9. BETA Badge */
.betaBadge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Optional preferences in You. */
.prefInteractiveGroup{margin-bottom:22px;color:#eef6f6}
.prefLabelRow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:12px}
.prefCurrentVal{font-size:12px;color:#c2d4d6}
.budgetChoicePills{display:flex;flex-wrap:wrap;gap:8px}
.budgetPill,.distPill{border:1px solid #587477;background:#203b3f;color:#eef6f6;border-radius:12px;padding:10px 12px;min-height:44px;cursor:pointer;font:inherit;font-size:12px}
.budgetPill.active,.distPill.active{background:#ffcb4d;border-color:#ffcb4d;color:#182e32}
.budgetPill:focus-visible,.distPill:focus-visible{outline:2px solid #ffcb4d;outline-offset:3px}
.prefInteractiveGroup .studioHint,.prefInteractiveGroup .spiceMeterEnds{color:#c2d4d6}
.prefInteractiveGroup label{display:block;font-size:12px}
.prefInteractiveGroup .linkBtn{color:#ffcb4d}

/* Scientific Dish Calibration & Palate Matching */
.calibrationSensoryBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #2dd4bf;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 750;
  margin: 6px 0;
}
.calibrationSensoryTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 10px;
}
.calibrationSensoryTags .sensoryTag {
  font-size: 10.5px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c7ded9;
  border-radius: 5px;
}
.calibratedGenomeSummary {
  background: linear-gradient(135deg, #162c30 0%, #102124 100%);
  border: 1px solid #294a50;
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0;
}
.genomeHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.genomeHeader small {
  color: #8dafa8;
  font-size: 10px;
  font-weight: 600;
}
.genomeMeters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.genomeMeterItem {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: #d1e3df;
}
.genomeMeterItem b {
  font-size: 11px;
  color: #fbbf24;
  align-self: flex-end;
  margin-top: -16px;
}
.miniBar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.miniBar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2dd4bf, #fbbf24);
  border-radius: 99px;
}

/* In-Card Calibrated Dishes */
.cardCalibratedDishesRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.cardDishLabel {
  font-size: 10.5px;
  font-weight: 750;
  color: #8dafa8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cardDishPill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5ede9;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}
.cardDishPill:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}
.cardDishMatch {
  font-size: 10px;
  color: #2dd4bf;
  font-weight: 800;
}

/* Explore Your Taste Venue Dishes */
.dishPriceGroup {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.dishPalateMatchBadge {
  font-size: 11px;
  font-weight: 800;
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.dishSensoryWhyNote {
  font-size: 11.5px;
  color: #8dafa8;
  margin: 4px 0 10px;
  line-height: 1.4;
  font-style: italic;
}
.dishBadgesCluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.dishSensoryFocusTag {
  font-size: 10px;
  color: #a7cbc3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 5px;
}

/* Collaborative Taste Twin AI Styles */
.collaborativeSummaryCard {
  background: linear-gradient(135deg, #18363a 0%, #0d2226 100%);
  border: 1px solid #28545b;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  color: #e6f1ef;
}
.collaborativeSummaryTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.personaBadge {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.consensusPill {
  font-size: 11px;
  font-weight: 800;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
}
.collaborativeSummaryCard h3 {
  font-size: 18px;
  font-weight: 850;
  color: #f3fdf9;
  margin: 0 0 6px;
}
.collaborativeSummaryCard p {
  font-size: 12.5px;
  color: #9dbdb7;
  line-height: 1.45;
  margin: 0 0 12px;
}
.collaborativePredictedPills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.predLabel {
  font-size: 11px;
  font-weight: 750;
  color: #fbbf24;
}
.predictedPill {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5ede9;
  padding: 3px 8px;
  border-radius: 6px;
}
.predictedPill small {
  color: #8dafa8;
  font-size: 9.5px;
}
.twinConcordancePill {
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  color: #2dd4bf;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  margin: 6px 0;
  display: inline-block;
}

/* Collaborative Profile Card in Palate Studio */
.collaborativeProfileCard {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(135deg, #152d31 0%, #0c1e21 100%);
  border: 1px solid #28545b;
  border-radius: 18px;
}
.collabCardHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.collabBadge {
  font-size: 10.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}
.collabCardHead h3 {
  font-size: 17px;
  font-weight: 850;
  color: #f3fdf9;
  margin: 0;
}
.collabScoreBadge {
  font-size: 11.5px;
  font-weight: 800;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.collabSummary {
  font-size: 12.5px;
  color: #9dbdb7;
  line-height: 1.45;
  margin: 0 0 14px;
}
.collabTwinList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.collabTwinItem {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
}
.collabAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dd4bf, #0b593f);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.collabTwinMeta {
  flex: 1;
  min-width: 0;
}
.collabTwinTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.collabTwinTitle strong {
  font-size: 12.5px;
  color: #f0fdf4;
}
.twinMatchVal {
  font-size: 11px;
  font-weight: 750;
  color: #fbbf24;
}
.collabTwinReason {
  font-size: 11px;
  color: #8dafa8;
  margin: 2px 0 0;
  line-height: 1.3;
}
.collabPredictionsBox {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.collabPredHeading {
  display: block;
  font-size: 11px;
  font-weight: 750;
  color: #fbbf24;
  margin-bottom: 6px;
}
.collabPredPills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.collabPredPill {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5ede9;
  padding: 3px 8px;
  border-radius: 6px;
}
.collabPredPill small {
  color: #8dafa8;
  font-size: 9.5px;
}
