.brother-app{max-width:480px;margin:0 auto;min-height:100vh;padding-bottom:72px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1a1a1a;background:#f4f4f6}.page{padding:1rem}.page h1{font-size:1.4rem;margin:0 0 1rem}.card{background:#fff;border:1px solid #e3e3e6;border-radius:10px;padding:1rem;margin-bottom:1rem}.card h2{font-size:1rem;margin:0 0 .75rem}.points-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.points-tile{background:#fff;border:1px solid #e3e3e6;border-radius:8px;padding:.75rem;text-align:center}.points-tile .value{font-size:1.5rem;font-weight:700}.points-tile .label{font-size:.75rem;color:#666;text-transform:uppercase;letter-spacing:.03em}.list-item{border-bottom:1px solid #e3e3e6;padding:.75rem 0}.list-item:last-child{border-bottom:none}.list-item .title{font-weight:600}.list-item .meta{font-size:.85rem;color:#666;margin-top:.15rem}.status-badge.present,.status-badge.going,.status-badge.attended,.status-badge.approved{background:#dcfce7;color:#166534}.status-badge.excused,.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.unexcused,.status-badge.missed,.status-badge.denied{background:#fee2e2;color:#991b1b}.btn{border:none;border-radius:8px;padding:.5rem .9rem;font-size:.85rem;font-weight:600;background:#0a1628;color:#fff}.btn.secondary{background:#fff;color:#0a1628;border:1px solid #ccc}.tabs{display:flex;gap:.5rem;margin-bottom:1rem}.tab{flex:1;text-align:center;padding:.5rem;border-radius:8px;border:1px solid #e3e3e6;background:#fff;font-weight:600;font-size:.9rem}.tab.active{background:#0a1628;color:#fff;border-color:#0a1628}.bottom-nav{position:fixed;bottom:0;left:0;right:0;max-width:480px;margin:0 auto;display:flex;background:#fff;border-top:1px solid #e3e3e6;padding:.4rem 0 env(safe-area-inset-bottom,.4rem)}.bottom-nav a{flex:1;text-align:center;padding:.4rem 0;font-size:.75rem;color:#888;text-decoration:none}.bottom-nav a.active{color:#0a1628;font-weight:700}.empty-state{color:#888;font-size:.9rem;padding:1rem 0;text-align:center}.form-field textarea,.form-field input[type=file]{width:100%;box-sizing:border-box;padding:.5rem;border:1px solid #ccc;border-radius:6px;font:inherit}.topbar{background:#0a1628;padding:1rem 1.25rem 1.25rem;display:flex;align-items:center;justify-content:space-between}.topbar-title{color:#fff;font-size:1.05rem;font-weight:600}.home-greeting{color:#8fa3b8;font-size:.75rem;margin-bottom:.15rem}.home-name{color:#fff;font-size:1.05rem;font-weight:600}.avatar-link{text-decoration:none;display:block}.avatar{width:34px;height:34px;border-radius:50%;background:#c9a84c;display:flex;align-items:center;justify-content:center;color:#0a1628;font-size:.75rem;font-weight:600}.standing-card{background:#0a1628;border-radius:12px;padding:1rem 1.1rem;margin-bottom:1rem}.standing-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.standing-label{color:#8fa3b8;font-size:.75rem}.progress-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.3rem}.progress-cat{color:#ccc;font-size:.75rem}.progress-pts{color:#fff;font-size:.75rem;font-weight:600}.leaderboard-row{display:flex;align-items:center;gap:.75rem;background:#fff;border:1px solid #e3e3e6;border-radius:10px;padding:.6rem .9rem;margin-bottom:.5rem}.leaderboard-row.me{border-color:#c9a84c;background:#c9a84c14}.leaderboard-rank{width:1.4rem;text-align:center;font-size:.8rem;font-weight:700;color:#666}.leaderboard-name{flex:1;font-size:.85rem;font-weight:600}.leaderboard-pts{font-size:.8rem;font-weight:600;color:#7a4f00}.section-head{font-size:.75rem;font-weight:600;color:#666;margin:1rem 0 .5rem;text-transform:uppercase;letter-spacing:.03em}.event-card{background:#fff;border:1px solid #e3e3e6;border-radius:10px;padding:.75rem .9rem;margin-bottom:.5rem;display:flex;justify-content:space-between;align-items:center;gap:.75rem}.event-type-pill{font-size:.65rem;padding:.1rem .5rem;border-radius:999px;display:inline-block;margin-bottom:.25rem;text-transform:capitalize}.event-type-pill.pill-professional{background:#0a162812;color:#0a1628}.event-type-pill.pill-service{background:#c9a84c1f;color:#7a4f00}.event-type-pill.pill-social{background:#f1f1f2;color:#444}.event-type-pill.pill-fundraising{background:#1d9e751a;color:#085041}.event-name{font-size:.85rem;font-weight:600}.event-date{font-size:.7rem;color:#666;margin-top:.1rem}.event-pts{background:#c9a84c1f;color:#7a4f00;font-size:.7rem;font-weight:600;padding:.25rem .6rem;border-radius:6px;white-space:nowrap}.attend-card{background:#fff;border:1px solid #e3e3e6;border-radius:10px;padding:.75rem .9rem;margin-bottom:.5rem}.attend-row{display:flex;justify-content:space-between;align-items:center}.attend-label{font-size:.85rem;font-weight:600}.attend-sub{font-size:.7rem;color:#666;margin-top:.1rem}.badge-present{background:#dcfce7;color:#166534;font-size:.65rem;padding:.2rem .6rem;border-radius:999px;text-transform:capitalize}.badge-absent{background:#fee2e2;color:#991b1b;font-size:.65rem;padding:.2rem .6rem;border-radius:999px;text-transform:capitalize}.eboard-app{display:flex;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1a1a1a;background:#fafafa}.sidebar{width:220px;flex:0 0 220px;background:#fff;border-right:1px solid #e3e3e6;display:flex;flex-direction:column;padding:1rem;position:sticky;top:0;height:100vh}.sidebar-header{margin-bottom:1.5rem}.sidebar-title{font-size:1.2rem;font-weight:700}.sidebar-user{font-size:.8rem;color:#666;margin-top:.15rem}.sidebar-links{display:flex;flex-direction:column;gap:.15rem;flex:1}.sidebar-link{padding:.55rem .7rem;border-radius:8px;color:#333;text-decoration:none;font-size:.9rem;font-weight:500}.sidebar-link:hover{background:#f2f2f4}.sidebar-link.active{background:#1a1a1a;color:#fff}.sidebar-signout{margin-top:auto;width:100%}.eboard-main{flex:1;min-width:0;padding:2rem;max-width:1200px}.eboard-main h1{font-size:1.5rem;margin:0 0 1.25rem}.eboard-main h2{font-size:1.05rem;margin:0 0 .75rem}.card{background:#fff;border:1px solid #e3e3e6;border-radius:10px;padding:1.25rem;margin-bottom:1.25rem}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.25rem}.stat-tile{background:#fff;border:1px solid #e3e3e6;border-radius:10px;padding:1rem}.stat-tile .value{font-size:1.75rem;font-weight:700}.stat-tile .label{font-size:.8rem;color:#666;margin-top:.15rem}.stat-tile.warn .value{color:#b91c1c}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid #eee}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;color:#666}tbody tr:hover{background:#fafafa}a.row-link{color:#1a1a1a;text-decoration:none;font-weight:600}a.row-link:hover{text-decoration:underline}.toolbar{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.toolbar .spacer{flex:1}select,input[type=text],input[type=email],input[type=number],input[type=datetime-local],input[type=date],textarea{font:inherit;padding:.45rem .6rem;border:1px solid #ccc;border-radius:6px}button{font:inherit;cursor:pointer}.btn{border:none;border-radius:8px;padding:.5rem .9rem;font-size:.85rem;font-weight:600;background:#1a1a1a;color:#fff}.btn.secondary{background:#fff;color:#1a1a1a;border:1px solid #ccc}.btn.danger{background:#fff;color:#b91c1c;border:1px solid #f3b4b4}.btn.small{padding:.3rem .6rem;font-size:.78rem}.btn:disabled{opacity:.5;cursor:default}.pill{display:inline-block;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;padding:.15rem .5rem;border-radius:999px;background:#e3e3e6;color:#333}.pill.professional{background:#dbeafe;color:#1e40af}.pill.service{background:#dcfce7;color:#166534}.pill.fundraising{background:#fef3c7;color:#92400e}.pill.social{background:#fce7f3;color:#9d174d}.pill.meeting{background:#e0e7ff;color:#3730a3}.pill.rush{background:#ede9fe;color:#5b21b6}.pill.extra{background:#f1f5f9;color:#334155}.status-badge{display:inline-block;font-size:.75rem;font-weight:600;padding:.15rem .5rem;border-radius:6px}.status-badge.present,.status-badge.going,.status-badge.attended,.status-badge.approved,.status-badge.active,.status-badge.completed{background:#dcfce7;color:#166534}.status-badge.excused,.status-badge.pending,.status-badge.scheduled,.status-badge.probation{background:#fef3c7;color:#92400e}.status-badge.unexcused,.status-badge.missed,.status-badge.denied,.status-badge.cancelled,.status-badge.suspended{background:#fee2e2;color:#991b1b}.flag-badge{display:inline-block;font-size:.7rem;font-weight:700;padding:.15rem .5rem;border-radius:6px;background:#fee2e2;color:#991b1b}.empty-state{color:#888;font-size:.9rem;padding:1rem 0}.error-text{color:#b91c1c;font-size:.85rem;margin:.5rem 0}.form-field{margin-bottom:.75rem}.form-field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.25rem}.form-field input,.form-field select,.form-field textarea{width:100%;box-sizing:border-box}.form-field.checkbox{display:flex;align-items:center;gap:.5rem}.form-field.checkbox input{width:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:flex-start;justify-content:center;padding:4rem 1rem;z-index:10}.modal{background:#fff;border-radius:10px;padding:1.5rem;width:100%;max-width:440px;max-height:80vh;overflow-y:auto}.note-text{font-size:.8rem;color:#666;margin-top:.5rem}.section-row{display:flex;gap:1.25rem;align-items:flex-start}.section-row>div{flex:1;min-width:0}.back-link{display:inline-block;margin-bottom:1rem;font-size:.85rem;color:#666;text-decoration:none}.back-link:hover{text-decoration:underline}
