@font-face {
  font-family: RR-Vazirmatn;
  src: url("/vazirmatn.woff2") format("woff2");
  font-display: swap;
}
body.rr-access-page {
  margin: 0;
  color-scheme: dark;
  color: #fff;
  background: #000;
  font-family: RR-Vazirmatn, Tahoma, sans-serif;
  font-size: 16px;
}
.access, .access * { box-sizing: border-box; }
.access {
  width: min(100% - 2rem, 32rem);
  margin: clamp(1.5rem, 8vh, 6rem) auto;
  padding: clamp(1rem, 5vw, 2rem);
  border: 1px solid #333;
  background: #101010;
  border-radius: 1rem;
}
.access .mark { display: flex; align-items: end; gap: .5rem; justify-content: flex-end; direction: ltr; }
.access .mark img { display: block; object-fit: contain; }
.access h1 { margin: 1rem 0 .2rem; font-size: 1.5rem; }
.access h2 { margin: 0 0 .5rem; font-size: 1.05rem; }
.access p { margin: .35rem 0; line-height: 1.8; }
.access .muted { color: #bdbdbd; direction: ltr; text-align: right; }
.access form { display: grid; gap: .95rem; margin: 1rem 0; }
.access label { display: grid; gap: .3rem; }
.access input, .access select, .access button {
  font: inherit;
  color: #fff;
  border: 1px solid #555;
  border-radius: .55rem;
  background: #191919;
  min-height: 46px;
  width: 100%;
  padding: .45rem .7rem;
}
.access button { background: #ff0000; color: #000; font-weight: 700; cursor: pointer; }
.access button:disabled { opacity: .6; cursor: wait; }
.access :focus-visible, .rr-mobile-sessions:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.access a, .rr-mobile-sessions { color: inherit; text-underline-offset: .25rem; }
.access-session { padding: .85rem 0; border-top: 1px solid #333; }
.access-session button { background: #282828; color: #fff; margin-top: .5rem; }
.rr-mobile-sessions { margin-inline-end: .65rem; font-size: .86em; }
.rr-access-page [hidden] { display: none !important; }
.access-qr { display: block; width: min(100%, 230px); margin: 1rem auto; aspect-ratio: 1; }
.access details, .access summary { margin-block: .55rem; }
.access details > button { margin-block-start: .65rem; }
.access .access-secret, #recovery-output { display: block; overflow-wrap: anywhere; margin-block: .75rem; }
.access .access-secondary { background: #252525; color: #fff; }
