.auth-blocked-shell {
  display: grid;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  place-items: center;
  color: #18212b;
  background: #eef2f5;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.auth-blocked-panel {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid #d9e0e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px #18212b14;
}

.auth-blocked-code {
  color: #1769aa;
  font-size: 12px;
  font-weight: 700;
}

.auth-blocked-panel h1 {
  margin: 12px 0;
  font-size: 28px;
  letter-spacing: 0;
}

.auth-blocked-panel p {
  margin: 0 0 24px;
  color: #687482;
  line-height: 1.7;
}

.auth-blocked-panel a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  background: #1769aa;
  text-decoration: none;
  font-weight: 700;
}

.auth-user-context {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #18212b;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.auth-module-nav { display: flex; align-items: center; gap: 4px; }
.auth-module-nav a {
  padding: 6px 8px;
  border-radius: 4px;
  color: #566472;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.auth-module-nav a:hover, .auth-module-nav a[aria-current="page"] { color: #1769aa; background: #edf6fc; }

.auth-identity-copy { display: flex; min-width: 0; max-width: 330px; flex-direction: column; gap: 2px; text-align: right; }
.auth-identity-copy strong { overflow: hidden; color: #18212b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.auth-identity-copy span { overflow: hidden; color: #75818d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.auth-logout-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d5dde4;
  border-radius: 5px;
  color: #34414d;
  background: #fff;
  font: 650 12px Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  cursor: pointer;
}
.auth-logout-button:hover { border-color: #94a2ae; background: #f6f8fa; }
.auth-logout-button:disabled { cursor: wait; opacity: .6; }

.header .auth-user-context { margin-left: auto; }
.topbar-right .readonly, .topbar-right .avatar { display: none; }

@media (max-width: 900px) {
  .auth-module-nav { display: none; }
  .auth-identity-copy { max-width: 210px; }
}

@media (max-width: 560px) {
  .auth-identity-copy span { display: none; }
  .auth-user-context { gap: 7px; }
}
