/* /embed/mini-test: the document inside the mini-test frame of the guides (js/mini-test.js).
   It loads fonts.css, it-test-adhd.css and en-test.css before this file, and nothing else: no site menu, no
   footer, no statistics. The frame is as wide as the text column of a guide (about 720px at most), so the
   wide layout of the test card starts here at 600px instead of 768px. */
html, body { margin: 0; padding: 0; background: transparent; }
body.mini { font-family: var(--ta-font, Inter, system-ui, -apple-system, sans-serif); font-size: 16px; line-height: 1.5; color: var(--ta-testo, #191c1e);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; overflow: hidden; }
.mini *, .mini *::before, .mini *::after { box-sizing: border-box; }
.mini button { font-family: inherit; margin: 0; }
.mini h1, .mini h2, .mini p { margin-top: 0; }
.mini .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mini-wrap { padding: 3px; }                       /* room for the keyboard focus ring of the card's edge buttons */
.mini .ta-card { box-shadow: none; padding: 20px 16px 20px; }   /* a shadow would be cut by the edge of the frame */
.mini-kicker { margin: 0 0 14px; padding-right: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ta-muto, #424752); }
.mini-kicker strong { color: var(--ta-blu-scuro, #0b2545); font-weight: 800; }
.mini-stem { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--ta-muto, #424752); }
.mini .ta-etichetta { margin: 0 0 10px; }
.mini .ta-domanda { font-size: 19px; margin-bottom: 16px; }
.mini .ta-risposte { gap: 8px; }
.mini .ta-risp { min-height: 48px; padding: 8px 14px; }
.mini .ta-barra { margin-bottom: 16px; }
.mini .ta-testa { margin-bottom: 10px; }
.mini .en-shade-note { margin-top: 12px; font-size: 12px; }   /* ".mini p" above removes the gap that en-test.css gives it: without this the note touches the last answer */
.mini .en-attrib { margin-top: 8px; font-size: 11px; line-height: 1.45; }
.mini-text { margin: 0 0 4px; font-size: 16px; line-height: 1.55; color: var(--ta-muto, #424752); max-width: 560px; }
.mini .mini-azioni { justify-content: flex-start; margin-top: 18px; }
.mini a.ta-cta { color: #fff; text-decoration: none; }
.mini .mini-azioni + .en-shade-note { margin-top: 16px; }
.mini noscript p { margin: 0; font-size: 15px; }
.mini noscript a { color: var(--ta-blu, #00488d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 600px) {
  .mini .ta-card { padding: 26px 28px 26px; }
  .mini-kicker { font-size: 15px; }
  .mini .ta-domanda { font-size: 22px; margin-bottom: 20px; }
  .mini .ta-risposte--5 { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .mini .ta-risposte--5 .ta-risp { flex-direction: column; justify-content: center; text-align: center; min-height: 84px; gap: 8px; font-size: 14px; padding: 10px 6px; }
}
@media (prefers-reduced-motion: reduce) { .mini .ta-barra i, .mini .ta-risp, .mini .ta-cta { transition: none; } }
