@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --navy: #063c25;
  --blue: #0e7a45;
  --purple: #107c41;
  --accent: #ffcc00;
  --azure: #0078d4;
  --sunset: #f5a400;
  --ink: #102a3a;
  --muted: #526978;
  --line: #d7e5ea;
  --surface: #ffffff;
  --bg: #f4f8fa;
  --green: #138a43;
  --amber: #b96d00;
  --red: #bd1e45;
  --cyan: #0f8aa0;
}


.readiness-panel {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 2fr);
  gap: 16px;
  margin: 16px 0;
}
.readiness-score-card {
  padding: 20px;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  box-shadow: 0 8px 22px rgba(0, 63, 92, .16);
}
.readiness-score { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 12px; }
.readiness-score strong { font-size: 42px; line-height: 1; }
.readiness-score span { font-size: 13px; font-weight: 700; }
.readiness-score-card p { margin-top: 11px; color: #e1f3f8; font-size: 12px; line-height: 1.45; }
.readiness-track { height: 9px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.24); }
.readiness-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.readiness-track span[data-tone="good"] { background: #55d98b; }
.readiness-track span[data-tone="risk"] { background: #ff9a9a; }
.quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.quality-check {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 72px; padding: 11px 12px; text-align: left; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: #fbfdfe;
}
.quality-check:hover { border-color: var(--blue); transform: translateY(-1px); }
.quality-check span, .quality-check strong, .quality-check small { display: block; }
.quality-check small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.25; }
.quality-check b { min-width: 30px; padding: 6px; border-radius: 16px; text-align: center; color: var(--green); background: #e9f8ef; }
.quality-check.has-issues b { color: var(--red); background: #fff0f3; }
.status-pill.good { color: var(--green); background: #e9f8ef; border-color: #bde6ca; }
.status-pill.risk { color: var(--red); background: #fff0f3; border-color: #f1c0ca; }

@media (max-width: 980px) {
  .readiness-panel { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .quality-grid { grid-template-columns: 1fr; }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px;
  background:
    linear-gradient(135deg, rgba(255, 204, 0, .9) 0 3px, transparent 3px 100%),
    radial-gradient(circle at 80% 10%, rgba(14, 122, 69, .45), transparent 34%),
    linear-gradient(180deg, #063c25 0%, #032b1a 100%);
  color: #fff;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.brand {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 8px;
}
.brand-mark {
  width: 100%;
  height: 58px;
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 9px 12px;
  color: var(--accent);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -1px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-mark.client-mark {
  height: 86px;
  padding: 7px 8px;
}
.brand-mark.client-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand strong { display: block; font-size: 14px; }
.brand span, .sidebar-footer span { display: block; color: #d9edf4; font-size: 12px; margin-top: 2px; }
.nav { display: grid; gap: 7px; }
.nav-item {
  border: 0;
  color: #ecf4ff;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  text-align: left;
}
.nav-item.active, .nav-item:hover { background: rgba(255,255,255,.15); }
.ico {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}
.dataverse-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fdd879, #f5a400 58%, #d38300);
  box-shadow: 12px 0 0 rgba(0, 109, 143, .75);
}
.main { flex: 1; min-width: 0; }
.topbar {
  height: 86px;
  background: linear-gradient(90deg, #ffffff 0%, #f2fbff 100%);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 22px; }
h2 { font-size: 24px; }
h3 { font-size: 16px; }
.topbar p, .toolbar p { color: var(--muted); margin-top: 4px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.mode-badge {
  min-width: 220px;
  max-width: 280px;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  background: #f7fbff;
  padding: 8px 10px;
  color: #18365f;
}
.mode-badge strong,
.mode-badge span {
  display: block;
}
.mode-badge strong {
  font-size: 13px;
  line-height: 1.2;
}
.mode-badge span {
  color: #53657d;
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.25;
}
.search {
  width: 330px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fbfdff;
}
.search span { color: var(--muted); font-size: 12px; }
.search input { border: 0; background: transparent; outline: 0; flex: 1; min-width: 0; }
.icon-button, .panel-head button, .quick-actions button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  border-radius: 6px;
  padding: 9px 12px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.view { display: none; padding: 26px 28px 40px; }
.view.active { display: block; }
.sales-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.sales-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
  box-shadow: 0 2px 8px rgba(0, 63, 92, .05);
}
.sales-strip strong,
.sales-strip span {
  display: block;
}
.sales-strip strong {
  color: var(--navy);
  margin-bottom: 4px;
}
.sales-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.filters { display: flex; gap: 10px; }
.cluster-filters,
.provider-search {
  flex-wrap: wrap;
}
.cluster-filters label,
.provider-search input,
.provider-search select {
  min-width: 180px;
  flex: 1 1 180px;
}
.overview-hero {
  min-height: 124px;
  align-items: center;
  border: 1px solid #cfe4ff;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #edf8fb 100%);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 14px;
}
.overview-hero h2 {
  font-size: 30px;
  margin-top: 4px;
}
.overview-hero p {
  max-width: 860px;
}
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.process-strip article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 35, 68, .05);
}
.process-strip span {
  width: 34px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e7f5fb;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
}
.process-strip small,
.action-tile-grid span,
.summary-tile small,
.bar-row span {
  color: var(--muted);
}
.overview-dashboard {
  margin-bottom: 14px;
}
.overview-kpis .kpi {
  border-top: 3px solid #0067a0;
}
.bar-list {
  display: grid;
  gap: 12px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(160px, 1.2fr);
  gap: 12px;
  align-items: center;
}
.bar-row strong,
.bar-row span {
  display: block;
}
.bar-track {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #edf2f7;
}
.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}
.action-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.action-tile-grid button {
  min-height: 76px;
  text-align: left;
  display: grid;
  gap: 4px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
}
.action-tile-grid button:hover {
  border-color: #9cc9dc;
  background: #f7fbff;
}
.summary-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  padding: 13px;
}
.summary-tile span,
.summary-tile strong,
.summary-tile small {
  display: block;
}
.summary-tile strong {
  color: var(--navy);
  font-size: 24px;
  margin: 4px 0;
}
.booking-panel {
  margin-top: 14px;
}
.booking-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 12px;
}
.booking-form label:first-child {
  grid-column: span 2;
}
.booking-form button {
  align-self: end;
  min-height: 39px;
}
.booking-detail-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 4px 0 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcff;
}
.booking-detail-fields legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 800;
}
.booking-detail-fields p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.form-panel .booking-detail-fields {
  grid-template-columns: 1fr;
}
.form-panel .planning-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-panel .scheduling-options {
  grid-template-columns: 1fr;
}
.booking-notes {
  grid-column: 1 / -1;
}
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 72px;
  padding: 8px 10px;
  resize: vertical;
  font: inherit;
  color: var(--ink);
}
select, input {
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 38px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.kpi-grid.relationship-kpis {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}
.kpi-grid.relationship-kpis.primary-kpis {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}
.kpi-grid.relationship-kpis.data-health-kpis {
  grid-template-columns: repeat(5, minmax(165px, 1fr));
}
.kpi-grid.relationship-kpis.financial-kpis {
  grid-template-columns: repeat(6, minmax(165px, 1fr));
}
.data-health-kpis .kpi {
  padding: 13px 14px;
}
.data-health-kpis .kpi strong {
  font-size: 23px;
}
.kpi, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(19, 35, 68, .05);
}
.kpi { padding: 16px; }
.kpi.executive {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  border-color: #c8e5f0;
}
.kpi.executive strong {
  color: #13325c;
}
.kpi span { color: var(--muted); font-size: 12px; }
.kpi strong { display: block; font-size: 27px; margin: 6px 0 2px; color: var(--navy); }
.kpi small { color: var(--muted); }
.financial-impact {
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
  border-color: #c7dfe6;
}
.financial-impact .panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
}
.payroll-input {
  display: grid;
  gap: 5px;
  min-width: 250px;
  color: var(--muted);
  font-size: 12px;
}
.payroll-input input {
  font-weight: 800;
  color: var(--navy);
}
.formula-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #c7dfe6;
  border-radius: 8px;
  background: #f3fbfd;
  color: var(--muted);
  font-size: 13px;
}
.formula-strip strong {
  color: var(--navy);
}
.financial-kpis .kpi {
  padding: 13px 14px;
}
.financial-kpis .kpi strong {
  font-size: 23px;
}
.financial-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 250px;
  gap: 14px;
  align-items: stretch;
}
.panel { padding: 16px; min-width: 0; overflow: hidden; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.quick-actions { display: grid; gap: 10px; }
.quick-actions button:disabled,
.panel-head button:disabled {
  cursor: not-allowed;
  color: #7b8794;
  background: #eef3f6;
  border-color: #d8e3e8;
  box-shadow: none;
}
.workbook-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}
.workbook-step {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px;
  color: var(--muted);
}
.workbook-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6eef3;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
}
.workbook-step strong {
  font-size: 13px;
}
.workbook-step.active,
.workbook-step.ready {
  border-color: #7cc8e8;
  background: #eef9fd;
  color: var(--ink);
}
.workbook-step.complete {
  border-color: #a7dfbd;
  background: #f0fbf4;
  color: var(--ink);
}
.workbook-step.complete span {
  background: var(--green);
  color: #fff;
}
.panel canvas {
  display: block;
  width: 100%;
  max-width: 430px;
  height: 260px;
  margin: 0 auto;
}
.table-panel { margin-top: 14px; }
.preview-pulse {
  border-color: #7cc8e8;
  box-shadow: 0 0 0 3px rgba(0, 120, 166, .16), 0 10px 24px rgba(16, 42, 58, .08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th, td {
  text-align: left;
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}
th { background: #f7f9fd; color: #25304c; font-weight: 700; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid;
}
.badge.planned { color: var(--blue); border-color: #b7dce8; background: #f0fbff; }
.badge.done { color: var(--green); border-color: #95d5aa; background: #eef9f1; }
.badge.risk { color: #a32020; border-color: #efb5b5; background: #fff3f3; }
.cell-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
  white-space: nowrap;
}
.table-action {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  padding: 7px 9px;
  font-size: 12px;
  white-space: nowrap;
}
.form-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.form-panel { display: grid; gap: 13px; align-content: start; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; }
#trainingForm.form-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#trainingForm .inherited-fields,
#trainingForm .booking-detail-fields,
#trainingForm .primary {
  grid-column: 1 / -1;
}
#trainingForm > label:nth-of-type(5) {
  grid-column: 1 / -1;
}
.primary {
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  border-radius: 6px;
  padding: 11px 14px;
  font-weight: 700;
}
.employee-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.employee-list { display: grid; gap: 8px; }
.employee-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 11px;
  text-align: left;
}
.employee-item.active { border-color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.employee-item strong { display: block; }
.employee-item span,
.employee-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.employee-item small {
  margin-top: 5px;
  color: var(--blue);
}
.profile-hero {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbff 62%, #fff7e5 100%);
}
.photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8e5ff, #eef7f2);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
}
.profile-identity {
  min-width: 0;
}
.profile-identity h2 {
  margin-top: 4px;
  font-size: 26px;
}
.profile-identity p {
  margin-top: 2px;
  color: var(--ink);
}
.profile-fact-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.profile-fact-row div {
  border-left: 1px solid var(--line);
  padding-left: 12px;
  min-width: 0;
}
.profile-fact-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.profile-fact-row strong {
  display: block;
  overflow-wrap: anywhere;
}
.profile-hero-actions {
  align-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-hero-actions button {
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}
.profile-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
}
.field {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #fbfcff;
}
.field span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.import-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  margin-bottom: 16px;
}
.import-drop {
  display: grid;
  gap: 18px;
}
.import-drop h3 {
  font-size: 22px;
  margin: 4px 0 6px;
}
.import-drop p {
  color: var(--muted);
  max-width: 760px;
}
.connector-table {
  display: grid;
  gap: 10px;
}
.connector-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}
.connector-row:hover {
  border-color: #8cc9da;
  box-shadow: 0 4px 14px rgba(0, 79, 111, .09);
}
.connector-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.connector-row strong,
.connector-row small {
  display: block;
}
.connector-row small {
  color: var(--muted);
  margin-top: 2px;
}
.connector-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.connector-row.disabled,
.connector-row:disabled {
  cursor: default;
  background: #f8fbfc;
}
.connector-row.disabled:hover,
.connector-row:disabled:hover {
  border-color: var(--line);
  box-shadow: none;
}
.connector-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eefaff, #fff4d8);
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
}
.source-status {
  border-left: 4px solid var(--blue);
  background: #f3fbff;
  border-radius: 8px;
  padding: 11px 13px;
}
.source-status strong,
.source-status span {
  display: block;
}
.source-status span {
  color: var(--muted);
  margin-top: 3px;
}
.file-drop {
  border: 1px dashed #8cc9da;
  border-radius: 8px;
  background: #f5fbff;
  min-height: 148px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
}
.file-drop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.file-drop strong {
  color: var(--blue);
  font-size: 18px;
}
.file-drop span {
  color: var(--muted);
  max-width: 540px;
}
.import-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.import-actions button:disabled {
  cursor: not-allowed;
  color: #7b8794;
  background: #f2f5f8;
}
.security-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: -4px;
}
.mapping-preview {
  display: grid;
  gap: 8px;
}
.mapping-preview div {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  padding: 10px 12px;
}
.mapping-preview span,
.mapping-preview strong {
  display: block;
}
.mapping-preview span {
  color: var(--muted);
  font-size: 12px;
}
.mapping-preview strong {
  color: var(--ink);
  margin-top: 2px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.process-steps div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffbfe;
  padding: 9px;
}
.process-steps strong {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #fff;
}
.process-steps span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.import-actions button,
.filters button,
.panel-head button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  border-radius: 6px;
  padding: 9px 12px;
}
.checklist {
  display: grid;
  gap: 10px;
}
.check-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  background: #fbfcff;
}
.check-row > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff3e1;
  color: var(--amber);
  font-weight: 800;
}
.check-row.complete > span {
  background: #eef9f1;
  color: var(--green);
}
.check-row small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.import-kpis {
  margin-bottom: 16px;
}
.issue-list {
  display: grid;
  gap: 10px;
}
.panel-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: -4px 0 12px;
}
.issue {
  border-left: 3px solid var(--amber);
  background: #fffaf2;
  padding: 10px 12px;
  border-radius: 6px;
}
.issue.good {
  border-color: var(--green);
  background: #f2fbf5;
}
.issue strong {
  display: block;
  margin-bottom: 3px;
}
.issue span {
  color: var(--muted);
}
.profile-panel {
  min-width: 0;
  overflow: visible;
}
.profile-shell {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.profile-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 4px;
  margin-top: 4px;
}
.profile-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 11px 12px;
  font-weight: 700;
}
.profile-tab.active {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}
.profile-tab-panel {
  display: none;
  min-width: 0;
}
.profile-tab-panel.active {
  display: grid;
  gap: 14px;
}
.profile-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.profile-kpi {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  padding: 13px;
  min-width: 0;
}
.profile-kpi span,
.profile-kpi small {
  display: block;
  color: var(--muted);
}
.profile-kpi strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  margin: 5px 0 2px;
}
.profile-detail-grid,
.profile-tables {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px;
  min-width: 0;
}
.profile-reference-grid {
  display: grid;
  grid-template-columns: minmax(270px, .85fr) minmax(0, 1.15fr);
  gap: 12px;
  min-width: 0;
}
.profile-reference-grid .profile-card {
  margin: 0;
}
.profile-reference-grid .table-panel {
  margin-top: 0;
}
.compact-head {
  margin-bottom: 10px;
}
.profile-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 14px;
  min-width: 0;
  overflow: hidden;
}
.profile-reference-grid .table-panel {
  min-width: 0;
}
.summary-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.summary-tile {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px;
  background: #fbfcff;
}
.summary-tile span,
.summary-tile small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.summary-tile strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  margin: 5px 0 2px;
}
.summary-tile.blue { background: #f0fbff; border-color: #b7dce8; }
.summary-tile.green { background: #f2fbf5; border-color: #bde4c9; }
.summary-tile.amber { background: #fff8ec; border-color: #ffd49a; }
.summary-tile.violet { background: #f6f1ff; border-color: #d8c4ff; }
.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.info-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
}
.info-list dt {
  color: var(--muted);
  font-size: 13px;
}
.info-list dd {
  margin: 0;
  font-weight: 700;
}
.mini-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.mini-metric {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: #fbfcff;
  min-width: 0;
}
.mini-metric strong {
  display: block;
  font-size: 24px;
  color: var(--navy);
}
.mini-metric span {
  color: var(--muted);
  font-size: 12px;
}
.mini-metric.blue { background: #f0fbff; border-color: #b7dce8; }
.mini-metric.green { background: #f2fbf5; border-color: #bde4c9; }
.mini-metric.amber { background: #fff8ec; border-color: #ffd49a; }
.mini-metric.violet { background: #f6f1ff; border-color: #d8c4ff; }
.quick-actions.compact {
  grid-template-columns: 1fr;
  margin-top: 12px;
}
.linked-history {
  margin-top: 2px;
}
.profile-card .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.profile-card table {
  min-width: 620px;
}
.profile-note {
  color: var(--muted);
  font-size: 13px;
}
.account-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: #fbfcff;
  margin-bottom: 12px;
}
.photo.large {
  width: 72px;
  height: 72px;
  font-size: 22px;
}
.account-card span,
.account-card small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.compact-list {
  margin-top: 10px;
}
.score-ring {
  --score: 70;
  width: 174px;
  height: 174px;
  border-radius: 50%;
  margin: 8px auto 18px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--green) calc(var(--score) * 1%), #e8edf5 0);
}
.score-ring strong {
  display: block;
  color: var(--navy);
  font-size: 32px;
}
.score-ring span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.skill-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.skill-summary div {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  background: #fbfcff;
}
.skill-summary strong,
.skill-summary span {
  display: block;
}
.skill-summary span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.document-tile {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  padding: 12px;
}
.document-tile strong,
.document-tile span,
.document-tile small {
  display: block;
}
.document-tile span {
  color: var(--blue);
  margin-top: 6px;
}
.document-tile small {
  color: var(--muted);
  margin-top: 4px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.report-card p, .report-card div { color: var(--muted); line-height: 1.6; }
.report-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.report-hero h3 { font-size: 22px; margin-top: 4px; }
.report-hero p { color: var(--muted); margin-top: 4px; max-width: 780px; }
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.report-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.panel-head .report-actions button {
  margin-left: 0;
}
.report-actions button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  border-radius: 6px;
  padding: 9px 12px;
}
.report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.sdf-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
  margin-bottom: 16px;
}
.report-grid-2 {
  grid-template-columns: 2fr .9fr;
}
.report-wide .panel-head {
  margin-bottom: 10px;
}
.spend-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.spend-row strong {
  color: var(--navy);
  white-space: nowrap;
}
#providerSpend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  max-height: 430px;
  overflow: auto;
}
.sales-proof {
  margin-top: 16px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 18px;
  align-items: center;
}
.sales-proof h3 {
  margin-top: 4px;
  font-size: 20px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.proof-grid span {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffbfe;
  padding: 10px 12px;
  color: var(--ink);
}

@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid.relationship-kpis.primary-kpis,
  .kpi-grid.relationship-kpis.data-health-kpis,
  .kpi-grid.relationship-kpis.financial-kpis { grid-template-columns: repeat(3, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .process-strip,
  .action-tile-grid,
  .booking-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-form label:first-child { grid-column: span 2; }
  .form-layout, .employee-layout, .report-grid, .report-kpi-grid, .report-grid-2, .import-grid, .profile-detail-grid, .profile-reference-grid, .profile-tables, .profile-kpi-grid, .skill-summary, .document-grid, .sales-strip, .sales-proof, .proof-grid { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 72px minmax(0, 1fr); }
  .profile-hero-actions { grid-column: 1 / -1; }
  .profile-fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-hero { align-items: flex-start; flex-direction: column; }
  .mode-badge { max-width: none; }
}
@media (max-width: 760px) {
  .app { display: block; }
  .sidebar { width: auto; min-height: auto; }
  .topbar, .toolbar { align-items: flex-start; flex-direction: column; height: auto; }
  .topbar { padding: 18px; }
  .view { padding: 18px; }
  .top-actions,
  .filters {
    width: 100%;
    flex-wrap: wrap;
  }
  .mode-badge { width: 100%; }
  .search { width: 100%; }
  .filters select {
    width: 100%;
    flex: 1 1 100%;
  }
  .kpi-grid, .dashboard-grid,
  .kpi-grid.relationship-kpis.primary-kpis,
  .kpi-grid.relationship-kpis.data-health-kpis,
  .kpi-grid.relationship-kpis.financial-kpis { grid-template-columns: 1fr; }
  .process-strip,
  .action-tile-grid,
  .booking-form,
  .bar-row { grid-template-columns: 1fr; }
  .booking-form label:first-child { grid-column: auto; }
  .financial-impact .panel-head { align-items: stretch; }
  .payroll-input { min-width: 0; }
  .profile-hero { grid-template-columns: 1fr; text-align: left; }
  .profile-fact-row { grid-template-columns: 1fr; }
  .profile-fact-row div { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
  .profile-hero-actions { align-items: stretch; flex-direction: column; }
  .mini-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Executive demo polish: presentation layer only. */
body {
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 120, 166, .08), transparent 34rem),
    linear-gradient(180deg, #f5f9fc 0%, #eef5f8 100%);
  line-height: 1.42;
}

.sidebar {
  width: 238px;
  padding: 15px 12px;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #003f5c 0%, #002d42 100%);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .08);
}

.brand {
  gap: 7px;
  padding: 9px;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 24px rgba(0, 25, 42, .16);
}

.brand-mark.client-mark {
  height: 58px;
  padding: 7px 9px;
  border-radius: 7px;
}

.brand strong {
  font-size: 13px;
  letter-spacing: 0;
}

.brand span,
.sidebar-footer span {
  color: #c8e1ea;
  font-size: 11px;
}

.nav {
  gap: 5px;
}

.nav-item {
  min-height: 42px;
  padding: 9px 10px;
  gap: 10px;
  border-radius: 8px;
  color: #eaf6fb;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .1);
}

.nav-item.active {
  color: #003f5c;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 25, 42, .18);
}

.nav-item.active .ico {
  color: #ffffff;
  border-color: #006d8f;
  background: #006d8f;
}

.ico {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 11px;
  border-color: rgba(255, 255, 255, .34);
}

.sidebar-footer {
  padding: 9px;
}

.dataverse-dot {
  width: 22px;
  height: 22px;
  box-shadow: 9px 0 0 rgba(0, 120, 166, .62);
}

.topbar {
  height: 74px;
  padding: 0 24px;
  background: rgba(255, 255, 255, .94);
  border-bottom-color: #dceaf0;
  box-shadow: 0 3px 16px rgba(0, 54, 76, .06);
}

h1 {
  font-size: 20px;
  color: #0d3044;
}

h2 {
  font-size: 24px;
  color: #0d3044;
}

h3 {
  font-size: 15px;
  color: #12384d;
}

.topbar p,
.toolbar p,
.panel-head p {
  color: #5b707d;
  font-size: 13px;
}

.top-actions {
  gap: 10px;
}

.mode-badge {
  min-width: 214px;
  border-color: #c9e3ee;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfe 100%);
  box-shadow: 0 6px 16px rgba(0, 79, 111, .06);
}

.mode-badge strong {
  color: #0f4058;
  font-size: 12px;
}

.mode-badge span {
  color: #627583;
  font-size: 11px;
}

.icon-button,
.panel-head button,
.quick-actions button,
.report-actions button,
.filters button,
.import-actions button,
.table-action {
  border-color: #cfdfe6;
  border-radius: 8px;
  color: #005f7e;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 1px 2px rgba(0, 43, 60, .04);
}

.icon-button:hover,
.panel-head button:hover,
.quick-actions button:hover,
.report-actions button:hover,
.filters button:hover,
.import-actions button:hover,
.table-action:hover {
  border-color: #8fc3d5;
  background: #f2fbff;
}

.primary {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0078a6, #003f5c);
  box-shadow: 0 9px 18px rgba(0, 80, 112, .18);
}

.view {
  padding: 20px 24px 32px;
}

.toolbar {
  margin-bottom: 14px;
}

.overview-hero {
  min-height: 96px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-color: #c7e1eb;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(0, 63, 92, .08), transparent 44%),
    linear-gradient(135deg, #ffffff 0%, #f4fbfe 100%);
  box-shadow: 0 10px 26px rgba(0, 55, 78, .08);
}

.overview-hero small {
  display: block;
  margin-top: 7px;
  color: #4d6877;
  font-size: 12px;
}

.overview-hero h2 {
  font-size: 30px;
  margin-top: 2px;
}

.overview-hero p {
  max-width: 760px;
  font-size: 13px;
}

.eyebrow {
  color: #00708f;
  font-size: 11px;
  letter-spacing: .04em;
}

.overview-executive {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .55fr) minmax(340px, .7fr);
  gap: 12px;
  margin-bottom: 12px;
  align-items: stretch;
}

.outcome-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.outcome-card {
  position: relative;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #cfe3ea;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(248, 252, 254, .96) 100%),
    linear-gradient(135deg, rgba(0, 120, 166, .13), transparent 65%);
  box-shadow: 0 10px 25px rgba(0, 54, 76, .075);
  overflow: hidden;
}

.outcome-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #006d8f, #12a2b8);
}

.outcome-card span,
.outcome-card strong,
.outcome-card small {
  display: block;
}

.outcome-card span {
  color: #4e6a79;
  font-size: 12px;
  font-weight: 700;
}

.outcome-card strong {
  margin: 12px 0 9px;
  color: #082f43;
  font-size: 42px;
  line-height: 1;
}

.outcome-card small {
  max-width: 220px;
  color: #5e7481;
  font-size: 12px;
  line-height: 1.4;
}

.risk-panel,
.next-step-panel {
  min-height: 150px;
  padding: 14px;
}

.risk-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-bottom: 0;
}

.risk-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  padding: 7px 9px;
  border: 1px solid #e4d3aa;
  border-radius: 999px;
  background: #fffaf0;
  color: #6d4c10;
}

.risk-pill span {
  font-size: 11px;
  color: #735a20;
}

.risk-pill strong {
  color: #3d2b08;
  font-size: 14px;
  white-space: nowrap;
}

.risk-pill:last-child {
  border-color: #edc86f;
  background: #fff4d8;
}

.next-step-panel {
  background:
    linear-gradient(135deg, rgba(0, 120, 166, .08), transparent 45%),
    #ffffff;
}

.next-step-panel h3 {
  margin: 5px 0 8px;
  color: #073349;
  font-size: 19px;
}

.next-step-panel p {
  color: #4e6573;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 5px;
}

.tier-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tier-chip-row span,
.tier-chip-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #d6e5eb;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  color: #4f6673;
  background: #f7fbfd;
}

.tier-chip-row strong {
  color: #003f5c;
  border-color: #9ccfdf;
  background: #eaf8fc;
}

.process-strip {
  gap: 10px;
  margin-bottom: 12px;
}

.workflow-strip {
  position: relative;
}

.process-strip article {
  position: relative;
  min-height: 88px;
  gap: 4px;
  padding: 11px 12px;
  border-color: #d9e8ee;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 5px 15px rgba(0, 54, 76, .05);
}

.workflow-strip article:not(:last-child)::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid #bddce7;
  border-radius: 50%;
  color: #006d8f;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.process-strip span {
  width: 30px;
  height: 22px;
  border-radius: 999px;
  background: #edf7fb;
  color: #006d8f;
  font-size: 11px;
}

.process-strip strong {
  color: #12384d;
  font-size: 13px;
}

.process-strip small {
  color: #607784;
  font-size: 11px;
  line-height: 1.35;
}

.kpi-grid {
  gap: 10px;
  margin-bottom: 12px;
}

.kpi-grid.relationship-kpis {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.kpi-grid.relationship-kpis.financial-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi-grid.relationship-kpis.primary-kpis,
.kpi-grid.relationship-kpis.data-health-kpis {
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
}

.kpi,
.panel,
.summary-tile,
.profile-kpi,
.skill-summary div,
.document-tile,
.proof-grid span {
  border-color: #d9e8ee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(0, 54, 76, .055);
}

.kpi {
  position: relative;
  min-height: 94px;
  padding: 13px 14px 12px;
  overflow: hidden;
}

.kpi::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0078a6, #10a0b6);
}

.overview-kpis .kpi:nth-child(9)::before {
  background: linear-gradient(180deg, #f5a400, #c77a00);
}

.overview-kpis .kpi:nth-child(9) {
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e7 100%);
  border-color: #efd18f;
}

.kpi span,
.summary-tile span,
.summary-tile small,
.profile-kpi span,
.profile-kpi small {
  color: #647987;
  font-size: 11px;
}

.kpi strong {
  margin: 5px 0 1px;
  color: #0c3a52;
  font-size: 24px;
  line-height: 1.1;
}

.financial-kpis .kpi {
  min-height: 86px;
  padding: 11px 12px;
}

.financial-kpis .kpi strong,
.data-health-kpis .kpi strong {
  font-size: 21px;
}

.dashboard-grid {
  gap: 12px;
}

.overview-dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.overview-dashboard + .overview-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  padding: 14px;
  overflow: hidden;
}

.panel-head {
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.panel-head h3 {
  font-weight: 700;
}

.financial-impact {
  margin-bottom: 0;
}

.summary-tile-grid {
  gap: 9px;
}

.summary-tile {
  padding: 11px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.summary-tile strong {
  color: #0c3a52;
  font-size: 21px;
}

.bar-list,
.issue-list,
.info-list,
.checklist,
.mapping-preview {
  gap: 8px;
}

.bar-row,
.issue,
.check-row,
.info-list li,
.mapping-preview span,
.connector-row {
  border-color: #dce9ef;
  border-radius: 9px;
  background: #fbfdff;
}

.action-tile-grid {
  gap: 8px;
}

.action-tile-grid button {
  min-height: 62px;
  padding: 10px 11px;
  border-radius: 9px;
}

.action-tile-grid button strong {
  color: #0c3a52;
  font-size: 13px;
}

.action-tile-grid button span {
  color: #667b88;
  font-size: 11px;
}

.table-panel {
  margin-top: 12px;
}

.table-wrap {
  border: 1px solid #dce9ef;
  border-radius: 10px;
  background: #ffffff;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #14384b;
  background: #edf6fa;
  border-bottom: 1px solid #cfe0e7;
}

th,
td {
  padding: 8px 10px;
  border-bottom-color: #edf3f6;
}

tbody tr:hover {
  background: #f7fbfd;
}

.form-layout {
  grid-template-columns: minmax(390px, 410px) minmax(0, 1fr);
  gap: 16px;
}

.form-panel,
.booking-form {
  gap: 11px;
}

label {
  color: #244659;
  font-size: 12px;
  gap: 5px;
}

input,
select {
  min-height: 38px;
  border: 1px solid #cfdfe6;
  border-radius: 8px;
  padding: 8px 10px;
  color: #14384b;
  background: #fbfdff;
}

#trainingForm.form-panel {
  gap: 10px 12px;
  padding: 16px;
}

#trainingForm > label:nth-of-type(1),
#trainingForm > label:nth-of-type(2),
#trainingForm > label:nth-of-type(5) {
  grid-column: 1 / -1;
}

#trainingForm .inherited-fields {
  padding: 11px 12px 12px;
  border: 1px solid #d9e8ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fcff 0%, #f3f9fc 100%);
  color: #244659;
  line-height: 1.35;
}

#trainingForm .inherited-fields strong {
  display: block;
  margin-bottom: 8px;
  color: #062f47;
}

.profile-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 8px;
}

.profile-context-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #e0edf2;
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
  color: #062f47;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-context-grid span:nth-child(3) {
  grid-column: 1 / -1;
}

.profile-context-grid small {
  color: #5f7582;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

#trainingForm select,
#trainingForm input {
  width: 100%;
}

#trainingForm .planning-options {
  gap: 8px 10px;
  padding: 10px 12px 12px;
}

#trainingForm .planning-options legend,
#trainingForm .scheduling-options legend {
  font-size: 13px;
}

#trainingForm .scheduling-options {
  padding: 10px 12px 12px;
}

#trainingForm .primary {
  min-height: 42px;
}

.provider-panel .table-wrap {
  overflow-x: auto;
}

.provider-panel table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-size: 11px;
}

.provider-panel th,
.provider-panel td {
  padding: 7px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-panel th:nth-child(1),
.provider-panel td:nth-child(1) {
  width: 17%;
}

.provider-panel th:nth-child(2),
.provider-panel td:nth-child(2) {
  width: 23%;
}

.provider-panel th:nth-child(3),
.provider-panel td:nth-child(3) {
  width: 10%;
}

.provider-panel th:nth-child(4),
.provider-panel td:nth-child(4) {
  width: 7%;
}

.provider-panel th:nth-child(5),
.provider-panel td:nth-child(5) {
  width: 9%;
}

.provider-panel th:nth-child(6),
.provider-panel td:nth-child(6) {
  width: 9%;
}

.provider-panel th:nth-child(7),
.provider-panel td:nth-child(7) {
  width: 13%;
}

.provider-panel th:nth-child(8),
.provider-panel td:nth-child(8) {
  width: 7%;
}

.provider-panel th:nth-child(9),
.provider-panel td:nth-child(9) {
  width: 72px;
}

.provider-panel [data-use-course] {
  width: 100%;
  min-height: 26px;
  padding: 5px 8px;
  font-size: 11px;
  white-space: nowrap;
  line-height: 1.15;
  border-color: #9eb8c6;
  border-radius: 6px;
  background: #ffffff;
  color: #06344d;
}

.employee-interventions-panel {
  margin-top: 0;
  min-height: 420px;
}

.employee-interventions-panel table {
  min-width: 1080px;
  table-layout: fixed;
}

.employee-interventions-panel th,
.employee-interventions-panel td {
  vertical-align: middle;
}

.employee-interventions-panel th:nth-child(1),
.employee-interventions-panel td:nth-child(1) {
  width: 76px;
}

.employee-interventions-panel th:nth-child(2),
.employee-interventions-panel td:nth-child(2) {
  width: 245px;
}

.employee-interventions-panel th:nth-child(3),
.employee-interventions-panel td:nth-child(3) {
  width: 190px;
}

.employee-interventions-panel th:nth-child(4),
.employee-interventions-panel td:nth-child(4) {
  width: 95px;
}

.employee-interventions-panel th:nth-child(5),
.employee-interventions-panel td:nth-child(5) {
  width: 150px;
  white-space: normal;
  line-height: 1.25;
}

.employee-interventions-panel th:nth-child(6),
.employee-interventions-panel td:nth-child(6) {
  width: 140px;
  white-space: normal;
  line-height: 1.25;
}

.employee-interventions-panel th:nth-child(7),
.employee-interventions-panel td:nth-child(7) {
  width: 92px;
}

.employee-interventions-panel th:nth-child(8),
.employee-interventions-panel td:nth-child(8) {
  width: 84px;
}

.provider-panel {
  margin-top: 14px;
}

.course-relevant {
  background: #f8fcff;
}

.relevance-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid #b9dfe9;
  background: #eef9fc;
  color: #06445b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1380px) {
  .form-layout {
    grid-template-columns: 1fr;
  }

  .provider-panel table {
    font-size: 12px;
  }
}

/* Submission Workspace */
.submission-toolbar {
  align-items: flex-end;
  gap: 24px;
}

.submission-toolbar .report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.submission-status-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.submission-decision-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid #d2e1e7;
  border-left: 6px solid #708490;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f4f8f9);
  box-shadow: 0 8px 24px rgba(14, 54, 72, .06);
}

.submission-decision-card strong {
  display: block;
  margin: 10px 0 5px;
  color: #173545;
  font-size: 30px;
  letter-spacing: .04em;
}

.submission-decision-card p {
  margin: 0;
  color: #607884;
  line-height: 1.45;
}

.submission-decision-card[data-tone="hold"] {
  border-left-color: #bd3f3f;
  background: linear-gradient(135deg, #ffffff, #fff3f3);
}

.submission-decision-card[data-tone="conditional"] {
  border-left-color: #d79c00;
  background: linear-gradient(135deg, #ffffff, #fff9e9);
}

.submission-decision-card[data-tone="ready"] {
  border-left-color: #17834a;
  background: linear-gradient(135deg, #ffffff, #eefaf3);
}

.submission-filter-panel {
  margin-bottom: 12px;
}

.submission-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.submission-filters label {
  display: grid;
  gap: 6px;
  color: #516d79;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.submission-register {
  margin-bottom: 16px;
}

.submission-register table {
  min-width: 1460px;
}

.submission-register td {
  min-width: 115px;
}

.submission-register td:nth-child(2),
.submission-register td:nth-child(4) {
  min-width: 260px;
}

.submission-register td > strong,
.submission-register .cell-note,
.submission-register td > small {
  display: block;
}

.submission-register .cell-note {
  margin: 4px 0;
  color: #173545;
  font-weight: 700;
}

.submission-register td > small {
  color: #6b808a;
  line-height: 1.35;
}

.submission-register input,
.submission-register select {
  width: 100%;
  min-width: 150px;
  padding: 8px 9px;
  border: 1px solid #c8d9df;
  border-radius: 5px;
  background: #fff;
  color: #173545;
  font: inherit;
}

.severity-pill {
  display: inline-block;
  min-width: 58px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.severity-pill.high { background: #b93636; }
.severity-pill.medium { background: #ad7900; }
.severity-pill.low { background: #267258; }

.table-link {
  display: block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
}

.submission-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 16px;
}

.governance-note {
  background: linear-gradient(140deg, #ffffff, #f1f7f8);
}

.governance-note h3,
.submission-signoff h3 {
  margin: 9px 0 10px;
}

.governance-note p,
.governance-note li {
  color: #5c747f;
  line-height: 1.55;
}

.governance-note ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.submission-signoff {
  display: grid;
  gap: 11px;
}

.submission-signoff label {
  display: grid;
  gap: 6px;
  color: #516d79;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.submission-signoff textarea {
  min-height: 94px;
  resize: vertical;
}

@media (max-width: 1180px) {
  .submission-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submission-decision-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .submission-toolbar,
  .submission-bottom-grid {
    grid-template-columns: 1fr;
  }

  .submission-toolbar .report-actions {
    justify-content: stretch;
  }

  .submission-toolbar .report-actions button {
    flex: 1 1 100%;
  }

  .submission-status-grid,
  .submission-filters {
    grid-template-columns: 1fr;
  }
}

input:focus,
select:focus {
  outline: 2px solid rgba(0, 120, 166, .18);
  border-color: #4aa9c4;
  background: #ffffff;
}

.filters {
  gap: 8px;
}

.search {
  height: 40px;
  border-radius: 9px;
  background: #ffffff;
}

.import-grid,
.report-grid {
  gap: 14px;
}

.employee-item {
  border-color: #dce9ef;
  border-radius: 9px;
  background: #fbfdff;
}

.employee-item:hover,
.employee-item.active {
  border-color: #8fc3d5;
  background: #f2fbff;
}

.report-kpi-grid {
  gap: 10px;
}

.security-note,
.panel-note {
  color: #5f7582;
  font-size: 12px;
}

@media (min-width: 1600px) {
  .overview-kpis {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .sidebar {
    width: 224px;
  }

  .overview-executive {
    grid-template-columns: 1fr;
  }

  .overview-dashboard,
  .overview-dashboard + .overview-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: auto;
    padding: 14px;
  }

  .brand-mark.client-mark {
    height: 52px;
  }

  .topbar {
    padding: 16px;
  }

  .view {
    padding: 16px;
  }

  .overview-hero,
  .overview-executive,
  .outcome-card-grid,
  .overview-dashboard,
  .overview-dashboard + .overview-dashboard,
  .process-strip {
    grid-template-columns: 1fr;
  }

  .workflow-strip article::after {
    display: none;
  }
}

/* Return to the polished client-snapshot dashboard art direction. */
body {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f4f8fa;
  line-height: 1.42;
}

.sidebar {
  width: 260px;
  padding: 18px 14px;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(245, 164, 0, .9) 0 3px, transparent 3px 100%),
    linear-gradient(180deg, #004f6f 0%, #003348 100%);
}

.brand {
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: none;
}

.brand-mark.client-mark {
  height: 86px;
  padding: 7px 8px;
  border-radius: 6px;
}

.brand strong {
  font-size: 14px;
}

.brand span,
.sidebar-footer span {
  color: #d9edf4;
  font-size: 12px;
}

.nav {
  gap: 7px;
}

.nav-item {
  min-height: auto;
  padding: 12px;
  gap: 12px;
  border-radius: 6px;
  color: #ecf4ff;
  background: transparent;
  box-shadow: none;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, .15);
  box-shadow: none;
}

.nav-item.active .ico {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .45);
  background: transparent;
}

.ico {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 12px;
}

.topbar {
  height: 86px;
  padding: 0 28px;
  background: linear-gradient(90deg, #ffffff 0%, #f2fbff 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

h1 {
  font-size: 22px;
  color: var(--ink);
}

h2 {
  font-size: 24px;
  color: var(--ink);
}

h3 {
  font-size: 16px;
  color: var(--ink);
}

.topbar p,
.toolbar p {
  color: var(--muted);
  font-size: 14px;
}

.view {
  padding: 26px 28px 40px;
}

.toolbar {
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-toolbar h2 {
  font-size: 24px;
}

.dashboard-filters {
  min-width: 420px;
}

.dashboard-filters select {
  min-width: 180px;
}

.sales-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.sales-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 13px 14px;
  box-shadow: 0 2px 8px rgba(0, 63, 92, .05);
}

.sales-strip strong {
  color: var(--navy);
  margin-bottom: 4px;
}

.sales-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.kpi-grid {
  gap: 12px;
  margin-bottom: 14px;
}

.kpi-grid.relationship-kpis {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}

.kpi-grid.relationship-kpis.executive-kpis {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.kpi-grid.relationship-kpis.data-health-kpis {
  grid-template-columns: repeat(5, minmax(165px, 1fr));
}

.kpi,
.panel,
.summary-tile,
.profile-kpi {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(19, 35, 68, .05);
}

.kpi {
  min-height: 112px;
  padding: 16px;
}

.kpi::before {
  display: none;
}

.kpi.executive {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  border-color: #c8e5f0;
}

.kpi span {
  color: var(--muted);
  font-size: 12px;
}

.kpi strong {
  display: block;
  margin: 6px 0 2px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.15;
}

.kpi small {
  color: var(--muted);
}

.review-kpi:last-child {
  background: #f0fbff;
  border-color: #9ed6e6;
}

.review-kpi:last-child strong {
  color: #005f7e;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 250px;
  gap: 14px;
  align-items: stretch;
}

.overview-dashboard {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.overview-dashboard + .overview-dashboard {
  grid-template-columns: 1fr 1fr 1fr 250px;
}

.panel {
  padding: 16px;
}

.panel-head {
  align-items: center;
  margin-bottom: 12px;
}

.financial-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.financial-kpis .kpi {
  min-height: 102px;
}

.summary-tile {
  padding: 14px;
}

.summary-tile strong {
  font-size: 24px;
}

.action-tile-grid button {
  min-height: 76px;
}

.table-wrap {
  border: 0;
  border-radius: 0;
}

table {
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px 11px;
}

th {
  position: static;
  color: #25304c;
  background: #f7f9fd;
}

input,
select {
  border-radius: 6px;
}

@media (max-width: 1180px) {
  .dashboard-grid,
  .overview-dashboard,
  .overview-dashboard + .overview-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .kpi-grid.relationship-kpis.executive-kpis,
  .kpi-grid.relationship-kpis.data-health-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-filters {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: auto;
  }

  .brand-mark.client-mark {
    height: 64px;
  }

  .topbar,
  .toolbar {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  .view {
    padding: 18px;
  }

  .sales-strip,
  .dashboard-grid,
  .overview-dashboard,
  .overview-dashboard + .overview-dashboard,
  .kpi-grid.relationship-kpis.executive-kpis,
  .kpi-grid.relationship-kpis.data-health-kpis {
    grid-template-columns: 1fr;
  }
}

/* Final demo polish pass */
.main {
  background:
    linear-gradient(180deg, #f7fbfd 0%, #f2f7fa 100%);
}

.topbar,
.toolbar,
.panel,
.kpi,
.summary-tile,
.sales-strip article {
  letter-spacing: 0;
}

.toolbar {
  align-items: flex-end;
}

.toolbar h2 {
  color: var(--navy);
  line-height: 1.15;
}

.toolbar p,
.panel-head p,
.kpi small,
.summary-tile small,
.action-tile-grid span {
  line-height: 1.35;
}

.panel-head {
  gap: 12px;
}

.panel-head h3 {
  color: #0b2d44;
  line-height: 1.2;
}

.overview-dashboard + .overview-dashboard {
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) minmax(260px, 1fr) minmax(320px, .82fr);
}

.action-panel {
  overflow: visible;
}

.action-panel .panel-head {
  margin-bottom: 10px;
}

.action-tile-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.action-tile-grid button {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 7px;
  color: #003f5c;
  background: #fbfdff;
  box-shadow: none;
}

.action-tile-grid button strong {
  font-size: 13px;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}

.action-tile-grid button span {
  font-size: 12px;
  color: #5a7080;
}

.action-tile-grid button:hover,
.action-tile-grid button:focus-visible {
  border-color: #86bfd3;
  background: #f2fbff;
  outline: 0;
}

.kpi,
.summary-tile {
  display: grid;
  align-content: start;
}

.kpi span,
.summary-tile span {
  line-height: 1.25;
}

.kpi strong,
.summary-tile strong {
  line-height: 1.1;
}

.financial-kpis .kpi,
.data-health-kpis .kpi,
.summary-tile {
  min-height: 98px;
}

.table-panel {
  overflow: hidden;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
}

td {
  vertical-align: top;
}

.table-action,
.panel-head button,
.quick-actions button,
.icon-button {
  min-height: 36px;
  line-height: 1.2;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.report-export-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background: #f8fcff;
  color: #34576a;
  font-size: 12px;
}

.report-export-summary strong {
  color: #07364d;
  font-size: 13px;
}

.report-export-summary span {
  min-width: 0;
}

.report-coverage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background: #ffffff;
  color: #34576a;
  font-size: 12px;
}

.report-coverage div,
.report-coverage span {
  min-width: 0;
}

.report-coverage strong {
  color: #07364d;
}

.report-actions button {
  min-height: 34px;
  padding: 8px 10px;
  font-size: 12px;
}

.filters select,
.filters input,
.search,
select,
input {
  max-width: 100%;
}

.form-layout,
.employee-layout,
.import-grid,
.report-grid {
  align-items: start;
}

.profile-panel,
.list-panel {
  min-width: 0;
}

@media (max-width: 1380px) {
  .dashboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-filters {
    width: 100%;
  }

  .dashboard-filters select {
    flex: 1 1 220px;
  }

  .overview-dashboard + .overview-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .financial-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .action-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .top-actions,
  .dashboard-filters,
  .filters {
    flex-wrap: wrap;
  }

  .form-layout,
  .employee-layout,
  .import-grid,
  .report-grid,
  .overview-dashboard + .overview-dashboard {
    grid-template-columns: 1fr;
  }

  .financial-kpis {
    grid-template-columns: 1fr !important;
  }

  .action-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .action-tile-grid {
    grid-template-columns: 1fr;
  }

.brand-mark.client-mark {
    height: 86px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-actions {
    justify-content: flex-start;
  }
}

/* Sales presentation polish */
html,
body {
  overflow-x: hidden;
}

.dashboard-grid,
.overview-dashboard,
.overview-dashboard + .overview-dashboard {
  align-items: start;
}

.overview-dashboard + .overview-dashboard {
  grid-template-columns: minmax(250px, 1.05fr) minmax(250px, 1.05fr) minmax(260px, 1.1fr) minmax(280px, .95fr);
}

.overview-dashboard + .overview-dashboard .panel {
  min-height: 0;
}

.bar-list {
  min-width: 0;
}

.bar-row {
  grid-template-columns: minmax(0, .95fr) minmax(96px, .9fr);
  align-items: center;
  padding: 12px 0;
}

.bar-row + .bar-row {
  border-top: 1px solid #edf3f6;
}

.bar-row > div:first-child {
  min-width: 0;
}

.bar-row strong {
  overflow-wrap: anywhere;
}

.bar-track {
  min-width: 0;
  overflow: hidden;
}

.issue {
  border-left-width: 4px;
  border-radius: 10px;
  padding: 13px 14px;
}

.issue.risk {
  background: #fff8f0;
  border-color: #e39a2d;
}

.issue.warn {
  background: #f7fbff;
  border-color: #0078a6;
}

.issue.good {
  background: #f5fbf7;
}

.action-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.action-tile-grid {
  counter-reset: demo-step;
}

.action-tile-grid button {
  position: relative;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-color: #cde1ea;
  background: #ffffff;
}

.action-tile-grid button::before {
  counter-increment: demo-step;
  content: counter(demo-step);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border-radius: 50%;
  background: #e9f6fb;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.action-tile-grid button:first-child {
  border-color: #0078a6;
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
}

.action-tile-grid button:first-child::before {
  background: var(--blue);
  color: #fff;
}

.action-tile-grid button strong,
.action-tile-grid button span {
  min-width: 0;
}

.action-tile-grid button span {
  margin-top: 1px;
}

.table-wrap {
  max-width: 100%;
}

@media (max-width: 1380px) {
  .overview-dashboard + .overview-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .overview-dashboard + .overview-dashboard,
  .action-tile-grid {
    grid-template-columns: 1fr;
  }
}

/* Demo journey polish */
.sales-strip {
  position: relative;
  gap: 16px;
  padding: 0;
  border: 1px solid #cfe2ea;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 109, 143, .07), rgba(245, 164, 0, .07)),
    #ffffff;
  box-shadow: 0 10px 26px rgba(0, 55, 78, .07);
}

.sales-strip::before {
  display: none;
}

.sales-strip article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 8px;
  align-items: start;
  min-height: 124px;
  padding: 24px 28px 22px;
  border: 1px solid rgba(0, 109, 143, .13);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 22px rgba(0, 54, 76, .055);
}

.sales-strip article + article {
  border-left: 1px solid rgba(0, 109, 143, .13);
}

.sales-strip em {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--blue);
  box-shadow: 0 6px 16px rgba(0, 109, 143, .22);
  color: #ffffff;
  font-style: normal;
  font-weight: 800;
}

.sales-strip article:nth-child(2) em {
  background: #0b7f46;
}

.sales-strip article:nth-child(3) em {
  background: #c77a00;
}

.sales-strip strong {
  margin: 2px 0 2px;
  color: #07364d;
  font-size: 15px;
  line-height: 1.25;
}

.sales-strip span {
  max-width: 35rem;
  color: #4d6573;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .sales-strip {
    gap: 12px;
  }

  .sales-strip::before {
    display: none;
  }

  .sales-strip article {
    border: 1px solid rgba(0, 109, 143, .13);
    background: rgba(255, 255, 255, .78);
  }

  .sales-strip article + article {
    border-left: 1px solid rgba(0, 109, 143, .13);
  }
}

@media (max-width: 1080px) {
  .sales-strip {
    grid-template-columns: 1fr;
  }

  .sales-strip article {
    min-height: auto;
  }
}

/* Dashboard exception status strip */
.kpi-grid.relationship-kpis.data-health-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.data-health-kpis .review-kpi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 76px;
  padding: 14px 16px;
  border-top: 0;
  border-left: 4px solid #0078a6;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 7px 18px rgba(0, 54, 76, .05);
}

.data-health-kpis .review-kpi:nth-child(2) {
  border-left-color: #0067a0;
}

.data-health-kpis .review-kpi:nth-child(3) {
  border-left-color: #0b7f46;
}

.data-health-kpis .review-kpi:nth-child(4) {
  border-left-color: #10a0b6;
  background: linear-gradient(180deg, #f7fdff 0%, #eefaff 100%);
  border-color: #9ed6e6;
}

.data-health-kpis .review-kpi span {
  color: #34576a;
  font-size: 12px;
  font-weight: 700;
}

.data-health-kpis .review-kpi strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0 0 0 18px;
  color: #07364d;
  font-size: 27px;
  line-height: 1;
}

.data-health-kpis .review-kpi small {
  color: #647987;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .kpi-grid.relationship-kpis.data-health-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kpi-grid.relationship-kpis.data-health-kpis {
    grid-template-columns: 1fr;
  }
}

.priority-dashboard {
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
}

.priority-dashboard .next-step-panel {
  background:
    linear-gradient(135deg, rgba(0, 109, 143, .08), rgba(16, 160, 182, .04)),
    #ffffff;
  border-color: #b9dfe9;
}

.tier-choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tier-choice-grid article {
  border: 1px solid #d9e8ee;
  border-radius: 8px;
  background: #fbfdff;
  padding: 11px 12px;
}

.tier-choice-grid span {
  display: block;
  color: #647987;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
}

.tier-choice-grid strong {
  color: #07364d;
  font-size: 13px;
  line-height: 1.25;
}

.tier-choice-grid .recommended {
  background: #eaf8fc;
  border-color: #74c5dc;
  box-shadow: inset 0 0 0 1px rgba(0, 120, 166, .16);
}

@media (max-width: 1180px) {
  .priority-dashboard,
  .tier-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* Final public demo layout */
.main {
  background: #f5fafc;
}

.topbar {
  height: 72px;
  padding: 14px 24px 14px 28px;
  background: #ffffff;
}

.topbar h1 {
  font-size: 20px;
  letter-spacing: 0;
}

.topbar p {
  font-size: 13px;
}

.mode-badge {
  min-width: 250px;
  background: #f8fcff;
}

.icon-button {
  padding: 8px 12px;
}

#overview {
  max-width: 1440px;
  margin: 0 auto;
}

.executive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
  padding: 22px 24px;
  border: 1px solid #c8e3ee;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fbff 64%, #eef9fc 100%);
  box-shadow: 0 8px 22px rgba(0, 55, 78, .06);
}

.hero-copy {
  min-width: 0;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border: 1px solid #b9dfe9;
  border-radius: 999px;
  background: #eefaff;
  color: #07506d;
  font-size: 12px;
  font-weight: 800;
}

.executive-hero h2 {
  margin: 0;
  color: #062f48;
  font-size: 30px;
  line-height: 1.12;
}

.executive-hero p {
  max-width: 850px;
  margin: 8px 0 4px;
  color: #34576a;
  font-size: 15px;
  line-height: 1.5;
}

.executive-hero small {
  color: #647987;
  font-size: 12px;
}

.dashboard-filters {
  align-self: start;
  padding-top: 22px;
}

.dashboard-filters select {
  min-width: 170px;
  background: #ffffff;
}

.kpi-grid.relationship-kpis.executive-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.executive-kpis .outcome-card {
  min-height: 126px;
  padding: 19px 20px;
  border-color: #c2e1eb;
  border-top: 4px solid #0078a6;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 55, 78, .06);
}

.executive-kpis .outcome-card:nth-child(2) {
  border-top-color: #0b7f46;
}

.executive-kpis .outcome-card:nth-child(3) {
  border-top-color: #c77a00;
}

.executive-kpis .outcome-card span {
  color: #34576a;
  font-size: 13px;
  font-weight: 800;
}

.executive-kpis .outcome-card strong {
  margin: 8px 0 4px;
  color: #062f48;
  font-size: 40px;
  line-height: 1;
}

.executive-kpis .outcome-card small {
  color: #4d6573;
  line-height: 1.45;
}

.executive-priority-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
}

.reporting-gaps-panel,
.next-step-panel {
  min-height: 0;
  box-shadow: 0 8px 20px rgba(0, 55, 78, .055);
}

.reporting-gaps-panel {
  background: #ffffff;
}

.reporting-gaps-panel .panel-head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.reporting-gaps-panel .panel-head p,
.next-step-panel .panel-head p {
  margin-top: 4px;
  color: #4d6573;
  font-size: 12px;
}

.status-pill {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #f0d39a;
  border-radius: 999px;
  background: #fff8e7;
  color: #765000;
  font-size: 12px;
  font-weight: 800;
}

.kpi-grid.relationship-kpis.data-health-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.data-health-kpis .review-kpi {
  min-height: 68px;
  padding: 12px 13px;
  border-left-color: #d48a00;
  background: #fffdf8;
  box-shadow: none;
}

.data-health-kpis .review-kpi:nth-child(2),
.data-health-kpis .review-kpi:nth-child(3),
.data-health-kpis .review-kpi:nth-child(4) {
  border-left-color: #d48a00;
  background: #fffdf8;
}

.data-health-kpis .review-kpi strong {
  font-size: 24px;
}

.next-step-panel {
  background:
    linear-gradient(135deg, rgba(0, 109, 143, .08), rgba(245, 164, 0, .06)),
    #ffffff;
  border-color: #b9dfe9;
}

.next-step-panel .panel-head {
  margin-bottom: 12px;
}

.tier-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tier-choice-grid article {
  min-height: 62px;
  padding: 12px 13px;
}

.tier-choice-grid .recommended {
  border-color: #0078a6;
  background: #e9f8fc;
  box-shadow: inset 0 0 0 1px rgba(0, 120, 166, .18), 0 6px 16px rgba(0, 120, 166, .08);
}

.focus-areas-panel {
  background:
    linear-gradient(135deg, rgba(0, 109, 143, .07), rgba(11, 127, 70, .05)),
    #ffffff;
  border-color: #b9dfe9;
  box-shadow: 0 8px 20px rgba(0, 55, 78, .055);
}

.focus-areas-panel .panel-head {
  margin-bottom: 12px;
}

.focus-areas-panel .panel-head p {
  margin-top: 4px;
  color: #4d6573;
  font-size: 12px;
}

.focus-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.focus-card-grid article {
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid #d5e8ef;
  border-left: 4px solid #0078a6;
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
}

.focus-card-grid article:nth-child(2) {
  border-left-color: #0b7f46;
}

.focus-card-grid article:nth-child(3) {
  border-left-color: #c77a00;
}

.focus-card-grid article:nth-child(4) {
  border-left-color: #d48a00;
}

.focus-card-grid span {
  display: block;
  margin-bottom: 6px;
  color: #07364d;
  font-size: 12px;
  font-weight: 800;
}

.focus-card-grid strong {
  color: #4d6573;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #c8e3ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 55, 78, .045);
}

.workflow-strip span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 32px 13px 16px;
  color: #07364d;
  font-size: 13px;
  font-weight: 800;
}

.workflow-strip span + span {
  border-left: 1px solid #e0eef3;
}

.workflow-strip span:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: 12px;
  color: #0a7ea8;
  font-weight: 900;
}

.priority-dashboard {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  margin-top: 0;
}

.overview-dashboard + .overview-dashboard {
  grid-template-columns: minmax(250px, 1fr) minmax(250px, 1fr) minmax(250px, 1fr) minmax(300px, .95fr);
}

.action-panel {
  background: #ffffff;
}

.action-tile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.action-tile-grid button {
  min-height: 58px;
  padding: 9px 10px;
}

.action-tile-grid button::before {
  width: 23px;
  height: 23px;
}

.action-tile-grid button strong {
  font-size: 12px;
}

.action-tile-grid button span {
  font-size: 11px;
}

.table-panel {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .executive-hero,
  .executive-priority-grid,
  .priority-dashboard,
  .overview-dashboard + .overview-dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-filters {
    padding-top: 0;
  }

  .workflow-strip,
  .kpi-grid.relationship-kpis.executive-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
  }

  .executive-hero {
    padding: 18px;
  }

  .executive-hero h2 {
    font-size: 24px;
  }

  .workflow-strip,
  .kpi-grid.relationship-kpis.executive-kpis,
  .kpi-grid.relationship-kpis.data-health-kpis,
  .tier-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SKILLSET SA SALES-DEMO SHELL
   Final override layer: aligns the WSP / ATR demo with the
   SkillSet website and Reporting Rescue Scanner visual system.
   ========================================================= */

:root {
  --skillset-green: #063c25;
  --skillset-green-2: #075331;
  --skillset-green-3: #0e7a45;
  --skillset-gold: #ffcc00;
  --skillset-gold-2: #ffe46b;
  --skillset-ink: #082d21;
  --skillset-paper: #f4f7f3;
  --skillset-line: #d7e2d8;
  --skillset-muted: #607066;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--skillset-paper);
  color: var(--skillset-ink);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

.app {
  display: block !important;
  min-height: 100vh;
  background: var(--skillset-paper);
}

.sidebar {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100% !important;
  min-height: 92px !important;
  padding: 18px clamp(24px, 6vw, 112px) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
  overflow: visible !important;
  color: #fff !important;
  background: var(--skillset-green) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .15) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}

.brand {
  min-width: 240px;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
}

.brand-mark {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.brand-mark img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
}

#clientLogoFallback {
  display: block !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: .92 !important;
  letter-spacing: -.05em !important;
}

.brand strong {
  display: block !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: .95 !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
}

.brand strong::first-letter {
  color: #fff;
}

.brand span {
  display: block !important;
  margin-top: 7px !important;
  color: var(--skillset-gold) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .32em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.nav {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(6px, 1.2vw, 18px) !important;
  margin: 0 !important;
}

.nav-item {
  position: relative !important;
  min-height: 48px !important;
  padding: 0 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  color: rgba(255, 255, 255, .92) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
}

.nav-item .ico {
  display: none !important;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 3px;
  background: var(--skillset-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
  box-shadow: 0 0 18px rgba(255, 204, 0, .48);
}

.nav-item:hover,
.nav-item.active {
  color: var(--skillset-gold) !important;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}

.sidebar-footer {
  display: none !important;
}

.main {
  min-height: calc(100vh - 92px) !important;
  margin: 0 !important;
  background: var(--skillset-paper) !important;
}

.topbar {
  display: none !important;
}

.view {
  max-width: none !important;
  padding: clamp(26px, 4vw, 58px) clamp(20px, 5vw, 72px) !important;
}

#overview.view {
  padding-top: 0 !important;
}

.executive-hero,
.workbook-hero,
.page-hero {
  position: relative !important;
  margin: 0 calc(-1 * clamp(20px, 5vw, 72px)) clamp(26px, 4vw, 46px) !important;
  padding: clamp(72px, 9vw, 128px) clamp(28px, 8vw, 132px) !important;
  display: grid !important;
  grid-template-columns: minmax(320px, .92fr) minmax(360px, .72fr) !important;
  gap: clamp(34px, 6vw, 88px) !important;
  align-items: center !important;
  color: #fff !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(3, 44, 26, .99) 0%, rgba(3, 44, 26, .93) 46%, rgba(14, 122, 69, .83) 100%),
    radial-gradient(circle at 92% 82%, rgba(255, 204, 0, .20) 0 16%, transparent 17% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 56px);
}

.executive-hero::before,
.workbook-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 77% 22%, rgba(255, 255, 255, .08), transparent 25%),
    linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, .035) 58% 100%);
}

.executive-hero > *,
.workbook-hero > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.demo-badge,
.section-label,
.panel-eyebrow {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  color: var(--skillset-gold) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

.demo-badge::before,
.section-label::before,
.panel-eyebrow::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--skillset-gold);
}

.executive-hero h2,
.workbook-hero h2,
.page-hero h2 {
  max-width: 760px !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: clamp(46px, 6.3vw, 96px) !important;
  font-weight: 500 !important;
  line-height: .95 !important;
  letter-spacing: -.075em !important;
}

.hero-copy p,
.executive-hero p,
.workbook-hero p,
.page-hero p {
  max-width: 760px !important;
  color: rgba(255, 255, 255, .88) !important;
  font-size: clamp(16px, 1.3vw, 20px) !important;
  line-height: 1.62 !important;
}

.hero-footnote {
  color: rgba(255, 255, 255, .78) !important;
}

button,
.primary,
.secondary,
.ghost,
.link-button {
  font-family: "DM Sans", Arial, Helvetica, sans-serif !important;
}

button.primary,
.primary,
.hero-actions .primary {
  color: #052d1f !important;
  background: var(--skillset-gold) !important;
  border: 1px solid var(--skillset-gold) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

button.secondary,
.secondary,
.ghost,
.hero-actions .secondary {
  color: #fff !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, .78) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

button.primary:hover,
.primary:hover {
  background: var(--skillset-gold-2) !important;
}

button.secondary:hover,
.secondary:hover,
.ghost:hover {
  background: rgba(255, 255, 255, .08) !important;
}

.dashboard-filters,
.hero-card,
.analytics-card,
.readiness-panel {
  color: #fff !important;
  background: rgba(3, 44, 26, .82) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-top: 5px solid var(--skillset-gold) !important;
  border-radius: 0 !important;
  box-shadow: 0 25px 75px rgba(0, 0, 0, .18) !important;
}

.dashboard-filters label,
.hero-card label,
.analytics-card label {
  color: var(--skillset-gold) !important;
}

.dashboard-filters select,
select,
input,
textarea {
  border-radius: 0 !important;
  border-color: var(--skillset-line) !important;
  font-family: "DM Sans", Arial, Helvetica, sans-serif !important;
}

.kpi-grid,
.overview-dashboard,
.executive-priority-grid,
.priority-dashboard,
.content-grid {
  gap: 22px !important;
}

.kpi-card,
.panel,
.table-panel,
.quality-list article,
.focus-card-grid article,
.review-kpi,
.action-panel,
.next-step-panel {
  background: #fff !important;
  border: 1px solid var(--skillset-line) !important;
  border-top: 4px solid var(--skillset-gold) !important;
  border-radius: 0 !important;
  box-shadow: 0 24px 70px rgba(8, 45, 33, .08) !important;
}

.kpi-card strong,
.review-kpi strong,
.summary-number,
.big-number {
  color: var(--skillset-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -.05em !important;
}

.panel h2,
.panel h3,
.table-panel h2,
.table-panel h3,
.section-heading h2 {
  color: var(--skillset-ink) !important;
  font-weight: 600 !important;
  letter-spacing: -.055em !important;
}

.workbook-file-drop,
.connector-row,
.drop-zone {
  background: #fff !important;
  border: 2px dashed rgba(6, 60, 37, .34) !important;
  border-radius: 0 !important;
  color: var(--skillset-ink) !important;
  box-shadow: 0 25px 70px rgba(8, 45, 33, .08) !important;
}

.workbook-file-drop:hover,
.connector-row:hover,
.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--skillset-gold) !important;
  background: #fffdf0 !important;
}

.connector-icon {
  background: var(--skillset-green-3) !important;
  color: #fff !important;
  border: 0 !important;
}

.import-summary,
.warning,
.status-card.warning,
.quality-list article.warn,
.quality-list article.attention {
  border-left: 5px solid #d63b3b !important;
  background: #fff7f7 !important;
}

.status-card.ok,
.quality-list article.ok {
  border-left: 5px solid var(--skillset-green-3) !important;
  background: #f2fbf5 !important;
}

.badge,
.pill,
.mode-badge {
  border-radius: 999px !important;
  background: #fff9d8 !important;
  border-color: #ffe08a !important;
  color: #684c00 !important;
  font-weight: 800 !important;
}

table {
  border-collapse: collapse !important;
}

thead th {
  background: #f4f8f5 !important;
  color: var(--skillset-green) !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

tbody tr:hover {
  background: #fffdf0 !important;
}

@media (max-width: 1100px) {
  .sidebar {
    position: relative !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .nav {
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  .nav-item {
    flex: 0 0 auto !important;
  }

  .executive-hero,
  .workbook-hero,
  .page-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .sidebar {
    min-height: auto !important;
    padding: 16px 18px !important;
  }

  .brand {
    min-width: 0;
  }

  .brand strong,
  #clientLogoFallback {
    font-size: 20px !important;
  }

  .brand span {
    font-size: 8px !important;
    letter-spacing: .22em !important;
  }

  .nav {
    gap: 14px !important;
  }

  .nav-item {
    min-height: 38px !important;
    font-size: 12px !important;
  }

  .view {
    padding: 22px 18px !important;
  }

  .executive-hero,
  .workbook-hero,
  .page-hero {
    margin-left: -18px !important;
    margin-right: -18px !important;
    padding: 48px 22px !important;
  }

  .executive-hero h2,
  .workbook-hero h2,
  .page-hero h2 {
    font-size: clamp(38px, 15vw, 58px) !important;
  }
}

/* =========================================================
   SKILLSET SA 9.5 PRODUCT PASS
   Scanner-grade workbook loading + cleaner commercial demo
   ========================================================= */
:root {
  --skillset-green: #063c25;
  --skillset-green-2: #075331;
  --skillset-green-3: #107c41;
  --skillset-deep: #022b1a;
  --skillset-gold: #ffcc00;
  --skillset-red: #c93a3a;
  --skillset-paper: #f8faf6;
  --skillset-line: #d8e4dc;
}

.executive-hero,
.scanner-import-hero {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  background:
    linear-gradient(90deg, rgba(2, 43, 26, .98), rgba(6, 60, 37, .94) 46%, rgba(21, 94, 45, .88)),
    radial-gradient(circle at 82% 20%, rgba(255, 204, 0, .11), transparent 34%) !important;
  color: #fff !important;
  box-shadow: 0 28px 80px rgba(2, 43, 26, .18) !important;
}

.executive-hero::before,
.scanner-import-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  opacity: .65 !important;
}

.executive-hero::after,
.scanner-import-hero::after {
  content: "" !important;
  position: absolute !important;
  right: -160px !important;
  bottom: -220px !important;
  width: 520px !important;
  height: 520px !important;
  border: 1px solid rgba(255, 204, 0, .42) !important;
  border-radius: 50% !important;
  opacity: .7 !important;
}

.executive-hero > *,
.scanner-import-hero > * {
  position: relative !important;
  z-index: 1 !important;
}

.executive-hero .hero-copy,
.scanner-import-hero .hero-copy {
  max-width: 760px !important;
}

.executive-hero .hero-copy h2,
.scanner-import-hero .hero-copy h2 {
  color: #fff !important;
  font-size: clamp(54px, 7vw, 96px) !important;
  font-weight: 500 !important;
  letter-spacing: -.075em !important;
  line-height: .92 !important;
  margin: 20px 0 22px !important;
}

.executive-hero .hero-copy p,
.scanner-import-hero .hero-copy p,
.executive-hero .hero-copy small,
.scanner-import-hero .hero-copy small {
  color: rgba(255, 255, 255, .86) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}

.hero-diagnostic-card,
.scanner-drop-card {
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-top: 5px solid var(--skillset-gold) !important;
  background: rgba(2, 43, 26, .82) !important;
  color: #fff !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18) !important;
}

.hero-diagnostic-card h3,
.scanner-drop-card h3 {
  color: #fff !important;
  font-size: clamp(28px, 3vw, 44px) !important;
  font-weight: 500 !important;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
  margin: 10px 0 14px !important;
}

.hero-diagnostic-card p,
.scanner-drop-card p,
.hero-diagnostic-card small,
.scanner-drop-card small {
  color: rgba(255, 255, 255, .78) !important;
}

.mini-proof-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.mini-proof-grid span {
  border: 1px solid rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .05) !important;
  padding: 12px !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.mini-proof-grid strong {
  display: block !important;
  color: var(--skillset-gold) !important;
  font-size: 12px !important;
  letter-spacing: .16em !important;
  margin-bottom: 6px !important;
}

.compact-filter-row {
  display: flex !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.compact-filter-row select {
  min-width: 0 !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .2) !important;
  color: #fff !important;
}

.scanner-drop-card .quick-actions {
  display: grid !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

.scanner-grade-loader {
  display: grid !important;
  gap: 18px !important;
}

.scanner-loader-copy {
  max-width: 560px !important;
}

.scanner-upload-zone {
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  padding: 34px !important;
  border: 2px dashed rgba(255, 255, 255, .38) !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .1), transparent 34%),
    rgba(255, 255, 255, .055) !important;
  color: #fff !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.scanner-upload-zone input {
  display: none !important;
}

.scanner-upload-zone:hover,
.scanner-upload-zone.dragover {
  transform: translateY(-2px) !important;
  border-color: var(--skillset-gold) !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 230, 70, .14), transparent 34%),
    rgba(255, 255, 255, .08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22) !important;
}

.scanner-upload-zone.has-workbook {
  border-style: solid !important;
  border-color: rgba(78, 213, 126, .72) !important;
}

.scanner-upload-zone.is-applied {
  border-color: var(--skillset-gold) !important;
}

.excel-sheet-icon {
  width: 74px !important;
  height: 86px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #2d8c4a, #176f38) !important;
  color: #fff !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  clip-path: polygon(0 0, 72% 0, 100% 25%, 100% 100%, 0 100%) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .25) !important;
}

.scanner-upload-zone strong {
  color: #fff !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  font-weight: 700 !important;
  letter-spacing: -.04em !important;
}

.scanner-upload-zone small {
  color: rgba(255, 255, 255, .82) !important;
  font-size: 14px !important;
}

.scanner-upload-zone em {
  margin-top: 4px !important;
  color: rgba(255, 255, 255, .62) !important;
  font-size: 12px !important;
  font-style: normal !important;
}

.loader-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) !important;
  gap: 12px !important;
}

.loader-actions button {
  min-height: 48px !important;
}

.sample-action {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  color: #fff !important;
}

.scanner-drop-card .workbook-file-drop {
  border: 1px dashed rgba(255, 255, 255, .35) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
}

.scanner-drop-card .workbook-step {
  border-color: rgba(255, 255, 255, .18) !important;
  background: rgba(255, 255, 255, .055) !important;
  color: #fff !important;
}

.scanner-drop-card .workbook-step span {
  color: var(--skillset-gold) !important;
}

.hero-checks {
  display: grid !important;
  gap: 0 !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  max-width: 560px !important;
  border-top: 1px solid rgba(255, 255, 255, .16) !important;
}

.hero-checks li {
  position: relative !important;
  padding: 15px 0 15px 28px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
  color: rgba(255, 255, 255, .88) !important;
}

.hero-checks li::before {
  content: "□" !important;
  position: absolute !important;
  left: 0 !important;
  top: 15px !important;
  color: var(--skillset-gold) !important;
  font-size: 11px !important;
}

.import-workbench {
  align-items: start !important;
  margin-top: 28px !important;
}

.import-impact-panel {
  background: #fff !important;
  border-top: 5px solid var(--skillset-gold) !important;
}

.diagnostic-pair {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

.diagnostic-empty {
  grid-template-columns: 1fr !important;
}

.diagnostic-card {
  padding: 18px !important;
  border: 1px solid var(--skillset-line) !important;
  background: var(--skillset-paper) !important;
}

.diagnostic-card span {
  display: block !important;
  color: var(--skillset-green-3) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.diagnostic-card strong {
  display: block !important;
  color: var(--skillset-deep) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: -.06em !important;
  line-height: 1 !important;
  margin: 12px 0 8px !important;
}

.diagnostic-card p {
  margin: 0 !important;
  color: #52675d !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.diagnostic-card.stable {
  border-top: 5px solid var(--skillset-green-3) !important;
  background: #f2fbf5 !important;
}

.diagnostic-card.problem {
  border-top: 5px solid var(--skillset-red) !important;
  background: #fff4f4 !important;
}

.diagnostic-card.problem span,
.diagnostic-card.problem strong {
  color: #9d2424 !important;
}

.diagnostic-card.process {
  border-top: 5px solid var(--skillset-gold) !important;
}

.import-next-step-panel {
  background: var(--skillset-green) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-top: 5px solid var(--skillset-gold) !important;
  color: #fff !important;
}

.import-next-step-panel h3,
.import-next-step-panel .panel-head h3 {
  color: #fff !important;
}

.scanner-next-step {
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  gap: 12px !important;
  padding: 16px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .16) !important;
}

.scanner-next-step span {
  color: var(--skillset-gold) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
}

.scanner-next-step strong {
  color: #fff !important;
  font-size: 16px !important;
}

.scanner-next-step p {
  grid-column: 2 !important;
  margin: -4px 0 0 !important;
  color: rgba(255, 255, 255, .74) !important;
}

@media (max-width: 980px) {
  .diagnostic-pair,
  .mini-proof-grid {
    grid-template-columns: 1fr !important;
  }

  .compact-filter-row {
    flex-direction: column !important;
  }

  .executive-hero .hero-copy h2,
  .scanner-import-hero .hero-copy h2 {
    font-size: clamp(42px, 13vw, 72px) !important;
  }
}

/* SkillSet branded fallback mark for white-label demo states */
.brand-mark.skillset-mark {
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 50% 76%, rgba(255, 204, 0, .16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12) !important;
  overflow: hidden !important;
}

.skillset-fallback-mark {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.skillset-leaf,
.skillset-trunk {
  position: absolute;
  display: block;
}

.skillset-leaf {
  width: 26px;
  height: 22px;
  border-radius: 88% 12% 88% 18%;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .22));
}

.skillset-leaf.leaf-a {
  left: 17px;
  top: 8px;
  background: linear-gradient(135deg, #b7d600, #1f9d50 62%, #00735f);
  transform: rotate(-6deg);
}

.skillset-leaf.leaf-b {
  left: 7px;
  top: 22px;
  background: linear-gradient(135deg, #8ed03b, #107c41 58%, #005f55);
  transform: rotate(-36deg);
}

.skillset-leaf.leaf-c {
  right: 7px;
  top: 22px;
  background: linear-gradient(135deg, #9fd843, #0e7a45 58%, #00605b);
  transform: scaleX(-1) rotate(-36deg);
}

.skillset-leaf.leaf-d {
  left: 20px;
  top: 27px;
  background: linear-gradient(135deg, #19b66a, #00735f 70%, #004c43);
  transform: rotate(45deg) scale(.88);
}

.skillset-trunk {
  left: 29px;
  top: 30px;
  width: 7px;
  height: 27px;
  background: linear-gradient(180deg, #fff 0 35%, #f2f6ef 36% 100%);
  clip-path: polygon(42% 0, 58% 0, 72% 100%, 20% 100%);
}

.skillset-trunk::before,
.skillset-trunk::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 20px;
  height: 4px;
  background: #fff;
}

.skillset-trunk::before {
  right: 2px;
  transform: rotate(-38deg);
  transform-origin: right center;
}

.skillset-trunk::after {
  left: 2px;
  transform: rotate(38deg);
  transform-origin: left center;
}

@media (max-width: 920px) {
  .brand-mark.skillset-mark {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
  }
}

/* =========================================================
   2026-07-23 FINAL 9.5 VISUAL LIFT
   Bring the WSP demo closer to the SkillSet website/scanner standard.
   ========================================================= */

:root {
  --skillset-green: #063c25;
  --skillset-green-2: #075331;
  --skillset-green-3: #107c41;
  --skillset-deep: #032b1a;
  --skillset-gold: #ffcc00;
  --skillset-paper: #f7faf7;
  --skillset-ink: #082d21;
  --skillset-muted: #60766b;
  --skillset-line: rgba(8, 45, 33, .14);
  --skillset-red: #c73535;
}

body {
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 204, 0, .08), transparent 28%),
    linear-gradient(135deg, #031b12 0%, #063c25 52%, #0e7a45 100%) !important;
  color: var(--skillset-ink) !important;
  font-family: "DM Sans", Arial, Helvetica, sans-serif !important;
}

.app {
  background:
    linear-gradient(90deg, rgba(3, 43, 26, .98), rgba(7, 83, 49, .88)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 88px) !important;
}

.sidebar {
  background:
    radial-gradient(circle at 62% 4%, rgba(255, 204, 0, .10), transparent 30%),
    linear-gradient(180deg, #032b1a 0%, #063c25 58%, #042217 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 22px 0 70px rgba(0, 0, 0, .18) !important;
}

.brand {
  align-items: center !important;
  padding-bottom: 26px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
}

.brand strong {
  color: #fff !important;
  font-size: 22px !important;
  letter-spacing: -.04em !important;
}

.brand span {
  color: var(--skillset-gold) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
}

.nav {
  gap: 10px !important;
  margin-top: 26px !important;
}

.nav-item {
  min-height: 58px !important;
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.82) !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
}

.nav-item:hover {
  transform: translateX(4px) !important;
  border-color: rgba(255, 204, 0, .38) !important;
}

.nav-item.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(255, 204, 0, .16), rgba(255,255,255,.055)) !important;
  border-color: rgba(255, 204, 0, .48) !important;
  box-shadow: inset 4px 0 0 var(--skillset-gold) !important;
}

.nav-item .ico {
  background: rgba(255, 204, 0, .10) !important;
  border: 1px solid rgba(255, 204, 0, .34) !important;
  color: var(--skillset-gold) !important;
  font-weight: 900 !important;
}

.sidebar-footer {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
}

.sidebar-footer span:not(.dataverse-dot) {
  color: rgba(255,255,255,.72) !important;
}

.main {
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 204, 0, .10), transparent 30%),
    linear-gradient(180deg, rgba(247,250,247,.98) 0%, rgba(247,250,247,.96) 100%) !important;
}

.topbar {
  min-height: 98px !important;
  background: rgba(247,250,247,.92) !important;
  border-bottom: 1px solid rgba(8, 45, 33, .10) !important;
  backdrop-filter: blur(18px) !important;
}

.topbar h1 {
  color: var(--skillset-ink) !important;
  font-size: clamp(24px, 2.5vw, 36px) !important;
  font-weight: 650 !important;
  letter-spacing: -.055em !important;
}

.topbar p,
.mode-badge span {
  color: var(--skillset-muted) !important;
}

.mode-badge {
  background: #fff !important;
  border: 1px solid var(--skillset-line) !important;
  border-top: 4px solid var(--skillset-gold) !important;
  box-shadow: 0 22px 48px rgba(8, 45, 33, .08) !important;
}

.mode-badge strong {
  color: var(--skillset-green) !important;
}

.view {
  padding: clamp(24px, 4vw, 54px) !important;
}

.executive-hero,
.workbook-hero {
  position: relative !important;
  min-height: 600px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background:
    radial-gradient(circle at 93% 78%, transparent 0 17%, rgba(255, 204, 0, .44) 17.1% 17.3%, transparent 17.45%),
    radial-gradient(circle at 82% 18%, rgba(255, 204, 0, .10), transparent 25%),
    linear-gradient(90deg, rgba(3, 43, 26, .98), rgba(7, 83, 49, .92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 92px) !important;
  box-shadow: 0 34px 90px rgba(3, 43, 26, .18) !important;
}

.executive-hero::before,
.workbook-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(3, 43, 26, .62), transparent 58%) !important;
  pointer-events: none !important;
}

.hero-copy,
.hero-diagnostic-card,
.scanner-drop-card {
  position: relative !important;
  z-index: 1 !important;
}

.demo-badge,
.eyebrow {
  color: var(--skillset-gold) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
}

.demo-badge::before {
  background: var(--skillset-gold) !important;
}

.executive-hero .hero-copy h2,
.scanner-import-hero .hero-copy h2 {
  max-width: 820px !important;
  color: #fff !important;
  font-size: clamp(58px, 6.3vw, 104px) !important;
  font-weight: 520 !important;
  line-height: .93 !important;
  letter-spacing: -.075em !important;
}

.executive-hero .hero-copy p,
.scanner-import-hero .hero-copy p {
  max-width: 720px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: clamp(18px, 1.4vw, 23px) !important;
  line-height: 1.48 !important;
}

.executive-hero .hero-copy small {
  display: block !important;
  max-width: 700px !important;
  margin-top: 28px !important;
  color: rgba(255,255,255,.64) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.hero-diagnostic-card,
.scanner-drop-card,
.panel.import-next-step-panel {
  background: rgba(3, 43, 26, .92) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-top: 6px solid var(--skillset-gold) !important;
  box-shadow: 0 36px 80px rgba(0,0,0,.22) !important;
}

.hero-diagnostic-card h3,
.scanner-drop-card h3 {
  color: #fff !important;
  font-size: clamp(28px, 2.4vw, 42px) !important;
  font-weight: 560 !important;
  line-height: 1 !important;
  letter-spacing: -.06em !important;
}

.hero-diagnostic-card p,
.scanner-drop-card p {
  color: rgba(255,255,255,.74) !important;
}

.primary,
button.primary {
  background: var(--skillset-gold) !important;
  color: #062819 !important;
  border: 1px solid var(--skillset-gold) !important;
  box-shadow: 0 18px 40px rgba(255, 204, 0, .18) !important;
}

button:not(.nav-item):not(.primary):not(.icon-button),
.action-tile-grid button {
  border-color: rgba(8,45,33,.18) !important;
}

.mini-proof-grid span {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.82) !important;
}

.mini-proof-grid strong {
  color: var(--skillset-gold) !important;
}

.product-path-strip {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  max-width: 1180px !important;
  margin: -58px auto 34px !important;
  background: #fff !important;
  border: 1px solid var(--skillset-line) !important;
  border-bottom: 5px solid var(--skillset-gold) !important;
  box-shadow: 0 38px 80px rgba(8,45,33,.12) !important;
}

.product-path-strip article {
  padding: 24px 26px !important;
  border-right: 1px solid var(--skillset-line) !important;
}

.product-path-strip article:last-child {
  border-right: 0 !important;
}

.product-path-strip span {
  color: var(--skillset-green-3) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.product-path-strip strong {
  display: block !important;
  margin: 6px 0 !important;
  color: var(--skillset-ink) !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

.product-path-strip small {
  color: var(--skillset-muted) !important;
  line-height: 1.45 !important;
}

.kpi-card,
.panel,
.readiness-score-card {
  background: #fff !important;
  border: 1px solid var(--skillset-line) !important;
  box-shadow: 0 24px 64px rgba(8,45,33,.08) !important;
}

.kpi-card {
  border-top: 5px solid var(--skillset-green-3) !important;
}

.kpi-card:nth-child(2),
.kpi-card:nth-child(5) {
  border-top-color: var(--skillset-gold) !important;
}

.kpi-card strong,
.summary-tile strong,
.readiness-score strong {
  color: var(--skillset-ink) !important;
  font-weight: 650 !important;
  letter-spacing: -.055em !important;
}

.quality-centre,
.reporting-gaps-panel,
.focus-areas-panel,
.financial-impact {
  border-top: 5px solid var(--skillset-gold) !important;
}

.quality-card,
.focus-card-grid article,
.summary-tile,
.relationship-kpis .kpi-card {
  border: 1px solid var(--skillset-line) !important;
  background: linear-gradient(180deg, #fff, #fbfdfb) !important;
}

.scanner-import-hero {
  grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr) !important;
}

.scanner-drop-card {
  padding: clamp(28px, 3vw, 46px) !important;
}

.workbook-file-drop,
.connector-row {
  background: rgba(255,255,255,.05) !important;
  border: 1px dashed rgba(255,255,255,.34) !important;
  color: #fff !important;
}

.workbook-file-drop small,
.connector-row small,
.security-note {
  color: rgba(255,255,255,.68) !important;
}

.scanner-drop-card .scanner-upload-zone {
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  padding: 34px !important;
  border: 2px dashed rgba(255,255,255,.38) !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.1), transparent 34%),
    rgba(255,255,255,.055) !important;
}

.scanner-drop-card .scanner-upload-zone:hover,
.scanner-drop-card .scanner-upload-zone.dragover {
  border-color: var(--skillset-gold) !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 230, 70, .14), transparent 34%),
    rgba(255,255,255,.08) !important;
}

.scanner-drop-card .scanner-upload-zone.has-workbook {
  border-style: solid !important;
  border-color: rgba(78, 213, 126, .72) !important;
}

.scanner-drop-card .scanner-upload-zone.is-applied {
  border-color: var(--skillset-gold) !important;
}

.import-impact-panel {
  border-left: 6px solid var(--skillset-red) !important;
}

.diagnostic-pair {
  grid-template-columns: 1fr 1fr 1fr !important;
}

.diagnostic-card {
  min-height: 168px !important;
}

.diagnostic-card.stable {
  border-top-color: var(--skillset-green-3) !important;
  background: linear-gradient(180deg, #f1fbf4, #fff) !important;
}

.diagnostic-card.problem {
  border-top-color: var(--skillset-red) !important;
  background: linear-gradient(180deg, #fff2f2, #fff) !important;
}

.diagnostic-card.process {
  background: linear-gradient(180deg, #fffbe8, #fff) !important;
}

.issue-item.high,
.issue-card.high {
  border-left-color: var(--skillset-red) !important;
}

.status-pill {
  border-radius: 0 !important;
  background: #fff8d4 !important;
  border-color: rgba(255,204,0,.52) !important;
  color: var(--skillset-green) !important;
  font-weight: 900 !important;
}

.workflow-strip {
  background: var(--skillset-green) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 28px 70px rgba(8,45,33,.14) !important;
}

.workflow-strip span {
  border-right: 1px solid rgba(255,255,255,.16) !important;
}

.table-wrap th {
  background: #f1f6f3 !important;
  color: var(--skillset-green) !important;
}

@media (max-width: 1180px) {
  .executive-hero,
  .workbook-hero,
  .scanner-import-hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .product-path-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: -34px !important;
  }
}

@media (max-width: 760px) {
  .view {
    padding: 18px !important;
  }

  .product-path-strip,
  .diagnostic-pair {
    grid-template-columns: 1fr !important;
  }

  .product-path-strip article {
    border-right: 0 !important;
    border-bottom: 1px solid var(--skillset-line) !important;
  }

  .executive-hero .hero-copy h2,
  .scanner-import-hero .hero-copy h2 {
    font-size: clamp(42px, 13vw, 68px) !important;
  }
}

/* =========================================================
   2026-07-23 — product command pass
   Purpose: make the WSP demo feel like the SkillSet scanner,
   not a dressed-up spreadsheet dashboard.
   ========================================================= */

.product-command-hero {
  grid-template-columns: minmax(520px, .9fr) minmax(560px, .78fr) !important;
  gap: clamp(56px, 7vw, 128px) !important;
  align-items: center !important;
  min-height: clamp(720px, 82vh, 880px) !important;
  padding-top: clamp(78px, 9vh, 122px) !important;
  padding-bottom: clamp(92px, 10vh, 142px) !important;
  background:
    linear-gradient(90deg, rgba(3, 30, 19, .98) 0%, rgba(4, 47, 29, .96) 46%, rgba(28, 90, 42, .94) 100%),
    radial-gradient(circle at 72% 52%, rgba(255, 204, 0, .12), transparent 34%) !important;
}

.product-command-hero::before {
  opacity: .54 !important;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 58%, rgba(42, 147, 79, .34), transparent 35%) !important;
  background-size: 72px 72px, 72px 72px, cover !important;
}

.product-command-hero::after {
  right: -210px !important;
  bottom: -240px !important;
  width: 620px !important;
  height: 620px !important;
  border-color: rgba(255, 204, 0, .34) !important;
  opacity: .76 !important;
}

.product-command-hero .hero-copy {
  max-width: 780px !important;
}

.product-command-hero .hero-copy h2 {
  max-width: 800px !important;
  font-size: clamp(64px, 6.8vw, 112px) !important;
  font-weight: 490 !important;
  line-height: .91 !important;
  letter-spacing: -.085em !important;
}

.product-command-hero .hero-copy p {
  max-width: 720px !important;
  margin-top: 28px !important;
}

.hero-action-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-top: 34px !important;
}

.secondary-hero-action {
  min-height: 52px !important;
  padding: 0 24px !important;
  background: rgba(255,255,255,.03) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.secondary-hero-action:hover,
.secondary-hero-action:focus-visible {
  background: rgba(255,255,255,.12) !important;
  border-color: var(--skillset-gold) !important;
}

.command-diagnostic-card {
  max-width: 650px !important;
  width: 100% !important;
  padding: 0 !important;
  align-self: center !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(3, 43, 26, .96), rgba(2, 32, 20, .98)) !important;
  border-top-width: 6px !important;
  box-shadow: 0 44px 96px rgba(0,0,0,.34) !important;
}

.command-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 26px 30px 0 !important;
}

.command-card-head strong {
  color: rgba(255,255,255,.68) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.command-diagnostic-card h3 {
  padding: 16px 30px 24px !important;
  max-width: 560px !important;
  font-size: clamp(32px, 2.8vw, 48px) !important;
  font-weight: 480 !important;
  line-height: .98 !important;
  letter-spacing: -.07em !important;
}

.triage-signal-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  border-top: 1px solid rgba(255,255,255,.16) !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

.triage-signal-grid article {
  min-height: 164px !important;
  padding: 22px 20px !important;
  border-right: 1px solid rgba(255,255,255,.13) !important;
  border-top: 5px solid var(--signal, var(--skillset-gold)) !important;
  background: rgba(255,255,255,.035) !important;
}

.triage-signal-grid article:last-child {
  border-right: 0 !important;
}

.signal-risk { --signal: #cf2e2e; }
.signal-watch { --signal: #ffcc00; }
.signal-stable { --signal: #2faf5b; }

.triage-signal-grid article span {
  display: inline-block !important;
  margin-bottom: 12px !important;
  color: var(--signal) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

.triage-signal-grid article strong {
  display: block !important;
  margin-bottom: 10px !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 650 !important;
  letter-spacing: -.05em !important;
}

.triage-signal-grid article small {
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  line-height: 1.48 !important;
}

.command-flow-preview {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  background: rgba(255,255,255,.045) !important;
}

.command-flow-preview span {
  min-height: 76px !important;
  padding: 18px 20px !important;
  color: rgba(255,255,255,.78) !important;
  border-right: 1px solid rgba(255,255,255,.13) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.command-flow-preview span:last-child {
  border-right: 0 !important;
}

.command-flow-preview strong {
  display: block !important;
  margin-bottom: 6px !important;
  color: var(--skillset-gold) !important;
  font-size: 12px !important;
  letter-spacing: .14em !important;
}

.command-filter-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 18px 22px 22px !important;
  background: rgba(2, 28, 18, .82) !important;
  border: 0 !important;
}

.command-filter-row select {
  min-height: 54px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.24) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.product-command-hero + .product-path-strip {
  max-width: 1260px !important;
  margin-top: -46px !important;
  border-bottom-width: 6px !important;
}

.product-command-hero + .product-path-strip article:first-child {
  box-shadow: inset 0 -6px 0 var(--skillset-gold) !important;
}

@media (max-width: 1320px) {
  .product-command-hero {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }

  .command-diagnostic-card {
    max-width: 860px !important;
  }
}

@media (max-width: 760px) {
  .product-command-hero {
    padding-top: 54px !important;
    padding-bottom: 84px !important;
  }

  .product-command-hero .hero-copy h2 {
    font-size: clamp(48px, 15vw, 72px) !important;
  }

  .triage-signal-grid,
  .command-flow-preview,
  .command-filter-row {
    grid-template-columns: 1fr !important;
  }

  .triage-signal-grid article,
  .command-flow-preview span {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
  }
}
