.side-actions{display:flex;align-items:center;gap:8px;margin-top:auto}.side-actions form{margin:0}.route-alarm-bell{position:relative;width:42px;min-width:42px;height:42px;border-radius:999px;border:1px solid #9fc8b0;background:#eef8ef;color:#245437;font-size:1.12rem;display:inline-grid;place-items:center;cursor:pointer;box-shadow:0 0 0 0 transparent}.route-alarm-bell.is-active{border-color:#f5cf6a;background:#ffefb1;color:#513d00;box-shadow:0 0 0 0 rgba(255,207,80,.45);animation:routeAlarmPulse 1.15s ease-in-out infinite}.route-alarm-bell[hidden],.route-alarm-bell b[hidden],.route-alarm-panel[hidden]{display:none!important}.route-alarm-bell b{position:absolute;right:-5px;top:-7px;min-width:20px;height:20px;border-radius:999px;background:#d9342b;color:#fff;border:2px solid #174b68;font-size:.68rem;line-height:16px;text-align:center}.route-alarm-panel{background:#fff9df;color:#403300;border:1px solid #f0cf66;border-radius:8px;padding:10px;box-shadow:0 10px 26px #23180024}.route-alarm-panel strong{display:block;margin-bottom:7px}.route-alarm-list{display:grid;gap:7px;margin-bottom:8px}.route-alarm-list p{margin:0;padding:7px;border-radius:6px;background:#fff;color:#304450;font-size:.82rem;line-height:1.45}.route-alarm-panel .small{display:inline-flex;margin-top:2px;color:#174b68;font-weight:800}@keyframes routeAlarmPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,207,80,.45)}50%{box-shadow:0 0 0 7px rgba(255,207,80,0)}}@media(max-width:850px){body .shell aside>.side-actions{grid-column:2;grid-row:1;margin:0;justify-self:end}body .shell aside>.side-actions form .ghost{width:auto;min-height:38px;padding:8px 11px}body .shell aside>.route-alarm-panel{grid-column:1/-1;grid-row:3}}
.team-logo{width:48px!important;height:48px!important;max-width:48px;max-height:48px;object-fit:contain;display:block;margin-bottom:10px}
@media(max-width:850px){body{overflow-x:hidden}body .shell{display:block}body .shell aside{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:10px 12px;box-shadow:0 4px 14px #0b2d1e26}body .shell aside>.brand{min-width:0}body .shell aside>.brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .shell aside>.muted{display:none}body .shell aside>nav{grid-column:1/-1;display:flex;gap:6px;width:100%;margin:0;padding:0 0 2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}body .shell aside>nav a{flex:0 0 auto;padding:9px 11px;white-space:nowrap}body .shell aside>form{grid-column:2;grid-row:1;margin:0}body .shell aside>form .ghost{width:auto;min-height:38px;padding:8px 11px}body .shell main{padding:18px 14px 84px}body .shell .topbar{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}body .shell .topbar>div{min-width:0}body .shell .topbar h1{font-size:1.4rem;overflow-wrap:anywhere}body .shell .topbar .badge{flex:0 1 auto;max-width:46%;margin-top:0;white-space:normal}body .shell .hero,body .shell .stats article,body .shell .section{padding:16px}body .shell .form input,body .shell .form select,body .shell .form textarea{width:100%;min-width:0}body .shell .split{align-items:flex-start;gap:8px}body .shell .split>*{min-width:0}body .shell .list article{overflow-wrap:anywhere}}@media(max-width:480px){body .shell aside{padding:9px 10px}body .shell aside>.brand{font-size:.92rem}body .shell aside>.brand strong{padding:7px}body .shell aside>nav a{padding:8px 9px;font-size:.86rem}body .shell main{padding:15px 10px 76px}body .shell .topbar{display:block}body .shell .topbar .badge{max-width:100%;margin-top:8px}body .shell .hero{padding:15px}body .shell .section{padding:14px}body .shell .stats{gap:10px}}
.table-wrap{width:100%;overflow-x:auto;border:1px solid #cfe0ea;border-radius:8px}.table-wrap table{width:100%;min-width:680px;border-collapse:collapse;background:#fff}.table-wrap th,.table-wrap td{padding:12px 14px;border-bottom:1px solid #dce8ee;text-align:right;font-variant-numeric:tabular-nums}.table-wrap th:first-child,.table-wrap td:first-child{text-align:left}.table-wrap thead th{background:#e6f3f8;color:#174b68;font-weight:800}.table-wrap tbody tr:nth-last-child(-n+2) th,.table-wrap tbody tr:nth-last-child(-n+2) td{background:#f0f8fb;font-weight:800}.table-wrap tbody tr:last-child th,.table-wrap tbody tr:last-child td{background:#dff1f8;color:#174b68;font-size:1rem}
.meeting-participants{margin-top:4px}.meeting-participant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.meeting-participant-grid fieldset{min-width:0;border:1px solid #cfe0ea;border-radius:6px;padding:10px}.meeting-participant-grid legend{padding:0 5px;font-weight:750}.check-row{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;margin:8px 0;font-weight:500!important}.check-row input{width:auto!important;min-width:auto!important}.check-row small{color:#6d8578}
.member-directory{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}.member-directory .member-card{display:flex;align-items:center;gap:12px;margin:0}.member-photo{width:77px!important;height:77px!important;max-width:77px!important;max-height:77px!important;min-width:77px;object-fit:cover;border:1px solid #c5df9a;border-radius:0;background:#edf5ef}.route-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.route-photos img{width:192px!important;height:96px!important;max-width:100%!important;min-width:0;object-fit:cover;border:1px solid #c5df9a;border-radius:0;background:#edf5ef}.member-card small{display:block;margin-top:5px;line-height:1.5}
.shell main .list article .user-photo{display:block!important;float:none!important;width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;min-height:48px!important;max-height:48px!important;aspect-ratio:1/1!important;object-fit:cover!important;border:1px solid #c5df9a;border-radius:0!important;background:#edf5ef;margin:0 0 8px!important}
.self-profile{max-width:620px}.route-photo-edit{margin-top:12px;border-top:1px solid #d8eaf4;padding-top:10px}.route-photo-edit summary{cursor:pointer;color:#24658b;font-weight:700}.route-photo-edit .form{margin-top:12px}

*{box-sizing:border-box}body{margin:0;background:#f3f7f3;color:#17352a;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit}.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}aside{background:#123d2d;color:#eaf6ed;padding:24px 18px;display:flex;flex-direction:column;gap:16px}.brand{display:flex;align-items:center;gap:10px;font-size:1.05rem}.brand strong{background:#c7ed72;color:#17352a;padding:9px;border-radius:8px}.muted{color:#6d8578;line-height:1.6}aside .muted{color:#b7d2bd;font-size:.88rem}nav{display:grid;gap:5px;margin:14px 0 auto}nav a{padding:11px 12px;text-decoration:none;border-radius:7px;color:#d5e9d8}nav a:hover,nav a.active{background:#2b7954;color:#fff}.ghost{background:transparent;color:#d5e9d8;border:1px solid #638e70}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.topbar h1{margin:4px 0 0;font-size:1.8rem}.shell main{padding:34px clamp(22px,5vw,70px);max-width:1400px;width:100%}.eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800;color:#3b8a58}.badge{display:inline-flex;align-items:center;background:#e3f2c8;border:1px solid #c5df9a;color:#2f683c;border-radius:999px;padding:7px 11px;font-size:.78rem}.hero{background:linear-gradient(120deg,#dcefd8,#f8fbe5);border:1px solid #cce3c8;border-radius:12px;padding:28px;margin-bottom:20px}.hero h2{font-size:2rem;margin:8px 0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stats article,.section,.login-card{background:#fff;border:1px solid #d8e6d9;border-radius:10px;padding:20px;box-shadow:0 8px 20px #1d4d2b0b}.stats span,.stats small{display:block;color:#708878}.stats strong{display:block;font-size:1.65rem;margin:8px 0}.section h2{margin-top:0;font-size:1.15rem}.grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:18px}.form{display:grid;gap:13px}.form label{display:grid;gap:6px;font-weight:650;font-size:.9rem}.form input,.form select,.form textarea{width:100%;border:1px solid #c9d9cb;border-radius:6px;padding:11px;background:#fbfdfb;font:inherit}.form textarea{min-height:100px;resize:vertical}.form button,button{border:0;border-radius:6px;background:#2d7a51;color:#fff;padding:11px 15px;font:inherit;cursor:pointer}.form button:hover,button:hover{background:#1f6040}.small{padding:7px 10px;font-size:.78rem;margin-top:10px}.list{display:grid;gap:10px}.list article{border:1px solid #e0eae0;border-radius:7px;padding:13px}.split{display:flex;justify-content:space-between;gap:10px}.list p{margin:8px 0;color:#55705d}.list small{color:#718576}.notice{padding:12px 15px;border-radius:7px;margin-bottom:16px;background:#e7f0e8}.notice.error{background:#fde8e5;color:#8d3128}.notice.success{background:#e3f4dc;color:#286238}.login-main{min-height:100vh;display:grid;place-items:center;padding:25px}.login-card{width:min(430px,100%);padding:32px}.login-card h1{margin:8px 0}.narrow{max-width:420px}@media(max-width:850px){.shell{grid-template-columns:1fr}aside{position:relative;padding:15px}aside nav{display:flex;overflow:auto;margin:0}aside nav a{white-space:nowrap}.shell main{padding:24px 16px}.topbar{display:block}.topbar .badge{margin-top:12px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:1fr}}@media(max-width:480px){.stats{grid-template-columns:1fr}.hero h2{font-size:1.5rem}}
