.tanecik-inputs, .tanecik-states { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.tanecik-example { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.tanecik-example span { color:var(--text-muted); font-size:.9rem; }
.tanecik-equation { margin:0 0 16px; text-align:center; font-size:1.2rem; font-weight:700; color:var(--text-title); overflow-wrap:anywhere; }
.tanecik-legend { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 16px; margin-bottom:20px; font-size:.85rem; }
.tanecik-legend span { display:inline-flex; align-items:center; gap:6px; }
.tanecik-legend b { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border:1px solid #64748b; border-radius:50%; font-size:.75rem; }
.tanecik-states { align-items:stretch; margin-bottom:20px; }
.tanecik-state { min-width:0; padding:12px; border:1px solid var(--border-color); border-radius:var(--border-radius); background:var(--bg-card); }
.tanecik-state h3 { margin:0 0 14px; font-size:1rem; color:var(--text-title); }
.tanecik-state h3 span { display:block; margin-top:4px; font-size:.8rem; color:var(--text-muted); font-weight:400; }
.tanecik-species + .tanecik-species { margin-top:14px; padding-top:12px; border-top:1px solid var(--border-color); }
.tanecik-species h4 { margin:0 0 6px; font-size:.9rem; color:var(--text-title); }
.tanecik-species h4 small { display:inline-block; margin-left:5px; font-size:.75rem; font-weight:400; }
.tanecik-species[data-tur="artan"] { border:1px dashed #b96a10; border-radius:6px; padding:8px; margin-top:14px; background:#fff9ef; }
.tanecik-species[data-tur="artan"] h4 small { color:#8b4b05; }
.tanecik-molecules { display:flex; flex-wrap:wrap; align-items:center; gap:3px; }
.tanecik-molecule { display:block; width:58px; height:46px; flex:none; }
.tanecik-schematic { width:80px; height:68px; }
.tanecik-composition { margin:4px 0 8px; font-size:.78rem; line-height:1.5; color:var(--text-muted); overflow-wrap:anywhere; }
.tanecik-species h4 { overflow-wrap:anywhere; }
.tanecik-inputs > [hidden] { display:none; }
.tanecik-mode label { display:flex; align-items:flex-start; gap:8px; }
.tanecik-mode input { width:18px; height:18px; flex:none; margin-top:2px; accent-color:var(--color-primary); }
#tanecikReport [hidden] { display:none; }
.tanecik-empty { margin:12px 0; color:var(--text-muted); font-size:.85rem; line-height:1.6; }
.tanecik-steps { padding-left:22px; font-size:.9rem; line-height:1.7; color:var(--text-muted); }
@media (max-width:560px) { .tanecik-states { grid-template-columns:1fr; } }
@media (max-width:360px) { .tanecik-inputs { grid-template-columns:1fr; gap:0; } }
@media print { .tanecik-state, .tanecik-species { break-inside:avoid; } .tanecik-states { grid-template-columns:repeat(2,minmax(0,1fr)); } }
