:root{--topbar:#1d2d33;--topbar-soft:#283b42;--nav:#283b42;--accent:#283b42;--accent-dark:#1d2d33;--paper:#fffdf8;--page:#f7f5ef;--line:#283b422e;--line-soft:#283b421a;--text:#0a0a0a;--muted:#56676a;--orange:#c0a880;--green-badge:#dfe7dd;--pink:#f3dfd9;--brand-primary:#283b42;--brand-primary-dark:#1d2d33;--brand-accent:#c0a880;--bg-main:#f7f5ef;--bg-soft:#eae9e3;--bg-subtle:#f2f1ec;--text-muted:#56676a;--text-soft:#7a8584;--success:#547461;--warning:#b8894f;--danger:#9f3e3e;--info:#4f747c;--radius-card:8px;--radius-button:8px;--shadow-soft:0 18px 45px #0a0a0a14;--shadow-card:0 12px 28px #283b4212;--sidebar:390px;font-family:Inter,Manrope,Segoe UI,Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{color:var(--text);background:var(--page);letter-spacing:0;margin:0;font-size:13px;overflow:hidden}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer;color:inherit;background:0 0;border:0}svg{stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}.filled{fill:currentColor;stroke:none}.app-shell{grid-template-rows:58px 84px 1fr;height:100vh;display:grid}.topbar{background:var(--topbar);color:#fff;z-index:12;align-items:stretch;gap:12px;min-width:1180px;padding:0 12px;display:flex;position:relative}.brand{flex:none;align-items:center;gap:10px;width:210px;display:flex}.brand-mark{object-fit:cover;background:#17343b;border-radius:4px;width:39px;height:39px;display:block;box-shadow:inset 0 0 0 1px #ffffff14}.brand-mark:before{content:"";clip-path:polygon(48% 0,62% 35%,100% 36%,70% 58%,82% 96%,49% 73%,17% 96%,28% 58%,0 36%,36% 35%);background:#f4c94f;width:17px;height:17px}.brand-text{color:#f5f1e8;white-space:nowrap;font-size:21px;font-weight:700}.main-tabs{align-items:stretch;gap:1px;padding:8px 0;display:flex}.main-tab{background:var(--topbar-soft);color:#fff;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:104px;display:flex}.main-tab.active{background:var(--accent)}.main-tab svg{width:19px;height:19px}.top-spacer{flex:1}.account-area{align-items:stretch;gap:18px;padding:8px 4px 7px 0;display:flex}.account-block{color:#d8d8d8;align-content:center;gap:4px;min-width:142px;display:grid}.account-trigger{text-align:left;padding:0}.account-trigger.active .account-value,.account-trigger:hover .account-value{color:#fff}.account-label{color:#bfbfbf;font-size:11px}.account-value{color:#fff;white-space:nowrap;align-items:center;gap:5px;font-weight:600;display:flex}.badge-red,.round-badge{background:var(--accent);color:#fff;border-radius:10px;justify-content:center;align-items:center;min-width:20px;padding:1px 7px;font-size:11px;line-height:16px;display:inline-flex}.round-badge{border-radius:50%;width:24px;height:24px;padding:0}.chev-down{border-left:4px solid #0000;border-right:4px solid #0000;border-top:6px solid var(--accent);width:0;height:0;margin-left:2px}.chev-up{border-bottom:6px solid #888;border-left:4px solid #0000;border-right:4px solid #0000;width:0;height:0;margin-left:6px}.account-menu{color:#333;z-index:18;background:#fff;border:1px solid #cfcfcf;width:356px;max-height:calc(100vh - 70px);position:absolute;top:56px;right:10px;overflow-y:auto;box-shadow:0 8px 24px #00000047}.account-menu-head{border-bottom:1px solid #e1e1e1;gap:8px;padding:11px 17px 13px;line-height:16px;display:grid}.account-menu-head strong{font-size:15px}.account-menu-head span{color:#444}.account-menu-group{border-bottom:1px solid #e3e3e3;padding:7px 0}.account-menu-group.plain{padding:8px 0}.account-menu button{text-align:left;color:#333;align-items:center;gap:7px;width:100%;min-height:24px;padding:4px 17px;display:flex}.account-menu button:hover{background:#f5f5f5}.settings-section-title{justify-content:flex-start;min-height:24px;color:#777!important;background:#eee!important}.settings-section-items{padding:5px 0}.settings-section-items button{padding-left:32px}.module-nav{background:var(--nav);border-top:1px solid #969696;border-bottom:1px solid #666;min-width:1180px;display:flex}.module-tab{color:#fff;background:var(--nav);text-align:center;border-right:1px solid #ffffff24;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:134px;padding:9px 6px;line-height:14px;display:flex}.module-tab.active{background:var(--accent);box-shadow:inset 0 0 0 1px #0000002e}.module-tab svg{stroke-width:1.7px;width:31px;height:31px}.workspace{grid-template-columns:var(--sidebar) 1fr;min-height:0;transition:grid-template-columns .18s;display:grid;position:relative}.workspace.collapsed{grid-template-columns:0 1fr}.sidebar{background:var(--paper);border-right:1px solid #d5d5d5;flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}.workspace.collapsed .sidebar{border-right:0}.panel-controls{border-bottom:1px solid var(--line-soft);gap:7px;padding:12px 9px 8px 12px;display:grid;position:relative}.control-row{grid-template-columns:1fr 28px 25px;align-items:center;gap:6px;display:grid}.field{color:#777;background:#fff;border:1px solid #d6d6d6;align-items:center;gap:7px;min-width:0;height:32px;padding:0 8px;display:flex}.field.search{border-color:#e9a95b}.field input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1}.field input::placeholder{color:#9b9b9b}.field svg,.icon-button svg{width:18px;height:18px}.icon-button{color:#777;place-items:center;width:28px;height:30px;display:grid}.sidebar-list{flex:1;min-height:0;overflow-y:auto}.list-row{border-bottom:1px solid var(--line-soft);color:#343434;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:5px;min-height:39px;padding:5px 9px 5px 12px;display:grid}.list-row.tall{align-items:start;min-height:72px;padding-top:10px}.list-row.active{background:#efefef}.list-row.archived{opacity:.62;background:#f7f7f7}.sidebar-empty{color:#777;background:#fafafa;border:1px dashed #d0d0d0;margin:18px 12px;padding:14px;line-height:18px}.row-main{min-width:0}.row-title{white-space:nowrap;text-overflow:ellipsis;line-height:16px;overflow:hidden}.row-sub{color:#888;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;line-height:15px;overflow:hidden}.row-side{color:#6f6f6f;text-align:right;white-space:nowrap;text-overflow:ellipsis;text-transform:none;justify-items:end;gap:3px;max-width:122px;font-size:10px;display:grid;overflow:hidden}.code-badge{color:#555;background:#dcdcdc;border-radius:3px;align-items:center;margin-left:4px;padding:1px 4px;font-size:10px;line-height:14px;display:inline-flex}.code-badge.green,.family-badge{background:var(--green-badge);color:#3f5540}.help-dot{color:#dd9c2f;vertical-align:-2px;margin-left:3px;display:inline-flex}.help-dot svg{width:14px;height:14px}.month-header{color:#454545;background:#eee;border-top:1px solid #dfdfdf;border-bottom:1px solid #dedede;align-items:center;gap:7px;height:31px;padding:0 12px;font-weight:700;display:flex}.month-header svg{width:17px;height:17px}.context-menu{z-index:6;background:#fff;border:1px solid #cfcfcf;width:305px;max-height:calc(100vh - 170px);padding:5px 0;position:absolute;top:47px;right:35px;overflow-y:auto;box-shadow:0 7px 22px #0003}.menu-item{text-align:left;color:#333;align-items:center;gap:8px;width:100%;height:28px;padding:0 12px;display:flex}.menu-item:hover{background:#f3f3f3}.menu-radio{border:1px solid #aaa;border-radius:50%;flex:none;width:12px;height:12px}.menu-sep{background:#e4e4e4;height:1px;margin:5px 0}.content{background:var(--page);min-width:0;min-height:0;position:relative;overflow-y:auto}.content-inner{padding:23px 42px 46px}.content-inner.wide{padding:22px 28px 70px}.app-header{border-bottom:1px solid #d7d7d7;justify-content:space-between;align-items:flex-start;gap:26px;min-height:73px;display:flex}.app-logo{color:#4a4a4a;flex:none;grid-template-columns:48px auto;align-items:center;column-gap:10px;display:inline-grid}.app-brand-mark{object-fit:cover;background:#17343b;border-radius:3px;width:44px;height:44px}.palm{grid-row:1/span 2;place-items:center;width:38px;height:38px;display:grid}.app-main{color:#2f4247;font-family:Arial Narrow,Roboto Condensed,Arial,Helvetica,sans-serif;font-size:24px;font-weight:700;line-height:26px}.date-title,.control-title{margin:5px auto 0 0;font-size:22px;font-weight:700}.period{color:#666;margin-top:4px;font-size:16px}.filters{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:8px;max-width:760px;margin-left:auto;display:flex}.filters button,.report-select{color:#444;background:#fff;border:1px solid #cfcfcf;align-items:center;gap:8px;height:34px;padding:0 12px;display:inline-flex}.filters .orange{color:#fff;background:#eca34d;border-color:#d58d37;font-weight:700}.chips{flex-basis:100%;justify-content:flex-end;gap:6px;display:flex}.chips span,.chips button{background:#eee;border:1px solid #ccc;align-items:center;height:28px;padding:0 10px;display:inline-flex}.chips span{color:#333;background:#f7f7f7}.planning-page{background:#f2f2f2;min-height:0;padding:0 14px 46px;overflow-y:auto}.planning-header{border-bottom:1px solid #d4d4d4;justify-content:space-between;gap:24px;min-height:100px;padding:12px 0 16px;display:flex}.planning-header h1{color:#111;margin:0 0 26px;font-size:21px;line-height:24px}.planning-header h2{color:#111;margin:0;font-size:16px;line-height:20px}.planning-tools{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:6px;max-width:840px;margin-top:7px;display:flex}.planning-field,.planning-date-field{color:#777;background:#fff;border:1px solid #d5d5d5;border-radius:4px;align-items:center;gap:7px;height:34px;padding:0 8px;display:flex}.planning-field input{color:#333;background:0 0;border:0;outline:0;min-width:0;height:30px}.planning-field.search{border-color:#d5d5d5;width:162px}.planning-field:not(.search){width:146px}.planning-field svg{width:16px;height:16px}.planning-date-field{color:#444;justify-content:space-between;width:178px}.planning-date-field svg{flex:none;width:17px;height:17px}.planning-date-field span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.planning-date-field button{color:#aaa;width:16px;font-weight:700}.planning-menu-wrap{width:28px;height:34px;position:relative}.planning-more{color:#707070;place-items:center;width:28px;height:34px;display:grid}.planning-more svg{width:20px;height:20px}.planning-options-menu{z-index:8;background:#fff;border:1px solid #cfcfcf;border-radius:3px;width:202px;padding:7px 0;position:absolute;top:32px;right:-2px;box-shadow:0 8px 22px #0003}.planning-options-menu button{color:#333;text-align:left;background:#fff;align-items:center;gap:8px;width:100%;min-height:24px;padding:4px 18px;display:flex}.planning-options-menu button:hover{background:#f4f4f4}.planning-options-menu .menu-sep{margin:7px 0}.planning-nav-btn{color:#fff;text-transform:uppercase;background:#eca34d;border-radius:4px;min-width:70px;height:30px;margin-top:45px;padding:0 12px;font-size:10px;font-weight:700}.planning-board{grid-template-columns:repeat(5,minmax(185px,1fr));gap:10px;padding-top:11px;display:grid}.planning-day{align-content:start;gap:20px;min-width:0;display:grid}.planning-day-title{color:#111;justify-content:space-between;align-items:center;height:20px;padding:0 10px;font-size:13px;font-weight:700;display:flex}.planning-day-title button{color:#777;place-items:center;width:20px;height:20px;display:grid}.planning-day-title svg{width:16px;height:16px}.planning-card{background:#fff;border:1px solid #d0d0d0;border-radius:3px;min-height:60px;overflow:hidden;box-shadow:0 1px 2px #00000017}.planning-card.expanded{min-height:106px}.planning-card header{color:#111;grid-template-columns:28px minmax(0,1fr) 22px 22px;align-items:center;gap:4px;height:58px;padding:0 13px 0 16px;display:grid}.planning-count{color:#fff;background:#df5353;border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;font-weight:700;display:grid}.planning-card strong{font-size:14px;line-height:18px}.planning-card button{color:#777;place-items:center;height:24px;display:grid}.planning-card button svg{width:17px;height:17px}.planning-chevron{color:#f03f4c;place-items:center;display:grid}.planning-chevron svg{width:18px;height:18px}.planning-card-body{color:#777;border-top:1px solid #e2e2e2;height:48px;padding:11px 16px}.youtube-panel,.info-panel{width:min(1050px, calc(100vw - var(--sidebar) - 118px));background:#fff;border:1px solid #d8d8d8;margin:27px auto 20px}.workspace.collapsed .youtube-panel,.workspace.collapsed .info-panel{width:min(1050px,100vw - 118px)}.youtube-head,.info-head{background:var(--accent);color:#fff;justify-content:center;align-items:center;gap:8px;height:42px;font-size:18px;font-weight:700;display:flex}.youtube-head svg,.info-head svg{width:24px;height:24px}.intro{color:#555;padding:18px 22px 16px;line-height:18px}.video-grid{grid-template-columns:repeat(3,1fr);gap:17px;padding:0 22px 24px;display:grid}.video-card{background:#fff;border:1px solid #d3d3d3;min-width:0}.thumb{text-align:center;color:#fff;background:linear-gradient(135deg,#2f2f2f,#e25a4f 50%,#f2bd52);place-items:center;height:112px;padding:12px;font-size:24px;font-weight:800;line-height:27px;display:grid;overflow:hidden}.thumb.alt{background:linear-gradient(135deg,#555,#777 45%,#e45a4d)}.thumb.light{background:linear-gradient(135deg,#e85a4f,#f3c15f 58%,#6d6d6d)}.video-body{grid-template-rows:auto auto 1fr;gap:7px;height:154px;padding:12px 13px 14px;display:grid}.video-category{color:#777;font-size:11px;line-height:14px}.video-title{color:#333;font-weight:700;line-height:16px}.video-desc{color:#666;padding-right:4px;line-height:16px;overflow-y:auto}.bulli-body{grid-template-columns:120px 1fr;align-items:center;gap:22px;padding:25px 34px;display:grid}.bulli-mark{color:#aaa;border-right:1px solid #e1e1e1;place-items:center;min-height:115px;display:grid}.bulli-mark svg{width:62px;height:62px}.bulli-copy{color:#555;line-height:19px}.bulli-copy p{margin:0 0 11px}.module-guide{color:#555;padding:24px 34px;line-height:19px}.module-guide strong{color:#333;margin-bottom:8px;font-size:15px;display:block}.module-guide p{margin:0 0 10px}.detail-panel h3{color:#333;margin:22px 0 10px;font-size:15px}.detail-body{padding:22px 28px 28px}.detail-actions{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.detail-actions button,.form-actions button{color:#444;background:#fff;border:1px solid #ccc;align-items:center;gap:7px;min-height:32px;padding:0 12px;display:inline-flex}.detail-actions button:first-child,.form-actions button[type=submit]{background:var(--accent);border-color:var(--accent-dark);color:#fff}.detail-actions svg{width:16px;height:16px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.detail-item{background:#fafafa;border:1px solid #e3e3e3;min-width:0;padding:10px 12px}.detail-item span{color:#777;margin-bottom:4px;font-size:11px;display:block}.detail-item strong{color:#333;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.detail-note,.empty-state{color:#666;margin:16px 0 0;line-height:18px}.detail-table{border-collapse:collapse;width:100%}.product-sheet{color:#333;padding:0 0 32px}.product-sheet-header{background:#f4f4f4;border-bottom:1px solid #ddd;justify-content:space-between;align-items:start;gap:18px;min-height:88px;padding:8px 12px 12px;display:flex}.product-sheet-header h2{color:#111;align-items:center;gap:10px;margin:0 0 6px;font-size:24px;line-height:1.15;display:flex}.product-sheet-header strong{margin-bottom:8px;font-size:14px;display:block}.product-sheet-header p{color:#111;align-items:center;gap:5px;margin:0;font-size:13px;font-weight:700;display:flex}.product-sheet-header p svg{color:#f2a12c;width:15px;height:15px}.product-dot{background:#4b4b4b;border-radius:50%;flex:0 0 22px;width:22px;height:22px;display:inline-block}.product-header-actions{gap:4px;display:flex}.product-header-actions button{color:#666;place-items:center;width:34px;height:34px;display:grid}.product-summary{border-bottom:1px solid #ddd;grid-template-columns:minmax(310px,1fr) minmax(320px,430px) minmax(280px,490px);gap:6px;padding:10px 14px 18px;display:grid}.product-tags{flex-wrap:wrap;align-content:start;gap:7px;min-height:60px;display:flex}.product-tags span,.blue-pill,.dark-pill,.blue-soft-pill,.soft-code{border-radius:9px;align-items:center;min-height:18px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.tag-orange{color:#fff;background:#f2aa3a}.tag-green{color:#fff;background:#53b958}.soft-code{color:#405040;background:#dfe6d7}.blue-pill{color:#fff;background:#2f80c8}.dark-pill{color:#fff;background:#333}.blue-soft-pill{color:#fff;background:#2d7ec1}.product-price{align-items:baseline;gap:8px;margin-top:76px;display:flex}.product-price small{color:#777}.product-conversion{margin-top:10px;font-size:13px}.product-summary-meta{text-align:right;align-self:end;gap:8px;font-size:13px;display:grid}.product-meta-row{grid-template-columns:145px 1fr;align-items:center;gap:8px;display:grid}.product-meta-row>span{color:#111}.product-meta-row strong{font-weight:700}.barcode{background:repeating-linear-gradient(90deg,#aaa 0 2px,#eee 2px 4px);border-radius:8px;padding:2px 8px;font-size:11px}.green-check{color:#2b9b3e;font-size:18px}.product-summary-side{gap:18px;display:grid}.product-detail-grid{grid-template-columns:minmax(420px,1.4fr) minmax(340px,1fr);align-items:start;gap:12px;padding:12px 14px;display:grid}.product-column{align-content:start;gap:12px;display:grid}.product-card{background:#fff;border:1px solid #d3d3d3;border-radius:4px;overflow:hidden;box-shadow:0 1px 2px #00000008}.product-card>header{border-bottom:1px solid #0000;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:0 16px 0 28px;display:flex}.product-card.open>header{border-bottom-color:#ddd}.product-card>header strong{font-size:14px}.product-card>header div{gap:4px;display:flex}.product-card button{color:#e74b58;place-items:center;width:28px;height:28px;display:grid}.product-card-body{padding:14px 20px 18px}.product-card-body p{color:#555;margin:0;line-height:1.45}.allergen-pills{flex-wrap:wrap;gap:8px;display:flex}.allergen-pills span{color:#fff;background:#dd5757;border-radius:10px;padding:3px 8px;font-size:11px}.allergen-pills.mini{margin-top:6px}.allergen-pills.mini span{padding:2px 6px;font-size:10px}.recipe-yield-main{min-height:36px;margin-bottom:8px;font-size:14px}.recipe-sheet .product-price{margin-top:28px}.recipe-composition-table .num{text-align:right;white-space:nowrap}.yield-line{background:#ddd;min-width:160px;height:3px;margin:0 0 5px;display:block}.yield-line span{background:#148a20;height:100%;display:block}.recipe-cost-layout{grid-template-columns:minmax(190px,260px) 1fr;align-items:center;gap:18px;min-height:260px;display:grid}.recipe-cost-pie{aspect-ratio:1;border-radius:50%;width:min(260px,100%);margin:0 auto;box-shadow:inset 0 0 0 1px #00000014}.recipe-cost-legend{color:#555;gap:8px;font-size:12px;display:grid}.recipe-cost-legend span{align-items:center;gap:7px;display:flex}.recipe-cost-legend i{border-radius:2px;flex:0 0 12px;width:12px;height:12px}.recipe-history-chart{background:repeating-linear-gradient(0deg,#fff 0 35px,#eee 36px);border-bottom:1px solid #ddd;border-left:1px solid #ddd;height:180px;margin:10px 12px 16px;position:relative;overflow:hidden}.recipe-history-chart span{background:linear-gradient(0deg,#e3dc30d1 0 82%,#dd5757eb 82% 100%);border-top:2px solid #dd5757;width:7%;position:absolute;bottom:0}.label-ingredients{color:#444;line-height:1.6}.label-ingredients strong{margin-bottom:4px;display:block}.lot-pill{color:#fff;background:#e05858;border-radius:9px;align-items:center;min-height:18px;padding:2px 7px;font-size:11px;display:inline-flex}.inline-link{color:#777;text-align:left;margin-top:8px}.product-mini-table{border-collapse:collapse;width:100%;font-size:13px}.product-mini-table th{text-align:left;text-transform:uppercase;color:#777;border-bottom:1px solid #ddd;padding:8px;font-size:11px;font-weight:400}.product-mini-table td{vertical-align:top;border-bottom:1px solid #eee;padding:9px 8px}.product-mini-table tr:last-child td{border-bottom:0}.product-mini-table small{color:#666}.product-mini-table svg{vertical-align:-3px;color:#444;width:16px;height:16px}.product-chart{background:repeating-linear-gradient(0deg,#fff 0 36px,#eee 37px);border-bottom:1px solid #ddd;border-left:1px solid #ddd;align-items:end;gap:54px;height:150px;margin:14px 8px 0;padding:0 42px;display:flex}.product-chart span{background:#e5424829;border:2px solid #f05a5f;border-bottom:0;width:190px}.product-search{border:1px solid #ddd;border-radius:4px;grid-template-columns:1fr 34px;align-items:center;height:32px;margin-bottom:10px;display:grid}.product-search input{border:0;min-width:0;height:30px;padding:0 10px}.product-search svg{color:#e74b58;justify-self:center;width:18px;height:18px}.steps-list{color:#555;margin:0;padding-left:18px;line-height:19px}.analysis-content{overflow-y:auto}.dashboard-grid{grid-template-columns:380px 380px 560px;align-items:start;gap:18px;padding-top:18px;display:grid}.dash-card,.summary-card,.control-panel{background:#fff;border:1px solid #d1d1d1;border-radius:4px;margin-bottom:14px;box-shadow:0 1px #00000008}.card-head{color:#333;border-bottom:1px solid #e2e2e2;align-items:center;gap:8px;min-height:48px;padding:0 12px;display:flex}.card-head strong{font-size:15px}.card-head button{color:var(--accent);place-items:center;margin-left:auto;display:grid}.card-head button+button{margin-left:0}.card-head svg{width:18px;height:18px}.counter-row{border-bottom:1px solid #eee;grid-template-columns:24px 1fr auto 24px;align-items:center;gap:8px;height:42px;padding:0 12px;display:grid}.counter-row svg{color:#555;width:18px;height:18px}.counter-row b{color:#fff;background:#8f8f8f;border-radius:10px;padding:1px 7px;font-size:11px}.counter-row em,table td:last-child{color:var(--accent);font-style:normal}.notifications .field{margin:10px 12px}.field.mini{height:30px}.notice-row{border-top:1px solid #eee;grid-template-columns:18px 1fr auto 24px;align-items:center;gap:8px;min-height:72px;padding:8px 10px;display:grid}.notice-row strong,.notice-row b,.notice-row small{line-height:17px;display:block}.notice-row b{font-size:12px;font-weight:700}.notice-row small{color:#777;font-style:italic}.status{background:#d9a74f;border-radius:50%;width:12px;height:12px}.analyze{color:#444;background:#eee;border:1px solid #ccc;border-radius:3px;height:27px;padding:0 9px}.more-link{color:var(--accent);padding:10px 12px 13px;text-decoration:none;display:block}.summary-stack{align-content:start;display:grid}.summary-card{grid-template-columns:auto 1fr 28px;align-items:center;gap:9px;min-height:58px;padding:0 12px;display:grid}.summary-card button{color:var(--accent)}.table-tools{grid-template-columns:1fr 32px 32px;align-items:center;gap:6px;padding:10px 12px;display:grid}.table-tools button{height:30px;color:var(--accent);background:#fff;border:1px solid #d2d2d2;place-items:center;display:grid}.table-card table,.report-card table{border-collapse:collapse;width:100%;font-size:12px}th{color:#777;text-align:left;border-bottom:1px solid #e4e4e4;height:30px;padding:0 8px;font-weight:700}td{vertical-align:middle;border-bottom:1px solid #eee;height:34px;padding:0 8px}td em{color:var(--accent);font-style:normal;font-weight:700}.state-dot{vertical-align:-2px;background:#d6c0a6;border-radius:50%;width:14px;height:14px;margin-right:6px;display:inline-block}.control-grid{grid-template-columns:1fr 1fr;gap:18px;padding-top:18px;display:grid}.chart-space{background:#fff;border-bottom:1px solid #eee;justify-content:center;align-items:center;height:270px;display:flex;position:relative}.chart-space>span{color:#777;font-weight:700;position:absolute;bottom:14px;right:28px}.pie-chart,.pie{background:conic-gradient(#f6c64e 0 46%, #54a65d 46% 88%, #4f8edb 88% 96%, #bbb 96% 100%);border-radius:50%;width:220px;height:220px;margin:24px auto;box-shadow:inset 0 0 0 1px #00000014}.control-table{display:grid}.control-row-data{border-bottom:1px solid #eee;grid-template-columns:24px 1fr auto 64px 18px 130px 18px;align-items:center;gap:8px;min-height:49px;padding:0 12px;display:grid}.control-row-data.group{border-bottom:2px solid var(--accent);font-weight:700}.family-badge{border-radius:3px;padding:2px 5px;font-size:10px}.input{color:#444;background:#eee;border:1px solid #d5d5d5;border-radius:3px;justify-content:flex-end;align-items:center;min-width:0;height:29px;padding:0 8px;display:flex}.input.pending{background:var(--pink);color:#777;justify-content:flex-start}.input.amount{justify-content:flex-end}.reports-grid{grid-template-columns:minmax(560px,1fr) minmax(560px,1fr);align-items:start;gap:18px;padding-top:18px;display:grid}.report-card{overflow:hidden}.report-card .card-head{min-height:55px}.totals th,.totals td{text-align:right}.totals th:first-child,.totals td:first-child{text-align:left;font-weight:700}.bar-chart{background:linear-gradient(#fff,#fff),repeating-linear-gradient(0deg,#0000 0 39px,#f1f1f1 40px);border-bottom:1px solid #ddd;border-left:1px solid #ddd;align-items:end;gap:5px;height:220px;margin:18px 22px;padding:8px 8px 0;display:flex}.bar-chart span{background:#52a867;flex:1;min-width:6px}.select-wide{margin:12px}.legend{width:10px;height:10px;margin-right:4px;display:inline-block}.legend.green{background:#52a867}.chat{background:var(--accent);color:#fff;z-index:8;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;position:fixed;bottom:22px;right:23px;box-shadow:0 4px 12px #00000038}.chat svg{width:25px;height:25px}.chat em{background:#d93737;border:2px solid #fff;border-radius:50%;place-items:center;width:18px;height:18px;font-size:10px;font-style:normal;display:grid;position:absolute;top:-5px;right:-2px}.chat-toast{z-index:7;background:#fff;border-radius:4px;grid-template-columns:42px 1fr 44px;align-items:center;gap:8px;width:318px;min-height:66px;padding:9px;display:grid;position:fixed;bottom:24px;right:82px;box-shadow:0 3px 16px #00000038}.chat-toast span{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.chat-toast strong,.chat-toast small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.chat-toast small{color:#777;margin-top:3px}.chat-toast b{background:linear-gradient(135deg,#ddd,#bbb);border-radius:3px;width:38px;height:38px}.toast{color:#fff;z-index:20;text-align:center;background:#2f2f2f;border-radius:4px;justify-content:center;align-items:center;max-width:min(560px,100vw - 40px);min-height:42px;padding:10px 16px;line-height:16px;display:flex;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 7px 20px #0000003d}.modal-backdrop{z-index:30;background:#00000059;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #bbb;grid-template-rows:48px minmax(0,1fr);width:min(640px,100%);max-height:calc(100vh - 48px);display:grid;box-shadow:0 18px 48px #00000059}.modal.recipe-modal{width:min(760px,100%)}.modal.menu-modal{grid-template-rows:64px minmax(0,1fr);width:min(900px,100vw - 18px);max-height:calc(100vh - 28px)}.modal.purchase-modal{grid-template-rows:64px minmax(0,1fr);width:min(900px,100vw - 40px);max-height:calc(100vh - 64px)}.modal.purchase-template-modal{grid-template-rows:64px minmax(0,1fr);width:min(600px,100vw - 40px);max-height:calc(100vh - 64px)}.modal.warehouse-modal{grid-template-rows:64px minmax(0,1fr);width:min(900px,100vw - 40px);max-height:calc(100vh - 64px)}.modal.supplier-modal{grid-template-rows:64px minmax(0,1fr);width:min(900px,100vw - 28px);max-height:calc(100vh - 18px)}.modal.tool-modal{grid-template-rows:64px minmax(0,1fr);width:min(1600px,100vw - 18px);max-height:calc(100vh - 16px)}.warehouse-modal .modal-head,.purchase-template-modal .modal-head,.supplier-modal .modal-head,.purchase-modal .modal-head,.menu-modal .modal-head,.tool-modal .modal-head{background:#888887;height:64px}.modal-head{background:var(--topbar);color:#fff;justify-content:space-between;align-items:center;height:48px;padding:0 14px 0 18px;display:flex}.modal-head button{color:#fff;place-items:center;width:32px;height:32px;display:grid}.entity-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;display:grid;overflow-y:auto}.entity-form label{color:#666;gap:5px;font-size:11px;display:grid}.entity-form input,.entity-form select{color:#333;background:#fff;border:1px solid #d3d3d3;min-width:0;height:34px;padding:0 9px}.entity-form textarea{color:#333;resize:vertical;background:#fff;border:1px solid #d3d3d3;min-height:104px;padding:9px;line-height:18px}.entity-form.import-form textarea{min-height:190px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;line-height:1.45}.import-help{color:#666;font-size:12px;line-height:1.45}.entity-form label.wide,.entity-form .wide{grid-column:1/-1}.form-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;padding-top:8px;display:flex}.tool-full-form{background:#f2f2f2;grid-template-rows:minmax(0,1fr) 56px;min-height:0;display:grid}.tool-form-scroll{padding:16px 14px 28px;overflow-y:auto}.tool-form-row{grid-template-columns:265px minmax(0,1fr);align-items:center;gap:14px;min-height:42px;display:grid}.tool-form-row>label{text-align:right;text-transform:uppercase;color:#666;font-size:11px;font-weight:700}.tool-form-row input,.tool-form-row select,.tool-form-row textarea{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;min-width:0;height:34px;padding:0 10px}.tool-form-row textarea{resize:vertical;height:70px;padding:9px 10px;line-height:17px}.tool-form-row input::placeholder{color:#b0b0b0}.tool-form-row .wide-input,.tool-form-row .full-field{width:100%}.tool-form-row .small-field{width:min(510px,100%)}.tool-form-row .code-input{width:245px}.tool-form-row .is-required{background:#efd5d0;border-color:#ee9c45}.unit-stack{align-items:start;gap:10px;width:min(520px,100%);display:grid}.unit-main{background:#fff;border:1px solid #d4d4d4;border-radius:4px;grid-template-columns:1fr 34px;align-items:center;height:34px;display:grid;overflow:hidden}.unit-main input{border:0;border-radius:0}.unit-main button{color:#aaa;height:34px;font-weight:700}.conversion-row{grid-template-columns:auto 58px auto 160px auto 64px;align-items:center;gap:8px;display:grid}.recipe-quantity-row{grid-template-columns:160px 96px 34px 24px;width:min(420px,100%)}.recipe-secondary-row{grid-template-columns:160px 96px;width:min(264px,100%)}.temp-row{grid-template-columns:108px 160px auto;width:min(300px,100%)}.temp-row select{width:108px}.conversion-row button,.code-field button,.field-like button{color:#333;background:#fff;border:1px solid #ccc;border-radius:4px;height:34px;padding:0 12px}.inline-link{color:#444;justify-self:start;height:22px;padding:0}.field-like{background:#fff;border:1px solid #d4d4d4;border-radius:4px;align-items:center;gap:7px;height:34px;padding:0 8px;display:flex}.field-like input{border:0;flex:1;height:32px;padding:0}.field-like svg{color:#777;width:16px;height:16px}.field-like button{place-items:center;width:24px;height:24px;padding:0;display:grid}.tool-check{color:#444;align-items:center;gap:8px;font-weight:700;display:inline-flex}.tool-check input{accent-color:#8fbd6b;width:20px;height:20px}.inline-field{grid-template-columns:145px auto;align-items:center;gap:9px;display:inline-grid}.inline-field input{text-align:right}.code-field{grid-template-columns:245px 40px;align-items:center;gap:10px;display:inline-grid}.menu-full-form .tool-form-row{grid-template-columns:210px minmax(0,1fr)}.menu-full-form .tool-form-scroll{padding-top:16px}.menu-full-form .wide-input,.menu-full-form .full-field{max-width:646px}.menu-full-form .menu-date-field{grid-template-columns:minmax(245px,1fr) 40px;width:min(646px,100%)}.menu-full-form .menu-items-text{min-height:78px}.binary-toggle{align-items:center;gap:4px;display:inline-flex}.binary-toggle label{color:#333;cursor:pointer;background:#fff;border:1px solid #cfcfcf;border-radius:4px;place-items:center;min-width:36px;height:30px;font-weight:700;display:grid}.binary-toggle label.active{color:#fff;background:#57b857;border-color:#47a647}.binary-toggle input{opacity:0;pointer-events:none;position:absolute}.weekday-selector{background:#fff5cc;border:1px solid #d1b86c;align-items:stretch;height:38px;display:inline-flex}.weekday-selector label{color:#111;cursor:pointer;place-items:center;min-width:50px;padding:0 12px;display:grid}.weekday-selector label:has(input:checked){background:#fff0b4;font-weight:700}.weekday-selector input{opacity:0;pointer-events:none;position:absolute}.code-field button{place-items:center;padding:0;display:grid}.code-field svg{width:17px;height:17px}.purchase-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 62px;min-height:0;display:grid}.purchase-form-body{border-top:1px solid #ddd;padding:24px 14px;overflow-y:auto}.purchase-inline{grid-template-columns:240px 114px 286px 50px 10px 50px;align-items:center;gap:16px;display:grid}.purchase-form input{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;min-width:0;height:34px;padding:0 10px}.purchase-form .is-required{background:#efd5d0;border-color:#ee9c45}.purchase-date-field{grid-template-columns:1fr 34px}.purchase-date-field input{border-top-right-radius:0;border-bottom-right-radius:0}.time-input{text-align:center}.time-separator{color:#333;justify-self:center}.purchase-check{color:#333;align-items:center;gap:8px;margin-top:14px;display:inline-flex}.purchase-check input{width:20px;height:20px}.purchase-form-actions{background:#f8f8f8;border-top:1px solid #cfcfcf;justify-content:space-between;align-items:center;padding:14px;display:flex}.purchase-form-actions div{gap:8px;display:flex}.purchase-form-actions button{color:#fff;text-transform:uppercase;border-radius:4px;min-width:74px;height:30px;padding:0 12px;font-size:11px;font-weight:700}.purchase-form-actions button[type=submit],.purchase-form-actions .delivery-note-action{background:#f1be75}.purchase-form-actions button[type=button]:not(.delivery-note-action){background:#2773ad}.purchase-template-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;min-height:0;display:grid}.purchase-template-body{border-top:1px solid #ddd;align-content:start;gap:8px;padding:18px 36px 22px;display:grid;overflow-y:auto}.purchase-template-row{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:14px;min-height:34px;display:grid}.purchase-template-row>label{color:#666;text-transform:uppercase;text-align:right;font-size:11px;font-weight:700}.purchase-template-row input,.purchase-template-row select{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:100%;min-width:0;height:34px;padding:0 10px}.purchase-template-row textarea{color:#444;resize:vertical;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:100%;min-width:0;min-height:68px;padding:10px}.purchase-template-row .is-required{background:#efd5d0;border-color:#ee9c45}.purchase-template-row .weekday-selector{height:38px}.purchase-template-row .weekday-selector label{text-align:center;text-transform:none;min-width:42px;padding:0 10px;font-size:13px;font-weight:400}.purchase-template-row .purchase-check.compact{margin-top:0}.purchase-template-row .purchase-check.compact input{flex:0 0 20px;width:20px;height:20px}.purchase-template-actions{background:#f8f8f8;border-top:1px solid #cfcfcf;justify-content:flex-end;align-items:center;gap:8px;padding:14px;display:flex}.purchase-template-actions button{color:#fff;text-transform:uppercase;border-radius:4px;min-width:74px;height:30px;padding:0 12px;font-size:11px;font-weight:700}.purchase-template-actions button[type=submit]{background:#f1be75}.purchase-template-actions button[type=button]{background:#2773ad}.inventory-close-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;min-height:0;display:grid}.inventory-close-body{border-top:1px solid #ddd;align-content:start;gap:8px;padding:18px 36px 22px;display:grid;overflow-y:auto}.inventory-close-row{grid-template-columns:145px minmax(0,1fr);align-items:center;gap:16px;min-height:34px;display:grid}.inventory-close-row>label{color:#666;text-transform:uppercase;text-align:right;font-size:11px;font-weight:700}.inventory-close-row input,.inventory-close-row select{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:min(225px,100%);min-width:0;height:34px;padding:0 10px}.inventory-close-row .is-required{background:#efd5d0;border-color:#ee9c45}.inventory-month-row{grid-template-columns:176px 104px;align-items:center;gap:20px;display:grid}.inventory-month-row select{width:100%}.inventory-close-actions{background:#f8f8f8;border-top:1px solid #cfcfcf;justify-content:flex-end;align-items:center;gap:8px;padding:14px;display:flex}.inventory-close-actions button{color:#fff;text-transform:uppercase;border-radius:4px;min-width:74px;height:30px;padding:0 12px;font-size:11px;font-weight:700}.inventory-close-actions button[type=submit]{background:#f1be75}.inventory-close-actions button[type=button]{background:#2773ad}.warehouse-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;min-height:0;display:grid}.warehouse-form-body{border-top:1px solid #ddd;align-content:start;gap:7px;padding:18px 36px 22px;display:grid;overflow-y:auto}.warehouse-form-row{grid-template-columns:200px minmax(0,1fr);align-items:center;gap:16px;min-height:34px;display:grid}.warehouse-form-row>label{color:#666;text-transform:uppercase;text-align:right;font-size:11px;font-weight:700}.warehouse-form-row input,.warehouse-form-row select{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:min(500px,100%);min-width:0;height:34px;padding:0 10px}.warehouse-form-row .is-required{background:#efd5d0;border-color:#ee9c45}.warehouse-check{color:#444;align-items:center;gap:8px;min-height:28px;display:inline-flex}.warehouse-check input{accent-color:#8fbd6b;flex:0 0 20px;width:20px;height:20px}.warehouse-form-actions{background:#f8f8f8;border-top:1px solid #cfcfcf;justify-content:space-between;align-items:center;gap:8px;padding:14px;display:flex}.warehouse-form-actions div{gap:8px;display:flex}.warehouse-form-actions button{color:#fff;text-transform:uppercase;border-radius:4px;min-width:74px;height:30px;padding:0 12px;font-size:11px;font-weight:700}.warehouse-form-actions button[type=submit],.warehouse-form-actions button[data-action=warehouse-priorities]{background:#f1a532}.warehouse-form-actions button[data-action=close-modal]{background:#2773ad}.sale-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;min-height:0;display:grid}.sale-form-body{border-top:1px solid #ddd;align-content:start;gap:8px;padding:18px 36px 22px;display:grid;overflow-y:auto}.production-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;min-height:0;display:grid}.production-form-grid{border-top:1px solid #ddd;grid-template-columns:minmax(280px,1fr) 272px 148px;align-items:end;gap:16px;padding:26px 24px 42px;display:grid}.production-form-grid label{color:#333;text-transform:uppercase;gap:18px;font-size:11px;display:grid}.production-form-grid input{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:100%;min-width:0;height:34px;padding:0 10px}.production-form-grid .is-required{background:#efd5d0;border-color:#ee9c45}.production-form-actions{background:#f8f8f8;border-top:1px solid #cfcfcf;justify-content:flex-end;align-items:center;gap:8px;padding:14px;display:flex}.production-form-actions button{color:#fff;text-transform:uppercase;border-radius:4px;min-width:74px;height:30px;padding:0 12px;font-size:11px;font-weight:700}.production-form-actions button[type=submit]{background:#f1be75}.production-form-actions button[type=button]{background:#2773ad}.production-task-form{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;min-height:0;display:grid}.production-task-body{border-top:1px solid #ddd;align-content:start;gap:10px;padding:16px 24px 28px;display:grid}.production-task-top{grid-template-columns:minmax(320px,1fr) 270px;align-items:center;gap:20px;display:grid}.production-task-form input,.production-task-form textarea{color:#444;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:100%;min-width:0;padding:0 10px}.production-task-form input{height:34px}.production-task-form textarea{resize:vertical;min-height:86px;padding-top:10px}.production-task-form .is-required{background:#efd5d0;border-color:#ee9c45}.tool-form-actions{background:#f8f8f8;border-top:1px solid #cfcfcf;justify-content:flex-end;align-items:center;gap:8px;padding:10px 14px;display:flex}.tool-form-actions button{color:#fff;text-transform:uppercase;border-radius:4px;min-width:74px;height:30px;font-size:11px;font-weight:700}.tool-form-actions button[type=submit]{background:#f1be75}.tool-form-actions button[type=button]{background:#2773ad}.supplier-full-form{background:#f2f2f2;grid-template-rows:minmax(0,1fr) 56px;min-height:0;display:grid}.supplier-form-scroll{padding:16px 28px 28px;overflow-y:auto}.supplier-address-row{grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:20px;width:min(636px,100%);display:grid}.supplier-address-row button,.supplier-mail-row button,.supplier-contact-row button,.supplier-month-actions button{color:#333;background:#fff;border:1px solid #ccc;border-radius:4px;height:34px;padding:0 12px}.supplier-two-columns{grid-template-columns:200px minmax(260px,1fr);gap:20px;width:min(636px,100%);display:grid}.supplier-muted{color:#666}.supplier-section-grid{gap:9px;width:min(636px,100%);display:grid}.supplier-section-head{color:#444;text-transform:uppercase;border-bottom:1px solid #ccc;grid-template-columns:1fr 1fr 32px;gap:14px;padding:0 8px 7px;font-size:11px;display:grid}.supplier-contact-row{grid-template-columns:minmax(0,1fr) 230px 32px;align-items:center;gap:14px;display:grid}.phone-field{background:#fff;border:1px solid #d4d4d4;border-radius:4px;grid-template-columns:42px 1fr;align-items:center;display:grid;overflow:hidden}.phone-field span{background:#fff6ca;border-right:1px solid #ddd;place-items:center;height:32px;font-size:11px;display:grid}.phone-field input{border:0}.supplier-mail-row{grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:14px;display:grid}.supplier-time-row{grid-template-columns:145px 200px;gap:20px;width:min(365px,100%);display:grid}.supplier-days label{min-width:50px}.supplier-month-row{grid-template-columns:300px 136px;align-items:center;gap:194px;display:grid}.supplier-month-selector{background:#fff5cc;border:1px solid #d1b86c;grid-template-columns:repeat(6,50px);grid-auto-rows:36px;width:max-content;display:grid}.supplier-month-selector label{color:#111;cursor:pointer;place-items:center;font-size:13px;display:grid}.supplier-month-selector label:has(input:checked){background:#fff0b4;font-weight:700}.supplier-month-selector input{opacity:0;pointer-events:none;position:absolute}.supplier-month-actions{gap:6px;display:grid}.supplier-check{font-weight:400}.panel-toggle-open{color:#777;z-index:4;background:#fff;border:1px solid #d5d5d5;width:25px;height:46px;display:none;position:fixed;top:156px;left:0}.workspace.collapsed .panel-toggle-open{place-items:center;display:grid}html{background:var(--bg-main)}*{scrollbar-color:#283b4257 var(--bg-subtle)}::selection{color:var(--text);background:#c0a88057}.topbar{background:var(--brand-primary-dark);border-bottom:1px solid #c0a88038;box-shadow:0 10px 26px #0a0a0a2e}.brand{align-items:center;gap:10px;width:214px;padding-left:4px;display:flex}.brand-emblem,.app-logo-mark{width:36px;height:36px;color:var(--brand-accent);border:1px solid #c0a880c7;border-radius:8px;flex:none;place-items:center;font-family:Georgia,Times New Roman,serif;display:inline-grid;position:relative;box-shadow:inset 0 0 0 1px #ffffff08}.brand-emblem span,.app-logo-mark span{font-weight:400;line-height:1;position:absolute}.brand-emblem span:first-child,.app-logo-mark span:first-child{font-size:21px;transform:translate(-3px,-4px)}.brand-emblem span:last-child,.app-logo-mark span:last-child{font-size:20px;transform:translate(5px,6px)}.brand-wordmark,.app-logo-text{white-space:nowrap;align-items:baseline;gap:6px;display:inline-flex}.brand-wordmark strong,.app-logo-text strong{color:#f7f5ef;font-size:20px;font-weight:500}.brand-wordmark em,.app-logo-text em{color:var(--brand-accent);font-size:16px;font-style:normal;font-weight:400}.brand-mark{background:#20363d;border-radius:8px;box-shadow:inset 0 0 0 1px #c0a88047,0 8px 18px #0000002e}.brand-text{color:#f7f5ef;font-size:22px;font-weight:800}.main-tab{border-radius:var(--radius-button);color:#f7f5efe0;background:#f7f5ef17;border:1px solid #ffffff1f;transition:background .16s,color .16s,border-color .16s,transform .16s}.main-tab:hover{color:#fff;background:#f7f5ef24;border-color:#c0a88057}.main-tab.active{background:var(--brand-accent);border-color:var(--brand-accent);color:var(--brand-primary-dark);box-shadow:0 8px 20px #0000002e}.account-label{color:#f7f5ef9e}.account-value{color:#f7f5ef}.badge-red,.round-badge{background:var(--brand-accent);color:var(--brand-primary-dark);font-weight:800}.chev-down{border-top-color:var(--brand-accent)}.account-menu,.context-menu,.planning-options-menu{border-radius:var(--radius-card);box-shadow:var(--shadow-soft);color:var(--text);background:#fffdf8;border:1px solid #283b4224}.account-menu button,.menu-item,.planning-options-menu button{color:var(--text)}.account-menu button:hover,.menu-item:hover,.planning-options-menu button:hover{background:#c0a88021}.settings-section-title{background:var(--bg-soft)!important;color:var(--text-muted)!important}.module-nav{background:var(--brand-primary);border-top:0;border-bottom:1px solid #c0a8803d;box-shadow:inset 0 -1px #0000001f}.module-tab{color:#f7f5efd1;background:0 0;border-right-color:#f7f5ef1a;transition:background .16s,color .16s,box-shadow .16s}.module-tab:hover{color:#fff;background:#f7f5ef1a}.module-tab.active{color:var(--brand-primary-dark);box-shadow:inset 0 3px 0 var(--brand-accent), 0 -10px 24px #00000014;background:#f7f5ef}.module-tab svg{stroke-width:1.55px}.content,.planning-page,.tool-full-form,.supplier-full-form,.purchase-form,.purchase-template-form,.inventory-close-form,.warehouse-form,.sale-form,.production-form,.production-task-form{background:var(--bg-main)}.sidebar{border-right-color:var(--line);background:#fffdf8}.panel-controls{border-bottom-color:var(--line-soft);background:#f7f5efeb}.field,.planning-field,.planning-date-field,.input,.field-like,.unit-main,.phone-field,.entity-form input,.entity-form select,.entity-form textarea,.tool-form-row input,.tool-form-row select,.tool-form-row textarea,.purchase-form input,.purchase-template-row input,.purchase-template-row select,.purchase-template-row textarea,.inventory-close-row input,.inventory-close-row select,.warehouse-form-row input,.warehouse-form-row select,.production-form-grid input,.production-task-form input,.production-task-form textarea{border-radius:var(--radius-button);color:var(--text);background:#fffdf8;border-color:#283b422e;box-shadow:inset 0 1px #ffffffb8}.field.search,.planning-field.search,.tool-form-row .is-required,.purchase-form .is-required,.purchase-template-row .is-required,.inventory-close-row .is-required,.warehouse-form-row .is-required,.production-form-grid .is-required,.production-task-form .is-required{background:#fffaf2;border-color:#c0a880c7}input:focus,select:focus,textarea:focus,.field:focus-within,.field-like:focus-within,.unit-main:focus-within,.phone-field:focus-within{border-color:var(--brand-primary);outline:0;box-shadow:0 0 0 3px #283b421f}input::placeholder,textarea::placeholder{color:#56676a8a}.icon-button,.planning-more,.product-header-actions button{color:var(--text-muted);border-radius:var(--radius-button)}.icon-button:hover,.planning-more:hover,.product-header-actions button:hover{color:var(--brand-primary);background:#283b4214}.list-row{color:var(--text);border-bottom-color:#283b4214}.list-row:hover{background:#283b420b}.list-row.active{background:var(--brand-primary);color:#fff;box-shadow:inset 3px 0 0 var(--brand-accent)}.list-row.active .row-sub,.list-row.active .row-side{color:#f7f5efc2}.list-row.archived{background:var(--bg-subtle)}.month-header{background:var(--bg-soft);border-color:var(--line-soft);color:var(--brand-primary-dark)}.row-sub,.row-side,.detail-note,.empty-state{color:var(--text-muted)}.code-badge,.family-badge,.code-badge.green{color:#405746;background:#e5eadf;border-radius:8px}.help-dot{color:var(--warning)}.menu-radio.on{background:var(--success);border-color:var(--success)}.app-header,.planning-header,.product-sheet-header{border-bottom-color:var(--line)}.app-logo{min-width:218px;min-height:58px;color:var(--brand-primary-dark);align-items:center;gap:12px;padding:0 2px;display:flex}.app-logo-mark{width:44px;height:44px;color:var(--brand-primary);background:#fffdf873;border-color:#283b425c;box-shadow:inset 0 0 0 1px #c0a8803d,0 10px 22px #283b4217}.app-logo-mark span:first-child{font-size:25px;transform:translate(-4px,-5px)}.app-logo-mark span:last-child{font-size:24px;transform:translate(6px,8px)}.app-logo-text strong{color:var(--brand-primary-dark);font-size:25px;font-weight:600}.app-logo-text em{color:var(--brand-accent);font-size:18px}.content-inner{color:var(--text)}.app-main,.date-title,.control-title,.planning-header h1,.planning-header h2{color:var(--brand-primary-dark);font-family:inherit;font-weight:800}.period,.video-category,.video-desc,.bulli-copy,.module-guide,.product-card-body p{color:var(--text-muted)}.dash-card,.summary-card,.control-panel,.report-card,.video-card,.youtube-panel,.info-panel,.planning-card,.product-card,.detail-item,.modal,.chat-toast{border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fffdf8;border-color:#283b4221}.card-head,.product-card>header{color:var(--brand-primary-dark);border-bottom-color:#283b421a}.card-head strong,.product-card>header strong{font-weight:800}.card-head button,.summary-card button,.table-tools button,.more-link,td em,.counter-row em{color:var(--brand-primary)}.counter-row,.notice-row,td,th,.product-mini-table th,.product-mini-table td{border-color:#283b4217}th,.product-mini-table th{color:var(--text-muted)}.counter-row b{background:var(--bg-soft);color:var(--brand-primary-dark)}.summary-card{border-left:3px solid #c0a8808f;min-height:66px}.notice-row{background:#f7f5ef8c}.status{background:var(--warning)}.status.down{background:var(--success)}.status.up{background:var(--danger)}.state-dot{background:var(--brand-accent)}.analyze,.filters button,.report-select,.detail-actions button,.form-actions button,.conversion-row button,.code-field button,.field-like button,.supplier-address-row button,.supplier-mail-row button,.supplier-contact-row button,.supplier-month-actions button,.table-tools button{border-radius:var(--radius-button);color:var(--brand-primary);background:#fffdf8;border-color:#283b422e}.analyze:hover,.filters button:hover,.detail-actions button:hover,.form-actions button:hover,.conversion-row button:hover,.code-field button:hover,.field-like button:hover,.table-tools button:hover{background:#283b4214}.detail-actions button:first-child,.form-actions button[type=submit],.filters .orange,.planning-nav-btn,.tool-form-actions button[type=submit],.purchase-form-actions button[type=submit],.purchase-template-actions button[type=submit],.inventory-close-actions button[type=submit],.warehouse-form-actions button[type=submit],.production-form-actions button[type=submit],.production-task-form+.tool-form-actions button[type=submit]{background:var(--brand-primary);border-color:var(--brand-primary-dark);color:#fff}.purchase-form-actions .delivery-note-action,.warehouse-form-actions button[data-action=warehouse-priorities]{background:var(--brand-accent);color:var(--brand-primary-dark)}.tool-form-actions button[type=button],.purchase-form-actions button[type=button]:not(.delivery-note-action),.purchase-template-actions button[type=button],.inventory-close-actions button[type=button],.warehouse-form-actions button[data-action=close-modal],.production-form-actions button[type=button]{color:var(--brand-primary-dark);background:#eae9e3}.youtube-head,.info-head,.modal-head,.warehouse-modal .modal-head,.purchase-template-modal .modal-head,.supplier-modal .modal-head,.purchase-modal .modal-head,.menu-modal .modal-head,.tool-modal .modal-head{background:var(--brand-primary);color:#f7f5ef}.modal{border:1px solid #283b4229;box-shadow:0 24px 60px #0a0a0a3d}.modal-backdrop{background:#1d2d338f}.tool-form-actions,.purchase-form-actions,.purchase-template-actions,.inventory-close-actions,.warehouse-form-actions,.production-form-actions{background:#eae9e3d1;border-top-color:#283b4224}.tool-form-row>label,.purchase-template-row>label,.inventory-close-row>label,.warehouse-form-row>label,.supplier-section-head,.production-form-grid label,.entity-form label{color:var(--text-muted);font-weight:800}.tool-check input,.warehouse-check input,.purchase-check input{accent-color:var(--brand-primary)}.binary-toggle label{border-radius:var(--radius-button);border-color:#283b422e}.binary-toggle label.active{background:var(--success);border-color:var(--success)}.binary-toggle label.active.danger{background:var(--danger);border-color:var(--danger)}.weekday-selector,.supplier-month-selector{border-radius:var(--radius-button);background:#fbf3df;border-color:#c0a880b8;overflow:hidden}:is(.weekday-selector label:has(input:checked),.supplier-month-selector label:has(input:checked)){background:var(--brand-accent);color:var(--brand-primary-dark)}.product-sheet{color:var(--text)}.product-sheet-header{background:#eae9e3b8}.product-sheet-header h2,.product-sheet-header p,.product-meta-row>span{color:var(--brand-primary-dark)}.product-dot{background:var(--brand-primary)}.product-summary{border-bottom-color:var(--line);background:#f7f5ef8a}.tag-orange{background:var(--brand-accent);color:var(--brand-primary-dark)}.tag-green{background:var(--success);color:#fff}.blue-pill,.blue-soft-pill{background:var(--info)}.dark-pill{background:var(--brand-primary-dark)}.barcode{color:var(--brand-primary-dark)}.product-card button{color:var(--brand-primary)}.product-card button:first-child{color:var(--text-muted)}.allergen-pills span,.lot-pill{background:var(--danger);color:#fff}.green-check{color:var(--success)}.yield-line span{background:var(--success)}.product-search svg,.planning-chevron,.product-mini-table td:last-child,.control-row-data.group{color:var(--brand-primary)}.product-chart span{border-color:var(--brand-accent);background:#c0a88033}.recipe-history-chart span{border-top-color:var(--success);background:linear-gradient(0deg,#c0a8808c 0 82%,#547461d6 82% 100%)}.pie-chart,.pie{background:conic-gradient(#c0a880 0 46%, #547461 46% 88%, #4f747c 88% 96%, #d9d4c7 96% 100%)}.bar-chart span{background:var(--success)}.big-products{background:conic-gradient(#4f747c 0 83%, #547461 83% 86%, #c0a880 86% 89%, #9f3e3e 89% 92%, #7a8584 92% 95%, #d9d4c7 95% 100%)}.suppliers{background:conic-gradient(#4f747c 0 39%, #547461 39% 50%, #c0a880 50% 61%, #9f3e3e 61% 70%, #7a8584 70% 76%, #d9d4c7 76% 100%)}.accounts{background:conic-gradient(#4f747c 0 78%, #547461 78% 93%, #c0a880 93% 98%, #d9d4c7 98% 100%)}.chart-space,.bar-chart,.recipe-history-chart,.product-chart{background-color:#fffdf8;border-color:#283b421f}.planning-page{color:var(--text)}.planning-card header{color:var(--brand-primary-dark);background:#fffdf8}.planning-count{background:var(--brand-accent);color:var(--brand-primary-dark)}.planning-chevron{color:var(--brand-primary)}.planning-card-body{color:var(--text-muted);border-top-color:#283b421a}.chat,.chat-toast span{background:var(--brand-primary);color:#fff}.chat em{background:var(--brand-accent);color:var(--brand-primary-dark);border-color:#fffdf8}.toast{background:var(--brand-primary-dark);border-radius:var(--radius-card)}.toast.success{background:var(--success)}.toast.error{background:var(--danger)}.thumb,.thumb.alt,.thumb.light{background:#283b42}@media (max-width:1250px){body{overflow:auto}.app-shell{min-width:1180px;height:100vh}}
