/* Guide de l'utilisateur : même habillage que l'application (voir theme.css). Chargé après le <style> de guide.html. */
:root { --bg: #f3f4f8; --panel: #fff; --line: #e2e4ec; --text: #1e2130; --muted: #636a7c; --btn: #eef0f6; --btnh: #e4e7f0; --accent-blue: #026fae; --code: #eceef4; --soft: #eceef4; --yellow-soft: #fdeeaa; --yellow-text: #5f4a00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --soft: #2a2c3b; --yellow-soft: #4a4220; --yellow-text: #f6e08a; } }
:root[data-theme="dark"] { --soft: #2a2c3b; --yellow-soft: #4a4220; --yellow-text: #f6e08a; }
body { -webkit-font-smoothing: antialiased; }

header.nav { background: var(--panel); color: var(--text); border-bottom: 1px solid var(--line); padding: 12px 20px; }
header.nav .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.05rem; }
header.nav .brand img { border-radius: 8px; display: block; }
header.nav .gtitle { color: var(--muted); }
.nb { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--text); border-radius: 10px; }
.nb:hover { background: var(--soft); }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.ref { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); white-space: nowrap; line-height: 1.55; vertical-align: baseline; }
.ref .i { width: 15px; height: 15px; vertical-align: 0; }
.ref b { font-weight: 600; }

.layout { max-width: 1160px; }
nav.toc { border-radius: 16px; }
nav.toc a { border-radius: 8px; }
nav.toc a:hover { background: var(--soft); }
.hero h1 { font-size: 2.2rem; letter-spacing: -.01em; }
section { border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 22, 40, .05); padding: 28px; }
section h2 { letter-spacing: -.005em; }
.tip, .warn { border-radius: 10px; }
.warn { background: var(--yellow-soft); border-left-color: var(--accent); color: var(--yellow-text); }
th { background: var(--soft); }
.help-links a { border-radius: 10px; background: var(--panel); }
.help-links a:hover { background: var(--soft); }
kbd { background: var(--soft); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 2px; }