/* Tigertail Portal V12 workflow additions */
.portal-clock-warning{position:sticky;top:.5rem;z-index:1200;margin:.65rem auto;padding:.8rem 1rem;max-width:1180px;border:2px solid #a53b00;border-radius:12px;background:#fff4e8;color:#562000;box-shadow:0 5px 18px rgba(73,31,0,.18);display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap}
.portal-clock-warning a{background:#8c2d00;color:#fff;padding:.55rem .8rem;border-radius:8px;font-weight:700;text-decoration:none}
.receipt-photo-field,.shift-custom-task,#calendar-assigned-staff-field{display:grid;gap:.4rem;margin-top:.8rem}
.receipt-photo-field input,.shift-custom-task textarea,#calendar-assigned-staff-field select{width:100%}
.shift-end-task-notice,.scheduler-source-notice{display:grid;gap:.2rem;margin:.7rem 0;padding:.75rem;border-left:5px solid #0b6976;border-radius:8px;background:#eaf7f8;color:#163b40}
.shift-task-waiting{opacity:.72;border-style:dashed}
#attendance-cover-field[hidden],#calendar-assigned-staff-field[hidden]{display:none!important}
@media(max-width:640px){.portal-clock-warning{position:relative;top:auto;margin:.5rem}.portal-clock-warning a{width:100%;text-align:center}.receipt-photo-field input{font-size:16px}}

/* Portal V13: standards-only task guidance, in-app receipt camera, and transport assignment */
.shift-standard-note{margin:0 0 1rem;padding:1rem;border:1px solid #b9d9d5;border-radius:14px;background:#eef9f7;color:#173d3a}.shift-standard-note p{margin:.35rem 0 0;line-height:1.45}.receipt-photo-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.7rem}.receipt-file-button{position:relative;overflow:hidden}.receipt-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.receipt-camera-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:1rem;background:rgba(5,20,24,.86)}.receipt-camera-panel{width:min(100%,620px);max-height:calc(100vh - 2rem);overflow:auto;padding:1rem;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.4)}.receipt-camera-panel h2{margin:.1rem 0 .8rem}.receipt-camera-panel video,.receipt-camera-panel canvas{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:12px;background:#081214}.receipt-camera-panel canvas[hidden],.receipt-camera-panel video[hidden]{display:none}.receipt-camera-panel>div{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.calendar-leaves-field>span{display:flex;align-items:center;gap:.55rem;font-weight:700}.calendar-leaves-field input{width:auto}
@media(max-width:600px){.receipt-camera-panel{padding:.8rem}.receipt-camera-panel>div .button{flex:1 1 45%}.receipt-photo-actions .button{flex:1 1 100%;text-align:center}}

/* Portal V14: visually distinguish staff and resident birthdays. */
.calendar-legend .legend-staff-birthday{border-color:#a86d00;background:#fff1c9;color:#5e3d00}.calendar-legend .legend-resident-birthday{border-color:#9a4ea0;background:#f7e8f8;color:#57265c}.admin-calendar-event.type-staff-birthday{border-color:#a86d00;background:#fff1c9;color:#513500}.admin-calendar-event.type-resident-birthday{border-color:#9a4ea0;background:#f7e8f8;color:#512457}.dashboard-event-icon.type-staff-birthday{background:#fff1c9;border-color:#dfbd67}.dashboard-event-icon.type-resident-birthday{background:#f7e8f8;border-color:#d4a6d8}
