dialog.m-staff-auth {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 28px;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: #182249;
  box-shadow: 0 16px 60px #18224933;
}
dialog.m-staff-auth::backdrop { background: #18224966; }
.m-staff-auth h2 { margin: 0; font-size: 22px; }
.m-staff-auth p { margin: 0; font-size: 14px; line-height: 1.5; }
.m-staff-auth textarea { font-family: monospace; line-height: 1.5; }
.m-form label.m-staff-check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.m-form label.m-staff-check input[type="checkbox"] {
  box-sizing: border-box;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
}
.m-user-actions { flex: 0 0 32px; display: grid; gap: 4px; text-align: center; }
.m-user-actions button { min-height: 22px; padding: 2px; font-size: 12px; line-height: 1.2; }
.m-session-logout { display: none; }
@media (max-width: 760px) {
  .m-top { display: flex; padding-inline: 12px; gap: 12px; }
  .m-top-tools { gap: 8px; }
  .m-top-tools .m-live { display: none; }
  .m-session-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #182249;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
}
