/*
 * Non-visual UI contract for pages outside the CS2 management dashboard.
 * Keep colors, typography, spacing and component presentation in a theme.css file.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden],
.hidden {
  display: none !important;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

textarea {
  resize: vertical;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.ui-shell,
.ui-shell__body,
.ui-shell__content {
  min-width: 0;
}

.ui-skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ui-user-menu summary {
  cursor: pointer;
}

.ui-user-menu summary::-webkit-details-marker {
  display: none;
}

.ui-dialog-backdrop[hidden],
.ui-sidebar-backdrop[hidden] {
  display: none !important;
}
