.tdash-page {
  min-height: calc(100vh - 50px);
  padding: clamp(1rem, 2vw, 1.5rem);
  color: #19221d;
}

.tdash-page > * {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.tdash-hero {
  display: grid;
  gap: 0.45rem;
  min-height: 10rem;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid #e3ebe6;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(25, 45, 32, 0.06);
}

.tdash-hero--split,
.tdash-hero--service,
.tdash-hero--people {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.tdash-hero span,
.tdash-card h2,
.tdash-columns small,
.tdash-monitor small {
  color: #66736b;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tdash-hero h1 {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.tdash-hero p {
  max-width: 42rem;
  margin: 0;
  color: #5d6b63;
  font-size: 0.95rem;
}

.tdash-action,
.tdash-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: fit-content;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border-radius: 0.45rem;
  background: #1f9c45;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.tdash-metrics,
.tdash-grid,
.tdash-columns,
.tdash-people-board,
.tdash-monitor {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.tdash-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tdash-metrics a,
.tdash-card,
.tdash-columns article,
.tdash-people-board article,
.tdash-monitor article {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e2ebe5;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 22px rgba(25, 45, 32, 0.05);
  color: inherit;
  text-decoration: none;
}

.tdash-metrics a {
  display: grid;
  gap: 0.2rem;
}

.tdash-metrics small,
.tdash-metrics span,
.tdash-card p,
.tdash-columns span,
.tdash-people-board small,
.tdash-monitor span {
  color: #66736b;
  font-size: 0.76rem;
}

.tdash-metrics strong,
.tdash-card > strong,
.tdash-card > div > strong,
.tdash-columns strong,
.tdash-people-board strong,
.tdash-monitor strong {
  color: #18231d;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.tdash-card {
  display: grid;
  gap: 0.55rem;
}

.tdash-card h2 {
  margin: 0;
}

.tdash-card p {
  margin: 0;
  line-height: 1.45;
}

.tdash-grid--sos {
  grid-template-columns: 1.25fr 1fr 0.85fr;
}

.tdash-grid--mcostas {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.tdash-grid--mcostas .tdash-card--wide {
  grid-row: span 2;
}

.tdash-grid--quiet {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tdash-columns,
.tdash-monitor {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tdash-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tdash-list li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  min-height: 2.4rem;
  border-bottom: 1px solid #eef3ef;
}

.tdash-list li:last-child {
  border-bottom: 0;
}

.tdash-list span {
  color: #1f9c45;
  font-size: 0.74rem;
  font-weight: 850;
}

.tdash-list strong {
  overflow: hidden;
  color: #24302a;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tdash-weather {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.tdash-weather .material-symbols-outlined {
  grid-row: span 2;
  color: #f2b735;
  font-size: 2.4rem;
}

.tdash-weather small {
  color: #66736b;
}

.tdash-people-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tdash-people-board article {
  display: grid;
  min-height: 10rem;
  place-items: center;
  text-align: center;
}

.tdash-people-board .material-symbols-outlined {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 999px;
  background: #e9f6ed;
  color: #258b49;
  font-size: 1.7rem;
}

.tdash-card--line {
  margin-top: 0.75rem;
}

.tdash-page--sos { background: #f7faf8; }
.tdash-page--sos .tdash-hero { background: linear-gradient(135deg, #ffffff, #eef8f1); }
.tdash-page--sos .tdash-card--primary { border-left: 4px solid #1f9c45; }

.tdash-page--mcostas { background: #f8fafb; }
.tdash-page--mcostas .tdash-hero { background: linear-gradient(135deg, #ffffff, #eef4f8); }
.tdash-page--mcostas .tdash-action,
.tdash-page--mcostas .tdash-card a { background: #2f6f8f; }
.tdash-page--mcostas .tdash-card--accent { background: #f2f7fa; }

.tdash-page--csantos { background: #faf9f6; }
.tdash-page--csantos .tdash-hero { background: #fffdf8; border-color: #eee4ce; }
.tdash-page--csantos .tdash-columns article { border-color: #eee4ce; }

.tdash-page--vguimaraes { background: #f8fbfb; }
.tdash-page--vguimaraes .tdash-hero { background: #ffffff; }
.tdash-page--vguimaraes .tdash-card { box-shadow: none; }

.tdash-page--talentos { background: #f9faf7; }
.tdash-page--talentos .tdash-hero { background: linear-gradient(135deg, #ffffff, #f1f6df); }

.tdash-page--barra { background: #f7f9fb; }
.tdash-page--barra .tdash-hero { background: #ffffff; border-color: #dfe9f1; }
.tdash-page--barra .tdash-monitor article { border-color: #dfe9f1; }

@media (max-width: 980px) {
  .tdash-metrics,
  .tdash-grid--sos,
  .tdash-grid--mcostas,
  .tdash-grid--quiet,
  .tdash-columns,
  .tdash-people-board,
  .tdash-monitor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tdash-hero--split,
  .tdash-hero--service,
  .tdash-hero--people {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .tdash-page { padding: 0.85rem; }
  .tdash-metrics,
  .tdash-grid--sos,
  .tdash-grid--mcostas,
  .tdash-grid--quiet,
  .tdash-columns,
  .tdash-people-board,
  .tdash-monitor {
    grid-template-columns: 1fr;
  }
}
