:root {
  --ink: #18212f;
  --muted: #647084;
  --line: #d6dde8;
  --line-strong: #b9c4d4;
  --page: #f3f6fa;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --brand: #17324d;
  --brand-deep: #0f253a;
  --accent: #0f8b8d;
  --accent-soft: #e5f5f4;
  --warn: #c47a08;
  --danger: #b42318;
  --success: #1f7a4d;
  --field: #fff8e7;
  --shadow: 0 14px 34px rgba(20, 35, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(23, 50, 77, 0.06), rgba(243, 246, 250, 0) 270px),
    var(--page);
  color: var(--ink);
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: #155f86;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  align-items: center;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.subtitle {
  color: #b9d5e5;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

nav span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #eaf3f8;
  font-size: 14px;
  font-weight: 500;
  min-height: 34px;
  padding: 7px 13px;
}

nav a,
.button,
button {
  align-items: center;
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0;
  min-height: 40px;
  padding: 9px 18px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

nav a {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f4f8fb;
}

@keyframes extranet-contract-alert {
  0%, 100% {
    background: #b42318;
    border-color: #ff8b82;
    box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.75);
  }
  50% {
    background: #f04438;
    border-color: #fff;
    box-shadow: 0 0 0 7px rgba(255, 69, 58, 0);
  }
}

nav a.extranet-alert,
nav a.extranet-alert:hover {
  animation: extranet-contract-alert 1.1s ease-in-out infinite;
  background: #b42318;
  border-color: #ff8b82;
  color: #fff;
  font-weight: 900;
}

nav a:hover,
.button:hover,
button:hover {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
}

button:active,
.button:active {
  transform: translateY(1px);
}

.secondary {
  background: #5d6d7e;
}

.danger {
  background: var(--danger);
}

.danger:hover {
  background: #8f1d14;
}

main {
  margin: 0 auto;
  max-width: 1860px;
  padding: 24px clamp(18px, 2vw, 34px);
  width: 100%;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

.page-head {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px 20px;
}

.page-head h1 {
  font-size: 27px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.page-head p {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0;
}

.page-icon {
  align-items: end;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(3, 4px) 20px;
  height: 34px;
  justify-content: center;
  min-width: 58px;
  position: relative;
}

.page-icon span {
  background: #d6a73f;
  border-radius: 2px 2px 0 0;
  display: block;
  width: 4px;
}

.page-icon span:nth-child(1) {
  height: 7px;
}

.page-icon span:nth-child(2) {
  height: 12px;
}

.page-icon span:nth-child(3) {
  height: 17px;
}

.page-icon i {
  border-right: 2px solid #d6a73f;
  border-top: 2px solid #d6a73f;
  display: block;
  height: 15px;
  margin-bottom: 11px;
  position: relative;
  width: 15px;
}

.page-icon i::before {
  background: #d6a73f;
  content: "";
  height: 2px;
  position: absolute;
  right: -1px;
  top: 7px;
  transform: rotate(-45deg);
  transform-origin: right center;
  width: 23px;
}

.evaluator-card {
  background: linear-gradient(180deg, #fff, #f7fbfc);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  min-width: 280px;
  padding: 12px 16px;
}

.evaluator-card span,
.metrics span,
.detail-grid span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}

.evaluator-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.argus-identity {
  background: #07111a;
  border: 1px solid #162638;
  border-radius: 8px;
  box-shadow: var(--shadow);
  align-items: center;
  display: flex;
  height: 240px;
  justify-content: center;
  margin: -6px 0 18px;
  overflow: hidden;
}

.argus-identity img {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.login-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 78px auto;
  max-width: 430px;
  padding: 30px;
}

.login-panel h1 {
  margin-bottom: 8px;
}

.login-panel p {
  color: var(--muted);
  font-weight: 600;
}

.stack {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.14);
  outline: none;
}

textarea {
  min-height: 54px;
  resize: vertical;
}

td textarea {
  min-height: 38px;
}

.evaluation-form,
.admin-grid,
.detail-comments {
  display: grid;
  gap: 16px;
}

.admin-grid {
  grid-template-columns: minmax(320px, 0.75fr) minmax(420px, 1.25fr);
}

.info-grid,
.comments-grid,
.detail-grid,
.metrics {
  display: grid;
  gap: 12px;
}

.info-grid {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  grid-template-columns: 0.95fr 0.95fr 1.2fr 0.85fr 1fr;
  padding: 16px;
}

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

.comments-grid label {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.comments-grid textarea,
.info-grid input,
.info-grid select,
td textarea,
td select {
  background: var(--field);
}

.info-grid input[readonly] {
  background: #edf2f7;
  color: var(--muted);
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 18px;
}

.metrics div,
.detail-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 94px;
  padding: 16px;
  position: relative;
}

.metrics div::before,
.detail-grid div::before {
  background: var(--accent);
  border-radius: 8px 0 0 8px;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.metrics div:nth-child(2)::before,
.detail-grid div:nth-child(5)::before {
  background: #1b7bb6;
}

.metrics div:nth-child(3)::before {
  background: var(--warn);
}

.metrics div:nth-child(4)::before {
  background: var(--success);
}

.metrics strong,
.detail-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 9px;
}

.dashboard-tools {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.35fr);
  margin-bottom: 18px;
}

.dashboard-filter,
.evaluator-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-filter {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  padding: 14px;
}

.dashboard-contract-filter {
  grid-column: 1 / -1;
}

.dashboard-date-filter {
  align-self: end;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-date-filter label {
  margin: 0;
}

.summary-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.summary-head h2 {
  font-size: 16px;
  margin: 0;
}

.trend-card .summary-head {
  justify-content: center;
  text-align: center;
}

.summary-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.evaluator-counts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  padding: 12px;
}

.evaluator-counts div {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.evaluator-counts strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.evaluator-counts span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 7px;
  text-transform: none;
}

.evaluator-count-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  display: block;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.evaluator-count-card:hover,
.evaluator-count-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(14, 119, 135, .16);
  transform: translateY(-2px);
}

.evaluator-count-card.active {
  background: #e6f5f7;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.summary-head a {
  color: var(--accent);
  font-weight: 700;
}

.histogram-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.histogram {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.vertical-histogram {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  min-height: 250px;
  padding: 16px;
}

.vertical-bar {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-rows: auto 150px auto;
  min-width: 0;
  text-align: center;
}

.vertical-value {
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
}

.vertical-track {
  align-items: end;
  background: #edf2f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  height: 150px;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.vertical-track span {
  background: linear-gradient(180deg, #1b7bb6, var(--accent));
  border-radius: 8px 8px 0 0;
  display: block;
  min-height: 0;
  width: 58%;
}

.vertical-label strong,
.vertical-label span {
  display: block;
}

.vertical-label strong {
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.vertical-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  margin-top: 3px;
}

.histogram-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(150px, 0.72fr) minmax(170px, 1.8fr) 58px;
}

.histogram-name strong,
.histogram-name span {
  display: block;
}

.histogram-name strong {
  font-size: 15px;
  font-weight: 650;
}

.histogram-name span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  text-transform: none;
}

.histogram-track {
  background: #edf2f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 16px;
  overflow: hidden;
}

.histogram-track span {
  background: linear-gradient(90deg, var(--accent), #1b7bb6);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 0;
}

.collaborator-row .histogram-track span {
  background: linear-gradient(90deg, #f4bd53, #0f8b8d);
}

.histogram-result {
  display: grid;
  gap: 3px;
  justify-items: center;
}

.histogram-result strong {
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

.histogram-result span {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.trend-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.quality-trend-svg {
  display: block;
  height: 230px;
  padding: 12px 14px 6px;
  width: 100%;
}

.quality-trend-svg line {
  stroke: #9fb1c4;
  stroke-width: 1.4;
}

.quality-trend-svg .grid {
  stroke: #dfe6ef;
  stroke-dasharray: 4 5;
}

.quality-trend-svg text {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quality-trend-svg .score-label rect {
  fill: #fff;
  stroke: #b9c4d4;
  stroke-width: 1;
}

.quality-trend-svg .score-label text {
  fill: var(--brand);
  font-size: 10px;
  font-weight: 900;
}

.quality-trend-svg polygon {
  fill: rgba(15, 139, 141, 0.12);
}

.quality-trend-svg polyline {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.quality-trend-svg circle {
  fill: #fff;
  stroke: var(--accent);
  stroke-width: 3;
}

.admin-grid .histogram-card,
.admin-grid .table-wrap {
  grid-column: 1 / -1;
}

.admin-grid .admin-card {
  align-self: start;
}

.si-summary-card {
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-height: 250px;
  overflow: hidden;
  padding: 0;
}

.si-summary-card .summary-head {
  padding: 16px 18px;
}

.si-summary-card .summary-head > span {
  color: #b42332;
  font-weight: 800;
}

.si-evaluator-table {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-height: 300px;
  overflow: auto;
}

.si-evaluator-table table {
  min-width: 520px;
}

.si-evaluator-table th:nth-child(2),
.si-evaluator-table th:nth-child(3),
.si-evaluator-table td:nth-child(2),
.si-evaluator-table td:nth-child(3) {
  text-align: center;
}

.si-evaluator-table td:last-child strong {
  color: #b42332;
}

.admin-grid .agent-create-card {
  grid-column: 1 / -1;
}

.stats-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
}

.stats-page-head {
  margin-bottom: 0;
}

.stats-left-column,
.stats-layout .histogram-card,
.stats-layout .trend-card {
  align-self: start;
  min-width: 0;
}

.stats-left-column {
  display: grid;
  gap: 16px;
  grid-column: 1 / 2;
}

.stats-layout .trend-card {
  grid-column: 1 / 2;
}

.quality-spotlight {
  background: radial-gradient(circle at 18% 8%, rgba(37, 79, 99, 0.62), transparent 34%),
    linear-gradient(180deg, #0f1c28, #07111a);
  border: 1px solid #1d3346;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #eef7fb;
  display: grid;
  gap: 20px;
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  justify-self: stretch;
  padding: 20px;
}

.performance-title h2 {
  color: #f4bd53;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.performance-kpis {
  border-bottom: 1px solid #1c3345;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 16px;
}

.performance-kpis div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid #223a4d;
  border-radius: 8px;
  min-height: 86px;
  padding: 12px 14px;
}

.performance-kpis span,
.performance-kpis em {
  display: block;
  font-style: normal;
}

.performance-kpis span {
  color: #8fd8ec;
  font-size: 12px;
  font-weight: 650;
}

.performance-kpis strong {
  align-items: center;
  color: #f4f8fb;
  display: flex;
  font-size: 18px;
  gap: 8px;
  line-height: 1.15;
  margin: 10px 0 8px;
}

.performance-kpis i {
  align-items: center;
  display: inline-flex;
  font-style: normal;
  font-size: 26px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  line-height: 1;
  min-width: 30px;
}

.performance-kpis em {
  color: #c6d3dc;
  font-size: 12px;
  font-weight: 550;
}

.kpi-trend span,
.kpi-trend i {
  color: #4fe57b;
}

.kpi-agent span,
.kpi-agent i,
.kpi-agent em {
  color: #f4bd53;
}

.kpi-alert span,
.kpi-alert i {
  color: #ff5f57;
}

.kpi-goal span,
.kpi-goal i {
  color: #43c7ff;
}

.kpi-agent strong {
  font-size: 15px;
}

.spotlight-block h2 {
  color: #f4bd53;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: none;
}

.top-agents {
  display: grid;
  gap: 12px;
}

.top-agent-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 18px 32px minmax(0, 1fr);
}

.top-agent-row > strong {
  color: #d8e4ea;
  text-align: center;
}

.agent-avatar {
  align-items: center;
  background: linear-gradient(180deg, #71808a, #3e4c56);
  border-radius: 50%;
  color: #f5d58d;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.agent-score-line {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 4px;
}

.agent-score-line span {
  color: #eef7fb;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-score-line strong {
  color: #eef7fb;
  font-size: 13px;
  font-weight: 600;
}

.agent-score-track {
  background: #1d303d;
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
}

.agent-score-track span {
  background: #2bd365;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.score-distribution {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  justify-content: center;
}

.spotlight-trend .quality-trend-svg {
  height: 220px;
  padding: 4px 0 0;
}

.spotlight-trend .quality-trend-svg line {
  stroke: #506a7c;
}

.spotlight-trend .quality-trend-svg .grid {
  stroke: #263c4d;
}

.spotlight-trend .quality-trend-svg text {
  fill: #c7d6df;
}

.spotlight-trend .quality-trend-svg polygon {
  fill: rgba(43, 211, 101, 0.12);
}

.spotlight-trend .quality-trend-svg polyline {
  stroke: #2bd365;
}

.spotlight-trend .quality-trend-svg circle {
  fill: #0b1721;
  stroke: #2bd365;
}

.spotlight-trend .quality-trend-svg .score-label rect {
  fill: #102232;
  stroke: #355267;
}

.spotlight-trend .quality-trend-svg .score-label text {
  fill: #f4bd53;
}

.spotlight-trend .quality-trend-svg .si-marker circle {
  fill: #f24355;
  stroke: #ffd4d8;
  stroke-width: 2;
}

.spotlight-trend .quality-trend-svg .si-marker text {
  fill: #ffffff;
  font-size: 8px;
  font-weight: 900;
}

.donut {
  border-radius: 50%;
  height: 136px;
  position: relative;
  width: 136px;
}

.donut::after {
  background: #07111a;
  border-radius: 50%;
  content: "";
  inset: 34px;
  position: absolute;
}

.argus-analysis {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #253c4f;
  border-radius: 8px;
  padding: 14px;
}

.analysis-left {
  background: linear-gradient(180deg, #122536, #0b1721);
  box-shadow: var(--shadow);
}

.argus-analysis h2 {
  color: #eef7fb;
  font-size: 17px;
  margin-bottom: 12px;
}

.argus-analysis h2 span {
  background: #1b5c86;
  border-radius: 999px;
  color: #bfe9ff;
  font-size: 11px;
  margin-left: 6px;
  padding: 2px 7px;
}

.argus-analysis p {
  color: #d6e2ea;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 9px;
}

.score-distribution ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.score-distribution li {
  align-items: center;
  color: #eef7fb;
  display: grid;
  gap: 8px;
  grid-template-columns: 12px 1fr auto;
}

.score-distribution li span {
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.score-distribution li strong,
.score-distribution li em {
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
}

.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.table-title {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.table-title h2 {
  font-size: 18px;
  margin: 0;
}

.table-title span {
  color: var(--muted);
  font-weight: 800;
}

table {
  border-collapse: collapse;
  min-width: 1020px;
  table-layout: fixed;
  width: 100%;
}

th {
  background: #eef3f8;
  border-bottom: 1px solid var(--line);
  color: #24364b;
  font-size: 13px;
  font-weight: 650;
  padding: 10px 11px;
  text-align: left;
  text-transform: none;
}

td {
  border-top: 1px solid #e7ecf3;
  padding: 8px 11px;
  vertical-align: middle;
}

tbody tr:nth-child(even) {
  background: var(--panel-soft);
}

tbody tr:hover {
  background: #eefaf9;
}

td:nth-child(2) {
  line-height: 1.3;
}

td:nth-child(5) {
  vertical-align: top;
}

td.number,
th:nth-child(3),
th:nth-child(4),
td:nth-child(4) {
  text-align: center;
}

.evaluation-form table th:nth-child(1),
.evaluation-form table td:nth-child(1) {
  width: 18%;
}

.evaluation-form table th:nth-child(2),
.evaluation-form table td:nth-child(2) {
  width: 28%;
}

.evaluation-form table th:nth-child(3),
.evaluation-form table td:nth-child(3) {
  width: 8%;
}

.evaluation-form table th:nth-child(4),
.evaluation-form table td:nth-child(4) {
  width: 9%;
}

.evaluation-form table th:nth-child(5),
.evaluation-form table td:nth-child(5) {
  width: 12%;
}

.evaluation-form table th:nth-child(6),
.evaluation-form table td:nth-child(6) {
  width: 10%;
}

.evaluation-form table th:nth-child(7),
.evaluation-form table td:nth-child(7) {
  width: 15%;
}

.evaluations-table {
  min-width: 1080px;
}

.evaluations-table th,
.evaluations-table td {
  text-align: center;
}

.evaluations-table th:nth-child(1),
.evaluations-table td:nth-child(1) {
  width: 7%;
}

.evaluations-table th:nth-child(2),
.evaluations-table td:nth-child(2) {
  width: 18%;
}

.evaluations-table th:nth-child(3),
.evaluations-table td:nth-child(3) {
  width: 24%;
}

.evaluations-table th:nth-child(4),
.evaluations-table td:nth-child(4) {
  text-align: center;
  width: 12%;
}

.evaluations-table th:nth-child(5),
.evaluations-table td:nth-child(5) {
  vertical-align: middle;
  width: 9%;
}

.evaluations-table th:nth-child(6),
.evaluations-table td:nth-child(6) {
  width: 14%;
}

.evaluations-table th:nth-child(7),
.evaluations-table td:nth-child(7) {
  width: 11%;
}

.evaluations-table th:nth-child(8),
.evaluations-table td:nth-child(8) {
  width: 8%;
}

.level,
.tracking-status {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  min-width: 96px;
  padding: 5px 9px;
  text-align: center;
}

.level {
  background: var(--accent-soft);
  border: 1px solid #a6d9d6;
  color: #0e6a6b;
}

.alert,
.notice {
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.alert {
  background: #fff1f0;
  border: 1px solid #f2b8b2;
  color: var(--danger);
}

.notice {
  background: #eef8f1;
  border: 1px solid #b7dec2;
  color: var(--success);
}

.integration-state {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.integration-state.waiting {
  background: #fff7e6;
  border: 1px solid #f1cf8b;
  color: #8a5a00;
}

.integration-state.active {
  background: #eef8f1;
  border: 1px solid #b7dec2;
  color: var(--success);
}

.integration-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.integration-summary > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 7px;
  padding: 16px;
}

.integration-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.integration-summary strong {
  color: var(--brand);
  font-size: 23px;
}

.contract-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button.compact {
  font-size: 12px;
  min-height: 32px;
  padding: 6px 11px;
}

.tracking-status.pending {
  background: #fff1f0;
  border: 1px solid #f2b8b2;
  color: var(--danger);
}

.tracking-status.evaluated {
  background: #eef8f1;
  border: 1px solid #b7dec2;
  color: var(--success);
}

@media (max-width: 850px) {
  .integration-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .integration-summary {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  max-width: 540px;
  padding: 18px;
}

.admin-card h2 {
  margin-bottom: 4px;
}

.inline-form {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

.inline-form input {
  min-width: 165px;
  width: 165px;
}

.inline-form button {
  min-height: 32px;
  padding: 6px 10px;
}

.muted {
  color: var(--muted);
}

.account-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.admin-grid table {
  min-width: 980px;
}

.admin-grid th:nth-child(1),
.admin-grid td:nth-child(1) {
  width: 22%;
}

.admin-grid th:nth-child(2),
.admin-grid td:nth-child(2) {
  width: 9%;
}

.admin-grid th:nth-child(3),
.admin-grid td:nth-child(3) {
  width: 18%;
}

.admin-grid th:nth-child(4),
.admin-grid td:nth-child(4) {
  width: 51%;
}

.period-filter {
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: 220px auto;
  margin-bottom: 16px;
  max-width: 440px;
  padding: 14px;
}

.evaluator-period-filters {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.custom-period-filter {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 8px;
}

.custom-period-filter label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 4px;
}

.custom-period-filter input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 39px;
  padding: 7px 10px;
}

.custom-period-filter button {
  min-height: 39px;
  padding: 8px 15px;
}

.custom-period-error {
  background: #fff1f0;
  border: 1px solid #f3b4af;
  border-radius: 7px;
  color: #9c241b;
  font-size: 13px;
  font-weight: 700;
  margin: -8px 0 16px;
  padding: 8px 10px;
}

@media (max-width: 720px) {
  .custom-period-filter {
    margin-left: 0;
    width: 100%;
  }
}

.period-filter-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  min-width: auto;
  padding: 9px 14px;
}

.period-filter-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.period-filter-button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 79, 139, 0.2);
}

.period-filter-button:focus-visible {
  outline: 3px solid rgba(13, 79, 139, 0.25);
  outline-offset: 2px;
}

.agent-create-card {
  align-items: end;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  max-width: none;
}

.agent-create-card h2 {
  grid-column: 1 / -1;
}

.agent-tracking table {
  min-width: 1320px;
}

.agent-tracking {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 245px);
  overflow: auto;
}

.agent-tracking thead th {
  background: #eaf1f7;
  box-shadow: 0 1px 0 var(--line-strong);
  position: sticky;
  top: 0;
  z-index: 3;
}

.agent-tracking tbody tr:nth-child(even) {
  background: #f8fafc;
}

.agent-tracking tbody tr:hover {
  background: #eef8f8;
}

.agent-tracking th:nth-child(1),
.agent-tracking td:nth-child(1) {
  width: 8%;
}

.agent-tracking th:nth-child(2),
.agent-tracking td:nth-child(2) {
  width: 18%;
}

.agent-tracking th:nth-child(3),
.agent-tracking td:nth-child(3) {
  width: 16%;
}

.agent-tracking th:nth-child(4),
.agent-tracking td:nth-child(4) {
  width: 9%;
}

.agent-tracking th:nth-child(5),
.agent-tracking td:nth-child(5) {
  width: 7%;
}

.agent-tracking th:nth-child(6),
.agent-tracking td:nth-child(6) {
  width: 8%;
}

.agent-tracking th:nth-child(7),
.agent-tracking td:nth-child(7) {
  width: 6%;
}

.agent-tracking th:nth-child(8),
.agent-tracking td:nth-child(8) {
  width: 11%;
}

.agent-tracking th:nth-child(9),
.agent-tracking td:nth-child(9) {
  width: 17%;
}

.agent-edit-form {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(120px, 1fr) auto;
}

.assignment-form {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(120px, 1fr) auto;
}

.assignment-form select {
  min-width: 0;
  width: 100%;
}

.quality-dropdown {
  min-width: 0;
  width: 100%;
}

.quality-dropdown summary {
  align-items: center;
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
  user-select: none;
}

.quality-dropdown[open] summary {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.12);
}

.quality-dropdown summary::after {
  content: "▾";
  margin-left: 8px;
}

.quality-dropdown[open] summary::after {
  content: "▴";
}

.quality-dropdown-menu {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  margin-top: 4px;
  box-shadow: 0 12px 28px rgba(20, 41, 61, 0.16);
  max-height: 235px;
  overflow-y: auto;
  padding: 6px;
}

.quality-dropdown-menu label {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  gap: 7px;
  padding: 5px 6px;
}

.quality-dropdown-menu label:hover {
  background: var(--accent-soft);
}

.quality-dropdown-menu .quality-select-all {
  background: #eef8f8;
  color: var(--brand);
  font-weight: 800;
  position: sticky;
  top: -6px;
  z-index: 2;
}

.quality-dropdown-divider {
  border-top: 1px solid var(--line);
  margin: 2px 0;
}

.quality-dropdown-menu input {
  height: 16px;
  margin: 0;
  min-width: 16px;
  width: 16px;
}

.agent-edit-form input {
  min-width: 0;
}

.matricule-input {
  min-width: 0;
  width: 100%;
}

.agent-tracking td > strong,
.agent-tracking td > .muted {
  display: block;
}

.agent-tracking td > .muted {
  margin-top: 3px;
}

.agent-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.agent-actions .inline-form button {
  min-width: 92px;
}

.tracking-ok {
  background: #eef8f1;
  border: 1px solid #b7dec2;
  color: var(--success);
}

.tracking-missing {
  background: #fff7e8;
  border: 1px solid #efcf91;
  color: #975a08;
}

.tracking-inactive {
  background: #eef2f7;
  border: 1px solid #cfd8e3;
  color: var(--muted);
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.toolbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.toolbar-actions form {
  margin: 0;
}

.detail-comments {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 18px;
  padding: 18px;
}

.detail-comments h2 {
  margin-bottom: 12px;
}

.detail-comments p {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
  padding-top: 12px;
}

.detail-comments p + p {
  margin-top: 12px;
}

.empty {
  color: var(--muted);
  font-weight: 700;
  padding: 28px;
  text-align: center;
}

@media (max-width: 980px) {
  .topbar,
  .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding: 16px;
  }

  .info-grid,
  .comments-grid,
  .admin-grid,
  .dashboard-tools,
  .dashboard-filter,
  .histogram-row,
  .stats-layout,
  .quality-spotlight,
  .score-distribution,
  .performance-kpis,
  .period-filter,
  .agent-create-card,
  .agent-edit-form,
  .metrics,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .period-filter {
    max-width: none;
  }

  .evaluator-card {
    min-width: 0;
  }

  .argus-identity {
    height: 170px;
    margin-top: -4px;
  }

  .stats-layout .histogram-card,
  .stats-layout .trend-card,
  .stats-left-column,
  .quality-spotlight {
    grid-column: auto;
    grid-row: auto;
  }

  .stats-layout {
    grid-template-columns: 1fr;
  }

  .performance-kpis {
    grid-template-columns: 1fr;
  }
}

.criterion-create-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(170px, 1.1fr) minmax(260px, 1.8fr) 90px 150px 110px minmax(210px, 1.25fr) auto;
  margin-bottom: 20px;
  max-width: none;
  width: 100%;
}

.criterion-create-form h2 {
  grid-column: 1 / -1;
}

.criterion-create-form button {
  align-self: end;
  min-height: 42px;
  white-space: nowrap;
}

.settings-collapsible {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 20px;
  overflow: hidden;
}

.settings-collapsible > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 18px 20px;
  user-select: none;
}

.settings-collapsible > summary::-webkit-details-marker {
  display: none;
}

.settings-collapsible > summary span:first-child {
  display: grid;
  gap: 4px;
}

.settings-collapsible > summary small {
  color: var(--muted);
  font-weight: 400;
}

.settings-collapsible-state::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
}

.settings-collapsible[open] .settings-collapsible-state::after {
  content: "−";
}

.settings-collapsible-content {
  border-top: 1px solid var(--line);
  padding: 20px;
}

.evaluator-create-form {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  margin-bottom: 20px;
  max-width: none;
}

.evaluator-create-form h2 {
  grid-column: 1 / -1;
}

.evaluator-create-form button {
  align-self: end;
  min-height: 42px;
}

.criteria-settings-table table {
  min-width: 1650px;
}

.criteria-settings-table th,
.criteria-settings-table td {
  padding: 9px 10px;
  vertical-align: middle;
}

.criteria-settings-table th:nth-child(1) { width: 13%; }
.criteria-settings-table th:nth-child(2) { width: 17%; }
.criteria-settings-table th:nth-child(3) { width: 6%; }
.criteria-settings-table th:nth-child(4) { width: 6%; }
.criteria-settings-table th:nth-child(5) { width: 7%; }
.criteria-settings-table th:nth-child(6) { width: 9%; }
.criteria-settings-table th:nth-child(7) { width: 15%; }
.criteria-settings-table th:nth-child(8) { width: 9%; }
.criteria-settings-table th:nth-child(9) { width: 18%; }

.criteria-settings-table tr {
  height: auto;
}

.criteria-settings-table .criteria-total-row th {
  background: #dcebea;
  border-top: 2px solid var(--accent);
  color: var(--ink);
  font-size: 14px;
  padding: 14px 10px;
  vertical-align: middle;
}

.criteria-settings-table .criteria-total-row small {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.si-agents-card .summary-head p {
  color: var(--muted);
  margin: 4px 0 0;
}

.si-agents-table {
  box-shadow: none;
}

.si-agents-table table {
  min-width: 620px;
}

.si-agents-table th:nth-child(1) { width: 32%; }
.si-agents-table th:nth-child(2) { width: 18%; }
.si-agents-table th:nth-child(3) { width: 20%; }
.si-agents-table th:nth-child(4) { width: 30%; }

.si-count {
  align-items: center;
  background: #fde8e8;
  border: 1px solid #efb2b7;
  border-radius: 999px;
  color: #9b1c1c;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 30px;
  min-width: 30px;
  padding: 3px 9px;
}

.criteria-settings-table input,
.criteria-settings-table textarea {
  box-sizing: border-box;
  min-height: 42px;
  min-width: 90px;
  resize: vertical;
  width: 100%;
}

.criteria-settings-table input,
.criteria-settings-table select {
  min-height: 40px;
}

.criteria-settings-table small {
  color: #5D6875;
  display: block;
  margin-top: 5px;
}

.criteria-settings-table .inactive-row {
  background: #F4F6F9;
  opacity: .78;
}

.criterion-actions {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.criterion-actions form {
  margin: 0;
}

.criterion-actions button {
  font-size: 12px;
  min-height: 38px;
  padding: 7px 8px;
  white-space: nowrap;
  width: 100%;
}

button.danger {
  background: #9B1C1C;
}

button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

@media (max-width: 1100px) {
  .criterion-create-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evaluator-create-form {
    grid-template-columns: 1fr;
  }
}

/* Situation inacceptable : alerte bloquante de la grille */
.unacceptable-box,
.unacceptable-row td {
  background: #fff4f4;
  border: 2px solid #b42332;
  box-shadow: var(--shadow);
  padding: 14px 16px;
}

.unacceptable-box {
  border-radius: 8px;
}

.unacceptable-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
}

.unacceptable-check input[type="checkbox"] {
  accent-color: #9f1024;
  cursor: pointer;
  flex: 0 0 24px;
  height: 24px;
  margin: 0;
  width: 24px;
}

.unacceptable-check span {
  display: grid;
  gap: 3px;
}

.unacceptable-check strong {
  color: #8f1021;
  font-size: 16px;
}

.unacceptable-check small {
  color: #6d3038;
  font-weight: 500;
}

#criteria-table tbody {
  transition: opacity 160ms ease;
}

#criteria-table.items-disabled .evaluation-item-row {
  filter: grayscale(1);
  opacity: 0.42;
}

#criteria-table.items-disabled tbody select,
#criteria-table.items-disabled tbody textarea {
  background: #e4e7eb;
  cursor: not-allowed;
}

.critical-detail {
  background: #fff0f1 !important;
  border-color: #b42332 !important;
}

.critical-detail strong,
.critical-detail span {
  color: #8f1021 !important;
}

.reference-head {
  align-items: center;
  background: #0B2545;
  border-radius: 10px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 28px;
}

.reference-head h1 {
  color: #FFFFFF;
  margin: 6px 0;
}

.reference-head p {
  color: #E8EEF5;
  margin: 0;
}

.reference-head > div > span {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.reference-head > strong {
  background: #2E74B5;
  border: 1px solid #FFFFFF;
  border-radius: 999px;
  color: #FFFFFF;
  padding: 10px 16px;
  white-space: nowrap;
}

.reference-panel {
  background: #FFFFFF;
  border: 1px solid #E8EEF5;
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: #0B2545;
  margin-bottom: 18px;
  padding: 22px;
}

.reference-panel h2 {
  border-bottom: 3px solid #2E74B5;
  color: #0B2545;
  padding-bottom: 8px;
}

.reference-panel h3 {
  color: #2E74B5;
}

.reference-panel p,
.reference-panel li {
  color: #5D6875;
}

.reference-intro {
  background: #F4F6F9;
  border-left: 6px solid #2E74B5;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 1fr;
}

.reference-scroll {
  overflow-x: auto;
}

.reference-grid,
.reference-item table {
  border-collapse: collapse;
  margin-top: 14px;
  min-width: 720px;
  width: 100%;
}

.reference-grid th,
.reference-item th {
  background: #0B2545;
  color: #FFFFFF;
  font-weight: 800;
}

.reference-grid th,
.reference-grid td,
.reference-item th,
.reference-item td {
  border: 1px solid #E8EEF5;
  line-height: 1.45;
  padding: 12px 14px;
  vertical-align: top;
}

.reference-grid td,
.reference-item td {
  color: #5D6875;
}

.reference-item th {
  background: #F4F6F9;
  color: #0B2545;
  min-width: 150px;
  text-align: left;
  width: 20%;
}

.reference-formula {
  background: #E8EEF5;
  border-left: 5px solid #2E74B5;
  color: #0B2545 !important;
  margin-top: 16px;
  padding: 14px 16px;
}

.reference-levels {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin: 16px 0 22px;
}

.reference-levels div {
  background: #F4F6F9;
  border: 1px solid #E8EEF5;
  border-top: 4px solid #2E74B5;
  border-radius: 8px;
  padding: 14px;
}

.reference-levels b,
.reference-levels strong,
.reference-levels small {
  display: block;
}

.reference-levels b {
  color: #0B2545;
}

.reference-levels strong {
  color: #2E74B5;
  margin: 5px 0;
}

.reference-levels small {
  color: #5D6875;
}

.reference-panel ul,
.reference-panel ol {
  line-height: 1.65;
  padding-left: 22px;
}

.reference-items {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.reference-item {
  border: 1px solid #E8EEF5;
  border-radius: 9px;
  overflow: hidden;
}

.reference-item > header {
  align-items: center;
  background: #E8EEF5;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  padding: 14px 16px;
}

.reference-item > header > span {
  align-items: center;
  background: #2E74B5;
  border-radius: 50%;
  color: #FFFFFF;
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.reference-item > header > strong,
.reference-item h3 {
  color: #0B2545;
  margin: 0 0 3px;
}

.reference-item small {
  color: #5D6875;
}

.reference-item table {
  margin-top: 0;
}

.reference-alert {
  background: #FDECEC;
  border: 1px solid #9B1C1C;
  border-left: 6px solid #9B1C1C;
  border-radius: 8px;
  color: #9B1C1C;
  margin: 14px 0;
  padding: 16px;
}

.reference-alert b,
.reference-alert p {
  color: #9B1C1C;
}

.reference-alert p {
  margin: 7px 0 0;
}

.reference-panel blockquote {
  background: #F4F6F9;
  border-left: 5px solid #1F6B50;
  color: #0B2545;
  line-height: 1.6;
  margin: 14px 0 0;
  padding: 16px 18px;
}

@media (max-width: 980px) {
  .reference-head {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .reference-intro,
  .reference-levels {
    grid-template-columns: 1fr;
  }
}
