/* AllianceGrid workspace system: shared across participant and administrative views. */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #172e2b;
  --deep: #102d2a;
  --green: #246551;
  --lime: #d8f378;
  --paper: #f1f5f4;
  --line: #e1e9e5;
  --muted: #697b75;
}
body {
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
}
.button {
  border-radius: 11px;
  font-weight: 650;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.button.primary {
  background: #d8f378;
  color: #173c2d;
  box-shadow: 0 3px 8px #46632910;
}
.button.primary:hover {
  background: #c9eb62;
  box-shadow: 0 4px 14px #36552220;
}
.button.outline {
  border-color: #dbe5e0;
  background: #fff;
}
.button.outline:hover {
  background: #f2f7f0;
  border-color: #adbfaa;
}
.button:disabled {
  cursor: not-allowed;
}
.portal .sidebar {
  width: 242px;
  inset: 12px auto 12px 12px;
  border-radius: 20px;
  padding: 27px 17px 18px;
  background: linear-gradient(165deg, #163d35, #0f2c29 65%);
  box-shadow: 0 14px 40px #13392c14;
}
.portal .sidebar .brand {
  padding: 0 9px;
  font-size: 17px;
  gap: 6px;
  letter-spacing: -0.7px;
}
.portal .sidebar-caption {
  margin: 29px 12px 8px;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #90b3a5;
}
.portal .sidebar nav {
  gap: 5px;
}
.nav-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #80a495;
  margin: 21px 13px 10px;
}
.portal .nav-item {
  border-radius: 11px;
  padding: 12px 13px;
  color: #b8d0c4;
  gap: 12px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 550;
  transition:
    background 0.15s,
    color 0.15s;
}
.portal .nav-item svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.portal .nav-item .nav-label {
  width: auto;
  font-size: 14px;
  white-space: nowrap;
}
.portal .nav-item.active {
  color: #193c2e;
  background: #d8f378;
  box-shadow: 0 3px 10px #0000000a;
}
.portal .nav-item:hover:not(.active) {
  background: #ffffff0c;
  color: #fff;
}
.portal .sidebar-note {
  border-color: #ffffff12;
  margin: 26px 8px 10px;
  padding: 20px 2px;
  gap: 12px;
}
.portal .sidebar-note p {
  font-size: 12px;
  line-height: 1.65;
  color: #a1beb0;
}
.portal .sidebar-note > span {
  font-size: 26px;
}
.portal .back-site {
  display: block;
  color: #a1beb0;
  font-size: 12px;
  padding: 9px 13px;
}
.portal .workspace-shell {
  margin-left: 266px;
}
.portal .workspace-header {
  height: 82px;
  padding: 0 38px;
  border-bottom: 1px solid #e1e9e5;
  background: #f9fbfacf;
  backdrop-filter: blur(16px);
  gap: 20px;
}
.workspace-location {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  min-width: 0;
}
.workspace-product {
  font-weight: 700;
  color: #244738;
}
.workspace-divider {
  color: #b4c4ba;
}
.workspace-location #breadcrumb {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prototype-badge {
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #e6eddf;
  border: 1px solid #d5e0ca;
  color: #5a734b;
  margin-right: auto;
  font-weight: 650;
}
.portal .account {
  gap: 10px;
}
.portal .avatar {
  background: #dce9d5;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #3e6141;
  font-size: 11px;
}
.portal #user-name {
  font-size: 13px;
}
.portal .logout {
  font-size: 12px;
  margin-left: 4px;
}
.portal #workspace {
  padding: 35px 38px 44px;
  max-width: 1580px;
}
.portal .page-title {
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 24px;
}
.portal .page-title h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: -1.15px;
  font-weight: 650;
  line-height: 1.17;
  margin: 7px 0 11px;
  max-width: 950px;
}
.portal .page-title > div > p:last-child {
  font-size: 14px;
  line-height: 1.65;
  max-width: 760px;
  color: #718079;
}
.portal .page-title > .button {
  flex-shrink: 0;
  font-size: 13px;
  min-height: 43px;
  padding: 11px 17px;
  margin-top: 8px;
}
.portal .kicker {
  font-size: 10px !important;
  letter-spacing: 1.5px;
  color: #688858 !important;
}
.portal .welcome-banner {
  border-radius: 18px;
  padding: 29px 31px;
  background: linear-gradient(110deg, #173e35, #244f3e);
  margin-bottom: 23px;
  border: 1px solid #2b5847;
}
.portal .welcome-banner h2 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.portal .welcome-banner .eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #c9e6a4;
  margin-bottom: 13px;
}
.portal .welcome-banner p {
  font-size: 14px;
  line-height: 1.7;
  color: #b2ccbb;
}
.portal .welcome-banner .step-icon {
  border: 1px solid #688b642e;
  background: #d5ef730c;
  border-radius: 22px;
  font-size: 40px;
  padding: 18px 26px;
  color: #d8edb7;
}
.portal .stats {
  gap: 17px;
  margin-bottom: 24px;
}
.portal .stat {
  border-radius: 15px;
  border: 1px solid #e1e9e3;
  padding: 22px 24px;
  box-shadow: 0 3px 12px #143c2403;
}
.portal .stat-label {
  font-size: 12px;
  color: #71837a;
  margin: 0 0 15px;
}
.portal .stat strong {
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -1.6px;
  color: #183d2d;
}
.portal .stat small {
  font-size: 11px;
  color: #8b9b90;
  margin-top: 13px;
}
.portal .panel {
  border-radius: 16px;
  border: 1px solid #e1e8e2;
  box-shadow: 0 4px 16px #163b2603;
  margin-bottom: 23px;
}
.portal .panel-heading {
  padding: 22px 25px;
  border-color: #edf1ed;
}
.portal .panel-heading h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 650;
  margin: 0;
}
.portal .panel-heading p {
  font-size: 12px;
  color: #829186;
  line-height: 1.6;
}
.portal .panel-body {
  padding: 25px;
}
.portal .panel-link {
  font-size: 12px;
  color: #477451;
}
.portal .data-table th {
  background: #f7faf6;
  color: #849282;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 600;
  border-color: #eaf0e8;
  padding: 14px 23px;
}
.portal .data-table td {
  padding: 20px 23px;
  border-color: #edf2eb;
  font-size: 13px;
}
.portal .data-table small {
  font-size: 11px;
  color: #8b9a8f;
  margin-top: 6px;
}
.portal .organization-link {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.15px;
}
.portal .data-table tbody tr:hover {
  background: #f9fcf7;
}
.portal .pill {
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid #dce5d5;
}
.portal .pill.submitted,
.portal .pill.pending {
  background: #eff4e9;
  color: #687b52;
  border-color: #e2ead7;
}
.portal .pill.approved,
.portal .pill.verified {
  background: #e5f1e8;
  color: #347153;
  border-color: #d5e7d8;
}
.portal .info-note {
  border-radius: 12px;
  border: 1px solid #e0ead7;
  background: #f0f6e8;
  padding: 19px 21px;
  color: #527149;
  font-size: 13px;
  line-height: 1.7;
}
.portal input:not([type="checkbox"]),
.portal textarea,
.portal select {
  border: 1px solid #dce6de;
  border-radius: 9px;
  background: #fcfdfb;
  padding: 12px 14px;
  font-size: 14px;
  box-shadow: 0 1px 2px #173a2003;
}
.portal input:not([type="checkbox"]):focus,
.portal textarea:focus,
.portal select:focus {
  border-color: #85ac68;
  background: #fff;
}
.portal label {
  font-size: 13px;
  font-weight: 550;
  color: #3a5645;
}
.portal .field-note {
  font-size: 12px;
  color: #849483;
  line-height: 1.6;
}
.portal .tabs {
  gap: 5px;
  border: 0;
  background: #e7eee6;
  padding: 5px;
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 25px;
}
.portal .tab {
  border: 0;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 12px;
  color: #6b816b;
}
.portal .tab.active {
  background: #fff;
  color: #2f5c3a;
  box-shadow: 0 2px 6px #19391f0a;
}
.portal .project-grid {
  gap: 22px;
}
.portal .project-card .panel-body {
  padding: 27px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portal .project-card {
  margin-bottom: 0;
}
.portal .project-card h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin: 16px 0 10px;
  font-weight: 620;
}
.portal .project-card .project-excerpt {
  font-size: 13px;
  line-height: 1.75;
  color: #778876;
  min-height: 91px;
}
.portal .project-meta {
  font-size: 11px;
  border-top: 1px solid #edf2e8;
  padding-top: 16px;
  margin-top: auto;
}
.portal .project-state {
  font-size: 10px;
  padding: 5px 9px;
  width: fit-content;
  background: #eaf1e1;
  color: #628143;
  border-radius: 6px;
  letter-spacing: 0.2px;
}
.portal .project-card .form-actions {
  margin-top: 19px;
  gap: 9px;
}
.portal .project-card .button {
  font-size: 12px;
  padding: 11px 14px;
  min-height: 40px;
}
.portal .consortium-company-choice {
  border-radius: 14px;
  padding: 21px;
  border-color: #e0e9dc;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
  background: #fff;
}
.portal .consortium-company-choice:hover {
  border-color: #a9c093;
  box-shadow: 0 4px 16px #24421908;
}
.portal .consortium-company-choice:has(input:checked) {
  background: #f0f8e4;
  border-color: #8bae56;
  box-shadow: 0 0 0 1px #8bae5630;
}
.portal .consortium-company-choice strong {
  font-size: 14px;
  font-weight: 650;
}
.portal .consortium-company-choice small {
  font-size: 12px;
  line-height: 1.7;
  color: #83917e;
}
.portal .consortium-company-grid {
  gap: 16px;
}
.portal .verification-label {
  font-size: 12px;
}
.portal .verification-segment {
  height: 6px;
}
.portal .consortium-partner-card {
  border-radius: 17px;
  padding: 25px;
  border-color: #e0e8dd;
  box-shadow: 0 4px 18px #20452504;
}
.portal .capability-tags > span {
  border-radius: 6px;
  font-size: 12px;
  background: #f3f7ed;
  border-color: #e3eadc;
}
.portal .consortium-vault-hero {
  border-radius: 21px;
  background:
    radial-gradient(ellipse at 82% 50%, #39634855, transparent 55%), #173b32;
  padding: 40px;
}
.portal .consortium-vault-copy h2 {
  font-weight: 600;
  letter-spacing: -1px;
}
.portal .consortium-section-heading h2 {
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.6px;
}
.portal .consortium-next-card {
  border-radius: 15px;
}
.portal .canvas-shell {
  border-radius: 17px;
  border-color: #dce5d9;
  box-shadow: 0 5px 20px #163b2504;
}
.portal .canvas-toolbar {
  padding: 18px 23px;
}
.portal .canvas-toolbar strong {
  font-size: 14px;
  font-weight: 650;
}
.portal .canvas-toolbar span {
  font-size: 12px;
}
.portal .canvas-controls .button {
  border-radius: 8px;
  font-size: 12px;
  min-height: 36px;
  padding: 8px 11px;
}
.portal .canvas-viewport {
  background-color: #f7faf5;
  background-image: radial-gradient(#bacbb066 1px, transparent 1px);
  background-size: 22px 22px;
}
.portal .canvas-legend {
  font-size: 11px;
  background: #fff;
  padding: 14px 22px;
  gap: 20px;
  border-color: #eaf0e5;
}
.portal .workspace-footer {
  border-color: #e2e9df;
  font-size: 10px;
  padding: 19px 38px;
  color: #a0ada1;
}
.demo-tag {
  display: inline-flex;
  padding: 2px 5px;
  border-radius: 4px;
  background: #fff1d2;
  color: #8f6c2b;
  border: 1px solid #eedcaa;
  font-size: 9px;
  letter-spacing: 0.5px;
  vertical-align: 1px;
  font-weight: 700;
}
.demo-notice {
  border: 1px solid #e8d8ae;
  background: #fff9e9;
  padding: 14px 17px;
  border-radius: 10px;
  color: #856b3a;
  font-size: 12px;
  margin-bottom: 18px;
}
.is-demo .verification-segments {
  opacity: 0.85;
}
.portal .toast {
  border-radius: 12px;
  border-left: 0;
  background: #183c30;
  box-shadow: 0 10px 40px #0e292c25;
  font-size: 13px;
}
/* The public introduction follows the same typography and controls. */
.landing .site-header {
  height: 82px;
}
.landing .hero h1 {
  font-size: clamp(42px, 4.7vw, 72px);
  line-height: 1.05;
  letter-spacing: -2.7px;
  font-weight: 650;
}
.landing .hero-description {
  line-height: 1.8;
}
.landing .hero-visual {
  border-radius: 0 0 0 50px;
}
.landing .process-card,
.landing .profile-card {
  border-radius: 17px;
}
.landing .site-header .header-login {
  border-radius: 10px;
}
.landing .section-heading h2 {
  letter-spacing: -1.3px;
  font-weight: 600;
}
@media (min-width: 1650px) {
  .portal #workspace {
    padding-top: 43px;
  }
  .portal .workspace-header {
    padding-left: max(38px, calc((100vw - 266px - 1504px) / 2));
  }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .portal .sidebar {
    width: 210px;
    padding: 25px 12px;
  }
  .portal .workspace-shell {
    margin-left: 234px;
  }
  .portal .workspace-header {
    padding: 0 24px;
  }
  .portal #workspace {
    padding: 29px 24px;
  }
  .portal .sidebar .brand {
    font-size: 15px;
  }
  .portal .nav-item {
    gap: 9px;
    padding: 11px;
  }
  .portal .nav-item .nav-label {
    font-size: 13px;
  }
  .portal .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .portal .app-layout {
    display: block;
  }
  .portal .sidebar {
    position: relative;
    inset: auto;
    width: auto;
    border-radius: 0;
    padding: 20px 20px 12px;
    box-shadow: none;
  }
  .portal .sidebar .brand {
    padding: 0;
    font-size: 18px;
  }
  .portal .sidebar-caption,
  .portal .sidebar-bottom,
  .nav-section-label {
    display: none;
  }
  .portal .sidebar nav {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    margin-top: 19px;
    scrollbar-width: thin;
    padding-bottom: 5px;
    max-width: 100%;
  }
  .portal .nav-item {
    width: auto;
    flex-shrink: 0;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 9px;
    gap: 8px;
  }
  .portal .nav-item svg {
    width: 17px;
    height: 17px;
  }
  .portal .nav-item .nav-label {
    font-size: 12px;
  }
  .portal .workspace-shell {
    margin-left: 0;
  }
  .portal .workspace-header {
    height: 66px;
    padding: 0 22px;
    gap: 12px;
  }
  .workspace-product,
  .workspace-divider {
    display: none;
  }
  .workspace-location {
    font-size: 12px;
  }
  .prototype-badge {
    font-size: 9px;
    padding: 3px 7px;
  }
  .portal .account {
    gap: 7px;
  }
  .portal #user-name {
    font-size: 12px;
  }
  .portal .logout {
    font-size: 11px;
    padding-left: 9px;
    margin-left: 3px;
  }
  .portal #workspace {
    padding: 27px 22px;
  }
  .portal .page-title h1 {
    font-size: 29px;
  }
  .portal .consortium-vault-hero {
    padding: 28px;
  }
  .portal .bottom-grid {
    grid-template-columns: 1fr;
  }
  .portal .welcome-banner .step-icon {
    display: none;
  }
  .portal .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal .workspace-footer {
    padding: 20px 22px;
  }
}
@media (max-width: 520px) {
  .portal .workspace-header {
    padding: 0 17px;
  }
  .prototype-badge {
    display: none;
  }
  .portal .avatar {
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }
  .portal #workspace {
    padding: 25px 16px;
  }
  .portal .page-title {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .portal .page-title h1 {
    font-size: 26px;
    letter-spacing: -0.9px;
  }
  .portal .page-title > .button {
    margin-top: 0;
  }
  .portal .welcome-banner {
    padding: 24px;
  }
  .portal .welcome-banner h2 {
    font-size: 22px;
  }
  .portal .stat {
    padding: 18px;
  }
  .portal .stat strong {
    font-size: 32px;
  }
  .portal .panel-body {
    padding: 20px;
  }
  .portal .panel-heading {
    padding: 20px;
  }
  .portal .tabs {
    overflow: auto;
    white-space: nowrap;
    width: 100%;
    flex-wrap: nowrap;
  }
  .portal .consortium-vault-hero {
    padding: 25px;
  }
  .portal .consortium-partner-card {
    padding: 21px;
  }
  .portal .consortium-company-choice {
    padding: 19px;
  }
  .portal .workspace-footer {
    font-size: 9px;
  }
  .portal .canvas-legend {
    gap: 10px;
    font-size: 10px;
  }
  .landing .hero h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }
}
.employee-intro {
  margin-bottom: 24px;
}
.employee-intro h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 12px 0;
}
.employee-intro p {
  font-size: 14px;
  color: #718079;
  line-height: 1.75;
}
.employee-scan-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e8eee6;
}
.employee-scan-row:first-child {
  padding-top: 0;
}
.employee-scan-row:last-child {
  border: 0;
}
.employee-scan-row strong,
.employee-scan-row small {
  display: block;
}
.employee-scan-row small {
  font-size: 12px;
  color: #829281;
  line-height: 1.6;
  margin-top: 6px;
}
.employee-scan-row p {
  font-size: 13px;
  color: #6b816a;
  max-width: 620px;
}
.employee-scan-row .button {
  flex-shrink: 0;
  font-size: 12px;
}
.employee-profile {
  border: 1px solid #e3eadc;
  border-radius: 13px;
  padding: 22px;
  margin-top: 16px;
  background: #fff;
}
.employee-profile-heading {
  display: flex;
  gap: 14px;
}
.employee-avatar {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #eaf1e2;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 650;
  color: #5a7745;
}
.employee-profile h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.employee-profile-heading p {
  margin: 6px 0;
  font-size: 13px;
  color: #6e816b;
}
.employee-profile small {
  font-size: 11px;
  color: #8b9b86;
}
.employee-profile .button {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 13px;
}
.employee-career {
  list-style: none;
  padding-left: 18px;
  border-left: 2px solid #dfe9d2;
  margin: 24px 0 0;
}
.employee-career li {
  padding: 0 0 22px 4px;
}
.employee-career strong,
.employee-career span,
.employee-career small {
  display: block;
}
.employee-career strong {
  font-size: 14px;
}
.employee-career span {
  font-size: 13px;
  margin: 5px 0;
  color: #6b8067;
}
.employee-career p {
  font-size: 13px;
  color: #778b70;
  line-height: 1.7;
  white-space: pre-line;
}
.employee-scan-row input[type="checkbox"] {
  width: auto;
}
.employee-scan-row .check-label {
  margin: 14px 0;
}
@media (max-width: 700px) {
  .employee-scan-row {
    flex-direction: column;
  }
  .employee-profile {
    padding: 18px;
  }
}

/* Shared reference marks below every consortium and company vault. */
.vault-frameworks {
  width: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dce5df;
  text-align: left;
}
.vault-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vault-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e8ede9;
  border-radius: 10px;
  background: #fff;
}
.vault-logo img {
  width: 36px;
  height: 36px;
  flex: none;
  object-fit: contain;
  border-radius: 50%;
}
.vault-logo span {
  color: #344c43;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
@media (max-width: 400px) {
  .vault-logo-grid {
    grid-template-columns: 1fr;
  }
}
.company-discovery {
  margin: 16px 0;
  padding: 20px;
  border: 1px solid #dfe8df;
  border-radius: 14px;
  background: #f7faf6;
}
.company-discovery details {
  margin-top: 14px;
}
.company-discovery summary {
  cursor: pointer;
  font-size: 13px;
  color: #48634e;
}
.company-search-results {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.company-search-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid #d7e1d7;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.company-search-choice input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
}
.company-search-choice span {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.company-search-choice small {
  color: #607468;
  overflow-wrap: anywhere;
}

.consortium-partner-card > .vault-frameworks {
  margin-top: 12px;
  padding-top: 12px;
}
.consortium-partner-card .vault-logo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.consortium-partner-card .vault-logo {
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
}
.consortium-partner-card .vault-logo img {
  width: 22px;
  height: 22px;
}
.consortium-partner-card .vault-logo span {
  font-size: 9px;
}
.consortium-vault-picture > .consortium-network-count {
  color: #d5ef8c;
  font-weight: 700;
  font-size: 16px;
}
@media (max-width: 400px) {
  .consortium-partner-card .vault-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.consortium-vault-picture > .consortium-fds {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.6;
}
/* Knowledge workspace: source-based categories with a colourful, readable overview. */
#employee-workspace {
  --knowledge-ink: #173547;
}
#employee-workspace .employee-intro {
  margin-bottom: 22px;
}
#employee-workspace .employee-intro h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  color: var(--knowledge-ink);
}
.knowledge-overview {
  margin-bottom: 24px;
  border: 1px solid #e0e7f0;
  border-radius: 23px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px #17354708;
}
.knowledge-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px;
  color: #fff;
  background:
    radial-gradient(ellipse at 85% 20%, #475dd9 0, transparent 58%),
    linear-gradient(120deg, #14364d, #214e78 60%, #5142a6);
}
.knowledge-hero > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.knowledge-kicker {
  color: #b8d9ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
}
.knowledge-hero h2 {
  color: #fff;
  font-size: 30px;
  letter-spacing: -1px;
  margin: 11px 0 12px;
  line-height: 1.15;
}
.knowledge-hero p {
  color: #e4ecfc;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.knowledge-source {
  display: inline-block;
  font-size: 10px;
  line-height: 1.6;
  color: #d5e4ff;
  border: 1px solid #ffffff30;
  background: #ffffff0b;
  border-radius: 8px;
  padding: 6px 10px;
}
.knowledge-orbit {
  position: relative;
  width: 130px;
  height: 130px;
  flex: none;
  border: 1px solid #ffffff25;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-15deg);
}
.knowledge-orbit:before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
}
.knowledge-orbit span {
  font-size: 60px;
  color: #b5edee;
}
.knowledge-orbit i,
.knowledge-orbit b {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffbe87;
  right: 3px;
  top: 25px;
  box-shadow: 0 0 25px #ffbe8750;
}
.knowledge-orbit b {
  background: #bcb0ff;
  width: 9px;
  height: 9px;
  left: 14px;
  bottom: 14px;
  top: auto;
}
.knowledge-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px 26px;
  gap: 18px;
  border-bottom: 1px solid #edf0f5;
}
.knowledge-metrics > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-items: center;
}
.knowledge-metric-icon {
  grid-row: 1/3;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--tone-ink);
  background: var(--tone-bg);
  font-size: 20px;
}
.knowledge-metrics strong {
  font-size: 25px;
  line-height: 1.2;
  color: #1e364c;
  font-weight: 750;
}
.knowledge-metrics > div > span:last-child {
  color: #768396;
  font-size: 10px;
  margin-top: 4px;
}
.tone-blue {
  --tone-ink: #2c61b1;
  --tone-bg: #edf4ff;
  --tone-line: #c8daf6;
}
.tone-violet {
  --tone-ink: #7651ba;
  --tone-bg: #f3eeff;
  --tone-line: #e0d1fb;
}
.tone-cyan {
  --tone-ink: #157c8c;
  --tone-bg: #e9f8fa;
  --tone-line: #bae5eb;
}
.tone-amber {
  --tone-ink: #a46b1d;
  --tone-bg: #fff6e6;
  --tone-line: #f2dfb6;
}
.tone-rose {
  --tone-ink: #ac4c70;
  --tone-bg: #fff0f5;
  --tone-line: #f3d0df;
}
.tone-green {
  --tone-ink: #3b7c54;
  --tone-bg: #edf8ef;
  --tone-line: #c9e6d0;
}
.knowledge-map {
  padding: 26px;
}
.knowledge-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.knowledge-map h3 {
  margin: 0 0 6px;
  color: #233a50;
  font-size: 17px;
}
.knowledge-map-heading p {
  color: #7b8797;
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.knowledge-map-heading .button {
  font-size: 11px;
  min-height: 32px;
  padding: 7px 10px;
  flex: none;
}
.knowledge-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.knowledge-category {
  appearance: none;
  cursor: pointer;
  padding: 16px;
  border: 1px solid var(--tone-line);
  border-radius: 13px;
  background: var(--tone-bg);
  text-align: left;
  color: var(--tone-ink);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.knowledge-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #1735470d;
}
.knowledge-category.is-selected {
  box-shadow: inset 0 0 0 2px var(--tone-ink);
}
.knowledge-category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
}
.knowledge-category-top strong {
  font-size: 23px;
  font-weight: 750;
}
.knowledge-category-track {
  display: block;
  height: 5px;
  background: #ffffffb0;
  border-radius: 6px;
  overflow: hidden;
  margin: 15px 0 10px;
}
.knowledge-category-track i {
  display: block;
  height: 100%;
  background: var(--tone-ink);
  opacity: 0.72;
  border-radius: 6px;
}
.knowledge-category small {
  display: block;
  font-size: 9px;
  opacity: 0.85;
  line-height: 1.65;
}
.knowledge-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}
.knowledge-footnote p {
  color: #8490a0;
  font-size: 10px;
  line-height: 1.8;
  margin: 0;
  max-width: 690px;
}
.knowledge-footnote .panel-link {
  flex: none;
  font-size: 11px;
}
.knowledge-empty {
  color: #8090a1;
  font-size: 13px;
  line-height: 1.8;
  padding: 12px 0;
  grid-column: 1/-1;
}
.employee-tools {
  border: 1px solid #e0e7f0;
  background: #f7f9fc;
  border-radius: 15px;
  padding: 18px;
  margin-bottom: 24px;
}
.employee-tools > summary {
  cursor: pointer;
  color: #355776;
  font-weight: 650;
  font-size: 13px;
}
.employee-tools > summary small {
  display: block;
  font-size: 10px;
  color: #8593a4;
  font-weight: 400;
  margin: 7px 0 0 16px;
}
.employee-tools[open] > summary {
  margin-bottom: 18px;
}
#employee-workspace .employee-profile {
  border: 1px solid #e1e7f0;
  border-radius: 17px;
  padding: 24px;
  background: linear-gradient(145deg, #fff, #fbfcff);
  box-shadow: 0 4px 16px #16365304;
}
#employee-workspace .employee-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e1eefe, #ede4ff);
  color: #5b62a6;
  font-size: 14px;
}
#employee-workspace .employee-profile h3 {
  color: #243c53;
  font-size: 18px;
}
#employee-workspace .employee-profile-heading p {
  color: #678096;
  line-height: 1.7;
}
#employee-workspace .employee-profile small {
  color: #8798a9;
}
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}
.expertise-tag {
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  padding: 6px 9px;
  border: 1px solid var(--tone-line);
  border-radius: 7px;
  color: var(--tone-ink);
  background: var(--tone-bg);
  cursor: pointer;
}
.expertise-tag:hover {
  box-shadow: inset 0 0 0 1px var(--tone-ink);
}
.employee-no-expertise {
  font-size: 11px;
  color: #8995a5;
}
.expertise-evidence {
  margin-top: 22px;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 17px;
  background: #f7f9fd;
}
.expertise-evidence-heading > span {
  display: block;
  color: #647b96;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.expertise-evidence-heading small {
  display: block;
  margin: 6px 0 15px;
}
.expertise-evidence-item {
  border-radius: 9px;
  padding: 10px 12px;
  margin-top: 7px;
  background: var(--tone-bg);
  border: 1px solid var(--tone-line);
}
.expertise-evidence-item summary {
  color: var(--tone-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}
.expertise-evidence-item summary > span {
  font-size: 10px;
  font-weight: 400;
  margin-left: 6px;
}
.expertise-evidence-source {
  border-top: 1px solid var(--tone-line);
  margin-top: 12px;
  padding-top: 12px;
}
.expertise-evidence-source blockquote {
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.8;
  color: #4e647b;
}
.expertise-evidence-source > span {
  color: var(--tone-ink);
  font-size: 10px;
}
#employee-workspace .employee-career {
  border-left: 2px solid #d5e1f4;
  margin-top: 26px;
  padding-left: 22px;
}
#employee-workspace .employee-career li {
  position: relative;
  padding-bottom: 28px;
}
#employee-workspace .employee-career li:before {
  content: "";
  position: absolute;
  left: -28px;
  top: 3px;
  height: 10px;
  width: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #869de0;
  box-shadow: 0 0 0 1px #dce5f8;
}
#employee-workspace .employee-career strong {
  color: #345272;
}
#employee-workspace .employee-career span {
  color: #7086a1;
}
#employee-workspace .employee-career p {
  color: #77879a;
  font-size: 12px;
  line-height: 1.9;
  max-width: 850px;
}
@media (max-width: 1100px) {
  .knowledge-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .knowledge-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .knowledge-orbit {
    width: 90px;
    height: 90px;
  }
}
@media (max-width: 600px) {
  .knowledge-hero {
    padding: 25px 20px;
  }
  .knowledge-hero h2 {
    font-size: 26px;
  }
  .knowledge-orbit {
    display: none;
  }
  .knowledge-map {
    padding: 20px;
  }
  .knowledge-category-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-metrics {
    padding: 20px;
  }
  .knowledge-map-heading,
  .knowledge-footnote {
    align-items: flex-start;
    flex-direction: column;
  }
  .knowledge-metric-icon {
    display: none;
  }
  .knowledge-metrics > div {
    grid-template-columns: 1fr;
  }
  .knowledge-source {
    font-size: 9px;
  }
  .expertise-evidence-item summary > span {
    display: block;
    margin: 5px 0 0;
  }
}
.vault-open-button {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}
.vault-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.vault-page-heading h1 {
  font-size: 30px;
  letter-spacing: -1px;
  color: #213c51;
  margin: 9px 0;
}
.vault-page-heading p {
  color: #7b8998;
  font-size: 13px;
  line-height: 1.8;
}
.vault-page-heading > .button {
  flex: none;
}
.vault-access-note {
  border: 1px solid #d5e6f4;
  background: #eef6fd;
  border-radius: 12px;
  color: #557593;
  padding: 14px 18px;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.vault-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.vault-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 19px;
  box-shadow: 0 6px 25px #17354705;
  margin-bottom: 22px;
  min-width: 0;
}
.vault-panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.vault-panel h2 {
  font-size: 18px;
  color: #29485f;
  margin: 0 0 7px;
  letter-spacing: -0.4px;
}
.vault-panel-heading p,
.vault-template-panel > p {
  font-size: 11px;
  line-height: 1.8;
  color: #8191a0;
  margin: 0;
}
.vault-panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #eef1fd;
  color: #7a71b4;
  font-size: 24px;
  flex: none;
}
.vault-upload-zone {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px 15px;
  border: 1px dashed #b6cadd;
  border-radius: 13px;
  background: #f7fbff;
  margin-bottom: 12px;
  color: #4e7191;
  cursor: pointer;
}
.vault-upload-zone > span {
  font-size: 26px;
}
.vault-upload-zone strong {
  font-size: 13px;
}
.vault-upload-zone small {
  font-size: 10px;
  color: #879bad;
}
.vault-upload-zone input {
  font-size: 11px;
  max-width: 100%;
  padding: 8px;
}
.vault-document-list {
  margin-top: 24px;
}
.vault-document {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid #edf1f5;
}
.vault-document > div {
  flex: 1;
  min-width: 0;
}
.vault-document strong {
  font-size: 12px;
  color: #37546c;
  overflow-wrap: anywhere;
}
.vault-document small {
  display: block;
  font-size: 10px;
  color: #8d9bac;
  margin-top: 7px;
}
.vault-document p {
  font-size: 10px;
  color: #8095a5;
  line-height: 1.6;
  margin-bottom: 0;
}
.vault-document .button {
  font-size: 10px;
  min-height: 30px;
  padding: 6px 9px;
}
.vault-doc-icon {
  background: #e9f4f3;
  color: #588b87;
  padding: 9px 5px;
  font-size: 8px;
  border-radius: 7px;
  font-weight: 750;
}
.vault-empty {
  color: #8a9baa;
  font-size: 12px;
  line-height: 1.8;
  padding: 15px 0;
}
.vault-template-panel {
  background: linear-gradient(135deg, #fff, #fbf9ff);
}
.vault-template-panel h2 {
  margin: 8px 0 10px;
}
.vault-template-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.vault-template-grid article {
  border: 1px solid #e8e1f3;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}
.vault-template-grid article > span {
  color: #ad8bbd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.vault-template-grid h3 {
  font-size: 13px;
  color: #625375;
  margin: 9px 0;
}
.vault-template-grid p {
  font-size: 11px;
  color: #998da2;
  line-height: 1.8;
}
.vault-template-grid .button {
  font-size: 10px;
  min-height: 32px;
}
.vault-chat {
  border-top: 3px solid #9a92d3;
}
.vault-ai-status {
  padding: 14px;
  border-radius: 10px;
  background: #fff6e8;
  color: #ad8249;
  font-size: 11px;
  line-height: 1.8;
}
.vault-ai-status button {
  display: block;
  font-size: 11px;
  margin-top: 8px;
}
.vault-chat-empty {
  padding: 32px 12px;
  text-align: center;
}
.vault-chat-empty > span {
  font-size: 42px;
  color: #b0a7e4;
}
.vault-chat-empty h3 {
  color: #637b97;
  font-size: 16px;
}
.vault-chat-empty p {
  font-size: 12px;
  color: #92a0b1;
  line-height: 1.9;
}
.vault-chat-history {
  max-height: 650px;
  overflow: auto;
  margin: 20px 0;
}
.vault-question,
.vault-answer {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0;
}
.vault-question {
  background: #f0f5fb;
  margin-left: 18px;
}
.vault-answer {
  background: #f7f5fc;
  margin-right: 12px;
}
.vault-conversation span {
  font-size: 9px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #8b7fa8;
}
.vault-conversation p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.9;
  color: #5f7086;
  margin: 9px 0 0;
}
.vault-citations {
  margin-top: 15px;
  font-size: 10px;
  color: #8a81ac;
}
.vault-citations summary {
  cursor: pointer;
}
.vault-citations > div {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5dfef;
}
.vault-citations a {
  color: #7e70a0;
  font-size: 10px;
}
.vault-citations blockquote {
  margin: 8px 0;
  font-size: 10px;
  line-height: 1.8;
  color: #8b839b;
  white-space: pre-wrap;
}
.vault-chat label {
  font-size: 11px;
}
.vault-chat textarea {
  background: #fafbff;
  border-color: #dde3ee;
  font-size: 12px;
  border-radius: 11px;
}
.vault-chat .check-label {
  align-items: flex-start;
  margin: 13px 0;
}
.vault-chat .check-label input {
  width: auto;
  flex: none;
  margin-top: 4px;
}
.vault-chat .check-label span {
  font-size: 10px;
  color: #8a96a5;
  line-height: 1.7;
}
.vault-chat-note {
  display: block;
  font-size: 9px;
  line-height: 1.8;
  color: #95a0ae;
  margin-top: 13px;
}
@media (max-width: 1100px) {
  .vault-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vault-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .vault-page-heading h1 {
    font-size: 25px;
  }
  .vault-panel {
    padding: 18px;
  }
  .vault-document {
    flex-wrap: wrap;
  }
  .vault-document > div {
    min-width: 150px;
  }
  .vault-document .button {
    margin-left: 35px;
  }
}

progress.knowledge-category-track {
  appearance: none;
  border: 0;
  width: 100%;
  color: var(--tone-ink);
}
progress.knowledge-category-track::-webkit-progress-bar {
  background: #ffffffb0;
  border-radius: 6px;
}
progress.knowledge-category-track::-webkit-progress-value {
  background: var(--tone-ink);
  border-radius: 6px;
  opacity: 0.72;
}
progress.knowledge-category-track::-moz-progress-bar {
  background: var(--tone-ink);
  border-radius: 6px;
}
