/* Service Standard Reports */
.page-service-reports {
  background: var(--bg);
}

.sr-hero {
  position: relative;
  height: min(42vh, 420px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 0;
  background: #0b2a4a;
}
.sr-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.sr-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 42, 74, 0.15), rgba(11, 42, 74, 0.55));
}
.sr-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.sr-hero h1 {
  margin: 0;
  max-width: 920px;
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.sr-crumb {
  background: var(--bg-soft);
}
.sr-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font-size: 14px;
  color: var(--soft);
}
.sr-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9aa0a6;
}
.sr-crumb a {
  color: var(--gulf-navy);
  text-decoration: none;
}
.sr-crumb a:hover {
  text-decoration: underline;
}

.sr-tabs-heading {
  margin: 0 0 64px;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--gulf-navy);
  text-wrap: balance;
}

/* Tab pills reuse .ms-subnav from management.css; buttons need a reset. */
.page-service-reports .sr-subnav .ms-subnav-link {
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  font: inherit;
}
.page-service-reports .sr-subnav .ms-subnav-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.page-service-reports .sr-subnav .ms-subnav-link {
  width: min(320px, 100%);
}
.page-service-reports .sr-subnav .ms-subnav-copy {
  white-space: normal;
}

@media (max-width: 960px) {
  .sr-tabs-heading {
    margin-bottom: 16px;
    text-align: left;
  }
}

.sr-panel {
  padding: 12px 0 72px;
}
.sr-panel[hidden] {
  display: none;
}

.sr-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 20px;
}
.sr-plants {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--gulf-navy);
}
.sr-year-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--soft);
}
.sr-year-select {
  min-width: 140px;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f6368' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  appearance: none;
  cursor: pointer;
}
.sr-year-select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.sr-year-block[hidden] {
  display: none;
}

.sr-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.sr-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 720px;
  font-size: 14px;
}
.sr-table th,
.sr-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.sr-table thead th {
  background: var(--bg-soft);
  color: var(--gulf-navy);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.sr-table thead th:first-child,
.sr-table tbody th {
  width: 300px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  background: var(--bg);
}
.sr-table thead th:first-child {
  color: var(--gulf-navy);
  background: var(--bg-soft);
}
/* Year ≤ 2565: only Q4 — keep left column width, center the single quarter column. */
.sr-year-block[data-sr-quarters="1"] .sr-table thead th:last-child,
.sr-year-block[data-sr-quarters="1"] .sr-table td {
  text-align: center;
}
.sr-table tbody tr:last-child th,
.sr-table tbody tr:last-child td {
  border-bottom: 0;
}
.sr-table tbody tr:hover th,
.sr-table tbody tr:hover td {
  background: #f3f6f9;
}

.sr-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 40px;
  background: #1a73e8;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.sr-dl i {
  font-size: 14px;
}
.sr-dl:hover {
  background: #174ea6;
  color: #fff;
}
.sr-dl:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.sr-dl.is-disabled {
  border: 1px solid #c5cad1;
  color: #9aa0a6;
  background: #f1f3f4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 720px) {
  .sr-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
