.vol-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.vol-toolbar h2{margin-right:auto}.vol-role-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.vol-shift-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:18px 0 28px}.vol-shift{display:flex;flex-direction:column;gap:9px;width:100%;min-height:148px;text-align:left;padding:18px;border:1px solid #b8d1cd;border-radius:12px;background:#fff;color:#183d39;cursor:pointer}.vol-shift strong{font-size:17px}.vol-shift.selected{border:2px solid #167b6d;background:#e6f6f0}.vol-shift.unavailable,.vol-shift.occupied{background:#f1f4f3}.vol-shift:disabled{cursor:default;opacity:.72}.vol-shift:focus-visible{outline:3px solid #177d70;outline-offset:3px}.vol-person{padding:16px 0;border-bottom:1px solid #dbe6e3}.vol-merge-choice{display:flex;gap:8px;align-items:center;margin-bottom:7px;font-size:12px}.vol-public{background:#f2f7f5;min-height:100vh;padding-bottom:40px}.vol-public .portal-card{margin:24px auto}.vol-public a.primary,.vol-toolbar a.secondary{display:inline-block;text-decoration:none;padding:12px 18px;border-radius:8px}#volunteerDialog{max-width:min(760px,94vw);max-height:90vh;overflow:auto}#volunteerDialog textarea,#volSettings textarea{width:100%;font-family:inherit;line-height:1.6}#volunteerDialog label{margin:10px 0}#volContent .card{margin:18px 0}@media(max-width:600px){.vol-public .portal-card{margin:12px;padding:20px}.vol-shift-grid{grid-template-columns:1fr}.vol-toolbar>*{max-width:100%}}

/* Compact public signup: one shared time axis and one column per role. */
.vol-public .wide-portal{max-width:1480px;width:calc(100% - 40px);padding:24px;box-sizing:border-box}
.vol-public .portal-header{width:100%;max-width:none;margin-left:0;margin-right:0;box-sizing:border-box}.vol-day{margin:20px 0}.vol-day h2{font-size:17px;margin:0 0 10px}.vol-schedule-scroll{overflow:auto;border:1px solid #d5e2df;border-radius:8px;background:white;max-height:72vh}.vol-schedule{display:grid;isolation:isolate;position:relative;min-width:100%;width:max-content}.vol-role-heading,.vol-time-heading{position:sticky;top:0;z-index:3;padding:11px 6px;background:#e8f1ee;border-bottom:1px solid #c8dad4;text-align:center;font-size:11px;font-weight:650;color:#234e44;display:flex;align-items:center;justify-content:center}.vol-role-heading{border-left:1px solid #d5e2df;max-width:145px}.vol-time-heading{left:0;z-index:4;font-size:11px}.vol-time-label{position:sticky;left:0;z-index:2;background:#fff;color:#70827c;font-size:10px;padding:3px 6px;border-right:1px solid #d5e2df}.vol-time-line{border-top:1px solid #edf2f0;pointer-events:none}.vol-session{z-index:1;min-width:0;min-height:min-content;margin:2px 3px;padding:4px 5px;border:1px solid #9ebfb3;border-radius:5px;background:#f1f8f4;color:#255b48;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer;line-height:1.2;box-shadow:none}.vol-session:hover:not(:disabled){background:#dfefe7;border-color:#397d60}.vol-session.selected{background:#176d50;color:white;border-color:#10563e;box-shadow:inset 0 0 0 1px #fff5}.vol-session.selected:hover:not(:disabled){background:#10563e}.vol-session.unavailable{background:#edf0ef;border-color:#dce2df;color:#87918c}.vol-session small{font-size:10px;font-weight:400;white-space:normal;overflow-wrap:anywhere}.vol-session:disabled{cursor:default}.vol-session:focus-visible{outline:3px solid #e5aa3d;outline-offset:1px;z-index:2}.vol-legend{display:flex;gap:16px;font-size:11px;color:#61766c;margin:12px 0}.vol-legend span{display:flex;align-items:center;gap:5px}.vol-legend span:before{content:"";width:10px;height:10px;border-radius:3px;background:#f1f8f4;border:1px solid #9ebfb3}.vol-legend .chosen:before{background:#176d50;border-color:#176d50}.vol-legend .taken:before{background:#edf0ef;border-color:#dce2df}@media(max-width:600px){.vol-public .wide-portal{width:calc(100% - 20px);margin:10px;padding:14px}.vol-schedule-scroll{max-height:65vh}.vol-public h1{font-size:24px}.vol-day{margin:14px 0}}

.vol-public .wide-portal h1{font-size:28px;letter-spacing:-.6px;margin:6px 0 10px}.vol-public .wide-portal>p,.vol-public #volRegContent>p{font-size:12px;line-height:1.5;margin:8px 0}.vol-public .wide-portal .eyebrow{font-size:10px;margin:0 0 6px}.vol-public .portal-header{padding-top:12px;padding-bottom:12px}.vol-public .portal-card{margin-top:14px}
/* Volunteer management tabs and compact controls. */
#volunteerView .vol-tabs{display:flex;gap:24px;border-bottom:1px solid #ccd9d4;margin-top:12px;overflow-x:auto}
#volunteerView .vol-tabs [role=tab]{appearance:none;flex:0 0 auto;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;box-shadow:none;padding:12px 2px;color:#6c7a74;font-size:14px;font-weight:600}
#volunteerView .vol-tabs [aria-selected=true]{color:#12634e;border-bottom-color:#12634e;background:transparent}
#volunteerView .vol-tabs [role=tab]:focus-visible{outline:2px solid #12634e;outline-offset:-2px}
#volunteerView .vol-roles-card .vol-toolbar{flex-wrap:nowrap;overflow:auto;margin:0;gap:7px;padding-bottom:4px}
#volunteerView .vol-role-list h2{font-size:15px;margin:0 8px 0 0;flex-shrink:0}
#volunteerView .vol-role-list button{font-size:12px;padding:9px 11px;white-space:nowrap;flex-shrink:0;border-radius:7px;box-shadow:none}
#volunteerView .vol-day h3{font-size:15px;margin:14px 0 8px}
#volunteerView .vol-role-heading{max-width:none}
.vol-hint{font-size:12px;line-height:1.5;color:#64766d}
#volunteerDialog input[type=checkbox],#volSettings input[type=checkbox]{appearance:auto!important;display:inline-block!important;flex:0 0 16px;width:16px!important;height:16px!important;min-height:0!important;max-width:16px!important;padding:0!important;margin:0 7px 0 0!important;box-shadow:none!important;border-radius:3px!important;vertical-align:middle;accent-color:#176d50}
#volunteerDialog label:has(>input[type=checkbox]),#volSettings label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:4px;font-size:13px;line-height:1.4}
#volunteerDialog label:has(>input[type=checkbox]) input,#volSettings label:has(>input[type=checkbox]) input{margin-top:2px!important}
#volunteerDialog{width:720px;border:1px solid #d5dfda;border-radius:12px;padding:20px}
#volunteerDialog .wide-dialog{width:100%;max-width:none;padding:0}
#volunteerDialog .modal-heading h2{font-size:21px}
#volunteerDialog label{font-size:13px}
#volunteerDialog input:not([type=checkbox]),#volunteerDialog select{font-size:14px;min-height:36px;padding:8px 10px;border-radius:6px;box-shadow:none}
#volunteerDialog .vol-hours-row{padding:8px 0;border-bottom:1px solid #e2e8e4}
#volunteerDialog .vol-hours-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px}
#volunteerDialog .vol-hours-row label{margin:0}
#volunteerDialog [data-role-delete]{display:block;margin:18px 0 0}
#volunteerDialog [data-add-hours]{margin-top:12px}
#volunteerDialog .danger-text{color:#a33934;font-size:12px;padding:7px;background:transparent;border:0;box-shadow:none}
#volunteerDialog .modal-actions{margin-top:14px}
@media(max-width:600px){#volunteerDialog{padding:14px}#volunteerDialog .vol-hours-fields{grid-template-columns:1fr 1fr}#volunteerDialog .vol-hours-fields label:first-child{grid-column:1/-1}#volunteerView .vol-tabs{gap:16px}}

#volunteerView .vol-toggle{display:inline-flex;align-items:center;gap:9px;padding:7px 10px;border:0;background:transparent;box-shadow:none;font-size:13px;font-weight:650;color:#245c50}.vol-toggle-track{width:32px;height:19px;border-radius:12px;background:#a6b2ac;position:relative;display:inline-block}.vol-toggle-track:after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;background:white;border-radius:50%;transition:transform .15s}.vol-toggle[aria-checked=true] .vol-toggle-track{background:#167b5a}.vol-toggle[aria-checked=true] .vol-toggle-track:after{transform:translateX(13px)}.vol-toggle:focus-visible{outline:2px solid #176d50;outline-offset:2px}.vol-zone{margin-left:auto;font-size:12px}.vol-zone input{font-size:12px;padding:6px}.vol-role-heading.vol-essential,#volunteerView .vol-role-list button.vol-essential{background:#fff0d3;color:#704b12;border-color:#dfbd78}.vol-role-heading.vol-essential:after{content:"•";margin-left:4px;color:#97640f}.vol-essential-legend{font-size:11px;color:#704b12;margin:8px 0}
.vol-wwcc{margin:14px 0;padding:14px;background:#f4f7f4;border:1px solid #dce6df;border-radius:8px}.vol-wwcc small{display:block;font-size:11px;line-height:1.5;color:#64766d}.vol-wwcc a{color:#176d50;text-decoration:underline}.vol-public .vol-check{display:flex;align-items:center;gap:8px;font-size:13px}.vol-public input[type=checkbox]{appearance:auto!important;width:16px!important;height:16px!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;accent-color:#176d50}.vol-picker{margin:14px 0}.vol-picker-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.vol-picker-tags button{font-size:12px;padding:5px 9px}.vol-picker .personal-name-matches:empty{display:none}.vol-picker .personal-name-option{display:flex;justify-content:space-between;gap:12px;width:100%;padding:9px 12px;text-align:left}.vol-picker .personal-name-option small{font-size:11px;color:#6b7c73}.vol-assigned{display:flex;flex-direction:column;gap:5px;background:#f0f5f1;border-radius:8px;padding:12px;margin:12px 0}.vol-assigned small{font-size:12px}.vol-people-list{margin-top:16px}.vol-person-row{display:flex;align-items:center;gap:14px;width:100%;padding:15px 12px;margin:0;border:0;border-bottom:1px solid #dbe4de;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:#243b32}.vol-person-row:hover{background:#eaf2ed}.vol-person-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#dcebe2;color:#286448;font-size:13px}.vol-person-info{display:flex;flex-direction:column;gap:5px;min-width:220px}.vol-person-info strong{font-size:14px}.vol-person-info small{font-size:11px;font-weight:400;color:#697c70}.vol-person-work{display:flex;flex-direction:column;gap:5px;margin-left:auto;flex:1;font-size:11px;font-weight:400}.vol-person-work b{font-weight:600}.vol-session small{line-height:1.2}@media(max-width:700px){.vol-person-row{flex-wrap:wrap;gap:10px}.vol-person-info{min-width:0;flex:1}.vol-person-work{flex-basis:100%;margin-left:48px}.vol-person-info small{overflow-wrap:anywhere}}

.vol-registration-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.vol-registration-heading .eyebrow{margin:0}.vol-registration-heading a{font-size:14px;padding:10px 14px;text-align:center}.personal-competition-link{margin:4px 0 24px}.personal-portal-actions a{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}#volSelfLogin .form-grid{margin-bottom:18px} @media(max-width:600px){.vol-registration-heading{align-items:flex-start}.vol-registration-heading a{width:100%}.personal-portal-actions{flex-wrap:wrap}}

/* Let grid tracks grow for names, eligibility and Till end without spilling into adjacent sessions. */
.vol-session>span,.vol-session>small{flex-shrink:0;max-width:100%}.vol-session>span{white-space:normal;overflow-wrap:anywhere}

/* One scroll region keeps the first field reachable at every viewport height. */
#volunteerDialog{padding:0;max-height:calc(100dvh - 32px);overflow:hidden}
#volunteerDialog > form.wide-dialog{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);padding:0;overflow:hidden}
#volunteerDialog > form > .modal-heading,#volunteerDialog > form > .modal-actions{position:static;flex:none;margin:0;padding:16px 20px}
#volunteerDialog .modal-heading{align-items:center;gap:12px}
#volunteerDialog .modal-heading h2{min-width:0;overflow-wrap:anywhere}
#volunteerDialog .modal-heading [data-close]{flex:none}
#volunteerDialog .vol-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 16px;scroll-padding-block:12px}
@media(max-width:600px){#volunteerDialog > form > .modal-heading,#volunteerDialog > form > .modal-actions{padding:12px 14px}#volunteerDialog .vol-dialog-body{padding:0 14px 12px}}

/* Delivery history uses a div shell, so it needs its own bounded dialog layout. */
#volunteerEmailDialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid #d5dfda;border-radius:12px;color:var(--ink)}
#volunteerEmailDialog > .wide-dialog{display:flex;flex-direction:column;width:100%;max-width:100%;max-height:calc(100dvh - 34px);overflow:hidden}
#volunteerEmailDialog .modal-heading,#volunteerEmailDialog .modal-actions{flex:none;position:static;margin:0;padding:16px 20px;background:var(--surface,#fff)}
#volunteerEmailDialog .modal-heading{align-items:center;gap:16px;border-bottom:1px solid var(--line)}
#volunteerEmailDialog .modal-heading h2{min-width:0;font-size:21px;line-height:1.3;overflow-wrap:anywhere}
#volunteerEmailDialog [data-close]{flex:none}
#volunteerEmailDialog .vol-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px 20px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#volunteerEmailDialog [data-mail-status]{font-weight:600}
#volunteerEmailDialog .vol-person{padding:16px 0}
#volunteerEmailDialog .vol-person p{margin:6px 0;color:var(--muted);font-size:13px}
#volunteerEmailDialog .modal-actions{border-top:1px solid var(--line);flex-wrap:wrap}
@media(max-width:600px){#volunteerEmailDialog .modal-heading,#volunteerEmailDialog .modal-actions{padding:12px 14px}#volunteerEmailDialog .vol-dialog-body{padding:4px 14px 14px}#volunteerEmailDialog .modal-heading h2{font-size:18px}}
