:root {
  --marathi-font: "Laila", sans-serif;
  --ink: #18332e;
  --muted: #61726e;
  --paper: #fbfdf9;
  --line: rgba(35, 65, 57, 0.13);
  --accent: #245b4e;
}

* {
  box-sizing: border-box;
}

html,
body,
#land-record-app {
  width: 100%;
  height: 100%;
  margin: 0;
}

html:lang(mr),
body,
#land-record-app {
  font-language-override: "MAR";
  font-feature-settings: "locl" 1;
}

body {
  overflow: hidden;
  background: #e9eeeb;
  color: var(--ink);
  font-family: var(--marathi-font);
  font-size: 17px;
}

button,
input,
output,
select,
textarea,
.leaflet-container {
  font-family: var(--marathi-font);
}

#land-record-app {
  position: relative;
}

.land-map {
  width: 100%;
  height: 100%;
  background: #dfe7e3;
}

.satellite-imagery-layer {
  filter: contrast(1.1) saturate(1.07) brightness(1.015);
  image-rendering: auto;
}

.satellite-imagery-layer img {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.survey-number-canvas {
  position: absolute;
  pointer-events: none;
}

.map-compass {
  position: absolute;
  z-index: 710;
  top: 18px;
  right: 18px;
  display: grid;
  justify-items: center;
  width: 145px;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
  pointer-events: none;
  user-select: none;
}

.map-compass__dial {
  position: relative;
  width: 115px;
  height: 115px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, rgba(5, 6, 6, 0.72) 0 2deg, transparent 2deg 15deg);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.08);
  color: #090a0a;
  font: 800 16px/1 var(--marathi-font);
}

.map-compass__dial > span {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: auto;
  height: 20px;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 3px #000;
  white-space: nowrap;
}

.map-compass__north { top: 3px; left: 50%; transform: translateX(-50%); }
.map-compass__east { top: 50%; right: 4px; transform: translateY(-50%); }
.map-compass__south { bottom: 3px; left: 50%; transform: translateX(-50%); }
.map-compass__west { top: 50%; left: 4px; transform: translateY(-50%); }

.map-compass__needle {
  position: absolute;
  z-index: 1;
  top: 22px;
  bottom: 22px;
  left: 50%;
  width: 22px;
  transform: translateX(-50%);
}

.map-compass__needle i,
.map-compass__needle b {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-right: 11px solid transparent;
  border-left: 11px solid transparent;
}

.map-compass__needle i {
  top: 0;
  border-bottom: 35px solid #c94f49;
}

.map-compass__needle b {
  bottom: 0;
  border-top: 35px solid #111313;
}

.map-compass__dial em {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #080a0a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
}

.land-brand {
  position: absolute;
  z-index: 700;
  top: 18px;
  left: 18px;
  width: min(430px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 18px 19px 16px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background: rgba(251, 253, 249, 0.91);
  box-shadow: 0 12px 35px rgba(14, 34, 29, 0.2);
  backdrop-filter: blur(14px);
}

.land-brand__top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.land-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #dcefe5;
  color: var(--accent);
  cursor: pointer;
  font-size: 22px;
  user-select: none;
}

.land-brand__mark:hover {
  background: #cce7da;
}

.land-brand__mark:focus-visible {
  outline: 3px solid rgba(40, 95, 81, 0.3);
  outline-offset: 2px;
}

.land-brand.land-brand--collapsed {
  width: 58px;
  max-height: 58px;
  padding: 8px;
  overflow: hidden;
}

.land-brand--collapsed > :not(.land-brand__top),
.land-brand--collapsed .land-brand__top > :not(.land-brand__mark) {
  display: none;
}

.land-brand h1 {
  margin: 0;
  font: 700 23px/1.3 var(--marathi-font);
  letter-spacing: 0.01em;
}

.land-brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.land-search,
.khata-search {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}

.khata-search {
  margin-top: 7px;
}

.owner-search {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}

.land-search input,
.khata-search input,
.owner-search input {
  min-width: 0;
  flex: 1;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}

.land-search input:focus,
.khata-search input:focus,
.owner-search input:focus {
  border-color: #6fa491;
  box-shadow: 0 0 0 3px rgba(111, 164, 145, 0.16);
}

.land-search button,
.khata-search button,
.owner-search button {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: #285f51;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.land-search button:disabled {
  opacity: 0.45;
}

.land-search .numeric-keyboard-toggle,
.khata-search .numeric-keyboard-toggle {
  padding: 0 10px;
  border: 1px solid rgba(40, 95, 81, 0.24);
  background: #edf5f0;
  color: #285f51;
  white-space: nowrap;
}

.land-search .numeric-keyboard-toggle[aria-expanded="true"],
.khata-search .numeric-keyboard-toggle[aria-expanded="true"] {
  background: #285f51;
  color: #fff;
}

.numeric-keyboard {
  margin-top: 7px;
  padding: 10px;
  border: 1px solid rgba(40, 95, 81, 0.2);
  border-radius: 14px;
  background: #f7faf7;
}

.numeric-keyboard[hidden] {
  display: none;
}

.numeric-keyboard__digits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.numeric-keyboard button {
  min-height: 42px;
  padding: 5px;
  border: 1px solid rgba(35, 65, 57, 0.17);
  border-radius: 8px;
  background: #fff;
  color: #18332e;
  cursor: pointer;
  font-size: 19px;
  font-weight: 750;
}

.numeric-keyboard button:hover,
.numeric-keyboard button:focus-visible {
  border-color: #4f8b79;
  background: #dcefe5;
  outline: none;
}

.numeric-keyboard__actions {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
}

.numeric-keyboard__actions button {
  background: #e7efeb;
  font-size: 13px;
  line-height: 1.2;
}

.search-input-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
}

.search-input-wrap input {
  width: 100%;
  padding-right: 40px;
}

.land-search .search-input-wrap .search-clear,
.khata-search .search-input-wrap .search-clear,
.owner-search .search-input-wrap .search-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 32px;
  min-height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background: transparent;
  color: #52645f;
  font-size: 23px;
  line-height: 1;
}

.land-search .search-input-wrap .search-clear:hover,
.khata-search .search-input-wrap .search-clear:hover,
.owner-search .search-input-wrap .search-clear:hover {
  background: #e7eeea;
  color: #18332e;
}

.search-input-wrap .search-clear[hidden] {
  display: none;
}

.shared-keyboard-control {
  margin-top: 7px;
}

.shared-keyboard-toggle {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(40, 95, 81, 0.24);
  border-radius: 10px;
  background: #edf5f0;
  color: #285f51;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.shared-keyboard-toggle[aria-expanded="true"] {
  background: #285f51 !important;
  color: #fff !important;
}

.shared-input-keyboard {
  margin-top: 7px;
  padding: 10px;
  border: 1px solid rgba(40, 95, 81, 0.2);
  border-radius: 14px;
  background: #f7faf7;
  box-shadow: inset 0 1px 0 #fff;
}

.shared-input-keyboard[hidden] {
  display: none;
}

.shared-input-keyboard__row,
.shared-input-keyboard__digits {
  display: grid;
  gap: 5px;
  margin-top: 5px;
}

.shared-input-keyboard__row {
  grid-template-columns: repeat(10, minmax(28px, 1fr));
}

.shared-input-keyboard__digits {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0;
}

.shared-input-keyboard__row:first-child {
  margin-top: 0;
}

.shared-input-keyboard button {
  min-width: 0;
  min-height: 38px;
  padding: 4px;
  border: 1px solid rgba(35, 65, 57, 0.17);
  border-radius: 8px;
  background: #fff;
  color: #18332e;
  cursor: pointer;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.1;
  box-shadow: 0 1px 2px rgba(14, 34, 29, 0.08);
}

.shared-input-keyboard button:hover,
.shared-input-keyboard button:focus-visible {
  border-color: #4f8b79;
  background: #dcefe5;
  outline: none;
}

.shared-input-keyboard__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.shared-input-keyboard__actions button {
  background: #e7efeb;
  font-size: 13px;
  line-height: 1.2;
}

.owner-search__status {
  min-height: 16px;
  margin-top: 5px;
  color: #667b74;
  font-size: 12px;
  line-height: 1.3;
}

.marathi-keyboard-control {
  margin-top: 7px;
}

#marathi-keyboard-toggle {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(40, 95, 81, 0.24);
  border-radius: 10px;
  background: #edf5f0;
  color: #285f51;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

#marathi-keyboard-toggle[aria-expanded="true"] {
  background: #285f51;
  color: #fff;
}

.marathi-keyboard {
  margin-top: 7px;
  padding: 10px;
  border: 1px solid rgba(40, 95, 81, 0.2);
  border-radius: 14px;
  background: #f7faf7;
  box-shadow: inset 0 1px 0 #fff;
}

.marathi-keyboard[hidden] {
  display: none;
}

.marathi-keyboard__row {
  display: grid;
  grid-template-columns: repeat(10, minmax(28px, 1fr));
  gap: 4px;
  margin-top: 4px;
}

.marathi-keyboard__row:first-child {
  margin-top: 0;
}

.marathi-keyboard button {
  min-width: 0;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(35, 65, 57, 0.17);
  border-radius: 7px;
  background: #fff;
  color: #18332e;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(14, 34, 29, 0.08);
}

.marathi-keyboard button:hover,
.marathi-keyboard button:focus-visible {
  border-color: #4f8b79;
  background: #dcefe5;
  outline: none;
}

.marathi-keyboard__actions {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1fr 1fr;
  gap: 5px;
  margin-top: 8px;
}

.marathi-keyboard__actions button {
  min-height: 38px;
  padding: 5px 7px;
  background: #e7efeb;
  font-size: 12px;
  line-height: 1.2;
}

.landmark-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #526b64;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.landmark-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #285f51;
}

.parcel-legend {
  display: grid;
  gap: 7px;
  margin-top: 11px;
  padding: 9px 10px;
  border: 1px solid rgba(40, 95, 81, 0.15);
  border-radius: 10px;
  background: rgba(247, 250, 247, 0.82);
}

.parcel-legend__item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #526b64;
  font-size: 13px;
  font-weight: 650;
}

.parcel-legend__item[hidden] {
  display: none;
}

.parcel-legend__swatch {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border-radius: 4px;
}

.parcel-legend__swatch--reconstructed {
  border: 1.5px solid #214f43;
  background: rgba(239, 68, 68, 0.65);
}

.parcel-legend__swatch--owner {
  border: 2px solid #002f9e;
  background: #0057ff;
}

.opacity-control {
  margin-top: 11px;
}

.opacity-control__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.opacity-control output {
  min-width: 34px;
  color: #315f54;
  font-weight: 800;
  text-align: right;
}

.opacity-control input {
  width: 100%;
  height: 4px;
  margin: 0;
  border-radius: 99px;
  accent-color: #3e806e;
  cursor: pointer;
}

.layer-adjust {
  display: none;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.layer-adjust summary {
  color: #42665d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  user-select: none;
}

.layer-adjust__grid {
  display: grid;
  grid-template-columns: 1fr 82px;
  align-items: center;
  gap: 7px 10px;
  margin-top: 9px;
}

.layer-adjust label {
  color: var(--muted);
  font-size: 11px;
}

.layer-adjust label span {
  color: #91a09c;
  font-size: 9px;
}

.layer-adjust__hint {
  margin: 7px 0 0;
  color: #7a8985;
  font-size: 9px;
  line-height: 1.35;
}

.layer-adjust input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: 600 11px/1 inherit;
}

.layer-adjust input:focus {
  border-color: #6fa491;
  box-shadow: 0 0 0 3px rgba(111, 164, 145, 0.16);
}

.layer-adjust > button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #315f54;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.land-progress {
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 9px;
  background: #dce5e1;
}

.land-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #4b8b78;
  transition: width 0.25s ease;
}

.land-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.land-status button {
  padding: 0;
  border: 0;
  background: none;
  color: #315f54;
  cursor: pointer;
  font: 700 13px inherit;
}

.leaflet-control-zoom {
  overflow: hidden;
  margin-bottom: 56px !important;
  border: 0 !important;
  border-radius: 13px !important;
  box-shadow: 0 7px 25px rgba(12, 30, 25, 0.2) !important;
}

.leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  font-size: 24px !important;
  line-height: 40px !important;
  background: rgba(252, 254, 250, 0.94) !important;
  color: #234d43 !important;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.75) !important;
  font-size: 11px !important;
}

.leaflet-tooltip {
  font-size: 14px;
  font-weight: 650;
}

.parcel-popup .leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(9, 29, 23, 0.33);
}

.parcel-popup .leaflet-popup-content {
  width: min(480px, calc(100vw - 40px)) !important;
  max-height: min(580px, 70vh);
  margin: 0;
  overflow: auto;
}

.parcel-popup .leaflet-popup-tip {
  background: var(--paper);
}

.leaflet-container .parcel-popup a.leaflet-popup-close-button {
  z-index: 4;
  top: 28px !important;
  right: 28px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid #285f51;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(14, 34, 29, 0.28);
  color: transparent;
  font-size: 0;
  text-align: center;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.leaflet-container .parcel-popup a.leaflet-popup-close-button::before {
  content: "×";
  display: block;
  color: #214f43;
  font: 600 28px/1 var(--marathi-font);
  transform: translateY(1px);
}

.leaflet-container .parcel-popup a.leaflet-popup-close-button span {
  display: none;
}

.leaflet-container .parcel-popup a.leaflet-popup-close-button:hover,
.leaflet-container .parcel-popup a.leaflet-popup-close-button:focus-visible {
  background: #285f51;
  box-shadow: 0 6px 16px rgba(14, 34, 29, 0.36);
  transform: scale(1.05);
}

.leaflet-container .parcel-popup a.leaflet-popup-close-button:hover::before,
.leaflet-container .parcel-popup a.leaflet-popup-close-button:focus-visible::before {
  color: #fff;
}

.leaflet-container .parcel-popup a.leaflet-popup-close-button:focus-visible {
  outline: 3px solid rgba(40, 95, 81, 0.25);
  outline-offset: 2px;
}

.record-head {
  padding: 22px 94px 17px 22px;
  background: linear-gradient(135deg, #e1f0e8, #f7efe0);
}

.record-kicker {
  color: #5b776e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.record-head h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 4px 0 2px;
  font: 700 28px/1.3 var(--marathi-font);
}

.record-place {
  color: #597069;
  font-size: 16px;
}

.record-body {
  padding: 15px 20px 20px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.record-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(105px, 0.75fr);
  gap: 7px;
  align-items: stretch;
}

.record-counts {
  display: grid;
  grid-row: 1;
  grid-column: 2;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f5f8f5;
}

.record-counts span {
  display: grid;
  align-content: center;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.record-counts span + span {
  border-top: 1px solid var(--line);
}

.record-counts b {
  display: block;
  margin-bottom: 1px;
  color: var(--ink);
  font-size: 16px;
}

.record-stat {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.record-stat--area {
  grid-row: 1;
  grid-column: 1;
}

.record-stat b {
  display: block;
  font-size: 15px;
}

.record-stat span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.record-stat__secondary {
  display: grid;
  gap: 2px;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.record-stat__secondary small {
  font-size: inherit;
}

.record-section {
  margin-top: 15px;
}

.record-section h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 7px;
  color: #547168;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.record-section h3 strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.record-section__heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.record-document-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid rgba(40, 95, 81, 0.3);
  border-radius: 8px;
  background: #fff;
  color: #285f51;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.record-document-button:hover,
.record-document-button:focus-visible {
  border-color: #285f51;
  background: #dcefe5;
  outline: none;
}

.record-document-dialog {
  width: min(1000px, calc(100vw - 32px));
  max-width: none;
  height: min(90vh, 900px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #f5f3ed;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.record-document-dialog::backdrop {
  background: rgba(6, 14, 12, 0.72);
  backdrop-filter: blur(3px);
}

.record-document-dialog__panel {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.record-document-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.record-document-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

#close-record-document {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(40, 95, 81, 0.3);
  border-radius: 50%;
  background: #edf5f0;
  color: #214f43;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.record-document-dialog__body {
  overflow: auto;
  padding: 14px;
}

.record-document-dialog__body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 20px rgba(20, 30, 26, 0.16);
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 24, 20, 0.32);
  backdrop-filter: blur(2px);
}

.app-loader[hidden] {
  display: none;
}

.app-loader__card {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 20px 28px 17px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(251, 253, 249, 0.98), rgba(231, 243, 236, 0.97));
  color: var(--ink);
  box-shadow: 0 18px 55px rgba(9, 29, 23, 0.3);
  text-align: center;
}

.app-loader__card p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.app-loader__card small {
  margin-top: -6px;
  color: var(--muted);
  font-size: 12px;
}

.app-loader__visual {
  position: relative;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 1px solid rgba(40, 95, 81, 0.2);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff4d6, #dcefe5 56%, #dbe8ff);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(36, 91, 78, 0.16);
}

.app-loader__visual::after {
  position: absolute;
  right: 8px;
  left: 8px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.75), transparent);
  box-shadow: 0 0 9px rgba(0, 87, 255, 0.35);
  content: "";
  animation: app-loader-scan 1.8s ease-in-out infinite;
}

.app-loader__visual svg {
  width: 100%;
  height: 100%;
  padding: 8px;
  fill: rgba(255, 255, 255, 0.3);
  stroke: #285f51;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-loader__parcel {
  stroke-width: 3;
  stroke-dasharray: 250;
  animation: app-loader-trace 2.1s ease-in-out infinite;
}

.app-loader__divisions {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 150;
  animation: app-loader-trace 2.1s 180ms ease-in-out infinite;
}

.app-loader__visual span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #285f51;
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 50, 42, 0.3);
  font-size: 18px;
  transform: translate(-50%, -50%);
  animation: app-loader-pulse 1.4s ease-in-out infinite;
}

@keyframes app-loader-trace {
  0% { stroke-dashoffset: 250; opacity: 0.35; }
  48%, 72% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -250; opacity: 0.35; }
}

@keyframes app-loader-scan {
  0%, 100% { top: 12px; opacity: 0.25; }
  50% { top: 74px; opacity: 1; }
}

@keyframes app-loader-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.record-card {
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.record-card__title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 750;
}

.record-card__khata {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.record-card__meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.owner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.owner {
  padding: 6px 10px;
  border-radius: 99px;
  background: #edf5f0;
  color: #31584e;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.record-loading,
.record-error,
.no-script {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.record-error {
  color: #8e4038;
}

.data-disclaimer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  overflow: hidden;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 34, 30, 0.94);
  color: #fff;
  box-shadow: 0 -3px 14px rgba(9, 29, 23, 0.18);
  font-size: 15px;
  line-height: 1.45;
}

.data-disclaimer__track {
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
  animation: land-record-disclaimer-scroll 70s linear infinite;
  will-change: transform;
}

.data-disclaimer:hover .data-disclaimer__track,
.data-disclaimer:focus-within .data-disclaimer__track {
  animation-play-state: paused;
}

.data-disclaimer strong {
  color: #ffe8a3;
}

.data-disclaimer a {
  color: #bfe4ff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes land-record-disclaimer-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.no-script {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 1000;
  width: min(420px, calc(100% - 32px));
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 15px 50px rgba(9, 29, 23, 0.2);
  transform: translate(-50%, -50%);
}

@media (max-width: 600px) {
  .map-compass {
    top: 10px;
    right: 10px;
    width: 145px;
    padding: 0;
    border-radius: 16px;
  }

  .map-compass__dial {
    width: 115px;
    height: 115px;
  }

  .map-compass__needle {
    top: 22px;
    bottom: 22px;
    width: 22px;
  }

  .map-compass__needle i,
  .map-compass__needle b {
    border-right-width: 11px;
    border-left-width: 11px;
  }

  .map-compass__needle i { border-bottom-width: 35px; }
  .map-compass__needle b { border-top-width: 35px; }

  .land-brand {
    top: 140px;
    left: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 150px);
  }

  .leaflet-control-zoom {
    margin-right: 10px !important;
    margin-bottom: 56px !important;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  .data-disclaimer {
    max-height: 84px;
    overflow: auto;
    padding: 8px 14px;
  }

  .data-disclaimer__track {
    min-width: 0;
    white-space: normal;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .app-loader__visual::after,
  .app-loader__parcel,
  .app-loader__divisions,
  .app-loader__visual span {
    animation: none;
  }
}
