/* BuddyBoss owns messaging, permissions, delivery and responsive thread visibility. */
.ac-community-shell,.ac-notes,.ac-feed-shortcuts,.ac-mobile-spaces-toggle,.ac-login{--ac-bg:#101115;--ac-panel:#17191f;--ac-soft:#20232b;--ac-line:#2b2e38;--ac-text:#f2f4f8;--ac-muted:#a2a9b8;--ac-blue:#398fff;--ac-radius:16px;color:var(--ac-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.ac-community-shell *,.ac-notes *,.ac-feed-shortcuts *{box-sizing:border-box}
.ac-community-shell [hidden],.ac-notes [hidden],.ac-feed-shortcuts [hidden],.ac-count[hidden],.ac-message-tools[hidden],.ac-unread-empty[hidden]{display:none!important}
.ac-icon{width:19px;height:19px;stroke-width:1.7;flex:none;vertical-align:middle}
.ac-community-shell{display:grid;grid-template-columns:204px minmax(0,1fr);gap:24px;align-items:start;width:100%;min-width:0}
.ac-community-shell a{text-decoration:none}
.ac-sidebar{background:var(--ac-panel);border:1px solid var(--ac-line);border-radius:var(--ac-radius);padding:20px 12px;position:sticky;top:112px;min-width:0}
.ac-brand{display:flex;gap:10px;align-items:center;padding:0 10px 22px;color:var(--ac-text)!important;font-size:16px;font-weight:750;letter-spacing:1px}
.ac-brand>.ac-icon{width:29px;height:29px;color:#63a8ff}
.ac-brand>span>span{display:block;font-size:9px;font-weight:500;letter-spacing:2px;color:var(--ac-muted);margin-top:3px}
.ac-sidebar nav>a,.ac-sidebar-bottom>a{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px;border-radius:9px;color:var(--ac-muted)!important;font-size:12px;line-height:1.35}
.ac-sidebar nav>a:hover,.ac-sidebar-bottom>a:hover{color:#fff!important;background:var(--ac-soft)}
.ac-sidebar nav a[aria-current=page]{background:#26374f!important;color:#bddaff!important}
.ac-sidebar nav>a>span:not(.ac-count):not(.ac-hash){flex:1}
.ac-nav-label{font-size:9px;letter-spacing:1.6px;font-weight:650;color:#858d9f;margin:25px 10px 8px!important}
.ac-hash{color:#7b8498;font-size:21px;line-height:1;width:19px;text-align:center}
.ac-sidebar-bottom{border-top:1px solid var(--ac-line);margin:22px 8px 0;padding-top:14px}
.ac-sidebar-bottom>a{padding:8px 2px}
.ac-sidebar-bottom>p{font-size:10px;line-height:1.7;color:#7f8796;margin:13px 0 0}
.ac-count{display:inline-flex;align-items:center;justify-content:center;background:#367fe2;color:white;border-radius:20px;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:650;line-height:1}
.ac-community-page .site-content .container{max-width:1536px}
.ac-community-page .entry-header,.ac-community-page .entry-title,.ac-community-page .entry-footer{display:none}
.ac-community-page .entry-content{margin-top:0!important}
.ac-hub-main{min-width:0}
.ac-hub-heading{position:relative;overflow:hidden;padding:38px 36px;border:1px solid #303b50;background:radial-gradient(ellipse at 95% 10%,#24456a80,transparent 65%),linear-gradient(115deg,#1b202b,#14171e);border-radius:20px;margin-bottom:34px}
.ac-eyebrow{display:block;font-size:10px;line-height:1.5;letter-spacing:2px;color:#8dbfff;font-weight:650}
.ac-hub-heading h1{color:var(--ac-text);font-size:clamp(30px,3.4vw,45px);letter-spacing:-1.8px;line-height:1.15;font-weight:650;margin:14px 0}
.ac-hub-heading p{font-size:14px;color:#aeb8ca;line-height:1.7;margin:0 0 24px}
.ac-heading-actions{display:flex;gap:10px;flex-wrap:wrap}
.ac-button{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:12px 17px;background:#2887fa;color:white!important;border:1px solid transparent;border-radius:9px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;box-shadow:none;min-height:42px}
.ac-button:hover{background:#4097ff;color:white!important}
.ac-button.ac-secondary{background:#ffffff06;border-color:#ffffff26;color:#e5eafa!important}
.ac-button.ac-secondary:hover{background:#ffffff12}
.ac-button:disabled{opacity:.5;cursor:wait}
.ac-section-heading{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:20px}
.ac-section-heading h2{font-size:20px;letter-spacing:-.5px;line-height:1.4;color:var(--ac-text);margin:0 0 4px}
.ac-section-heading p{font-size:12px;color:var(--ac-muted);line-height:1.5;margin:0}
.ac-space-search{display:flex;gap:9px;align-items:center;padding:0 12px;background:#15171d;border:1px solid var(--ac-line);border-radius:9px;max-width:230px;width:100%}
.ac-space-search .ac-icon{width:16px;color:#8c97a9}
.ac-space-search input[type=search]{color:var(--ac-text);background:transparent;border:0!important;padding:11px 0!important;width:100%;min-width:0;height:auto;font-size:12px;box-shadow:none!important}
.ac-space-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ac-space-card{background:var(--ac-panel);border:1px solid var(--ac-line);border-radius:var(--ac-radius);padding:24px;display:flex;flex-direction:column;transition:border-color .15s,transform .15s;scroll-margin-top:120px;min-width:0}
.ac-space-card:hover{border-color:#455873;transform:translateY(-2px)}
.ac-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.ac-space-icon{width:45px;height:45px;display:grid;place-items:center;border:1px solid #5b99ff3b;background:#398fff14;color:#81b9ff;border-radius:12px}
.ac-space-icon .ac-icon{width:23px;height:23px}
.ac-icon-cinema-e-series{background:#9f78ff15;border-color:#9f78ff30;color:#b79aff}
.ac-icon-academia{background:#4fcea113;border-color:#4fcea130;color:#77d7b6}
.ac-icon-suporte{background:#efbc5a12;border-color:#efbc5a30;color:#ecc67c}
.ac-card-tag{font-size:8px;letter-spacing:1.3px;color:#919bad;font-weight:650}
.ac-space-card h3{font-size:21px;line-height:1.3;letter-spacing:-.5px;color:var(--ac-text);margin:0 0 10px;font-weight:600}
.ac-space-card>p{font-size:12px;line-height:1.8;color:var(--ac-muted);margin:0 0 24px;flex:1}
.ac-card-bottom{border-top:1px solid var(--ac-line);padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ac-card-bottom>span{font-size:11px;color:#8e99ac;display:flex;align-items:center;gap:6px}
.ac-card-bottom>span .ac-icon{width:14px;height:14px}
.ac-card-link{background:transparent;border:0;padding:4px 0;color:#9dc7ff!important;font-size:12px;font-weight:550;display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.ac-card-link .ac-icon{width:15px;height:15px}
.ac-card-link:hover{color:white!important;background:transparent}
.ac-community-guide{display:flex;gap:16px;padding:22px;background:#171c24;border:1px solid #2b3647;border-radius:var(--ac-radius);margin-top:24px}
.ac-guide-icon{color:#89afdc;padding-top:3px}
.ac-community-guide h2{font-size:14px;line-height:1.5;color:#dce7f7;margin:0 0 8px}
.ac-community-guide p{font-size:12px;line-height:1.8;color:#96a5b9;margin:0}
#ac-community-feedback:empty{display:none}
.ac-empty{font-size:12px;line-height:1.8;color:var(--ac-muted);padding:16px 0;margin:0}
.ac-login{padding:50px 25px;max-width:680px;margin:20px auto;text-align:center}
.ac-login h1{font-size:36px;line-height:1.2;color:white;letter-spacing:-1px}
.ac-login p{color:var(--ac-muted);font-size:15px;line-height:1.8}
.ac-mobile-spaces-toggle{display:none}
/* The original BuddyBoss message panels retain their own show/hide classes. */
.ac-native-community .site-content>.container{max-width:1600px}
.ac-native-shell>#buddypress{min-width:0;width:100%;margin:0}
.ac-native-shell .bp-messages-container{border:1px solid #2b2e38!important;border-radius:16px!important;overflow:hidden;height:calc(100dvh - 170px)!important;min-height:520px;max-height:1100px;background:#17191f}
.ac-native-shell #buddypress .bp-messages-nav-panel{border-radius:0!important;box-shadow:none!important}
.ac-native-shell #buddypress .bp-messages-content-wrapper{border-radius:0!important;box-shadow:none!important}
.ac-native-shell #buddypress #message-threads>.thread-item>.bp-message-link{padding-top:17px;padding-bottom:17px}
.ac-native-shell #buddypress #message-threads>.thread-item.unread>.bp-message-link{background:#1c2a40}
.ac-native-shell #buddypress #message-threads .thread-avatar img{border-radius:14px}
.ac-message-tools{display:flex;gap:6px;align-items:center;padding:4px 14px 12px}
.ac-message-filter{border:1px solid transparent;background:transparent;color:#969fb1;border-radius:7px;padding:6px 10px;min-height:30px;font:500 11px/1.4 Inter,sans-serif;cursor:pointer}
.ac-message-filter:hover{background:#252b36;color:white}
.ac-message-filter.is-active{background:#2a3a52;color:#b8d6ff;border-color:#3b5270}
.ac-native-shell #buddypress .ac-message-tools .ac-message-filter{border:1px solid transparent;background:transparent;color:#969fb1;border-radius:7px;padding:6px 10px;min-height:30px;font:500 11px/1.4 Inter,sans-serif;box-shadow:none}
.ac-native-shell #buddypress .ac-message-tools .ac-message-filter.is-active{background:#2a3a52;color:#b8d6ff;border-color:#3b5270}
.ac-message-preferences{margin-left:auto;font-size:10px;color:#909db1!important;padding:6px 0}
.ac-unread-empty{font-size:12px;line-height:1.7;color:#9ba6b8;padding:18px;text-align:center}
#buddypress .ac-filtered-thread{display:none!important}
.ac-show-unread .bb-messages-no-thread-found,.ac-show-unread .bb-messages-search-no-thread-found{display:none!important}
.ac-notification-intro{padding:22px;border:1px solid #2c3545;border-radius:14px;background:#171d27;display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:24px}
.ac-notification-intro h2{font-size:20px;color:#eaf0fa;margin:0 0 7px;line-height:1.4}
.ac-notification-intro p{font-size:12px;color:#a1afc4;margin:0}
.ac-feed-shortcuts{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:13px 16px;border:1px solid var(--ac-line);border-radius:12px;background:#171a21;margin-bottom:18px}
.ac-feed-shortcuts>a{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:#aebed5;text-decoration:none;padding:4px 0}
.ac-feed-shortcuts>a:first-child{color:#b4d6ff;margin-right:auto;font-weight:550}
.ac-feed-shortcuts .ac-icon{width:16px;height:16px}
/* Notes are scoped to authorized lessons; no messaging or public activity is created. */
.ac-notes{margin-top:24px;border:1px solid var(--ac-line);border-radius:16px;background:#17191f;padding:24px;max-width:100%;min-width:0}
.ac-notes-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}
.ac-notes-heading h2{font-size:23px;letter-spacing:-.6px;line-height:1.3;color:var(--ac-text);margin:6px 0}
.ac-notes-heading p{font-size:11px;line-height:1.6;color:var(--ac-muted);margin:0}
.ac-export-notes{font-size:11px;background:transparent;border:1px solid #3a4353;color:#a7c9f5;border-radius:7px;padding:8px 10px;cursor:pointer;white-space:nowrap}
.ac-export-notes:disabled{opacity:.4;cursor:default}
.ac-note-lesson{font-size:12px;color:#a6bfdf;border-bottom:1px solid var(--ac-line);padding-bottom:16px;margin:0 0 16px;line-height:1.6}
.ac-note-timestamp{display:flex;gap:10px;align-items:center;margin-bottom:12px}
.ac-note-timestamp button{color:#acd0ff;background:#263b59;border:1px solid #345680;border-radius:7px;padding:7px 10px;font:500 11px/1.4 Inter,sans-serif;cursor:pointer}
.ac-note-timestamp span{font-size:12px;font-variant-numeric:tabular-nums;color:#91bbf2}
.ac-notes label{font-size:11px;color:#a9b3c4;display:block;margin-bottom:8px;font-weight:500}
.ac-notes textarea,.ac-notes input[type=search]{width:100%;background:#101218;border:1px solid #323947;border-radius:9px;color:#e8eef8;font-family:inherit;font-size:12px;line-height:1.8;padding:12px 14px;box-shadow:none;max-width:100%;resize:vertical}
.ac-notes textarea{min-height:95px}
.ac-notes textarea:focus,.ac-notes input:focus{outline:2px solid #398fff77;outline-offset:1px}
.ac-note-form-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:10px}
.ac-note-form-actions>span{font-size:10px;color:#7d8a9f;margin-right:auto}
#ac-note-cancel{font-size:11px;color:#aabbd1;background:transparent;border:0;padding:8px;cursor:pointer}
#ac-note-status{font-size:12px;color:#b5cbe7;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}
#ac-note-status:empty{margin:0}
.ac-note-retry{font-size:11px;border:0;background:transparent;color:#95c3ff;text-decoration:underline;padding:4px;cursor:pointer}
.ac-note-search-label{margin-top:24px}
.ac-note-list{display:grid;gap:10px;margin-top:14px;max-height:620px;overflow:auto;scrollbar-width:thin}
.ac-note-card{background:#12151b;border:1px solid #282f3a;border-radius:10px;padding:14px}
.ac-note-card-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:9px}
.ac-note-jump{font:600 11px/1.4 Inter,sans-serif;font-variant-numeric:tabular-nums;border:1px solid #35557a;border-radius:6px;padding:5px 8px;background:#223852;color:#a6ceff;cursor:pointer}
.ac-note-card-actions{display:flex;gap:10px}
.ac-note-card-actions button{background:transparent;border:0;padding:5px 0;color:#93a5bf;font-size:10px;cursor:pointer}
.ac-note-card-actions button:hover{color:#e2eeff}
#ac-lesson-notes .ac-button{background:#2887fa;color:white;border:1px solid transparent;border-radius:9px;padding:12px 17px;font:600 12px/1.4 Inter,sans-serif;box-shadow:none}
#ac-lesson-notes .ac-button:hover{background:#4097ff}
#ac-lesson-notes .ac-note-jump{font:600 11px/1.4 Inter,sans-serif;border:1px solid #35557a;border-radius:6px;padding:5px 8px;background:#223852;color:#a6ceff;box-shadow:none}
#ac-lesson-notes .ac-export-notes{font:500 11px/1.4 Inter,sans-serif;background:transparent;border:1px solid #3a4353;color:#a7c9f5;border-radius:7px;padding:8px 10px;box-shadow:none}
.ac-note-content{font-size:12px;line-height:1.9;color:#c9d2df;white-space:pre-wrap;overflow-wrap:anywhere;margin:0!important}
.ac-community-shell :focus-visible,.ac-feed-shortcuts :focus-visible,.ac-notes button:focus-visible{outline:2px solid #65aaff;outline-offset:3px}
@media(min-width:1500px){.ac-space-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1199px){
 .ac-community-shell{grid-template-columns:minmax(0,1fr);gap:14px}
 .ac-community-shell>.ac-sidebar{display:none;position:static}
 .ac-community-shell.ac-nav-open>.ac-sidebar{display:block}
 .ac-mobile-spaces-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 15px;font-size:12px;font-weight:500;border:1px solid var(--ac-line);border-radius:10px;background:#1b202a;color:#becde3;margin-bottom:14px;cursor:pointer}
 .ac-mobile-spaces-toggle:after{content:'+';font-size:18px;color:#83b8fa}
 .ac-mobile-spaces-toggle[aria-expanded=true]:after{content:'−'}
 .ac-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
 .ac-sidebar .ac-nav-label{grid-column:1/-1}
 .ac-brand{padding-bottom:10px}
 .ac-sidebar-bottom{margin-top:12px}
 .ac-sidebar-bottom>p{display:none}
}
@media(max-width:767px){
 .ac-hub-heading{padding:27px 22px;margin-bottom:26px;border-radius:16px}
 .ac-hub-heading h1{font-size:33px;letter-spacing:-1.2px}
 .ac-hub-heading p{font-size:12px}
 .ac-heading-actions{gap:8px}
 .ac-heading-actions .ac-button{font-size:11px;padding:10px 12px}
 .ac-section-heading{align-items:stretch;flex-direction:column;gap:14px}
 .ac-section-heading h2{font-size:19px}
 .ac-space-search{max-width:none}
 .ac-space-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .ac-space-card{padding:21px}
 .ac-space-card>p{margin-bottom:20px}
 .ac-card-top{margin-bottom:17px}
 .ac-community-guide{padding:18px;gap:12px}
 .ac-native-shell .bp-messages-container{height:calc(100dvh - 205px)!important;min-height:390px;border-radius:12px!important}
 .ac-notification-intro{align-items:flex-start;flex-direction:column;padding:18px}
 .ac-notification-intro h2{font-size:18px}
 .ac-message-tools{padding-left:12px;padding-right:12px}
 .ac-feed-shortcuts{padding:12px;gap:12px}
 .ac-feed-shortcuts>a:first-child{width:100%}
 .ac-feed-shortcuts>a{font-size:11px}
 .ac-notes{padding:18px;margin-top:18px}
 .ac-notes-heading{align-items:flex-start;gap:10px}
 .ac-notes-heading h2{font-size:21px}
 .ac-export-notes{font-size:10px;padding:7px}
 .ac-note-timestamp{gap:8px;flex-wrap:wrap}
 .ac-note-form-actions{gap:6px;flex-wrap:wrap}
 .ac-note-form-actions .ac-button{font-size:11px;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.ac-space-card{transition:none}.ac-space-card:hover{transform:none}}
