#pool-estimator-root { max-width: 640px; margin: 0 auto; font-family: inherit; }
#pe-running-total { position: sticky; top: 0; background: #111; color: #fff; padding: 14px 18px; border-radius: 8px; margin-bottom: 46px; font-size: 1.2rem; font-weight: 600; z-index: 10; }
#pe-running-total .pe-note { display: block; font-size: 0.75rem; font-weight: normal; opacity: 0.7; margin-top: 2px; }
.pe-options { display: grid; gap: 10px; margin: 14px 0; }
.pe-option-btn { display: block; width: 100%; text-align: left; padding: 12px 16px; border: 2px solid #ddd; border-radius: 8px; color: #111; background: #fff; cursor: pointer; font-size: 1rem; }
.pe-option-btn:hover { border-color: #999; }
.pe-option-btn.selected { border-color: #2563eb; background: #eff6ff; }
.pe-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.pe-btn { padding: 10px 22px; border-radius: 6px; border: none; cursor: pointer; font-size: 1rem; }
.pe-btn-next { background: #2563eb; color: #fff; }
.pe-btn-back { background: #eee; color: #333; }
#pool-estimator-root input[type="text"], #pool-estimator-root input[type="email"], #pool-estimator-root input[type="tel"], #pool-estimator-root input[type="number"], #pool-estimator-root select, #pool-estimator-root textarea { width: 100%; padding: 10px; margin: 6px 0 16px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-family: inherit; font-size: 1rem; }
.pe-error { color: #b91c1c; font-weight: 600; }
.pe-success { text-align: center; padding: 20px 0; }
.pe-required { color: #b91c1c; }
.pe-checkbox-label { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 16px; font-size: 0.95rem; line-height: 1.4; cursor: pointer; }
.pe-checkbox-label input[type="checkbox"] { width: auto; margin: 3px 0 0; flex-shrink: 0; }
.pe-contact-form label { display: block; font-weight: 600; margin-top: 4px; }
.pe-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.pe-turnstile { margin: 12px 0 16px; }
.pe-hint { font-size: 0.9rem; color: #666; margin: 0 0 12px; }
.pe-option-desc { display: block; font-size: 0.85rem; font-weight: normal; opacity: 0.75; margin-top: 4px; }
.pe-option-btn strong { font-weight: 600; }
#pool-estimator-root :focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.pe-field-error { color: #b91c1c; font-size: 0.85rem; font-weight: 600; margin: -8px 0 12px; }
.pe-field-error[hidden], .pe-field-error:empty { display: none; }
#pool-estimator-root input[aria-invalid="true"], #pool-estimator-root select[aria-invalid="true"] { border-color: #b91c1c; }
.pe-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 14px; }
.pe-filter-bar .pe-filter-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #666; margin-right: 4px; }
.pe-filter-chip { border: 1px solid #ddd; background: #f5f5f5; border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; cursor: pointer; color: #333; }
.pe-filter-chip.selected, .pe-filter-chip[aria-pressed="true"] { background: #2563eb; border-color: #2563eb; color: #fff; }
.pe-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0;
}
@media (min-width: 560px) {
  .pe-card-grid { grid-template-columns: repeat(3, 1fr); }
  .pe-card-grid-2,
  .pe-card-grid-services { grid-template-columns: repeat(2, 1fr); }
}
.pe-model-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: #111;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pe-model-card:hover { border-color: #999; }
.pe-model-card.selected { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb; background: #eff6ff; }
.pe-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.pe-card-img-wrap .pe-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pe-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8eef7 0%, #f8fafc 100%);
  color: #1e3a5f;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.pe-model-card .pe-card-body { padding: 10px 12px 12px; }
.pe-model-card .pe-card-title { font-weight: 700; font-size: 1rem; margin: 0; }
.pe-model-card .pe-card-meta { font-size: 0.8rem; color: #666; margin-top: 2px; }
.pe-model-card .pe-card-check { display: none; margin-left: auto; color: #2563eb; font-weight: 700; }
.pe-model-card.selected .pe-card-check { display: inline; }
.pe-card-row { display: flex; align-items: center; gap: 6px; }
