.tkd-dash {
  --dash-ink: #292929;
  --dash-soft: #636363;
  --dash-line: #e6e6e6;
  --dash-actual: #696969;
  --dash-target: #c8c8c8;
  display: grid;
  grid-template-columns: clamp(145px, 16.5%, 180px) minmax(0, 1fr);
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  color: var(--dash-ink);
  border: 1px solid #d8d8d8;
  border-radius: 15px;
  box-shadow: 0 20px 60px -25px #2f2f2f66, 0 1px 4px #2f2f2f16;
  background: white;
  font: 500 13px/1.45 var(--ui);
  text-align: left;
  letter-spacing: normal;
}
.tkd-dash *, .tkd-dash { box-sizing: border-box; }
.tkd-dash :is(dl, dt, dd, h2, h3, ol) { margin: 0; }
.tkd-dash__rail { border-right: 1px solid var(--dash-line); background: #fff; }
.tkd-dash__brand, .tkd-dash__crumb {
  display: flex; align-items: center; gap: 9px; height: 48px;
  padding: 0 18px; border-bottom: 1px solid var(--dash-line);
}
.tkd-dash__brand { font-size: 14px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.tkd-dash__brand img { width: 25px; height: 25px; }
.tkd-dash__rail-body { padding: 22px 12px; }
.tkd-dash__caption { padding-left: 8px; font-size: 11px; color: var(--dash-soft); }
.tkd-dash__active {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; margin: 8px 0 19px; border-radius: 6px;
  background: #f3f3f3; color: #5d5d5d; font-size: 12px; font-weight: 650;
}
.tkd-dash__meta { display: grid; gap: 14px; padding: 0 8px; }
.tkd-dash__meta dt, .tkd-dash__kpis dt { display: flex; align-items: center; gap: 7px; color: var(--dash-soft); }
.tkd-dash__meta dt { font-size: 11px; }
.tkd-dash__meta dd { padding-left: 21px; font-size: 12px; margin-top: 2px; }
.tkd-dash__icon { flex: none; width: 14px; height: 14px; background: currentColor; mask: var(--dash-icon) center/contain no-repeat; }
.tkd-dash__icon--grid { --dash-icon: url("/icons/lucide/layout-dashboard.svg"); }
.tkd-dash__icon--folder { --dash-icon: url("/icons/lucide/folder.svg"); }
.tkd-dash__icon--calendar { --dash-icon: url("/icons/lucide/calendar-days.svg"); }
.tkd-dash__icon--panel { --dash-icon: url("/icons/lucide/panel-left.svg"); }
.tkd-dash__icon--chart { --dash-icon: url("/icons/lucide/chart-no-axes-combined.svg"); }
.tkd-dash__icon--list { --dash-icon: url("/icons/lucide/list-checks.svg"); }
.tkd-dash__icon--flag { --dash-icon: url("/icons/lucide/flag.svg"); }
.tkd-dash__main { background: #f9f9f9; min-width: 0; }
.tkd-dash__crumb { background: #fff; font-size: 11px; color: var(--dash-soft); }
.tkd-dash__crumb span { color: #a0a0a0; }
.tkd-dash__crumb strong { font-weight: 550; color: var(--dash-ink); }
.tkd-dash__body { padding: 22px; }
.tkd-dash__head, .tkd-dash__chart-head, .tkd-dash__legend { display: flex; align-items: center; }
.tkd-dash__head, .tkd-dash__chart-head { justify-content: space-between; gap: 8px; }
.tkd-dash__head h2 { color: var(--dash-ink); font: 650 clamp(21px, 2.3vw, 29px)/1.2 var(--ui); letter-spacing: -.045em; }
.tkd-dash__example {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px;
  background: #f3f3f3; border: 1px solid #e3e3e3; color: #606060;
  border-radius: 20px; font-size: 10px; white-space: nowrap;
}
.tkd-dash__example i { height: 5px; width: 5px; border-radius: 50%; background: #7b7b7b; }
.tkd-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 0 12px; }
.tkd-dash__kpis > div, .tkd-dash__card { background: white; border: 1px solid var(--dash-line); border-radius: 9px; }
.tkd-dash__kpis > div { padding: 13px 15px; }
.tkd-dash__kpis dt { font-size: 11px; }
.tkd-dash__kpis dd { margin-top: 6px; font-size: 30px; font-weight: 620; line-height: 1.15; letter-spacing: -.05em; }
.tkd-dash__kpis dd span { margin-left: 1px; font-size: .55em; color: var(--dash-soft); font-weight: 500; }
.tkd-dash__panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.tkd-dash__card { padding: 15px; min-width: 0; }
.tkd-dash__card h3 { font: 640 13px/1.45 var(--ui); color: var(--dash-ink); letter-spacing: -.02em; }
.tkd-dash__legend { gap: 8px; color: var(--dash-soft); font-size: 9px; }
.tkd-dash__legend span { display: inline-flex; align-items: center; gap: 4px; }
.tkd-dash__legend span::before { content: ""; background: var(--dash-actual); width: 7px; height: 7px; border-radius: 2px; }
.tkd-dash__legend span + span::before { background: var(--dash-target); }
.tkd-dash__chart {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 7px;
  height: 100px; margin: 16px 2px 16px 0; font-size: 9px; color: var(--dash-soft);
}
.tkd-dash__axis { display: flex; flex-direction: column; justify-content: space-between; text-align: right; margin: -6px 0; }
.tkd-dash__plot {
  display: flex; justify-content: space-around; border-block: 1px solid var(--dash-line);
  background: linear-gradient(to bottom, transparent calc(50% - .5px), var(--dash-line) 50%, transparent calc(50% + .5px));
}
.tkd-dash__bars { display: flex; position: relative; align-items: end; justify-content: center; gap: 3px; width: 19%; }
.tkd-dash__bars i { display: block; background: var(--dash-actual); border-radius: 3px 3px 0 0; width: 32%; max-width: 17px; height: var(--actual); }
.tkd-dash__bars i + i { height: var(--target); background: var(--dash-target); }
.tkd-dash__bars span { position: absolute; top: calc(100% + 3px); }
.tkd-dash__stages { padding: 6px 0 0; list-style: none; }
.tkd-dash__stages li { display: flex; align-items: center; gap: 7px; padding: 7px 0; font-size: 11px; }
.tkd-dash__stages li + li { border-top: 1px solid #f0f0f0; }
.tkd-dash__stages i { flex: none; width: 13px; height: 13px; background: #059669; mask: url("/icons/lucide/circle-check.svg") center/contain no-repeat; }
.tkd-dash__stages li:last-child i { background: var(--dash-actual); mask-image: url("/icons/lucide/clock-3.svg"); }
.tkd-dash__stages span { margin-left: auto; font-size: 9px; color: var(--dash-soft); }
.tkd-dash__stages li:last-child span { color: var(--dash-actual); }
@media (max-width: 850px) {
  .tkd-dash { grid-template-columns: minmax(0, 1fr); }
  .tkd-dash__rail { display: none; }
}
@media (max-width: 600px) {
  .tkd-dash { border-radius: 11px; }
  .tkd-dash__body { padding: 12px; }
  .tkd-dash__crumb { height: 34px; padding-inline: 12px; }
  .tkd-dash__kpis { gap: 5px; padding: 12px 0 8px; }
  .tkd-dash__kpis > div { padding: 9px 6px; }
  .tkd-dash__kpis dt { font-size: 10px; }
  .tkd-dash__kpis dt i { display: none; }
  .tkd-dash__kpis dd { font-size: 25px; }
  .tkd-dash__panels { grid-template-columns: 1fr; gap: 8px; }
  .tkd-dash__card { padding: 12px; }
  .tkd-dash__chart { height: 82px; }
}
.tkd-dash__caption, .tkd-dash__meta dt, .tkd-dash__active, .tkd-dash__crumb { font-size:.8rem; }
.tkd-dash__kpis dt, .tkd-dash__stages li { font-size:.88rem; }
.tkd-dash__legend, .tkd-dash__chart, .tkd-dash__example, .tkd-dash__stages span { font-size:.76rem; }
.tkd-dash__card h3 { font-size:.94rem; }
.tkd-dash__chart-head { flex-wrap:wrap; }
.tkd-dash__stages [data-ready] i { background:#247550; mask-image:url("/icons/lucide/circle-check.svg"); }
@media(max-width:600px) {
  .tkd-dash__head { flex-wrap:wrap; }
  .tkd-dash__kpis dt { font-size:.8rem; }
  .tkd-dash__panels > .tkd-dash__card:first-child { display:none; }
}
