/* HaulFoundry schedule overview v1 — isolated from the live daily board. */
#dispatch.hfsp-planning > :not(#hfScheduleRoot){display:none !important}
#hfScheduleRoot{margin:0 0 18px;color:var(--ink,#f4f7ff)}
.hfsp-panel{border:1px solid var(--line,rgba(153,181,222,.2));background:var(--panel,#101d31);border-radius:16px;padding:17px}
.hfsp-header,.hfsp-nav,.hfsp-actions,.hfsp-metrics{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hfsp-header h3{margin:0;font-size:19px}
.hfsp-sub{font-size:12px;color:var(--muted,#a9b9d1);line-height:1.5}
.hfsp-modes{display:inline-flex;gap:4px;background:rgba(92,136,192,.11);border:1px solid var(--line,rgba(153,181,222,.2));border-radius:10px;padding:4px}
.hfsp-mode{border:0;background:transparent;color:inherit;border-radius:7px;min-height:35px;padding:6px 15px;font-weight:700;cursor:pointer}
.hfsp-mode[aria-pressed="true"]{background:#2a5a91;color:white}
.hfsp-nav{margin:14px 0 12px;justify-content:flex-start}
.hfsp-nav input{color:inherit;background:#0c192c;border:1px solid var(--line,rgba(153,181,222,.2));padding:9px;border-radius:8px;max-width:170px}
.hfsp-nav button,.hfsp-actions button,.hfsp-export button{background:#182b47;border:1px solid #426187;color:#f1f6ff;border-radius:8px;padding:9px 12px;cursor:pointer}
.hfsp-nav .hfsp-title{font-size:16px;font-weight:700;min-width:200px}
.hfsp-metrics{justify-content:flex-start;margin:8px 0 13px}
.hfsp-stat{background:#12243d;border:1px solid #253c5b;border-radius:9px;padding:10px 13px;min-width:100px}
.hfsp-stat b{font-size:20px;display:block}.hfsp-stat small{font-size:11px;color:#aebed4}
.hfsp-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.hfsp-date{min-width:0;min-height:79px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;padding:10px 8px;border:1px solid #304968;border-radius:10px;background:#101f36;color:#f4f7ff;cursor:pointer}
.hfsp-date.is-selected{border-color:#7fc6ff;background:#153858;box-shadow:inset 0 0 0 1px #7fc6ff}
.hfsp-date.is-empty{opacity:.7}.hfsp-date.is-other-month{opacity:.35}
.hfsp-date .hfsp-dayname{font-size:11px;color:#9eafc7}.hfsp-date strong{font-size:16px}.hfsp-date .hfsp-count{font-size:11px}.hfsp-date .hfsp-alert{font-size:10px;color:#ffb4a8}
.hfsp-month-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:12px 0 6px;color:#a9bed5;font-size:11px;text-align:center}
.hfsp-actions{justify-content:flex-start;margin:13px 0}
.hfsp-export{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #304968;padding-top:13px}
.hfsp-export button{background:#205b90;border-color:#5087b3;font-weight:650}
.hfsp-export button:disabled{opacity:.4;cursor:not-allowed}
.hfsp-export-status{font-size:12px;color:#9ebad5}
.hfsp-table-wrap{overflow:auto;margin-top:13px;max-height:390px;border:1px solid #304968;border-radius:10px}
.hfsp-table{width:100%;min-width:730px;border-collapse:collapse;font-size:12px}
.hfsp-table th,.hfsp-table td{padding:9px 8px;border-bottom:1px solid #283d58;text-align:left;vertical-align:top}
.hfsp-table th{position:sticky;top:0;background:#182b47;color:#c9ddf4}
.hfsp-bad{color:#ffb0a3}.hfsp-good{color:#9ce8b9}
@media(max-width:700px){.hfsp-panel{padding:11px}.hfsp-header h3{font-size:17px}.hfsp-modes{width:100%;justify-content:space-between}.hfsp-mode{flex:1}.hfsp-days{gap:3px}.hfsp-date{padding:7px 4px;min-height:86px}.hfsp-date strong{font-size:13px}.hfsp-date .hfsp-dayname,.hfsp-date .hfsp-count,.hfsp-date .hfsp-alert{font-size:9px}.hfsp-stat{min-width:78px;padding:8px 9px}.hfsp-stat b{font-size:16px}}

/* Dated dispatch navigation and one-day assignment editor */
.hfsp-day-bar{display:grid;grid-template-columns:34px repeat(7,minmax(0,1fr)) 34px;gap:5px;margin-top:14px}
.hfsp-day-bar>button{min-width:0;border:1px solid #304968;border-radius:8px;color:#f4f7ff;background:#142740;cursor:pointer;min-height:48px}
.hfsp-day-bar .hfsp-day-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
.hfsp-day-tab small{font-size:11px;color:#aebed4}.hfsp-day-tab strong{font-size:16px}.hfsp-day-tab em{font-size:9px;font-style:normal;color:#b3e4ff}
.hfsp-day-bar .hfsp-day-tab.is-active{background:#255d8a;border-color:#95cfff}
.hfsp-dated{margin:10px 0 16px}.hfsp-dated-head h4{margin:0 0 4px}.hfsp-dated-head p{margin:3px 0 12px}
.hfsp-dated-table{min-width:950px}.hfsp-dated-table select{width:100%;min-width:138px;max-width:250px;padding:7px;border-radius:7px;border:1px solid #45688d;background:#132843;color:#f4f7ff}
.hfsp-dated-table button{border:1px solid #45688d;color:#f4f7ff;background:#205b90;padding:7px 9px;border-radius:7px;cursor:pointer;margin:2px 0}
.hfsp-dated-table button[data-hfsp-reset-day]{background:transparent}
.hfsp-status{margin-top:10px;padding:10px;border-radius:8px;border:1px solid #477299;background:#122a47;font-size:12px}
@media(max-width:700px){.hfsp-day-bar{grid-template-columns:24px repeat(7,minmax(0,1fr)) 24px;gap:2px}.hfsp-day-bar>button{min-height:50px;padding:2px}.hfsp-day-tab small{font-size:9px}.hfsp-day-tab strong{font-size:13px}.hfsp-day-tab em{font-size:8px}}
