.cis-history-choices{margin:1.25rem 0;padding:1rem;border:1px solid rgba(125,133,148,.28);border-radius:14px}
.cis-history-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}
.cis-history-title-row h3{margin:.25rem 0 .4rem}
.cis-history-list{display:grid;gap:.55rem;margin:1rem 0}
.cis-history-game{display:flex;align-items:flex-start;gap:.8rem;padding:.8rem;border:1px solid rgba(125,133,148,.2);border-radius:10px;cursor:pointer;background:rgba(125,133,148,.035)}
.cis-history-game input{margin-top:.18rem;flex-shrink:0}
.cis-history-game strong{display:block;font-size:.97rem;line-height:1.35;overflow-wrap:anywhere}
.cis-history-game small{display:block;margin-top:.2rem;opacity:.78;line-height:1.5}
.cis-history-game.is-disabled{opacity:.65;cursor:default}
.cis-history-game:has(input:checked):not(.is-disabled){border-color:rgba(78,118,151,.68);background:rgba(78,118,151,.08)}
.cis-history-choices[hidden]{display:none!important}

/* Historical credit choices and recovery sit inside the connected card. */
.ec-fluid .account-page #cis-link-panel :is(#cis-history-choices,#cis-manual-recovery){
  color:#f5e6fa;background:#332449;border-color:#785b87;
}
.ec-fluid .account-page #cis-link-panel .cis-history-game{
  background:#291c3a;border-color:#785b87;color:#f5e6fa;
}
.ec-fluid .account-page #cis-link-panel .cis-history-game:has(input:checked):not(.is-disabled){
  background:#453255;border-color:#bd9ccd;
}
.ec-fluid .account-page #cis-link-panel .cis-history-game small{
  color:#eadceb;opacity:1;
}
.ec-fluid .account-page #cis-link-panel .cis-history-game.is-disabled{opacity:.85}
#cis-manual-recovery summary{cursor:pointer;font-weight:700;padding:.2rem 0;line-height:1.45}
#cis-manual-recovery[open] summary{margin-bottom:.75rem}
#cis-manual-recovery .cis-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem;margin:1rem 0}
#cis-manual-recovery .cis-report-grid label,
#cis-manual-recovery .cis-report-entry label{display:grid;gap:.35rem;font-weight:600}
#cis-manual-recovery .cis-report-entries{display:grid;gap:.65rem;margin:1rem 0}
#cis-manual-recovery .cis-report-entry{display:grid;grid-template-columns:minmax(140px,2fr) minmax(145px,1fr) minmax(90px,1fr) auto;gap:.6rem;align-items:end}
#cis-manual-recovery .cis-report-entry .link-button{margin-bottom:.3rem}
#cis-manual-recovery :is(input,select){width:100%;padding:.65rem;min-width:0}
@media(max-width:720px){#cis-manual-recovery .cis-report-entry{grid-template-columns:1fr 1fr}#cis-manual-recovery .cis-report-entry label:first-child{grid-column:1/-1}}
