/* =========================================================
   BALANCE SHEET PAGE — page-specific only.
   Loaded solely by balancesheet.php via $pageExtraCss.
   Year archive with three link types, per the source nav:
   - 2021-22 has no link yet (href="#") — shown as "Coming Soon".
   - 2020-21 links straight to an audited-statement PDF.
   - 2019-20 down to 2015-16 each have their own dedicated page.
   ========================================================= */
.bs-section{ padding:72px 0 88px; }
.bs-kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.76rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--green-700); margin-bottom:12px;
}
.bs-kicker::before{ content:''; width:22px; height:2px; background:var(--gold-500); }
.bs-heading{
  font-size:clamp(1.55rem,2.4vw,2.1rem);
  font-weight:800; color:var(--green-900);  margin:0 0 14px;
}
.bs-lede{
  max-width:720px;
  font-size:1rem; line-height:1.75; color:var(--ink-soft);
  margin:0 0 40px;
}
/* ---- Year grid ---- */
.bs-year-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.bs-year-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:30px 18px 24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  text-align:center;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
a.bs-year-tile:hover{
  border-color:var(--green-700);
  box-shadow:0 18px 36px -18px rgba(10,61,38,.35);
  transform:translateY(-3px);
}
.bs-year-icon{
  width:40px; height:40px;
  border-radius:10px;
  background:var(--green-100);
  color:var(--green-700);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .18s ease, color .18s ease;
}
.bs-year-icon svg{ width:19px; height:19px; }
a.bs-year-tile:hover .bs-year-icon{ background:var(--green-800); color:var(--gold-500); }
.bs-year-num{
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:1.2rem;
  color:var(--green-900);
}
.bs-year-badge{
  font-size:.66rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--ink-soft);
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px 10px;
}
.bs-year-tile.is-pdf .bs-year-badge{
  color:var(--red-500,var(--green-700));
  background:var(--red-100,var(--green-100));
  border-color:transparent;
}
.bs-year-tile.is-soon{
  background:var(--cream);
  border-style:dashed;
}
.bs-year-tile.is-soon .bs-year-icon{ background:#fff; color:var(--ink-soft); }
.bs-year-tile.is-soon .bs-year-num{ color:var(--ink-soft); }
@media (max-width:900px){ .bs-year-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .bs-year-grid{ grid-template-columns:repeat(2,1fr); } }
.bs-note{
  max-width:760px;
  font-size:.84rem;
  line-height:1.7;
  color:var(--ink-soft);
  font-style:italic;
  border-left:2px solid var(--gold-500);
  padding-left:16px;
  margin-top:36px;
}
/* ==========================================================================
   INDIVIDUAL BALANCE SHEET & FINANCIAL STATEMENT PAGES (2015-16 TO 2021-22)
   ========================================================================== */
.bs-detail-page {
  background-color: #f8faf9;
  color: #1e293b;
  padding-bottom: 80px;
}
/* Stat strip */
.bs-stat-strip {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  margin-bottom: 40px;
}
.bs-stat-strip-inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  padding: 0;
  list-style: none;
}
.bs-stat-strip-inner li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid #e2e8f0;
}
.bs-stat-strip-inner li:last-child {
  border-right: none;
}
.bs-stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff8e7;
  color: #0d4c2f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-stat-icon svg {
  width: 24px;
  height: 24px;
}
.bs-stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #072a1a;
  line-height: 1.15;
}
.bs-stat-label {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}
/* Two column financial tables */
.bs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.bs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(13, 76, 47, 0.05);
  margin-bottom: 28px;
}
.bs-card-head {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bs-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #072a1a;
  margin: 0;
}
.bs-card-tag {
  font-size: 12px;
  font-weight: 700;
  color: #0d4c2f;
  background: #e6f4ea;
  padding: 3px 10px;
  border-radius: 20px;
}
.bs-card-tag.is-exp {
  color: #9a3412;
  background: #ffedd5;
}
.bs-table-responsive {
  width: 100%;
  overflow-x: auto;
}
.bs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}
.bs-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px 20px;
  border-bottom: 1.5px solid #e2e8f0;
  white-space: nowrap;
}
.bs-table td {
  padding: 13px 20px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: middle;
}
.bs-table tbody tr:hover {
  background: #fbfdfc;
}
.bs-table tr.bs-table-total {
  background: #f8fafc;
  font-weight: 800;
}
.bs-table tr.bs-table-total td {
  border-top: 2px solid #cbd5e1;
  color: #072a1a;
  font-size: 14.5px;
}
.bs-amount-cell {
  text-align: right;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0d4c2f;
  white-space: nowrap;
}
.bs-sch-cell {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}
/* PDF Statement Download Banner */
.bs-pdf-callout {
  background: linear-gradient(135deg, #072a1a 0%, #0d4c2f 100%);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  box-shadow: 0 16px 36px -8px rgba(13, 76, 47, 0.35);
  margin-top: 40px;
  margin-bottom: 32px;
}
.bs-pdf-callout-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}
.bs-pdf-callout-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}
.bs-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f0a800;
  color: #072a1a;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.bs-pdf-btn:hover {
  background: #ffbe26;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(240, 168, 0, 0.3);
  color: #072a1a;
}
/* Detail page archive navigation */
.bs-detail-nav {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(13, 76, 47, 0.05);
}
.bs-nav-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d4c2f;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bs-nav-arrow:hover {
  color: #c88900;
  transform: translateX(3px);
}
.bs-nav-arrow.is-prev:hover {
  transform: translateX(-3px);
}
.bs-nav-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bs-nav-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bs-nav-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.bs-nav-chip.is-active {
  background: #0d4c2f;
  color: #ffffff;
  font-weight: 700;
}
@media (max-width: 991px) {
  .bs-two-col {
    grid-template-columns: 1fr;
  }
  .bs-stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .bs-stat-strip-inner li:nth-child(2) {
    border-right: none;
  }
  .bs-stat-strip-inner li:nth-child(3) {
    border-top: 1px solid #e2e8f0;
  }
  .bs-stat-strip-inner li:nth-child(4) {
    border-top: 1px solid #e2e8f0;
    border-right: none;
  }
  .bs-pdf-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .bs-stat-strip-inner {
    grid-template-columns: 1fr;
  }
  .bs-stat-strip-inner li {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .bs-stat-strip-inner li:last-child {
    border-bottom: none;
  }
  .bs-detail-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .bs-nav-chips {
    justify-content: center;
  }
}
/* ================= INFINITY LOADER FOR PROTECTED STATEMENTS ================= */
.bs-loader-section {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  background: #f8faf9;
}
.bs-loader-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(13, 76, 47, 0.06);
  position: relative;
  overflow: hidden;
}
.bs-loader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d4c2f, #f0a800, #0d4c2f);
  background-size: 200% 100%;
  animation: bs-bar-flow 2.5s linear infinite;
}
@keyframes bs-bar-flow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.bs-spinner-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
}
.bs-spinner {
  width: 76px;
  height: 76px;
  border: 4px solid #f1f5f9;
  border-top-color: #0d4c2f;
  border-right-color: #f0a800;
  border-radius: 50%;
  animation: bs-spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}
.bs-spinner-inner {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 48px;
  height: 48px;
  border: 3px solid transparent;
  border-bottom-color: #0d4c2f;
  border-left-color: #f0a800;
  border-radius: 50%;
  animation: bs-spin-reverse 1.5s linear infinite;
}
.bs-spinner-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #0d4c2f;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(13, 76, 47, 0.4);
  animation: bs-pulse-dot 1.8s ease-in-out infinite;
}
@keyframes bs-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes bs-spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}
@keyframes bs-pulse-dot {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.bs-loader-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #072a1a;
  margin: 0 0 8px;
}
.bs-loader-desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.6;
}
.bs-progress-bar {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.bs-progress-indeterminate {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #0d4c2f 0%, #f0a800 50%, #0d4c2f 100%);
  border-radius: 99px;
  animation: bs-indeterminate 2.4s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}
@keyframes bs-indeterminate {
  0% { left: -35%; right: 100%; }
  60% { left: 100%; right: -90%; }
  100% { left: 100%; right: -90%; }
}
.bs-loader-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0d4c2f;
  background: #e6f4ea;
  padding: 6px 16px;
  border-radius: 20px;
  min-height: 32px;
}
.bs-loader-dot {
  width: 8px;
  height: 8px;
  background: #0d4c2f;
  border-radius: 50%;
  animation: bs-dot-pulse 1.2s ease-in-out infinite;
}
@keyframes bs-dot-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
