:root {
  --tchc-bg: #f6f8fb;
  --tchc-surface: #ffffff;
  --tchc-text: #172033;
  --tchc-muted: #667085;
  --tchc-border: #e4e8f0;
  --tchc-primary: #1f5eff;
  --tchc-danger: #b42318;
  --tchc-success: #067647;
  --tchc-radius: 10px;
  --tchc-shadow:
    0 1px 2px rgba(16,24,40,.04),
    0 4px 12px rgba(16,24,40,.06);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--tchc-text);
  background: var(--tchc-bg);
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31,94,255,.22);
}

button,
[role="button"] {
  min-height: 40px;
}

button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

input,
select,
textarea {
  min-height: 40px;
  border-radius: 8px;
}

table {
  width: 100%;
}

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

.tchc-scroll-x,
.table-wrap,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tchc-card,
.card {
  border-color: var(--tchc-border);
  border-radius: var(--tchc-radius);
  box-shadow: var(--tchc-shadow);
}

.tchc-muted,
.text-muted {
  color: var(--tchc-muted);
}

.tchc-danger {
  color: var(--tchc-danger);
}

.tchc-success {
  color: var(--tchc-success);
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  main,
  .container,
  .page-container {
    max-width: 100%;
  }

  table {
    font-size: 13px;
  }

  th,
  td {
    padding-left: 8px;
    padding-right: 8px;
  }

  button {
    touch-action: manipulation;
  }
}

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