.recorrido__intro { margin-bottom: clamp(1.65rem, 3.15vw, 2.8rem); }

.recorrido__workbench {
  --workbench-background: #eff5f2;
  --workbench-rail: #203d49;
  border: 1px solid #c7dbd4;
  border-radius: .95rem;
  background: var(--workbench-background);
  box-shadow: 0 18px 37px -33px #203e4380;
}

.recorrido__workbench:has(.recorrido__tabs:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(12.3rem, .27fr) minmax(0, 1fr);
}

.recorrido__tabs {
  display: grid;
  align-content: start;
  gap: .22rem;
  padding: 1.1rem .85rem;
  border-radius: calc(.95rem - 1px) 0 0 calc(.95rem - 1px);
  background: var(--workbench-rail);
}

.recorrido__tabs button {
  display: flex;
  align-items: center;
  gap: .62rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid transparent;
  border-radius: .48rem;
  background: transparent;
  color: #deebe9;
  font-size: .91rem;
  font-weight: 575;
  line-height: 1.25;
  text-align: left;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.recorrido__tabs .icon { width: 1.05rem; height: 1.05rem; color: #a6d9cb; }
.recorrido__tabs button:hover { background: #2c5260; }
.recorrido__tabs button[aria-selected="true"] { background: #e6f3ee; border-color: #a2cfc3; color: #153844; font-weight: 680; }
.recorrido__tabs button[aria-selected="true"] .icon { color: #27696a; }
.recorrido__tabs button:focus-visible { outline-color: #c5efdf; outline-offset: 2px; }

.recorrido__documents { min-width: 0; }
.recorrido__panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.35rem, 3.45vw, 3.4rem);
  min-height: 100%;
  padding: clamp(1.3rem, 3.1vw, 3.4rem);
}

.recorrido__panel:not([role]) + .recorrido__panel { border-top: 1px solid #c7dbd4; }
.recorrido__panel[role="tabpanel"] { animation: panel-in .27s ease-out; }
.recorrido__panel:focus-visible { outline-offset: -5px; border-radius: .85rem; }

@keyframes panel-in {
  from { opacity: .55; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.recorrido__copy h3 {
  color: var(--indigo);
  font-size: clamp(1.48rem, 2.5vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.048em;
  font-weight: 665;
  text-wrap: pretty;
}

.recorrido__copy p { max-width: 43ch; margin-top: .8rem; color: var(--body); }

.example-sheet {
  min-width: 0;
  padding: clamp(1.05rem, 2.05vw, 1.85rem);
  border: 1px solid #c9dad4;
  border-radius: .7rem;
  background: #fff;
  box-shadow: 0 16px 24px -21px #1f4d4b98;
  font-variant-numeric: tabular-nums;
}

.example-sheet__header { padding-bottom: .85rem; margin-bottom: .35rem; border-bottom: 1px solid #dae6e1; }
.example-sheet__header h4 { margin: 0; color: var(--indigo); font-size: clamp(1.16rem, 1.8vw, 1.45rem); line-height: 1.22; letter-spacing: -.035em; }
.example-sheet__header p { margin-top: .25rem; color: var(--muted); font-size: .875rem; }
.example-rows > div, .example-total > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .35rem .85rem; }
.example-rows > div { padding-block: .62rem; border-bottom: 1px solid #e3ebe8; }
.example-rows > div:last-child { border-bottom: 0; }
.example-rows dt { color: var(--body); font-size: .92rem; }
.example-rows dd { color: var(--ink); font-size: .93rem; font-weight: 630; white-space: nowrap; }

.example-total {
  margin-top: .68rem;
  padding: .7rem .75rem;
  border: 1px solid #c7e0d8;
  border-radius: .42rem;
  background: #e9f5ef;
  color: #205849;
  line-height: 1.25;
}

.example-total dt { font-size: .92rem; font-weight: 610; }
.example-total dd, .example-amount { font-size: clamp(1.2rem, 2.15vw, 1.8rem); font-weight: 690; letter-spacing: -.045em; white-space: nowrap; }
.example-amount { margin-top: .75rem; color: var(--indigo); }

.example-stages { display: grid; gap: .54rem; margin: .78rem 0 0; padding: 0; list-style: none; }
.example-stages li { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.example-stages li::before { content: ""; width: .55rem; height: .55rem; flex: none; border: 1px solid #9cb6ae; border-radius: 50%; }
.example-stages .example-stages__done { color: #21594a; font-weight: 620; }
.example-stages .example-stages__done::before { border-color: #327665; background: #327665; }

.example-bars > div { padding-block: .49rem; }
.example-bars > div::after {
  content: "";
  grid-column: 1 / -1;
  height: .26rem;
  border-radius: 1rem;
  background: linear-gradient(to right, #76aea5 var(--ratio), #e9f0ed var(--ratio));
}
.example-bar-high { --ratio: 100%; }
.example-bar-mid { --ratio: 46.5%; }
.example-bar-low { --ratio: 27.9%; }

.example-slots > div { align-items: center; }
.example-state {
  width: fit-content;
  padding: .2rem .5rem;
  border-radius: .27rem;
  background: #eef1f2;
  color: #3e565e;
  font-size: .875rem;
  font-weight: 620;
  line-height: 1.45;
}
.example-rows .example-state { color: #3e565e; }
.example-state-free, .example-rows .example-state-free { background: #e4f2ec; color: #21594a; }
.example-rows .example-state-pending { background: #f9eedc; color: #755427; }

.example-votes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-block: .8rem .9rem; }
.example-votes > div { padding: .45rem .12rem; border: 1px solid #dbe8e4; border-radius: .35rem; background: #f6faf8; text-align: center; }
.example-votes dt { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.example-votes dd { color: var(--indigo); font-size: 1.3rem; font-weight: 675; }

@media (max-width: 1050px) {
  .recorrido__panel { grid-template-columns: 1fr; align-content: start; }
}

@media (max-width: 819px) {
  .recorrido__workbench:has(.recorrido__tabs:not([hidden])) { grid-template-columns: 1fr; }
  .recorrido__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem .42rem;
    padding: .7rem;
    border-radius: calc(.95rem - 1px) calc(.95rem - 1px) 0 0;
  }
  .recorrido__tabs button { font-size: .88rem; padding-inline: .45rem; gap: .4rem; }
}

@media (max-width: 360px) {
  .recorrido__panel { padding-inline: .85rem; }
  .recorrido__tabs .icon { width: .88rem; height: .88rem; }
  .example-sheet { padding-inline: .78rem; }
  .example-votes dt { font-size: .73rem; }
}
