/* Visitor pages: dark Global Impact theme, two font weights, no framework. */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(circle at 50% -10%, #143354 0%, #0F2A47 35%, #0A1E34 100%);
  color: #F2F3F4; font: 500 16px/1.55 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.pub { flex: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 40px 20px 24px; text-align: center; }
.pub-logo { display: block; height: 52px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 36px; }
.pub-logo-s { height: 36px; } .pub-logo-l { height: 72px; } .pub-logo-xl { height: 96px; } .pub-logo-xxl { height: 128px; }
.pub-card { background: rgba(15, 42, 71, 0.85); border: 1px solid rgba(121, 122, 125, 0.45); border-radius: 16px; padding: 28px 22px; }
.pub h1 { font-weight: 700; font-size: 1.45rem; line-height: 1.25; margin: 0 0 10px; color: #fff; overflow-wrap: anywhere; }
.pub p { margin: 0 0 14px; }
.pub .desc { color: #D5DAE0; white-space: pre-line; }
.pub .meta { color: #B3BBC5; font-size: 0.9rem; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.pub .file-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: #2368AE; display: flex; align-items: center; justify-content: center; }
.pub .file-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px;
  border-radius: 10px; border: 1px solid transparent; font: 700 1.05rem/1 "Montserrat", sans-serif;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: #2368AE; color: #fff; }
.btn-primary:hover { background: #2B78C4; }
.btn-ghost { background: transparent; color: #F2F3F4; border-color: rgba(121, 122, 125, 0.8); margin-top: 10px; min-height: 48px; font-size: 0.95rem; }
.status-line { min-height: 1.5em; margin-top: 14px !important; color: #B3BBC5; font-size: 0.9rem; }
.note { color: #B3BBC5; font-size: 0.8rem; margin-top: 18px !important; }
.field { text-align: left; margin-bottom: 14px; }
.field label { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.field input { width: 100%; min-height: 50px; font: inherit; color: #fff; background: #0A1E34; border: 1px solid #797A7D; border-radius: 10px; padding: 10px 14px; }
.field input:focus { outline: none; border-color: #F2F3F4; box-shadow: 0 0 0 3px rgba(35, 104, 174, 0.6); }
.error { background: rgba(224, 108, 108, 0.14); border: 1px solid rgba(224, 108, 108, 0.5); border-radius: 10px; padding: 10px 12px; text-align: left; }
:focus-visible { outline: 2px solid #F2F3F4; outline-offset: 2px; }
.pub-foot { text-align: center; color: #8E97A3; font-size: 0.78rem; padding: 18px; }
.pub-foot a { color: #B3BBC5; }
.note a { color: #F2F3F4; }
.privacy { text-align: left; }
.privacy h1 { text-align: center; }
.privacy h2 { font-size: 1.05rem; margin: 20px 0 6px; color: #fff; }
.privacy ul { margin: 0 0 14px; padding-left: 1.2em; }
.privacy li { margin: 4px 0; }
.privacy a { color: #fff; }
.privacy code { background: rgba(255,255,255,0.08); padding: 0 4px; border-radius: 4px; }
.link-btn { background: none; border: 0; padding: 0; color: #B3BBC5; font: inherit; text-decoration: underline; cursor: pointer; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 720px; margin: 0 auto; text-align: left;
  background: #0F2A47; border: 1px solid rgba(121, 122, 125, 0.8); border-radius: 14px; padding: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.consent[hidden] { display: none; }
.consent h2 { margin: 0 0 6px; font-size: 1.05rem; color: #fff; }
.consent p { margin: 0 0 12px; font-size: 0.9rem; color: #D5DAE0; }
.consent a { color: #fff; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn { width: auto; min-height: 44px; padding: 0 18px; margin: 0; font-size: 0.92rem; flex: 1 1 auto; }
.consent-actions [hidden] { display: none; }
.consent-settings { display: grid; gap: 10px; margin-bottom: 14px; }
.consent-settings[hidden] { display: none; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: #D5DAE0; }
.consent-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: #2368AE; }
.consent-row strong { color: #fff; margin-right: 4px; }
