/* ==========================================================================
   Forsight Performance Management System - Core Stylesheet
   Design System, Components, Layouts, Overlays & Responsive Rules
   ========================================================================== */

:root {
  --ink: #172036;
  --muted: #71788e;
  --subtle: #a1a6b7;
  --line: #e8eaf2;
  --bg: #f6f7fb;
  --violet: #6941ff;
  --violet-2: #5A34F4;
  --violet-dark: #542de0;
  --lavender: #f1edff;
  --navy: #0b1120;
  --green: #119a74;
  --green-bg: #eafaF3;
  --amber: #d38b19;
  --amber-bg: #fff6e5;
  --red: #df5a68;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(16,24,40,.05),0 6px 20px -12px rgba(16,24,40,.10);
  --sidebar: 244px;
  --font: Inter,"Segoe UI",Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input,textarea,select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

button:disabled {
  cursor: wait;
  opacity: .6;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid #9f85ff;
  outline-offset: 3px;
}

h1,h2,h3,h4,p {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 650;
}

h1 {
  font-size: 34px;
  letter-spacing: -1.5px;
  line-height: 1.18;
}

h2 {
  font-size: 16px;
  letter-spacing: -.35px;
}

h3 {
  font-size: 15px;
  letter-spacing: -.2px;
}

p {
  color: var(--muted);
}

small {
  font-size: 11px;
}

.icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.icon.tiny {
  width: 14px;
  height: 14px;
}

.icon.small {
  width: 16px;
  height: 16px;
}

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

.subtle {
  color: var(--subtle);
}

.text-violet {
  color: var(--violet,#6941ff);
}

.text-green {
  color: #139366;
}

.text-amber {
  color: #b47712;
}

.text-red {
  color: var(--red);
}

.nowrap {
  white-space: nowrap;
}

.num {
  font-variant-numeric: tabular-nums;
}

.text-sm {
  font-size: 12px;
}

.text-xs {
  font-size: 11px;
}

.bold {
  font-weight: 650;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.full {
  width: 100%;
}

.grow {
  flex: 1;
}

.hidden {
  display: none!important;
}

.mb {
  margin-bottom: 20px;
}

.mt {
  margin-top: 20px;
}

.mb-sm {
  margin-bottom: 12px;
}

.mt-sm {
  margin-top: 12px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 750;
  margin-bottom: 9px;
}

.eyebrow.muted {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}

.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--navy);
  color: #b2bbcf;
  display: flex;
  flex-direction: column;
  z-index: 30;
  padding: 29px 17px 0;
  border-right: 1px solid #161e34;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 11px 27px;
}

.brand-mark {
  width: 37px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(145deg,#8a5aff,#542adf);
  border-radius: 11px;
  font-size: 25px;
  font-weight: 750;
  box-shadow: 0 5px 18px #6134f540;
  flex-shrink: 0;
  position: relative;
}

.brand-mark:after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7b4ff;
  position: absolute;
  right: 7px;
  bottom: 7px;
}

.brand-name {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.9px;
  color: #fff;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 9px;
  letter-spacing: .02em;
  color: #77819d;
  margin-top: 4px;
}

.workspace-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #273046;
  border-radius: 10px;
  padding: 10px 11px;
  margin: 0 6px 29px;
  font-size: 12px;
  color: #e5e8f3;
  background: #ffffff03;
}

.workspace-icon {
  width: 28px;
  height: 28px;
  background: #2d2848;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #d6caff;
  font-weight: 700;
  flex: none;
}

.workspace-chip small {
  display: block;
  color: #738097;
  font-size: 9px;
}

.nav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: #66748f;
  padding: 0 14px;
  margin-bottom: 9px;
}

.navigation {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #293146 transparent;
  flex: 1;
}

.navigation::-webkit-scrollbar {
  width: 6px;
}

.navigation::-webkit-scrollbar-track {
  background: transparent;
}

.navigation::-webkit-scrollbar-thumb {
  background-color: #293146;
  border-radius: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  color: #9da9c0;
  min-height: 43px;
  transition: background .15s,color .15s;
  width: 100%;
  text-align: left;
}

.nav-item .icon {
  width: 18px;
  height: 18px;
  opacity: .85;
}

.nav-item:hover {
  background: #ffffff08;
  color: #fff;
}

.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg,#5A34F4,#6941FF);
  box-shadow: 0 4px 16px #5025d028;
}

.nav-item.active .icon {
  opacity: 1;
}

.nav-item.child {
  margin-left: 20px;
  font-size: 11px;
  padding: 7px 12px;
  min-height: 31px;
  border-radius: 6px;
  gap: 11px;
  color: #929dbc;
}

.nav-item.child.active {
  background: #7b4dff28;
  color: #c8b4ff;
  box-shadow: none;
}

.nav-dot {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

.nav-section {
  border-top: 1px solid #242c4080;
  padding-top: 23px;
  margin-top: 25px;
}

.nav-section .nav-item {
  font-size: 11px;
  min-height: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-section .nav-item .icon {
  width: 16px;
  height: 16px;
}

.nav-section .nav-item:first-of-type {
  color: #cab8ff;
}

.sidebar-footer {
  padding: 17px 5px 20px;
  margin-top: 20px;
  border-top: 1px solid #263047;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.user-chip strong {
  color: #e8eafa;
  font-size: 11px;
  display: block;
}

.user-chip small {
  color: #71809d;
  font-size: 10px;
}

.user-chip>.icon {
  margin-left: auto;
  color: #65708a;
  width: 14px;
}

.sidebar-footnote {
  padding: 12px 2px 0;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #4c5a75;
}

.app-main {
  margin-left: var(--sidebar);
  min-height: 100vh;
}

.topbar {
  height: 75px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffee;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #9298ab;
  min-width: 0;
}

.breadcrumb strong {
  color: #51596e;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb .icon {
  width: 13px;
  height: 13px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.period-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  white-space: nowrap;
}

.period-button .icon {
  width: 14px;
  height: 14px;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9a9faf;
  font-size: 11px;
}

.search-trigger .icon {
  width: 16px;
  height: 16px;
}

kbd {
  font-size: 9px;
  font-family: inherit;
  border: 1px solid #e4e7ef;
  border-radius: 4px;
  padding: 2px 4px;
  color: #a1a6b7;
  background: #f9faff;
}

.top-separator {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.icon-button {
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  position: relative;
  color: #717b94;
}

.icon-button:hover {
  background: var(--lavender);
  color: var(--violet);
}

.icon-button .icon {
  width: 18px;
  height: 18px;
}

.notification-dot {
  position: absolute;
  top: 5px;
  right: 7px;
  background: #f07180;
  border: 2px solid white;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.avatar {
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1px;
  flex-shrink: 0;
  background: #efeaff;
  color: #6f4bc8;
  border: 2px solid white;
}

.avatar.small {
  width: 27px;
  height: 27px;
  font-size: 8px;
}

.avatar.large {
  width: 52px;
  height: 52px;
  font-size: 17px;
}

.avatar.xl {
  width: 70px;
  height: 70px;
  font-size: 22px;
}

.avatar.a1 {
  background: #e6f3ef;
  color: #358975;
}

.avatar.a2 {
  background: #fff0e2;
  color: #b88850;
}

.avatar.a3 {
  background: #e6edfc;
  color: #567dcc;
}

.avatar.a4 {
  background: #f9e8f0;
  color: #b2628a;
}

.avatar.a5 {
  background: #e9edf2;
  color: #657a8c;
}

.sidebar .avatar {
  border-color: #344056;
}

.main-content {
  padding: 32px 34px 36px;
  max-width: 1780px;
  margin: auto;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.page-head p {
  font-size: 12px;
  margin-top: 9px;
  max-width: 720px;
  line-height: 1.7;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.content-footer {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #adb1c0;
  font-size: 9px;
  letter-spacing: .2px;
}

.mobile-menu {
  display: none;
}

.role-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}

.role-notice .icon {
  width: 13px;
  height: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  transition: transform .12s,box-shadow .12s,background .12s;
}

.btn .icon {
  width: 15px;
  height: 15px;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg,#5A34F4,#6941FF);
  box-shadow: 0 3px 8px #623ef524;
  border-color: #5e38ed;
}

.btn.primary:hover {
  box-shadow: 0 5px 13px #623ef533;
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  border-color: #e1e4ef;
  color: #505b76;
}

.btn.secondary:hover {
  border-color: #bba8ff;
  background: #fbfaff;
}

.btn.soft {
  background: var(--lavender);
  color: var(--violet);
  border-color: #e7ddff;
}

.btn.ghost {
  color: var(--violet);
  padding: 7px 8px;
  min-height: 30px;
}

.btn.small {
  padding: 7px 10px;
  min-height: 31px;
  font-size: 10px;
}

.btn.danger {
  color: #cc5162;
  background: #fff3f4;
  border-color: #f8d9df;
}

.btn.green {
  background: var(--green);
  color: white;
}

.text-link {
  color: var(--violet);
  font-size: 11px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}

.text-link .icon {
  width: 13px;
  height: 13px;
}

.text-link:hover {
  text-decoration: underline;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field>span {
  font-size: 11px;
  font-weight: 600;
  color: #4e5870;
}

.field small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}

.field input,.field textarea,.field select,input.control,select.control,textarea.control,select {
  width: 100%;
  border: 1px solid #dfe3ee;
  border-radius: 8px;
  padding: 10px 12px;
  color: #27334e;
  background: #fff;
  font-size: 12px;
  line-height: 1.5;
  min-height: 40px;
  transition: border-color .15s;
}

.field input:focus,.field textarea:focus,.field select:focus {
  border-color: #b6a1ff;
  outline: 3px solid #f1edff;
}

.field input::placeholder,.field textarea::placeholder {
  color: #b1b5c3;
}

.field textarea {
  resize: vertical;
}

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group.thirds {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-section {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.form-section:first-child {
  padding-top: 0;
}

.form-section:last-child {
  border: 0;
}

.form-section h3 {
  margin-bottom: 15px;
}

.field-hint {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-error {
  color: #c5465a;
  background: #fff3f4;
  border: 1px solid #ffdce3;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 12px;
  margin-top: 16px;
  display: none;
}

.form-error:not(:empty) {
  display: block;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: #536078;
  cursor: pointer;
}

.checkbox-label input {
  accent-color: var(--violet);
  margin: 3px 0 0;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.checkbox-label strong {
  font-weight: 550;
  color: var(--ink);
  font-size: 12px;
  display: block;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f8f9fc;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
}

.search-field .icon {
  width: 14px;
  height: 14px;
  color: #9ba0b0;
}

.search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  width: 140px;
  min-width: 0;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.filter-row select {
  min-height: 31px;
  padding: 5px 24px 5px 8px;
  font-size: 10px;
  width: auto;
  max-width: 160px;
  border-radius: 7px;
}

.toggle-group {
  display: inline-flex;
  background: #f4f4fa;
  padding: 3px;
  border-radius: 8px;
  gap: 3px;
}

.toggle-group button {
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 10px;
  color: #8a91a5;
  display: flex;
  gap: 5px;
  align-items: center;
}

.toggle-group button.active {
  background: white;
  color: var(--violet);
  box-shadow: 0 2px 5px #1720360c;
}

.toggle-group .icon {
  width: 13px;
  height: 13px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid #e1e5ef;
  margin-bottom: 23px;
  overflow-x: auto;
}

.tab {
  padding: 5px 0 14px;
  white-space: nowrap;
  color: #8a91a5;
  font-size: 11px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab.active {
  color: var(--violet);
  border-bottom-color: var(--violet);
  font-weight: 650;
}

.count-badge {
  background: #ece9f8;
  color: #8b75ba;
  border-radius: 5px;
  font-size: 9px;
  padding: 2px 5px;
  margin-left: 5px;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.panel.flush {
  padding: 0;
  overflow: hidden;
}

.panel.flush .panel-head {
  padding: 22px 23px 17px;
  margin: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 21px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.panel-head p {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-box {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.icon-box .icon {
  width: 18px;
  height: 18px;
}

.violet {
  background: var(--lavender);
  color: var(--violet);
}

.green {
  background: var(--green-bg);
  color: var(--green);
}

.amber {
  background: var(--amber-bg);
  color: var(--amber);
}

.blue {
  background: #eef3ff;
  color: #5c86d5;
}

.red {
  background: #fff0f2;
  color: var(--red);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px;
}

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

.stat {
  padding: 17px 19px;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #788196;
  font-size: 11px;
}

.stat .icon-box {
  width: 29px;
  height: 29px;
  border-radius: 9px;
}

.stat .icon-box .icon {
  width: 15px;
  height: 15px;
}

.stat-value {
  display: block;
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 7px 0;
}

.stat-note {
  color: #9a9eb0;
  font-size: 9px;
}

.stat-note .pill {
  font-size: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 9px;
  line-height: 1.4;
  white-space: nowrap;
  font-weight: 500;
}

.pill-dot {
  width: 4px;
  height: 4px;
  display: block;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.priority {
  font-size: 9px;
  border-radius: 5px;
  padding: 4px 6px;
  display: inline-flex;
  white-space: nowrap;
  font-weight: 500;
  background: #eeeaff;
  color: #8052d7;
}

.priority.Growth {
  background: #ebfaf3;
  color: #359a78;
}

.priority.Customer {
  background: #fff4e7;
  color: #c99040;
}

.priority.Innovation {
  background: #eaf2ff;
  color: #5a8bd1;
}

.priority.People {
  background: #fff0f6;
  color: #d078a6;
}

.ring {
  --value: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 93px;
  height: 93px;
  border-radius: 50%;
  background: conic-gradient(var(--violet) calc(var(--value)*1%),#efedf9 0);
  flex-shrink: 0;
}

.ring:before {
  content: "";
  position: absolute;
  inset: 9px;
  background: white;
  border-radius: 50%;
}

.ring>div {
  position: relative;
  text-align: center;
}

.ring strong {
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -1px;
}

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

.ring span {
  display: block;
  color: #9a9fb3;
  font-size: 8px;
  margin-top: 4px;
}

.ring.green-ring {
  background: conic-gradient(#22b38c calc(var(--value)*1%),#e9f5f1 0);
}

.ring.small {
  width: 69px;
  height: 69px;
}

.ring.small:before {
  inset: 7px;
}

.ring.small strong {
  font-size: 22px;
}

.ring.large {
  width: 130px;
  height: 130px;
}

.ring.large:before {
  inset: 10px;
}

.ring.large strong {
  font-size: 39px;
}

.ring.large strong small {
  font-size: 17px;
}

.progress-wrap {
  min-width: 65px;
  max-width: 130px;
}

.progress-label {
  font-size: 10px;
  margin-bottom: 5px;
}

.progress-label strong {
  font-weight: 600;
}

.progress {
  height: 5px;
  border-radius: 5px;
  background: #edf0f5;
  overflow: hidden;
}

.progress>span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg,#4ecfa7,#179f78);
}

.progress.warning>span {
  background: linear-gradient(90deg,#f6d285,#e2a338);
}

.spark-bars {
  width: 70px;
  height: 36px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.spark-bars i {
  background: var(--violet);
  width: 7px;
  border-radius: 3px 3px 0 0;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid #e5e0f4;
  color: #8b72bf;
  background: #fbfaff;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
}

.source-chip:hover {
  background: var(--lavender);
  color: var(--violet);
}

.source-chip .icon {
  width: 11px;
  height: 11px;
}

.evidence-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.metric {
  font-size: 10px;
  white-space: nowrap;
  color: #444f6b;
}

.metric small {
  font-size: 8px;
  display: block;
  color: #a1a6b7;
  margin-top: 2px;
}

.metric b {
  font-weight: 650;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: auto;
}

.table-scroll {
  overflow-x: auto;
}

.data-table thead {
  background: #fafbfe;
}

.data-table th {
  text-align: left;
  font-size: 9px;
  font-weight: 500;
  color: #9a9fb1;
  letter-spacing: .1px;
  padding: 11px 14px;
  border-top: 1px solid #f0f1f7;
  border-bottom: 1px solid #eceef5;
  white-space: nowrap;
}

.data-table th:first-child,.data-table td:first-child {
  padding-left: 23px;
}

.data-table th:last-child,.data-table td:last-child {
  padding-right: 21px;
}

.data-table td {
  padding: 17px 14px;
  border-bottom: 1px solid #f0f1f6;
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tr:hover td {
  background: #fcfcff;
}

.data-table .table-title {
  font-size: 11px;
  font-weight: 550;
  color: #36425e;
  line-height: 1.5;
  display: block;
  text-align: left;
  padding: 0;
}

.data-table .table-title:hover {
  color: var(--violet);
}

.data-table .table-sub {
  color: #969dae;
  font-size: 9px;
  line-height: 1.55;
  display: block;
  margin-top: 4px;
  max-width: 230px;
}

.owner {
  display: flex;
  align-items: center;
  gap: 7px;
}

.owner strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
  white-space: nowrap;
}

.owner small {
  font-size: 8px;
  color: #9ba1b2;
  display: block;
}

.table-number {
  color: #a6aabd;
  font-size: 10px;
}

.table-foot {
  border-top: 1px solid var(--line);
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #a3a8b7;
}

.callout {
  display: flex;
  gap: 10px;
  border: 1px solid #e6ddff;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 11px;
  line-height: 1.8;
}

.callout .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.callout.amber {
  border-color: #f5e3c4;
}

.callout.green {
  border-color: #cfeee1;
}

.callout.red {
  border-color: #f7d9e0;
}

.callout strong {
  font-weight: 650;
}

.empty-state {
  padding: 50px 20px;
  text-align: center;
  max-width: 470px;
  margin: 0 auto;
}

.empty-state .empty-icon {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid #e9e2ff;
  background: var(--lavender);
  border-radius: 17px;
  margin: 0 auto 17px;
  color: #9875ed;
}

.empty-state .empty-icon .icon {
  width: 25px;
  height: 25px;
}

.empty-state h3 {
  font-size: 17px;
}

.empty-state p {
  font-size: 12px;
  margin: 9px auto 20px;
  line-height: 1.8;
}

.tag-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.legend {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #939aae;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) 268px;
  gap: 21px;
  align-items: start;
}

.content-columns>.primary-content {
  min-width: 0;
}

.right-rail {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.right-rail .panel {
  padding: 19px;
}

.ai-panel {
  background: linear-gradient(150deg,#f7f4ff,#fff);
  border-color: #e6def8;
}

.ai-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--violet);
}

.ai-heading h2 {
  color: #493b78;
  font-size: 15px;
  letter-spacing: -.4px;
}

.ai-heading>.icon {
  width: 20px;
  height: 20px;
}

.beta {
  font-size: 7px;
  background: #e9e2ff;
  color: #8c6fbd;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .5px;
}

.rail-description {
  font-size: 10px;
  margin-top: 9px;
  line-height: 1.7;
}

.ai-suggestions {
  display: flex;
  flex-direction: column;
  margin: 13px 0 15px;
}

.ai-suggestion {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebf8;
  width: 100%;
  min-width: 0;
}

.ai-suggestion:last-child {
  border: 0;
}

.ai-suggestion>span:nth-child(2) {
  flex: 1;
}

.ai-suggestion strong {
  font-size: 10px;
  line-height: 1.7;
  display: block;
  font-weight: 550;
  color: #626078;
}

.ai-suggestion small {
  font-size: 9px;
  line-height: 1.6;
  display: block;
  color: #a19aaf;
  margin-top: 3px;
}

.ai-suggestion:hover strong {
  color: var(--violet);
}

.ai-suggestion>.icon {
  color: #bfb1dd;
  width: 11px;
  height: 11px;
}

.suggestion-icon {
  width: 28px;
  height: 31px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.suggestion-icon .icon {
  width: 16px;
  height: 16px;
}

.ask-mini {
  width: 100%;
  border: 1px solid #e5dafa;
  border-radius: 9px;
  background: #fbf9ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  font-size: 10px;
  color: #9d8cb9;
  text-align: left;
  gap: 5px;
}

.ask-mini>.icon {
  width: 20px;
  height: 20px;
  padding: 4px;
  color: #fff;
  background: var(--violet);
  border-radius: 50%;
}

.ai-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  color: #afa5bd;
  line-height: 1.6;
  margin-top: 14px;
}

.ai-note .icon {
  width: 13px;
  height: 13px;
  opacity: .65;
}

.quality-body {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0 11px;
}

.quality-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 9px;
  color: #8b92a6;
}

.quality-check {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quality-check .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.quality-check.warning .icon {
  color: var(--amber);
}

.quality-footer {
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #a5aabb;
  padding-top: 13px;
  margin-top: 14px;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.resource-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #917ab4;
  font-size: 10px;
  padding: 0;
}

.resource-list .icon {
  width: 11px;
  height: 11px;
}

.planning-hero {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  background: linear-gradient(112deg,#f4f0ff,#f8f6ff 58%,#efebff);
  border: 1px solid #e9e2f8;
  border-radius: 17px;
  padding: 23px 25px;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
}

.planning-hero-content {
  z-index: 1;
  position: relative;
  max-width: 68%;
}

.planning-hero h2 {
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: -.8px;
  color: #443263;
  max-width: 460px;
}

.planning-hero p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 8px;
  color: #9285aa;
  max-width: 365px;
}

.mountain {
  position: absolute;
  width: 315px;
  height: 151px;
  right: -13px;
  bottom: 0;
  opacity: .85;
}

.hero-quote {
  position: absolute;
  right: 25px;
  top: 22px;
  width: 95px;
  color: #ada0c3;
  font-size: 10px;
  font-style: italic;
  line-height: 1.8;
  text-align: right;
  z-index: 2;
}

.outcomes-table .data-table td {
  padding-top: 19px;
  padding-bottom: 19px;
}

.outcomes-table .data-table th {
  font-size: 8px;
}

.outcomes-table .data-table td:first-child {
  padding-left: 19px;
  padding-right: 6px;
}

.outcomes-table .data-table td:nth-child(2) {
  min-width: 163px;
  max-width: 250px;
}

.outcomes-table .data-table .owner {
  min-width: 92px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0;
  margin: 0 0 24px;
}

.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-width: 0;
}

.step:last-child {
  flex: .82;
}

.step-dot {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ebedf5;
  color: #9ca3b5;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-dot .icon {
  width: 14px;
  height: 14px;
}

.step strong {
  font-size: 10px;
  font-weight: 550;
  color: #a5abbc;
  white-space: nowrap;
  background: var(--bg);
  padding-right: 7px;
  position: relative;
  z-index: 1;
}

.step-line {
  height: 1px;
  background: #e1e3ed;
  flex: 1;
  margin: 0 12px 0 4px;
}

.step.complete .step-dot {
  color: #fff;
  background: #26b18b;
}

.step.complete strong {
  color: #788e86;
}

.step.current .step-dot {
  color: white;
  background: var(--violet);
  box-shadow: 0 0 0 4px #ede7ff;
}

.step.current strong {
  color: var(--violet);
  font-weight: 650;
}

.next-steps .stepper {
  margin: 20px 0 0;
}

.next-steps .step strong {
  background: white;
  font-size: 9px;
}

.next-steps .step {
  gap: 8px;
}

.next-steps .step-dot {
  width: 27px;
  height: 27px;
}

.next-steps .step-line {
  margin-left: 3px;
  margin-right: 8px;
}

.outcome-summary {
  padding: 22px 24px;
  margin-bottom: 20px;
}

.outcome-summary h2 {
  font-size: 17px;
  margin: 5px 0 8px;
}

.summary-meta {
  display: flex;
  gap: 25px;
  margin-top: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item small {
  display: block;
  color: #a0a5b4;
  font-size: 8px;
}

.meta-item strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
}

.meta-item .icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.tree-canvas {
  position: relative;
  padding: 3px 0 0;
}

.tree-root {
  width: 225px;
  max-width: 370px;
  border: 1px solid #d8caf8;
  background: #f6f2ff;
  border-radius: 11px;
  margin: 0 auto 33px;
  padding: 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 3px 8px #6741a008;
}

.tree-root:after {
  content: "";
  width: 1px;
  height: 23px;
  background: #c9bddd;
  position: absolute;
  left: 50%;
  bottom: -24px;
}

.tree-root strong {
  font-size: 12px;
}

.tree-root small {
  font-size: 10px;
  display: block;
  color: #9b87b9;
  margin-top: 5px;
}

.driver-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 17px;
  position: relative;
}

.driver-grid:before {
  content: "";
  height: 1px;
  background: #c9bddd;
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  top: -11px;
}

.driver {
  position: relative;
  min-width: 0;
}

.driver:before {
  content: "";
  height: 10px;
  width: 1px;
  background: #c9bddd;
  position: absolute;
  left: 50%;
  top: -11px;
}

.driver-head {
  padding: 15px 12px;
  border-radius: 11px;
  background: #f1faf7;
  border: 1px solid #ddf1e8;
  min-height: 151px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.driver:nth-child(2) .driver-head {
  background: #f0f5ff;
  border-color: #e0e9fb;
}

.driver:nth-child(3) .driver-head {
  background: #fff8ec;
  border-color: #f6e9d1;
}

.driver-head strong {
  font-size: 11px;
  display: block;
}

.driver-head p {
  font-size: 11px;
  margin-top: 5px;
  color: #8c9a99;
  line-height: 1.55;
  margin: 0;
}

.driver-head .icon {
  width: 15px;
  height: 15px;
  color: #39a482;
  margin-right: 4px;
}

.driver:nth-child(2) .driver-head .icon {
  color: #6a9ae0;
}

.driver:nth-child(3) .driver-head .icon {
  color: #d4a14e;
}

.driver-estimate {
  padding: 12px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  position: relative;
  flex-wrap: wrap;
  border-bottom: 1px solid #eff0f5;
}

.driver-estimate:after {
  content: "";
  height: 10px;
  width: 1px;
  background: #dcd6e8;
  position: absolute;
  bottom: 1px;
  left: 50%;
}

.native-input {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 5px;
  width: 44px;
  text-align: center;
  font-weight: 650;
  font-size: 11px;
  color: #715c9c;
  padding: 3px 0;
}

.native-input:hover,.native-input:focus {
  border-color: #d6c8ee;
  background: white;
}

.function-assignments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  margin-top: 9px;
}

.function-assignments:before {
  content: "";
  height: 1px;
  background: #ddd6e8;
  position: absolute;
  top: -8px;
  left: 24%;
  right: 24%;
}

.function-assignment {
  border: 1px solid #e8e8f0;
  border-radius: 9px;
  padding: 10px 7px;
  text-align: center;
  position: relative;
  background: white;
  min-width: 0;
}

.function-assignment:before {
  content: "";
  height: 7px;
  width: 1px;
  background: #ddd6e8;
  position: absolute;
  top: -8px;
  left: 50%;
}

.function-assignment strong {
  display: block;
  font-size: 8px;
  color: #81829b;
  white-space: normal;
}

.function-assignment .icon {
  width: 14px;
  height: 14px;
  color: #a892c6;
  margin-bottom: 6px;
}

.function-assignment input[type=text] {
  border: 0;
  background: transparent;
  width: 100%;
  text-align: center;
  font-size: 9px;
  color: #5f687f;
  padding: 2px;
}

.function-assignment .estimate-line {
  margin-top: 5px;
  font-size: 8px;
  color: #968aa9;
}

.function-assignment .native-input {
  font-size: 10px;
  width: 35px;
}

.function-assignments+.driver-footer {
  font-size: 8px;
  color: #aba4b9;
  text-align: center;
  padding: 10px 0;
}

.allocation-bar {
  display: flex;
  height: 24px;
  border-radius: 7px;
  overflow: hidden;
  width: 100%;
  margin: 17px 0 12px;
}

.allocation-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  background: #8c68df;
}

.allocation-bar span:nth-child(2) {
  background: #749fea;
}

.allocation-bar span:nth-child(3) {
  background: #efc15f;
}

.allocation-inputs {
  display: grid;
  align-items: center;
  gap: 8px;
  grid-template-columns: 1fr;
}

.allocation-inputs label {
  font-size: 9px;
  color: #9a93a9;
  display: grid;
  align-items: center;
  gap: 8px;
  grid-template-columns: 1fr 52px 16px;
}

.allocation-inputs input {
  width: 52px;
  font-size: 10px;
  padding: 6px;
  border: 1px solid #e7e2f1;
  border-radius: 5px;
  text-align: center;
}

.rail-editor textarea {
  border: 0;
  resize: vertical;
  width: 100%;
  padding: 0;
  background: transparent;
  font-size: 10px;
  line-height: 1.9;
  color: #9096a9;
  min-height: 78px;
  outline-color: #c2b1f1;
}

.rail-editor .panel-head {
  margin-bottom: 12px;
}

.rail-editor h2 {
  font-size: 12px;
}

.rail-editor .icon-box {
  width: 25px;
  height: 25px;
}

.rail-editor .icon-box .icon {
  width: 14px;
}

.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.welcome-hero {
  background: linear-gradient(120deg,#eeebff,#f7f5ff 65%,#eef2ff);
  border: 1px solid #e3dff4;
  border-radius: 18px;
  padding: 25px 27px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 163px;
  margin-bottom: 23px;
}

.welcome-hero h2 {
  font-size: 25px;
  letter-spacing: -.8px;
  line-height: 1.3;
  max-width: 520px;
}

.welcome-hero p {
  font-size: 12px;
  max-width: 480px;
  margin-top: 9px;
  line-height: 1.9;
}

.welcome-hero .hero-emblem {
  font-size: 140px;
  line-height: 1;
  color: #d2c7f860;
  font-weight: 800;
  letter-spacing: -15px;
  padding-right: 30px;
  transform: rotate(-8deg);
  -webkit-user-select: none;
  user-select: none;
}

.hero-status {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #9985c2;
  font-size: 9px;
  margin-top: 14px;
}

.hero-status .icon {
  width: 12px;
  height: 12px;
}

.attention-list {
  display: flex;
  flex-direction: column;
}

.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #f0f1f6;
}

.attention-item:first-child {
  padding-top: 3px;
}

.attention-item:last-child {
  border: 0;
  padding-bottom: 0;
}

.attention-item h3 {
  font-size: 12px;
  line-height: 1.6;
}

.attention-item p {
  font-size: 10px;
  margin-top: 4px;
  line-height: 1.8;
}

.attention-item>.icon-button {
  margin-left: auto;
  flex-shrink: 0;
}

.list-eyebrow {
  font-size: 8px;
  color: #a4a9b9;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.due-box {
  width: 43px;
  border: 1px solid #e7e8f2;
  border-radius: 10px;
  text-align: center;
  padding: 4px;
  color: #666f8a;
  flex-shrink: 0;
}

.due-box strong {
  display: block;
  font-size: 16px;
  line-height: 1.4;
}

.due-box small {
  font-size: 8px;
  text-transform: uppercase;
  color: #b0a7c1;
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding: 0 0 23px 27px;
  border-left: 1px solid #e5e2f0;
  margin-left: 8px;
}

.timeline-item:last-child {
  border: 0;
  padding-bottom: 0;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b89de8;
  border: 2px solid white;
  box-shadow: 0 0 0 3px #f3effa;
}

.timeline-item h3 {
  font-size: 12px;
  margin-bottom: 5px;
}

.timeline-item p {
  font-size: 10px;
  line-height: 1.85;
}

.timeline-item .timestamp {
  font-size: 8px;
  color: #a6aabd;
  margin-bottom: 5px;
}

.goal-overview {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  overflow: hidden;
  padding: 23px 25px;
  background: linear-gradient(115deg,#fff,#fcfbff);
  margin-bottom: 20px;
}

.goal-overview>.ring {
  width: 90px;
  height: 90px;
}

.goal-overview h3 {
  font-size: 13px;
}

.goal-overview p {
  font-size: 10px;
  margin-top: 6px;
}

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

.goal-counter {
  background: white;
  border: 1px solid #ece8f6;
  border-radius: 11px;
  padding: 14px;
  min-width: 98px;
  flex: 1;
  box-shadow: 0 4px 10px #4a246106;
}

.goal-counter .icon {
  width: 15px;
  height: 15px;
  color: #9c7bd6;
}

.goal-counter strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.6px;
  line-height: 1.35;
  margin-top: 5px;
}

.goal-counter small {
  display: block;
  font-size: 9px;
  color: #a0a3b8;
}

.goal-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.goal-tables.split {
  grid-template-columns: 1.2fr 1fr;
}

.goal-tables .data-table th {
  font-size: 8px;
}

.goal-tables .data-table td {
  padding: 15px 12px;
}

.goal-tables .data-table td:first-child {
  padding-left: 21px;
}

.goal-tables .table-title {
  font-size: 10px;
}

.goal-tables .table-sub {
  font-size: 8px;
}

.goal-tables .data-table td:nth-child(2) {
  min-width: 72px;
}

.goal-tables .panel-head {
  align-items: flex-start;
}

.goal-tables .panel-head h2 {
  font-size: 15px;
}

.goal-tables .panel-actions .btn {
  font-size: 9px;
  padding: 7px 9px;
}

.goal-tables .icon-box {
  width: 31px;
  height: 31px;
}

.alignment-chain {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.alignment-node {
  border: 1px solid #e8e5f2;
  border-radius: 11px;
  padding: 17px 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  min-width: 0;
}

.alignment-node .node-text {
  flex: 1;
  min-width: 0;
}

.alignment-node .node-label {
  font-size: 9px;
  color: #9c91ac;
  margin-bottom: 5px;
}

.alignment-node strong {
  font-size: 12px;
  line-height: 1.6;
  display: block;
}

.alignment-node p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 3px;
}

.alignment-node.selected {
  border-color: #b6a0ec;
  background: #f7f3ff;
  box-shadow: 0 0 0 3px #f3edff;
}

.alignment-arrow {
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b7df;
  flex: none;
}

.alignment-arrow .icon {
  transform: rotate(90deg);
  width: 16px;
  height: 16px;
}

.source-donut {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(#8350e4 0 25%,#729bec 25% 50%,#40b995 50% 75%,#efbc64 75%);
  flex: none;
  display: grid;
  place-items: center;
}

.source-donut:after {
  content: "";
  position: absolute;
  inset: 14px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
}

.source-donut>span {
  position: absolute;
  z-index: 1;
  inset: 27px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 700;
}

.source-donut small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.source-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 9px;
  color: #9096a9;
  flex: 1;
  min-width: 0;
}

.source-legend>div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  padding: 6px 0;
}

.source-legend i {
  width: 6px;
  height: 6px;
  background: #8350e4;
  border-radius: 50%;
}

.source-legend>div:nth-child(2) i {
  background: #729bec;
}

.source-legend>div:nth-child(3) i {
  background: #40b995;
}

.source-legend>div:nth-child(4) i {
  background: #efbc64;
}

.source-legend strong {
  margin-left: auto;
  padding-left: 12px;
  color: #6c6f87;
  font-size: 9px;
}

.wizard-card {
  padding: 26px;
}

.wizard-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}

.wizard-heading .step-dot {
  color: #fff;
  background: var(--violet);
  width: 33px;
  height: 33px;
  font-size: 13px;
}

.wizard-heading h2 {
  font-size: 18px;
}

.wizard-heading p {
  font-size: 11px;
  margin-top: 5px;
}

.idea-input {
  position: relative;
  margin-bottom: 18px;
}

.idea-input textarea {
  min-height: 142px;
  padding-bottom: 53px;
}

.idea-input>.btn {
  position: absolute;
  right: 13px;
  bottom: 13px;
}

.example-chips {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #b0a6be;
  margin-bottom: 23px;
}

.example-chip {
  padding: 5px 9px;
  border-radius: 5px;
  background: #f4efff;
  color: #a18aba;
  font-size: 9px;
}

.ai-draft-block {
  border: 1px solid #e2d5fa;
  border-radius: 12px;
  background: linear-gradient(120deg,#f7f2ff,#fcfaff);
  padding: 21px;
  position: relative;
}

.ai-draft-block:before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: #a27ce4;
  border-radius: 3px;
}

.ai-draft-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b5ecc;
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 13px;
}

.ai-draft-label .icon {
  width: 16px;
  height: 16px;
}

.ai-draft-block p {
  font-size: 12px;
  line-height: 1.9;
  color: #8b7f9e;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-left: 1px solid #e2d9ef;
  padding-left: 20px;
}

.why-list h4 {
  font-size: 10px;
  color: #867096;
  font-weight: 600;
}

.why-list div {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 10px;
  color: #9f95ac;
}

.why-list .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: #67bb97;
}

.goal-statement {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #faf8ff;
  border: 1px solid #e8e1f3;
  border-radius: 12px;
  padding: 18px 21px;
  margin-bottom: 20px;
}

.goal-statement p {
  font-size: 11px;
  line-height: 1.8;
  color: #9a8caf;
  margin-top: 5px;
}

.kpi-box {
  border: 1px solid #e4e8f1;
  padding: 21px;
  border-radius: 12px;
  margin-bottom: 19px;
}

.kpi-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 19px;
}

.confidence {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a49ab5;
  font-size: 10px;
}

.confidence .icon {
  width: 13px;
  height: 13px;
}

.readiness-hero {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg,#fff,#f8f5ff);
  border-color: #e7e0f4;
}

.readiness-score {
  font-size: 64px;
  letter-spacing: -3px;
  line-height: 1;
  font-weight: 600;
  color: #6a43b4;
}

.readiness-score small {
  font-size: 16px;
  color: #b8a7d1;
  font-weight: 400;
  letter-spacing: 0;
}

.readiness-hero h2 {
  font-size: 22px;
  margin: 8px 0;
}

.readiness-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.dimension-row {
  padding: 15px 0;
  border-bottom: 1px solid #f0f1f6;
  display: grid;
  grid-template-columns: 190px 1fr 90px 80px;
  align-items: center;
  gap: 20px;
}

.dimension-row:last-child {
  border: 0;
}

.dimension-row h3 {
  font-size: 11px;
  font-weight: 550;
}

.dimension-row small {
  font-size: 9px;
  color: #aaafbf;
}

.dimension-track {
  position: relative;
  height: 9px;
  background: #f0eef7;
  border-radius: 6px;
}

.dimension-track>span {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg,#c6afeF,#956bdc);
  border-radius: 6px;
}

.dimension-track>i {
  position: absolute;
  top: -4px;
  height: 17px;
  border-left: 2px solid #667898;
  border-radius: 1px;
}

.dimension-value {
  font-size: 11px;
  font-weight: 650;
  color: #8263a4;
}

.dimension-value small {
  color: #aba0bd;
}

.dimension-gap {
  font-size: 10px;
  color: #b298c6;
  background: #f7f1fc;
  border: 1px solid #eee3f7;
  border-radius: 6px;
  padding: 4px 6px;
  text-align: center;
}

.history-chart {
  height: 145px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 20px;
  padding: 15px 10px 23px;
  border-bottom: 1px solid #ece9f4;
  margin: 15px 0 25px;
}

.history-column {
  flex: 1;
  max-width: 100px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
}

.history-column .bar {
  width: 38px;
  background: linear-gradient(#9872e2,#d9c9f2);
  border-radius: 7px 7px 0 0;
  position: relative;
}

.history-column .bar>strong {
  font-size: 11px;
  position: absolute;
  top: -21px;
  left: 0;
  right: 0;
  text-align: center;
  color: #9179b0;
}

.history-column small {
  position: absolute;
  bottom: -24px;
  font-size: 9px;
  white-space: nowrap;
  color: #aaa2b8;
}

.sprint-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.sprint-index {
  font-size: 9px;
  font-weight: 650;
  color: #b099cb;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.sprint-card h2 {
  font-size: 17px;
  margin: 9px 0;
}

.sprint-card p {
  font-size: 10px;
}

.sprint-task {
  padding: 15px 0;
  border-bottom: 1px solid #f0edf6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sprint-task:last-child {
  border: 0;
}

.task-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid #d9d3e6;
  border-radius: 5px;
  flex-shrink: 0;
  color: white;
  display: grid;
  place-items: center;
  margin-top: 1px;
  padding: 0;
}

.task-check.done {
  background: #36b494;
  border-color: #36b494;
}

.task-check .icon {
  width: 12px;
  height: 12px;
}

.sprint-task strong {
  font-size: 11px;
  line-height: 1.7;
  font-weight: 500;
}

.sprint-task.done strong {
  color: #a1a5b2;
}

.sprint-task small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #b1aabf;
}

.course-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #eae5f3;
  padding: 17px;
  border-radius: 12px;
}

.course-card .icon-box {
  width: 42px;
  height: 42px;
}

.course-card h3 {
  font-size: 12px;
}

.course-card p {
  font-size: 10px;
  margin-top: 4px;
}

.course-card .btn {
  margin-left: auto;
}

.checkin-card {
  padding: 22px;
}

.checkin-body {
  border-left: 2px solid #ddd0f0;
  padding: 2px 0 2px 15px;
  margin: 16px 0 8px;
  color: #7f879e;
  font-size: 12px;
  line-height: 1.9;
}

.metric-observation {
  display: flex;
  gap: 20px;
  padding: 13px 0 3px;
}

.metric-observation>div {
  border-right: 1px solid #e9e5f0;
  padding-right: 20px;
}

.metric-observation>div:last-child {
  border: 0;
}

.metric-observation small {
  display: block;
  font-size: 8px;
  color: #a6a6b7;
}

.metric-observation strong {
  font-size: 13px;
  font-weight: 600;
  color: #786688;
}

.measure-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 13px;
  align-items: start;
}

.measure-card {
  padding: 18px;
  border: 1px solid #e9e7f1;
  border-radius: 13px;
  background: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}

.measure-card .measure-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #a29ab4;
}

.measure-card strong {
  display: block;
  font-size: 12px!important;
  letter-spacing: 0!important;
  line-height: 1.4;
  margin: 10px 0 5px;
  font-weight: 600;
}

.measure-card p {
  font-size: 9px;
  line-height: 1.8;
}

.diagnosis-band {
  display: flex;
  gap: 13px;
  border: 1px solid #e8e6f1;
  border-radius: 12px;
  padding: 17px 18px;
  margin-bottom: 12px;
  background: #fff;
}

.diagnosis-band:first-child {
  border-color: #daccf1;
  background: #fdfbff;
}

.rank-bubble {
  font-size: 11px;
  color: #a087ba;
  border: 1px solid #e5d9f3;
  background: #faf5ff;
  border-radius: 8px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.diagnosis-band summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.diagnosis-band summary::-webkit-details-marker {
  display: none;
}

.diagnosis-band summary h3 {
  font-size: 12px;
}

.diagnosis-band .explanation {
  font-size: 11px;
  color: #9595a7;
  margin-top: 9px;
  line-height: 1.9;
}

.evidence-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 17px;
}

.evidence-comparison>div {
  background: #f8fafc;
  border-radius: 8px;
  padding: 13px;
}

.evidence-comparison h4 {
  font-size: 9px;
  color: #788f83;
  font-weight: 600;
  margin-bottom: 6px;
}

.evidence-comparison p {
  font-size: 10px;
  line-height: 1.8;
}

.evidence-comparison>div:nth-child(2) h4 {
  color: #b09873;
}

.review-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.review-person {
  padding: 16px;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.review-person.active {
  border-color: #bea4ee;
  background: #fbf8ff;
  box-shadow: 0 0 0 3px #f0e8fa;
}

.review-person h3 {
  font-size: 12px;
}

.review-person p {
  font-size: 9px;
  margin-top: 3px;
}

.review-person .pill {
  font-size: 9px;
  align-self: flex-start;
}

.review-person .review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

.review-inputs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin: 22px 0;
}

.review-input {
  background: #fff;
  border: 1px solid #e9ebf4;
  border-radius: 12px;
  padding: 13px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.review-input .icon {
  color: #ae9ac7;
  width: 17px;
  height: 17px;
}

.review-input strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #8d819c;
  margin-top: 7px;
}

.review-input small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}

.human-decision {
  border: 1px solid #cddcd6;
  border-radius: 13px;
  padding: 23px;
  background: #fff;
  margin-top: 23px;
}

.decision-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #638a79;
  margin-bottom: 17px;
}

.decision-heading .icon {
  width: 17px;
  height: 17px;
}

.decision-heading h3 {
  font-size: 14px;
}

.decision-heading small {
  margin-left: auto;
  font-size: 9px;
  color: #9caaa3;
}

.rating-options {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.rating-option {
  flex: 1;
  border: 1px solid #e2e3ec;
  border-radius: 9px;
  text-align: center;
  padding: 10px 5px;
  position: relative;
  cursor: pointer;
  background: #fff;
}

.rating-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.rating-option:has(input:checked) {
  border-color: #a483dd;
  background: #f8f2ff;
  box-shadow: 0 0 0 2px #f4edfc;
}

.rating-option strong {
  font-size: 21px;
  display: block;
  font-weight: 550;
  color: #817391;
}

.rating-option small {
  display: block;
  font-size: 9px;
  color: #aaa1b7;
  margin-top: 2px;
  line-height: 1.5;
}

.rating-option:focus-within {
  outline: 2px solid #a483dd;
}

.calibration-rating {
  font-size: 21px;
  letter-spacing: -.5px;
  color: #8a73aa;
  font-weight: 600;
  line-height: 1.2;
}

.rating-arrow {
  color: #c0b5cf;
  margin: 0 8px;
  white-space: nowrap;
}

.distribution {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  height: 170px;
  padding: 27px 15px 26px;
  position: relative;
  margin-bottom: 20px;
}

.distribution-group {
  flex: 1;
  max-width: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 25px;
  position: relative;
  height: 225px;
  padding: 20px 20px 0;
}

.distribution-bar {
  width: 25px;
  min-height: 2px;
  background: linear-gradient(0deg,#6941ff,#a692ee);
  border-radius: 7px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.distribution-bar.target {
  background: #eae1f6;
  border: 1px dashed #cebde5;
}

.distribution-bar strong {
  position: absolute;
  top: -21px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: #aa8ec2;
}

.distribution-group>small {
  position: absolute;
  bottom: -24px;
  color: #a79bb9;
  font-size: 10px;
}

.distribution-key {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 9px;
  color: #a398b6;
}

.distribution-key span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.distribution-key i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ac8cdf;
}

.distribution-key span:nth-child(2) i {
  background: #eae1f6;
}

.state-distribution {
  display: grid;
  gap: 18px;
  margin: 20px 0;
  height: 20px;
  border-radius: 6px;
  overflow: hidden;
}

.state-distribution span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  min-width: 0;
  background: #c1a2e1;
}

.state-distribution span:nth-child(2) {
  background: #a07bcf;
}

.state-distribution span:nth-child(3) {
  background: #8061b4;
}

.state-distribution span:nth-child(4) {
  background: #5c4595;
}

.person-header {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 23px;
}

.person-header h2 {
  font-size: 22px;
  letter-spacing: -.6px;
}

.person-header p {
  font-size: 11px;
  margin-top: 4px;
}

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

.person-card {
  padding: 22px;
}

.person-card h3 {
  font-size: 14px;
  margin: 14px 0 4px;
}

.person-card p {
  font-size: 10px;
}

.person-card .person-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
}

.upload-zone {
  border: 2px dashed #cfc2ea;
  border-radius: 16px;
  padding: 34px 24px;
  text-align: center;
  background: #fdfbff;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .2s ease;
}

.upload-zone:hover,.upload-zone.drop-active {
  background: #f6f0fe;
  border-color: var(--violet,#6941ff);
  box-shadow: 0 4px 20px #6941ff12;
}

.upload-zone .upload-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #f1e8fd;
  color: var(--violet,#6941ff);
  display: grid;
  place-items: center;
  transition: transform .2s ease;
  margin-bottom: 2px;
}

.upload-zone:hover .upload-icon-box {
  transform: translateY(-2px);
}

.upload-zone .upload-icon-box .icon {
  width: 26px;
  height: 26px;
}

.upload-zone strong {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink,#1f1d2b);
  display: block;
}

.upload-zone .upload-subtitle {
  font-size: 12px;
  color: var(--muted,#7e768f);
  margin: 0;
  max-width: 480px;
  line-height: 1.5;
  display: block;
}

.upload-zone .upload-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.upload-zone .pill-badge {
  font-size: 10px;
  font-weight: 600;
  color: #6c5a89;
  background: #f0ebf8;
  border: 1px solid #e2d9f1;
  padding: 3px 9px;
  border-radius: 6px;
}

.upload-zone input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.file-selected-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.drop-active {
  background: #f2eaff;
  border-color: var(--violet);
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px 0;
  border-bottom: 1px solid #eeeaf5;
  font-size: 10px;
}

.pipeline-step:last-child {
  border: 0;
}

.pipeline-step .step-dot {
  width: 30px;
  height: 30px;
}

.pipeline-step h3 {
  font-size: 12px;
}

.pipeline-step p {
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.8;
}

.pipeline-step .step-status {
  margin-left: auto;
  align-self: center;
  font-size: 9px;
  color: #a49aad;
}

.pipeline-step.complete .step-dot {
  background: #e4f6ee;
  color: #53ab8d;
}

.pipeline-step.current .step-dot {
  background: #eadefb;
  color: #9c77d0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.capability-item {
  display: flex;
  grid-template-columns: 1fr 74px;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebf6;
  font-size: 10px;
  align-items: center;
  border-top: 1px solid #efeff5;
}

.capability-item small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}

.capability-item strong {
  font-size: 12px;
  color: #9e80bc;
  font-weight: 600;
}

.integration-card {
  display: flex;
  flex-direction: column;
}

.integration-card .integration-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.integration-card .icon-box {
  width: 43px;
  height: 43px;
}

.integration-card h3 {
  font-size: 17px;
}

.integration-card p {
  font-size: 11px;
  line-height: 1.9;
  margin: 10px 0 20px;
  flex: 1;
}

.integration-card .btn {
  align-self: flex-start;
}

.key-box {
  display: block;
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.8;
  background: #f5f3fa;
  border: 1px solid #e7e2f1;
  border-radius: 9px;
  padding: 15px;
  color: #8a729f;
  font-size: 11px;
  margin: 16px 0;
  overflow-wrap: anywhere;
}

.settings-preview {
  background: #0b1120;
  border-radius: 13px;
  padding: 28px;
  min-height: 170px;
  display: flex;
  align-items: center;
}

.settings-preview .brand {
  padding: 0;
}

.audit-row {
  padding: 14px 0;
  border-bottom: 1px solid #f0edf5;
  display: grid;
  grid-template-columns: 130px 155px 1fr;
  gap: 20px;
  font-size: 10px;
}

.audit-row time {
  font-size: 9px;
  color: #b0a5bc;
}

.audit-row strong {
  font-size: 10px;
  font-weight: 550;
  color: #8b789e;
}

.audit-row p {
  font-size: 10px;
  line-height: 1.8;
}

.assistant-standalone {
  max-width: 840px;
  margin: 0 auto;
}

.assistant-intro {
  text-align: center;
  padding: 35px 20px;
}

.assistant-intro .ai-orb {
  width: 62px;
  height: 62px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #8d65c9;
  background: linear-gradient(140deg,#efe4ff,#f8f2ff);
  border: 1px solid #e4d7f4;
  box-shadow: 0 9px 30px #9170be0d;
  margin: 0 auto 19px;
}

.assistant-intro .ai-orb .icon {
  width: 28px;
  height: 28px;
}

.assistant-intro h2 {
  font-size: 25px;
  letter-spacing: -.8px;
}

.assistant-intro p {
  font-size: 12px;
  margin: 12px auto 23px;
  max-width: 530px;
  line-height: 1.9;
}

.prompt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 23px;
}

.prompt-card {
  padding: 16px 18px;
  text-align: left;
  border: 1px solid #e8e0f3;
  background: white;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: #9683a5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.prompt-card:hover {
  border-color: #c8b2e3;
  background: #fdfaff;
}

.prompt-card .icon {
  width: 16px;
  height: 16px;
  color: #ad91cd;
  margin-top: 2px;
}

.assistant-message {
  border: 1px solid #e8dff4;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.assistant-message.user-message {
  background: #f5effd;
  border-color: #e9def7;
  margin-left: 40px;
}

.assistant-message .message-label {
  font-size: 9px;
  color: #b29ec1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.assistant-message .message-label .icon {
  width: 13px;
  height: 13px;
}

.assistant-message p {
  font-size: 12px;
  line-height: 1.85;
  color: #85758f;
  white-space: pre-wrap;
}

.assistant-sources {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.assistant-sources button {
  font-size: 9px;
  color: #a185b9;
  border: 1px solid #ebdff5;
  border-radius: 6px;
  background: #fdf9ff;
  padding: 5px 8px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.assistant-sources .icon {
  width: 11px;
  height: 11px;
}

.assistant-input {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border: 1px solid #d9cbe9;
  border-radius: 13px;
  background: white;
  padding: 12px 13px;
  box-shadow: 0 5px 20px #6b49850a;
  flex-wrap: wrap;
}

.assistant-input textarea {
  border: 0;
  outline: 0;
  resize: none;
  flex: 1;
  min-width: 0;
  height: 49px;
  padding: 6px;
  color: #6e567e;
  background: transparent;
  font-size: 12px;
  line-height: 1.7;
}

.assistant-input textarea::placeholder {
  color: #b9a8c5;
}

.assistant-input .btn {
  width: 36px;
  padding: 9px;
  min-height: 36px;
  align-self: center;
}

.assistant-input .btn .icon {
  width: 16px;
  height: 16px;
}

.assistant-fineprint {
  font-size: 9px;
  text-align: center;
  color: #b9adc4;
  margin-top: 11px;
}

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

.help-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
  background: white;
}

.help-card h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.help-card p {
  font-size: 11px;
  line-height: 1.95;
}

.help-card .icon-box {
  margin-bottom: 14px;
}

.dialog {
  border: 1px solid #e9e4f1;
  border-radius: 20px;
  padding: 0;
  width: min(600px,calc(100vw - 32px));
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 25px 80px #10152e25;
  overflow: hidden;
}

.dialog::backdrop {
  background: #0d122f58;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.dialog.wide {
  width: min(920px,calc(100vw - 36px));
}

.dialog.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  height: 100vh;
  max-height: 100vh;
  max-width: 640px;
  width: min(640px,100vw);
  margin: 0;
  border-radius: 20px 0 0 20px;
  border-right: 0;
}

.dialog.drawer::backdrop {
  background: #0d122f3d;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 19px 25px;
  background: #fff;
}

.dialog-header h2 {
  font-size: 17px;
  letter-spacing: -.45px;
}

.dialog-body {
  padding: 25px;
  overflow-y: auto;
  max-height: calc(90vh - 76px);
}

.dialog.drawer .dialog-body {
  max-height: calc(100vh - 74px);
}

.dialog.wide .dialog-body {
  padding: 27px;
}

.dialog-description {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 21px;
}

.dialog .stat {
  padding: 17px;
}

.dialog .stat-value {
  font-size: 25px;
}

.dialog .panel {
  box-shadow: none;
}

.dialog .form-actions {
  position: sticky;
  bottom: -25px;
  background: #fff;
  padding-bottom: 8px;
  padding-top: 20px;
}

.dialog .readiness-hero {
  padding: 20px;
}

.dialog .dimension-row {
  grid-template-columns: 150px 1fr 55px;
  gap: 10px;
}

.dialog .dimension-row .dimension-gap {
  display: none;
}

.dialog .role-notice {
  margin-bottom: 14px;
}

.dialog .search-field {
  margin-bottom: 20px;
  padding: 12px;
}

.dialog .search-field input {
  width: 100%;
  font-size: 14px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 8px;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
}

.search-result:hover {
  background: #f6f3fd;
}

.search-result strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}

.search-result small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.search-result .icon-box {
  width: 32px;
  height: 32px;
}

.notification-item {
  display: flex;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.notification-item:last-child {
  border: 0;
}

.notification-item h3 {
  font-size: 12px;
}

.notification-item p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 4px;
}

.notification-item time {
  display: block;
  font-size: 9px;
  color: #ada4b9;
  margin-top: 7px;
}

#toast-root {
  position: fixed;
  bottom: 27px;
  right: 27px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 430px;
}

.toast {
  border: 1px solid #dceae3;
  background: #fafffc;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px #15223715;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #648576;
  animation: toastIn .18s ease;
}

.toast>.icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast.error {
  border-color: #f5d9df;
  background: #fff9fa;
  color: #b46b7b;
}

.toast button {
  margin-left: auto;
  color: inherit;
  padding: 0;
}

.toast button .icon {
  width: 13px;
  height: 13px;
}

.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  background: #fff;
}

.login-brand {
  background: radial-gradient(ellipse at 20% 90%,#442076 0,transparent 50%),linear-gradient(135deg,#21173d,#0d1326);
  color: #fff;
  padding: 45px 55px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.login-brand .brand {
  padding: 0;
}

.login-brand .brand-name {
  font-size: 29px;
}

.login-brand .brand-tagline {
  color: #9280ad;
}

.login-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 485px;
  margin: auto 0;
  padding: 75px 0 65px;
}

.login-brand-copy .eyebrow {
  color: #aa8dda;
  letter-spacing: 2.5px;
  font-size: 10px;
  margin-bottom: 21px;
}

.login-brand-copy h1 {
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -2px;
  font-weight: 550;
}

.login-brand-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg,#c7a4ff,#8e82ec);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-brand-copy>p {
  font-size: 14px;
  line-height: 2;
  color: #9b8cb0;
  margin-top: 24px;
  max-width: 390px;
}

.login-principles {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 35px;
  color: #b9aacc;
  font-size: 11px;
}

.login-principles>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-principles .icon {
  width: 16px;
  height: 16px;
  color: #9b7ac8;
}

.login-art {
  position: relative;
  width: 440px;
  height: 200px;
  border: 1px solid #745c9c23;
  border-radius: 50%;
  right: -230px;
  top: 25%;
  box-shadow: 0 0 0 45px #8068a50c,0 0 0 90px #8068a506;
  max-width: 470px;
  margin-top: 20px;
  overflow: visible;
}

.login-art:before {
  content: "";
  position: absolute;
  inset: 65px;
  border: 1px solid #856cb726;
  border-radius: 50%;
}

.login-brand-footer {
  font-size: 10px;
  color: #6c5b84;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
  position: relative;
}

.login-form-wrap {
  width: 100%;
  max-width: 385px;
}

.login-eyebrow {
  font-size: 10px;
  letter-spacing: .15em;
  color: #b6a9ec;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.login-form-wrap h2 {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1px;
  color: #343048;
}

.login-form-wrap>p {
  font-size: 12px;
  line-height: 1.9;
  margin: 12px 0 32px;
  color: #a29aac;
}

.login-form-wrap .field {
  margin-bottom: 19px;
}

.login-form-wrap .field>span {
  font-size: 11px;
  color: #8e819c;
}

.login-form-wrap .field input {
  padding: 12px 14px;
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
  min-height: 46px;
  border-color: #e8e3ee;
}

.login-form-wrap .btn.primary {
  width: 100%;
  min-height: 45px;
  margin-top: 8px;
  font-size: 12px;
}

.login-form-wrap .role-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #b5aabf;
  font-size: 9px;
  margin-top: 20px;
}

.role-hint .icon {
  width: 12px;
  height: 12px;
}

.login-demo {
  border: 1px solid #eee5f8;
  background: #fdfbff;
  border-radius: 11px;
  padding: 14px 16px;
  margin-top: 28px;
  font-size: 10px;
  color: #a691b7;
}

.login-demo summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 550;
  list-style: none;
}

.login-demo summary .icon {
  width: 12px;
  height: 12px;
}

.demo-accounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 24px;
  border: 1px solid #e8e7f0;
  background: #faf9fd;
  border-radius: 11px;
  padding: 14px 16px;
}

.demo-account {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid #e9e0f3;
  border-radius: 6px;
  background: white;
  font-size: 9px;
  color: #aa91bd;
}

.demo-account strong {
  display: block;
  font-size: 10px;
  color: #8c6ca4;
  font-weight: 550;
}

.login-demo code {
  font-size: 10px;
  color: #956dad;
  padding: 3px 5px;
  background: #f2eafa;
  border-radius: 4px;
}

.login-help {
  margin-top: 25px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 22px 0;
}

.login-help button {
  color: #9a77b9;
  font-size: 10px;
  padding: 0;
}

.loading-sheen {
  height: 4px;
  background: linear-gradient(90deg,#f4f0ff,#a582f3,#f4f0ff);
  background-size: 200%;
  animation: shine 1s linear infinite;
  border-radius: 5px;
  margin: 20px 0;
}

.block {
  display: block;
}

.small {
  font-size: 12px;
}

.wrap {
  flex-wrap: wrap;
}

.pre-wrap {
  white-space: pre-wrap;
}

.mono {
  font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
}

.cell-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 4px;
}

.title-link {
  text-align: left;
  color: var(--text);
  font-size: inherit;
  font-weight: 650;
  line-height: 1.5;
}

.title-link:hover {
  color: var(--violet);
}

.sub-panel {
  background: #f8f9fc;
  border: 1px solid #eceef5;
  border-radius: 12px;
  padding: 16px;
}

.sub-panel>strong {
  display: block;
  font-size: 23px;
  letter-spacing: -.04em;
  margin-bottom: 5px;
}

.sub-panel>small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.sub-panel>p:last-child {
  margin-bottom: 0;
}

.mini-beta {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 5px;
  color: #906afa;
  background: #e9e2ff;
  border-radius: 4px;
  line-height: 1.1;
}

.sidebar .mini-beta {
  background: #2c2347;
  color: #bfb0ef;
  margin-left: auto;
}

.nav-item span:first-of-type {
  flex: 1;
}

.action-card {
  display: block;
  transition: transform .18s,border-color .18s;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
}

.action-card:hover {
  transform: translateY(-3px);
  border-color: #d2c6fc;
}

.action-card h3 {
  margin: 17px 0 10px;
}

.action-card p {
  font-size: 12px;
  line-height: 1.8;
  min-height: 52px;
}

.action-card .text-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.principle-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 20px;
  flex-wrap: wrap;
}

.principle-chain>span {
  padding: 9px 10px;
  border: 1px solid #e6e3f2;
  border-radius: 8px;
  color: #595474;
  background: #faf9ff;
  font-size: 10px;
  font-weight: 650;
}

.principle-chain>.icon {
  width: 13px;
  flex: none;
  color: #a69dbc;
}

.metric-big {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.native-metric-value {
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -.05em;
  margin-top: 20px;
}

.native-metric-value>small {
  font-size: 14px;
  color: var(--muted);
  margin-left: 7px;
  letter-spacing: 0;
}

.driver-card {
  border: 1px solid #e7e8f1;
  border-radius: 13px;
  background: #fff;
  position: relative;
  min-width: 0;
}

.driver-card:before {
  content: '';
  height: 23px;
  position: absolute;
  top: -24px;
  width: 1px;
  background: #cfc9e3;
  left: 50%;
}

.driver-head .driver-name {
  font-size: 12px;
  font-weight: 700;
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.tone-0 {
  background: #f0faf5;
}

.tone-1 {
  background: #f1f6fe;
}

.tone-2 {
  background: #fffaed;
}

.tone-3 {
  background: #f6f2fe;
}

.driver-estimate>span {
  color: #302544;
  font-weight: 700;
}

.driver-estimate input {
  width: 44px;
  text-align: center;
}

.function-assignment input {
  max-width: 100%;
  font-size: 10px;
  min-width: 0;
  text-align: center;
}

.function-assignment .row input {
  width: 42px;
  font-weight: 700;
}

.function-assignment label {
  width: 100%;
}

.function-assignment .row {
  justify-content: center;
  gap: 2px;
}

.function-assignment>.icon-box {
  margin: 0 auto 5px;
}

.driver-footer>.btn {
  font-size: 10px;
  padding: 7px 8px;
  white-space: normal;
  width: 100%;
  line-height: 1.4;
}

.driver-footer .icon {
  width: 12px;
  flex: none;
}

.driver-grid.table-mode {
  grid-template-columns: 1fr!important;
  gap: 12px;
}

.table-mode .driver-card {
  display: grid;
  grid-template-columns: 1.1fr .65fr 1.5fr;
  align-items: center;
}

.table-mode .driver-card:before {
  display: none;
}

.table-mode .driver-head {
  min-height: 125px;
}

.table-mode .driver-footer {
  grid-column: 1/-1;
  padding: 2px;
}

.table-mode .function-assignments {
  padding: 12px;
}

.allocation-0 {
  background: #6941ff;
}

.allocation-1 {
  background: #408de7;
}

.allocation-2 {
  background: #f5b447;
}

.allocation-3 {
  background: #21ac90;
}

.allocation-inputs>label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-top: 9px;
}

.allocation-inputs>label>span:nth-child(2) {
  flex: 1;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6941ff;
  flex: none;
}

.icon-box.small {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  flex: none;
}

.icon-box.small .icon {
  width: 15px;
  height: 15px;
}

.goal-name {
  min-width: 165px;
}

.goal-tables.split .data-table {
  font-size: 11px;
}

.goal-tables.split .data-table th {
  font-size: 9px;
}

.goal-tables.split .data-table td {
  padding: 13px 10px;
}

.goal-tables.split .panel-head {
  padding: 20px 16px 15px;
}

.goal-tables.split .panel-head h2 {
  font-size: 15px;
}

.goal-tables.split .panel-head p {
  font-size: 10px;
  max-width: 160px;
}

.goal-tables.split .panel-head>.panel-heading>.icon-box {
  display: none;
}

.source-summary {
  gap: 22px;
}

.source-donut>div {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.source-donut strong {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.source-legend>div>span:nth-child(2) {
  flex: 1;
}

.alignment-chain.vertical {
  flex-direction: column;
  align-items: stretch;
  max-width: 760px;
}

.alignment-chain.vertical .alignment-node {
  width: 100%;
  min-height: 83px;
}

.alignment-chain.vertical .alignment-node>div {
  flex: 1;
}

.alignment-node small {
  display: block;
  text-transform: uppercase;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.alignment-node .small {
  font-size: 11px;
  margin-top: 6px;
}

.milestone-row {
  position: relative;
  padding-right: 82px;
}

.milestone-row>.btn {
  position: absolute;
  right: 0;
  bottom: 4px;
}

.dimension-label {
  min-width: 150px;
}

.dimension-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}

.dimension-legend {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}

.dimension-legend>span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.target-marker {
  display: inline-block;
  height: 12px;
  width: 2px;
  background: #473566;
}

.dimension-row .evidence-chips {
  grid-column: 1/-1;
  margin: 0;
}

.required-marker {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: #473566;
  border-radius: 2px;
}

.dimension-track>div {
  height: 100%;
  background: linear-gradient(90deg,#a992fa,#6941ff);
  border-radius: 20px;
}

.dimension-gap.gap {
  color: #ad7520;
  background: #fff5df;
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 10px;
  white-space: nowrap;
}

.dimension-gap.met {
  color: #198967;
  font-size: 10px;
}

.dimension-row.compact {
  grid-template-columns: 1.25fr 1fr 1fr;
  font-size: 11px;
}

.dimension-row.compact strong {
  font-size: 11px;
}

.distribution-row {
  display: grid;
  grid-template-columns: 100px 1fr 24px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.distribution-row .progress {
  height: 12px;
}

.distribution-column {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.distribution-column>strong {
  font-size: 13px;
}

.distribution-column>small {
  font-size: 10px;
  white-space: nowrap;
}

.distribution-track {
  position: relative;
  height: 170px;
  width: 100%;
  max-width: 55px;
  background: #f5f2fd;
  border-radius: 9px;
}

.distribution-target {
  position: absolute;
  left: -7px;
  right: -7px;
  border-top: 2px dashed #e1a746;
}

.rating-arrow>.icon {
  width: 15px;
  margin: 0 9px;
  vertical-align: middle;
}

.evidence-field {
  border: 0;
  padding: 0;
  margin: 14px 0;
  min-width: 0;
}

.evidence-field legend {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 12px;
}

.evidence-field .checkbox-label {
  padding: 8px 0;
  font-size: 12px;
  align-items: flex-start;
}

.evidence-field .checkbox-label input {
  width: 15px;
  height: 15px;
  flex: none;
  accent-color: #6941ff;
  margin-top: 3px;
}

.checkbox-label>span {
  flex: 1;
  min-width: 0;
}

.checkbox-label small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.rating-field {
  border: 0;
  padding: 0;
  min-width: 0;
  margin: 24px 0;
}

.rating-field legend {
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 12px;
}

.rating-field legend small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.rating-option span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px 8px;
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  min-height: 90px;
  background: #fff;
}

.rating-option input:checked+span {
  border-color: #6941ff;
  background: #f4f0ff;
  box-shadow: 0 0 0 1px #6941ff;
}

.rating-option input:focus-visible+span {
  outline: 2px solid #6941ff;
  outline-offset: 3px;
}

.review-person>span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.review-person>span strong {
  font-size: 12px;
}

.review-person>span small {
  font-size: 9px;
  color: var(--muted);
}

.diagnosis-summary .diagnosis-explanation {
  flex: 1;
}

.wrap-cell {
  min-width: 180px;
  max-width: 380px;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.7;
}

.measure-card>div p {
  font-size: 11px;
  line-height: 1.8;
}

.measure-card .eyebrow {
  font-size: 9px;
  white-space: normal;
}

.role-select {
  min-width: 142px;
  font-size: 11px;
  padding: 9px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin: 22px 0;
}

.pipeline-step>span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f2f6;
  flex: none;
  color: #878398;
}

.pipeline-step.current>span {
  background: #6941ff;
  color: white;
}

.pipeline-step.complete>span {
  background: #13a476;
  color: white;
}

.pipeline-step>strong {
  font-size: 10px;
  line-height: 1.5;
}

.pipeline-step .icon {
  width: 15px;
}

.upload-zone input {
  width: auto;
  max-width: 100%;
  font-size: 12px;
  border: 0;
  margin: 12px auto;
  padding: 8px;
  background: #f0edfb;
}

.capability-list {
  margin-top: 20px;
}

.capability-item>span:first-child {
  flex: 1;
  min-width: 0;
}

.integration-features {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.integration-features span {
  font-size: 10px;
  background: #f4f2fa;
  padding: 5px 7px;
  border-radius: 6px;
  color: #726882;
}

.code-block {
  background: #11182a;
  color: #d4dbee;
  padding: 24px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.9;
  overflow: auto;
}

.preview-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 30px 0;
}

.preview-brand h2 {
  margin: 0 0 5px;
}

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

.compact {
  min-width: 230px;
}

.search-result>span:nth-child(2) {
  flex: 1;
}

.modal-search {
  width: 100%;
}

.modal-search input {
  font-size: 15px;
}

.assistant-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 25px 0;
}

.assistant-input .form-error {
  width: 100%;
}

.login-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

.login-intro h1 {
  font-size: 51px;
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 25px 0;
  color: #fff;
}

.login-intro h1 em {
  font-style: normal;
  color: #b8a4ff;
}

.login-intro>p {
  font-size: 14px;
  line-height: 1.95;
  color: #b9bbd2;
  max-width: 445px;
}

.art-center {
  position: absolute;
  left: 44%;
  top: 40%;
  background: linear-gradient(150deg,#8660ff,#5830c7);
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 32px;
  font-weight: 650;
  box-shadow: 0 0 65px #6642b540;
  transform: rotate(-8deg);
}

.orbit {
  position: absolute;
  left: 18%;
  top: 10%;
  width: 280px;
  height: 170px;
  border: 1px solid #473366;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit-two {
  width: 365px;
  height: 120px;
  left: 10%;
  top: 25%;
  transform: rotate(20deg);
  border-color: #40304f;
}

.art-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #23223b;
  border: 1px solid #4a3969;
  border-radius: 11px;
  color: #d5ccec;
  font-size: 11px;
  box-shadow: 0 10px 35px #080c1920;
}

.art-node .icon {
  width: 16px;
  color: #b39aff;
}

.n1 {
  left: 8%;
  top: 18%;
}

.n2 {
  right: 0;
  top: 12%;
}

.n3 {
  left: 0;
  bottom: 4%;
}

.n4 {
  right: 5%;
  bottom: 2%;
}

.login-values {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #afa7c1;
}

.login-values>span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.login-values .icon {
  width: 14px;
  color: #a38dce;
}

.login-form-box {
  max-width: 402px;
  width: 100%;
  margin: auto;
}

.login-form-box h2 {
  font-size: 35px;
  font-weight: 650;
  letter-spacing: -.04em;
  margin: 12px 0;
}

.login-form-box>.muted {
  line-height: 1.8;
  margin-bottom: 30px;
}

.login-submit {
  width: 100%;
  justify-content: space-between;
  padding: 14px 18px;
  margin-top: 8px;
}

.login-help>.icon {
  width: 13px;
  vertical-align: middle;
}

.login-help .text-link {
  font-size: 11px;
  margin-top: 7px;
}

.demo-accounts>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
}

.demo-accounts>p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
}

.demo-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.demo-account-grid>button {
  background: #fff;
  border: 1px solid #e8e6f1;
  border-radius: 8px;
  padding: 10px;
  text-align: left;
}

.demo-account-grid>button:hover {
  border-color: #a993ec;
  background: #f6f2ff;
}

.demo-account-grid strong {
  display: block;
  font-size: 11px;
}

.demo-account-grid small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.demo-password {
  margin-bottom: 0;
}

.login-fineprint {
  font-size: 10px;
  color: #9793a5;
  text-align: center;
  margin-top: 28px;
}

.boot-error {
  margin: 15vh auto;
  max-width: 650px;
  padding: 30px;
}

.dialog .sub-panel {
  margin-top: 8px;
}

.dialog .evidence-field {
  max-height: 280px;
  overflow: auto;
}

.dialog.wide .evidence-field {
  max-height: 330px;
}

.btn:disabled {
  cursor: wait;
  opacity: .6;
}

.settings-preview .brand-mark {
  background: var(--violet,#6941ff);
}

.sidebar.is-open {
  transform: translateX(0)!important;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.main-content>h1:focus {
  outline: 0;
}

.copy-fallback {
  width: 100%;
  font-family: monospace;
}

.brand-name,.brand-tagline,.owner-cell strong,.owner-cell small {
  display: block;
}

.owner-cell strong {
  font-size: 11px;
  margin-bottom: 3px;
}

.owner-cell small {
  font-size: 10px;
  line-height: 1.5;
}

.goal-counters>div {
  padding: 15px 17px;
  background: #ffffffb3;
  border: 1px solid #eeebf8;
  border-radius: 13px;
}

.goal-counters strong,.goal-counters small {
  display: block;
}

.goal-counters strong {
  font-size: 27px;
  font-weight: 650;
  line-height: 1.1;
}

.goal-counters small {
  font-size: 10px;
  color: #73718a;
  margin-top: 8px;
}

.source-donut>div,.source-donut>span {
  position: relative;
  z-index: 1;
}

.quality-checks>div,.quality-checks>li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.quality-checks .icon {
  color: #169576;
  flex: none;
  width: 14px;
  height: 14px;
}

.planning-hero>div:first-child {
  position: relative;
  z-index: 1;
}

.function-assignment input:not([type=number]),.driver-head input:not([type=number]) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.measure-item {
  padding: 13px 0;
  border-bottom: 1px solid #efedf6;
}

.measure-item small,.measure-item strong {
  display: block;
}

.measure-item strong {
  font-size: 20px;
  margin: 7px 0;
}

.measure-item small {
  font-size: 11px;
  color: #73718a;
}

.toolbar select {
  width: auto;
  min-width: 160px;
}

.task strong,.task small {
  display: block;
}

.task small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.grid-2>*,.grid-3>* {
  min-width: 0;
}

.content-columns>.stack,.content-columns>.primary-content,.right-rail,.table-scroll {
  min-width: 0;
}

.right-rail>.panel {
  min-width: 0;
  width: 100%;
}

.mt-xs {
  margin-top: 4px;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes toastIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shine {
  to {
    background-position: -200%;
  }
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

@media (min-width: 1800px) {
  .goal-tables.split .data-table td {
    padding: 17px 14px;
  }

  .goal-tables.split .panel-head>.panel-heading>.icon-box {
    display: grid;
  }

  .planning-hero h2 {
    font-size: 30px;
  }

  .planning-hero .hero-quote {
    right: 32px;
  }

}

@media (min-width: 1600px) {
  :root {
    --sidebar: 258px;
  }

  .main-content {
    padding: 36px 43px;
  }

  .content-columns {
    grid-template-columns: minmax(0,1fr) 292px;
    gap: 25px;
  }

  .goal-tables.split {
    grid-template-columns: 1.2fr 1fr;
  }

  .data-table td {
    font-size: 12px;
  }

  .data-table .table-title {
    font-size: 12px;
  }

  .outcomes-table .data-table td:nth-child(2) {
    min-width: 205px;
  }

  .panel {
    padding: 25px;
  }

  .right-rail .panel {
    padding: 22px;
  }

  .planning-hero h2 {
    font-size: 25px;
  }

}

@media (min-width: 1201px) and (max-width: 1650px) {
  .goal-tables .table-scroll table {
    min-width: 430px;
  }

  .goal-tables th,.goal-tables td {
    padding: 12px 10px;
  }

  .goal-tables .goal-title {
    min-width: 130px;
  }

}

@media (max-width: 1450px) {
  .hero-quote {
    display: none;
  }

  .goal-tables.split {
    grid-template-columns: 1fr;
  }

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

  .dimension-row {
    column-gap: 12px;
  }

  .outcomes-table .data-table td {
    padding: 14px 9px;
  }

  .outcomes-table .data-table th {
    font-size: 9px;
  }

  .outcomes-table .owner-cell .avatar {
    display: none;
  }

  .outcomes-table .outcome-title {
    min-width: 175px;
  }

  .summary-meta {
    flex-wrap: wrap;
    gap: 15px;
  }

  .driver-grid {
    gap: 10px;
  }

  .function-assignments {
    gap: 5px;
    padding: 8px;
  }

  .driver-head {
    padding: 12px 6px;
  }

  .driver-card .function-assignment {
    padding: 9px 3px;
  }

  .driver-head p {
    font-size: 10px;
  }

}

@media (max-width: 1250px) {
  :root {
    --sidebar: 219px;
  }

  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-content {
    padding: 27px 25px;
  }

  .topbar {
    padding: 0 25px;
  }

  .content-columns {
    grid-template-columns: minmax(0,1fr) 235px;
    gap: 17px;
  }

  .right-rail .panel {
    padding: 16px;
  }

  .page-head h1 {
    font-size: 30px;
  }

  .head-actions .btn {
    padding: 9px 11px;
    font-size: 10px;
  }

  .goal-tables.split {
    grid-template-columns: 1fr;
  }

  .goal-overview {
    gap: 15px;
  }

  .goal-counter {
    min-width: 75px;
    padding: 11px;
  }

  .search-trigger span {
    display: none;
  }

  .quality-body {
    gap: 10px;
  }

  .quality-body .ring {
    width: 70px;
    height: 70px;
  }

  .quality-body .ring strong {
    font-size: 21px;
  }

  .quality-body .ring:before {
    inset: 7px;
  }

  .outcomes-table .data-table th,.outcomes-table .data-table td {
    padding-left: 9px;
    padding-right: 9px;
  }

  .outcomes-table .data-table td:nth-child(2) {
    min-width: 149px;
  }

  .outcomes-table .data-table th:nth-child(8),.outcomes-table .data-table td:nth-child(8) {
    display: none;
  }

  .outcomes-table .owner .avatar {
    display: none;
  }

  .dimension-row {
    grid-template-columns: 160px 1fr 70px 62px;
    gap: 12px;
  }

  .driver-grid {
    gap: 10px;
  }

  .driver-head {
    padding: 12px 9px;
  }

  .driver-head strong {
    font-size: 10px;
  }

  .measure-grid {
    gap: 9px;
  }

  .measure-card {
    padding: 13px;
  }

  .measure-card strong {
    font-size: 17px;
  }

  .hero-quote {
    display: none;
  }

  .mountain {
    right: -55px;
    opacity: .6;
  }

  .goal-counters {
    gap: 7px;
  }

  .summary-meta {
    gap: 16px;
  }

  .stat-value {
    font-size: 27px;
  }

  .stat {
    padding: 15px;
  }

  .stat-top {
    font-size: 10px;
  }

  .step strong {
    font-size: 9px;
  }

  .step {
    gap: 7px;
  }

  .step-dot {
    width: 25px;
    height: 25px;
  }

  .step-line {
    margin: 0 8px 0 0;
  }

  .review-layout {
    grid-template-columns: 210px 1fr;
  }

  .directory-grid {
    grid-template-columns: repeat(2,1fr);
  }

}

@media (max-width: 1200px) {
  .content-columns {
    grid-template-columns: minmax(0,1fr);
  }

}

@media (max-width: 1100px) {
  .login-brand {
    padding: 35px;
  }

  .login-intro h1 {
    font-size: 41px;
  }

  .login-art {
    transform: scale(.85);
    transform-origin: left center;
  }

  .login-form-side {
    padding: 35px;
  }

  .measure-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .goal-overview {
    flex-wrap: wrap;
  }

  .goal-counters {
    width: 100%;
  }

  .review-inputs {
    grid-template-columns: repeat(2,1fr);
  }

  .driver-grid {
    grid-template-columns: 1fr!important;
    gap: 16px;
  }

  .driver-card:before {
    display: none;
  }

  .driver-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .driver-head {
    grid-row: span 2;
    min-height: 150px;
  }

  .driver-footer {
    grid-column: 2;
  }

  .tree-root:after,.driver-grid:before {
    display: none;
  }

  .driver-grid.table-mode .driver-card {
    grid-template-columns: 1fr 1fr;
  }

  .source-summary {
    flex-wrap: wrap;
  }

  .source-legend {
    min-width: 130px;
  }

  .alignment-chain:not(.vertical) {
    flex-wrap: wrap;
  }

  .alignment-node {
    min-width: 140px;
    flex: 1;
  }

  .help-grid {
    grid-template-columns: repeat(2,1fr);
  }

}

@media (max-width: 1050px) {
  .content-columns {
    grid-template-columns: 1fr;
  }

  .right-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .right-rail .ai-panel {
    grid-row: span 2;
  }

  .outcomes-table .data-table td:nth-child(2) {
    min-width: 180px;
  }

  .planning-hero-content {
    max-width: 72%;
  }

  .search-trigger {
    display: none;
  }

  .top-actions {
    gap: 11px;
  }

  .grid-4,.stats {
    grid-template-columns: repeat(2,1fr);
  }

  .stats.three {
    grid-template-columns: repeat(3,1fr);
  }

  .page-head {
    align-items: flex-start;
  }

  .head-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .login-brand {
    padding: 43px;
  }

  .login-form-side {
    padding: 40px;
  }

  .login-brand-copy h1 {
    font-size: 43px;
  }

  .login-brand-copy>p {
    font-size: 12px;
  }

  .sprint-grid.grid-3 {
    grid-template-columns: 1fr;
  }

  .measure-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .measure-card strong {
    font-size: 22px;
  }

  .review-inputs {
    grid-template-columns: 1fr 1fr;
  }

  .goal-tables.split {
    grid-template-columns: 1fr 1fr;
  }

  .goal-tables.split .data-table th:nth-child(4),.goal-tables.split .data-table td:nth-child(4) {
    display: none;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 800px) {
  :root {
    --sidebar: 205px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 60px #09122650;
  }

  .app-main {
    margin-left: 0;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .topbar {
    height: 66px;
    padding: 0 20px;
  }

  .breadcrumb {
    gap: 7px;
  }

  .breadcrumb>.icon:first-child {
    display: none;
  }

  .top-separator {
    display: none;
  }

  .main-content {
    padding: 24px 18px;
  }

  .page-head {
    gap: 18px;
  }

  .page-head h1 {
    font-size: 28px;
  }

  .page-head p {
    font-size: 11px;
  }

  .head-actions .btn span {
    display: none;
  }

  .head-actions .btn {
    padding: 9px;
  }

  .head-actions .btn:not(:has(.icon)) span {
    display: block;
  }

  .content-columns {
    gap: 19px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .goal-overview {
    flex-wrap: wrap;
  }

  .goal-counters {
    min-width: 100%;
    margin-top: 5px;
  }

  .goal-tables.split {
    grid-template-columns: 1fr;
  }

  .goal-tables.split .data-table th:nth-child(4),.goal-tables.split .data-table td:nth-child(4) {
    display: table-cell;
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-list {
    display: flex;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    flex-wrap: wrap;
  }

  .review-person {
    padding: 12px;
    flex: 1;
    min-width: 175px;
  }

  .review-person .row {
    gap: 7px;
  }

  .review-person .avatar {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .review-person h3 {
    font-size: 11px;
  }

  .review-person p {
    font-size: 8px;
  }

  .login-brand {
    display: none;
  }

  .login {
    display: block;
  }

  .login-form-side {
    min-height: 100vh;
    padding: 50px 25px;
  }

  .login-form-wrap {
    max-width: 390px;
  }

  .login-form-wrap:before {
    content: 'Forsight';
    display: block;
    font-size: 25px;
    font-weight: 650;
    letter-spacing: -1px;
    color: #7857a5;
    margin-bottom: 43px;
  }

  .dimension-row {
    grid-template-columns: 155px 1fr 50px;
    gap: 11px;
  }

  .dimension-gap {
    display: none;
  }

  .readiness-hero {
    gap: 20px;
    padding: 23px;
  }

  .readiness-score {
    font-size: 52px;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .audit-row {
    grid-template-columns: 100px 1fr;
    gap: 8px;
  }

  .audit-row p {
    grid-column: 1/-1;
  }

  .tree-root {
    width: 210px;
  }

  .driver-grid {
    gap: 14px;
  }

  .content-footer {
    font-size: 8px;
  }

  .summary-meta {
    flex-wrap: wrap;
  }

  .welcome-hero .hero-emblem {
    font-size: 110px;
    padding-right: 10px;
  }

  .welcome-hero {
    padding: 23px;
  }

  .welcome-hero h2 {
    font-size: 28px;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-form-box {
    max-width: 440px;
  }

  .login-form-box:before {
    content: 'F';
    display: grid;
    place-items: center;
    background: #6941ff;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 26px;
    margin-bottom: 32px;
  }

  .principle-chain {
    justify-content: flex-start;
  }

  .pipeline {
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }

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

  .measure-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dialog .dimension-row.compact {
    grid-template-columns: 1fr;
  }

  .review-list>h3,.review-list>p {
    width: 100%;
    margin: 0;
  }

  .rating-options {
    gap: 5px;
  }

  .rating-option small {
    font-size: 8px;
  }

  .rating-option span {
    padding: 10px 4px;
  }

  .stepper .step strong {
    font-size: 10px;
  }

  .stepper .step-dot {
    width: 27px;
    height: 27px;
    flex: none;
  }

  .distribution-group {
    gap: 12px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .settings-preview {
    min-height: 200px;
  }

  .table-mode .driver-card {
    grid-template-columns: 1fr!important;
  }

  .table-mode .driver-footer {
    grid-column: auto;
  }

  .table-mode .driver-head {
    grid-row: auto;
  }

  .wizard-card {
    padding: 20px;
  }

  .role-select {
    min-width: 135px;
  }

  .goal-overview>.row {
    align-items: center;
  }

  .outcomes-table .table-scroll {
    border-radius: 0;
  }

}

@media (max-width: 550px) {
  .top-actions {
    gap: 10px;
  }

  .period-button {
    padding: 8px;
    font-size: 10px;
  }

  .period-button .icon:first-child {
    display: none;
  }

  .topbar {
    padding: 0 14px;
  }

  .breadcrumb {
    font-size: 10px;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
  }

  .main-content {
    padding: 20px 14px;
  }

  .page-head {
    flex-direction: column;
    margin-bottom: 22px;
  }

  .page-head h1 {
    font-size: 27px;
  }

  .head-actions {
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
  }

  .head-actions .btn span {
    display: block;
  }

  .stats,.grid-2,.grid-3,.grid-4,.stats.three,.directory-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .panel {
    padding: 19px;
  }

  .panel.flush .panel-head {
    padding: 18px 17px;
  }

  .panel-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .panel-head h2 {
    font-size: 16px;
  }

  .panel-head p {
    font-size: 11px;
  }

  .panel-actions .btn {
    padding: 7px 9px;
    font-size: 9px;
  }

  .stats .stat {
    padding: 14px;
  }

  .stat-value {
    font-size: 28px;
  }

  .right-rail {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  .planning-hero {
    padding: 24px!important;
    min-height: 185px;
  }

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

  .planning-hero-content {
    max-width: 83%;
  }

  .planning-hero p {
    max-width: 210px;
    font-size: 11px;
  }

  .mountain {
    width: 240px;
    right: -85px;
    opacity: .43;
  }

  .data-table td {
    padding: 14px 11px;
  }

  .data-table th:first-child,.data-table td:first-child {
    padding-left: 17px;
  }

  .outcomes-table .data-table td:nth-child(2) {
    min-width: 200px;
  }

  .goal-tables .data-table td:nth-child(1) {
    min-width: 170px;
  }

  .data-table th,.data-table td {
    white-space: nowrap;
  }

  .data-table .table-title,.data-table .table-sub {
    white-space: normal;
  }

  .table-scroll {
    border-radius: inherit;
  }

  .table-foot {
    padding: 11px 16px;
  }

  .goal-overview {
    padding: 18px;
    gap: 20px;
  }

  .goal-counters {
    gap: 0;
  }

  .goal-counter {
    padding: 10px;
  }

  .goal-counter strong {
    font-size: 21px;
  }

  .goal-counter small {
    font-size: 8px;
  }

  .goal-tables {
    gap: 16px;
  }

  .goal-tables .panel-heading {
    gap: 8px;
  }

  .goal-tables .icon-box {
    width: 27px;
    height: 27px;
  }

  .tabs {
    gap: 21px;
    overflow: auto;
    white-space: nowrap;
  }

  .tab {
    font-size: 11px;
    flex: none;
    padding: 13px 12px;
  }

  .grid-2.mobile-one,.grid-3.mobile-one,.help-grid,.field-group,.field-group.thirds {
    grid-template-columns: 1fr;
  }

  .step {
    gap: 7px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 66px;
  }

  .step:last-child {
    flex: 1;
  }

  .step-dot {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .step strong {
    font-size: 9px!important;
    white-space: normal;
    padding: 0;
  }

  .step-line {
    position: absolute;
    top: 13px;
    left: calc(50% + 19px);
    width: calc(100% - 38px);
    margin: 0;
    display: none;
  }

  .stepper {
    align-items: flex-start;
    margin-bottom: 23px;
    gap: 8px;
    overflow: auto;
  }

  .step.complete .step-line {
    background: #99d2bd;
  }

  .next-steps .stepper {
    gap: 7px;
  }

  .next-steps .step strong {
    font-size: 8px;
  }

  .driver-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .driver-grid:before,.driver:before {
    display: none;
  }

  .tree-root {
    margin-bottom: 20px;
  }

  .tree-root:after {
    height: 15px;
    bottom: -16px;
  }

  .driver-head {
    min-height: auto;
    padding: 17px;
  }

  .driver-head strong {
    font-size: 13px;
  }

  .driver-head p {
    font-size: 10px;
  }

  .function-assignment {
    padding: 12px;
  }

  .function-assignment input[type=text] {
    font-size: 11px;
  }

  .driver-estimate {
    padding: 11px 0;
    font-size: 10px;
  }

  .function-assignments {
    gap: 15px;
  }

  .function-assignment .estimate-line {
    font-size: 10px;
  }

  .function-assignment .native-input {
    font-size: 12px;
  }

  .allocation-inputs {
    gap: 7px;
  }

  .allocation-inputs label {
    font-size: 8px;
  }

  .wizard-card {
    padding: 20px;
  }

  .wizard-heading h2 {
    font-size: 17px;
  }

  .ai-draft-block {
    padding: 19px;
  }

  .why-list {
    border: 0;
    padding: 15px 0 0;
  }

  .action-bar {
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .action-bar .btn {
    font-size: 11px;
    padding: 9px 11px;
    flex: 1;
    white-space: normal;
    min-height: 40px;
  }

  .action-bar .btn .icon {
    width: 13px;
  }

  .measure-grid {
    grid-template-columns: 1fr;
  }

  .measure-card:last-child {
    grid-column: 1/-1;
  }

  .measure-card strong {
    font-size: 20px;
  }

  .evidence-comparison {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .dimension-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .dimension-row h3 {
    font-size: 10px;
  }

  .dimension-row small {
    font-size: 8px;
  }

  .dimension-track {
    height: 7px;
    grid-row: 2;
    grid-column: 1;
  }

  .dimension-value {
    font-size: 10px;
    grid-column: 2;
  }

  .readiness-hero {
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-hero .readiness-text {
    flex: 1;
  }

  .readiness-hero h2 {
    font-size: 18px;
  }

  .sprint-grid.grid-3 {
    grid-template-columns: 1fr;
  }

  .course-card {
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }

  .course-card .btn {
    margin-left: 57px;
  }

  .review-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .review-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .review-person .review-meta {
    margin: 0;
  }

  .review-person .review-meta>small {
    display: none;
  }

  .review-inputs {
    gap: 9px;
  }

  .review-input {
    padding: 12px;
  }

  .rating-options {
    gap: 5px;
    grid-template-columns: repeat(5,1fr);
  }

  .rating-option {
    padding: 10px 3px;
  }

  .rating-option small {
    font-size: 7px;
  }

  .dialog-header {
    padding: 20px;
  }

  .dialog-body,.dialog.wide .dialog-body {
    padding: 19px;
  }

  .dialog-header h2 {
    font-size: 18px;
  }

  .dialog .form-actions {
    bottom: -19px;
    gap: 8px;
  }

  .dialog .dimension-row {
    grid-template-columns: 128px 1fr 45px;
  }

  .dialog.drawer {
    border-radius: 0;
    max-width: 100vw!important;
  }

  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .assistant-intro {
    padding: 20px 0;
  }

  .assistant-intro h2 {
    font-size: 25px;
  }

  .assistant-message.user-message {
    margin-left: 20px;
  }

  .content-footer {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    font-size: 9px;
  }

  .welcome-hero .hero-emblem {
    display: none;
  }

  .welcome-hero h2 {
    font-size: 23px;
  }

  .welcome-hero p {
    font-size: 11px;
  }

  .review-layout .panel {
    padding: 18px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .audit-row {
    grid-template-columns: 95px 1fr;
  }

  .person-card {
    padding: 18px;
  }

  .person-card h3 {
    font-size: 12px;
  }

  .person-card .person-footer {
    gap: 7px;
    flex-wrap: wrap;
  }

  .person-card .btn {
    font-size: 9px;
    padding: 7px 9px;
  }

  .top-actions>.avatar {
    display: none;
  }

  #toast-root {
    right: 15px;
    left: 15px;
    bottom: 17px;
    max-width: none;
  }

  .toast {
    font-size: 11px;
  }

  .diagnosis-band {
    padding: 15px 13px;
  }

  .diagnosis-band summary {
    align-items: flex-start;
  }

  .diagnosis-band .pill {
    font-size: 8px;
  }

  .grid-2.form-grid {
    grid-template-columns: 1fr;
  }

  .login-form-wrap h2 {
    font-size: 29px;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .head-actions .btn {
    font-size: 11px;
    padding: 10px 12px;
  }

  .page-head>.head-actions>.btn {
    flex: 1;
  }

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

  .stat {
    padding: 15px;
  }

  .stat-top>span:first-child {
    font-size: 10px;
  }

  .stat-top .icon-box {
    width: 30px;
    height: 30px;
  }

  .stat-note {
    font-size: 9px;
    line-height: 1.65;
  }

  .panel.flush {
    padding: 0;
  }

  .planning-hero .mountain {
    width: 235px;
    right: -70px;
    opacity: .65;
    bottom: 0;
  }

  .goal-overview>.row {
    gap: 15px;
    flex-wrap: wrap;
  }

  .goal-overview h3 {
    font-size: 14px;
  }

  .goal-counters>div {
    padding: 10px;
  }

  .goal-counters strong {
    font-size: 23px;
  }

  .goal-counters small {
    font-size: 9px;
  }

  .stepper .step-dot {
    width: 26px;
    height: 26px;
  }

  .readiness-score {
    border-right: none;
    border-bottom: 1px solid #e9e7f2;
    padding: 0 0 20px;
    min-width: 0;
  }

  .readiness-meta {
    padding: 0;
  }

  .dimension-label {
    grid-column: 1/-1;
  }

  .dimension-gap {
    grid-row: 3;
    grid-column: 2;
  }

  .dimension-row .evidence-chips {
    grid-row: 3;
    grid-column: 1;
    margin: 0;
  }

  .dimension-value small {
    font-size: 9px;
  }

  .field-group,.field-group.thirds {
    grid-template-columns: 1fr;
  }

  .milestone-row {
    padding-right: 0;
  }

  .milestone-row>.btn {
    position: static;
  }

  .action-bar>.row {
    width: 100%;
  }

  .dialog {
    max-width: calc(100vw - 20px)!important;
  }

  .dialog-body {
    padding: 20px;
  }

  .dialog .form-actions>.btn {
    font-size: 11px;
  }

  .review-input .icon-box {
    width: 32px;
    height: 32px;
  }

  .task {
    gap: 10px;
    display: flex;
    align-items: flex-start;
  }

  .task strong {
    font-size: 12px;
  }

  .assistant-message {
    padding: 20px;
  }

  .assistant-message.user {
    margin-left: 25px;
  }

  .source-summary {
    justify-content: center;
  }

  .source-legend {
    flex-basis: 100%;
  }

  .quality-body {
    gap: 18px;
    flex-wrap: nowrap;
  }

  .quality-checks {
    font-size: 10px;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .integration-features {
    margin: 20px 0;
  }

  .native-metric-value {
    font-size: 34px;
  }

  .period-button .icon {
    width: 13px;
  }

  .breadcrumb>span {
    display: none;
  }

  .breadcrumb>.icon {
    display: none;
  }

  .row-between {
    gap: 12px;
    flex-wrap: wrap;
  }

  .owner-cell {
    gap: 8px;
  }

  .ai-suggestion strong {
    font-size: 12px;
  }

  .measure-card {
    padding: 20px;
  }

  .form-actions {
    flex-wrap: wrap;
  }

  .human-decision {
    padding: 18px;
  }

  .rating-option span {
    min-height: 100px;
  }

  .login-form-box h2 {
    font-size: 32px;
  }

  .code-block {
    font-size: 10px;
    padding: 17px;
  }

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

  .row.mt {
    flex-wrap: wrap;
  }

  .task>div {
    min-width: 0;
  }

  .task .task-check {
    flex: none;
  }

  .quality-checks .text-amber {
    color: #c18a29;
  }

  .grid-2 .table-scroll {
    max-width: 100%;
  }

  .content-columns {
    width: 100%;
    max-width: 100%;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .toolbar .search-field {
    max-width: 100%;
    min-width: 0;
  }

  .outcomes-table .data-table {
    min-width: 860px;
  }

  .outcomes-table .table-scroll {
    width: 100%;
    max-width: 100%;
  }

  .content-columns>.stack {
    max-width: 100%;
    width: 100%;
  }

  .main-content .row {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .main-content .row>select {
    max-width: 100%;
  }

  .task .row {
    flex-wrap: wrap;
  }

}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none!important;
    scroll-behavior: auto!important;
    transition: none!important;
  }

}

@media print {
  .sidebar,.topbar,.head-actions,.right-rail,.content-footer,.btn,.icon-button,.action-bar {
    display: none!important;
  }

  .app-main {
    margin: 0;
  }

  .main-content {
    padding: 0;
  }

  .content-columns {
    display: block;
  }

  .panel {
    break-inside: avoid;
    box-shadow: none;
  }

  .page-head {
    margin-top: 20px;
  }

  body {
    background: white;
  }

  .dialog::backdrop {
    display: none;
  }

}
