:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1c3545;background:#f5f8f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:8px;background:#067e76;color:#fff;padding:10px 16px;font-weight:600}button:disabled{opacity:.45;cursor:not-allowed}.layout{display:grid;grid-template-columns:242px 1fr;min-height:100vh}aside{background:#123743;color:#fff;display:flex;flex-direction:column;padding:26px 14px}.brand{display:flex;align-items:center;gap:10px;padding:8px 10px 28px}.brand b{font-size:16px}.brand small{display:block;color:#a0c4ca;font-size:10px;letter-spacing:1.2px;padding-top:6px}.mark{background:#158a83;border-radius:13px;padding:8px;font-size:25px}.nav{display:grid;gap:6px}.nav button{text-align:left;background:transparent;color:#d5e5e8;font-weight:500;padding:13px 15px}.nav button.active,.nav button:hover{background:#1e515c;color:#fff}.asidefoot{margin-top:auto;padding:20px 12px;font-size:12px;color:#b2ced0;line-height:2}main{min-width:0;padding:35px 42px;max-width:1600px;width:100%}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}h1{font-size:30px;margin:5px 0 6px}h2{font-size:19px;margin:0 0 12px}p{color:#667e88;font-size:14px;line-height:1.55}.eyebrow{font-weight:700;font-size:11px;color:#0a817a;letter-spacing:2px}.tag{background:#ddf5e7;padding:7px 12px;border-radius:25px;color:#177753;font-weight:700;font-size:11px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.metric,section{background:#fff;border:1px solid #e2ebed;border-radius:14px;padding:24px;box-shadow:0 3px 12px #164d5208}.metric small{color:#687f88}.metric strong{display:block;font-size:36px;margin-top:12px}.sectionHead,.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}section{margin-bottom:22px}.tableWrap{max-height:600px;overflow:auto;border:1px solid #e3edf0;border-radius:10px}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;position:sticky;top:0;background:#eaf3f3;z-index:1;color:#425c65}td,th{padding:11px 12px;border-bottom:1px solid #edf2f2;white-space:nowrap}td{max-width:300px;text-overflow:ellipsis;overflow:hidden}.empty{text-align:center;padding:35px}.drop{display:block;border:2px dashed #a3c7c9;background:#f6fbfb;border-radius:12px;text-align:center;padding:34px;color:#067e76;font-weight:700;margin:20px 0;cursor:pointer}.drop input{display:block;margin:12px auto 0;width:270px;max-width:100%}.toolbar input,.search,label>input{border:1px solid #cbdcdf;border-radius:8px;padding:11px 12px;min-width:250px}.search{width:100%;margin-bottom:14px}.hint{font-size:12px}.warning{border-color:#ecd9c8;background:#fffdfa}.warning label{display:block;margin:15px 0;color:#3b5961;font-weight:600}.warning label input{display:block;margin-top:8px}.dangerButton{background:#a84336}.error{background:#ffe6e2;border:1px solid #eb988e;padding:15px;border-radius:10px;margin-bottom:20px;color:#a1332a;cursor:pointer}.status.imported{color:#177d55}.status.conflict,.status.error{color:#bb3f37}.status.duplicate{color:#9c751b}.center{padding:30vh 10vw;text-align:center}footer{color:#91a2a6;font-size:11px;margin:30px 0}@media(max-width:900px){.layout{grid-template-columns:190px 1fr}main{padding:24px}.cards{grid-template-columns:1fr}.metric strong{font-size:24px}}.sortButton{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;padding:5px 3px;text-align:left}.sortButton:hover,.sortButton:focus-visible{color:#08796e;text-decoration:underline;outline-offset:2px}.sortButton span{font-size:.85em;opacity:.72;margin-left:3px}.periodFilters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0 14px}.periodFilters label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#344b56}.periodFilters input{padding:9px 12px;border:1px solid #d2e0e4;border-radius:7px;background:#fff;color:#1d3540}.periodFilters .secondaryButton{background:#edf4f5;color:#204854;border:1px solid #d2e0e4;padding:9px 12px}.recipeList{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.recipeList button{font-size:13px}.recipeSelected{background:#067e76}.recipeUnselected{background:#eef4f5;color:#264956}.recipeFields{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:16px 0}.recipeFields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#46616b}.recipeFields input,.recipeFields select{width:100%;min-width:0;background:#fff;border:1px solid #cbdcdf;border-radius:8px;padding:10px;font:inherit;color:#1c3545}.recipeTotals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.recipeTotals>div{border:1px solid #dae8e8;background:#f3f9f8;padding:16px;border-radius:10px}.recipeTotals small{display:block;color:#52727c;font-size:12px}.recipeTotals strong{display:block;margin-top:10px;font-size:23px}.recipeAlert{padding:14px;background:#fff6e8;border:1px solid #f0d5a7;border-radius:8px;color:#835b18}.secondaryButton{background:#edf4f5;color:#204854;border:1px solid #d2e0e4;padding:8px 12px}.recipeList+section{margin-top:14px}@media(max-width:700px){.recipeTotals{grid-template-columns:1fr}}.layout>aside{position:sticky;top:0;height:100vh;overflow-y:auto;align-self:start;scrollbar-width:thin;z-index:8}.packConfig{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:16px;margin:14px 0;background:#eef8f7;border:1px solid #b9dcda;border-radius:10px}.packConfig>div{flex:1 1 230px}.packConfig p{margin:6px 0 0}.packConfig label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;min-width:145px}.packConfig input,.packConfig select{min-width:0;width:100%;background:#fff;border:1px solid #cbdcdf;border-radius:8px;padding:10px;color:#1c3545}.packConfig .secondaryButton{align-self:end}.packSaved{color:#146a51;font-size:12px;font-weight:600}.conversionNote{display:block;color:#146a51;margin-top:3px}@media(max-width:700px){.layout{grid-template-columns:150px minmax(0,1fr)}.layout>aside{padding:15px 5px}.brand{flex-wrap:wrap}.nav button{padding:11px 8px;font-size:12px}main{padding:15px}}.articleExpand{border:0;background:transparent;color:inherit;text-align:left;padding:4px 2px;cursor:pointer;font:inherit;max-width:100%}.articleExpand:hover{text-decoration:underline;color:#087f73}.articleSelected{background:#e9f6f3}.articleDetails{background:#f4faf9;padding:16px!important}.articleDetails .tableWrap{max-height:300px;overflow:auto;margin-top:10px}.articleDetails table{font-size:.88em}.ingredientEditor{margin-top:16px;padding:18px;border:1px solid #bddbd5;border-radius:12px;background:#f4faf9}.ingredientActions{display:flex;flex-wrap:wrap;gap:8px}.ingredientEditor h3{margin:0 0 8px}.priceLatest{display:inline-block;min-width:55px;text-align:right;padding:5px 8px;border-radius:6px;font-variant-numeric:tabular-nums}.priceLatestLow{background:#fff4f3;color:#8b4c47}.priceLatestMidLow{background:#ffe3e0;color:#9e342c}.priceLatestMid{background:#ffc5c0;color:#a51f1b}.priceLatestHigh{background:#ff9992;color:#85110b;font-weight:600}.priceLatestMax{background:#e02722;color:#fff;font-weight:800;outline:1px solid #bd1512}.metric strong{overflow-wrap:anywhere}.loginPage{min-height:100vh;display:grid;place-items:center;background:#edf4f5}.loginCard{background:#fff;border:1px solid #d9e5e6;border-radius:16px;padding:32px;max-width:450px;width:95%}.loginCard label,.lockForm label{display:block;margin:16px 0}.loginCard input,.lockForm input{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #ccd9da;border-radius:8px}.lockForm button{margin-right:10px;margin-top:6px}.layout{grid-template-columns:210px minmax(0,1fr)}main{max-width:none;padding:18px 26px 8px;min-width:0}.appHeader{gap:18px;margin-bottom:14px;align-items:center;min-height:92px}.headerTitle{min-width:190px;flex:0 1 auto}.headerTitle h1{font-size:27px;margin:3px 0 2px}.headerTitle p{margin:4px 0;font-size:12px;line-height:1.3}.headerRight{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:1;min-width:0}.headerActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.headerActions .headerPeriod{margin:0;gap:7px;align-items:end}.headerActions .headerPeriod label{font-size:11px;gap:3px}.headerActions .headerPeriod input{min-width:125px;width:135px;padding:7px;font-size:12px}.headerActions .headerPeriod button{padding:8px 10px;font-size:12px}.headerActions>button{padding:9px 12px;font-size:12px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:13px}.metric{padding:15px 20px}.metric strong{font-size:30px;margin-top:7px;line-height:1.12}.metric:last-child strong{font-size:29px}section{padding:17px 20px;margin-bottom:12px}.sectionHead{margin-bottom:9px}.sectionHead h2{margin-bottom:5px}.sectionHead p{margin:3px 0;font-size:12px}p.hint{line-height:1.35;margin:8px 0;font-size:11px}.tableWrap{max-height:none;overflow-x:auto;overflow-y:visible}.tableWrap table{width:100%}th,td{padding:8px 10px}.page-overview section th,.page-overview section td{padding:7px 10px}.page-overview section .sectionHead{margin-bottom:7px}.page-overview section .tableWrap{overflow:visible}.page-overview footer{margin:12px 0 0}.page-analysis section{padding-top:14px}.page-analysis .sectionHead{margin-bottom:3px}.page-analysis .analysisInfo{margin:4px 0}.page-analysis .search{margin-bottom:8px}.page-analysis .tableWrap th,.page-analysis .tableWrap td{padding:8px 10px}.page-import .importSection{padding:15px 19px}.page-import .importSection>h2{margin:0 0 4px}.page-import .importDrop{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:14px;padding:11px 16px;margin:9px 0 5px;flex-wrap:wrap}.page-import .importDrop input{margin:0;max-width:100%;font-size:12px}.page-import .importInstructions{margin:6px 0}.page-import .toolbar{margin:7px 0;gap:10px}.page-import .toolbar button{padding:8px 12px}.page-import .tableWrap{max-height:none;overflow-y:visible}.page-prices .stats{margin:9px 0}.page-prices .toolbar{margin-bottom:9px}.page-prices .search{margin-bottom:8px}footer{margin:12px 0 5px}.articleDetails .tableWrap{max-height:none;overflow-y:visible}@media(min-width:1050px)and (min-height:770px){.page-overview{height:100dvh;overflow:hidden;display:flex;flex-direction:column}.page-overview>section{flex:1;min-height:0;display:flex;flex-direction:column}.page-overview>section>.tableWrap{flex:1;min-height:0}.page-overview>section table{height:100%}.page-overview>section tbody tr{height:8.5%}.page-overview footer{flex:none}}@media(max-width:1200px){.appHeader{align-items:flex-start;flex-wrap:wrap}.headerRight{justify-content:flex-start;flex-wrap:wrap}.headerActions{justify-content:flex-start}}@media(max-width:900px){.layout{grid-template-columns:185px minmax(0,1fr)}main{padding:15px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.metric strong,.metric:last-child strong{font-size:21px}}@media(max-width:650px){.cards{grid-template-columns:1fr}.page-overview{height:auto;overflow:visible}.headerTitle{min-width:0}.headerActions .headerPeriod{flex-wrap:wrap}}.brandLogo{width:45px;height:45px;flex-shrink:0;border-radius:12px}.brand b{font-size:14px;line-height:1.3}.nav button{display:flex;align-items:center;gap:11px}.navIcon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0}.navIcon svg{width:19px;height:19px;stroke-width:1.8}.recipientBar{display:flex;align-items:center;gap:14px;padding:11px 16px;margin-bottom:13px}.recipientBar label{font-size:13px;font-weight:600;white-space:nowrap}.recipientBar select{min-width:0;flex:1;width:100%;max-width:650px;border:1px solid #cbdcdf;border-radius:8px;padding:9px;color:#1c3545;background:#fff}.settingsLock{max-width:560px;margin:30px auto;padding:30px}.settingsInline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.settingsInline input{flex:1;min-width:230px;padding:11px;border:1px solid #cbdcdf;border-radius:8px}@media(max-width:760px){.recipientBar{flex-direction:column;align-items:stretch}.recipientBar select{max-width:none}.brandLogo{width:36px;height:36px}.nav button{gap:5px}}.page-overview>section.recipientBar{flex:0 0 auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:0;height:auto;padding:9px 14px;margin-bottom:12px}.page-overview>section.recipientBar label{flex:0 0 auto;margin:0;font-size:12px;line-height:1.2}.page-overview>section.recipientBar select{flex:0 1 520px;min-width:0;width:min(520px,100%);max-width:520px;height:36px;min-height:36px;padding:6px 10px;font:inherit;font-size:12px;line-height:1.2}@media(max-width:760px){.page-overview>section.recipientBar{flex-direction:column;align-items:stretch;gap:6px}.page-overview>section.recipientBar select{flex:0 0 auto;width:100%;max-width:none}}.recipientRestricted{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46%}.recipientBar .secondaryButton{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.recipientAdminPrompt{display:flex;align-items:end;gap:10px;flex-wrap:wrap;width:100%;margin-top:10px}.recipientAdminPrompt label{display:flex;align-items:center;gap:8px}.recipientAdminPrompt input{max-width:230px}.errorText{color:#b32929;font-size:.85rem}@media(max-width:900px){.recipientRestricted{max-width:100%}.recipientBar{flex-wrap:wrap}}@media(min-width:760px){body:has(.page-suppliers),body:has(.page-import){overflow:hidden}.page-suppliers,.page-import{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.page-suppliers .appHeader,.page-import .appHeader{flex:0 0 auto}.page-suppliers>section,.page-import>.importSection{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;margin-bottom:5px}.page-suppliers>section>.sectionHead,.page-import>.importSection>h2{flex:0 0 auto}.page-suppliers>section>.search,.page-import>.importSection>.hint,.page-import>.importSection>.toolbar,.page-import>.importSection>.importDrop{flex:0 0 auto}.page-suppliers>section>.tableWrap,.page-import>.importSection>.tableWrap{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:auto;scrollbar-width:thin;overscroll-behavior:contain}.page-suppliers>section>.tableWrap thead th,.page-import>.importSection>.tableWrap thead th{position:sticky;top:0;z-index:3}.page-suppliers>footer,.page-import>footer{flex:0 0 auto;margin:3px 0}}.priceDetailGrid{display:grid;grid-template-columns:minmax(145px,1fr) minmax(0,4fr);gap:12px;align-items:stretch}.priceFacts{border:1px solid #d9e8e7;background:#f2f9f8;border-radius:10px;padding:12px;display:flex;flex-direction:column;justify-content:space-around;gap:8px;min-width:0}.priceFacts>div{min-width:0}.priceFacts small{display:block;color:#66838a;font-size:10px;margin-bottom:3px}.priceFacts strong{font-size:12px;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.priceGraphPanel{border:1px solid #d9e8e7;border-radius:10px;padding:10px 14px;min-width:0}.priceGraphPanel h3{font-size:14px;margin:0 0 4px}.priceChartScroll{width:100%;overflow-x:auto}.priceChartSvg{display:block;width:100%;height:auto;min-width:340px;max-height:310px}.priceProductTitle{font-size:13px;margin:10px 0}.priceBack{margin:10px 0}@media(max-width:700px){.priceDetailGrid{grid-template-columns:1fr}.priceFacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:760px){body:has(.page-analysis),body:has(.page-settings){overflow:hidden}.page-analysis,.page-settings{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.page-analysis>.appHeader,.page-settings>.appHeader{flex:0 0 auto}.page-analysis>footer,.page-settings>footer{flex:0 0 auto;margin:5px 0 2px}.page-analysis>section{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;margin-bottom:5px}.page-analysis>section>.sectionHead,.page-analysis>section>.analysisInfo,.page-analysis>section>.search,.page-analysis>section>.hint{flex:0 0 auto}.page-analysis>section>.tableWrap{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}.page-analysis>section>.tableWrap thead th{position:sticky;top:0;z-index:3}.page-analysis .articleDetails .tableWrap{max-height:none;overflow:visible}.page-settings>.settingsContent{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain;padding-right:5px}.page-settings>.settingsContent>section{margin-bottom:12px}}.priceFacts strong{color:#174b50;font-weight:750}.priceFacts small{color:#506e75}@media(min-width:760px){.page-analysis .articleDetails .tableWrap thead th{position:static}}@media(min-width:651px)and (max-width:1180px){.layout{grid-template-columns:72px minmax(0,1fr)}.layout>aside{padding:14px 7px}.brand{justify-content:center;padding:9px 0 20px}.brand>div{display:none}.brandLogo{width:42px;height:42px}.nav{gap:7px}.nav button{font-size:0;justify-content:center;gap:0;padding:13px 8px;min-height:48px}.nav button .navIcon{display:inline-flex;align-items:center;justify-content:center}.nav button .navIcon svg{width:21px;height:21px}.asidefoot{font-size:0;padding:12px 0}main{padding:15px 18px;min-width:0}.appHeader{gap:8px;margin-bottom:9px}.headerTitle h1{font-size:clamp(19px,2.6vw,26px)}.headerTitle p{font-size:12px}.headerRight{flex-basis:100%;justify-content:flex-start}.headerActions,.periodFilters{max-width:100%;flex-wrap:wrap}.periodFilters input{max-width:150px;min-width:0}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:12px}.metric strong,.metric:last-child strong{font-size:21px}section{padding:13px}.tableWrap{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.page-analysis .tableWrap table,.page-suppliers .tableWrap table{width:max-content;min-width:100%}.page-analysis .tableWrap td,.page-analysis .tableWrap th{padding:9px 10px}.page-analysis .search,.page-suppliers .search{min-width:0;width:100%}.recipeFields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.layout{display:block}.layout>aside{position:sticky;top:0;z-index:15;height:auto;overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:row;align-items:center;padding:5px 7px;gap:6px}.brand{padding:0;flex:0 0 auto}.brand>div,.asidefoot{display:none}.brandLogo{height:32px;width:32px}.nav{display:flex;gap:4px;width:max-content;flex:0 0 auto}.nav button{font-size:0;padding:8px 11px;min-height:39px;white-space:nowrap}.nav button .navIcon{display:inline-flex}.nav button .navIcon svg{width:19px;height:19px}main{padding:12px;min-width:0}.appHeader,.headerRight,.headerActions{align-items:stretch;flex-wrap:wrap}.headerRight{justify-content:flex-start}.periodFilters{flex-wrap:wrap}.periodFilters input{min-width:0;max-width:155px}.toolbar input,.search,label>input{min-width:0;max-width:100%}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{padding:11px}.metric strong,.metric:last-child strong{font-size:19px}section{padding:12px}.tableWrap{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.tableWrap table{width:max-content;min-width:100%}.recipeFields,.recipeTotals{grid-template-columns:1fr}}.folderImportPanel{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px 18px;margin:12px 0;border:1px solid var(--border,#d8dfe7);border-radius:12px;background:var(--surface,#f7f9fb)}.folderImportPanel>div{flex:1;min-width:230px}.folderImportPanel p{margin:6px 0 0}.folderImportButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden;cursor:pointer;border-radius:9px;padding:12px 16px;background:#185f79;color:#fff;font-weight:650;white-space:nowrap}.folderImportButton input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.folderImportButton:focus-within{outline:3px solid #88bfd7;outline-offset:2px}@media(max-width:760px){.folderImportPanel{align-items:stretch}.folderImportButton{width:100%}}.headerRight{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.syncTopButton{white-space:nowrap;background:#087d7b;color:#fff;border:0;border-radius:8px;padding:10px 13px;font-weight:700;cursor:pointer}.syncTopButton:disabled{opacity:.55;cursor:not-allowed}.netOffline{background:#e8e8e8!important;color:#555!important}.netOnline{background:#d9f5e5!important;color:#14764a!important}.shareSettings{display:flex;flex-direction:column;gap:10px;max-width:100%}.shareSettings input{width:100%;box-sizing:border-box;min-width:0}.shareActions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.syncNotice{margin:10px 0;padding:12px 16px;border:1px solid #b1d4d6;background:#effafa;border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}@media(max-width:850px){.headerRight{width:100%;justify-content:flex-start}.syncTopButton{padding:9px 10px}}.overviewPeriod .periodFilters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:12px}.overviewPeriod .periodFilters label{display:flex;flex-direction:column;gap:4px}.detailOverlay{position:fixed;inset:0;background:#00000070;z-index:200;display:flex;justify-content:center;align-items:center;padding:22px}.detailDialog{width:min(1100px,96vw);max-height:90vh;overflow:auto;background:var(--surface,#fff);color:inherit;border-radius:14px;padding:22px;box-shadow:0 15px 60px #0004}.detailDialog .tableWrap{overflow:auto}.detailDialog table{width:100%}@media(max-width:800px){.detailOverlay{padding:5px}.detailDialog{width:100%;max-height:96vh;padding:12px}}.page-overview .compactPeriod{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 15px;padding:8px 12px;margin-bottom:10px;box-shadow:none}.page-overview .compactPeriod .overviewPeriodInfo{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:12px;color:#607680}.page-overview .compactPeriod .overviewPeriodInfo b{font-size:12px;color:#32515c}.page-overview .compactPeriod .periodFilters{margin:0;gap:5px}.page-overview .compactPeriod .periodFilters label{font-size:10px;color:#52727c;gap:2px}.page-overview .compactPeriod .periodFilters input{padding:5px 6px;min-width:0;width:130px;font-size:11px}.page-overview .compactPeriod .periodFilters button{font-size:11px;padding:6px 9px}.page-overview .cards{margin-bottom:10px;gap:10px}.page-overview .cards .metric{padding:12px 15px}.page-overview .cards .metric strong{font-size:24px;margin-top:5px}.page-overview section:not(.compactPeriod):not(.detailDialog){padding:12px 16px;margin-bottom:10px}.page-overview section:not(.compactPeriod) .sectionHead{margin-bottom:7px}.page-overview section:not(.compactPeriod) .tableWrap{max-height:min(58vh,680px);overflow:auto}.page-overview section:not(.compactPeriod) td,.page-overview section:not(.compactPeriod) th{padding:6px 10px;font-size:12px}.headerRecipient{max-width:260px;min-width:145px;padding:8px;border:1px solid #cbdcdf;border-radius:8px;background:#fff;color:#1c3545;font-size:12px}.recipientLabel{padding:7px 9px;border:1px solid #cbdcdf;border-radius:8px;background:#eff7f6;font-size:11px;color:#204854}@media(max-width:850px){.headerRecipient{max-width:100%}.page-overview .compactPeriod{align-items:flex-start}.page-overview .compactPeriod .periodFilters{width:100%}}@media(min-width:1050px)and (min-height:770px){.page-overview>section.compactPeriod{flex:0 0 auto!important;min-height:0!important;height:auto!important;max-height:none!important;align-self:stretch}.page-overview>section.compactPeriod .periodFilters{flex:0 0 auto}.page-overview>section:not(.compactPeriod):not(.detailDialog){flex:1 1 auto;min-height:0}}.page-overview>section.compactPeriod{flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:110px!important;align-items:center!important;justify-content:flex-start!important;column-gap:20px!important;row-gap:6px!important;padding:8px 12px!important;margin-bottom:8px!important}.page-overview>section.compactPeriod .periodFilters{width:auto!important;max-width:100%}.page-overview>section.compactPeriod .overviewPeriodInfo{flex:0 1 auto}.settingsRoleBar{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#edf7f5;padding:10px 14px;border-radius:9px;margin-bottom:12px}@media(max-width:800px){.page-overview>section.compactPeriod{max-height:none!important}.page-overview>section.compactPeriod .periodFilters{width:100%!important}}.page-overview>section.overviewSummary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(310px,1.25fr);align-items:stretch;gap:0;padding:0!important;margin:0 0 10px!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden}.page-overview .overviewSummary>div{min-width:0;padding:12px 16px}.page-overview .overviewSummary>div+div{border-left:1px solid #e2ebed}.page-overview .overviewSummary .summaryMetric{display:flex;flex-direction:column;justify-content:center;gap:6px}.page-overview .summaryMetric small{font-size:11px;color:#687f88}.page-overview .summaryMetric strong{font-size:clamp(20px,1.6vw,29px);line-height:1.15;overflow-wrap:anywhere}.page-overview .summaryPeriod{display:flex;flex-direction:column;justify-content:center;gap:6px}.page-overview .summaryPeriodTitle{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 7px;font-size:11px}.page-overview .summaryPeriodTitle span{color:#68808a;font-size:10px}.page-overview .summaryPeriod .periodFilters{display:flex;align-items:end;gap:4px;flex-wrap:wrap;margin:0}.page-overview .summaryPeriod .periodFilters label{display:flex;flex-direction:column;gap:2px;font-size:10px;color:#52727c;min-width:0;flex:1 1 96px}.page-overview .summaryPeriod .periodFilters input{width:100%;min-width:0;padding:5px 4px;font-size:11px}.page-overview .summaryPeriod .periodFilters button{padding:6px 7px;font-size:11px}@media(max-width:1150px){.page-overview>section.overviewSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.page-overview .overviewSummary>div:nth-child(3){border-left:0;border-top:1px solid #e2ebed}.page-overview .overviewSummary>div:nth-child(4){border-top:1px solid #e2ebed}}@media(max-width:600px){.page-overview>section.overviewSummary{grid-template-columns:1fr}.page-overview .overviewSummary>div{border-left:0!important;border-top:1px solid #e2ebed}.page-overview .overviewSummary>div:first-child{border-top:0}}.changeAccessButton{white-space:nowrap;font-size:12px;padding:8px 10px}.recipientLabel{white-space:nowrap}@media(max-width:800px){.changeAccessButton{padding:6px 8px;font-size:11px}}.scheduleActions,.scheduleWeekNav,.scheduleLine,.scheduleEdit{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.scheduleMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.scheduleMetrics>div{border:1px solid var(--border,#dce6e7);border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:7px}.scheduleMetrics small,.scheduleDay small{color:var(--muted,#64748b)}.scheduleMetrics strong{font-size:1.35rem}.scheduleWeekNav{justify-content:space-between;margin:16px 0}.scheduleDays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.scheduleDay{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:116px;padding:8px 3px;border:1px solid #d6e2e3;border-radius:10px;background:transparent;cursor:pointer;color:inherit}.scheduleDay.selected{border:2px solid #0d7a77;background:#0e8c8412}.scheduleDay strong{font-size:clamp(.66rem,1vw,.96rem);font-variant-numeric:tabular-nums}.scheduleDayDetail{margin-top:16px;border:1px solid #d6e2e3;border-radius:10px;padding:14px}.scheduleLine{justify-content:space-between;border-bottom:1px solid #d6e2e3;padding:8px 0}.scheduleEdit input{flex:1;min-width:120px}.scheduleUpload{position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.scheduleUpload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.scheduleModalFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.scheduleModalFields label{display:flex;flex-direction:column;gap:5px}@media(max-width:900px){.scheduleMetrics{grid-template-columns:1fr 1fr}.scheduleDays{gap:3px}.scheduleDay{min-height:95px}.scheduleDay strong{font-size:.65rem}}@media(max-width:600px){.scheduleMetrics,.scheduleModalFields{grid-template-columns:1fr}.scheduleDays{overflow:auto;grid-template-columns:repeat(7,minmax(83px,1fr))}}.scheduleFilters,.scheduleBulk{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:12px 0}.scheduleFilters label{display:flex;flex-direction:column;gap:4px;font-size:.85rem}.scheduleFilters input{padding:8px;max-width:170px}.scheduleBulk{align-items:center;padding:10px 12px;background:var(--surface,#f4f8f8);border:1px solid #d6e2e3;border-radius:9px}.scheduleBulk label{display:inline-flex;gap:7px;align-items:center}.scheduleBulk input[type=checkbox],.schedulePage table input[type=checkbox]{width:16px;height:16px;cursor:pointer}.scheduleBulk strong{font-size:.85rem;margin-right:auto}.scheduleBeta{display:inline-block;vertical-align:middle;font-size:.62rem;letter-spacing:.04em;background:#f3e8c5;color:#76520c;border-radius:5px;padding:3px 6px;margin-left:6px}.layout,.layout>main,.schedulePage,.schedulePage>section{min-width:0;max-width:100%}.schedulePage{overflow-x:hidden}.schedulePage .sectionHead>*{min-width:0}.scheduleTableWrap{max-width:100%;width:100%;overflow-x:hidden!important;overflow-y:auto!important}.scheduleTableWrap table{width:100%;min-width:0;table-layout:fixed;font-size:clamp(10px,.72vw,12px)}.scheduleTableWrap th,.scheduleTableWrap td{padding:7px 5px;min-width:0;overflow-wrap:anywhere;white-space:normal;text-overflow:clip;line-height:1.25}.scheduleTableWrap th:first-child,.scheduleTableWrap td:first-child{width:3%}.scheduleTableWrap th:nth-child(2),.scheduleTableWrap td:nth-child(2){width:19%}.scheduleTableWrap th:nth-child(3),.scheduleTableWrap td:nth-child(3){width:15%}.scheduleTableWrap th:nth-child(4),.scheduleTableWrap td:nth-child(4){width:9%}.scheduleTableWrap th:nth-child(5),.scheduleTableWrap td:nth-child(5){width:9%}.scheduleTableWrap th:nth-child(6),.scheduleTableWrap td:nth-child(6){width:10%}.scheduleTableWrap th:nth-child(7),.scheduleTableWrap td:nth-child(7){width:10%}.scheduleTableWrap th:nth-child(8),.scheduleTableWrap td:nth-child(8){width:8%}.scheduleTableWrap th:nth-child(9),.scheduleTableWrap td:nth-child(9){width:8%}.scheduleTableWrap th:nth-child(10),.scheduleTableWrap td:nth-child(10){width:9%}.scheduleTableWrap td:last-child button{font-size:11px;padding:6px 5px;max-width:100%}.scheduleTableWrap td:nth-child(4),.scheduleTableWrap td:nth-child(5),.scheduleTableWrap td:nth-child(6){font-variant-numeric:tabular-nums}@media(max-width:1000px){.scheduleTableWrap th:nth-child(5),.scheduleTableWrap td:nth-child(5){display:none}.scheduleTableWrap th:nth-child(2),.scheduleTableWrap td:nth-child(2){width:23%}.scheduleTableWrap th:nth-child(3),.scheduleTableWrap td:nth-child(3){width:19%}}@media(max-width:720px){.scheduleTableWrap th:nth-child(4),.scheduleTableWrap td:nth-child(4),.scheduleTableWrap th:nth-child(8),.scheduleTableWrap td:nth-child(8){display:none}.scheduleTableWrap td:last-child button{font-size:10px;padding:4px 3px}}.scheduleSortButton{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:left;padding:0;max-width:100%;white-space:normal;line-height:1.2}.scheduleSortButton:hover{text-decoration:underline}.accessPanel{display:block;width:100%;height:min(72vh,850px);min-height:480px;border:1px solid #c9dedd;border-radius:12px;background:#fff}.tableWrap thead th{position:sticky;top:0;z-index:2}.tableWrap th .sortButton{white-space:normal;text-align:left;line-height:1.2;overflow-wrap:anywhere}@media(min-width:700px){.tableWrap table,.page-analysis .tableWrap table,.page-suppliers .tableWrap table{width:100%;min-width:0;table-layout:fixed}.tableWrap td,.tableWrap th{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;padding:8px 6px}.tableWrap td button,.tableWrap td select,.tableWrap td input:not([type=checkbox]){max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}.page-suppliers .tableWrap th:first-child{width:48%}.page-suppliers .tableWrap th:nth-child(2){width:25%}.page-suppliers .tableWrap th:nth-child(3){width:10%}.page-prices .tableWrap th:nth-child(1),.page-prices .tableWrap th:nth-child(2){width:25%}.page-prices .tableWrap{max-height:55vh;overflow:auto}}.analysisFilterSummary{display:grid;grid-template-columns:minmax(0,3fr) repeat(3,minmax(0,2fr));gap:8px;align-items:stretch;margin:0 0 8px;flex:0 0 auto;min-width:0}.analysisSearch{position:relative;display:flex;align-items:center;min-width:0}.analysisSearch .search{width:100%;min-width:0;margin:0;padding-right:32px}.analysisSearch button{position:absolute;right:5px;background:transparent;color:#42636b;padding:4px 8px;font-size:20px}.filteredSupplier{display:flex;flex-direction:column;justify-content:center;gap:3px;border:1px solid #c9dedf;border-radius:8px;background:#f7fbfb;padding:7px 10px;min-width:0;overflow-wrap:anywhere}.filteredSupplier.first{background:#e8f5f3;border-color:#68b5ab;color:#076e68}.filteredSupplierName{font-size:11px;font-weight:650;line-height:1.2}.filteredSupplier strong{font-size:clamp(12px,1.25vw,19px);font-variant-numeric:tabular-nums;line-height:1.15}.filteredSupplier small{font-size:10px;color:#58747b}.page-analysis .sectionHead h2{margin-bottom:5px}@media(max-width:760px){.analysisFilterSummary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.analysisSearch{grid-column:1/-1}.filteredSupplier{padding:5px 6px}.filteredSupplier strong{font-size:13px}.filteredSupplierName{font-size:10px}}.recipeSticky{position:sticky;top:0;z-index:8;background:#f3f9f8;color:#204854;border:1px solid #cbdcdf;border-radius:9px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;overflow-wrap:anywhere}.recipeSticky strong{font-size:16px}.recipeSticky span{font-size:13px;font-weight:600}.recipeFields{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}.recipeTotals{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.ingredientActions input[type=number]{max-width:100%;width:85px;min-width:0}.ingredientActions{flex-wrap:wrap}
