#work .shift-board { width: min(880px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow-y: auto; padding: 0; text-align: left; }
.shift-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px 18px; background: #ebd9b6; border-bottom: 1px solid #d0b98f; border-radius: 12px 12px 0 0; }
.shift-eyebrow { display: block; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: #8a6d43; }
.shift-header h2 { font: 900 26px/1.25 var(--display); margin: 5px 0 0; color: #654b30; }
.shift-energy { flex: none; padding: 7px 11px; background: #f9edcf; border: 1px solid #d0b98f; border-radius: 10px; font-weight: 800; }
.shift-budget { padding: 11px 26px; background: #f6e7ca; color: #806742; font-size: 11px; line-height: 1.6; }
.shift-layout { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 22px; padding: 22px 26px 26px; }
.shift-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shift-section-heading h3 { margin: 0; font: 900 19px var(--display); }
.shift-section-heading > span { font-size: 11px; white-space: nowrap; color: #7c8552; background: #e7e9cd; border-radius: 7px; padding: 5px 8px; }
.shift-layout .muted { font-size: 11px; line-height: 1.65; }
.shift-task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 17px; }
.shift-task { padding: 14px; display: flex; flex-direction: column; border: 1px solid #d9c398; border-radius: 11px; background: #fff8e7; }
.shift-task.completed { background: #edf0d8; border-color: #bcc89b; }
.shift-task-heading { display: flex; align-items: center; gap: 10px; }
.shift-task-heading h4 { margin: 0; font-size: 13px; line-height: 1.5; }
.shift-task-icon { font-size: 26px; line-height: 1.2; flex: none; }
.shift-task p { font-size: 11px; line-height: 1.6; color: #8a785b; flex: 1; }
.shift-task-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; margin: 4px 0 12px; font-size: 10px; color: #847356; }
.shift-task-meta b { color: #9b642a; font-size: 13px; }
.shift-task .btn { width: 100%; font-size: 11px; }
.shift-task.completed .btn { filter: none; opacity: .75; background: #d5dfb8; border-color: #a4b47f; color: #4e6537; }
.shift-receipt { align-self: start; padding: 18px 16px; background: #eee1c6; border: 1px solid #d8c096; border-radius: 11px; }
.shift-earned { display: block; font: 900 27px var(--display); color: #6a7f41; margin: 8px 0 0; overflow-wrap: anywhere; }
.shift-totals { display: grid; grid-template-columns: 1fr auto; gap: 10px 5px; margin: 20px 0; font-size: 11px; }
.shift-totals dt { color: #8a7656; }.shift-totals dd { margin: 0; text-align: right; font-weight: 700; }
.shift-note { border-top: 1px dashed #c9b38a; padding-top: 14px; font-size: 11px; line-height: 1.7; color: #7b6849; }
.shift-leave { width: 100%; font-size: 12px; margin: 4px 0 12px; }
.shift-active { padding: 18px; border: 1px solid #dac49b; border-radius: 11px; background: #fff8e7; }
.shift-active h3 { margin: 4px 0 0; font: 900 21px var(--display); }
.shift-step-track { display: flex; gap: 8px; margin: 23px 0 18px; }
.shift-step-track span { flex: 1; padding: 6px; text-align: center; border-radius: 7px; background: #eee5cf; color: #a18c66; font-size: 11px; }
.shift-step-track .current { background: #dfb775; color: #68481e; font-weight: 800; }.shift-step-track .done { background: #d8e3be; color: #5a7735; }
.shift-step-label { color: #9b825b; font-size: 10px; margin-bottom: 5px; }
.shift-active h4 { font: 800 18px/1.5 var(--display); margin: 0 0 19px; }
.shift-choices { display: grid; gap: 9px; }
.shift-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 13px; background: #f2e4c8; border: 1px solid #d1b98d; border-radius: 9px; color: #624f33; cursor: pointer; font-weight: 700; font-size: 12px; }
.shift-choice:hover:not(:disabled) { background: #e4ebcd; border-color: #a0b17b; }.shift-choice:disabled { opacity: .55; cursor: wait; }
.shift-countdown { display: block; min-height: 21px; margin: 12px 0; font-size: 10px; color: #8a7653; }
.shift-active-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px dashed #d8c299; padding-top: 13px; font-size: 10px; }
@media (max-width: 680px) {
  .shift-layout { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .shift-header { padding: 18px 16px 14px; }.shift-header h2 { font-size: 21px; }.shift-budget { padding: 10px 16px; }
  .shift-receipt { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 15px; }
  .shift-receipt .shift-eyebrow, .shift-receipt .shift-earned, .shift-receipt > .muted { grid-column: 1; }
  .shift-totals { grid-column: 2; grid-row: 1 / 4; margin: 0; align-content: center; }
  .shift-note { grid-column: 1 / -1; margin: 8px 0; }.shift-leave { grid-column: 1 / -1; margin: 0; }
  .shift-receipt small.muted { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .shift-task-grid { grid-template-columns: 1fr; }.shift-section-heading h3 { font-size: 17px; } }
.field-work { position: fixed; z-index: 25; left: 20px; top: 260px; width: 310px; padding: 18px; color: #654b30; background: rgba(255,247,225,.97); border: 2px solid #bfa377; border-radius: 14px; box-shadow: 0 5px 20px #36291833; }
.field-work h3 { margin: 8px 0; font: 900 20px var(--display); }
.field-work p { font-size: 12px; line-height: 1.6; margin: 8px 0; }
.field-work .field-instruction { font-weight: 700; color: #56713d; }
.field-work > .btn { width: 100%; }
.field-work small { display: block; margin-top: 9px; font-size: 10px; line-height: 1.6; }
.field-work progress { width: 100%; height: 12px; margin-bottom: 8px; accent-color: #85a65c; }
.field-work-footer { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border-top: 1px dashed #cdb78d; margin-top: 12px; padding-top: 9px; font-size: 11px; }
.field-work-footer > span { flex-basis: 100%; }
@media(max-height:700px) { .field-work { top: auto; bottom: 95px; width: 285px; padding: 12px; } }
@media(max-width:680px) { .field-work { left: 10px; top: auto; bottom: 90px; width: min(310px,calc(100vw - 20px)); } }
@media(max-width:680px) {
 .field-work { width: calc(100vw - 20px); bottom: 84px; padding: 10px 12px; }
 .field-work h3 { font-size: 16px; margin: 4px 0; }
 .field-work p { margin: 3px 0; font-size: 11px; }
 .field-work > .shift-eyebrow { display: none; }
 .field-work > .btn { padding: 7px 12px; min-height: 30px; font-size: 11px; }
 .field-work small { font-size: 9px; margin-top: 4px; }
 .field-work-footer { margin-top: 5px; padding-top: 5px; font-size: 10px; }
 .field-work-footer > span { flex: 1; flex-basis: auto; }
 .field-work-footer .btn { padding: 5px 9px; min-height: 27px; font-size: 10px; }
}
