html {
  color-scheme: light;
}
html[data-theme='dark'] {
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: light-dark(#f5f6f7, #191b1d);
  color: light-dark(#202527, #f0f2f2);
}
[hidden],
.hidden {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
* {
  box-sizing: border-box;
}
#rts-concept {
  min-height: 100vh;
}
#rts-concept .r-side {
  position: sticky;
  top: 0;
  height: 100vh;
}
#rts-concept .r-brand {
  gap: 6px;
  padding: 0;
  font-size: 15px;
}
#rts-concept .r-user-label {
  overflow-wrap: anywhere;
}
#rts-concept .r-content {
  max-width: 1800px;
  margin: 0 auto;
}
#rts-concept .r-between {
  flex-wrap: wrap;
}
#rts-concept .r-caption {
  flex-wrap: wrap;
}
#rts-concept .r-work-name strong {
  overflow-wrap: anywhere;
}
#rts-concept .r-table td {
  max-width: 420px;
  overflow-wrap: anywhere;
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
}
#rts-concept .r-columns > * {
  min-width: 0;
}
.r-toolbar select {
  min-height: 40px;
  border: 1px solid var(--r-line);
  border-radius: 6px;
  background: var(--r-surface);
  padding: 8px;
}
#rts-concept .r-work-menu .r-button {
  border: 0;
  justify-content: flex-start;
  width: 100%;
}
#rts-concept .r-work-menu .r-button:last-child {
  color: light-dark(#b73434, #ff9999);
}
#rts-concept .r-tabs {
  overflow-wrap: anywhere;
}
#rts-concept .native-dialog {
  padding: 24px;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  width: 440px;
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 40px);
  background: var(--r-surface);
  color: var(--r-ink);
}
#rts-concept .native-dialog::backdrop {
  background: #10182066;
}
#rts-concept .native-dialog.drawer {
  margin: 0 0 0 auto;
  width: 410px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
}
#rts-concept .native-dialog header,
#rts-concept .dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
#rts-concept .native-dialog h2 {
  font-size: 18px;
}
#rts-concept .native-form-body,
#rts-concept .dialog-body {
  display: grid;
  gap: 16px;
}
#rts-concept .native-dialog label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
#rts-concept .native-dialog input,
#rts-concept .native-dialog select,
#rts-concept .native-dialog textarea {
  width: 100%;
  min-height: 41px;
  border: 1px solid var(--r-line);
  border-radius: 5px;
  background: var(--r-bg);
  padding: 9px 11px;
  font-size: 16px;
  color: var(--r-ink);
}
#rts-concept .native-dialog input[readonly] {
  color: var(--r-muted);
  background: light-dark(#eceeef, #262a2d);
  cursor: default;
}
#rts-concept .native-dialog textarea {
  resize: vertical;
}
#rts-concept .native-dialog footer,
#rts-concept .native-dialog .actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--r-line);
}
#rts-concept .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--r-line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--r-accent);
  color: #202527;
}
#rts-concept .button.secondary {
  background: var(--r-surface);
  color: var(--r-ink);
}
#rts-concept .dialog-close {
  border: 1px solid var(--r-line);
  border-radius: 6px;
  background: transparent;
  width: 34px;
  height: 34px;
  font-size: 22px;
}
#rts-concept .form-grid {
  display: grid;
  gap: 16px;
}
#rts-concept .account-summary {
  display: grid;
  gap: 16px;
}
#rts-concept .account-summary strong {
  display: block;
}
#rts-concept .dialog-head p {
  font-size: 13px;
  color: var(--r-muted);
  margin-top: 6px;
}
#rts-concept .danger-text {
  color: light-dark(#b73434, #ff9999);
  font-size: 13px;
  margin-top: 12px;
}
#rts-concept .native-dialog form > p[role='alert'] {
  margin-top: 12px;
}
#rts-concept .native-dialog .native-form-body > p {
  font-size: 13px;
  color: var(--r-muted);
}
#rts-concept .page-intro {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
#rts-concept .table-card {
  overflow: auto;
}
#rts-concept .table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
#rts-concept .table-card td,
#rts-concept .table-card th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--r-line);
}
#rts-concept .row-actions {
  display: flex;
  gap: 8px;
}
#toast-region {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  max-width: calc(100vw - 40px);
}
.toast {
  padding: 14px 18px;
  margin-top: 8px;
  background: light-dark(#e9f5ef, #263f35);
  color: light-dark(#19765e, #7ad6b5);
  border: 1px solid currentColor;
  border-radius: 6px;
  box-shadow: 0 5px 20px #0001;
}
.toast.error {
  background: light-dark(#ffeded, #492b2b);
  color: light-dark(#b73434, #ff9999);
}
#login-view {
  min-height: 100dvh;
  padding: 32px;
}
.login-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.login-brand img {
  width: 40px;
  height: 40px;
}
#login-form {
  width: 360px;
  max-width: 100%;
  margin: 12vh auto;
  display: grid;
  gap: 20px;
}
#login-form h1 {
  font-size: 28px;
}
#login-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
}
#login-form input {
  min-height: 44px;
  border: 1px solid light-dark(#d4dade, #3b4145);
  border-radius: 6px;
  width: 100%;
  padding: 10px;
  background: light-dark(#fff, #232628);
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 45px !important;
}
.password-field button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 34px;
  width: 34px;
  border: 0;
  background: transparent;
}
svg {
  width: 18px;
  height: 18px;
}
#forgot-password {
  justify-self: end;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.login-submit {
  background: #f3c624;
  color: #202527;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  font-weight: 600;
}
#login-error {
  color: light-dark(#b73434, #ff9999);
  font-size: 13px;
}
#rts-concept .r-health-above {
  color: #a52424;
  background: #ffe7e7;
}
@media (max-width: 600px) {
  #rts-concept .r-stock-grid {
    grid-template-columns: 1fr;
  }
  #rts-concept .r-side {
    position: relative;
    height: auto;
  }
  #rts-concept .native-dialog {
    padding: 20px;
  }
  #rts-concept .r-work-row {
    min-width: 0;
  }
  #rts-concept .r-table {
    min-width: 550px;
  }
  #rts-concept .r-closing .r-table {
    min-width: 0;
    table-layout: fixed;
  }
  #rts-concept .r-closing .r-table th,
  #rts-concept .r-closing .r-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    padding-right: 8px;
  }
  #rts-concept .r-closing .r-stat strong {
    overflow-wrap: anywhere;
  }
  #rts-concept .r-notice {
    overflow-wrap: anywhere;
  }
  #rts-concept .r-work-title {
    min-width: 0;
  }
  #rts-concept .r-stat strong {
    font-size: 19px;
  }
  #rts-concept h1 {
    overflow-wrap: anywhere;
  }
  #rts-concept .native-dialog footer .button {
    flex: 1;
  }
  #rts-concept .r-brand {
    font-size: 16px;
  }
}
