#workspace-demo {
  padding-top: 95px;
  padding-bottom: 20px;
  scroll-margin-top: 90px;
}
.ws-intro {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 32px;
}
.ws-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 20px 0 0;
}
.ws-intro > p {
  max-width: 370px;
  line-height: 1.8;
  color: #63718b;
  font-size: 14px;
}
.ws-shell {
  border: 1px solid #dae2ef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 65px #142c5010;
  background: #f5f7fb;
}
.ws-top {
  background: #0e1e35;
  color: white;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.ws-top b {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ws-top img {
  width: 25px;
  background: white;
  border-radius: 4px;
  padding: 2px;
}
.ws-top span {
  font-weight: 400;
  color: #aabbd5;
}
.ws-top small {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #aabbd5;
}
.ws-tabs {
  display: flex;
  border-bottom: 1px solid #dce4ef;
  background: white;
  padding: 0 20px;
  overflow-x: auto;
}
.ws-tabs button {
  padding: 20px 18px;
  white-space: nowrap;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: #617088;
  cursor: pointer;
  font-weight: 650;
}
.ws-tabs button[aria-selected="true"] {
  color: #2459ec;
  border-color: #2459ec;
}
#ws-content {
  padding: 28px;
  min-height: 540px;
}
.ws-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.ws-heading span,
.ws-profile > span,
.ws-detail > span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #627897;
  font-weight: 800;
}
.ws-heading h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 7px 0;
}
.ws-heading label,
.ws-search {
  font-size: 11px;
  color: #5d6f89;
  display: block;
}
.ws-heading select,
.ws-search input {
  display: block;
  background: white;
  border: 1px solid #ced9e9;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  font: inherit;
  color: #1d3352;
  max-width: 100%;
}
.ws-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.ws-metrics > div {
  background: #fff;
  border: 1px solid #dae3ef;
  border-radius: 11px;
  padding: 18px;
  min-width: 0;
}
.ws-metrics small {
  display: block;
  font-size: 10px;
  color: #6b7a90;
  margin-bottom: 10px;
}
.ws-metrics strong {
  font-size: 22px;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.ws-budget-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}
.ws-chart,
.ws-detail,
.ws-profile {
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  padding: 22px;
}
.ws-chart-head h4 {
  margin: 0 0 8px;
}
.ws-chart-head small {
  color: #6b7a90;
  font-size: 10px;
}
.ws-bar-row {
  display: grid;
  grid-template-columns: 105px 1fr 100px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 20px 8px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #edf0f6;
  background: white;
  cursor: pointer;
  color: #183251;
}
.ws-bar-row[aria-pressed="true"] {
  background: #f0f4ff;
  outline: 1px solid #aac0ff;
  border-radius: 7px;
}
.ws-bar-row span b {
  font-size: 12px;
}
.ws-bar-row small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
  color: #657790;
}
.ws-tracks i,
.ws-tracks em {
  display: block;
  height: 8px;
  background: #4078f5;
  border-radius: 6px;
  margin: 6px 0;
  min-width: 2px;
  transition: width 0.3s;
}
.ws-tracks em {
  background: #233950;
}
.ws-over .ws-tracks em {
  background: #d52d49;
}
.ws-over > span small,
.ws-red {
  color: #bf243d !important;
  font-weight: 700;
}
.ws-bar-values {
  text-align: right;
  font-size: 12px;
}
.ws-note {
  display: flex;
  gap: 12px;
  background: #fff1f3;
  border: 1px solid #f4c4ce;
  border-radius: 12px;
  padding: 18px;
  color: #98273c;
  margin-bottom: 18px;
}
.ws-note > span {
  font-size: 32px;
}
.ws-note b {
  font-size: 13px;
}
.ws-note p,
.ws-detail p {
  font-size: 12px;
  line-height: 1.7;
  margin: 7px 0 0;
}
.ws-detail h4 {
  font-size: 20px;
  margin: 12px 0;
}
.ws-detail small {
  display: block;
  color: #718199;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 12px;
}
.ws-detail dl,
.ws-profile dl {
  margin: 15px 0;
}
.ws-detail dl > div,
.ws-profile dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
  font-size: 12px;
}
.ws-detail dt,
.ws-profile dt {
  color: #6b7b93;
}
.ws-detail dd,
.ws-profile dd {
  margin: 0;
  text-align: right;
  font-weight: 650;
}
.ws-directory {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
}
.ws-search input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 17px;
}
.ws-record {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: white;
  margin: 9px 0;
  padding: 18px;
  cursor: pointer;
  color: #183251;
}
.ws-record[aria-pressed="true"] {
  border-color: #4c79ef;
  background: #edf3ff;
}
.ws-avatar {
  display: grid;
  place-items: center;
  background: #dfeaff;
  border-radius: 12px;
  min-width: 40px;
  height: 40px;
  color: #2459ec;
  font-weight: 750;
}
.ws-record > span:nth-child(2) {
  flex: 1;
}
.ws-record b {
  font-size: 13px;
}
.ws-record small,
.ws-record em {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  font-style: normal;
  color: #627490;
}
.ws-profile h4 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 12px 0 20px;
}
.ws-profile .ws-metrics {
  grid-template-columns: 1fr 1fr;
}
.ws-profile .ws-metrics strong {
  font-size: 17px;
}
.ws-metrics .ws-risk {
  background: #fff1f3;
  border-color: #e8a6b5;
  color: #b31f3a;
}
.ws-linked {
  padding: 16px;
  background: #eff4ff;
  border-radius: 9px;
  margin: 20px 0;
  font-size: 12px;
}
.ws-linked p {
  line-height: 1.7;
  color: #546c8e;
}
.ws-bottom {
  padding: 16px 28px;
  border-top: 1px solid #dce4ef;
  color: #74839a;
  font-size: 10px;
}
.ws-empty {
  padding: 25px;
  color: #67788d;
  font-size: 13px;
}
.ws-shell button:focus-visible,
.ws-shell input:focus-visible,
.ws-shell select:focus-visible {
  outline: 3px solid #2459ec;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .ws-budget-grid,
  .ws-directory {
    grid-template-columns: 1fr;
  }
  .ws-intro {
    display: block;
  }
  .ws-intro > p {
    max-width: none;
  }
  .ws-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  #ws-content {
    padding: 16px;
  }
  .ws-top {
    padding: 18px;
    align-items: start;
    flex-direction: column;
  }
  .ws-heading {
    display: block;
  }
  .ws-heading label {
    margin-top: 16px;
  }
  .ws-bar-row {
    grid-template-columns: 85px 1fr 80px;
    gap: 7px;
  }
  .ws-chart {
    padding: 12px;
  }
  .ws-metrics > div {
    padding: 14px;
  }
  .ws-metrics strong {
    font-size: 18px;
  }
  .ws-tabs {
    padding: 0;
  }
  .ws-tabs button {
    padding: 17px 12px;
    font-size: 11px;
  }
  .ws-top span {
    font-size: 12px;
  }
}

/* Payroll and progress photo tabs (2026-11-02). */
.ws-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #33445c;
  cursor: pointer;
}
.ws-toggle input {
  width: 17px;
  height: 17px;
  accent-color: #2459ec;
}
.ws-ba {
  position: relative;
  margin: 0;
  aspect-ratio: 600 / 380;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dce5f1;
  box-shadow: 0 18px 40px #1b395520;
  user-select: none;
  -webkit-user-select: none;
}
.ws-ba svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ws-ba-after,
.ws-ba-before {
  position: absolute;
  inset: 0;
}
.ws-ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ws-ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 14px #0006;
  pointer-events: none;
}
.ws-ba-line::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #101c36;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 6px 18px #0005;
}
.ws-ba-tag {
  position: absolute;
  top: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}
.ws-ba-tag.l {
  left: 10px;
  background: #0d2546cc;
  color: #bcd3ff;
}
.ws-ba-tag.r {
  right: 10px;
  background: #ffffffd9;
  color: #1f2b38;
}
.ws-ba input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.ws-ba:has(input:focus-visible) {
  outline: 3px solid #7c9fff;
  outline-offset: 4px;
}
.ws-ba figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #ffffffe6;
  font-size: 11px;
  color: #33445c;
  pointer-events: none;
}
.ws-note.ws-tip {
  background: #eef3ff;
  border-color: #c9d8fb;
  color: #1d47b8;
}
.ws-note.ws-tip > span,
.ws-note.ws-tip b {
  color: #2459ec;
}
.ws-note.ws-tip p {
  color: #3a548a;
}
.ws-ba-tag.l {
  max-width: max(0px, calc(var(--pos) - 30px));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}
@media (max-width: 760px) {
  .ws-ba figcaption {
    display: none;
  }
}

/* ------------------------------------------------------------------
   The tour as it looks in Kordesk (2026-11-02): the app's own font
   (Inter), navy sidebar, header bar and white cards on slate.
------------------------------------------------------------------- */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/site/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/site/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
.ws-app {
  --app-font: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  display: grid;
  grid-template-columns: 228px 1fr;
  font-family: var(--app-font);
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px #0b1a2e55;
  -webkit-font-smoothing: antialiased;
}
.ws-app * {
  font-family: inherit;
}
.ws-side {
  background: #0b1a2e;
  color: #cbd5e1;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
}
.ws-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 6px;
}
.ws-brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #fff;
  padding: 2px;
  object-fit: contain;
}
.ws-brand b {
  display: block;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.ws-brand small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
}
.ws-app .ws-tabs {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  overflow: visible;
}
.ws-sec {
  display: block;
  margin: 18px 10px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #64748b;
}
.ws-app .ws-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 2px 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  box-shadow: none;
  white-space: nowrap;
  cursor: pointer;
}
.ws-app .ws-tabs button svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ws-app .ws-tabs button:hover {
  background: #ffffff10;
  color: #fff;
}
.ws-app .ws-tabs button[aria-selected="true"] {
  background: #1976ff;
  color: #fff;
  border: 0;
}
.ws-app .ws-tabs button[aria-selected="true"]::after {
  display: none;
}
.ws-side-foot {
  margin-top: auto;
  padding: 18px 10px 0;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #475569;
}
.ws-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ws-appbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.ws-appbar h4 {
  margin: 0 auto 0 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}
.ws-chip {
  padding: 6px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 12px;
  color: #334155;
  font-variant-numeric: tabular-nums;
}
.ws-user {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ws-user i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1976ff;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
}
.ws-user b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.ws-user small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}
.ws-app #ws-content {
  padding: 20px 22px;
  background: #f1f5f9;
  flex: 1;
}
/* Content in the app's cards */
.ws-app .ws-heading {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px #0f172a0a;
}
.ws-app .ws-heading span,
.ws-app .ws-profile > span,
.ws-app .ws-detail > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #64748b;
}
.ws-app .ws-heading h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 3px;
}
.ws-app .ws-heading select,
.ws-app .ws-search input {
  height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}
.ws-app .ws-metrics > div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px #0f172a0a;
}
.ws-app .ws-metrics small {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
}
.ws-app .ws-metrics strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.ws-app .ws-metrics .ws-risk {
  background: #fef2f2;
  border-color: #fecaca;
}
.ws-app .ws-metrics .ws-risk strong {
  color: #b91c1c;
}
.ws-app .ws-chart,
.ws-app .ws-detail,
.ws-app .ws-profile {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px #0f172a0a;
}
.ws-app .ws-record {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: none;
}
.ws-app .ws-record:hover {
  background: #f8fafc;
}
.ws-app .ws-record[aria-pressed="true"] {
  border-color: #93b8ff;
  background: #f5f8ff;
  box-shadow: 0 0 0 3px #2f6bff22;
}
.ws-app .ws-avatar {
  border-radius: 50%;
  background: #eef4ff;
  color: #1657d6;
  font-weight: 700;
}
.ws-app .ws-record em {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}
.ws-app .ws-record em.ws-red {
  background: #fef2f2;
  color: #b91c1c;
  box-shadow: inset 0 0 0 1px #fecaca;
}
.ws-app .ws-note {
  border-radius: 10px;
}
.ws-app .ws-bottom {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  padding: 11px 22px;
}
@media (max-width: 900px) {
  .ws-app {
    grid-template-columns: 1fr;
  }
  .ws-side {
    padding: 12px;
  }
  .ws-brand {
    padding-bottom: 8px;
  }
  .ws-app .ws-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ws-sec,
  .ws-side-foot,
  .ws-chip {
    display: none;
  }
  .ws-app .ws-tabs button {
    width: auto;
    flex: none;
  }
  .ws-app #ws-content {
    padding: 14px;
  }
  .ws-appbar {
    padding: 11px 14px;
  }
}
.ws-app .ws-heading select {
  padding: 0 34px 0 12px;
  line-height: normal;
}
