/* Shared workspace body scale; rem headings and the separate top bar stay intact. */
.app-layout {--app-font-size:.875rem;font-size:var(--app-font-size)}
.app-layout :where(input,select,textarea,button) {font-family:inherit;font-size:var(--app-font-size)}
.app-layout .sidebar {width:208px; flex-shrink:0}
.app-layout .sidebar-nav a {font-size:var(--app-font-size)}
.app-content {min-width:0}
.sidebar-nav a {padding:.65rem .6rem;border-radius:6px;gap:0;color:#526581}
.sidebar-nav a.active,.sidebar-nav a.active:hover,.sidebar-nav a.active:focus {background:#e9efff;color:#245cf5}
.workspace-switch {display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;min-height:40px;padding:.55rem .5rem;margin:.5rem 0 1.2rem;border:1px solid #e2e8f2;border-radius:6px;background:#f7f9fc;color:#334155;text-decoration:none}
.workspace-switch:hover {background:#e9efff;color:#245cf5}
.workspace-switch-label {min-width:0;overflow-wrap:anywhere;font-size:var(--app-font-size)}
.workspace-switch svg {flex-shrink:0}
.workspace-header {margin:0 0 1.2rem}
.workspace-header h1 {font-size:1.35rem;margin:0 0 1rem;color:#203047}
.workspace-tabs {display:flex;gap:.25rem;flex-wrap:wrap;border-bottom:1px solid #dce2e8;padding-bottom:.5rem}
.workspace-tabs a {padding:.5rem .7rem;border-radius:6px;text-decoration:none;font-size:var(--app-font-size);white-space:nowrap;color:#52617a}
.workspace-tabs a[aria-current=page] {background:#e8efff;color:#1d4ed8;font-weight:650}
.workspace-tabs a:hover {background:#eaf0fa}
.workspace-page {min-width:0}
.workspace-page > .page-header {margin:0 0 1rem}
.workspace-page .page-header-title > .nav-icon svg {width:28px;height:28px}
.workspace-page .page-primary-title {font-size:1.35rem;line-height:1.35;margin:0;overflow-wrap:anywhere}
.workspace-page .page-context-title {font-size:1.2rem;line-height:1.35;margin:0;overflow-wrap:anywhere}
.workspace-page .workspace-toolbar {margin:0 0 1rem;padding:0;min-height:0}
.workspace-page .task-workspace .workspace-toolbar {padding:.25rem 2rem 1rem;margin:0}
.workspace-breadcrumb {margin:0 0 .75rem;font-size:.85rem}
.workspace-header + .workspace-page .page-header {margin-top:0}
.workspace-page> .reward-shell {width:100%;max-width:none;min-width:0}
.app-layout.sidebar-collapsed .workspace-switch {justify-content:center;gap:0;padding:.5rem .25rem}
.app-layout.sidebar-collapsed .workspace-switch-label {display:none}
.app-layout.sidebar-collapsed .sidebar,html.sidebar-collapsed .app-layout .sidebar {overflow:visible}
.app-layout.sidebar-collapsed .sidebar-footer,html.sidebar-collapsed .app-layout .sidebar-footer {display:none}
@media(max-width:767px){.workspace-tabs {flex-wrap:nowrap;overflow-x:auto}.workspace-tabs a {min-height:44px}.app-layout .sidebar {width:250px}.workspace-page table {max-width:100%}}
@media(max-width:767px){.workspace-page .task-workspace .workspace-toolbar {padding:.25rem .75rem 1rem}}
