/* Sleep Calculator — tool-specific styles */
.sl-inrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; }
.sl-lead { margin: 20px 0 14px; color: var(--muted); font-weight: 600; }
.sl-lead b { color: var(--text); }

.sl-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sl-time { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 12px; text-align: center; animation: ats-rise .35s cubic-bezier(.23,1,.32,1) both; }
.sl-time b { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; }
.sl-time small { display: block; margin-top: 5px; color: var(--muted-2); font-size: .78rem; font-weight: 600; }
.sl-time .sl-dur { color: var(--muted-2); font-size: .78rem; }
.sl-time.best { border-color: rgba(92,214,192,.55); background: rgba(92,214,192,.08); }
.sl-time.best b { color: var(--accent-2); }
.sl-time.best small { color: var(--accent-2); }
.sl-time:nth-child(1) { animation-delay: .02s; } .sl-time:nth-child(2) { animation-delay: .07s; }
.sl-time:nth-child(3) { animation-delay: .12s; } .sl-time:nth-child(4) { animation-delay: .17s; }

#slRefresh { margin-top: 16px; }

@media (max-width: 680px) { .sl-times { grid-template-columns: 1fr 1fr; } .sl-inrow { grid-template-columns: 1fr; } }
