@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Libre+Caslon+Display&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--bg:#f8f8f2;--paper:#fffefa;--ink:#243c32;--green:#244f42;--muted:#72796c;--line:#e4e5db;--sage:#edf1e4;--orange:#ce7853;--protein:#54725b;--carbs:#d5b76a;--fat:#ce7853;font-family:'Noto Sans Thai','DM Sans',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b28539;outline-offset:3px}input,select{color:var(--ink)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-60px;z-index:20;background:var(--green);color:white;padding:12px}.skip-link:focus{top:0}.topbar{max-width:1280px;margin:auto;min-height:98px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:20px 36px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:20px;font-weight:650;letter-spacing:-.6px}.brand-icon{height:44px;width:44px;display:grid;place-items:center;background:var(--green);border-radius:13px;color:#dfe6c9;font-size:24px}.brand-sub{display:block;font-size:16px;letter-spacing:2.2px;margin-top:4px;font-weight:600;color:var(--muted)}.quiet{background:none;border:0;color:var(--green);font-size:16px;padding:9px 0}.quiet span{margin-left:8px}.quiet:hover{text-decoration:underline}.small{font-size:16px}main{max-width:1280px;margin:auto;padding:0 36px}.intro{display:flex;justify-content:space-between;align-items:center;padding:50px 12px 42px;gap:20px}.eyebrow{font-size:16px;font-weight:700;letter-spacing:1.7px;display:flex;align-items:center;gap:8px;margin:0 0 21px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:#75945a}h1{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:64px;line-height:1.02;letter-spacing:-1.3px;margin:0}h1 em{color:#6f805f;font-style:normal}.intro-copy{font-size:16px;line-height:1.8;color:var(--muted);margin:22px 0 0}.intro-art{width:310px;text-align:center;margin-right:46px}.intro-art svg{width:100%}.intro-art span{font-family:Georgia,serif;font-size:16px;font-style:italic;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(300px,.92fr) minmax(440px,1.35fr);gap:24px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:26px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.step{font-size:16px;letter-spacing:1.5px;font-weight:700;color:var(--muted);margin:0 0 8px}h2{font-size:23px;font-weight:500;letter-spacing:-.8px;line-height:1.25;margin:0}.count-pill{background:var(--sage);border-radius:30px;padding:7px 11px;color:#526646;font-size:16px;white-space:nowrap}.search-box{display:flex;gap:11px;align-items:center;background:#f7f8f1;border:1px solid var(--line);border-radius:9px;padding:13px;margin:24px 0 14px}.search-box svg{width:17px;height:17px;stroke:#72826a;stroke-width:1.6;fill:none;display:block}.search-box input{width:100%;min-width:0;background:none;border:0;outline:none;font-size:16px}.search-box:focus-within{outline:2px solid #809664}.search-box input:focus-visible{outline:none}.search-box kbd{border:1px solid #daddcf;color:#9a9f8e;border-radius:4px;padding:0 5px;font-size:16px}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.filter-row select{max-width:62%;padding:8px 25px 8px 9px;border:1px solid var(--line);border-radius:7px;background:var(--paper);font-size:16px}.selected-toggle{font-size:16px;color:var(--muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.selected-toggle input{accent-color:var(--green)}.catalog-meta{display:flex;justify-content:space-between;font-size:16px;color:var(--muted);margin:22px 0 7px}.ingredient-list{max-height:650px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d6dcca transparent;padding-right:5px}.food-row{display:grid;grid-template-columns:39px minmax(0,1fr) 40px;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #edefe5}.food-row:last-child{border:0}.food-icon{display:grid;place-items:center;width:39px;height:42px;border-radius:10px;background:var(--sage);font-size:22px}.food-icon.grains{background:#f4efd9}.food-icon.roots{background:#f4e9de}.food-icon.meat{background:#f7e8e3}.food-icon.dairy{background:#eceeef}.food-icon.beans{background:#efe7d9}.food-title{border:0;padding:0;background:none;text-align:left;font-size:16px;font-weight:600;line-height:1.5;display:block}.food-title:hover{text-decoration:underline}.secondary-name{font-size:16px;color:#879080;margin-top:2px;line-height:1.7}.food-macros{font-size:16px;color:var(--muted);margin-top:6px;display:flex;flex-wrap:wrap;gap:9px}.food-macros b{font-weight:600;color:#58624f}.add-button{border:1px solid #dce2d2;background:transparent;border-radius:50%;width:32px;height:32px;font-size:22px;font-weight:400;color:var(--green);display:grid;place-items:center}.add-button:hover{background:var(--sage);border-color:#82916e}.add-button.added{background:var(--green);color:white;border-color:var(--green);font-size:16px}.catalog-foot{font-size:16px;line-height:1.9;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin:18px 0 0}.recipe-column{display:flex;flex-direction:column;gap:20px}.inline-count{font-size:16px;background:var(--sage);padding:4px 8px;border-radius:7px;vertical-align:middle;margin-left:6px;font-weight:500}.recipe-name{border:0;border-bottom:1px solid var(--line);background:transparent;width:100%;font-size:16px;margin:18px 0 8px;padding:9px 0 14px}.empty-recipe{text-align:center;padding:26px 12px 27px}.empty-art{font-size:32px;display:block;margin-bottom:10px}.empty-recipe h3{font-size:16px;font-weight:500;margin:8px 0}.empty-recipe p{font-size:16px;line-height:1.8;color:var(--muted);margin:8px 0 20px}.example-button{background:var(--sage);color:var(--green);border:1px solid #dce3cd;border-radius:8px;padding:10px 16px;font-size:16px}.example-button:hover{background:#e2e9d6}.recipe-row{display:grid;grid-template-columns:30px minmax(0,1fr) 90px 22px;gap:10px;align-items:center;padding:15px 0;border-bottom:1px solid #edefe5}.recipe-row .food-icon{width:30px;height:34px;border-radius:8px;font-size:17px}.recipe-row .food-title{font-size:16px}.recipe-row .secondary-name{font-size:16px}.weight-input{display:flex;align-items:center;gap:3px;border:1px solid var(--line);border-radius:7px;padding:8px}.weight-input:focus-within{outline:2px solid #809664}.weight-input input{border:0;background:none;width:54px;min-width:0;outline:none;text-align:right;font-size:16px;appearance:textfield}.weight-input input::-webkit-inner-spin-button{appearance:none}.weight-input span{font-size:16px;color:var(--muted)}.weight-input.invalid{border-color:#bd543d;background:#fff0e9}.remove-button{background:none;border:0;color:#859078;font-size:20px;padding:3px}.remove-button:hover{color:#b44429}.recipe-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:10px}.recipe-footer p{font-size:16px;font-weight:600;margin:0}.muted{color:var(--muted);font-weight:400}.recipe-footer p .muted{font-size:16px;margin-left:6px}.servings-label{font-size:16px;color:var(--muted);display:flex;gap:8px;align-items:center}.servings-label input{width:51px;border:1px solid var(--line);border-radius:6px;padding:7px;font-size:16px;background:var(--paper)}.input-help{font-size:16px;line-height:1.8;color:var(--muted);margin:16px 0 0}.live-tag{display:flex;align-items:center;gap:5px;background:var(--sage);color:#64804e;border-radius:5px;padding:5px 7px;font-size:16px;letter-spacing:1px}.live-tag i{height:4px;width:4px;background:#64804e;border-radius:50%}.basis-tabs{display:flex;gap:3px;border:1px solid var(--line);background:#f4f5ee;border-radius:8px;padding:4px;margin:22px 0 10px}.basis-tabs button{flex:1;border:0;background:none;border-radius:5px;padding:9px 6px;color:var(--muted);font-size:16px}.basis-tabs button[aria-pressed=true]{background:var(--paper);color:var(--green);box-shadow:0 1px 4px #253b3212;font-weight:600}.basis-description{font-size:16px;color:var(--muted);margin:12px 0 18px;line-height:1.7}.macro-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.macro-card{border:1px solid var(--line);border-radius:11px;padding:16px 12px;background:#f9faf4}.macro-card.energy{background:var(--green);border-color:var(--green);color:white}.macro-label{font-size:16px;display:flex;align-items:center;gap:4px;color:var(--muted)}.energy .macro-label{color:#c8d7c7}.macro-value{font-size:27px;line-height:1.3;letter-spacing:-1px;margin-top:9px;overflow-wrap:anywhere;font-weight:500}.macro-value.long{font-size:17px;letter-spacing:-.4px}.macro-unit{font-size:16px;color:var(--muted);margin-top:2px}.energy .macro-unit{color:#c8d7c7}.macro-label i{width:5px;height:5px;border-radius:50%;display:inline-block}.protein-dot{background:var(--protein)}.carbs-dot{background:var(--carbs)}.fat-dot{background:var(--fat)}.macro-balance{margin:23px 0 25px}.small-heading{display:flex;justify-content:space-between;font-size:16px;margin-bottom:10px}.balance-bar{display:flex;height:8px;background:#edefe4;border-radius:10px;overflow:hidden}.balance-bar span{height:100%;transition:width .15s ease}.balance-legend{display:flex;gap:17px;font-size:16px;color:var(--muted);margin-top:10px}.balance-legend span{display:flex;align-items:center;gap:5px}.balance-legend i{width:5px;height:5px;border-radius:50%;display:inline-block}.detail-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px;margin-bottom:5px}.detail-heading h3{font-size:16px;font-weight:500;margin:0}.nutrient-details{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.nutrient-detail{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edefe5;font-size:16px;padding:12px 0;gap:5px}.nutrient-detail .detail-value{font-weight:600;text-align:right}.detail-value small{font-size:16px;font-weight:400;color:var(--muted)}.coverage-note{font-size:16px;color:var(--muted);line-height:1.8;margin:15px 0 0}.breakdown{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.breakdown summary{cursor:pointer;font-size:16px;color:var(--green)}.table-scroll{overflow-x:auto;margin-top:15px}table{width:100%;border-collapse:collapse;text-align:left;font-size:16px}th,td{border-bottom:1px solid var(--line);padding:10px 8px;white-space:nowrap}th{color:var(--muted);font-weight:500}th:first-child,td:first-child{padding-left:0}.save-status{font-size:16px;text-align:right;color:var(--muted);margin:0 3px}.no-results{padding:60px 15px;text-align:center;font-size:16px;color:var(--muted);line-height:1.9}.no-results strong{display:block;color:var(--ink);font-size:16px;font-weight:500}.loading{padding:30px;color:var(--muted);font-size:16px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:40px;padding:22px 4px;font-size:16px;color:var(--muted);align-items:center}footer .quiet{font-size:16px}dialog{border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);width:min(640px,calc(100% - 32px));max-height:85vh;padding:25px}dialog::backdrop{background:#172f2877;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px;gap:20px}.dialog-header h2{font-size:23px}.icon-button{border:0;background:var(--sage);border-radius:50%;width:30px;height:30px;font-size:22px;color:var(--green);flex-shrink:0}#dialog-content{font-size:16px;line-height:1.9}#dialog-content h3{font-size:16px;margin:22px 0 6px}#dialog-content p{color:var(--muted);margin:8px 0}#dialog-content .source-link{display:inline-block;background:var(--sage);color:var(--green);padding:8px 14px;border-radius:8px;text-decoration:none;margin-top:12px}.source-link:hover{text-decoration:underline!important}.food-detail-table td:last-child{text-align:right}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 32px);padding:12px 20px;background:var(--green);color:white;border-radius:10px;font-size:16px;opacity:0;pointer-events:none;transition:.15s;box-shadow:0 8px 24px #243c3222}.toast.visible{opacity:1;transform:translate(-50%,0)}
.mobile-recipe-link{display:none}
@media(max-width:760px){.mobile-recipe-link{display:block;text-align:center;margin-top:15px;padding:10px;background:var(--sage);border-radius:8px;text-decoration:none;font-size:16px;color:var(--green)}}
@media(min-width:1100px){.catalog{position:sticky;top:20px}}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(270px,1fr) minmax(350px,1.25fr);gap:18px}.panel{padding:22px}.intro-art{margin-right:0;width:260px}.macro-cards{gap:7px}.macro-card{padding:13px 9px}.macro-value{font-size:24px}.recipe-row{grid-template-columns:26px minmax(0,1fr) 80px 20px;gap:8px}.weight-input{padding:7px}.weight-input input{width:47px}.nutrition h2{font-size:21px}.recipe-footer p .muted{display:block;margin:3px 0 0}}
@media(max-width:760px){.topbar{min-height:80px;padding:16px 22px}main{padding:0 20px}.intro{padding:35px 3px 28px;gap:0}h1{font-size:51px}.intro-art{width:190px}.intro-art span{display:none}.intro-copy{font-size:16px;margin-top:16px}.eyebrow{font-size:16px;letter-spacing:1.1px}.workspace{grid-template-columns:1fr}.catalog{position:static}.ingredient-list{max-height:310px}.panel{padding:23px}.catalog-foot{font-size:16px}.recipe-footer p .muted{display:inline;margin-left:4px}.macro-value{font-size:28px}.recipe-row{grid-template-columns:30px minmax(0,1fr) 90px 22px;gap:10px}.weight-input input{width:54px}.intro-art{display:none}.desktop-break{display:none}.brand{font-size:17px}.brand-sub{font-size:16px}.topbar>.quiet{font-size:16px}.brand-icon{height:36px;width:36px;font-size:21px}.intro-copy{max-width:340px}.recipe-column{gap:18px}}
@media(max-width:390px){main{padding:0 13px}.topbar{padding:15px}.panel{padding:18px}.macro-cards{gap:6px}.macro-value{font-size:24px}.macro-card{padding:13px 8px}.recipe-footer p .muted{display:block;margin:4px 0 0}.nutrient-details{gap:0 15px}.intro{padding-left:7px}.macro-label{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Thai needs room for stacked vowel marks and natural word wrapping. */
:lang(th){letter-spacing:normal}
body{line-height:1.6}
h1{font-family:'Noto Sans Thai',sans-serif;font-size:52px;line-height:1.4;font-weight:500;letter-spacing:normal}
h2{line-height:1.5;letter-spacing:normal}
.brand-sub,.eyebrow,.step,.live-tag{letter-spacing:normal}
.brand-sub{font-size:16px}.eyebrow,.step{font-size:16px}
.intro-art span{font-family:inherit;font-style:normal}
.secondary-name{font-family:'DM Sans',sans-serif}
.macro-label{min-height:32px;align-items:flex-start;line-height:1.6;overflow-wrap:anywhere}
.macro-label i{flex-shrink:0;margin-top:5px}
.macro-value.long{font-size:16px;line-height:1.8;letter-spacing:normal}
.recipe-row{grid-template-columns:30px minmax(0,1fr) 100px 22px}
.weight-input input{flex:1;width:0}.weight-input span{flex-shrink:0}
.live-tag{white-space:nowrap}.recipe-footer{flex-wrap:wrap}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr)}.catalog{position:static}.ingredient-list{max-height:420px}}
@media(max-width:760px){h1{font-size:36px}.brand{font-size:16px}.brand-sub{font-size:16px}.step{font-size:16px}.ingredient-list{max-height:310px}.macro-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.macro-label{min-height:0;font-size:16px}.macro-value.long{font-size:16px}.recipe-row{grid-template-columns:26px minmax(0,1fr) 94px 20px;gap:8px}.filter-row{flex-wrap:wrap}.filter-row select{max-width:100%}.nutrition h2{font-size:20px}}

/* Large, readable type and comfortable touch controls. */
:root{font-size:18px;--muted:#596653}
body{font-size:1rem;line-height:1.75}
main,.topbar{max-width:1440px}
.panel,.recipe-column,.section-heading>div,.recipe-row>div{min-width:0}
h2,.nutrition h2{font-size:28px}
.brand{font-size:24px}.brand-sub{font-size:16px}
.intro-copy{font-size:20px}.intro-art{flex-shrink:0}
.quiet,.small,.topbar>.quiet,footer .quiet{font-size:16px;min-height:48px}
.food-title,.recipe-row .food-title{font-size:19px;line-height:1.65;min-height:44px}
.secondary-name,.recipe-row .secondary-name{font-size:16px;color:var(--muted);overflow-wrap:anywhere}
.search-box input,.filter-row select,.recipe-name,.weight-input input,.servings-label input{font-size:18px;min-height:48px}
.search-box{padding:8px 12px}.search-box svg{width:22px;height:22px}
.filter-row{flex-wrap:wrap}.filter-row select{max-width:100%;flex:1;min-width:0}
.selected-toggle{min-height:48px}.selected-toggle input{width:24px;height:24px}
.food-row{grid-template-columns:40px minmax(0,1fr) 48px;gap:12px;padding:20px 0}
.add-button,.remove-button,.icon-button{width:48px;height:48px;min-width:48px;font-size:26px}
.add-button.added{font-size:22px}.remove-button{background:var(--sage);border-radius:10px}
.recipe-row{grid-template-columns:36px minmax(0,1fr) 124px 48px;gap:12px;padding:20px 0}
.recipe-row .food-icon{width:36px;height:40px}
.weight-input{padding:0 10px;gap:6px}.weight-input input{width:0;flex:1}
.weight-input span{font-size:16px}
.recipe-footer{gap:20px}.recipe-footer p{font-size:20px}
.recipe-footer p .muted{display:block;margin:4px 0 0;font-size:16px}
.servings-label{font-size:18px}.servings-label input{width:76px}
.empty-recipe h3,.detail-heading h3,#dialog-content h3{font-size:20px}
.empty-recipe p,.example-button{font-size:18px}.example-button{min-height:52px}
.basis-tabs button{font-size:17px;min-height:52px;min-width:0}
.macro-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.macro-card{padding:20px}.macro-label{font-size:17px;min-height:0}
.macro-value{font-size:40px;letter-spacing:normal}.macro-value.long{font-size:20px}
.macro-unit{font-size:16px}.macro-label i{margin-top:10px}
.balance-legend{flex-wrap:wrap;gap:10px 20px;font-size:16px}
.nutrient-details{grid-template-columns:1fr}.nutrient-detail{font-size:18px;padding:16px 0;gap:16px}
.detail-value small{font-size:16px}.detail-heading{flex-wrap:wrap;gap:8px}
.breakdown summary{font-size:18px;min-height:48px;padding:8px 0}
.food-detail-table{table-layout:fixed}.food-detail-table th,.food-detail-table td{white-space:normal;overflow-wrap:anywhere}
#dialog-content{font-size:18px}.dialog-header h2{font-size:26px}
.dialog-header{position:sticky;top:-25px;background:var(--paper);padding:12px 0;z-index:1}
#dialog-content .source-link{min-height:48px}
footer{flex-wrap:wrap;gap:12px}
.mobile-nav{display:none}
#ingredients-section,#recipe-section,#nutrition-section{scroll-margin-top:20px}
@media(min-width:1151px){.workspace{grid-template-columns:minmax(0,0.9fr) minmax(0,1.35fr)}}
@media(max-width:1150px){
  .workspace{grid-template-columns:minmax(0,1fr)}
  .catalog{position:static}.ingredient-list{max-height:500px}
  .intro-art{width:230px;margin:0}
}
@media(max-width:760px){
  body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  main{padding:0 16px}.panel{padding:22px 18px}
  .topbar{padding:16px;gap:12px;flex-wrap:wrap}.brand{font-size:22px}
  .brand-icon{width:44px;height:44px}.brand-sub{font-size:16px}
  .intro{padding:28px 2px}.intro-copy{font-size:18px;max-width:none}
  h1{font-size:clamp(30px,8.5vw,44px)}
  h2,.nutrition h2{font-size:26px}
  .section-heading{flex-wrap:wrap;gap:8px 12px}.step{font-size:16px}
  .search-box kbd{display:none}.search-box{margin-top:18px}
  .filter-row select{flex-basis:100%;width:100%}
  .ingredient-list{max-height: min(55vh,480px);padding-right:0}
  .food-row{grid-template-columns:minmax(0,1fr) 48px;gap:12px}
  .food-row>.food-icon{display:none}
  .recipe-row{grid-template-columns:36px minmax(0,1fr) 48px;gap:12px}
  .recipe-row>.food-icon{grid-column:1;grid-row:1;align-self:start;margin-top:4px}
  .recipe-row>div{grid-column:2 / -1;grid-row:1}
  .recipe-row>.weight-input{grid-column:2;grid-row:2;width:100%;max-width:190px}
  .recipe-row>.remove-button{grid-column:3;grid-row:2}
  .recipe-footer{align-items:flex-start}.recipe-name{padding-bottom:12px}
  .macro-card{padding:16px 12px}.macro-cards{gap:10px}
  .macro-label{font-size:16px}.macro-value{font-size:36px}
  .basis-tabs button{font-size:16px;padding:10px 4px}
  .mobile-recipe-link{display:block;font-size:18px;min-height:52px;padding:12px}
  .mobile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:fixed;z-index:10;bottom:0;left:0;right:0;gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -4px 20px #243c3210}
  .mobile-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 4px;border-radius:10px;background:var(--sage);color:var(--green);text-decoration:none;font-size:16px;font-weight:600}
  .mobile-nav a:active{background:var(--green);color:white}
  .toast{bottom:calc(90px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 32px)}
  dialog{padding:18px;max-height:85dvh;width:calc(100% - 24px)}
  .dialog-header{top:-18px}.dialog-header h2{font-size:24px}
  footer{padding-bottom:20px}.save-status{text-align:left}
}
@media(max-width:360px){
  main{padding:0 10px}.panel{padding:20px 14px}
  .macro-cards{grid-template-columns:1fr}
  .macro-value{font-size:40px}
}

/* The language selector stays available on both desktop and phone layouts. */
.header-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.language-control select{font:inherit;font-size:18px;min-height:48px;padding:8px 32px 8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--green)}
.quiet>[data-i18n]{margin-left:0}
.eyebrow>[data-i18n]{width:auto;height:auto;border-radius:0;background:none}
:lang(en) h1{font-size:clamp(32px,4.3vw,56px)}
@media(max-width:760px){.header-actions{width:100%;justify-content:space-between;gap:12px}.mobile-nav a{font-size:16px;overflow-wrap:anywhere}:lang(en) h1{font-size:clamp(29px,8vw,44px)}}

/* Daily references and the recipe share a normalized, accessible radar view. */
.daily{margin-top:28px;scroll-margin-top:20px}
.daily-jump{display:inline-block;margin:0 0 22px;color:var(--green);font-weight:600;text-underline-offset:4px}
.daily-age{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.daily-age select{font:inherit;min-height:48px;border:1px solid var(--line);border-radius:10px;padding:8px 32px 8px 12px;background:var(--paper);color:var(--green)}
.daily-intro{margin:16px 0;color:var(--muted)}
.daily-context{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;padding:16px;background:var(--sage);border-radius:12px}
.daily-context a,.daily-method a{color:var(--green);text-underline-offset:4px}
.radar-legend{display:flex;flex-wrap:wrap;gap:12px 28px;margin:24px 0 12px;font-size:18px}
.radar-legend>span{display:flex;align-items:center;gap:10px}
.radar-legend i{display:inline-block;width:30px;flex:none}
.reference-swatch{border-top:3px dashed #7d6a44}
.dish-swatch{border-top:4px solid #17695a}
.daily-status,.daily-note{font-size:16px;line-height:1.7;color:#536057}
.daily-status{margin:12px 0 20px}
.daily-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.daily-card{min-width:0;padding:24px;background:#fbfcf7;border:1px solid var(--line);border-radius:16px}
.daily-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.daily-card h3{font-size:26px;color:var(--green);margin:0}
.daily-card-heading>span{font-size:16px;color:#536057}
.radar-stage{position:relative;width:100%;max-width:440px;aspect-ratio:1;margin:24px auto 12px}
.radar-svg{position:absolute;inset:13%;width:74%;height:74%;overflow:visible}
.radar-grid{fill:none;stroke:#dce1d7;stroke-width:1}
.radar-reference{fill:#b5a67b0c;stroke:#7d6a44;stroke-width:1.6;stroke-dasharray:4 3}
.radar-fill{fill:#17695a28;stroke:none}
.radar-dish-line{stroke:#17695a;stroke-width:2;fill:none}
.radar-dish-line.partial{stroke-dasharray:3 3}
.radar-point{stroke:#17695a;fill:#17695a;stroke-width:1.5}
.radar-point.partial{fill:#fbfcf7;stroke-width:2}
.radar-label{position:absolute;width:30%;font-size:16px;line-height:1.4;text-align:center;overflow-wrap:break-word}
.radar-label strong{display:block;font-size:18px;color:#17695a;line-height:1.5}
.radar-label.axis-0{top:0;left:35%}
.radar-label.axis-1{top:20%;right:-1%;text-align:right}
.radar-label.axis-2{bottom:20%;right:-1%;text-align:right}
.radar-label.axis-3{bottom:0;left:35%}
.radar-label.axis-4{bottom:20%;left:-1%;text-align:left}
.radar-label.axis-5{top:20%;left:-1%;text-align:left}
.daily-table{width:100%;border-collapse:collapse;font-size:18px;table-layout:fixed}
.daily-table th,.daily-table td{padding:12px 4px;border-bottom:1px solid var(--line);vertical-align:top;text-align:right;overflow-wrap:anywhere}
.daily-table th:first-child{width:36%;text-align:left;font-weight:500}
.daily-table thead th{font-size:16px;color:#536057;font-weight:600}
.daily-table small{display:block;font-size:16px;color:#536057;font-weight:400}
.daily-table [data-daily-percent]{display:block;font-size:16px;color:#17695a}
.daily-table [data-daily-amount]{font-variant-numeric:tabular-nums}
.daily-note{margin:16px 0}
.daily-sodium{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;background:#f3ecde;border-radius:12px;padding:20px;margin-top:20px}
.daily-sodium p{margin:6px 0 0;font-size:16px}
.daily-sodium>p strong{display:block;font-size:22px}
.daily-method{margin-top:22px;font-size:16px;line-height:1.7}
.daily-method summary{font-size:18px;cursor:pointer;min-height:48px;padding:10px 0;color:var(--green);font-weight:600}
.daily-method a{overflow-wrap:anywhere}
@media(max-width:760px){
  .daily-charts{grid-template-columns:1fr;gap:20px}
  .daily-card{padding:16px 12px}
  .daily .section-heading{gap:20px}
  .daily-context{padding:14px;font-size:16px}
  .radar-legend{font-size:16px;gap:12px 20px}
  .daily-table{font-size:18px}
  .daily-card h3{font-size:24px}
}
