.modal-box{width:min(1100px,100%);max-height:90vh;overflow:auto}
.modal-box.modal-wide{width:min(1600px,calc(100vw - 40px));}
.project-detail-table{min-width:620px}
.project-detail-table th,.project-detail-table td{white-space:nowrap}
.table-pager{display:flex;justify-content:space-between;align-items:center;padding:14px 2px;color:var(--muted);font-size:12px}.table-pager>div{display:flex;align-items:center;gap:10px}.table-pager button:disabled{opacity:.45;cursor:not-allowed}.page-number{font-weight:600;color:var(--ink)}
@media(max-width:560px){.table-pager{align-items:flex-start;gap:10px;flex-direction:column}.table-pager>div{width:100%;justify-content:space-between}}
.wf-section{margin-top:20px}
.wf-toolbar{align-items:center;flex-wrap:wrap}
.wf-toolbar input[type=month]{width:170px;max-width:170px}
.wf-toolbar select{min-width:140px}
.wf-check{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap}
.wf-check input{width:auto;max-width:none}
.wf-stats .value{font-size:25px}
.wf-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px;color:var(--muted);font-size:12px}
.wf-pager button:disabled{opacity:.45;cursor:not-allowed}
.rockpile-panel{margin:20px 0}
.rockpile-panel .panel-head{gap:16px;align-items:flex-start}
.rockpile-panel .panel-head .sub{margin:5px 0 0}
.rockpile-scroll{overflow-x:auto;max-width:100%;border-bottom:1px solid var(--line)}
.rockpile-svg{display:block;max-width:none;height:auto}
.rockpile-legend{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;margin-top:16px;color:var(--muted);font-size:11px}
.rockpile-legend span{display:inline-flex;align-items:center;gap:6px;max-width:220px}
.rockpile-legend i{display:inline-block;width:15px;height:9px;border-radius:2px;flex:none}
.rockpile-legend .rockpile-capacity,.rockpile-legend .rockpile-scheduled{height:3px;border-radius:0;background:#153d65}
.rockpile-legend .rockpile-scheduled{background:#c45d32}
.rockpile-note{margin:14px 0 0}
.rockpile-details{margin-top:14px}
.rockpile-details summary{cursor:pointer;color:var(--teal);font-size:12px;font-weight:700}
.rockpile-details .panel{box-shadow:none;margin-top:12px;padding:0}
.rockpile-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rockpile-controls label{color:var(--muted);font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}
.rockpile-controls input{width:145px;border:1px solid #d7dfe4;border-radius:6px;padding:7px;background:#fff;color:var(--ink)}
@media(max-width:700px){.wf-toolbar{align-items:stretch}.wf-toolbar input[type=month],.wf-toolbar select{width:100%;max-width:none}.wf-check{padding:8px 0}}
@media(max-width:700px){.rockpile-panel .panel-head{flex-direction:column}.rockpile-controls{width:100%}}
