.shift-reports{color:var(--yt-text);min-width:0;max-width:1200px;margin:0 auto}.shift-reports *{box-sizing:border-box}.shift-reports .panel{padding:var(--yt-s6);margin-bottom:var(--yt-s5);border:1px solid var(--yt-border);border-radius:var(--yt-r3)}.shift-heading{margin-bottom:var(--yt-s6)}.shift-heading h1{margin:var(--yt-s3) 0}.shift-heading p{max-width:75ch;color:var(--yt-text-2)}.shift-actions{display:flex;gap:var(--yt-s3);align-items:center;flex-wrap:wrap}.shift-reports button,.shift-reports select,.shift-reports input{min-height:var(--yt-control,44px);max-width:100%;font:inherit}.shift-reports button{white-space:normal;overflow-wrap:anywhere;padding:10px 16px}.shift-editor{display:grid;gap:var(--yt-s3)}.shift-editor label{display:grid;gap:var(--yt-s2);margin:var(--yt-s4) 0;color:var(--yt-text-2)}.shift-editor textarea,.shift-editor input:not([type=checkbox]),.shift-reports select{width:100%;padding:var(--yt-s3);border:1px solid var(--yt-border-strong);background:var(--yt-bg-raised);color:var(--yt-text);border-radius:var(--yt-r2);font:inherit}.shift-editor textarea{min-height:120px;resize:vertical;line-height:1.6}.shift-save-bar{display:flex;align-items:center;gap:var(--yt-s3);flex-wrap:wrap;padding:var(--yt-s3) 0;margin-bottom:var(--yt-s4);border-block:1px solid var(--yt-border)}.shift-save-bar [role=status]{flex:1 1 220px;color:var(--yt-text-2);font-size:13px}.shift-warning{padding:var(--yt-s4);border-left:3px solid var(--yt-warning);background:rgba(174,124,54,.1);border-radius:var(--yt-r2);margin:var(--yt-s4) 0}.shift-warning p{margin:var(--yt-s2) 0}.shift-prose,.shift-carryover p,.shift-critical p{white-space:pre-wrap;overflow-wrap:anywhere}.shift-report-card header p{color:var(--yt-text-2);font-size:13px}.shift-critical{padding:var(--yt-s4);border-left:3px solid var(--yt-warning);background:rgba(174,124,54,.1);border-radius:var(--yt-r2);margin-bottom:var(--yt-s5)}.shift-critical h3{margin-top:0}.shift-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:var(--yt-s4);margin:var(--yt-s4) 0}.shift-photo-grid button,.shift-photo-grid article{display:block;padding:0;min-width:0;text-align:left;overflow:hidden;border:1px solid var(--yt-border);border-radius:var(--yt-r2);background:var(--yt-surface-2)}.shift-photo-grid img{display:block;width:100%;height:260px;object-fit:contain;background:var(--yt-bg-raised)}.shift-photo-grid p,.shift-photo-grid span{display:block;margin:var(--yt-s3);white-space:normal;overflow-wrap:anywhere}.shift-carryover{border-top:1px solid var(--yt-border);margin-top:var(--yt-s4);padding-top:var(--yt-s3)}.shift-check{display:flex!important;align-items:flex-start;gap:var(--yt-s3)!important}.shift-check input{flex:0 0 22px;width:22px;min-height:22px;margin-top:2px}.shift-editor button.primary{min-height:52px}.shift-empty{color:var(--yt-text-2)}.shift-photo-dialog{width:min(1100px,96vw);max-height:94dvh;padding:var(--yt-s4);overflow:auto}.shift-photo-dialog button{display:block;margin-bottom:var(--yt-s3)}.shift-photo-dialog img{display:block;max-width:100%;height:auto}.shift-reports [role=alert]{overflow-wrap:anywhere}.shift-reports details{padding:var(--yt-s3) 0}.shift-reports summary{min-height:44px;cursor:pointer}.shift-reports [hidden]{display:none!important}@media(max-width:600px){.shift-reports .panel{padding:var(--yt-s4)}.shift-heading h1{font-size:28px}.shift-photo-grid{grid-template-columns:1fr}.shift-photo-grid img{height:230px}.shift-editor textarea{min-height:140px}.shift-save-bar button{flex:1}.shift-actions>label{width:100%}.shift-reports{padding-bottom:var(--yt-s6)}}

/* Keep save actions readable beside the live save status on narrow screens. */
.shift-reports button{color:var(--yt-text);overflow-wrap:normal}.shift-save-bar button{flex:0 0 auto}.shift-photo-add{padding:var(--yt-s3);border:1px dashed var(--yt-border-strong);border-radius:var(--yt-r2)}@media(max-width:600px){.shift-save-bar [role=status]{flex:1 0 100%}.shift-save-bar button{flex:1 1 140px}.shift-heading{margin-bottom:var(--yt-s4)}}


.shift-crew{container-type:inline-size}.shift-crew>p{color:var(--yt-text-2);max-width:78ch;font-size:14px;line-height:1.5}
.shift-crew-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0;border-bottom:1px solid var(--yt-border)}
.shift-crew-row>label{min-width:0;margin:0}.shift-crew-row select,.shift-crew-row input{max-width:100%;min-width:0;min-height:44px}.shift-crew-row input[type=time]{width:100%;padding-inline:8px}
.shift-crew-row output{display:grid;gap:4px;grid-column:1/-1;align-self:center;min-width:0;white-space:normal;font-size:14px}.shift-crew-hours-label{color:var(--yt-text-2);font-size:12px}.shift-crew-row output strong{font-weight:600}
.shift-crew-row-footer{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.shift-crew-time-details{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;min-width:0;flex:1}.shift-crew-date-note{font-size:13px;color:var(--yt-text-2)}
.shift-reports .shift-crew-date-edit{padding:0}.shift-crew-date-edit summary{display:flex;align-items:center;font-size:13px}.shift-crew-date-edit>div{display:flex;flex-wrap:wrap;gap:12px}.shift-crew-date-edit label,.shift-crew-fold label{margin:0;min-width:120px;flex:1}.shift-crew-fold{width:100%;display:flex;gap:12px;flex-wrap:wrap}.shift-crew-fold p{width:100%;margin:0;font-size:13px;color:var(--yt-warning)}
.shift-crew-row-footer>button{flex:0 0 auto;align-self:flex-start;font-size:13px}.shift-crew-add{padding-top:16px}.shift-crew-lists{margin-top:20px;border-top:1px solid var(--yt-border)}.shift-crew-lists>summary{font-weight:600;display:list-item;padding:12px 0}.shift-crew-lists>p{font-size:13px;color:var(--yt-text-2)}
.shift-crew-managers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shift-crew-lists [data-crew-manager]{padding:16px;background:var(--yt-bg-raised);border:1px solid var(--yt-border);border-radius:var(--yt-r2);min-width:0}.shift-crew-lists h3{font-size:15px;margin:0 0 12px}.shift-crew-lists label{margin:0 0 12px;font-size:13px}.shift-crew-manager-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.shift-crew-manager-actions .shift-check{margin:0;align-items:center;min-height:44px;flex:1 1 160px;cursor:pointer}.shift-crew-manager-actions input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}.shift-crew-manager-actions button{flex:0 0 auto;width:auto;align-self:center;min-height:44px;padding:8px 14px}
@container(min-width:850px){.shift-crew-row{grid-template-columns:minmax(140px,2fr) minmax(140px,2fr) minmax(140px,1fr) minmax(140px,1fr) minmax(80px,.6fr)}.shift-crew-row output{grid-column:auto;align-self:end;min-height:70px;align-content:center}}
@media(max-width:700px){.shift-crew-managers{grid-template-columns:1fr}.shift-crew-row-footer{flex-wrap:wrap}.shift-crew-time-details{flex-basis:100%}}

.shift-crew-time-warning{flex-basis:100%;color:var(--yt-warning);font-size:13px;line-height:1.5}

/* The report scope sits outside the editor; keep its selector on the same theme. */
.shift-report-context label{display:grid;gap:var(--yt-s2);color:var(--yt-text);min-width:0}
.shift-report-context select{min-height:44px;max-width:100%;padding:10px 12px;border:1px solid var(--yt-border);border-radius:var(--yt-r2);background:var(--yt-surface-2);color:var(--yt-text);font:inherit;color-scheme:dark}
.shift-report-context select:focus-visible{outline:2px solid var(--yt-primary);outline-offset:2px}

/* Large common-time shortcuts supplement the native picker without limiting minutes. */
.shift-crew-time-picker{min-width:0}.shift-crew-time-picker>label{margin:0;display:grid;gap:8px}
.shift-crew-time-picker input[type=time]{min-height:52px;font-size:18px;color-scheme:dark}
.shift-crew-time-presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.shift-crew-time-presets button{flex:1 1 64px;min-height:44px;padding:8px 6px;font-size:13px;border:1px solid var(--yt-border-strong);border-radius:var(--yt-r2);background:var(--yt-bg-raised);color:var(--yt-text)}
.shift-crew-time-presets button:focus-visible{outline:2px solid var(--yt-primary);outline-offset:2px}
