/* Navegação compartilhada: cores sempre vêm de theme.css. */
.portal-sidebar{transition:none}
.sidebar-nav{scrollbar-gutter:stable;overflow-anchor:none}
.header-menu-wrap{position:relative;display:flex;align-items:center}
.header-actions .header-menu-wrap .header-profile{width:auto!important;height:auto!important;display:flex;align-items:center;gap:9px;padding:3px 0;background:transparent!important;border:0!important;border-radius:0;color:#fff;font:inherit;white-space:nowrap}
.header-caret{font-size:17px;line-height:1}
.header-icon-button{position:relative}
.notification-count{position:absolute;right:-5px;top:-5px;min-width:17px;height:17px;padding:0 3px;border-radius:999px;background:var(--theme-accent);color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center}
#notification-button .notification-count{background:#ffd64a!important;color:#261850!important;box-shadow:0 0 0 2px #653bc7}
.header-dropdown{position:absolute;right:0;top:calc(100% + 15px);z-index:80;width:360px;max-width:calc(100vw - 28px);padding:8px;background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:16px;box-shadow:0 20px 50px #0003}
.header-dropdown[hidden]{display:none}
.dropdown-heading,.profile-menu-name{padding:13px 14px;border-bottom:1px solid var(--theme-border);display:flex;align-items:center;justify-content:space-between;gap:10px}
.dropdown-heading strong{font-size:16px}
.dropdown-heading button{width:auto!important;height:auto!important;padding:3px!important;background:none!important;border:0!important;color:var(--theme-tool)!important;font-size:12px;font-weight:700;white-space:nowrap}
.header-dropdown a{color:var(--theme-text)}
.notification-item{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border-radius:10px}
.notification-item:hover,.profile-menu>a:hover{background:var(--theme-surface-muted)}
.notification-item b,.notification-item small,.profile-menu-name b,.profile-menu-name small{display:block}
.notification-item b{font-size:13px}
.notification-item small,.profile-menu-name small{margin-top:5px;color:var(--theme-muted);font-size:12px;line-height:1.35}
.notification-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;flex:none;background:var(--theme-border)}
.notification-item.unread .notification-dot{background:var(--theme-tool)}
.notification-item.unread{background:var(--theme-tool-soft)}
.dropdown-footer{display:block;padding:13px 14px;border-top:1px solid var(--theme-border);color:var(--theme-tool)!important;font-size:13px;font-weight:700}
.profile-menu{width:245px}
.profile-menu-name{display:block}
.profile-menu>a{display:block;padding:12px 14px;border-radius:9px;font-size:14px}
.essay-layout,.feed-layout{display:block}
.essay-nav,.feed-categories{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;margin:0 0 22px;padding:0;background:none;border:0;box-shadow:none}
.essay-nav a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.feed-categories h3{margin:0 12px 0 0;font-size:16px}
.feed-categories button{border:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-muted);padding:11px 17px;border-radius:12px;font-weight:700}
.feed-categories button.active{border-color:var(--theme-tool);background:var(--theme-tool);color:#fff}
.feed-search{max-width:520px}
.essay-content>.tool-panel,.monitoria-panel,.feed-post{max-width:none;width:100%}
.tool-subject-icon .icon,.tool-deck-icon .icon,.tool-heading-icon .icon{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tool-deck-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:var(--theme-tool-soft);color:var(--theme-tool)}
@media(max-width:760px){.header-dropdown{right:-45px}.profile-menu{right:0}.essay-nav,.feed-categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.essay-nav a,.feed-categories button{flex:none}.feed-categories h3{display:none}}
