.volunteer-card{background:#fff;border:1px solid #caddd7;border-top:3px solid #087562;border-radius:14px;padding:22px;margin:20px 0;box-shadow:0 5px 18px #123c2910}.volunteer-card h2,.volunteer-card h3{margin-top:0}.volunteer-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.volunteer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.volunteer-card label{display:grid;gap:6px;margin:10px 0;font-weight:600}.volunteer-card input,.volunteer-card select,.volunteer-card textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #9cbab2;border-radius:6px;font:inherit}.volunteer-card input[type=checkbox]{width:auto;justify-self:start}.volunteer-table{width:100%;border-collapse:collapse;font-size:14px}.volunteer-table th,.volunteer-table td{text-align:left;padding:12px;border-bottom:1px solid #d9e4e0;vertical-align:top}.volunteer-scroll{overflow:auto}.volunteer-status{padding:14px;background:#e8f5ee;border-left:4px solid #087562;margin:16px 0}.volunteer-status.error{background:#fff0ed;border-color:#ac3024}.volunteer-card summary{cursor:pointer;font-weight:700;padding:8px}.volunteer-card details{border-top:1px solid #d9e4e0;padding:12px 0}.volunteer-card button{cursor:pointer}.volunteer-card .muted{color:#45615b;font-size:13px}.volunteer-card a{color:#006a59}.volunteer-card [hidden]{display:none!important}@media(max-width:600px){.volunteer-card{padding:16px}.volunteer-actions>*{flex-grow:1}.volunteer-table{min-width:650px}}

.volunteer-phase{padding:0!important;overflow:hidden}.volunteer-phase>summary{padding:20px!important;background:#edf7f2;line-height:1.6;list-style-position:inside}.volunteer-phase-title{font-size:1.2rem;font-weight:800}.volunteer-phase-meta{display:block;font-size:.85rem;font-weight:500;color:#45615b;margin-top:4px}.volunteer-phase .volunteer-scroll{padding:0 20px 18px}.volunteer-member-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.volunteer-member-list li{display:grid;gap:4px}.volunteer-member-state{display:block;font-size:.8rem;color:#45615b}.volunteer-manage-phase{margin:18px 0;border:1px solid #caddd7!important;border-radius:10px;padding:14px!important}.volunteer-manage-phase>summary{background:#edf7f2;margin:-14px -14px 10px;padding:16px!important}.volunteer-phase table{min-width:760px}.volunteer-phase td:nth-child(3),.volunteer-phase td:nth-child(4){min-width:150px}
/* Phase roster and organiser workspace */
.volunteer-phase>summary{display:flex;align-items:center;gap:14px;list-style:none;background:#f4f8f6;border-bottom:1px solid #dce7e2}.volunteer-phase>summary::-webkit-details-marker{display:none}.roster-phase-number{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#0c6656;color:white;font-size:14px}.roster-phase-copy{flex:1;min-width:0}.roster-chevron{font-size:22px;transition:transform .15s}.volunteer-phase:not([open]) .roster-chevron{transform:rotate(-90deg)}.roster-badge{display:inline-flex;padding:4px 9px;border-radius:20px;font-size:11px;font-weight:700;white-space:nowrap;line-height:1.4}.roster-badge.success{background:#dff4e8;color:#12563b}.roster-badge.warning{background:#fff0ca;color:#744900}.roster-badge.neutral{background:#eaf0f3;color:#3b5261}.roster-badge.danger{background:#fbe3df;color:#8e2820}.roster-phase-body{padding:20px}.roster-phase-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.roster-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.roster-role-card{border:1px solid #d8e5df;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.roster-role-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px;border-bottom:1px solid #e5ede8}.roster-role-heading h3{margin:0;font-size:16px;line-height:1.4}.roster-shift{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:12px;color:#4b635c;margin:8px 0 0}.roster-role-heading button,.roster-role-footer button{flex-shrink:0;font-size:12px}.roster-staffing{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px;flex:1}.roster-staffing h4{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#546b63;margin:0 0 14px}.volunteer-member-list li.roster-person{display:flex;gap:9px;align-items:flex-start}.roster-avatar{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#e4f3ec;color:#1d5b45;font-size:10px;font-weight:800}.roster-person.reserve .roster-avatar{background:#edf0f9;color:#4c567e}.roster-person.vacant .roster-avatar{background:#fff1d5;color:#876000}.roster-person-copy{min-width:0;display:grid;gap:3px;overflow-wrap:anywhere;font-size:12px;line-height:1.45}.roster-person-status,.roster-empty{font-size:11px;color:#60756e}.roster-role-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;background:#f8faf9;border-top:1px solid #e5ede8}.roster-coverage{display:grid;gap:6px;font-size:11px;color:#4b635c;flex:1;max-width:180px}.roster-coverage progress{width:100%;height:5px;accent-color:#158064}.roster-event-meta{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;color:#52675f;font-size:13px}.roster-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.roster-stat{display:grid;gap:5px;border:1px solid #dfebe5;background:#f8fbf9;border-radius:10px;padding:15px}.roster-stat strong{font-size:25px;color:#134b3c}.roster-stat span{font-size:12px;color:#5a7066}.roster-notice{border-left:3px solid #218568;background:#edf7f2;padding:12px 15px;font-size:12px;line-height:1.6;border-radius:0 7px 7px 0}.roster-notice.warning{border-color:#bd871c;background:#fff7e6}.roster-notice.danger{border-color:#ab3b31;background:#fff0ed}.roster-notes{margin-bottom:18px}.roster-notes p{white-space:pre-wrap;line-height:1.7}.roster-danger-button{color:#962d24!important;border-color:#dca49c!important}.roster-history{display:flex;flex-wrap:wrap;gap:10px}.roster-history p{flex-basis:100%;margin:0}.roster-editor{width:min(850px,calc(100% - 32px));max-height:90dvh;padding:0;border:1px solid #caddd7;border-radius:16px;color:#123d35;box-shadow:0 24px 80px #001e2360}.roster-editor::backdrop{background:#092c35a6}.roster-editor-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#f3f8f5;border-bottom:1px solid #d7e6dd}.roster-editor-header h2{font-size:20px;margin:0}.roster-editor-body{padding:24px}.roster-editor> .volunteer-status{margin:0 24px 20px}.roster-editor> .volunteer-status:empty{display:none}.roster-editor label{display:grid;gap:7px;font-size:13px;font-weight:600;margin:12px 0}.roster-editor input,.roster-editor select,.roster-editor textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #a6bfb5;border-radius:7px;font:inherit;color:inherit;background:white}.roster-editor input[type=checkbox]{width:auto;justify-self:start}.roster-editor textarea{min-height:90px}.roster-editor .muted{font-size:12px;color:#597066;line-height:1.6}.roster-editor details{padding:16px 0;border-bottom:1px solid #dfebe5}.roster-editor summary{cursor:pointer;font-weight:700}.roster-editor form>button{margin-top:14px}.roster-editor button:focus-visible,.volunteer-phase summary:focus-visible{outline:3px solid #c28d22;outline-offset:3px}@media(max-width:900px){.roster-role-grid{grid-template-columns:1fr}}@media(max-width:600px){.roster-stat-grid{grid-template-columns:repeat(2,1fr)}.volunteer-phase>summary{flex-wrap:wrap;padding:16px!important}.volunteer-phase>summary>.roster-badge{margin-left:56px}.roster-phase-body{padding:12px}.roster-staffing{grid-template-columns:1fr}.roster-role-heading{padding:14px;flex-wrap:wrap}.roster-role-footer{padding:12px}.roster-editor-body{padding:16px}.roster-editor-header{padding:16px}.roster-editor .volunteer-grid{grid-template-columns:1fr}.roster-phase-toolbar{flex-wrap:wrap}.roster-event-overview h2{font-size:23px}.roster-stat{padding:12px}}

.volunteer-actions>[hidden]{display:none!important}

/* Member volunteer history */
.volunteer-history-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:16px 0}.volunteer-history-filters label{display:grid;gap:8px;font-weight:600}.volunteer-history-filters input,.volunteer-history-filters select{box-sizing:border-box;width:100%;padding:10px;border:1px solid #91b1aa;border-radius:7px;background:#fff;color:#17333b}.volunteer-record{padding:0!important;margin:16px 0;overflow:hidden}.volunteer-record>summary{display:flex;align-items:center;gap:14px;list-style:none;padding:20px!important;cursor:pointer}.volunteer-record>summary::-webkit-details-marker{display:none}.volunteer-record>summary:before{content:'\25B8';color:#087766}.volunteer-record[open]>summary:before{content:'\25BE'}.volunteer-record>summary:focus-visible{outline:3px solid #087766;outline-offset:-4px}.volunteer-record-heading{display:grid;gap:6px;flex:1;min-width:0}.volunteer-record-heading strong{font-size:16px}.volunteer-record-heading .muted{font-size:12px}.volunteer-response-badge{padding:6px 10px;border-radius:18px;background:#e7f3ee;color:#154b42;font-size:12px;font-weight:700}.volunteer-record-body{padding:0 20px 20px;border-top:1px solid #e1eae7}@media(max-width:560px){.volunteer-history-filters{grid-template-columns:1fr}.volunteer-record>summary{flex-wrap:wrap}.volunteer-response-badge{margin-left:20px}}

/* Event copy stays readable independently of the date/time grid. */
.volunteer-event-grid{align-items:start}.volunteer-event-text-field{grid-column:1/-1;min-width:0;align-content:start}.volunteer-event-text{display:block;min-height:44px!important;height:auto;max-height:none;resize:none;overflow:hidden;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.volunteer-event-text[name=instructions]{min-height:100px!important}

/* Race-event directory: approved structured roster table. */
.race-events{padding:26px;border-top-color:#087562}.race-events-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.race-events-heading h2{font-size:26px;line-height:1.25;margin:0!important;color:#123d35}.race-events-count{font-size:14px;color:#607873;white-space:nowrap}.race-events-intro{font-size:15px;line-height:1.6;color:#254c43;margin:8px 0 20px}.race-events-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.race-events .race-events-search{display:block;position:relative;margin:0 0 24px}.race-events-search img{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:21px;height:21px;opacity:.65;pointer-events:none}.race-events .race-events-search input{height:48px;padding:10px 15px 10px 46px;border:1px solid #adc1bb;border-radius:9px;font-size:15px;background:#fff}.race-events-search input:focus-visible{outline:3px solid #91c8ba;outline-offset:2px}.race-events-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;font-size:14px;color:#153f35}.race-events-table th{text-align:left;text-transform:uppercase;font-size:11px;letter-spacing:.09em;background:#eff6f2;padding:15px 16px;color:#28534a;vertical-align:middle}.race-events-table th:first-child{width:40%;border-radius:8px 0 0 8px}.race-events-table th:nth-child(2){width:22%}.race-events-table th:nth-child(3){width:18%}.race-events-table th:last-child{width:20%;border-radius:0 8px 8px 0}.race-events-table th,.race-events-table td{box-sizing:border-box}.race-events-table td{padding:23px 16px;border-bottom:1px solid #e0ebe5;vertical-align:top;overflow-wrap:anywhere;line-height:1.65}.race-events-title{display:block;font-size:16px;line-height:1.5;color:#123d35}.race-events-venue,.race-events-secondary{display:block;color:#617970;margin-top:4px}.race-events-sample{display:inline-block;margin-top:7px;padding:3px 9px;border-radius:8px;background:#e6eeea;font-size:11px;font-weight:600;color:#526b62}.race-events-table .roster-badge{white-space:normal;text-align:center;margin-top:2px}.race-events .race-events-open{display:inline-block;border:1px solid #087562;background:white;color:#087562;border-radius:9px;padding:9px 14px;margin-top:10px;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer;min-height:40px}.race-events-open:hover{background:#eaf5ef!important}.race-events-open:focus-visible{outline:3px solid #91c8ba;outline-offset:3px}.race-events-footer{font-size:12px;line-height:1.6;color:#617970;margin:17px 0 0}.race-events-mobile-label{display:none}.race-events-empty{color:#617970;padding:24px!important}.race-events-table tbody tr:hover{background:#fbfdfb}
@media(max-width:680px){.race-events{padding:18px}.race-events-heading h2{font-size:23px}.race-events-table,.race-events-table tbody{display:block}.race-events-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.race-events-table tr{display:grid;grid-template-columns:1fr 1fr;padding:17px 0;border-bottom:1px solid #dce8e0;gap:14px 18px}.race-events-table td{display:block;padding:0;border:0;min-width:0}.race-events-table td:first-child{grid-column:1/-1}.race-events-table td:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.race-events-mobile-label{display:block;text-transform:uppercase;font-size:10px;letter-spacing:.07em;font-weight:700;color:#46665b;margin-bottom:5px}.race-events-table td:first-child .race-events-mobile-label,.race-events-table td:last-child .race-events-mobile-label{display:none}.race-events-table td:last-child .race-events-secondary{margin:0}.race-events .race-events-open{margin:0}.race-events-table .race-events-empty{grid-column:1/-1}.race-events-intro{font-size:14px}}

.race-events .race-events-search input[type=search]{padding-left:46px!important;}

.race-events .race-events-table{min-width:0!important}.race-events .race-events-open{min-height:44px;}

.race-events-heading h2{font-size:28px}.race-events-table td{font-size:15px}.race-events-title{font-size:18px}.race-events-table th{font-size:12px}.race-events-table .roster-badge{font-size:12px}.race-events .race-events-open{font-size:14px;}@media(max-width:680px){.race-events-heading h2{font-size:23px}.race-events-title{font-size:16px}.race-events-table td{font-size:14px}}
