/* Fresh V2 shell adaptation. Shared Orbit presentation precedes this file. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html.orbit-workflow-v2 { --ow-topbar-height: 60px; }
html.orbit-workflow-v2 .portal-navigation { display: flex; flex-direction: column; gap: 2px; }
html.orbit-workflow-v2 .portal-navigation .nav-link { text-decoration: none; }
.portal-icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
html.orbit-workflow-v2 .brand-mark { flex: 0 0 auto; }
html.orbit-workflow-v2 .sidebar-inner { gap: 0; }
html.orbit-workflow-v2 .portal-sidebar-footer { display: flex; flex-direction: column; gap: .8rem; margin-top: auto; padding-top: 2rem; }
.portal-sidebar-note { margin: 0; padding-inline: .7rem; color: var(--tp-sidebar-muted); font-size: .75rem; }
html.orbit-workflow-v2 .portal-collapse { display: flex; width: 100%; min-height: 40px; align-items: center; gap: .65rem; margin-top: .8rem; padding: .55rem .7rem; border: 0; border-radius: .4rem; color: var(--tp-sidebar-muted); background: transparent; font: inherit; font-size: var(--tp-text-sm); text-align: left; cursor: pointer; }
html.orbit-workflow-v2 .portal-collapse:hover { color: var(--tp-sidebar-active-ink); background: var(--tp-nav-hover-bg); }
.portal-collapse .portal-icon { transition: transform .2s ease; }
.sidebar-collapsed .portal-collapse .portal-icon { transform: rotate(180deg); }
.sidebar-collapsed .portal-collapse { justify-content: center; }
.sidebar-collapsed .portal-collapse span, .sidebar-collapsed .portal-sidebar-note { display: none; }
html.orbit-workflow-v2 .portal-topbar { min-height: 60px; gap: 1rem; }
html.orbit-workflow-v2 .portal-topbar .orbit-workflow-breadcrumbs { margin: 0; }
.portal-topbar-actions { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
html.orbit-workflow-v2 .portal-workspace-link { display: inline-flex; min-height: 40px; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: .6rem; color: var(--tp-topbar-muted); font-size: var(--tp-text-sm); font-weight: 600; text-decoration: none; }
html.orbit-workflow-v2 .portal-workspace-link:hover { color: var(--tp-hover-accent-strong); background: var(--tp-hover-bg); }
html.orbit-workflow-v2 .portal-content { display: flex; min-height: calc(100dvh - 60px); flex-direction: column; padding-top: 2rem; }
.portal-page-heading { margin-bottom: 1.7rem; }
.portal-page-heading .portal-eyebrow { margin: 0 0 .4rem; color: var(--tp-muted); font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
html.orbit-workflow-v2 .portal-page-heading h1 { margin: 0; color: var(--tp-ink); font-size: clamp(1.55rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.25; }
.portal-empty { display: flex; min-height: min(460px, 58vh); flex: 1 0 auto; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; border: 1px solid var(--tp-border); border-radius: .9rem; background: var(--tp-surface); text-align: center; box-shadow: var(--tp-shadow); }
.portal-empty-mark { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 1.1rem; border: 1px solid var(--tp-upgrade-border); border-radius: 16px; color: var(--tp-action); background: var(--tp-gold-bg); }
.portal-empty-mark .portal-icon { width: 23px; height: 23px; }
html.orbit-workflow-v2 .portal-empty h2 { margin: 0 0 .55rem; color: var(--tp-ink); font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
html.orbit-workflow-v2 .portal-empty p { max-width: 30rem; margin: 0; color: var(--tp-muted); font-size: var(--tp-text-sm); line-height: 1.65; }
html.orbit-workflow-v2 .portal-content > footer { margin-top: 1.5rem; padding-bottom: .25rem !important; }
html.orbit-workflow-v2 .portal-mobile-menu { display: none; }
html.orbit-workflow-v2 .portal-not-found { max-width: 680px; margin: 10vh auto; padding: 2rem; }
html.orbit-workflow-v2 .portal-not-found a { display: inline-flex; margin-top: 1.5rem; color: var(--tp-action-text); font-size: .875rem; font-weight: 650; text-underline-offset: .2em; }
@media (max-width: 991.98px) {
  html.orbit-workflow-v2 .portal-mobile-menu { display: grid; flex: 0 0 auto; }
  html.orbit-workflow-v2 .portal-collapse { display: none; }
  html.orbit-workflow-v2 .portal-topbar { flex-wrap: nowrap; padding-inline: 1rem; }
  html.orbit-workflow-v2 .portal-topbar .orbit-workflow-breadcrumbs > :not(strong) { display: none; }
  html.orbit-workflow-v2 .portal-topbar .orbit-workflow-breadcrumbs { margin-right: auto; }
  html.orbit-workflow-v2 .portal-content { padding-top: 1.5rem; }
  body:has(.navigation-open) { overflow: hidden; }
}
@media (max-width: 575.98px) {
  .portal-workspace-link span { display: none; }
  .portal-topbar-actions { gap: .25rem; }
  .portal-empty { min-height: 54vh; padding-inline: 1rem; }
  html.orbit-workflow-v2 .portal-content > footer { align-items: flex-start; gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
