/* Public catalog (OTG): left copy uses map/cabinet chrome language. */

.ask-catalog {
  --ask-chrome-text: rgba(15, 23, 42, 0.80);
  --ask-chrome-text-strong: rgba(15, 23, 42, 0.94);
  --ask-chrome-text-muted: rgba(15, 23, 42, 0.55);
  --ask-chrome-menu-bg: rgba(255, 255, 255, 0.96);
  --ask-chrome-menu-border: rgba(15, 23, 42, 0.08);
  --ask-chrome-hover-bg: rgba(241, 245, 249, 0.95);
  --ask-chrome-divider: rgba(15, 23, 42, 0.06);
  --ask-surface-radius: 16px;
  --ask-btn-radius: 12px;
  --ask-warm-active-bg: rgba(217, 184, 95, 0.11);
  --ask-warm-active-bg-strong: rgba(248, 242, 218, 0.72);
  --ask-warm-active-border: rgba(217, 184, 95, 0.30);
  --ask-warm-active-text: rgba(120, 83, 20, 0.92);
  --ask-page-bg: #f4f7fb;

  margin: 0;
  min-height: 100dvh;
  font-family: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ask-chrome-text-strong);
  background: var(--ask-page-bg);
  -webkit-font-smoothing: antialiased;
}

.ask-catalog__split {
  display: grid;
  /* Same left-panel width as parcel page (ask-catalog--parcel). */
  grid-template-columns: minmax(400px, 520px) minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
}

.ask-catalog__sheet {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--ask-chrome-menu-bg);
  border-right: 1px solid var(--ask-chrome-menu-border);
}

/* Desktop: handle hidden — list fills the left column. */
.ask-catalog__handle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 8px 0 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.ask-catalog__handle-bar {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 4px 12px rgba(15, 23, 42, 0.06);
  transition:
    background 0.15s ease,
    width 0.2s ease,
    transform 0.2s ease;
}

.ask-catalog__handle:hover .ask-catalog__handle-bar,
.ask-catalog--sheet-collapsed .ask-catalog__handle-bar {
  background: rgba(100, 116, 139, 0.52);
  width: 44px;
}

.ask-catalog--sheet-collapsed .ask-catalog__handle-bar {
  transform: scaleY(0.92);
}

.ask-catalog__handle:focus {
  outline: none;
}

.ask-catalog__handle:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  outline-offset: 4px;
  border-radius: 999px;
}

.ask-catalog__copy {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  /* Match parcel page panel: white chrome surface + right divider. */
  padding: 18px 18px 28px;
  background: var(--ask-chrome-menu-bg);
  border-right: 1px solid var(--ask-chrome-menu-border);
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.12) transparent;
}

.ask-catalog__copy::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.ask-catalog__copy::-webkit-scrollbar-track {
  background: transparent;
}

.ask-catalog__copy::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.10);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.ask-catalog__copy::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.ask-catalog__map-wrap {
  min-width: 0;
  min-height: 0;
  /* Match MapLibre 3D land fill — never the old blue-gray blank behind iframe. */
  background: #f2f3f0;
}

.ask-catalog__map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ask-catalog__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__crumbs a {
  color: rgba(15, 23, 42, 0.52);
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.ask-catalog__crumbs a:hover {
  color: var(--ask-warm-active-text);
  background: var(--ask-warm-active-bg);
  border-color: var(--ask-warm-active-border);
  text-decoration: none;
}

.ask-catalog__crumbs a:focus-visible {
  outline: none;
  color: var(--ask-warm-active-text);
  background: var(--ask-warm-active-bg-strong);
  border-color: var(--ask-warm-active-border);
  box-shadow: 0 0 0 3px var(--ask-warm-active-bg);
}

.ask-catalog__crumbs > span:not([aria-hidden]) {
  color: var(--ask-chrome-text-strong);
  font-weight: 650;
  letter-spacing: -0.01em;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ask-catalog__crumbs > span[aria-hidden="true"] {
  color: rgba(15, 23, 42, 0.22);
  font-weight: 400;
  font-size: 10px;
  padding: 0 1px;
  user-select: none;
}

.ask-catalog h1 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog h3 {
  margin: 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__oblast {
  margin: 0 0 18px;
  padding: 0;
}

.ask-catalog__oblast + .ask-catalog__oblast {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--ask-chrome-divider);
}

.ask-catalog__oblast [data-otg-district] {
  margin: 0 0 4px;
  padding: 0 0 0 2px;
}

.ask-catalog__level {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ask-catalog__level span {
  min-width: 0;
}

.ask-catalog__level--oblast {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(
    180deg,
    rgba(241, 245, 249, 0.95) 0%,
    rgba(248, 250, 252, 0.72) 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.ask-catalog__oblast-link {
  color: inherit;
  text-decoration: none;
}

.ask-catalog__oblast-link:hover {
  text-decoration: underline;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__level--district {
  margin: 10px 0 6px;
  padding: 3px 0 3px 8px;
  border-left: 2px solid rgba(15, 23, 42, 0.12);
  gap: 8px;
}

.ask-catalog__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: var(--ask-chrome-text-muted);
  background: transparent;
}

.ask-catalog__icon svg {
  display: block;
}

.ask-catalog__icon--oblast {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: rgba(30, 58, 95, 0.88);
  background: rgba(30, 58, 95, 0.08);
  border: 1px solid rgba(30, 58, 95, 0.10);
}

.ask-catalog__icon--district {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: rgba(71, 85, 105, 0.78);
  background: rgba(148, 163, 184, 0.14);
}

.ask-catalog__icon--hromada {
  width: 18px;
  height: 18px;
  color: rgba(146, 110, 30, 0.82);
}

.ask-catalog__list li.is-active .ask-catalog__icon--hromada {
  color: var(--ask-warm-active-text);
}

.ask-catalog__lead,
.ask-catalog__meta,
.ask-catalog__note {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text);
}

/* Detail body after facts: same panel voice as lead */
.ask-catalog__prose {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}

.ask-catalog__prose h2 {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__prose p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text);
}

.ask-catalog__meta {
  font-size: 12px;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__note {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--ask-chrome-divider);
  font-size: 11px;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__search input {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--ask-chrome-menu-border);
  border-radius: var(--ask-btn-radius);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ask-chrome-text-strong);
  outline: none;
}

.ask-catalog__search input:hover {
  border-color: rgba(15, 23, 42, 0.14);
}

.ask-catalog__search input:focus {
  border-color: var(--ask-warm-active-border);
  box-shadow: 0 0 0 3px var(--ask-warm-active-bg);
}

.ask-catalog__list {
  margin: 0 0 8px;
  padding: 0 0 0 6px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.ask-catalog__list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.ask-catalog__list li:hover {
  background: var(--ask-chrome-hover-bg);
}

.ask-catalog__list li.is-active {
  background: var(--ask-warm-active-bg-strong);
  border-color: var(--ask-warm-active-border);
}

.ask-catalog__list a {
  text-decoration: none;
}

.ask-catalog__name {
  min-width: 0;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__list li.is-active .ask-catalog__name {
  color: var(--ask-warm-active-text);
}

.ask-catalog__name:hover {
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__open {
  justify-self: end;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ask-warm-active-text);
  white-space: nowrap;
  opacity: 0;
}

.ask-catalog__hubs > li.ask-catalog__hub .ask-catalog__open {
  opacity: 0.72;
}

.ask-catalog__hubs > li.ask-catalog__hub:hover .ask-catalog__open,
.ask-catalog__hubs > li.ask-catalog__hub:focus-within .ask-catalog__open {
  opacity: 1;
}

.ask-catalog__cad-info {
  flex: 0 0 34px;
  width: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
  color: var(--ask-chrome-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ask-catalog__cad-info:hover,
.ask-catalog__cad-info.is-active {
  background: var(--ask-warm-active-bg-strong);
  color: var(--ask-warm-active-text);
}

.ask-catalog__cad-info:focus-visible {
  outline: 2px solid var(--ask-warm-active-border);
  outline-offset: 1px;
}

.ask-catalog__list li:hover .ask-catalog__open,
.ask-catalog__list li.is-active .ask-catalog__open,
.ask-catalog__open:focus-visible {
  opacity: 1;
}

.ask-catalog__top-settlements {
  margin: 4px 0 20px;
}

.ask-catalog__top-settlements__title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__cities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ask-catalog__city {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 0;
  background: var(--ask-chrome-hover-bg);
  color: var(--ask-chrome-text-strong);
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    background 0.14s ease,
    color 0.14s ease;
}

.ask-catalog__city:visited {
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__city:hover {
  background: var(--ask-warm-active-bg-strong);
  color: var(--ask-warm-active-text);
}

.ask-catalog__city:focus-visible {
  outline: 2px solid var(--ask-warm-active-border);
  outline-offset: 1px;
}

/* Parcel page — copy/share in title row (top-right, no white tile) */
.ask-catalog__parcel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}

.ask-catalog__parcel-head h1 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-right: 4px;
}

.ask-catalog__parcel-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding-top: 2px;
}

.ask-catalog__parcel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.ask-catalog__parcel-action {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(15, 23, 42, 0.48);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.ask-catalog__parcel-action:hover,
.ask-catalog__parcel-action:focus-visible {
  background: transparent;
  color: rgba(15, 23, 42, 0.88);
  box-shadow: none;
  outline: none;
}

.ask-catalog__parcel-action:active {
  opacity: 0.78;
}

.ask-catalog__parcel-action svg {
  display: block;
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.ask-catalog__parcel-action-tip {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  left: auto;
  transform: none;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease;
  z-index: 2;
}

.ask-catalog__parcel-action.is-copied .ask-catalog__parcel-action-tip,
.ask-catalog__parcel-action-tip.is-on {
  opacity: 1;
}

.ask-catalog__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 16px 0 18px;
}

.ask-catalog__facts > div {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--ask-chrome-hover-bg);
}

.ask-catalog__facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__facts dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 550;
  color: var(--ask-chrome-text-strong);
  word-break: break-word;
}

.ask-catalog__facts a.ask-catalog__ext {
  color: var(--ask-warm-active-text);
  text-decoration: none;
}

.ask-catalog__facts a.ask-catalog__ext:hover {
  text-decoration: underline;
}

/* Parcel page — Territory Explorer Level 4 (aligned with index / oblast / OTG) */
.ask-catalog--parcel .ask-catalog__split {
  grid-template-columns: minmax(360px, 40%) minmax(0, 1fr);
}

.ask-catalog--parcel .ask-catalog__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--parcel .ask-catalog__parcel-main {
  min-width: 0;
}

.ask-catalog--parcel .ask-catalog__parcel-head {
  margin: 0 0 6px;
  gap: 12px;
}

.ask-catalog--parcel .ask-catalog__parcel-head h1 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  /* Long cadnum must not paint over copy/share — wrap instead of nowrap overflow */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ask-catalog--parcel .ask-catalog__passport-meta {
  margin: 0 0 10px;
}

.ask-catalog--parcel .ask-catalog__lead--index {
  margin: 0 0 16px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--parcel .ask-catalog__fact-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 18px;
}

.ask-catalog--parcel .ask-catalog__fact-card {
  margin: 0;
  padding: 9px 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ask-catalog--parcel .ask-catalog__fact-card:last-child { padding-bottom: 0; }

.ask-catalog--parcel .ask-catalog__fact-card-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ask-chrome-text-strong);
  line-height: 1.2;
}

.ask-catalog--parcel .ask-catalog__fact-card .ask-catalog__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ask-catalog--parcel .ask-catalog__fact-card .ask-catalog__facts > .ask-catalog__fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ask-catalog--parcel .ask-catalog__fact-card--purpose .ask-catalog__fact,
.ask-catalog--parcel .ask-catalog__fact-card--location .ask-catalog__fact {
  grid-column: 1 / -1;
}

.ask-catalog--parcel .ask-catalog__fact-icon {
  width: 34px;
  height: 34px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--ask-chrome-menu-border);
  color: rgba(71, 85, 105, 0.78);
  pointer-events: none;
}

.ask-catalog--parcel .ask-catalog__fact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ask-catalog--parcel .ask-catalog__fact-body {
  min-width: 0;
  flex: 1 1 auto;
}

.ask-catalog--parcel .ask-catalog__facts .ask-catalog__fact dt {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ask-chrome-text-muted);
  line-height: 1.2;
}

.ask-catalog--parcel .ask-catalog__facts .ask-catalog__fact dd {
  display: block;
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ask-chrome-text-strong);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ask-catalog--parcel .ask-catalog__parcel-sketch {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: none;
}

.ask-catalog--parcel .ask-catalog__prose--parcel {
  margin: 12px 0 0;
  padding-top: 0;
  border-top: none;
}

/*
 * Parcel sidebar scrollbar: same LOCAL catalog chrome as .ask-catalog__copy
 * (thin light-gray thumb, transparent track, rounded via padding-box).
 * Do not darken / widen — matches localhost public-catalog.css reference.
 */
.ask-catalog--parcel .ask-catalog__copy {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.12) transparent;
}

.ask-catalog--parcel .ask-catalog__copy::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.ask-catalog--parcel .ask-catalog__copy::-webkit-scrollbar-track {
  background: transparent;
}

.ask-catalog--parcel .ask-catalog__copy::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.10);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: none;
}

.ask-catalog--parcel .ask-catalog__copy::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: none;
}

.ask-catalog--parcel .ask-catalog__map-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.ask-catalog--parcel .ask-catalog__map-cta-stack .ask-catalog__map-cta {
  margin: 0;
}

.ask-catalog--parcel .ask-catalog__map-cta--google {
  background: #fff;
}

.ask-catalog--parcel .ask-catalog__cedr > h2,
.ask-catalog--parcel .ask-catalog__court > h2 {
  margin: 14px 0 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ask-chrome-text-strong);
  line-height: 1.2;
}

.ask-catalog--parcel .ask-catalog__cedr-item,
.ask-catalog--parcel .ask-catalog__court-item {
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.55);
  box-shadow: none;
}

@media (max-width: 860px) {
  .ask-catalog--parcel .ask-catalog__split {
    grid-template-columns: 1fr;
  }

  .ask-catalog--parcel .ask-catalog__parcel-head h1 {
    font-size: 16px;
  }

  .ask-catalog--parcel .ask-catalog__fact-card .ask-catalog__facts {
    grid-template-columns: 1fr;
  }
}

.ask-catalog__cedr {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}


.ask-catalog__cedr > h2 {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #475569;
}

.ask-catalog__cedr-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__kpi-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; color: rgba(71,85,105,.78); border: 1px solid var(--ask-chrome-menu-border); border-radius: 10px; }
.ask-catalog__kpi-icon svg { display: block; width: 18px; height: 18px; }

.ask-catalog__cedr-item {
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.94)
  );
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.045);
}

.ask-catalog__cedr-item-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ask-catalog__cedr-item-main {
  min-width: 0;
  flex: 1 1 auto;
}

.ask-catalog__cedr-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: rgba(71, 85, 105, 0.78);
}

.ask-catalog__cedr-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.ask-catalog__cedr-icon--ext {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: rgba(37, 99, 235, 0.78);
}

.ask-catalog__cedr-title {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: #0f172a;
}

.ask-catalog__cedr-object {
  margin: -2px 0 8px;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.ask-catalog__cedr-subtitle,
.ask-catalog__cedr-summary {
  margin: -4px 0 10px;
  color: #64748b;
  font-size: 12px;
}

.ask-catalog__cedr-summary {
  margin-top: 0;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__cedr-timeline {
  display: grid;
  gap: 2px;
  border-left: 0;
  padding-left: 0;
}

.ask-catalog__cedr-event,
.ask-catalog__cedr-more {
  position: relative;
  min-width: 0;
  max-width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
}


.ask-catalog__cedr-event > summary,
.ask-catalog__cedr-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 10px;
}

.ask-catalog__cedr-timeline .ask-catalog__cedr-event {
  margin: 2px 0;
  transition: background-color 160ms ease;
}

.ask-catalog__cedr-timeline .ask-catalog__cedr-event:hover,
.ask-catalog__cedr-timeline .ask-catalog__cedr-event[open] {
  background: rgba(241, 245, 249, 0.42);
}

.ask-catalog__cedr-event > summary:focus-visible,
.ask-catalog__cedr-more > summary:focus-visible {
  outline: 2px solid #5578c8;
  outline-offset: 2px;
  border-radius: 8px;
}

.ask-catalog__cedr-event > summary::-webkit-details-marker,
.ask-catalog__cedr-more > summary::-webkit-details-marker {
  display: none;
}

.ask-catalog__cedr-event-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ask-catalog__cedr-event-type {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.ask-catalog__cedr-event-meta {
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.ask-catalog__cedr-detail {
  padding: 0 12px 12px;
  color: #475569;
  font-size: 12px;
  line-height: 1.4;
}

.ask-catalog__cedr-detail p {
  margin: 6px 0;
}

.ask-catalog__cedr-detail ul,
.ask-catalog__cedr-orgs ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.ask-catalog__cedr-orgs {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.ask-catalog__cedr-orgs h3 {
  margin: 0;
  font-size: 13px;
}

.ask-catalog__cedr-orgs li {
  margin: 5px 0;
  color: #475569;
  font-size: 11px;
}

.ask-catalog__cedr-more {
  margin-top: 4px;
  color: #334155;
  font-size: 12px;
  font-weight: 650;
}

/* Shared construction timeline rows. */

.ask-catalog__cedr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.ask-catalog__cedr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.9);
  color: #1e3a8a;
  font-size: 0.76rem;
  font-weight: 700;
}

.ask-catalog__cedr-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1rem;
}

@media (max-width: 640px) {
  .ask-catalog__cedr-detail-grid { grid-template-columns: 1fr; }
}

.ask-catalog__cedr-event > summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ask-catalog__cedr-event-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-size: 15px;
  line-height: 1;
}

.ask-catalog__cedr-event-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ask-catalog__cedr-event-date {
  color: #64748b;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.ask-catalog__cedr-event-type {
  overflow-wrap: anywhere;
  color: #1e293b;
  font-size: 13px;
  line-height: 1.3;
}

.ask-catalog__cedr-event-meta {
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: 11px;
  line-height: 1.3;
}

.ask-catalog__cedr-event-meta a {
  color: #2563eb;
}

.ask-catalog__cedr-timeline .ask-catalog__cedr-event > summary,

.ask-catalog__cedr-timeline .ask-catalog__cedr-event-dot,

.ask-catalog__cedr-document-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #64748b;
  flex: 0 0 20px;
}

.ask-catalog__cedr-document-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ask-catalog__cedr-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ask-catalog__cedr-status-badge--active { background: #e2f5cc; color: #3d7426; }
.ask-catalog__cedr-status-badge--returned { background: #fff0d5; color: #96641e; }
.ask-catalog__cedr-status-badge--rejected { background: #fbe1e2; color: #ab4145; }
.ask-catalog__cedr-status-badge--suspended { background: #ffe5d0; color: #aa5d22; }
.ask-catalog__cedr-status-badge--cancelled { background: #eae7ed; color: #6f5e78; }
.ask-catalog__cedr-status-badge--neutral { background: #e9edf2; color: #667488; }


.ask-catalog__cedr-detail {
  margin: 0 12px 12px 43px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  background: transparent;
}


.ask-catalog__cedr-org-row {
  display: grid;
  gap: 2px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}

.ask-catalog__cedr-org-row span {
  color: #64748b;
  font-size: 11px;
}

.ask-catalog__cedr-org-more {
  margin-top: 8px;
}

.ask-catalog__cedr-org-more summary {
  cursor: pointer;
  color: #475569;
  font-size: 12px;
  font-weight: 650;
}


@media (max-width: 600px) {
  .ask-catalog__cedr-detail {
    margin-left: 12px;
  }
}

.ask-catalog__organization-code {
  margin: -8px 0 6px;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__organization-status {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 10px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.8);
  color: #1d4ed8;
  font-size: 12px;
}

.ask-catalog__org-stats {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
}

.ask-catalog__org-stats > div {
  display: grid;
  gap: 4px;
  min-width: 110px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #f8fafc;
}

.ask-catalog__org-stats strong {
  color: #1e293b;
  font-size: 20px;
}

.ask-catalog__org-stats span,
.ask-catalog__org-doc small,
.ask-catalog__org-parcel span {
  color: #64748b;
  font-size: 11px;
}

.ask-catalog__org-section {
  margin-top: 22px;
}

.ask-catalog__org-section h2 {
  margin-bottom: 10px;
}

.ask-catalog__org-section ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.ask-catalog__org-doc,
.ask-catalog__org-parcel {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
}

.ask-catalog__org-doc span,
.ask-catalog__org-parcel span {
  color: #475569;
  font-size: 12px;
}

.ask-catalog__org-doc a,
.ask-catalog__org-parcel a {
  color: #2563eb;
}

@media (max-width: 600px) {
  .ask-catalog__org-stats > div {
    min-width: 0;
    flex: 1 1 0;
    padding: 9px;
  }
}

.ask-catalog__cedr-title-link {
  display: inline;
  color: inherit;
  text-decoration: none;
}

.ask-catalog__cedr-title-link .ask-catalog__cedr-title-text {
  background-image: linear-gradient(
    transparent 70%,
    rgba(37, 99, 235, 0.14) 0
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ask-catalog__cedr-title-link:hover .ask-catalog__cedr-title-text,
.ask-catalog__cedr-title-link:focus-visible .ask-catalog__cedr-title-text {
  color: #1d4ed8;
  background-image: linear-gradient(
    transparent 70%,
    rgba(37, 99, 235, 0.22) 0
  );
}

.ask-catalog__cedr-title-link .ask-catalog__cedr-icon--ext {
  display: inline-flex;
  vertical-align: -3px;
  margin-left: 4px;
}

.ask-catalog__cedr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 2px;
}

.ask-catalog__cedr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__cedr-chip .ask-catalog__cedr-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: rgba(71, 85, 105, 0.72);
}

.ask-catalog__cedr-chip .ask-catalog__cedr-icon svg {
  width: 13px;
  height: 13px;
}

.ask-catalog__cedr-role {
  margin: 12px 0 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
}

.ask-catalog__cedr-apps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ask-catalog__cedr-app {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.ask-catalog__cedr-app-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ask-catalog__cedr-app-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
  line-height: 1.35;
}

.ask-catalog__cedr-edrpou {
  font-size: 11.5px;
  font-weight: 550;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__settlements {
  margin: 0 0 18px;
}

.ask-catalog__settlements__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__settlements__empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__settlements__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ask-catalog__settlements__table th,
.ask-catalog__settlements__table td {
  padding: 7px 8px;
  text-align: left;
  border-bottom: 1px solid var(--ask-chrome-border, rgba(0, 0, 0, 0.08));
  vertical-align: top;
}

.ask-catalog__settlements__table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__settlements__table a {
  color: var(--ask-warm-active-text);
  text-decoration: none;
  font-weight: 550;
}

.ask-catalog__settlements__table a:hover {
  text-decoration: underline;
}

.ask-catalog__settlements__pop {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__cad {
  margin: -2px 0 18px;
  padding: 10px;
  border-radius: 12px;
  background: var(--ask-chrome-hover-bg);
}

.ask-catalog__cad-label {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__cad-pills {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.ask-catalog__cad-pill {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
  color: var(--ask-chrome-text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.14s ease,
    color 0.14s ease,
    box-shadow 0.14s ease;
}

.ask-catalog__cad-pill:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ask-chrome-text-strong);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.ask-catalog__cad-pill.is-active {
  background: var(--ask-warm-active-bg-strong);
  color: var(--ask-warm-active-text);
  box-shadow: none;
}

.ask-catalog__cad-pill:focus-visible {
  outline: 2px solid var(--ask-warm-active-border);
  outline-offset: 1px;
}

.ask-catalog__cad-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: block;
  opacity: 0.9;
}

.ask-catalog__cad-pill.is-active .ask-catalog__cad-icon {
  opacity: 1;
}

/* Parcel page — SSR geometry sketch with approximate edge lengths */
.ask-catalog__parcel-sketch {
  margin: 14px 0 18px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.ask-catalog__parcel-sketch svg {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.ask-catalog__parcel-sketch-poly {
  fill: rgba(217, 184, 95, 0.18);
  stroke: rgba(146, 110, 30, 0.78);
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.ask-catalog__parcel-sketch-label {
  fill: rgba(90, 62, 14, 0.88);
  font-size: 11px;
  font-weight: 650;
  font-family: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  paint-order: stroke;
  stroke: rgba(255, 252, 240, 0.92);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.ask-catalog__parcel-sketch-cap {
  margin: 8px 2px 0;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--ask-chrome-text-muted);
  text-align: center;
}

.ask-catalog__fullmap {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--ask-btn-radius);
  border: 1px solid var(--ask-chrome-menu-border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ask-chrome-text-strong);
  text-decoration: none;
}

.ask-catalog__fullmap:hover {
  background: var(--ask-chrome-hover-bg);
}

.ask-catalog a:focus-visible {
  outline: 2px solid var(--ask-warm-active-border);
  outline-offset: 2px;
}

@media (hover: none) {
  .ask-catalog__open {
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .ask-catalog__split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
  }

  .ask-catalog__map-wrap {
    order: -1;
    min-height: 100%;
    height: 100%;
  }

  /* Bottom sheet over the map — cabinet-style handle collapses it. */
  .ask-catalog__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    order: 0;
    max-height: min(54dvh, 420px);
    height: auto;
    border-right: 0;
    border-radius: 16px 16px 0 0;
    box-shadow:
      0 -10px 36px rgba(15, 23, 42, 0.14),
      0 0 0 0.5px rgba(15, 23, 42, 0.06);
    transition:
      max-height 0.28s ease,
      box-shadow 0.2s ease;
    will-change: transform;
  }

  .ask-catalog--sheet-collapsed .ask-catalog__sheet {
    max-height: 40px;
    max-height: calc(40px + env(safe-area-inset-bottom, 0px));
    /* Only the handle may capture touches; map stays interactive above. */
    pointer-events: none;
    box-shadow:
      0 -6px 24px rgba(15, 23, 42, 0.12),
      0 0 0 0.5px rgba(15, 23, 42, 0.06);
  }

  .ask-catalog--sheet-collapsed .ask-catalog__handle {
    pointer-events: auto;
  }

  /* EXPANDED: height from --ask-catalog-sheet-expanded-h (search-bar bottom). */
  .ask-catalog--sheet-expanded .ask-catalog__sheet {
    max-height: var(
      --ask-catalog-sheet-expanded-h,
      calc(100dvh - 56px - env(safe-area-inset-top, 0px))
    );
  }

  /*
   * Map iframe overlays (parcel fact sheet / cadastral category filter) sit
   * inside the embed — parent sheet (even collapsed handle) paints over them.
   * Hide sheet for the open duration.
   */
  .ask-catalog--fact-sheet-open .ask-catalog__sheet,
  .ask-catalog--cadastral-legend-open .ask-catalog__sheet {
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(110%);
    box-shadow: none;
  }

  /* Live drag: kill CSS max-height transition so expand does not jump to 54dvh. */
  .ask-catalog--sheet-dragging .ask-catalog__sheet {
    transition: none !important;
  }

  .ask-catalog__handle {
    display: inline-flex;
    height: 22px;
    padding: 8px 0 4px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  .ask-catalog__copy {
    border-top: 0;
    border-right: 0;
    padding: 4px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .ask-catalog--sheet-collapsed .ask-catalog__copy {
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ask-catalog__open {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .ask-catalog__sheet {
    max-height: min(56dvh, 440px);
  }

  /* Restate after the half bump so state snaps keep winning on narrow phones. */
  .ask-catalog--sheet-collapsed .ask-catalog__sheet {
    max-height: 40px;
    max-height: calc(40px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }

  .ask-catalog--sheet-collapsed .ask-catalog__handle {
    pointer-events: auto;
  }

  .ask-catalog--sheet-expanded .ask-catalog__sheet {
    max-height: var(
      --ask-catalog-sheet-expanded-h,
      calc(100dvh - 56px - env(safe-area-inset-top, 0px))
    );
  }
}

.ask-catalog__hub-shelf {
  margin: 0 0 8px;
}

.ask-catalog__hubs {
  padding: 0;
  gap: 8px;
}

.ask-catalog__hubs > li.ask-catalog__hub {
  grid-template-columns: 26px minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(
    180deg,
    rgba(241, 245, 249, 0.95) 0%,
    rgba(248, 250, 252, 0.72) 100%
  );
}

.ask-catalog__hubs > li.ask-catalog__hub.is-capital {
  background: linear-gradient(
    180deg,
    rgba(248, 242, 218, 0.72) 0%,
    rgba(241, 245, 249, 0.88) 100%
  );
}

.ask-catalog__hub-meta,
.ask-catalog__capital-meta {
  font-size: 11px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__capital-meta {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ask-catalog__item-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.ask-catalog__list--capitals,
.ask-catalog__list li.is-capital {
  margin-bottom: 8px;
}

.ask-catalog__list li.is-capital {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(
    180deg,
    rgba(248, 242, 218, 0.72) 0%,
    rgba(241, 245, 249, 0.88) 100%
  );
}

.ask-catalog__otg-hits {
  margin: 0 0 14px;
  padding: 10px 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--ask-chrome-menu-border);
  background: rgba(255, 255, 255, 0.72);
}

.ask-catalog__otg-hits__title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__otg-hits__list {
  margin: 0;
  padding: 0;
}
/* Phase J.5 — Судова історія: product parcel-card language */
.ask-catalog__court {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ask-catalog__court > h2 {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #475569;
}

.ask-catalog__court-banner {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(217, 184, 95, 0.35);
  background: rgba(248, 242, 218, 0.72);
  color: rgba(120, 83, 20, 0.92);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.ask-catalog__court-note,
.ask-catalog__court-attr {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(71, 85, 105, 0.88);
}

.ask-catalog__court-attr {
  font-size: 11px;
  color: rgba(100, 116, 139, 0.9);
}

.ask-catalog__court-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.94);
  font-size: 12px;
  color: #475569;
}

.ask-catalog__court-filters label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  font-weight: 550;
}

.ask-catalog__court-visible {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.ask-catalog__court-sec {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-catalog__court-sec-title {
  margin: 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  line-height: 1.2;
}

.ask-catalog__court-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(241, 245, 249, 0.95);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #475569;
  vertical-align: 1px;
}

.ask-catalog__court-item {
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.94)
  );
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.045);
}

.ask-catalog__court-item-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
}

.ask-catalog__court-item-main {
  min-width: 0;
  flex: 1 1 auto;
}

.ask-catalog__court-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}

.ask-catalog__court-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.ask-catalog__court-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: rgba(71, 85, 105, 0.78);
}

.ask-catalog__court-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.ask-catalog__court-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ask-catalog__court-tag--demo {
  border: 1px solid rgba(217, 184, 95, 0.35);
  background: rgba(248, 242, 218, 0.85);
  color: rgba(120, 83, 20, 0.92);
}

.ask-catalog__court-tag--level {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(241, 245, 249, 0.95);
  color: #334155;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__court-doc {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #0f172a;
}

.ask-catalog__court-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ask-catalog__court-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__court-chip .ask-catalog__court-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: rgba(71, 85, 105, 0.72);
}

.ask-catalog__court-chip .ask-catalog__court-icon svg {
  width: 13px;
  height: 13px;
}

.ask-catalog__court-toggle {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ask-catalog__court-toggle:hover,
.ask-catalog__court-toggle:focus-visible {
  background: rgba(241, 245, 249, 0.98);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  outline: none;
}

.ask-catalog__court-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0 0 12px;
}

.ask-catalog__court-fact {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.ask-catalog__court-fact--org,
.ask-catalog__court-fact--level,
.ask-catalog__court-fact--review,
.ask-catalog__court-fact--link {
  grid-column: 1 / -1;
}

.ask-catalog__court-fact-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ask-catalog__court-fact-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
  line-height: 1.2;
}

.ask-catalog__court-fact-value {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ask-catalog__court-fact-sub {
  font-size: 11.5px;
  font-weight: 550;
  color: #64748b;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__court-explain {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(71, 85, 105, 0.92);
}

.ask-catalog__court-excerpt {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(241, 245, 249, 0.72);
  font-size: 12px;
  line-height: 1.45;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}

.ask-catalog__court-caveat {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(100, 116, 139, 0.95);
}

.ask-catalog__court-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.ask-catalog__court-details h4 {
  margin: 10px 0 6px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ask-catalog__court-details h4:first-child {
  margin-top: 0;
}

.ask-catalog__court-details p,
.ask-catalog__court-details ul {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #334155;
}

.ask-catalog__court-details ul {
  padding-left: 1.15em;
}

.ask-catalog__court-axes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 0;
}

.ask-catalog__court-axes div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.ask-catalog__court-axes dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.ask-catalog__court-axes dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

@media (max-width: 720px) {
  .ask-catalog__court-facts,
  .ask-catalog__court-axes {
    grid-template-columns: 1fr;
  }

  .ask-catalog__court-visible {
    margin-left: 0;
    width: 100%;
  }
}

/* OTG passport — Territory Explorer chrome (aligned with index + oblast) */
.ask-catalog--otg-passport .ask-catalog__split {
  grid-template-columns: minmax(360px, 40%) minmax(0, 1fr);
}

.ask-catalog--otg-passport .ask-catalog__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--otg-passport .ask-catalog__copy > h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ask-catalog--otg-passport .ask-catalog__lead--index {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__passport-meta {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
  line-height: 1.35;
}

.ask-catalog__cover {
  position: relative;
  margin: 0 0 14px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ask-chrome-menu-border);
  background: transparent;
}

.ask-catalog__cover--photo {
  background: #0f172a;
}

.ask-catalog__cover picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ask-catalog__cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Unified passport metrics: primary 2×2 + secondary 3-up, same card chrome. */
.ask-catalog__kpi-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.ask-catalog__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.ask-catalog__kpis--secondary.ask-catalog__kpis--cols-1 {
  grid-template-columns: 1fr;
}

.ask-catalog__kpis--secondary.ask-catalog__kpis--cols-2 {
  grid-template-columns: 1fr 1fr;
}

.ask-catalog__kpis--secondary.ask-catalog__kpis--cols-3 {
  /* Extra width for the full КАТОТТГ code on one line. */
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 0.9fr);
}

.ask-catalog__kpi {
  padding: 12px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: none;
  min-width: 0;
}

.ask-catalog__kpi strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__kpi span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ask-chrome-text-muted);
  letter-spacing: 0.01em;
}

/* Secondary: same chrome/height rhythm as primary — no forced min-height. */
.ask-catalog__kpis--secondary .ask-catalog__kpi {
  padding: 12px;
}

.ask-catalog__kpis--secondary .ask-catalog__kpi strong {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ask-catalog__kpis--secondary .ask-catalog__kpi span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

/* Full КАТОТТГ on one line: scale to card width, never ellipsis. */
.ask-catalog__kpi--code {
  container-type: inline-size;
  container-name: kpi-code;
}

.ask-catalog__kpi--code strong {
  font-family: inherit;
  font-size: clamp(9px, 8.2cqi, 14px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
}

.ask-catalog__kpi strong a.ask-catalog__ext {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.28);
  font: inherit;
}

.ask-catalog__kpi strong a.ask-catalog__ext:hover {
  border-bottom-color: rgba(15, 23, 42, 0.55);
}

@media (max-width: 520px) {
  .ask-catalog__kpis--secondary.ask-catalog__kpis--cols-3 {
    grid-template-columns: 1fr;
  }

  .ask-catalog__kpi--code strong {
    font-size: clamp(11px, 6.5cqi, 16px);
  }
}

.ask-catalog__passport-block {
  margin: 0;
  padding: 16px 0 4px;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  box-shadow: none;
}

/* One divider per section — first passport block after map controls stays flush. */
.ask-catalog__cad + .ask-catalog__passport-block {
  margin-top: 8px;
}

.ask-catalog__passport-block > h2,
.ask-catalog__passport-block .ask-catalog__settlements__title,
.ask-catalog__passport-block .ask-catalog__index-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ask-chrome-text-strong);
  text-transform: none;
}

.ask-catalog__pending {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(248, 242, 218, 0.55);
  color: var(--ask-chrome-text-strong);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
}

.ask-catalog__section-kicker {
  margin: 0 0 4px;
  color: var(--ask-chrome-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ask-catalog__cad-label { margin: 0 0 4px; }
.ask-catalog__cad-description { margin: 0 0 12px; color: var(--ask-chrome-text-muted); font-size: 12px; line-height: 1.5; }

.ask-catalog__passport-block .ask-catalog__prose-lead {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ask-chrome-text-muted);
}

/* Notes sit under the section title — no second hairline inside the block. */
.ask-catalog__passport-block .ask-catalog__note--explorer {
  margin: 0 0 8px;
  padding-top: 0;
  border-top: 0;
}

/* Sources: keep small note type; avoid a second divider between the two lines. */
#ask-otg-sources .ask-catalog__note--explorer + .ask-catalog__note--explorer {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}

.ask-catalog--otg-passport .ask-catalog__map-cta {
  margin: 14px 0 4px;
}

/* No divider between the home CTA and «Джерела та методика». */
.ask-catalog--otg-passport .ask-catalog__map-cta + .ask-catalog__passport-block {
  border-top: 0;
}

.ask-catalog--otg-passport .ask-catalog__settlements--explorer {
  margin: 4px 0 0;
}

.ask-catalog--otg-passport #ask-otg-geo > .ask-catalog__index-heading {
  margin-bottom: 6px;
}

.ask-catalog--otg-passport #ask-otg-geo > .ask-catalog__prose-lead {
  margin: 0 0 10px;
}

.ask-catalog--otg-passport .ask-catalog__np-center {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
  border: 0;
  background: transparent;
}

.ask-catalog--otg-passport .ask-catalog__np-center > li.ask-catalog__hub {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

.ask-catalog--otg-passport .ask-catalog__hub-tile--center {
  background: rgba(248, 242, 218, 0.55);
  border-color: rgba(180, 140, 60, 0.18);
}

.ask-catalog--otg-passport .ask-catalog__np-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 4px;
  list-style: none;
  border: 0;
  background: transparent;
}

.ask-catalog--otg-passport .ask-catalog__np-grid > li.ask-catalog__hub {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

/* Must beat `.np-grid > li.ask-catalog__hub { display:block }` above. */
.ask-catalog--otg-passport .ask-catalog__np-grid > li.ask-catalog__hub.ask-catalog__np-extra {
  display: none;
}

.ask-catalog--otg-passport
  .ask-catalog__settlements--explorer.is-expanded
  .ask-catalog__np-grid
  > li.ask-catalog__hub.ask-catalog__np-extra {
  display: block;
}

.ask-catalog--otg-passport .ask-catalog__hub-tile--settlement {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  min-height: 56px;
  height: 100%;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(241, 245, 249, 0.72);
  color: inherit;
}

.ask-catalog--otg-passport .ask-catalog__hub-tile--settlement .ask-catalog__hub-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ask-catalog--otg-passport .ask-catalog__hub-tile--settlement .ask-catalog__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog--otg-passport .ask-catalog__hub-tile--settlement .ask-catalog__hub-meta {
  font-size: 12px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
  line-height: 1.3;
}

.ask-catalog--otg-passport .ask-catalog__np-pop {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--ask-chrome-text-muted);
  white-space: nowrap;
}

.ask-catalog__np-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 2px 0 0;
  padding: 10px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__np-toggle:hover,
.ask-catalog__np-toggle:focus-visible {
  color: var(--ask-chrome-text-strong);
  background: rgba(241, 245, 249, 0.72);
  outline: none;
}

.ask-catalog__np-toggle .ask-catalog__raion-chevron {
  transform: rotate(45deg);
  margin-top: -2px;
}

.ask-catalog__settlements--explorer.is-expanded .ask-catalog__np-toggle .ask-catalog__raion-chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.ask-catalog--otg-passport .ask-catalog__prose {
  margin-top: 12px;
}

.ask-catalog--otg-passport .ask-catalog__prose h2 {
  margin: 14px 0 6px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ask-chrome-text-strong);
  text-transform: none;
}

.ask-catalog--otg-passport .ask-catalog__prose p {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ask-chrome-text-muted);
}

@media (max-width: 860px) {
  .ask-catalog--otg-passport .ask-catalog__split {
    grid-template-columns: 1fr;
  }

  .ask-catalog--otg-passport .ask-catalog__copy > h1 {
    font-size: 24px;
  }

  .ask-catalog__cover {
    aspect-ratio: 2.2 / 1;
  }

  .ask-catalog--otg-passport .ask-catalog__np-grid {
    grid-template-columns: 1fr;
  }
}

/* /catalog/otg — AskGIS Territory Explorer */
.ask-catalog--otg-index .ask-catalog__split {
  grid-template-columns: minmax(360px, 40%) minmax(0, 1fr);
}

.ask-catalog--otg-index .ask-catalog__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--otg-index .ask-catalog__copy > h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ask-catalog--otg-index .ask-catalog__lead--index {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__index-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}

.ask-catalog__index-stat {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
}

.ask-catalog__index-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__index-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__index-stat-sep {
  flex: 0 0 auto;
  width: 1px;
  margin: 4px 18px;
  align-self: stretch;
  background: rgba(15, 23, 42, 0.10);
}

.ask-catalog--otg-index .ask-catalog__search--index {
  position: relative;
  display: block;
  margin: 0 0 18px;
  font-size: 0;
  letter-spacing: 0;
  color: transparent;
}

.ask-catalog--otg-index .ask-catalog__search--index .ask-catalog__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.42);
  pointer-events: none;
  z-index: 1;
}

.ask-catalog--otg-index .ask-catalog__search--index input {
  height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog--otg-index .ask-catalog__search--index input:hover {
  border-color: rgba(15, 23, 42, 0.16);
}

.ask-catalog--otg-index .ask-catalog__search--index input:focus {
  border-color: var(--ask-warm-active-border);
  box-shadow: 0 0 0 3px var(--ask-warm-active-bg);
}

.ask-catalog__index-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.ask-catalog__index-title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ask-chrome-text-strong);
  text-transform: none;
}

.ask-catalog__index-hint {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--otg-index .ask-catalog__hubs--tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 0;
  background: transparent;
  overflow: visible;
}

.ask-catalog--otg-index .ask-catalog__hubs--tiles > li.ask-catalog__hub {
  display: block;
  grid-template-columns: unset;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ask-catalog--otg-index .ask-catalog__hubs--tiles > li.ask-catalog__hub.is-capital {
  background: transparent;
}

.ask-catalog--otg-index .ask-catalog__hubs--tiles > li.ask-catalog__hub[hidden] {
  display: none !important;
}

.ask-catalog--otg-index .ask-catalog__hub-tile {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 76px;
  height: 100%;
  padding: 12px 12px 11px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(241, 245, 249, 0.72);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.ask-catalog--otg-index .ask-catalog__hub-tile:hover,
.ask-catalog--otg-index .ask-catalog__hub-tile:focus-visible {
  background: rgba(248, 242, 218, 0.55);
  border-color: var(--ask-warm-active-border);
  outline: none;
}

.ask-catalog--otg-index .ask-catalog__hub-tile:hover .ask-catalog__hub-arrow,
.ask-catalog--otg-index .ask-catalog__hub-tile:focus-visible .ask-catalog__hub-arrow {
  color: var(--ask-warm-active-text);
  opacity: 1;
}

.ask-catalog--otg-index .ask-catalog__hub-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ask-catalog--otg-index .ask-catalog__name {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog--otg-index .ask-catalog__hub-arrow {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  color: rgba(71, 85, 105, 0.55);
  opacity: 0.85;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.ask-catalog--otg-index .ask-catalog__hub-meta {
  font-size: 12px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
  line-height: 1.3;
}

.ask-catalog--otg-index .ask-catalog__otg-hits {
  margin: 0 0 14px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.ask-catalog--otg-index .ask-catalog__otg-hits__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0;
}

.ask-catalog--otg-index .ask-catalog__otg-hits__list > li {
  display: block;
  grid-template-columns: unset;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ask-catalog--otg-index .ask-catalog__hub-tile--hit {
  min-height: 64px;
}

@media (max-width: 860px) {
  .ask-catalog--otg-index .ask-catalog__split {
    grid-template-columns: 1fr;
  }

  .ask-catalog--otg-index .ask-catalog__hubs--tiles {
    grid-template-columns: 1fr;
  }

  .ask-catalog--otg-index .ask-catalog__copy > h1 {
    font-size: 24px;
  }

  .ask-catalog__index-stat strong {
    font-size: 26px;
  }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .ask-catalog--otg-index .ask-catalog__hubs--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* /catalog/oblast/{slug} — Territory Explorer (mirrors /catalog/otg) */
.ask-catalog--otg-oblast .ask-catalog__split {
  grid-template-columns: minmax(360px, 40%) minmax(0, 1fr);
}

.ask-catalog--otg-oblast .ask-catalog__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--otg-oblast .ask-catalog__copy > h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ask-catalog--otg-oblast .ask-catalog__lead--index {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--otg-oblast .ask-catalog__search--index {
  position: relative;
  display: block;
  margin: 0 0 18px;
  font-size: 0;
  letter-spacing: 0;
  color: transparent;
}

.ask-catalog--otg-oblast .ask-catalog__search--index .ask-catalog__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.42);
  pointer-events: none;
  z-index: 1;
}

.ask-catalog--otg-oblast .ask-catalog__search--index input {
  height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog--otg-oblast .ask-catalog__search--index input:hover {
  border-color: rgba(15, 23, 42, 0.16);
}

.ask-catalog--otg-oblast .ask-catalog__search--index input:focus {
  border-color: var(--ask-warm-active-border);
  box-shadow: 0 0 0 3px var(--ask-warm-active-bg);
}

.ask-catalog--otg-oblast .ask-catalog__oblast--explorer {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ask-catalog--otg-oblast .ask-catalog__list--capitals {
  margin: 0 0 10px;
}

.ask-catalog__raion {
  margin: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
}

.ask-catalog__raion[hidden] {
  display: none !important;
}

.ask-catalog__raion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 14px 2px;
  user-select: none;
}

.ask-catalog__raion-summary::-webkit-details-marker {
  display: none;
}

.ask-catalog__raion-summary::marker {
  content: "";
}

.ask-catalog__raion-title {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog__raion-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.ask-catalog__raion-count {
  font-size: 12px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__raion-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid rgba(71, 85, 105, 0.55);
  border-bottom: 1.6px solid rgba(71, 85, 105, 0.55);
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
}

.ask-catalog__raion[open] > .ask-catalog__raion-summary .ask-catalog__raion-chevron {
  transform: rotate(45deg);
}

.ask-catalog--otg-oblast .ask-catalog__raion .ask-catalog__hubs--tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 0 14px;
  margin: 0;
  list-style: none;
  border: 0;
  background: transparent;
  overflow: visible;
}

.ask-catalog--otg-oblast .ask-catalog__hubs--tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 0;
  background: transparent;
  overflow: visible;
}

.ask-catalog--otg-oblast .ask-catalog__hubs--tiles > li.ask-catalog__hub {
  display: block;
  grid-template-columns: unset;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ask-catalog--otg-oblast .ask-catalog__hubs--tiles > li.ask-catalog__hub.is-capital {
  background: transparent;
}

.ask-catalog--otg-oblast .ask-catalog__hubs--tiles > li.ask-catalog__hub[hidden] {
  display: none !important;
}

.ask-catalog--otg-oblast .ask-catalog__hub-tile {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 76px;
  height: 100%;
  padding: 12px 12px 11px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(241, 245, 249, 0.72);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.ask-catalog--otg-oblast .ask-catalog__hub-tile:hover,
.ask-catalog--otg-oblast .ask-catalog__hub-tile:focus-visible {
  background: rgba(248, 242, 218, 0.55);
  border-color: var(--ask-warm-active-border);
  outline: none;
}

.ask-catalog--otg-oblast .ask-catalog__hub.is-active .ask-catalog__hub-tile {
  background: rgba(248, 242, 218, 0.55);
  border-color: var(--ask-warm-active-border);
}

.ask-catalog--otg-oblast .ask-catalog__hub-tile:hover .ask-catalog__hub-arrow,
.ask-catalog--otg-oblast .ask-catalog__hub-tile:focus-visible .ask-catalog__hub-arrow {
  color: var(--ask-warm-active-text);
  opacity: 1;
}

.ask-catalog--otg-oblast .ask-catalog__hub-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ask-catalog--otg-oblast .ask-catalog__name {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ask-chrome-text-strong);
}

.ask-catalog--otg-oblast .ask-catalog__hub-arrow {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  color: rgba(71, 85, 105, 0.55);
  opacity: 0.85;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.ask-catalog--otg-oblast .ask-catalog__hub-meta {
  font-size: 12px;
  font-weight: 550;
  color: var(--ask-chrome-text-muted);
  line-height: 1.3;
}

.ask-catalog--otg-oblast .ask-catalog__prose--oblast {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ask-catalog--otg-oblast .ask-catalog__prose--oblast > .ask-catalog__index-heading {
  margin-bottom: 8px;
}

.ask-catalog--otg-oblast .ask-catalog__prose-title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ask-chrome-text-strong);
  text-transform: none;
}

/* Shared map CTA — oblast + OTG passport */
.ask-catalog__map-cta {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(241, 245, 249, 0.72);
  color: var(--ask-chrome-text-strong);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.ask-catalog__map-cta:hover,
.ask-catalog__map-cta:focus-visible {
  background: rgba(248, 242, 218, 0.55);
  border-color: var(--ask-warm-active-border);
  outline: none;
}

.ask-catalog__map-cta:hover .ask-catalog__hub-arrow,
.ask-catalog__map-cta:focus-visible .ask-catalog__hub-arrow {
  color: var(--ask-warm-active-text);
  opacity: 1;
}

.ask-catalog__map-cta .ask-catalog__hub-arrow {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  color: rgba(71, 85, 105, 0.55);
  opacity: 0.85;
}

.ask-catalog__prose-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog__note--explorer {
  margin: 18px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ask-chrome-text-muted);
}

.ask-catalog--otg-oblast .ask-catalog__top-settlements--explorer {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ask-catalog--otg-oblast .ask-catalog__top-settlements--explorer .ask-catalog__index-heading {
  margin: 0 0 10px;
}

.ask-catalog--otg-oblast .ask-catalog__hub-tile--settlement {
  min-height: 52px;
  justify-content: center;
  gap: 0;
  padding: 12px;
}

.ask-catalog--otg-oblast .ask-catalog__cities.ask-catalog__hubs--tiles {
  margin: 0;
}

@media (max-width: 860px) {
  .ask-catalog--otg-oblast .ask-catalog__split {
    grid-template-columns: 1fr;
  }

  .ask-catalog--otg-oblast .ask-catalog__hubs--tiles,
  .ask-catalog--otg-oblast .ask-catalog__raion .ask-catalog__hubs--tiles {
    grid-template-columns: 1fr;
  }

  .ask-catalog--otg-oblast .ask-catalog__copy > h1 {
    font-size: 24px;
  }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .ask-catalog--otg-oblast .ask-catalog__hubs--tiles,
  .ask-catalog--otg-oblast .ask-catalog__raion .ask-catalog__hubs--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
