/* GA-MFA-20261104 — stile della verifica in due passaggi: colori dal testo della pagina, vale per tema chiaro e scuro */
.gm-step, [data-gm-panel] { font: inherit; color: inherit; }
.gm-h { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.gm-sub, .gm-stepl, .gm-hint { margin: 8px 0; font-size: 14px; line-height: 1.5; opacity: .85; }
.gm-stepl { opacity: 1; font-weight: 600; }
.gm-hint { font-size: 13px; }
.gm-lbl { display: block; margin: 10px 0 6px; font-size: 13px; opacity: .75; }
.gm-code { width: 100%; max-width: 320px; min-height: 48px; padding: 0 14px; box-sizing: border-box; border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent); background: transparent; color: inherit;
  font: 600 22px/1 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: 6px; text-align: center; direction: ltr; }
.gm-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: flex-end; }
.gm-act.gm-start { justify-content: flex-start; }
.gm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: transparent; color: inherit; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; }
.gm-btn:hover { border-color: #00A8FF; }
.gm-btn:focus:not(:focus-visible) { outline: none; }
.gm-btn:focus-visible { outline: 2px solid #00A8FF; outline-offset: 2px; }
.gm-btn[disabled] { opacity: .55; cursor: not-allowed; }
.gm-primary { background: #00A8FF; border-color: #00A8FF; color: #fff; }
.gm-primary:hover { background: #0096e6; }
.gm-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.gm-danger-btn { color: #e5484d; border-color: color-mix(in srgb, #e5484d 45%, transparent); }
.gm-link { background: none; border: 0; padding: 0; min-height: 44px; color: #00A8FF; font: inherit; font-weight: 600; cursor: pointer; }
.gm-link.gm-danger { color: #e5484d; }
.gm-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 13.5px; }
.gm-msg.gm-err { color: #e5484d; }
.gm-msg.gm-ok { color: #12a36b; }
.gm-help { margin-top: 14px; font-size: 13.5px; line-height: 1.5; }
.gm-help summary { cursor: pointer; color: #00A8FF; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.gm-help p { margin: 6px 0 0; opacity: .85; }
.gm-other { margin: 10px 0 0; }
.gm-qr { display: block; margin: 10px 0; width: 180px; height: 180px; background: #fff; border-radius: 10px; padding: 8px; box-sizing: content-box; }
.gm-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.gm-key .gm-lbl { margin: 0; flex-basis: 100%; }
.gm-key code { font: 600 14px/1.4 ui-monospace, 'JetBrains Mono', monospace; padding: 8px 10px; border-radius: 8px; word-break: normal; overflow-wrap: anywhere; user-select: all;
  background: color-mix(in srgb, currentColor 8%, transparent); }
.gm-dev { list-style: none; margin: 6px 0; padding: 0; }
.gm-dev li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); font-size: 14px; }
.gm-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.gm-pill-on { color: #12a36b; background: color-mix(in srgb, #12a36b 14%, transparent); }
.gm-pill-off { background: color-mix(in srgb, currentColor 10%, transparent); opacity: .85; }
.gm-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gm-row-head .gm-link { min-height: 32px; font-size: 13.5px; }
[data-gm-panel] { margin-top: 8px; }
.gm-staff { max-width: 520px; margin: 40px auto; padding: 22px; border-radius: 16px; border: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
#gaMfaRow { align-items: flex-start; }
#gaMfaRow .info-body { min-width: 0; flex: 1; }
#gmOpen { text-align: center; line-height: 1.25; padding: 8px 16px; }
/* revisione del designer 04/11 */
.gm-step .gm-code:focus, [data-gm-panel] .gm-code:focus, .gm-code:focus { outline: 0 !important; border-color: #00A8FF !important; box-shadow: 0 0 0 3px rgba(0,168,255,.25) !important; }
.gm-step .gm-act { justify-content: stretch; }
.gm-step .gm-act .gm-btn { flex: 1 1 100%; }
.gm-help summary, .gm-other .gm-link { font-size: 14px; }
@media (max-width: 420px) { .gm-act .gm-btn { flex: 1 1 140px; } }
