/* Protected reader — arbitratorandlaw.com */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.rd-body {
  background: #e9e6df; color: #1d2433;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.rd-bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem 1rem; background: #0b2545; color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.rd-back { color: #d4af37; text-decoration: none; font-weight: 600; white-space: nowrap; }
.rd-back:hover { color: #f1d27a; }
.rd-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rd-title strong { font-family: "Times New Roman", serif; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-title span { font-size: .78rem; color: #c8d1e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-tools { display: flex; align-items: center; gap: .4rem; }
.rd-count { font-size: .82rem; color: #c8d1e0; margin-right: .4rem; white-space: nowrap; }
.rd-btn {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid #d4af37;
  background: transparent; color: #d4af37; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.rd-btn:hover { background: #d4af37; color: #0b2545; }
.rd-pages {
  display: flex; flex-direction: column; align-items: safe center; gap: 18px; overflow-x: auto;
  padding: 24px 12px 40px; min-height: 70vh;
  transition: filter .15s ease;
}
.rd-page {
  position: relative; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.18);
  max-width: none;
}
.rd-page canvas { display: block; pointer-events: none; }
.rd-veil { position: absolute; inset: 0; background: transparent; }
.rd-wait { margin-top: 20vh; font-size: 1rem; color: #555; text-align: center; padding: 0 1rem; }
.rd-foot { text-align: center; font-size: .75rem; color: #6b6b6b; padding: 0 1rem 2rem; }

/* Hidden while the window is not in front (snipping tools, task switching). */
.rd-shield {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: #0b2545; color: #fff; cursor: pointer;
  align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.rd-shield strong { font-family: "Times New Roman", serif; font-size: 1.5rem; color: #d4af37; }
.rd-shield p { margin-top: .6rem; line-height: 1.6; }
.rd-hidden .rd-shield { display: flex; }
.rd-hidden .rd-pages { filter: blur(24px); }

.rd-noprint { display: none; }
@media print {
  body.rd-body > * { display: none !important; }
  body.rd-body .rd-noprint {
    display: block !important; margin-top: 40vh; text-align: center;
    font: 20px "Times New Roman", serif;
  }
}

@media (max-width: 600px) {
  .rd-bar { gap: .5rem; padding: .5rem .6rem; }
  .rd-count { display: none; }
}
