@import url("https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f5f5;
  --ink: #111111;
  --muted: #656565;
  --line: #e2e2e2;
  --panel: #ffffff;
  --accent: #0b735c;
  --accent-dark: #074d3d;
  --gold: #c78214;
  --soft: #e8f2ed;
  --soft-strong: #dcebe4;
  --orange: #d71920;
  --orange-dark: #970b12;
  --orange-ink: #111111;
  --cream: #fff7eb;
  --home-red: #d71920;
  --home-red-dark: #8f0b12;
  --home-black: #111111;
  --heading-blue: #273b9f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans Devanagari", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 12%, rgba(215, 25, 32, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f5f5f5 56%, #ffffff);
}

button,
input,
select {
  font: inherit;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.app-shell {
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.access-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #fffaf2, #fff7ee 54%, #fffdf9);
}

.access-screen section {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(100%, 360px);
  padding: 34px 24px;
  border: 1px solid #f1e2cf;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(117, 55, 20, 0.12);
  text-align: center;
}

.access-screen h1,
.access-screen p {
  margin: 0;
}

.access-screen h1 {
  color: var(--orange-ink);
  font-size: 28px;
}

.access-screen p {
  color: #72402c;
  font-size: 16px;
  line-height: 1.5;
}

.selector-screen,
.details-screen {
  min-height: 100vh;
  padding: max(22px, env(safe-area-inset-top)) 20px
    max(24px, env(safe-area-inset-bottom));
}

.selector-screen {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.08), transparent 34%),
    #ffffff;
  padding: 22px 16px 126px;
}

.home-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding-bottom: 8px;
  background: linear-gradient(180deg, #fff 74%, rgba(255, 255, 255, 0));
}

.brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
}

.app-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(145deg, #ed1c24, #9a0b12);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.24);
  font-size: 31px;
  font-weight: 900;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  color: var(--home-black);
  font-size: 26px;
  line-height: 1.1;
}

.brand-lockup small {
  margin-top: 3px;
  color: #4a4a4a;
  font-size: 21px;
}

.notify-button {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid #f0d0d2;
  border-radius: 18px;
  color: var(--home-red);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.notify-button svg {
  width: 30px;
  height: 30px;
}

.notify-button span {
  font-size: 30px;
}

.notify-button b {
  position: absolute;
  top: -12px;
  right: -10px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-red);
  font-size: 16px;
}

.intro {
  padding: 54px 0 24px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 14px -16px 0;
  padding: 64px 16px 42px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.72) 100%),
    radial-gradient(circle at 8% 18%, rgba(215, 25, 32, 0.12), transparent 24%);
}

.hero-art {
  position: absolute;
  right: -142px;
  bottom: -8px;
  z-index: 0;
  width: 500px;
  max-width: none;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.14;
  pointer-events: none;
}

.hero-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: 0 0 22px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--home-red);
  background: #fff;
  border: 1px solid #e4e4e4;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  color: var(--home-black);
  font-size: clamp(48px, 15vw, 70px);
  line-height: 1;
}

h1 span {
  display: block;
  color: var(--home-red);
}

h2 {
  font-size: 30px;
  line-height: 1.08;
}

.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 25ch;
  margin: 24px 0 0;
  color: #2c2c2c;
  font-size: 21px;
  line-height: 1.48;
}

.dataset-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: -14px 0 22px;
  padding: 22px 12px;
  border: 1px solid #f1e2cf;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(117, 55, 20, 0.12);
}

.dataset-stats > div {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 4px 12px;
  border-right: 1px solid #efdfcc;
  text-align: center;
}

.dataset-stats > div:last-child {
  border-right: 0;
}

.dataset-stats strong,
.dataset-stats span {
  display: block;
}

.dataset-stats strong {
  color: var(--orange-ink);
  font-size: 27px;
  line-height: 1.08;
  word-break: normal;
}

.dataset-stats span {
  margin-top: 6px;
  color: #73412d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.dataset-stats .stat-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 0 12px;
  border-radius: 14px;
  color: var(--orange);
  background: #fff0dc;
  font-size: 29px;
}

.category-overview {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

.category-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.category-heading > div {
  min-width: 0;
}

.category-heading h2,
.category-heading p {
  margin: 0;
}

.category-heading h2 {
  color: var(--home-black);
  font-size: 21px;
}

.category-heading p {
  margin-top: 4px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.category-heading > span {
  flex: 0 0 auto;
  max-width: 116px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--home-red);
  background: #fff;
  border: 1px solid #e4e4e4;
  font-size: 12px;
  font-weight: 900;
}

.category-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.category-filter button {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 78px;
  place-items: center;
  border: 1px solid #dfdfdf;
  border-radius: 14px;
  color: var(--home-black);
  background: #fff;
  cursor: pointer;
}

.category-filter button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #ed1c24, #8f0b12);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.22);
}

.category-filter small,
.category-filter strong {
  display: block;
}

.category-filter small {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.category-filter strong {
  font-size: 24px;
  line-height: 1;
}

.assembly-picker {
  margin-top: 30px;
  padding: 26px 18px 22px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #181818, #000 58%, #8f0b12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
}

.assembly-picker label {
  display: block;
  margin: 14px 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.assembly-picker label:first-child {
  margin-top: 0;
}

.picker-note {
  position: relative;
  margin: 16px 0 0;
  padding-left: 28px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.picker-note::before {
  position: absolute;
  left: 0;
  content: "▤";
  font-weight: 900;
}

.picker-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.picker-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  color: #fff;
  background: rgba(215, 25, 32, 0.78);
  font-size: 33px;
}

.picker-heading h2,
.picker-heading p {
  margin: 0;
}

.picker-heading h2 {
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.picker-heading p {
  margin-top: 6px;
  color: #f2f2f2;
  font-size: 17px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--home-red);
  border-bottom: 2px solid var(--home-red);
  content: "";
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.search-input,
select {
  width: 100%;
  border: 1px solid #ffd5ad;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.search-input {
  min-height: 54px;
  padding: 0 16px;
  background: #fffaf4;
}

.search-input::placeholder {
  color: #8a9189;
}

select {
  min-height: 72px;
  padding: 0 54px 0 20px;
  color: var(--home-black);
  font-size: 22px;
  font-weight: 700;
  appearance: none;
}

.search-input:focus,
select:focus {
  border-color: var(--home-red);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.16);
}

.map-section,
.reports-section {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  scroll-margin-top: 18px;
}

.map-heading,
.reports-heading {
  display: flex;
  gap: 12px;
  align-items: center;
}

.map-heading > span,
.reports-heading > span {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: var(--home-red);
  background: #fff3f3;
  font-size: 28px;
}

.map-heading h2,
.map-heading p,
.reports-heading h2,
.reports-heading p {
  margin: 0;
}

.map-heading h2,
.reports-heading h2 {
  color: var(--home-black);
  font-size: 25px;
  line-height: 1;
}

.map-heading p,
.reports-heading p {
  margin-top: 5px;
  color: #555;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.reports-section label {
  display: block;
  margin: 4px 0 -6px;
  color: #333;
  font-size: 13px;
  font-weight: 900;
}

.report-downloads {
  display: grid;
  gap: 12px;
}

.report-downloads > p {
  margin: 0;
  padding: 16px;
  border: 1px dashed #d6d6d6;
  border-radius: 12px;
  color: #555;
  background: #fafafa;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.download-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.download-card h3,
.download-card p {
  margin: 0;
}

.download-card h3 {
  color: var(--home-black);
  font-size: 18px;
  line-height: 1.15;
}

.download-card p {
  margin-top: 5px;
  color: #555;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.download-card a,
.download-unavailable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.download-card a {
  color: #fff;
  background: linear-gradient(145deg, #ed1c24, #8f0b12);
}

.download-unavailable {
  color: #555;
  background: #ececec;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #dadada;
  border-radius: 14px;
  background: #f4f4f4;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.bottom-nav {
  position: fixed;
  right: auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(calc(100% - 24px), 366px);
  padding: 12px 8px 10px;
  border: 1px solid #dfdfdf;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.13);
  transform: translateX(-50%);
}

.bottom-nav a {
  position: relative;
  display: grid;
  gap: 5px;
  justify-items: center;
  color: #4a4a4a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.bottom-nav span {
  display: grid;
  place-items: center;
  color: #555;
  font-size: 24px;
  line-height: 1;
}

.bottom-nav .active {
  color: var(--home-red);
}

.bottom-nav .active span {
  color: var(--home-red);
}

.bottom-nav .active::after {
  position: absolute;
  right: 14px;
  bottom: -8px;
  left: 14px;
  height: 4px;
  border-radius: 999px;
  background: var(--home-red);
  content: "";
}

.details-screen {
  position: relative;
  overflow-x: hidden;
  padding: 0;
  background: #fff;
}

.icon-button {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(235, 235, 235, 0.86);
  border-radius: 14px;
  color: #ff850d;
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
}

.floating-back {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, calc((100vw - 390px) / 2 + 18px));
  z-index: 5;
  box-shadow: 0 18px 34px rgba(39, 59, 159, 0.12);
}

.icon-button span {
  margin-top: -2px;
  font-size: 42px;
  line-height: 1;
}

.report-state {
  margin: 0;
  padding: 14px;
  border-radius: 0;
  color: var(--accent-dark);
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.section-nav {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: calc(100% - 28px);
  margin: -42px auto 18px;
  overflow-x: auto;
  padding: 14px;
  border: 1px solid rgba(236, 231, 221, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(39, 59, 159, 0.1);
  scrollbar-width: none;
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 58px;
  min-width: 138px;
  padding: 9px 12px;
  border: 1px solid #eadfd5;
  border-radius: 16px;
  color: var(--heading-blue);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  white-space: normal;
}

.section-nav a > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-nav a:first-child {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #314bbb, #1f3799);
  box-shadow: 0 12px 24px rgba(39, 59, 159, 0.24);
}

.section-nav-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #ff850d;
  font-size: 28px;
}

.section-nav a:first-child .section-nav-icon {
  color: #fff;
}

.report-content {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  overflow-x: hidden;
  padding: 0 0 30px;
  background: #fff;
}

.report-hero {
  position: relative;
  display: grid;
  align-content: end;
  gap: 28px;
  min-height: 430px;
  padding: 118px 22px 82px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 239, 0.98) 0%, rgba(255, 250, 239, 0.92) 42%, rgba(255, 247, 224, 0.62) 100%),
    url("assets/up-hero.png") right -70px top 26px / 360px auto no-repeat,
    radial-gradient(circle at 7% 6%, rgba(255, 174, 62, 0.24), transparent 27%),
    #fff8ea;
}

.report-hero::after {
  position: absolute;
  inset: auto -30px -84px -30px;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 247, 226, 0), #fff 70%);
  content: "";
  pointer-events: none;
}

.report-hero h3 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-height: 0;
  padding-left: 0;
  color: var(--heading-blue);
  overflow-wrap: normal;
  font-size: clamp(34px, 8.4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  text-shadow: 0 3px 0 rgba(39, 59, 159, 0.12);
  text-wrap: balance;
  word-break: normal;
}

.report-category-badge {
  position: relative;
  z-index: 1;
  justify-self: start;
  margin: -12px 0 -8px;
  padding: 8px 12px;
  border: 1px solid rgba(39, 59, 159, 0.18);
  border-radius: 999px;
  color: var(--heading-blue);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(39, 59, 159, 0.09);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.report-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
  overflow: hidden;
}

.report-tabs span {
  min-width: 0;
}

.report-info-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 96px;
  max-width: 100%;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(229, 226, 221, 0.98);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(39, 59, 159, 0.1);
}

.report-info-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #ff850d;
  background: #fff4e7;
  font-size: 28px;
}

.report-info-copy {
  min-width: 0;
  padding-left: 10px;
  border-left: 1px solid #eadfd5;
}

.report-info-copy small,
.report-info-copy strong {
  display: block;
}

.report-info-copy small {
  color: var(--heading-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.report-info-copy strong {
  margin-top: 8px;
  color: var(--heading-blue);
  overflow-wrap: anywhere;
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: 900;
  line-height: 1.08;
  white-space: normal;
  word-break: normal;
}

.report-content h3,
.report-content h4,
.report-content h5,
.report-content p,
.report-content pre,
.report-section {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.report-section {
  display: grid;
  gap: 14px;
  position: relative;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  padding: 34px 22px 0;
  border-top: 0;
  scroll-margin-top: 62px;
}

.report-section::before {
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: #ff850d;
  content: "";
}

.report-content h3 {
  color: var(--heading-blue);
  font-size: clamp(44px, 11vw, 62px);
  line-height: 1.08;
}

.report-content .report-hero h3 {
  font-size: clamp(38px, 9vw, 52px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.report-content h4 {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--heading-blue);
  font-size: clamp(21px, 5.5vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.report-content h4::before {
  display: none;
}

.section-heading-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ff850d;
  font-size: 42px;
}

.snapshot-section {
  margin-top: -4px;
}

.snapshot-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.snapshot-meta span {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e4e7f3;
  border-radius: 12px;
  background: #f8f9ff;
}

.snapshot-meta small,
.snapshot-meta strong {
  display: block;
}

.snapshot-meta small {
  color: #606a96;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.snapshot-meta strong {
  margin-top: 6px;
  color: var(--heading-blue);
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.snapshot-remarks {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
}

.snapshot-remarks p {
  margin: 0;
  color: #222;
  font-size: 15px;
  line-height: 1.62;
  text-align: justify;
  text-justify: inter-word;
}

.snapshot-remarks strong {
  color: #050505;
  font-weight: 900;
}

.report-content h5 {
  margin-top: 8px;
  color: var(--heading-blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.report-content p,
.report-content pre,
.table-block {
  color: #30352e;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.72;
}

.report-content p {
  text-align: justify;
  text-justify: inter-word;
}

.hindi-text,
.caste-table,
.report-content h4 {
  font-family:
    "Anek Devanagari", "Noto Sans Devanagari", Inter, ui-sans-serif, system-ui,
    sans-serif;
}

.hindi-text {
  color: #262c27;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
}

.report-content pre {
  padding: 12px;
  border-radius: 8px;
  background: #f5f7f1;
}

.table-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.table-block span {
  min-width: 0;
  padding: 10px;
  overflow-wrap: anywhere;
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.table-block .table-head {
  color: var(--heading-blue);
  background: var(--soft-strong);
  font-weight: 800;
}

.table-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.election-table,
.caste-table,
.booth-table {
  width: 100%;
  overflow: hidden;
  border: 2px solid #111;
  border-collapse: collapse;
  background: #f4f5f7;
  table-layout: fixed;
}

.election-table th,
.election-table td,
.caste-table th,
.caste-table td,
.booth-table th,
.booth-table td {
  padding: 9px 8px;
  border: 2px solid #111;
  overflow-wrap: normal;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.election-table th,
.caste-table th,
.booth-table th {
  color: #fff;
  background: var(--heading-blue);
  font-size: 16px;
  font-weight: 800;
}

.election-table {
  min-width: 640px;
}

.election-table td {
  color: #050505;
  background: #f0f1f3;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.election-table th:nth-child(1),
.election-table td:nth-child(1) {
  width: 22%;
}

.election-table th:nth-child(2),
.election-table td:nth-child(2) {
  width: 40%;
}

.election-table th:nth-child(3),
.election-table td:nth-child(3),
.election-table th:nth-child(4),
.election-table td:nth-child(4) {
  width: 19%;
}

.election-table .party-cell {
  color: #050505;
  background: #d9dde4;
  font-weight: 900;
}

.election-table .party-sp {
  color: #fff;
  background: #e31b23;
}

.election-table .party-bjp {
  color: #050505;
  background: #ff9a2a;
}

.election-table .party-bsp {
  background: #2b49a3;
  color: #fff;
}

.election-table .party-inc {
  color: #050505;
  background: #9fd8ff;
}

.election-table .party-rld {
  color: #fff;
  background: #168243;
}

.election-table .party-aimim {
  color: #050505;
  background: #a8e6a3;
}

.election-table .party-nota {
  color: #050505;
  background: #d9dde4;
}

.election-table .summary-row td {
  background: #fff2c7;
  font-weight: 900;
}

.election-table .summary-row td:first-child {
  background: #f0f1f3;
}

.caste-table {
  min-width: 430px;
  border-color: var(--line);
}

.caste-table th,
.caste-table td {
  border-color: var(--line);
  text-align: left;
}

.caste-table th {
  background: var(--heading-blue);
}

.caste-table td {
  color: #252b26;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
}

.problem-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
  font-weight: 600;
}

.problem-list li {
  padding-left: 4px;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
}

.problem-list li::marker {
  color: var(--heading-blue);
  font-weight: 900;
}

.party-heading {
  margin-top: 10px;
  font-weight: 900;
  text-align: left !important;
}

.candidate-name {
  color: #050505;
  font-weight: 900;
}

.booth-table {
  min-width: 360px;
  margin-top: 4px;
  background: #fff;
}

.booth-table .booth-title {
  padding: 9px 8px;
  color: #fff;
  background: var(--heading-blue);
  font-size: 16px;
  line-height: 1.15;
}

.booth-table thead tr:nth-child(2) th {
  color: #050505;
  background: #fff3c9;
  font-size: 15px;
}

.booth-table td {
  color: #050505;
  font-size: 15px;
  font-weight: 900;
}

.booth-table .booth-battleground- td {
  background: #ffff00;
}

.booth-table .booth-bjp-edge td {
  background: #ff9800;
}

.booth-table .booth-sp-inc-edge td {
  background: #9fc1df;
}

.booth-table .booth-total-booth td {
  background: #fff;
}

.booth-table .booth-bsp-factor-booth td {
  color: #fff;
  background: #1f5dcc;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .app-shell {
    margin: 0;
  }

  .bottom-nav {
    left: 12px;
    width: min(calc(100vw - 24px), 366px);
    transform: none;
  }

  .floating-back {
    left: 18px;
  }

  .category-heading {
    display: grid;
  }

  .category-heading > span {
    justify-self: start;
  }

  .category-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-filter button {
    min-height: 68px;
  }

  select {
    font-size: 20px;
  }

  .report-hero {
    min-height: 400px;
    padding: 104px 18px 76px;
    background:
      linear-gradient(90deg, rgba(255, 250, 239, 0.99) 0%, rgba(255, 250, 239, 0.94) 48%, rgba(255, 247, 224, 0.66) 100%),
      url("assets/up-hero.png") right -92px top 40px / 330px auto no-repeat,
      radial-gradient(circle at 7% 6%, rgba(255, 174, 62, 0.22), transparent 27%),
      #fff8ea;
  }

  .report-content .report-hero h3 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .report-tabs {
    gap: 8px;
  }

  .report-info-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    min-height: 86px;
    padding: 10px;
    border-radius: 18px;
  }

  .report-info-icon {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .report-info-copy {
    padding-left: 7px;
  }

  .report-info-copy small {
    font-size: 10px;
  }

  .report-info-copy strong {
    font-size: 11px;
    line-height: 1.12;
  }

  .snapshot-meta {
    grid-template-columns: 1fr;
  }

  .section-nav {
    max-width: calc(100% - 20px);
    margin-top: -36px;
    padding: 10px;
    border-radius: 18px;
  }

  .section-nav a {
    min-width: 104px;
    min-height: 52px;
    padding: 8px 8px;
    font-size: 10px;
  }

  .section-nav-icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .report-section {
    padding-inline: 18px;
  }

  .report-content h4 {
    gap: 10px;
    font-size: 21px;
  }

  .section-heading-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 36px;
  }
}

@media (min-width: 440px) {
  .section-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .section-nav a {
    min-width: 0;
  }
}

@media (min-width: 700px) {
  body {
    padding: 28px 0;
  }

  .app-shell,
  .selector-screen,
  .details-screen {
    min-height: calc(100vh - 56px);
    border-radius: 8px;
  }
}
