.ui-stock-table .ui-freeze-2{white-space:nowrap!important;overflow-wrap:normal!important;width:max-content;min-width:620px}.ui-stock-table col:nth-child(3){width:620px!important}.wf-case{display:grid;grid-template-columns:105px minmax(160px,1.6fr) 110px 105px 110px minmax(210px,1fr);gap:12px;padding:14px 8px;border-bottom:1px solid #dbe5e4;align-items:center}.wf-case>div{min-width:0;overflow-wrap:anywhere}.wf-case-head{font-size:12px;color:#536b70;background:#eef4f3}.wf-case small{display:block}.wf-attention{color:#9b5417;margin-top:7px}.wf-alert{background:#fff6df;border-left:4px solid #c89633;padding:12px;margin:12px 0}.wf-alert summary{cursor:pointer}.wf-master-list article{display:grid;grid-template-columns:1fr 150px 70px;gap:10px;padding:12px;border-bottom:1px solid #ddd}.wf-gantt{overflow:auto;max-height:72vh;border:1px solid #d1dfdc}.wf-gantt table{border-collapse:collapse;table-layout:fixed;min-width:2200px}.wf-gantt th,.wf-gantt td{width:64px;min-width:64px;height:72px;padding:3px;text-align:center;border:1px solid #e1e8e6}.wf-gantt th:first-child{position:sticky;left:0;width:235px;min-width:235px;background:#f0f6f4;z-index:2;white-space:normal}.wf-gantt th small{display:block;font-size:11px;font-weight:400}.wf-gantt thead th{position:sticky;top:0;background:#edf3f1;z-index:3;height:30px}.wf-gantt thead th:first-child{z-index:4}.wf-connected{background:repeating-linear-gradient(to right,transparent 0,transparent 5px,#a2bab0 5px,#a2bab0 9px) center/100% 2px no-repeat}.wf-point{position:relative;display:block;border:0;border-radius:5px;font-size:10px;padding:5px 2px;white-space:normal;width:100%;margin:3px 0}.wf-planned{background:#d9eaf9;color:#235476}.wf-done{background:#d6ecdc;color:#205a35}.wf-late{background:#ffe0dc;color:#9b3029}.wf-status[data-status="未発注"],.wf-status[data-status="計画"]{background:#dce9fa!important;color:#274e7d!important}.wf-status[data-status="発注済"]{background:#ffebc9!important;color:#81520b!important}.wf-status[data-status="資材連絡済"]{background:#e4def8!important;color:#584087!important}.wf-status[data-status="納品済"]{background:#d5eddf!important;color:#275c3b!important}.wf-status[data-status="キャンセル"]{background:#e3e3e3!important;color:#666!important}.wf-status[data-status="保留"],.wf-status[data-status="分納中"]{background:#ffe0dc!important;color:#922f2f!important}#wfCaseForm table{min-width:0;width:100%;table-layout:fixed}#wfCaseForm td input{width:100%;min-width:0}#wfProfileForm textarea,#wfHolidaysForm textarea{width:100%;font:inherit}.wf-progress table{min-width:0!important;width:100%;table-layout:fixed}.wf-progress td,.wf-progress th{white-space:normal;overflow-wrap:anywhere}@media(max-width:1250px){.wf-case{grid-template-columns:100px minmax(140px,1fr) 100px 95px 100px 200px;gap:7px;font-size:12px}}@media(max-width:950px){.wf-case{grid-template-columns:100px 1fr 100px}.wf-case-head{display:none}.wf-case .ui-case-buttons{grid-column:2/4}}
.wf-case .badge{display:inline-block;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.5}

.wf-gantt .wf-calendar-holiday,.month-calendar .wf-calendar-holiday,.wf-holiday-legend .wf-calendar-holiday{background-color:#f0f0f2}.wf-gantt .wf-nano-holiday,.month-calendar .wf-nano-holiday,.wf-holiday-legend .wf-nano-holiday{background-color:#fff0dc}.wf-holiday-legend{font-size:12px;color:#536b70;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wf-holiday-legend span{padding:5px 9px;border:1px solid #d1dce2;border-radius:4px}.wf-holiday-label{display:block;font-size:10px;font-weight:normal}.wf-product-deliveries td{vertical-align:top}.wf-delivery{overflow-wrap:anywhere}.wf-delivery small{display:block;font-size:9px}.wf-gantt thead th{height:64px}.wf-product-deliveries th{border-bottom:2px solid #6b8c94}

/* Calendar day types: full-column shading and explicit header contrast. */
.wf-gantt td[data-date],.wf-gantt th[data-date],.month-calendar td[data-date]{background-color:#fff;color:#243441}
.wf-gantt .wf-calendar-holiday[data-date],.month-calendar .wf-calendar-holiday[data-date],.wf-holiday-legend .wf-calendar-holiday{background-color:#dce2ea;color:#263443}
.wf-gantt .wf-nano-holiday[data-date],.month-calendar .wf-nano-holiday[data-date],.wf-holiday-legend .wf-nano-holiday{background-color:#ffe0aa;color:#613a06}
.wf-gantt thead th.wf-calendar-holiday[data-date]{background-color:#58677a;color:#fff;border-color:#465469}
.wf-gantt thead th.wf-nano-holiday[data-date]{background-color:#985500;color:#fff;border-color:#794300}
.wf-gantt thead th[data-date]{border-bottom:3px solid #8a97a4;font-size:15px}
.wf-gantt thead th small{color:inherit;font-weight:600}
.month-calendar td[data-date] .calendar-day{padding:5px 7px;border-bottom:2px solid #a3adb8;color:#243441}
.month-calendar .wf-calendar-holiday[data-date] .calendar-day{background-color:#58677a;color:#fff;border-color:#465469}
.month-calendar .wf-nano-holiday[data-date] .calendar-day{background-color:#985500;color:#fff;border-color:#794300}
.wf-holiday-legend{color:#344454}.wf-holiday-legend span{font-weight:700;border-color:#8a97a4}.wf-holiday-legend .wf-business-day{background:#fff;color:#243441}.wf-holiday-label{font-weight:600}
