/* Public access prompts use the same quiet campus interface as socket details. */
.login-prompt-dialog,
.important-notice-dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 24px;
  color: #27272a;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 70px #18181b2b;
  overflow: auto;
}
.login-prompt-dialog::backdrop,
.important-notice-dialog::backdrop {
  background: #18181b66;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.public-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.public-modal-caption {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
}
.login-prompt-dialog h2,
.important-notice-dialog h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.login-prompt-dialog p,
.important-notice-body {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.public-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
body.user-app .sidebar-trigger {
  width: 37px;
  height: 37px;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffffdc, #f3f4f6aa);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 4px #18181b06;
}
body.user-app .sidebar-trigger:hover {
  background: #f4f4f5;
  color: #18181b;
}
@media (max-width: 760px) {
  body.user-app .sidebar-trigger {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .login-prompt-dialog,
  .important-notice-dialog {
    padding: 20px;
  }
}
