.technical-evolution-root {
  min-height: 68vh;
}

.technical-evolution-shell {
  --te-bg: rgba(255, 255, 255, 0.78);
  --te-bg-strong: rgba(255, 255, 255, 0.92);
  --te-border: rgba(203, 213, 225, 0.68);
  --te-text: #17212b;
  --te-muted: #6d7c8f;
  --te-accent: #4c6078;
  --te-good: #14704e;
  --te-warn: #b33a32;
  display: grid;
  gap: 14px;
  color: var(--te-text);
}

.technical-evolution-hero,
.technical-evolution-scope-banner,
.technical-evolution-toolbar,
.technical-evolution-panel,
.technical-evolution-sheet,
.technical-evolution-editor__hero,
.technical-evolution-hero-metrics article,
.technical-evolution-live-summary article,
.technical-evolution-student-card,
.technical-evolution-scale,
.technical-evolution-scope-chip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78));
  border: 1px solid var(--te-border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.technical-evolution-hero {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 28px;
}

.technical-evolution-hero__copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.technical-evolution-hero__copy p,
.technical-evolution-hero__meta small {
  color: var(--te-muted);
}

.technical-evolution-hero__meta {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.technical-evolution-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #70839a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.technical-evolution-scope-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 22px;
}

.technical-evolution-scope-banner strong {
  display: block;
  font-size: 1.08rem;
}

.technical-evolution-toolbar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border-radius: 24px;
}

.technical-evolution-flow-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.technical-evolution-flow-guide article {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(213, 223, 233, 0.82);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.technical-evolution-flow-guide strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(87, 106, 129, 0.96), rgba(56, 69, 84, 0.98));
  color: #fff;
  font-size: 0.78rem;
}

.technical-evolution-flow-guide span {
  color: #314153;
  font-size: 0.86rem;
  font-weight: 700;
}

.technical-evolution-toolbar__field {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(219, 228, 236, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.technical-evolution-toolbar__field:nth-child(1),
.technical-evolution-toolbar__field:nth-child(2),
.technical-evolution-toolbar__field:nth-child(3),
.technical-evolution-toolbar__field:nth-child(4) {
  grid-column: span 2;
}

.technical-evolution-toolbar__field--search {
  grid-column: span 3;
}

.technical-evolution-toolbar__actions {
  grid-column: span 1;
  display: flex;
  justify-content: stretch;
  align-self: stretch;
}

.technical-evolution-toolbar__label {
  color: #16212c;
  font-size: 0.81rem;
  font-weight: 800;
}

.technical-evolution-toolbar__hint {
  color: #617183;
  font-size: 0.72rem;
  line-height: 1.35;
}

.technical-evolution-toolbar select,
.technical-evolution-toolbar input,
.technical-evolution-toolbar__locked-value,
.technical-evolution-notes textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(191, 201, 214, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.92));
  color: var(--te-text);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.technical-evolution-toolbar__locked-value {
  display: flex;
  align-items: center;
  font-weight: 800;
  color: #243243;
  background: linear-gradient(180deg, rgba(246, 249, 252, 0.98), rgba(240, 245, 250, 0.94));
}

.technical-evolution-toolbar select:hover,
.technical-evolution-toolbar input:hover,
.technical-evolution-notes textarea:hover {
  border-color: rgba(157, 172, 188, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
}

.technical-evolution-toolbar select:focus,
.technical-evolution-toolbar input:focus,
.technical-evolution-notes textarea:focus {
  outline: none;
  border-color: rgba(109, 130, 154, 0.88);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.technical-evolution-secondary--refresh {
  min-height: 44px;
  width: 100%;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(170, 184, 201, 0.84);
  background: linear-gradient(180deg, rgba(84, 101, 122, 0.96), rgba(56, 69, 84, 0.98));
  color: #f8fafc;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(71, 85, 105, 0.16);
}

.technical-evolution-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.technical-evolution-subtab {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #415062;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.technical-evolution-subtab.is-active {
  background: linear-gradient(180deg, rgba(73, 88, 106, 0.96), rgba(33, 43, 55, 0.98));
  color: #fff;
}

.technical-evolution-stacked-metrics,
.technical-evolution-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.technical-evolution-scope-chip,
.technical-evolution-kpi {
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 18px;
}

.technical-evolution-eval-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.84fr) minmax(0, 1.16fr);
  gap: 14px;
  align-items: start;
}

.technical-evolution-panel {
  padding: 16px;
  border-radius: 24px;
}

.technical-evolution-panel--list,
.technical-evolution-panel--editor {
  min-height: 640px;
}

.technical-evolution-panel--editor {
  position: sticky;
  top: 14px;
}

.technical-evolution-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.technical-evolution-panel__head h3 {
  margin: 2px 0 0;
}

.technical-evolution-student-list {
  display: grid;
  gap: 10px;
  max-height: 100%;
  overflow: auto;
  padding-right: 4px;
}

.technical-evolution-student-card {
  display: grid;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 20px;
  border: 1px solid rgba(210, 220, 230, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.technical-evolution-student-card:hover {
  transform: translateY(-2px);
}

.technical-evolution-student-card.is-active {
  border-color: rgba(124, 144, 168, 0.66);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 246, 251, 0.92));
  box-shadow: 0 18px 32px rgba(105, 122, 143, 0.12);
}

.technical-evolution-student-card__top,
.technical-evolution-editor__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.technical-evolution-student-card__footer {
  display: grid;
  gap: 6px;
}

.technical-evolution-student-card__copy {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
}

.technical-evolution-student-card__copy strong {
  font-size: 0.96rem;
}

.technical-evolution-student-card__copy span,
.technical-evolution-history__note,
.technical-evolution-panel__head p,
.technical-evolution-kpi small {
  color: var(--te-muted);
}

.technical-evolution-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #60738a, #425061);
  color: #fff;
  font-weight: 900;
}

.technical-evolution-status,
.technical-evolution-badge,
.technical-evolution-sheet__column-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.technical-evolution-status[data-tone="good"] { background: rgba(20, 112, 78, 0.14); color: var(--te-good); }
.technical-evolution-status[data-tone="warn"] { background: rgba(179, 58, 50, 0.12); color: var(--te-warn); }
.technical-evolution-status[data-tone="neutral"] { background: rgba(91, 110, 130, 0.12); color: #4f6176; }
.technical-evolution-status[data-tone="idle"] { background: rgba(148, 163, 184, 0.14); color: #6a798c; }

.technical-evolution-student-card__meta,
.technical-evolution-student-card__signals,
.technical-evolution-editor__hero-side,
.technical-evolution-hero-metrics,
.technical-evolution-live-summary,
.technical-evolution-history__grid {
  display: grid;
  gap: 8px;
}

.technical-evolution-student-card__meta,
.technical-evolution-student-card__signals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-evolution-signal-pill,
.technical-evolution-editor__hero-side span,
.technical-evolution-history__grid span,
.technical-evolution-hero-metrics article,
.technical-evolution-live-summary article {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(203, 213, 225, 0.5);
}

.technical-evolution-signal-pill span,
.technical-evolution-editor__hero-side strong,
.technical-evolution-history__grid strong,
.technical-evolution-hero-metrics span,
.technical-evolution-live-summary span {
  color: #718096;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.technical-evolution-student-card__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.82);
}

.technical-evolution-student-card__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(75, 99, 129, 0.92), rgba(134, 161, 191, 0.78));
}

.technical-evolution-editor {
  display: grid;
  gap: 12px;
}

.technical-evolution-editor__hero {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
}

.technical-evolution-editor__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.technical-evolution-editor__hero h3 {
  margin: 0;
  font-size: 1.16rem;
}

.technical-evolution-editor__hero p {
  margin: 2px 0 0;
  color: var(--te-muted);
}

.technical-evolution-editor__hero-side,
.technical-evolution-hero-metrics,
.technical-evolution-live-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-evolution-scale {
  padding: 10px 12px;
  border-radius: 20px;
}

.technical-evolution-scale__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.technical-evolution-scale__summary::-webkit-details-marker {
  display: none;
}

.technical-evolution-scale__head {
  display: grid;
  gap: 2px;
}

.technical-evolution-scale__head small {
  color: var(--te-muted);
}

.technical-evolution-scale__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.technical-evolution-scale__chips span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(91, 110, 130, 0.1);
  color: #425367;
  font-size: 0.8rem;
  font-weight: 800;
}

.technical-evolution-scale__grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.technical-evolution-scale__item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.technical-evolution-scale__badge {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(47, 56, 68, 0.92), rgba(27, 34, 44, 0.98));
  color: #fff;
  font-weight: 800;
}

.technical-evolution-scale__copy p {
  margin: 0;
  color: var(--te-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.technical-evolution-sheet {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
}

.technical-evolution-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.technical-evolution-sheet__head small {
  color: var(--te-muted);
}

.technical-evolution-sheet__row {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.88);
}

.technical-evolution-sheet__row:first-of-type {
  border-top: 0;
}

.technical-evolution-sheet__label {
  display: grid;
  align-content: center;
}

.technical-evolution-sheet__ratings {
  display: grid;
  gap: 8px;
}

.technical-evolution-rating-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.technical-evolution-rating {
  position: relative;
}

.technical-evolution-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.technical-evolution-rating span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(200, 210, 223, 0.65);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 250, 0.88));
  color: #435466;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.technical-evolution-rating:hover span {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(132, 151, 174, 0.7);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.technical-evolution-rating:active span {
  transform: scale(0.98);
}

.technical-evolution-rating input:checked + span,
.technical-evolution-rating.is-selected span {
  transform: translateY(-1px);
  border-color: rgba(69, 87, 110, 0.28);
  background: linear-gradient(180deg, rgba(77, 94, 117, 0.96), rgba(43, 54, 69, 0.98));
  color: #fff;
  box-shadow: 0 12px 24px rgba(64, 81, 104, 0.2);
}

.technical-evolution-notes {
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
}

.technical-evolution-notes textarea {
  min-height: 88px;
}

.technical-evolution-editor__footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.technical-evolution-primary {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(46, 55, 67, 0.96), rgba(24, 31, 40, 0.98));
  color: #fff;
  font-weight: 800;
}

.technical-evolution-secondary {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(186, 197, 211, 0.82);
  background: rgba(255, 255, 255, 0.72);
  color: #2d3b4d;
  font-weight: 800;
}

.technical-evolution-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(186, 197, 211, 0.88);
}

.technical-evolution-limit-banner,
.technical-evolution-lock-note {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(179, 58, 50, 0.08);
  border: 1px solid rgba(179, 58, 50, 0.14);
  color: var(--te-warn);
}

@media (max-width: 1180px) {
  .technical-evolution-flow-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-evolution-toolbar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .technical-evolution-toolbar__field:nth-child(1),
  .technical-evolution-toolbar__field:nth-child(2),
  .technical-evolution-toolbar__field:nth-child(3),
  .technical-evolution-toolbar__field:nth-child(4) {
    grid-column: span 2;
  }

  .technical-evolution-toolbar__field--search {
    grid-column: span 4;
  }

  .technical-evolution-toolbar__actions {
    grid-column: span 2;
  }

  .technical-evolution-hero-metrics,
  .technical-evolution-live-summary,
  .technical-evolution-editor__hero-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 979px) {
  .technical-evolution-flow-guide {
    grid-template-columns: 1fr;
  }

  .technical-evolution-eval-grid,
  .technical-evolution-sheet__row,
  .technical-evolution-scale__summary,
  .technical-evolution-sheet__head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .technical-evolution-toolbar {
    grid-template-columns: 1fr;
  }

  .technical-evolution-toolbar__field,
  .technical-evolution-toolbar__field:nth-child(1),
  .technical-evolution-toolbar__field:nth-child(2),
  .technical-evolution-toolbar__field:nth-child(3),
  .technical-evolution-toolbar__field:nth-child(4),
  .technical-evolution-toolbar__field--search,
  .technical-evolution-toolbar__actions {
    grid-column: auto;
  }

  .technical-evolution-toolbar__actions {
    justify-content: stretch;
  }

  .technical-evolution-secondary--refresh {
    width: 100%;
  }

  .technical-evolution-panel--editor {
    position: static;
  }

  .technical-evolution-editor__footer,
  .technical-evolution-editor__footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .technical-evolution-student-card__meta,
  .technical-evolution-student-card__signals,
  .technical-evolution-editor__hero-side,
  .technical-evolution-hero-metrics,
  .technical-evolution-live-summary,
  .technical-evolution-history__grid {
    grid-template-columns: 1fr;
  }
}

/* Ficha oficial: overrides visuais para reduzir o aspecto de dashboard */
.technical-evolution-shell {
  --te-shell-bg: #f4f0e8;
  --te-paper: #ffffff;
  --te-paper-soft: #fbf9f4;
  --te-line: #d7d1c4;
  --te-ink: #20252b;
  --te-muted: #6d6a62;
  --te-accent: #27445d;
  gap: 16px;
  color: var(--te-ink);
}

.technical-evolution-shell > * {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.technical-evolution-hero,
.technical-evolution-scope-banner,
.technical-evolution-toolbar,
.technical-evolution-panel,
.technical-evolution-sheet,
.technical-evolution-editor__hero,
.technical-evolution-hero-metrics article,
.technical-evolution-live-summary article,
.technical-evolution-student-card,
.technical-evolution-scale,
.technical-evolution-scope-chip {
  background: var(--te-paper);
  border: 1px solid var(--te-line);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.04);
}

.technical-evolution-hero--document {
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8, #f7f2e8);
}

.technical-evolution-hero__meta {
  border: 1px solid #d9d1c2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.technical-evolution-scope-banner {
  padding: 12px 16px;
  border-radius: 16px;
  background: #fcfaf6;
}

.technical-evolution-toolbar {
  padding: 14px;
  border-radius: 18px;
  background: #fcfaf6;
}

.technical-evolution-toolbar__field {
  background: #fff;
  border-radius: 14px;
  box-shadow: none;
}

.technical-evolution-subtabs {
  gap: 8px;
}

.technical-evolution-subtab {
  min-height: 40px;
  border: 1px solid #d8d0c1;
  background: #fffdfa;
  color: #4f545c;
  box-shadow: none;
}

.technical-evolution-subtab.is-active {
  background: #203446;
  color: #fff;
}

.technical-evolution-stacked-metrics--ficha {
  align-items: stretch;
}

.technical-evolution-scope-chip {
  min-width: 220px;
  border-radius: 14px;
  background: #fffdfa;
}

.technical-evolution-eval-grid {
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 16px;
}

.technical-evolution-panel {
  padding: 16px;
  border-radius: 18px;
}

.technical-evolution-panel--list,
.technical-evolution-panel--editor {
  min-height: 0;
}

.technical-evolution-panel--editor {
  top: 12px;
}

.technical-evolution-student-card {
  border-radius: 16px;
  background: #fff;
}

.technical-evolution-student-card.is-active {
  border-color: #27445d;
  background: #f8fbfd;
  box-shadow: 0 10px 26px rgba(39, 68, 93, 0.08);
}

.technical-evolution-student-card__meta span,
.technical-evolution-student-card__footer small {
  color: var(--te-muted);
}

.technical-evolution-avatar {
  border-radius: 12px;
  background: linear-gradient(180deg, #506577, #2f4355);
}

.technical-evolution-signal-pill,
.technical-evolution-history__grid span {
  background: #fbfaf7;
  border-color: #e1dbcf;
}

.technical-evolution-ficha {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #d8d0c1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fcfaf6);
}

.technical-evolution-ficha--placeholder {
  min-height: 520px;
  align-content: start;
}

.technical-evolution-ficha__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dfd7ca;
}

.technical-evolution-ficha__title h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: 0.04em;
}

.technical-evolution-ficha__title p {
  margin: 6px 0 0;
  color: var(--te-muted);
}

.technical-evolution-ficha__meta,
.technical-evolution-ficha__grid,
.technical-evolution-summary-grid {
  display: grid;
  gap: 10px;
}

.technical-evolution-ficha__meta,
.technical-evolution-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-evolution-ficha__grid--identification {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.technical-evolution-ficha__field {
  display: grid;
  gap: 6px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e1dbcf;
  border-radius: 14px;
  background: var(--te-paper);
}

.technical-evolution-ficha__field span {
  color: #7b7468;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-evolution-ficha__field strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.technical-evolution-ficha__field--wide {
  grid-column: span 2;
}

.technical-evolution-ficha__section {
  display: grid;
  gap: 12px;
}

.technical-evolution-ficha__section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.technical-evolution-ficha__section-head strong {
  display: block;
}

.technical-evolution-ficha__section-head small {
  color: var(--te-muted);
}

.technical-evolution-ficha__section-index {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #203446;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.technical-evolution-scale {
  padding: 12px;
  border-radius: 14px;
  background: #fbfaf7;
}

.technical-evolution-scale__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.technical-evolution-scale__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.technical-evolution-scale__item {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e1dbcf;
}

.technical-evolution-scale__badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #203446;
}

.technical-evolution-scale__copy p {
  display: none;
}

.technical-evolution-sheet {
  gap: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.technical-evolution-sheet--table {
  border: 1px solid #ddd6c9;
  background: #fff;
}

.technical-evolution-sheet__table {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
}

.technical-evolution-sheet__table--head {
  background: #f7f3eb;
  border-bottom: 1px solid #ddd6c9;
  color: #6c675f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-evolution-sheet__row {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-top: 1px solid #eee7da;
}

.technical-evolution-sheet__label {
  align-content: start;
  min-height: 48px;
}

.technical-evolution-sheet__ratings {
  gap: 6px;
}

.technical-evolution-sheet__column-title {
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #6f685f;
}

.technical-evolution-rating-group {
  gap: 8px;
}

.technical-evolution-rating span {
  min-height: 40px;
  border-radius: 999px;
  border-color: #d8d0c2;
  background: #fffdfa;
  box-shadow: none;
}

.technical-evolution-rating:hover span {
  transform: translateY(-1px);
  box-shadow: none;
}

.technical-evolution-rating input:checked + span,
.technical-evolution-rating.is-selected span {
  border-color: #203446;
  background: #203446;
  color: #fff;
  box-shadow: none;
}

.technical-evolution-notes {
  gap: 10px;
}

.technical-evolution-notes textarea {
  min-height: 108px;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.technical-evolution-live-summary {
  grid-template-columns: 1fr;
}

.technical-evolution-editor__footer {
  padding-top: 6px;
}

.technical-evolution-editor__footer-copy span {
  color: var(--te-muted);
}

.technical-evolution-primary,
.technical-evolution-secondary,
.technical-evolution-secondary--refresh {
  min-height: 44px;
  border-radius: 999px;
  box-shadow: none;
}

.technical-evolution-primary {
  background: #203446;
}

.technical-evolution-secondary,
.technical-evolution-secondary--refresh {
  background: #fffdfa;
  color: #203446;
  border: 1px solid #d8d0c2;
}

@media (max-width: 1180px) {
  .technical-evolution-hero--document,
  .technical-evolution-ficha__header {
    grid-template-columns: 1fr;
  }

  .technical-evolution-ficha__grid--identification {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 979px) {
  .technical-evolution-eval-grid {
    grid-template-columns: 1fr;
  }

  .technical-evolution-ficha,
  .technical-evolution-panel {
    padding: 14px;
  }

  .technical-evolution-ficha__meta,
  .technical-evolution-summary-grid,
  .technical-evolution-ficha__grid--identification,
  .technical-evolution-scale__grid {
    grid-template-columns: 1fr;
  }

  .technical-evolution-ficha__field--wide {
    grid-column: auto;
  }

  .technical-evolution-sheet__table--head {
    display: none;
  }

  .technical-evolution-sheet__row {
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 1px solid #e9e2d5;
    border-radius: 0;
    background: #fffdfa;
  }

  .technical-evolution-sheet__label {
    padding-bottom: 4px;
    border-bottom: 1px dashed #ded5c7;
  }
}

/* Premium refinement layer: visual only, no logic changes */
.technical-evolution-root {
  padding: clamp(12px, 2vw, 24px);
}

.technical-evolution-shell {
  --te-shell-bg: #f6f1e8;
  --te-paper: #fffdf9;
  --te-paper-strong: #ffffff;
  --te-paper-soft: #fbf7ef;
  --te-border: #ded6c7;
  --te-border-strong: #cbbd9a;
  --te-ink: #18212b;
  --te-muted: #64748b;
  --te-slate: #334155;
  --te-blue: #1f4f82;
  --te-blue-soft: #e8f1fb;
  --te-gold: #b79043;
  --te-gold-soft: #f4ead0;
  --te-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  gap: 18px;
  color: var(--te-ink);
}

.technical-evolution-shell > * {
  box-shadow: var(--te-shadow);
}

.technical-evolution-hero--document {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--te-border-strong);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(248, 241, 224, 0.92)),
    linear-gradient(180deg, #fffdf9, #f8f3ea);
  box-shadow: 0 22px 50px rgba(91, 62, 18, 0.08);
}

.technical-evolution-hero__copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.technical-evolution-hero__copy h2 {
  color: #17212b;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.technical-evolution-hero__copy p {
  max-width: 62ch;
  margin: 0;
  color: var(--te-slate);
  font-size: 1rem;
  line-height: 1.65;
}

.technical-evolution-eyebrow {
  color: var(--te-blue);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.technical-evolution-hero__meta {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(183, 144, 67, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 245, 234, 0.96));
}

.technical-evolution-hero__meta span {
  color: var(--te-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.technical-evolution-hero__meta strong {
  color: #142033;
  font-size: 1.15rem;
  line-height: 1.4;
}

.technical-evolution-hero__meta small {
  color: var(--te-slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

.technical-evolution-scope-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid var(--te-border);
  background: var(--te-paper-strong);
}

.technical-evolution-scope-banner strong {
  color: #18212b;
  font-size: 1.04rem;
}

.technical-evolution-scope-banner small {
  color: var(--te-slate);
  font-size: 0.94rem;
  font-weight: 600;
}

.technical-evolution-toolbar {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--te-border);
  background: linear-gradient(180deg, #fffdfa, #faf6ee);
}

.technical-evolution-toolbar__field {
  gap: 8px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(222, 214, 199, 0.9);
  border-radius: 18px;
  background: var(--te-paper-strong);
}

.technical-evolution-toolbar__label {
  color: #18212b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-evolution-toolbar__hint {
  color: var(--te-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.technical-evolution-toolbar select,
.technical-evolution-toolbar input,
.technical-evolution-notes textarea {
  min-height: 48px;
  border: 1px solid #d7dce4;
  border-radius: 14px;
  background: #fff;
  color: #17212b;
  font-size: 0.96rem;
  font-weight: 600;
}

.technical-evolution-toolbar select:hover,
.technical-evolution-toolbar input:hover,
.technical-evolution-notes textarea:hover {
  border-color: #afbdd0;
}

.technical-evolution-toolbar select:focus,
.technical-evolution-toolbar input:focus,
.technical-evolution-notes textarea:focus {
  border-color: rgba(31, 79, 130, 0.72);
  box-shadow: 0 0 0 4px rgba(31, 79, 130, 0.12);
}

.technical-evolution-toolbar__locked-value {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff, #f1f6fb);
  color: #17375b;
  font-weight: 700;
}

.technical-evolution-toolbar__actions {
  display: flex;
  align-items: end;
}

.technical-evolution-secondary--refresh,
.technical-evolution-primary,
.technical-evolution-secondary {
  min-height: 48px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.technical-evolution-secondary--refresh:hover,
.technical-evolution-primary:hover,
.technical-evolution-secondary:hover {
  transform: translateY(-1px);
}

.technical-evolution-primary {
  background: linear-gradient(180deg, #1f4f82, #173b63);
  box-shadow: 0 14px 24px rgba(31, 79, 130, 0.18);
}

.technical-evolution-secondary,
.technical-evolution-secondary--refresh {
  background: #fff;
  color: #173b63;
  border: 1px solid #cfd9e4;
}

.technical-evolution-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px;
}

.technical-evolution-subtab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d5dfeb;
  border-radius: 999px;
  background: #f7fbff;
  color: #34506e;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.technical-evolution-subtab:hover {
  transform: translateY(-1px);
  background: #eef5fd;
}

.technical-evolution-subtab.is-active {
  border-color: rgba(31, 79, 130, 0.22);
  background: linear-gradient(180deg, #2c6daf, #1f4f82);
  color: #fff;
  box-shadow: 0 12px 22px rgba(31, 79, 130, 0.2);
}

.technical-evolution-flow-guide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.technical-evolution-flow-guide article {
  min-height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa, #f9f5ed);
  border: 1px solid var(--te-border);
  box-shadow: none;
}

.technical-evolution-flow-guide strong {
  background: linear-gradient(180deg, #1f4f82, #173b63);
}

.technical-evolution-flow-guide span {
  color: #233446;
  font-weight: 700;
}

.technical-evolution-stacked-metrics--ficha {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.technical-evolution-scope-chip {
  min-width: 0;
  min-height: 108px;
  align-content: center;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--te-border);
  background: linear-gradient(180deg, #fffefa, #faf5ec);
}

.technical-evolution-scope-chip strong {
  color: #18212b;
  font-size: 1rem;
}

.technical-evolution-scope-chip span {
  color: var(--te-slate);
  line-height: 1.55;
}

.technical-evolution-eval-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.technical-evolution-panel {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--te-border);
  background: var(--te-paper-strong);
}

.technical-evolution-panel__head {
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(222, 214, 199, 0.75);
}

.technical-evolution-panel__head h3 {
  color: #17212b;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.technical-evolution-panel__head p,
.technical-evolution-history__note,
.technical-evolution-kpi small,
.technical-evolution-student-card__footer small,
.technical-evolution-ficha__title p,
.technical-evolution-ficha__section-head small,
.technical-evolution-scale__copy small {
  color: var(--te-muted);
}

.technical-evolution-panel--list {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 700px;
}

.technical-evolution-panel--editor {
  top: 16px;
  min-height: 700px;
  background:
    radial-gradient(circle at top right, rgba(183, 144, 67, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9, #fbf7ef);
}

.technical-evolution-student-list {
  gap: 12px;
  padding-right: 6px;
}

.technical-evolution-student-card {
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e3dfd7;
  background: linear-gradient(180deg, #fff, #fcfaf5);
  box-shadow: none;
}

.technical-evolution-student-card:hover {
  border-color: rgba(31, 79, 130, 0.28);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.07);
}

.technical-evolution-student-card.is-active {
  border-color: rgba(31, 79, 130, 0.4);
  background: linear-gradient(180deg, #f9fcff, #f1f7fd);
  box-shadow: 0 18px 30px rgba(31, 79, 130, 0.12);
}

.technical-evolution-student-card__copy strong {
  color: #17212b;
  font-size: 1rem;
}

.technical-evolution-student-card__copy span,
.technical-evolution-student-card__meta span {
  color: var(--te-slate);
}

.technical-evolution-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #28527e, #193754);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.technical-evolution-status,
.technical-evolution-badge,
.technical-evolution-sheet__column-title {
  color: #17375b;
}

.technical-evolution-status[data-tone="good"] {
  background: rgba(18, 125, 88, 0.14);
  color: #157553;
}

.technical-evolution-status[data-tone="warn"] {
  background: rgba(191, 68, 52, 0.12);
  color: #b74134;
}

.technical-evolution-status[data-tone="neutral"],
.technical-evolution-status[data-tone="idle"] {
  background: rgba(31, 79, 130, 0.09);
  color: #31516f;
}

.technical-evolution-signal-pill,
.technical-evolution-editor__hero-side span,
.technical-evolution-history__grid span,
.technical-evolution-hero-metrics article,
.technical-evolution-live-summary article,
.technical-evolution-ficha__field {
  background: linear-gradient(180deg, #fff, #fbf8f1);
  border-color: rgba(222, 214, 199, 0.9);
}

.technical-evolution-signal-pill span,
.technical-evolution-editor__hero-side strong,
.technical-evolution-history__grid strong,
.technical-evolution-hero-metrics span,
.technical-evolution-live-summary span,
.technical-evolution-ficha__field span {
  color: #64748b;
}

.technical-evolution-student-card__bar {
  height: 8px;
  background: #e7edf3;
}

.technical-evolution-student-card__bar span {
  background: linear-gradient(90deg, #1f4f82, #6ea2d1);
}

.technical-evolution-empty {
  min-height: 180px;
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed #d5ccbc;
  background: linear-gradient(180deg, #fffdf9, #faf6ee);
}

.technical-evolution-empty strong {
  color: #17212b;
  font-size: 1rem;
}

.technical-evolution-empty p {
  max-width: 54ch;
  margin: 0;
  color: var(--te-slate);
  line-height: 1.6;
}

.technical-evolution-ficha,
.technical-evolution-editor__hero,
.technical-evolution-scale,
.technical-evolution-sheet--table {
  border-radius: 20px;
}

.technical-evolution-ficha {
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--te-border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 238, 0.96));
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.06);
}

.technical-evolution-ficha--placeholder {
  min-height: 460px;
}

.technical-evolution-ficha__header {
  align-items: start;
  gap: 18px;
  padding-bottom: 18px;
}

.technical-evolution-ficha__title h3 {
  color: #162130;
  font-size: clamp(1.28rem, 2.1vw, 1.7rem);
  font-weight: 800;
}

.technical-evolution-ficha__meta,
.technical-evolution-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.technical-evolution-ficha__grid--identification {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.technical-evolution-ficha__field {
  min-height: 80px;
  padding: 14px 16px;
  border-radius: 16px;
}

.technical-evolution-ficha__field strong {
  color: #1a2431;
}

.technical-evolution-ficha__section {
  gap: 14px;
}

.technical-evolution-ficha__section-head {
  align-items: center;
}

.technical-evolution-ficha__section-index {
  width: 30px;
  height: 30px;
  background: linear-gradient(180deg, #1f4f82, #173b63);
  box-shadow: 0 10px 18px rgba(31, 79, 130, 0.16);
}

.technical-evolution-scale {
  padding: 14px 16px;
  background: linear-gradient(180deg, #fffdf9, #f7f2e7);
}

.technical-evolution-scale__summary {
  gap: 18px;
}

.technical-evolution-scale__head {
  gap: 14px;
}

.technical-evolution-scale__grid {
  gap: 12px;
}

.technical-evolution-sheet--table {
  border: 1px solid #dfd6c6;
  background: #fff;
}

.technical-evolution-sheet__table {
  gap: 16px;
  padding: 14px 16px;
}

.technical-evolution-sheet__table--head {
  background: linear-gradient(180deg, #f7f2e7, #f2ebdd);
  color: #5e5a52;
}

.technical-evolution-sheet__row {
  gap: 16px;
  padding: 16px;
}

.technical-evolution-sheet__label strong {
  color: #18212b;
  font-size: 0.96rem;
}

.technical-evolution-rating-group {
  gap: 8px;
}

.technical-evolution-rating {
  border-radius: 12px;
  background: #f8fbff;
  border-color: #d4e0ec;
}

.technical-evolution-rating.is-selected {
  border-color: rgba(31, 79, 130, 0.44);
  background: linear-gradient(180deg, #e9f2fb, #dfeefb);
}

.technical-evolution-notes textarea {
  min-height: 132px;
  padding: 14px 16px;
  line-height: 1.65;
  resize: vertical;
}

.technical-evolution-live-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.technical-evolution-live-summary article,
.technical-evolution-hero-metrics article {
  min-height: 108px;
  align-content: start;
  padding: 14px 16px;
  border-radius: 16px;
}

.technical-evolution-editor__footer {
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(222, 214, 199, 0.72);
}

.technical-evolution-editor__footer-copy strong {
  color: #17212b;
}

.technical-evolution-editor__footer-copy span {
  color: var(--te-slate);
}

.technical-evolution-editor__footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.technical-evolution-history,
.technical-evolution-ranking,
.technical-evolution-report-table {
  display: grid;
  gap: 12px;
}

.technical-evolution-history__item,
.technical-evolution-ranking__item {
  padding: 16px 18px;
  border: 1px solid var(--te-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbf7ef);
}

.technical-evolution-history__top strong,
.technical-evolution-ranking__copy strong,
.technical-evolution-report-table th {
  color: #17212b;
}

.technical-evolution-history__top span,
.technical-evolution-ranking__copy span {
  color: var(--te-slate);
}

.technical-evolution-history__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--te-blue-soft);
  color: var(--te-blue);
  font-weight: 800;
}

.technical-evolution-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.technical-evolution-report-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.technical-evolution-report-summary article {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--te-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbf7ef);
}

.technical-evolution-report-summary strong {
  color: #162130;
  font-size: 1.4rem;
}

.technical-evolution-report-summary span {
  color: var(--te-muted);
}

.technical-evolution-report-table {
  overflow: hidden;
  border: 1px solid var(--te-border);
  border-radius: 20px;
  background: #fff;
}

.technical-evolution-report-table table {
  width: 100%;
  border-collapse: collapse;
}

.technical-evolution-report-table th,
.technical-evolution-report-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ebe4d8;
  text-align: left;
}

.technical-evolution-report-table thead th {
  background: #f6f0e3;
  color: #4a4d53;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technical-evolution-table-empty {
  color: var(--te-muted);
  text-align: center;
  background: #fffdf8;
}

@media (max-width: 1180px) {
  .technical-evolution-hero--document,
  .technical-evolution-ficha__header,
  .technical-evolution-scope-banner {
    grid-template-columns: 1fr;
  }

  .technical-evolution-toolbar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .technical-evolution-toolbar__field:nth-child(1),
  .technical-evolution-toolbar__field:nth-child(2),
  .technical-evolution-toolbar__field:nth-child(3),
  .technical-evolution-toolbar__field:nth-child(4) {
    grid-column: span 2;
  }

  .technical-evolution-toolbar__field--search {
    grid-column: span 4;
  }

  .technical-evolution-toolbar__actions {
    grid-column: span 2;
  }

  .technical-evolution-live-summary,
  .technical-evolution-hero-metrics,
  .technical-evolution-editor__hero-side,
  .technical-evolution-ficha__grid--identification {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 979px) {
  .technical-evolution-root {
    padding: 10px;
  }

  .technical-evolution-flow-guide,
  .technical-evolution-stacked-metrics--ficha,
  .technical-evolution-report-summary,
  .technical-evolution-live-summary,
  .technical-evolution-hero-metrics,
  .technical-evolution-editor__hero-side,
  .technical-evolution-ficha__meta,
  .technical-evolution-summary-grid,
  .technical-evolution-ficha__grid--identification,
  .technical-evolution-scale__grid {
    grid-template-columns: 1fr;
  }

  .technical-evolution-toolbar {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .technical-evolution-toolbar__field,
  .technical-evolution-toolbar__field:nth-child(1),
  .technical-evolution-toolbar__field:nth-child(2),
  .technical-evolution-toolbar__field:nth-child(3),
  .technical-evolution-toolbar__field:nth-child(4),
  .technical-evolution-toolbar__field--search,
  .technical-evolution-toolbar__actions {
    grid-column: auto;
  }

  .technical-evolution-eval-grid {
    grid-template-columns: 1fr;
  }

  .technical-evolution-panel--editor {
    position: static;
    min-height: 0;
  }

  .technical-evolution-panel--list {
    min-height: 0;
  }

  .technical-evolution-panel,
  .technical-evolution-ficha {
    padding: 14px;
  }

  .technical-evolution-editor__footer,
  .technical-evolution-editor__footer-actions,
  .technical-evolution-panel__head,
  .technical-evolution-report-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .technical-evolution-sheet__table--head {
    display: none;
  }

  .technical-evolution-sheet__row {
    grid-template-columns: 1fr;
    gap: 12px;
    background: #fffdf8;
  }
}
