.material-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:12px 0}
.material-chip{background:#f0f2ee;color:#617060;border:1px solid #dfe5db;text-align:left;border-radius:6px;padding:7px 8px;line-height:1.3;min-height:48px}
.material-chip>span{display:block;font-size:10px;font-weight:500;margin-bottom:3px}.material-chip>b{display:block;font-size:11px}.material-chip small{color:inherit;font-size:9px;margin-top:3px}
.material-chip.ordered{background:#e8f1f8;border-color:#cddfe9;color:#326781}.material-chip.received{background:#e4f2e4;border-color:#c9e0c7;color:#347143}.material-chip.partial,.material-chip.check{background:#fff2d6;border-color:#efdaa6;color:#87601c}.material-chip.missing,.material-chip.conflict{background:#fbe9df;border-color:#f0d0bf;color:#a34d2e}.material-chip:hover{outline:1px solid currentColor}
.weekly-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.weekly-toolbar button{font-size:12px}.weekly-toolbar span{font-size:11px;color:#647569;flex:1}
.weekly-scroll{overflow:auto;max-height:calc(100vh - 330px);min-height:380px;scrollbar-color:#abc2af #edf1e8;padding-bottom:10px}
.weekly-board{display:flex;align-items:stretch;gap:14px;width:max-content;min-width:100%}
.weekly-column{width:350px;flex:0 0 350px;border:1px solid #d5dfd2;border-radius:11px;background:#edf0e7;overflow:visible}.weekly-column.current{border-color:#88aa90}.weekly-column.backlog{border-color:#d6a484;background:#f7ede5}
.weekly-heading{position:sticky;top:0;z-index:2;padding:15px;background:#fff;border-radius:10px 10px 0 0;border-bottom:1px solid #d5dfd2}.weekly-heading h2{font-size:17px;margin:0 0 5px}.weekly-heading small{font-size:11px;color:#6e7f70}.weekly-heading>div{font-size:11px;margin-top:12px;color:#637460}.weekly-heading strong{font-size:18px;color:#254f3b;margin-right:3px}.weekly-heading b{color:#a05d32}
.weekly-items{display:grid;gap:9px;padding:9px}.weekly-items .priority-card{padding:14px;border-radius:7px;box-shadow:none;min-width:0}.weekly-items .priority-card h2{font-size:14px;line-height:1.4}.weekly-items .priority-reason{font-size:11px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.weekly-items .priority-owner{display:none}.weekly-items .priority-case{margin:10px 0}.weekly-items .priority-case span{font-size:12px}.weekly-items .priority-card-footer{margin-top:12px;gap:9px}.weekly-items .priority-card-footer button{font-size:11px;padding:9px}.weekly-items .priority-card-footer small{font-size:9px}.weekly-items .priority-card-footer b{font-size:12px}.weekly-items .priority-no-date{font-size:11px}.weekly-items .priority-badge{font-size:9px}
.weekly-empty{font-size:12px;color:#75816e;padding:20px 12px;text-align:center}.weekly-more{width:100%;font-size:12px;background:#fff;border:1px dashed #9cb798}.weekly-order{padding:13px;background:white;border:1px solid #dce4d8;border-radius:7px}.weekly-order-head{display:flex;justify-content:space-between;gap:10px}.weekly-order-head .reference{padding:0;background:none;color:#1f7060;font-weight:750;font-size:16px}.weekly-order-head>strong{font-size:13px}.weekly-order h3{font-size:13px;margin:8px 0}.weekly-order>button{width:100%;font-size:12px}.weekly-stages{display:grid;grid-template-columns:1fr 1fr;gap:7px}.weekly-stages>div{padding:7px;background:#f5f6f1;border-radius:5px}.weekly-stages b{display:block;font-size:10px;margin-bottom:4px}.weekly-stages .workshop-stage{min-width:0;max-width:none;width:100%}.weekly-stages .stage-choice{font-size:10px;min-height:33px;padding:5px}.weekly-stages .stage-feedback{font-size:9px}
#material-status{max-width:1100px}.material-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#6b7c6b;margin:10px 0}.material-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.material-legend .ordered{background:#4e90b3}.material-legend .received{background:#54955a}.material-legend .partial{background:#d1a13b}.material-legend .unknown{background:#9ca594}
@media(max-width:700px){.weekly-column{width:320px;flex-basis:320px}.weekly-toolbar span{flex-basis:100%}.weekly-scroll{max-height:70vh}.priority-switch{flex-wrap:wrap;max-width:100%}.priority-switch button{font-size:11px}.weekly-stages .stage-choice{min-height:44px}.material-chip{min-height:49px}}
.weekly-toolbar[hidden],.weekly-scroll[hidden],.weekly-classic[hidden],.dept-footer>div[hidden]{display:none}.weekly-classic{min-width:0;overflow:auto}.weekly-order .plan-shortcuts{margin-top:12px}.weekly-order .calendar-action{font-size:14px;color:#294f3b;line-height:1.5}.weekly-order .calendar-basis{font-size:10px;color:#75836d}.weekly-order .portal-tag{margin-bottom:8px}
#content:has(#weekly-toolbar) .dept-heading{margin-bottom:12px}#content:has(#weekly-toolbar) .dept-heading h1{font-size:26px;margin:5px 0}#content:has(#weekly-toolbar) .dept-heading p{margin:6px 0}#content:has(#weekly-toolbar) .priority-guide{padding:8px 12px;margin-bottom:12px;font-size:11px}#content:has(#weekly-toolbar) .priority-viewbar{margin-bottom:12px}#content:has(#weekly-toolbar) .priority-switch button{padding:8px 14px;font-size:12px}#content:has(#weekly-toolbar) .dept-kpis{margin-bottom:12px}#content:has(#weekly-toolbar) .dept-kpi{padding:10px 14px}#content:has(#weekly-toolbar) .dept-kpi b{font-size:25px}#content:has(#weekly-toolbar) .dept-controls{margin-bottom:8px}#content:has(#weekly-toolbar) .weekly-toolbar{margin:8px 0}#content:has(#weekly-toolbar) .dept-filters{margin-bottom:8px}#content:has(#weekly-toolbar) .dept-explanation{margin:5px 2px 9px}#content:has(#weekly-toolbar) .priority-source-warning{padding:9px 12px;margin-bottom:9px}
