* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.75 var(--font-body);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}
[hidden] {
  display: none !important;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1.5px;
}
button,
input,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a,
button,
summary {
  touch-action: manipulation;
}
a,
button {
  transition:
    background-color var(--motion) var(--ease),
    border-color var(--motion) var(--ease);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}
.shell {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
  min-width: 0;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--primary-surface);
  color: var(--on-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--header-surface);
}
.header-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 96px;
  padding-block: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  min-height: var(--target);
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 42px;
  border-radius: 12px 12px 12px 3px;
  background: var(--primary-surface);
  color: var(--on-primary);
  font:
    italic 700 1.9rem Georgia,
    serif;
}
.desktop-nav {
  display: flex;
  gap: 6px;
  margin-inline: auto;
}
.desktop-nav a,
.site-menu nav a {
  display: flex;
  align-items: center;
  min-height: var(--target);
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}
.desktop-nav a:hover,
.site-menu nav a:hover {
  background: var(--soft);
}
.desktop-nav a[aria-current],
.site-menu nav a[aria-current] {
  background: var(--soft);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.site-menu {
  display: none;
}
.site-menu summary,
.reading-preferences summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--target);
  list-style: none;
  border: 1px solid var(--control-line);
  border-radius: var(--pill);
  padding: 8px 14px;
  font-size: 0.9375rem;
}
.site-menu summary::-webkit-details-marker,
.reading-preferences summary::-webkit-details-marker,
.language-more summary::-webkit-details-marker {
  display: none;
}
.site-menu nav {
  position: absolute;
  z-index: 20;
  inset: 72px 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px;
}
.reader-slot {
  min-height: 68px;
  min-width: 0;
}
.reader-control {
  position: relative;
}
.reader-control > summary {
  justify-content: flex-start;
  gap: 12px;
  min-height: 68px;
  padding: 10px 16px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
}
.reader-lettermark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 0 4px;
  width: 38px;
  flex: 0 0 38px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.reader-lettermark :lang(hi) {
  font-family: var(--font-indic);
}
.reader-lettermark :lang(en) {
  font: 700 0.75rem/1.4 var(--font-body);
}
.reader-lettermark :lang(or),
.language-pill:lang(or),
.planned-languages :lang(or) {
  font-family: "NeuroYug Odia", "Noto Sans Oriya", Kalinga, sans-serif;
}
.publication-language-links :lang(or),
.translation-unavailable :lang(or) {
  font-family: "NeuroYug Odia", "Noto Sans Oriya", Kalinga, sans-serif;
}
.reader-lettermark :lang(te),
.language-pill:lang(te),
.planned-languages :lang(te) {
  font-family: "NeuroYug Telugu", "Noto Sans Telugu", "Kohinoor Telugu", sans-serif;
}
.reader-label {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.reader-label-top,
.reader-label-floating {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
}
.reader-label-floating {
  display: none;
}
.reader-current-language {
  font-family: var(--font-indic);
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}
.reader-chevron {
  flex-shrink: 0;
  margin-left: auto;
}
.reader-control[open] .reader-chevron {
  transform: rotate(180deg);
}
.preferences-panel {
  position: absolute;
  z-index: 30;
  right: 0;
  top: calc(100% + 10px);
  width: min(370px, calc(100vw - 32px));
  max-height: min(640px, var(--reader-panel-room, 65dvh));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: start;
}
.reader-panel-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.reader-panel-heading h2 {
  flex: 1 1 10rem;
  min-width: 0;
  overflow-wrap: anywhere;
  font: 700 1.125rem/1.6 var(--font-body);
  letter-spacing: normal;
  margin: 6px 0 0;
}
.reader-close {
  min-width: var(--target);
  min-height: var(--target);
  padding: 8px 12px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--green);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.6;
  flex-shrink: 0;
  cursor: pointer;
}
.reader-languages h3 {
  font: 700 1rem/1.8 var(--font-body);
  margin: 0 0 12px;
  letter-spacing: normal;
}
.language-selector {
  display: grid;
  gap: 8px;
}
.language-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: var(--target);
  padding: 10px 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-sm);
  color: var(--green);
  background: var(--card);
  font: 600 1rem/1.8 var(--font-indic);
  text-decoration: none;
  max-width: 100%;
}
.language-pill[aria-current] {
  background: var(--primary-surface);
  color: var(--on-primary);
  font-weight: 700;
}
.language-pill:hover {
  box-shadow: inset 0 0 0 1px var(--green);
}
.language-current-mark {
  flex-shrink: 0;
}
.planned-languages {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.9;
}
.planned-languages > span:first-child {
  display: block;
  font-weight: 650;
}
.planned-languages > span:not(:first-child) {
  display: inline-block;
  margin-right: 8px;
}
[data-reading-options] {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.reader-preferences-hint {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 20px;
}
.preferences-panel fieldset {
  padding: 0;
  margin: 0 0 20px;
  border: 0;
  min-width: 0;
}
.preferences-panel fieldset:last-child {
  margin: 0;
}
.preferences-panel legend {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.preference-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 8px;
}
.preference-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--target);
  padding: 10px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  cursor: pointer;
}
.preference-options input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}
.preference-options label:has(input:checked) {
  background: var(--soft);
  border-color: var(--green);
}
.reader-control[data-floating="true"] {
  position: fixed;
  z-index: 35;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
}
.reader-control[data-floating="true"] > summary {
  min-height: 60px;
  padding: 8px 14px;
  box-shadow: var(--shadow);
}
.reader-control[data-floating="true"] .reader-label-top {
  display: none;
}
.reader-control[data-floating="true"] .reader-label-floating {
  display: inline;
}
.reader-control[data-floating="true"] .preferences-panel {
  top: auto;
  bottom: calc(100% + 10px);
}
.reader-control[data-constrained="true"] .preferences-panel {
  position: fixed;
  inset: 12px;
  width: auto;
  max-height: calc(100dvh - 24px);
}
html[data-reader-enhanced] {
  scroll-padding-bottom: 110px;
}
html[data-reader-enhanced] .site-footer {
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 span {
  color: var(--hero-muted);
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.5rem;
}
.eyebrow {
  font: 700 0.75rem/1.7 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--green);
}
.eyebrow a,
.prose .eyebrow a {
  text-decoration: none !important;
  color: inherit;
}
.eyebrow a:hover,
.prose .eyebrow a:hover {
  text-decoration: underline !important;
  text-underline-offset: 0.22em;
}
.small {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding: 64px 0;
  align-items: center;
}
.hero-intro {
  font-size: var(--body-size);
  line-height: var(--reading-leading);
  color: var(--muted);
  max-width: 52ch;
  margin: 24px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: var(--target);
  padding: 10px 20px;
  background: var(--primary-surface);
  color: var(--on-primary);
  border: 1px solid var(--green);
  border-radius: var(--pill);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}
.button.secondary {
  background: var(--card);
  color: var(--green);
}
.button:hover {
  box-shadow: inset 0 0 0 2px currentColor;
}
.featured-story {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-story > a {
  display: block;
  text-decoration: none;
}
.featured-story img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.featured-story-copy {
  padding: 24px 28px;
}
.featured-story h2 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 8px 0 14px;
}
.featured-story .eyebrow {
  margin-bottom: 0;
}
.featured-story .story-action {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  text-decoration: none;
}
.featured-story > a:hover .story-action {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.editor-note {
  padding: 28px 0 28px 24px;
  border-left: 3px solid var(--accent);
  max-width: 78ch;
  margin: 0 0 48px;
}
.editor-note h2 {
  font-size: 1.65rem;
}
.editor-note p {
  font-size: var(--body-size);
  line-height: var(--reading-leading);
  margin: 12px 0;
}
.emergency-companion {
  overflow-wrap: anywhere;
}
.section-block {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.section-heading h2 {
  font-size: 2.15rem;
  margin-bottom: 28px;
}
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.topic-card {
  position: relative;
  padding: 28px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.topic-card h3 {
  font-size: 1.8rem;
  margin-right: 36px;
}
.topic-card p {
  font-size: max(0.9375rem, calc(var(--body-size) * 0.92));
  line-height: var(--reading-leading);
  color: var(--muted);
}
.topic-card .status {
  font-size: 0.875rem;
  color: var(--green);
  margin: 0 0 20px;
}
.topic-index {
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--muted);
  font:
    italic 1.4rem Georgia,
    serif;
}
.topic-card.future-card {
  background: transparent;
}
.publication-language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.publication-language-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  font-size: 1rem;
  font-weight: 650;
}
.topic-card > a {
  display: inline-flex;
  min-height: var(--target);
  align-items: center;
}
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-list li {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  max-width: 76ch;
}
.post-list h3 {
  font-size: 1.8rem;
  line-height: 1.3;
}
.post-list p {
  font-size: var(--body-size);
  line-height: var(--reading-leading);
  color: var(--muted);
}
.empty-state {
  padding: 24px;
  background: var(--soft);
  border-radius: var(--radius);
  font-size: var(--body-size);
  line-height: var(--reading-leading);
}
.prose {
  max-width: 760px;
  margin-inline: auto;
  padding: 56px 0 80px;
  overflow-wrap: anywhere;
  font-size: var(--body-size);
  line-height: var(--reading-leading);
}
.page-heading {
  margin-bottom: 36px;
}
.prose h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}
.prose h2 {
  margin-top: 2.2em;
  margin-bottom: 0.75em;
  font-size: 1.8rem;
  line-height: 1.3;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.4rem;
}
.prose p {
  margin: 1.1em 0;
}
.prose li {
  margin: 0.65em 0;
}
.prose p a,
.prose li a,
.article-body p a,
.article-body li a,
.article-references a,
figcaption a,
.site-footer p a,
.post-comments a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: all;
  transition: text-decoration-color var(--motion) var(--ease), color var(--motion) var(--ease);
}
.prose p a:hover,
.prose li a:hover,
.article-body p a:hover,
.article-body li a:hover,
.article-references a:hover,
figcaption a:hover,
.site-footer p a:hover,
.post-comments a:hover {
  text-decoration-color: var(--green);
  text-decoration-thickness: 1.5px;
}
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.prose figure {
  margin: 2.5rem 0;
}
.prose figcaption {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
}
.post-meta {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}
.post-meta span {
  padding-inline: 8px;
}
.article-body {
  font-size: var(--body-size);
  line-height: var(--reading-leading);
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin-block: 24px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: max(0.9375rem, calc(var(--body-size) * 0.88));
}
.prose th,
.prose td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
  min-width: 160px;
}
.prose th {
  background: var(--soft);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px max(36px, env(safe-area-inset-bottom));
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.site-footer .footer-brand {
  font: 500 1.6rem var(--font-display);
  color: var(--green);
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer-links a,
.back-top {
  display: inline-flex;
  min-height: var(--target);
  align-items: center;
}
.site-footer p {
  max-width: 78ch;
  margin: 0.5rem 0;
}
.translation-unavailable,
.review-banner {
  padding: 16px;
  background: var(--info-bg);
  border-block: 1px solid var(--line);
}
.offline-notice,
.update-notice {
  margin: 0;
  padding: 16px 24px;
  color: var(--caution);
  background: var(--caution-bg);
  border-block: 1px solid var(--caution-line);
  font-size: 1rem;
}
.offline-notice p,
.update-notice p {
  margin: 0 0 8px;
}
.offline-notice a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  font-weight: 700;
}
.update-notice button {
  min-height: var(--target);
  padding: 8px 16px;
  margin: 6px 12px 0 0;
  border: 1px solid var(--caution);
  border-radius: var(--pill);
  background: var(--card);
}
.article-tools {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.article-tools p {
  margin: 0;
  flex-basis: 100%;
  font-size: 1rem;
  color: var(--muted);
}
.saved-list {
  list-style: none;
  padding: 0;
}
.saved-list li {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.saved-list a {
  display: inline-flex;
  min-height: var(--target);
  align-items: center;
  font-weight: 650;
}
.install-steps {
  padding-left: 24px;
}
.install-steps li {
  padding: 12px 0;
}
.install-symbol {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--control-line);
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  margin-right: 8px;
  color: var(--green);
  vertical-align: middle;
}
.app-intro-icon {
  border-radius: 24px;
  max-width: 88px !important;
  margin: 0 0 24px !important;
}
.status-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
@media (min-width: 1500px) {
  .shell {
    max-width: 1280px;
  }
}
@media (max-width: 1060px) {
  .desktop-nav a {
    padding-inline: 8px;
  }
  .header-row {
    gap: 16px;
  }
  .header-tools {
    gap: 8px;
  }
  .preferences-label {
    display: none;
  }
  .hero {
    gap: 32px;
  }
  .featured-story-copy {
    padding: 24px;
  }
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-block: 12px;
    min-height: 0;
  }
  .desktop-nav {
    display: none;
  }
  .site-menu {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }
  .header-tools {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .reader-slot {
    width: 100%;
  }
  .reader-control > summary {
    width: 100%;
  }
  .reader-control[data-floating="true"] {
    width: auto;
  }
  .hero {
    padding-block: 40px;
  }
  .hero h1 {
    font-size: 2.9rem;
  }
  .featured-story h2 {
    font-size: 1.65rem;
  }
  .topic-grid {
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 36px);
  }
  body {
    font-size: 1rem;
  }
  .header-row {
    gap: 10px;
  }
  .brand {
    font-size: 1.35rem;
  }
  .brand-mark {
    width: 32px;
    height: 36px;
    font-size: 1.6rem;
  }
  .header-tools {
    gap: 8px;
  }
  .language-pill {
    padding-inline: 12px;
  }
  .reading-preferences summary {
    padding-inline: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 36px;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.9rem);
  }
  .hero-intro {
    font-size: var(--body-size);
    line-height: var(--reading-leading);
    margin-block: 20px;
  }
  .featured-story-copy {
    padding: 22px;
  }
  .featured-story h2 {
    font-size: 1.65rem;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .section-block {
    padding-block: 36px;
  }
  .section-heading h2 {
    font-size: 1.85rem;
  }
  .editor-note {
    padding: 16px 0 16px 20px;
    margin-bottom: 36px;
  }
  .editor-note h2 {
    font-size: 1.5rem;
  }
  .topic-card {
    padding: 24px;
  }
  .prose {
    padding-block: 32px 56px;
  }
  .prose h1 {
    font-size: 2.15rem;
  }
  .prose h2 {
    font-size: 1.65rem;
  }
  .site-footer {
    padding-top: 28px;
  }
  .footer-top {
    align-items: flex-start;
  }
  .topic-card h3 {
    font-size: 1.6rem;
  }
}
@media (forced-colors: active) {
  .language-pill[aria-current] {
    border: 3px solid Highlight;
  }
  .button,
  .emergency-number {
    border: 2px solid ButtonText;
  }
  .brand-mark {
    border: 1px solid ButtonText;
  }
}
@media print {
  :root {
    color-scheme: light;
    --paper: #fff;
    --card: #fff;
    --ink: #000;
    --muted: #333;
    --green: #000;
    --line: #bbb;
    --soft: #fff;
    --subtle: #fff;
    --caution: #000;
    --caution-bg: #fff;
  }
  .site-header,
  .footer-links,
  .reading-preferences,
  .article-language-bar,
  .article-tools,
  .back-top,
  .update-notice {
    display: none !important;
  }
  .shell {
    width: 100%;
    max-width: none;
  }
  .site-footer {
    padding: 12px 0;
  }
  .prose {
    padding: 0;
  }
  .offline-notice {
    border: 2px solid #000;
    background: #fff;
    color: #000;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Intrinsic wrapping also handles enlarged system text without cropping controls. */
@media (max-width: 900px) {
  .header-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .header-tools {
    flex: 0 0 100%;
    width: 100%;
    flex-wrap: wrap;
  }
  .site-menu {
    margin-left: auto;
  }
  .brand {
    max-width: 100%;
  }
}

.footer-top {
  flex-wrap: wrap;
}

body {
  padding-top: env(safe-area-inset-top);
}

/* The future multi-language sheet opens into the viewport on compact screens. */
@media (max-width: 900px) {
  .header-language-bar .language-more .language-selector {
    left: 0;
    right: auto;
    width: min(280px, calc(100vw - 36px));
  }
}

/* The compact future picker keeps a recognisable language symbol. */
.language-choice-badge {
  font: 700 1rem/1.5 var(--font-indic);
}
.header-language-bar:has(.language-more) > .language-control-label {
  display: none;
}
.text-size-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.5rem), 1fr));
}
.text-size-options label {
  flex-direction: column;
  justify-content: center;
  padding: 10px 4px;
  text-align: center;
}
.text-size-options label span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.publication-language-links :lang(te) { font-family: "NeuroYug Telugu", sans-serif; }
.language-plans { margin-block: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--line); overflow-wrap: anywhere; }
