:root{--ink:#1c3438;--muted:#586b68;--teal:#24756f;--navy:#12353d;--paper:#fff;--bg:#f7f6f2;--line:#dfe4df;--sand:#f0e9dc;--soft:#e7f0eb}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:58px;max-width:100%;overflow-x:clip}
body{margin:0;max-width:100%;overflow-x:clip;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6;padding-bottom:calc(54px + env(safe-area-inset-bottom))}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a86f21;outline-offset:2px}
[hidden]{display:none!important}p,h1,h2,h3,h4,figure{margin:0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-100px;z-index:100;background:var(--navy);color:#fff;padding:10px}.skip-link:focus{top:0}
.site-tabs{position:sticky;top:0;z-index:30;display:flex;justify-content:center;gap:4px;padding:3px 10px;background:rgba(247,246,242,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}
.site-tabs>a{min-height:44px;display:flex;align-items:center;justify-content:center;flex:1;max-width:250px;min-width:0;font-size:13px;font-weight:750;border-radius:6px}.site-tabs>a[aria-current]{background:var(--navy);color:#fff}
.guide-hero{max-width:1120px;margin:auto;padding:10px 20px 0;display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap}.eyebrow{font-size:10px;color:var(--teal);font-weight:700;order:2}.guide-hero h1{font-size:21px;line-height:1.4;order:1}.guide-hero>p:last-child{font-size:12px;color:var(--muted);width:100%;order:3}
.food-wrap{max-width:1120px;margin:auto;padding:10px 20px 16px}.filters{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:8px 12px}
.section-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.section-top h2{font-size:15px;line-height:1.4}#reset-filters{min-height:44px;padding:4px 0 4px 12px;border:0;background:none;font-size:12px;color:var(--teal);text-decoration:underline}
.filter-block{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}.filter-label{font-size:11px;font-weight:700;flex:0 0 26px}.filter-group{display:flex;gap:4px;flex-wrap:wrap;min-width:0}.filter-block .filter-group{flex:1}.filter-group button,.saved-filter{min-width:0;min-height:44px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:6px;font-size:12px;padding:5px 12px;white-space:nowrap}.filter-group button[aria-pressed=true]{background:var(--teal);border-color:var(--teal);color:white}.filter-group.day-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.day-choices button{padding:4px}
.filter-row{margin:5px 0}.filter-row label{display:block;font-size:12px;font-weight:700}.filter-row input,.filter-row select{display:block;width:100%;max-width:100%;min-height:44px;border:1px solid #c3d0c9;background:#fafbf8;border-radius:6px;padding:6px 9px;font-size:16px;color:var(--ink)}.filter-row select{margin-top:4px}
.advanced-filters{border-top:1px solid var(--line);margin-top:6px}.advanced-filters>summary,.timing-notes>summary{list-style:none;min-height:44px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--teal);cursor:pointer}.advanced-filters>summary:after,.timing-notes>summary:after{content:'＋';margin-left:auto}.advanced-filters[open]>summary:after,.timing-notes[open]>summary:after{content:'−'}summary::-webkit-details-marker{display:none}.filter-footer{display:flex;gap:6px;flex-wrap:wrap;justify-content:space-between;margin-top:6px}.saved-filter[aria-pressed=true]{background:var(--sand);border-color:#b5a587}.filter-help{font-size:11px;color:var(--muted);margin:6px 0;line-height:1.6}
.results-heading{display:flex;justify-content:space-between;align-items:start;gap:8px;margin:8px 0}.results-heading h2{font-size:18px;line-height:1.4}.results-heading p{display:flex;gap:4px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.text-link{min-height:44px;display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:var(--teal);text-decoration:underline;text-underline-offset:3px}.results-heading>.text-link{white-space:nowrap}#active-filters button{font-size:11px;min-height:44px;padding:4px 7px;border:1px solid #c6d9ce;border-radius:5px;background:var(--soft);color:var(--ink);max-width:100%;overflow-wrap:anywhere;text-align:left}
.timing-notes{padding:0 10px;margin-bottom:8px;border:1px solid #cbded4;border-radius:7px;background:#eef4ef}.meal-guide{padding:10px;border-top:1px solid #cbded4}.guide-kicker{font-size:11px;font-weight:700;color:var(--teal)}.meal-guide h3{font-size:15px;margin:3px 0 5px}.meal-guide p{font-size:12px;line-height:1.65}.guide-tip{margin-top:6px;color:#375c51}
.places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.place{background:var(--paper);border:1px solid var(--line);border-radius:9px;overflow:hidden;scroll-margin-top:4px}.card-body{padding:12px}.place-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.place-header h3{font-size:18px;line-height:1.4;font-weight:750;overflow-wrap:anywhere;min-width:0}
.photo{width:88px;flex:0 0 88px}.photo>a{display:block;width:88px;height:66px;border-radius:6px;overflow:hidden;background:#e9e8df}.photo img{display:block;width:100%;height:100%;object-fit:cover}.photo-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:11px;line-height:1.4;text-align:center;padding:4px;color:var(--teal)}
.card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.card-tags span{font-size:11px;font-weight:650;background:#f0eee7;border-radius:4px;padding:1px 6px;line-height:1.5}.card-tags .usage-tag{background:var(--soft);color:#315e4c}.card-tags .area-tag{background:#edf0f3;color:#34505e}.tag{font-size:12px;font-weight:700;color:#315e4c;line-height:1.5;margin:5px 0 3px}.summary{font-size:13px;color:#435957;line-height:1.6}
.quick-info{margin:6px 0;padding:5px 0;border-block:1px solid var(--line);display:grid;gap:3px}.quick-info>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:6px;align-items:baseline}.quick-info dt{font-size:11px;color:var(--muted)}.quick-info dd{margin:0;font-size:12px;font-weight:650;line-height:1.5}
.card-controls{position:relative}.restaurant-details>summary{list-style:none;min-height:44px;display:flex;align-items:center;gap:8px;padding:5px 86px 5px 10px;background:var(--soft);color:var(--teal);border-radius:6px;font-size:12px;font-weight:750;cursor:pointer}.restaurant-details>summary>span{margin-left:auto}.restaurant-details[open]>summary>span{transform:rotate(45deg)}.save-button{position:absolute;right:0;top:0;min-width:70px;min-height:44px;font-size:12px;border:1px solid #c6d9ce;border-radius:6px;padding:5px 8px;color:var(--teal);background:#fff}.save-button[aria-pressed=true]{color:#7b5425;background:#f6eddb;border-color:#c8a971}
.details-body{padding-top:8px}.detail-category{font-size:11px;color:var(--muted)}.card-section{padding-top:10px}.card-section h4{font-size:13px;font-weight:750;border-left:3px solid #a8c4b3;padding-left:7px;margin-bottom:3px}.card-section p{font-size:13px;line-height:1.65;color:#435957;overflow-wrap:anywhere}.address{font-size:12px;margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}.actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:700}.outline{border:1px solid #c8d8ce;color:var(--teal)}.source-note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:8px}.schedule-links{display:flex;flex-wrap:wrap;gap:0 10px}.schedule-links a{font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.how-to{margin-top:20px;border-top:1px solid var(--line);padding-top:12px}.how-to h2{font-size:17px}.tips-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.tips-grid h3{font-size:13px;margin-bottom:3px}.tips-grid p,.photo-policy{font-size:12px;color:var(--muted);line-height:1.65}.photo-policy{margin-top:10px;padding-top:8px;border-top:1px solid var(--line);font-size:11px}.food-footer{padding:10px;text-align:center;font-size:11px;color:var(--muted)}.food-footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--teal);font-weight:700}.empty-state{padding:16px;background:var(--sand);font-size:13px;border-radius:8px}.empty-state button{min-height:44px;border:0;border-radius:6px;padding:6px 12px;background:var(--navy);color:white;margin-top:8px}
.food-dock{display:flex;position:fixed;bottom:0;left:0;width:100%;justify-content:center;gap:3px;background:rgba(255,255,255,.97);border-top:1px solid var(--line);padding:3px 10px calc(3px + env(safe-area-inset-bottom));z-index:30;backdrop-filter:blur(14px)}.food-dock a{max-width:220px;flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--teal);font-weight:750}
@media(max-width:650px){.guide-hero{padding:8px 12px 0;gap:3px 10px}.guide-hero h1{font-size:20px}.guide-hero>p:last-child{font-size:11px}.food-wrap{padding:8px 10px 12px}.filters{padding:3px 8px}.filter-block{gap:4px}.filter-label{flex-basis:24px}.filter-group button{padding:4px;font-size:11px}.filter-block .usage-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}[data-guide-mode="food"] .usage-choices{grid-template-columns:repeat(5,minmax(0,1fr))}.filter-block .area-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}[data-guide-mode="food"] .area-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.places{grid-template-columns:minmax(0,1fr);gap:8px}.card-body{padding:10px 12px}.place-header h3{font-size:17px}.tips-grid{grid-template-columns:1fr}.results-heading{margin:6px 0}.results-heading h2{font-size:17px}.photo,.photo>a{width:80px}.photo{flex-basis:80px}.photo>a{height:60px}}
@media(max-width:350px){[data-guide-mode="food"] .filter-block .area-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Keep pottery/shopping and architecture/visits distinct in tags and filters. */
.card-tags [data-usage-tag="shop"],#active-filters [data-usage-tag="shop"],.filter-group [data-usage-filter="shop"]{background:#faead7;color:#7b431f;border-color:#dcc2a3}
.card-tags [data-usage-tag="see"],#active-filters [data-usage-tag="see"],.filter-group [data-usage-filter="see"]{background:#e1edf8;color:#245378;border-color:#b8cfe3}
.filter-group [data-usage-filter="shop"][aria-pressed="true"]{background:#91501f;border-color:#91501f;color:#fff}
.filter-group [data-usage-filter="see"][aria-pressed="true"]{background:#285c87;border-color:#285c87;color:#fff}
[data-guide-mode="spots"] .photo,[data-guide-mode="spots"] .photo>a{width:64px}
[data-guide-mode="spots"] .photo{flex-basis:64px}
[data-guide-mode="spots"] .photo>a{height:48px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Bath remains distinct from pottery (brown) and architecture (blue). */
.card-tags [data-usage-tag="bath"],#active-filters [data-usage-tag="bath"],.filter-group [data-usage-filter="bath"]{background:#f1e8f8;color:#65347d}
.filter-group [data-usage-filter="bath"][aria-pressed="true"]{background:#65347d;border-color:#65347d;color:#fff}
