@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
[hidden] {
  display: none !important;
}
:root {
  --bg: #efeee8;
  --ink: #111111;
  --body: #41413e;
  --muted: #505049;
  --border: #d5d4cc;
  --green: #111111;
  --pale: #e6e5df;
  --amber: #5d5141;
  --white: #fff;
  font-family:
    "Space Grotesk",
    "Noto Sans CJK KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #6555d6;
  outline-offset: 4px;
}
button {
  color: var(--ink);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 12px;
  background: #fff;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  background: #f6f5ef;
  border-right: 1px solid var(--border);
  padding: 32px 20px;
  z-index: 2;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  text-decoration: none;
  padding: 0 10px;
}
.brand img {
  width: 172px;
  max-width: 100%;
  height: auto;
  display: block;
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.9px;
  font-weight: 500;
  line-height: 1.3;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 38px;
  margin: 18px 10px 0;
  color: var(--body);
  text-decoration: none;
  font-size: 13px;
}
.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.workspace {
  margin: 22px 0 31px;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: #e9e8e0;
  color: #494944;
  font-size: 15px;
}
.workspace strong,
.sidebar-bottom strong {
  font-size: 14px;
  display: block;
}
.workspace div > span,
.sidebar-bottom div > span {
  font-size: 12px;
  display: block;
  color: var(--muted);
}
.workspace-dot {
  width: 6px;
  height: 6px;
  background: #111111;
  border-radius: 2px;
  margin-left: auto;
}
.nav-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.5px;
  padding-left: 15px;
  margin: 0 0 10px;
}
nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  border: 0;
  background: transparent;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 2px;
  color: #555550;
  font-size: 14px;
}
.nav-item > span:first-child {
  font-size: 20px;
  width: 22px;
  text-align: center;
  line-height: 1.2;
}
.nav-item:hover {
  background: #e9e8e0;
}
.nav-item.active {
  background: #111111;
  color: #efeee8;
  font-weight: 700;
}
.nav-count {
  color: #111111;
  margin-left: auto;
  font-size: 12px;
  border-radius: 2px;
  background: #e0dfd7;
  padding: 0 6px;
}
.sidebar-note {
  margin: auto 11px 32px;
  padding-top: 35px;
}
.small-caps {
  font-size: 10px;
  letter-spacing: 1.3px;
}
.sidebar-note p {
  font-family: inherit;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.6px;
  margin: 14px 0 10px;
}
.sidebar-note > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 21px 10px 0;
}
.avatar.small {
  width: 29px;
  height: 29px;
  border-radius: 2px;
  font-size: 14px;
}
.app-shell {
  margin-left: 238px;
}
.demo-banner {
  background: #111111;
  border-bottom: 1px solid #111111;
  padding: 9px 36px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #efeee8;
  font-size: 13px;
}
.demo-pill {
  color: #dbff48;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
  border: 1px solid #8b8b81;
  border-radius: 2px;
  padding: 0 5px;
  flex-shrink: 0;
}
.topbar {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  background: #f6f5ef;
}
.topbar div span {
  margin: 0 12px;
  color: #75756d;
}
.topbar strong {
  font-weight: 500;
  color: var(--ink);
}
.date-label {
  font-size: 12px;
}
main {
  max-width: 1530px;
  margin: 0 auto;
  padding: 36px 38px 22px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.7px;
  color: #5d5d57;
  margin: 0 0 10px;
}
.page-heading h1 {
  font-size: 29px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -1.3px;
  margin: 0 0 9px;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.scenario-control {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
select {
  padding: 10px 28px 10px 12px;
  min-height: 43px;
  border: 1px solid #cac9c1;
  background: white;
  border-radius: 2px;
  color: var(--ink);
  font-size: 14px;
}
.scope-note {
  font-size: 12px;
  color: var(--muted);
  margin: 17px 0 25px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 23px;
}
.metric-card {
  background: #f9f8f3;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px 18px 15px;
}
.metric-label {
  font-size: 13px;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 2px;
  line-height: 1.5;
  background: #eae9e2;
  color: #41413e;
  font-weight: 500;
  display: inline-block;
}
.tag.amber {
  background: #ebe6de;
  color: var(--amber);
}
.metric-value {
  font-size: 40px;
  letter-spacing: -1.6px;
  font-weight: 620;
  margin: 16px 0 4px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.metric-value span {
  font-size: 15px;
  margin-left: 5px;
  font-weight: 400;
  letter-spacing: 0;
  color: #5d5d57;
}
.metric-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 13px;
}
.metric-foot {
  border-top: 1px solid #e3e2da;
  padding-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.metric-card.muted {
  background: #e8e7e0;
  border-style: dashed;
}
.metric-value.unavailable {
  font-size: 27px;
  color: #64645b;
  line-height: 1.65;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  margin-bottom: 24px;
}
.panel {
  background: #f9f8f3;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 25px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.section-heading h2 {
  font-size: 18px;
  letter-spacing: -0.6px;
  font-weight: 630;
  line-height: 1.4;
  margin: 0;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
  font-size: 10px;
}
.section-description {
  font-size: 13px;
  color: var(--muted);
  margin: 13px 0;
}
.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}
.journey-step {
  position: relative;
  text-align: center;
  padding: 16px 5px 18px;
  border-top: 1px solid #d2d1c8;
  border-bottom: 1px solid #d2d1c8;
  background: #f2f1eb;
}
.journey-step:first-child {
  border-left: 1px solid #d2d1c8;
  border-radius: 2px;
}
.journey-step:not(:last-child) {
  border-right: 1px dashed #bebdb3;
}
.journey-step.missing {
  border: 1px dashed #bab7af;
  background: #e8e7e0;
  border-radius: 2px;
}
.step-number {
  font-size: 10px;
  color: #53534c;
  position: absolute;
  top: 9px;
  left: 9px;
}
.step-icon {
  font-size: 25px;
  display: block;
  margin: 8px 0 4px;
  color: #111111;
}
.journey h3 {
  font-size: 14px;
  margin: 5px 0;
}
.journey p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 7px 0 14px;
}
.status {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.status i {
  width: 4px;
  height: 4px;
  background: #111111;
  border-radius: 2px;
}
.amber-text {
  color: var(--amber);
}
.coverage-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  background: #efeee8;
  padding: 11px 12px;
  border-radius: 2px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.coverage-note p {
  margin: 0;
}
.priority-card {
  color: #efeee8;
  border-radius: 2px;
  background: #171717;
  border: 1px solid #171717;
  padding: 23px;
}
.priority-card .eyebrow {
  color: #c4c4b8;
  font-size: 10px;
  margin-bottom: 14px;
}
.priority-badge {
  font-size: 11px;
  padding: 3px 7px;
  border: 1px solid #707066;
  border-radius: 2px;
}
.priority-card h2 {
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 16px 0 12px;
}
.priority-card > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: #d0d0c5;
  margin-bottom: 21px;
}
.priority-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding-bottom: 9px;
  gap: 8px;
}
.priority-meta > span {
  color: #b9b9ae;
}
.priority-meta strong {
  font-weight: 500;
}
.primary-button,
.secondary-button {
  border-radius: 2px;
  min-height: 42px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.primary-button {
  background: var(--green);
  border: 1px solid var(--green);
  color: white;
}
.primary-button:hover {
  background: #30302c;
}
.primary-button:disabled {
  background: #41413e;
  border-color: #41413e;
  color: #f0efe8;
}
.priority-card .primary-button {
  background: #dbff48;
  border-color: #dbff48;
  color: #111111;
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}
.priority-card .primary-button:hover {
  background: #e4ff77;
}
.priority-card .primary-button:disabled {
  background: #3d3d36;
  border-color: #64645b;
  color: #efeee8;
}
.priority-card small {
  font-size: 11px;
  color: #b9b9ae;
  margin-top: 9px;
  display: block;
  text-align: center;
}
.secondary-button {
  background: white;
  border: 1px solid #bab9b1;
}
.secondary-button:hover {
  background: #eae9e2;
}
.table-scroll {
  width: 100%;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  margin-top: 20px;
}
th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: #5d5d57;
  background: #f2f1eb;
  padding: 12px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid #e3e2da;
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 14px;
}
td:first-child {
  min-width: 230px;
  max-width: 440px;
}
td p {
  margin: 0;
  font-size: 13px;
  color: #252523;
}
td small {
  display: block;
  font-size: 11px;
  color: #53534c;
  margin-top: 4px;
}
.rate-cell {
  white-space: nowrap;
  min-width: 95px;
}
.mini-track {
  height: 4px;
  width: 55px;
  background: #dddcd3;
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.mini-fill {
  height: 100%;
  background: #111111;
}
.table-caption {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}
.info-box {
  background: #e7e6de;
  border: 1px solid #d5d4cc;
  padding: 20px 23px;
  border-radius: 2px;
  margin: 22px 0;
  color: #454540;
  font-size: 14px;
}
.info-box p {
  margin: 7px 0 0;
  line-height: 1.8;
  font-size: 13px;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.connection-logo {
  height: 45px;
  width: 45px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #e7e6de;
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 20px;
}
.connection h2 {
  font-size: 19px;
}
.connection p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  min-height: 65px;
}
.connection .secondary-button {
  margin-top: 15px;
}
.experiment-intro {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}
.experiment-intro p {
  font-size: 13px;
  color: var(--muted);
}
.empty-state {
  background: #fff;
  border: 1px dashed #bab9b1;
  border-radius: 2px;
  text-align: center;
  padding: 65px 25px;
}
.empty-state .empty-icon {
  font-size: 40px;
  color: #555550;
}
.empty-state h2 {
  font-size: 21px;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.experiment-card h2 {
  font-size: 21px;
  margin: 13px 0;
}
.experiment-card > p {
  font-size: 14px;
  color: var(--muted);
}
.experiment-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 23px;
}
.experiment-details div {
  padding: 17px;
  background: #f6f5ef;
  font-size: 14px;
}
.experiment-details span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.experiment-foot {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #53534c;
  font-size: 11px;
  border-top: 1px solid var(--border);
  padding: 19px 0 0;
  margin-top: 32px;
}
.view[hidden] {
  display: none;
}
dialog {
  width: min(610px, calc(100% - 32px));
  max-height: 85vh;
  overflow: auto;
  border: 1px solid #b9b8af;
  border-radius: 2px;
  padding: 25px;
  color: var(--ink);
  box-shadow: 0 24px 90px #11111126;
}
dialog::backdrop {
  background: #11111188;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-header .eyebrow {
  margin: 0;
}
.icon-button {
  border: 0;
  background: #e9e8e0;
  border-radius: 2px;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
}
.dialog-close {
  margin-top: 20px;
}
#dialog-content h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 15px 0;
}
#dialog-content p,
#dialog-content li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.9;
}
#dialog-content h3 {
  font-size: 14px;
  margin: 23px 0 8px;
}
#dialog-content blockquote {
  margin: 12px 0;
  padding: 15px 18px;
  border-left: 3px solid #111111;
  background: #efeee8;
  font-size: 14px;
  line-height: 1.9;
}
#dialog-content ul {
  padding-left: 21px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 119px);
  transform: translateX(-50%);
  background: #111111;
  color: white;
  padding: 13px 22px;
  border-radius: 2px;
  font-size: 14px;
  box-shadow: 0 5px 25px #11111122;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
#toast.visible {
  opacity: 1;
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .metric-card {
    padding: 25px;
  }
  .priority-card {
    padding: 27px;
  }
  .journey {
    margin-top: 32px;
  }
  .journey-step {
    padding: 23px 8px;
  }
  .priority-card h2 {
    font-size: 27px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 210px;
    padding: 28px 14px;
  }
  .app-shell {
    margin-left: 210px;
  }
  main {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .demo-banner {
    padding: 9px 25px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric-card {
    padding: 17px 13px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 248px;
    gap: 16px;
  }
  .panel {
    padding: 21px;
  }
  .journey-panel .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-foot {
    font-size: 10px;
  }
  #toast {
    left: calc(50% + 105px);
  }
}
@media (max-width: 1050px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .priority-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .priority-card .eyebrow,
  .priority-badge,
  .priority-card h2 {
    grid-column: 1;
  }
  .priority-badge {
    justify-self: start;
  }
  .priority-card h2 {
    grid-row: 3/7;
  }
  .priority-card > p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 1/4;
    margin-top: 0;
  }
  .priority-meta,
  .priority-card .primary-button,
  .priority-card small {
    grid-column: 2;
  }
  .priority-card h2 br {
    display: none;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .connection p {
    min-height: 0;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .scenario-control {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .journey-panel .section-heading {
    flex-direction: row;
  }
  .connection-logo {
    margin-bottom: 10px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    padding: 0;
    gap: 8px;
    max-width: calc(100% - 120px);
  }
  .brand img {
    width: 148px;
  }
  .brand-sub {
    font-size: 10px;
  }
  .back-link {
    position: absolute;
    top: 16px;
    right: 18px;
    margin: 0;
    min-height: 44px;
    font-size: 12px;
  }
  .workspace,
  .nav-label,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    gap: 5px;
    margin-top: 15px;
    overflow: auto;
  }
  .nav-item {
    width: auto;
    flex: 1;
    justify-content: center;
    padding: 9px 6px;
    font-size: 13px;
    gap: 5px;
    white-space: nowrap;
    min-height: 42px;
  }
  .nav-item > span:first-child {
    font-size: 16px;
    width: 17px;
  }
  .nav-count {
    margin-left: 1px;
  }
  .app-shell {
    margin-left: 0;
  }
  .demo-banner {
    padding: 9px 18px;
    font-size: 11px;
    align-items: flex-start;
  }
  .topbar {
    height: 52px;
    padding: 0 19px;
    font-size: 12px;
  }
  .date-label {
    font-size: 11px;
  }
  .topbar div span {
    margin: 0 7px;
  }
  main {
    padding: 25px 18px 18px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 13px;
  }
  .scope-note {
    font-size: 11px;
    line-height: 1.8;
    margin: 15px 0 19px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric-card {
    padding: 17px 12px;
  }
  .metric-label {
    font-size: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .metric-value {
    font-size: 30px;
    margin-top: 12px;
  }
  .metric-value span {
    font-size: 14px;
  }
  .metric-card p {
    font-size: 11px;
    min-height: 29px;
  }
  .metric-foot {
    font-size: 10px;
  }
  .metric-value.unavailable {
    font-size: 25px;
    line-height: 1.55;
  }
  .panel {
    padding: 19px 15px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .section-heading .tag {
    font-size: 10px;
  }
  .journey-panel .section-heading {
    flex-direction: column;
    gap: 8px;
  }
  .journey-step {
    padding: 17px 3px 12px;
  }
  .journey h3 {
    font-size: 12px;
  }
  .journey p {
    font-size: 11px;
  }
  .status {
    font-size: 10px;
  }
  .step-icon {
    font-size: 22px;
  }
  .coverage-note {
    font-size: 11px;
    padding: 10px;
  }
  .priority-card {
    display: block;
    padding: 23px;
  }
  .priority-card h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  .priority-card h2 br {
    display: none;
  }
  .priority-card > p:not(.eyebrow) {
    font-size: 14px;
  }
  .priority-card small {
    font-size: 12px;
  }
  .priority-meta {
    font-size: 13px;
  }
  .section-heading .text-button {
    font-size: 12px;
    flex-shrink: 0;
  }
  .eyebrow {
    font-size: 10px;
  }
  .page-footer {
    flex-direction: column;
    gap: 4px;
  }
  .experiment-details {
    grid-template-columns: 1fr;
  }
  .experiment-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .empty-state {
    padding: 40px 20px;
  }
  #toast {
    left: 50%;
    width: calc(100% - 36px);
    text-align: center;
    font-size: 13px;
  }
  .scenario-control {
    font-size: 11px;
    gap: 10px;
  }
  select {
    font-size: 13px;
    max-width: 215px;
  }
  .table-caption {
    font-size: 11px;
  }
  .experiment-card h2 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* An optional, nonmodal walkthrough. All existing demo controls stay usable. */
.tutorial-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid #bbbcb0;
  background: #e5e7d9;
  padding: 18px 21px;
  margin-bottom: 26px;
}
.tutorial-entry .eyebrow {
  display: block;
  color: #4d5140;
  font-size: 8px;
  margin: 0 0 6px;
}
.tutorial-entry strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.tutorial-entry p {
  font-size: 11px;
  color: #55594a;
  margin: 5px 0 0;
  line-height: 1.7;
}
.tutorial-start {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 12px 15px;
  border: 1px solid #111;
  background: #111;
  color: #efeee8;
  min-height: 44px;
  font-size: 11px;
  white-space: nowrap;
}
.tutorial-start:hover {
  background: #34362e;
}
.tutorial-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8;
  width: 390px;
  max-width: calc(100% - 32px);
  padding: 19px 21px;
  background: #111;
  color: #efeee8;
  border: 1px solid #727468;
  box-shadow: 0 10px 36px #1113;
}
.tutorial-panel.tutorial-on-left {
  left: 262px;
  right: auto;
}
.tutorial-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.tutorial-step-label {
  display: flex;
  gap: 12px;
  color: #c4c6b5;
  font-size: 9px;
  letter-spacing: 1.1px;
}
.tutorial-step-label > span {
  color: #dbff48;
}
.tutorial-skip {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #d2d3c6;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  min-height: 28px;
}
.tutorial-skip > span {
  font-size: 20px;
}
.tutorial-step-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin: 11px 0 17px;
}
.tutorial-step-track i {
  height: 2px;
  background: #46493c;
}
.tutorial-step-track i.is-current {
  background: #dbff48;
}
.tutorial-panel h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}
.tutorial-panel p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  color: #d0d2c4;
  word-break: keep-all;
}
.tutorial-panel .tutorial-feedback {
  font-size: 10px;
  color: #b8baa8;
  line-height: 1.7;
  margin: 12px 0;
}
.tutorial-feedback.is-done {
  color: #dbff48 !important;
}
.tutorial-focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  padding: 11px 12px;
  min-height: 42px;
  border: 1px solid #747969;
  background: transparent;
  color: #efeee8;
  font-size: 11px;
}
.tutorial-focus:hover {
  background: #292d22;
}
.tutorial-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.tutorial-back {
  border: 0;
  padding: 9px 0;
  min-height: 40px;
  font-size: 11px;
  background: transparent;
  color: #efeee8;
}
.tutorial-back:disabled {
  color: #858779;
}
.tutorial-next {
  border: 1px solid #dbff48;
  background: #dbff48;
  color: #111;
  padding: 10px 13px;
  min-height: 40px;
  font-size: 11px;
  font-weight: 600;
}
.tutorial-next:hover {
  background: #e7ff86;
}
.tutorial-key-hint {
  font-size: 9px;
  color: #b7b9a8;
}
.tutorial-highlight {
  outline: 3px solid #6d8200 !important;
  outline-offset: 6px !important;
  scroll-margin: 30px;
  position: relative;
}
.tutorial-panel button:focus-visible,
.tutorial-panel h2:focus-visible {
  outline: 2px solid #dbff48;
  outline-offset: 3px;
}
.tutorial-active .app-shell {
  padding-bottom: 340px;
}
.tutorial-active #toast {
  bottom: 365px;
}
.citation-note {
  background: #efeee8;
  border: 1px solid #d0cfc7;
  padding: 16px;
  margin-top: 22px;
}
.citation-note h3 {
  margin: 0 0 9px !important;
}
.citation-note p {
  margin-bottom: 0;
}
.tutorial-entry + .page-heading h1 {
  max-width: 700px;
}
.tutorial-panel h2:focus {
  outline: none;
}
@media (max-width: 1250px) {
  .tutorial-panel.tutorial-on-left {
    left: 234px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
}
@media (max-width: 720px) {
  .tutorial-entry {
    padding: 15px;
    display: block;
    margin-bottom: 24px;
  }
  .tutorial-entry strong {
    font-size: 14px;
  }
  .tutorial-entry p {
    font-size: 11px;
  }
  .tutorial-start {
    width: 100%;
    margin-top: 13px;
    font-size: 11px;
  }
  .tutorial-panel,
  .tutorial-panel.tutorial-on-left {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 13px 16px;
    max-height: min(360px, 58dvh);
    overflow: auto;
  }
  .tutorial-panel-top {
    gap: 10px;
  }
  .tutorial-step-track {
    margin: 7px 0 11px;
  }
  .tutorial-panel h2 {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 7px;
  }
  .tutorial-panel p {
    font-size: 11px;
    line-height: 1.75;
  }
  .tutorial-panel .tutorial-feedback {
    font-size: 10px;
    margin: 8px 0;
  }
  .tutorial-focus {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .tutorial-navigation {
    margin-top: 8px;
    gap: 8px;
  }
  .tutorial-next,
  .tutorial-back {
    min-height: 36px;
    font-size: 11px;
  }
  .tutorial-key-hint {
    font-size: 8px;
  }
  .tutorial-active .app-shell {
    padding-bottom: 370px;
  }
  .tutorial-active #toast {
    bottom: 390px;
  }
  .tutorial-highlight {
    outline-offset: 4px !important;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .citation-note {
    padding: 13px;
  }
  .metric-card p {
    font-size: 10px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .table-caption {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tutorial-panel,
  .tutorial-highlight {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}

/* Readable labels and supporting copy at every screen size. */
.tutorial-entry strong {
  font-size: 16px;
}
.tutorial-entry p {
  font-size: 14px;
}
.tutorial-start {
  font-size: 13px;
}
.tutorial-panel p {
  font-size: 14px;
  line-height: 1.8;
}
.tutorial-panel h2 {
  font-size: 17px;
}
.tutorial-panel .tutorial-feedback {
  font-size: 12px;
  line-height: 1.7;
}
.tutorial-focus,
.tutorial-next,
.tutorial-back {
  font-size: 13px;
}
.tutorial-key-hint,
.tutorial-skip,
.tutorial-step-label {
  font-size: 11px;
}
.tutorial-panel {
  width: 430px;
}
.scope-note,
.section-description,
.table-caption {
  font-size: 13px;
}
.tag {
  font-size: 11px;
}
.demo-banner {
  font-size: 12px;
}
.metric-foot {
  font-size: 11px;
}
.metric-card p {
  font-size: 12px;
}
.metric-label {
  font-size: 13px;
}
.metric-grid {
  gap: 12px;
}
.sidebar-note > span:last-child,
.sidebar-bottom div > span,
.workspace div > span {
  font-size: 12px;
}
.small-caps {
  font-size: 10px;
}
.priority-card > p:not(.eyebrow) {
  font-size: 14px;
}
.priority-meta,
.priority-card small {
  font-size: 12px;
}
.priority-badge {
  font-size: 11px;
}
.connection p,
.experiment-intro p,
.experiment-card > p,
.experiment-foot {
  font-size: 14px;
}
#dialog-content p,
#dialog-content li {
  font-size: 14px;
}
#dialog-content h3 {
  font-size: 14px;
}
#dialog-content blockquote {
  font-size: 15px;
}
.text-button {
  min-height: 36px;
  font-size: 13px;
}
.table-scroll {
  padding: 6px;
}
.table-scroll th,
.table-scroll td {
  font-size: 13px;
}
.table-scroll td p {
  font-size: 14px;
  line-height: 1.8;
}
.table-scroll td small {
  font-size: 12px;
  line-height: 1.8;
}
.table-scroll th {
  font-size: 12px;
}
.scenario-control {
  font-size: 12px;
}
.scenario-control select {
  font-size: 14px;
}
.page-heading {
  align-items: flex-start;
}
.nav-label {
  font-size: 11px;
}
.demo-pill {
  font-size: 10px;
}
.topbar,
.date-label {
  font-size: 12px;
}
.page-footer {
  font-size: 11px;
}
.coverage-note {
  font-size: 12px;
}
.journey p {
  font-size: 12px;
}
.journey h3 {
  font-size: 14px;
}
.status {
  font-size: 11px;
}
.info-box,
.info-box p {
  font-size: 14px;
}
.experiment-details div {
  font-size: 14px;
}
.experiment-details span {
  font-size: 12px;
}
.tutorial-active .app-shell {
  padding-bottom: 460px;
}
.tutorial-active #toast {
  bottom: 475px;
}
@media (max-width: 1050px) {
  .page-heading {
    flex-direction: column;
  }
  .priority-card {
    display: block;
  }
  .priority-card h2 {
    max-width: 500px;
  }
  .priority-card .primary-button {
    max-width: 360px;
  }
  .priority-card small {
    text-align: left;
  }
  .priority-meta {
    max-width: 360px;
  }
}
@media (max-width: 720px) {
  .brand-sub {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .back-link {
    font-size: 12px;
  }
  .brand img {
    width: 140px;
  }
  .brand {
    max-width: calc(100% - 136px);
  }
  .nav-item {
    font-size: 12px;
    padding: 10px 5px;
  }
  .nav-count {
    font-size: 11px;
  }
  .demo-banner {
    font-size: 12px;
    line-height: 1.8;
    padding: 12px 18px;
  }
  .demo-pill {
    font-size: 10px;
  }
  .topbar {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 16px;
    padding: 13px 18px;
    font-size: 12px;
  }
  .date-label {
    font-size: 12px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.8;
  }
  .eyebrow,
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .scenario-control {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 7px;
  }
  .scenario-control select {
    font-size: 14px;
    max-width: 100%;
  }
  .scope-note,
  .section-description,
  .table-caption {
    font-size: 12px;
    line-height: 1.8;
  }
  .metric-label {
    font-size: 13px;
    line-height: 1.6;
  }
  .tag,
  .section-heading .tag {
    font-size: 12px;
    white-space: normal;
  }
  .metric-card {
    padding: 18px 13px;
  }
  .metric-card p {
    font-size: 12px;
    line-height: 1.8;
    min-height: 0;
  }
  .metric-foot {
    font-size: 12px;
    line-height: 1.8;
  }
  .metric-value span {
    font-size: 14px;
  }
  .metric-grid {
    gap: 10px;
  }
  .text-button,
  .section-heading .text-button {
    font-size: 12px;
    min-height: 40px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .journey-step {
    padding: 20px 10px;
    border: 1px solid #d2d1c8 !important;
  }
  .journey h3 {
    font-size: 14px;
  }
  .journey p {
    font-size: 13px;
  }
  .status {
    font-size: 12px;
  }
  .step-number {
    font-size: 11px;
  }
  .coverage-note {
    font-size: 12px;
    line-height: 1.8;
  }
  .priority-card > p:not(.eyebrow) {
    font-size: 14px;
  }
  .priority-meta,
  .priority-card small {
    font-size: 12px;
  }
  .priority-badge {
    font-size: 12px;
  }
  .primary-button,
  .secondary-button {
    font-size: 13px;
    min-height: 44px;
  }
  .connection p,
  .experiment-intro p,
  .experiment-card > p,
  .experiment-foot,
  .empty-state p {
    font-size: 14px;
  }
  .page-footer {
    font-size: 12px;
  }
  .table-scroll td p {
    font-size: 14px;
  }
  .table-scroll td small,
  .table-scroll th,
  .table-scroll td {
    font-size: 12px;
  }
  .table-caption {
    font-size: 12px;
  }
  .tutorial-entry p {
    font-size: 14px;
  }
  .tutorial-start {
    font-size: 13px;
  }
  .tutorial-panel,
  .tutorial-panel.tutorial-on-left {
    width: auto;
    max-height: 58dvh;
    padding: 14px 16px;
  }
  .tutorial-panel h2 {
    font-size: 16px;
  }
  .tutorial-panel p {
    font-size: 14px;
    line-height: 1.75;
  }
  .tutorial-panel .tutorial-feedback {
    font-size: 12px;
  }
  .tutorial-focus,
  .tutorial-next,
  .tutorial-back {
    font-size: 13px;
    min-height: 40px;
  }
  .tutorial-step-label,
  .tutorial-skip,
  .tutorial-key-hint {
    font-size: 11px;
  }
  .tutorial-active .app-shell {
    padding-bottom: 490px;
  }
  .tutorial-active #toast {
    bottom: auto;
    top: 16px;
    z-index: 12;
  }
}

.tutorial-active .tutorial-entry {
  display: none;
}
.workspace div,
.metric-card p,
.metric-foot {
  word-break: keep-all;
}

.table-scroll td:last-child {
  min-width: 76px;
}
.table-scroll td .text-button {
  white-space: nowrap;
}
