.portal-hub,
.portal-page-section,
.portal-editorial,
.portal-source-section,
.portal-form-section {
  padding: var(--section-space) var(--page-gutter);
}

.search-admin-toolbar,
.search-admin-section {
  padding: clamp(38px, 5vw, 72px) var(--page-gutter);
}

.search-admin-toolbar {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.search-admin-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-admin-counts span {
  border: 1px solid rgba(255,255,255,.24);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 10px 12px;
  text-transform: uppercase;
}

.search-admin-toolbar .portal-button {
  background: var(--gold);
  border: 0;
  color: var(--ink);
  margin: 0;
}

.operations-admin-toolbar {
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.operations-admin-toolbar h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 430;
  margin: 7px 0 0;
}

.operations-admin {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 var(--page-gutter) clamp(38px, 5vw, 72px);
}

.operations-admin-summary {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 22px 0;
}

.operations-admin-summary p,
.operations-admin-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.operations-admin-badge {
  border: 1px solid currentColor;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.operations-admin-badge[data-status="ok"] {
  color: #1f725e;
}

.operations-admin-badge[data-status="degraded"] {
  color: #9b6515;
}

.operations-admin-badge[data-status="unavailable"] {
  color: #a44634;
}

.operations-admin-card {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 11px;
  min-height: 165px;
  padding: 24px 18px;
}

.operations-admin-card:last-of-type {
  border-right: 0;
}

.operations-admin-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.operations-admin-card .operations-admin-badge {
  justify-self: start;
}

.operations-admin-alerts {
  border-bottom: 1px solid var(--line);
  grid-column: 1 / -1;
  padding: 30px 0 8px;
}

.operations-alert-head {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
}

.operations-alert-head h3,
.operations-admin-alerts > div > h3 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 450;
  margin: 7px 0 0;
}

.operations-alert-head p,
.operations-alert-empty,
.operations-admin-alerts > p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.operations-alert-list {
  border-top: 1px solid var(--line);
}

.operations-alert-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  padding: 16px 0;
}

.operations-alert-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

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

.operations-alert-history {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.operations-alert-history li {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 90px 1fr auto;
  padding: 13px 0;
}

.operations-alert-history span,
.operations-alert-history small {
  color: var(--muted);
  font-size: 11px;
}

.search-admin-notice {
  background: var(--paper-soft);
  border-left: 3px solid var(--accent);
  margin-top: 28px;
  padding: 16px 18px;
}

.search-admin-notice.is-error {
  border-left-color: #b55a42;
}

.search-admin-list {
  display: grid;
}

.catalog-admin-form {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 28px;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 48px);
}

.catalog-admin-form[hidden] {
  display: none;
}

.catalog-admin-form-head {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
}

.catalog-admin-form-head h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 430;
  margin: 8px 0 0;
}

.catalog-admin-form-head p,
.catalog-admin-warning {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.catalog-admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-admin-grid label {
  display: grid;
  gap: 8px;
}

.catalog-admin-grid label > span,
.catalog-admin-facts {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-admin-grid input,
.catalog-admin-grid select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 10px 12px;
}

.catalog-admin-grid .is-wide {
  grid-column: 1 / -1;
}

.catalog-admin-grid .catalog-admin-check {
  align-items: center;
  display: flex;
  gap: 10px;
}

.catalog-admin-check input {
  min-height: auto;
  width: auto;
}

.catalog-admin-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.catalog-admin-facts span {
  border: 1px solid var(--line);
  padding: 9px 11px;
}

.catalog-admin-warning {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.search-admin-card {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px) 0;
}

.search-admin-card-head {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-admin-card-head span,
.search-admin-meta,
.search-admin-note > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-admin-card-head h2 {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 430;
  margin: 8px 0 0;
}

.search-admin-card-head > div:last-child {
  align-items: flex-end;
  display: grid;
  gap: 8px;
}

.search-admin-card-head strong {
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 9px 11px;
  text-transform: uppercase;
}

.search-admin-card-head small {
  color: var(--muted);
}

.search-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.search-admin-note {
  display: grid;
  gap: 9px;
}

.search-admin-note textarea {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 14px;
  resize: vertical;
}

.search-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-admin-actions button {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  min-height: 40px;
  padding: 0 15px;
  text-transform: uppercase;
}

.search-admin-actions button:first-child {
  background: var(--accent);
  color: var(--paper);
}

.search-admin-activation {
  background: var(--paper-soft);
  border-left: 4px solid var(--accent);
  display: grid;
  gap: 16px;
  padding: 20px;
}

.search-admin-activation.is-complete {
  border-left-color: var(--gold-text);
}

.search-admin-check {
  align-items: start;
  display: grid;
  gap: 11px;
  grid-template-columns: 20px minmax(0, 1fr);
  line-height: 1.5;
}

.search-admin-check input {
  accent-color: var(--accent);
  height: 18px;
  margin: 2px 0 0;
  width: 18px;
}

.provider-verification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 14px 0 18px;
}

@media (max-width: 720px) {
  .provider-verification-grid { grid-template-columns: 1fr; }
}

.portal-hub {
  background: var(--paper-soft);
}

.portal-hub-intro,
.portal-editorial-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: 1.15fr 0.85fr;
  margin: clamp(42px, 6vw, 82px) 0;
}

.portal-hub-intro h2,
.portal-page-hero h1,
.portal-editorial h2,
.portal-object-title h1,
.portal-form-head h1 {
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin-bottom: 0;
}

.portal-hub-intro p,
.portal-editorial-grid > div,
.portal-page-hero-copy > p,
.portal-form-head > p {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.6;
  max-width: 720px;
}

.portal-hub-grid {
  align-items: stretch;
  border-top: 1px solid var(--line);
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-hub-grid > a {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr minmax(4.6em, auto) auto;
  height: 100%;
  min-height: 270px;
  padding: clamp(24px, 3vw, 42px);
  transition: background 180ms ease, color 180ms ease;
}

.portal-hub-grid > a:nth-child(3n) {
  border-right: 0;
}

.portal-hub-grid > a:active {
  background: var(--ink);
  color: var(--paper);
}

.portal-hub-grid > a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.portal-hub-grid span,
.portal-hub-grid i,
.portal-eyebrow,
.portal-page-meta,
.portal-status,
.portal-card > span,
.portal-filter a,
.portal-filter span,
.portal-object-breadcrumbs,
.portal-form label > span,
.portal-definition dt {
  font-size: 10px;
  font-style: normal;
  font-weight: 620;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.portal-hub-grid strong {
  align-self: end;
  font-size: clamp(23px, 2.4vw, 35px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.portal-hub-grid p {
  color: currentColor;
  line-height: 1.55;
  margin: 14px 0 26px;
  opacity: 0.68;
}

.portal-hub-grid i {
  align-self: end;
  transition: transform 160ms ease;
}

.portal-hub-grid > a:hover i {
  transform: translateX(3px);
}

.portal-page-hero {
  background: var(--ink);
  color: var(--paper);
  min-height: min(720px, calc(100vh - 84px));
  padding: clamp(54px, 8vw, 112px) var(--page-gutter);
}

.portal-page-hero-copy {
  align-items: end;
  display: grid;
  gap: clamp(30px, 6vw, 96px);
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: clamp(70px, 12vw, 180px);
}

.portal-page-hero h1 em {
  color: var(--gold);
  font-family: var(--font-editorial);
  font-weight: 400;
}

.portal-page-hero-copy > p {
  color: var(--inverse-muted);
  margin-bottom: 0;
}

.portal-eyebrow {
  color: var(--gold-text);
  margin: 0;
}

.portal-page-hero:not(.move-hero) .portal-eyebrow {
  color: var(--gold);
}

.portal-page-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--inverse-muted);
  margin-top: clamp(50px, 8vw, 100px);
  padding-top: 18px;
}

.portal-breadcrumbs,
.portal-object-breadcrumbs {
  align-items: center;
  display: flex;
  gap: 10px;
}

.portal-breadcrumbs {
  color: var(--inverse-muted);
  font-size: 11px;
}

.portal-breadcrumbs a:hover {
  color: var(--paper);
}

.portal-breadcrumbs a,
.portal-object-breadcrumbs a {
  align-items: center;
  display: inline-flex;
  min-height: 32px;
}

.portal-filter {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: clamp(16px, 4vw, 52px);
  min-height: 78px;
  overflow-x: auto;
  padding: 0 var(--page-gutter);
}

.portal-filter a,
.portal-filter span {
  white-space: nowrap;
}

.portal-filter a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.portal-filter .is-active {
  color: var(--accent);
}

.portal-filter .portal-filter-count {
  margin-left: auto;
}

.portal-catalog {
  padding: 0 var(--page-gutter);
}

.portal-catalog-empty {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  min-height: 230px;
  place-content: center start;
  padding: 40px 0;
}

.portal-catalog-empty h2,
.portal-catalog-empty p {
  margin: 0;
}

.portal-catalog-empty h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 450;
}

.portal-catalog-empty p {
  color: var(--muted);
  max-width: 680px;
}

.portal-catalog-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(18px, 3vw, 44px);
  grid-template-columns: 42px minmax(160px, 0.55fr) 1.1fr 0.55fr 28px;
  min-height: 230px;
  padding: 28px 0;
}

.portal-catalog-row:active h2 {
  color: var(--accent);
}

.portal-catalog-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.portal-catalog-number,
.portal-catalog-arrow {
  color: var(--muted);
  font-size: 12px;
}

.portal-catalog-arrow {
  transition: transform 160ms ease;
}

.portal-catalog-row:hover .portal-catalog-arrow {
  transform: translateX(3px);
}

.portal-catalog-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portal-catalog-thumb img {
  height: 100%;
  object-fit: cover;
}

.portal-catalog-thumb.is-placeholder {
  align-items: end;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(197, 154, 74, 0.72) 46% 47%, transparent 47% 100%),
    linear-gradient(160deg, #dce4df, #b9c9c1);
  display: flex;
  min-height: 150px;
  padding: 18px;
}

.portal-catalog-thumb.is-placeholder span {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.portal-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.portal-catalog-copy > p,
.portal-catalog-price > span {
  color: var(--muted);
  font-size: 12px;
}

.portal-catalog-copy h2 {
  font-size: clamp(27px, 3vw, 45px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 8px 0 20px;
  transition: color 180ms ease;
}

.portal-catalog-price {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.portal-catalog-price strong {
  font-size: clamp(24px, 3vw, 40px);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.portal-status {
  border: 1px solid currentColor;
  display: inline-flex;
  padding: 7px 9px;
  width: fit-content;
}

.portal-status.is-source {
  color: var(--accent);
}

.portal-status.is-provided {
  color: #8a6224;
}

.portal-status.is-derived {
  color: #4d6870;
}

.portal-status.is-open {
  color: var(--muted);
}

.portal-page-section {
  background: var(--paper);
}

.portal-page-section.is-soft,
.portal-source-section {
  background: var(--paper-soft);
}

.portal-section-head {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: clamp(44px, 7vw, 90px);
}

.portal-section-head h2,
.portal-object-section h2 {
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 0;
}

.portal-section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 0;
}

.portal-card-grid {
  align-items: stretch;
  display: grid;
  gap: 1px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  padding: clamp(24px, 3vw, 42px);
}

.portal-card h2,
.portal-card h3 {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: clamp(46px, 5vw, 72px) 0 20px;
}

.portal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.portal-fact-list {
  color: var(--muted);
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.portal-fact-list li {
  border-top: 1px solid var(--line);
  line-height: 1.5;
  padding: 10px 0;
}

.portal-fact-list strong {
  color: var(--ink);
  font-weight: 600;
}

.portal-source-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: 0.055em;
  line-height: 1.55;
  margin: auto 0 0;
  overflow-wrap: anywhere;
  padding-top: 14px;
  text-transform: uppercase;
}

.portal-source-note strong {
  color: var(--ink);
  font-weight: 650;
}

.portal-card a,
.portal-arrow-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  margin-top: auto;
}

.portal-clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-clean-list li {
  border-top: 1px solid var(--line);
  line-height: 1.55;
  padding: 18px 0;
}

.portal-definition {
  margin: 0;
}

.portal-definition > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 0.55fr 1.45fr;
  padding: 21px 0;
}

.portal-definition dd {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.portal-feature {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: clamp(30px, 6vw, 90px);
  grid-template-columns: 1fr 1fr;
  padding: clamp(48px, 7vw, 96px);
}

.portal-feature h2 {
  color: var(--gold);
  font-family: var(--font-editorial);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 18px 0 0;
}

.portal-feature p {
  color: var(--inverse-muted);
  font-size: 18px;
  line-height: 1.7;
}

.portal-warning {
  border: 1px solid var(--gold);
  display: grid;
  gap: 30px;
  grid-template-columns: 0.45fr 1.55fr;
  margin-top: clamp(38px, 6vw, 74px);
  padding: clamp(24px, 3vw, 40px);
}

.portal-warning p {
  color: var(--muted);
  margin: 0;
}

.portal-district-list {
  border-top: 1px solid var(--line);
}

.portal-district-list article {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 52px 0.7fr 1.2fr auto;
  padding: 25px 0;
}

.portal-district-list article > span,
.portal-district-list article > a {
  color: var(--muted);
  font-size: 11px;
}

.portal-district-list h2 {
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}

.portal-district-list p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.portal-object-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(38px, 5vw, 70px) var(--page-gutter) clamp(60px, 7vw, 100px);
}

.portal-object-hero .portal-eyebrow {
  color: var(--gold);
}

.portal-object-hero .portal-energy-card .portal-eyebrow {
  color: var(--ink);
}

.portal-object-breadcrumbs {
  color: var(--inverse-muted);
  margin-bottom: clamp(28px, 3vw, 44px);
}

.portal-object-media {
  display: grid;
  grid-template-columns: 1fr 280px;
  margin-bottom: clamp(32px, 4vw, 52px);
  position: relative;
}

.portal-object-media img {
  height: clamp(340px, 32vw, 420px);
  object-fit: cover;
}

.portal-energy-card {
  align-content: space-between;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  padding: 28px;
}

.portal-energy-card strong {
  font-family: var(--font-editorial);
  font-size: 120px;
  font-weight: 400;
  justify-self: center;
}

.portal-object-title {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: 1.3fr 0.7fr;
}

.portal-object-title h1 {
  font-size: clamp(45px, 6vw, 88px);
}

.portal-object-price {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.portal-object-price strong {
  font-size: clamp(37px, 5vw, 64px);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.portal-object-price span,
.portal-object-subtitle {
  color: var(--inverse-muted);
}

.portal-object-facts {
  border-bottom: 1px solid rgba(255,255,255,.2);
  border-top: 1px solid rgba(255,255,255,.2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
}

.portal-object-facts > div {
  border-right: 1px solid rgba(255,255,255,.2);
  display: grid;
  gap: 10px;
  padding: 22px;
}

.portal-object-facts > div:last-child {
  border-right: 0;
}

.portal-object-facts span {
  color: var(--inverse-muted);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.portal-object-layout {
  display: grid;
  gap: clamp(38px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) 330px;
  padding: var(--section-space) var(--page-gutter);
}

.portal-object-section + .portal-object-section {
  margin-top: clamp(64px, 8vw, 110px);
}

.portal-feature-list {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-feature-list li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 18px 20px 18px 0;
}

.portal-feature-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.portal-feature-list li:nth-child(even) {
  padding-left: 20px;
}

.portal-passport-row,
.portal-cost-row,
.portal-document-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  padding: 22px 0;
}

.portal-passport-row {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.portal-passport-row > span:first-child {
  color: var(--muted);
  font-size: 11px;
}

.portal-passport-row div {
  display: grid;
  gap: 6px;
}

.portal-passport-row small {
  color: var(--muted);
}

.portal-location-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-location-card {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px 24px 24px 0;
}

.portal-location-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.portal-location-card:nth-child(even) {
  padding-left: 24px;
}

.portal-location-card > div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.portal-location-card > div > span:first-child,
.portal-location-source {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portal-location-source {
  border: 1px solid var(--line);
  color: var(--accent);
  padding: 6px 8px;
}

.portal-location-card strong {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 480;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.portal-location-card p,
.portal-location-card small {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.portal-location-card a {
  align-items: center;
  align-self: end;
  color: var(--accent);
  display: inline-flex;
  font-size: 11px;
  font-weight: 650;
  margin-top: auto;
  min-height: 44px;
}

.portal-location-footer {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 22px;
}

.portal-location-footer .portal-source-note {
  border-top: 0;
  padding-top: 0;
}

.portal-cost-row,
.portal-document-row {
  grid-template-columns: 1fr auto;
}

.portal-contact-card {
  align-self: start;
  background: var(--paper-soft);
  display: grid;
  gap: 20px;
  padding: 32px;
  position: sticky;
  top: 112px;
}

.portal-contact-card h2 {
  font-size: 31px;
  font-weight: 480;
  letter-spacing: -0.04em;
  margin: 0;
}

.portal-contact-card p,
.portal-contact-card small {
  color: var(--muted);
  line-height: 1.55;
}

.portal-button {
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  font-size: 11px;
  font-weight: 650;
  justify-content: space-between;
  letter-spacing: .12em;
  padding: 18px 20px;
  text-transform: uppercase;
}

.portal-form-section {
  display: grid;
  gap: clamp(42px, 7vw, 100px);
  grid-template-columns: 0.7fr 1.3fr;
}

.portal-form-head {
  align-self: start;
  position: sticky;
  top: 120px;
}

.portal-form-head h1 {
  font-size: clamp(44px, 6vw, 80px);
  margin-bottom: 32px;
}

.portal-form {
  display: grid;
  gap: 46px;
}

.portal-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.portal-form legend {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  text-transform: uppercase;
  width: 100%;
}

.portal-form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.portal-form label {
  display: grid;
  gap: 9px;
}

.portal-form label.is-wide {
  grid-column: 1 / -1;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  min-height: 54px;
  padding: 14px;
  width: 100%;
}

.portal-consent {
  align-items: start;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  cursor: pointer;
  display: grid !important;
  gap: 16px;
  grid-template-columns: 26px minmax(0, 1fr);
  line-height: 1.55;
  margin: 30px 0 22px;
  padding: 22px 24px 22px 20px;
}

.portal-consent input {
  appearance: none;
  background: #fff;
  border: 1px solid #7d8785;
  border-radius: 2px;
  cursor: pointer;
  height: 24px;
  margin: 2px 0 0;
  min-height: 24px;
  padding: 0;
  width: 24px;
}

.portal-consent input:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 5px #fff;
}

.portal-consent input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 55%, transparent);
  outline-offset: 3px;
}

.portal-consent-copy {
  display: grid;
  gap: 7px;
}

.portal-consent-copy > strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portal-consent-copy > span {
  color: var(--muted);
  font-size: 13px;
}

.portal-consent a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  justify-self: start;
  text-decoration: none;
}

.portal-consent a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.portal-consent a b {
  color: var(--gold-text);
  font-weight: 700;
}

.portal-form-notice {
  border-left: 3px solid var(--gold);
  color: var(--ink) !important;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  min-height: 0;
  padding: 0 0 0 14px;
}

.portal-form-notice:empty {
  display: none;
}

.portal-form-notice.is-error {
  border-left-color: #b55a42;
}

.portal-form-notice.is-success {
  border-left-color: #2b8a6e;
}

.portal-object-inquiry {
  display: grid;
  gap: 16px;
}

.portal-object-inquiry[hidden] {
  display: none;
}

.portal-object-inquiry label:not(.portal-consent) {
  display: grid;
  gap: 7px;
}

.portal-object-inquiry label > span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portal-object-inquiry input,
.portal-object-inquiry select,
.portal-object-inquiry textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px;
  width: 100%;
}

.portal-object-inquiry .portal-consent {
  font-size: 12px;
}

.portal-viewing-windows {
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.portal-viewing-windows[hidden] {
  display: none;
}

.portal-viewing-windows legend {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  padding: 0 6px;
  text-transform: uppercase;
}

.portal-viewing-windows p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 2px;
}

.portal-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.portal-button:disabled,
.search-admin-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.portal-small-print {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.portal-district-data {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.portal-district-data article {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 142px;
  padding: 22px;
}

.portal-district-data article > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.portal-district-data h2 {
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 30px 0 8px;
}

.portal-district-data p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

@media (max-width: 1080px) {
  .portal-hub-grid,
  .portal-card-grid,
  .portal-district-data {
    grid-template-columns: 1fr 1fr;
  }

  .portal-hub-grid > a:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .portal-hub-grid > a:nth-child(2n) {
    border-right: 0;
  }

  .portal-object-layout,
  .portal-form-section {
    grid-template-columns: 1fr;
  }

  .portal-contact-card,
  .portal-form-head {
    position: static;
  }
}

@media (max-width: 720px) {
  .search-admin-toolbar,
  .search-admin-card-head,
  .catalog-admin-form-head,
  .catalog-admin-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .catalog-admin-grid .is-wide {
    grid-column: auto;
  }

  .search-admin-toolbar {
    display: grid;
  }

  .search-admin-toolbar .portal-button {
    width: 100%;
  }

  .search-admin-card-head > div:last-child {
    align-items: start;
    justify-items: start;
  }

  .operations-admin {
    grid-template-columns: 1fr;
  }

  .operations-admin-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .operations-admin-card {
    border-right: 0;
    min-height: 0;
    padding-inline: 0;
  }

  .operations-alert-head,
  .operations-alert-history li {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .portal-hub-intro,
  .portal-editorial-grid,
  .portal-page-hero-copy,
  .portal-section-head,
  .portal-feature,
  .portal-warning,
  .portal-object-title,
  .portal-object-media {
    grid-template-columns: 1fr;
  }

  .portal-page-hero {
    min-height: 560px;
  }

  .portal-page-hero-copy {
    margin-top: 90px;
  }

  .portal-hub-grid,
  .portal-card-grid,
  .portal-district-data,
  .portal-form-grid {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .portal-hub-grid > a,
  .portal-hub-grid > a:nth-child(3n),
  .portal-hub-grid > a:nth-child(2n) {
    border-right: 0;
    grid-template-rows: auto auto auto auto;
    min-height: 230px;
  }

  .portal-catalog-row {
    align-items: start;
    grid-template-columns: 30px 1fr;
  }

  .portal-catalog-empty {
    grid-template-columns: 30px 1fr;
  }

  .portal-catalog-thumb,
  .portal-catalog-copy,
  .portal-catalog-price {
    grid-column: 2;
  }

  .portal-catalog-price {
    justify-items: start;
  }

  .portal-catalog-arrow {
    display: none;
  }

  .portal-district-list article {
    align-items: start;
    grid-template-columns: 32px 1fr;
  }

  .portal-district-list article p,
  .portal-district-list article a {
    grid-column: 2;
  }

  .portal-object-media img {
    height: auto;
  }

  .portal-energy-card {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 138px;
    padding: 22px 24px;
  }

  .portal-energy-card strong {
    align-self: center;
    font-size: 72px;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .portal-energy-card small {
    align-self: end;
  }

  .portal-object-price {
    justify-items: start;
  }

  .portal-object-facts {
    grid-template-columns: 1fr 1fr;
  }

  .portal-object-facts > div:nth-child(2) {
    border-right: 0;
  }

  .portal-object-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .portal-feature-list {
    grid-template-columns: 1fr;
  }

  .portal-feature-list li:nth-child(odd) {
    border-right: 0;
  }

  .portal-feature-list li:nth-child(even) {
    padding-left: 0;
  }

  .portal-passport-row {
    align-items: start;
    grid-template-columns: 30px 1fr;
  }

  .portal-passport-row .portal-status {
    grid-column: 2;
  }

  .portal-location-grid,
  .portal-location-footer {
    grid-template-columns: 1fr;
  }

  .portal-location-card,
  .portal-location-card:nth-child(even) {
    border-right: 0;
    min-height: 0;
    padding: 22px 0;
  }
}

.official-offer-hero { background: var(--paper-soft); color: var(--ink); }
.official-offer-hero .portal-page-hero-copy > p, .official-offer-hero .portal-page-meta { color: var(--muted); }
.official-offer-hero .portal-page-meta { border-top-color: var(--line); }
.official-offer-principles { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.official-offer-principles > div { border-right: 1px solid var(--line); min-height: 170px; padding: 34px clamp(22px, 4vw, 58px); }
.official-offer-principles > div:last-child { border-right: 0; }
.official-offer-principles strong { display: block; font-size: 18px; font-weight: 500; margin-bottom: 32px; }
.official-offer-principles span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.official-offer-section { padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 92px); }
.official-offer-grid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 38px; }
.official-offer-card { background: var(--paper); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.official-offer-card:nth-child(odd) { border-right: 1px solid var(--line); }
.official-offer-visuals { background: #dfe3dc; display: grid; grid-template-columns: 1fr; min-height: 0; }
.official-offer-visuals.has-parcel { grid-template-columns: 1fr; }
.official-offer-media { aspect-ratio: 16 / 9; background: #dfe3dc; display: block; height: auto; margin: 0; min-height: 0; overflow: hidden; position: relative; }
.official-offer-media img { height: 100%; object-fit: cover; transform: scale(1.002); transition: transform 420ms cubic-bezier(.22, 1, .36, 1); width: 100%; }
.official-offer-media:hover img { transform: scale(1.018); }
.official-offer-media-shade { background: linear-gradient(180deg, rgba(16, 29, 24, .04) 42%, rgba(16, 29, 24, .72) 100%); inset: 0; pointer-events: none; position: absolute; }
.official-offer-media-disclosure { bottom: 14px; color: #fff; left: 18px; margin: 0; position: absolute; right: 18px; z-index: 2; }
.official-offer-media-disclosure > span { display: block; font-size: 11px; font-weight: 650; letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; }
.official-offer-media-disclosure > span strong { color: #fff; font-weight: 780; }
.official-offer-media-disclosure details { width: min(100%, 480px); }
.official-offer-media-disclosure summary { color: rgba(255, 255, 255, .9); cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .1em; list-style: none; margin-top: 5px; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; width: fit-content; }
.official-offer-media-disclosure summary::-webkit-details-marker { display: none; }
.official-offer-media-disclosure summary::after { content: " +"; }
.official-offer-media-disclosure details[open] { background: rgba(16, 29, 24, .92); margin: 8px -8px -6px; padding: 8px; }
.official-offer-media-disclosure details[open] summary { color: #fff; margin-top: 0; }
.official-offer-media-disclosure details[open] summary::after { content: " −"; }
.official-offer-media-disclosure p { color: rgba(255, 255, 255, .92); font-size: 11px; letter-spacing: 0; line-height: 1.5; margin: 7px 0 0; text-transform: none; }
.official-offer-parcel { background: var(--paper-soft); border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(170px, .55fr) minmax(0, 1fr); grid-template-rows: 180px; margin: 0; min-height: 0; min-width: 0; overflow: hidden; }
.official-offer-parcel > img { height: 100%; min-height: 0; object-fit: cover; width: 100%; }
.official-offer-parcel figcaption { border-left: 1px solid var(--line); border-top: 0; display: grid; gap: 7px; padding: 18px 20px; }
.official-offer-parcel figcaption strong { color: var(--ink); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.official-offer-parcel figcaption span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.official-offer-parcel figcaption a { color: var(--accent); }
.official-offer-media-placeholder { inset: 0; overflow: hidden; position: absolute; }
.official-offer-media-placeholder::before { border: 1px solid rgba(16, 29, 24, .22); content: ""; inset: 18%; position: absolute; transform: rotate(-4deg); }
.official-offer-media-placeholder i { background: rgba(16, 29, 24, .22); height: 1px; left: 10%; position: absolute; top: 35%; transform: rotate(-18deg); width: 80%; }
.official-offer-media-placeholder i:nth-child(2) { top: 54%; transform: rotate(12deg); }
.official-offer-media-placeholder i:nth-child(3) { top: 70%; transform: rotate(-7deg); }
.official-offer-card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(26px, 3.6vw, 44px); }
.official-offer-card-head, .official-offer-card-foot { align-items: center; display: flex; gap: 22px; justify-content: space-between; }
.official-offer-card-head { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.official-offer-card h2, .official-offer-card h3 { font-size: clamp(28px, 3.2vw, 43px); font-weight: 390; letter-spacing: -.04em; line-height: 1.02; margin: 42px 0 14px; text-wrap: balance; }
.official-offer-descriptor { color: var(--ink); font-size: 12px; font-weight: 650; letter-spacing: .07em; line-height: 1.5; margin: 0 0 26px; text-transform: uppercase; }
.official-offer-price { align-items: end; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 9px 20px; grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr); margin: 2px 0 26px; padding: 18px 0 20px; }
.official-offer-price > span { color: var(--accent); font-size: 11px; font-weight: 720; letter-spacing: .11em; padding-bottom: 6px; text-transform: uppercase; }
.official-offer-price > strong { color: var(--ink); font-size: clamp(27px, 3vw, 41px); font-weight: 430; letter-spacing: -.035em; line-height: 1; text-align: right; }
.official-offer-price > strong small { color: var(--muted); font-size: .38em; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.official-offer-price > p { color: var(--muted); font-size: 10px; grid-column: 1 / -1; letter-spacing: .05em; line-height: 1.5; margin: 0; text-align: right; text-transform: uppercase; }
.official-offer-summary { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.official-offer-facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; margin: 34px 0 0; }
.official-offer-facts > div { padding: 17px 14px 17px 0; }
.official-offer-facts > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.official-offer-facts.has-cadastral { grid-template-columns: repeat(3, 1fr); }
.official-offer-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-bottom: 7px; text-transform: uppercase; }
.official-offer-facts dd { font-size: 12px; line-height: 1.5; margin: 0; }
.official-offer-facts.is-zvg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.official-offer-facts dd small { color: var(--muted); display: block; font-size: 10px; line-height: 1.5; margin-top: 5px; }
.official-offer-card-foot { border-top: 1px solid var(--line); font-size: 10px; font-weight: 650; letter-spacing: .09em; margin-top: auto; padding-top: 22px; text-transform: uppercase; }
.official-offer-card-foot a { color: var(--accent); line-height: 1.45; text-align: right; }
.official-offer-card-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 8px; }
.zvg-source-form { margin: 0; text-align: right; }
.zvg-source-form button { background: transparent; border: 0; color: var(--accent); cursor: pointer; font: inherit; letter-spacing: inherit; line-height: 1.45; padding: 0; text-align: right; text-transform: inherit; }
.zvg-source-form button:hover, .zvg-source-form button:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.official-source-note { background: var(--ink); color: var(--paper); display: grid; gap: 40px; grid-template-columns: 1fr auto; margin-top: 48px; padding: 34px; }
.official-source-note p { color: var(--inverse-muted); font-size: 12px; line-height: 1.7; margin: 0; }
.official-source-note a { align-self: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.official-offer-teaser-section { background: var(--paper-soft); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.official-offer-teaser-intro { display: grid; gap: clamp(34px, 7vw, 110px); grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr); margin-top: clamp(48px, 7vw, 92px); }
.official-offer-teaser-intro h2 { font-size: clamp(40px, 5.5vw, 78px); font-weight: 360; letter-spacing: -.05em; line-height: .96; margin: 0; }
.official-offer-teaser-intro p { color: var(--muted); line-height: 1.7; margin: 0; }
.official-offer-teaser-meta { border-top: 1px solid var(--line); font-size: 10px; font-weight: 650; letter-spacing: .08em; margin-top: 26px !important; padding-top: 18px; text-transform: uppercase; }
.official-offer-teaser-meta[data-status="ok"] { color: var(--accent); }
.official-offer-teaser-meta[data-status="degraded"], .official-offer-teaser-meta[data-status="unavailable"] { color: #a54c31; }
.official-offer-preview-card { background: var(--paper); border-bottom: 1px solid var(--line); min-width: 0; overflow: hidden; }
.official-offer-preview-card:nth-child(odd) { border-right: 1px solid var(--line); }
.official-offer-preview-link { color: inherit; display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.official-offer-preview-media { aspect-ratio: 16 / 9; background: #dfe3dc; margin: 0; overflow: hidden; position: relative; }
.official-offer-preview-media img { height: 100%; object-fit: cover; transform: scale(1.002); transition: transform 420ms cubic-bezier(.22, 1, .36, 1); width: 100%; }
.official-offer-preview-media figcaption { bottom: 16px; color: #fff; font-size: 10px; font-weight: 650; left: 18px; letter-spacing: .07em; position: absolute; right: 18px; text-transform: uppercase; z-index: 2; }
.official-offer-preview-media figcaption strong { color: #fff; font-weight: 780; }
.official-offer-preview-body { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.official-offer-preview-body h2, .official-offer-preview-body h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 390; letter-spacing: -.04em; line-height: 1.02; margin: 34px 0 28px; text-wrap: balance; }
.official-offer-preview-price { align-items: end; border-top: 1px solid var(--line); display: grid; gap: 12px 20px; grid-template-columns: minmax(110px, .5fr) minmax(0, 1fr); padding: 20px 0; }
.official-offer-preview-price > span { color: var(--accent); font-size: 10px; font-weight: 720; letter-spacing: .11em; padding-bottom: 5px; text-transform: uppercase; }
.official-offer-preview-price > strong { font-size: clamp(25px, 2.8vw, 38px); font-weight: 430; letter-spacing: -.035em; line-height: 1; text-align: right; }
.official-offer-preview-price small { color: var(--muted); font-size: .4em; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.official-offer-preview-meta { align-items: end; border-top: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; margin-top: auto; padding-top: 20px; }
.official-offer-preview-meta > span { color: var(--muted); font-size: 9px; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
.official-offer-preview-meta > strong { color: var(--accent); font-size: 10px; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.official-offer-preview-link:hover .official-offer-preview-media img { transform: scale(1.025); }
.official-offer-preview-link:hover .official-offer-preview-meta > strong, .official-offer-preview-link:focus-visible .official-offer-preview-meta > strong { text-decoration: underline; text-underline-offset: 4px; }
.official-offer-preview-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.official-offer-detail-hero { padding-bottom: clamp(70px, 9vw, 128px); }
.official-offer-detail-heading { margin-top: clamp(64px, 9vw, 126px); max-width: 980px; }
.official-offer-detail-heading h1 { font-size: clamp(52px, 8vw, 116px); font-weight: 350; letter-spacing: -.055em; line-height: .92; margin: 28px 0 34px; text-wrap: balance; }
.official-offer-detail-heading > p:last-child { color: var(--muted); font-size: clamp(16px, 1.7vw, 22px); line-height: 1.65; margin: 0; max-width: 760px; }
.official-offer-detail-section { background: var(--paper-soft); }
.official-offer-detail { border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin: 38px auto 0; max-width: 1320px; }
.official-offer-detail > .official-offer-card { border-right: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); }
.official-offer-detail .official-offer-card-body { min-width: 0; }
.portal-decision-check { border-top: 1px solid var(--line); margin-top: clamp(58px, 8vw, 104px); padding-top: 30px; }
.portal-decision-head { align-items: end; display: grid; gap: clamp(30px, 6vw, 92px); grid-template-columns: minmax(0, 1.15fr) minmax(260px, .7fr); margin: clamp(44px, 6vw, 78px) 0; }
.portal-decision-head h2 { font-size: clamp(37px, 5vw, 70px); font-weight: 380; letter-spacing: -.045em; line-height: .98; margin: 14px 0 0; max-width: 900px; text-wrap: balance; }
.portal-decision-head > p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.portal-decision-status-grid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-decision-status-grid > section { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; padding: clamp(24px, 3vw, 38px); }
.portal-decision-status-grid h3 { color: var(--accent); font-size: 10px; font-weight: 720; letter-spacing: .13em; margin: 0 0 26px; text-transform: uppercase; }
.portal-decision-status-list { display: grid; }
.portal-decision-status-list article { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) auto; padding: 20px 0; }
.portal-decision-status-list article:first-child { border-top: 0; padding-top: 0; }
.portal-decision-status-list article:last-child { padding-bottom: 0; }
.portal-decision-status-list strong { display: block; font-size: 14px; font-weight: 620; line-height: 1.35; }
.portal-decision-status-list p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 7px 0 0; }
.portal-decision-status-list .portal-status { flex: none; font-size: 8px; letter-spacing: .08em; padding: 6px 7px; text-transform: uppercase; }
.portal-decision-calculator, .portal-decision-steps { border: 1px solid var(--line); border-top: 0; padding: clamp(26px, 4vw, 48px); }
.portal-decision-calculator { background: var(--paper); }
.official-offer-detail-section .portal-decision-calculator { background: var(--paper-soft); }
.portal-decision-calculator-head { align-items: end; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); margin-bottom: 32px; }
.portal-decision-calculator-head span { color: var(--accent); font-size: 9px; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.portal-decision-calculator-head h3 { font-size: clamp(25px, 3vw, 40px); font-weight: 430; letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 0; }
.portal-decision-calculator-head p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }
.portal-decision-base { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 10px 24px; grid-template-columns: minmax(0, 1fr) auto; padding: 20px 0; }
.portal-decision-base > span { color: var(--muted); font-size: 10px; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; }
.portal-decision-base strong { font-size: clamp(24px, 3vw, 38px); font-weight: 440; letter-spacing: -.035em; text-align: right; }
.portal-decision-base small { color: var(--muted); font-size: 9px; grid-column: 1 / -1; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.portal-decision-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-decision-fields > label { border-bottom: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; padding: 24px 24px 24px 0; }
.portal-decision-fields > label:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 24px; padding-right: 0; }
.portal-decision-fields label > span:first-child { font-size: 12px; font-weight: 620; line-height: 1.35; }
.portal-decision-fields label > small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.portal-money-input { align-items: center; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.portal-money-input input { appearance: textfield; background: transparent; border: 0; color: var(--ink); font-family: inherit; font-size: 24px; font-weight: 430; line-height: 1.2; min-width: 0; outline: 0; padding: 15px 12px; width: 100%; }
.portal-money-input input::-webkit-inner-spin-button, .portal-money-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.portal-money-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.portal-money-input i { border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; font-style: normal; padding: 17px 14px; }
.portal-decision-result { background: var(--ink); color: var(--paper); display: grid; gap: 30px; grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr); margin-top: 32px; padding: clamp(24px, 3vw, 38px); }
.portal-decision-result > div > span { color: var(--inverse-muted); display: block; font-size: 9px; font-weight: 700; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
.portal-decision-result > div > strong { display: block; font: 400 clamp(34px, 4vw, 58px)/1 Georgia, serif; margin-top: 20px; }
.portal-decision-result dl { margin: 0; }
.portal-decision-result dl > div { align-items: center; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) auto; padding: 13px 0; }
.portal-decision-result dl > div:first-child { border-top: 0; padding-top: 0; }
.portal-decision-result dt { color: var(--inverse-muted); font-size: 11px; line-height: 1.4; }
.portal-decision-result dt small { display: block; font-size: 8px; letter-spacing: .08em; margin-top: 3px; text-transform: uppercase; }
.portal-decision-result dd { font-size: 14px; font-weight: 620; margin: 0; text-align: right; }
.portal-decision-result > p { color: var(--inverse-muted); font-size: 9px; grid-column: 1 / -1; letter-spacing: .04em; line-height: 1.55; margin: 0; }
.portal-decision-steps { background: var(--paper-soft); }
.portal-decision-step-list { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-decision-step-list label { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: auto minmax(0, 1fr); padding: 20px 22px 20px 0; }
.portal-decision-step-list label:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 22px; }
.portal-decision-step-list input { accent-color: var(--accent); height: 18px; margin: 1px 0 0; width: 18px; }
.portal-decision-step-list strong { display: block; font-size: 13px; font-weight: 620; line-height: 1.4; }
.portal-decision-step-list small { color: var(--muted); display: block; font-size: 10px; line-height: 1.5; margin-top: 6px; }
.portal-decision-links { display: flex; flex-wrap: wrap; gap: 13px 28px; margin-top: 28px; }
.portal-decision-links a { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.portal-decision-actions { align-items: center; border: 1px solid var(--line); border-top: 0; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr); padding: 24px; }
.portal-decision-actions > div { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.portal-decision-actions .portal-button { border: 0; cursor: pointer; }
.portal-link-button { background: transparent; border: 0; color: var(--accent); cursor: pointer; font-family: inherit; font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; padding: 8px 0; text-transform: uppercase; }
.portal-link-button.is-muted { color: var(--muted); }
.portal-decision-actions > p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0; }
.zvg-offer-section { background: var(--paper); }
.zvg-teaser-section { background: #eef0ea; border-bottom: 1px solid var(--line); }
.zvg-offer-card .official-offer-card-head span:last-child { color: var(--ink); white-space: nowrap; }
.official-source-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 20px 30px; }
.demo-catalog-intro { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(58px, 7vw, 96px) clamp(24px, 6vw, 92px) clamp(32px, 4vw, 54px); }
.demo-catalog-intro h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 380; letter-spacing: -.045em; line-height: 1; margin: 28px 0 20px; max-width: 840px; }
.demo-catalog-intro > p { color: var(--muted); line-height: 1.7; margin: 0; max-width: 780px; }

@supports (animation-timeline: view()) {
  .official-offer-teaser-intro > *, .official-offer-card, .official-offer-preview-card, .demo-catalog-intro > * {
    animation-duration: 1ms; animation-fill-mode: both; animation-name: editorial-reveal;
    animation-range: entry 0% cover 50%; animation-timeline: view(block); animation-timing-function: linear;
    backface-visibility: hidden; transform-origin: 50% 100%;
  }
}

@media (max-width: 720px) {
  .official-offer-principles, .official-offer-grid { grid-template-columns: 1fr; }
  .official-offer-principles > div, .official-offer-card:nth-child(odd) { border-right: 0; }
  .official-offer-principles > div { border-bottom: 1px solid var(--line); min-height: 140px; }
  .official-offer-grid { border-left: 0; }
  .official-offer-card { min-height: 0; }
  .official-offer-preview-card:nth-child(odd) { border-right: 0; }
  .official-offer-preview-body { padding: 26px 0 32px; }
  .official-offer-preview-price { grid-template-columns: 1fr; }
  .official-offer-preview-price > strong { text-align: left; }
  .official-offer-preview-meta { align-items: flex-start; flex-direction: column; }
  .official-offer-preview-meta > strong { text-align: left; }
  .official-offer-card-body { padding: 28px 0 38px; }
  .official-offer-visuals.has-parcel { grid-template-columns: 1fr; }
  .official-offer-media { aspect-ratio: 16 / 9; height: auto; }
  .official-offer-parcel { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: minmax(130px, .75fr) minmax(0, 1fr); grid-template-rows: minmax(150px, auto); }
  .official-offer-parcel figcaption { border-left: 1px solid var(--line); border-top: 0; }
  .official-offer-price { grid-template-columns: 1fr; }
  .official-offer-price > strong, .official-offer-price > p { text-align: left; }
  .official-offer-price > p { grid-column: 1; }
  .official-offer-facts.has-cadastral { grid-template-columns: 1fr; }
  .official-offer-facts.has-cadastral > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .official-offer-facts.is-zvg { grid-template-columns: 1fr; }
  .official-offer-facts.is-zvg > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .official-offer-card-foot { align-items: flex-start; flex-direction: column; }
  .official-offer-card-foot a { text-align: left; }
  .official-offer-card-actions { align-items: flex-start; }
  .zvg-source-form, .zvg-source-form button { text-align: left; }
  .official-source-note { grid-template-columns: 1fr; }
  .official-offer-teaser-intro { grid-template-columns: 1fr; }
  .official-source-actions { align-items: flex-start; flex-direction: column; }
  .official-offer-detail { border-left: 0; }
  .official-offer-detail > .official-offer-card { border-right: 0; grid-template-columns: 1fr; }
  .portal-decision-head, .portal-decision-status-grid, .portal-decision-calculator-head, .portal-decision-result, .portal-decision-actions { grid-template-columns: 1fr; }
  .portal-decision-status-grid { border-left: 0; }
  .portal-decision-status-grid > section { border-left: 1px solid var(--line); }
  .portal-decision-fields, .portal-decision-step-list { grid-template-columns: 1fr; }
  .portal-decision-fields > label, .portal-decision-fields > label:nth-child(2n), .portal-decision-step-list label, .portal-decision-step-list label:nth-child(2n) { border-left: 0; padding-left: 0; padding-right: 0; }
  .portal-decision-result > p { grid-column: 1; }
  .portal-decision-actions { align-items: start; }
}

@media print {
  .portal-decision-actions, .portal-decision-links { display: none !important; }
  .portal-decision-check { break-inside: avoid-page; }
  .portal-decision-result { background: #fff !important; border: 1px solid #172235; color: #172235 !important; }
  .portal-decision-result * { color: #172235 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .official-offer-teaser-intro > *, .official-offer-card, .official-offer-preview-card, .demo-catalog-intro > * {
    animation: none !important; filter: none !important; opacity: 1 !important; transform: none !important;
  }
}

.move-hero { background: linear-gradient(135deg, var(--paper) 0 64%, #e4ebe5 64%); color: var(--ink); }
.move-hero .portal-breadcrumbs, .move-hero .portal-page-hero-copy > p, .move-hero .portal-page-meta { color: var(--muted); }
.move-hero .portal-page-meta { border-top-color: var(--line); }
.move-cockpit { padding: clamp(58px, 8vw, 112px) clamp(24px, 6vw, 92px); }
.move-cockpit-intro { align-items: end; display: grid; gap: 38px; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); }
.move-cockpit-intro h2 { font-size: clamp(38px, 5vw, 70px); font-weight: 390; letter-spacing: -.045em; line-height: 1; margin: 18px 0 0; }
.move-cockpit-intro > p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }
.move-form { align-items: end; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 0; grid-template-columns: 1fr 1fr 1.1fr auto; margin-top: 52px; }
.move-form > label { border-right: 1px solid var(--line); display: grid; gap: 10px; min-height: 112px; padding: 20px; }
.move-form > label > span:first-child { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.move-form input[type="date"], .move-form select { background: transparent; border: 0; color: var(--ink); font: 520 15px/1.4 inherit; min-width: 0; outline: 0; padding: 9px 0; width: 100%; }
.move-form > label:focus-within { box-shadow: inset 0 -2px var(--accent); }
.move-form .move-form-check { align-items: center; display: grid; gap: 14px; grid-template-columns: auto minmax(0, 1fr); }
.move-form-check input { accent-color: var(--accent); height: 20px; width: 20px; }
.move-form-check strong, .move-form-check small { display: block; }
.move-form-check strong { font-size: 12px; font-weight: 620; }
.move-form-check small { color: var(--muted); font-size: 9px; line-height: 1.45; margin-top: 5px; }
.move-form .portal-button { border: 0; cursor: pointer; min-height: 112px; }
.move-privacy-note { background: var(--paper-soft); color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; padding: 20px; }
.move-privacy-note strong { color: var(--ink); }
.move-plan { border-left: 1px solid var(--line); border-right: 1px solid var(--line); margin-top: 58px; }
.move-plan-head { align-items: end; background: var(--ink); color: var(--paper); display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(240px, .5fr); padding: clamp(28px, 4vw, 50px); }
.move-plan-head span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.move-plan-head h2 { font-size: clamp(31px, 4vw, 54px); font-weight: 390; letter-spacing: -.04em; line-height: 1.02; margin: 14px 0 0; }
.move-plan-head p { color: var(--inverse-muted); font-size: 11px; line-height: 1.6; margin: 0; }
.move-plan-head p strong { color: var(--paper); display: block; font: 400 34px/1 Georgia, serif; margin-bottom: 10px; }
.move-task { display: grid; grid-template-columns: minmax(190px, .3fr) minmax(0, 1fr); }
.move-task + .move-task { border-top: 1px solid var(--line); }
.move-task-date { background: var(--paper-soft); border-right: 1px solid var(--line); display: grid; padding: 24px; }
.move-task-date span { color: var(--accent); font-size: 8px; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; }
.move-task-date strong { font: 400 24px/1.1 Georgia, serif; margin-top: 16px; }
.move-task-date small { align-self: end; color: var(--muted); font-size: 9px; line-height: 1.45; margin-top: 20px; }
.move-task.is-deadline .move-task-date { background: #f2e7d4; }
.move-task > label { align-items: start; cursor: pointer; display: grid; gap: 18px; grid-template-columns: auto minmax(0, 1fr); padding: 26px; }
.move-task > label > input { accent-color: var(--accent); height: 20px; margin: 2px 0 0; width: 20px; }
.move-task > label > span > strong { display: block; font-size: 17px; font-weight: 560; line-height: 1.35; }
.move-task > label > span > small { color: var(--muted); display: block; font-size: 11px; line-height: 1.65; margin-top: 9px; }
.move-task:has(input:checked) > label > span > strong { text-decoration: line-through; text-decoration-color: var(--accent); }
.move-task-sources { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.move-task-sources a { color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.move-actions { margin-top: 0; }
.move-actions p.is-error { color: #9b342b; }
.move-source-section { background: var(--paper-soft); }

@media (max-width: 900px) {
  .move-form { grid-template-columns: 1fr 1fr; }
  .move-form > label:nth-child(2) { border-right: 0; }
  .move-form .portal-button { min-height: 96px; }
}

@media (max-width: 720px) {
  .move-hero { background: var(--paper); }
  .move-cockpit-intro, .move-plan-head { grid-template-columns: 1fr; }
  .move-form { grid-template-columns: 1fr; }
  .move-form > label, .move-form > label:nth-child(2) { border-bottom: 1px solid var(--line); border-right: 0; min-height: 0; }
  .move-task { grid-template-columns: 1fr; }
  .move-task-date { border-bottom: 1px solid var(--line); border-right: 0; }
  .move-task-date small { margin-top: 10px; }
}

@media print {
  .site-header, .site-footer, .move-hero, .move-cockpit-intro, .move-form, .move-privacy-note, .move-actions, .move-source-section { display: none !important; }
  .move-cockpit { padding: 0; }
  .move-plan { border: 0; margin: 0; }
  .move-plan-head { background: #fff !important; border-bottom: 2px solid #172235; color: #172235 !important; }
  .move-plan-head * { color: #172235 !important; }
  .move-task { break-inside: avoid-page; }
}

.test-hero { background: var(--ink); color: var(--paper); }
.test-hero .portal-breadcrumbs, .test-hero .portal-page-hero-copy > p, .test-hero .portal-page-meta { color: var(--inverse-muted); }
.test-preparation, .test-protocol, .test-evaluation, .test-pilot-section, .test-history-section { padding: clamp(58px, 8vw, 112px) clamp(24px, 6vw, 92px); }
.test-preparation { background: var(--paper-soft); }
.test-preparation-grid { display: grid; gap: clamp(30px, 5vw, 72px); grid-template-columns: minmax(0, .72fr) minmax(280px, 1fr); margin-top: 38px; }
.test-preparation h2 { font-size: clamp(32px, 4.5vw, 58px); font-weight: 390; letter-spacing: -.04em; line-height: 1.02; margin: 0; }
.test-preparation ol { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.test-preparation li { border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 34px minmax(0, 1fr); padding: 17px 0; }
.test-preparation li span { color: var(--accent); font: 400 19px/1 Georgia, serif; }
.test-preparation li strong { font-size: 13px; font-weight: 590; line-height: 1.5; }
.test-preparation-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.test-preparation-actions p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0; }
.test-evaluation { background: var(--paper-soft); }
.test-form { margin-top: 42px; }
.test-category { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(250px, .5fr); padding: 24px 0; }
.test-form label > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.test-form select, .test-form input { background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-family: inherit; padding: 13px; width: 100%; }
.test-form select:focus, .test-form input:focus { border-color: var(--accent); outline: 1px solid var(--accent); }
.test-task-list { list-style: none; margin: 0; padding: 0; }
.test-task-list > li { border-bottom: 1px solid var(--line); display: grid; gap: clamp(30px, 5vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); padding: 28px 0; }
.test-task-list > li > div:first-child { display: grid; gap: 18px; grid-template-columns: 42px minmax(0, 1fr); }
.test-task-list > li > div:first-child span { color: var(--accent); font: 400 22px/1 Georgia, serif; }
.test-task-list > li > div:first-child strong { font-size: 16px; font-weight: 560; line-height: 1.5; }
.test-task-list > li > div:last-child { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) 100px; }
.test-task-list label, .test-signals label { display: grid; gap: 8px; }
.test-signals { background: var(--ink); display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding: clamp(26px, 4vw, 44px); }
.test-signals label > span { color: var(--inverse-muted); line-height: 1.5; }
.test-submit { align-items: center; border: 1px solid var(--line); border-top: 0; display: grid; gap: 30px; grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
.test-submit .portal-button { border: 0; cursor: pointer; }
.test-submit p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0; }
.test-submit p.is-error { color: #9b342b; }
.test-gate-head { align-items: end; display: grid; gap: 38px; grid-template-columns: minmax(0, 1fr) minmax(250px, .5fr); margin-top: 42px; }
.test-gate-head span { color: var(--muted); display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.test-gate-head strong { display: block; font: 400 clamp(32px, 4vw, 58px)/1 Georgia, serif; margin-top: 14px; }
.test-gate-head strong.is-go { color: #256a4d; }
.test-gate-head strong.is-no-go { color: #9b342b; }
.test-gate-head p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }
.test-gate-grid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 38px; }
.test-gate-grid article { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 220px; padding: 22px; }
.test-gate-grid article > span { color: var(--muted); font-size: 8px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.test-gate-grid article.is-pass > span { color: #256a4d; }
.test-gate-grid article.is-fail > span { color: #9b342b; }
.test-gate-grid article > strong { display: block; font: 400 38px/1 Georgia, serif; margin: 28px 0 16px; }
.test-gate-grid h3 { font-size: 12px; font-weight: 620; line-height: 1.4; margin: 0; }
.test-gate-grid p, .test-gate-rule { color: var(--muted); font-size: 9px; line-height: 1.55; }
.test-gate-rule { margin: 20px 0 0; }
.test-history { border-top: 1px solid var(--line); margin-top: 38px; }
.test-history > p { color: var(--muted); padding: 24px 0; }
.test-history ol { list-style: none; margin: 0; padding: 0; }
.test-history li { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) auto; padding: 18px 0; }
.test-history li strong, .test-history li span { display: block; }
.test-history li strong { font-size: 13px; }
.test-history li span { color: var(--muted); font-size: 9px; margin-top: 5px; }
.test-history li > span { margin: 0; text-align: right; }
.test-export-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 26px; }
.test-pilot-section { background: var(--paper); }
.test-pilot-intro { display: grid; gap: clamp(30px, 6vw, 90px); grid-template-columns: minmax(0, .7fr) minmax(300px, 1fr); margin-top: 38px; }
.test-pilot-intro h2 { font-size: clamp(32px, 4.5vw, 58px); font-weight: 390; letter-spacing: -.04em; line-height: 1.02; margin: 0; }
.test-pilot-intro > div:last-child > p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0 0 20px; }
.test-file-picker { border: 1px solid var(--line); display: grid; gap: 10px; padding: 18px; }
.test-file-picker > span { color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.test-file-picker input { font-size: 11px; max-width: 100%; }
.test-pilot-intro .portal-link-button { margin-top: 4px; }
.test-pilot-intro .portal-link-button:disabled { cursor: not-allowed; opacity: .45; }
.test-pilot-dashboard:empty { display: none; }
.test-pilot-dashboard { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 30px; }
.test-pilot-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.test-pilot-summary > div { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100px; padding: 18px; }
.test-pilot-summary > div:first-child { border-left: 1px solid var(--line); }
.test-pilot-summary span { color: var(--muted); display: block; font-size: 8px; font-weight: 700; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.test-pilot-summary strong { display: block; font: 400 30px/1 Georgia, serif; margin-top: 18px; }

@media (max-width: 900px) {
  .test-gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-pilot-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .test-preparation-grid, .test-category, .test-task-list > li, .test-signals, .test-submit, .test-gate-head, .test-pilot-intro, .test-history li { grid-template-columns: 1fr; }
  .test-task-list > li > div:last-child { grid-template-columns: minmax(0, 1fr) 90px; }
  .test-gate-grid { grid-template-columns: 1fr; }
  .test-gate-grid article { min-height: 0; }
  .test-history li > span { text-align: left; }
}

@media print {
  .test-hero, .test-form, .test-evaluation, .test-pilot-section, .test-history-section, .test-preparation-actions { display: none !important; }
  .test-preparation { background: #fff !important; padding: 0; }
  .test-preparation-grid { grid-template-columns: 1fr; }
}

.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0 0 0 0); white-space: nowrap; }
.provider-choice { background: var(--paper); padding: clamp(52px, 7vw, 96px) clamp(24px, 6vw, 92px) 0; scroll-margin-top: 100px; }
.provider-choice-grid { border: 0; display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 34px 0 0; padding: 0; }
.provider-choice-grid label { cursor: pointer; min-width: 0; position: relative; }
.provider-choice-grid input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.provider-choice-grid label > span { background: #fff; border: 1px solid var(--line); border-right: 0; display: grid; gap: 14px; min-height: 178px; padding: 25px; transition: background .18s ease, color .18s ease; }
.provider-choice-grid label:last-child > span { border-right: 1px solid var(--line); }
.provider-choice-grid small { color: var(--gold-text); font: 600 11px/1 Arial, sans-serif; letter-spacing: .12em; }
.provider-choice-grid strong { font: 500 clamp(20px, 2vw, 29px)/1.05 Georgia, serif; letter-spacing: -.02em; }
.provider-choice-grid em { color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.5; }
.provider-choice-grid input:checked + span { background: var(--ink); color: var(--paper); box-shadow: inset 0 4px 0 var(--gold); }
.provider-choice-grid input:checked + span small { color: #e1bd78; }
.provider-choice-grid input:checked + span em { color: var(--inverse-muted); }
.provider-choice-grid input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; position: relative; z-index: 1; }
.provider-proof-strip { background: var(--paper); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 42px clamp(24px, 6vw, 92px) 0; }
.provider-proof-strip[hidden] { display: none !important; }
.provider-proof-strip article { border: 1px solid var(--line); border-right: 0; display: grid; gap: 12px; min-height: 178px; padding: 26px; }
.provider-proof-strip article:last-child { border-right: 1px solid var(--line); }
.provider-proof-strip small { color: var(--gold-text); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.provider-proof-strip strong { font: 500 clamp(20px, 2vw, 29px)/1.08 Georgia, serif; letter-spacing: -.02em; }
.provider-proof-strip span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.private-lead-hero { background: var(--ink); color: var(--paper); padding: clamp(36px, 5vw, 74px) clamp(24px, 6vw, 92px) clamp(70px, 10vw, 140px); }
.private-lead-hero .portal-eyebrow { color: #e1bd78; }
.private-lead-hero .portal-breadcrumbs { color: var(--inverse-muted); }
.private-lead-hero-grid { align-items: end; display: grid; gap: clamp(50px, 8vw, 120px); grid-template-columns: minmax(0, 1fr) minmax(250px, .36fr); margin-top: clamp(70px, 9vw, 130px); }
.private-lead-hero h1 { font-size: clamp(47px, 7vw, 102px); font-weight: 350; letter-spacing: -.055em; line-height: .92; margin: 28px 0 38px; }
.private-lead-intro { color: var(--inverse-muted); font-size: clamp(15px, 1.7vw, 21px); line-height: 1.65; max-width: 720px; }
.private-lead-offer { border-top: 4px solid var(--gold); padding-top: 28px; }
.private-lead-offer > span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.private-lead-offer strong { display: block; font: 400 clamp(68px, 9vw, 118px)/1 Georgia, serif; margin: 24px 0 20px; }
.private-lead-offer p { line-height: 1.55; }
.private-lead-offer small { color: var(--inverse-muted); line-height: 1.55; }
.private-lead-layout { align-items: start; display: grid; gap: clamp(48px, 8vw, 120px); grid-template-columns: minmax(0, 1fr) minmax(270px, .4fr); padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 92px); }
.private-lead-fields { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding-top: 38px; }
.private-lead-fields label { display: grid; gap: 10px; }
.private-lead-fields label.is-wide { grid-column: 1 / -1; }
.private-lead-fields label > span { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.private-lead-fields input, .private-lead-fields select, .private-lead-fields textarea { background: var(--paper-soft); border: 1px solid var(--line); box-sizing: border-box; color: var(--ink); padding: 16px; width: 100%; }
.professional-intake-layout[hidden], .private-lead-layout[hidden] { display: none !important; }
.professional-intro { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 30px 0 0; max-width: 780px; }
.professional-fields { padding-top: 32px; }
.professional-process { border-top-color: var(--sage); }
.private-lead-optional { border-top: 1px solid var(--line); padding-top: 24px; }
.private-lead-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.private-lead-source { color: var(--muted); font-size: 10px; letter-spacing: .12em; margin-top: 22px; text-transform: uppercase; }
.private-lead-process { background: var(--paper-soft); border-top: 4px solid var(--gold); padding: 34px; position: sticky; top: 112px; }
.private-lead-process ol { list-style: none; margin: 34px 0; padding: 0; }
.private-lead-process li { border-top: 1px solid var(--line); display: grid; gap: 8px; padding: 20px 0; }
.private-lead-process li strong { font-size: 14px; font-weight: 570; }
.private-lead-process li span, .private-lead-caution { color: var(--muted); font-size: 12px; line-height: 1.55; }
.private-lead-caution { border-top: 1px solid var(--line); margin: 0; padding-top: 22px; }
.private-lead-form.is-complete > :not(.provider-success) { display: none !important; }
.private-step[hidden], .private-energy-fields[hidden], .private-status-card[hidden] { display: none !important; }
.private-step { padding-top: 34px; }
.private-step h2, .private-status-card h2 { font: 400 clamp(31px, 4vw, 52px)/1 Georgia, serif; letter-spacing: -.035em; margin: 12px 0 18px; }
.private-step-kicker { color: var(--gold-text); font-size: 9px; font-weight: 700; letter-spacing: .14em; margin: 0; text-transform: uppercase; }
.private-channel-choice { border: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; padding: 0; }
.private-channel-choice legend { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .12em; margin-bottom: 12px; text-transform: uppercase; width: 100%; }
.private-channel-choice label { cursor: pointer; }
.private-channel-choice input { clip: rect(0 0 0 0); height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.private-channel-choice span { border: 1px solid var(--line); display: block; min-width: 108px; padding: 14px 18px; text-align: center; }
.private-channel-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.private-channel-choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.private-code-input { display: grid; gap: 10px; max-width: 360px; }
.private-code-input span { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.private-code-input input { background: var(--paper-soft); border: 1px solid var(--line); box-sizing: border-box; font: 500 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; padding: 18px; text-align: center; width: 100%; }
.private-inline-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.private-inline-actions .portal-button { margin-top: 0; }
.private-inline-actions .secondary-button, .private-account-bar button { background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .08em; min-height: 50px; padding: 13px 18px; text-transform: uppercase; }
.private-account-bar { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 16px; justify-content: space-between; padding: 20px 0; }
.private-account-bar span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.private-energy-fields { background: var(--paper-soft); display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin: 28px 0; padding: 26px; }
.private-energy-fields label { display: grid; gap: 9px; }
.private-energy-fields label > span { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.private-energy-fields input, .private-energy-fields select { background: var(--paper); border: 1px solid var(--line); box-sizing: border-box; padding: 14px; width: 100%; }
.private-energy-fields small, .private-lead-fields small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.private-preview { border-top: 4px solid var(--gold); }
.private-preview-meta { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.private-preview dl { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0; }
.private-preview dl div { border-right: 1px solid var(--line); padding: 18px; }
.private-preview dl div:last-child { border-right: 0; }
.private-preview dt { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.private-preview dd { font: 400 18px/1.3 Georgia, serif; margin: 8px 0 0; }
.private-preview-energy, .private-preview-protected, .private-publish-note { color: var(--muted); font-size: 12px; line-height: 1.65; }
.private-preview-protected { background: var(--paper-soft); border-left: 3px solid var(--sage); padding: 18px; }
.private-agreement { border: 0; border-top: 1px solid var(--line); display: grid; gap: 13px; margin: 30px 0 0; padding: 28px 0 0; }
.private-agreement legend { font: 500 18px/1.3 Georgia, serif; padding: 0 0 18px; }
.private-agreement label { align-items: start; display: grid; font-size: 12px; gap: 12px; grid-template-columns: 18px 1fr; line-height: 1.5; }
.private-agreement input { margin-top: 2px; }
.private-status-card { border-top: 4px solid var(--gold); margin-top: 30px; padding: 28px; }
.private-status-card.is-live { background: #edf4ed; border-top-color: var(--sage); }
.private-status-card.is-review { background: #fff6df; }
.provider-success { background: var(--ink); color: var(--paper); padding: clamp(30px, 5vw, 58px); }
.provider-success[hidden] { display: none !important; }
.provider-success:focus { outline: 3px solid var(--gold); outline-offset: 4px; }
.provider-success h2 { font: 400 clamp(34px, 4.5vw, 58px)/1 Georgia, serif; letter-spacing: -.04em; margin: 12px 0 26px; max-width: 850px; }
.provider-success > p { color: var(--inverse-muted); line-height: 1.65; }
.provider-success > p strong { color: var(--paper); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
.provider-success ol, .provider-success ul { margin: 18px 0 0; padding-left: 20px; }
.provider-success li { color: var(--inverse-muted); font-size: 12px; line-height: 1.6; margin: 10px 0; padding-left: 6px; }
.provider-success-grid { border-block: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 34px; grid-template-columns: 1fr 1fr; margin: 30px 0; padding: 28px 0; }
.provider-success-grid small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.provider-success-caution { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 26px; padding-top: 22px; }
.provider-success .secondary-button { background: transparent; border: 1px solid var(--paper); color: var(--paper); cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-top: 20px; min-height: 50px; padding: 13px 18px; text-transform: uppercase; }
.provider-success .secondary-button:hover, .provider-success .secondary-button:focus-visible { background: var(--paper); color: var(--ink); }
.private-campaign-metrics { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.private-campaign-metrics > p { color: var(--muted); grid-column: 1 / -1; padding: 24px 0; }
.private-campaign-metric { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 190px; padding: 28px; }
.private-campaign-metric:nth-child(3n) { border-right: 0; }
.private-campaign-metric span { color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.private-campaign-metric strong { display: block; font: 400 54px/1 Georgia, serif; margin: 24px 0 12px; }
.private-campaign-metric h2 { font-size: 16px; font-weight: 580; margin: 0 0 18px; }
.private-campaign-metric p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }
.private-campaign-metric.is-summary { background: var(--ink); color: var(--paper); }
.private-campaign-metric.is-summary p { color: var(--inverse-muted); }

@media (max-width: 800px) {
  .provider-choice-grid { grid-template-columns: 1fr 1fr; }
  .provider-choice-grid label:nth-child(2) > span { border-right: 1px solid var(--line); }
  .provider-choice-grid label:nth-child(n + 3) > span { border-top: 0; }
  .private-lead-hero-grid, .private-lead-layout { grid-template-columns: 1fr; }
  .private-lead-offer { max-width: 420px; }
  .private-lead-fields { grid-template-columns: 1fr; }
  .private-lead-fields label.is-wide { grid-column: 1; }
  .private-lead-process { position: static; }
  .private-energy-fields, .private-preview dl { grid-template-columns: 1fr; }
  .private-preview dl div { border-bottom: 1px solid var(--line); border-right: 0; }
  .private-preview dl div:last-child { border-bottom: 0; }
  .provider-proof-strip, .provider-success-grid { grid-template-columns: 1fr; }
  .provider-proof-strip article { border-right: 1px solid var(--line); border-bottom: 0; min-height: 0; }
  .provider-proof-strip article:last-child { border-bottom: 1px solid var(--line); }
  .private-campaign-metrics { grid-template-columns: 1fr; }
  .private-campaign-metric, .private-campaign-metric:nth-child(3n) { border-right: 0; min-height: 0; }
}

@media print {
  body.is-printing-provider-success { background: #fff; }
  body.is-printing-provider-success > header,
  body.is-printing-provider-success > footer,
  body.is-printing-provider-success main > :not(.private-lead-layout),
  body.is-printing-provider-success .private-lead-layout:not(:has(.private-lead-form.is-complete)),
  body.is-printing-provider-success .private-lead-process,
  body.is-printing-provider-success .provider-success .secondary-button { display: none !important; }
  body.is-printing-provider-success .private-lead-layout { display: block !important; padding: 0; }
  body.is-printing-provider-success .provider-success { background: #fff; color: #172f29; padding: 0; }
  body.is-printing-provider-success .provider-success > p,
  body.is-printing-provider-success .provider-success li { color: #44534e; }
  body.is-printing-provider-success .provider-success > p strong { color: #172f29; }
  body.is-printing-provider-success .provider-success-grid,
  body.is-printing-provider-success .provider-success-caution { border-color: rgba(23, 47, 41, .25); }
}

@media (max-width: 520px) {
  .private-lead-hero h1 { overflow-wrap: anywhere; }
  .provider-choice-grid { grid-template-columns: 1fr; }
  .provider-choice-grid label > span, .provider-choice-grid label:nth-child(2) > span { border-right: 1px solid var(--line); border-top: 0; min-height: 0; }
  .provider-choice-grid label:first-child > span { border-top: 1px solid var(--line); }
  .portal-consent { padding: 18px; }
}

.decision-workspace,
.decision-planning-grid,
.decision-map-actions { padding: clamp(54px, 7vw, 100px) clamp(24px, 6vw, 88px); }
.decision-workspace-intro,
.decision-tool-head { align-items: end; display: grid; gap: clamp(28px, 6vw, 88px); grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); }
.decision-workspace-intro h2,
.decision-tool-head h2,
.decision-map-actions h2 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 500; line-height: .98; margin: 8px 0 0; }
.decision-empty { background: rgba(255, 255, 255, .55); border: 1px solid var(--line); margin-top: 32px; padding: 28px; }
.decision-empty strong { display: block; font: 500 1.55rem/1.15 Georgia, serif; }
.decision-candidate-head { border-bottom: 1px solid var(--line); display: flex; gap: 18px; justify-content: space-between; margin-top: 34px; padding-bottom: 12px; }
.decision-candidate-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 14px; }
.decision-candidate-grid article { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 210px; padding: 20px; }
.decision-candidate-grid article > span { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.decision-candidate-grid article > strong { font: 500 1.35rem/1.15 Georgia, serif; margin-top: 14px; }
.decision-candidate-grid article p { color: var(--muted); font-size: .86rem; margin: 10px 0 18px; }
.decision-candidate-grid article a { color: inherit; font-size: .82rem; font-weight: 700; margin-top: auto; text-decoration: none; }
.decision-planning-grid { background: var(--ink); display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.decision-tool { background: var(--paper); padding: clamp(26px, 4vw, 48px); }
.decision-tool-head { align-items: start; gap: 18px; grid-template-columns: 1fr; }
.decision-tool-head h2 { font-size: clamp(2rem, 3vw, 3.4rem); }
.decision-tool-form { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.decision-tool-form label { display: grid; font-size: .78rem; font-weight: 700; gap: 8px; }
.decision-tool-form label.is-wide { grid-column: 1 / -1; }
.decision-tool-form select,
.decision-unit-input input { background: #fff; border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; min-height: 48px; width: 100%; }
.decision-tool-form select { padding: 0 12px; }
.decision-unit-input { display: block; position: relative; }
.decision-unit-input input { padding: 0 42px 0 12px; }
.decision-unit-input i { color: var(--muted); font-style: normal; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.decision-tool-output { background: var(--paper-soft); margin-top: 24px; padding: 22px; }
.decision-map-actions { align-items: end; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; }
.decision-map-actions > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.decision-map-actions > p { color: var(--muted); font-size: .82rem; grid-column: 1 / -1; margin: 0; }
.decision-item-grid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
.decision-item-grid > article { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 42px minmax(0, 1fr); padding: 24px; }
.decision-item-number { color: var(--accent); font: 500 1.5rem/1 Georgia, serif; }
.decision-item-copy > span,
.decision-item-grid label > span { color: var(--muted); display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.decision-item-copy h3 { font: 500 1.65rem/1.1 Georgia, serif; margin: 10px 0; }
.decision-item-copy p { color: var(--muted); font-size: .82rem; margin: 0 0 12px; }
.decision-item-copy a { color: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; }
.decision-item-grid label,
.decision-item-grid > article > button { grid-column: 2; }
.decision-item-grid select,
.decision-item-grid textarea { background: #fff; border: 1px solid var(--line); color: var(--ink); font: inherit; margin-top: 8px; padding: 11px; width: 100%; }
.decision-item-grid textarea { min-height: 86px; resize: vertical; }
.decision-item-grid .portal-link-button { justify-self: start; }
.decision-candidate-grid button { justify-content: flex-start; margin: auto 0 10px; padding: 0; }
.decision-candidate-grid button:disabled { cursor: not-allowed; opacity: .45; }
.decision-candidates-complete { color: var(--muted); font-size: .88rem; margin-top: 20px; }
.decision-comparison { margin-top: clamp(48px, 7vw, 94px); }
.decision-comparison h2 { font: 500 clamp(2rem, 4vw, 4rem)/1 Georgia, serif; margin: 28px 0; }
.decision-table-scroll { overflow-x: auto; }
.decision-comparison table { border-collapse: collapse; min-width: 820px; width: 100%; }
.decision-comparison th,
.decision-comparison td { border: 1px solid var(--line); max-width: 260px; min-width: 170px; padding: 16px; text-align: left; vertical-align: top; }
.decision-comparison thead th { background: var(--ink); color: var(--paper); font: 500 1rem/1.3 Georgia, serif; }
.decision-comparison thead th:first-child { min-width: 150px; }
.decision-comparison tbody th { background: var(--paper-soft); color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.decision-comparison td { font-size: .82rem; line-height: 1.45; }
.decision-tool-output dl { margin: 20px 0 0; }
.decision-tool-output dl > div { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; }
.decision-tool-output dt { color: var(--muted); font-size: .76rem; }
.decision-tool-output dd { font-weight: 700; margin: 0; text-align: right; }
.decision-tool-output .is-stress { color: #9b342b; }
.decision-result-main { align-items: end; display: flex; gap: 18px; justify-content: space-between; }
.decision-result-main span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.decision-result-main strong { font: 500 clamp(1.8rem, 3vw, 3rem)/1 Georgia, serif; }
.decision-tool-output > p { color: var(--muted); font-size: .72rem; line-height: 1.55; margin: 18px 0 0; }
.decision-map-actions > p.is-error { color: #9b342b; }

@media (max-width: 1000px) {
  .decision-candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-planning-grid, .decision-workspace-intro, .decision-map-actions { grid-template-columns: 1fr; }
  .decision-map-actions > div:nth-child(2) { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .decision-candidate-grid, .decision-tool-form, .decision-item-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .decision-hero, .decision-candidate-head, .decision-candidate-grid, .decision-map-actions > div:nth-child(2), .decision-item-grid button { display: none !important; }
  .decision-workspace, .decision-planning-grid, .decision-map-actions { background: #fff !important; color: #172235 !important; padding: 18px 0; }
  .decision-planning-grid, .decision-item-grid { grid-template-columns: 1fr; }
  .decision-tool, .decision-item-grid > article, .decision-comparison tr { break-inside: avoid-page; }
  .decision-tool { border: 1px solid #c9c4ba; }
  .decision-table-scroll { overflow: visible; }
  .decision-comparison table { min-width: 0; }
  .decision-map-actions > p { display: none; }
}

.correction-public-form { border-top: 1px solid var(--line); display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin: 30px 0 22px; padding-top: 28px; position: relative; }
.correction-public-form label { display: grid; gap: 9px; }
.correction-public-form label > span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.correction-public-form input[type="text"],
.correction-public-form input[type="url"],
.correction-public-form select,
.correction-public-form textarea { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; padding: 14px; width: 100%; }
.correction-public-form textarea { min-height: 118px; resize: vertical; }
.correction-public-form input:focus,
.correction-public-form select:focus,
.correction-public-form textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 22%, transparent); outline-offset: 1px; }
.correction-public-urgent { align-items: start; border: 1px solid var(--line); grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
.correction-public-urgent input { accent-color: var(--accent); margin: 2px 0 0; }
.correction-public-urgent span { font-size: 10px !important; letter-spacing: .03em !important; line-height: 1.55; text-transform: none !important; }
.correction-public-submit { align-items: center; display: grid; gap: 18px; grid-template-columns: auto minmax(0, 1fr); }
.correction-public-submit button { border: 0; cursor: pointer; }
.correction-public-submit button:disabled { cursor: wait; opacity: .55; }
.correction-public-submit p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0; }
.correction-public-submit p.is-error { color: #9b342b; }
.correction-public-submit p.is-success { color: #256a4d; }
.correction-public-submit p strong { color: inherit; display: inline; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }
.correction-public-note { border-left: 3px solid var(--gold); color: var(--muted); font-size: 11px; padding-left: 16px; }
.correction-public-trap { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }

.correction-hero {
  padding-block: clamp(58px, 6.2vw, 90px) clamp(68px, 7vw, 102px);
}

.correction-hero .legal-breadcrumbs {
  margin-bottom: clamp(50px, 5vw, 72px);
}

.correction-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(44px, 7vw, 108px);
  grid-template-columns: minmax(0, 1fr) minmax(250px, .4fr);
  margin: 0 auto;
  max-width: 1280px;
}

.correction-hero-title {
  min-width: 0;
}

.correction-hero .kicker {
  margin-bottom: clamp(18px, 2vw, 26px);
}

.correction-hero h1 {
  font-size: clamp(54px, 7.1vw, 106px);
  letter-spacing: -.055em;
  line-height: .9;
  max-width: 13ch;
}

.correction-hero-summary {
  color: var(--inverse-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  margin: 0 0 .2em;
  max-width: 390px;
}

.correction-content {
  padding-top: clamp(48px, 5vw, 72px);
}

@media (max-width: 620px) {
  .correction-hero {
    padding-block: 46px 62px;
  }

  .correction-hero .legal-breadcrumbs {
    margin-bottom: 44px;
  }

  .correction-hero-grid {
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .correction-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
    max-width: 11ch;
  }

  .correction-hero-summary {
    font-size: 15px;
    max-width: 34rem;
  }

  .correction-public-submit { align-items: start; grid-template-columns: 1fr; }
  .correction-public-submit button { width: 100%; }
}

/* Responsive production hardening: prevent intrinsic grid tracks from widening the page. */
.portal-page-hero-copy > *,
.portal-card-grid > *,
.portal-feature > *,
.portal-object-title > *,
.portal-object-layout > *,
.portal-form-section > *,
.portal-catalog-empty > *,
.official-offer-detail-heading {
  min-width: 0;
}

.portal-link-button {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.portal-breadcrumbs a,
.portal-object-breadcrumbs a {
  align-items: center;
  display: inline-flex;
  min-height: 24px;
}

@media (max-width: 1080px) {
  .portal-object-layout,
  .portal-form-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .search-admin-toolbar,
  .search-admin-card-head,
  .catalog-admin-form-head,
  .catalog-admin-grid,
  .operations-admin,
  .operations-alert-head,
  .operations-alert-history li,
  .portal-hub-intro,
  .portal-editorial-grid,
  .portal-page-hero-copy,
  .portal-section-head,
  .portal-feature,
  .portal-warning,
  .portal-object-title,
  .portal-object-media,
  .portal-hub-grid,
  .portal-card-grid,
  .portal-district-data,
  .portal-form-grid,
  .portal-catalog-empty,
  .official-offer-principles,
  .official-offer-grid,
  .official-offer-preview-price,
  .official-offer-visuals.has-parcel,
  .official-offer-price,
  .official-offer-facts.has-cadastral,
  .official-offer-facts.is-zvg,
  .official-source-note,
  .official-offer-teaser-intro,
  .official-offer-detail > .official-offer-card,
  .portal-decision-head,
  .portal-decision-status-grid,
  .portal-decision-calculator-head,
  .portal-decision-result,
  .portal-decision-actions,
  .portal-decision-fields,
  .portal-decision-step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-feature {
    padding: clamp(48px, 7vw, 96px) var(--page-gutter);
  }

  .portal-catalog-empty {
    place-content: center start;
  }

  .official-offer-detail-heading h1 {
    hyphens: auto;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  main h1,
  main h2,
  main h3 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .portal-page-hero .portal-page-hero-copy h1 {
    font-size: clamp(36px, 11.25vw, 48px);
    hyphens: none;
    overflow-wrap: normal;
  }
}

@media (max-width: 520px) {
  .private-lead-hero h1 {
    font-size: clamp(36px, 11.25vw, 48px);
    hyphens: none;
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
  }

  .portal-filter {
    align-items: stretch;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    overflow-x: visible;
    padding-block: 10px;
  }

  .portal-filter > * {
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: 1.35;
    min-height: 48px;
    min-width: 0;
    padding: 10px 8px;
    white-space: normal;
  }

  .portal-filter > a,
  .portal-filter > span {
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .portal-filter > :nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .portal-filter > :nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .portal-filter .portal-filter-count {
    border-left: 0;
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-left: 0;
    min-height: 40px;
    padding-left: 0;
  }

  .portal-filter:has(.portal-filter-count) > :nth-child(3) {
    border-left: 0;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .decision-tool-form select,
  .decision-unit-input input,
  .move-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .move-form select,
  .test-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .test-form select,
  .test-form textarea,
  .test-file-picker input,
  .correction-public-form input[type="text"],
  .correction-public-form input[type="url"],
  .correction-public-form select,
  .correction-public-form textarea,
  .private-lead-fields input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .private-lead-fields select,
  .private-lead-fields textarea,
  .private-energy-fields input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .private-energy-fields select {
    min-height: 48px;
  }
}

.portal-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.portal-form select,
.portal-form textarea,
.portal-object-inquiry input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.portal-object-inquiry select,
.portal-object-inquiry textarea,
.private-lead-fields input,
.private-lead-fields select,
.private-lead-fields textarea,
.private-energy-fields input,
.private-energy-fields select,
.decision-tool-form select,
.decision-unit-input input,
.move-form input,
.move-form select,
.test-form input,
.test-form select,
.test-form textarea,
.test-file-picker input,
.correction-public-form input,
.correction-public-form select,
.correction-public-form textarea {
  font-size: 16px;
}

@media (max-width: 800px) {
  .private-lead-hero-grid,
  .private-lead-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .private-lead-hero-grid > *,
  .private-lead-layout > * {
    min-width: 0;
  }
}
