/* Peace Infinite — Kalkulator estimasi */
.es-hero { padding: calc(72px + 56px) 0 40px; background: linear-gradient(180deg, #fff 0%, var(--surface-muted) 100%); }
.es-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-3); }
.es-hero p { color: var(--text-muted) !important; max-width: 60ch; font-size: 1.0625rem; }
.es-notice {
  display: inline-flex; gap: 10px; align-items: flex-start; margin-top: var(--sp-6);
  padding: 12px 16px; border-radius: var(--r-md); background: #FFF7E6; border: 1px solid #F5D9A8; color: #7A4A06; font-size: .9375rem;
}
.es-notice code { font-size: .8125rem; background: rgba(0,0,0,.05); padding: 1px 6px; border-radius: 4px; }

.es-body { padding: 0 0 var(--section-y); background: var(--surface-muted); }
.es-body .container { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-8); align-items: start; }

.es-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-md); }
.es-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.es-progress { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-8); }
.es-progress .pi-progress { flex: 1; }
.es-progress-label { font-size: var(--fs-small); color: var(--text-subtle); white-space: nowrap; }

.es-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.es-step.is-active { display: block; }
.es-step legend { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); color: var(--text); margin-bottom: var(--sp-4); padding: 0; outline: none; }
.es-help { color: var(--text-muted) !important; font-size: .9375rem; margin: -8px 0 var(--sp-4); }

.es-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.es-grid[hidden] { display: none; }
.es-grid--types { grid-template-columns: repeat(2, 1fr); }
.es-opt {
  position: relative; display: flex; align-items: center; gap: var(--sp-3);
  padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; background: var(--surface);
  transition: border-color .15s ease-out, background .15s ease-out;
}
.es-opt:hover { border-color: var(--border-strong); background: var(--surface-muted); }
.es-opt input { position: absolute; opacity: 0; pointer-events: none; }
.es-opt:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.es-opt:has(input:checked) { border-color: var(--brand-blue); background: var(--brand-blue-soft); }
.es-opt-icon { width: 40px; height: 40px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--brand-blue-soft); color: var(--brand-blue); flex-shrink: 0; }
.es-opt:has(input:checked) .es-opt-icon { background: var(--brand-blue); color: #fff; }
.es-opt-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: transparent; flex-shrink: 0; }
.es-opt input[type=radio] + .es-opt-check { border-radius: 50%; }
.es-opt:has(input:checked) .es-opt-check { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.es-opt-text { display: flex; flex-direction: column; gap: 2px; }
.es-opt-text strong { font-weight: 600; color: var(--text); font-size: .9375rem; }
.es-opt-text small { color: var(--text-muted); font-size: .8125rem; }

.es-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.pi-field--full { grid-column: 1 / -1; }

.es-nav { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.es-nav[hidden] { display: none; }
.es-nav [hidden] { display: none; }
.es-error--form { margin-top: var(--sp-3); }

.es-processing { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); padding: var(--sp-12) 0; color: var(--text-muted); }
.es-processing[hidden], .es-result[hidden] { display: none; }

.es-result { outline: none; }
.es-range { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); color: var(--brand-navy); letter-spacing: -.02em; line-height: 1.15; }
.es-range--ph { color: var(--text-subtle); border: 1.5px dashed var(--border-strong); border-radius: var(--r-md); padding: 12px 16px; font-size: 1.25rem; }
.es-disclaimer { display: flex; gap: 8px; align-items: center; margin: var(--sp-3) 0 var(--sp-6); color: var(--text-muted) !important; font-weight: 500; }
.es-summary { list-style: none; display: grid; gap: 6px; padding: var(--sp-4); border-radius: var(--r-md); background: var(--surface-muted); font-size: .9375rem; color: var(--text-body); }
.es-sent { display: flex; gap: 8px; align-items: center; margin: var(--sp-6) 0; color: var(--success) !important; font-weight: 500; }
.es-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.es-aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-6); position: sticky; top: 100px; }
.es-aside h2 { font-size: 1.0625rem; margin-bottom: var(--sp-4); }
.es-aside ul { list-style: none; display: grid; gap: var(--sp-4); }
.es-aside li { display: flex; gap: 10px; font-size: .9375rem; color: var(--text-body); }
.es-aside .icon { color: var(--brand-blue); margin-top: 2px; }

@media (max-width: 960px) {
  .es-body .container { grid-template-columns: 1fr; }
  .es-aside { position: static; }
}
@media (max-width: 600px) {
  .es-grid, .es-grid--types, .es-fields { grid-template-columns: 1fr; }
  .es-nav .btn { flex: 1; }
}
.es-step legend:focus-visible { box-shadow: none; }
