:root {
  --cp-navy: #f4f6f8;
  --cp-navy-2: #eef2f6;
  --cp-panel: #ffffff;
  --cp-panel-soft: #f8fafc;
  --cp-panel-raised: #f0f5ff;
  --cp-blue: #3268d6;
  --cp-blue-hover: #295bc2;
  --cp-cyan: #197ca5;
  --cp-violet: #6758c7;
  --cp-emerald: #16805f;
  --cp-amber: #98651d;
  --cp-red: #b64242;
  --cp-text: #172033;
  --cp-muted: #667085;
  --cp-line: #dfe4ea;
  --cp-max: 1360px;
}

body.pf-body { --pf-max: var(--cp-max); background: var(--cp-navy); color: var(--cp-text); font-size: 16px; }
.pf-header { border-color: var(--cp-line); background: #fff; }
.pf-header-inner { width: min(var(--cp-max), calc(100% - 56px)); min-height: 64px; gap: 24px; }
.pf-brand { min-height: 44px; color: var(--cp-text); white-space: nowrap; font-size: 17px; justify-self: start; }
.pf-brand strong { color: var(--cp-text); }
.pf-brand .cv1-logo-mark { width: 34px; height: 34px; color: #fff; background: var(--cp-blue); border-radius: 11px; font-size: 12px; }
.pf-navigation { justify-content: flex-start; gap: 18px; color: #586474; }
.pf-navigation > a, .pf-navigation summary { display: inline-flex; min-height: 44px; color: inherit; cursor: pointer; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; list-style: none; white-space: nowrap; }
.pf-navigation summary::after { width: 5px; height: 5px; content: ""; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .16s ease; }
.pf-navigation details[open] summary { color: var(--cp-blue); }
.pf-navigation details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.pf-navigation summary::-webkit-details-marker { display: none; }
.pf-navigation details { position: relative; }
.pf-navigation details > div { position: absolute; top: calc(100% + 12px); left: -16px; display: none; min-width: 245px; padding: 10px; background: #fff; border: 1px solid var(--cp-line); border-radius: 14px; box-shadow: 0 16px 36px rgba(18,31,53,.12); }
.pf-navigation details[open] > div { display: grid; }
.pf-navigation details a { display: flex; min-height: 44px; padding: 9px 11px; color: #4f5d6d; border-radius: 8px; align-items: center; font-size: 13px; }
.pf-navigation details a:hover { color: var(--cp-blue); background: #f3f6fa; }
.pf-login { display: inline-flex; min-width: 44px; min-height: 44px; padding: 0 4px; color: #526071; align-items: center; justify-content: center; font-size: 13px; }
.pf-header-actions { gap: 10px; }
.pf-header-actions .cv1-button { min-height: 44px; padding-inline: 16px; border-radius: 11px; font-size: 12px; }
.pf-header-actions .cv1-button-primary, .cp-button-primary { background: var(--cp-blue); border-color: var(--cp-blue); }
.pf-header-actions .cv1-button-primary:hover, .cp-button-primary:hover { background: var(--cp-blue-hover); }
.pf-main { width: min(var(--cp-max), calc(100% - 56px)); min-height: calc(100vh - 220px); padding-top: 18px; }
.pf-breadcrumbs { color: #7a8797; }
.pf-breadcrumbs a { color: #556477; }
.pf-footer { width: min(var(--cp-max), calc(100% - 56px)); padding: 34px 0 42px; border-color: var(--cp-line); }
.pf-footer p, .pf-footer nav, .pf-footer small { color: #667085; }
.pf-footer p { font-size: 13px; line-height: 1.6; }
.pf-footer nav { font-size: 13px; }
.pf-footer nav a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }
.pf-footer small { font-size: 12px; }
.cp-mobile-menu { display: none; }
.pf-body :is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #89a9f1; outline-offset: 2px; }

.cp-home .pf-main { padding-top: 0; padding-bottom: 36px; }
.cp-dashboard { padding-top: 10px; }
.cp-dashboard-intro { display: grid; padding-bottom: 8px; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); align-items: end; gap: 20px; }
.cp-dashboard-copy { min-width: 0; }
.cp-kicker, .cp-section-heading > div > span { color: var(--cp-blue); font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.cp-dashboard h1 { margin: 3px 0; max-width: 860px; overflow-wrap: anywhere; color: var(--cp-text); font-size: clamp(30px, 2.45vw, 34px); line-height: 1.04; letter-spacing: -.04em; }
.cp-dashboard-copy > p { max-width: 780px; margin: 0; color: var(--cp-muted); font-size: 13px; line-height: 1.4; }
.cp-dashboard-actions { display: grid; justify-items: end; gap: 7px; }
.cp-dashboard-actions > a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--cp-blue); font-size: 13px; font-weight: 700; }
.cp-dashboard-actions > small { display: flex; align-items: center; gap: 7px; color: var(--cp-muted); font-size: 12px; text-align: right; }
.cp-button { display: inline-flex; min-height: 44px; padding: 0 18px; align-items: center; justify-content: center; gap: 9px; color: #fff; border: 1px solid var(--cp-line); border-radius: 11px; font-size: 13px; font-weight: 700; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.pf-body a.cp-button { color: #fff; }
.cp-button:hover { transform: translateY(-1px); }
.cp-button-quiet { color: #344054; background: #fff; border-color: #d5dce5; }
.cp-button-quiet:hover { background: #f3f6fa; }

.cp-control-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
.cp-service { --cp-card-accent: var(--cp-blue); display: grid; min-width: 0; min-height: 132px; padding: 15px; overflow: hidden; color: var(--cp-text); background: var(--cp-panel); border: 1px solid var(--cp-line); border-radius: 15px; grid-template-rows: auto 1fr auto; gap: 10px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.cp-service:hover { color: var(--cp-text); background-color: #f7f9fc; border-color: #9eb6e8; transform: translateY(-2px); }
.cp-service > header { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cp-service > header small { align-self: center; color: #7b8797; font-size: 12px; font-weight: 720; letter-spacing: .07em; text-align: right; text-transform: uppercase; }
.cp-service h3 { margin: 0 0 5px; overflow-wrap: anywhere; color: var(--cp-text); font-size: 16px; line-height: 1.22; letter-spacing: -.022em; }
.cp-service p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--cp-muted); font-size: 13px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cp-service b { display: inline-flex; align-items: center; gap: 6px; color: #344054; font-size: 12px; }
.cp-service-symbol, .cp-status-icon, .cp-card-icon, .cp-panel-icon { display: grid; flex: 0 0 auto; place-items: center; color: var(--cp-card-accent, var(--cp-blue)); background: #edf3ff; border: 1px solid #d8e4fb; border-radius: 10px; }
.cp-service-symbol { width: 36px; height: 36px; }
.cp-card-icon, .cp-panel-icon { width: 38px; height: 38px; }
.cp-status-icon { width: 28px; height: 28px; border-radius: 8px; }

.cp-profile-card { display: grid; min-width: 0; min-height: 232px; overflow: hidden; background: #fff; border: 1px solid #d8e0e9; border-radius: 16px; grid-column: span 6; grid-template-rows: auto 1fr auto; box-shadow: 0 10px 28px rgba(18,31,53,.06); }
.cp-profile-card > header { display: flex; padding: 8px 14px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--cp-line); }
.cp-profile-heading { display: flex; min-width: 0; align-items: center; gap: 11px; }
.cp-profile-heading > div { display: grid; min-width: 0; gap: 3px; }
.cp-profile-heading small { color: var(--cp-blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.cp-profile-heading div > span { color: var(--cp-muted); font-size: 12px; }
.cp-profile-card-meta { display: flex; align-items: center; gap: 10px; }
.cp-profile-card-meta em { padding: 4px 8px; color: #285abf; background: #edf3ff; border: 1px solid #cddcf8; border-radius: 999px; font-size: 12px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.cp-profile-card-body { display: grid; min-width: 0; padding: 10px 14px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; gap: 10px; }
.cp-profile-overview { display: grid; min-width: 0; padding: 12px; background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 14px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.cp-profile-total { display: grid; min-width: 0; gap: 4px; }
.cp-profile-total small, .cp-profile-facts span { color: var(--cp-muted); font-size: 12px; }
.cp-profile-total strong { color: var(--cp-text); font-size: clamp(24px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.cp-profile-total > span { color: #7a8797; font-size: 12px; }
.cp-profile-pipeline { display: grid; width: 66px; flex: 0 0 auto; grid-template-columns: 20px 3px 20px 3px 20px; align-items: center; }
.cp-profile-pipeline > span { position: relative; z-index: 1; display: grid; width: 20px; height: 28px; color: var(--cp-blue); background: #edf3ff; border: 1px solid #cfddf7; border-radius: 7px; place-items: center; }
.cp-profile-pipeline > span:nth-of-type(2) { color: var(--cp-cyan); background: #eaf6fa; }
.cp-profile-pipeline > span:nth-of-type(3) { color: var(--cp-violet); background: #f0eefc; }
.cp-profile-pipeline > i { height: 1px; background: #b8c9ed; }
.cp-report-visual { position: relative; display: grid; width: 62px; height: 62px; flex: 0 0 auto; place-items: center; }
.cp-report-visual i, .cp-report-visual span { position: absolute; width: 43px; height: 49px; background: #edf3ff; border: 1px solid #cfddf7; border-radius: 10px; }
.cp-report-visual i:first-child { transform: translate(-8px, 3px) rotate(-8deg); }
.cp-report-visual i:nth-child(2) { transform: translate(8px, 3px) rotate(8deg); }
.cp-report-visual span { display: grid; color: var(--cp-blue); background: #f7f9ff; place-items: center; }
.cp-profile-facts { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.cp-profile-facts > div { display: grid; min-width: 0; padding: 10px; background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 14px; align-content: center; gap: 4px; }
.cp-profile-facts strong { color: var(--cp-text); font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.cp-profile-facts small { color: #778596; font-size: 12px; line-height: 1.3; }
.cp-source-coverage > small { display: grid; margin-top: 3px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.cp-source-coverage > small i { height: 4px; background: var(--cp-emerald); border-radius: 999px; }
.cp-source-coverage.is-empty > small i { background: transparent; border: 1px solid #aab4c1; }
.cp-profile-card > footer { display: grid; min-height: 48px; padding: 6px 8px 6px 14px; background: #f1f5fb; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; }
.cp-profile-card footer > em, .cp-profile-card footer > small { color: #657489; font-size: 12px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.cp-profile-action { display: inline-flex; min-height: 44px; min-width: 0; padding: 0 14px; color: #fff; background: var(--cp-blue); border: 1px solid var(--cp-blue); border-radius: 10px; align-items: center; justify-content: center; grid-template-rows: none; gap: 7px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.cp-profile-action:hover { background: var(--cp-blue-hover); border-color: var(--cp-blue-hover); transform: none; }
.cp-attention { display: flex; min-width: 0; align-items: center; gap: 8px; }
.cp-attention > i { width: 7px; height: 7px; flex: 0 0 auto; background: var(--cp-amber); border-radius: 50%; }
.cp-attention strong { overflow-wrap: anywhere; color: var(--cp-text); font-size: 12px; }
.cp-profile-card-empty + footer .cp-attention > i { background: #8d99a8; }

.cp-command-rail { display: grid; min-width: 0; grid-column: span 6; grid-template-rows: auto 1fr; gap: 8px; }
.cp-command-summary { display: grid; gap: 4px; }
.cp-command-heading { display: flex; min-height: 18px; align-items: center; justify-content: space-between; gap: 12px; color: var(--cp-muted); font-size: 12px; }
.cp-command-heading > span { color: #344054; font-weight: 700; }
.cp-command-heading em { color: #788596; font-size: 12px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.cp-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cp-status-card { display: grid; min-width: 0; min-height: 78px; padding: 8px 10px; background: #fff; border: 1px solid var(--cp-line); border-radius: 14px; grid-template-rows: auto auto auto; gap: 2px; }
.cp-status-card-head { display: flex; min-width: 0; align-items: center; gap: 7px; }
.cp-status-card-head small { min-width: 0; color: var(--cp-muted); font-size: 12px; line-height: 1.2; }
.cp-status-card strong { color: var(--cp-text); font-size: 18px; line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
.cp-status-card > span { color: #788596; font-size: 12px; line-height: 1.2; }
.cp-status-overdue { --cp-card-accent: var(--cp-cyan); }
.cp-status-card.cp-status-attention { --cp-card-accent: var(--cp-amber); border-color: #ead9b9; }
.cp-status-attention strong { color: var(--cp-amber); }
.cp-status-attention .cp-status-icon { color: var(--cp-amber); background: #fbf5e8; border-color: #ead9b9; }
.cp-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cp-quick-service { --cp-card-accent: var(--cp-cyan); min-height: 116px; padding: 10px; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; align-items: start; gap: 7px; }
.cp-quick-service > .cp-service-symbol { color: var(--cp-cyan); background: #eaf6fa; border-color: #cde8f0; }
.cp-quick-service > .cp-quick-arrow { display: grid; min-width: 28px; min-height: 36px; color: #718094; place-items: center; grid-column: 3; }
.cp-quick-service > div { min-width: 0; grid-column: 1 / -1; }
.cp-quick-service h3 { margin-bottom: 4px; font-size: 14px; }
.cp-quick-service p { display: block; overflow: visible; color: var(--cp-muted); font-size: 12px; -webkit-line-clamp: unset; }
.cp-service-burden { --cp-card-accent: var(--cp-cyan); background-color: #f0f8fb; }
.cp-service-burden .cp-service-symbol { color: var(--cp-cyan); background: #e3f3f8; border-color: #c8e4ed; }

.cp-section { padding-top: 24px; scroll-margin-top: 76px; }
.cp-section-heading { display: flex; margin-bottom: 10px; align-items: end; justify-content: space-between; gap: 20px; }
.cp-section-heading h2 { margin: 4px 0 0; max-width: 780px; overflow-wrap: anywhere; color: var(--cp-text); font-size: clamp(24px, 2vw, 28px); line-height: 1.08; letter-spacing: -.034em; }
.cp-section-heading p { max-width: 500px; margin: 0; color: var(--cp-muted); font-size: 12px; line-height: 1.45; }
.cp-section-heading > a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--cp-blue); font-size: 12px; font-weight: 680; white-space: nowrap; }
.cp-workspace-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
.cp-workspace-panel { display: grid; min-width: 0; min-height: 304px; padding: 12px; overflow: hidden; background: #fff; border: 1px solid var(--cp-line); border-radius: 16px; grid-template-rows: auto 42px 1fr; gap: 10px; box-shadow: 0 8px 24px rgba(18,31,53,.04); }
.cp-workspace-debt { grid-column: span 5; }
.cp-workspace-data { grid-column: span 3; }
.cp-workspace-help { grid-column: span 4; }
.cp-workspace-panel > header { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cp-workspace-panel > header > div { min-width: 0; }
.cp-workspace-panel > header small { color: var(--cp-cyan); font-size: 12px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.cp-workspace-data > header small { color: var(--cp-violet); }
.cp-workspace-help > header small { color: var(--cp-blue); }
.cp-workspace-panel > header h3 { margin: 4px 0 3px; color: var(--cp-text); font-size: 18px; line-height: 1.18; letter-spacing: -.025em; }
.cp-workspace-panel > header p { margin: 0; color: var(--cp-muted); font-size: 12px; line-height: 1.3; }
.cp-workspace-mark { display: grid; width: 42px; height: 42px; flex: 0 0 auto; color: var(--cp-cyan); background: #eaf6fa; border: 1px solid #cde8f0; border-radius: 12px; place-items: center; }
.cp-workspace-data .cp-workspace-mark { color: var(--cp-violet); background: #f0eefc; border-color: #ded9f5; }
.cp-workspace-help .cp-workspace-mark { color: var(--cp-blue); background: #edf3ff; border-color: #d5e1f9; }
.cp-workspace-signal { position: relative; display: flex; height: 42px; padding: 5px 12px 4px; overflow: hidden; background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 12px; align-items: end; gap: 13px; }
.cp-workspace-signal > span { width: 22px; background: #dceff5; border: 1px solid #b9dce8; border-radius: 5px 5px 2px 2px; }
.cp-workspace-signal > span:nth-child(1) { height: 18px; }
.cp-workspace-signal > span:nth-child(2) { height: 25px; }
.cp-workspace-signal > span:nth-child(3) { height: 16px; }
.cp-workspace-signal > span:nth-child(4) { height: 31px; }
.cp-workspace-signal > i { position: absolute; top: 17px; left: 17px; width: 128px; height: 1px; background: #58aeca; opacity: .55; transform: rotate(-7deg); transform-origin: left center; }
.cp-workspace-flow { display: grid; height: 42px; padding: 5px; background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 12px; grid-template-columns: 30px 1fr 30px 1fr 30px; align-items: center; }
.cp-workspace-flow > span { display: grid; width: 30px; height: 30px; color: var(--cp-violet); background: #f0eefc; border: 1px solid #ded9f5; border-radius: 8px; place-items: center; }
.cp-workspace-flow > i { height: 1px; background: #c9c0eb; }
.cp-workspace-map { display: grid; height: 42px; padding: 6px 12px; background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 12px; grid-template-columns: 16px 1fr 22px 1fr 16px; align-items: center; }
.cp-workspace-map > span { display: block; width: 16px; height: 16px; background: #edf3ff; border: 1px solid #9fb8e8; border-radius: 50%; }
.cp-workspace-map > span:nth-of-type(2) { width: 22px; height: 22px; background: #dfe9fb; box-shadow: 0 0 0 5px #f0f4fb; }
.cp-workspace-map > i { height: 0; border-top: 1px dashed #a9bce2; }
.cp-workspace-links { display: grid; min-width: 0; align-content: stretch; gap: 6px; }
.cp-workspace-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-workspace-link { --cp-card-accent: var(--cp-cyan); display: grid; min-width: 0; min-height: 60px; padding: 7px; overflow: visible; color: var(--cp-text); background: #f8fafc; border: 1px solid #e3e8ee; border-radius: 12px; grid-template-columns: 32px minmax(0, 1fr) 16px; grid-template-rows: none; align-items: center; gap: 7px; }
.cp-workspace-link:hover { background: #f1f5fa; border-color: #9eb6e8; transform: translateY(-1px); }
.cp-workspace-link > .cp-service-symbol { width: 30px; height: 30px; color: var(--cp-cyan); background: #eaf6fa; border-color: #cde8f0; border-radius: 9px; }
.cp-workspace-data .cp-workspace-link { --cp-card-accent: var(--cp-violet); }
.cp-workspace-data .cp-workspace-link > .cp-service-symbol { color: var(--cp-violet); background: #f0eefc; border-color: #ded9f5; }
.cp-workspace-help .cp-workspace-link { --cp-card-accent: #86a8fb; }
.cp-workspace-help .cp-workspace-link { min-height: 54px; }
.cp-workspace-help .cp-workspace-link > .cp-service-symbol { color: var(--cp-blue); background: #edf3ff; border-color: #d5e1f9; }
.cp-workspace-link > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.cp-workspace-link strong { overflow-wrap: anywhere; color: var(--cp-text); font-size: 13px; line-height: 1.23; }
.cp-workspace-link small { color: var(--cp-muted); font-size: 12px; line-height: 1.28; }
.cp-workspace-link > .cv1-icon { color: #788596; }

.cp-trust { margin-top: 24px; padding: 16px; background: #fff; border: 1px solid var(--cp-line); border-radius: 18px; box-shadow: 0 8px 24px rgba(18,31,53,.04); }
.cp-trust.cp-section { padding-top: 16px; }
.cp-category-tabs { display: flex; gap: 7px; margin-bottom: 10px; flex-wrap: wrap; }
.cp-category-tabs a { display: inline-flex; min-height: 44px; padding: 0 13px; color: #526071; background: #f8fafc; border: 1px solid var(--cp-line); border-radius: 12px; align-items: center; font-size: 12px; white-space: nowrap; }
.cp-category-tabs a:hover { color: var(--cp-blue); border-color: #9eb6e8; }
.cp-category-tabs a:focus-visible { outline-offset: -4px; }
.cp-trust-note { margin: 0 0 12px; color: var(--cp-muted); font-size: 12px; line-height: 1.45; }
.cp-directory-preview { display: grid; overflow: hidden; background: #f8fafc; border: 1px solid var(--cp-line); border-radius: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-directory-preview article { position: relative; min-width: 0; padding: 13px; border-right: 1px solid var(--cp-line); }
.cp-directory-preview article:last-child { border-right: 0; }
.cp-directory-preview article:only-child { grid-column: 1 / -1; }
.cp-directory-preview article > header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.cp-org-monogram { display: grid; width: 40px; height: 40px; place-items: center; color: var(--cp-blue); background: #e7eefc; border-radius: 10px; font-size: 12px; font-weight: 750; }
.cp-directory-preview article:nth-child(2) .cp-org-monogram { color: var(--cp-cyan); background: #eaf6fa; }
.cp-directory-preview article:nth-child(3) .cp-org-monogram { color: var(--cp-violet); background: #f0eefc; }
.cp-directory-preview header small { color: #788596; font-size: 12px; text-transform: uppercase; }
.cp-directory-preview h3 { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--cp-text); font-size: 15px; }
.cp-org-rating { display: grid; justify-items: end; gap: 2px; }
.cp-org-rating small { max-width: 88px; line-height: 1.2; text-align: right; text-transform: none !important; }
.cp-org-rating strong { color: var(--cp-text); font-size: 21px; }
.cp-directory-preview article > p { display: flex; margin: 10px 0 8px; flex-direction: column; gap: 5px; color: var(--cp-muted); font-size: 12px; }
.cp-directory-preview article > p span { display: flex; align-items: center; gap: 6px; }
.cp-directory-preview article > footer { display: flex; gap: 5px; flex-wrap: wrap; }
.cp-directory-preview footer span { padding: 4px 7px; color: #667085; background: #eef2f6; border-radius: 6px; font-size: 12px; }
.cp-directory-preview footer a { display: inline-flex; min-height: 44px; padding: 0 10px; color: var(--cp-blue); border: 1px solid var(--cp-line); border-radius: 8px; align-items: center; font-size: 12px; }
.cp-directory-preview article > em { display: block; margin-top: 7px; color: #788596; font-size: 12px; font-style: normal; letter-spacing: .07em; text-transform: uppercase; }

.cp-resource-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.cp-resource-panel { display: grid; min-width: 0; min-height: 270px; padding: 14px; background: var(--cp-panel); border: 1px solid var(--cp-line); border-radius: 16px; align-content: start; gap: 10px; box-shadow: 0 8px 24px rgba(18,31,53,.04); }
.cp-calculators { grid-column: span 5; }
.cp-guidance-panel { grid-column: span 4; }
.cp-report-help { grid-column: span 3; background: var(--cp-panel-raised); }
.cp-resource-panel > header { display: flex; min-height: 40px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cp-resource-panel > header small { color: var(--cp-blue); font-size: 12px; font-weight: 740; letter-spacing: .08em; text-transform: uppercase; }
.cp-resource-panel > header h3 { margin: 4px 0 0; color: var(--cp-text); font-size: 17px; line-height: 1.18; letter-spacing: -.025em; }
.cp-panel-icon { color: var(--cp-blue); }
.cp-calculator-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cp-calculator-links a { display: flex; min-width: 0; min-height: 66px; padding: 8px; color: var(--cp-text); background: #f8fafc; border: 1px solid var(--cp-line); border-radius: 12px; align-items: center; gap: 9px; }
.cp-calculator-links a > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--cp-blue); background: #edf3ff; border-radius: 9px; }
.cp-calculator-links a:nth-child(2) > span { color: var(--cp-cyan); background: #eaf6fa; }
.cp-calculator-links a:nth-child(3) > span { color: var(--cp-cyan); background: #eaf6fa; }
.cp-calculator-links a:nth-child(4) > span { color: var(--cp-violet); background: #f0eefc; }
.cp-calculator-links a > div { display: grid; min-width: 0; gap: 3px; }
.cp-calculator-links strong { color: var(--cp-text); font-size: 13px; }
.cp-calculator-links small { color: var(--cp-muted); font-size: 12px; line-height: 1.25; }
.cp-panel-more { display: inline-flex; min-height: 44px; margin-top: auto; align-items: center; gap: 6px; color: var(--cp-blue); font-size: 12px; font-weight: 680; }
.cp-resource-links { display: grid; gap: 6px; }
.cp-resource-links > a { display: grid; min-height: 54px; padding: 7px 8px; color: var(--cp-text); background: #f8fafc; border: 1px solid var(--cp-line); border-radius: 12px; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.cp-resource-links > a > span { display: grid; width: 30px; height: 30px; color: var(--cp-blue); background: #edf3ff; border-radius: 8px; place-items: center; }
.cp-resource-links > a > div { display: grid; gap: 2px; }
.cp-resource-links strong { font-size: 13px; }
.cp-resource-links small { color: var(--cp-muted); font-size: 12px; line-height: 1.25; }
.cp-report-help > p { margin: 0; color: var(--cp-muted); font-size: 12px; line-height: 1.45; }
.cp-report-help .cp-report-visual { width: 100%; height: 44px; justify-self: center; }
.cp-report-actions { display: grid; margin-top: auto; grid-template-columns: 1fr 1fr; gap: 7px; }
.cp-report-actions .cp-button { min-height: 44px; padding-inline: 10px; text-align: center; }
.cp-report-actions > a:last-child { display: inline-flex; min-height: 44px; color: var(--cp-blue); align-items: center; justify-content: center; grid-column: 1 / -1; gap: 6px; font-size: 12px; text-align: center; }
.cp-assurance-strip { display: grid; margin-top: 24px; padding: 8px 12px; background: #fff; border: 1px solid var(--cp-line); border-radius: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-assurance-strip > div { display: flex; min-width: 0; min-height: 52px; padding: 4px 14px; align-items: center; gap: 11px; border-right: 1px solid var(--cp-line); }
.cp-assurance-strip > div:last-child { border-right: 0; }
.cp-assurance-strip > div > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; color: var(--cp-blue); background: #edf3ff; border-radius: 10px; place-items: center; }
.cp-assurance-strip > div:first-child > span { color: var(--cp-emerald); }
.cp-assurance-strip p { display: grid; margin: 0; gap: 3px; }
.cp-assurance-strip strong { color: var(--cp-text); font-size: 13px; }
.cp-assurance-strip small { color: var(--cp-muted); font-size: 12px; line-height: 1.25; }
.is-positive { color: var(--cp-emerald) !important; }

/* Legacy calculator panels inherit the same light public shell. */
.pf-calculator-card,
.pf-result-card { color: #171a21; }
.pf-calculator-card h2,
.pf-result-card h2 { color: #171a21; }

@media (max-width: 1280px) {
  .pf-navigation { gap: 14px; }
  .pf-navigation > a, .pf-navigation summary { font-size: 12px; }
  .cp-dashboard-intro { gap: 20px; }
}
@media (max-width: 1180px) {
  .pf-navigation { display: none; }
  .pf-header-inner { grid-template-columns: 1fr auto; }
  .cp-mobile-menu { display: block; position: relative; }
  .cp-mobile-menu > summary { display: grid; width: 44px; height: 44px; padding: 10px; cursor: pointer; place-content: center; gap: 4px; border: 1px solid var(--cp-line); border-radius: 10px; list-style: none; }
  .cp-mobile-menu > summary span { display: block; width: 15px; height: 1px; background: #344054; }
  .cp-mobile-menu > nav { position: absolute; z-index: 2; top: 50px; right: 0; display: none; width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - 88px); overflow: auto; padding: 10px; background: #fff; border: 1px solid var(--cp-line); border-radius: 14px; box-shadow: 0 16px 36px rgba(18,31,53,.14); }
  .cp-mobile-menu[open] > nav { display: grid; }
  .cp-mobile-menu nav a { display: flex; min-height: 44px; padding: 9px 11px; color: #344054; border-radius: 8px; align-items: center; font-size: 13px; }
}
@media (max-width: 1180px) {
  .cp-profile-card, .cp-command-rail { grid-column: 1 / -1; }
  .cp-profile-card { min-height: 0; }
}
@media (max-width: 1040px) {
  .cp-workspace-debt, .cp-workspace-data { grid-column: span 6; }
  .cp-workspace-help { grid-column: 1 / -1; }
  .cp-workspace-help .cp-workspace-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-calculators, .cp-guidance-panel { grid-column: span 6; }
  .cp-report-help { min-height: 0; grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .cp-dashboard-intro { grid-template-columns: 1fr; align-items: start; }
  .cp-dashboard-actions { justify-items: start; }
  .cp-dashboard-actions > small { text-align: left; }
  .cp-section-heading { display: grid; gap: 8px; }
  .cp-workspace-panel { min-height: 0; grid-column: 1 / -1; }
  .cp-workspace-help .cp-workspace-links { grid-template-columns: 1fr; }
  .cp-directory-preview { grid-template-columns: 1fr; }
  .cp-directory-preview article { border-right: 0; border-bottom: 1px solid var(--cp-line); }
  .cp-directory-preview article:last-child { border-bottom: 0; }
  .cp-resource-grid { grid-template-columns: 1fr; }
  .cp-calculators, .cp-guidance-panel, .cp-report-help { grid-column: auto; }
  .cp-resource-panel { min-height: 0; }
  .cp-assurance-strip { grid-template-columns: 1fr; }
  .cp-assurance-strip > div { border-right: 0; border-bottom: 1px solid var(--cp-line); }
  .cp-assurance-strip > div:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .pf-header-inner, .pf-main, .pf-footer { width: min(100% - 32px, var(--cp-max)); }
  .pf-header-inner { min-height: 62px; grid-template-columns: 1fr auto; gap: 10px; }
  .pf-header-actions .pf-login, .pf-header-actions > .cv1-button { display: none; }
  .pf-brand strong { font-size: 14px; }
  .pf-breadcrumbs { margin-bottom: 12px; }
  .cp-dashboard { padding-top: 16px; }
  .cp-dashboard h1 { font-size: 32px; line-height: 1.05; letter-spacing: -.035em; }
  .cp-dashboard-copy > p { font-size: 14px; }
  .cp-control-grid { gap: 10px; }
  .cp-profile-card-body { grid-template-columns: 1fr; }
  .cp-profile-card > footer { grid-template-columns: minmax(0, 1fr) auto; }
  .cp-profile-card footer > em, .cp-profile-card footer > small { display: none; }
  .cp-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-status-card:last-child { grid-column: 1 / -1; }
  .cp-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-section { padding-top: 28px; }
  .cp-section-heading h2 { font-size: 26px; }
  .cp-workspace-grid { grid-template-columns: 1fr; }
  .cp-workspace-panel { grid-column: auto; }
  .cp-workspace-links-grid { grid-template-columns: 1fr; }
  .cp-trust { margin-top: 28px; padding: 16px; }
  .cp-trust.cp-section { padding-top: 16px; }
  .cp-category-tabs { gap: 6px; }
  .cp-directory-preview article { padding: 14px; }
  .cp-report-actions { grid-template-columns: 1fr; }
  .cp-report-actions > a:last-child { grid-column: auto; }
  .cp-assurance-strip { margin-top: 28px; padding: 9px 12px; }
  .cp-assurance-strip > div { padding-inline: 7px; }
}
@media (max-width: 480px) {
  .cp-dashboard h1 { font-size: 30px; }
  .cp-dashboard-actions > a { min-height: 44px; }
  .cp-profile-heading div > span { display: none; }
  .cp-profile-card-body { padding: 12px; }
  .cp-profile-overview { padding: 12px; }
  .cp-profile-total strong { font-size: 25px; }
  .cp-profile-facts { grid-template-columns: 1fr; }
  .cp-profile-card > footer { grid-template-columns: 1fr; padding: 10px 12px; }
  .cp-profile-action { width: 100%; min-height: 44px; }
  .cp-status-grid { grid-template-columns: 1fr; }
  .cp-status-card:last-child { grid-column: auto; }
  .cp-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-calculator-links { grid-template-columns: 1fr; }
  .cp-directory-preview article > header { grid-template-columns: auto minmax(0, 1fr); }
  .cp-org-rating { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; justify-items: start; align-items: baseline; gap: 8px; }
  .cp-org-rating small { max-width: none; text-align: left; }
}
@media (max-width: 360px) {
  .cp-dashboard h1 { font-size: 28px; }
  .cp-dashboard-actions > small { align-items: flex-start; }
  .cp-command-heading { display: grid; }
  .cp-quick-grid { grid-template-columns: 1fr; }
  .cp-quick-service { min-height: 122px; }
  .cp-category-tabs a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .pf-body *, .pf-body *::before, .pf-body *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .cp-button:hover, .cp-service:hover { transform: none; }
}
