.ingredients-heading{display:flex;align-items:flex-start;gap:20px;margin:9px 0 38px}.heading-icon{width:42px;height:48px;display:grid;place-items:center;color:#414954}.heading-icon .icon{width:31px;height:31px}.ingredients-heading h1{font-size:35px;letter-spacing:-1.1px;line-height:1.25}.ingredients-heading h1>span{font-size:20px;color:#7c808b;font-weight:400;letter-spacing:-.4px;white-space:nowrap}.ingredients-heading p{font-size:14px;color:#7d818b;line-height:1.7;margin-top:8px}.help-ingredients{background:none;width:25px;height:25px;margin-left:-12px;margin-top:6px;color:#838792}.help-ingredients .icon{width:17px;height:17px}.search-row{display:flex;align-items:stretch;gap:10px}.ingredient-search{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #e0e3e9;box-shadow:0 4px 12px #252a3405;border-radius:19px;padding:0 19px;min-width:0;flex:1;height:63px}.ingredient-search>.icon{color:#7c828c;width:23px;height:23px}.ingredient-search input{border:0;padding:0;box-shadow:none;background:transparent;border-radius:0;font-size:16px;height:100%;min-width:0}.ingredient-search input::placeholder{font-size:16px;color:#8c909a}.ingredient-search button{border:0;background:none;display:grid;place-items:center;color:#9a9fa7;padding:8px}.view-switch{display:flex;border:1px solid #e9ebef;padding:4px;border-radius:20px;gap:4px;background:#f1f2f5}.view-switch a{width:48px;display:grid;place-items:center;border-radius:15px;color:#8a909a}.view-switch a.selected{background:#fff;color:#2b333e;box-shadow:0 1px 4px #252a3408}.sort-form{display:flex;align-items:center;gap:8px;background:white;border:1px solid #e1e4e9;border-radius:19px;padding:0 13px;max-width:140px}.sort-form>.icon{color:#7d838e;width:20px;height:20px}.sort-form select{padding:0 15px 0 0;border:0;box-shadow:none;background:transparent;width:auto;font-size:13px;height:100%;max-width:93px}.ingredient-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.ingredient-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #e0e4e9;border-radius:15px;padding:12px 19px;min-height:48px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}.ingredient-button .icon{width:18px;height:18px}.ingredient-button.new{background:#4b5563;color:white;border-color:#4b5563}.ingredient-button.new:hover{background:#374151}.ingredient-button.prices{background:#34b03e;color:#102b14;border-color:#34b03e}.ingredient-button.prices:hover{background:#2e9b37}.ingredient-button.shopping{background:transparent;color:#252b33;box-shadow:0 2px 3px #252a3404}.ingredient-button.shopping:hover{background:white}.ingredient-tabs{display:flex;gap:4px;margin:27px 0 24px;width:max-content;background:#f2f3f5;border-radius:16px;padding:3px}.ingredient-tabs a{padding:9px 27px;border-radius:13px;font-size:13px;font-weight:600;color:#7c818c}.ingredient-tabs a.active{background:#fff;color:#242b34;box-shadow:0 1px 4px #252a3406}.category-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.category-heading h2{font-size:22px}.expand-categories{display:flex;gap:7px;align-items:center;border:0;background:none;color:#7e8490;font-size:11px;padding:4px}.expand-categories .icon{width:15px;height:15px}.category-scroll{position:relative}.category-strip{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:4px 3px 10px;scroll-behavior:smooth}.category-strip::-webkit-scrollbar{display:none}.category-pill{min-width:126px;height:72px;border-radius:50px;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;background:#edf0e8;border:2px solid transparent;padding:0 20px;isolation:isolate}.category-pill>span{position:absolute;right:8px;font-size:56px;opacity:.32;transform:rotate(-12deg);z-index:-1;line-height:1;filter:saturate(.9)}.category-pill strong{font-size:13px;font-weight:650;text-shadow:0 1px 4px #ffffffba;position:relative;z-index:1;color:#283b2a;white-space:nowrap}.category-pill.all{background:#e8efe6}.category-aves,.category-embutidos{background:#f4ebe0}.category-bebidas{background:#e8edef}.category-carnes,.category-doces{background:#f3e7e3}.category-farinhas,.category-fermentos{background:#f2eddc}.category-frutas{background:#f4f0d5}.category-hortalicas,.category-legumes{background:#e5efdf}.category-laticinios{background:#e7edf3}.category-graos{background:#efeadf}.category-temperos{background:#f0e9dc}.category-pill.active{background:#d9f0db;border-color:#34b03e;box-shadow:0 2px 9px #34b03e23}.category-next{position:absolute;right:-3px;top:17px;width:39px;height:39px;background:#fff;border:1px solid #e4e7eb;box-shadow:0 2px 5px #252a3412}.category-scroll.expanded .category-strip{flex-wrap:wrap;overflow:visible}.category-scroll.expanded .category-next{display:none}.filter-summary{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7b838e;margin-top:22px;gap:12px}.filter-summary a{display:flex;align-items:center;gap:5px;color:#247b2b}.filter-summary .icon{width:13px;height:13px}.ingredient-results.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 17px;margin:30px 0}.ingredient-item{position:relative;min-width:0}.ingredient-main{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:17px;padding:11px 7px 17px;min-height:195px;transition:background .15s}.ingredient-main:hover{background:#fff8}.ingredient-avatar{width:86px;height:86px;border-radius:50%;background:#fff;box-shadow:0 3px 5px #252a3410;border:1px solid #f2f3f5;display:grid;place-items:center;font-size:45px;flex-shrink:0}.ingredient-info{margin-top:14px;min-width:0}.ingredient-info h3{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.unit-price{font-size:12px;color:#404955;line-height:1.7}.unit-price small{font-size:10px;color:#7f8792}.package-price{font-size:10px;color:#939aa4;margin-top:2px}.ingredient-category{font-size:10px;color:#7f8792;margin-top:6px}.ingredient-edit{position:absolute;right:8px;top:9px;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;color:#838c96;background:#fff9;opacity:0}.ingredient-edit .icon{width:14px;height:14px}.ingredient-item:hover .ingredient-edit,.ingredient-item:focus-within .ingredient-edit{opacity:1}.ingredient-edit:hover{color:#247b2b;background:white}.ingredient-results.list{display:grid;gap:10px;margin-top:26px}.list .ingredient-item{background:#fff;border:1px solid #eaedf0;border-radius:16px}.list .ingredient-main{flex-direction:row;text-align:left;gap:20px;padding:15px 22px;min-height:90px}.list .ingredient-avatar{width:60px;height:60px;font-size:32px}.list .ingredient-info{display:grid;grid-template-columns:minmax(150px,2fr) minmax(115px,1fr) minmax(130px,1fr) minmax(120px,1fr);align-items:center;gap:20px;width:100%;margin:0;padding-right:30px}.list .ingredient-info h3{font-size:14px}.list .ingredient-info p{margin:0}.list .ingredient-edit{opacity:1;top:32px;right:16px}.ingredients-empty{text-align:center;padding:65px 25px 35px}.ingredients-empty>span{width:70px;height:70px;background:#eaf3eb;border-radius:24px;display:grid;place-items:center;margin:0 auto 20px;color:#629269}.ingredients-empty>span .icon{width:31px;height:31px}.ingredients-empty h2{font-size:23px;line-height:1.4;letter-spacing:-.5px}.ingredients-empty p{font-size:13px;color:#88919c;line-height:1.8;max-width:450px;margin:12px auto 0}.ingredients-empty .inline{font-size:13px}.secondary-link{color:#5e6875;font-size:13px}.ingredients-empty .secondary-link{margin-top:20px;background:white}.pagination{display:flex;align-items:center;justify-content:center;gap:24px;font-size:12px;padding:25px 0;color:#818a96}.pagination a{color:#247b2b;padding:9px 12px;background:white;border-radius:10px;border:1px solid #e4e8e8}.ingredient-dialog{width:min(620px,calc(100% - 32px));padding:30px}.ingredient-dialog .dialog-heading{margin-bottom:4px}.ingredient-dialog .dialog-heading p{font-size:12px;color:#88919b;margin-top:5px}.ingredient-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.field-name,.field-category,.field-notes{grid-column:1/-1}.field label{font-size:12px;margin-top:19px}.field input,.field select{height:46px;font-size:13px}.field textarea{display:block;width:100%;min-height:86px;resize:vertical;border:1px solid #dcdde3;border-radius:10px;padding:12px;font:inherit;font-size:13px;outline:none}.field textarea:focus{border-color:#34b03e;box-shadow:0 0 0 3px #34b03e14}.form-hint{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.7;color:#7b8791;background:#f4f8f4;padding:13px;border-radius:10px;margin-top:20px}.form-hint .icon{width:15px;height:15px;margin-top:2px;color:#55865a}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-top:25px}.dialog-actions .primary{font-size:13px;padding:11px 18px;min-height:44px}.back-link{display:inline-block;font-size:12px;color:#7c8794;margin-bottom:20px}.price-heading h1{font-size:32px}.price-update-list{display:grid;gap:12px}.price-update-row{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;gap:25px}.price-item-info{display:flex;align-items:center;gap:18px}.price-item-info .ingredient-avatar{width:60px;height:60px;font-size:31px}.price-item-info h3{font-size:15px}.price-item-info p{font-size:12px;color:#78828d;margin-top:3px}.price-item-info small{font-size:10px;color:#98a0aa}.price-update-row form{width:290px;flex-shrink:0}.price-update-row label{font-size:11px;margin:0 0 6px;color:#7a8591}.price-input-row{display:flex;align-items:center;gap:10px}.price-input-row input{height:43px;min-width:0}.price-input-row .primary{min-height:43px;font-size:12px;padding:9px 18px}.ingredient-detail-heading{display:flex;align-items:center;gap:22px;margin:8px 0 35px}.ingredient-detail-heading h1{font-size:32px}.ingredient-detail-heading p{font-size:13px;margin-top:4px}.ingredient-detail-heading .ingredient-button{margin-left:auto}.ingredient-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:28px}.ingredient-detail span{display:block;color:#8a939e;font-size:12px}.ingredient-detail strong{display:block;font-size:24px;margin-top:9px;letter-spacing:-.6px}.ingredient-detail>p{grid-column:1/-1;border-top:1px solid #eef0f2;padding-top:20px;color:#74808c;font-size:13px;white-space:pre-wrap}.history-section{margin-top:36px}.history-section h2{font-size:22px;margin-bottom:20px}.history-table-wrap{overflow:auto;background:white;border:1px solid #e8ebef;border-radius:15px}.history-table-wrap table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.history-table-wrap th{background:#fafbfb;font-size:11px;color:#85909c;font-weight:600;padding:16px 20px}.history-table-wrap td{border-top:1px solid #f0f2f4;font-size:12px;color:#586473;padding:17px 20px}.archive-button{border:0;background:none;color:#9b5a50;font-size:12px;padding:12px 0;margin-top:25px;text-decoration:underline;text-underline-offset:4px}@media(min-width:1600px){.ingredients-heading h1{font-size:40px}.ingredients-heading p{font-size:16px}.ingredients-heading{margin-bottom:40px}.ingredient-search{height:70px}.ingredient-search input,.ingredient-search input::placeholder{font-size:18px}.ingredient-button{font-size:15px;padding:14px 23px;min-height:55px}.ingredient-tabs a{font-size:15px;padding:10px 30px}.ingredient-tabs{margin-top:28px;margin-bottom:28px}.category-heading h2{font-size:25px}.category-pill{min-width:150px;height:82px}.category-pill strong{font-size:15px}.category-pill>span{font-size:67px}.category-next{top:24px}.ingredient-results.grid{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:35px;gap:32px 20px}.ingredient-avatar{width:100px;height:100px;font-size:54px}.ingredient-info h3{font-size:17px}.unit-price{font-size:14px}.unit-price small,.package-price,.ingredient-category{font-size:12px}.view-switch a{width:58px}.sort-form{max-width:150px;padding:0 17px}.sort-form select{font-size:15px}}@media(min-width:721px) and (max-width:1200px){.ingredient-results.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ingredients-heading{gap:12px}.ingredients-heading h1{font-size:30px}.ingredients-heading p{font-size:12px}.ingredient-search{height:56px;border-radius:15px}.view-switch a{width:39px}.sort-form{max-width:125px}.list .ingredient-info{grid-template-columns:1fr 1fr;gap:4px 12px}.ingredient-detail strong{font-size:20px}}@media(max-width:720px){.ingredients-heading{margin:0 0 25px;gap:11px}.heading-icon{width:27px;height:37px}.heading-icon .icon{width:25px;height:25px}.ingredients-heading h1{font-size:28px;letter-spacing:-.8px}.ingredients-heading h1>span{font-size:16px}.ingredients-heading p{font-size:11px;line-height:1.8;margin-top:7px}.help-ingredients{margin-left:auto;margin-top:3px;width:24px;flex-shrink:0}.help-ingredients .icon{width:16px;height:16px}.search-row{display:grid;grid-template-columns:1fr auto;gap:10px}.ingredient-search{height:53px;border-radius:15px;padding:0 13px;gap:10px;grid-column:1/-1}.ingredient-search>.icon{width:19px;height:19px}.ingredient-search input,.ingredient-search input::placeholder{font-size:14px}.ingredient-search button{padding:6px}.view-switch{height:43px;width:max-content;grid-column:2;grid-row:2;border-radius:13px;padding:3px;gap:3px}.view-switch a{width:41px;border-radius:10px}.view-switch .icon{width:17px;height:17px}.sort-form{height:43px;width:max-content;grid-column:1;grid-row:2;border-radius:13px;padding:0 12px;max-width:160px}.sort-form select{font-size:12px;max-width:105px}.sort-form>.icon{width:16px;height:16px}.ingredient-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.ingredient-button{font-size:11px;gap:7px;min-height:45px;border-radius:12px;padding:11px 12px}.ingredient-button .icon{width:16px;height:16px}.ingredient-actions .shopping{grid-column:1/-1;background:white;min-height:40px}.ingredient-tabs{margin:22px 0 23px;border-radius:13px}.ingredient-tabs a{padding:8px 23px;font-size:12px;border-radius:10px}.category-heading{margin-bottom:14px}.category-heading h2{font-size:19px}.expand-categories{font-size:10px;gap:5px}.expand-categories .icon{width:13px;height:13px}.category-strip{gap:9px;margin-right:-20px;padding-right:20px}.category-pill{min-width:110px;height:60px;padding:0 15px}.category-pill strong{font-size:11px}.category-pill>span{font-size:44px}.category-next{display:none}.category-scroll.expanded .category-strip{margin-right:0;padding-right:0;gap:8px}.category-scroll.expanded .category-pill{min-width:calc(50% - 4px);flex:1;height:55px}.ingredient-results.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px;margin-top:22px}.ingredient-main{padding:12px 5px;min-height:185px}.ingredient-avatar{width:84px;height:84px;font-size:44px}.ingredient-info{margin-top:12px}.ingredient-info h3{font-size:13px}.unit-price{font-size:12px}.unit-price small,.package-price,.ingredient-category{font-size:10px}.ingredient-edit{opacity:1;background:white;right:8px;top:10px;width:25px;height:25px}.ingredient-edit .icon{width:12px;height:12px}.list .ingredient-main{gap:13px;padding:16px 12px;min-height:90px}.list .ingredient-avatar{width:52px;height:52px;font-size:29px}.list .ingredient-info{display:block;padding-right:22px}.list .ingredient-info h3{font-size:13px}.list .ingredient-info p{margin-top:2px}.list .ingredient-category{display:none}.list .ingredient-edit{right:10px;top:35px}.ingredients-empty{padding:40px 10px 20px}.ingredients-empty h2{font-size:21px}.ingredients-empty p{font-size:12px}.ingredients-empty .primary{font-size:12px}.ingredient-dialog{padding:23px;max-height:88dvh;border-radius:22px}.ingredient-dialog .dialog-heading h2{font-size:23px}.ingredient-dialog .dialog-heading p{font-size:11px}.ingredient-form-fields{gap:0 12px}.field label{font-size:11px;margin:17px 0 7px}.field input,.field select{font-size:13px}.field-category{grid-column:1/-1}.dialog-actions{gap:17px}.dialog-actions .primary{font-size:12px;padding:11px 14px}.dialog-actions .secondary-link{font-size:12px}.form-hint{font-size:10px;padding:11px}.filter-summary{font-size:10px}.price-heading h1{font-size:28px}.price-heading p{font-size:12px;line-height:1.8}.price-update-row{display:block;padding:18px}.price-item-info .ingredient-avatar{width:49px;height:49px;font-size:27px}.price-item-info h3{font-size:13px}.price-item-info p{font-size:11px}.price-update-row form{width:100%;margin-top:17px}.price-input-row input{font-size:13px}.ingredient-detail-heading{gap:14px;flex-wrap:wrap;margin-bottom:22px}.ingredient-detail-heading .ingredient-avatar{width:65px;height:65px;font-size:34px}.ingredient-detail-heading h1{font-size:25px;overflow-wrap:anywhere}.ingredient-detail-heading>div{min-width:0;flex:1}.ingredient-detail-heading .ingredient-button{margin-left:0}.ingredient-detail{grid-template-columns:1fr;padding:22px;gap:20px}.ingredient-detail>div{display:flex;justify-content:space-between;gap:15px;align-items:center}.ingredient-detail strong{font-size:19px;margin-top:0;white-space:nowrap}.ingredient-detail span{font-size:11px}.history-section h2{font-size:20px}.history-table-wrap th,.history-table-wrap td{padding:14px;font-size:11px}}
.archive-filter{text-align:right;margin-top:-63px;margin-bottom:27px;line-height:36px;font-size:11px;color:#7f8995}.archive-filter a:hover{color:#247b2b}@media(max-width:720px){.archive-filter{font-size:10px;margin-top:-61px;margin-bottom:25px}}

/* Photographs are shared by grid, list, price editor and history. */
.ingredient-avatar{overflow:hidden;background:#fff;flex-shrink:0}
.ingredient-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.photo-placeholder{font-size:20px;font-weight:600;color:#738075;letter-spacing:.03em}
.category-pill{isolation:isolate;background:#354138!important}
.category-pill>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.category-pill:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0009,#0003);z-index:-1}
.category-pill strong{color:white;text-shadow:0 1px 3px #0008}
.category-pill.active{border-color:#34b03e;box-shadow:0 0 0 3px #34b03e26}
.category-pill.active:after{background:linear-gradient(0deg,#104c29b3,#143a2255)}

.category-prev{left:-3px;right:auto;z-index:2}.category-prev .icon{transform:rotate(180deg)}

.category-scroll{margin-inline:16px}
.category-next{right:-21px;z-index:2}
.category-prev{left:-21px;right:auto}
.category-next[hidden]{display:none}
@media(max-width:720px){.category-scroll{margin-inline:0}}
.category-next{right:-43px}.category-prev{left:-43px;right:auto}
.category-scroll{margin-inline:44px}@media(max-width:720px){.category-scroll{margin-inline:0}}

.category-strip{--fade-start:0px;--fade-end:0px;mask-image:linear-gradient(to right,transparent,#000 var(--fade-start),#000 calc(100% - var(--fade-end)),transparent)}
.category-strip.fade-left{--fade-start:32px}.category-strip.fade-right{--fade-end:32px}
.category-scroll.expanded .category-strip{mask-image:none}
.infinite-status{text-align:center;color:#7d818b;font-size:13px;min-height:24px;margin:20px 0 40px}
[data-ingredient-pagination][hidden]{display:none}

.category-pill{border:0;background:transparent!important}.category-pill>img{border-radius:inherit}.ingredient-edit{width:44px;height:44px}.ingredient-edit .icon{width:24px;height:24px}.list .ingredient-edit{top:24px}@media(max-width:720px){.ingredient-edit{right:2px;top:4px}.list .ingredient-edit{top:23px;right:6px}}
.ingredient-edit{opacity:1}

.category-pill.active{box-shadow:inset 0 0 0 2px #34b03e,0 0 0 2px #34b03e}.category-pill.active:after{background:linear-gradient(135deg,#a6edab55,#34b03e40)}

.ingredient-edit{width:28px;height:28px}.ingredient-edit .icon{width:14px;height:14px}@media(max-width:720px){.ingredient-edit{width:25px;height:25px;right:8px;top:10px}.ingredient-edit .icon{width:12px;height:12px}.list .ingredient-edit{right:10px;top:35px}}

/* Ingredient detail modal: fixed header and tabs, independently scrolling content. */
.product-editor{width:min(520px,calc(100vw - 28px));max-height:90dvh;padding:0;overflow:hidden;border:0;border-radius:22px}
.product-editor::backdrop{background:#10161270;backdrop-filter:blur(5px)}
.product-editor-header{display:flex;align-items:center;gap:18px;padding:24px;position:relative}
.product-editor-header img{width:88px;height:88px;border-radius:50%;object-fit:contain;background:white}
.product-editor-header h2{font-size:22px;margin:0 28px 10px 0}.product-category{font-size:12px;background:#f1f4f1;border:1px solid #e2e8e2;border-radius:20px;padding:4px 10px}.editor-close{position:absolute;right:12px;top:12px}
.product-tabs{display:flex;margin:0 24px 12px;background:#f3f5f3;padding:4px;border-radius:14px;gap:2px}.product-tabs button{flex:1;border:0;background:transparent;padding:10px 3px;border-radius:10px;color:#777;font-size:13px;cursor:pointer}.product-tabs button[aria-selected=true]{background:white;color:#247c2b;box-shadow:0 2px 5px #0000000a;font-weight:600}
.product-editor-body{max-height:calc(90dvh - 218px);overflow:auto;padding:0 24px 20px;overscroll-behavior:contain}.product-editor [hidden]{display:none!important}.product-editor h3{font-size:15px;margin:14px 0 10px}.editor-card{padding:16px;border:1px solid #edf0ed;border-radius:16px;margin:12px 0;background:#fdfefd}.product-editor label{display:block;font-size:13px;margin:10px 0 6px}.product-editor input:not([type=checkbox]):not([type=hidden]),.product-editor select,.product-editor textarea{width:100%;box-sizing:border-box;border:1px solid #e8ece8;background:#f8faf8;border-radius:12px;padding:12px;font:inherit}.product-editor small{color:#858b85;font-size:10px}.editor-pair{display:grid;grid-template-columns:1fr 110px;gap:10px}.editor-muted{font-size:12px;color:#7a827b;line-height:1.6}.editor-variation{display:flex;justify-content:space-between;color:#7a827b;font-size:12px}.editor-footer{display:flex;justify-content:flex-end;gap:12px;align-items:center;background:#f8faf8;padding:16px 0 2px;margin-top:20px;position:sticky;bottom:-20px}.editor-footer .primary{width:auto;font-size:13px;padding:12px 16px}.editor-extra{margin:18px 0;border-top:1px solid #eef0ee;padding-top:15px}.editor-extra summary{cursor:pointer;font-size:14px;font-weight:600;color:#27882f}.editor-feedback{margin:0 24px;font-size:12px;color:#27882f}.editor-feedback:empty{display:none}.measure-tabs{display:flex;gap:8px;margin-top:24px}.measure-tabs button{border:0;background:#f3f5f3;border-radius:12px;padding:10px;cursor:pointer}.measure-tabs button[aria-selected=true]{background:#e7f7e9;color:#247c2b}.measure-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;border-bottom:1px solid #eee;padding:14px 0}.nutrition-caption{font-size:11px;letter-spacing:1px;color:#828982;margin-top:24px}.nutrition-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.allergen-options{max-height:210px;overflow:auto}.allergen-options label{display:flex;gap:8px;align-items:center;font-size:12px}.product-editor .errorlist{color:#b22828;font-size:12px}.product-editor input[type=checkbox]{accent-color:#34b03e}
@media(max-width:600px){.product-editor{width:calc(100vw - 16px);max-height:92dvh;border-radius:20px}.product-editor-header{padding:18px}.product-editor-header img{width:68px;height:68px}.product-tabs{margin-inline:16px}.product-tabs button{font-size:12px}.product-editor-body{padding-inline:16px;max-height:calc(92dvh - 190px)}.nutrition-grid{gap:6px 10px}}

.weight-prompt{border:1px solid #edf0ed;border-radius:16px;padding:16px 12px;display:flex;align-items:flex-start;gap:10px;margin:12px 0}.weight-symbol{font-size:16px;line-height:1.6;color:#565d57}.weight-prompt h3{font-size:13px;margin:0 0 8px}.weight-prompt p{font-size:12px;color:#808780;line-height:1.45;margin:0 0 10px}.weight-trigger{background:#2d3830;color:white;border:0;border-radius:12px;padding:9px 12px;font-size:12px;font-weight:600;cursor:pointer}.measure-tabs{gap:0;border-bottom:1px solid #e2e5e2;margin-top:14px}.measure-tabs button{flex:1;background:transparent;border-radius:0;color:#808780;border-bottom:2px solid transparent;padding:12px 4px;font-size:13px}.measure-tabs button[aria-selected=true]{background:transparent;border-bottom-color:#34b03e;color:#202820}.measure-description{font-size:12px;color:#7b837c;line-height:1.5}.measure-empty{color:#8b918b;font-size:13px;padding:8px 0}.measure-add{background:transparent;border:1px solid #e2e7e2;border-radius:12px;width:100%;padding:12px;color:#27882f;text-align:left;cursor:pointer;font-size:13px}.measure-entry{margin-top:12px;padding:12px}.measure-entry-actions{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin-top:16px}.measure-entry-actions .primary{width:auto}.measure-entry-actions .secondary-link,.weight-actions .secondary-link{background:transparent;border:0;font:inherit;cursor:pointer}.measure-choices label{display:flex;gap:8px;align-items:center;font-size:12px}.measure-equivalence{font-size:12px;color:#7b837c;background:#f5f7f5;border-radius:8px;padding:10px}.measure-row small{display:block;font-size:10px;margin-top:5px}.measure-row p{font-size:12px;color:#7b837c;margin:5px 0 0}.weight-dialog{box-sizing:border-box;width:min(400px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:0;border-radius:18px;padding:24px;color:#1c241e;box-shadow:0 20px 70px #0003}.weight-dialog::backdrop{background:#10161250;backdrop-filter:blur(4px)}.weight-dialog h2{font-size:17px;line-height:1.4;margin:0 20px 4px 0}.weight-dialog form{margin-top:28px}.weight-dialog .weight-close{position:absolute;right:10px;top:10px}.weight-input{display:flex;gap:8px;align-items:center}.weight-input input{max-width:175px}.weight-dialog .weight-actions{display:flex;gap:14px;align-items:center;justify-content:flex-end;margin-top:20px}.weight-dialog .primary{width:auto;padding:10px 14px;font-size:12px}.weight-dialog label{font-size:12px}.product-editor .weight-dialog input{border-radius:12px}.weight-dialog .errorlist{color:#b22828;font-size:12px}

/* Keep choice controls compact despite the shared full-width form input rules. */
.product-editor input[type="checkbox"]{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:inline-grid;place-content:center;flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;max-height:18px;padding:0;margin:0;border:1.5px solid #bdc7be;border-radius:50%;background:#fff;vertical-align:middle;cursor:pointer;box-shadow:none}
.product-editor input[type="checkbox"]:checked{background:#34b03e;border-color:#34b03e}
.product-editor input[type="checkbox"]:checked::after{content:"";width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
.product-editor input[type="checkbox"]:focus-visible{outline:3px solid #34b03e40;outline-offset:3px}
.product-editor .measure-choices{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.product-editor .measure-choices label,.product-editor .allergen-options label{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin:0;text-align:left;line-height:1.5;cursor:pointer}

/* Give the measure form consistent breathing room between field groups. */
.product-editor .measure-entry{padding:20px;margin-top:18px}
.product-editor .measure-entry > label{margin:0 0 8px}
.product-editor .measure-entry > .editor-pair{margin-top:20px;gap:14px;align-items:start}
.product-editor .measure-entry .editor-pair label{margin:0 0 8px}
.product-editor .measure-entry [data-use-unit]{display:flex;align-items:center;min-height:50px;padding-inline:12px}
.product-editor .measure-entry .measure-equivalence{margin:14px 0 0;padding:12px;line-height:1.5}
.product-editor .measure-entry .measure-choices{gap:16px;margin:22px 0}
.product-editor .measure-entry [data-measure-price]{margin-top:22px}
.product-editor .measure-entry [data-measure-price] label{margin:0 0 8px}
.product-editor .measure-entry [data-measure-price] .editor-muted{margin-top:10px}
.product-editor .measure-entry .measure-entry-actions{margin-top:24px;padding-top:18px;border-top:1px solid #edf0ed;gap:16px}
.product-editor .measure-entry .measure-entry-actions .primary{margin:0}
.product-editor .measure-entry .measure-choices label{gap:12px}
@media(max-width:600px){.product-editor .measure-entry{padding:16px}.product-editor .measure-entry > .editor-pair{grid-template-columns:minmax(0,1fr) 90px;gap:12px}}

/* Text rhythm inside ingredient measures and weight dialogs. */
.product-editor [data-editor-panel="measures"] p{line-height:1.65}
.product-editor .weight-prompt h3{line-height:1.5;margin-bottom:10px}
.product-editor .weight-prompt p{margin:0 0 14px;line-height:1.65}
.product-editor .measure-description{margin:16px 0 18px;line-height:1.65}
.product-editor .measure-empty{margin:0 0 18px;padding:0;line-height:1.65}
.product-editor .measure-entry label{line-height:1.6}
.product-editor .measure-entry > label,.product-editor .measure-entry .editor-pair label,.product-editor .measure-entry [data-measure-price] label{margin-bottom:10px}
.product-editor .measure-entry .measure-choices label{line-height:1.7}
.product-editor .measure-entry .measure-equivalence{padding:14px;line-height:1.65}
.product-editor .measure-entry [data-measure-price] .editor-muted{margin-top:14px;line-height:1.7}
.product-editor .weight-dialog h2{line-height:1.5;margin-bottom:10px}
.product-editor .weight-dialog .editor-muted{line-height:1.7;margin-top:10px}
.product-editor .weight-dialog label{margin-bottom:10px;line-height:1.6}

.product-editor .measure-add{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:12px 18px;background:#e9f8eb;border:1.5px solid #34b03e;border-radius:12px;color:#247b2b;font-size:13px;font-weight:650;line-height:1.5;box-shadow:0 2px 5px #247b2b0d;transition:background .15s,border-color .15s}
.product-editor .measure-add:hover{background:#daf2dd;border-color:#27882f}
.product-editor .measure-add:active{background:#ccecd0}
.product-editor .measure-add:focus-visible{outline:3px solid #34b03e40;outline-offset:3px}

.product-editor .measure-add{background:#34b03e;color:#fff;border-color:#34b03e;font-size:15px;min-height:50px;font-weight:650}
.product-editor .measure-add:hover{background:#2e9b37;border-color:#2e9b37}
.product-editor .measure-add:active{background:#27882f;border-color:#27882f}

/* Independently searchable allergen groups. */
.product-editor .allergens-section{margin-top:28px}
.product-editor .allergen-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.product-editor .allergen-block{min-width:0;margin:0;padding:16px;border:1px solid #e1e8e2;border-radius:16px;background:#fff}
.product-editor .allergen-block legend{padding:0 8px;font-size:17px;font-weight:700;color:#247b2b}
.product-editor .allergen-description{min-height:44px;margin:0 0 14px;font-size:13px;line-height:1.6;color:#737d76}
.product-editor .allergen-search{display:flex;align-items:center;gap:8px;background:#f6f9f6;border:1px solid #dce5dd;border-radius:10px;padding:0 10px;margin:0}
.product-editor .allergen-search svg{width:18px;height:18px;color:#79857b}
.product-editor .allergen-search input{min-width:0;width:100%;height:42px;border:0;background:transparent;padding:8px 0;margin:0;font-size:13px;box-shadow:none}
.product-editor .allergen-search:focus-within{outline:2px solid #34b03e55;border-color:#34b03e}
.product-editor .allergen-count{font-size:12px;color:#7a847b;margin:12px 0}
.product-editor .allergen-items{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px;display:flex;flex-direction:column;gap:6px}
.product-editor .allergen-item{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0;padding:10px 8px;min-height:46px;border-radius:10px;font-size:13px;line-height:1.5;cursor:pointer}
.product-editor .allergen-item:hover{background:#f3f8f3}
.product-editor .allergen-item:has(input:checked){background:#eaf8ec;color:#247b2b}
.product-editor .allergen-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;font-size:21px}
.product-editor .allergen-item[hidden],.product-editor .allergen-no-results[hidden]{display:none}
.product-editor .allergen-no-results{padding:20px 4px;text-align:center;font-size:13px;color:#737d76}
@media(max-width:560px){.product-editor .allergen-columns{grid-template-columns:1fr;gap:22px}.product-editor .allergen-description{min-height:0}.product-editor .allergen-items{max-height:250px}}

/* Stacked allergen blocks, two columns per block, one modal scrollbar. */
.product-editor .allergen-columns{grid-template-columns:minmax(0,1fr);gap:24px}
.product-editor .allergen-description{min-height:0}
.product-editor .allergen-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;max-height:none;overflow:visible;overscroll-behavior:auto;padding-right:0}
.product-editor .allergen-item{min-width:0;gap:8px;align-items:center}
.product-editor .allergen-item>span:last-child{overflow-wrap:anywhere}
.product-editor .allergen-icon{width:24px;height:24px;flex-basis:24px;color:#171717}
.product-editor .allergen-icon svg{display:block;width:22px;height:22px}
@media(max-width:560px){.product-editor .allergen-items{max-height:none;gap:6px}.product-editor .allergen-item{padding:10px 3px;gap:6px;font-size:12px}.product-editor .allergen-block{padding:12px}.product-editor .allergen-icon{width:20px;flex-basis:20px}.product-editor .allergen-icon svg{width:20px;height:20px}}

.nutrition-picker{margin:18px 0 12px;border:1px solid #dae4dc;border-radius:12px;padding:14px;background:#f8fbf8}
.nutrition-picker summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;line-height:1.6}
.nutrition-picker label{display:block;margin:18px 0 8px;font-size:13px}
.nutrition-picker input{width:100%}
.nutrition-search-results{max-height:240px;overflow-y:auto;display:grid;gap:6px}
.nutrition-result{border:1px solid #e4eae4;background:white;border-radius:9px;text-align:left;padding:12px;color:#28322b;line-height:1.5;font-size:13px;cursor:pointer}
.nutrition-result:hover{border-color:#34b03e;background:#edf8ee}
.nutrition-manage{display:block;font-size:13px;color:#247b2b;margin:12px 0 20px;line-height:1.6}
.nutrition-locked{display:flex;align-items:center;gap:8px;background:#eff8f0;border-radius:10px;padding:12px;font-size:12px;color:#47734b;line-height:1.6}
.nutrition-locked svg{width:16px;height:16px;flex-shrink:0}
.product-editor .nutrition-readonly>div{background:#f7f9f7;border:1px solid #e8ede8;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:10px;font-size:12px;line-height:1.5}
.nutrition-readonly strong{font-size:16px;color:#202820}
.nutrition-create{background:white;border-radius:16px;padding:24px;margin:24px 0;border:1px solid #e1e8e2}
.nutrition-create summary{cursor:pointer;font-weight:650;color:#247b2b}
.nutrition-create form{margin-top:24px}.nutrition-create .nutrition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.nutrition-create label{display:block;margin-bottom:8px}.nutrition-create small{display:block;color:#7a827b;margin-top:8px}.nutrition-create input{width:100%}
.nutrition-catalog-search{margin:24px 0}.nutrition-catalog-search label{display:block;margin-bottom:10px}.nutrition-catalog-search input{width:100%}.nutrition-catalog-list{display:grid;gap:12px}.nutrition-catalog-list article{background:white;border-radius:14px;border:1px solid #e1e8e2;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.nutrition-catalog-list h3{font-size:15px;margin:0 0 8px}.nutrition-catalog-list p,.nutrition-catalog-list small{font-size:13px;color:#7a827b;line-height:1.6}
@media(max-width:560px){.nutrition-create .nutrition-grid{grid-template-columns:1fr}.nutrition-catalog-list article{align-items:flex-start;flex-direction:column}}

.nutrition-result{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nutrition-result-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nutrition-source-tail{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nutrition-source-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:999px;padding:4px 9px;background:#f0f2f4;color:#626b75;font-size:10px;font-weight:600;line-height:1.5;white-space:nowrap}
.nutrition-source-badge.ibge{background:#e7f0ff;color:#476caa}

/* Nutrition reference layout: compact selector and three-column values. */
.product-editor .nutrition-picker{position:relative;padding:0;border:0;background:transparent;margin:14px 0 18px}
.product-editor .nutrition-picker summary{padding:11px 15px;border:1px solid #eceeed;border-radius:15px;background:#f4f5f4;font-weight:400;min-height:42px;box-sizing:border-box}
.product-editor .nutrition-popover{margin-top:5px;border:1px solid #e7e9e7;border-radius:14px;background:#fff;box-shadow:0 4px 14px #18221b12;overflow:hidden}
.product-editor label.nutrition-search-field{display:flex;align-items:center;gap:9px;margin:0;padding:0 12px;border-bottom:1px solid #e7e9e7}
.nutrition-search-field svg{width:17px;height:17px;flex-shrink:0;color:#333}
.product-editor .nutrition-search-field input{background:transparent;border:0;border-radius:0;padding:12px 0;font-size:13px;outline-offset:-2px}
.nutrition-search-status{font-size:11px;color:#838783;margin:9px 12px;line-height:1.5}
.nutrition-search-results{display:block;max-height:250px;padding:0 6px;scrollbar-width:thin}
.nutrition-result-heading{font-size:11px;color:#818681;padding:8px 6px;margin:0}
.nutrition-result{width:100%;border:0;border-radius:9px;padding:10px 8px;gap:8px;background:white;font-size:13px;min-height:38px}
.nutrition-result-label{flex:1;white-space:normal}
.nutrition-result-check{width:14px;flex:0 0 14px;color:#25892f}
.nutrition-result.is-selected{background:#eef7ef}
.nutrition-popover .nutrition-manage{padding:12px;margin:0;border-top:1px solid #eceeec;color:#303730;font-size:13px;display:flex;gap:10px;align-items:center}
.product-editor .nutrition-readonly{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.product-editor .nutrition-readonly>div{padding:11px 12px;gap:5px;border-radius:15px;border:1px solid #f0f1f0;background:#fcfdfc;min-width:0}
.product-editor .nutrition-readonly>div>span{font-size:11px;line-height:1.45;color:#818681}
.product-editor .nutrition-readonly strong{font-size:15px;font-weight:600;line-height:1.4}
.product-editor .nutrition-readonly small{font-size:10px;font-weight:400;color:#777d77}
.product-editor .nutrition-caption{letter-spacing:0;font-size:11px;margin:22px 0 9px}
.product-editor .nutrition-locked{padding:9px 11px;background:#f3f8f3;font-size:11px}
.nutrition-allergens{border-top:1px solid #eceeec;padding-top:16px}
.nutrition-allergens>summary{display:flex;justify-content:space-between;cursor:pointer;font-size:14px;font-weight:600;list-style:none}
.nutrition-allergens>summary::-webkit-details-marker{display:none}
.nutrition-allergens[open]>summary>span{transform:rotate(180deg)}
@media(max-width:400px){.product-editor .nutrition-readonly>div{padding:10px 8px}.product-editor .nutrition-readonly>div>span{font-size:10px}}

.product-editor .nutrition-search-field .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}
.product-editor .nutrition-search-field input{min-width:0;font-weight:400}
.product-editor .nutrition-popover{position:absolute;top:100%;left:0;right:0;z-index:5}
.product-editor .nutrition-picker>form .secondary-link{margin-top:8px;padding:0;background:transparent;border:0;color:#7b827b;font-size:11px;cursor:pointer}

.nutrition-source-badge.taco{background:#dcf9e7;color:#28734d}

.product-editor .editor-global-footer{position:relative;flex-shrink:0;margin:0;padding:16px 24px;border-top:1px solid #e8ece8;bottom:auto;background:#fff}.product-editor-body{max-height:calc(90dvh - 280px)}

.product-editor[open]{display:flex;flex-direction:column}.product-editor .product-editor-header,.product-editor .product-tabs{flex-shrink:0}.product-editor .product-editor-body{flex:1;min-height:0;max-height:none}.product-editor .editor-global-footer{flex:0 0 auto}

.product-editor .editor-global-footer .secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:11px 20px;border:1px solid #dde5de;border-radius:12px;background:#f5f7f5;color:#536057;font:inherit;font-size:13px;font-weight:600;line-height:1.3;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}.product-editor .editor-global-footer .secondary-link:hover{background:#eaf0eb;border-color:#c7d4c9}.product-editor .editor-global-footer .secondary-link:focus-visible{outline:3px solid #34b03e55;outline-offset:2px}.product-editor .editor-global-footer .secondary-link:active{background:#dfe8e1}
