.examples-page {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 52px);
}

.examples-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.examples-hero h1 {
  max-width: 17ch;
}

.examples-hero-note {
  padding: 18px;
  border-left: 3px solid rgba(17, 93, 77, 0.3);
  color: var(--muted);
  background: rgba(255, 253, 247, 0.54);
  font-size: 12px;
  line-height: 1.6;
}

.examples-browser {
  display: grid;
  grid-template-columns: minmax(260px, 560px) minmax(180px, 1fr);
  gap: 14px 24px;
  align-items: end;
  margin-top: clamp(26px, 4vw, 42px);
  padding: 18px;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 14px 42px rgba(31, 54, 45, 0.07);
}

.examples-search-field {
  display: grid;
  gap: 7px;
}

.examples-search-field label {
  color: var(--focus);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.examples-search-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--panel);
}

.examples-search-field input:focus-visible {
  border-color: var(--focus);
  outline: 3px solid rgba(17, 93, 77, 0.16);
  outline-offset: 1px;
}

.examples-filter-row {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-wrap: wrap;
  gap: 8px;
}

.examples-filter-row button,
.examples-empty button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 35, 31, 0.13);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(244, 241, 232, 0.72);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.examples-filter-row button span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
}

.examples-filter-row button:hover,
.examples-filter-row button:focus-visible,
.examples-empty button:hover,
.examples-empty button:focus-visible {
  border-color: rgba(17, 93, 77, 0.42);
}

.examples-filter-row button.is-active {
  border-color: var(--focus);
  color: var(--panel);
  background: var(--focus);
}

.examples-filter-row button.is-active span {
  color: rgba(255, 253, 247, 0.75);
}

.examples-result-count {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0 2px 12px 0;
  color: var(--muted);
  font-size: 12px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.example-card {
  display: grid;
  min-height: 178px;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 12px 14px;
  padding: 20px;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 8px 28px rgba(31, 54, 45, 0.045);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.example-card:hover,
.example-card:focus-visible {
  border-color: rgba(17, 93, 77, 0.42);
  box-shadow: 0 14px 34px rgba(31, 54, 45, 0.1);
  transform: translateY(-2px);
}

.example-card[hidden] {
  display: none;
}

.example-card-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  color: var(--focus);
  background: rgba(17, 93, 77, 0.1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.example-card > div {
  min-width: 0;
}

.example-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.15;
}

.example-card p {
  max-width: 55ch;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.example-card-action {
  grid-column: 2;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.examples-empty {
  margin-top: 18px;
  padding: clamp(30px, 6vw, 70px) 24px;
  border: 1px dashed rgba(16, 35, 31, 0.18);
  border-radius: 18px;
  text-align: center;
}

.examples-empty h2 {
  margin: 4px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

.examples-empty p:not(.eyebrow) {
  margin: 0 auto 18px;
  color: var(--muted);
}

.example-page {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px);
}

.example-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.example-heading h1 {
  max-width: 15ch;
}

.example-source-link {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.example-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(16px, 3vw, 30px);
  align-items: stretch;
  margin-top: 28px;
}

.example-map-panel {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 650px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 26px;
  background:
    linear-gradient(rgba(17, 93, 77, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 93, 77, 0.035) 1px, transparent 1px),
    var(--panel);
  background-size: 32px 32px;
  box-shadow: var(--shadow);
}

.example-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(16, 35, 31, 0.09);
  color: var(--muted);
  background: rgba(255, 253, 247, 0.84);
  font-size: 11px;
  font-weight: 700;
}

.example-map-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.example-map-toolbar button,
.example-control-panel button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.example-map-toolbar button:hover,
.example-map-toolbar button:focus-visible,
.example-control-panel button:hover,
.example-control-panel button:focus-visible {
  border-color: var(--focus);
  color: var(--focus);
}

.example-map-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.example-map {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: clamp(18px, 3vw, 36px);
}

.example-map > svg,
.example-map > india-svg-map,
.example-map india-svg-map > svg {
  width: 100%;
  height: 100%;
  max-height: 560px;
  overflow: visible;
  filter: drop-shadow(0 14px 12px rgba(31, 54, 45, 0.1));
}

.example-map-caption {
  min-height: 46px;
  padding: 13px 18px;
  border-top: 1px solid rgba(16, 35, 31, 0.09);
  color: var(--muted);
  background: rgba(255, 253, 247, 0.84);
  font-size: 11px;
  line-height: 1.5;
}

.example-control-panel {
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.8);
}

.example-control-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.example-control-panel p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.example-control-panel label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 800;
}

.example-control-panel select,
.example-code {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.86);
  font: inherit;
  font-size: 12px;
}

.example-copy-snippet {
  width: 100%;
  margin-top: 28px;
}

.example-copy-snippet details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.78);
}

.example-copy-snippet summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.example-copy-snippet summary::-webkit-details-marker {
  display: none;
}

.example-copy-snippet summary::after {
  content: "+";
  color: var(--focus);
  font-size: 22px;
  font-weight: 700;
}

.example-copy-snippet details[open] summary::after {
  content: "−";
}

.example-copy-snippet summary strong,
.example-copy-snippet summary small {
  display: block;
}

.example-copy-snippet summary strong {
  font-size: 13px;
}

.example-copy-snippet summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.example-copy-snippet-content {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(16, 35, 31, 0.08);
}

.example-copy-snippet-content h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.example-copy-snippet-actions {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.example-copy-snippet-actions button {
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--focus);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.example-copy-snippet-actions span {
  color: var(--muted);
  font-size: 11px;
}

.example-copy-snippet pre {
  max-width: 100%;
  padding: 16px;
  overflow-x: auto;
  border-radius: 13px;
  color: var(--ink);
  background: rgba(16, 35, 31, 0.06);
  font-size: 11px;
  line-height: 1.6;
  white-space: pre;
}

.example-district-picker {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.example-district-picker[hidden] {
  display: none !important;
}

.example-district-picker label {
  margin-top: 0;
}

.example-district-picker p {
  margin-bottom: 0;
}

.example-control-panel input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.86);
  font: inherit;
  font-size: 11px;
}

.example-csv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.example-download-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.example-download-link:hover,
.example-download-link:focus-visible {
  border-color: var(--focus);
}

.example-csv-summary {
  padding: 10px 12px;
  border-left: 3px solid rgba(17, 93, 77, 0.3);
  background: rgba(17, 93, 77, 0.05);
}

.example-csv-legend {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.example-category-legend {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.example-category-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.example-category-swatch {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1px solid rgba(16, 35, 31, 0.18);
  border-radius: 4px;
  background: var(--swatch-color);
}

.example-csv-profile {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-csv-profile dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.example-csv-profile dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.example-csv-profile dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.example-csv-profile dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.example-csv-map {
  --csv-category-1: #d7e8df;
  --csv-category-2: #f2c69b;
  --csv-category-3: #c8d7eb;
  --csv-category-4: #e2cfdf;
  --csv-category-5: #e6dda8;
  --csv-category-6: #b9ddd8;
}

.example-csv-map #state-outline {
  pointer-events: none;
}

.example-csv-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-csv-map .district-region {
  cursor: pointer;
  pointer-events: visiblePainted;
}

.example-csv-map .district-region :is(path, polygon, polyline) {
  fill: var(--example-fill, var(--map-fill, #dce9df));
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.15;
  transition: fill 140ms ease;
  vector-effect: non-scaling-stroke;
}

.example-csv-map .district-region:hover :is(path, polygon, polyline),
.example-csv-map .district-region:focus :is(path, polygon, polyline),
.example-csv-map .district-region.is-hovered :is(path, polygon, polyline) {
  fill: var(--hover, #f2ab75);
}

.example-csv-map .district-region.is-selected :is(path, polygon, polyline) {
  fill: var(--selected, #e6783e);
  stroke: var(--focus, #115d4d);
  stroke-width: 1.8;
}

.example-legend {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.example-gradient {
  height: 10px;
  border: 1px solid rgba(16, 35, 31, 0.12);
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(224, 238, 228), rgb(17, 93, 77));
}

.example-legend-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.example-choropleth .map-region path {
  fill: var(--example-fill, var(--map-fill));
}

.example-choropleth .map-region:hover path,
.example-choropleth .map-region:focus path,
.example-choropleth .map-region.is-hovered path {
  fill: var(--hover);
}

.example-choropleth .map-region.is-selected path {
  fill: var(--selected);
}

.example-drill-map .district-region {
  cursor: pointer;
  outline: none;
  pointer-events: visiblePainted;
}

.example-drill-map.is-district-layer #state-outline {
  pointer-events: none;
}

.example-drill-map.is-district-layer #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: #115d4d;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-drill-map .district-region :is(path, polygon, polyline) {
  fill: #dce9df;
  fill: var(--map-fill, #dce9df);
  stroke: #47665e;
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.15;
  transition: fill 140ms ease;
  vector-effect: non-scaling-stroke;
}

.example-drill-map .district-region:hover :is(path, polygon, polyline),
.example-drill-map .district-region:focus :is(path, polygon, polyline),
.example-drill-map .district-region.is-hovered :is(path, polygon, polyline) {
  fill: #f2ab75;
  fill: var(--hover, #f2ab75);
}

.example-drill-map .district-region.is-selected :is(path, polygon, polyline) {
  fill: #e6783e;
  fill: var(--selected, #e6783e);
  stroke: #115d4d;
  stroke: var(--focus, #115d4d);
  stroke-width: 1.8;
}

.example-marker-layer {
  pointer-events: none;
}

.example-marker {
  cursor: pointer;
  outline: none;
  pointer-events: auto;
}

.example-marker circle {
  fill: var(--selected);
  stroke: white;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(16, 35, 31, 0.28));
}

.example-marker:hover circle,
.example-marker:focus circle,
.example-marker.is-active circle {
  fill: var(--hover);
  stroke: var(--focus);
}

.example-marker-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.example-marker-list button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.example-marker-list button.is-active {
  border-color: var(--focus);
  background: rgba(17, 93, 77, 0.08);
}

.example-control-panel input[type="search"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.86);
  font: inherit;
  font-size: 12px;
}

.example-finder-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.example-finder-summary {
  min-height: 20px;
  margin: 18px 0 8px;
  font-weight: 750;
}

.example-finder-results {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.example-finder-results button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.example-finder-results button > span:first-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.example-finder-results small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.example-finder-level {
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.example-finder-empty {
  padding: 12px 0;
}

.example-finder-selection {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-finder-selection h2 {
  margin-top: 0;
}

.example-finder-selection dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}

.example-finder-selection dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.example-finder-selection dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.example-finder-selection dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.example-finder-map.is-tehsil-layer #district-outline {
  pointer-events: none;
}

.example-finder-map.is-tehsil-layer #district-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-finder-map .child-region {
  cursor: pointer;
  outline: none;
  pointer-events: visiblePainted;
}

.example-finder-map .child-region :is(path, polygon, polyline) {
  fill: var(--map-fill, #dce9df);
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.15;
  transition: fill 140ms ease;
  vector-effect: non-scaling-stroke;
}

.example-finder-map .child-region:hover :is(path, polygon, polyline),
.example-finder-map .child-region:focus :is(path, polygon, polyline),
.example-finder-map .child-region.is-hovered :is(path, polygon, polyline) {
  fill: var(--hover, #f2ab75);
}

.example-finder-map .child-region.is-selected :is(path, polygon, polyline) {
  fill: var(--selected, #e6783e);
  stroke: var(--focus, #115d4d);
  stroke-width: 1.8;
}

.example-nearby-map {
  cursor: crosshair;
}

.example-nearby-coordinates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.example-nearby-coordinates input {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.86);
  font: inherit;
  font-size: 11px;
}

.example-nearby-radius {
  fill: rgba(230, 120, 62, 0.14);
  stroke: var(--selected, #e6783e);
  stroke-width: 2;
  stroke-dasharray: 7 5;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.example-nearby-place {
  transition: opacity 150ms ease;
}

.example-nearby-place.is-outside {
  opacity: 0.2;
  pointer-events: none;
}

.example-nearby-place.is-nearby {
  opacity: 1;
}

.example-nearby-place.is-origin-place {
  opacity: 0.42;
  pointer-events: none;
}

.example-nearby-origin {
  color: var(--focus, #115d4d);
  pointer-events: auto;
}

.example-nearby-origin circle {
  fill: var(--selected, #e6783e);
  stroke: white;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(16, 35, 31, 0.3));
}

.example-nearby-origin path {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.example-map-toolbar button[aria-pressed="true"] {
  border-color: var(--focus);
  color: white;
  background: var(--focus);
}

.example-draw-map #state-outline {
  pointer-events: none;
}

.example-draw-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-draw-map .district-region {
  cursor: pointer;
  outline: none;
  pointer-events: visiblePainted;
}

.example-draw-map .district-region :is(path, polygon, polyline) {
  fill: var(--map-fill, #dce9df);
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.15;
  transition: fill 140ms ease;
  vector-effect: non-scaling-stroke;
}

.example-draw-map .district-region:hover :is(path, polygon, polyline),
.example-draw-map .district-region:focus :is(path, polygon, polyline) {
  fill: var(--hover, #f2ab75);
}

.example-draw-map .district-region.is-draw-selected :is(path, polygon, polyline) {
  fill: var(--selected, #e6783e);
  stroke: var(--focus, #115d4d);
  stroke-width: 1.8;
}

.example-draw-map .district-region.is-draw-selected:focus :is(path, polygon, polyline) {
  stroke-width: 2.6;
}

.example-draw-map.is-drawing-mode {
  cursor: crosshair;
  touch-action: none;
}

.example-draw-map.is-drawing-mode .district-region {
  cursor: crosshair;
}

.example-draw-shape {
  fill: rgba(230, 120, 62, 0.14);
  stroke: var(--selected, #e6783e);
  stroke-width: 2;
  stroke-dasharray: 8 5;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.example-draw-shape.is-complete {
  fill: rgba(230, 120, 62, 0.08);
  stroke-dasharray: 5 5;
}

.example-draw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.example-draw-selection {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-draw-selection h2 {
  margin-top: 0;
}

.example-draw-selection ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.example-draw-selection li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.example-draw-selection li > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.example-draw-selection small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.example-draw-selection button {
  min-height: 30px;
  padding-block: 5px;
}

.example-coverage-legend,
.example-coverage-legend span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.example-coverage-legend span {
  gap: 5px;
}

.example-coverage-legend i {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(16, 35, 31, 0.18);
  border-radius: 4px;
}

.example-coverage-legend .is-covered {
  background: #b8d9cc;
}

.example-coverage-legend .is-overlap {
  background: #f1bf91;
}

.example-coverage-legend .is-uncovered {
  background: #e3e8e4;
}

.example-coverage-map #state-outline {
  pointer-events: none;
}

.example-coverage-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-coverage-map .district-region {
  cursor: pointer;
  outline: none;
  pointer-events: visiblePainted;
}

.example-coverage-map .district-region :is(path, polygon, polyline) {
  fill: var(--coverage-fill, #e3e8e4);
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.15;
  transition: fill 150ms ease;
  vector-effect: non-scaling-stroke;
}

.example-coverage-map .district-region.is-overlap :is(path, polygon, polyline) {
  fill: #f1bf91;
}

.example-coverage-map .district-region:hover :is(path, polygon, polyline),
.example-coverage-map .district-region:focus :is(path, polygon, polyline),
.example-coverage-map .district-region.is-inspected :is(path, polygon, polyline) {
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
}

.example-coverage-map .district-region.is-centre :is(path, polygon, polyline) {
  stroke: var(--focus, #115d4d);
  stroke-width: 2;
}

.example-coverage-marker-layer {
  pointer-events: none;
}

.example-coverage-marker circle {
  fill: var(--centre-fill);
  stroke: var(--centre-stroke);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(16, 35, 31, 0.28));
}

.example-coverage-marker text {
  fill: var(--ink, #10231f);
  font-size: 13px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
}

.example-coverage-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.example-coverage-counts div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.example-coverage-counts dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.example-coverage-counts dd {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.example-coverage-centres {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-coverage-centres h2 {
  margin-top: 0;
}

.example-coverage-centres ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.example-coverage-centres li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.example-coverage-centres li > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--centre-stroke);
  border-radius: 50%;
  background: var(--centre-fill);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.example-coverage-centres li > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.example-coverage-centres small {
  color: var(--muted);
  font-size: 9px;
}

.example-coverage-centres button {
  min-height: 30px;
  padding-block: 5px;
}

.example-incident-legend,
.example-incident-legend span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.example-incident-legend span {
  gap: 5px;
}

.example-incident-legend i,
.example-incident-severity i {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(16, 35, 31, 0.18);
  border-radius: 3px;
}

.example-incident-legend .is-critical,
.example-incident-severity .is-critical,
.example-incident-queue .is-critical {
  background: #b84c3f;
}

.example-incident-legend .is-high,
.example-incident-severity .is-high,
.example-incident-queue .is-high {
  background: #d77b3d;
}

.example-incident-legend .is-moderate,
.example-incident-severity .is-moderate,
.example-incident-queue .is-moderate {
  background: #d2aa4d;
}

.example-incident-legend .is-advisory,
.example-incident-severity .is-advisory,
.example-incident-queue .is-advisory {
  background: #4e8795;
}

.example-incident-map #state-outline {
  pointer-events: none;
}

.example-incident-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-incident-map .district-region {
  cursor: pointer;
  outline: none;
  pointer-events: visiblePainted;
}

.example-incident-map .district-region :is(path, polygon, polyline) {
  fill: #e3e8e4;
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.1;
  transition: fill 150ms ease;
  vector-effect: non-scaling-stroke;
}

.example-incident-map .district-region.has-critical :is(path, polygon, polyline) {
  fill: #efc2bd;
}

.example-incident-map .district-region.has-high :is(path, polygon, polyline) {
  fill: #f1d0b5;
}

.example-incident-map .district-region.has-moderate :is(path, polygon, polyline) {
  fill: #eee1bb;
}

.example-incident-map .district-region.has-advisory :is(path, polygon, polyline) {
  fill: #c7dde1;
}

.example-incident-map .district-region:hover :is(path, polygon, polyline),
.example-incident-map .district-region:focus :is(path, polygon, polyline),
.example-incident-map .district-region.is-inspected :is(path, polygon, polyline) {
  stroke: var(--focus, #115d4d);
  stroke-width: 2.5;
}

.example-incident-marker-layer {
  pointer-events: none;
}

.example-incident-marker {
  cursor: pointer;
  outline: none;
  pointer-events: auto;
}

.example-incident-hit {
  fill: transparent;
  stroke: none;
}

.example-incident-symbol {
  stroke: rgba(255, 253, 247, 0.96);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(16, 35, 31, 0.32));
}

.example-incident-marker.is-critical .example-incident-symbol {
  fill: #b84c3f;
}

.example-incident-marker.is-high .example-incident-symbol {
  fill: #d77b3d;
}

.example-incident-marker.is-moderate .example-incident-symbol {
  fill: #d2aa4d;
}

.example-incident-marker.is-advisory .example-incident-symbol {
  fill: #4e8795;
}

.example-incident-marker text {
  fill: #fffdf7;
  font-size: 8px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.example-incident-marker:is(.is-high, .is-moderate, .is-advisory) text {
  fill: #10231f;
}

.example-incident-marker:focus .example-incident-symbol,
.example-incident-marker.is-selected .example-incident-symbol {
  stroke: var(--focus, #115d4d);
  stroke-width: 5;
}

.example-incident-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.example-incident-severity {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  border: 0;
}

.example-incident-severity legend {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
}

.example-incident-severity label,
.example-control-panel .example-incident-resolved {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.example-incident-severity input,
.example-incident-resolved input {
  accent-color: var(--focus);
}

.example-control-panel .example-incident-resolved {
  margin-top: 13px;
}

.example-incident-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.example-incident-counts div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.example-incident-counts dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.example-incident-counts dd {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.example-incident-queue {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-incident-queue h2 {
  margin-top: 0;
}

.example-incident-queue ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 13px 0 0;
  list-style: none;
}

.example-incident-queue button {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  text-align: left;
}

.example-incident-queue button.is-active {
  border-color: var(--focus);
  background: rgba(17, 93, 77, 0.08);
}

.example-incident-queue button > i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  color: #fffdf7;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.example-incident-queue button > i:is(.is-high, .is-moderate, .is-advisory) {
  color: #10231f;
}

.example-incident-queue button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.example-incident-queue small {
  color: var(--muted);
  font-size: 9px;
}

.example-incident-empty {
  color: var(--muted);
  font-size: 11px;
}

.example-incident-response-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.example-control-panel .example-incident-response-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.example-ranking-legend {
  display: flex;
  align-items: center;
  gap: 7px;
}

.example-ranking-legend i {
  width: 82px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #deeadf, #22705b);
}

.example-ranking-map #state-outline {
  pointer-events: none;
}

.example-ranking-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-ranking-map :is(.map-region, .district-region) {
  cursor: pointer;
  outline: none;
  transition: opacity 150ms ease;
}

.example-ranking-map :is(.map-region, .district-region) :is(path, polygon, polyline) {
  fill: var(--ranking-fill, #deeadf);
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.example-ranking-map :is(.map-region, .district-region).is-filtered-out {
  opacity: 0.2;
}

.example-ranking-map :is(.map-region, .district-region):is(:hover, :focus, .is-selected) :is(path, polygon, polyline) {
  stroke: var(--focus, #115d4d);
  stroke-width: 2.5;
}

.example-ranking-control-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.example-ranking-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.example-ranking-stats div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.example-ranking-stats dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.example-ranking-stats dd {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.example-ranking-results {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-ranking-results h2 {
  margin-top: 0;
}

.example-ranking-results ol {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.example-ranking-results button {
  display: grid;
  width: 100%;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  text-align: left;
}

.example-ranking-results button.is-active {
  border-color: var(--focus);
  background: rgba(17, 93, 77, 0.08);
}

.example-ranking-results button > strong {
  color: var(--muted);
  text-align: center;
}

.example-ranking-results button > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.example-ranking-results button b {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.example-ranking-results button i {
  display: block;
  width: var(--ranking-width);
  height: 4px;
  border-radius: 999px;
  background: #3c826d;
}

.example-ranking-results button em {
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.example-annotation-legend,
.example-annotation-legend span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.example-annotation-legend span {
  gap: 4px;
}

.example-annotation-legend i,
.example-annotation-results button > i {
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.example-annotation-legend .is-note,
.example-annotation-results .is-note,
.example-annotation-marker.is-note .example-annotation-pin {
  fill: #4e8795;
  background: #4e8795;
}

.example-annotation-legend .is-project,
.example-annotation-results .is-project,
.example-annotation-marker.is-project .example-annotation-pin {
  fill: #3c826d;
  background: #3c826d;
}

.example-annotation-legend .is-risk,
.example-annotation-results .is-risk,
.example-annotation-marker.is-risk .example-annotation-pin {
  fill: #b84c3f;
  background: #b84c3f;
}

.example-annotation-legend .is-visit,
.example-annotation-results .is-visit,
.example-annotation-marker.is-visit .example-annotation-pin {
  fill: #8a6d2f;
  background: #8a6d2f;
}

.example-annotation-map #state-outline {
  pointer-events: none;
}

.example-annotation-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: var(--focus, #115d4d);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.example-annotation-map .district-region {
  pointer-events: visiblePainted;
}

.example-annotation-map .district-region :is(path, polygon, polyline) {
  fill: #e2ebe5;
  stroke: var(--map-stroke, #47665e);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.example-annotation-map.is-placing,
.example-annotation-map.is-placing .district-region {
  cursor: crosshair;
}

.example-annotation-layer {
  pointer-events: none;
}

.example-annotation-marker {
  cursor: grab;
  outline: none;
  pointer-events: auto;
}

.example-annotation-marker:active {
  cursor: grabbing;
}

.example-annotation-hit {
  fill: transparent;
}

.example-annotation-pin {
  stroke: #fffdf7;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(16, 35, 31, 0.32));
}

.example-annotation-dot {
  fill: #fffdf7;
}

.example-annotation-marker:is(:focus, .is-selected) .example-annotation-pin {
  stroke: var(--focus, #115d4d);
  stroke-width: 5;
}

.example-annotation-control-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
}

.example-control-panel .example-annotation-control-row input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.86);
  font: inherit;
  font-size: 12px;
}

.example-annotation-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.example-annotation-file-actions .example-download-link {
  cursor: pointer;
  margin: 0;
}

.example-annotation-file-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.example-annotation-results {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-annotation-results h2 {
  margin-top: 0;
}

.example-annotation-results ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.example-annotation-results button {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  text-align: left;
}

.example-annotation-results button.is-active {
  border-color: var(--focus);
  background: rgba(17, 93, 77, 0.08);
}

.example-annotation-results button > i {
  width: 14px;
  height: 14px;
}

.example-annotation-results button > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.example-annotation-results small,
.example-annotation-empty {
  color: var(--muted);
  font-size: 10px;
}

.example-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
  margin-top: 30px;
}

.example-story-map-panel {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.example-story-map :is(.map-region, .district-region) :is(path, polygon, polyline) {
  fill: #dfe8e1;
  stroke: #61736d;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  transition: fill 180ms ease, opacity 180ms ease;
}

.example-story-map #state-outline {
  pointer-events: none;
}

.example-story-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: #61736d;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.example-story-map :is(.map-region, .district-region).is-story-muted {
  opacity: 0.28;
}

.example-story-map :is(.map-region, .district-region).is-story-focus :is(path, polygon, polyline) {
  fill: #c7653f;
  stroke: #164f45;
  stroke-width: 2.1;
}

.example-story-marker circle:first-child {
  fill: rgba(255, 253, 247, 0.62);
  stroke: #0f5d4d;
  stroke-width: 3;
}

.example-story-marker circle:last-child {
  fill: #0f5d4d;
}

.example-story-panel {
  display: grid;
  gap: 16px;
}

.example-story-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

.example-story-copy h2 {
  margin: 4px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.1;
}

.example-story-copy p {
  color: var(--muted);
}

.example-story-copy code {
  display: block;
  overflow-wrap: anywhere;
}

.example-story-actions {
  display: flex;
  gap: 10px;
}

.example-story-actions button {
  flex: 1;
}

.example-story-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.example-story-steps button {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(16, 35, 31, 0.13);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.72);
  text-align: left;
}

.example-story-steps button[aria-current="step"] {
  border-color: rgba(17, 93, 77, 0.46);
  background: rgba(17, 93, 77, 0.1);
  color: #0f5d4d;
  font-weight: 800;
}

@media (max-width: 920px) {
  .example-story-layout {
    grid-template-columns: 1fr;
  }
}

.example-print-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
  margin-top: 30px;
}

.example-print-report {
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 24px;
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.example-print-report-header h2 {
  margin: 5px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 500;
  line-height: 1.05;
}

.example-print-report-header p:last-child,
.example-print-report footer {
  color: var(--muted);
}

.example-print-map {
  min-height: 560px;
  padding: 12px;
}

.example-print-map #state-outline {
  pointer-events: none;
}

.example-print-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: #61736d;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.example-print-map .district-region :is(path, polygon, polyline) {
  fill: #e4ece6;
  stroke: #61736d;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.example-print-map .district-region:is(:hover, :focus) :is(path, polygon, polyline),
.example-print-map .district-region.is-print-selected :is(path, polygon, polyline) {
  fill: #bf6540;
  stroke: #164f45;
  stroke-width: 2.2;
}

.example-print-legend,
.example-print-legend span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.example-print-legend {
  padding: 14px 0;
  border-top: 1px solid rgba(16, 35, 31, 0.11);
  border-bottom: 1px solid rgba(16, 35, 31, 0.11);
  font-size: 12px;
}

.example-print-legend i {
  width: 18px;
  height: 18px;
  border: 1px solid #61736d;
  border-radius: 4px;
  background: #e4ece6;
}

.example-print-legend i.is-selected {
  background: #bf6540;
}

.example-print-selection,
.example-print-notes {
  margin-top: 22px;
}

.example-print-selection h3,
.example-print-notes h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-print-selection p,
.example-print-notes p {
  margin: 0;
  color: var(--muted);
}

.example-print-report footer {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 35, 31, 0.11);
  font-size: 10px;
}

.example-print-controls textarea {
  resize: vertical;
}

.example-print-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.example-print-districts {
  margin-top: 18px;
  padding: 0;
  border: 0;
}

.example-print-districts legend {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-print-districts > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  max-height: 330px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.65);
}

.example-print-districts label {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 0;
  font-size: 11px;
}

@media (min-width: 921px) {
  .example-print-report {
    position: sticky;
    top: 18px;
  }
}

@media (max-width: 920px) {
  .example-print-layout {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  .example-print-page { background: white; }
  .example-print-page .site-header,
  .example-print-page .example-print-builder-heading,
  .example-print-page .example-print-controls,
  .example-print-page .mobile-workspace-nav { display: none !important; }
  .example-print-page .example-page { width: auto; padding: 0; }
  .example-print-page .example-print-layout { display: block; margin: 0; }
  .example-print-page .example-print-report { position: static; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .example-print-page .example-print-map { min-height: 155mm; }
}

.example-pin-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(17, 93, 77, 0.1);
  color: #0f5d4d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-pin-map #state-outline {
  pointer-events: none;
}

.example-pin-map #state-outline :is(path, polygon, polyline) {
  fill: none;
  stroke: #61736d;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.example-pin-map .district-region :is(path, polygon, polyline) {
  fill: #dfe8e1;
  stroke: #61736d;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.example-pin-map .district-region.is-pin-muted {
  opacity: 0.35;
}

.example-pin-map .district-region.is-pin-focus :is(path, polygon, polyline) {
  fill: #c7653f;
  stroke: #164f45;
  stroke-width: 2.4;
}

.example-pin-source-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid #0f5d4d;
  background: rgba(17, 93, 77, 0.07);
}

.example-pin-source-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-pin-source-note p {
  margin: 0;
  font-size: 11px;
}

.example-pin-results {
  margin-top: 22px;
}

.example-pin-results h2 {
  margin: 3px 0 10px;
  font-size: 21px;
}

.example-pin-results ol {
  display: grid;
  gap: 7px;
  max-height: 440px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.example-pin-results button {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(16, 35, 31, 0.12);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.68);
  text-align: left;
}

.example-pin-results button.is-active {
  border-color: rgba(17, 93, 77, 0.52);
  background: rgba(17, 93, 77, 0.09);
}

.example-pin-results button strong {
  grid-row: 1 / 3;
  align-self: center;
  color: #0f5d4d;
}

.example-pin-results button span,
.example-pin-results button small {
  min-width: 0;
}

.example-pin-results button small,
.example-pin-empty {
  color: var(--muted);
  font-size: 10px;
}

.example-pin-empty {
  padding: 12px;
}

.example-pin-links {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  font-size: 11px;
}

@media (min-width: 921px) {
  .example-pin-map-panel {
    position: sticky;
    top: 18px;
  }
}

.example-poi-toggles {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  border: 0;
}

.example-poi-toggles legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.example-poi-toggles label {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.example-poi-key {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgba(16, 35, 31, 0.18);
}

.example-poi-key.is-reservoir {
  border-radius: 50%;
  background: #377fa5;
}

.example-poi-key.is-sanctuary {
  background: #3d8a66;
  transform: rotate(45deg);
}

.example-poi-key.is-station {
  border-radius: 2px;
  background: #bf6b3d;
}

.example-poi-results {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.example-poi-results button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.example-poi-results button.is-active {
  border-color: var(--focus);
  background: rgba(17, 93, 77, 0.08);
}

.example-poi-results small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.example-poi-detail {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.example-poi-detail a {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.example-poi-map .map-region {
  pointer-events: none;
}

.example-poi-map .map-region path {
  fill: #e4ece7;
  stroke: #607b70;
  stroke-width: 1.05;
}

.example-poi-layer {
  pointer-events: none;
}

.example-poi-marker {
  cursor: pointer;
  outline: none;
  pointer-events: auto;
}

.example-poi-marker.is-hidden {
  display: none;
}

.example-poi-hit {
  fill: transparent;
  stroke: none;
}

.example-poi-symbol {
  stroke: white;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 2px rgba(16, 35, 31, 0.34));
}

.example-poi-marker.is-reservoir .example-poi-symbol {
  fill: #377fa5;
}

.example-poi-marker.is-sanctuary .example-poi-symbol {
  fill: #3d8a66;
}

.example-poi-marker.is-station .example-poi-symbol {
  fill: #bf6b3d;
}

.example-poi-glyph {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.example-poi-marker:hover .example-poi-symbol,
.example-poi-marker:focus .example-poi-symbol,
.example-poi-marker.is-active .example-poi-symbol {
  stroke: #10231f;
  stroke-width: 3.5;
}

.example-poi-marker.is-active {
  filter: drop-shadow(0 0 5px rgba(239, 112, 65, 0.7));
}

.example-advanced-map .map-region {
  pointer-events: none;
}

.example-advanced-map .map-region path {
  fill: #e4ece7;
  stroke: #607b70;
  stroke-width: 1.05;
}

.example-cluster-layer,
.example-heat-layer,
.example-heat-focus-layer,
.example-route-layer,
.example-route-nodes,
.example-custom-layer {
  pointer-events: none;
}

.example-cluster-node,
.example-heat-source,
.example-route,
.example-custom-marker {
  cursor: pointer;
  outline: none;
  pointer-events: auto;
}

.example-cluster-node circle {
  fill: #bf6b3d;
  stroke: white;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(16, 35, 31, 0.28));
}

.example-cluster-node.is-cluster circle {
  fill: #115d4d;
}

.example-cluster-node:hover circle,
.example-cluster-node:focus circle {
  stroke: #10231f;
  stroke-width: 4;
}

.example-cluster-node text {
  fill: white;
  font-size: 11px;
  font-weight: 900;
  pointer-events: none;
}

.example-heat-layer {
  mix-blend-mode: multiply;
}

.example-heat-layer circle,
.example-heat-source {
  transition: opacity 150ms ease;
}

.example-heat-layer .is-hidden,
.example-heat-focus-layer .is-hidden,
.example-route.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.example-heat-hit,
.example-custom-hit {
  fill: transparent;
}

.example-heat-dot {
  fill: #a53a27;
  stroke: white;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.example-heat-source:hover .example-heat-dot,
.example-heat-source:focus .example-heat-dot {
  fill: #10231f;
  stroke-width: 2.5;
}

.example-heat-legend {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.example-heat-legend i {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3cf58, #f2a13a, #e04f2f);
}

.example-route-key {
  display: inline-block;
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.example-route-key.is-western,
.example-route.is-western .example-route-line {
  stroke: #b14f37;
  background: #b14f37;
}

.example-route-key.is-eastern,
.example-route.is-eastern .example-route-line {
  stroke: #2f7380;
  background: #2f7380;
}

.example-route-key.is-southern,
.example-route.is-southern .example-route-line {
  stroke: #6f6a2e;
  background: #6f6a2e;
}

.example-route-line,
.example-route-hit {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.example-route-line {
  stroke-width: 3;
  transition: stroke-width 140ms ease, opacity 140ms ease;
}

.example-route-hit {
  stroke: transparent;
  stroke-width: 16;
}

.example-route:hover .example-route-line,
.example-route:focus .example-route-line,
.example-route.is-active .example-route-line {
  stroke-width: 6;
}

.example-route-nodes circle {
  fill: #fffdf7;
  stroke: #10231f;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.example-time-map .map-region path,
.example-comparison-map .map-region path {
  fill: var(--example-fill, #dce9df);
}

.example-time-map .map-region:hover path,
.example-time-map .map-region:focus path,
.example-comparison-map .map-region:hover path,
.example-comparison-map .map-region:focus path {
  fill: var(--hover);
}

.example-time-map .map-region path {
  transition: fill 280ms ease;
}

.example-comparison-page {
  width: min(1540px, 100%);
}

.example-comparison-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 253, 247, 0.8);
  font-size: 11px;
  font-weight: 750;
}

.example-comparison-legend,
.example-comparison-legend span {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.example-comparison-legend span {
  gap: 6px;
}

.example-comparison-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.example-comparison-legend .is-a {
  background: #b74d2b;
}

.example-comparison-legend .is-b {
  background: #2a6877;
}

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

.example-compare-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.example-compare-panel h2 {
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(16, 35, 31, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.example-comparison-map {
  min-height: 480px;
}

.example-icon-error {
  min-height: 18px;
  margin-bottom: 0;
  color: #a43627 !important;
  font-weight: 800;
}

.example-custom-pin {
  fill: var(--icon-color, #bf6b3d);
  stroke: white;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 2px rgba(16, 35, 31, 0.3));
}

.example-custom-pin-dot {
  fill: white;
  pointer-events: none;
}

.example-custom-marker image {
  filter: drop-shadow(0 2px 2px rgba(16, 35, 31, 0.3));
  pointer-events: none;
}

.example-custom-marker:hover,
.example-custom-marker:focus,
.example-custom-marker.is-active {
  filter: drop-shadow(0 0 5px rgba(17, 93, 77, 0.75));
}

.example-embed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(18px, 4vw, 44px);
  align-items: start;
  margin-top: 30px;
}

.example-embed-preview {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.11);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.example-embed-preview iframe {
  display: block;
  width: 100%;
  min-height: 650px;
  border: 0;
}

.example-code {
  min-height: 160px;
  margin-top: 14px;
  resize: vertical;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
}

.embed-frame-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--paper);
}

.embed-frame {
  display: grid;
  width: min(760px, 100%);
  gap: 8px;
  padding: clamp(12px, 3vw, 24px);
}

.embed-frame-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.embed-frame india-svg-map {
  min-height: 520px;
}

.embed-frame india-svg-map > svg {
  max-height: 590px;
}

@media (max-width: 920px) {
  .examples-hero,
  .example-workspace,
  .example-embed-layout,
  .example-comparison-grid {
    grid-template-columns: 1fr;
  }

  .examples-browser {
    grid-template-columns: 1fr;
  }

  .examples-result-count {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin: 0;
  }

  .examples-filter-row {
    grid-row: 3;
  }

  .example-workspace:not(.has-mobile-workspace-nav) .example-control-panel {
    grid-row: 1;
  }

  .example-workspace.has-mobile-workspace-nav > .mobile-workspace-nav,
  .example-print-layout.has-mobile-workspace-nav > .mobile-workspace-nav,
  .example-embed-layout.has-mobile-workspace-nav > .mobile-workspace-nav,
  .example-story-layout.has-mobile-workspace-nav > .mobile-workspace-nav {
    position: sticky;
    z-index: 20;
    top: 8px;
    display: flex;
    width: fit-content;
    max-width: 100%;
  }

  .example-workspace.has-mobile-workspace-nav > .mobile-workspace-nav {
    grid-row: 1;
  }

  .example-workspace.has-mobile-workspace-nav > .example-control-panel {
    grid-row: 2;
  }

  .example-workspace.has-mobile-workspace-nav > .example-map-panel {
    grid-row: 3;
  }

  .example-print-layout.has-mobile-workspace-nav > .mobile-workspace-nav {
    grid-row: 1;
  }

  .example-print-layout.has-mobile-workspace-nav > .example-print-controls {
    grid-row: 2;
  }

  .example-print-layout.has-mobile-workspace-nav > .example-print-report {
    grid-row: 3;
  }

  .example-embed-layout.has-mobile-workspace-nav > .mobile-workspace-nav,
  .example-story-layout.has-mobile-workspace-nav > .mobile-workspace-nav {
    grid-row: 1;
  }

  .example-embed-layout.has-mobile-workspace-nav > .example-control-panel,
  .example-story-layout.has-mobile-workspace-nav > .example-map-panel {
    grid-row: 2;
  }

  .example-embed-layout.has-mobile-workspace-nav > .example-embed-preview,
  .example-story-layout.has-mobile-workspace-nav > .example-story-panel {
    grid-row: 3;
  }

  .example-workspace :is(.example-control-panel, .example-map-panel),
  .example-print-layout :is(.example-print-controls, .example-print-report),
  .example-embed-layout :is(.example-control-panel, .example-embed-preview),
  .example-story-layout :is(.example-story-panel, .example-map-panel) {
    scroll-margin-top: 76px;
  }

  .example-embed-preview iframe {
    min-height: 560px;
  }

  .example-comparison-map {
    min-height: 420px;
  }
}

@media (max-width: 1150px) and (min-width: 651px) {
  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 921px) {
  .example-finder-map-panel,
  .example-nearby-map-panel,
  .example-draw-map-panel,
  .example-coverage-map-panel,
  .example-incident-map-panel,
  .example-ranking-map-panel,
  .example-annotation-map-panel {
    position: sticky;
    top: 18px;
  }
}

@media (max-width: 520px) {
  .example-incident-filter-row,
  .example-incident-severity,
  .example-ranking-control-row,
  .example-annotation-control-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .examples-page,
  .example-page {
    padding-inline: 16px;
  }

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

  .example-card {
    min-height: 0;
  }

  .example-map-panel {
    min-height: 540px;
    border-radius: 18px;
  }

  .example-map {
    min-height: 420px;
    padding: 14px;
  }

  .example-map-toolbar {
    align-items: flex-start;
  }

  .mobile-workspace-nav {
    width: 100% !important;
  }

  .mobile-workspace-nav span {
    display: none;
  }

  .mobile-workspace-nav button {
    flex: 1;
  }

  .example-embed-preview iframe {
    min-height: 500px;
  }

  .embed-frame india-svg-map {
    min-height: 420px;
  }
}
