/* El portal comparte selector y preferencia con la página de ingreso. */
.portal-nav {margin-top:85px;}
.portal-topbar .auth-theme-toggle {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
.portal-page .auth-logo-dark {display:none;}
[data-auth-theme="dark"] .portal-page {
  --brand-deep:#98c4d2;--graphite:#edf3f5;
  --portal-surface:#1b2b34;--portal-line:#354d59;--portal-muted:#b6c8d0;
  background:#101c22;color:#edf3f5;
}
[data-auth-theme="dark"] .portal-page .auth-logo-light {display:none;}
[data-auth-theme="dark"] .portal-page .auth-logo-dark {display:block;}
[data-auth-theme="dark"] .portal-sidebar,
[data-auth-theme="dark"] .portal-topbar,
[data-auth-theme="dark"] .portal-panel,
[data-auth-theme="dark"] .portal-metric {
  background:var(--portal-surface);color:#edf3f5;border-color:var(--portal-line);
}
[data-auth-theme="dark"] .portal-topbar {box-shadow:0 6px 24px #00000020;}
[data-auth-theme="dark"] .workspace-select {background:#14232b;border-color:var(--portal-line);}
[data-auth-theme="dark"] .workspace-label,
[data-auth-theme="dark"] .workspace-select small,
[data-auth-theme="dark"] .workspace-select>span,
[data-auth-theme="dark"] .portal-nav-link,
[data-auth-theme="dark"] .portal-sidebar-bottom>a,
[data-auth-theme="dark"] .breadcrumb,
[data-auth-theme="dark"] .breadcrumb span,
[data-auth-theme="dark"] .portal-page-header p,
[data-auth-theme="dark"] .portal-date,
[data-auth-theme="dark"] .portal-metric>div,
[data-auth-theme="dark"] .portal-metric small,
[data-auth-theme="dark"] .portal-panel-head small,
[data-auth-theme="dark"] .portal-panel-head>span,
[data-auth-theme="dark"] .portal-project-row small,
[data-auth-theme="dark"] .activity-item small,
[data-auth-theme="dark"] .activity-item time,
[data-auth-theme="dark"] .portal-feature-grid p,
[data-auth-theme="dark"] .portal-table-row>div small,
[data-auth-theme="dark"] .portal-table-row>span:nth-child(2),
[data-auth-theme="dark"] .request-card p,
[data-auth-theme="dark"] .request-card small,
[data-auth-theme="dark"] .integration-example p,
[data-auth-theme="dark"] .doc-row small,
[data-auth-theme="dark"] .doc-row em {color:var(--portal-muted);}
[data-auth-theme="dark"] .breadcrumb b {color:#edf3f5;}
[data-auth-theme="dark"] .portal-nav-link.active,
[data-auth-theme="dark"] .portal-nav-link:hover {background:#2b4957;color:#d2e6ed;}
[data-auth-theme="dark"] .sidebar-demo,
[data-auth-theme="dark"] .demo-tag,
[data-auth-theme="dark"] .integration-platform,
[data-auth-theme="dark"] .user-avatar,
[data-auth-theme="dark"] .doc-row>span {background:#243e4a;border-color:#577d8c;color:#c0dce6;}
[data-auth-theme="dark"] .sidebar-demo>span,
[data-auth-theme="dark"] .sidebar-demo small,
[data-auth-theme="dark"] .portal-kicker,
[data-auth-theme="dark"] .portal-feature-grid span,
[data-auth-theme="dark"] .portal-metric>div span,
[data-auth-theme="dark"] .small-text-btn,
[data-auth-theme="dark"] .portal-menu-toggle {color:#98c4d2;}
[data-auth-theme="dark"] .portal-project-row,
[data-auth-theme="dark"] .activity-item,
[data-auth-theme="dark"] .portal-table-row,
[data-auth-theme="dark"] .request-card,
[data-auth-theme="dark"] .integration-example,
[data-auth-theme="dark"] .doc-row {border-color:var(--portal-line);}
[data-auth-theme="dark"] .portal-list-head {background:#14232b;color:#afc4ce;}
[data-auth-theme="dark"] .portal-feature-grid>div {border-color:#577d8c;}
[data-auth-theme="dark"] .status-progress,
[data-auth-theme="dark"] .project-icon.purple {background:#37344e;color:#d0c6f4;}
[data-auth-theme="dark"] .status-review,
[data-auth-theme="dark"] .project-icon.orange {background:#473d2d;color:#e6c48b;}
[data-auth-theme="dark"] .status-done,
[data-auth-theme="dark"] .project-icon.green {background:#24453d;color:#a4dbc5;}
[data-auth-theme="dark"] .status-planned,
[data-auth-theme="dark"] .project-icon.blue {background:#2a4051;color:#b4d0e5;}
[data-auth-theme="dark"] .portal-page :focus-visible {outline-color:#98c4d2;}
@media (max-width:590px) {
  .portal-topbar .breadcrumb {display:none;}
}
