:root {
  color-scheme: light;
  --page: #f3f5f6;
  --surface: #ffffff;
  --surface-subtle: #f7f9fa;
  --surface-strong: #e9eef0;
  --text: #172126;
  --text-muted: #59676d;
  --text-soft: #5f6f75;
  --border: #cbd4d8;
  --border-strong: #9caaaf;
  --brand: #176b69;
  --brand-strong: #0e5452;
  --brand-soft: #e4f2f0;
  --official-accent: #a43b3f;
  --danger: #a12e35;
  --danger-strong: #7d1f26;
  --danger-soft: #f9e8e9;
  --success: #277044;
  --success-soft: #e9f4ed;
  --warning: #8a5a0a;
  --warning-soft: #fff3d7;
  --info: #295f87;
  --info-soft: #e8f1f8;
  --focus: #165d9c;
  --shadow-dialog: 0 18px 48px rgb(23 33 38 / 22%);
  --radius: 4px;
  --shell: 1480px;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

html {
  min-width: 320px;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-variant-numeric: tabular-nums;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

button,
select,
input[type="checkbox"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

h1,
h2,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
}

h2 {
  margin-bottom: 6px;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 12px;
  color: #ffffff;
  background: var(--focus);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.public-header,
.app-header {
  background: var(--surface);
  border-top: 4px solid var(--official-accent);
  border-bottom: 1px solid var(--border);
}

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.masthead-compact {
  min-height: 64px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid #dfe5e7;
  border-radius: 8px;
}

.brand-mark-small {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.product-kicker {
  margin-bottom: 1px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.product-name {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
}

.product-name-small {
  font-size: 1rem;
}

.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-meta,
.admin-identity {
  display: flex;
  align-items: center;
}

.admin-meta {
  gap: 16px;
}

.admin-identity {
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.admin-identity strong {
  color: var(--text);
  font-weight: 700;
}

.identity-label::after {
  content: ":";
}

.primary-nav {
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow-x: auto;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-item:hover {
  color: var(--text);
  background: #eef2f3;
}

.nav-item.is-active {
  color: var(--brand-strong);
  background: var(--surface);
  border-right-color: var(--border);
  border-left-color: var(--border);
}

.nav-item.is-active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: var(--brand);
}

.feedback-region {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(100% - 40px, var(--shell));
  margin: 12px auto 0;
  padding: 10px 14px;
  color: var(--text);
  background: var(--info-soft);
  border: 1px solid #a8c7dc;
  border-left: 4px solid var(--info);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.feedback-region[data-tone="success"] {
  background: var(--success-soft);
  border-color: #a9ccb6;
  border-left-color: var(--success);
}

.feedback-region[data-tone="error"] {
  background: var(--danger-soft);
  border-color: #d7a9ad;
  border-left-color: var(--danger);
}

.feedback-region[data-tone="warning"] {
  background: var(--warning-soft);
  border-color: #dbc184;
  border-left-color: var(--warning);
}

.feedback-title {
  margin-right: 8px;
  font-weight: 700;
}

.login-view {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: calc(100vh - 81px);
  padding: 40px 20px 28px;
  background: var(--page);
}

.login-panel {
  width: min(100%, 440px);
  padding: 30px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
}

.section-accent {
  width: 48px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--brand);
}

.login-heading {
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 5px;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.login-heading h1 {
  margin-bottom: 0;
}

.login-footer {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label,
.toolbar-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
}

input,
select {
  min-height: 40px;
  padding: 8px 10px;
}

textarea {
  min-height: 90px;
  padding: 9px 10px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #6f8188;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgb(22 93 156 / 18%);
}

input[readonly] {
  color: #3f4d52;
  background: #eef2f3;
  cursor: default;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgb(161 46 53 / 14%);
}

.field-error {
  margin: 5px 0 0;
  color: var(--danger-strong);
  font-size: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button:focus-visible,
.nav-item:focus-visible,
.icon-button:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #ffffff;
}

.button-primary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.button-primary:hover:not(:disabled) {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}

.button-secondary:hover:not(:disabled) {
  background: var(--surface-strong);
  border-color: #75868c;
}

.button-danger {
  color: #ffffff;
  background: var(--danger);
  border-color: var(--danger);
}

.button-danger:hover:not(:disabled) {
  background: var(--danger-strong);
  border-color: var(--danger-strong);
}

.button-text {
  min-height: 36px;
  padding-inline: 8px;
  color: var(--brand-strong);
  background: transparent;
  border-color: transparent;
}

.button-text:hover:not(:disabled) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button-block {
  width: 100%;
}

.button-compact {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 0.8rem;
}

.button:disabled {
  color: #6c777b;
  background: #e6eaec;
  border-color: #c8d0d3;
  opacity: 1;
}

.notice {
  margin-bottom: 18px;
  padding: 11px 13px;
  border: 1px solid;
  border-left-width: 4px;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.notice-error {
  color: #67191e;
  background: var(--danger-soft);
  border-color: #d7a9ad;
  border-left-color: var(--danger);
}

.notice-warning {
  color: #5f3d06;
  background: var(--warning-soft);
  border-color: #dbc184;
  border-left-color: var(--warning);
}

.workspace {
  min-height: calc(100vh - 113px);
}

.workspace-inner {
  padding-block: 26px 44px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.page-header h1 {
  margin-bottom: 4px;
}

.page-summary {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.system-status {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.system-status-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.system-status-header .eyebrow,
.system-status-header h2 {
  margin-bottom: 2px;
}

.system-status-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.system-status-list > div {
  min-width: 0;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.system-status-list dt {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.system-status-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  font-weight: 600;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 160px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.toolbar-field label {
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.toolbar-field input,
.toolbar-field select {
  min-height: 38px;
  padding-block: 7px;
  font-size: 0.875rem;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-panel {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.status-panel h2 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.status-panel-marker {
  align-self: stretch;
  min-height: 52px;
  background: var(--info);
}

.status-panel[data-state="loading"] .status-panel-marker {
  background: var(--brand);
  animation: loading-pulse 1.2s ease-in-out infinite alternate;
}

.status-panel[data-state="empty"] .status-panel-marker {
  background: var(--border-strong);
}

.status-panel[data-state="error"] .status-panel-marker,
.status-panel[data-state="forbidden"] .status-panel-marker {
  background: var(--danger);
}

@keyframes loading-pulse {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.table-region {
  background: var(--surface);
  border: 1px solid var(--border);
}

.table-scroll {
  width: 100%;
  overflow: auto;
  scrollbar-gutter: stable;
}

table {
  width: 100%;
  min-width: 1060px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.825rem;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #dce2e4;
  white-space: nowrap;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  color: #3d4b51;
  background: #edf1f2;
  font-size: 0.76rem;
  font-weight: 700;
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th {
  background: #fafbfb;
}

tbody tr:hover td,
tbody tr:hover th {
  background: #edf6f5;
}

th:first-child,
td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  background: var(--surface);
  box-shadow: 1px 0 0 #dce2e4;
}

thead th:first-child {
  z-index: 4;
  background: #edf1f2;
}

tbody tr:nth-child(even) td:first-child,
tbody tr:nth-child(even) th:first-child {
  background: #fafbfb;
}

tbody tr:hover td:first-child,
tbody tr:hover th:first-child {
  background: #edf6f5;
}

th:last-child,
td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  min-width: 128px;
  background: var(--surface);
  box-shadow: -1px 0 0 #dce2e4;
}

thead th:last-child {
  z-index: 4;
  background: #edf1f2;
}

tbody tr:nth-child(even) td:last-child {
  background: #fafbfb;
}

tbody tr:hover td:last-child {
  background: #edf6f5;
}

.cell-primary {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-weight: 650;
  text-overflow: ellipsis;
}

.cell-secondary {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.7rem;
  text-overflow: ellipsis;
}

.mono {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.platform-label {
  color: #34464d;
  font-weight: 600;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3d4b50;
  font-weight: 650;
}

.status-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #6d7a7f;
  border-radius: 50%;
}

.status-label[data-status="active"]::before,
.outcome-label[data-outcome="succeeded"]::before {
  background: var(--success);
}

.status-label[data-status="activating"]::before,
.status-label[data-status="restorePending"]::before,
.status-label[data-status="disablePending"]::before,
.status-label[data-status="banPending"]::before,
.outcome-label[data-outcome="pending"]::before {
  background: var(--warning);
}

.status-label[data-status="disabled"]::before,
.status-label[data-status="banned"]::before,
.status-label[data-status="enforcementError"]::before,
.outcome-label[data-outcome="failed"]::before,
.outcome-label[data-outcome="denied"]::before {
  background: var(--danger);
}

.status-label[data-status="reenrollmentRequired"]::before {
  background: var(--info);
}

.outcome-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.outcome-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #6d7a7f;
  border-radius: 50%;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.row-action {
  min-height: 32px;
  padding: 4px 9px;
  font-size: 0.75rem;
}

.row-action-status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 4px 2px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.row-action-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--warning);
  border-radius: 50%;
}

.row-action-status-error {
  color: var(--danger-strong);
}

.row-action-status-error::before {
  background: var(--danger);
}

.row-action-danger {
  color: var(--danger-strong);
  background: transparent;
  border-color: #c88f94;
}

.row-action-danger:hover:not(:disabled) {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 8px 12px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
}

.list-footer p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.state-page {
  padding-block: 72px;
}

.state-page h1 {
  margin-bottom: 8px;
}

.state-page p:not(.state-code) {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--text-muted);
}

.state-code {
  margin-bottom: 8px;
  color: var(--danger);
  font-size: 1rem;
  font-weight: 800;
}

.action-dialog {
  width: min(calc(100% - 32px), 560px);
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  box-shadow: var(--shadow-dialog);
}

.action-dialog::backdrop {
  background: rgb(20 29 33 / 56%);
}

.dialog-header,
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-header {
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--border);
}

.dialog-header h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1.45rem;
  line-height: 1;
}

.icon-button:hover:not(:disabled) {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--border);
}

.dialog-body {
  max-height: calc(100vh - 210px);
  padding: 18px 20px 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-footer {
  justify-content: flex-end;
  padding: 14px 20px 18px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
}

.device-reference {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.device-reference > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

.device-reference > div + div {
  margin-top: 5px;
}

.device-reference dt {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.device-reference dd {
  overflow: visible;
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: normal;
}

.consequence-box {
  margin-bottom: 18px;
  padding: 11px 13px;
  color: #67191e;
  background: var(--danger-soft);
  border: 1px solid #d7a9ad;
  border-left: 4px solid var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
}

.consequence-box[data-action="restore"] {
  color: #234e3a;
  background: var(--success-soft);
  border-color: #a9ccb6;
  border-left-color: var(--success);
}

.confirmation-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 2px 0 18px;
  color: #592126;
  font-size: 0.85rem;
  font-weight: 600;
}

.confirmation-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--danger);
}

.confirmation-check:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.noscript-message {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #67191e;
  background: #fff5f5;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .system-status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    grid-template-columns: minmax(220px, 1fr) 1fr 1fr;
  }

  .toolbar-field-search {
    grid-column: 1 / -1;
  }

  .toolbar-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .system-status-header {
    align-items: stretch;
    flex-direction: column;
  }

  .system-status-header .button {
    width: 100%;
  }

  .system-status-list {
    grid-template-columns: 1fr;
  }

  .shell,
  .feedback-region {
    width: min(100% - 24px, var(--shell));
  }

  .masthead {
    min-height: 68px;
  }

  .masthead-compact {
    min-height: 58px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark-small {
    width: 32px;
    height: 32px;
  }

  .product-name {
    font-size: 1rem;
  }

  .product-name-small {
    max-width: 154px;
    overflow: hidden;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-header-inner {
    gap: 10px;
  }

  .admin-meta {
    gap: 8px;
  }

  .admin-identity {
    display: none;
  }

  .login-view {
    align-content: start;
    min-height: calc(100vh - 73px);
    padding: 28px 12px 24px;
  }

  .login-panel {
    padding: 24px 20px 26px;
  }

  h1 {
    font-size: 1.45rem;
  }

  .workspace-inner {
    padding-block: 20px 32px;
  }

  .page-header {
    align-items: stretch;
    gap: 14px;
  }

  .page-header .button {
    flex: 0 0 auto;
    align-self: flex-start;
  }

  .toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .toolbar-field-search {
    grid-column: auto;
  }

  .toolbar-actions {
    justify-content: flex-start;
  }

  .status-panel {
    grid-template-columns: 4px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }

  .status-panel .button {
    grid-column: 2;
    justify-self: start;
  }

  table {
    min-width: 1030px;
  }

  th,
  td {
    padding: 10px;
  }

  th:first-child,
  td:first-child {
    width: 210px;
    min-width: 210px;
    max-width: 210px;
  }

  th:last-child,
  td:last-child {
    position: static;
    min-width: 128px;
    box-shadow: none;
  }

  .list-footer {
    align-items: flex-start;
  }

  .dialog-header,
  .dialog-body,
  .dialog-footer {
    padding-inline: 16px;
  }

  .dialog-footer .button {
    flex: 1 1 0;
  }

  .feedback-region {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .app-header,
  .primary-nav,
  .public-header,
  .toolbar,
  .page-header .button,
  .list-footer .button,
  .feedback-region,
  .row-actions {
    display: none !important;
  }

  body,
  .workspace {
    min-height: 0;
    background: #ffffff;
  }

  .shell {
    width: 100%;
  }

  .workspace-inner {
    padding: 0;
  }

  .table-region,
  .table-scroll {
    overflow: visible;
    border: 0;
  }

  table {
    min-width: 0;
    font-size: 9pt;
  }

  th,
  td,
  th:first-child,
  td:first-child,
  th:last-child,
  td:last-child {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    box-shadow: none;
  }
}
