.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.access-active .app-shell { visibility: hidden; }
body.access-locked .app-shell {
  visibility: visible;
  filter: blur(10px) saturate(0.82);
  pointer-events: none;
  user-select: none;
}

.padbs-access-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
body.access-active .padbs-access-root { display: flex; }
.access-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(68% - 1px), rgba(255,255,255,0.07) calc(68% - 1px), rgba(255,255,255,0.07) calc(68% + 1px), transparent calc(68% + 1px)),
    radial-gradient(circle at 18% 18%, rgba(216,179,90,0.26), transparent 42%),
    radial-gradient(circle at 82% 74%, rgba(95,139,84,0.24), transparent 46%),
    linear-gradient(145deg, var(--color-sidebar), var(--color-primary) 58%, #2a2419);
}
.access-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 2rem;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(17,23,19,0.45);
  animation: panel-up 0.45s ease both;
}
@keyframes panel-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.access-lang { margin-bottom: 1.15rem; border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); }
.access-kicker { margin-bottom: 0.65rem; color: var(--color-accent); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.access-panel h1, .access-panel h2 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; }
.access-panel h1 { font-size: clamp(1.55rem, 4vw, 2.1rem); }
.access-panel h2 { margin-bottom: 0.35rem; font-size: 1.3rem; }
.access-panel p { margin: 0.55rem auto 0; max-width: 36rem; opacity: 0.82; }
.access-version { display: inline-flex; margin: 1rem 0 1.25rem; padding: 0.3rem 0.76rem; border-radius: 999px; color: var(--color-accent); background: rgba(216,179,90,0.15); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.primary-pill { padding: 0.78rem 1.55rem; }
.lock-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(145deg, rgba(216,179,90,0.2), rgba(255,255,255,0.08));
  position: relative;
}
.lock-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 13px;
  width: 16px;
  height: 13px;
  transform: translateX(-50%);
  border: 2px solid rgba(255,255,255,0.86);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.lock-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 22px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(255,255,255,0.9);
}
#access-form { display: flex; flex-direction: column; gap: 0.62rem; margin-top: 1rem; }
#access-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(17,23,19,0.36);
  font: inherit;
}
#access-input::placeholder { color: rgba(255,255,255,0.48); }
#access-input:focus { outline: 0; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(216,179,90,0.2); }
.access-error { color: #fecaca; font-size: 0.8rem; }
.access-panel small { display: block; margin-top: 0.95rem; opacity: 0.55; font-size: 0.7rem; }
.shake { animation: shake 0.42s ease; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
