:root{--bg:#f5f3eb;--surface:#fffef9;--surface-alt:#edeee5;--ink:#28342e;--muted:#626b5e;--line:#d8dccf;--accent:#365849;--on-accent:#fffef9;--accent-soft:#e3eadc;--danger:#924829;--good:#365849;--radius:16px;--font:"Segoe UI",Arial,sans-serif;--heading-font:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;color:var(--ink);background:var(--bg);font-family:var(--font);font-size:14px;line-height:1.6}
button,input,select,textarea{font:inherit}
button,input,select{min-height:44px}
button,a,input,select,summary{touch-action:manipulation}
button{cursor:pointer;color:inherit}
button:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b1714f;outline-offset:3px}
input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--danger);outline-color:var(--danger)}
a{color:inherit}
input,select,textarea{min-width:0;max-width:100%;color:var(--ink);background:var(--surface);border:1px solid #cbd3c2;border-radius:9px;padding:10px 12px;font-size:16px}
input:focus,select:focus,textarea:focus{border-color:var(--accent)}
input::placeholder{color:#7c8377;opacity:1}
textarea{width:100%;min-height:100px;resize:vertical}
label{font-size:12px;font-weight:600;line-height:1.5}
h1,h2,h3,p{margin-top:0}
svg{display:block}
[hidden]{display:none!important}
.shell{width:min(1240px,calc(100% - 88px));margin-inline:auto}
.skip-link{position:absolute;top:-100px;left:18px;background:var(--ink);color:var(--surface);padding:12px 16px;z-index:100;border-radius:8px}
.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-family:var(--heading-font);font-size:30px;font-weight:700;letter-spacing:-1px;min-height:44px}
.brand svg{width:28px;height:34px}
.brand-dot{color:#ad6747}
.beta-label{font-size:12px;color:var(--muted);letter-spacing:.2px}
.beta-label>span{padding-inline:5px;color:#b0b4a5}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:40px;align-items:center;padding:37px 0 35px}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.9px;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.hero h1{font-family:var(--heading-font);font-size:clamp(42px,4.2vw,58px);font-weight:400;line-height:1.07;letter-spacing:-2px;margin:0 0 19px}
.hero h1 em{font-weight:400;color:#657b5c}
.hero-description{color:var(--muted);font-size:15px;line-height:1.8;margin:0;max-width:590px}
.hero-art{display:grid;place-items:center;position:relative;min-height:228px;align-self:stretch;border-radius:160px 160px 18px 18px;background:#e7bc9f;overflow:hidden}
.hero-art:before,.hero-art:after{content:"";position:absolute;border:1px solid #f2d9c4;border-radius:50%;pointer-events:none}
.hero-art:before{width:180px;height:180px;left:-55px;top:26px}
.hero-art:after{width:160px;height:160px;right:-45px;bottom:-55px}
.hero-art>svg{width:244px;height:210px;margin-bottom:14px}
.art-caption{position:absolute;bottom:13px;left:12px;right:12px;text-align:center;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#594736}
.persistence-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 0 19px;border-top:1px solid var(--line);margin-bottom:12px}
.persistence-main,.persistence-backup{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.persistence-backup{gap:14px}
.storage-status,.live-status{font-size:12px;color:var(--accent);line-height:1.5;padding:10px 13px;background:var(--accent-soft);border-radius:9px;margin-bottom:15px}
.storage-status:empty,.live-status:empty{display:none}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:36px;align-items:start;padding:14px 0 55px}
.composer{min-width:0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}
.section-heading .eyebrow{font-size:10px;letter-spacing:1.8px;margin-bottom:5px}
.section-heading h2{font-family:var(--heading-font);font-size:29px;line-height:1.2;letter-spacing:-.9px;font-weight:400;margin:0}
.text-button{border:0;background:transparent;color:var(--accent);padding:8px 0;font-size:12px;font-weight:600;text-underline-offset:4px;min-height:44px;border-radius:6px}
.text-button:hover{text-decoration:underline}
.section-heading .text-button{text-align:right;max-width:165px}
.targets-panel{border:1px solid #d9dfcf;background:#e7ebdf;border-radius:16px;padding:22px;margin-bottom:28px}
.recipe-name-field{margin-bottom:17px}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.field input,.field select,.field textarea{width:100%}
.field label,.field>span:first-child{font-size:12px;font-weight:600}
.optional{margin-left:6px;font-size:11px;font-weight:400;color:var(--muted)}
.targets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.label-unit{float:right;color:var(--muted);font-size:11px;font-weight:400}
.field-help{font-size:12px;color:var(--muted);line-height:1.65;margin:13px 0 0}
#ingredients{counter-reset:ingredient-groups}
.group{margin-bottom:25px;counter-increment:ingredient-groups}
.group-head{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px}
.group-head h2,.group-head h3{display:flex;align-items:center;gap:10px;min-width:0;font-family:var(--heading-font);font-size:24px;font-weight:400;letter-spacing:-.65px;line-height:1.35;margin:0}
.group-head h2:before,.group-head h3:before{content:"0" counter(ingredient-groups);font-family:var(--font);font-size:11px;letter-spacing:.5px;color:#6e7b65;margin-right:1px}
.group-head .badge{font-family:var(--font);font-size:11px;letter-spacing:0;min-width:23px;text-align:center;padding:2px 6px;border-radius:20px}
.add-button{background:transparent;color:var(--accent);border:0;border-radius:8px;padding:7px 5px;font-size:12px;font-weight:600;flex-shrink:0}
.add-button:hover{background:var(--accent-soft)}
.ingredient-list{display:grid;gap:9px}
.ingredient-card{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:10px;background:var(--surface);border:1px solid #e0e1d5;border-radius:13px;padding:15px;box-shadow:0 2px 4px #28342e04}
.ingredient-copy{min-width:0}
.ingredient-copy h3,.ingredient-copy h4{font-family:var(--font);font-size:14px;font-weight:600;line-height:1.4;margin:0 0 4px;overflow-wrap:anywhere}
.ingredient-copy p{margin-bottom:0}
.ingredient-copy .edit-button{justify-content:flex-start;padding:7px 0;color:var(--accent);text-decoration:underline;text-underline-offset:3px;font-weight:500}
.meta{font-size:12px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.badge{display:inline-block;border:1px solid #cbd6c2;background:#e9efe2;color:#496341;font-size:11px;line-height:1.4;border-radius:5px;padding:3px 6px;font-weight:500}
.badge.warning{background:#f7ebdd;border-color:#e3cbb3;color:#80532f}
.dose-control{display:flex;align-items:center;justify-content:flex-end;gap:5px;max-width:95px;min-width:82px;border:1px solid #d2d8c8;border-radius:8px;background:#f9faf4;padding-right:8px;min-height:44px;font-size:12px;color:var(--muted)}
.dose-control input{width:60px;min-width:0;min-height:44px;padding:8px 5px;border:0;border-radius:7px;background:transparent;font-size:16px;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}
.dose-control label:not(.sr-only){font-size:11px}
.remove-button,.edit-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:7px;border:0;border-radius:8px;background:transparent;font-size:12px;color:var(--muted)}
.remove-button:hover{background:#f5e8dd;color:var(--danger)}
.edit-button:hover{background:var(--accent-soft);color:var(--accent)}
.ingredient-card>.meta{font-size:13px;text-align:right;font-variant-numeric:tabular-nums}
.empty{padding:24px 19px;color:var(--muted);background:#f0f1e8;border:1px dashed #cbd2c0;border-radius:13px;font-size:13px;line-height:1.7}
.empty p:last-child{margin-bottom:0}
.group>p,.group>label{font-size:12px;color:var(--muted)}
.group>select{width:100%;margin-top:12px}
.how-it-works{border-top:1px solid var(--line);padding-top:6px;margin-top:30px;color:var(--muted)}
.how-it-works summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--accent);padding:12px 0;min-height:44px}
.how-it-works-body{font-size:12px;line-height:1.75;padding:0 0 5px}
.how-it-works-body p{margin-bottom:10px}
.how-it-works-body strong{color:var(--ink);font-weight:600}
.side-column{display:grid;gap:19px;position:sticky;top:24px;min-width:0;padding-top:1px}
.guide-panel{background:var(--surface-alt);border:1px solid var(--line);border-radius:18px;padding:23px 21px}
.side-title{display:flex;align-items:center;gap:10px;font-family:var(--heading-font);font-size:26px;line-height:1.25;letter-spacing:-.7px;font-weight:400;margin:0 0 7px}
.side-title svg{width:23px;height:23px;flex-shrink:0}
.side-intro{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 17px}
#guidance{display:grid;gap:10px}
.guide-card{background:#f9faf4;border:1px solid #d8ddce;border-radius:11px;padding:14px;color:var(--ink)}
.guide-card.warning{background:#f7ebdd;border-color:#e4cfb7}
.guide-card.info{background:#e9eddf;border-color:#d0d8c3}
.guide-title{font-size:13px;font-weight:650;line-height:1.45;margin-bottom:6px}
.guide-body{font-size:12px;line-height:1.65;color:var(--muted)}
.guide-source{font-size:11px;line-height:1.6;margin-top:9px;color:#69715f}
.warning .guide-title{color:#7f4b2e}
.warning .guide-body,.warning .guide-source{color:#785c40}
.guide-card p:last-child{margin-bottom:0}
.summary-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:23px 21px;box-shadow:0 8px 25px #28342e04}
.summary-label{font-family:var(--font);font-size:11px;letter-spacing:1.2px;line-height:1.6;text-transform:uppercase;font-weight:700;color:var(--muted);margin:0 0 15px}
.summary-lines{display:grid;gap:0}
.summary-line{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.summary-line strong{color:var(--ink);font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.summary-line:last-child{border-bottom:0}
#summary>p{font-size:13px;color:var(--muted);line-height:1.7}
#summary>.mix-total{font-family:var(--heading-font);font-size:40px;line-height:1.1;letter-spacing:-1px;color:var(--ink);margin:0 0 13px}
#summary>.good{color:var(--good);font-size:12px;margin-bottom:8px}
#summary>strong{display:block;font-family:var(--heading-font);font-size:38px;letter-spacing:-1px;font-weight:400;margin-bottom:13px}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:9px;padding:11px 17px;font-size:13px;line-height:1.5;font-weight:600;min-height:46px;text-decoration:none}
.primary{border:1px solid var(--accent);background:var(--accent);color:var(--on-accent)}
.primary:hover:not(:disabled){background:#294638;border-color:#294638}
.secondary{border:1px solid #bdcbb3;background:#edf1e6;color:var(--accent)}
.secondary:hover:not(:disabled){background:#e2e9d7;border-color:#aabb9c}
#result-btn{width:100%;justify-content:space-between;min-height:48px;margin-top:20px}
#result-btn>span{font-size:20px}
.error{font-size:13px;line-height:1.65;padding:13px;border:1px solid #d7ad90;background:#f8ebdf;color:#7f4227;border-radius:10px;overflow-wrap:anywhere}
ul.error{padding-left:29px}
.error:empty{display:none}
.ratio-help[hidden]{display:none}
.ratio-proposal{margin-top:14px;padding:15px;border:1px solid #bdcbb3;border-radius:11px;background:#edf1e6;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.ratio-proposal p{margin:0 0 10px;color:var(--ink)}
.ratio-proposal .secondary{width:100%;white-space:normal;text-align:center}
.ratio-proposal .meta{margin:10px 0 0;font-size:12px;color:var(--muted)}
.good{font-size:13px;line-height:1.65;color:var(--good)}
.page-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid var(--line);padding:23px 0 29px;font-size:11px;color:var(--muted)}
.page-footer p{display:flex;align-items:center;gap:14px;margin:0}
.footer-brand{font-family:var(--heading-font);font-size:19px;color:var(--ink);letter-spacing:-.5px}
.footer-details{display:grid;gap:5px;justify-items:end;text-align:right}
.footer-links{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:0 18px}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}
.notice-content{max-width:760px;margin-inline:auto;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.notice-hero{display:block}
.notice-nav{display:flex;flex-wrap:wrap;gap:0 18px;padding:10px 0 22px;border-bottom:1px solid var(--line)}
.notice-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--accent);text-underline-offset:4px}
.notice-section{padding:30px 0 12px;border-bottom:1px solid var(--line)}
.notice-section h2{font-family:var(--heading-font);font-size:29px;line-height:1.3;font-weight:400;letter-spacing:-.5px;margin-bottom:19px}
.notice-section p{margin-bottom:18px}
.notice-section ul,.notice-steps{padding-left:24px}
.notice-section li{padding-left:4px;margin-bottom:17px}
.notice-section a{text-underline-offset:3px}
.notice-updated{font-size:13px;color:var(--muted)}
.notice-return{padding:28px 0 22px}
dialog{width:min(660px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:88vh;max-height:88dvh;overflow:auto;overscroll-behavior:contain;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:27px;box-shadow:0 20px 90px #24362b50}
dialog::backdrop{background:#24362b80;backdrop-filter:blur(4px)}
dialog h2{font-family:var(--heading-font);font-size:29px;font-weight:400;line-height:1.2;letter-spacing:-.8px;margin:0}
dialog h3{font-size:15px;font-weight:600;margin-bottom:8px}
dialog p{font-size:13px;line-height:1.7;color:var(--muted)}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:17px;margin-bottom:20px}
.dialog-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:10px 12px;background:var(--surface-alt);border:0;border-radius:22px;font-size:12px;line-height:1.3}
.dialog-close:hover{background:var(--accent-soft)}
.catalog-search{display:block;width:100%;margin:0 0 16px}
.catalog-list{display:grid;gap:9px;margin-block:15px;padding:0;list-style:none}
.catalog-item{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px;min-height:70px}
button.catalog-item:hover,.catalog-item:has(button:hover){background:#edf1e6}
.catalog-item strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.catalog-item small{font-size:12px;color:var(--muted);line-height:1.5}
.catalog-item>span:first-child,.catalog-item>div:first-child{min-width:0}
.catalog-item>span:last-child:not(:first-child){flex-shrink:0}
.catalog-item button{flex-shrink:0}
.product-form{display:grid;gap:18px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product-form .field:has(textarea){grid-column:1 / -1}
.product-form .field small,.field .meta{font-size:12px;font-weight:400;line-height:1.6;color:var(--muted)}
.product-form fieldset{margin:0;min-width:0;border:1px solid var(--line);border-radius:12px;padding:15px}
.product-form legend{padding:0 7px;font-size:13px;font-weight:600}
.actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
.amount-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;margin:18px 0}
.amount-table th{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);font-weight:600;padding:10px 0;border-bottom:1px solid var(--line)}
.amount-table td{padding:13px 0;border-bottom:1px solid var(--line);vertical-align:top}
.amount-table th:last-child,.amount-table td:last-child{text-align:right;padding-left:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.amount-table td:first-child{overflow-wrap:anywhere}
.amount-table small{display:block;font-size:12px;color:var(--muted);font-weight:400}
.amount-table td>.meta{display:block;margin-top:4px}
.recipe-list{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.recipe-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border:1px solid var(--line);border-radius:12px;padding:15px;background:#f5f7ee}
.recipe-item>div{min-width:0}
.recipe-item strong{font-size:14px;overflow-wrap:anywhere}
.recipe-item h3,.guide-title,.guide-body,.dialog-head h2{overflow-wrap:anywhere}
.recipe-item .actions{padding:0;margin:0;border:0;gap:8px}
.recipe-item small{font-size:12px;color:var(--muted)}
@media(min-width:1400px){.workspace{gap:43px;grid-template-columns:minmax(0,1fr) 360px}.hero{grid-template-columns:minmax(0,1fr) 360px}.ingredient-card{padding:17px}.hero-art{min-height:238px}}
@media(max-width:1100px){.shell{width:calc(100% - 48px)}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.hero{grid-template-columns:minmax(0,1fr) 286px;gap:24px}.hero h1{font-size:48px}.guide-panel,.summary-panel{padding:21px 18px}.ingredient-card{gap:7px;padding:13px 11px}.ingredient-copy h3{font-size:14px}.edit-button,.remove-button{padding:6px;font-size:12px}.dose-control{min-width:76px;max-width:84px}.dose-control input{width:53px}.section-heading{gap:15px}.targets-panel{padding:18px}.targets-grid{gap:12px}}
@media(max-width:820px){.shell{width:calc(100% - 40px)}.hero{grid-template-columns:minmax(0,1fr) 210px;padding-block:28px}.hero h1{font-size:45px}.hero-description{font-size:14px}.hero-art{min-height:218px}.hero-art>svg{width:215px}.art-caption{font-size:9px}.workspace{grid-template-columns:minmax(0,1fr);gap:26px;padding-top:14px}.side-column{position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;padding-top:0}.ingredient-card{padding:15px;gap:12px}.dose-control{min-width:88px;max-width:95px}.dose-control input{width:60px}.guide-panel,.summary-panel{padding:22px}.persistence-controls{gap:8px}.persistence-backup{gap:16px}.persistence-backup .text-button{font-size:11px}}
@media(max-width:580px){.shell{width:calc(100% - 32px)}.masthead{padding:17px 0;gap:15px}.brand{font-size:27px;gap:8px}.brand svg{width:25px;height:30px}.beta-label{font-size:11px;max-width:110px;text-align:right;line-height:1.6}.beta-label>span{padding-inline:2px}.hero{grid-template-columns:1fr;padding:27px 0 25px}.hero-art{display:none}.hero h1{font-size:44px;letter-spacing:-1.6px;margin-bottom:15px}.hero-description{font-size:14px;line-height:1.7}.eyebrow{font-size:10px;letter-spacing:1.7px;margin-bottom:12px}.desktop-break{display:none}.workspace{padding:11px 0 35px;gap:23px}.section-heading{align-items:flex-end;gap:12px;margin-bottom:17px}.section-heading h2{font-size:26px;letter-spacing:-.7px}.section-heading .eyebrow{font-size:10px}.section-heading .text-button{font-size:12px;max-width:113px;text-align:right;line-height:1.5;padding-block:5px}.targets-panel{padding:18px 15px;border-radius:14px;margin-bottom:25px}.targets-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 13px}.targets-grid>.field:last-child{grid-column:1 / -1}.field-help{font-size:12px;margin-top:12px}.optional{display:inline;font-size:11px}.recipe-name-field{margin-bottom:17px}.group{margin-bottom:22px}.group-head{gap:10px;padding-bottom:9px}.group-head h2,.group-head h3{font-size:23px;gap:7px}.group-head h2:before,.group-head h3:before{font-size:10px;margin-right:0}.add-button{font-size:12px;padding:7px 3px;max-width:145px;text-align:right}.ingredient-card{grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:14px;border-radius:12px}.ingredient-copy{grid-column:1 / -1}.ingredient-copy h3,.ingredient-copy h4{font-size:15px;margin-bottom:5px}.ingredient-copy .meta{font-size:12px}.dose-control{justify-self:start;min-width:90px;max-width:96px}.dose-control input{width:63px}.edit-button,.remove-button{padding:8px;font-size:12px}.ingredient-card>.meta{text-align:left;justify-self:start}.side-column{grid-template-columns:1fr;gap:17px}.guide-panel,.summary-panel{padding:22px 19px;border-radius:15px}.side-title{font-size:26px}.side-intro{font-size:12px}.guide-title{font-size:14px}.guide-body{font-size:13px}.guide-source{font-size:12px}.summary-label{font-size:11px}.summary-line{font-size:13px}.how-it-works{margin-top:25px}.how-it-works summary{font-size:13px}.how-it-works-body{font-size:12px}.page-footer{align-items:flex-start;gap:22px;font-size:11px;padding-block:20px}.page-footer p:first-child{flex-direction:column;align-items:flex-start;gap:4px}.page-footer p:last-child{text-align:right;max-width:115px;justify-content:flex-end}.footer-brand{font-size:20px}.persistence-controls{padding:12px 0 15px;gap:5px}.persistence-main{width:100%;gap:9px}.persistence-main button{flex:1}.persistence-backup{width:100%;justify-content:space-between;gap:8px}.persistence-backup .text-button{font-size:11px;max-width:140px;text-align:left}.persistence-backup .text-button:last-of-type{text-align:right}.storage-status,.live-status{font-size:12px}.form-grid{gap:15px;grid-template-columns:1fr}.product-form{gap:16px}dialog{padding:23px 18px;border-radius:17px;width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:91dvh}dialog h2{font-size:26px}.dialog-head{gap:14px}.catalog-item{padding:13px;gap:12px}.catalog-item strong{font-size:14px}.catalog-item small{font-size:12px}.amount-table{font-size:13px}.amount-table th{font-size:11px;letter-spacing:0}.amount-table td:last-child{padding-left:10px}.actions{gap:9px}.recipe-item{padding:13px}.recipe-item>.actions{width:100%;justify-content:flex-end}}
@media(max-width:580px){.ingredient-card>.remove-button{grid-column:3}.ingredient-card>.dose-control,.ingredient-card>.meta{grid-column:1 / 3}.catalog-item{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.catalog-item>.badge{justify-self:start}.group>.field{margin-top:13px}.amount-table{table-layout:fixed}.amount-table th:last-child,.amount-table td:last-child{width:98px}}
@media(max-width:360px){.brand{font-size:25px}.beta-label{font-size:10px;max-width:95px}.hero h1{font-size:40px}.group-head h2:before,.group-head h3:before{display:none}.group-head h2,.group-head h3{font-size:22px}.add-button{max-width:125px}.section-heading h2{font-size:24px}.section-heading .text-button{max-width:103px}.ingredient-card{padding:13px 11px;gap:8px}.remove-button,.edit-button{padding:7px}.catalog-item{flex-wrap:wrap}.catalog-item>button{margin-left:auto}.art-caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:580px){.page-footer{flex-direction:column;gap:14px}.footer-details{justify-items:start;text-align:left;width:100%}.footer-links{justify-content:flex-start;gap:0 19px}.notice-content{font-size:15px;line-height:1.8}.notice-section{padding-top:25px}.notice-section h2{font-size:25px}.notice-nav{gap:0 16px}.notice-nav a{font-size:13px}.notice-return .primary{width:100%}}
@media print{.masthead,.hero,.persistence-controls,.storage-status,.live-status,.composer,.guide-panel,.page-footer,.dialog-close,.actions,.primary{display:none!important}body{background:white;color:black}.shell{width:100%}.workspace,.side-column{display:block}.summary-panel{border:0;box-shadow:none}dialog[open]{position:static;max-width:none;width:100%;max-height:none;box-shadow:none;border:0;padding:0}dialog::backdrop{background:none}}
