/* Final-cascade analysis corrections. Loaded after site.css. */
.analysis-guide-carousel{margin-top:1rem;padding:1rem;border:1px solid var(--pi-border,#dfe6e5);border-radius:16px;background:var(--pi-surface-soft,#f1f7f5)}
.analysis-guide-slide{display:grid;grid-template-columns:minmax(150px,.72fr) minmax(0,1.28fr);align-items:center;gap:1rem}
.analysis-guide-slide[hidden]{display:none}.analysis-guide-slide p{margin:.35rem 0 0;color:#536273}
.analysis-guide-demo{display:grid;gap:.25rem;padding:.8rem .9rem;border:1px solid #cfe2de;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(7,31,54,.06)}
.analysis-guide-demo-label{color:#64748b;font-size:.7rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.analysis-guide-demo strong{color:var(--pi-navy,#071f36);font-size:1.25rem}.analysis-guide-demo-edit{color:var(--pi-teal-dark,#087d68);font-size:.75rem;font-weight:800}
.analysis-guide-carousel-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;margin-top:1rem}
.analysis-guide-carousel-button{min-height:40px;padding:.45rem .8rem;border:1px solid #cbd7d5;border-radius:10px;background:#fff;color:var(--pi-navy,#071f36);font-weight:800}
.analysis-guide-carousel-button:hover,.analysis-guide-carousel-button:focus-visible{border-color:var(--pi-teal,#11b894);outline:3px solid rgba(17,184,148,.16)}
.analysis-guide-carousel-dots{display:flex;justify-content:center;gap:.45rem}.analysis-guide-carousel-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#b9c7c4}.analysis-guide-carousel-dots button.is-active{background:var(--pi-teal-dark,#087d68)}
.customer-shell .analysis-summary-actions{width:100%;max-width:none}.customer-shell .analysis-summary-action-grid{display:flex;grid-template-columns:none;flex-wrap:wrap;justify-content:flex-end;gap:.6rem;max-width:none}
.customer-shell .analysis-summary-action-grid .analysis-btn{width:auto;min-width:max-content;min-height:44px;padding-inline:.85rem;white-space:nowrap}
.customer-shell .loan-estimate-shell{gap:1rem}.customer-shell .loan-estimate-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:clamp(1.25rem,2vw,2rem);border:1px solid var(--pi-border);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f4faf8 100%);box-shadow:0 10px 30px rgba(7,31,54,.07)}
.customer-shell .loan-estimate-header .analysis-action-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.6rem}.customer-shell .loan-estimate-grid{gap:1rem}.customer-shell .loan-estimate-grid .analysis-card{padding:clamp(1rem,1.8vw,1.4rem);border:1px solid var(--pi-border);border-radius:16px;background:var(--pi-surface,#fff);box-shadow:0 7px 22px rgba(7,31,54,.05)}
.customer-shell .loan-estimate-grid .analysis-card-header{padding-bottom:.7rem;border-bottom:1px solid var(--pi-border)}.customer-shell .loan-estimate-grid .analysis-card-header h2{margin:0;color:var(--pi-navy);font-size:1.15rem}.customer-shell .loan-estimate-grid .analysis-stat-row{min-height:43px;align-items:center}
.customer-shell .loan-estimate-disclaimer{padding:1rem 1.1rem;border-left:4px solid var(--pi-teal);border-radius:12px;background:var(--pi-surface-soft)}.customer-shell .loan-estimate-disclaimer>strong{display:block;margin-bottom:.35rem;color:var(--pi-navy)}.customer-shell .loan-estimate-disclaimer .trust-disclaimer{margin:0;padding:0;border:0;background:transparent}
@media(min-width:992px){.customer-shell .analysis-property-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}.customer-shell .analysis-property-gallery-column,.customer-shell .analysis-property-gallery-column>.analysis-map-wrap,.customer-shell .analysis-property-gallery-column>.analysis-map-fallback-compact,.customer-shell .analysis-property-gallery-column iframe{height:100%;min-height:0}.customer-shell .analysis-property-facts-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(88px,1fr);gap:.75rem}.customer-shell .analysis-property-facts,.customer-shell .analysis-property-insights{display:contents}.customer-shell .analysis-property-fact,.customer-shell .analysis-property-insight,.customer-shell .analysis-property-insight-wide{min-height:88px;grid-column:auto;padding:.75rem .8rem}.customer-shell .analysis-property-facts-panel>.analysis-inline-note{position:absolute;width:1px;height:1px;overflow:hidden}}
@media(max-width:991.98px){
  .customer-shell .loan-estimate-hero{grid-template-columns:1fr}
  .customer-shell .loan-estimate-header .analysis-action-row{justify-content:flex-start}
  .customer-shell .analysis-property-facts,
  .customer-shell .analysis-property-insights{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.75rem;
  }
  .customer-shell .analysis-property-fact,
  .customer-shell .analysis-property-insight,
  .customer-shell .analysis-property-insight-wide{
    min-height:88px;
    grid-column:auto;
    padding:.75rem .8rem;
  }
}
@media(max-width:767.98px){.analysis-guide-slide{grid-template-columns:1fr}.customer-shell .analysis-summary-action-grid{display:grid;grid-template-columns:1fr 1fr}.customer-shell .analysis-summary-action-grid .analysis-btn{width:100%;min-width:0;white-space:normal}.customer-shell .loan-estimate-grid{grid-template-columns:1fr}.customer-shell .loan-estimate-header .analysis-action-row{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:575.98px){
  .customer-shell .analysis-property-facts,
  .customer-shell .analysis-property-insights{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.analysis-guide-carousel *{scroll-behavior:auto!important;transition:none!important}}
@media print{.customer-shell .sidebar-shell,.customer-shell .sidebar-topbar,.customer-shell .analysis-detail-workspace-tabs,.customer-shell .loan-estimate-header .analysis-action-row{display:none!important}.customer-shell .content-shell{margin:0!important}.customer-shell .analysis-page{padding:0!important}.customer-shell .loan-estimate-shell{gap:.5rem}.customer-shell .loan-estimate-hero,.customer-shell .loan-estimate-grid .analysis-card{box-shadow:none;break-inside:avoid}.customer-shell .loan-estimate-grid{grid-template-columns:1fr 1fr;gap:.5rem}}
