:root {
  --ink: #17211f;
  --muted: #5d6864;
  --paper: #faf9f4;
  --surface: #ffffff;
  --line: #dce3df;
  --green: #0f725c;
  --green-dark: #073f35;
  --green-deep: #052f28;
  --maroon: #8e2638;
  --gold: #c8962d;
  --aqua: #e4f4ef;
  --rose: #f7e7ea;
  --blue: #e8f0f8;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans Telugu", "Nirmala UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.lang-te {
  display: none;
}

body[data-language="te"] .lang-en {
  display: none;
}

body[data-language="te"] .lang-te {
  display: inline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: #fff;
  background: rgba(7, 63, 53, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #fff;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: inset 0 -4px 0 rgba(200, 150, 45, 0.35);
}

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

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-weight: 800;
}

.language-button.active {
  color: var(--green-dark);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--green-dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 47, 40, 0.97) 0%, rgba(5, 47, 40, 0.78) 44%, rgba(5, 47, 40, 0.16) 80%),
    linear-gradient(180deg, rgba(5, 47, 40, 0.32), rgba(5, 47, 40, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-search {
  width: min(760px, 100%);
  margin-top: 34px;
}

.hero-search label,
.search-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.search-box input,
#topic-search {
  min-height: 52px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.search-box input:focus,
#topic-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 150, 45, 0.18);
}

.search-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.search-action {
  color: var(--green-dark);
  background: #fff;
}

.audience-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.audience-tab {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.audience-tab.active {
  color: var(--green-dark);
  background: #fff;
}

.quick-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -48px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-panel a {
  padding: 22px;
  background: var(--surface);
}

.quick-panel strong,
.quick-panel span {
  display: block;
}

.quick-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 100px) 0;
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 680px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading.compact h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
}

.mode-grid,
.method-map,
.topics-grid,
.problem-grid,
.glossary-grid,
.official-links {
  display: grid;
  gap: 18px;
}

.mode-grid {
  grid-template-columns: 1fr 1fr;
}

.mode-card,
.topic-card,
.method-map article,
.info-band,
.dual-panel section,
.reference-block,
.go-table-wrap,
.glossary-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.mode-card {
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
}

.citizen-view-card {
  background: linear-gradient(135deg, #fff 0%, var(--aqua) 100%);
}

.employee-view-card {
  background: linear-gradient(135deg, #fff 0%, var(--rose) 100%);
}

.card-kicker,
.topic-card span,
.panel-label {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mode-card h3,
.topic-card h3,
.method-map h3,
.topic-main h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.telugu-caption {
  display: block;
  margin: -4px 0 12px;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 800;
}

.mode-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.mode-card li + li {
  margin-top: 8px;
}

.topic-method-section,
.employee-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: #edf5f1;
}

.method-map {
  grid-template-columns: repeat(4, 1fr);
}

.method-map article {
  padding: 24px;
}

.method-map span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
}

.method-map p,
.topic-card p,
.topic-main p,
.mode-card p,
.reference-block p,
.go-table td,
.glossary-grid span {
  color: var(--muted);
}

.library-section {
  padding-bottom: 20px;
}

.library-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
}

.library-shell .search-label {
  grid-column: 1 / -1;
  color: var(--muted);
}

.topic-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
}

.filter-button.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.topics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.topic-card {
  min-height: 230px;
  padding: 24px;
}

.topic-card.featured-topic {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff 0%, #eaf5f1 100%);
}

.topic-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 850;
}

.topic-card[hidden],
.no-results[hidden] {
  display: none;
}

.no-results {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 750;
}

.problem-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: var(--green-dark);
  color: #fff;
}

.problem-section .eyebrow {
  color: #f0c66c;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-grid a {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.topic-page-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
}

.topic-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
}

.topic-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.topic-sidebar span {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.topic-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 750;
}

.topic-sidebar a:hover {
  color: var(--ink);
  background: #f1f5f3;
}

.topic-main {
  min-width: 0;
}

.topic-main h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.lead {
  max-width: 780px;
  margin: 18px 0 26px;
  font-size: 1.08rem;
}

.info-band {
  padding: 24px;
  background: #fff;
}

.dual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.dual-panel section,
.reference-block {
  padding: 24px;
}

.reference-block {
  margin-top: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list span {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #eaf5f1;
  font-weight: 800;
}

.timeline {
  margin-top: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
}

.timeline ol {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline span {
  color: rgba(255, 255, 255, 0.78);
}

.go-section {
  padding-top: 40px;
}

.go-table-wrap {
  overflow-x: auto;
}

.go-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

.go-table th,
.go-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.go-table th {
  color: var(--green-dark);
  background: #eff6f3;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.glossary-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: #f0f4f1;
}

.glossary-grid {
  grid-template-columns: repeat(3, 1fr);
}

.glossary-grid article {
  padding: 20px;
}

.glossary-grid strong,
.glossary-grid span {
  display: block;
}

.glossary-grid span {
  margin-top: 5px;
}

.official-links {
  grid-template-columns: repeat(3, 1fr);
}

.official-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer a {
  color: var(--green);
  font-weight: 850;
}

.assignment-hero {
  position: relative;
  padding: 150px max(18px, calc((100vw - 1120px) / 2)) 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 47, 40, 0.98), rgba(5, 47, 40, 0.82)),
    url("assets/revenue-seva-hero.png") center / cover;
}

.assignment-hero-inner {
  max-width: 900px;
}

.breadcrumb {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 750;
}

.breadcrumb a {
  color: #fff;
}

.assignment-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.assignment-lede {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.assignment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary {
  color: var(--green-dark);
  background: #fff;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.topic-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: -26px;
  padding: 20px 24px;
  border: 1px solid #ead7a7;
  border-radius: 8px;
  background: #fff7df;
  box-shadow: var(--shadow);
}

.topic-alert strong {
  color: var(--maroon);
}

.topic-alert p {
  margin: 0;
  color: var(--muted);
}

.assignment-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.summary-card,
.fact-grid article,
.citizen-path article,
.employee-check-grid article,
.content-block,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.summary-card {
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(135deg, #fff 0%, #e9f5f1 100%);
}

.summary-card span {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.summary-card h2 {
  margin-top: 10px;
}

.summary-card p,
.fact-grid span,
.citizen-path p,
.employee-check-grid li,
.content-block p,
.content-block li,
.special-grid span,
.definition-grid span,
.protocol-grid p,
.faq-grid p {
  color: var(--muted);
}

.source-line {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 82, 69, 0.18);
  color: #52615e;
  font-size: 0.9rem;
  font-weight: 720;
}

.fact-grid {
  display: grid;
  gap: 12px;
}

.fact-grid article {
  padding: 18px;
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid span {
  margin-top: 4px;
}

.classified-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.classified-grid a {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.classified-grid strong,
.classified-grid span {
  display: block;
}

.classified-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.source-protocol {
  padding-top: 20px;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.protocol-grid article {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.protocol-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.protocol-grid h3 {
  margin: 18px 0 8px;
}

.textbook-section {
  display: grid;
  gap: 18px;
}

.textbook-section > *,
.learning-grid > *,
.study-rule-grid > *,
.content-block,
.go-table-wrap {
  min-width: 0;
}

.learning-grid,
.study-rule-grid {
  display: grid;
  gap: 14px;
}

.learning-grid {
  grid-template-columns: repeat(4, 1fr);
}

.study-rule-grid {
  grid-template-columns: repeat(3, 1fr);
}

.learning-grid article,
.study-rule-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.learning-grid strong,
.learning-grid span,
.study-rule-grid strong,
.study-rule-grid span {
  display: block;
}

.learning-grid strong,
.study-rule-grid strong {
  color: var(--green-dark);
}

.learning-grid span,
.study-rule-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.citizen-guide,
.go-reference {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: #edf5f1;
}

.citizen-path,
.employee-check-grid,
.special-grid,
.definition-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.citizen-path {
  grid-template-columns: repeat(4, 1fr);
}

.citizen-path article {
  padding: 22px;
}

.citizen-path span {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.citizen-problem-table {
  margin-top: 24px;
  max-width: 100%;
  overflow-x: auto;
}

.checklist-band,
.employee-caution,
.current-status {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tick-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.tick-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "+";
  font-weight: 900;
}

.employee-guide {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: var(--green-dark);
  color: #fff;
}

.employee-guide .eyebrow {
  color: #f0c66c;
}

.employee-check-grid {
  grid-template-columns: repeat(3, 1fr);
}

.employee-check-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.employee-check-grid li {
  color: rgba(255, 255, 255, 0.76);
}

.employee-caution {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.employee-caution p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.content-sections {
  display: grid;
  gap: 18px;
}

.content-block {
  padding: clamp(24px, 4vw, 38px);
}

.content-block h2 {
  max-width: 850px;
}

.legal-pills,
.flow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.legal-pills span,
.flow-strip span {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #eaf5f1;
  font-weight: 850;
}

.two-column-list,
.definition-grid,
.special-grid,
.pot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.two-column-list section,
.definition-grid article,
.special-grid article,
.pot-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfa;
}

.definition-grid strong,
.special-grid strong,
.pot-grid strong,
.definition-grid span,
.special-grid span,
.pot-grid span {
  display: block;
}

.definition-grid span,
.special-grid span,
.pot-grid span {
  margin-top: 8px;
}

.case-briefs article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.case-briefs span {
  margin-top: 0;
}

.case-briefs ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.case-briefs li {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.55;
}

.case-briefs em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.45;
}

.procedure-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.warning-box {
  margin-top: 20px;
  padding: 18px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fff7df;
}

.warning-box p {
  margin: 6px 0 0;
}

.current-status {
  border-color: #ead7a7;
  background: #fff7df;
}

.current-status p {
  margin: 8px 0 0;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.flow-strip span {
  text-align: center;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-grid details {
  padding: 18px 20px;
}

.faq-grid summary {
  color: var(--green-dark);
  font-weight: 850;
  cursor: pointer;
}

.faq-grid p {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card.featured-topic {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(7, 63, 53, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 47, 40, 0.94) 0%, rgba(5, 47, 40, 0.76) 58%, rgba(5, 47, 40, 0.44) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 110px;
  }

  .quick-panel,
  .mode-grid,
  .method-map,
  .problem-grid,
  .topic-layout,
  .dual-panel,
  .glossary-grid,
  .official-links,
  .library-shell,
  .assignment-summary,
  .classified-grid,
  .protocol-grid,
  .learning-grid,
  .study-rule-grid,
  .citizen-path,
  .employee-check-grid,
  .tick-list,
  .flow-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    margin-top: 18px;
  }

  .topic-sidebar {
    position: static;
  }

  .two-column-list,
  .definition-grid,
  .special-grid,
  .pot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .language-button {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 720px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .search-action {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1120px);
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .mode-card,
  .topic-card,
  .method-map article,
  .dual-panel section,
  .reference-block,
  .timeline,
  .info-band {
    padding: 22px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 16px;
  }

  .assignment-hero {
    padding-top: 118px;
  }

  .assignment-actions {
    display: grid;
  }

  .topic-alert {
    grid-template-columns: 1fr;
  }
}
