/* Shared agenda language across participant, organizer, profile and dialogs. */
:root{--paper:#fff;--ink:#202237;--muted:#646787;--green:#5854ec;--primary:#5854ec;--soft:#efefff;--line:#e1e2ed;--radius:16px}
.venue-editor .address-help:empty{display:none}
.address-option .venue-distance{color:var(--ink)}
body,body:has(.organizer-agenda){background:#f2f3f8}
.shell,body:has(.organizer-agenda) .shell{background:#fff;min-height:100dvh;padding:20px 20px calc(104px + env(safe-area-inset-bottom,0px))}
h1,.home-hero h1,.form-hero h1,.profile-heading h1,.event-cover h1{font-size:30px;line-height:1.18;letter-spacing:-.8px}
h2,.collection-panel h2,.form-section h2{font-size:20px;line-height:1.3;letter-spacing:-.4px}
.wordmark,.organizer-brand{font-size:22px;font-weight:800;color:var(--green);margin-bottom:12px}
.home-hero,.form-hero{margin-bottom:24px}
.card,.form-section,.collection-panel,.event-form .collection-editor,.event-form .filter-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}
.profile-card,.event-form.card{padding:0;border:0;background:transparent}
.card .card{box-shadow:none}
.event-card,.event-card-featured,.event-card-past{background:#fff;color:var(--ink);border:1px solid var(--line);padding:16px;gap:14px;opacity:1}
.event-card-featured .event-sport,.event-card-featured .date-block strong,.event-card-featured .event-next{color:var(--green)}
.event-card-featured .date-block,.event-card-featured .event-place,.event-card-featured .event-foot,.event-card-featured .arrow{color:var(--muted)}
.event-card-featured .event-time{color:var(--ink)}
.event-card .date-block{min-width:42px;background:var(--soft);border-radius:10px;padding:8px 5px}
.event-card .date-block strong{font-size:25px;font-weight:700;letter-spacing:-.5px}
.event-card h3{font-size:21px;font-weight:700;margin-bottom:10px}
.event-card .event-time{font-size:17px;font-weight:600}
.event-card .event-place{font-size:14px;line-height:1.5}
.event-card .event-next{border-color:var(--line);font-size:13px;margin-top:14px;padding-top:12px}
.event-card-past .date-block{background:#f3f4f8}
.history-heading{background:var(--soft);color:var(--ink);padding:9px 12px;border-radius:8px;font-size:17px;letter-spacing:-.2px;text-transform:none;font-weight:600;margin:20px 0 0}
.event-cover,.event-cover-compact{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:16px}
.event-cover .sport-court{display:none}
.event-cover .cover-top{margin-bottom:16px}
.event-cover h1,.event-cover-compact h1{margin:0 0 20px;max-width:none}
.cover-status{background:var(--soft);color:var(--green);border:0;border-radius:8px;font-size:13px;padding:6px 10px}
.cover-date{border-color:var(--line);padding-top:14px;gap:8px 16px}
.cover-date strong,.event-cover-compact .cover-date strong{font-size:20px;font-weight:600;color:var(--ink)}
.cover-date span{font-size:16px;color:var(--muted)}
.event-details,.collection-panel{margin-top:16px}
.section-head{margin:28px 0 12px;gap:12px}
.cancellation-policy{padding:20px 0}.cancellation-policy h2{font-size:18px}.cancellation-policy p,.roster-progress{font-size:14px;line-height:1.6}
.hint,.dues-summary,.collection-panel .hint{background:var(--soft);border-radius:12px;font-size:14px;line-height:1.55;padding:14px 16px}
.hint.error{background:#fff0f3;color:var(--red)}
.profile-summary{background:transparent;color:#17171b;border:0;border-radius:0;padding:0;margin:24px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-summary>p{grid-column:1/-1;margin:0;font-size:16px;font-weight:600}
.profile-summary>p,.profile-summary .summary-value>span,.profile-summary .summary-bottom>span{color:#17171b}
.profile-summary .summary-value strong{color:#17171b;font-size:40px;font-weight:700}
.summary-bottom{border-color:var(--line)}
.profile-summary .summary-link{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:transparent;border:1px solid var(--line);color:#17171b;border-radius:14px;min-width:0;min-height:100px;font-size:15px;padding:16px 14px;margin:0}
.summary-role{font-weight:600}
.summary-count{display:flex;align-items:baseline;gap:6px;font-size:13px}
.summary-count strong{font-size:22px;font-weight:600;line-height:1.2}
.profile-summary .summary-link:hover{background:transparent;border-color:#17171b}
.profile-heading{display:grid;grid-template-columns:56px minmax(0,1fr) auto;margin:4px 0 24px;align-items:center;gap:12px}
.profile-edit{border:1px solid var(--line);border-radius:10px;padding:8px 12px;flex:0 0 auto;max-width:100%;font-size:13px}
.profile-heading .profile-edit{grid-column:3;grid-row:1;justify-self:end;align-self:start;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0}
.profile-heading>div{min-width:0}
.profile-heading h1{overflow-wrap:anywhere}
@media(max-width:600px){.profile-heading .profile-edit{width:44px;padding:10px}.profile-heading .profile-edit span{display:none}}
.avatar,.avatar-large{border-radius:12px}.profile-card .avatar-large{background:var(--soft)}
.person{font-size:15px}.person span{font-size:13px;line-height:1.5}
.button{border-radius:12px;min-height:48px;line-height:1.4;white-space:normal}
.button.lime{background:var(--green);color:#fff}
.button.secondary{border-color:var(--line)}
.text-button.back{background:var(--soft);border-color:transparent;color:var(--green);font-size:14px;margin-bottom:20px}
.main-nav{border-radius:18px;box-shadow:0 3px 18px #252a5a12;background:#fff}
.main-nav button{border-radius:12px;font-size:11px;min-height:48px}
.main-nav button[aria-current=page],.main-nav button[aria-current=page] span{background:var(--soft);color:var(--green)}
.event-form .form-section{gap:18px}.form-section h2:before{left:18px}
.event-form label.field,.select-label{font-size:14px;color:var(--muted)}
input,textarea,select,.event-form input,.event-form textarea,.event-form select,.select-trigger{border-radius:12px;border-color:var(--line);background:#fff}
.select-trigger{font-size:16px}
.event-form .filter-panel summary{padding:0;min-height:44px}
.event-form .filter-panel .list{padding:16px 0 0}
.form-section>.small,.event-form .small{font-size:14px}
dialog{padding:22px;border:1px solid var(--line);border-radius:20px}
dialog h2{font-size:24px;line-height:1.25;margin-bottom:20px}
.dialog-close{margin-top:20px;min-height:44px}
.transfer-phone{font-size:24px;padding:16px;overflow-wrap:anywhere}
.schedule-list{border-radius:16px}.schedule-date{padding:16px}
.empty,.error-state{border:1px solid var(--line);border-radius:16px;padding:28px 20px;text-align:center}
.empty p{font-size:14px;line-height:1.55}
.organizer-agenda .agenda-roster,.organizer-agenda .agenda-payment,.agenda-map{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:400px){
 .shell,body:has(.organizer-agenda) .shell{padding:16px 14px calc(100px + env(safe-area-inset-bottom,0px))}
 .card,.form-section,.collection-panel,.event-form .collection-editor{padding:16px}
 .event-form.card,.profile-card{padding:0}
 .form-section h2:before{left:16px}
 .event-cover{padding:18px}
 h1,.home-hero h1,.form-hero h1,.profile-heading h1,.event-cover h1{font-size:28px}
 .profile-edit{align-self:auto}
 .event-card{gap:12px}.event-card h3{font-size:19px}
 dialog{padding:18px}.transfer-recipient{gap:16px}
 .form-grid{grid-template-columns:minmax(0,1fr)}
}

/* SAS-34: visible roster access before and after registration. */
.roster-entry{margin:12px 0;padding:16px}
.roster-entry-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.roster-entry-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.roster-faces{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.roster-faces .avatar{width:28px;height:28px;font-size:13px;flex:none}
.roster-entry-bottom button{flex:none;min-height:44px;padding:10px 12px;font-size:14px}
.roster-preview-person{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.roster-preview-person>span:last-child{min-width:0;overflow-wrap:anywhere}
.roster-dialog h3{font-size:16px;margin:20px 0 4px}
@media(max-width:360px){.roster-faces .avatar:nth-child(n+3){display:none}}

.event-cover.event-cover-compact{padding:14px 16px}
.event-cover.event-cover-compact h1{font-size:24px;margin:8px 0 12px}
.event-cover.event-cover-compact .cover-top{margin-bottom:8px}
.join-summary .roster-entry{padding:12px 0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;margin:12px 0}
.join-summary .roster-entry-bottom{margin-top:8px}

.notification-settings{margin-top:28px;padding-top:24px;border-top:1px solid #e0e2ed}.notification-setting-row{display:flex;align-items:flex-start;gap:20px}.notification-setting-row>div{flex:1;min-width:0}.notification-setting-row p{margin:8px 0 0}.notification-switch{flex:0 0 48px;width:48px;height:28px;padding:3px;border:0;border-radius:20px;background:#b8bdcc;cursor:pointer}.notification-switch span{display:block;width:22px;height:22px;border-radius:50%;background:white;transition:transform .15s}.notification-switch[aria-checked=true]{background:var(--primary,#555aef)}.notification-switch[aria-checked=true] span{transform:translateX(20px)}.notification-switch:focus-visible{outline:3px solid #9398ff;outline-offset:3px}.notification-switch:disabled{opacity:.6}

.notification-settings .notification-switch{min-height:28px;height:28px;min-width:48px;max-width:48px;padding:3px;box-shadow:none;line-height:1;display:block;align-self:flex-start;margin-top:2px}.notification-settings>p{margin-top:16px}.notification-settings [role=status]:empty{display:none}
.sport-list+.notification-settings{border-top:0;padding-top:0}
@media(max-width:480px){.profile-card>.actions>.button{flex:0 0 auto;min-height:48px}}

/* Feedback batch: roster identity and a secondary removal action. */
.participant .participant-handle,.roster-person-name .participant-handle{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:14px;line-height:1.4;margin:2px 0 6px}
.roster-person-name{min-width:0;display:grid;gap:2px}
.participant:has(.participant-remove){display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start}
.participant .participant-remove{grid-column:2;justify-self:start;min-height:44px;margin:4px 0 0;font-size:14px}
.remove-participant-dialog{display:grid;gap:16px}.remove-participant-dialog p{margin:0}.remove-participant-dialog .actions{margin-top:8px}
.address-option{display:grid;gap:4px;white-space:normal;overflow-wrap:anywhere}.address-option small{line-height:1.4}

.group-settings{display:grid;gap:16px}.group-settings h2,.group-settings p{margin:0}.group-selected{display:grid;gap:6px;padding:16px;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}.group-selected span{font-size:14px;color:var(--muted)}

.payment-person{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:12px}
.payment-person h3{margin:0;overflow-wrap:anywhere}
.payment-person .participant-handle{display:block;font-size:14px;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}

.remove-participant-dialog h2,.remove-participant-dialog .hint{margin:0}
.remove-participant-dialog .roster-preview-person{padding:0 0 12px}

.roster-preview-person .roster-profile{justify-content:flex-start;flex:1;min-width:0;min-height:44px;padding:0;text-align:left;font-size:16px}
.roster-person-name .participant-handle{margin:0}

.group-preferences summary{padding:10px 0;min-height:44px;cursor:pointer;color:var(--ink);font-weight:600}.group-preferences-fields{display:grid;gap:16px;padding-top:12px}.group-notification-toggle{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}.group-notification-toggle input[type=checkbox]{width:20px;height:20px;min-height:20px;padding:0;margin:0;flex:0 0 20px;accent-color:var(--green)}.group-notification-toggle span{min-width:0;line-height:1.4}
