: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-selector-wrap{display:grid;position:relative}.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}.header-selector-menu{color:#333;z-index:19;background:#fff;border:1px solid #cfcfcf;width:230px;padding:7px 0;position:absolute;top:44px;right:0;box-shadow:0 8px 24px #00000042}.header-selector-menu button{text-align:left;color:#333;align-items:center;gap:8px;width:100%;min-height:28px;padding:4px 14px;display:flex}.header-selector-menu button:hover{background:#f5f5f5}.header-selector-divider{background:#e5e5e5;height:1px;margin:6px 0}.check-dot{border:1px solid #35a853;border-radius:50%;width:12px;height:12px;display:inline-block;position:relative}.check-dot:after{content:"";border:1px solid #35a853;border-width:0 1px 1px 0;width:4px;height:7px;position:absolute;top:1px;left:3px;transform:rotate(45deg)}.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}.info-panel{width:min(1050px, calc(100vw - var(--sidebar) - 118px));background:#fff;border:1px solid #d8d8d8;margin:27px auto 20px}.workspace.collapsed .info-panel{width:min(1050px,100vw - 118px)}.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}.info-head svg{width:24px;height:24px}.intro{color:#555;padding:18px 22px 16px;line-height:18px}.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)}.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}.dash-card .card-head{position:relative}.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}.dashboard-card-menu{z-index:35;color:#333;background:#fff;border:1px solid #d8d8d8;border-radius:3px;min-width:250px;padding:7px 0;position:absolute;top:38px;right:36px;box-shadow:0 8px 24px #00000029}.dashboard-card-menu button{text-align:left;color:#333;background:#fff;align-items:center;gap:6px;width:100%;min-height:31px;margin:0;padding:0 12px;font-size:12px;display:flex}.dashboard-card-menu button:hover{background:#f4f4f4}.dashboard-card-menu .check-on{color:#2e9f4f;place-items:center;width:14px;display:inline-grid}.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}.empty-mini{color:#777;border-top:1px solid #eee;padding:14px 12px;font-size:12px}.status{background:#d9a74f;border-radius:50%;width:12px;height:12px}.notice-icon{color:#fff;border-radius:50%;place-items:center;width:15px;height:15px;font-size:11px;font-weight:800;line-height:1;display:inline-grid}.notice-icon.stock{background:#c0a880;width:12px;height:12px}.notice-icon.price-down:before{content:"↓";transform:translateY(-.5px)}.notice-icon.price-up:before{content:"↑";transform:translateY(-.5px)}.price-notice strong{font-weight:800}.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}.control-grid.only-budget,.control-grid.only-reality{grid-template-columns:minmax(560px,1fr);max-width:760px}.control-filters{align-items:center;position:relative}.control-select{color:#444;min-width:112px;height:34px;font:inherit;background:#fff;border:1px solid #cfcfcf;border-radius:4px;padding:0 10px}.control-menu-anchor{display:inline-flex;position:relative}.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 minmax(118px,1fr) auto minmax(64px,76px) 18px minmax(132px,158px) 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}.control-panel.collapsed .chart-space,.control-panel.collapsed .control-table{display:none}.control-row-data.active{color:#fff;background:#da5458c7}.control-row-data.active .family-badge,.control-row-data.active .input{color:#333}.control-row-data input.input{width:100%;font:inherit;text-align:right;outline:none}.control-row-data input.input:focus{border-color:#e9a24c;box-shadow:0 0 0 2px #e9a24c2e}.control-row-data .control-unit{color:var(--muted);text-align:left;font-weight:700}.control-row-data.group .control-unit{color:var(--brand-primary)}.control-pie-wrap{grid-template-columns:minmax(190px,230px) minmax(190px,1fr);justify-content:center;align-items:center;gap:26px;width:min(100%,560px);min-height:232px;padding:12px 20px;display:grid}.control-pie-figure{place-items:center;min-width:0;display:grid}.control-pie{border-radius:50%;width:196px;height:196px;position:relative;box-shadow:0 18px 45px #1d2d3314,inset 0 0 0 1px #00000014}.control-pie:after{content:"";background:#fffdf8;border-radius:50%;position:absolute;inset:48px;box-shadow:inset 0 0 0 1px #c0a88038}.control-pie-center{z-index:1;text-align:center;color:#1d2d33;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:54px}.control-pie-center strong{font-size:24px;line-height:1}.control-pie-center span{color:#6f7a7a;text-transform:uppercase;letter-spacing:.04em;font-size:10px}.control-pie-legend{align-content:center;gap:8px;min-width:0;display:grid}.control-pie-legend-row{color:#56676a;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;font-size:11px;display:grid}.control-pie-legend-row i{border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 2px #ffffffe6,0 0 0 3px #0000000d}.control-pie-legend-row strong{text-overflow:ellipsis;white-space:nowrap;color:#1d2d33;font-weight:650;overflow:hidden}.control-pie-legend-row span:last-child{color:#56676a;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.control-pie-legend-row em{color:#8a938f;margin-left:4px;font-style:normal}.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}.control-row-data .input{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:100%;overflow:hidden}.control-row-data .input.amount{min-width:132px;padding-inline:12px}.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}.report-menu-anchor{display:inline-flex;position:relative}.report-type-menu{min-width:260px;top:38px;left:0;right:auto}.report-heading{align-content:start;gap:6px;min-width:260px;display:grid}.report-heading .control-title{margin-top:0}.report-select{white-space:nowrap;justify-content:space-between;min-width:210px}.filters.reports{flex-wrap:wrap;align-items:center}.report-chips{flex-wrap:wrap;gap:6px;width:100%;margin-top:6px;display:flex}.report-chips em{color:#fff;background:#777;border-radius:9px;margin-left:5px;padding:1px 6px;font-size:10px;font-style:normal}.sales-report-grid{grid-template-columns:minmax(620px,1fr) minmax(620px,1fr);align-items:start;gap:18px}.sales-report-card .card-head{min-height:58px;padding-inline:22px}.sales-report-card .card-head button:last-child{color:#ee2144}.sales-total-table{border-collapse:collapse;width:100%;font-size:12px}.sales-total-table th,.sales-total-table td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;border-bottom:1px solid #ececec;height:33px;padding:0 20px}.sales-total-table th:first-child,.sales-total-table td:first-child{text-align:left;white-space:normal}.sales-total-table th{color:#6f7a7a;text-transform:uppercase;font-size:10px;font-weight:600}.sales-total-table strong{color:#0a0a0a;font-weight:800}.sales-total-table small{color:#0a0a0a;font-size:10px;font-style:italic;font-weight:400;display:block}.sales-negative{color:#ee2144}.foodcost-meter{vertical-align:middle;background:#d7d7d7;width:104px;height:3px;margin-left:10px;display:inline-flex;overflow:hidden}.foodcost-meter span{background:#3e7db9;height:100%;display:block}.sales-chart-tabs{color:#ee2144;justify-content:flex-end;gap:9px;padding:12px 22px 0;font-size:12px;display:flex}.sales-chart-tabs strong{color:#0a0a0a;margin-right:auto}.sales-chart-wrap{padding:16px 22px 10px;overflow:hidden}.sales-chart-svg{width:100%;height:auto;min-height:292px;display:block}.sales-chart-svg text{fill:#696f70;font-family:inherit;font-size:10px}.sales-chart-svg .axis-label{fill:#888}.sales-chart-svg .grid-line{stroke:#e5e5e5;stroke-width:1px}.sales-chart-svg .axis-line{stroke:#cfcfcf;stroke-width:1px}.sales-chart-svg .compare-line{stroke:#242b2d;stroke-width:2px;fill:none}.sales-chart-svg .compare-dot{fill:#242b2d}.sales-chart-svg .selected-bar{fill:#f2de24}.sales-chart-svg .previous-bar{fill:#9d9d9d}.sales-chart-svg .ratio-bar{fill:#b75b63;opacity:.9}.sales-chart-svg .ratio-line{stroke:#242b2d;stroke-width:2px;fill:none}.sales-chart-legend{color:#666;justify-content:center;align-items:center;gap:18px;padding:0 22px 14px;font-size:11px;display:flex}.sales-chart-legend i{vertical-align:-1px;width:36px;height:11px;margin-right:6px;display:inline-block}.sales-chart-legend .previous{background:#242b2d}.sales-chart-legend .selected{background:#f2de24}.sales-chart-legend .ratio{background:#b75b63}.sales-range{color:#333;padding:0 22px 16px;font-size:12px;font-weight:700}.sales-ratios{border-bottom:1px solid #d9d9d9;grid-template-columns:repeat(3,1fr);gap:30px 42px;padding:18px 32px 28px;display:grid}.sales-ratio{text-align:center;justify-items:center;gap:4px;min-width:0;display:grid}.sales-ratio small{color:#777;text-transform:uppercase;font-size:11px}.sales-ratio strong{color:#444;font-variant-numeric:tabular-nums;font-size:20px;line-height:1.1}.sales-ratio em{color:#ee2144;font-size:12px;font-style:normal}.sales-ratio em.up{color:#2f944f}.sales-lower-grid{grid-template-columns:minmax(620px,1fr) minmax(620px,1fr);align-items:start;gap:18px;margin-top:18px;display:grid}.sales-right-stack{align-items:start;gap:18px;display:grid}.sales-line-svg,.sales-engineering-svg{width:100%;height:auto;min-height:300px;display:block}.sales-line-svg text,.sales-engineering-svg text{fill:#696f70;font-family:inherit;font-size:10px}.sales-line-svg .grid-line,.sales-engineering-svg .grid-line{stroke:#e5e5e5;stroke-width:1px}.sales-line-svg .axis-line,.sales-engineering-svg .axis-line,.sales-engineering-svg .mid-line{stroke:#c7c7c7;stroke-width:1px}.sales-client-line-a{stroke:#e45353;stroke-width:2px;fill:none}.sales-client-line-b{stroke:#00a8ff;stroke-width:2px;fill:none}.sales-client-dot-a{fill:#e45353}.sales-client-dot-b{fill:#00a8ff}.sales-client-legend{color:#666;justify-content:center;align-items:center;gap:16px;padding:0 22px 20px;font-size:11px;display:flex}.sales-client-legend i{vertical-align:-2px;width:48px;height:12px;margin-right:6px;display:inline-block}.sales-client-legend .a{background:#e45353}.sales-client-legend .b{background:#00a8ff}.sales-engineering-meta{color:#444;text-align:center;padding:14px 24px 0;font-size:12px;line-height:1.45}.sales-engineering-meta strong{font-weight:800}.sales-card-tabs{border-bottom:1px solid #ddd;gap:0;padding-left:12px;display:flex}.sales-card-tabs span{color:#ee2144;border:1px solid #0000;border-bottom:0;justify-content:center;align-items:center;min-width:130px;height:40px;font-size:12px;display:inline-flex}.sales-card-tabs span.active{background:#fff;border-color:#ddd;margin-bottom:-1px}.sales-engineering-point{fill:#5e5e5e;opacity:.95}.sales-engineering-point.highlight{fill:#ff5a61}.sales-card-actions{color:#ee2144;justify-content:space-between;padding:0 22px 18px;font-size:12px;display:flex}.sales-mini-card .card-head{min-height:55px}.sales-mini-card.collapsed .card-body{display:none}.month-strip{flex-wrap:wrap;gap:0;padding:12px 16px;display:flex}.month-strip button{color:#333;background:#fff5cd;border:1px solid #e5d18e;min-width:44px;height:28px;font-size:10px}.month-strip button.active{background:#f3d36f;font-weight:700}.map-preview{color:#333;background:linear-gradient(135deg,#6ccbd3,#d6f0ea 48%,#6cae7b 49%,#d5ebbd 62%,#5eb8cc);border:1px solid #c9d8d8;align-items:flex-start;gap:4px;min-height:260px;margin:0 16px 16px;padding:8px;display:flex}.map-preview span{background:#fff;border:1px solid #ddd;padding:4px 8px;font-size:11px}.line,.profit-line{background:linear-gradient(165deg,#0000 49.4%,#283b425c 49.6% 50.2%,#0000 50.4%),repeating-linear-gradient(0deg,#0000 0 39px,#f1f1f1 40px);border-bottom:1px solid #ddd;border-left:1px solid #ddd;height:210px;margin:18px 22px}.modal-search{align-items:center;gap:8px;padding:16px 24px 8px;display:flex}.modal-search input{border:1px solid #d6d6d6;border-radius:3px;width:100%;height:34px;padding:0 10px}.modal-search svg{color:#777;flex:0 0 20px;width:20px;height:20px}.report-filter-list{max-height:380px;padding:0 24px 18px;overflow:auto}.report-filter-list button{color:#333;text-align:left;background:#fff;border-bottom:1px solid #eee;grid-template-columns:24px 1fr auto 24px;align-items:center;gap:8px;width:100%;min-height:34px;display:grid}.report-filter-list button:hover{background:#f4f4f4}.report-filter-list small{color:#777}.report-filter-list svg{flex:0 0 16px;width:16px;height:16px}.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}.purchase-detail-page{color:var(--text);padding:14px 18px 40px}.purchase-detail-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;min-height:54px;margin-bottom:12px;display:flex;position:relative}.purchase-detail-head h2{align-items:center;gap:8px;margin:0 0 8px;font-size:22px;line-height:28px;display:flex}.purchase-detail-head p{color:var(--text-muted);margin:0;font-size:12px}.purchase-detail-menu-wrap,.purchase-supplier-meta{position:relative}.purchase-detail-menu{z-index:12;background:#fff;border:1px solid #283b422e;border-radius:4px;width:292px;max-height:510px;padding:6px 0;position:absolute;top:31px;right:0;overflow:auto;box-shadow:0 12px 30px #0a0a0a29}.purchase-detail-menu button{text-align:left;color:#333;background:#fff;align-items:center;gap:9px;width:100%;min-height:28px;padding:0 12px;font-size:12px;display:flex}.purchase-detail-menu button:hover{background:#f5f3ec}.purchase-order-card{border:1px solid var(--line);background:#fffdf8;border-radius:4px;overflow:visible;box-shadow:0 1px 2px #0000000a}.purchase-order-card>header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;min-height:46px;padding:0 16px;display:flex}.purchase-order-card>header>div{align-items:center;gap:8px;display:flex}.round-count{color:#fff;background:#d95454;border-radius:50%;place-items:center;width:18px;height:18px;font-size:10px;font-weight:700;display:inline-grid}.purchase-order-filters{border-bottom:1px solid var(--line-soft);grid-template-columns:1fr 1fr 36px;gap:6px;padding:8px 10px;display:grid}.purchase-order-filters input{background:#fff;border:1px solid #283b4229;border-radius:3px;width:100%;height:30px;padding:0 9px}.purchase-order-filters button{background:#fff;border:1px solid #283b4229;border-radius:3px}.purchase-order-total{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;min-height:38px;padding:0 16px;font-size:12px;display:flex}.purchase-supplier-block{border-bottom:1px solid var(--line);background:#f0f0f0}.purchase-supplier-block>header{justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:9px 16px;display:flex;position:relative}.purchase-supplier-title{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.purchase-status{color:#fff;background:#d6c0a6;border-radius:50%;place-items:center;width:18px;height:18px;display:inline-grid}.purchase-status.ok{background:#5aa565}.purchase-status.pending{background:#c0a880}.purchase-supplier-meta{align-items:center;gap:8px;display:flex}.purchase-supplier-state{color:#555;flex-wrap:wrap;gap:16px;padding:0 16px 10px 36px;font-size:11px;display:flex}.purchase-lines-table{border-collapse:collapse;background:#fffdf8;width:100%;font-size:12px}.purchase-lines-table th{color:#777;text-transform:uppercase;border-bottom:1px solid var(--line);height:30px;font-size:10px;font-weight:400}.purchase-lines-table td{vertical-align:top;border-bottom:1px solid #ededed;min-height:42px;padding:8px}.purchase-lines-table td:first-child{text-align:center;color:#5aa565;width:28px}.purchase-line-product{text-align:left;color:#222;background:0 0;font-weight:700;display:block}.purchase-line-product small,.purchase-lines-table small{color:#777;margin-top:3px;font-size:10px;font-weight:400;display:block}.purchase-empty-lines,.purchase-empty-cell{color:#777;background:#fffdf8;padding:18px}.purchase-picker{background:#f3f3f3;grid-template-rows:auto minmax(0,1fr) 60px;max-height:calc(100vh - 128px);display:grid}.purchase-picker .modal-search{padding:14px 18px 8px}.purchase-picker-list{padding:0 18px 12px;overflow:auto}.purchase-picker-list button{text-align:left;color:#333;background:#fff;border-bottom:1px solid #ececec;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:36px;padding:0 8px;display:grid}.purchase-picker-list button:hover{background:#f5f3ec}.purchase-picker-list em{color:#777;background:#e9e5d8;border-radius:8px;padding:1px 6px;font-size:10px;font-style:normal}.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-count-editor{width:100%;min-width:0;overflow-x:auto}.inventory-count-editor .detail-table{background:#fffdf8;min-width:520px;margin-bottom:8px}.inventory-count-editor .detail-table th,.inventory-count-editor .detail-table td{padding:6px}.inventory-count-editor .detail-table th:first-child{width:52%}.inventory-count-editor input{width:100%;max-width:none}.inventory-count-editor input[name^=itemQuantity_]{min-width:100px}.inventory-count-editor input[name^=itemUnit_]{min-width:76px}.inventory-count-editor>button{color:#283b42;background:#fff;border:1px solid #c9c9c9;min-height:30px;padding:0 10px}.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 textarea{color:#444;resize:vertical;background:#fff;border:1px solid #d4d4d4;border-radius:4px;width:min(760px,100%);min-height:88px;padding:9px 10px}.warehouse-form-row .is-required{background:#efd5d0;border-color:#ee9c45}.warehouse-form-row small{color:#777;margin-top:5px;font-size:10px;display:block}.settings-fieldset{background:#fff;border:1px solid #ddd;border-left:0;border-right:0;margin:0 0 6px;padding:0}.settings-fieldset summary{color:#444;cursor:pointer;justify-content:space-between;align-items:center;min-height:36px;padding:0 13px;font-weight:700;display:flex}.settings-fieldset summary::marker{color:var(--accent)}.settings-fieldset .warehouse-form-row{padding:0 13px 7px 0}.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}.assignment-modal{width:min(1200px,100vw - 56px);height:min(720px,100vh - 68px)}.assignment-workspace{background:#f3f3f3;grid-template-rows:minmax(0,1fr) 60px;height:100%;display:grid}.assignment-columns{grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);gap:18px;min-height:0;padding:22px;display:grid;overflow:hidden}.assignment-pane{grid-template-rows:auto 36px 36px minmax(0,1fr);gap:8px;min-height:0;display:grid}.assignment-pane h3{text-transform:uppercase;color:#56676a;margin:0;font-size:13px}.assignment-list{background:#fff;border:1px solid #d8d8d8;min-height:0;overflow:auto}.assignment-row{border-bottom:1px solid #ececec;grid-template-columns:minmax(0,1fr) 74px;align-items:center;gap:10px;min-height:56px;padding:8px 10px;display:grid}.assignment-row strong{color:#222;font-size:12px;line-height:16px;display:block}.assignment-row small{color:#777;margin-top:2px;font-size:11px;display:block}.assignment-row button,.assignment-actions button{color:#243d42;background:#fff;border:1px solid #c9d2c9;border-radius:4px;height:30px;font-size:11px;font-weight:700}.assignment-row button[data-action=assignment-add]{color:#fff;background:#4caa58;border-color:#4caa58}.assignment-actions{align-content:center;gap:10px;display:grid}.assignment-actions button{text-transform:uppercase}.assignment-footer{border-top:1px solid #cfcfcf}.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,.header-selector-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,.header-selector-menu button{color:var(--text)}.account-menu button:hover,.menu-item:hover,.planning-options-menu button:hover,.header-selector-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;gap:8px;transition:background .16s,color .16s,box-shadow .16s;position:relative}.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{color:#f7f5efe0;stroke-width:1.55px;filter:drop-shadow(0 8px 16px #00000029);background:linear-gradient(#f7f5ef1a,#f7f5ef06);border:1px solid #f7f5ef38;border-radius:12px;width:30px;height:30px;padding:5px;transition:background .16s,border-color .16s,color .16s,transform .16s,filter .16s}.module-tab:hover svg{color:#fff;filter:drop-shadow(0 10px 18px #0003);background:linear-gradient(#c0a8802e,#f7f5ef0d);border-color:#c0a8807a;transform:translateY(-1px)}.module-tab.active svg{color:var(--brand-primary-dark);filter:none;background:#ffffffb8;border-color:#c0a8809e;box-shadow:inset 0 0 0 1px #ffffff5c,0 10px 24px #283b421f}.module-tab span{letter-spacing:.01em;font-weight:700}.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,.bulli-copy,.module-guide,.product-card-body p{color:var(--text-muted)}.dash-card,.summary-card,.control-panel,.report-card,.info-panel,.planning-card,.product-card,.detail-item,.modal{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}.supplier-sheet{color:var(--text);padding-bottom:32px}.supplier-sheet-header h2 svg{width:22px;height:22px;color:var(--brand-primary)}.supplier-summary-line{border-bottom:1px solid var(--line-soft);min-height:48px;color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:10px;padding:8px 14px;font-size:12px;display:flex}.supplier-detail-grid{grid-template-columns:minmax(520px,1.2fr) minmax(420px,.9fr);align-items:start;gap:16px;padding:16px;display:grid}.supplier-card,.supplier-card>header{position:relative}.supplier-section-menu{min-width:330px;max-height:420px;top:40px;right:20px;overflow-y:auto;gap:0!important;display:grid!important}.supplier-card-body{padding:0}.supplier-tools{grid-template-columns:1fr 34px 34px;padding:10px}.supplier-table{border-collapse:collapse;width:100%;font-size:12px}.supplier-table th{height:28px;color:var(--text-muted);text-transform:uppercase;border-bottom:1px solid var(--line-soft);padding:0 12px;font-size:10px}.supplier-table td{vertical-align:middle;border-bottom:1px solid #283b4217;height:38px;min-height:38px;padding:8px 12px}.supplier-table td strong{font-weight:750;display:inline-block}.supplier-table td small{color:var(--text-muted);margin-top:3px;font-size:10px;display:block}.supplier-table button{width:auto;height:auto;color:var(--brand-primary)}.supplier-table .notice-icon{vertical-align:-2px;margin-right:8px}.supplier-chart-row{grid-template-columns:190px 1fr;align-items:center;gap:18px;padding:18px 20px;display:grid}.supplier-pie{border-radius:50%;width:168px;height:168px;box-shadow:inset 0 0 0 1px #00000014}.supplier-chart-list{color:var(--text-muted);gap:7px;font-size:11px;display:grid}.supplier-chart-list span{grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.supplier-chart-list i{background:var(--brand-accent);border-radius:50%;width:9px;height:9px}.supplier-bars{border-left:1px solid var(--line);border-bottom:1px solid var(--line);background:repeating-linear-gradient(0deg,#0000 0 35px,#283b4214 36px);align-items:end;gap:8px;height:180px;margin:14px 18px;padding:8px 8px 0;display:flex}.supplier-bars span{background:var(--brand-primary);flex:1;min-width:8px;position:relative}.supplier-bars.wide span{background:var(--success)}.supplier-bars em{color:var(--text-muted);font-size:10px;font-style:normal;position:absolute;bottom:-20px;left:50%;transform:translate(-50%)}.supplier-simple-list{display:grid}.supplier-simple-list div{border-bottom:1px solid #283b4214;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:8px 14px;display:grid}.supplier-simple-list svg{width:16px;height:16px;color:var(--brand-primary)}.supplier-simple-list button{border:1px solid var(--line);border-radius:4px;width:auto;height:30px;padding:0 12px}.supplier-action-form{background:#f2f2f2}.supplier-transaction-form .supplier-form-scroll{padding:18px 22px 28px}.supplier-transaction-head{border-bottom:1px solid var(--line-soft);grid-template-columns:1.2fr 1fr 1fr auto 170px 100px;align-items:center;gap:10px;padding-bottom:16px;display:grid}.supplier-transaction-head input{background:#fff;border:1px solid #d4d4d4;border-radius:4px;height:34px;padding:0 10px}.transaction-lines{background:#fff;margin-top:16px}.transaction-lines input{border:1px solid #ddd;border-radius:3px;width:100%;min-width:70px;height:30px;padding:0 8px}.supplier-form-toolbar{flex-wrap:wrap;gap:8px;padding:14px 0 0;display:flex}.supplier-form-toolbar button{border:1px solid var(--line);background:#fff;border-radius:4px;min-height:32px;padding:0 10px}@media (max-width:1120px){.supplier-detail-grid{grid-template-columns:1fr}.supplier-transaction-head{grid-template-columns:1fr 1fr}}.card-head button,.summary-card button,.table-tools button,.more-link,td em,.counter-row em{color:var(--brand-primary)}.summary-card button svg,.table-tools button svg,.report-select svg,.report-menu-anchor>button svg,.control-menu-anchor>button svg,.dashboard-card-menu button svg{flex:0 0 17px;width:17px;height:17px}.summary-card button{place-items:center;width:28px;height:28px;display:grid;overflow:hidden}.table-card td,.report-card td{vertical-align:middle;height:38px;line-height:18px}.table-card td em,.report-card td em,.row-open-link{color:var(--brand-primary);vertical-align:middle;align-items:center;gap:5px;font-style:normal;font-weight:700;display:inline-flex}.table-card td em svg,.report-card td em svg,.table-card td button svg,.report-card td button svg,.row-open-link svg{flex:0 0 16px;width:16px;height:16px}.table-card td button,.report-card td button{width:26px;height:26px;color:var(--brand-primary);place-items:center;display:inline-grid}.row-open-link{text-align:left;background:0 0;border:0;width:auto;height:auto;padding:0}.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)}.notice-icon.stock{background:var(--brand-accent)}.notice-icon.price-down{background:#20964b}.notice-icon.price-up{background:#d83f50}.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}.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}.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}.brand{gap:12px;width:226px}.brand-seal,.app-logo-seal,.auth-logo-seal{box-shadow:none;background:0 0;border:0;flex:none;place-items:center;display:inline-grid;position:relative;overflow:hidden}.brand-seal img,.app-logo-seal img,.auth-logo-seal img{object-fit:contain;object-position:center;clip-path:none;width:100%;height:100%;display:block;transform:none}.brand-seal{border-radius:0;width:36px;height:36px}.brand-wordmark strong{letter-spacing:.01em;font-size:19px}.brand-wordmark em{font-size:15px}.app-logo{align-items:center;gap:14px;min-width:292px;min-height:66px;padding:4px 0}.app-logo-seal{width:62px;height:56px;box-shadow:none;border-radius:0}.app-logo-text{grid-template-columns:auto auto;align-items:baseline;gap:1px 7px;line-height:1;display:grid}.app-logo-text strong{letter-spacing:.01em;font-size:26px;font-weight:650}.app-logo-text em{font-size:18px;font-style:normal}.app-logo-text small{color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;grid-column:1/-1;margin-top:4px;font-size:10px;font-weight:700}.auth-backdrop{background:radial-gradient(circle at 18% 18%,#c0a88033,#0000 30%),radial-gradient(circle at 82% 78%,#283b4257,#0000 34%),linear-gradient(135deg,#f7f5ef 0%,#e7e4d9 42%,#d7d5cc 100%);place-items:center;min-height:100vh;padding:32px;display:grid}.auth-shell{background:#f7f5eff0;border:1px solid #c0a8806b;border-radius:26px;grid-template-columns:minmax(320px,.92fr) minmax(360px,1fr);width:min(980px,100vw - 48px);min-height:560px;display:grid;overflow:hidden;box-shadow:0 34px 80px #1d2d3338,inset 0 1px #ffffffa3}.auth-brand-panel{color:#f7f5ef;background:radial-gradient(circle at 24% 16%,#c0a88047,#0000 34%),linear-gradient(155deg,#283b42 0%,#1d2d33 74%);flex-direction:column;justify-content:space-between;gap:28px;padding:42px;display:flex;position:relative}.auth-brand-panel:after{content:"";filter:blur(2px);pointer-events:none;background:#c0a8801c;border-radius:999px;height:240px;position:absolute;inset:auto -12% -18% 26%}.auth-brand-mark{z-index:1;align-items:center;gap:16px;display:flex;position:relative}.auth-logo-seal{width:78px;height:70px;box-shadow:none;border-radius:0}.auth-brand-word{gap:4px;line-height:1;display:grid}.auth-brand-word strong{letter-spacing:.01em;font-size:30px;font-weight:650}.auth-brand-word strong em{color:var(--brand-accent);font-style:normal;font-weight:500}.auth-brand-word small,.auth-copy-eyebrow,.auth-kicker{color:#f7f5efad;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:700}.auth-brand-copy{z-index:1;gap:18px;max-width:360px;display:grid;position:relative}.auth-brand-copy h1{color:#fffaf0;letter-spacing:0;margin:0;font-size:38px;font-weight:650;line-height:1.02}.auth-brand-copy p{color:#f7f5efc7;margin:0;font-size:14px;line-height:1.7}.auth-mini-metrics{z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid;position:relative}.auth-mini-metrics span{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff0e;border:1px solid #c0a88047;border-radius:16px;align-content:center;gap:5px;min-height:72px;padding:12px;display:grid}.auth-mini-metrics strong{color:#fffaf0;font-size:18px}.auth-mini-metrics small{color:#f7f5efad;font-size:10px;line-height:1.25}.auth-panel{background:linear-gradient(#ffffff6b,#0000 42%),#f7f5eff0;align-content:center;padding:44px 46px;display:grid}.auth-card{gap:24px;display:grid}.auth-card-head{gap:9px;display:grid}.auth-card-head h2{color:var(--brand-primary-dark);letter-spacing:0;margin:0;font-size:28px;line-height:1.12}.auth-card-head p{color:var(--text-muted);margin:0;font-size:14px;line-height:1.6}.auth-form{grid-template-columns:1fr;gap:15px;padding:0;display:grid;overflow:visible}.auth-field{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;gap:7px;font-size:11px;font-weight:800;display:grid}.auth-field input{height:48px;color:var(--text-main);background:#fffdfa;border:1px solid #283b422e;border-radius:13px;padding:0 15px;font-size:14px;box-shadow:inset 0 1px #fffc}.auth-field input:focus{border-color:#283b429e;outline:none;box-shadow:0 0 0 4px #283b421a}.auth-support-row{color:var(--text-muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.auth-support-row label{color:var(--text-muted);align-items:center;gap:8px;font-size:12px;display:inline-flex}.auth-support-row input{accent-color:var(--brand-primary)}.auth-link{color:var(--brand-primary);border-bottom:1px solid #c0a8808c;font-weight:800;text-decoration:none}.auth-link:hover{color:var(--brand-primary-dark);border-bottom-color:var(--brand-primary)}.auth-submit{background:var(--brand-primary);border-color:var(--brand-primary-dark);color:#fff;border-radius:14px;justify-content:center;width:100%;height:48px;font-weight:850;box-shadow:0 14px 24px #283b422e}.auth-submit:hover{background:var(--brand-primary-dark)}.auth-secondary{width:100%;height:44px;color:var(--brand-primary);background:0 0;border:1px solid #283b422e;border-radius:14px;justify-content:center;font-weight:800}.auth-message{color:var(--text-muted);background:#eae9e3a8;border:1px solid #283b421f;border-radius:14px;padding:12px 14px;font-size:13px;line-height:1.5}.auth-message.error{color:#7e2e29;background:#a5413a14;border-color:#a5413a47}.auth-message.success{color:var(--brand-primary-dark);background:#283b4214;border-color:#283b4238}.auth-footnote{color:var(--text-muted);font-size:12px;line-height:1.55}@media (max-width:820px){.auth-backdrop{place-items:start center;padding:18px;overflow:auto}.auth-shell{border-radius:20px;grid-template-columns:1fr;width:100%;min-height:auto}.auth-brand-panel{gap:20px;padding:24px}.auth-logo-seal{width:64px;height:58px}.auth-brand-copy{gap:12px}.auth-brand-copy h1{font-size:28px}.auth-brand-copy p{font-size:13px;line-height:1.55}.auth-panel{padding:30px 24px}.auth-mini-metrics{grid-template-columns:1fr}.auth-mini-metrics span{min-height:58px}}.employee-rating{align-items:center;gap:4px;display:inline-flex}.employee-rating label{color:#5b6668;cursor:pointer;align-items:center;gap:2px;width:auto;min-width:0;font-size:18px;line-height:1;display:inline-flex}.employee-rating input{opacity:0;pointer-events:none;position:absolute}.employee-rating label:has(input:checked){color:#c0a880}@media (max-width:1250px){body{overflow:hidden}.app-shell{width:100vw;min-width:0;max-width:100vw;height:100dvh;overflow:hidden}.topbar,.module-nav{scrollbar-width:thin;-webkit-overflow-scrolling:touch;width:100%;min-width:0;max-width:100vw;overflow:auto hidden}.topbar{align-items:stretch}.main-tabs,.module-nav{flex-wrap:nowrap}.main-tab,.module-tab,.account-area{flex:none}.workspace{grid-template-columns:minmax(280px, min(var(--sidebar), 42vw)) minmax(0, 1fr);min-width:0}.content,.content-inner,.info-panel{min-width:0}}@media (max-width:820px){.app-shell{grid-template-rows:54px 74px 1fr}.topbar{gap:8px;padding:0 8px}.brand{gap:9px;width:184px}.brand-wordmark strong{font-size:17px}.brand-wordmark em{font-size:13px}.main-tab{width:88px}.module-tab{gap:5px;width:112px;padding:8px 5px}.module-tab svg{width:27px;height:27px;padding:4px}.workspace{grid-template-columns:0 minmax(0,1fr)}.workspace:not(.collapsed){grid-template-columns:minmax(280px,84vw) minmax(0,1fr)}.content-inner{padding:18px 14px 38px}}
