@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:wght@500;600;700&display=swap');
:root{--ink:#242b24;--red:#c43d22;--paper:#fcfaf6;--line:#e5e4dc;--green:#365644}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #cf7f41;outline-offset:3px}header{height:104px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 3.3%;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;font-family:'Fraunces',serif;font-size:28px;font-weight:700;text-decoration:none;color:var(--ink);letter-spacing:-1px}.brandmark{display:grid;place-items:center;background:var(--red);border-radius:50%;color:white;width:48px;height:48px;font-size:34px}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:10px;letter-spacing:2px;margin-top:5px}.red,h1 span{color:var(--red)}nav{display:flex;gap:28px;height:100%;align-items:center}.nav{height:100%;border:0;background:none;color:#62695e;padding:0 4px;font-size:15px;position:relative}.nav.active{color:var(--red)}.nav.active:after{content:'';position:absolute;height:3px;background:var(--red);bottom:0;left:0;right:0}.nav span{font-size:12px;background:#f1f1eb;padding:3px 7px;border-radius:12px;margin-left:5px}.city{font-size:14px;font-weight:600}.demo{background:#f1ede3;color:#676252;font-size:12px;padding:10px 3.3%;display:flex;justify-content:center;gap:16px}.demo>span{font-size:10px;font-weight:700;letter-spacing:1.5px}main{display:grid;grid-template-columns:minmax(480px,46%) 1fr;max-width:1800px;margin:auto}.discovery{padding:35px 36px 24px 7.2%;height:calc(100vh - 139px);overflow:auto}.eyebrow{font-size:11px;font-weight:700;color:var(--red);letter-spacing:2px}h1{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:clamp(36px,3.4vw,53px);letter-spacing:-1.8px;line-height:1.09;margin:15px 0}p{line-height:1.6}.intro{margin:0 0 22px;color:#707567;font-size:15px}.search{background:white;display:flex;align-items:center;border:1px solid #d9dcd1;border-radius:9px;padding:12px 15px;gap:12px;box-shadow:0 3px 6px #253b2310}.search>span{font-size:30px;line-height:1;color:#727b6c}.search input{border:0;outline:none;min-width:0;flex:1;background:none;font-size:15px}.search kbd{color:#9b9f96;border:1px solid var(--line);padding:1px 6px;border-radius:4px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.filters select,.open-filter{background:transparent;border:1px solid var(--line);border-radius:6px;padding:9px;font-size:12px;color:#555f51}.open-filter{display:flex;align-items:center;gap:4px}.open-filter small{font-size:10px}.categories{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0}.chip{border:1px solid var(--line);border-radius:20px;padding:9px 12px;background:white;font-size:12px;color:#5c6655}.chip.selected{background:var(--green);color:white;border-color:var(--green)}.results-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}h2{font-family:'Fraunces',Georgia,serif;font-size:24px;font-weight:500}.results-heading h2{font-family:'DM Sans',sans-serif;font-size:16px;font-weight:700}.results-heading span{font-size:12px;color:#7e8577}.card{display:grid;grid-template-columns:108px 1fr 30px;gap:16px;padding:21px 0;border-bottom:1px solid var(--line);position:relative}.food-photo{width:108px;height:116px;object-fit:cover;border-radius:9px;background:#e6e8dc}.card-main{border:0;background:transparent;text-align:left;padding:0;color:inherit}.card h3{font-family:'Fraunces',serif;font-size:21px;letter-spacing:-.4px;margin:4px 0 5px;font-weight:500}.restaurant{font-size:13px;color:#616b5a;margin:0 0 6px}.meta{font-size:11px;color:#757d6e}.tags{display:flex;gap:5px;margin-top:11px;flex-wrap:wrap}.tag{font-size:10px;background:#eaf0e6;color:#506647;padding:4px 7px;border-radius:4px}.tag.status{background:#f4efe1;color:#85714a}.price{font-size:13px;font-weight:600;color:var(--ink);margin-left:6px}.save{border:0;background:none;align-self:start;padding:2px;font-size:25px;color:#929a89}.save.saved{color:var(--red)}.footnote{text-align:center;font-size:12px;color:#7c8474;margin-top:26px}.map-panel{position:relative;height:calc(100vh - 139px);background:#e4eadd}.map-panel #map{width:100%;height:100%;z-index:0}.map-note{position:absolute;top:23px;left:25px;border-radius:8px;background:#fffdf8;box-shadow:0 3px 12px #25332319;padding:14px 17px;font-size:12px;font-weight:700;letter-spacing:1.5px}.map-note span{display:block;letter-spacing:0;font-weight:400;color:#67725c;font-size:12px;margin-top:5px}.map-reset{position:absolute;top:24px;right:25px;border:1px solid var(--line);padding:12px 15px;border-radius:8px;background:white;font-size:12px}.map-legend{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fffdf8;padding:12px 18px;box-shadow:0 3px 12px #25332319;border-radius:25px;display:flex;gap:9px;align-items:center;font-size:11px}.pin-dot{width:8px;height:8px;background:var(--red);border-radius:50%}.soup-pin{background:#fffdf8;border:1px solid #d7d6c8;border-radius:20px;box-shadow:0 3px 7px #25332330;display:flex;align-items:center;justify-content:center;font-family:'DM Sans',sans-serif;font-weight:700;color:#374932;font-size:13px}.soup-pin:hover{background:var(--red);color:white}.leaflet-control-attribution{font-size:10px!important}dialog{border:1px solid var(--line);border-radius:18px;max-width:490px;width:calc(100% - 32px);padding:34px;color:var(--ink);background:var(--paper);max-height:90vh;overflow:auto}dialog::backdrop{background:#18251988;backdrop-filter:blur(3px)}.close{position:absolute;right:13px;top:10px;border:0;background:#fff9;border-radius:50%;font-size:26px;width:34px;height:34px;z-index:2}.detail-photo{width:calc(100% + 68px);margin:-34px -34px 24px;height:230px;object-fit:cover}.detail-title{font-size:35px;margin:10px 0}.detail-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:14px;margin:18px 0}.notice{font-size:13px;background:#f0ebdd;padding:12px 14px;border-radius:7px;line-height:1.6}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.primary,.secondary{border:0;padding:12px 17px;border-radius:7px;font-size:14px;text-decoration:none;display:inline-block}.primary{background:var(--red);color:white}.secondary{background:#e9ede3;color:#365644}.toggle{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}.field{display:block;font-size:14px;margin:18px 0}.field select{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;margin-top:7px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(120px);background:var(--ink);color:white;border-radius:8px;padding:14px 22px;z-index:2000;font-size:14px;transition:transform .2s;max-width:90vw}#toast.visible{transform:translateX(-50%) translateY(0)}.empty{padding:40px 5px;color:#68735f}.empty h3{font-family:'Fraunces';font-size:26px;color:var(--ink)}@media(min-width:1600px){.discovery{padding-left:50px}}@media(max-width:1000px){header{padding:0 20px}.city{display:none}nav{gap:20px}main{grid-template-columns:52% 48%}.discovery{padding:28px 22px}.map-note{left:15px}.map-reset{top:95px;left:15px;right:auto}.map-legend{font-size:10px;padding:10px}.card{grid-template-columns:80px 1fr 24px;gap:12px}.food-photo{width:80px;height:100px}.card h3{font-size:19px}.demo{font-size:11px}.brand{font-size:25px}}@media(max-width:720px){header{height:85px;flex-wrap:wrap;padding:12px 18px}.brand{font-size:22px;gap:8px}.brandmark{width:37px;height:37px;font-size:28px}.brand small{font-size:8px;letter-spacing:1.2px}nav{gap:12px}.nav{font-size:12px}.nav span{display:none}.demo{padding:9px 18px;display:block;font-size:11px;line-height:1.5}.demo>span{display:none}main{display:flex;flex-direction:column}.discovery{height:auto;overflow:visible;padding:26px 20px}h1{font-size:40px}.map-panel{height:420px;order:-1;display:none}body.mobile-map .map-panel{display:block}body.mobile-map .discovery #results{display:none}.map-toggle{position:fixed;bottom:22px;right:18px;z-index:500;background:var(--green);border:0;border-radius:25px;color:white;padding:13px 22px;box-shadow:0 3px 12px #25332340}.card{grid-template-columns:95px 1fr 28px}.food-photo{width:95px;height:110px}.filters select,.open-filter,.chip{font-size:12px}.map-legend{bottom:26px}}@media(min-width:721px){.map-toggle{display:none}}
/* Keep working controls legible on compact screens. */
.filters select,.open-filter,.chip,.restaurant,.map-reset{font-size:14px}.meta,.tag,.results-heading span,.demo,.map-legend,.footnote{font-size:12px}.open-filter small{font-size:12px}.categories{margin:18px 0}.discovery{padding-top:28px}.tag{padding:4px 6px}.brand small{font-size:10px}.map-legend{white-space:normal;width:max-content;max-width:90%}
@media(max-width:720px){header{height:auto;min-height:106px;padding:12px 18px 0;gap:10px}header nav{width:100%;height:34px;gap:24px}.nav{font-size:14px}.discovery{padding-top:22px}h1{font-size:34px;letter-spacing:-1.4px;margin:12px 0}.intro{margin-bottom:17px}.categories{gap:6px;margin:16px 0}.chip{padding:8px 10px;font-size:13px}.results-heading h2{margin:12px 0}.card{padding:17px 0}.brand small{font-size:9px}.footnote{padding-bottom:36px}}

/* Theme preference is applied before the stylesheet loads to avoid a light flash. */
:root{color-scheme:light}
.theme-toggle{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)}
.theme-toggle span{display:block;padding:0;margin:0;background:none;font-size:24px;line-height:1}
.theme-toggle:hover{background:#e9ede3}
:root[data-theme="dark"]{color-scheme:dark;--ink:#f1f1e8;--paper:#171c19;--line:#3a443d;--red:#f18d72;--green:#466f55}
[data-theme="dark"] header,[data-theme="dark"] .search,[data-theme="dark"] .chip,[data-theme="dark"] .field select,[data-theme="dark"] .map-note,[data-theme="dark"] .map-reset,[data-theme="dark"] .map-legend,[data-theme="dark"] .soup-pin{background:#232b25;color:var(--ink)}
[data-theme="dark"] .nav,[data-theme="dark"] .intro,[data-theme="dark"] .restaurant,[data-theme="dark"] .meta,[data-theme="dark"] .results-heading span,[data-theme="dark"] .footnote,[data-theme="dark"] .empty,[data-theme="dark"] .map-note span,[data-theme="dark"] .filters select,[data-theme="dark"] .open-filter,[data-theme="dark"] .search>span,[data-theme="dark"] .search kbd{color:#b8c2b5}
[data-theme="dark"] .nav.active{color:var(--red)}
[data-theme="dark"] .search,[data-theme="dark"] .soup-pin{border-color:var(--line)}
[data-theme="dark"] .search input{color:var(--ink)}
[data-theme="dark"] .search input::placeholder{color:#aeb8ab;opacity:1}
[data-theme="dark"] .nav span,[data-theme="dark"] .secondary,[data-theme="dark"] .tag{background:#334636;color:#d2e6c8}
[data-theme="dark"] .theme-toggle span{background:none;color:var(--ink)}
[data-theme="dark"] .theme-toggle:hover{background:#334636}
[data-theme="dark"] .demo,[data-theme="dark"] .notice,[data-theme="dark"] .tag.status{background:#373329;color:#ded0ac}
[data-theme="dark"] .chip.selected{background:var(--green);color:#fff;border-color:#6b946f}
[data-theme="dark"] .primary,[data-theme="dark"] .brandmark{background:#b93e25;color:#fff}
[data-theme="dark"] .save{color:#b8c2b5}
[data-theme="dark"] .save.saved{color:var(--red)}
[data-theme="dark"] .close{background:#232b25ed;color:var(--ink)}
[data-theme="dark"] #toast{background:#e4ecdd;color:#202b22}
[data-theme="dark"] .map-panel,[data-theme="dark"] .leaflet-container{background:#202922}
/* Adjust only base tiles: keep photographs, markers, and map controls true to color. */
[data-theme="dark"] .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.78) saturate(.65)}
[data-theme="dark"] .leaflet-bar a,[data-theme="dark"] .leaflet-control-attribution{background:#232b25;color:#dce6d6;border-color:var(--line)}
[data-theme="dark"] .leaflet-control-attribution a{color:#b5d7ed}
[data-theme="dark"] .soup-pin:hover{background:#b93e25;color:#fff}
@media(max-width:720px){header nav{gap:20px}.theme-toggle{margin-left:auto;width:32px;height:32px}.theme-toggle span{display:block;font-size:21px}}
