/* Free tools (/tools/app-cost-calculator, /tools/app-privacy-policy-generator).
   Builds on the .mw wizard component in styles/seo.css. Mobile first. */
.est-section { padding-top: 8px; }
.mw-choice, .mw-chip, .est-link { cursor: pointer; font: inherit; }
.mw-choice:focus-visible, .mw-chip:focus-visible, .est-link:focus-visible, .pp-check input:focus-visible + span,
.est .btn:focus-visible, .pp-out .btn:focus-visible, .pp-form .btn:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }
.mw-step h3:focus { outline: none; }
.mw-chip.is-sel::before { content: "\2713\00a0"; }
.est-running { margin: -8px 0 16px; font-size: 14px; color: #475569; }
.est-running strong { color: #0F172A; }
.est-noscript { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 10px; padding: 12px 14px; color: #9A3412; }

.est-result #estResult { background: linear-gradient(135deg, #EEF4FF 0%, #F5F0FF 100%); border: 1px solid #DCE6FA; border-radius: 16px; padding: 22px 20px; text-align: center; }
.est-result #estResult:focus { outline: none; }
.est-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2563EB; margin: 0 0 6px; }
.est-range { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(26px, 7vw, 40px); line-height: 1.15; color: #0F172A; margin: 0; }
.est-range small { font-size: .45em; font-weight: 700; color: #475569; letter-spacing: .04em; }
.est-sub { margin: 8px 0 0; color: #334155; font-weight: 600; }
.est-maint { margin: 8px 0 0; color: #475569; font-size: 14.5px; }
.est-h { font-size: 18px; margin: 24px 0 10px; }
.est-drivers { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.est-drivers li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 11px 14px; border: 1px solid #E6EAF2; border-radius: 11px; background: #fff; }
.est-drivers .d-name { font-weight: 600; color: #0F172A; }
.est-drivers .d-detail { display: block; font-size: 13px; color: #64748B; font-weight: 400; }
.est-drivers .d-range { white-space: nowrap; font-weight: 700; color: #1D4ED8; font-size: 14.5px; }
.est-disclaimer { margin: 14px 0 0; font-size: 13.5px; color: #64748B; }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.est-link { background: none; border: 0; color: #1D4ED8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 6px; }
.est-lead { margin-top: 18px; padding-top: 6px; border-top: 1px solid #E6EAF2; }
.est-lead select { width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; border: 1px solid #DDE5F0; border-radius: 11px; background: #fff; }
.est-lead select:focus, .pp-form select:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3.5px rgba(37,99,235,.13); }
.est-err { display: none; color: #DC2626; font-size: 13px; margin: 6px 0 0; }
.est-err.show { display: block; }
.est-fine { font-size: 12.5px; color: #64748B; margin-top: 10px; }
.est-fine a { color: #1D4ED8; }

/* Privacy policy generator */
.pp-note { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 14px; padding: 14px 16px; color: #78350F; font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.pp-form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.pp-form legend { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: #0F172A; margin-bottom: 12px; padding: 0; }
.pp-form select { width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; border: 1px solid #DDE5F0; border-radius: 11px; background: #fff; }
.pp-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mw .pp-check, .pp-check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #E6EAF2; border-radius: 10px; background: #fff; cursor: pointer; font-size: 14.5px; color: #334155; margin: 0 0 8px; font-weight: 500 !important; }
.pp-grid .pp-check { margin: 0; }
.mw .pp-check input, .pp-check input { width: 18px !important; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #2563EB; padding: 0 !important; }
.mw .pp-check:has(input:checked) { border-color: #2563EB; background: #F4F8FF; }
.pp-out { margin-top: 22px; }
.pp-out h2:focus { outline: none; }
.pp-warn { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.pp-warn li { background: #FFF7ED; border: 1px solid #FED7AA; color: #9A3412; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.pp-label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 7px; }
.pp-text { width: 100%; min-height: 420px; font: 13.5px/1.55 ui-monospace, Menlo, Consolas, monospace !important; color: #0F172A; white-space: pre-wrap; }
.pp-status { font-size: 13.5px; color: #15803D; font-weight: 600; }

@media (min-width: 640px) {
  .pp-grid { grid-template-columns: 1fr 1fr; }
  .est-result #estResult { padding: 28px; }
}
@media (max-width: 480px) {
  .est-drivers li { flex-direction: column; gap: 4px; }
  .est-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mw-step.is-active { animation: none; }
  .mw-bar span { transition: none; }
}
/* Long button labels must wrap on small phones (.btn is nowrap site-wide). */
.est-actions .btn, .est-lead .btn, .pp-form .btn, .pp-out .btn { white-space: normal; line-height: 1.3; text-align: center; justify-content: center; max-width: 100%; }
