/* Access policy is also enforced centrally on the server. */
html[data-role="viewer"] form[method="post" i]:not([action="/logout"]):not([action="/password"]) button:not([type="button"]):not([type="reset"]),
html[data-role="viewer"] form[method="post" i]:not([action="/logout"]):not([action="/password"]) input[type="submit"],
html[data-role="viewer"] .action-form button,
html[data-role="viewer"] [data-popup],
html[data-role="viewer"] [data-action],
html[data-role="viewer"] .quick-actions {
  display: none !important;
}
[hidden] { display: none !important; }
html[data-settings-readonly="true"] main form[method="post" i] button:not([type="reset"]),
html[data-settings-readonly="true"] main form[method="post" i] input[type="submit"],
html[data-settings-readonly="true"] [data-office-sim],
html[data-settings-readonly="true"] [data-office-ui="archive"],
html[data-settings-readonly="true"] [data-office-ui="classify"],
html[data-settings-readonly="true"] [data-vehicle-action] {
  display: none !important;
}
.staff-mode-banner {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .7rem 1rem;
  border: 1px solid #b9d8ce;
  border-radius: 8px;
  background: #eaf6f0;
  color: #153e32;
}
.staff-mode-banner form { margin: 0; }
.staff-mode-banner button,
html[data-settings-readonly="true"] main .staff-mode-banner form button {
  display: inline-flex !important;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
