/* Member-only layout; native actions, data and permissions remain authoritative. */
#drawer:has(#acActivityPane) .brs-more { display:none!important; }
#drawer:has(#acActivityPane) .ac-drawer-head { position:relative!important; display:grid; grid-template-columns:minmax(0,1fr) 44px; column-gap:12px; padding:16px 24px 0; background:var(--ac-card); }
#drawer:has(#acActivityPane) .ac-identity { grid-column:1; grid-row:1; padding-right:0; min-width:0; gap:12px; }
#drawer:has(#acActivityPane) .ac-identity h2 { font-size:24px; line-height:1.2; letter-spacing:-.02em; }
#drawer:has(#acActivityPane) .ac-identity .brs-meta { margin-top:5px; font-size:12px; line-height:1.5; }
#drawer:has(#acActivityPane) .ac-identity .ac-avatar { width:48px; height:48px; min-width:48px; max-width:48px; border-radius:10px; }
#drawer:has(#acActivityPane) .ac-identity .ac-photo-button { flex:none; }
#drawer:has(#acActivityPane) .ac-actions { position:static; grid-column:2; grid-row:1; justify-self:end; align-self:start; padding:0; margin:0; }
#drawer:has(#acActivityPane) .ac-more { margin:0; }
#drawer:has(#acActivityPane) .ac-more>summary { display:grid; place-items:center; width:44px; height:44px; min-width:44px; padding:10px; border:1px solid var(--ac-line); border-radius:8px; font-size:14px; background:var(--ac-card); }
#drawer:has(#acActivityPane) .ac-more-menu { min-width:240px; max-width:calc(100vw - 40px); }
#drawer:has(#acActivityPane) .ac-more-menu button { display:flex; align-items:center; gap:10px; min-height:44px; text-align:left; font-size:14px; }
#drawer:has(#acActivityPane) .ac-notice:empty { height:0; margin:0; }
#drawer:has(#acActivityPane) :is(.ac-notice,.ac-tabs) { grid-column:1/-1; }
#drawer:has(#acActivityPane) .ac-tabs { gap:24px; margin-top:12px; flex-wrap:nowrap; overflow-x:auto; }
#drawer:has(#acActivityPane) .ac-tabs button { min-height:44px; padding:12px 0; font-size:14px; white-space:nowrap; }
#drawer:has(#acActivityPane) #acActivityPane { padding:20px 24px 28px; margin:0; background:var(--ac-card); }
#drawer:has(#acActivityPane) #acActivityPane>h3 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#drawer:has(#acActivityPane) .ac-activity-recovery { margin:0 0 12px; }
#drawer:has(#acActivityPane) .ac-activity-recovery:has([data-state=ready]) { margin:0; }
#drawer:has(#acActivityPane) [data-ac-activity-status][data-state=ready] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#drawer:has(#acActivityPane) .ma-overview { border:1px solid var(--ac-line); border-radius:10px; background:var(--ac-chip); padding:14px; }
#drawer:has(#acActivityPane) .ma-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; }
#drawer:has(#acActivityPane) .ma-facts>div { min-width:0; }
#drawer:has(#acActivityPane) .ma-facts dt { font-size:12px; line-height:1.45; color:var(--ac-muted); }
#drawer:has(#acActivityPane) .ma-facts dd { margin:5px 0 0; font-size:14px; line-height:1.5; font-weight:600; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
#drawer:has(#acActivityPane) .ma-facts small { display:block; margin-top:4px; font-size:12px; line-height:1.45; font-weight:400; color:var(--ac-muted); }
#drawer:has(#acActivityPane) .ma-section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:22px 0 12px; }
#drawer:has(#acActivityPane) .ma-section-heading h3 { margin:0; font-size:16px; line-height:1.4; }
#drawer:has(#acActivityPane) .ma-section-heading p { margin:4px 0 0; font-size:12px; line-height:1.5; color:var(--ac-muted); }
#drawer:has(#acActivityPane) .ma-refresh { flex:none; min-height:44px; padding:10px 12px; font-size:13px; }
#drawer:has(#acActivityPane) .ma-toolbar { display:grid; grid-template-columns:minmax(0,1fr) 140px; align-items:start; gap:8px; margin:0 0 12px; }
#drawer:has(#acActivityPane) .ma-toolbar label { display:block; min-width:0; }
#drawer:has(#acActivityPane) .ma-toolbar :is(input,select) { box-sizing:border-box; width:100%; min-width:0; height:44px; border:1px solid var(--ac-border); border-radius:8px; padding:9px 10px; background:var(--ac-card); color:var(--ac-ink); font:inherit; font-size:14px; }
#drawer:has(#acActivityPane) .ma-toolbar>button { grid-column:1/-1; justify-self:start; min-height:44px; }
#drawer:has(#acActivityPane) .ma-day h4 { margin:18px 0 4px; font-size:12px; font-weight:600; color:var(--ac-muted); }
#drawer:has(#acActivityPane) .ma-day ol { margin:0; padding:0; list-style:none; }
#drawer:has(#acActivityPane) .ma-day li { display:grid; grid-template-columns:8px minmax(0,1fr) auto; align-items:start; gap:12px; padding:12px 0; border-bottom:1px solid var(--ac-line); }
#drawer:has(#acActivityPane) .ma-day li strong { display:block; font-size:14px; line-height:1.5; font-weight:500; overflow-wrap:anywhere; }
#drawer:has(#acActivityPane) .ma-day li small { display:block; margin-top:2px; color:var(--ac-muted); font-size:12px; line-height:1.5; }
#drawer:has(#acActivityPane) .ma-day li time { color:var(--ac-muted); font-size:12px; line-height:1.75; white-space:nowrap; font-variant-numeric:tabular-nums; }
#drawer:has(#acActivityPane) .ma-event-dot { width:6px; height:6px; margin-top:8px; border-radius:50%; background:var(--ac-muted); }
#drawer:has(#acActivityPane) .ma-results { margin:12px 0; color:var(--ac-muted); font-size:12px; }
#drawer:has(#acActivityPane) .ma-help { margin-top:12px; border-top:1px solid var(--ac-line); }
#drawer:has(#acActivityPane) .ma-help summary { min-height:44px; display:flex; align-items:center; font-size:13px; cursor:pointer; }
#drawer:has(#acActivityPane) .ma-help p { font-size:12px; line-height:1.6; }
#drawer:has(#acActivityPane) :is(button,summary,input,select):focus-visible { outline:2px solid var(--ac-blue); outline-offset:3px; }
#drawer:has(#acActivityPane) [hidden] { display:none!important; }
@media(max-width:600px) {
 #drawer:has(#acActivityPane) .ac-drawer-head { padding:12px 16px 0; }
 #drawer:has(#acActivityPane) .ac-identity h2 { font-size:22px; }
 #drawer:has(#acActivityPane) #acActivityPane { padding:16px 16px 24px; }
 #drawer:has(#acActivityPane) .ma-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 #drawer:has(#acActivityPane) .ma-facts>div:first-child { grid-column:1/-1; }
 #drawer:has(#acActivityPane) .ma-toolbar { grid-template-columns:minmax(0,1fr) 132px; }
 #drawer:has(#acActivityPane) .ma-toolbar :is(input,select) { font-size:16px; }
 #drawer:has(#acActivityPane) .ma-day li { gap:10px; }
}
