.people-auto {color:#0759c7!important;font-weight:700;}
.people-manual {color:#c02828!important;font-weight:700;}
.monthly-bar.bar {display:flex;flex-direction:column;justify-content:center;gap:1px;padding:3px 1px;margin:7px 1px;min-width:0;border-radius:4px;}
.monthly-bar small {font-size:10px;font-weight:500;white-space:nowrap;}
.monthly-bar strong,.mobile-work-cell strong {background:#fff;border-radius:3px;padding:1px 4px;font-size:13px;white-space:nowrap;}
.staffing-month-label {display:flex;justify-content:space-between;align-items:center;gap:4px;}
.staffing-month-label small {font-weight:400;font-size:10px;color:#667085;}
.month-auto-button {padding:4px 2px;background:transparent;color:#245ca8;font-size:10px;min-height:25px;}
.month-auto-button:disabled {opacity:.35;}
.people-legend {display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin:8px 0;}
.staffing-person {border:1px solid #d3dfef;border-radius:5px;margin:6px 0;background:#fff;}
.staffing-person summary {display:flex;align-items:center;gap:10px;padding:9px 12px;cursor:pointer;list-style:none;font-size:13px;}
.staffing-person summary strong {flex:0 0 125px;overflow-wrap:anywhere;}
.staffing-person summary span {flex:1;color:#475569;}
.staffing-person summary small {color:#245ca8;white-space:nowrap;font-size:11px;}
.staffing-person[open] summary {border-bottom:1px solid #d3dfef;background:#f2f7ff;}
.staffing-person-editor {padding:12px;}
.staffing-person-editor>label {max-width:240px;}
.staffing-period {display:flex;gap:10px;align-items:end;margin:10px 0;}
.staffing-period label {flex:1;min-width:0;}
.staffing-period button {padding:9px;}
.settings-grid {align-items:start;grid-template-columns:minmax(200px,.7fr) minmax(330px,1.3fr);}
.settings-panel {align-content:start;}
.staff-editor {max-height:min(60vh,600px);overflow:auto;padding:2px;}
.staff-row {display:flex;flex-wrap:nowrap;gap:8px;min-height:52px;}
.staff-row strong {flex:1;min-width:0;overflow-wrap:anywhere;font-size:14px;}
.staff-row-actions {display:flex;gap:4px;}
.staff-row-actions button {padding:6px 9px;}
.staff-drag-handle {cursor:grab;color:#7b8ba5;font-size:20px;user-select:none;touch-action:none;}
.staff-order {color:#687891;font-size:12px;font-weight:400;min-width:20px;}
.staff-row .staff-order {font-weight:400;}
.staff-dragging {opacity:.4;}
.staff-drop-target {outline:2px solid #1767c5;background:#edf5ff;}
.personnel-bar.editable {cursor:grab;touch-action:none;user-select:none;}
.personnel-bar.editable span {padding-left:10px;padding-right:10px;}
.personnel-bar [data-resize] {position:absolute;top:0;bottom:0;width:8px;z-index:1;cursor:ew-resize;}
.personnel-bar [data-resize="start"] {left:0;border-left:3px solid #687d9870;}
.personnel-bar [data-resize="end"] {right:0;border-right:3px solid #687d9870;}
.personnel-bar.band-moving {z-index:8;opacity:.65;overflow:visible;outline:2px solid #2563eb;}
.board-drop-row .personnel-track {outline:2px solid #2563eb;outline-offset:-2px;background:#eff6ff;}
.board-status {font-size:12px;color:#245ca8;min-height:22px;}
.placement-dialog {width:min(520px,94vw);max-height:90vh;padding:22px;border:1px solid #cbd5e1;border-radius:10px;color:#17243a;box-shadow:0 16px 70px #10233b40;}
.placement-dialog::backdrop {background:#14223870;}
.placement-dialog header {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;}
.placement-dialog h3 {font-size:18px;margin:0;}
.placement-dialog label {display:flex;flex-direction:column;gap:6px;font-size:13px;margin:10px 0;}
.placement-dialog fieldset {padding:0;margin:0;border:0;min-width:0;}
.placement-dialog input,.placement-dialog select {width:100%;min-height:40px;border:1px solid #bdcce0;border-radius:5px;padding:7px;background:#fff;color:#17243a;}
.placement-dialog footer {display:flex;justify-content:flex-end;gap:10px;margin-top:16px;}
.placement-error {color:#b91c1c;font-size:13px;}
.band-pending {pointer-events:none;opacity:.9!important;outline:2px dashed #2563eb;z-index:9;}
.band-pending-original {opacity:.25;}
.move-adjust-dialog {width:min(600px,94vw);}
.move-project-name {font-weight:700;margin:0 0 8px;}
.move-adjust-intro {padding:10px 12px;border-radius:5px;background:#eff6ff;font-size:13px;}
.move-adjust-dialog fieldset {border:1px solid #d3dfef;border-radius:6px;padding:8px 12px;}
.move-adjust-dialog legend {font-size:13px;font-weight:700;padding:0 4px;}
.move-adjust-tools {display:flex;flex-wrap:wrap;gap:6px;}
.move-adjust-tools button {font-size:11px;padding:7px 9px;}
.move-project-dates {border:1px solid #d3dfef;border-radius:6px;padding:12px;margin-top:14px;}
.move-project-dates summary {cursor:pointer;font-size:13px;font-weight:700;}
.move-date-status {font-size:13px;color:#0759c7;}
.move-date-status.needs-adjustment {color:#a64b00;}
.local-preview-note {padding:8px 20px;background:#fff7db;border-bottom:1px solid #ead8a0;color:#634c0c;font-size:12px;position:relative;z-index:2;}
.interaction-notice {position:fixed;right:18px;bottom:16px;z-index:10000;max-width:min(600px,calc(100vw - 36px));background:#174279;color:#fff;padding:12px 18px;border-radius:7px;box-shadow:0 3px 18px #10233b30;font-size:13px;pointer-events:none;}
.interaction-notice[hidden] {display:none;}
.undo-action:disabled {opacity:.45;cursor:default;}
@media(max-width:600px){.staffing-person summary{gap:7px;padding:9px 8px;}.staffing-person summary strong{flex-basis:90px;}.staffing-person summary small{font-size:10px;}.staff-row{gap:5px;padding:8px;}.staff-row-actions button{padding:5px 7px;}.staffing-period{gap:6px;flex-wrap:wrap;}.staffing-period label{flex:1 1 125px;}.placement-dialog{padding:16px;}.placement-dialog .two-col{grid-template-columns:1fr;}}
@media(max-width:780px){.settings-grid{grid-template-columns:minmax(0,1fr);}}
@media print{.local-preview-note,.month-auto-button{display:none!important;}.monthly-bar strong{-webkit-print-color-adjust:exact;print-color-adjust:exact;}}
