
.executive-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 22px 22px 20px;
  background: linear-gradient(135deg, #0b2f6f 0%, #1448a0 48%, #1f6bca 100%);
  color: #fff;
  box-shadow: 0 20px 45px rgba(12,38,92,0.24);
}

.executive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 12px;
}

.executive-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.executive-text {
  margin: 0;
  max-width: 900px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.6;
}

.executive-kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.executive-kpi {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 14px 14px 12px;
  backdrop-filter: blur(8px);
  min-height: 90px;
}

.executive-kpi-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.executive-kpi-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.section-card,
.period-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.98));
  border: 1px solid rgba(32,79,163,0.10);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(17,45,93,0.08);
}

.section-card {
  padding: 18px;
}

.mega-card {
  padding: 20px;
}

.section-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #11366f;
  margin-bottom: 16px;
}

.period-section {
  padding: 18px;
}

.period-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.period-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15,78,185,0.10), rgba(40,133,255,0.10));
  color: #0f4fa7;
  font-weight: 800;
  font-size: 12px;
}

.period-title {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 900;
  color: #11386f;
}

.period-total-box {
  min-width: 170px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #edf5ff, #ffffff);
  border: 1px solid rgba(16,88,204,0.12);
  box-shadow: 0 10px 24px rgba(15,78,170,0.08);
  text-align: right;
}

.period-total-label {
  font-size: 12px;
  color: #6581af;
  margin-bottom: 8px;
}

.period-total-value {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #12366c;
}

.period-total-sub,
.territory-delta-line {
  font-weight: 800;
  font-size: 14px;
}

.article-table-wrap {
  width: 100%;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(19,73,159,0.10);
}

.article-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: #fff;
}

.article-compare-table thead th {
  position: sticky;
  top: 0;
  background: #eef4ff;
  color: #133b73;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(17,63,139,0.12);
  text-align: left;
}

.article-compare-table tbody td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(18,61,130,0.08);
  color: #28466f;
  font-size: 13px;
  vertical-align: top;
}

.article-compare-table tbody tr:hover {
  background: #f8fbff;
}

.territory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.territory-card {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(20,74,163,0.10);
  box-shadow: 0 10px 28px rgba(20,52,110,0.08);
}

.territory-name {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: #12386e;
}

.territory-main-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: #33517d;
}

.territory-article-mini-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.territory-article-mini-item {
  min-width: 62px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f3f7ff;
  border: 1px solid rgba(22,72,154,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #34507b;
}

.article-territory-empty {
  padding: 18px;
  border-radius: 18px;
  background: #f7f9fe;
  color: #6780ab;
  border: 1px dashed rgba(24,81,169,0.16);
  text-align: center;
}

.article-lex-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0f57c8, #1980ff);
  box-shadow: 0 8px 20px rgba(18,96,214,0.22);
}

.is-up {
  color: #1b9b54 !important;
}

.is-down {
  color: #d74848 !important;
}

.is-neutral {
  color: #6a7c97 !important;
}

.statistics-placeholder::-webkit-scrollbar,
.article-table-wrap::-webkit-scrollbar,
.content-text::-webkit-scrollbar,
.content-docx::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.statistics-placeholder::-webkit-scrollbar-thumb,
.article-table-wrap::-webkit-scrollbar-thumb,
.content-text::-webkit-scrollbar-thumb,
.content-docx::-webkit-scrollbar-thumb {
  background: rgba(22, 76, 180, 0.24);
  border-radius: 999px;
}

.statistics-placeholder::-webkit-scrollbar-track,
.article-table-wrap::-webkit-scrollbar-track,
.content-text::-webkit-scrollbar-track,
.content-docx::-webkit-scrollbar-track {
  background: rgba(16, 71, 179, 0.06);
  border-radius: 999px;
}

@media (max-width: 1200px) {
  .hero-area {
    grid-template-columns: 150px 1fr 180px;
  }

  .content-area {
    grid-template-columns: 1fr;
  }

  .media-stage {
    min-height: 360px;
  }

  .territory-grid,
  .executive-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-area {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo {
    max-width: 180px;
    margin: 0 auto;
  }

  .content-modal-body-clean {
    flex-direction: column;
  }

  .content-submenu {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--panel-border);
  }

  .period-header {
    flex-direction: column;
  }

  .period-total-box {
    width: 100%;
    text-align: left;
  }

  .executive-kpis,
  .territory-grid {
    grid-template-columns: 1fr;
  }
}

