:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #66736f;
  --line: #d8dfdc;
  --soft: #f5f7f4;
  --paper: #ffffff;
  --brand: #0d6b57;
  --brand-dark: #094838;
  --brand-soft: #dcefe8;
  --accent: #c96f2d;
  --sky: #dcebf3;
  --rose: #f6e7df;
  --danger: #b33939;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.12);
  --glass: rgba(255, 255, 255, 0.74);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  width: min(1480px, calc(100% - 32px));
  margin: 24px auto;
  align-items: start;
}

.workspace {
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.15;
}

h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

h3 {
  font-size: 15px;
  margin: 22px 0 10px;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

button.primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(13, 107, 87, 0.18);
}

button.primary.muted {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

button.ghost:hover,
button.primary:hover {
  filter: brightness(0.96);
}

.button-link {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.admin-shell {
  width: min(1600px, calc(100% - 32px));
  margin: 24px auto;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 170px 170px auto auto auto auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  max-height: calc(100vh - 210px);
}

.admin-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 13px;
}

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

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef4f1;
  color: var(--ink);
}

.admin-table input {
  min-height: 34px;
  margin: 0;
  padding: 6px 8px;
}

.admin-table .settlement-cell {
  min-width: 190px;
  font-weight: 700;
}

.admin-table .county-cell {
  min-width: 150px;
  color: var(--muted);
}

.admin-status {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.blog-admin-panel {
  margin-bottom: 18px;
}

.blog-admin-table {
  min-width: 1120px;
}

.switch-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.valuation-actions {
  min-width: 220px;
}

.valuation-actions button {
  margin: 3px;
}

.seo-admin {
  display: grid;
  gap: 18px;
}

.seo-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.seo-stat-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(13, 107, 87, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(23, 33, 31, 0.08);
}

.seo-stat-card span,
.admin-hint,
.seo-list-item span,
.seo-audit-item span {
  color: var(--muted);
}

.seo-stat-card strong {
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.seo-panel {
  display: grid;
  gap: 14px;
}

.seo-fields {
  align-items: end;
}

.seo-actions-row,
.seo-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seo-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.seo-idea-list,
.seo-page-list,
.seo-audit-list {
  display: grid;
  gap: 8px;
}

.seo-page-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto auto;
  gap: 10px;
  align-items: end;
}

.seo-page-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.seo-page-column {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.seo-page-column.drop-active {
  border-color: var(--brand);
  background: rgba(220, 239, 232, 0.78);
}

.seo-page-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.seo-page-column-header h3 {
  margin: 0 0 2px;
}

.seo-page-column-header p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.seo-page-scroll {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.seo-list-title {
  color: var(--brand);
  font-weight: 800;
}

.seo-idea,
.seo-list-item,
.seo-audit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.seo-idea {
  cursor: pointer;
}

.seo-page-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.seo-page-card[draggable="true"] {
  cursor: grab;
}

.seo-page-card:active {
  cursor: grabbing;
}

.seo-page-checkline {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  margin: 0;
  font-weight: 700;
}

.seo-page-checkline span {
  min-width: 0;
}

.seo-page-checkline strong,
.seo-page-checkline small {
  display: block;
}

.seo-page-checkline small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.seo-idea small {
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.seo-list-item div,
.seo-audit-item {
  min-width: 0;
}

.seo-list-item strong,
.seo-list-item span,
.seo-audit-item strong,
.seo-audit-item span {
  display: block;
}

.seo-list-item span,
.seo-audit-item span {
  margin-top: 3px;
  line-height: 1.35;
}

.seo-audit-item {
  justify-content: flex-start;
  border-left: 5px solid var(--brand);
}

.seo-audit-item.warn {
  border-left-color: var(--accent);
}

.seo-audit-item.error {
  border-left-color: var(--danger);
}

.public-page {
  background:
    linear-gradient(135deg, rgba(220, 239, 232, 0.9) 0%, rgba(245, 247, 244, 0.86) 34%, rgba(220, 235, 243, 0.72) 68%, rgba(246, 231, 223, 0.72) 100%);
  overflow: hidden;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 max(18px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(23, 33, 31, 0.08);
}

.site-brand,
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.site-brand {
  color: var(--brand);
  font-size: 20px;
}

.site-nav nav {
  display: flex;
  gap: 20px;
}

.site-nav nav a {
  color: var(--muted);
  font-size: 14px;
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand);
  color: white !important;
  box-shadow: 0 10px 24px rgba(13, 107, 87, 0.22);
}

.public-hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: end;
  width: 100%;
  margin: 0 auto 34px;
  padding: 78px max(18px, calc((100vw - 1200px) / 2)) 42px;
  background:
    linear-gradient(90deg, rgba(245, 247, 244, 0.98) 0%, rgba(245, 247, 244, 0.9) 42%, rgba(245, 247, 244, 0.26) 100%),
    url("assets/valuation-hero.png") center right / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-copy {
  max-width: 780px;
  padding: 28px 0;
}

.public-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 760px;
  letter-spacing: 0;
}

.public-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-actions .button-link {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-row span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.primary-link {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.hero-side {
  display: grid;
  gap: 14px;
  align-self: end;
}

.valuation-counter,
.hero-proof,
.quick-card,
.wizard,
.result-panel,
.contact-band {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-card,
.wizard,
.result-panel,
.service-grid article,
.split-info,
.process-band,
.contact-band {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-card:hover,
.service-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 107, 87, 0.28);
  box-shadow: 0 24px 60px rgba(23, 33, 31, 0.12);
}

.hero-proof {
  display: grid;
  gap: 10px;
  position: relative;
  padding-top: 70px;
}

.valuation-counter {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
}

.valuation-counter span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.valuation-counter strong {
  color: var(--brand-dark);
  font-size: 42px;
  line-height: 1;
}

.hero-proof::before {
  content: "Piaci iránytű";
  position: absolute;
  left: 22px;
  top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-proof span {
  color: var(--muted);
  line-height: 1.45;
}

.contact-band {
  display: grid;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(9, 72, 56, 0.94), rgba(13, 107, 87, 0.9)),
    var(--brand-dark);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact-band strong {
  color: white;
}

.appointment-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.appointment-form label {
  color: rgba(255, 255, 255, 0.86);
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  margin-top: 6px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

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

.slot-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark) !important;
  font-weight: 800;
  cursor: pointer;
}

.slot-option.booked {
  background: rgba(220, 220, 220, 0.68);
  color: #777 !important;
  cursor: not-allowed;
}

.slot-option input {
  width: 16px;
  min-height: 16px;
  margin: 0 7px 0 0;
}

.valuer-band,
.site-footer,
.legal-page {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.valuer-band {
  padding: 24px;
}

.valuer-form {
  display: grid;
  gap: 16px;
}

.valuer-form textarea {
  width: 100%;
  margin-top: 6px;
  min-height: 88px;
  border: 1px solid rgba(216, 223, 220, 0.95);
  border-radius: 10px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.cookie-popup {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cookie-popup p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 28px auto;
  padding: 28px;
}

.legal-page section {
  margin-top: 22px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.6;
}

.public-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 34px;
}

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

.service-grid article,
.split-info,
.process-band {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.compact-process {
  margin-bottom: 20px;
}

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

.service-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--rose);
}

.service-grid p,
.split-info p,
.split-info li {
  color: var(--muted);
  line-height: 1.5;
}

.split-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  align-items: start;
}

.split-info ul {
  display: grid;
  gap: 12px;
}

.split-info li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(216, 223, 220, 0.8);
}

.split-info ul {
  margin: 0;
  padding-left: 20px;
}

.blog-hero {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 72px 0 26px;
}

.blog-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 820px;
}

.blog-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.blog-card,
.blog-article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.blog-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.blog-card > p:first-child {
  color: var(--accent);
  font-weight: 800;
}

.blog-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.blog-card a {
  color: var(--ink);
}

.blog-article {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 42px;
}

.blog-article h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 14px;
}

.blog-article h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

.blog-article p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.article-lead {
  font-size: 20px !important;
  color: var(--ink) !important;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.expert-band,
.sample-band,
.local-links-band,
.local-hero,
.sample-report {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.expert-band,
.sample-band,
.local-links-band {
  padding: 26px;
}

.expert-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
  align-items: start;
}

.expert-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(220, 239, 232, 0.76);
  border: 1px solid rgba(13, 107, 87, 0.16);
}

.expert-card p,
.sample-band p,
.local-links-band p,
.local-hero p,
.sample-report p,
.sample-report li {
  color: var(--muted);
  line-height: 1.6;
}

.local-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.local-links-grid a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(216, 223, 220, 0.86);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.sample-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.local-hero,
.sample-report {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 42px;
}

.local-hero {
  margin-top: 34px;
}

.local-hero h1,
.sample-report h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.local-facts,
.sample-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.local-facts div,
.sample-summary div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(220, 239, 232, 0.7);
  border: 1px solid rgba(13, 107, 87, 0.12);
}

.local-facts span,
.sample-summary span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.local-facts strong,
.sample-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  overflow: hidden;
  border-radius: 12px;
}

.sample-table th,
.sample-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.sample-table th {
  background: rgba(220, 239, 232, 0.74);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.process-steps div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(216, 223, 220, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.process-steps strong {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
}

.process-steps span {
  color: var(--muted);
  line-height: 1.45;
}

.section-head {
  max-width: 760px;
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 5px solid var(--brand);
}

.section-head p {
  color: var(--muted);
}

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

.quick-result {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 14px;
  background: rgba(220, 239, 232, 0.86);
  border: 1px solid rgba(13, 107, 87, 0.16);
  color: var(--brand-dark);
  font-weight: 700;
}

.quick-card label,
.wizard-panel label {
  padding: 12px;
  border: 1px solid rgba(216, 223, 220, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.choice-grid label:hover,
.quick-card label:hover,
.wizard-panel label:hover {
  border-color: rgba(13, 107, 87, 0.35);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.07);
}

.wizard-panel label:has(input[type="checkbox"]) {
  padding: 13px;
}

.wizard {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.wizard-progress {
  border-right: 1px solid rgba(216, 223, 220, 0.9);
  padding: 6px 24px 6px 6px;
}

.progress-bar {
  height: 12px;
  background: rgba(223, 232, 228, 0.92);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand);
  box-shadow: 0 0 20px rgba(13, 107, 87, 0.36);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: grid;
  gap: 16px;
  padding: 6px 0;
}

.wizard-step h3 {
  font-size: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 223, 220, 0.92);
}

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

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(216, 223, 220, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
}

.help-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: rgba(238, 247, 243, 0.9);
  color: var(--ink);
}

.help-box p {
  margin: 0;
  line-height: 1.45;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.result-panel {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  scroll-margin-block: 18vh;
}

.result-panel .loading-line,
.result-panel #paidSummary,
.result-panel .review-note,
.result-panel .email-field {
  grid-column: 1 / -1;
}

.result-panel button {
  min-height: 46px;
}

.review-note {
  padding: 16px;
  border: 1px solid rgba(13, 107, 87, 0.18);
  border-radius: 14px;
  background: rgba(220, 239, 232, 0.72);
}

.review-note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.email-field {
  display: block;
}

.paid-calculation {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(216, 223, 220, 0.9);
}

.payment-return-focus {
  padding: 16px;
  border-radius: 18px;
  outline: 3px solid rgba(31, 122, 92, 0.2);
  background: rgba(247, 251, 249, 0.72);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
}

.loading-line {
  padding: 12px;
  border-radius: 8px;
  background: #fff3e8;
  color: var(--accent);
  font-weight: 700;
}

.customer-report-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.customer-report-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pdf-render {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 210mm;
  background: #fff;
  color: #111;
  z-index: -1;
}

.pdf-render .report-page {
  width: 190mm;
  min-height: 297mm;
  margin: 0;
  padding: 10mm;
  background: #fff;
  color: #111;
  font-size: 10.5pt;
  line-height: 1.45;
  box-sizing: border-box;
}

.pdf-render .report-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #d9e2df;
  border-left: 6px solid #1f7a5c;
  border-radius: 8px;
  background: #f7fbf9;
}

.pdf-render .report-eyebrow {
  margin: 0 0 5px;
  color: #1f7a5c;
  font-size: 8.5pt;
  font-weight: 800;
  text-transform: uppercase;
}

.pdf-render .report-meta {
  display: grid;
  gap: 4px;
  min-width: 48mm;
  font-size: 9.5pt;
}

.pdf-render .report-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pdf-render h1 {
  font-size: 21pt;
  margin: 0 0 6px;
  line-height: 1.08;
}

.pdf-render h2 {
  font-size: 13pt;
  margin: 0 0 8px;
}

.pdf-render .report-value-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 0 0 12px;
}

.pdf-render .report-value-band div {
  padding: 9px;
  border: 1px solid #d9e2df;
  border-radius: 7px;
  background: #fbfbf8;
}

.pdf-render .report-value-band span,
.pdf-render .report-final span {
  display: block;
  margin-bottom: 4px;
  color: #56645f;
  font-size: 8.5pt;
  font-weight: 700;
  text-transform: uppercase;
}

.pdf-render .report-value-band strong {
  display: block;
  font-size: 12pt;
}

.pdf-render .report-section {
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid #d9e2df;
  border-radius: 8px;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdf-render .report-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.pdf-render .report-table th,
.pdf-render .report-table td {
  border-bottom: 1px solid #e6ece9;
  padding: 6px 7px;
  text-align: left;
  vertical-align: top;
}

.pdf-render .report-table th {
  width: 36%;
  color: #3d4b46;
  background: #f7fbf9;
  font-weight: 800;
}

.pdf-render .report-table tr:last-child th,
.pdf-render .report-table tr:last-child td {
  border-bottom: 0;
}

.pdf-render .report-final {
  margin-top: 14px;
  padding: 14px 16px;
  border: 2px solid #1f7a5c;
  border-radius: 8px;
  background: #f7fbf9;
  color: #111;
}

.pdf-render .report-final strong {
  display: block;
  font-size: 18pt;
  font-weight: 700;
}

.pdf-render .report-image-group {
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdf-render .customer-report-images {
  gap: 7px;
}

.pdf-render .customer-report-images img {
  border-color: #d9e2df;
  border-radius: 5px;
}

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

.panel,
.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.span-2 {
  grid-column: 1 / -1;
}

.fields {
  display: grid;
  gap: 12px;
}

.fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fields.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fields.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

label,
legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  margin-top: 6px;
  min-height: 42px;
  border: 1px solid rgba(216, 223, 220, 0.95);
  border-radius: 10px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 3px solid rgba(13, 107, 87, 0.14);
  border-color: rgba(13, 107, 87, 0.58);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

fieldset label,
.chips label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.fieldset-grid {
  display: contents;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.status.error {
  color: var(--danger);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.inline-add {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
}

.image-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.image-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.64);
}

.image-group input {
  padding: 7px;
}

.previews,
.report-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.previews img,
.report-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: white;
}

.summary {
  position: sticky;
  top: 16px;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.metric span,
.market-value span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  text-align: right;
}

.market-value {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #eaf3ef;
  border: 1px solid #c7ddd4;
}

.market-value strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  color: var(--brand-dark);
}

#adjustments {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.report {
  display: none;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .seo-dashboard-grid,
  .seo-two-column,
  .seo-page-board {
    grid-template-columns: 1fr 1fr;
  }

  .seo-page-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .summary {
    position: static;
  }

  .fields.four,
  .fields.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: min(100% - 20px, 1480px);
    margin: 12px auto;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    justify-content: stretch;
  }

  .top-actions button {
    flex: 1 1 150px;
  }

  .button-link {
    flex: 1 1 150px;
  }

  .form-grid,
  .fields.two,
  .fields.three,
  .fields.four,
  .image-groups {
    grid-template-columns: 1fr;
  }

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

  .seo-dashboard-grid,
  .seo-two-column,
  .seo-page-board,
  .seo-page-toolbar {
    grid-template-columns: 1fr;
  }

  .seo-actions-row,
  .seo-panel-header,
  .seo-idea,
  .seo-list-item,
  .seo-page-card,
  .seo-page-column-header {
    align-items: stretch;
    flex-direction: column;
  }

  .public-hero,
  .wizard,
  .quick-card,
  .service-grid,
  .blog-grid,
  .expert-band,
  .sample-band,
  .local-links-grid,
  .local-facts,
  .sample-summary,
  .split-info,
  .process-steps,
  .result-panel {
    grid-template-columns: 1fr;
  }

  .public-hero h1 {
    font-size: 34px;
  }

  .public-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .site-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .site-nav nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .wizard-progress {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 14px;
  }

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

  .hero-proof,
  .quick-card,
  .wizard,
  .result-panel,
  .contact-band,
  .valuer-band,
  .blog-card,
  .blog-article,
  .expert-band,
  .sample-band,
  .local-links-band,
  .local-hero,
  .sample-report,
  .service-grid article,
  .split-info,
  .process-band {
    border-radius: 14px;
    padding: 18px;
  }

  .hero-proof {
    padding-top: 18px;
  }

  .hero-proof::before {
    position: static;
    justify-self: start;
    margin-bottom: 4px;
  }

  .site-footer,
  .cookie-popup {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}

@media print {
  body {
    background: white;
  }

  .app-shell,
  .public-page,
  .site-nav {
    display: none;
  }

  .report {
    display: block;
    width: 100%;
    color: #111;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .report-page {
    max-width: 190mm;
    margin: 0 auto;
  }

  .report-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid #d9e2df;
    border-left: 6px solid #1f7a5c;
    border-radius: 8px;
    background: #f7fbf9;
  }

  .report-eyebrow {
    margin: 0 0 5px;
    color: #1f7a5c;
    font-size: 8.5pt;
    font-weight: 800;
    text-transform: uppercase;
  }

  .report-meta {
    display: grid;
    gap: 4px;
    min-width: 48mm;
    font-size: 9.5pt;
  }

  .report-meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .report h1 {
    font-size: 21pt;
    margin: 0 0 6px;
    line-height: 1.08;
  }

  .report h2 {
    font-size: 13pt;
    margin: 0 0 8px;
  }

  .report-value-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin: 0 0 12px;
  }

  .report-value-band div {
    padding: 9px;
    border: 1px solid #d9e2df;
    border-radius: 7px;
    background: #fbfbf8;
  }

  .report-value-band span,
  .report-final span {
    display: block;
    margin-bottom: 4px;
    color: #56645f;
    font-size: 8.5pt;
    font-weight: 700;
    text-transform: uppercase;
  }

  .report-value-band strong {
    display: block;
    font-size: 12pt;
  }

  .report-section {
    margin: 0 0 12px;
    padding: 11px 12px;
    border: 1px solid #d9e2df;
    border-radius: 8px;
    background: #fff;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .report-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
  }

  .report-table th,
  .report-table td {
    border-bottom: 1px solid #e6ece9;
    padding: 6px 7px;
    text-align: left;
    vertical-align: top;
  }

  .report-table th {
    width: 36%;
    color: #3d4b46;
    background: #f7fbf9;
    font-weight: 800;
  }

  .report-table tr:last-child th,
  .report-table tr:last-child td {
    border-bottom: 0;
  }

  .report-final {
    margin-top: 14px;
    padding: 14px 16px;
    border: 2px solid #1f7a5c;
    border-radius: 8px;
    background: #f7fbf9;
    color: #111;
  }

  .report-final strong {
    display: block;
    font-size: 18pt;
    font-weight: 700;
  }

  .report-image-group {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .customer-report-images {
    gap: 7px;
  }

  .customer-report-images img {
    max-height: 85mm;
    border-color: #d9e2df;
    border-radius: 5px;
  }
}
.suggest-field {
  position: relative;
}

.suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(13, 107, 87, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(14px);
}

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #15231f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.suggestion-item small {
  color: #64746f;
  font-size: 12px;
  white-space: nowrap;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: rgba(13, 107, 87, 0.1);
}
