
:root {
  --bg: #f8fafc; --surface: #ffffff; --surface-2: #eef2ff; --text: #0f172a; --muted: #475569;
  --indigo: #4f46e5; --violet: #7c3aed; --emerald: #059669; --border: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--indigo); text-decoration: none; }
.topbar { background: linear-gradient(90deg, var(--indigo), var(--violet)); color: #fff; font-size: 0.8rem; text-align: center; padding: 7px 14px; font-weight: 700; }
.nav-wrap { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 80; }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; font-size: 1.25rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.logo-pill { background: var(--surface-2); color: var(--indigo); border: 1px solid #c7d2fe; padding: 2px 8px; border-radius: 6px; font-size: 0.72rem; font-family: monospace; }
.btn-indigo { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff !important; padding: 10px 18px; border-radius: 10px; font-weight: 800; font-size: 0.88rem; display: inline-block; box-shadow: 0 4px 12px rgba(79,70,229,0.22); }
.shell { max-width: 1160px; margin: 28px auto; padding: 0 20px; }
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px; margin-bottom: 24px; }
.hero-card h1 { font-size: 2rem; font-weight: 900; margin-bottom: 10px; line-height: 1.22; }
.answer-box { background: var(--surface-2); border-left: 4px solid var(--indigo); padding: 16px 20px; border-radius: 10px; margin: 16px 0; }
.calc-panel { background: #0f172a; color: #f8fafc; border-radius: 18px; padding: 28px; margin-bottom: 26px; }
.calc-panel h2 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.chip-group { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.dose-chip { background: #1e293b; color: #cbd5e1; border: 1px solid #334155; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 0.86rem; }
.dose-chip.active { background: var(--indigo); color: #fff; border-color: #818cf8; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 18px; }
.calc-stat { background: #1e293b; border: 1px solid #334155; padding: 16px; border-radius: 12px; }
.calc-stat small { color: #94a3b8; font-size: 0.74rem; text-transform: uppercase; display: block; }
.calc-stat strong { font-size: 1.65rem; color: #34d399; font-family: monospace; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.92rem; }
th { background: #f1f5f9; font-size: 0.76rem; text-transform: uppercase; color: var(--muted); }
.mesh-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 14px; }
.mesh-item { background: var(--bg); border: 1px solid var(--border); padding: 14px 16px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; }
.mesh-item:hover { border-color: var(--indigo); background: var(--surface); }
.footer { text-align: center; padding: 32px 20px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); background: var(--surface); margin-top: 40px; }
