.team-hero h1 { max-width: none; font-size: clamp(44px, 5.9vw, 84px); }
.team-studio { background: radial-gradient(ellipse at 95% 0%, #5e6547, transparent 77%), #272d26; }
.team-studio-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-panel { padding: clamp(10px, 1.25vw, 18px); }

.team-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 7px;
  padding: clamp(11px, 1.45vw, 19px);
  border-radius: 10px;
  background: linear-gradient(115deg, #ecefdd, #f5edce);
}
.team-panel-heading p { color: #55583e; font-size: 12px; font-weight: 750; }
.team-panel-heading h2 {
  margin-top: 4px;
  font-size: clamp(22px, 2.6vw, 35px);
  line-height: 1.1;
  text-wrap: initial;
}

.team-member-list, .team-report-rows {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.team-member-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 2px;
  border-bottom: 1px solid #e9e3d3;
  font-size: 13px;
}
.team-member-list li div span { display: block; color: var(--muted); font-size: 12px; }
.team-avatar {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: #f4e7bd;
  color: #513d15;
  font-weight: 800;
}
.team-assignment-facts { margin-block: 10px; }
.team-assignment-facts div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 2px;
  border-bottom: 1px solid #e9e3d3;
  font-size: 13px;
}
.team-assignment-facts dt, .team-assignment-note { color: var(--muted); }
.team-assignment-facts dd { margin: 0; text-align: right; font-weight: 750; }
.team-assignment-note { font-size: 12px; }

.team-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 9px 0 0;
}
.team-preview-metrics div { padding: 6px clamp(5px, .85vw, 12px); border-radius: 9px; background: #f2eddf; }
.team-preview-metrics div:nth-child(2) { background: #e8efdf; }
.team-preview-metrics div:nth-child(3) { background: #f7ebdf; }
.team-preview-metrics dt { color: #555344; font-size: clamp(10px, 1.1vw, 12px); font-weight: 720; }
.team-preview-metrics dd { margin: 0; font-size: clamp(19px, 2.3vw, 29px); font-weight: 800; line-height: 1.15; }

.team-report-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; }
.team-report-controls label { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-size: 12px; font-weight: 750; cursor: pointer; }
.team-report-controls input { width: 16px; height: 16px; margin: 0; accent-color: #3d6046; }
.team-report-controls p { color: var(--muted); font-size: 11px; }
.team-report-rows { min-block-size: 146px; margin-top: 0; border-bottom: 1px solid #e9e3d3; }
.team-report-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(31px, 1fr) 4ch minmax(78px, auto);
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 1px;
  border-top: 1px solid #e9e3d3;
  font-size: 12px;
}
.team-report-rows li > span { font-weight: 740; }
.team-report-rows li > strong { text-align: right; font-variant-numeric: tabular-nums; }
.team-report-rows small { justify-self: end; text-align: center; }
.team-report-rows progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 20px;
  background: #eae6d9;
  color: #567653;
  accent-color: #567653;
}
.team-report-rows progress::-webkit-progress-bar { background: #eae6d9; }
.team-report-rows progress::-webkit-progress-value { border-radius: 20px; background: #567653; }
.team-report-rows progress::-moz-progress-bar { border-radius: 20px; background: #567653; }
.team-tag-warning { background: #fae9b8; color: #66470f; }
.team-tag-overdue { background: #f6e0d8; color: #7c3928; }

.team-role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.team-role-grid article {
  min-width: 0;
  padding: clamp(15px, 2vw, 26px);
  border: 1px solid #ebe5d5;
  border-radius: 16px;
  background: #fffcf2;
}
.team-role-grid h3 { margin-top: 11px; font-size: clamp(18px, 1.75vw, 23px); text-wrap: initial; }
.team-role-grid p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.team-tariff-link { margin-top: 8px; }
.team-analysis-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.team-analysis-list li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.team-analysis-list li .icon { margin-top: 2px; }
.team-analysis-list li strong { color: #ffe2a2; }
.team-analysis-list li p { margin-top: 3px; font-size: 14px; }

@media (max-width: 900px) {
  .team-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .team-hero h1 { font-size: clamp(34px, 9.4vw, 46px); }
  .team-role-grid { grid-template-columns: minmax(0, 1fr); }
  .team-report-rows { min-block-size: 210px; }
  .team-report-rows li { grid-template-columns: minmax(0, 1fr) 4ch auto; gap: 2px 6px; min-height: 52px; }
  .team-report-rows li > span { grid-column: 1 / 3; grid-row: 1; }
  .team-report-rows small { grid-column: 3; grid-row: 1; }
  .team-report-rows progress { grid-column: 1; grid-row: 2; }
  .team-report-rows li > strong { grid-column: 2; grid-row: 2; }
}
