/* Dashboard layout. Other pages keep the shared platform theme. */
.dashboard-page {
  --dashboard-sidebar-width: 248px;
  --dashboard-topbar-height: 72px;
  --prp-bg: #f7f8fa;
  --prp-line: #e4e8ee;
  --prp-ink: #202a39;
  --prp-muted: #687384;
  --prp-accent: #087e95;
  --prp-accent-strong: #076b7e;
  --prp-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.dashboard-page [hidden] { display: none !important; }
.dashboard-page .ui-icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none !important; }
.dashboard-page .ui-icon * { fill: none !important; }
.dashboard-page :is(button, .btn) { font-weight: 600 !important; }
.dashboard-page button, .dashboard-page input, .dashboard-page select { font: inherit; }
.dashboard-page button, .dashboard-page a { -webkit-tap-highlight-color: transparent; }
.dashboard-page :is(button, a, input, select):focus-visible { outline: 3px solid #0891b2 !important; outline-offset: 3px; }
.dashboard-page .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; gap: 8px; padding: 10px 15px; font-size: 14px; font-weight: 600; line-height: 1.35; text-transform: none !important; letter-spacing: 0 !important; }
.dashboard-page .btn:disabled { cursor: not-allowed; }
.dashboard-page .ui-icon-button { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid transparent !important; border-radius: 9px !important; background: transparent !important; color: #657184 !important; cursor: pointer; }
.dashboard-page .ui-icon-button:hover { background: #f1f5f8 !important; box-shadow: none !important; border-color: transparent !important; }
.dashboard-skip-link { position: fixed; top: -100px; left: 16px; z-index: 10001; padding: 10px 18px; background: white; color: #075985; border-radius: 8px; }
.dashboard-skip-link:focus { top: 12px; }
.dashboard-topbar { position: sticky !important; top: 0; z-index: 100 !important; height: var(--dashboard-topbar-height); display: flex; align-items: center; border-bottom: 1px solid var(--prp-line); background: #fff; padding: 0 30px 0 24px; gap: 30px; }
.dashboard-topbar-brand { display: flex; align-items: center; gap: 10px; width: calc(var(--dashboard-sidebar-width) - 24px); flex-shrink: 0; }
.dashboard-logo { display: inline-flex; align-items: center; gap: 10px; color: #202a39; text-decoration: none; font-size: 22px; font-weight: 750; letter-spacing: -.7px; }
.dashboard-logo img { width: 32px; height: 32px; object-fit: contain; }
.dashboard-logo sup { font-size: 10px; vertical-align: top; position: relative; top: 6px; margin-left: 2px; }
.dashboard-breadcrumb { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #7a8595; white-space: nowrap; }
.dashboard-breadcrumb .ui-icon { width: 12px; color: #b1bac6; }
.dashboard-breadcrumb strong { color: #455163; font-weight: 600; }
.dashboard-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.dashboard-help-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; color: #687384; }
.dashboard-help-link:hover { color: var(--prp-accent); }
.dashboard-language { display: flex; align-items: center; }
.dashboard-page #prp-lang-switcher { position: static !important; border: 0 !important; box-shadow: none !important; background: #f3f5f7 !important; padding: 3px !important; border-radius: 8px !important; gap: 0 !important; }
.dashboard-page #prp-lang-switcher button { min-width: 34px; min-height: 32px; padding: 6px !important; font-size: 11px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: #647084 !important; box-shadow: none !important; }
.dashboard-page #prp-lang-switcher button[aria-pressed="true"] { color: #253349 !important; background: #fff !important; box-shadow: 0 1px 3px #182c4514 !important; }
.account-control, .evaluation-control { position: relative; }
.dashboard-page .account-avatar { background: #edf6f7 !important; color: #087e95 !important; border: 1px solid #d8e9ed !important; border-radius: 50% !important; }
.dashboard-popover { position: absolute; top: calc(100% + 12px); right: 0; z-index: 120; width: 276px; padding: 6px; border: 1px solid var(--prp-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 40px #1b30451a, 0 2px 6px #1b304508; }
.account-menu-heading { padding: 12px 12px 14px; margin-bottom: 4px; border-bottom: 1px solid #edf0f4; }
.account-menu-heading strong { font-size: 14px; font-weight: 650; }
#user-chip { margin-top: 3px; font-size: 13px; color: #687384; overflow-wrap: anywhere; }
.dashboard-page .account-menu-item { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 0 !important; border-radius: 7px !important; background: transparent !important; text-align: left; font-size: 14px; color: #455163 !important; text-decoration: none; cursor: pointer; }
.dashboard-page .account-menu-item:hover, .dashboard-page #logout-btn:hover { background: #f3f6f9 !important; color: #253349 !important; box-shadow: none !important; }
.account-menu-divider { height: 1px; margin: 5px 8px; background: #edf0f4; }
.dashboard-page .account-menu-danger { color: #bb3345 !important; }
.dashboard-page #delete-account-btn:hover { color: #aa2639 !important; background: #fff1f2 !important; box-shadow: none !important; }
.dashboard-page .app { display: block; width: auto !important; margin: 0 0 0 var(--dashboard-sidebar-width) !important; zoom: 1; }
.dashboard-page aside.sidebar.panel { position: fixed !important; inset: var(--dashboard-topbar-height) auto 0 0; z-index: 80; width: var(--dashboard-sidebar-width); height: calc(100dvh - var(--dashboard-topbar-height)); max-height: none !important; overflow-x: hidden !important; overflow-y: auto !important; padding: 25px 16px; border: 0 !important; border-right: 1px solid var(--prp-line) !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; backdrop-filter: none !important; scrollbar-width: thin; scrollbar-color: #dce2ea transparent; display: flex; flex-direction: column; }
.dashboard-sidebar-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 15px; color: #8a94a3; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-page .mobile-menu-toggle, .dashboard-page #dashboard-menu-close { display: none; }
.dashboard-nav-current { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 8px; text-decoration: none; color: #08758b; background: #eaf4f6; font-weight: 650; font-size: 14px; }
.dashboard-page .nav-section-title { margin: 27px 12px 9px; }
.dashboard-page .side-title { color: #8993a1 !important; font: 650 11px/1.5 "Source Sans 3", system-ui, sans-serif !important; letter-spacing: .08em !important; }
.dashboard-page .nav { gap: 3px; }
.dashboard-page .sidebar .nav .btn { justify-content: flex-start; min-height: 42px; width: 100%; padding: 10px 12px; gap: 11px; background: transparent !important; border: 1px solid transparent !important; color: #5c687a !important; box-shadow: none !important; font-size: 14px; font-weight: 500; }
.dashboard-page .sidebar .nav .btn:hover { background: #f3f6f9 !important; color: #233347 !important; }
.dashboard-page .sidebar .nav .ui-icon { color: #8893a3; width: 18px; }
.dashboard-page .sidebar .divider { margin: 24px 12px; background: #edf0f3; flex-shrink: 0; }
.dashboard-page #client-bookings-section { padding: 0 12px; }
.dashboard-page .side-count { padding: 2px 7px; border: 0 !important; font-size: 11px; }
.dashboard-page .side-toggle { min-width: 32px; min-height: 32px; box-shadow: none !important; }
.dashboard-page .side-empty { font-size: 13px; padding: 12px 0; border: 0 !important; background: transparent !important; line-height: 1.6; color: #7f8998 !important; }
.sidebar-support { margin: auto 4px 0; padding: 28px 8px 0; font-size: 13px; }
.sidebar-support > .ui-icon { display: block; color: #8896a9; margin-bottom: 10px; }
.sidebar-support strong { font-size: 14px; font-weight: 600; }
.sidebar-support p { margin: 5px 0 12px; font-size: 13px; line-height: 1.55; }
.sidebar-support a { display: inline-flex; gap: 7px; align-items: center; color: #087e95; text-decoration: none; font-weight: 600; }
.sidebar-support a .ui-icon { width: 15px; }
.dashboard-page .main.panel { width: min(100%, 1440px); min-width: 0; margin: 0 auto; padding: 34px 36px 32px; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; overflow: visible !important; }
.dashboard-page :is(.summary, .dashboard-tabs, .dashboard-focus, .dashboard-panel, .dashboard-detail, #imported-programs-section) { background: transparent !important; border-radius: 0 !important; }
.dashboard-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.dashboard-eyebrow { color: #7b8798; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; }
.dashboard-page-heading h1 { margin: 0; font-size: 30px; line-height: 1.25; letter-spacing: -.8px !important; font-weight: 700; }
.dashboard-page-heading p { margin: 8px 0 0; font-size: 14px; }
.evaluation-control { flex-shrink: 0; z-index: 20; }
.dashboard-page #new-evaluation-toggle { width: auto; box-shadow: 0 2px 3px #087e9515 !important; }
.dashboard-page .status { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #deebef !important; border-radius: 9px; background: #edf7fa !important; font: 400 14px/1.5 "Source Sans 3", system-ui, sans-serif !important; }
.dashboard-page .status:empty { display: none; }
.dashboard-page .status.error { color: #b42338 !important; border-color: #f3cdd2 !important; background: #fff5f5 !important; }
.dashboard-page .status.ok { color: #047857 !important; background: #edf9f3 !important; }
.dashboard-page .summary { margin: 0 0 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dashboard-page .metric { padding: 20px 22px; border-radius: 12px !important; border-color: var(--prp-line) !important; background: #fff !important; box-shadow: 0 2px 3px #23354b03 !important; }
.metric-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-heading .ui-icon { color: #91a0b0; width: 18px; }
.dashboard-page .metric .label { color: #687384 !important; font-size: 13px; font-weight: 500; }
.dashboard-page .metric .value { margin-top: 12px; font-size: 30px; font-weight: 650; letter-spacing: -.5px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.dashboard-page #kpi-last { font-size: 18px !important; line-height: 37.5px; }
.metric-caption { margin-top: 6px; font-size: 12px; color: #8a95a5; }
.dashboard-page .dashboard-tabs { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 24px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #dfe5eb; border-radius: 0; background: transparent; }
.dashboard-page .dashboard-tab { min-width: 0; min-height: 48px; margin-bottom: -1px; padding: 10px 0 14px; background: transparent !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; color: #7b8796 !important; font-size: 14px; font-weight: 550; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
.dashboard-page .dashboard-tab.active { border-bottom-color: #087e95 !important; color: #087e95 !important; font-weight: 650; }
.dashboard-page .dashboard-tab:hover { color: #087e95 !important; box-shadow: none !important; }
.dashboard-page .dashboard-focus { margin-top: 22px; gap: 18px; }
.dashboard-page .dashboard-picker { padding: 0; grid-template-columns: minmax(240px, 1fr) minmax(140px, .65fr); gap: 20px; align-items: center; border: 0; border-radius: 0; background: transparent; }
.dashboard-page .dashboard-picker label { margin-bottom: 7px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #687384; }
.dashboard-page .dashboard-picker select { min-width: 0; max-width: 100%; padding: 10px 36px 10px 13px; font-size: 14px; font-weight: 500; text-overflow: ellipsis; }
.dashboard-page .dashboard-picker-note { padding-top: 22px; color: #8691a1; font-size: 12px; line-height: 1.5; }
.dashboard-page .dashboard-detail { gap: 18px; }
.dashboard-page .dashboard-detail-hero { padding: 24px; border-color: var(--prp-line); border-radius: 12px; background: #fff; align-items: center; }
.dashboard-page .dashboard-detail-title { margin: 10px 0 8px; font-size: 24px; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.dashboard-page .dashboard-detail-meta { margin: 0; gap: 8px 12px; color: #7f8997; font-size: 12px; overflow-wrap: anywhere; }
.dashboard-page .dashboard-detail-meta > span { min-width: 0; max-width: 100%; }
.dashboard-page .dashboard-pill { padding: 4px 8px; background: #f2f6f8; border: 0; border-radius: 5px; color: #607082; font-size: 10px; font-weight: 600; letter-spacing: .02em; width: auto; }
.dashboard-page .dashboard-pill:first-child { color: #087e95; background: #edf7f8; }
.dashboard-page .score-summary { min-width: 0; gap: 12px; }
.dashboard-page .score { font-size: 30px; font-weight: 650; }
.dashboard-page .client-badge-preview { max-width: 200px; min-width: 0; }
.dashboard-page .client-badge-preview { box-shadow: none; background: #f7fafb; border-color: #e4ebee; }
.dashboard-page .client-badge-preview img { max-width: 100%; }
.dashboard-page .client-badge-id { display: none; }
.dashboard-page .client-badge-framework { width: auto !important; }
.dashboard-page .copy-code-btn { padding: 6px 9px; min-height: 32px; font-size: 11px; }
.dashboard-page .dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 18px 4px; border: 1px solid var(--prp-line); border-radius: 12px; background: #fff; }
.dashboard-page .dashboard-metric { padding: 0 22px; border: 0; border-right: 1px solid #e9edf2; border-radius: 0; background: transparent; min-width: 0; }
.dashboard-page .dashboard-metric:last-child { border-right: 0; }
.dashboard-page .dashboard-metric span { color: #7b8695; font-size: 12px; letter-spacing: 0; font-weight: 500; text-transform: none; }
.dashboard-page .dashboard-metric strong { margin-top: 7px; font-size: 23px; color: #2c394c; font-weight: 650; }
.dashboard-page .dashboard-detail-actions { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dashboard-page .dashboard-detail-actions .btn { min-width: 0; font-size: 13px; background: #fff !important; }
.dashboard-page .dashboard-detail-actions [data-dashboard-programme-link] { background: #edf7f8 !important; border-color: #cee4e9 !important; color: #08758b !important; }
.dashboard-page .evidence-summary { padding: 13px 16px; border-radius: 10px !important; border-color: var(--prp-line) !important; gap: 9px; }
.dashboard-page .evidence-summary :is(.pill, .badge) { font-size: 11px; font-weight: 500; text-transform: none !important; letter-spacing: 0 !important; }
.dashboard-page .dashboard-visual-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.dashboard-page .dashboard-visual-card { max-width: none; padding: 22px; border: 1px solid var(--prp-line); border-radius: 12px; background: #fff; overflow: hidden; }
.dashboard-page .dashboard-visual-head { margin-bottom: 18px; }
.dashboard-page .dashboard-visual-head h3 { font-size: 16px; font-weight: 650; }
.dashboard-page .dashboard-visual-head p { font-size: 12px; line-height: 1.55; margin: 5px 0 0; }
.dashboard-page .dashboard-start-visual { display: flex; justify-content: center; align-items: center; min-height: 0; width: 100%; padding: 0; border: 0; background: #fff; overflow: hidden; }
.dashboard-page .dashboard-start-main { width: var(--diagram-size, 400px); height: var(--diagram-size, 400px); max-width: 100%; position: relative; flex-shrink: 0; transform: none; }
.dashboard-page .dashboard-start-circle-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(var(--diagram-scale, .32)); transform-origin: center; }
.dashboard-page .dashboard-start-text-bg { box-shadow: none; border: 0; background: #f1f7f9; }
.dashboard-page .dashboard-disk-score { display: flex; justify-content: center; gap: 10px; margin-top: 12px; font-size: 12px; }
.dashboard-page .dashboard-disk-score img { width: 60px; box-shadow: none; }
.dashboard-theme-list { display: none; }
.dashboard-page .kanban-chart { min-width: 0; min-height: 310px; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
.dashboard-page .kanban-plot { min-height: 310px; border: 0; border-bottom: 1px solid #e7edf3; border-radius: 0; background: repeating-linear-gradient(to top, #edf1f5 0 1px, transparent 1px 25%); }
.dashboard-page .kanban-y-axis { padding: 6px 0; }
.dashboard-page .kanban-y-axis img { width: 38px; box-shadow: none; }
.dashboard-page .kanban-point { width: 30px; }
.dashboard-page .kanban-point img { width: 28px; box-shadow: none; }
.dashboard-page .kanban-point span { color: #08758b; background: #edf7f8; font-size: 10px; }
.dashboard-page .kanban-plot polyline { stroke: #168da2; stroke-width: 1; }
.dashboard-page .hours-summary { margin-top: 25px; gap: 10px; }
.dashboard-page .hours-summary-row { color: #687384; flex-wrap: wrap; font-size: 12px; }
.dashboard-page .hours-track { height: 6px; background: #eef1f5; border: 0; }
.dashboard-page .hours-track > span { background: #168da2; }
.dashboard-page .dashboard-empty-soft { padding: 24px 18px; border-color: #e2e8ee; background: #f9fafb; color: #7b8695; font-size: 13px; text-align: center; }
.dashboard-page #empty { padding: 60px 24px; margin-top: 22px; border: 1px solid var(--prp-line); border-radius: 12px; background: #fff; text-align: center; }
.dashboard-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border: 1px solid #e0eaef; border-radius: 14px; background: #f1f7f9; color: #087e95; }
.dashboard-page .dashboard-empty-icon .ui-icon { width: 25px; height: 25px; }
.dashboard-page #empty h2 { font-size: 23px; font-weight: 650; margin: 0 0 10px; }
.dashboard-page #empty p { max-width: 410px; margin: 0 auto 23px; font-size: 14px; line-height: 1.65; }
.dashboard-page #empty .btn { width: fit-content; margin: 0 auto; }
.dashboard-page .dashboard-empty-secondary { display: block; width: fit-content; margin: 16px auto 0; font-size: 13px; }
.dashboard-record-footer { display: flex; justify-content: flex-end; margin-top: 16px; }
.dashboard-page #delete-selected-btn { width: auto; min-height: 36px; padding: 7px 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #9a6870 !important; font-size: 12px; font-weight: 400; }
.dashboard-page #delete-selected-btn:hover { color: #b42338 !important; text-decoration: underline; }
.dashboard-page #delete-selected-btn:disabled { display: none; }
.dashboard-page .expert-cta { margin-top: 32px; padding: 22px 0 0; border: 0 !important; border-top: 1px solid var(--prp-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.dashboard-page .expert-cta h2 { font-size: 14px; font-weight: 600; }
.dashboard-page .expert-cta p { font-size: 12px; }
.dashboard-page .expert-cta > .btn { width: auto; font-size: 12px; padding: 8px 12px; }
.dashboard-page #partner-tracking-section { margin: 20px 0; padding: 20px; background: #fff; border: 1px solid var(--prp-line); border-radius: 12px; }
.dashboard-page #partner-tracking-section .side-form { grid-template-columns: minmax(0, 1fr) auto; max-width: 600px; align-items: center; }
.dashboard-page #partner-tracking-section .input { margin-top: 0; }
.dashboard-page #partner-tracking-section .side-copy { font-size: 13px; }
.dashboard-page .card { border-radius: 12px !important; }
.dashboard-page .account-delete-dialog { position: fixed; width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid #e1e6ec; border-radius: 16px; background: #fff; color: #253349; box-shadow: 0 24px 90px #0b213533; overflow-y: auto; }
.account-delete-dialog::backdrop { background: #14253573; backdrop-filter: blur(3px); }
.account-dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.account-delete-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff1f2; color: #ba3045; }
.dashboard-page .account-delete-dialog h2 { margin: 0 0 10px; font-size: 23px; font-weight: 650; }
.dashboard-page .account-delete-dialog p { font-size: 14px; line-height: 1.6; }
.account-delete-notice { margin: 18px 0 22px; padding: 12px 14px; border: 1px solid #f0e0c5; border-radius: 8px; background: #fffbf3; color: #8c682d; font-size: 13px; }
.account-delete-dialog label { display: block; margin: 16px 0 7px; font-size: 13px; font-weight: 600; }
.dashboard-page .account-delete-dialog .input { margin: 0; width: 100%; min-height: 44px; font-size: 16px; }
.account-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.account-dialog-actions .btn { width: auto; }
.dashboard-page #account-delete-submit { background: #bb3345 !important; color: #fff !important; border-color: #bb3345 !important; }
.dashboard-page #account-delete-submit:hover { background: #a52b3c !important; }
.dashboard-page .account-delete-error { margin: 12px 0 0; color: #b42338 !important; }
.account-delete-error:empty { display: none; }
.account-delete-dialog [aria-busy="true"] { cursor: progress; }
.dashboard-page .org-name-modal-panel { border-radius: 14px; padding: 24px; }
.dashboard-page .evidence-vault-panel { border-radius: 14px !important; }

@media (min-width: 1001px) and (max-width: 1280px) {
  .dashboard-page { --dashboard-sidebar-width: 224px; }
  .dashboard-page .main.panel { padding: 28px 24px; }
  .dashboard-topbar { gap: 16px; padding-right: 24px; }
  .dashboard-topbar-actions { gap: 14px; }
  .dashboard-help-link span, .dashboard-breadcrumb > span { display: none; }
  .dashboard-breadcrumb > .ui-icon { display: none; }
  .dashboard-page .dashboard-page-heading { align-items: flex-start; }
  .dashboard-page-heading p { max-width: 340px; }
  .dashboard-page .dashboard-visual-card { padding: 18px; }
  .dashboard-page .kanban-chart, .dashboard-page .kanban-plot { min-height: 270px; }
}
@media (max-width: 1000px) {
  .dashboard-page { --dashboard-topbar-height: 64px; }
  .dashboard-topbar { padding: 0 22px 0 14px; gap: 18px; }
  .dashboard-topbar-brand { width: auto; }
  .dashboard-page .mobile-menu-toggle, .dashboard-page #dashboard-menu-close { display: inline-flex; }
  .dashboard-breadcrumb, .dashboard-help-link { display: none; }
  .dashboard-topbar-actions { gap: 16px; }
  .dashboard-page .app { margin: 0 !important; }
  .dashboard-page .main.panel { padding: 28px; }
  .dashboard-page aside.sidebar.panel { inset: 0 auto 0 0; z-index: 200; width: min(304px, calc(100% - 44px)); height: 100dvh; padding: 18px; transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .dashboard-page.dashboard-nav-open aside.sidebar.panel { visibility: visible; transform: translateX(0); }
  .dashboard-page.dashboard-nav-open { overflow: hidden; }
  .dashboard-nav-backdrop { position: fixed; inset: 0; z-index: 190; background: #172b4566; backdrop-filter: blur(2px); }
  .dashboard-page .dashboard-sidebar-heading { margin-bottom: 18px; }
}
@media (max-width: 700px) {
  .dashboard-page .dashboard-visual-grid { grid-template-columns: 1fr; }
  .dashboard-page .dashboard-start-visual, .dashboard-page .dashboard-disk-score { display: none; }
  .dashboard-theme-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .dashboard-page .theme-bar-row { padding: 0; border: 0; font-size: 12px; align-items: center; gap: 7px 8px; }
  .dashboard-page .theme-bar-name { font-weight: 500; color: #5c697b; line-height: 1.4; }
  .dashboard-page .theme-bar-score { color: #087e95; font-size: 12px; font-weight: 600; }
  .dashboard-page .theme-bar-track { height: 5px; border: 0; background: #edf1f4; }
  .dashboard-page .theme-bar-track > span { background: #168da2; }
  .dashboard-page .dashboard-picker { grid-template-columns: 1fr; gap: 7px; }
  .dashboard-page .dashboard-picker-note { padding: 0; }
  .dashboard-page .metric { padding: 16px; }
  .metric-caption { display: none; }
  .dashboard-page .dashboard-page-heading { flex-wrap: wrap; gap: 18px; }
  .dashboard-page .summary { gap: 10px; }
  .dashboard-page .metric .value { font-size: 26px; }
  .dashboard-page #kpi-last { font-size: 14px !important; line-height: 1.4; }
  .dashboard-page .metric .label { font-size: 12px; }
  .metric-heading .ui-icon { display: none; }
  .dashboard-page .client-badge-preview { max-width: 160px; }
}
@media (max-width: 480px) {
  .dashboard-topbar { padding: 0 14px 0 6px; gap: 8px; }
  .dashboard-topbar-brand { gap: 4px; }
  .dashboard-logo { font-size: 20px; gap: 7px; }
  .dashboard-logo img { width: 27px; height: 27px; }
  .dashboard-topbar-actions { gap: 10px; }
  .dashboard-page .account-avatar { width: 38px; height: 38px; }
  .dashboard-page #prp-lang-switcher button { min-width: 29px; min-height: 34px; }
  .dashboard-page .main.panel { padding: 25px 16px; }
  .dashboard-page-heading { margin-bottom: 23px; }
  .dashboard-page-heading h1 { font-size: 27px; }
  .dashboard-page-heading p { font-size: 14px; max-width: 330px; }
  .evaluation-control, .dashboard-page #new-evaluation-toggle { width: 100%; }
  .evaluation-menu { width: 100%; }
  .account-menu { width: min(288px, calc(100vw - 28px)); }
  .dashboard-page .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
  .dashboard-page .summary .metric:last-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
  .dashboard-page .summary .metric:last-child .value { margin: 0; text-align: right; }
  .dashboard-page .dashboard-tabs { gap: 22px; }
  .dashboard-page .dashboard-tab { font-size: 13px; }
  .dashboard-page .dashboard-detail-hero { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .dashboard-page .dashboard-detail-title { font-size: 22px; }
  .dashboard-page .score-summary { justify-content: flex-start; flex-direction: row; flex-wrap: wrap; text-align: left; }
  .dashboard-page .dashboard-metrics { padding: 16px 0; }
  .dashboard-page .dashboard-metric { padding: 0 14px; }
  .dashboard-page .dashboard-metric strong { font-size: 22px; }
  .dashboard-page .dashboard-metric span { font-size: 11px; }
  .dashboard-page .dashboard-detail-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-page .dashboard-detail-actions .btn { min-height: 44px; padding: 10px; font-size: 12px; }
  .dashboard-page .dashboard-visual-card { padding: 20px 18px; }
  .dashboard-theme-list { grid-template-columns: 1fr; gap: 17px; }
  .dashboard-page .theme-bar-name { font-size: 13px; }
  .dashboard-page .kanban-chart { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  .dashboard-page .kanban-chart, .dashboard-page .kanban-plot { min-height: 260px; }
  .dashboard-page .kanban-y-axis img { width: 30px; }
  .dashboard-page .hours-summary-row { gap: 5px; }
  .dashboard-page #empty { padding: 36px 22px; }
  .dashboard-page #empty h2 { font-size: 21px; }
  .dashboard-page .expert-cta { margin-top: 26px; }
  .dashboard-page #partner-tracking-section .side-form { grid-template-columns: 1fr; }
  .dashboard-page .org-name-modal-row { grid-template-columns: 1fr; }
  .dashboard-page .account-delete-dialog { padding: 22px; }
  .account-dialog-actions { flex-direction: column-reverse; }
  .account-dialog-actions .btn { width: 100%; min-height: 44px; }
  .dashboard-page :is(.input, select, textarea) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-page *, .dashboard-page *::before, .dashboard-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Theme chart supports any framework size; details always remain read-only. */
.dashboard-page .dashboard-theme-chart { width:min(100%,390px); margin:0 auto; }
.dashboard-page .dashboard-theme-chart svg { width:100%; height:auto; display:block; overflow:visible; }
.dashboard-page .theme-chart-ring { fill:none; stroke:#e1ddea; stroke-width:.8; }
.dashboard-page .theme-chart-axis { fill:none; stroke:#c9bfdc; stroke-width:.8; }
.dashboard-page .dashboard-theme-chart text { font:700 12px 'Source Sans 3',sans-serif; }
.dashboard-page .dashboard-theme-chart a { cursor:pointer; }
.dashboard-page .dashboard-theme-chart a:hover>circle { fill-opacity:.25; }
.dashboard-page .dashboard-theme-chart a:focus-visible { outline:2px solid #7051c6; outline-offset:2px; }
.dashboard-page .dashboard-theme-score { display:flex; justify-content:center; align-items:center; gap:10px; margin:4px 0 20px; font-size:13px; color:#6141b4; }
.dashboard-page .dashboard-theme-score img { width:64px; height:auto; }
.dashboard-page .dashboard-theme-hint { margin:0 0 16px; color:#625b73; font-size:13px; line-height:1.55; }
.dashboard-page .dashboard-theme-details { display:grid; gap:8px; }
.dashboard-page .dashboard-theme-detail { min-width:0; border:1px solid #e7e1ef; border-radius:12px; background:#fff; scroll-margin-block:90px; }
.dashboard-page .dashboard-theme-detail summary { display:flex; align-items:center; gap:10px; padding:12px; cursor:pointer; list-style:none; border-radius:12px; }
.dashboard-page .dashboard-theme-detail summary::-webkit-details-marker { display:none; }
.dashboard-page .dashboard-theme-detail summary:hover { background:#f7f4fb; }
.dashboard-page .dashboard-theme-detail[open] summary { background:#f4f0fa; border-radius:12px 12px 0 0; }
.dashboard-page .theme-number { width:26px; height:26px; flex:0 0 26px; border-radius:8px; background:#f0ebf7; color:var(--theme-color); display:grid; place-items:center; font-size:12px; font-weight:700; }
.dashboard-page .theme-title { flex:1; min-width:0; font-size:13px; font-weight:600; line-height:1.35; color:#302e45; overflow-wrap:anywhere; }
.dashboard-page .theme-value { flex-shrink:0; max-width:85px; color:var(--theme-color); font-size:12px; font-weight:700; text-align:right; }
.dashboard-page .theme-chevron { color:#817191; font-size:18px; }
.dashboard-page .dashboard-theme-detail[open] .theme-chevron { transform:rotate(180deg); }
.dashboard-page .theme-detail-body { padding:16px; border-top:1px solid #e7e1ef; }
.dashboard-page .theme-completion { margin:0 0 14px; font-size:12px; color:#625b73; }
.dashboard-page .theme-criteria { list-style:none; padding:0; margin:0; display:grid; gap:16px; }
.dashboard-page .theme-criteria label { display:flex; align-items:flex-start; gap:10px; cursor:default; }
.dashboard-page .theme-criteria input[type=checkbox] { flex:0 0 17px; width:17px; height:17px; margin:3px 0 0; accent-color:#7051c6; opacity:1; cursor:default; }
.dashboard-page .theme-criteria label>span { min-width:0; }
.dashboard-page .theme-question { display:block; color:#302e45; font-size:14px; line-height:1.55; overflow-wrap:anywhere; }
.dashboard-page .theme-question-id { color:#817191; }
.dashboard-page .theme-criterion-status { display:inline-block; margin-top:6px; padding:3px 7px; border-radius:6px; font-size:11px; line-height:1.4; color:#65566f; background:#f1edf5; }
.dashboard-page .theme-criterion-status.is-validated { background:#eae4f7; color:#6141b4; }
@media(max-width:640px) {
 .dashboard-page .dashboard-theme-detail summary { padding:11px 10px; gap:8px; }
 .dashboard-page .theme-detail-body { padding:14px 12px; }
 .dashboard-page .theme-title { font-size:13px; }
 .dashboard-page .theme-value { font-size:11px; max-width:65px; }
}
