:root{
  --ink:#211e19;--dark:#1d1b18;--cream:#f8f3e8;--paper:#fffcf5;--red:#f34934;--red-dark:#a82519;--yellow:#f9d66d;
  --line:#ded4c3;--muted:#665b4d;--heading:"Barlow Condensed","Arial Narrow",sans-serif;--body:"DM Sans",system-ui,sans-serif;
  font-family:var(--body);color:var(--ink);background:var(--cream);font-synthesis:none;
}
*{box-sizing:border-box}
body{margin:0;line-height:1.55}
img,canvas{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:default}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #bc401f;outline-offset:4px}
.header :focus-visible,.hero :focus-visible,.footer :focus-visible{outline-color:var(--yellow)}
.wrap{width:min(1190px,calc(100% - 72px));margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;z-index:2500;left:12px;top:12px;background:white;padding:10px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:.98}
h1,h2{font-family:var(--heading);font-weight:800;letter-spacing:-.019em}
h2{font-size:clamp(2.3rem,4.5vw,4.05rem);margin-bottom:14px}
h3{font-size:1.3rem;line-height:1.17;margin-bottom:10px}
p{margin-bottom:16px}
.header{background:var(--dark);color:var(--cream);border-bottom:1px solid #464037}
.nav-row{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:1.63rem;letter-spacing:-.08em;line-height:1;white-space:nowrap}
.brand-mark{height:34px;width:34px;background:var(--red);color:var(--dark);display:grid;place-items:center;border-radius:8px}
.brand-domain{color:var(--red);letter-spacing:-.08em}
.header nav,.footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(16px,3vw,34px)}
.header nav a,.header-save{font-size:.93rem;font-weight:700;color:#eee6d6}
.header nav a:hover,.header nav a[aria-current]{color:#ff826e}
.header-save{display:flex;align-items:center;gap:9px;border:1px solid #716655;border-radius:6px;padding:8px 11px}
.header-save:hover{background:#3c352d}
.hero{background:var(--dark);color:var(--cream);position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.01fr 1fr;min-height:520px}
.hero-copy{padding:65px 24px 54px 0;position:relative;z-index:1;align-self:center}
.eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.18em;color:var(--red-dark);margin-bottom:12px}
.hero-kicker{color:#ff947f;display:flex;gap:9px;align-items:center;margin-bottom:18px}
.hero-kicker span{width:8px;height:8px;border-radius:50%;background:var(--red)}
.hero h1{font-size:clamp(4rem,7.6vw,7.45rem);line-height:.83;margin:0 0 25px;letter-spacing:-.017em}
.hero h1 em{color:#fa604b;font-style:normal}
.hero-copy>p{font-size:clamp(1rem,1.42vw,1.18rem);color:#e0d4c2;max-width:408px;margin-bottom:27px}
.hero-art{position:relative;margin-right:min(0px,calc((1190px - 100vw)/2));min-width:0;isolation:isolate;background:#a72e20}
.hero-art>img{height:100%;width:100%;object-fit:cover;object-position:52% 50%;position:absolute;inset:0}
.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#201b18 0%,transparent 16%);pointer-events:none}
.hero-stamp{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:111px;height:111px;position:absolute;z-index:1;right:max(23px,calc((100vw - 1190px)/2));bottom:27px;border-radius:100%;background:var(--yellow);color:#291d14;border:2px solid #342016;box-shadow:0 0 0 4px var(--yellow);transform:rotate(10deg);text-align:center;line-height:.88;font-family:var(--heading);font-weight:800;font-size:1.2rem}
.hero-stamp:hover{transform:rotate(2deg)}
.hero-stamp>svg:last-child{position:absolute;right:14px;top:17px}
.hero-search{display:flex;align-items:center;gap:11px;background:var(--paper);color:var(--ink);max-width:438px;padding:5px 5px 5px 14px;border-radius:7px;min-height:56px}
.hero-search>svg{flex:none;color:var(--muted)}
.hero-search input{width:100%;border:0;background:transparent;min-width:0;padding:8px 0;font-weight:600}
.hero-search input:focus-visible{outline-offset:0}
.hero-link{display:inline-flex;align-items:center;gap:9px;color:#f3e4ce;font-size:.87rem;font-weight:700;margin-top:17px}
.hero-link:hover{text-decoration:underline}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;font-size:.9rem;border:1px solid transparent;border-radius:6px;padding:10px 15px;white-space:nowrap;line-height:1.3;min-height:42px}
.btn-red{background:var(--red);color:var(--dark)}
.btn-red:hover{background:#ff7762}
.btn-dark{background:var(--dark);color:var(--cream)}
.btn-dark:hover{background:#483b2e}
.btn-outline{background:transparent;border-color:#a79b87;color:var(--ink)}
.btn-outline:hover{background:#efe5d2}
.stat-band{background:var(--yellow);border-bottom:1px solid #d7b75d}
.stats{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:center;min-height:91px}
.stats>div{display:flex;align-items:center;gap:11px;padding:1px 12px 4px 21px;border-left:1px solid #a48748}
.stats>div:first-child{padding-left:0;border:0}
.stats strong{font:800 clamp(2rem,4.25vw,3.5rem)/1 var(--heading);letter-spacing:-.025em}
.stats span,.stats a{font-size:.85rem;font-weight:800}
.stats a{display:flex;align-items:center;gap:8px}
.section{padding-block:51px 58px}
.section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:27px}
.section-title h2{margin:0}
.text-link{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;font-weight:800;color:var(--red-dark);line-height:1.3}
.text-link:hover,.stats a:hover{text-decoration:underline;text-underline-offset:4px}
.city-grid,.place-grid,.recipe-grid{display:grid;gap:14px}
.city-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.city-card{display:flex;align-items:center;gap:12px;min-height:84px;border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:13px;transition:background .15s,border .15s}
.city-card:hover{background:#fff0d7;border-color:#bd9f73}
.city-pin{flex:none;display:grid;place-items:center;width:37px;height:37px;border-radius:7px;background:#fbe3d8;color:var(--red-dark)}
.city-info{flex:1;min-width:0;line-height:1.3}
.city-info strong{display:block;font-size:1.04rem;line-height:1.17;letter-spacing:-.035em}
.city-info small{display:block;color:var(--muted);margin-top:5px;font-size:.76rem}
.city-card>svg{flex:none;color:var(--red-dark)}
.atlas-home{background:#eadcae;border:1px solid #c9b783;border-radius:11px;padding:26px 42px;display:grid;grid-template-columns:.85fr 1fr;align-items:center;gap:20px;min-height:310px}
.atlas-home p{max-width:317px}
.mini-map{position:relative;text-align:right}
.mini-map a{color:#5f5131;font-size:.68rem;text-decoration:underline}
.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.recipe-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.recipe-image{display:block;overflow:hidden}
.recipe-image img{aspect-ratio:1.55;object-fit:cover;width:100%;transition:transform .2s}
.recipe-image:hover img{transform:scale(1.035)}
.recipe-content{padding:19px 20px 21px}
.recipe-content p{color:var(--muted);font-size:.91rem}
.recipe-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:.78rem;color:var(--muted)}
.recipe-meta span{display:inline-flex;align-items:center;gap:5px}
.tag{background:#efe6d3;color:#4a3b29;min-height:25px;display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:3px 8px;font-weight:800;font-size:.72rem;line-height:1.2;width:max-content;max-width:100%}
.tag-yellow{background:#ffeab0}
.footer{background:var(--dark);color:var(--cream);padding:39px 0 22px}
.footer-body,.footer-base{display:flex;align-items:center;justify-content:space-between;gap:22px}
.footer-body p{color:#d6c9b5;margin:10px 0 0;font-size:.87rem}
.footer nav a{font-size:.89rem;font-weight:700}
.footer-base{margin-top:24px;padding-top:19px;border-top:1px solid #554b40;color:#d8cbb7;font-size:.78rem}
.footer-base a,.footer nav a:hover{text-decoration:underline}
.page-head{background:#f7dfad;border-bottom:1px solid #dfc795;padding:42px 0 42px}
.page-head h1{font-size:clamp(3.4rem,8vw,6.4rem);margin:0 0 13px}
.page-head p{max-width:690px;font-size:1.08rem;margin-bottom:0}
.crumb{display:inline-block;margin:0 0 16px;color:#6d4729;font-weight:800;font-size:.83rem}
.crumb:hover{text-decoration:underline}
.filter-section{padding-top:32px}
.filters{display:flex;align-items:end;flex-wrap:wrap;gap:13px;border:1px solid var(--line);background:#f1e9d9;padding:15px;border-radius:9px}
.field{display:grid;gap:6px;flex:1 1 130px;min-width:0;font-size:.84rem;font-weight:800}
.field-search{flex:2 1 200px}
.field-search>div{position:relative}
.field-search svg{position:absolute;left:11px;top:12px;pointer-events:none}
.field input,.field select,.ingredients select{border:1px solid #bdb09a;background:var(--paper);border-radius:5px;padding:7px 10px;min-height:41px;width:100%;font-size:.92rem;font-weight:600}
.field input{padding-left:35px}
.result-bar,.inline-actions{display:flex;align-items:center;gap:12px}
.result-bar{justify-content:space-between;margin-block:18px 12px;color:var(--muted);font-size:.88rem}
.result-bar p,.inline-actions p{margin:0}
.inline-actions{margin-bottom:17px;flex-wrap:wrap}
.plain-button{background:none;border:0;color:var(--red-dark);padding:5px;font-weight:800}
.plain-button:hover{text-decoration:underline}
.empty{padding:24px 22px;border:1px dashed #c5af8a;border-radius:8px;background:#fff7e5;grid-column:1/-1}
.empty p{color:var(--muted);max-width:60ch}
.empty>a:not(.btn){font-weight:800;color:var(--red-dark)}
.more{display:flex;justify-content:center;margin-top:21px}
.place-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.place-card,.detail-aside,.ingredients{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:18px;min-width:0}
.place-card{display:flex;flex-direction:column}
.place-card h3{overflow-wrap:anywhere}
.place-card .text-link{margin-top:auto}
.place-top{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:12px}
.place-address{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.87rem}
.place-address svg{flex:none}
.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:6px;border:1px solid #d1c5b3;background:var(--paper);color:var(--red-dark);flex:none}
.icon-button:hover{background:#fbe3d8}
.save[aria-pressed=true] svg{fill:var(--red)}
.item-preview{display:flex;gap:6px;justify-content:space-between;font-size:.86rem;background:#f4eddd;margin:0 0 14px;padding:8px 9px;border-radius:4px}
.item-preview strong{white-space:nowrap}
.detail-grid,.recipe-detail{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:25px;align-items:start}
.detail-aside h2,.steps h2,.ingredients h2,.map-summary h2{font-size:2.33rem}
.detail-aside dl{margin:0}
.detail-aside dt{font-weight:800;margin-top:10px}
.detail-aside dd{margin:0;color:var(--muted)}
.detail-aside a,.prose a,.note a{color:var(--red-dark);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.muted{color:var(--muted)}
.menu-items{border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.menu-items>div{display:flex;justify-content:space-between;gap:15px;padding:12px 15px;border-bottom:1px solid var(--line)}
.menu-items>div:last-child{border-bottom:0}
.menu-items small{display:block;color:var(--muted);margin-top:4px}
.menu-items b{white-space:nowrap;color:var(--red-dark);text-align:right}
.tasting{background:var(--paper);padding:17px;border:1px solid var(--line);border-radius:7px;margin-bottom:15px}
.tasting img{max-width:480px;width:100%;margin-bottom:14px;border-radius:6px}
.section-nearby{padding-top:0}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:19px}
.chip{border:1px solid #baac92;background:var(--paper);border-radius:20px;padding:7px 15px;font-weight:700;font-size:.86rem}
.chip[aria-pressed=true]{background:var(--dark);color:var(--paper);border-color:var(--dark)}
.recipe-hero img{width:100%;aspect-ratio:1.63;object-fit:cover;border-radius:8px;margin-bottom:13px}
.recipe-hero .tag{padding:8px 11px;font-size:.86rem}
.recipe-block-head{display:flex;justify-content:space-between;align-items:center;gap:9px}
.recipe-block-head label{display:flex;align-items:center;gap:7px;font-size:.82rem;font-weight:800}
.recipe-block-head select{width:auto}
.ingredients ul{padding:0;margin:3px 0 0;list-style:none}
.ingredients li{border-top:1px solid var(--line);padding:9px 0}
.ingredients li label{display:flex;align-items:baseline;gap:9px}
.ingredients li input{accent-color:var(--red-dark)}
.ingredients li input:checked+span{text-decoration:line-through;color:var(--muted)}
.steps{grid-column:1/-1;max-width:840px}
.steps ol{padding-left:1.28em}
.steps li{padding-left:.4em;margin-bottom:11px}
.steps li::marker{font-weight:800;color:var(--red-dark)}
.note{background:#ffedbc;padding:12px;border-radius:5px}
.prose{max-width:840px}
.prose h2{font-size:2.45rem;margin-top:25px}
.prose h2:first-child{margin-top:0}
.prose li{margin-bottom:7px}
.map-filters{margin-bottom:15px}
.map-filters .field{flex:0 1 380px}
.map-layout{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(225px,1fr);gap:15px}
.national-map{height:min(66vh,565px);min-height:350px;border:1px solid #bdaf91;border-radius:9px;background:#ece4d6;z-index:0}
.national-map .leaflet-popup-content a{color:var(--red-dark);text-decoration:underline}
.map-summary{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:16px;overflow:auto;max-height:min(66vh,565px)}
.map-summary ul{padding-left:18px}
.map-summary li{margin-bottom:6px}
.map-summary li a:hover{text-decoration:underline}
.legend{display:flex;align-items:center;gap:7px;font-size:.85rem}
.legend b{width:10px;height:10px;border-radius:50%;background:var(--red);border:1px solid #9f2b20}
.legend+.legend b{background:#cabfae;border-color:#8e806b}
.saved-list{display:grid;gap:10px}
.saved-list article{background:var(--paper);border-radius:7px;border:1px solid var(--line);padding:12px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.saved-list h3{margin:2px 0 0}
.saved-list small{color:var(--muted)}
@media(max-width:1020px){
  .wrap{width:calc(100% - 52px)}
  .hero-grid{min-height:460px}
  .hero-copy{padding-block:45px}
  .hero-art{margin-right:-26px}
  .city-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .wrap{width:calc(100% - 34px)}
  .nav-row{gap:10px;min-height:61px;flex-wrap:wrap;padding-block:8px}
  .header nav{gap:17px;order:3;width:100%;min-height:35px}
  .header nav a{font-size:.9rem}
  .header-save{padding:6px 8px}
  .hero-grid{display:block;min-height:0}
  .hero-copy{padding:33px 0 25px}
  .hero h1{font-size:clamp(3.75rem,13vw,6.2rem);margin-bottom:16px}
  .hero-copy>p{margin-bottom:19px}
  .hero-art{margin:0 -17px;height:clamp(245px,64vw,385px)}
  .hero-art:after{background:linear-gradient(#1d1b18 0%,transparent 15%)}
  .hero-stamp{width:93px;height:93px;bottom:18px;right:20px}
  .hero-stamp>svg:last-child{right:9px;top:10px}
  .stats{grid-template-columns:repeat(3,1fr);min-height:0;padding-block:11px}
  .stats>div{display:block;padding:0 8px 0 12px}
  .stats span{display:block;font-size:.72rem;line-height:1.2}
  .stats a{grid-column:1/-1;margin-top:11px;font-size:.73rem}
  .section{padding-block:34px 39px}
  .section-title{margin-bottom:17px}
  .section-title .text-link{flex:none;font-size:.81rem}
  .city-grid,.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .city-card{min-height:74px;gap:7px;padding:8px}
  .city-pin{width:30px;height:30px}
  .city-card>svg{width:15px}
  .city-info strong{font-size:.94rem}
  .city-info small{font-size:.71rem}
  .atlas-home{padding:24px;display:block}
  .mini-map{margin-top:12px}
  .recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .recipe-content{padding:12px}
  .recipe-content h3{font-size:1.12rem}
  .section-nearby{padding-top:0}
  .detail-grid,.recipe-detail,.map-layout{grid-template-columns:1fr}
  .map-summary{max-height:250px}
  .footer-body{align-items:start;flex-direction:column}
  .footer nav{gap:13px}
  .footer-base{flex-wrap:wrap}
}
@media(max-width:400px){
  .recipe-grid,.place-grid{grid-template-columns:1fr}
  .city-card>svg{display:none}
  .section-title{align-items:start;flex-wrap:wrap;gap:10px}
  .hero h1{font-size:clamp(3.3rem,13.5vw,3.75rem)}
  .hero-search{gap:6px;padding-left:8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{
  body{background:#fff;color:#000}
  .header,.footer,.skip,.crumb,.recipe-hero,.recipe-detail~section,.recipe-block-head label{display:none!important}
  .wrap{width:100%}
  .page-head{background:none;padding:0;border:0}
  .section{padding:15px 0}
  .recipe-detail{display:block}
  .ingredients{border:0;padding:0}
}


/* Editorial forms and menu comparison */
.compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.comparison-card,.weekly-card,.editor-panel,.editor-entry{border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:19px;min-width:0}
.comparison-card{display:flex;flex-direction:column;gap:9px}
.comparison-card h3,.comparison-card p,.comparison-card small{margin:0}
.comparison-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.comparison-top b{font:800 1.58rem/1 var(--heading);color:var(--red-dark)}
.comparison-source{font-size:.88rem;font-weight:800;color:var(--muted)}
.comparison-links{display:flex;gap:15px;margin-top:auto;padding-top:7px}
.weekly-list{display:grid;gap:16px;max-width:820px}
.weekly-card h2{font-size:clamp(2.2rem,4.5vw,3.8rem);margin:12px 0}
.venue-photo{display:block;width:100%;max-width:680px;max-height:400px;object-fit:cover;border-radius:7px;margin:0 0 15px}
.partner-cta{margin:22px 0}
#partner-live .tag{margin-bottom:10px}
.form-shell{max-width:760px}
.editor-form,.editor-panel,.editor-entry{display:grid;gap:14px}
.editor-form{margin:0}
.editor-form .field{align-content:start}
.editor-form textarea,.editor-picker input,.editor-picker select{border:1px solid #bdb09a;background:var(--paper);border-radius:5px;padding:9px;width:100%;font:inherit}
.editor-form textarea{resize:vertical;min-height:90px}
.editor-form .check{display:flex;align-items:center;gap:8px;min-width:0}
.editor-form .check input{width:auto;min-height:0;accent-color:var(--red-dark)}
.editor-form .btn{justify-self:start}
.editor-form [role=status]{margin:0;font-size:.92rem}
.editor-tabs,.editor-records{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.editor-panel h2{font-size:clamp(2rem,5vw,3rem);margin:0}
.editor-picker,.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.item-field{min-width:0;border:1px solid var(--line);border-radius:7px;padding:12px}
.item-field legend{font-weight:800}
.item-row{display:grid;grid-template-columns:1.5fr .6fr 1fr 1.6fr auto;align-items:end;gap:8px;margin:0 0 12px}
.item-row .btn{min-height:41px;padding-inline:9px}
.editor-entry{margin-bottom:12px}
.editor-entry .inline-actions{margin:0}
.editor-entry h3{margin:7px 0}
.editor-entry p{margin:5px 0}
.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:18px}
.metric-grid article{display:grid;border:1px solid var(--line);background:var(--cream);border-radius:7px;padding:10px;font-size:.85rem}
.metric-grid b{font:800 2rem/1 var(--heading);color:var(--red-dark)}
.metrics-list{max-width:430px;padding-left:22px}
.metrics-list li{border-bottom:1px solid var(--line);padding:5px}
.metrics-list strong{float:right}
@media(max-width:900px){.item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){
  .header nav{gap:13px}
  .header nav a{font-size:.82rem}
  .form-row,.editor-picker{grid-template-columns:1fr}
  .compare-grid{grid-template-columns:1fr}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


.home-week{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-block:27px;margin-top:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-week h2{font-size:clamp(2.2rem,6vw,3.6rem);margin-bottom:7px}.home-week p{margin:0;color:var(--muted)}
@media(max-width:440px){.home-week{flex-direction:column;align-items:start}}

/* International atlas and recipe tools */
.header nav{gap:clamp(11px,2vw,23px)}
.header nav a{white-space:nowrap}
.footer nav{max-width:810px;gap:14px 20px}
.kitchen-home{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:56px}
.kitchen-home article{background:#f3d998;border:1px solid #d9bc78;border-radius:10px;padding:26px 30px}
.kitchen-home article+article{background:#eddfca;border-color:#d9c6ab}
.kitchen-home h2{font-size:clamp(2.4rem,5vw,4rem);margin-bottom:12px}
.kitchen-home p{max-width:420px}
.kitchen-paths{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:15px}
.recipe-card-footer,.recipe-facts{display:flex;align-items:center;justify-content:space-between;gap:8px}
.recipe-card-footer small,.photo-note{color:var(--muted);font-size:.78rem;font-weight:700}
.recipe-facts{justify-content:start;flex-wrap:wrap;margin:10px 0 15px}
.recipe-hero .photo-note{display:block;margin-top:-8px}
.recipe-card-text{border-top:4px solid var(--red-dark)}
.recipe-source{margin-bottom:14px}
.filter-check{display:inline-flex;align-items:center;gap:7px;font-size:.86rem;font-weight:800}
.filter-check input,.topping-choice input,.build-group input{accent-color:var(--red-dark)}
.world-spotlight{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:23px}
.world-feature{position:relative;display:flex;flex-direction:column;justify-content:end;isolation:isolate;overflow:hidden;min-height:clamp(160px,23vw,274px);padding:15px 18px;border-radius:9px;background:#432b20;color:var(--cream)}
.world-feature::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 26%,#21180df2);z-index:-1}
.world-feature img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:-2;transition:transform .2s}
.world-feature:hover img{transform:scale(1.035)}
.world-feature span{font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:#ffe19b}
.world-feature strong{font:800 clamp(1.47rem,3vw,2.8rem)/.98 var(--heading)}
.atlas-filter{align-items:end}
.atlas-filter{grid-template-columns:minmax(0,1.65fr) repeat(2,minmax(0,1fr)) auto}
.country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.country-card{display:grid;grid-template-columns:39px minmax(0,1fr);align-items:center;gap:8px;min-height:76px;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:8px}
.country-card:hover{background:#fff0d7;border-color:#c2a573}
.country-card strong,.country-card small{display:block;line-height:1.25}
.country-card strong{font-size:.98rem}
.country-card small{color:var(--muted);margin-top:4px;font-size:.75rem}
.country-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:7px;background:#f2e3cc}
.country-flag{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;font-weight:600}
.atlas-method{margin-top:24px;font-size:.88rem}
.atlas-method a,.source-ref a,.world-story-text .inline-actions>a:not(.btn){color:var(--red-dark);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.world-country h1 .country-flag,.page-head h1 .country-flag{font-size:.66em;vertical-align:.14em}
.world-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.74fr);gap:17px;background:var(--paper);border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:18px}
.world-story-text{padding:23px}
.world-story:not(:has(img)){grid-template-columns:1fr}
.world-story h2{font-size:clamp(2.3rem,5.2vw,4.1rem);margin:9px 0 13px}
.world-story p{max-width:720px}
.world-story img{width:100%;height:100%;object-fit:cover;min-height:235px}
.world-story .inline-actions{margin-bottom:0}
.ingredient-pills{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0 0 15px}
.ingredient-pills>li{background:#f2e6d3;border-radius:18px;padding:3px 9px;font-size:.81rem;font-weight:700}
.source-ref{font-size:.88rem}
.world-neighbors{margin-top:29px}
.world-neighbors h2{font-size:clamp(2rem,4vw,3.2rem)}
.builder-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1.05fr);gap:16px;align-items:start}
.builder-controls,.builder-recipe,.saved-builder{background:var(--paper);border:1px solid var(--line);border-radius:9px;min-width:0}
.builder-controls,.builder-output,.saved-builder{padding:18px}
.builder-controls fieldset{padding:0;margin:0 0 15px;min-width:0;border:0}
.builder-controls fieldset:last-child{margin-bottom:0}
.builder-controls legend{font-size:1.25rem;font-weight:800;margin-bottom:8px}
.builder-controls .chips{margin-bottom:12px}
#build-origin{margin:5px 0 13px;font-size:.88rem}
#build-origin a{text-decoration:underline;text-underline-offset:3px}
.builder-fields,.topping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.topping-choice{display:flex;align-items:start;gap:5px;background:#f7efdf;border:1px solid var(--line);border-radius:6px;padding:7px;font-size:.84rem;font-weight:700;line-height:1.3}
.topping-choice:has(input:checked){background:#f4dca0;border-color:#b98c48}
.topping-choice input{margin-top:2px}
.builder-plate{background:#efd397;border-radius:8px 8px 0 0;text-align:center;padding:21px 15px 18px}
.builder-plate h2{font-size:clamp(2rem,4.5vw,3.1rem);margin:0 0 13px}
.build-layers{display:grid;gap:3px;justify-items:center;max-width:470px;margin:auto}
.build-layer{background:var(--layer);width:85%;min-height:16px;line-height:1;display:grid;place-items:center;padding:3px 4px;border-radius:9px}
.build-layer span{border-radius:3px;background:#fffaf1ed;color:var(--ink);padding:2px 5px;font-size:.68rem;font-weight:800}
.build-top{border-radius:55px 55px 12px 12px;min-height:27px;width:89%}
.build-bottom{border-radius:9px 9px 21px 21px;min-height:21px;width:89%}
#builder-status:empty{display:none}
#builder-copy-text{display:block;width:100%;margin-bottom:10px}
.builder-output h3{font-size:1.34rem}
#servings-label{color:var(--muted);font-size:.86rem}
#build-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.build-group h4{margin:0 0 4px}
.build-group ul{padding:0;margin:0;list-style:none}
.build-group li{padding:4px 0;font-size:.86rem}
.build-group li label{display:flex;align-items:baseline;gap:5px}
.build-group li input:checked+span{text-decoration:line-through;color:var(--muted)}
#build-allergens{font-size:.84rem}
#build-steps{padding-left:1.4em;margin-bottom:0}
#build-steps li{padding-left:4px}
#build-steps li::marker{font-weight:800;color:var(--red-dark)}
#build-steps p{margin:2px 0 11px;font-size:.91rem}
.saved-builder{grid-column:1/-1}
.saved-builder h2{font-size:2.4rem;margin-bottom:6px}
.saved-build{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding:8px 0}
.saved-build .plain-button{text-align:left}
@media(max-width:950px){
  .country-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .atlas-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
  .header nav a{font-size:.85rem}
}
@media(max-width:760px){
  .header nav{column-gap:15px;row-gap:3px;padding-block:4px}
  .country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .world-story{grid-template-columns:1fr}
  .world-story img{max-height:290px}
  .builder-layout{grid-template-columns:1fr}
}
@media(max-width:520px){
  .kitchen-home{grid-template-columns:1fr;margin-bottom:35px}
  .kitchen-home article,.world-story-text{padding:18px}
  .world-spotlight{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .world-feature{min-height:150px;padding:9px}
  .world-feature:first-child{grid-column:1/-1;min-height:178px}
  .country-card{grid-template-columns:29px minmax(0,1fr);padding:7px;gap:5px}
  .country-icon{width:27px;height:29px}
  .builder-output,.builder-controls{padding:12px}
  .builder-fields,.topping-grid,#build-list{gap:6px}
  .builder-output .inline-actions{gap:5px}
  .builder-output .btn{font-size:.76rem;padding:6px}
}
@media print{
  body[data-section=configurator] .builder-controls,body[data-section=configurator] .build-layers,body[data-section=configurator] .builder-output .inline-actions,body[data-section=configurator] .saved-builder,#builder-status,#builder-copy-text{display:none!important}
  body[data-section=configurator] .builder-layout{display:block}
  body[data-section=configurator] .builder-recipe{border:0}
  body[data-section=configurator] .builder-plate{background:#fff;text-align:left;padding-bottom:4px}
}


#recipe-search input[type=search],#country-search input[type=search],.builder-fields input{padding-left:10px}
.passport-photo{display:block;width:100%;max-height:190px;object-fit:cover;border-radius:8px;margin:10px 0}
#passport-challenge,#pantry-list{margin:15px 0}
#discover-results .comparison-links{display:flex;flex-wrap:wrap;gap:6px 12px}
#discover-results input[type=file]{max-width:100%}
#passport input,#discover-results input[type=checkbox],#pantry-list input[type=checkbox]{accent-color:var(--red-dark)}
