/* 31UP QR Studio 1.7.1 — the sign-in / request-access page (QR31_AccessPage::page()).
   Same look as the 31UP QR theme's page; colors, background and layout come from the page editor. */
body.qr31t-gate, body.qr31-standalone { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; background: #eef3f8; }
.qr31-ap {
  --ap-accent: #1673ff; --ap-second: #b5e61d; --ap-ink: #0b1a3a; --ap-bg: #eef3f8; --ap-dark: .45;
  --ap-grad: linear-gradient(90deg, #1673ff, #14c8e8 55%, #b5e61d);
  --ap-k1: #1673ff; --ap-k2: #a6df25; --ap-k3: #1a8cff; --ap-k4: #14c8e8;
  --ap-muted: color-mix(in srgb, var(--ap-ink) 68%, #fff);
  --ap-gutter: clamp(16px, 4vw, 32px);
  --brand: var(--ap-accent); --ink: var(--ap-ink); --mist: var(--ap-bg);
  position: relative; flex: 1 0 auto; width: 100%; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ap-bg); color: var(--ap-ink); overflow-x: hidden; box-sizing: border-box;
  font: 400 17px/1.55 var(--text, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif); -webkit-font-smoothing: antialiased;
}
.qr31-ap *, .qr31-ap *::before, .qr31-ap *::after { box-sizing: border-box; }
.qr31-ap [hidden] { display: none !important; }
.qr31-ap .qr31-access { --qr31-brand: var(--ap-accent); --qr31-ink: var(--ap-ink); --qr31-grad: var(--ap-grad); }

/* background */
.qr31-ap.is-bg-soft { background:
  radial-gradient(55% 60% at 0% 0%, color-mix(in srgb, var(--ap-accent) 16%, transparent), transparent 70%),
  radial-gradient(45% 55% at 100% 100%, color-mix(in srgb, var(--ap-second) 26%, transparent), transparent 70%),
  radial-gradient(40% 40% at 85% 10%, color-mix(in srgb, #14c8e8 14%, transparent), transparent 70%),
  var(--ap-bg); }
.qr31-ap.is-bg-photo { background: #0b1a3a var(--ap-photo, none) center / cover no-repeat; }
.qr31-ap.is-bg-photo::before { content: ""; position: absolute; inset: 0; background: rgba(5, 12, 28, var(--ap-dark)); pointer-events: none; }
.qr31-ap.is-bg-photo > * { position: relative; }
.qr31-ap.is-bg-photo .qr31-ap-copy, .qr31-ap.is-bg-photo .qr31-ap-toplink, .qr31-ap.is-bg-photo .qr31-ap-foot { --ap-ink: #fff; --ink: #fff; --ap-muted: rgba(255,255,255,.84); color: #fff; }
.qr31-ap.is-bg-photo .qr31-ap-h, .qr31-ap.is-bg-photo .qr31-ap-copy a, .qr31-ap.is-bg-photo .qr31-ap-points .qr31-ap-ic { color: #fff; }
.qr31-ap.is-bg-photo .qr31-ap-h, .qr31-ap.is-bg-photo .qr31-ap-intro { text-shadow: 0 1px 12px rgba(0,0,0,.25); }

/* top bar */
.qr31-ap-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--ap-gutter); min-height: 64px; }
.qr31-ap-logo { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; }
.qr31-ap-logo img { display: block; height: 64px; width: auto; max-width: 100%; }
.qr31-ap .qr31-ap-toplink { flex: none; max-width: 50%; font-weight: 600; font-size: 15px; color: var(--ap-ink); text-decoration: none; text-align: right; }
.qr31-ap .qr31-ap-toplink:hover { text-decoration: underline; text-decoration-color: var(--ap-accent); text-underline-offset: 3px; }

/* hero + card */
.qr31-ap-in { flex: 1; width: 100%; max-width: calc(1180px + 2 * var(--ap-gutter)); margin: 0 auto; padding: clamp(10px, 3vw, 40px) var(--ap-gutter) 50px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 6vw, 90px); align-items: center; }
.qr31-ap-copy { min-width: 0; }
.qr31-ap .qr31-ap-h { font-family: var(--display, inherit); color: var(--ap-ink); font-size: clamp(36px, 4.8vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: .98; max-width: 13ch; margin: 0 0 18px; overflow-wrap: break-word; }
.qr31-ap-intro { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ap-muted); max-width: 46ch; margin: 0 0 26px; }
.qr31-ap-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; max-width: 46ch; }
.qr31-ap-points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.5; }
.qr31-ap-points li > span { padding-top: 5px; min-width: 0; overflow-wrap: break-word; }
.qr31-ap-ic { display: block; width: 34px; height: 34px; }
.qr31-ap .qr31-ap-points .qr31-ap-ic { color: var(--ap-ink); }
.qr31-ap .qr31-ap-points li:nth-child(2) .qr31-ap-ic { color: var(--ap-accent); }
.qr31-ap-contact { font-size: clamp(17px, 1.6vw, 20px); color: var(--ap-muted); margin: 0 0 26px; overflow-wrap: anywhere; }
.qr31-ap-contact a { color: var(--ap-ink); font-weight: 600; }
.qr31-ap-copy > :last-child { margin-bottom: 0; }

.qr31-ap-card { position: relative; min-width: 0; padding: clamp(14px, 2.4vw, 26px); }
.qr31-ap-card::before { content: ""; position: absolute; inset: 8% -6% -4% 10%; background: radial-gradient(closest-side, rgba(20,200,232,.28), transparent), radial-gradient(closest-side at 80% 20%, rgba(181,230,29,.22), transparent 70%); filter: blur(10px); z-index: 0; pointer-events: none; }
.qr31-ap-card .qr31-access { position: relative; z-index: 1; }
.qr31-ap-corner { position: absolute; z-index: 2; --f: clamp(34px, 4vw, 52px); --t: calc(var(--f) * .2); width: var(--f); height: var(--f); border: 0 solid currentColor; border-radius: calc(var(--f) * .42); pointer-events: none; }
.qr31-ap-corner.is-tl { left: 0; top: 0; color: var(--ap-k1); border-top-width: var(--t); border-left-width: var(--t); border-top-right-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.qr31-ap-corner.is-tr { right: 0; top: 0; color: var(--ap-k2); border-top-width: var(--t); border-right-width: var(--t); border-top-left-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.qr31-ap-corner.is-bl { left: 0; bottom: 0; color: var(--ap-k3); border-bottom-width: var(--t); border-left-width: var(--t); border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.qr31-ap-corner.is-br { right: 0; bottom: 0; color: var(--ap-k4); border-bottom-width: var(--t); border-right-width: var(--t); border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 0; }
@media (prefers-reduced-motion: no-preference) {
  .qr31-ap-corner { animation: qr31-ap-lock .7s cubic-bezier(.2, .8, .2, 1) both .15s; }
  .qr31-ap-corner.is-tl { --dx: -10px; --dy: -10px; }
  .qr31-ap-corner.is-tr { --dx: 10px; --dy: -10px; }
  .qr31-ap-corner.is-bl { --dx: -10px; --dy: 10px; }
  .qr31-ap-corner.is-br { --dx: 10px; --dy: 10px; }
}
@keyframes qr31-ap-lock { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } to { transform: none; opacity: 1; } }

.qr31-ap-foot { padding: 18px var(--ap-gutter) 26px; font-size: 13px; color: var(--ap-muted); text-align: center; }

/* layout: centered (text on top, card below) */
.qr31-ap.is-layout-center .qr31-ap-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; max-width: calc(860px + 2 * var(--ap-gutter)); gap: clamp(18px, 3vw, 34px); }
.qr31-ap.is-layout-center .qr31-ap-h { max-width: 18ch; margin-left: auto; margin-right: auto; }
.qr31-ap.is-layout-center .qr31-ap-intro, .qr31-ap.is-layout-center .qr31-ap-points { margin-left: auto; margin-right: auto; }
.qr31-ap.is-layout-center .qr31-ap-points { justify-content: center; text-align: left; width: max-content; max-width: 100%; }
.qr31-ap.is-layout-center .qr31-ap-card { width: 100%; max-width: 560px; text-align: left; }
/* layout: card only */
.qr31-ap.is-layout-card .qr31-ap-copy { display: none; }
.qr31-ap.is-layout-card .qr31-ap-in { grid-template-columns: minmax(0, 560px); justify-content: center; }

@media (max-width: 900px) {
  .qr31-ap-in { grid-template-columns: minmax(0, 1fr); }
  .qr31-ap .qr31-ap-h { max-width: none; }
  .qr31-ap-points { display: none; }
  .qr31-ap-intro { margin-bottom: 4px; }
  .qr31-ap-copy > .qr31-ap-intro + .qr31-ap-contact, .qr31-ap-copy > .qr31-ap-contact { margin-top: 0; }
  .qr31-ap-card::before { inset: 10% 0 0 0; }
}
@media (max-width: 600px) {
  .qr31-ap-top { padding-top: 14px; padding-bottom: 14px; }
  .qr31-ap-logo img { height: 44px; }
  .qr31-ap .qr31-ap-toplink { font-size: 14px; }
}
@media (max-width: 380px) {
  .qr31-ap-logo img { height: 38px; }
}

/* editor preview only: show what can be clicked */
.qr31-pv-on [data-qr31-f] { cursor: text; border-radius: 4px; transition: box-shadow .12s; }
.qr31-pv-on [data-qr31-f]:hover { box-shadow: 0 0 0 2px color-mix(in srgb, #1673ff 35%, transparent); }
.qr31-pv-on [data-qr31-f]:focus { outline: none; box-shadow: 0 0 0 2px #1673ff; background: color-mix(in srgb, #1673ff 6%, transparent); }
.qr31-pv-on [data-qr31-f]:empty::before { content: attr(data-qr31-ph); color: #9aa3b8; font-weight: 400; }
.qr31-pv-on .qr31-pv-sel { outline: 2px solid #1673ff !important; outline-offset: 4px; border-radius: 6px; }
.qr31-pv-on .qr31-pv-hover:not(.qr31-pv-sel) { outline: 1.5px dashed color-mix(in srgb, #1673ff 55%, transparent); outline-offset: 4px; border-radius: 6px; }
.qr31-pv-bar { position: absolute; z-index: 99999; display: flex; gap: 2px; padding: 3px; background: #0b1a3a; border-radius: 10px; box-shadow: 0 6px 20px rgba(11,26,58,.3); font: 600 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif; }
.qr31-pv-bar b { color: #c9d4ea; padding: 7px 8px 7px 6px; font-weight: 600; white-space: nowrap; }
.qr31-pv-bar button { display: grid; place-items: center; width: 30px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #fff; cursor: pointer; }
.qr31-pv-bar button:hover, .qr31-pv-bar button:focus-visible { background: rgba(255,255,255,.14); outline: none; }
.qr31-pv-bar button:disabled { opacity: .35; cursor: default; background: transparent; }
.qr31-pv-bar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
