:root{color-scheme:dark;--bg:#101010;--panel:#1d1d1d;--panel2:#252525;--line:#353535;--text:#f3f3f3;--muted:#aaa}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:0;background:var(--bg);color:var(--text);font:14px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.member-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:9px max(16px,calc((100vw - 960px)/2));border-bottom:1px solid var(--line);background:#151515;position:sticky;top:0;z-index:10}.member-brand{display:flex;align-items:center;gap:10px;min-width:0}.member-brand img{width:50px;height:50px;object-fit:contain;flex:none}.member-brand strong{display:block;font-size:14px;font-weight:800;letter-spacing:.3px;line-height:1.25}.member-brand span{display:block;font-size:9px;color:#aaa;letter-spacing:1.25px;margin-top:3px}.staff-link{border:1px solid #414141;border-radius:9px;background:#282828;padding:8px 10px;font-size:11px;font-weight:700;white-space:nowrap}
.member-shell{width:min(100%,840px);min-height:calc(100vh - 150px);margin:auto;padding:36px 16px 82px}.eyebrow{display:block;color:#9f9f9f;font-size:10px;font-weight:800;letter-spacing:2.2px}.member-login{max-width:460px;margin:28px auto 0;padding:30px;background:#1b1b1b;border:1px solid #363636;border-radius:20px}.member-login h1{font-size:29px;line-height:1.2;letter-spacing:-.8px;margin:9px 0}.member-login p{color:#bcbcbc;font-size:13px;margin:0 0 24px}.member-login form{display:grid;gap:10px}.member-login label{font-weight:750;font-size:12px}.member-login input{width:100%;min-height:50px;background:#282828;border:1px solid #555;color:white;border-radius:10px;padding:12px 14px}.member-login input::placeholder{color:#898989}.member-login button{margin-top:6px;display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:50px;border:0;border-radius:10px;padding:12px 15px;background:#ebebeb;color:#181818;font-weight:800}.member-login button:disabled{opacity:.55;cursor:wait}.member-message{min-height:0!important;margin:0!important;color:#e9b5ab!important;font-size:12px!important}.member-message:empty{display:none}.member-login-note{margin-top:23px;padding:13px;background:#242424;border:1px solid #393939;border-radius:10px;color:#a9a9a9;font-size:11px}
.welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:5px 0 25px}.welcome h1{font-size:clamp(24px,5vw,33px);line-height:1.15;overflow-wrap:anywhere;margin:7px 0 4px;letter-spacing:-.7px}.welcome p{color:#999;font-size:10px;letter-spacing:.9px;margin:0}.exit-button{border:1px solid #505050;border-radius:9px;background:#262626;color:#e2e2e2;padding:10px 12px;font-size:12px;font-weight:700;white-space:nowrap;flex:none}
.member-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;background:#1d1d1d;border:1px solid #343434;padding:5px;border-radius:13px;margin-bottom:25px}.member-tab{min-width:0;padding:13px 6px;border:0;border-radius:9px;background:transparent;color:#aaa;font-weight:750;font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px}.member-tab span{font-size:17px}.member-tab.active{background:#eaeaea;color:#181818}.member-status{font-size:12px;color:#c1c1c1}.member-status:empty{display:none}.member-panel{min-width:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.section-head h2{font-size:20px;letter-spacing:-.5px;margin:4px 0 0}.section-head select,.log-filters select{background:#272727;border:1px solid #474747;border-radius:9px;color:#eee;padding:10px;min-height:43px;font-size:12px;max-width:100%}.member-cards{display:grid;gap:12px}
.event-card,.activity-card{min-width:0;background:var(--panel);border:1px solid #3a3a3a;border-radius:17px;padding:16px;display:grid;gap:11px}.event-card header{display:flex;justify-content:space-between;gap:8px;align-items:center}.category-pill{border-radius:6px;display:inline-flex;width:max-content;padding:4px 8px;font-size:10px;font-weight:800;letter-spacing:.4px;border:1px solid #505050;background:#333;color:#dadada}.category-pill.invitation{background:#293b49;border-color:#547184;color:#c0d7e8}.category-pill.mandatory{background:#44372b;border-color:#78634b;color:#e4c69c}.category-pill.urgensi{background:#493a40;border-color:#825867;color:#dfb4c2}.event-card time{color:#a7a7a7;font-size:11px;white-space:nowrap}.event-card h3,.activity-card h3{font-size:18px;letter-spacing:-.25px;line-height:1.3;overflow-wrap:anywhere;margin:0}.event-meta{color:#c7c7c7;font-size:12px;display:grid;gap:6px}.event-description{color:#aaa;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.event-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border-top:1px solid #393939;padding-top:12px}.status-item{min-width:0;background:#292929;border:1px solid #3c3c3c;border-radius:9px;padding:10px;display:grid;gap:3px}.status-item span{color:#a8a8a8;font-size:10px}.status-item strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}.status-item strong.positive{color:#b4dfc4}.status-item strong.declined{color:#e7c99d}.status-item strong.pending{color:#c2c2c2}.event-description:empty{display:none}.info-note,.small-note{background:#242424;border:1px solid #3a3a3a;border-radius:12px;padding:14px;color:#b6b6b6;font-size:11px;line-height:1.7;margin-top:15px}.small-note{background:none;border:0;padding:7px 0}.empty-card{border:1px dashed #444;border-radius:13px;background:#1a1a1a;color:#a9a9a9;padding:28px 18px;text-align:center}
.profile-card{display:flex;gap:18px;align-items:center;background:#1e1e1e;border:1px solid #414141;border-radius:17px;padding:21px;min-width:0}.profile-avatar{width:100px;height:100px;flex:none;position:relative;border-radius:50%;background:#393939;border:3px solid #777;display:grid;place-items:center;color:#f3f3f3;font-size:30px;font-weight:800;overflow:visible}.profile-avatar img.portrait{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-avatar.support{border-color:#ad946c}.profile-avatar.brother{border-color:#789f88}.profile-avatar.prospect{border-color:#7893aa}.profile-avatar .mark{position:absolute;right:-6px;bottom:-5px;width:33px;height:33px;background:#1c1c1c;border:1px solid #686868;border-radius:50%;padding:4px;display:grid;place-items:center}.profile-avatar .mark img{width:100%;height:100%;object-fit:contain}.profile-info{min-width:0}.profile-info h3{overflow-wrap:anywhere;font-size:19px;line-height:1.3;margin:0 0 8px}.profile-info>span{color:#aaa;display:block;font-size:11px;margin-top:9px}.stage-badge{display:inline-block;border-radius:6px;padding:5px 9px;background:#353535;color:#ddd;font-size:10px;font-weight:800;letter-spacing:.5px}.stage-badge.brother{background:#2c4537;color:#bbdfc6}.stage-badge.support{background:#4a392b;color:#ecd0a2}.stage-badge.prospect{background:#2e3d49;color:#cbdfeb}
.log-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.log-filters select{width:100%}.activity-card{grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:14px}.activity-dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#2c4537;color:#bce4c8;font-size:17px}.activity-body{min-width:0}.activity-body h3{font-size:14px;margin-top:7px}.activity-meta{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:5px;color:#aaa;font-size:11px}.member-footer{display:flex;justify-content:space-between;gap:15px;color:#858585;letter-spacing:1px;padding:20px max(16px,calc((100vw - 840px)/2));border-top:1px solid #333;font-size:10px}
@media(max-width:520px){.member-topbar{min-height:68px}.member-brand img{width:43px;height:43px}.member-brand strong{font-size:12px}.member-brand span{font-size:8px;letter-spacing:.7px}.staff-link{font-size:10px;padding:8px}.member-shell{padding:21px 13px 60px}.member-login{padding:24px 17px;margin-top:18px}.welcome{align-items:flex-start;gap:8px}.exit-button{font-size:10px;padding:8px}.member-tab{font-size:10px;gap:3px;padding:12px 3px}.member-tab span{font-size:14px}.section-head h2{font-size:19px}.section-head select{font-size:11px;padding:9px 7px}.profile-card{padding:16px;gap:13px}.profile-avatar{width:78px;height:78px;font-size:24px}.profile-info h3{font-size:16px}.member-footer{flex-direction:column;padding:22px 16px}}
@media(max-width:345px){.member-brand{gap:5px}.member-brand strong{font-size:10px}.member-brand img{width:36px;height:36px}.member-brand span{font-size:7px}.member-tab{font-size:9px}.member-tab span{display:none}.profile-avatar{width:66px;height:66px}.status-item{padding:8px}.status-item strong{font-size:11px}}

/* v2.3: controlled photo-change submissions */
.photo-request-card{margin-top:15px;padding:18px;border:1px solid #3a3a3a;border-radius:15px;background:#1c1c1c;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.photo-request-card h3{margin:0;color:#eee;font-size:15px}.photo-request-card p{margin:4px 0 0;color:#a7a7a7;font-size:12px}
.photo-request-card .photo-choose,.photo-request-card button{display:inline-flex;justify-content:center;align-items:center;border-radius:10px;padding:12px 16px;min-height:43px;font-size:13px;font-weight:800;cursor:pointer}
.photo-request-card .photo-choose{background:#303030;border:1px solid #555;color:#eee}
.photo-request-card input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.photo-request-card input[type=file]:focus-visible+.photo-request-preview{outline:2px solid #eee}
.photo-request-card button{border:0;background:#eaeaea;color:#181818}.photo-request-card button:disabled{opacity:.45;cursor:default}
.photo-request-preview{width:110px;height:110px;object-fit:cover;border:2px solid #555;border-radius:13px}
.photo-request-card .member-photo-feedback{overflow-wrap:anywhere;color:#b7b7b7;margin:0}

/* v2.4: RSVP request actions. */
.member-rsvp-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.member-rsvp-actions button{min-height:46px;border:1px solid #5b5b5b;border-radius:10px;background:#303030;color:#f0f0f0;font-weight:750;padding:11px 8px;font-size:12px}
.member-rsvp-actions button:first-child{background:#e8e8e8;color:#171717;border-color:#e8e8e8}
.member-rsvp-actions button:disabled{opacity:.55;cursor:wait}
.member-rsvp-hint{font-size:11px;color:#a6a6a6;margin:0;line-height:1.6}
.member-rsvp-draft{border:1px solid #64543b;background:#332a1d;color:#edce9d;border-radius:10px;padding:10px;font-size:11px;margin:0}
.member-rsvp-draft strong{color:#f5d7ac}

.member-rsvp-result{border:1px solid #486852;background:#21362a;color:#b8dcc5;border-radius:9px;padding:10px;margin:0;font-size:11px}

/* v2.5 — display slogan subtly across all member screens */
.member-slogan{color:#c0c0c0!important;font-size:11px!important;font-style:italic;margin:3px 0 16px!important}
.welcome>div>p{font-style:italic;letter-spacing:.15px}
.member-footer>span{font-style:italic;letter-spacing:.25px}
