:root{--ink:#173B63;--muted:#456581;--bg:#F3F9FF;--surface:#fff;--accent:#B9E3FF;--primary:#2364AA;--border:#C5DCEB;--focus:#2364AA;--radius:24px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0;font-size:1.0rem;line-height:1.5}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:disabled{cursor:default}a{color:inherit}.shell{width:min(1200px,calc(100% - 96px));margin:auto}.demo-bar{background:var(--ink);color:white;text-align:center;font-size:0.875rem;padding:9px 20px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-bottom:1px solid var(--border)}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:1.875rem;font-weight:850;letter-spacing:-1.5px}.beta{font-size:0.875rem;letter-spacing:1px;font-weight:700;padding:5px 8px;border:1px solid var(--border);border-radius:6px;margin-left:5px}nav{display:flex;gap:8px}nav button{padding:12px 20px;border-radius:12px;background:transparent;font-weight:650;min-height:48px}nav button[aria-current]{background:var(--accent)}#saved-count{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;min-width:24px;height:24px;background:white;margin-left:6px;font-size:0.875rem}.intro{display:flex;align-items:center;justify-content:space-between;padding:34px 0 28px;gap:24px}.eyebrow{text-transform:uppercase;font-size:0.875rem;letter-spacing:1.5px;font-weight:750;color:var(--primary);margin:0 0 10px}h1{font-size:clamp(30px,3.5vw,44px);line-height:1.12;letter-spacing:-1.6px;margin:0 0 12px}p{margin:0;color:var(--muted)}.mascot{margin-right:35px}.filters{background:var(--surface);padding:22px 24px;border:1px solid var(--border);border-radius:20px}label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:0.875rem;min-width:0}.search input{font-size:1.0625rem;background:var(--bg);border:1px solid var(--border);padding:14px 16px;border-radius:10px;width:100%;min-width:0}.filter-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:18px;margin-top:16px;align-items:end}select{width:100%;background:white;border:1px solid #67839D;border-radius:8px;padding:10px 30px 10px 12px;min-height:44px;font-size:0.875rem}.reset{background:transparent;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:10px 8px;font-size:0.875rem}.results-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 20px}.results-bar>p{font-size:0.875rem;font-weight:650}.sort{flex-direction:row;align-items:center;font-weight:400;gap:12px}.sort select{width:200px;border:0;background:transparent}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .16s}.card:hover{box-shadow:0 10px 25px #173B630d}.card-art{height:155px;padding:22px;position:relative;overflow:hidden;background:#DEEFFB;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.card-art>span:first-child{font-size:0.875rem;font-weight:650;letter-spacing:.4px}.card-art>strong{font-size:1.6875rem;font-weight:850;line-height:1.08;letter-spacing:-1px;max-width:75%;z-index:1}.tone-1{background:#D6E5FF}.tone-2{background:#B9E3FF}.tone-3{background:#DEEFFB}.art-number{position:absolute;right:18px;bottom:-20px;font-size:6.0rem;font-weight:900;opacity:.08;line-height:1.2}.save-card{position:absolute;right:14px;top:14px;background:#ffffffdd;border:1px solid #ffffff;border-radius:50%;font-size:1.625rem;line-height:1;width:44px;height:44px;z-index:2}.save-card[aria-pressed=true]{color:var(--primary);background:white}.card-body{padding:22px;display:flex;flex-direction:column;flex:1}.example{font-size:0.875rem;text-transform:uppercase;letter-spacing:.45px;font-weight:650;color:var(--muted)}.location{font-size:0.875rem;color:var(--muted);margin:15px 0 8px}.card h2{font-size:1.3125rem;line-height:1.25;letter-spacing:-.5px;margin:0 0 10px}.title-button{background:transparent;text-align:left;font:inherit;padding:0;min-height:44px}.title-button:hover{text-decoration:underline;text-underline-offset:4px}.description{font-size:0.875rem;line-height:1.5}.card-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:24px}.price{font-size:1.6875rem;letter-spacing:-1px;font-variant-numeric:tabular-nums}.basis{display:block;font-size:0.875rem;color:var(--muted)}.details-button{padding:10px 0 10px 12px;background:transparent;font-size:0.875rem;font-weight:700;white-space:nowrap;min-height:44px}.empty{padding:70px 20px;text-align:center;background:white;border:1px dashed var(--border);border-radius:24px}.empty h2{margin:0 0 12px}.empty button{margin-top:24px}.primary,.secondary{padding:13px 20px;border-radius:12px;min-height:48px;font-weight:650}.primary{background:var(--primary);color:white}.secondary{background:var(--accent)}footer{padding:44px 0;margin-top:44px;border-top:1px solid var(--border);font-size:0.875rem}footer strong{font-size:1.0625rem}footer p{max-width:800px;margin-top:12px}.warning{padding:18px;background:#fff3cf;margin-top:20px;border-radius:12px}dialog{width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--border);border-radius:24px;padding:28px;color:var(--ink);background:white;box-shadow:0 30px 100px #173B6344}dialog::backdrop{background:#15334877;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.icon-button{border-radius:50%;width:44px;height:44px;flex-shrink:0;background:var(--bg)}dialog h2{font-size:1.875rem;line-height:1.18;letter-spacing:-.8px;margin:15px 0}dialog p{font-size:0.9375rem}.detail-price{display:flex;gap:15px;align-items:center;padding:22px;background:var(--bg);border-radius:16px;margin:24px 0}.detail-price strong{font-size:2.0rem;white-space:nowrap}.detail-price span{font-size:0.875rem}dt{font-weight:700;font-size:0.875rem;margin-top:20px}dd{margin:6px 0 0;color:var(--muted);font-size:0.875rem}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.provider-note{background:var(--accent);padding:16px;margin-top:18px;border-radius:12px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{display:block;padding:15px;background:white}[hidden]{display:none!important}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{width:calc(100% - 48px)}.filter-row{grid-template-columns:1fr 1fr 1fr}.reset{grid-column:1/-1;justify-self:start;padding-left:0}.mascot{margin-right:0}.beta{display:none}}
@media(max-width:600px){.shell{width:calc(100% - 40px)}.demo-bar{font-size:0.875rem;padding:8px 16px}header{padding:16px 0;flex-wrap:wrap;gap:14px}.brand{font-size:1.8125rem}.brand img{width:40px;height:40px}nav{width:100%;background:white;border-radius:12px;padding:4px}nav button{flex:1;padding:9px 10px}.intro{padding:26px 0;gap:8px}.intro p:not(.eyebrow){font-size:0.875rem}.eyebrow{font-size:0.875rem;letter-spacing:1px}.mascot{width:62px;height:62px}h1{font-size:1.8125rem;letter-spacing:-1px}.filters{padding:16px}.filter-row{grid-template-columns:1fr 1fr;gap:14px}.filter-row label:last-of-type{grid-column:1/-1}.reset{grid-column:1/-1}.search input{font-size:1.0rem}.results-bar{gap:10px;align-items:start;flex-direction:column;margin:22px 0 16px}.sort{width:100%;justify-content:space-between}.grid{grid-template-columns:1fr;gap:20px}.card-art{height:150px}.card-body{padding:20px}.card h2{font-size:1.375rem}.example{font-size:0.875rem}.description{font-size:0.9375rem}.basis{font-size:0.875rem}dialog{padding:20px;max-height:calc(100dvh - 24px)}dialog h2{font-size:1.625rem}.dialog-actions{flex-direction:column}.dialog-actions button{width:100%}.detail-price{padding:16px}.mascot{flex-shrink:0}footer{margin-top:30px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.brand .logo{width:180px;height:auto}.primary:hover{background:#1C528E}.primary:active{background:#173B63}.card-body{padding:24px}.search input{border-color:#67839D}.example{text-transform:none;letter-spacing:0}body{font-size:1.0625rem}.card-art>span:first-child{max-width:calc(100% - 50px)}
@media(max-width:600px){.card-body{padding:20px}.mascot{display:none}.brand .logo{width:180px;height:auto}}
.nearby{margin-top:16px}.nearby p,.map-note,#map-panel>p{font-size:.875rem;margin-top:14px}.nearby .filter-row{grid-template-columns:1fr 1fr auto auto;margin-top:0}.view-switch{display:flex;gap:8px;margin-top:22px}.view-switch [aria-pressed=true]{background:var(--primary);color:white}.map-note{margin-bottom:16px}#map{height:480px;border:1px solid var(--border);border-radius:16px;margin-top:14px;z-index:0}.leaflet-control-attribution{font-size:12px!important}.leaflet-control-zoom a{min-width:44px;min-height:44px;padding:7px!important}.leaflet-marker-icon:focus-visible{outline:3px solid var(--focus);outline-offset:5px}button:disabled{opacity:.6}#api-error{margin-top:20px}#api-error button{margin-top:12px}#loading{margin-top:20px}@media(max-width:800px){.nearby .filter-row{grid-template-columns:1fr 1fr}.nearby button{grid-column:1/-1}#map{height:380px}} 
@media(max-width:400px){.filter-row,.nearby .filter-row{grid-template-columns:1fr}.filter-row>*{grid-column:1!important}}
.filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px}.filter-heading .reset{font-size:.875rem}.active-filters{font-size:.875rem;margin:0 0 12px;overflow-wrap:anywhere}#filter-count{font-size:.875rem;font-weight:400;margin-left:8px}.view-switch{margin-top:0}.nearby{margin-bottom:16px}#map-panel{scroll-margin-top:12px}@media(max-width:600px){.map-mode .nearby{padding:12px;margin:0 0 12px}.map-mode .nearby .filter-row{grid-template-columns:1fr 1fr!important;gap:8px}.map-mode .nearby .filter-row>*{grid-column:auto!important}.map-mode .nearby .filter-row label{font-size:.875rem}.map-mode .nearby .filter-row button{font-size:.875rem;padding:8px;min-height:44px}.map-mode .nearby p{font-size:.875rem;margin-top:8px}.map-mode #map{height:360px}.filter-heading{gap:8px}.filter-heading button{padding:10px;font-size:.875rem}.intro{padding-bottom:20px}}

/* Sheepz CI 1.0 · approved cartoon identity. See brand/CI-GUIDELINE.md. */
:root{--accent:#B9E3FF;--ink:#173B63;--primary:#2364AA;--bg:#F3F9FF;--radius:26px;font-optical-sizing:auto}
body{background:radial-gradient(ellipse at 85% 5%,#d8f0ff 0,transparent 40%),var(--bg);-webkit-font-smoothing:antialiased}
.shell{width:min(1160px,calc(100% - 64px))}
.demo-bar{background:#e1f1fc;color:var(--ink);font-size:.875rem;border-bottom:1px solid #c5dceb;padding:8px 20px}
header.shell{position:sticky;top:8px;z-index:50;margin-top:12px;padding:8px 18px;border:1px solid #ffffffd9;border-radius:24px;background:#ffffffd9;backdrop-filter:blur(20px) saturate(145%);box-shadow:0 4px 24px #173b6309;gap:20px}
.brand{gap:8px;flex-shrink:0}.brand .brand-avatar{width:52px;height:52px;border-radius:18px;object-fit:cover}.brand .logo{width:142px;height:71px;object-fit:contain}
nav{padding:4px;background:#ecf6fd;border-radius:16px}nav button{padding:10px 18px;border-radius:12px;letter-spacing:-.01em}nav button[aria-current]{background:white;box-shadow:0 2px 8px #173b6310}
.intro{padding:30px 8px 24px;gap:24px;min-height:220px}.intro>div{max-width:660px}.intro .eyebrow{letter-spacing:.08em;font-size:.8125rem;font-weight:750;margin-bottom:10px}.intro h1{font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.045em;line-height:1.08;max-width:600px}.intro p:not(.eyebrow){font-size:1.0625rem;line-height:1.5;max-width:540px}.intro .mascot{display:block;width:194px;height:194px;object-fit:contain;border-radius:32px;margin:0;flex-shrink:0;box-shadow:0 12px 30px #173b6309}
.view-switch{display:inline-flex;padding:5px;gap:4px;background:#dfedf7;border:1px solid #d4e5f1;border-radius:17px}.view-switch button{min-width:108px;background:transparent;padding:10px 24px;border-radius:12px}.view-switch [aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 2px 8px #173b6315}
.filter-heading{margin-top:18px}.filter-heading .secondary{background:transparent;border:1px solid #b0cce0;border-radius:14px}#filter-count{font-weight:500}.filters{border:1px solid #d0e2ef;border-radius:22px;box-shadow:0 4px 18px #173b6304;padding:20px 22px}.search input{border-radius:14px;background:#f6fbff;border-color:#8aa6bc;padding:14px 18px}.filter-row{gap:16px}select{border-radius:12px;border-color:#8aa6bc;background-color:#f9fcff;min-height:46px}.nearby{background:#e8f5ff}.nearby .secondary{background:white;border:1px solid #b3d3e9}.nearby p{margin-top:10px}.reset{color:var(--primary);text-decoration-thickness:1px}.active-filters{margin-top:8px}.results-bar{margin:26px 0 18px}.results-bar>p{font-size:.9375rem}
.grid{gap:20px}.card{border-color:#d1e3ef;box-shadow:0 3px 12px #173b6305;transition:box-shadow 160ms ease-out,border-color 160ms ease-out}.card:hover{box-shadow:0 12px 28px #173b6312;border-color:#8fb8d4}.card-art{height:146px;background:linear-gradient(130deg,#ddf2ff,#b9e3ff)}.card-art.tone-1{background:linear-gradient(130deg,#e8f0ff,#c5dcf5)}.card-art.tone-2{background:linear-gradient(130deg,#c9eeff,#a9d9fa)}.card-art.tone-3{background:linear-gradient(130deg,#edf8ff,#d0e6f8)}.card-art>strong{font-size:1.65rem;letter-spacing:-.045em}.card-art>span:first-child{background:#ffffffb3;padding:4px 10px;border-radius:20px;font-size:.8125rem}.art-number{font-size:6.5rem;right:16px;bottom:-17px;opacity:.065}.save-card{box-shadow:0 2px 12px #173b6310}.card-body{padding:22px}.example{font-size:.8125rem;color:#456581}.card h2{font-size:1.35rem;letter-spacing:-.025em}.description{font-size:.9375rem}.price{font-size:1.8rem;font-weight:780;letter-spacing:-.035em}.details-button{color:var(--primary)}.primary{box-shadow:0 3px 10px #2364aa16}.primary,.secondary{border-radius:14px}.empty{border-style:solid;background:#ffffffc9}.empty h2{letter-spacing:-.03em}.sort select{background:#ffffff9c;border:1px solid #c5dceb;border-radius:12px}
button:active:not(:disabled){transform:scale(.98)}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}dialog{border-radius:28px;box-shadow:0 24px 100px #173b633d}.dialog-top{position:sticky;top:-28px;background:#fffffff2;backdrop-filter:blur(12px);padding:8px 0;z-index:2}.dialog-actions{border-top:1px solid #d4e5f1;padding-top:20px}.detail-price{background:#e6f5ff;border-radius:20px}.map-note{max-width:900px}#map{border-radius:24px;border-color:#accce2}footer{padding:32px 0 48px;border-color:#c5dceb}footer strong{letter-spacing:-.025em}
@media(max-width:1000px){.shell{width:calc(100% - 40px)}.intro .mascot{width:166px;height:166px}.intro{min-height:190px}.brand .logo{width:128px;height:64px}}
@media(max-width:600px){.shell{width:calc(100% - 32px)}header.shell{top:0;padding:8px 10px;border-radius:0 0 22px 22px;margin-top:0;gap:5px;flex-wrap:nowrap;align-items:center}.brand{gap:2px}.brand .brand-avatar{width:38px;height:38px;border-radius:12px}.brand .logo{width:92px;height:46px}nav{width:auto;gap:0;background:#eaf5fd;padding:3px;margin-left:auto}nav button{font-size:.8125rem;padding:8px;min-height:44px;flex:initial}#saved-count{font-size:.75rem;min-width:19px;height:19px;margin-left:3px}.intro{padding:24px 0 20px;min-height:0;gap:14px}.intro>div{min-width:0}.intro h1{font-size:1.95rem;letter-spacing:-.04em;line-height:1.08}.intro .eyebrow{font-size:.75rem;letter-spacing:.05em}.intro p:not(.eyebrow){font-size:.875rem;line-height:1.45}.intro .mascot{width:96px;height:96px;border-radius:24px}.filters{padding:16px}.filter-row{gap:12px}.view-switch{display:flex}.view-switch button{flex:1;min-width:0}.filter-heading{margin-top:14px}.card-art{height:145px}.card-body{padding:20px}.grid{gap:18px}.sort select{width:220px}.dialog-top{top:-20px}.map-mode #map{height:360px}.map-mode .intro{display:none}.map-mode .view-switch{margin-top:18px}#map-panel{scroll-margin-top:90px}}
@media(max-width:370px){header.shell{gap:2px;padding:6px}.brand .brand-avatar{display:none}.brand .logo{width:98px}.intro .mascot{width:76px;height:76px;border-radius:20px}.intro h1{font-size:1.75rem}nav button{padding:8px 7px}.sort select{width:190px}}
@media(prefers-reduced-transparency:reduce){header.shell,.dialog-top{background:white;backdrop-filter:none}}
@media(prefers-contrast:more){header.shell,.filters,.card,.view-switch{border-color:#456581;background:white}nav button[aria-current],.view-switch [aria-pressed=true]{outline:2px solid #173b63}}
@media(prefers-reduced-motion:reduce){button:active:not(:disabled){transform:none}*{scroll-behavior:auto!important;transition:none!important}}

.legal-links{display:flex;flex-wrap:wrap;gap:8px 24px}.legal-links a{display:inline-flex;align-items:center;min-height:44px}

/* Mobile webapp shell · Sheepz CI · feed-first navigation. */
.mobile-only,.bottom-nav{display:none}
.feed-search{margin:0 0 16px}.feed-search .search{font-size:.875rem}.feed-search input{background:white;box-shadow:0 3px 14px #173b6305}
.category-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 4px 12px;scrollbar-width:thin;scroll-padding:4px}.category-chips button{flex:0 0 auto;min-height:44px;border-radius:24px;padding:9px 17px;background:white;border:1px solid #b0cce0;font-size:.875rem;font-weight:650}.category-chips button[aria-pressed=true]{color:white;background:var(--ink);border-color:var(--ink)}
.menu-links{display:flex;flex-direction:column;margin:24px 0}.menu-links a{display:flex;justify-content:space-between;align-items:center;min-height:56px;padding:12px 4px;text-decoration:none;border-bottom:1px solid var(--border);font-weight:650}.menu-links a:hover{color:var(--primary)}.install-note{padding:18px;border-radius:18px;background:#DEEFFB}.install-note p{margin-top:8px}.menu-demo{margin-top:20px;font-size:.875rem}.menu-sheet h2{margin:0;font-size:1.5rem}.warning{background:#DEEFFB;color:var(--ink)}
@media(max-width:600px){
 html{scroll-padding-top:88px;scroll-padding-bottom:94px}body{background:#F3F9FF;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.shell{width:calc(100% - 32px)}
 .demo-bar{font-size:.75rem;line-height:1.4;padding:6px 16px;background:#DEEFFB;border:0}
 header.shell.app-header{width:100%;top:0;margin:0;border:0;border-bottom:1px solid #d4e5f1;border-radius:0;min-height:72px;padding:calc(2px + env(safe-area-inset-top,0px)) 16px 2px;display:grid;grid-template-columns:44px 1fr 44px;gap:8px;background:#f3f9fff2;box-shadow:0 3px 16px #173b6305;z-index:100}
 .app-header .brand{justify-self:center}.app-header .brand-avatar{display:none}.app-header .brand .logo{width:136px;height:68px;object-fit:contain}.app-header .desktop-navigation{display:none}.mobile-only.header-action{display:flex;justify-content:center;align-items:center;width:44px;height:44px;background:transparent;border-radius:14px;font-size:26px;line-height:1}
 .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;width:100%;z-index:110;margin:0;border-radius:0;border-top:1px solid #c5dceb;padding:6px max(8px,env(safe-area-inset-left,0px)) calc(6px + env(safe-area-inset-bottom,0px));gap:0;background:#f9fcfff5;backdrop-filter:blur(22px);box-shadow:0 -4px 24px #173b6308}
 .bottom-nav button{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:58px;min-width:0;padding:4px 2px;background:transparent;border-radius:12px;font-size:.6875rem;font-weight:650;color:var(--muted);box-shadow:none}
 .bottom-nav button[aria-current]{background:transparent;color:var(--ink);box-shadow:none}.nav-icon{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:30px;border-radius:16px}.bottom-nav button[aria-current] .nav-icon{background:#B9E3FF}.nav-badge{position:absolute;right:0;top:-4px;min-width:17px;height:17px;padding:0 3px;border-radius:10px;background:var(--ink);color:white;font-size:10px;line-height:17px}
 .intro{padding:20px 0 14px;gap:0;min-height:0}.intro .mascot,.intro .eyebrow{display:none}.intro h1{font-size:1.65rem;line-height:1.15;letter-spacing:-.035em;margin-bottom:6px}.intro p:not(.eyebrow){font-size:.875rem;line-height:1.45}.intro>div{max-width:none}
 .feed-search{margin:0 0 12px}.feed-search .search{font-size:0;gap:0}.feed-search input{height:48px;font-size:1rem;padding:12px 16px;border-radius:16px;border:1px solid #8aa6bc;background:#fff}.feed-search input::placeholder{color:#456581;opacity:1}
 .category-chips{margin:0 -16px;padding:2px 16px 12px;scrollbar-width:none}.category-chips button{padding:8px 15px;min-height:44px;font-size:.8125rem}
 .view-switch{display:none}.filter-heading{margin:0;gap:8px}.filter-heading .secondary{min-height:44px;background:white;padding:8px 14px;font-size:.8125rem}.filter-heading .reset{font-size:.8125rem}#filter-count{font-size:.8125rem;margin-left:4px}.active-filters:empty{display:none}.active-filters{font-size:.8125rem;margin:8px 0}.filters{margin-top:12px;padding:14px;border-radius:18px}.filters .filter-row{margin-top:0}
 body:not(.map-mode):not(.filters-open) .nearby{display:none}.map-note{display:none}.map-mode .map-note{display:block;font-size:.8125rem;margin:12px 0}.map-mode .feed-search{margin-top:16px}.map-mode .category-chips{padding-bottom:8px}.map-mode #map-panel{scroll-margin-top:86px}.map-mode #map{height:clamp(260px,43dvh,480px);border-radius:20px}.map-mode .nearby .filter-row{grid-template-columns:1fr 1fr!important}
 .results-bar{flex-direction:row;align-items:center;gap:8px;margin:14px 0 12px}.results-bar>p{font-size:.75rem;flex-shrink:0}.results-bar .sort{font-size:0;gap:0;width:auto}.results-bar .sort select{width:162px;font-size:.75rem;min-height:44px;padding:8px 22px 8px 10px;background:transparent;border:0}
 .grid{gap:12px}.card{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start;border-radius:20px;padding:16px 14px;overflow:visible;box-shadow:0 2px 8px #173b6304}.card-art{position:static;width:88px;height:100px;padding:12px 8px;border-radius:14px;display:flex;justify-content:center;align-items:center;overflow:visible;text-align:center;margin-top:27px}.card-art>span:first-child,.art-number{display:none}.card-art>strong{max-width:100%;font-size:1rem;line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere}.save-card{right:8px;top:36px;width:44px;height:44px;font-size:1.5rem;background:#f3f9ff;border:0;box-shadow:none}.card-body{padding:0;min-width:0}.card .example{font-size:.75rem;line-height:1.35;letter-spacing:0;grid-column:1/-1}.card .location{font-size:.75rem;line-height:1.4;margin:8px 34px 6px 0}.card h2{font-size:1rem;line-height:1.35;letter-spacing:-.02em;margin:0 26px 8px 0}.title-button{min-height:44px}.card .description{font-size:.8125rem;line-height:1.45}.card-bottom{padding-top:12px;gap:4px;align-items:start;flex-wrap:wrap}.price{font-size:1.5rem;line-height:1.25;letter-spacing:-.025em}.basis{font-size:.75rem;line-height:1.35;margin-top:2px}.details-button{font-size:.8125rem;padding:8px 0;min-height:44px}.card-bottom>div{flex:1 1 100%}.card-bottom .details-button{padding:0;min-height:44px}
 .menu-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-height:calc(100dvh - 80px);border-radius:26px 26px 0 0;padding:24px 24px calc(24px + env(safe-area-inset-bottom,0px));border-bottom:0}.menu-sheet .dialog-top{top:-24px}.menu-sheet::before{content:'';display:block;width:36px;height:4px;border-radius:4px;background:#c5dceb;margin:-12px auto 18px}dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px));overscroll-behavior:contain}footer{padding-bottom:20px}.legal-links{background:transparent;padding:0;margin:0;width:auto}
}
@media(max-width:350px){.card{grid-template-columns:70px minmax(0,1fr);gap:10px;padding:14px 12px}.card-art{width:70px;height:88px;padding:8px 5px}.card-art>strong{font-size:.875rem}.results-bar .sort select{width:145px}.intro h1{font-size:1.45rem}}
@media(prefers-reduced-transparency:reduce){.bottom-nav,header.shell.app-header{background:#F3F9FF;backdrop-filter:none}}

/* Map explorer: price pins + a linked preview rail. */
.map-mode .intro,.map-mode .feed-search,.map-mode .category-chips,.map-mode .filter-heading,.map-mode #advanced-filters,.map-mode #active-filters,.map-mode .view-switch,.map-mode main>.nearby,.map-mode main>.map-note,.map-mode .results-bar,.map-mode main>footer,.map-mode main>#empty{display:none!important}
.map-mode main.shell{width:calc(100% - 40px);max-width:1600px}.map-mode #map-panel{display:grid;grid-template-columns:350px minmax(0,1fr);height:calc(100dvh - 180px);min-height:480px;margin:20px 0 0;border:1px solid var(--border);border-radius:24px;overflow:hidden;background:white;position:relative;isolation:isolate}
.map-canvas{position:relative;grid-column:2;grid-row:1;min-width:0;min-height:0}.map-mode #map{position:absolute;inset:0;width:100%;height:100%!important;margin:0;border:0;border-radius:0;background:#DEEFFB;z-index:0}.map-toolbar{position:absolute;z-index:500;top:18px;left:18px;right:72px;display:flex;align-items:center;gap:8px;pointer-events:none}.map-pill{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:999px;background:white;box-shadow:0 3px 16px #173b6329;border:1px solid #d1e3ef;min-height:48px;padding:10px 18px;color:var(--ink);font-size:.875rem;font-weight:650}.map-pill:hover{background:#f3f9ff}.map-pill small{display:block;font-size:.75rem;font-weight:450;color:var(--muted)}#map-location{justify-content:flex-start;text-align:left;max-width:calc(100% - 70px);min-width:0}#map-location>span:last-child{min-width:0}#map-location strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.search-area{position:absolute;top:96px;left:50%;transform:translateX(-50%);z-index:500;white-space:nowrap;font-size:.8125rem;min-height:44px}.search-area:active:not(:disabled){transform:translateX(-50%) scale(.98)}.map-demo-badge{position:absolute;bottom:30px;left:14px;z-index:400;font-size:.75rem;padding:4px 10px;border-radius:12px;background:#ffffffed;color:var(--ink);pointer-events:none}.map-mode #tile-error{position:absolute;left:16px;right:16px;top:146px;z-index:500;margin:0;font-size:.8125rem;padding:12px;background:white;border:1px solid var(--border)}
.price-marker{display:flex;align-items:center;justify-content:center;border:0;background:transparent!important}.price-marker span{display:flex;align-items:center;justify-content:center;min-width:64px;height:34px;padding:0 12px;border-radius:22px;background:white;border:1px solid #7893a8;color:#173B63;font:750 14px/1 system-ui;box-shadow:0 2px 8px #173b6333;white-space:nowrap}.price-marker:hover span{transform:scale(1.08)}.price-marker.is-selected span{background:#173B63;color:white;border-color:#173B63}.price-marker:focus-visible{outline:3px solid #2364AA;border-radius:24px;outline-offset:2px}
.map-preview{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border);background:#f3f9ff;z-index:600}.map-preview-heading{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid var(--border)}.map-preview-heading strong{font-size:1rem}.map-preview-heading p{font-size:.75rem;margin:3px 0 0}.map-preview-list{position:relative;overflow:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:12px}.map-deal{background:white;border:1px solid var(--border);border-radius:20px;padding:16px;flex-shrink:0;min-width:0}.map-deal.is-selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.map-deal-select{display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;width:100%;padding:0;background:transparent;min-height:44px}.map-category{font-size:.75rem;color:var(--muted)}.map-deal-select>strong{font-size:1rem;line-height:1.3;letter-spacing:-.02em}.map-deal-price{font-size:1.25rem;font-weight:750;line-height:1.3}.map-deal-price small{font-size:.75rem;font-weight:450;color:var(--muted);display:block}.map-deal-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.map-deal-actions button{background:transparent;min-height:44px;font-size:.8125rem;color:var(--primary);padding:0;font-weight:650}.map-deal-actions [data-map-save]{width:44px;border-radius:50%;background:#DEEFFB;font-size:1.5rem}.map-no-results{padding:16px;font-size:.875rem}.map-no-results p{margin:8px 0 16px}.map-privacy{font-size:.875rem;margin:18px 0}#map-options-done{width:100%;margin-top:12px}#map-options .nearby{display:block!important;padding:16px;margin-top:20px}#map-options .filter-row{grid-template-columns:1fr 1fr!important;gap:12px}#map-options .filter-row>*{grid-column:auto!important}#map-options .nearby button{font-size:.8125rem;padding:10px}#map-options .nearby p{font-size:.8125rem}.map-mode .leaflet-top.leaflet-right{top:18px;right:12px}.map-mode .leaflet-control-zoom{border:1px solid #b0cce0;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #173b6320}
@media(min-width:601px){#map-preview-toggle{display:none}.map-preview-list[hidden]{display:flex!important}.map-mode .app-header{max-width:1600px}.map-mode #map-to-list{display:flex}}
@media(max-width:900px) and (min-width:601px){.map-mode #map-panel{grid-template-columns:290px minmax(0,1fr)}#map-location small{display:none}.map-toolbar{left:12px;right:60px;gap:5px}.map-pill{padding:10px 12px}}
@media(max-width:600px){
 .map-mode{overflow:hidden;padding-bottom:0}.map-mode .demo-bar{display:none}.map-mode main.shell{width:100%;margin:0}.map-mode #map-panel{position:fixed;top:var(--app-header-height,72px);bottom:calc(71px + env(safe-area-inset-bottom,0px));left:0;right:0;width:100%;height:auto;min-height:0;margin:0;display:block;border:0;border-radius:0;z-index:60}.map-canvas{position:absolute;inset:0}.map-toolbar{top:12px;left:12px;right:12px;gap:8px}#map-location{flex:1;max-width:none}.map-pill{padding:9px 14px;min-height:52px}.search-area{top:80px;min-height:44px;padding:10px 16px}.map-mode .leaflet-top.leaflet-right{top:134px;right:12px}.map-mode #tile-error{top:136px;right:68px}.map-preview{position:absolute;left:0;right:0;bottom:0;border:0;border-radius:22px 22px 0 0;box-shadow:0 -3px 20px #173b6315;background:#f3f9fff2;max-height:48%;backdrop-filter:blur(16px)}.map-preview-heading{padding:10px 16px 4px;background:transparent;border:0;min-height:58px}.map-preview-heading strong{font-size:.875rem}.map-preview-heading p{font-size:.75rem}.map-preview-list{display:flex;flex-direction:row;overflow-x:auto;overflow-y:auto;scroll-snap-type:x mandatory;gap:10px;padding:8px 16px 12px;scroll-padding:16px;scrollbar-width:none;min-height:0}.map-deal{flex:0 0 calc(100% - 16px);padding:12px 14px;scroll-snap-align:start;border-radius:18px}.map-deal-select{gap:5px}.map-category{font-size:.75rem}.map-deal-select>strong{font-size:.9375rem}.map-deal-price{font-size:1.125rem}.map-deal-price small{display:inline;font-size:.75rem;margin-left:5px}.map-deal-actions{margin-top:3px}.map-deal-actions button{min-height:44px}.map-deal-actions [data-map-save]{height:44px}.map-mode .leaflet-bottom{bottom:49%;max-width:100%}.map-mode .leaflet-control-attribution{font-size:10px!important;max-width:100%}.map-demo-badge{bottom:calc(49% + 22px);left:10px;font-size:.6875rem}.preview-collapsed .leaflet-bottom{bottom:66px}.preview-collapsed .map-demo-badge{bottom:86px}.map-no-results{min-width:100%;padding:8px;font-size:.8125rem}
}
@media(prefers-reduced-transparency:reduce){.map-preview{background:#F3F9FF;backdrop-filter:none}}

/* Profile is a full app destination, with legal links in its own footer. */
.profile-page{max-width:760px;min-height:calc(100dvh - 180px);padding-top:32px;display:flex;flex-direction:column}.profile-intro{display:flex;align-items:center;gap:20px;margin-bottom:28px}.profile-intro img{border-radius:28px;flex-shrink:0}.profile-intro h1{font-size:2rem;margin-bottom:8px}.profile-intro p{font-size:.9375rem}.profile-intro .eyebrow{font-size:.75rem}.profile-card{background:white;border:1px solid var(--border);border-radius:24px;padding:24px;margin-bottom:16px}.profile-card h2{font-size:1.2rem;line-height:1.3;margin:0 0 12px;letter-spacing:-.02em}.profile-card p{font-size:.9375rem;line-height:1.6}.profile-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:transparent;color:var(--ink);text-align:left;text-decoration:none;border-top:1px solid var(--border);padding:18px 0;min-height:60px;margin-top:16px}.profile-row+ .profile-row{margin:0;padding-bottom:0}.profile-row strong,.profile-row small{display:block}.profile-row strong{font-size:1rem}.profile-row small{font-size:.8125rem;color:var(--muted);margin-top:4px}.profile-footer{margin-top:auto;padding-top:24px}.profile-footer .legal-links{margin-top:12px;background:transparent;padding:0}.profile-footer p{font-size:.8125rem}.profile-intro h1:focus{outline:none}
@media(max-width:600px){.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-page{padding-top:24px;min-height:calc(100dvh - 190px - env(safe-area-inset-bottom,0px))}.profile-intro{gap:16px}.profile-intro img{width:76px;height:76px;border-radius:24px}.profile-intro h1{font-size:1.75rem}.profile-intro p{font-size:.875rem}.profile-card{padding:20px}.profile-footer{padding-bottom:20px}}

/* Sheepz basemap: recolour map imagery only; brand assets and UI stay untouched. */
.map-mode #map{background:#DEEFFB}
#map .leaflet-tile-pane{filter:url(#sheepz-map-palette)}
#map .leaflet-control-attribution{background:#f3f9fff2;color:#173B63;border-radius:8px 0 0 0;padding:3px 7px}
#map .leaflet-control-attribution a{color:#173B63}
#map .leaflet-control-zoom a{background:#F3F9FF;color:#173B63}
#map .leaflet-control-zoom a:hover{background:#B9E3FF}
@media(forced-colors:active){#map .leaflet-tile-pane{filter:none}}

/* Reference direction: neutral city map, clean search bar, restrained brand accents. */
.map-mode #map{background:#F3F9FF}
.map-topbar{position:absolute;z-index:500;top:0;left:0;right:0;background:#fffffff5;padding:16px 12px 12px;box-shadow:0 3px 12px #173b630a}
.map-topbar .map-toolbar{position:static;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;pointer-events:auto;max-width:720px;margin:auto}
.map-back{display:flex;align-items:center;justify-content:center;background:transparent;color:#173B63;min-width:44px;min-height:48px;padding:0;font-size:26px;border-radius:50%}
#map-location.map-search-capsule{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;max-width:none;min-height:62px;padding:10px 16px;text-align:center;border-radius:999px;background:white;box-shadow:0 2px 14px #173b6312;border:1px solid #e1e7ed;color:#173B63;min-width:0}
.map-search-capsule>strong{font-size:.9375rem;line-height:1.3;white-space:normal!important;overflow:visible!important}.map-search-capsule>small{font-size:.8125rem;font-weight:400;color:#456581;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.map-category-chips{display:flex;gap:8px;padding-top:12px;overflow:auto;scrollbar-width:none;scroll-padding:4px}.map-category-chips button{flex:0 0 auto;min-height:44px;padding:8px 16px;background:white;border:1px solid #d3dde6;border-radius:999px;font-size:.8125rem;color:#173B63}.map-category-chips button[aria-pressed=true]{background:#DEEFFB;border-color:#2364AA;font-weight:650}
.map-mode .search-area{top:162px;min-height:44px;box-shadow:0 2px 10px #173b6320}.map-mode .leaflet-top.leaflet-right{top:216px}.map-mode #tile-error{top:216px;right:68px}.price-marker span{height:38px;min-width:68px;background:white;color:#173B63;border:1px solid #d1d8df;box-shadow:0 2px 5px #00000029;font-weight:800;font-size:15px}.price-marker.is-selected span{background:#173B63;color:white}.map-preview{background:white}.map-preview-heading{background:white}.map-preview-list{background:white}.map-deal{box-shadow:none}.map-demo-badge{background:#fffffff2}#map-options #advanced-filters{display:block!important;margin-top:16px}#map-options #advanced-filters .filter-row{grid-template-columns:1fr!important}
@media(max-width:600px){.map-topbar{padding:12px 8px 10px}.map-topbar .map-toolbar{gap:6px;grid-template-columns:40px minmax(0,1fr) 40px}.map-search-capsule>strong{font-size:.8125rem}.map-search-capsule>small{font-size:.75rem}#map-location.map-search-capsule{padding:10px 8px;min-height:60px}.map-category-chips{padding-left:8px;padding-right:8px;padding-top:12px}.map-mode .search-area{top:148px}.map-mode .leaflet-top.leaflet-right{top:202px}.map-mode #tile-error{top:200px}.map-preview{border-radius:26px 26px 0 0;background:white;backdrop-filter:none;box-shadow:0 -2px 12px #173b630a}.map-preview-heading{padding-top:20px;position:relative}.map-preview-heading:before{content:'';position:absolute;top:8px;left:calc(50% - 16px);width:32px;height:4px;border-radius:4px;background:#a9b5bf}.preview-collapsed .map-preview-heading{min-height:78px}.preview-collapsed .leaflet-bottom{bottom:86px}.preview-collapsed .map-demo-badge{bottom:110px}}
@media(max-width:350px){.map-search-capsule>strong{font-size:.75rem}.map-topbar .map-toolbar{grid-template-columns:36px minmax(0,1fr) 36px;gap:4px}}

/* Final founder direction: reference layout + exclusively Sheepz map colours.
   All raster hues are discarded, then mapped through Navy, muted Navy, sky blue,
   and white. Interpolation preserves antialiasing and readable map labels. */
.map-mode #map{background:#F3F9FF}
.map-topbar{background:#fffffff5}
.price-marker span{border-color:#C5DCEB;box-shadow:0 2px 5px #173b6329}
.map-preview-heading:before{background:#67839D}
/* Focused map controls and externally hosted offer photos. */
.card-art{position:relative;overflow:hidden}.card-art .offer-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card-art:has(.offer-image:not([hidden]))>span,.card-art:has(.offer-image:not([hidden]))>strong{visibility:hidden}.save-card{z-index:2}.title-button,.details-button{color:inherit;text-decoration:none}.title-button:hover,.details-button:hover{text-decoration:underline}.map-topbar .map-toolbar,#map-center,.map-demo-badge{display:none!important}.map-topbar{padding:8px 12px}.map-category-chips{padding-top:0}.map-my-location{position:absolute;right:16px;bottom:24px;z-index:700;display:grid;place-items:center;width:52px;height:52px;min-height:52px;padding:0;border-radius:50%;background:white;color:#173B63;border:1px solid #C5DCEB;box-shadow:0 3px 12px #173b6326;font-size:32px}.map-location-status{position:absolute;z-index:650;top:72px;left:12px;right:12px;background:white;border-radius:12px;color:#173B63;font-size:14px;padding:10px;pointer-events:none}.map-location-status:empty{display:none}.map-deal-actions a{font-size:14px;min-height:44px;display:flex;align-items:center;color:#2364AA}.map-mode #tile-error{top:76px;right:12px}.map-preview-heading p{font-size:12px}@media(max-width:600px){.map-my-location{bottom:calc(49% + 26px)}.preview-collapsed .map-my-location{bottom:112px}}

/* One native card link, with a separate save action in the text area. */
.card{position:relative}.card-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.card .card-meta .location{margin:0;align-self:center}.card .card-meta .save-card{position:relative;top:auto;right:auto;flex:0 0 44px;width:44px;height:44px;min-height:44px;border-radius:50%;background:#F3F9FF;box-shadow:none;z-index:3}.card .title-button:after{content:"";position:absolute;inset:0;z-index:1;border-radius:20px}.card .title-button:focus-visible:after{outline:3px solid #2364AA;outline-offset:3px}.card h2{margin:4px 0 8px}.offer-source{font-size:14px;color:#456581;margin:0}.card .card-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:16px}.card .card-bottom .card-prices{display:flex;flex:1 1 auto;align-items:baseline;flex-wrap:wrap;gap:6px 12px}.compare-price{color:#456581;font-size:16px}.compare-price small{display:block;font-size:14px;font-weight:400}.deal-discount{display:inline-flex;align-items:center;background:#DEEFFB;color:#173B63;font-size:14px;font-weight:750;padding:5px 10px;border-radius:999px;white-space:nowrap}.card .card-art{margin-top:0}.card a.title-button:hover{text-decoration:none}@media(max-width:600px){.card-meta{margin-top:-6px}.card .card-bottom{padding-top:12px;gap:8px}.card .card-prices .price{font-size:24px}.compare-price{font-size:14px}.card .card-art{height:110px}.card .title-button{min-height:0}.card .card-meta .location{font-size:13px}}

/* Compact Cheapies feed and inline header search. */
header.shell.app-header{display:flex;position:sticky;top:0;min-height:76px;padding:0 16px;justify-content:flex-start;z-index:100}
.app-header .brand{position:absolute;left:50%;transform:translateX(-50%);transition:left 160ms ease-out;gap:0}
.app-header .brand-avatar{display:none}.app-header .brand .logo{width:136px;height:68px;object-fit:contain}
.app-header .header-action{display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent}
.app-header.search-open .brand{left:calc(100% - 76px)}
#header-search-form{display:flex;align-items:center;gap:0;width:calc(100% - 144px);max-width:600px;min-width:0;background:white;border:1px solid #C5DCEB;border-radius:14px}
#header-search-form input{width:100%;min-width:0;border:0;background:transparent;padding:10px;font-size:16px;color:#173B63;min-height:44px}
#search-close{flex:0 0 44px;width:44px;height:44px;padding:0;background:transparent;font-size:24px;color:#456581}
#header-search-form[hidden],#header-search[hidden],#filter-count,#active-filters,#reset{display:none!important}
.desktop-navigation{max-width:1200px;margin:12px auto;justify-content:center}.results-bar{margin-top:16px}
.card .card-art{align-self:center}.card h2{margin:0 0 6px}.card .card-bottom{padding-top:8px;gap:6px}
.card .card-bottom .card-prices{gap:4px 8px;flex:0 1 auto}.card .compare-price{color:#2364AA;font-size:20px;font-weight:650;text-decoration-thickness:1.5px;white-space:nowrap}.card .price{white-space:nowrap}.card .offer-source{font-size:12px;line-height:1.4}
@media(max-width:600px){.desktop-navigation{display:none}.card{padding-top:12px;padding-bottom:12px}.card .card-meta{margin-top:-4px}.card .card-prices .price{font-size:22px}.card .compare-price{font-size:18px}.card .deal-discount{font-size:12px;padding:4px 7px}.card .card-bottom{justify-content:flex-start}.card .card-meta .location{line-height:1.3}.results-bar .sort select{width:auto;max-width:210px}}
@media(prefers-reduced-motion:reduce){.app-header .brand{transition:none}}

/* Sticky browsing controls and a fixed price stamp. */
#header-search-form input:focus,#header-search-form input:focus-visible{outline:none;box-shadow:none;border:0;border-radius:14px}
#header-search-form:focus-within{border-color:#67839D;box-shadow:none;outline:none}
#header-search:focus:not(:focus-visible),#search-close:focus:not(:focus-visible){outline:none}
#category-chips{position:sticky;top:var(--app-header-height,76px);z-index:90;padding-top:16px;padding-bottom:12px;background:#F3F9FF;border-bottom:1px solid #DEEFFB}
.filter-heading{display:none!important}
body:not(.map-mode) #advanced-filters,body:not(.map-mode) #nearby-controls{display:none!important}
.card .card-bottom{padding-top:26px}.card .card-bottom .card-prices{width:100%;align-items:baseline;column-gap:8px;row-gap:26px}
.offer-price-wrap{position:relative;display:inline-flex;align-items:baseline;margin-left:auto}
.card .offer-price-wrap .deal-discount{position:absolute;right:0;bottom:calc(100% + 3px);transform:rotate(-7deg);border:1px solid #2364AA;background:#DEEFFB;color:#173B63;border-radius:6px;padding:3px 7px;font-size:12px;line-height:1.2;white-space:nowrap;box-shadow:1px 2px 0 #B9E3FF}
.card .price{line-height:1.25}.card .compare-price{font-size:18px}.card .offer-price-wrap .price{font-size:24px}
@media(max-width:350px){.card .compare-price{font-size:15px}.card .offer-price-wrap .price{font-size:20px}.card .card-bottom .card-prices{column-gap:5px}}

.feed-sentinel{height:1px;margin-top:24px}.profile-footer .legal-links{flex-wrap:wrap;align-items:center}.profile-footer .legal-links .privacy-settings-link{margin:0;padding:0;min-height:44px;font:inherit;color:inherit;font-weight:inherit;border-radius:0;flex:0 0 auto}

.profile-footer .legal-links{flex-wrap:nowrap;gap:16px;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.profile-footer .legal-links>*{white-space:nowrap;flex-shrink:0}.feed-location{display:flex;align-items:center;gap:16px;padding:16px;background:var(--accent);border-radius:20px;margin-top:20px}.feed-location>div{flex:1}.feed-location p{font-size:.875rem}.map-mode .feed-location{display:none}@media(max-width:600px){.feed-location{flex-wrap:wrap}.feed-location>div{flex-basis:100%}.profile-footer .legal-links{gap:12px;font-size:.8125rem}}
.card .title-button{overflow-wrap:anywhere}.feed-location>div{min-width:0}

.location-dialog{width:min(460px,calc(100% - 32px))}.location-dialog h2{font-size:1.5rem}.location-dialog .location-hint{font-size:.8125rem;margin-top:12px}.location-chip{flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;padding:0!important}.location-chip svg{pointer-events:none}

.category-chips .location-chip{flex:0 0 auto;min-width:122px;padding:0 14px!important;gap:8px}.location-dialog .dialog-actions{display:grid;grid-template-columns:1fr}.location-dialog .dialog-actions button{width:100%}.location-city{margin-top:20px}.location-city select{width:100%}.profile-alert-form{display:grid;gap:14px}.profile-alert-form input[type=email]{padding:12px;border:1px solid var(--border);border-radius:12px;width:100%;font:inherit;font-size:max(16px,1rem);min-height:48px}.profile-alert-form .alert-consent{display:flex;flex-direction:row;align-items:flex-start;font-weight:400;line-height:1.5}.alert-consent input{flex:0 0 20px;width:20px;height:20px;margin:2px 4px 0 0}.alert-honey{display:none}.deal-description{margin:16px 0}

/* One shared card layout for product recommendations and map previews. */
:is(.related-deals,.map-preview-list){display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:4px;padding:8px 4px 16px;max-width:100%;scrollbar-width:thin}:is(.related-deals,.map-preview-list) .card{flex:0 0 300px;display:flex;flex-direction:column;scroll-snap-align:start;padding:14px;gap:12px;overflow:hidden;min-width:0;border-radius:24px;background:var(--surface);border:1px solid var(--border)}:is(.related-deals,.map-preview-list) .card-art{width:100%;height:150px;flex-shrink:0;border-radius:14px;align-self:stretch}:is(.related-deals,.map-preview-list) .card-body{width:100%;padding:0}:is(.related-deals,.map-preview-list) .card h2{font-size:17px;line-height:1.35;margin:0 0 6px;min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:is(.related-deals,.map-preview-list) .card .location{font-size:13px}:is(.related-deals,.map-preview-list) .card a{color:#173B63}:is(.related-deals,.map-preview-list) .card .card-bottom{padding-top:26px}:is(.related-deals,.map-preview-list):focus-visible{outline:2px solid #2364AA;outline-offset:2px;border-radius:16px}
@media(max-width:760px){:is(.related-deals,.map-preview-list) .card{flex-basis:min(300px,calc(100vw - 72px))}.deal-section{min-width:0;max-width:100%}}
.map-preview-list .card.is-selected{border-color:#2364AA;box-shadow:0 0 0 1px #2364AA}.map-preview-list{padding:8px 16px 16px;scroll-padding:16px;align-items:stretch}.map-preview-list .card{height:auto;align-self:stretch}.map-preview{min-width:0}.map-preview-heading{flex-shrink:0}
@media(min-width:601px){.map-preview-list{flex-direction:column}.map-preview-list .card{flex:0 0 auto;width:100%}}
@media(max-width:600px){.map-preview{max-height:70%}.map-preview-list{flex-direction:row;overflow-y:auto}.map-mode .leaflet-bottom{bottom:calc(var(--map-preview-height,66px) + 4px)}.map-my-location,.preview-collapsed .map-my-location{bottom:calc(var(--map-preview-height,86px) + 20px)}}

/* Map cards keep their content height instead of shrinking the price below
   the clipped card edge when the bottom sheet has limited space. */
.map-preview-list{align-items:flex-start}
.map-preview-list .card{height:max-content;align-self:flex-start;overflow:visible}
.map-preview-list .card-body{flex:0 0 auto;min-height:min-content}
.map-preview-list .card-bottom{flex-shrink:0}
@media(max-width:600px){
 .map-preview{max-height:calc(100% - 132px)}
 .map-preview-list{padding-bottom:20px;overflow-y:auto}
 .map-preview-list .card-art{height:clamp(96px,16dvh,140px)}
}

/* Start map recommendations at the left; DOM refreshes must not anchor to a later card. */
.map-preview-list{direction:ltr;justify-content:flex-start;overflow-anchor:none}

/* Staging map revision: soft city map and floating price pins. */
#map .leaflet-tile-pane{filter:saturate(.38) brightness(1.09) contrast(.84)}
.price-marker{overflow:visible!important;align-items:flex-start!important}
.price-marker span{position:relative;height:42px;min-width:94px;padding:0 15px;border-radius:28px;border:1px solid #DEEFFB;background:#fff;color:#173B63;box-shadow:0 5px 16px #173B6326;font-size:16px;letter-spacing:-.02em;font-weight:750;transform:none!important}
.price-marker span:before{content:'';position:absolute;left:calc(50% - 7px);bottom:-5px;width:14px;height:14px;background:inherit;transform:rotate(45deg);border-radius:3px}
.price-marker span:after{content:'';position:absolute;left:calc(50% - 10px);bottom:-23px;width:14px;height:14px;border:4px solid #fff;border-radius:50%;background:#3688BD;box-shadow:0 3px 9px #173B6326}
.price-marker.is-selected span{background:#173B63;border-color:#2364AA;color:white;box-shadow:0 5px 18px #173B6350}
.price-marker.is-selected span:after{background:#2364AA;width:19px;height:19px;left:calc(50% - 13px);bottom:-27px}
.map-locate{background:#fff!important;border:1px solid #DEEFFB!important;box-shadow:0 5px 18px #173B6326!important;border-radius:50%!important;color:#173B63!important}

@media(forced-colors:active){#map .leaflet-tile-pane{filter:none}}

/* The bottom carousel has one scroll axis. Let its content set the sheet
   height so hiding vertical overflow never cuts off the prices. */
@media(max-width:600px){
 .map-preview{max-height:none}
 .map-preview-list{overflow-x:auto;overflow-y:hidden;touch-action:pan-x pinch-zoom;overscroll-behavior-y:none;flex-shrink:0}
 .map-preview-list .card{touch-action:pan-x pinch-zoom}
}
@media(max-width:600px) and (max-height:650px){
 .map-preview-list .card-art{height:72px}
 .map-preview-list .card{gap:8px;padding:10px}
 .map-preview-heading{min-height:44px;padding-top:6px}
}


/* Profile legal links stay readable when the blog link is present. */
.profile-footer .legal-links{flex-wrap:wrap;overflow:visible;justify-content:center}
