.dated-picker{display:block;max-width:100%;margin:0 0 8px}.dated-picker select{min-height:44px;width:auto;max-width:100%;font:inherit;font-weight:600;padding:6px 10px;border:1px solid var(--border-color,#cbd4ce);border-radius:8px;background:var(--surface,#fff);color:var(--text-color,#193a29)}.dated-home{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;font-size:12px}.dated-home a{min-height:44px;display:flex;align-items:center;font-weight:700;white-space:nowrap}.dated-event{padding:4px 0}.dated-event h3,.dated-assigned h3{margin:4px 0;font-size:18px}.dated-event p{margin:6px 0}.dated-response{min-height:44px;padding:8px 12px;font:inherit}.dated-person{padding:8px 0;border-bottom:1px solid #dbe1dd}.dated-event [role=status]:empty{display:none}#live-dialog[data-dated-view=true] :is(.coverage-summary,#coverage-list,.coverage-actions,#coverage-event-time){display:none!important}body.dated-attendance-enabled .assignment-hero{padding:10px 12px!important;min-height:0!important}body.dated-attendance-enabled #assignment-name{font-size:22px!important;line-height:1.15!important}body.dated-attendance-enabled :is(#assignment-state,.home-assignment-date,#next-duty-card,#next-duty-card a,#next-duty-card span){color:white!important}body.dated-attendance-enabled .home-assignment-heading{margin-bottom:4px!important}body.dated-attendance-enabled #assignment-time{font-size:14px!important;margin:4px 0!important}body.dated-attendance-enabled #next-duty-card{font-size:12px!important;margin-top:4px!important;padding:0!important}body.dated-attendance-enabled #dated-team{margin-top:4px}
.dated-home{grid-column:1/-1;width:100%;min-width:0}.dated-home span{min-width:0}.dated-home a{color:inherit}.dated-schedule-active :is(#scheduling-admin-banner,.scheduling-header,.app-mobile-page-context,#mine>h2,#mine>.member-schedule-intro){display:none!important}.dated-schedule-active .app-navigation-header{display:flex!important;padding:10px 16px;min-height:64px}.dated-schedule-active .scheduling-shell{padding:8px 12px;max-width:960px;margin:auto}.dated-schedule-active #mine{padding:0;border:0;background:none}.dated-schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}.dated-schedule-heading h2{font-size:22px;margin:0}.dated-schedule-heading .dated-picker{margin:0;max-width:100%}.dated-schedule-active .dated-event{padding:12px;border:1px solid var(--border-color,#ccd7ce);border-radius:12px}.dated-schedule-active #dated-schedule-tools{margin-top:10px}.dated-schedule-active #dated-schedule-tools summary{font-size:13px;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px}.dated-schedule-active #dated-schedule-tools summary:after{content:'⌄'}.dated-schedule-active #dated-schedule-tools nav.tabs{margin:8px 0}.dated-schedule-active #schedule-quick-actions{margin:8px 0}.dated-event [role=status]{font-size:13px}.dated-response{border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit}#dated-team{padding:0 12px}#dated-team .dated-picker{margin:0 0 8px}#dated-team .dated-person:last-of-type{border-bottom:0}.dated-event a,.dated-assigned a{display:inline-flex;align-items:center;min-height:44px;color:inherit;font-weight:600}
.dated-picker{position:relative;display:inline-block;max-width:100%}.dated-picker summary{list-style:none;cursor:pointer;border:1px solid #ccd5cf;border-radius:8px;min-height:44px;padding:10px 12px;font-weight:600;font-size:14px;white-space:nowrap}.dated-picker summary::-webkit-details-marker{display:none}.dated-options{position:absolute;top:calc(100% + 4px);right:0;z-index:20;min-width:260px;max-width:min(340px,calc(100vw - 32px));max-height:300px;overflow:auto;border:1px solid #ccd5cf;border-radius:10px;background:var(--surface,#fff);box-shadow:0 6px 18px #0002;padding:4px}.dated-options button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;text-align:left;padding:8px;border:0;background:none;color:inherit;font:inherit;font-size:13px}.dated-options button[aria-pressed=true]{background:#e9f3ec;color:#205b40;border-radius:6px}.dated-options button span{white-space:normal}.dated-home{margin-top:-4px;margin-bottom:0!important;min-height:36px}.dated-home a{min-height:36px}.dated-attendance-enabled #live-dialog[data-dated-view=true] .dialog-heading{margin-bottom:8px}.dated-attendance-enabled #dated-team>.dated-picker .dated-options{left:0;right:auto}html[data-theme=dark] .dated-options{background:#202824;color:#f4f6f4}@media(max-width:767px){.dated-schedule-active .app-navigation-header .app-navigation-actions{display:none!important}.dated-schedule-active .app-navigation-header{min-height:64px;padding:10px 16px}.dated-schedule-active .app-navigation-brand img{width:148px;max-height:44px;object-fit:contain}.dated-schedule-active .app-navigation-brand{margin:0}.dated-schedule-active .dated-schedule-heading{flex-wrap:nowrap}}
.dated-assigned{border-radius:12px;padding:4px 12px;background:#fff;border:1px solid #d6dfd8}.dated-assigned .my-duty-date{display:none!important}.dated-assigned .person-card.my-duty{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;min-height:0!important;margin:0!important;padding:10px 0!important;border:0!important;border-bottom:1px solid #dce3de!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.dated-assigned .my-duty-post{font-size:16px!important}.dated-assigned .my-duty-time{font-size:14px!important}.dated-assigned .person-card a{font-size:12px;min-height:32px;grid-column:1/-1}.dated-assigned .person-card :is(button,small,.assignment-note){grid-column:1/-1}.dated-assigned>a{font-size:14px}html[data-theme=dark] .dated-assigned{background:#202824}

#live-dialog[data-dated-mode=voluntary] #coverage-team-toggle{display:none!important}
.dated-contact{font:inherit;font-weight:600;color:inherit;background:none;border:0;padding:4px 0;min-height:44px;cursor:pointer;text-decoration:underline}

/* Team rows: one time heading per coverage window; post and person stay aligned. */
#dated-team .dated-person{display:flex;align-items:center;min-height:44px;padding:0;border-bottom:1px solid #dbe1dd;font-size:14px;line-height:1.25}
#dated-team .dated-contact{display:block;min-width:0;min-height:44px;padding:6px 0;text-align:left;font-size:14px;line-height:1.25;overflow-wrap:normal}
#dated-team .dated-duty-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}
#dated-team .dated-post,#dated-team .dated-member-name{min-width:0;overflow-wrap:normal}
#dated-team .dated-post{font-weight:500}
#dated-team .dated-duty-list>h3{margin:6px 0 8px;font-size:18px}
#dated-team .dated-duty-group{margin:0 0 8px}
#dated-team .dated-duty-group>h4{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;margin:0;padding:5px 0;border-bottom:1px solid #dbe1dd}
#dated-team .dated-duty-group .dated-person:last-child{border-bottom:0}
#dated-team .dated-event{padding-top:0}

#dated-team{max-width:760px}#live-dialog[data-dated-mode=empty] #coverage-team-toggle{display:none!important}

/* Attendance stays attached to the assignment, with one compact full-width target. */
body.dated-attendance-enabled .assignment-hero{padding-bottom:0!important;overflow:hidden}
.assignment-hero>.dated-home{display:block;align-self:stretch;width:auto;min-height:0;margin:10px -12px 0!important;background:#fff;border-top:1px solid #dce3de;border-radius:0 0 16px 16px;color:#203e2e}
.assignment-hero>.dated-home>a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;box-sizing:border-box;width:100%;text-decoration:none!important;color:#203e2e;font-size:12px;line-height:1.3}
.dated-home-label{min-width:0;font-weight:500}.dated-home-action{flex-shrink:0;font-size:12px;font-weight:700;white-space:nowrap}
.assignment-hero>.dated-home>a:focus-visible{outline:2px solid #236044;outline-offset:-3px}
@media(max-width:350px){.assignment-hero>.dated-home>a{font-size:11px;gap:6px}.dated-home-action{font-size:11px}}

html body.dated-attendance-enabled .sunday-screen .assignment-hero:has(>#dated-home){padding:10px 12px 0!important;min-height:0!important}
.assignment-hero>.dated-home .dated-home-label{white-space:normal!important;overflow-wrap:normal;line-height:1.35}

.dated-wednesdays{margin-top:8px;border-top:1px solid #dbe1dd}.dated-wednesdays>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:14px;font-weight:600}.dated-wednesdays form>p{font-size:13px;margin:4px 0 8px}.dated-wednesday-option{display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid #dbe1dd;font-size:14px}.dated-wednesday-option input{width:18px;height:18px;margin:0;flex-shrink:0}.dated-select-all{min-height:44px;background:none;border:0;color:inherit;font:inherit;font-size:13px;font-weight:600;padding:0}.dated-wednesdays .dated-response{margin-top:8px}

body.dated-attendance-enabled #live-dialog .team-view-toggle{max-width:680px}body.dated-attendance-enabled #live-dialog .team-view-toggle button{font-size:13px;line-height:1.25;padding:8px 6px}body.dated-attendance-enabled #live-dialog .team-view-toggle button[hidden]{display:none}

#live-dialog[data-dated-view=true]:is([data-dated-mode=voluntary],[data-dated-mode=empty]) [data-quick-coverage-entry]{display:none!important}

a.dated-time-off-link{display:inline-flex;align-items:center;text-decoration:none;margin:0 0 8px 8px}
