:root {
  --ink: #10211c;
  --ink-2: #1a332c;
  --paper: #f3f1eb;
  --card: #fffcf7;
  --fg: #17241f;
  --muted: #5c6b64;
  --line: #e3ddd0;
  --accent: #0e6a4c;
  --accent-deep: #0a4d38;
  --accent-fg: #fff;
  --brass: #9a7433;
  --bg-soft: #efece3;
  --warn: #8a5a00;
  --err: #a61b1b;
  --shadow: 0 18px 50px rgba(16, 33, 28, .08);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(1200px 420px at 80% -80px, rgba(14, 106, 76, .08), transparent 60%),
    var(--paper);
}
a { color: var(--accent-deep); }
h1, h2, .brand-name {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; margin: 0 0 14px; }
h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 1.12rem; margin: 0 0 8px; }

.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16, 33, 28, .94);
  color: #f4f1ea;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bar, main, .site-foot .wrap {
  max-width: 1120px; margin: 0 auto; padding-left: 22px; padding-right: 22px;
}
.bar {
  display: flex; gap: 22px; align-items: center; justify-content: space-between;
  min-height: 68px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background:
    linear-gradient(160deg, transparent 46%, #e7d7b1 46% 54%, transparent 54%),
    linear-gradient(135deg, #1f8a62, #0c3d2e);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand-name { font-size: 1.15rem; }
.nav-main, .nav-user { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nav-main a, .nav-user a, .nav-user button.link {
  color: #e7e2d6; text-decoration: none; font-size: .95rem;
}
.nav-main a:hover, .nav-user a:hover { color: #fff; }
.nav-user .ghost {
  border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent;
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
}

main { padding-top: 28px; padding-bottom: 64px; }

.hero {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 70%, #23493c 100%);
  color: #f7f4ee;
  border-radius: 28px;
  padding: 42px 40px 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(231, 215, 177, .35);
  box-shadow: 0 0 0 40px rgba(231, 215, 177, .05), 0 0 0 80px rgba(231, 215, 177, .04);
}
.hero h1, .hero .lead, .hero .eyebrow { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 12px; letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem; color: #e7d7b1;
}
.hero .lead { color: #d5ddd8; font-size: 1.15rem; max-width: 680px; margin: 0 0 22px; }
.hero a { color: #e7d7b1; }

.search { position: relative; z-index: 1; max-width: 680px; margin-top: 8px; }
.search label { display: block; font-weight: 600; margin-bottom: 8px; }
.hero .search label { color: #f7f4ee; }
.search .row {
  display: flex; gap: 8px; background: #fff; border-radius: 14px; padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.search input {
  border: 0; background: transparent; color: var(--fg); padding: 12px 14px; font-size: 1.05rem;
}
.search button { border-radius: 10px; padding: 12px 22px; }
.hero .hero-note { position: relative; z-index: 1; max-width: 680px; margin: 0 0 16px; }
.region-pick { position: relative; z-index: 1; max-width: 680px; margin-top: 24px; }
.region-pick label { display: block; font-weight: 600; margin-bottom: 8px; color: #f7f4ee; }
.region-pick select {
  display: block; width: 100%; box-sizing: border-box;
  border: 0; border-radius: 14px; background: #fff; color: var(--fg);
  padding: 12px 14px; font-size: 1.05rem; line-height: 1.3;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
#region-card { max-width: 680px; margin: 28px 0 0; }
.region-card {
  background: var(--card); color: var(--fg); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; margin-top: 12px;
}
.region-card h2 { font-size: 1.15rem; margin: 0 0 8px; color: var(--fg); }
.region-card p, .region-card ul { margin: 0 0 8px; }
.region-card ul { padding-left: 1.2rem; }
.hero .error { color: #ffd0d0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.chips li {
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  padding: 6px 12px; font-size: .88rem; color: #e4ece8;
}
.hero-actions { position: relative; z-index: 1; margin: 18px 0 0; }
.hero-actions .button.secondary {
  background: transparent;
  color: #f7f4ee;
  border: 1px solid rgba(255,255,255,.28);
}
.hero-actions .button.secondary:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.section-head { max-width: 640px; margin: 42px 0 18px; }
.section-head p { color: var(--muted); margin: 0; }

.steps, .cards, .services, .price-grid, .cols {
  display: grid; gap: 16px;
}
.steps { grid-template-columns: repeat(3, 1fr); }
.cards { grid-template-columns: repeat(3, 1fr); }
.services { grid-template-columns: repeat(2, 1fr); }
.cols { grid-template-columns: 1fr 1fr; }
.price-grid { grid-template-columns: 1.1fr .9fr .9fr; align-items: stretch; }

.steps article, .cards article, .services article, .panel, .price-card, main > section:not(.hero):not(.bare), main > article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.steps span {
  display: block; font-family: Georgia, serif; color: var(--brass); font-size: 1.3rem; margin-bottom: 8px;
}
.cards article p, .steps article p, .services article p { margin: 0; color: var(--muted); }
.services article h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; }
.kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin: 0 0 8px; }

.price-card.featured {
  background: var(--ink);
  color: #f7f4ee;
  border-color: var(--ink);
}
.price-card.featured p, .price-card.featured li { color: #d5ddd8; }
.price-card .price, .price { font-family: Georgia, serif; font-size: 2rem; margin: 8px 0; }
.price-card ul, .split ul { margin: 0; padding-left: 18px; }
.price-card li + li, .split li + li { margin-top: 6px; }

.band {
  margin-top: 28px;
  background: #efe8d8;
  border-radius: var(--radius);
  padding: 22px 24px;
}
.band p:last-child { margin-bottom: 0; }

.site-foot { background: var(--ink); color: #d5ddd8; padding: 36px 0 28px; }
.site-foot a { color: #f4f1ea; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-foot .muted, .site-foot p { color: #b7c4be; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a { text-decoration: none; }
.legal-line { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; }

.narrow { max-width: 480px; }
.doc p, .doc li { max-width: 720px; }
main > section.narrow, main > article.narrow { margin-left: auto; margin-right: auto; }

input[type=text], input[type=email], input[type=password] {
  width: 100%; padding: 12px 14px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--fg);
}
button, .button {
  display: inline-block; padding: 12px 18px; font-size: 1rem; border-radius: 10px; border: 0;
  background: var(--accent); color: var(--accent-fg); cursor: pointer; text-decoration: none; font-weight: 600;
}
button:hover, .button:hover { background: var(--accent-deep); }
button.secondary, a.button.secondary { background: var(--bg-soft); color: var(--fg); border: 1px solid var(--line); font-weight: 500; }
.wait { display: flex; gap: 16px; align-items: flex-start; }
.wait h2 { margin-bottom: 6px; }
.wait p { margin: 0; }
.spinner {
  width: 28px; height: 28px; margin-top: 6px; flex: none;
  border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
  animation: cs-spin .8s linear infinite;
}
@keyframes cs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
button.link { background: none; color: inherit; padding: 0; text-decoration: underline; font-weight: 500; }
form.inline { display: inline; }
.stack label, .buy label, .pack label { display: block; margin: 12px 0; }
.check { display: flex !important; gap: 8px; align-items: flex-start; }
.check input { width: auto; margin-top: 4px; }
.check-fine { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.check-fine a { color: inherit; }

.cad-study {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  max-width: none;
  margin: 0 0 22px;
  white-space: nowrap;
  overflow-x: auto;
}
.cad-study strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.offer-scope {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0 22px;
  padding: 12px 16px 12px 18px;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background: rgba(14, 106, 76, .08);
  border: 1px solid rgba(14, 106, 76, .16);
  box-shadow: none;
}
.offer-scope::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(154, 116, 51, .55);
}
.offer-scope::after { display: none; }
.offer-scope__kicker {
  position: relative;
  z-index: 1;
  display: inline;
  flex: none;
  margin: 0;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .68rem;
  line-height: 1.2;
  color: var(--brass);
  white-space: nowrap;
}
.offer-scope__text {
  position: relative;
  z-index: 1;
  display: inline;
  margin: 0;
  max-width: none;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.offer-price {
  margin-top: 18px;
  margin-bottom: 14px;
  width: fit-content;
  max-width: 100%;
}
.offer-price .offer-scope__text {
  font-variant-numeric: tabular-nums;
}
.offer-acc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 8px;
}
.offer-acc__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 247, .72);
  overflow: hidden;
}
.offer-acc__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
  user-select: none;
}
.offer-acc__item summary::-webkit-details-marker { display: none; }
.offer-acc__item summary::after {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(45deg);
  transition: transform .18s ease;
  margin-top: -2px;
}
.offer-acc__item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.offer-acc__item summary:hover {
  background: rgba(14, 106, 76, .05);
}
.offer-acc__item ul {
  margin: 0;
  padding: 0 14px 12px 32px;
}
.offer-acc__item li + li { margin-top: 6px; }
@media (max-width: 720px) {
  .cad-study { white-space: normal; }
  .offer-scope {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .offer-scope__text { white-space: normal; }
}
.buy-extras {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 13rem);
  gap: 8px 12px;
  margin-top: 12px;
  max-width: 22rem;
}
.buy-extras label {
  margin: 0;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.25;
}
.buy-extras input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 5px 8px;
  font-size: .82rem;
  line-height: 1.25;
  border-radius: 7px;
}
@media (max-width: 560px) {
  .buy-extras { grid-template-columns: 1fr; max-width: 14rem; }
}

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts .lot-card-price-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.facts .lot-card-price-note-sum { color: var(--text); font-weight: 700; }
.facts dd.lot-card-price-unvalued { color: var(--muted); }
.map { margin: 0; }
.map svg, .parcel-svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.map figcaption { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.parcel-bg { fill: #f4f1ea; }
.parcel-shape { fill: rgba(14, 106, 76, .2); stroke: var(--accent); stroke-width: 2; }

.account-jump { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 22px; }
.balance-figure { font-size: 2.6rem; font-weight: 700; line-height: 1; margin: 0 0 4px; letter-spacing: -0.03em; }
.balance-unit { margin: 0 0 12px; color: var(--muted); }
.fold { margin: 8px 0 22px; }
.fold summary { cursor: pointer; font-weight: 600; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
@media (min-width: 900px) {
  .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pack { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.pack h3 { margin-top: 0; }

.grid { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; }
.grid th, .grid td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.grid th { background: var(--bg-soft); font-weight: 600; }
.legend { padding-left: 18px; }

.muted { color: var(--muted); }
.ok { color: var(--accent); font-weight: 650; }
.notice { background: #fff6e0; color: var(--warn); padding: 12px 14px; border-radius: 12px; }
.error { color: var(--err); }
.hidden { position: absolute; left: -9999px; }
.links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) {
  .steps, .cards, .services, .price-grid, .cols, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 20px; border-radius: 20px; }
  .search .row { flex-direction: column; }
  .bar { align-items: flex-start; }
}

@media print {
  .site-head, .site-foot, .noprint { display: none; }
  body { background: #fff; }
  main { padding: 0; }
  a { color: inherit; text-decoration: none; }
  .hero { background: #fff; color: #000; box-shadow: none; }
}

/* paid card */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 14px 0; }
.shot { margin: 0; position: relative; }
.shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.shot__empty { min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); background: var(--bg-soft); }
.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.shot--marked { max-width: 760px; }
.shot--marked .marks { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 1.6em); pointer-events: none; }
.shot--marked .marks circle { fill: none; stroke: #e11d48; stroke-width: .45; }
.linkbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.linkbar .lb { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  text-decoration: none; font-size: .95rem; }
.tools { border-top: 1px solid var(--line); padding-top: 10px; }
.tool { margin-right: 8px; }
.st { font-size: .9rem; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); }
.st--ok { color: var(--accent-deep); }
.st--fail { color: var(--err); }
.st--manual, .st--run { color: var(--warn); }
.prewrap { white-space: pre-wrap; }
.ai-report h2 { margin-top: 1.4em; }
.ai-report .risk--high { color: var(--err); }
.market-doc table { width: 100%; border-collapse: collapse; }
.market-doc th, .market-doc td { border: 1px solid var(--line); padding: 4px 6px; }
@media print { .noprint, .linkbar, form { display: none !important; } }

.err { color: var(--err); }
.ops-body { background: var(--paper); }
.ops-bar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 14px 22px; background: var(--ink); color: #f4f1ea;
}
.ops-bar a { color: #f4f1ea; text-decoration: none; }
.ops-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.ops-brand { font-weight: 650; }
.ops-body main { max-width: 1120px; margin: 0 auto; padding: 28px 22px 64px; }
.ops-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 16px; }
.ops-filters input, .ops-filters select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table.ops { width: 100%; border-collapse: collapse; background: var(--card); }
table.ops th, table.ops td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px; vertical-align: top; }
.ops-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.ops-facts dt { color: var(--muted); }
.ops-facts dd { margin: 0; }
.ops-body textarea { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px; }
.ops-body input[type=number], .ops-body input[type=search] {
  width: 100%; padding: 12px 14px; font-size: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.ops-filters input[type=search] { width: 280px; }
.wpz-sheet svg { max-width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.wpz-water-card {
  margin: 0.75rem 0;
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid var(--line);
}
.wpz-water-card:first-child { border-top: none; padding-top: 0; }
.wpz-water-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.wpz-water-detect-status { margin-left: 0.5rem; }
.stack label { display: block; margin: 0.45rem 0; }
label[data-building-slot][hidden],
.wpz-fold[hidden] { display: none !important; }
.stack input, .stack select, .stack textarea { display: block; width: min(40rem, 100%); margin-top: 0.2rem; }
.wpz-form { max-width: 64rem; }
.wpz-kicker { display: block; font-size: 1.2rem; font-weight: 400; line-height: 1.3; }
.wpz-form input[type="number"]::-webkit-inner-spin-button,
.wpz-form input[type="number"]::-webkit-outer-spin-button { opacity: 1; height: 1.6em; }
.wpz-limit { display: block; margin-top: 0.25rem; color: var(--err); font-size: 0.92rem; }
.wpz-limit:empty { display: none; }
.wpz-board { display: flex; gap: 8px; align-items: flex-start; }
.wpz-stage { position: relative; }
.wpz-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.wpz-tools button { min-width: 2.2rem; }
.wpz-side {
  position: absolute; z-index: 3; top: 52px; left: 8px; width: 78px;
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  pointer-events: none;
}
.wpz-side .wpz-compass { position: static; width: 76px; margin: 0 auto; pointer-events: none; }
.wpz-dock { display: flex; flex-direction: column; gap: 4px; pointer-events: auto; }
.wpz-dock-btn {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  width: 78px; margin: 0; padding: 4px 3px 5px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, .94); color: #243126;
  font-size: 10px; font-weight: 650; line-height: 1.15; text-align: center;
  box-shadow: 0 1px 4px rgba(36, 49, 38, .12);
}
.wpz-dock-btn:hover { background: #fff; color: #243126; }
.wpz-dock-btn svg { display: block; }
.wpz-gap-wrap {
  width: 78px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 4px rgba(36, 49, 38, .12);
}
.wpz-gap-wrap .wpz-dock-btn {
  width: 100%; border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
.wpz-gap-wrap:has(#wpz-gaps[aria-pressed="true"]) { outline: 2px solid #1d4e89; background: #e7eef8; }
.wpz-gap-wrap #wpz-gaps[aria-pressed="true"] { outline: none; background: transparent; }
.wpz-gap-pick {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 4px; padding: 3px 0 4px;
  border-top: 1px solid var(--line);
}
.wpz-gap-pick[hidden] { display: none; }
.wpz-dock-sub {
  width: 100%; margin: 0; padding: 4px 2px;
  border: 0; border-radius: 6px;
  background: transparent; color: #243126;
  font-size: 9px; font-weight: 650; line-height: 1.15; text-align: center;
  box-shadow: none;
}
.wpz-dock-sub:hover {
  background: transparent; color: #243126;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.wpz-dock-sub[aria-pressed="true"] { outline: none; background: #fff; color: #1d4e89; }
.wpz-dock-sub[aria-pressed="true"]:hover {
  background: #fff; color: #1d4e89;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.wpz-stage.is-full .wpz-side { max-height: calc(100% - 60px); overflow: auto; }
.wpz-guide {
  margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0 12px;
}
.wpz-guide summary { cursor: pointer; font-weight: 650; padding: 10px 0; }
.wpz-guide p, .wpz-guide ul { margin: 0 0 10px; }
.wpz-guide li { margin: 0 0 6px; }
.wpz-stage.is-full {
  position: fixed; inset: 0; z-index: 80; background: #f7f4ee;
  padding: 12px 16px 16px; overflow: hidden;
  display: flex; flex-direction: column;
}
.wpz-stage.is-full .wpz-tools { flex: 0 0 auto; }
.wpz-stage.is-full .wpz-sheet {
  flex: 1 1 auto; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column;
}
.wpz-stage.is-full .wpz-board {
  flex: 1 1 auto; min-height: 0; height: 100%;
  align-items: stretch;
}
.wpz-stage.is-full .wpz-canvas {
  flex: 1 1 auto; min-width: 0; min-height: 0; max-height: 100%;
  overflow: auto;
}
.wpz-stage.is-full .wpz-palette {
  width: 10.5rem; flex: 0 0 10.5rem; max-height: 100%; min-height: 0;
  overflow: auto; display: block;
}
.wpz-stage.is-full .wpz-pal svg { width: 64px; height: 50px; min-height: 0; }
body.wpz-lock { overflow: hidden; }
.wpz-sheet, .wpz-canvas, .wpz-stage { overflow-anchor: none; }
.wpz-canvas { flex: 1 1 auto; min-width: 0; overflow: auto; }
.wpz-palette { width: 10.5rem; flex: 0 0 10.5rem; }
.wpz-pal { margin: 0 0 8px; }
.wpz-pal { position: relative; }
.wpz-pal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.wpz-pal-title { font-size: 1rem; font-weight: 650; margin: 0; line-height: 1.2; flex: 0 1 auto; }
.wpz-pal-sub { font-weight: 500; font-size: .9rem; flex: 1 0 100%; margin: 0; }
.wpz-help {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: #243126; font-size: 12px; font-weight: 700; line-height: 16px;
  padding: 0; cursor: pointer; flex: 0 0 auto;
}
.wpz-tip {
  position: absolute; z-index: 6; right: 0; top: 1.7rem; width: 16rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font-size: .82rem; line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.wpz-pal svg { width: 64px; height: 50px; display: block; cursor: grab; border: 1px solid var(--line); border-radius: 8px; background: #fff; touch-action: none; }
#wpz-ruler[aria-pressed="true"],
#wpz-gaps[aria-pressed="true"],
#wpz-marks[aria-pressed="true"],
#wpz-zone[aria-pressed="true"] { outline: 2px solid #1d4e89; background: #e7eef8; }
.wpz-pal-used { margin-bottom: 8px; }
.wpz-pal-bad { outline: 2px solid #e10600; border-radius: 10px; }
@media (max-width: 800px) {
  .wpz-board { flex-direction: column; }
  .wpz-palette { width: 100%; flex: none; display: flex; flex-wrap: wrap; gap: 10px; }
  .wpz-stage.is-full .wpz-board { flex-direction: row; }
  .wpz-stage.is-full .wpz-palette {
    width: 10.5rem; flex: 0 0 10.5rem; display: block; max-height: 100%;
  }
}
h1.wpz-title {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 8px;
}
#wpz-pay { scroll-margin-top: 88px; }
.wpz-remarks { margin: 16px 0; }
.wpz-locked-fields { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.wpz-locked-fields:disabled { opacity: 0.72; }
.wpz-share { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.wpz-share-field { display: block; margin: 0; max-width: 40rem; }
.wpz-share-input-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.wpz-share-input-row input[type="url"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
}
.wpz-share-copy {
  flex: 0 0 auto;
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  white-space: nowrap;
}
.wpz-share-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
  font-weight: 600;
}
.wpz-share-dot {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #d4a017;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.wpz-share-status.is-waiting .wpz-share-dot { background: #e6b422; }
.wpz-share-status.is-downloaded .wpz-share-dot { background: #2f9e44; }
.wpz-share-status.is-revoked .wpz-share-dot { background: #c92a2a; }
.wpz-share-warn { margin: 0.5rem 0 0; color: var(--err); font-size: 0.92rem; }
.wpz-share-actions { margin: 0.6rem 0 0; }
.wpz-btn-danger {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}
.wpz-btn-danger:hover { filter: brightness(1.05); }
.wpz-share-hint-open {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent, #1a5c38);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.wpz-share-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  max-width: min(46rem, calc(100vw - 2rem));
}
.wpz-share-dialog::backdrop { background: rgba(20, 28, 22, 0.45); }
.wpz-share-dialog-inner { margin: 0; padding: 1rem 1.1rem 1.1rem; }
.wpz-share-dialog-inner h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.wpz-share-dialog-inner img { display: block; width: 100%; height: auto; margin: 0.7rem 0 1rem; border: 1px solid var(--line); }
.wpz-share-main { font-weight: 600; }
.wpz-share-list { margin: 0.8rem 0 0; padding-left: 1.2rem; }
#wpz-remarks > summary,
#wpz-filing-question > summary,
#wpz-refusal > summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  cursor: pointer; list-style: none; width: fit-content;
}
#wpz-remarks > summary::-webkit-details-marker,
#wpz-filing-question > summary::-webkit-details-marker,
#wpz-refusal > summary::-webkit-details-marker { display: none; }
.wpz-mail-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; text-decoration: underline;
}
#wpz-remarks > summary:hover .wpz-mail-link,
#wpz-filing-question > summary:hover .wpz-mail-link,
#wpz-refusal > summary:hover .wpz-mail-link,
a.wpz-mail-link:hover { color: var(--accent-deep); }
#wpz-remarks-form,
#wpz-filing-question form,
#wpz-refusal-form { margin-top: 12px; }
#wpz-filing { margin: 16px 0 24px; }
.wpz-filing-panel { display: none; margin-top: 12px; }
#wpz-filing[data-saved-status="submitted"] [data-filing="submitted"],
#wpz-filing[data-saved-status="approved"] [data-filing="approved"],
#wpz-filing[data-saved-status="rejected"] [data-filing="rejected"] { display: block; }
#wpz-refusal-form { scroll-margin-top: 88px; }
.wpz-progress { margin: 8px 0 16px; }
.wpz-progress ol { list-style: none; margin: 10px 0 0; padding: 0; }
.wpz-progress li { padding: 3px 0 3px 16px; color: #667; }
.wpz-progress li.is-done,
.wpz-progress li.is-now { color: inherit; }
.wpz-progress li.is-now { font-weight: 650; }
.card-building { max-width: 36rem; margin: 2rem auto; padding: 0 1rem; }
.card-building h1 { font-size: 1.35rem; margin: 0 0 0.75rem; }
.card-building-task {
  margin: 0.65rem 0 0.85rem;
  min-height: 1.55em;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
}
.card-building-task-text {
  display: inline-block;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.card-building-task-text.is-in {
  opacity: 1;
  transform: translateY(0);
}
.card-building-task-text.is-out {
  opacity: 0;
  transform: translateY(0.35em);
}
.card-building-stages { list-style: none; margin: 14px 0 0; padding: 0; }
.card-building-stages li {
  padding: 3px 0 3px 16px;
  color: #667;
  transition: color 0.35s ease, font-weight 0.35s ease;
}
.card-building-stages li.is-done,
.card-building-stages li.is-now { color: inherit; }
.card-building-stages li.is-now { font-weight: 650; }
.card-building-stages li.is-pulse:not(.is-done) { color: inherit; font-weight: 650; }
.card-building .wpz-bar { margin-top: 10px; }
.card-building .wpz-bar > span { width: 33%; }
.wpz-bar { height: 8px; background: #e6e6e6; border-radius: 99px; overflow: hidden; }
.wpz-bar > span { display: block; height: 100%; width: 25%; background: #1d4e89; position: relative; overflow: hidden; }
.wpz-bar.is-live > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: wpz-slide 1.4s linear infinite;
}
@keyframes wpz-slide {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.wpz-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px 8px;
  margin: 12px 0;
}
section.wpz-card { padding-top: 8px; }
.wpz-card > summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  text-align: left;
}
.wpz-sketch-icon {
  width: auto;
  height: 44px;
  margin: 0 0 0 8px;
  vertical-align: middle;
}
.wpz-paper {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d9d9d9;
  box-shadow: 0 10px 28px rgba(16, 33, 28, .08);
  padding: 22px 18px 28px;
  margin: 0 0 16px;
  max-width: 820px;
}
.wpz-paper h2,
.wpz-paper h3 { color: #1a1a1a; font-family: Georgia, "Palatino Linotype", Palatino, serif; }
.wpz-paper h2 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 12px; }
.wpz-paper h3 { margin: 1.15rem 0 .35rem; }
.wpz-paper p { margin: 0 0 .7rem; }
.wpz-paper-title { border-bottom: 1px solid #e6e6e6; margin-bottom: 16px; padding-bottom: 8px; }
.wpz-paper-kicker {
  margin: 0 0 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #5c5346;
}
.wpz-paper-toc { margin: 0 0 .4rem; padding-left: 1.3rem; }
.wpz-paper-toc ol { margin: .2rem 0 .45rem; padding-left: 1.2rem; }
.wpz-paper-lock { color: #5c5346; font-style: italic; }
.wpz-paper figure { margin: 12px 0 18px; }
.wpz-paper img { display: block; width: 100%; height: auto; background: #fff; }
.wpz-paper figcaption { margin-top: 6px; color: #5c5346; font-size: .9rem; }
.wpz-paper-close {
  margin: 1.4rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid #e6e6e6;
  font-size: .9rem;
  font-weight: 400;
  font-style: italic;
  color: #5c5346;
}
.wpz-hint { color: var(--muted); font-size: .9rem; margin: 0 0 .7rem; }
.wpz-choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.wpz-guide h3 { margin: 1rem 0 .35rem; font-size: 1.05rem; }
.wpz-guide ul { margin: .2rem 0 .8rem; padding-left: 1.2rem; }
.wpz-guide li { margin: .25rem 0; }
.wpz-kinds { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 14px; width: min(28rem, 100%); }
.wpz-form label.wpz-kind {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 16px; width: 100%; margin: 0; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.wpz-form label.wpz-kind input[type="radio"] {
  display: inline-block; width: 1.15rem; min-width: 1.15rem; height: 1.15rem;
  margin: 0; flex: 0 0 auto;
}
.wpz-shot { display: block; width: min(420px, 100%); height: auto; margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wpz-copy-block { margin: 0 0 12px; max-width: 40rem; }
.wpz-copy-block label { display: block; margin: 0; }
.wpz-copy-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.wpz-copy-row textarea {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  min-height: 2.6rem;
  resize: vertical;
  font: inherit;
  line-height: 1.35;
}
.wpz-copy-row .wpz-share-copy { margin-top: 0; }
.wpz-form textarea { width: min(40rem, 100%); min-height: 6rem; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 10px; }
.stack label.check,
.wpz-form label.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .55rem;
  width: min(40rem, 100%);
  text-align: left;
}
.stack label.check input[type="checkbox"],
.wpz-form label.check input[type="checkbox"] {
  display: inline-block;
  width: 1.05rem;
  min-width: 1.05rem;
  height: 1.05rem;
  margin: .2rem 0 0;
  flex: 0 0 auto;
}

.guides-list .card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guides-list .card-list a {
  display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); text-decoration: none; color: inherit;
}
.guides-list .card-list a:hover { border-color: var(--brass); }
.guides-list .card-list strong { display: block; margin-bottom: 6px; }
.guides-list .chip-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.guides-list .chip-list a {
  display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; color: inherit; background: #fff;
}
.guide-doc h2 { margin-top: 1.4em; }
.guide-doc .lead { color: var(--muted); max-width: 42rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero.compact { padding-bottom: 28px; }


/* Homepage interactive demo card (screenshot lightbox, no live services) */
.demo-tools { margin: 36px 0 12px; }
.demo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.demo-card__head { margin-bottom: 16px; }
.demo-card__badge {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid color-mix(in srgb, var(--brass) 40%, var(--line));
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.demo-card__cad {
  margin: 0 0 4px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.demo-card__addr { margin: 0; }
.demo-card__group { margin-bottom: 16px; }
.demo-card__group:last-child { margin-bottom: 0; }
.demo-card__group-title {
  margin: 0 0 8px;
  padding: 0 2px;
  font-size: .92rem;
  font-weight: 600;
  color: #0e6a4c;
}
.demo-card__btns--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.demo-card__btns--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  max-width: 28rem;
}
.demo-tools .lot-action-btn {
  appearance: none;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.35);
  background: rgba(15, 23, 42, 0.04);
  color: var(--fg);
  box-shadow: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  text-align: left;
  white-space: normal;
  box-sizing: border-box;
}
.demo-tools .lot-action-btn:hover {
  background: rgba(14, 106, 76, 0.08);
  border-color: rgba(14, 106, 76, 0.45);
  color: var(--fg);
}
.demo-tools .lot-action-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.demo-tools .lot-action-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 106, 76, 0.13);
  color: #0e6a4c;
}
.demo-tools .lot-action-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-lightbox[hidden] { display: none !important; }
.demo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.demo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 24, .55);
}
.demo-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 20px 22px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.demo-lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--fg);
}
.demo-lightbox__media {
  margin: 8px 28px 14px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
}
.demo-lightbox__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  background: transparent;
}
.demo-lightbox__title { margin: 0 0 8px; padding-right: 36px; }
.demo-lightbox__body {
  margin: 0 0 16px;
  max-width: 42rem;
  white-space: pre-line;
  line-height: 1.45;
}
.demo-lightbox__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
html.demo-lightbox-open { overflow: hidden; }

@media (max-width: 640px) {
  .demo-card__btns--grid { grid-template-columns: 1fr; }
  .demo-card__btns--stack { max-width: none; }
}
