/* GEXPIT public guides (gexpit.com/guides/): the look of the account area guides (area/area.css: tokens, .guide, .codebox,
   .note, .warn, .minis, .warnart / .wa-*), copied for the few guides a tester reads before having an account.
   Published by prepara_pubblicazione.py as guides/guide.css. No inline styles, no external resources. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 600; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: #000; --card: #0a0c10; --card-2: #0d1117; --card-3: #161b22;
  --line: #27272a; --line-2: #30363d;
  --text: #fff; --text-dim: #b7bec8; --text-mute: #8b949e;
  --green: #00E676; --green-dim: rgba(0, 230, 118, .12);
  --amber: #ffd700;
  --red: #ff4d4d; --red-dim: rgba(255, 77, 77, .10);
  --font-ui: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-ui); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; overflow-wrap: break-word; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1 { font-size: 1.6rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
p + p { margin-top: .75rem; }
code, .mono { font-family: var(--font-mono); font-size: .86em; }
.muted { color: var(--text-mute); }
.dim { color: var(--text-dim); }
.small { font-size: .85rem; }

/* page frame */
.gp-head { border-bottom: 1px solid var(--line); background: var(--card); }
.gp-head-in, .gp-main, .gp-foot-in { max-width: 860px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.gp-head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.gp-brand { display: inline-flex; align-items: center; }
.gp-brand img { display: block; height: 28px; width: auto; }
.gp-nav { font: 600 .78rem var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.gp-main { padding-top: 2rem; padding-bottom: 3rem; }
.gp-main h1 { margin-bottom: 1rem; }
.gp-foot { border-top: 1px solid var(--line); background: var(--card); }
.gp-foot-in { padding-top: 1.25rem; padding-bottom: 1.5rem; display: grid; gap: .6rem; font-size: .88rem; color: var(--text-dim); }
.gp-foot .antiphish { color: var(--text-mute); font-size: .82rem; }
.gp-list { list-style: none; display: grid; gap: .5rem; margin-top: 1rem; }
.gp-list a { display: block; padding: .8rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card-2); color: var(--text); }
.gp-list a:hover { border-color: var(--green); text-decoration: none; }

/* buttons (only the Copy buttons of the code boxes; shown when guide.js runs) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .6rem 1.15rem; border-radius: 6px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 .82rem var(--font-mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.btn-sm { min-height: 34px; padding: .35rem .8rem; font-size: .74rem; }
.codebox .btn { display: none; }
.js .codebox .btn { display: inline-flex; }

.minis { list-style: none; counter-reset: m; display: grid; gap: .35rem; margin-top: .6rem; font-size: .92rem; color: var(--text-dim); }
.minis li { counter-increment: m; padding-left: 1.9rem; position: relative; }
.minis li::before { content: counter(m); position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--card-3); display: grid; place-items: center; font: 600 .7rem var(--font-mono); }

.codebox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--bg); font-family: var(--font-mono); }
.codebox .val { font-size: 1.05rem; letter-spacing: .06em; word-break: break-all; }
.codebox.big .val { font-size: 1.5rem; }
.codebox .lbl { font-family: var(--font-ui); font-size: .85rem; color: var(--text-mute); }

/* guide body (area.css .guide) */
.guide { max-width: 72ch; }
.guide h2 { margin: 1.75rem 0 .5rem; font-size: 1.15rem; }
.guide p, .guide li { color: var(--text-dim); }
.guide ol, .guide ul { padding-left: 1.3rem; display: grid; gap: .4rem; margin: .6rem 0; }
.guide strong { color: var(--text); }
.guide .note { border-left: 3px solid var(--green); padding: .6rem 1rem; background: var(--green-dim); border-radius: 0 var(--r) var(--r) 0; margin: 1rem 0; color: var(--text); }
.guide .warn { border-left: 3px solid var(--red); padding: .6rem 1rem; background: var(--red-dim); border-radius: 0 var(--r) var(--r) 0; margin: 1rem 0; color: var(--text); }
.guide .codebox { margin: .5rem 0 1rem; }
.guide li .codebox { margin: .5rem 0; }
.guide .codebox .val { color: var(--green); letter-spacing: 0; }

/* drawings of the Chrome and Windows warnings (area.css .warnart) */
.warnart { display: flex; flex-wrap: wrap; gap: .75rem; margin: .9rem 0 .6rem; }
.warnart figure { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.warnart figcaption { font-size: .82rem; color: var(--text-dim); }
.wa-chrome, .wa-win { flex: 1; display: flex; flex-direction: column; gap: .45rem; border-radius: 6px; padding: .7rem .8rem; font-size: .78rem; line-height: 1.35; }
.wa-chrome { background: var(--card-3); border: 1px solid var(--line-2); color: var(--text); }
.wa-file { font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim); overflow-wrap: anywhere; }
.wa-msg { color: var(--text); }
.wa-win { background: #0063b1; border: 1px solid #1a7fd1; color: #fff; }
.wa-title { font-size: .98rem; font-weight: 600; line-height: 1.2; }
.wa-text { color: #e6f0fa; overflow-wrap: anywhere; }
.wa-link { color: #fff; text-decoration: underline; align-self: flex-start; }
.wa-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.wa-end { justify-content: flex-end; }
.wa-btn { border: 1px solid var(--line-2); border-radius: 4px; padding: .15rem .6rem; background: var(--card-2); color: var(--text); white-space: nowrap; }
.wa-btn-win { background: transparent; border-color: #fff; color: #fff; }
.wa-hl { outline: 2px solid var(--amber); outline-offset: 2px; box-shadow: 0 0 12px rgba(255, 215, 0, .55); font-weight: 600; }

@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  .gp-main { padding-top: 1.25rem; }
}
