/* ==============================================================
   NSC3 Design System
   Nathan Shock Centers Reporting Application
   Modernization layer for Unify 2.x + Bootstrap 4.6.x
   ============================================================== */

:root {
  --nsc-primary: #096f9f;
  --nsc-primary-dark: #075777;
  --nsc-primary-soft: #eaf5fa;
  --nsc-secondary: #334155;
  --nsc-muted: #64748b;
  --nsc-border: #dbe4ea;
  --nsc-surface: #ffffff;
  --nsc-surface-alt: #f6f9fb;
  --nsc-success: #21865f;
  --nsc-warning: #b97816;
  --nsc-danger: #b54242;
  --nsc-radius: 10px;
  --nsc-radius-sm: 7px;
  --nsc-shadow-sm: 0 2px 10px rgba(15, 43, 60, 0.07);
  --nsc-shadow: 0 8px 30px rgba(15, 43, 60, 0.10);
  --nsc-transition: 180ms ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--nsc-surface-alt);
  color: #273744;
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main > footer { margin-top: auto; }

a {
  color: var(--nsc-primary);
  transition: color var(--nsc-transition), opacity var(--nsc-transition);
}

a:hover { color: var(--nsc-primary-dark); }

/* ---------- Header ---------- */
#js-header {
  margin-bottom: 0;
  background: #fff;
  border-bottom: 1px solid rgba(15, 43, 60, 0.08);
}

#js-header .u-header__section {
  background: #fff;
  border-bottom-color: transparent !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

#js-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

#js-header .navbar-brand img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 74px;
}

.nsc-account-link {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  padding: .62rem .85rem;
  border: 1px solid var(--nsc-border);
  border-radius: 999px;
  background: #fff;
  color: var(--nsc-primary) !important;
  box-shadow: 0 1px 4px rgba(15,43,60,.04);
  transition: all var(--nsc-transition);
}

.nsc-account-link:hover {
  text-decoration: none;
  border-color: rgba(9,111,159,.35);
  background: var(--nsc-primary-soft);
  transform: translateY(-1px);
}

/* ---------- Page title / breadcrumbs ---------- */
section.g-bg-gray-light-v5.g-py-30 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef7fb 0%, #f8fbfc 58%, #f2f7f9 100%) !important;
  border-top: 1px solid #e7eff3;
  border-bottom: 1px solid var(--nsc-border);
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

section.g-bg-gray-light-v5.g-py-30::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -90px;
  top: -130px;
  background: rgba(9,111,159,.06);
  pointer-events: none;
}

section.g-bg-gray-light-v5.g-py-30 h2,
section.g-bg-gray-light-v5.g-py-30 .h3 {
  color: #213746;
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 500 !important;
  letter-spacing: -.02em;
}

section.g-bg-gray-light-v5.g-py-30 h2 i,
section.g-bg-gray-light-v5.g-py-30 .h3 i {
  color: var(--nsc-primary);
  margin-right: .38rem;
}

section.g-bg-gray-light-v5.g-py-30 .u-list-inline {
  margin-bottom: 0;
  font-size: 13px;
  color: var(--nsc-muted);
}

/* ---------- Content ---------- */
section.g-py-50 { padding-top: 42px !important; padding-bottom: 52px !important; }

.nsc-page-intro {
  color: var(--nsc-muted);
  font-size: 1.02rem;
  max-width: 850px;
}

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--nsc-border);
  border-radius: var(--nsc-radius) !important;
  background: var(--nsc-surface);
  box-shadow: var(--nsc-shadow-sm);
  overflow: hidden;
}

.card:hover { box-shadow: var(--nsc-shadow); }

.card-header {
  border-bottom: 1px solid var(--nsc-border);
  background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
  color: #213746;
  padding: 1rem 1.2rem;
  font-weight: 600;
}

.card-block,
.card-body { padding: 1.2rem; }

.card.g-brd-blue,
.card.g-brd-primary { border-color: var(--nsc-border) !important; }

.card.g-brd-blue > .card-header,
.card.g-brd-primary > .card-header {
  background: linear-gradient(135deg, var(--nsc-primary-dark), var(--nsc-primary));
  color: #fff;
}

/* ---------- Dashboard components ---------- */
.nsc-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #075777 0%, #096f9f 58%, #2587ad 100%);
  color: #fff;
  box-shadow: 0 12px 36px rgba(7,87,119,.20);
}

.nsc-hero-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 45px solid rgba(255,255,255,.07);
  border-radius: 50%;
  right: -95px;
  top: -120px;
}

.nsc-hero-panel h1,
.nsc-hero-panel h2,
.nsc-hero-panel h3 { color: #fff; }

.nsc-hero-panel p { color: rgba(255,255,255,.86); max-width: 760px; }

.nsc-feature-card {
  height: 100%;
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--nsc-border);
  border-radius: var(--nsc-radius);
  background: #fff;
  box-shadow: var(--nsc-shadow-sm);
  text-decoration: none !important;
  transition: transform var(--nsc-transition), box-shadow var(--nsc-transition), border-color var(--nsc-transition);
}

.nsc-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(9,111,159,.35);
  box-shadow: var(--nsc-shadow);
}

.nsc-feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: .85rem;
  background: var(--nsc-primary-soft);
  color: var(--nsc-primary);
  font-size: 1.15rem;
}

.nsc-feature-card h3 { color: #213746; font-size: 1rem; margin-bottom: .35rem; }
.nsc-feature-card p { color: var(--nsc-muted); font-size: .9rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--nsc-radius-sm);
  font-weight: 500;
  letter-spacing: .01em;
  transition: all var(--nsc-transition);
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,43,60,.12); }

.btn-primary,
.g-bg-primary {
  background-color: var(--nsc-primary) !important;
  border-color: var(--nsc-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--nsc-primary-dark) !important;
  border-color: var(--nsc-primary-dark) !important;
}

/* ---------- Forms ---------- */
.form-control,
.custom-select {
  min-height: 40px;
  border: 1px solid #cfdbe2;
  border-radius: var(--nsc-radius-sm);
  background-color: #fff;
  transition: border-color var(--nsc-transition), box-shadow var(--nsc-transition);
}

.form-control:focus,
.custom-select:focus {
  border-color: rgba(9,111,159,.65);
  box-shadow: 0 0 0 .2rem rgba(9,111,159,.11);
}

label { color: #314656; font-weight: 500; }

/* ---------- Tables ---------- */
.table-responsive {
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.table {
  color: #2c3f4d;
  background: #fff;
}

.table thead th,
.table .thead-inverse th,
.table thead .thead-inverse th {
  vertical-align: middle;
  border-top: 0;
  border-bottom: 2px solid #d6e1e7;
  background: #263f50 !important;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.table-bordered { border-color: #dbe4ea; }
.table-bordered td, .table-bordered th { border-color: #e1e8ed; }
.table-hover tbody tr { transition: background-color var(--nsc-transition); }
.table-hover tbody tr:hover { background-color: #f1f8fb; }
.table td { vertical-align: middle; }

/* ---------- DataTables 3 + legacy DataTables markup ---------- */
div.dt-container,
.dataTables_wrapper {
  width: 100%;
  color: #344955;
}

div.dt-container .dt-layout-row,
.dataTables_wrapper .top {
  align-items: center;
  margin: 0 0 .85rem 0;
}

div.dt-container .dt-search,
.dataTables_wrapper .dataTables_filter {
  float: none;
  text-align: left;
}

div.dt-container .dt-search label,
.dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: var(--nsc-muted);
  font-size: .86rem;
}

div.dt-container .dt-search input,
.dataTables_wrapper .dataTables_filter input {
  width: min(340px, 60vw);
  min-height: 38px;
  margin-left: 0 !important;
  padding: .4rem .75rem;
  border: 1px solid #cfdbe2 !important;
  border-radius: 7px !important;
  background: #fff;
}

div.dt-container .dt-search input:focus,
.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: rgba(9,111,159,.65) !important;
  box-shadow: 0 0 0 .2rem rgba(9,111,159,.10);
}

div.dt-container .dt-info,
.dataTables_wrapper .dataTables_info {
  color: var(--nsc-muted);
  font-size: .82rem;
}

div.dt-container .dt-length,
.dataTables_wrapper .dataTables_length { color: var(--nsc-muted); font-size: .84rem; }

div.dt-container .dt-paging .dt-paging-button,
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 6px !important;
}

table.dataTable { border-collapse: collapse !important; width: 100% !important; }
table.dataTable tbody tr.odd,
table.dataTable tbody tr.even { background-color: #fff; }
table.dataTable tbody tr.odd > .sorting_1,
table.dataTable tbody tr.even > .sorting_1 { background-color: #f5f9fb; }

.dt-buttons .btn,
.dt-buttons button { margin-right: .35rem; margin-bottom: .35rem; }

/* ---------- Alerts / badges ---------- */
.alert { border: 0; border-radius: var(--nsc-radius); box-shadow: var(--nsc-shadow-sm); }
.badge { padding: .38em .62em; border-radius: 999px; font-weight: 500; }

/* ---------- Modal ---------- */
.modal-content { border: 0; border-radius: 12px; box-shadow: 0 18px 60px rgba(15,43,60,.22); }
.modal-header { border-bottom-color: var(--nsc-border); }
.modal-footer { border-top-color: var(--nsc-border); }

/* ---------- Footer ---------- */
footer.g-bg-secondary {
  background: #263b49 !important;
  color: rgba(255,255,255,.72);
}

footer.g-bg-secondary .g-brd-top { border-top-color: rgba(255,255,255,.10) !important; }
footer.g-bg-secondary a { color: rgba(255,255,255,.78) !important; }
footer.g-bg-secondary a:hover { color: #fff !important; text-decoration: none; }

/* ---------- Utilities ---------- */
.nsc-surface { background: #fff; border: 1px solid var(--nsc-border); border-radius: var(--nsc-radius); box-shadow: var(--nsc-shadow-sm); }
.nsc-muted { color: var(--nsc-muted) !important; }
.nsc-divider { border-top: 1px solid var(--nsc-border); }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid rgba(9,111,159,.35);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 767.98px) {
  #js-header .navbar-brand img { max-height: 58px; }
  .nsc-account-link { padding: .5rem .65rem; font-size: .8rem; }
  section.g-bg-gray-light-v5.g-py-30 { padding-top: 22px !important; padding-bottom: 22px !important; }
  section.g-bg-gray-light-v5.g-py-30 .u-list-inline { margin-top: .6rem; }
  .card-block, .card-body { padding: 1rem; }
  div.dt-container .dt-search input,
  .dataTables_wrapper .dataTables_filter input { width: 100%; }
  div.dt-container .dt-search label,
  .dataTables_wrapper .dataTables_filter label { display: block; width: 100%; }
}

/* ==============================================================
   NSC3 Phase 2 — Reporting experience
   ============================================================== */
.nsc-page-kicker,
.nsc-eyebrow {
  display: block;
  margin-bottom: .3rem;
  color: var(--nsc-primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nsc-report-intro,
.nsc-status-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #cfe2eb;
  border-radius: var(--nsc-radius);
  background: linear-gradient(135deg, #fff 0%, #f3f9fc 100%);
  box-shadow: var(--nsc-shadow-sm);
}

.nsc-report-intro { justify-content: flex-start; }
.nsc-report-intro__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--nsc-primary-soft);
  color: var(--nsc-primary);
  font-size: 1.3rem;
}
.nsc-report-intro p { color: var(--nsc-muted); font-size: .9rem; }

.nsc-builder-card {
  overflow: hidden;
  border: 1px solid var(--nsc-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--nsc-shadow-sm);
}
.nsc-builder-card__header {
  min-height: 102px;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.15rem 1.2rem;
  border-bottom: 1px solid var(--nsc-border);
  background: #fbfdfe;
}
.nsc-builder-card__header h3 { margin: 0 0 .2rem; color: #213746; font-size: .98rem; font-weight: 600; }
.nsc-builder-card__header p { margin: 0; color: var(--nsc-muted); font-size: .78rem; line-height: 1.45; }
.nsc-step-number {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--nsc-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(9,111,159,.18);
}
.nsc-builder-options { padding: .75rem; }
.nsc-builder-options--scroll { max-height: 430px; overflow-y: auto; }

.nsc-choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .45rem;
  padding: .72rem .78rem;
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  transition: border-color var(--nsc-transition), background var(--nsc-transition), box-shadow var(--nsc-transition);
}
.nsc-choice-card:last-child { margin-bottom: 0; }
.nsc-choice-card:hover { border-color: #b8d5e2; background: #f8fcfe; }
.nsc-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.nsc-choice-card__control {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #aabac4;
  border-radius: 50%;
  background: #fff;
  transition: all var(--nsc-transition);
}
.nsc-choice-card input:checked + .nsc-choice-card__control {
  border: 5px solid var(--nsc-primary);
  box-shadow: 0 0 0 3px rgba(9,111,159,.08);
}
.nsc-choice-card__body { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.nsc-choice-card__body strong { color: #29404f; font-size: .86rem; font-weight: 600; }
.nsc-choice-card__body small { margin-top: .14rem; color: var(--nsc-muted); font-size: .72rem; }
.nsc-choice-card--compact { padding-top: .62rem; padding-bottom: .62rem; }

.nsc-component-list { padding: .65rem .85rem .85rem; }
.nsc-component-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
  padding: .67rem .45rem;
  border-bottom: 1px solid #edf1f4;
  color: #314656;
  cursor: pointer;
  font-size: .83rem;
}
.nsc-component-row:last-child { border-bottom: 0; }
.nsc-component-row:hover { background: #f8fbfc; }
.nsc-component-row input { margin-right: .4rem; accent-color: var(--nsc-primary); }
.nsc-component-row--required { color: #213746; }
.nsc-data-rule {
  flex: 0 0 auto;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #edf4f7;
  color: #61727d;
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.nsc-component-row--required .nsc-data-rule { background: var(--nsc-primary-soft); color: var(--nsc-primary-dark); }
.nsc-builder-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--nsc-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--nsc-shadow-sm);
}

.nsc-center-report-header {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--nsc-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--nsc-shadow-sm);
}
.nsc-center-report-logo {
  width: 84px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .45rem;
  border: 1px solid #e3eaee;
  border-radius: 9px;
  background: #fff;
}
.nsc-center-report-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nsc-center-report-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.nsc-report-viewer {
  overflow: hidden;
  border: 1px solid var(--nsc-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--nsc-shadow-sm);
}
.nsc-report-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--nsc-border);
  background: #fbfdfe;
  color: #344b59;
  font-size: .86rem;
}
.nsc-report-frame { display: block; width: 100%; height: 1000px; border: 0; background: #f2f5f7; }
.nsc-side-panel { overflow: hidden; border: 1px solid var(--nsc-border); border-radius: 12px; background: #fff; box-shadow: var(--nsc-shadow-sm); }
.nsc-side-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--nsc-border);
  background: #263f50;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.nsc-center-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .76rem .9rem;
  border-bottom: 1px solid #edf1f4;
  color: #405562;
  font-size: .8rem;
  line-height: 1.35;
  text-decoration: none !important;
}
.nsc-center-nav__item:last-child { border-bottom: 0; }
.nsc-center-nav__item:hover { background: #f4fafc; color: var(--nsc-primary-dark); }
.nsc-center-nav__item.is-active { padding-left: .65rem; border-left: 4px solid var(--nsc-primary); background: var(--nsc-primary-soft); color: var(--nsc-primary-dark); font-weight: 600; }

.nsc-status-guide__copy { flex: 1; }
.nsc-status-legend { display: flex; flex-wrap: wrap; gap: .9rem; color: #526672; font-size: .76rem; white-space: nowrap; }
.nsc-status-dot { display: inline-block; width: 9px; height: 9px; margin-right: .3rem; border-radius: 50%; }
.nsc-status-dot.is-current { background: var(--nsc-success); }
.nsc-status-dot.is-aging { background: var(--nsc-warning); }
.nsc-status-dot.is-missing { background: var(--nsc-danger); }
.nsc-import-notice {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  background: #eef7fb;
  color: #49606d;
  font-size: .8rem;
}
.nsc-import-notice > i { margin-top: .15rem; color: var(--nsc-primary); }
.nsc-center-status-card {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--nsc-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--nsc-shadow-sm);
}
.nsc-center-status-card.is-inactive { opacity: .72; }
.nsc-center-status-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--nsc-border);
  background: #fbfdfe;
}
.nsc-center-status-card__header h3 { margin: 0; color: #263f50; font-size: .98rem; font-weight: 600; }
.nsc-center-state { padding: .25rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.nsc-center-state.is-active { background: #e7f5ef; color: #217153; }
.nsc-center-state.is-inactive { background: #f2e8e8; color: #944141; }
.nsc-report-section-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.nsc-report-section {
  position: relative;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .72rem .5rem .72rem .72rem;
  border-right: 1px solid rgba(255,255,255,.55);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform var(--nsc-transition), filter var(--nsc-transition), box-shadow var(--nsc-transition);
}
.nsc-report-section:last-child { border-right: 0; }
.nsc-report-section:hover { z-index: 2; transform: translateY(-2px); filter: saturate(1.06) brightness(1.03); box-shadow: 0 6px 15px rgba(15,43,60,.18); }
.nsc-report-section.is-green { background: #2e8b68; }
.nsc-report-section.is-orange { background: #c18125; }
.nsc-report-section.is-darkred { background: #a74343; }
.nsc-report-section__code { margin-bottom: .25rem; font-size: .65rem; font-weight: 800; letter-spacing: .045em; opacity: .78; }
.nsc-report-section strong { font-size: .73rem; line-height: 1.18; }
.nsc-report-section small { margin-top: .32rem; color: rgba(255,255,255,.82); font-size: .62rem; }

.nsc-report-library { overflow: hidden; border: 1px solid var(--nsc-border); border-radius: 12px; background: #fff; box-shadow: var(--nsc-shadow-sm); }
.nsc-report-library__item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid #edf1f4;
  color: #344b59 !important;
  text-decoration: none !important;
  transition: background var(--nsc-transition), padding var(--nsc-transition);
}
.nsc-report-library__item:last-child { border-bottom: 0; }
.nsc-report-library__item:hover { padding-left: 1.12rem; background: #f5fafc; }
.nsc-report-library__item.is-folder { background: #fbfdfe; }
.nsc-report-library__item.is-folder:hover { background: #f1f8fb; }
.nsc-report-library__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--nsc-primary-soft);
  color: var(--nsc-primary);
  font-size: 1rem;
}
.nsc-report-library__item.is-folder .nsc-report-library__icon { background: #fff4db; color: #a87318; }
.nsc-report-library__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.nsc-report-library__body strong { color: #263f50; font-size: .88rem; font-weight: 600; }
.nsc-report-library__body small { margin-top: .08rem; color: var(--nsc-muted); font-size: .71rem; }
.nsc-report-library__arrow { color: #9babb4; }
.nsc-report-library__action { color: var(--nsc-primary); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.nsc-empty-state { padding: 3rem 1.5rem; border: 1px dashed #cbd9e1; border-radius: 12px; background: #fff; text-align: center; }
.nsc-empty-state__icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .8rem; border-radius: 50%; background: var(--nsc-primary-soft); color: var(--nsc-primary); font-size: 1.25rem; }
.nsc-empty-state h3 { margin-bottom: .3rem; color: #344b59; font-size: 1rem; font-weight: 600; }
.nsc-empty-state p { margin: 0; color: var(--nsc-muted); font-size: .82rem; }

@media (max-width: 1199.98px) {
  .nsc-report-section-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nsc-report-section:nth-child(5) { border-right: 0; }
  .nsc-report-section:nth-child(-n+5) { border-bottom: 1px solid rgba(255,255,255,.55); }
}

@media (max-width: 767.98px) {
  .nsc-report-intro,
  .nsc-status-guide,
  .nsc-builder-action { align-items: flex-start; flex-direction: column; }
  .nsc-builder-action .btn { width: 100%; }
  .nsc-status-legend { white-space: normal; gap: .55rem .8rem; }
  .nsc-center-report-actions { width: 100%; }
  .nsc-center-report-actions .btn { flex: 1 1 auto; }
  .nsc-report-frame { height: 720px; }
  .nsc-report-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nsc-report-section,
  .nsc-report-section:nth-child(5) { min-height: 90px; border-right: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); }
  .nsc-report-section:nth-child(even) { border-right: 0; }
  .nsc-report-section:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================
   NATHAN SHOCK CENTERS FOOTER
   Closer visual match to nathanshockcenters.org
   ============================================================ */

.nsc-site-footer {
  font-family: "Roboto", Arial, sans-serif;
}


/* ------------------------------------------------------------
   MAIN BLUE FOOTER
------------------------------------------------------------- */

.nsc-footer-main {
  background-color: #345f70;
  color: #ffffff;
  padding: 48px 0 42px;
}


/* Mission statement */

.nsc-footer-tagline {
  max-width: 420px;
  margin: 0 0 18px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  color: #ffffff;
}


/* Remove the bright decorative rule used previously */

.nsc-footer-rule {
  display: none;
}


/* Reporting system label */

.nsc-footer-description {
  margin: 18px 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
}


/* Main site link */

.nsc-footer-site-link {
  display: inline-block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.nsc-footer-site-link i {
  margin-left: 4px;
  font-size: 10px;
}

.nsc-footer-site-link:hover,
.nsc-footer-site-link:focus {
  color: #ffffff;
  text-decoration: underline;
}


/* ------------------------------------------------------------
   FOOTER HEADINGS
------------------------------------------------------------- */

.nsc-footer-heading {
  margin: 0 0 18px;
  padding: 0;
  color: #ffffff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
}


/* The real site does not need the decorative underline */

.nsc-footer-heading::after {
  display: none;
}


/* ------------------------------------------------------------
   NAVIGATION
------------------------------------------------------------- */

.nsc-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nsc-footer-links li {
  margin: 0 0 7px;
}

.nsc-footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.15s ease;
}


/* Remove arrow icons */

.nsc-footer-links a::before {
  display: none;
}

.nsc-footer-links a:hover,
.nsc-footer-links a:focus {
  color: #ffffff;
  text-decoration: underline;
  transform: none;
}


/* ------------------------------------------------------------
   CONTACT
------------------------------------------------------------- */

.nsc-footer-contact {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.nsc-footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

.nsc-footer-contact i {
  width: 20px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 12px;
}

.nsc-footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.nsc-footer-contact a:hover,
.nsc-footer-contact a:focus {
  color: #ffffff;
  text-decoration: underline;
}


.nsc-footer-address {
  margin: 17px 0 0 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.65;
}


/* ------------------------------------------------------------
   LOWER CHARCOAL FOOTER
------------------------------------------------------------- */

.nsc-footer-bottom {
  background-color: #262626;
  color: #a8a8a8;
  padding: 25px 0 21px;
}


/* NIH / AFAR disclaimer */

.nsc-footer-disclaimer {
  max-width: 1120px;
  margin: 0 0 7px;
  color: #969696;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.65;
}


/* Subtle dividing line */

.nsc-footer-bottom-rule {
  height: 1px;
  margin: 18px 0 16px;
  background-color: rgba(255, 255, 255, 0.10);
}


/* Copyright / legal */

.nsc-footer-bottom,
.nsc-footer-bottom a,
.nsc-footer-copyright,
.nsc-footer-system-name {
  font-size: 10.5px;
  font-weight: 300;
}

.nsc-footer-bottom a {
  color: #b5b5b5;
  text-decoration: none;
}

.nsc-footer-bottom a:hover,
.nsc-footer-bottom a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.nsc-footer-separator {
  display: inline-block;
  margin: 0 7px;
  color: #777777;
}


/* NSC Reporting System label */

.nsc-footer-system-name {
  color: #888888;
  text-transform: none;
  letter-spacing: 0;
}


/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------- */

@media (max-width: 991.98px) {

  .nsc-footer-main {
    padding: 40px 0 34px;
  }

  .nsc-footer-tagline {
    font-size: 19px;
  }
}


@media (max-width: 767.98px) {

  .nsc-footer-main {
    padding: 34px 0 28px;
  }

  .nsc-footer-tagline {
    font-size: 18px;
  }

  .nsc-footer-heading {
    margin-top: 14px;
  }

  .nsc-footer-address {
    margin-left: 0;
  }

  .nsc-footer-bottom {
    padding: 22px 0 18px;
  }

  .nsc-footer-separator {
    margin: 0 4px;
  }
}