/* CENTRAL crew directory and weekly timesheets */
#centralCrewDirectory,#centralCrewTimesheets{margin-top:21px}
.ct-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.ct-head h2{font-size:23px;letter-spacing:.045em;margin:7px 0}
.ct-head p{margin:0;max-width:650px}
.ct-list{display:grid;gap:10px}
.ct-person{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:16px 18px;background:#1c1a18;border:1px solid #3c342e;border-radius:13px}
.ct-photo{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;overflow:hidden;background:#453329;color:#f3c6a9;font-weight:800;font-size:22px;border:1px solid #6c4b3b;border-radius:50%}
.ct-photo img{width:100%;height:100%;object-fit:cover}
.ct-person-detail{min-width:180px;flex:1 1 220px;display:grid;gap:4px}
.ct-person-detail strong{font-size:16px}
.ct-person-detail a{font-size:12px;color:#deb89d;overflow-wrap:anywhere}
.ct-person-detail small{font-size:10px;letter-spacing:.08em;color:#a9a29e;text-transform:uppercase}
.ct-field{display:grid;gap:5px;color:#afa5a0;font-size:10px;letter-spacing:.085em;font-weight:700}
.ct-field select{min-width:175px;max-width:260px;color:#eee0d5}
.ct-person .btn{white-space:nowrap}
.ct-footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px}
.ct-upload{display:inline-flex;align-items:center;cursor:pointer}
.ct-error{padding:12px 14px;background:#492321;border:1px solid #ab5448;color:#ffcec1;border-radius:8px}
.ct-weekbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0 19px}
.ct-weekbar strong{font-variant-numeric:tabular-nums;min-width:200px;text-align:center;font-size:14px}
.ct-guidance{max-width:850px;margin-bottom:19px;line-height:1.55}
.ct-scroll{overflow-x:auto;border:1px solid #453a32;border-radius:12px}
.ct-table{width:100%;border-collapse:collapse;min-width:980px;font-size:13px;background:#1c1b19}
.ct-table th{text-align:left;padding:13px 10px;background:#2b2520;color:#e9cbb8;font-size:10px;font-weight:750;letter-spacing:.08em;white-space:nowrap}
.ct-table td{border-top:1px solid #3e3731;padding:12px 10px;vertical-align:middle;font-variant-numeric:tabular-nums}
.ct-table td:first-child{min-width:135px}
.ct-table td:first-child strong{display:block;margin-bottom:5px;white-space:nowrap}
.ct-table td:first-child small{display:block;color:#aaa39d;max-width:180px}
.ct-table input[type=time]{min-width:105px;max-width:127px;padding:11px 6px;color-scheme:dark}
.ct-table select{min-width:92px}
.ct-table input:disabled,.ct-table select:disabled{opacity:.55}
.ct-table td:nth-child(6) strong,.ct-table td:nth-child(7) strong{color:#f3c19f}
.ct-worktoggle{white-space:nowrap;display:flex;align-items:center;gap:6px;color:#dbc8bd}
.ct-worktoggle input{accent-color:#df7048}
.ct-totalbar{display:flex;align-items:center;justify-content:end;gap:20px;flex-wrap:wrap;padding:17px;background:#24201e;border:1px solid #453a32;border-radius:0 0 12px 12px;font-size:12px;color:#cbbcb2;letter-spacing:.04em}
.ct-totalbar strong{margin-left:8px;font-size:20px;color:#f7c39f;font-variant-numeric:tabular-nums}
.ct-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.ct-reset-btn{display:inline-grid;place-items:center;width:32px;height:32px;flex:0 0 32px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#bda99b;font-size:22px;line-height:1;cursor:pointer;transition:color .15s,background .15s,border-color .15s}
.ct-reset-btn:hover{color:#ffb18f;background:#3a2922;border-color:#704637}
.ct-reset-btn:focus-visible{outline:2px solid #df7048;outline-offset:2px}
.ct-reset-btn:disabled{opacity:.45;cursor:wait}
.ct-status{min-height:20px;margin-top:16px;font-size:12px;color:#c3aea1}
@media(max-width:670px){.ct-person{padding:13px}.ct-photo{flex-basis:45px;width:45px;height:45px}.ct-field{flex:1 1 135px}.ct-field select{width:100%;min-width:0}.ct-person>.btn{flex:1}.ct-weekbar strong{order:-1;width:100%;text-align:left}.ct-totalbar{justify-content:space-between;gap:12px}.ct-totalbar strong{font-size:17px}}

/* Timesheets V2: six milestones, independent precall / overtime, no save buttons. */
.ct-head-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.ct-head-actions .btn{min-height:41px;white-space:nowrap}
.ct-days{display:grid;gap:9px}
.ct-day{border:1px solid #4c4036;border-radius:11px;background:#211d1a;overflow:hidden}
.ct-dayhead{display:flex;align-items:center;gap:14px;padding:11px 14px;border-bottom:1px solid #43382f;background:#28221e}
.ct-daytitle{display:flex;align-items:baseline;gap:10px;flex:1;min-width:0}
.ct-daytitle strong{font-size:14px;white-space:nowrap}
.ct-daytitle small{color:#b3a398;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-mode{display:flex;align-items:center;gap:8px;color:#b9a79a;font-size:10px;font-weight:750;letter-spacing:.05em}
.ct-mode select{min-width:90px;min-height:35px;padding:6px 7px;font-size:12px}
.ct-dayhead .ct-reset-btn{width:30px;height:30px;flex-basis:30px;font-size:19px}
.ct-timegrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:12px 14px}
.ct-timefield{min-width:0;display:grid;gap:5px}
.ct-timefield span{font-size:9px;font-weight:800;letter-spacing:.095em;color:#ad9689;white-space:nowrap}
.ct-timefield input[type=time]{min-width:0;width:100%;height:38px;padding:5px 6px;font-size:13px;color-scheme:dark;font-variant-numeric:tabular-nums;background:#171614}
.ct-timefield input:disabled,.ct-mode select:disabled{opacity:.48}
.ct-dayfooter{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:36px;padding:8px 14px;background:#26201d;border-top:1px solid #3c332d}
.ct-metrics{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ct-metrics>span{font-size:10px;color:#bcaa9e;font-weight:700;letter-spacing:.045em;white-space:nowrap}
.ct-metrics strong{margin-left:5px;color:#efbd9c;font-size:14px;font-variant-numeric:tabular-nums}
.ct-save-state{color:#a8c0a7;font-size:10px;min-width:78px;text-align:right}
.ct-save-state.ct-unsaved{color:#ffb3a2;max-width:280px;overflow-wrap:anywhere}
.ct-day.is-off .ct-timegrid{opacity:.58}
.ct-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ct-bottom #ctUndoReset[hidden]{display:none}
.ct-totalbar{border-radius:10px;margin-top:11px;padding:12px 15px;gap:14px}
.ct-totalbar strong{font-size:17px}
.ct-guidance.ct-help{max-width:none}
@media(max-width:980px){
 .ct-timegrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 #centralCrewTimesheets{margin-top:6px}
 .ct-head{margin-bottom:10px}
 .ct-head-actions{width:100%}
 .ct-head-actions .ct-field{flex:1}
 .ct-head-actions .btn{flex:1 1 100%;font-size:12px}
 .ct-dayhead{padding:9px 10px;gap:9px;flex-wrap:wrap}
 .ct-daytitle{flex-basis:100%}
 .ct-daytitle strong{font-size:13px}
 .ct-daytitle small{font-size:10px}
 .ct-mode{margin-left:auto}
 .ct-timegrid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}
 .ct-timefield input[type=time]{min-height:39px;font-size:13px}
 .ct-dayfooter{padding:8px 10px;align-items:start}
 .ct-metrics{gap:6px 12px}
 .ct-metrics>span{font-size:9px}
 .ct-metrics strong{font-size:12px}
 .ct-save-state{font-size:9px;min-width:65px}
 .ct-totalbar{justify-content:space-between}
 .ct-totalbar strong{font-size:14px;margin-left:4px}
}

/* Combined precall and overtime: visible as a distinct total on every device. */
.ct-metrics .ct-additional,.ct-totalbar .ct-additional{
 border-left:1px solid #745643;padding-left:14px;color:#f3c9a8;font-weight:800
}
.ct-metrics .ct-additional strong,.ct-totalbar .ct-additional strong{color:#ffe2bb}
.ct-totalbar .ct-additional{white-space:nowrap}
@media(max-width:600px){
 .ct-metrics .ct-additional{padding-left:9px}
 .ct-totalbar .ct-additional{padding-left:9px}
}


/* Long label on desktop, shortened label only inside compact native toolbar. */
.ct-copy-short{display:none}
.ct-copy-full{display:inline}
