.sgcw19 {
  --sgcw19-primary: #177a2f;
  --sgcw19-primary-dark: #0b4823;
  --sgcw19-primary-soft: #e9f6ec;
  --sgcw19-accent: #d9ef43;
  --sgcw19-ink: #142019;
  --sgcw19-muted: #667169;
  --sgcw19-line: #dfe7e1;
  --sgcw19-surface: #ffffff;
  --sgcw19-bg: #f5f8f5;
  --sgcw19-radius: 24px;
  --sgcw19-shadow: 0 22px 60px rgba(17, 58, 31, .12);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1180px, calc(100% - 24px));
  margin: 32px auto;
  color: var(--sgcw19-ink);
  background: var(--sgcw19-surface);
  border: 1px solid rgba(23, 122, 47, .13);
  border-radius: 30px;
  box-shadow: var(--sgcw19-shadow);
  font-family: inherit;
  line-height: 1.55;
}

.sgcw19 *,
.sgcw19 *::before,
.sgcw19 *::after { box-sizing: border-box; }

.sgcw19 button,
.sgcw19 input,
.sgcw19 select { font: inherit; }

.sgcw19__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 74px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(217, 239, 67, .32), transparent 28%),
    linear-gradient(135deg, var(--sgcw19-primary-dark), var(--sgcw19-primary) 62%, #2e963f);
}

.sgcw19__hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 460px;
  height: 460px;
  border: 72px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.sgcw19__hero-orb {
  position: absolute;
  inset: auto auto -120px -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(217, 239, 67, .13);
  filter: blur(2px);
}

.sgcw19__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  max-width: 960px;
  margin: 0 auto;
}

.sgcw19__logo {
  display: block;
  width: clamp(108px, 16vw, 170px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(0,0,0,.24);
}

.sgcw19__eyebrow,
.sgcw19__section-head p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sgcw19__eyebrow { color: var(--sgcw19-accent); }
.sgcw19__section-head p { color: var(--sgcw19-primary); }

.sgcw19__hero h2 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.sgcw19__lead {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(16px, 2vw, 20px);
}

.sgcw19__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sgcw19__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
}

.sgcw19__body {
  padding: clamp(24px, 5vw, 58px);
  background: linear-gradient(#fff, var(--sgcw19-bg));
}

.sgcw19__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.sgcw19__intro p {
  max-width: 780px;
  margin: 0;
  color: var(--sgcw19-muted);
  font-size: 17px;
}

.sgcw19__print,
.sgcw19__filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sgcw19__print {
  flex: 0 0 auto;
  color: #fff;
  background: var(--sgcw19-primary);
  box-shadow: 0 9px 24px rgba(23, 122, 47, .2);
}

.sgcw19__filters button {
  color: var(--sgcw19-primary-dark);
  background: var(--sgcw19-primary-soft);
}

.sgcw19__print:hover,
.sgcw19__filters button:hover { transform: translateY(-1px); }

.sgcw19__print:focus-visible,
.sgcw19__filters button:focus-visible,
.sgcw19__tabs button:focus-visible,
.sgcw19 input:focus-visible,
.sgcw19 select:focus-visible {
  outline: 3px solid rgba(217, 239, 67, .85);
  outline-offset: 3px;
}

.sgcw19__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 clamp(38px, 6vw, 70px);
}

.sgcw19__stats > div {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--sgcw19-line);
  border-radius: 20px;
  box-shadow: 0 9px 28px rgba(19, 61, 31, .06);
}

.sgcw19__stats > div::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 70px;
  height: 70px;
  background: var(--sgcw19-primary-soft);
  border-radius: 50%;
}

.sgcw19__stats strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--sgcw19-primary-dark);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.sgcw19__stats span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: var(--sgcw19-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.sgcw19__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.sgcw19__section-head h3 {
  margin: 0;
  color: var(--sgcw19-ink);
  font-size: clamp(25px, 3.5vw, 38px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.sgcw19__winners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-bottom: clamp(42px, 6vw, 74px);
}

.sgcw19__winner {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--sgcw19-line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 53, 26, .08);
}

.sgcw19__winner:nth-child(1) { border-color: rgba(205, 157, 33, .45); background: linear-gradient(145deg, #fff9df, #fff); }
.sgcw19__winner:nth-child(2) { background: linear-gradient(145deg, #f4f6f8, #fff); }
.sgcw19__winner:nth-child(3) { background: linear-gradient(145deg, #fff1e5, #fff); }
.sgcw19__winner.is-home { border-color: rgba(23, 122, 47, .36); box-shadow: 0 14px 34px rgba(23, 122, 47, .13); }
.sgcw19__winner.is-home::after {
  content: "SGCW";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 3px 8px;
  color: var(--sgcw19-primary-dark);
  background: var(--sgcw19-accent);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
}

.sgcw19__medal {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 31px;
}

.sgcw19__winner p {
  margin: 0 44px 18px 0;
  color: var(--sgcw19-primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sgcw19__winner h4 {
  max-width: calc(100% - 28px);
  margin: 0 0 22px;
  color: var(--sgcw19-ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.sgcw19__winner > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sgcw19__winner > div strong {
  color: var(--sgcw19-primary-dark);
  font-size: 28px;
  line-height: 1;
}

.sgcw19__winner > div span,
.sgcw19__winner small { color: var(--sgcw19-muted); }

.sgcw19__tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  background: #eaf0eb;
  border-radius: 16px;
}

.sgcw19__tabs button {
  flex: 1 1 0;
  min-height: 48px;
  padding: 10px 14px;
  color: #516057;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}

.sgcw19__tabs button.is-active {
  color: var(--sgcw19-primary-dark);
  background: #fff;
  box-shadow: 0 6px 18px rgba(25, 61, 35, .1);
}

.sgcw19__panel { animation: sgcw19Fade .24s ease both; }
.sgcw19__panel[hidden] { display: none !important; }

.sgcw19__filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) minmax(180px, .75fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.sgcw19__filters label span {
  display: block;
  margin: 0 0 6px 3px;
  color: var(--sgcw19-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sgcw19__filters input,
.sgcw19__filters select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 9px 14px;
  color: var(--sgcw19-ink);
  background: #fff;
  border: 1px solid var(--sgcw19-line);
  border-radius: 13px;
  box-shadow: none;
}

.sgcw19__filters p {
  margin: 0 0 12px;
  color: var(--sgcw19-muted);
  font-size: 13px;
  white-space: nowrap;
}

.sgcw19__filters p strong { color: var(--sgcw19-primary-dark); }

.sgcw19__table-wrap {
  overflow: auto;
  max-height: 740px;
  background: #fff;
  border: 1px solid var(--sgcw19-line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(17, 56, 29, .06);
  scrollbar-width: thin;
}

.sgcw19__table {
  width: 100%;
  min-width: 880px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 14px;
}

.sgcw19__table th,
.sgcw19__table td {
  padding: 14px 13px;
  text-align: left;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid #edf1ee;
}

.sgcw19__table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  color: #536158;
  background: #f2f6f3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sgcw19__table tbody tr { transition: background-color .16s ease; }
.sgcw19__table tbody tr:hover { background: #f7faf7; }
.sgcw19__table tbody tr.is-home { background: linear-gradient(90deg, rgba(217, 239, 67, .16), rgba(233, 246, 236, .52)); }
.sgcw19__table tbody tr.is-home:hover { background: linear-gradient(90deg, rgba(217, 239, 67, .24), rgba(233, 246, 236, .7)); }
.sgcw19__table tbody tr[hidden] { display: none; }
.sgcw19__table td:nth-child(n+4),
.sgcw19__table th:nth-child(n+4) { text-align: center; white-space: nowrap; }

.sgcw19__table td:nth-child(2) small {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  color: var(--sgcw19-primary-dark);
  background: var(--sgcw19-accent);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.sgcw19__place {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  color: var(--sgcw19-primary-dark);
  background: var(--sgcw19-primary-soft);
  border-radius: 999px;
  font-weight: 900;
}

.sgcw19__place.is-first { color: #725400; background: #f7dfa0; }

.sgcw19__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 4px 9px;
  color: #fff;
  background: var(--sgcw19-primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

.sgcw19__total { color: var(--sgcw19-primary-dark); font-size: 16px; }

.sgcw19__delta {
  display: inline-block;
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.sgcw19__delta.is-good { color: #126a2a; background: #dff3e5; }
.sgcw19__delta.is-up { color: #9a3527; background: #f7e7e4; }
.sgcw19__delta.is-even { color: #56645c; background: #edf0ee; }
.sgcw19__empty { padding: 32px; color: var(--sgcw19-muted); text-align: center; }

.sgcw19__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sgcw19__category {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sgcw19-line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 52, 25, .07);
}

.sgcw19__category > header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--sgcw19-primary-dark), var(--sgcw19-primary));
}

.sgcw19__category > header span {
  color: var(--sgcw19-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sgcw19__category > header h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.sgcw19__category > header > strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--sgcw19-primary-dark);
  background: var(--sgcw19-accent);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.sgcw19__category ol { margin: 0; padding: 8px 20px 16px; list-style: none; }

.sgcw19__category li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #edf1ee;
}

.sgcw19__category li:last-child { border-bottom: 0; }
.sgcw19__category li.is-home { margin-inline: -20px; padding-inline: 20px; background: linear-gradient(90deg, rgba(217, 239, 67, .18), rgba(233, 246, 236, .5)); }

.sgcw19__category li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--sgcw19-primary-dark);
  background: var(--sgcw19-primary-soft);
  border-radius: 50%;
  font-weight: 900;
}

.sgcw19__category li:first-child > span { color: #725400; background: #f7dfa0; }
.sgcw19__category li div { min-width: 0; }
.sgcw19__category li strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgcw19__category li small { color: var(--sgcw19-muted); }
.sgcw19__category li b { color: var(--sgcw19-primary-dark); font-size: 17px; }
.sgcw19__category-empty { padding: 26px; margin: 0; color: var(--sgcw19-muted); text-align: center; }

.sgcw19__source {
  margin: 24px 0 0;
  color: var(--sgcw19-muted);
  font-size: 12px;
  text-align: center;
}

.sgcw19__source a { color: var(--sgcw19-primary); font-weight: 800; }

.sgcw19--compact .sgcw19__hero { padding: 30px; }
.sgcw19--compact .sgcw19__logo { width: 96px; }
.sgcw19--compact .sgcw19__hero h2 { font-size: clamp(28px, 5vw, 45px); }
.sgcw19--compact .sgcw19__body { padding: 22px; }

@keyframes sgcw19Fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .sgcw19__stats,
  .sgcw19__winners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgcw19__filters { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .sgcw19__filters p { margin: 0; align-self: center; }
}

@media (max-width: 760px) {
  .sgcw19 { width: min(100% - 14px, 1180px); margin: 12px auto; border-radius: 20px; }
  .sgcw19__hero { padding: 32px 22px; }
  .sgcw19__hero-inner { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .sgcw19__logo { width: 96px; }
  .sgcw19__body { padding: 24px 14px; }
  .sgcw19__intro { align-items: flex-start; flex-direction: column; }
  .sgcw19__tabs { overflow-x: auto; }
  .sgcw19__tabs button { min-width: 145px; }
  .sgcw19__filters { grid-template-columns: 1fr; }
  .sgcw19__category-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sgcw19__stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sgcw19__stats > div { min-height: 98px; padding: 16px; }
  .sgcw19__stats strong { font-size: 29px; }
  .sgcw19__stats span { font-size: 10px; }
  .sgcw19__winners { grid-template-columns: 1fr; }
  .sgcw19__winner { min-height: 0; padding: 22px; }
  .sgcw19__table-wrap { max-height: none; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .sgcw19__table { min-width: 0; background: transparent; }
  .sgcw19__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .sgcw19__table tbody { display: grid; gap: 10px; }
  .sgcw19__table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--sgcw19-line);
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(16, 53, 27, .06);
  }
  .sgcw19__table tbody tr[hidden] { display: none; }
  .sgcw19__table th,
  .sgcw19__table td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 7px 8px;
    border: 0;
    text-align: left !important;
    white-space: normal !important;
  }
  .sgcw19__table td::before {
    content: attr(data-label);
    color: var(--sgcw19-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .sgcw19__table td:nth-child(2),
  .sgcw19__table td:nth-child(3) { grid-column: 1 / -1; }
  .sgcw19__table td:nth-child(2) small { margin: 4px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sgcw19 *,
  .sgcw19 *::before,
  .sgcw19 *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  body * { visibility: hidden !important; }
  .sgcw19,
  .sgcw19 * { visibility: visible !important; }
  .sgcw19 { position: absolute; inset: 0 auto auto 0; width: 100%; margin: 0; border: 0; box-shadow: none; }
  .sgcw19__hero { padding: 24px; color: #000; background: #fff !important; border-bottom: 2px solid #222; }
  .sgcw19__hero h2,
  .sgcw19__eyebrow,
  .sgcw19__lead,
  .sgcw19__meta > span { color: #000 !important; }
  .sgcw19__hero-orb,
  .sgcw19__hero::after,
  .sgcw19__logo,
  .sgcw19__print,
  .sgcw19__tabs,
  .sgcw19__filters,
  .sgcw19__winners,
  .sgcw19__section-head,
  .sgcw19__stats,
  .sgcw19__source { display: none !important; }
  .sgcw19__body { padding: 0; background: #fff; }
  .sgcw19__panel { display: block !important; }
  .sgcw19__panel[data-panel="categories"] { display: none !important; }
  .sgcw19__table-wrap { overflow: visible; max-height: none; border: 0; box-shadow: none; }
  .sgcw19__table { min-width: 0; font-size: 9pt; }
  .sgcw19__table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .sgcw19__table thead th { position: static; }
  .sgcw19__table tbody { display: table-row-group; }
  .sgcw19__table tr { display: table-row; }
  .sgcw19__table td { display: table-cell; padding: 5px; border: 1px solid #bbb; }
  .sgcw19__table td::before { display: none; }
  .sgcw19__table tbody tr[hidden] { display: table-row !important; }
}
