/* Shared navigation envelope. The analysis tool/editor does not load this file. */
.si-workspace-shell [hidden] { display: none !important; }
.si-workspace-shell .dashboard-container { max-width: 1240px; padding: 28px 32px 64px; }
.si-workspace-shell .workspace-header { min-height: 48px; margin-bottom: 28px; flex-direction: row; align-items: center; }
.workspace-account-label { display: none; }
.workspace-brand { color: #17233b; font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.workspace-brand span { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: #64748b; }
.si-workspace-shell .workspace-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0; padding: 16px 20px; border: 1px solid #dce3ee; background: #fff; border-radius: 12px 12px 0 0; }
.si-workspace-shell .workspace-bar-left { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-width: 0; }
.si-workspace-shell .workspace-bar-label { color: #475569; font-size: 13px; font-weight: 600; }
.si-workspace-shell .workspace-filter-select { min-width: 220px; max-width: 390px; height: 42px; padding: 8px 34px 8px 12px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #17233b; font-size: 14px; }
.workspace-primary-nav { display: flex; align-items: stretch; gap: 6px; padding: 0 16px; margin-bottom: 30px; border: 1px solid #dce3ee; border-top: 0; border-radius: 0 0 12px 12px; background: #fff; overflow-x: auto; scrollbar-width: thin; }
.workspace-primary-nav > a, .workspace-primary-nav > button { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 17px 13px 15px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #526078; text-decoration: none; font: 600 14px/1.35 Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.workspace-primary-nav > .is-active { color: #4338ca; border-bottom-color: #4f46e5; background: #f6f5ff; }
.workspace-primary-nav > a:hover, .workspace-primary-nav > button:hover { color: #3730a3; background: #f6f5ff; }
.workspace-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0; }
.workspace-page-heading h1 { margin: 5px 0 8px; font-size: 28px; line-height: 1.2; color: #17233b; }
.workspace-page-heading p, .si-workspace-shell .project-section-context { color: #64748b; font-size: 14px; line-height: 1.6; }
.workspace-page-heading .workspace-eyebrow { color: #65738a; font-size: 12px; font-weight: 600; }
.workspace-menu { position: relative; flex-shrink: 0; }
.workspace-menu summary { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; color: #475569; cursor: pointer; font-size: 13px; list-style: none; }
.workspace-menu summary::-webkit-details-marker { display: none; }
.workspace-menu summary:hover, .workspace-menu[open] summary { background: #eef2f7; }
.workspace-menu-items { position: absolute; z-index: 100; top: calc(100% + 6px); right: 0; display: grid; width: max-content; min-width: 240px; max-width: calc(100vw - 40px); padding: 8px; background: #fff; border: 1px solid #dce3ee; border-radius: 10px; box-shadow: 0 10px 30px #17233b1a; }
.workspace-menu-items > a, .workspace-menu-items > button { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: #334155; text-align: left; text-decoration: none; font: 500 14px/1.4 Inter, sans-serif; cursor: pointer; }
.workspace-menu-items > a:hover, .workspace-menu-items > button:hover { background: #f1f5f9; }
.workspace-menu-items .danger { margin-top: 4px; border-top: 1px solid #edf0f5; color: #b91c1c; }
.workspace-menu-label { padding: 9px 12px 5px; color: #64748b; font-size: 11px; }
.workspace-project-required { padding: 48px 24px; text-align: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.workspace-project-required > i { margin-bottom: 18px; color: #6366f1; font-size: 28px; }
.workspace-project-required h2 { margin-bottom: 12px; font-size: 21px; }
.workspace-project-required p { margin: 0 auto 24px; max-width: 480px; color: #64748b; line-height: 1.6; }
.workspace-account-back { width: fit-content; margin: 8px 0; }
.si-workspace-shell[data-dashboard-space="account"] #workspaceBar,
.si-workspace-shell[data-dashboard-space="admin"] #workspaceBar,
.si-workspace-shell[data-dashboard-space="account"] #dashboardSpaceNav,
.si-workspace-shell[data-dashboard-space="admin"] #dashboardSpaceNav { display: none !important; }
.si-workspace-shell .project-section-context { margin: -12px 0 22px; }
.si-workspace-shell .project-tabs { gap: 5px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; overflow-x: auto; flex-wrap: nowrap; }
.si-workspace-shell .project-tabs .project-tab { flex-shrink: 0; padding: 10px 12px; font-size: 13px; }
.si-workspace-shell #workspaceCountBadge { display: inline-block; margin-bottom: 14px; }
.si-workspace-shell :is(a,button,select,summary):focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
.workspace-skip-link { position: absolute; top: -70px; padding: 12px 20px; background: #fff; color: #4338ca; z-index: 200; }
.workspace-skip-link:focus { top: 8px; }
@media (max-width: 700px) {
    .si-workspace-shell .dashboard-container { padding: 16px 16px 40px; }
    .workspace-header { align-items: center; flex-wrap: nowrap; margin-bottom: 18px; gap: 10px; }
    .workspace-brand { font-size: 17px; }
    .workspace-header .user-badge > span { display: none; }
    .workspace-account-label { display: inline; }
    .workspace-header .header-right { gap: 4px; }
    .workspace-header #dashboardCreditGauge { display: none !important; }
    .si-workspace-shell .workspace-bar { padding: 12px; gap: 10px; flex-wrap: wrap; }
    .si-workspace-shell .workspace-bar-left { flex: 1 1 100%; flex-wrap: nowrap; }
    .si-workspace-shell .workspace-filter-select { min-width: 0; max-width: none; width: 100%; }
    .si-workspace-shell .project-default-badge { display: none !important; }
    .workspace-bar > .workspace-menu { margin-left: auto; }
    .workspace-bar .workspace-menu summary { padding: 4px 2px; }
    .workspace-primary-nav { padding: 0 6px; margin-bottom: 24px; }
    .workspace-primary-nav > a, .workspace-primary-nav > button { padding: 15px 12px 12px; font-size: 13px; }
    .workspace-page-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .workspace-page-heading h1 { font-size: 25px; }
    .workspace-page-heading .btn-primary, .workspace-page-heading .btn-secondary { font-size: 13px; }
    .si-workspace-shell .project-section-context { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .si-workspace-shell *, .si-workspace-shell *::before, .si-workspace-shell *::after { scroll-behavior: auto !important; transition: none !important; }
}
