/* Habineo Core 0.80.9 RC10 — continuity, interaction and Cockpit polish. */

/* Interactive states are Habineo indigo. Green remains reserved for semantic positive states. */
body.habineo-core-investor-page .hb-iw__first-run-card:hover,
body.habineo-core-investor-page .hb-iw__first-run-card:focus-visible{
  border-color:#c9c6f5!important;
  background:#f7f6ff!important;
  box-shadow:0 14px 30px rgba(79,70,229,.09)!important;
  outline:none!important;
}
body.habineo-core-investor-page .hb-iw__first-run-card:hover strong,
body.habineo-core-investor-page .hb-iw__first-run-card:focus-visible strong{color:#4338ca!important}
body.habineo-core-investor-page .hb-iw__first-run>div:first-child>span{color:#5a52d6!important}

body.habineo-core-investor-page .hb-iw .hb-iw__button--positive:hover,
body.habineo-core-investor-page .hb-iw .hb-iw__button--positive:focus-visible,
body.habineo-core-investor-page .hb-iw__project-row-actions .is-positive:hover,
body.habineo-core-investor-page .hb-iw__project-row-actions .is-positive:focus-visible{
  color:#08735a!important;
  border-color:#8fd1bc!important;
  background:#e7f8f1!important;
  box-shadow:0 8px 20px rgba(8,115,90,.08)!important;
}
body.habineo-core-investor-page .hb-iw__portfolio-filters button:not(.is-active):hover,
body.habineo-core-investor-page .hb-iw__portfolio-filters button:not(.is-active):focus-visible,
body.habineo-core-investor-page .hb-iw__project-row-actions button:not(.is-danger):hover,
body.habineo-core-investor-page .hb-iw__project-row-actions button:not(.is-danger):focus-visible,
body.habineo-core-investor-page .hb-iw__report-row-actions button:not(.is-danger):hover,
body.habineo-core-investor-page .hb-iw__report-row-actions button:not(.is-danger):focus-visible,
body.habineo-core-investor-page .hb-iw__report-row-actions a:hover,
body.habineo-core-investor-page .hb-iw__report-row-actions a:focus-visible{
  color:#4338ca!important;
  border-color:#c9c6f5!important;
  background:#f7f6ff!important;
  box-shadow:0 8px 20px rgba(79,70,229,.07)!important;
  outline:none!important;
}
body.habineo-core-investor-page .hb-iw__report-row-actions .is-danger:hover,
body.habineo-core-investor-page .hb-iw__report-row-actions .is-danger:focus-visible{
  color:#a61b12!important;
  border-color:#efc2bd!important;
  background:#fff5f3!important;
}

/* History hydration: never flash a false empty state while the server is being checked. */
.hb-iw__reports-loading{
  min-height:126px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:26px 28px;
  border:1px solid #e0e3ef;
  border-radius:18px;
  background:#fbfbff;
  text-align:left;
}
.hb-iw__reports-loading strong,.hb-iw__reports-loading p{display:block}
.hb-iw__reports-loading strong{color:#2e3851;font-size:16px;line-height:1.35}
.hb-iw__reports-loading p{margin:5px 0 0;color:#7a8498;font-size:13px;line-height:1.55}
.hb-iw__reports-spinner{
  width:30px;height:30px;flex:0 0 30px;border:3px solid #dedcf7;border-top-color:#625be7;border-radius:50%;animation:hb809spin .78s linear infinite;
}
@keyframes hb809spin{to{transform:rotate(360deg)}}
.hb-iw__empty-report--report-error .hb-iw__button{margin-top:18px}

/* Saved studies are easier to scan and the dossier action has breathing room. */
.hb-iw__saved-audits{margin-top:30px!important}
.hb-iw__report-row{padding:24px 25px!important;gap:18px!important}
.hb-iw__report-row h3{margin-top:7px!important}
.hb-iw__report-row p{margin-top:8px!important}
.hb-iw__report-row em{margin-top:12px!important;line-height:1.45!important;white-space:normal!important}
.hb-iw__report-row-actions{gap:8px!important}
.hb-iw__report-row-actions button,.hb-iw__report-row-actions a{padding-left:13px!important;padding-right:13px!important}

@media(max-width:700px){
  .hb-iw__reports-loading{align-items:flex-start;padding:22px 20px}
  .hb-iw__report-row{padding:21px 19px!important}
}
