/* Logical properties (inline-start/end) so one stylesheet serves both RTL Arabic and LTR English. */
:root { color-scheme: light; --ink: #1d2b36; --muted: #5b6b78; --ok: #1f7a4d; --bad: #b3261e; --line: #dde3e8; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif; color: var(--ink); background: #f6f8f9;
       font-variant-numeric: lining-nums tabular-nums; }
main { max-width: 34rem; margin: 3rem auto; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; position: relative; }
h1 { margin: 0 0 .5rem; font-size: 1.6rem; }
p { line-height: 1.7; color: var(--muted); }
.note { padding: .6rem .8rem; background: #fff7e0; border-inline-start: 4px solid #e0a800; border-radius: 6px; color: var(--ink); }
#lang { position: absolute; inset-inline-end: 1rem; inset-block-start: 1rem; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: .3rem .7rem; cursor: pointer; }
#health { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: .75rem 0 0; }
dt { color: var(--muted); } dd { margin: 0; font-weight: 600; }
.ok { color: var(--ok); } .down { color: var(--bad); }
