:root{color:#1f2320;font-synthesis:none;--bee:#f7b500;--bee-dark:#6e4b00;--paper:#fff;--ink:#1f2320;--muted:#687069;--line:#ded9ca;--danger:#bd1e2d;--urgent:#e64a19;--shutdown:#697078;background:#fffaf0;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}body{background:#fffaf0;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit;min-height:44px}button{cursor:pointer;color:var(--ink);background:#fff;border:1px solid #b8b3a5;border-radius:10px;padding:9px 14px}button:hover{border-color:var(--bee-dark)}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #0b73ce}button:disabled{cursor:wait;opacity:.6}input,select{width:100%;color:var(--ink);background:#fff;border:1px solid #aaa69a;border-radius:9px;padding:9px 11px}label{color:#424842;gap:6px;font-size:.9rem;font-weight:650;display:grid}h1,h2,p{margin-top:0}h1{margin-bottom:6px;font-size:clamp(1.75rem,5vw,2.5rem)}h2{margin-bottom:14px;font-size:1.15rem}small,.muted{color:var(--muted)}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:2px solid var(--ink);background:var(--paper);width:min(100%,430px);box-shadow:9px 9px 0 var(--bee);border-radius:22px;padding:clamp(24px,7vw,42px)}.login-card form{gap:16px;margin-top:24px;display:grid}.eyebrow{color:var(--bee-dark);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:800}.brand-mark{background:var(--bee);color:#1e1800;border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:16px;font-size:1.55rem;font-weight:900;display:grid;transform:rotate(-3deg)}.brand-mark.small{border-radius:13px;width:42px;height:42px;margin:0;font-size:1.05rem}.checkbox-line{align-items:center;gap:10px;display:flex}.checkbox-line input,.toggle-row input,.filter-chip input{width:20px;height:20px;min-height:20px}.primary-action{background:var(--bee);color:#231b00;border-color:#a87700;font-weight:800}.app-layout{min-height:100vh}.sidebar{z-index:10;border-right:1px solid var(--line);color:#fff;background:#252820;flex-direction:column;width:250px;padding:22px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 6px 24px;display:flex}.brand div{gap:3px;display:grid}.brand small{color:#c9ccbf;font-size:.72rem}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#eceee6;text-align:left;background:0 0;border-color:#0000;align-items:center;gap:12px;width:100%;display:flex}.sidebar nav button.active{background:var(--bee);color:#211a00;font-weight:800}.sidebar nav button span{text-align:center;width:24px}.account-summary{border-top:1px solid #50544a;gap:4px;margin-top:auto;padding:18px 6px 0;display:grid}.account-summary span{color:#c9ccbf;font-size:.8rem}.account-summary button{color:#fff;background:0 0;margin-top:10px}.content{min-height:100vh;margin-left:250px;padding:32px clamp(24px,5vw,64px) 56px}.bottom-nav{display:none}.page-stack{gap:20px;width:min(100%,1120px);margin:0 auto;display:grid}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.environment-chip{background:#fff;border:1px solid #847b68;border-radius:999px;padding:7px 12px;font-size:.82rem;font-weight:800}.environment-chip.test{color:#125a9c;background:#e8f2ff}.panel{border:1px solid var(--line);background:var(--paper);border-radius:17px;padding:clamp(18px,3vw,28px);overflow:hidden;box-shadow:0 5px 18px #483a1212}.panel.compact{max-width:560px}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading h2{margin-bottom:0}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:16px 0;display:grid}.toggle-row{flex-wrap:wrap;align-items:center;gap:10px 18px;margin:14px 0;display:flex}.toggle-row label{align-items:center;gap:8px;min-height:44px;display:flex}.filter-chip{border:1px solid var(--line);background:#fffdf7;border-radius:999px;padding:8px 13px}.special-toggle{color:#3e2a83;background:#f1edff;border:2px solid #5b43a5;border-radius:10px;padding:8px 12px}.filters{grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:12px 24px;display:grid}.filters h2{grid-column:1/-1;margin-bottom:0}.text-button{color:#5a4300;border:0;text-decoration:underline}.status-banner,.feedback{border-radius:12px;gap:4px;padding:13px 16px;display:grid}.status-banner.pending{border-left:5px solid var(--bee-dark);background:#fff0b9}.status-banner.readonly{background:#edf1f3;border-left:5px solid #5e6b78}.feedback.success{background:#edf8ea;border:1px solid #81a67a}.feedback.error{color:#8b1320;background:#fff0f1;border:1px solid #d86c75}.card-list,.simple-list,.shutdown-list{gap:12px;margin-top:18px;display:grid}.demand-card,.simple-list article,.shutdown-item{border:1px solid var(--line);background:#fff;border-left:5px solid #b9b4a7;border-radius:13px;padding:15px}.demand-card.is-urgent{border-left-color:var(--urgent)}.demand-card.is-overdue{border-color:#df8b94;border-left-color:var(--danger);background:#fff8f8}.card-title{flex-wrap:wrap;justify-content:space-between;gap:8px 16px;display:flex}.badges{flex-wrap:wrap;gap:7px;margin:10px 0;display:flex}.badge{color:#343731;background:#ecebe7;border-radius:999px;padding:4px 8px;font-size:.76rem;font-weight:800}.badge.overdue{color:#a20d1d;background:#ffe0e4}.badge.urgent{color:#b5320d;background:#ffe2d9}.badge.independent{color:#4d3195;background:#eee8ff;border:1px solid #7253c0}.badge.pending{color:#6e4b00;background:#fff0b9}.badge.shutdown{color:#394047;background:#e1e4e6}.badge.inactive{color:#555;background:#eee}.badge.complete{color:#25652c;background:#dff3df}.badge.merged{color:#174f89;background:#dcecff}.badge.no-production{color:#6b5420;background:#ece6d8}dl{flex-wrap:wrap;gap:8px 28px;margin:10px 0;display:flex}dl div{gap:7px;display:flex}dt{color:var(--muted)}dd{margin:0;font-weight:700}.card-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.card-actions .danger,button.danger{color:var(--danger);border-color:#d88b93}.shutdown-item,.simple-list article{justify-content:space-between;align-items:center;gap:15px;display:flex}.shutdown-item{border-left-color:var(--shutdown);background:#f2f3f3}.shutdown-item>div:first-child,.simple-list article>div:first-child{gap:4px;display:grid}.product-record{flex-wrap:wrap}.protected-editor{border-top:1px solid var(--line);flex:1 0 100%;padding-top:16px}.protected-editor h3{margin:0 0 12px;font-size:1rem}.file-input{width:-moz-fit-content;width:fit-content}.feedback.warning{color:#684b00;background:#fff7d9;border:1px solid #c99b27}.stage11-notices{z-index:60;pointer-events:none;gap:8px;display:grid;position:fixed;inset:12px 24px auto 274px}.stage11-notices .feedback{pointer-events:auto;justify-content:space-between;align-items:center;gap:12px;display:flex;box-shadow:0 7px 24px #2f26042e}.stage11-notices .feedback span{flex:1}.exchange-preview{border:1px solid var(--line);background:#fffdf7;border-radius:12px;gap:12px;margin-top:16px;padding:16px;display:grid}.exchange-preview h3,.exchange-preview p{margin:0}.exchange-preview label{grid-template-columns:minmax(0,1fr) minmax(160px,auto);align-items:center;gap:12px;display:grid}.exchange-conflict{border:1px solid var(--line);border-left:5px solid var(--bee-dark);background:#fff;border-radius:11px;gap:10px;padding:13px;display:grid}.exchange-conflict>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:6px 14px;display:flex}.exchange-conflict>div:first-child span{color:var(--muted)}.exchange-conflict dl{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.exchange-conflict dl div{overflow-wrap:anywhere;gap:3px;display:grid}.conflict-result{color:#684b00;background:#fff7d9;border-radius:8px;padding:9px 11px}.exchange-list{color:var(--muted);gap:7px;padding-left:20px;display:grid}.stage8-section{border-top:1px solid var(--line);gap:12px;margin-top:20px;padding-top:20px;display:grid}.stage8-section h3{margin:0;font-size:1rem}.stage9-management-panel code{overflow-wrap:anywhere;font-weight:800}.stage9-management-panel li{overflow-wrap:anywhere;margin-block:8px}.stage10-tools-panel{gap:12px;display:grid}.export-progress{align-items:center;gap:12px;margin:14px 0;display:flex}.export-progress progress{min-height:18px;accent-color:var(--bee-dark);flex:1}.empty-state{text-align:center;align-content:center;place-items:center;min-height:65vh;padding:32px;display:grid}.empty-state p{max-width:520px;color:var(--muted)}.loading{color:var(--muted)}.completion-toolbar{background:#fff8df;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:10px 12px;display:flex}.demand-select-title{align-items:center;gap:10px;display:flex}.select-demand{display:inline-flex}.select-demand input{width:22px;height:22px;min-height:22px}.schedule-toolbar{gap:18px;display:grid}.window-actions,.calculation-actions{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.window-actions label,.calculation-actions label{min-width:170px}.schedule-filters{grid-template-columns:minmax(230px,1fr) auto;align-items:end;gap:16px;display:grid}.schedule-grid-panel{max-width:100%}.schedule-grid-scroll{overscroll-behavior-inline:contain;max-width:100%;overflow-x:auto}.schedule-grid{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:.82rem}.schedule-grid th,.schedule-grid td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;min-width:72px;height:48px;padding:7px}.schedule-grid thead th{z-index:3;background:#fff4ca;position:sticky;top:0}.schedule-grid .sticky-info{z-index:2;text-align:left;background:#fff;min-width:210px;max-width:210px;position:sticky;left:0}.schedule-grid thead .sticky-info{z-index:4;background:#fff4ca}.schedule-grid .batch-info{gap:4px;display:grid}.schedule-grid .batch-info span,.schedule-grid .rework-row small{color:var(--muted);display:block}.schedule-grid .urgent-batch .batch-info{border-left:5px solid var(--urgent)}.schedule-grid .shutdown-column{color:#4c5358;background:#e3e5e6}.schedule-grid th.shutdown-column small{color:#4c5358;display:block}.schedule-grid .source-info{background:#f6f3ea;max-width:none}.schedule-grid .operation-name{padding-left:24px;font-weight:600}.schedule-grid .rework-row .sticky-info{background:#fff7ed;border-left:5px solid #8b5a2b}.section-toggle{text-align:left;width:100%;font-weight:800}.totals-list{gap:10px;margin-top:14px;display:grid}.totals-list article{border-bottom:1px solid var(--line);gap:4px;padding:10px 2px;display:grid}.totals-list article span{color:var(--muted)}.rework-total{border-left:4px solid #8b5a2b;padding-left:12px!important}.history-groups{gap:16px;display:grid}.history-order .section-heading>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.history-order h2{margin:0}.history-entry{border:1px solid var(--line);background:#fff;border-radius:12px;padding:13px}.history-entry summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;display:flex}.history-entry summary span{color:var(--muted)}.merge-relation{background:#eef5ff;border-radius:10px;padding:12px}.merge-relation ul{margin-bottom:0;padding-left:20px}@media (max-width:760px){body{padding-bottom:72px}.sidebar{display:none}.content{margin-left:0;padding:20px 14px 34px}.bottom-nav{z-index:20;border-top:1px solid var(--line);padding:6px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.bottom-nav button{color:#5e645d;background:0 0;border:0;place-items:center;gap:1px;min-height:54px;padding:4px;font-size:.75rem;display:grid}.bottom-nav button span{font-size:1.1rem}.bottom-nav button.active{color:#4e3700;background:#fff0b9;border-radius:12px;font-weight:800}.page-header{align-items:center}.page-header h1{font-size:1.72rem}.form-grid,.filters{grid-template-columns:1fr}.filters h2{grid-column:auto}.panel{border-radius:14px;padding:17px}.card-title,.shutdown-item,.simple-list article{flex-direction:column;align-items:flex-start}.card-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.card-actions button{width:100%}.exchange-preview label,.exchange-conflict dl{grid-template-columns:1fr}.completion-toolbar,.history-entry summary{flex-direction:column;align-items:stretch}.schedule-filters{grid-template-columns:1fr}.schedule-grid .sticky-info{min-width:154px;max-width:154px}.schedule-grid th,.schedule-grid td{min-width:64px}.stage11-notices{inset:8px 10px auto}.stage11-notices .feedback{flex-direction:column;align-items:stretch}}@media (max-width:380px){.content{padding-inline:10px}.panel{padding:14px}.page-header{flex-direction:column;align-items:flex-start}}
