:root{color:#213547;background-color:#f5f0e8;font-family:Segoe UI,system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}body{min-width:320px;margin:0}a{text-decoration:none}.river-map-container{border-bottom:1px solid var(--border-soft);background-image:url(/images/hero-avon.jpg);background-position:50%;background-size:cover;width:100%;padding:1rem 0 1.1rem;position:relative;overflow:hidden}.river-map-container:before{content:"";background:#f5f0e8ad;position:absolute;inset:0}.river-map-svg{width:calc(100% - 4rem);max-width:var(--page-max-width);-webkit-user-select:none;user-select:none;touch-action:none;z-index:1;margin:0 auto;display:block;position:relative}.river-path-bg{fill:none;stroke:var(--river-light);stroke-width:6px;stroke-linecap:round;opacity:.25}.river-path-selected{fill:none;stroke:var(--river-light);stroke-width:6px;stroke-linecap:round;opacity:.9}.river-location-dot{fill:var(--river-mid);stroke:var(--white);stroke-width:1.5px;transition:fill .15s}.river-location-dot.out-of-range{fill:var(--river-light);opacity:.3}.river-location-label{fill:var(--river-deep);pointer-events:none;-webkit-user-select:none;user-select:none;font-size:9px;font-weight:500}.river-location-label.out-of-range{opacity:.3}.river-handle{fill:var(--river-deep);stroke:var(--white);stroke-width:2px;cursor:grab;filter:drop-shadow(0 1px 3px #0000004d);transition:fill .1s}.river-handle:hover{fill:var(--river-mid)}.river-handle-control:focus-visible{outline:none}.river-handle-control:focus-visible .river-handle-target{fill:#ffffff29;stroke:var(--river-deep);stroke-width:2px}.river-handle-control:focus-visible .river-handle{fill:var(--river-mid);stroke-width:4px}.river-handle-target{fill:#0000;cursor:grab}.river-handle-label{fill:var(--river-deep);pointer-events:none;-webkit-user-select:none;user-select:none;font-size:10px;font-weight:700}.north-arrow line{stroke:var(--river-deep);stroke-width:1.5px}.north-arrow-dark{fill:var(--river-deep);stroke:var(--river-deep);stroke-width:.5px}.north-arrow-light{fill:var(--white);stroke:var(--river-deep);stroke-width:.5px}.north-arrow-label{fill:var(--river-deep);font-size:10px;font-weight:700}@media (width<=600px){.river-map-container{padding:.75rem 0 .9rem}.river-map-svg{width:calc(100% - 1.5rem)}.river-location-label{font-size:7px}.river-handle-label{font-size:8px}}:root{--river-deep:#1a3a4a;--river-mid:#2d6a7a;--river-light:#4a9eb8;--riverbank-green:#3a6b35;--earth-brown:#6b4e37;--cream:#f5f0e8;--white:#fff;--surface:#fffdf8;--surface-muted:#ebe4d8;--border-soft:#1a3a4a29;--text-muted:#607176;--shadow-soft:0 10px 30px #1a3a4a1a;--focus-ring:0 0 0 3px #4a9eb847;--page-max-width:1400px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:2000;background:var(--white);color:var(--river-deep);box-shadow:var(--shadow-soft);border-radius:4px;padding:.55rem .8rem;font-weight:700;transition:transform .15s ease-out;position:absolute;top:.75rem;left:.75rem;transform:translateY(-150%)}.skip-link:focus-visible{box-shadow:var(--focus-ring), var(--shadow-soft);outline:none;transform:translateY(0)}.title-bar{background:var(--river-deep);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:0;display:flex}.title-bar-inner{width:100%;max-width:var(--page-max-width);justify-content:space-between;align-items:center;gap:1rem;margin:0 auto;padding:.75rem 2rem;display:flex}.title-bar-content{align-items:baseline;gap:1rem;min-width:0;display:flex}.title-bar-heading{color:var(--white);letter-spacing:0;margin:0;font-size:1.4rem;font-weight:700}.title-bar-subtitle{color:var(--cream);opacity:.85;margin:0;font-size:.85rem;font-style:italic}.auth-button-container{z-index:100;position:relative}.auth-trigger{width:42px;height:42px;color:var(--cream);cursor:pointer;background:#1a3a4a99;border:2px solid #ffffffb3;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:background .2s,border-color .2s;display:flex}.auth-trigger:hover{border-color:var(--white);background:#1a3a4ad9}.auth-trigger:focus-visible{box-shadow:var(--focus-ring);outline:none}.auth-icon{width:22px;height:22px}.auth-avatar{text-transform:uppercase;font-size:1.1rem;font-weight:700;line-height:1}.auth-dropdown{background:var(--white);border-radius:8px;min-width:220px;padding:.5rem 0;animation:.15s ease-out authFadeIn;position:absolute;top:calc(100% + .5rem);right:0;box-shadow:0 4px 20px #0003}@keyframes authFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.auth-profile-info{flex-direction:column;gap:.15rem;padding:.75rem 1rem;display:flex}.auth-profile-name{color:var(--river-deep);font-size:.95rem;font-weight:600}.auth-profile-email{color:#666;word-break:break-all;font-size:.8rem}.auth-divider{border:none;border-top:1px solid #e5e5e5;margin:.25rem 0}.auth-menu-item{text-align:left;cursor:pointer;width:100%;color:var(--river-deep);background:0 0;border:none;padding:.6rem 1rem;font-size:.9rem;transition:background .15s;display:block}.auth-menu-item:hover{background:#4a9eb81a}.auth-menu-item:focus-visible{box-shadow:inset var(--focus-ring);outline:none}.auth-sign-out{color:#a94442}.auth-sign-out:hover{background:#a9444214}.auth-error-banner{color:#7d2f2f;background:#f2dede;border-bottom:1px solid #e2b8b8;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1.5rem;display:flex}.auth-error-content{flex-wrap:wrap;align-items:baseline;gap:.5rem;min-width:0;display:flex}.auth-error-title{color:#6f2626;font-size:.95rem}.auth-error-message{overflow-wrap:anywhere;font-size:.9rem}.auth-error-code{white-space:nowrap;background:#7d2f2f1a;border-radius:4px;padding:.1rem .35rem;font-size:.8rem;font-weight:600}.auth-error-dismiss{color:#7d2f2f;cursor:pointer;font:inherit;background:#fff;border:1px solid #b66a6a;border-radius:4px;flex:none;padding:.35rem .65rem;font-size:.85rem;font-weight:600}.auth-error-dismiss:hover{background:#f9eeee}@media (width<=640px){.auth-error-banner{flex-direction:column;align-items:stretch}.auth-error-dismiss{align-self:flex-start}}.activities-strip{max-width:var(--page-max-width);z-index:1;background:0 0;flex-wrap:wrap;justify-content:center;gap:.45rem;margin:.2rem auto 0;padding:.75rem 2rem 0;display:flex;position:relative}.activity-filter{color:var(--river-deep);letter-spacing:0;text-transform:none;cursor:pointer;white-space:nowrap;background:#ffffff52;border:1px solid #0000;border-radius:6px;flex-direction:row;justify-content:center;align-items:center;gap:.4rem;min-height:34px;padding:.35rem .6rem;font-size:.78rem;font-weight:600;transition:background .2s,border-color .2s,color .2s,opacity .2s,transform .2s;display:flex}.activity-filter.active{color:var(--river-deep);opacity:1;background:#ffffffb8;border-color:#1a3a4a4d;box-shadow:inset 0 1px #ffffff8c}.activity-filter.active:hover{color:var(--river-mid);border-color:var(--river-mid);transform:translateY(-1px)}.activity-filter.inactive{color:var(--river-deep);opacity:.42;background:#ffffff2e}.activity-filter.inactive:hover{opacity:.68;background:#ffffff6b}.activity-filter:focus-visible{box-shadow:var(--focus-ring);outline:none}.activity-icon{width:24px;height:24px}.calendar-container{max-width:var(--page-max-width);background:var(--cream);margin:0 auto;padding:1.75rem 2rem 2.25rem}.calendar-container .fc-theme-standard td,.calendar-container .fc-theme-standard th,.calendar-container .fc-theme-standard .fc-scrollgrid{border-color:var(--border-soft)}.calendar-container .fc .fc-toolbar{align-items:center;margin-bottom:1rem}.calendar-container .fc .fc-toolbar-title{color:var(--river-deep);font-weight:700}.calendar-container .fc .fc-button-primary{background-color:var(--river-mid);border-color:var(--river-deep);box-shadow:none}.calendar-status{text-align:center;color:var(--river-deep);padding:.75rem;font-size:.95rem}.calendar-error{color:#a94442;background:#f2dede;border-radius:4px}.calendar-container .fc .fc-button-primary:hover{background-color:var(--river-deep)}.calendar-container .fc .fc-button-primary:focus-visible{box-shadow:var(--focus-ring)}.calendar-container .fc .fc-daygrid-day-number{color:var(--text-muted);font-weight:500}.calendar-container .fc .fc-col-header-cell{background-color:var(--river-deep);color:var(--white)}.calendar-container .fc .fc-day-today{background-color:#4a9eb826!important}.calendar-container .fc .fc-daygrid-day.fc-day-sat,.calendar-container .fc .fc-daygrid-day.fc-day-sun{background-color:#1a3a4a0f}.calendar-container .fc table{table-layout:fixed}.calendar-container .fc .fc-day-mon,.calendar-container .fc .fc-day-tue,.calendar-container .fc .fc-day-wed,.calendar-container .fc .fc-day-thu,.calendar-container .fc .fc-day-fri{width:12.5%}.calendar-container .fc .fc-day-sat,.calendar-container .fc .fc-day-sun{width:18.75%}.calendar-container .fc .fc-multimonth-title{background:var(--river-deep);color:var(--white);padding:.5rem;font-weight:600}.day-cell-add{background:var(--river-mid);width:auto;height:20px;color:var(--white);cursor:pointer;opacity:0;pointer-events:none;z-index:2;border:none;border-radius:10px;justify-content:center;align-items:center;padding:0 6px;font-size:.7rem;font-weight:600;line-height:1;transition:background .15s,opacity .15s;display:inline-flex;position:absolute;top:4px;left:4px}.day-cell-add:hover{background:var(--riverbank-green)}.day-cell-add:focus-visible{box-shadow:var(--focus-ring);outline:none}.calendar-container:not(.auth-enabled) .day-cell-add{display:none}.auth-enabled .fc .fc-daygrid-day:hover .day-cell-add,.auth-enabled .fc .fc-daygrid-day:focus-within .day-cell-add,.auth-enabled .day-cell-add:focus-visible{opacity:1;pointer-events:auto}.new-event-modal{max-width:520px}.new-event-form{flex-direction:column;gap:.9rem;margin-top:1rem;display:flex}.new-event-label{color:var(--river-deep);flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600;display:flex}.new-event-input{border:1px solid #ccc;border-radius:4px;padding:.5rem .6rem;font-family:inherit;font-size:.9rem;transition:border-color .15s}.new-event-input:focus{border-color:var(--river-mid);box-shadow:var(--focus-ring);outline:none}.new-event-textarea{resize:vertical}.new-event-dates{flex-wrap:wrap;gap:1rem;display:flex}.new-event-dates .new-event-label{flex:1;min-width:min(100%,12rem)}.new-event-activities{border:1px solid #ddd;border-radius:4px;padding:.6rem .8rem}.new-event-activities legend{color:var(--river-deep);padding:0 .3rem;font-size:.85rem;font-weight:600}.new-event-activity-check{color:#333;cursor:pointer;align-items:center;gap:.3rem;margin-right:1rem;font-size:.85rem;font-weight:400;display:inline-flex}.new-event-error{color:#a94442;background:#f2dede;border-radius:4px;margin:0;padding:.5rem .7rem;font-size:.85rem}.new-event-submit{background:var(--river-mid);color:var(--white);cursor:pointer;border:none;border-radius:4px;padding:.6rem 1.2rem;font-size:.95rem;font-weight:600;transition:background .15s}.new-event-submit:hover{background:var(--river-deep)}.new-event-submit:focus-visible{box-shadow:var(--focus-ring);outline:none}.new-event-submit:disabled{opacity:.6;cursor:not-allowed}.attribution{text-align:center;color:#888;background:var(--river-deep);padding:1rem;font-size:.75rem}.attribution a{color:var(--river-light)}.event-card{cursor:pointer;flex-direction:column;gap:.18rem;width:100%;padding:.35rem .45rem;display:flex;overflow:hidden}.event-card-title{color:var(--river-deep);white-space:normal;word-wrap:break-word;font-size:.8rem;font-weight:600;line-height:1.2}.event-card-icons{gap:.25rem;margin-top:auto;display:flex}.event-card-group{color:var(--text-muted);font-size:.65rem;font-weight:500;line-height:1.2}.event-card-icons .activity-icon{width:16px;height:16px;color:var(--river-mid)}.calendar-container .fc .fc-event{background:var(--surface);border:1px solid var(--border-soft);border-left:3px solid var(--river-mid);border-radius:4px;padding:0;transition:background .15s,border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #1a3a4a14}.calendar-container .fc .fc-event:hover{border-color:var(--river-mid);background:#f4fbfd;box-shadow:0 3px 8px #1a3a4a1f}.calendar-container .fc .fc-event:focus-visible{box-shadow:var(--focus-ring), 0 3px 8px #1a3a4a1f;outline:none}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-content{background:var(--white);width:90%;max-width:480px;max-height:calc(100vh - 2rem);box-shadow:var(--shadow-soft);border-radius:8px;padding:2rem;position:relative;overflow-y:auto}.modal-close{cursor:pointer;color:var(--river-deep);background:0 0;border:none;font-size:1.5rem;line-height:1;position:absolute;top:.5rem;right:.75rem}.modal-close:hover{color:var(--river-mid)}.modal-close:focus-visible{box-shadow:var(--focus-ring);outline:none}.modal-title{color:var(--river-deep);margin:0 0 .5rem;font-size:1.4rem}.modal-dates{color:var(--river-mid);margin:0 0 1rem;font-size:.9rem;font-weight:500}.modal-description{color:#333;margin:0;line-height:1.5}.modal-group-name{color:var(--river-mid);margin:0 0 .5rem;font-size:.85rem;font-weight:500}.modal-edit-actions{gap:.75rem;margin-top:1.2rem;display:flex}.modal-edit-btn{background:var(--river-mid);color:var(--white);cursor:pointer;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.85rem;font-weight:600;transition:background .15s}.modal-edit-btn:hover{background:var(--river-deep)}.modal-edit-btn:focus-visible,.modal-delete-btn:focus-visible,.modal-cancel-btn:focus-visible{box-shadow:var(--focus-ring);outline:none}.modal-delete-btn{color:#a94442;cursor:pointer;background:0 0;border:1px solid #a94442;border-radius:4px;padding:.5rem 1rem;font-size:.85rem;font-weight:600;transition:background .15s,color .15s}.modal-delete-btn:hover{color:var(--white);background:#a94442}.modal-delete-btn:disabled{opacity:.6;cursor:not-allowed}.modal-cancel-btn{color:#666;cursor:pointer;background:0 0;border:1px solid #ccc;border-radius:4px;padding:.5rem 1rem;font-size:.85rem;font-weight:600;transition:background .15s}.modal-cancel-btn:hover{background:#f0f0f0}@media (width<=600px){.activities-strip{scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;gap:.4rem;padding:.65rem .75rem 0;overflow-x:auto}.activities-strip::-webkit-scrollbar{display:none}.activity-filter{flex:none}.title-bar-inner{align-items:flex-start;padding:.7rem 1rem}.title-bar-content{flex-direction:column;gap:.1rem}.title-bar-heading{font-size:1.1rem}.calendar-container{padding:1rem .75rem 1.5rem}.modal-overlay{align-items:flex-start;padding:.75rem}.modal-content{width:100%;padding:1.25rem}.new-event-dates{flex-direction:column;gap:.75rem}.new-event-submit{width:100%}.group-edit-add-member{flex-direction:column}.group-edit-members-table{display:block;overflow-x:auto}}.auth-groups-section{padding:.4rem 1rem}.auth-groups-label{text-transform:uppercase;letter-spacing:0;color:#999;margin-bottom:.3rem;font-size:.7rem;font-weight:700;display:block}.auth-group-item{padding:.25rem 0}.auth-group-link{color:var(--river-deep);align-items:center;gap:.5rem;padding:.2rem 0;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .15s;display:flex}.auth-group-link:hover{color:var(--river-mid)}.auth-group-link:focus-visible{box-shadow:var(--focus-ring);outline:none}.auth-group-text{color:var(--river-deep);font-size:.9rem}.auth-group-badge{text-transform:uppercase;letter-spacing:0;border-radius:3px;padding:.1rem .4rem;font-size:.65rem;font-weight:700;line-height:1}.auth-group-badge.admin{color:var(--river-mid);background:#4a9eb826}.new-event-group-info{color:var(--river-deep);border-left:3px solid var(--river-mid);background:#4a9eb814;border-radius:4px;padding:.5rem .6rem;font-size:.85rem}.group-edit-page{background:var(--cream);max-width:720px;min-height:100vh;margin:0 auto;padding:2rem}.group-edit-back{color:var(--river-mid);margin-bottom:1rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .15s;display:inline-block}.group-edit-back:hover{color:var(--river-deep)}.group-edit-back:focus-visible{box-shadow:var(--focus-ring);outline:none}.group-edit-heading{color:var(--river-deep);margin:0 0 1.5rem;font-size:1.8rem}.group-edit-status{text-align:center;color:var(--river-deep);padding:2rem;font-size:1rem}.group-edit-error{color:#a94442}.group-edit-section{background:var(--white);border-radius:8px;margin-bottom:1.5rem;padding:1.5rem;box-shadow:0 2px 8px #00000014}.group-edit-subheading{color:var(--river-deep);border-bottom:2px solid #4a9eb833;margin:0 0 1rem;padding-bottom:.5rem;font-size:1.2rem}.group-edit-form{flex-direction:column;gap:.9rem;display:flex}.group-edit-label{color:var(--river-deep);flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600;display:flex}.group-edit-input{border:1px solid #ccc;border-radius:4px;padding:.5rem .6rem;font-family:inherit;font-size:.9rem;transition:border-color .15s}.group-edit-input:focus{border-color:var(--river-mid);box-shadow:var(--focus-ring);outline:none}.group-edit-textarea{resize:vertical}.group-edit-save{background:var(--river-mid);color:var(--white);cursor:pointer;border:none;border-radius:4px;align-self:flex-start;padding:.6rem 1.5rem;font-size:.9rem;font-weight:600;transition:background .15s}.group-edit-save:hover{background:var(--river-deep)}.group-edit-save:focus-visible,.group-edit-add-btn:focus-visible,.group-edit-role-btn:focus-visible,.group-edit-remove-btn:focus-visible{box-shadow:var(--focus-ring);outline:none}.group-edit-save:disabled{opacity:.6;cursor:not-allowed}.group-edit-message{border-radius:4px;margin:0;padding:.5rem .7rem;font-size:.85rem}.group-edit-message.success{color:#3c763d;background:#dff0d8}.group-edit-message.error{color:#a94442;background:#f2dede}.group-edit-add-member{gap:.5rem;margin-bottom:1rem;display:flex}.group-edit-add-member .group-edit-input{flex:1}.group-edit-add-btn{background:var(--river-mid);color:var(--white);cursor:pointer;white-space:nowrap;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.85rem;font-weight:600;transition:background .15s}.group-edit-add-btn:hover{background:var(--river-deep)}.group-edit-add-btn:disabled{opacity:.6;cursor:not-allowed}.group-edit-members-table{border-collapse:collapse;width:100%;font-size:.9rem}.group-edit-members-table th{text-align:left;color:var(--river-deep);text-transform:uppercase;letter-spacing:0;border-bottom:2px solid #ddd;padding:.6rem .5rem;font-size:.8rem}.group-edit-members-table td{color:#333;border-bottom:1px solid #eee;padding:.6rem .5rem}.group-member-role-badge{text-transform:uppercase;border-radius:3px;padding:.15rem .5rem;font-size:.75rem;font-weight:700}.group-member-role-badge.admin{color:var(--river-mid);background:#4a9eb826}.group-member-role-badge.member{color:var(--riverbank-green);background:#3a6b351a}.group-edit-actions-cell{gap:.4rem;display:flex}.group-edit-role-btn{border:1px solid var(--river-mid);color:var(--river-mid);cursor:pointer;background:0 0;border-radius:3px;padding:.3rem .6rem;font-size:.75rem;font-weight:600;transition:background .15s,color .15s}.group-edit-role-btn:hover{background:var(--river-mid);color:var(--white)}.group-edit-remove-btn{color:#a94442;cursor:pointer;background:0 0;border:1px solid #a94442;border-radius:3px;padding:.3rem .6rem;font-size:.75rem;font-weight:600;transition:background .15s,color .15s}.group-edit-remove-btn:hover{color:var(--white);background:#a94442}.group-edit-current-user{background:#4a9eb80f}.group-edit-you-badge{color:var(--river-mid);vertical-align:middle;background:#4a9eb81f;border-radius:3px;margin-left:.5rem;padding:.1rem .4rem;font-size:.7rem;font-weight:600;display:inline-block}@media (prefers-reduced-motion:reduce){.app *,.app :before,.app :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.activity-filter.active:hover{transform:none}}
