/* Live page kit (2026-11-11): the publish offer on the normal page of a tool and the live panel of live-<id>-<lang>.html
   (client/live-kit.js). No inline style anywhere: the live page CSP has no 'unsafe-inline'. */
#visu-tools .vt-live-offer{margin-top:16px;padding:14px 16px;border:1px solid #dfe6ee;border-radius:12px;background:#f7fafd}
#visu-tools .vt-live-offer[hidden]{display:none}
#visu-tools .vt-live-offer-title{margin:0 0 4px;font-weight:700}
#visu-tools .vt-live-offer .vt-hint{margin:0 0 10px}
#visu-tools .vt-live{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
#visu-tools .vt-live[hidden],#visu-tools .vt-live [hidden]{display:none}
#visu-tools .vt-live-alert{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#visu-tools .vt-live-msg{margin:0;padding:10px 12px;border:1px solid #dfe6ee;border-radius:10px;background:#f6f8fa;flex:1 1 220px}
#visu-tools .vt-live-msg[data-kind=error]{border-color:#f0c2c2;background:#fdf3f3;color:#8a1c1c}
#visu-tools .vt-live-msg[data-kind=info]{border-color:#bfe3f7;background:#eef8fd}
#visu-tools .vt-live-publish,#visu-tools .vt-live-block{padding:14px 16px;border:1px solid #dfe6ee;border-radius:12px;background:#fff}
#visu-tools .vt-live-notice{margin:0 0 12px;line-height:1.5}
#visu-tools .vt-live-accept-row{margin:0 0 12px;padding:10px 12px;border:1px solid #dfe6ee;border-radius:10px;background:#f7fafd}
#visu-tools .vt-live-accept{display:flex;align-items:flex-start;gap:10px;margin:0;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
#visu-tools .vt-live-accept input{flex:none;width:18px;height:18px;margin:3px 0 0;accent-color:var(--vt-accent-text)}
#visu-tools .vt-live-accept a{text-decoration:underline;text-underline-offset:2px}
#visu-tools .vt-live-publish .vt-btn:disabled{opacity:.55;cursor:not-allowed}
#visu-tools .vt-live-mode{margin:0;font-weight:600}
#visu-tools .vt-live-status{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;color:#5d6a7e;font-size:14px}
#visu-tools .vt-live-save[data-state=failed]{color:#8a1c1c;font-weight:600}
#visu-tools .vt-live-save[data-state=saved]{color:#1d7a3a}
#visu-tools .vt-live-organizer{display:flex;flex-direction:column;gap:12px}
#visu-tools .vt-live-title{margin:0 0 4px;font-weight:700}
#visu-tools .vt-live-block .vt-input{width:100%;box-sizing:border-box;margin:8px 0}
#visu-tools .vt-live-edit{border-color:#f2d48a;background:#fffaf0}
#visu-tools .vt-live-keep{margin:0;line-height:1.5}
#visu-tools .vt-live-tools{display:flex;flex-wrap:wrap;gap:16px}
#visu-tools .vt-live-danger{color:#8a1c1c}
#visu-tools .vt-live-confirm{padding:12px 14px;border:1px solid #f0c2c2;border-radius:10px;background:#fdf3f3}
#visu-tools .vt-live-confirm p{margin:0 0 10px}
#visu-tools .vt-live-note{margin:0;padding:10px 12px;border-radius:10px;background:#eef8fd}
#visu-tools .vt-live-toollink{flex-basis:100%}

/* Moderation on the live page (client/live-mod.js, gate de conformidade 2026-11-11): the report form above the footer, the decision
   panel of the organiser, the verification and tracking screens. Server and user text is shown as text, line breaks kept. */
#visu-tools .vt-live-report{padding-top:8px;padding-bottom:8px}
#visu-tools .vt-live-report[hidden],#visu-tools .vt-live-report [hidden],#visu-tools .vt-live-foot [hidden],#visu-tools .vt-live-decision[hidden],#visu-tools .vt-live-decision [hidden]{display:none}
#visu-tools .vt-live-report-h{margin:0 0 8px;font-size:20px;line-height:1.3}
#visu-tools .vt-live-report-form,#visu-tools .vt-live-report-done{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid #dfe6ee;border-radius:12px;background:#fff}
#visu-tools .vt-live-report-form p,#visu-tools .vt-live-report-done p{margin:0;line-height:1.5}
#visu-tools .vt-live-row .vt-field{width:100%}
#visu-tools .vt-live-row select,#visu-tools .vt-live-row textarea,#visu-tools .vt-live-row input[type=text],#visu-tools .vt-live-row input[type=email],#visu-tools .vt-live-appeal textarea{width:100%;box-sizing:border-box}
#visu-tools .vt-live-field-err{margin:4px 0 0;color:#8a1c1c;font-size:14px}
#visu-tools .vt-live-counter{margin:4px 0 0;text-align:right}
#visu-tools .vt-live-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
#visu-tools .vt-live-foot .vt-live-report-link{padding:0;font-size:13px;color:inherit;text-decoration:underline}
#visu-tools .vt-live-decision{display:flex;flex-direction:column;gap:8px;border-color:#f0c2c2;background:#fffafa}
#visu-tools .vt-live-decision p,#visu-tools .vt-live-case p{margin:0;line-height:1.5}
#visu-tools .vt-live-decision-h{font-size:18px}
#visu-tools .vt-live-label{font-weight:600}
#visu-tools .vt-live-quote{padding:8px 12px;border-left:3px solid #dfe6ee;background:#f6f8fa;white-space:pre-line;overflow-wrap:anywhere}
#visu-tools .vt-live-appeal{display:flex;flex-direction:column;gap:8px;margin-top:4px}
#visu-tools .vt-live-case{display:flex;flex-direction:column;gap:10px}

/* The live page is a league page (live-page.cjs): the league title as h1, one column, a two-link footer. The order of the blocks follows
   the mode the kit sets on <html>: a spectator (public) reads the table first and the rounds after it; the organiser (edit, publish)
   types the scores first. */
#visu-tools.vt-live-page .vt-live-head{padding-top:20px;padding-bottom:4px}
#visu-tools.vt-live-page .vt-live-kicker{margin:0 0 4px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#0670a6}
#visu-tools.vt-live-page .vt-live-h1{margin:0;font-size:clamp(26px,5vw,38px);line-height:1.15;overflow-wrap:anywhere}
#visu-tools.vt-live-page > .vt-live{margin-top:12px}
#visu-tools.vt-live-page .vt-app{grid-template-columns:minmax(0,1fr)}
html[data-live-mode=public] #visu-tools.vt-live-page .vt-app > .vt-out{order:1}
html[data-live-mode=public] #visu-tools.vt-live-page .vt-app > .vt-in{order:2}
#visu-tools.vt-live-page .vt-live-foot{display:flex;flex-direction:column;gap:2px;padding-top:24px;padding-bottom:32px;font-size:13px;color:#5d6a7e}
#visu-tools.vt-live-page .vt-live-foot p{margin:0}
#visu-tools.vt-live-page .vt-live-foot a{color:inherit}
