/* CCFT calculators dashboard rebuild v1.39.22 - equal cards + organ comparison */
.ccft-calculator-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
  margin:16px 0 22px;
  grid-auto-rows:1fr;
  align-items:stretch;
}
.ccft-calculator-card {
  background:var(--card-bg,#fff);
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  padding:18px;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:285px;
  height:100%;
  box-sizing:border-box;
}
.ccft-calculator-card h3 { margin:0; }
.ccft-calculator-card p { margin:0 0 6px; flex:1; }
.ccft-calculator-card button { align-self:flex-start; margin-top:auto; }
.ccft-calc-card-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.ccft-calc-card-actions button { margin-top:0; }
.ccft-calc-icon { font-size:30px; min-height:34px; }
.ccft-calc-lund .ccft-calc-icon::before { content:"\2764\FE0F"; }
.ccft-calc-cjd .ccft-calc-icon::before { content:"\1F9E0"; }
.ccft-calc-bmi .ccft-calc-icon::before { content:"\2696\FE0F"; }
.ccft-calc-adult .ccft-calc-icon::before { content:"\1FAC0"; }
.ccft-calc-paediatric .ccft-calc-icon::before { content:"\1F476"; }
.ccft-calc-toxicology .ccft-calc-icon::before { content:"\1F9EA"; }
.ccft-calc-status {
  display:inline-block;
  width:max-content;
  border-radius:999px;
  padding:3px 8px;
  font-size:12px;
  font-weight:700;
}
.ccft-calc-status.ok { background:#e7f6ec; color:#185c2d; }
.ccft-calc-status.warn { background:#fff4d6; color:#744d00; }
.ccft-calculator-card small { display:block; opacity:.7; font-size:11px; }
.ccft-calculator-error { border-left:4px solid #a83232; }

.ccft-calc-organ-comparison .ccft-calc-icon::before { content:"\2696\FE0F"; }
@media (max-width:640px){.ccft-calculator-card{min-height:240px;}}
