/* ROWING V173 - Agenda mobile-first. Complements, not overrides, approved shared layout. */
.club-agenda-page .club-page{width:min(100%,1060px);max-width:1060px}
.agenda-intro{margin:6px 0 18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.agenda-intro p{color:#707070;margin:0;max-width:560px;font-size:13px;line-height:1.55}
.agenda-source-chip{display:inline-flex;align-items:center;gap:7px;background:#f1f1f1;border:1px solid #e2e2e2;color:#3d3d3d;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.agenda-source-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:#727272}
.agenda-focus{background:linear-gradient(118deg,#272727,#494949);color:white;border-radius:18px;padding:18px 18px 16px;display:grid;gap:10px;box-shadow:0 8px 22px rgba(35,35,35,.12)}
.agenda-focus-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.agenda-focus h2{font-size:17px;letter-spacing:-.04em;margin:0;font-weight:800}
.agenda-focus p{margin:0;color:#e4e4e4;font-size:12px;line-height:1.5}
.agenda-focus a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#ffffff;color:#2b2b2b;font-weight:800;font-size:12px;min-height:41px;padding:0 15px;border-radius:10px;white-space:nowrap}
.agenda-focus a:hover{background:#f5f5f5}
.agenda-focus .agenda-focus-status{color:#d0d0d0;font-size:12px;font-weight:750}
.agenda-filters{margin-top:16px;padding:15px;border:1px solid #e2e2e2;background:#ffffff;border-radius:17px;display:grid;gap:12px;box-shadow:0 4px 13px rgba(39,39,39,.03)}
.agenda-viewline{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.agenda-modes{display:flex;border-radius:11px;background:#f4f4f4;padding:4px;gap:3px;flex:1;min-width:0;max-width:350px}
.agenda-mode{min-height:36px;flex:1;border:0;background:transparent;color:#6c6c6c;font-size:12px;font-weight:780;border-radius:8px;padding:0 9px}
.agenda-mode[aria-pressed="true"]{background:#313131;color:#ffffff;box-shadow:0 2px 5px rgba(21,21,21,.12)}
.agenda-month-nav{display:flex;align-items:center;gap:5px;min-width:0}
.agenda-month-nav strong{font-size:12px;color:#373737;text-align:center;min-width:106px;max-width:190px}
.agenda-month-nav button{height:35px;width:35px;border:1px solid #e2e2e2;background:#ffffff;border-radius:9px;color:#373737;font-weight:800;font-size:18px}
.agenda-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.agenda-filter-grid label{color:#727272;font-weight:740;font-size:11px;display:grid;gap:4px}
.agenda-filter-grid select,.agenda-admin-form select,.agenda-admin-form input,.agenda-admin-form textarea{width:100%;min-width:0;background:#f8f8f8;border:1px solid #e3e3e3;border-radius:9px;min-height:41px;padding:9px 10px;color:#313131;font-size:14px}
.agenda-results-head{margin:20px 1px 9px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.agenda-results-head h2{font-size:17px;margin:0;letter-spacing:-.03em}
.agenda-results-head span{font-size:11px;color:#7f7f7f}
.agenda-list{display:grid;gap:10px}
.agenda-day-heading{margin:10px 1px -2px;font-size:12px;font-weight:850;letter-spacing:.02em;color:#707070;text-transform:capitalize}
.agenda-event{background:#ffffff;border:1px solid #e3e3e3;border-left:4px solid #747474;box-shadow:0 2px 12px rgba(36,36,36,.028);border-radius:14px;padding:13px;display:grid;gap:8px;min-width:0}
.agenda-event.is-suspended{border-left-color:#838383;background:#fdfdfd}
.agenda-event.is-training{border-left-color:#606060}
.agenda-event-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.agenda-tag{font-size:10px;letter-spacing:.025em;font-weight:850;color:#6c6c6c;white-space:nowrap}
.agenda-state{display:inline-flex;align-items:center;border-radius:7px;background:#f2f2f2;color:#535353;padding:4px 8px;font-size:10px;font-weight:800}
.agenda-state.is-suspended{background:#eeeeee;color:#585858}
.agenda-state.is-upcoming{background:#eeeeee;color:#474747}
.agenda-event h3{margin:0;color:#2a2a2a;font-size:15px;line-height:1.32;letter-spacing:-.02em;overflow-wrap:anywhere}
.agenda-event-meta{display:flex;gap:6px 12px;align-items:center;flex-wrap:wrap;color:#7e7e7e;font-size:11px}
.agenda-event-meta span{display:inline-flex;align-items:center;gap:4px}
.agenda-event-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}
.agenda-event-actions a,.agenda-event-actions button{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;min-height:39px;font-weight:790;font-size:11px;border-radius:8px;text-decoration:none;background:#383838;color:#ffffff;border:1px solid #383838}
.agenda-event-actions .is-secondary{background:#f7f7f7;color:#484848;border-color:#e4e4e4}
.agenda-event-actions button:disabled{color:#757575;background:#f3f3f3;border-color:#e1e1e1;cursor:not-allowed}
.agenda-notice-text{padding:9px 10px;background:#f3f3f3;border-radius:8px;border:1px solid #e4e4e4;color:#525252;font-size:11px;line-height:1.45}
.agenda-empty{padding:28px 18px;border-radius:13px;background:#ffffff;border:1px dashed #d9d9d9;color:#6e6e6e;text-align:center;font-size:13px}
.agenda-load-more{display:flex;justify-content:center;width:100%;margin:13px 0 0;background:#f1f1f1;color:#3c3c3c;font-weight:800;min-height:45px;border:0;border-radius:10px}
.agenda-pending{font-size:11px;color:#757575;line-height:1.5;margin:17px 4px 0}
.agenda-admin{margin-top:20px;padding:17px;border:1px solid #dcdcdc;background:#ffffff;border-radius:16px;display:grid;gap:16px}
.agenda-admin h2{font-size:18px;margin:0;letter-spacing:-.03em}.agenda-admin p{font-size:12px;color:#7f7f7f;margin:3px 0 0}
.agenda-admin-grid{display:grid;gap:13px}
.agenda-admin-form{background:#fcfcfc;padding:12px;border:1px solid #e7e7e7;border-radius:12px;display:grid;gap:10px;align-content:start}
.agenda-admin-form h3{font-size:14px;margin:0}.agenda-admin-form label{display:grid;gap:4px;color:#636363;font-size:12px;font-weight:690}
.agenda-admin-form .agenda-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.agenda-admin-form button{background:#3e3e3e;color:white;font-weight:800;border:0;min-height:42px;border-radius:9px}
.agenda-admin-form button:disabled{opacity:.5;cursor:default}
.agenda-admin-status{font-size:12px;color:#5e5e5e;min-height:15px}
@media(min-width:580px){.agenda-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.agenda-focus{grid-template-columns:1fr auto;align-items:center;padding:20px 22px}.agenda-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.club-agenda-page .club-page{max-width:1040px;padding:27px 32px 70px}.agenda-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.agenda-day-heading{grid-column:1/-1}.agenda-filters{padding:18px}.agenda-event{padding:15px}.agenda-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px){.agenda-modes{width:100%;max-width:none}.agenda-viewline{align-items:stretch}.agenda-month-nav{width:100%;justify-content:space-between}.agenda-filter-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.agenda-event-actions a{flex:1}}
/* Do not let the period navigation overlap the Semana tab on narrow phones. */
@media(max-width:619px){
 .agenda-viewline{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .agenda-modes{width:100%;max-width:none;min-width:0}
 .agenda-month-nav{width:100%;justify-content:space-between}
 .agenda-month-nav strong{flex:1;min-width:0;max-width:none}
}

/* V178: upcoming calendar and single, authenticated GPS check-in. */
.agenda-flash{padding:10px 12px;margin:0 0 12px;border-radius:10px;background:#f6f6f6;color:#454545;font-size:12px;border:1px solid #e1e1e1}
.agenda-flash[data-state="error"]{color:#4d4d4d;background:#f4f4f4;border-color:#d3d3d3}
.agenda-flash[data-state="ok"]{color:#505050;background:#f4f4f4;border-color:#dedede}
.agenda-event-actions button.is-present{border-color:#d3d3d3;background:#f2f2f2;color:#5d5d5d}
@media(max-width:430px){.agenda-modes{flex-wrap:wrap}.agenda-mode{flex-basis:calc(50% - 3px);min-width:0}.agenda-event-actions{display:grid;grid-template-columns:1fr 1fr}.agenda-event-actions a,.agenda-event-actions button{width:100%;min-width:0}}
