.rs-view,
.rs-form,
.rs-profile,
.rs-import {
  color: var(--ink, #20241e);
}
.rs-header,
.rs-actions,
.rs-person,
.rs-pagination,
.rs-pagination > div,
.rs-filter,
.rs-search,
.rs-platform,
.rs-profile-head,
.rs-import-file,
.rs-text-btn,
.rs-import-file label span {
  display: flex;
  align-items: center;
}
.rs-header {
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.rs-header h1 {
  margin: 0;
}
.rs-header .page-lead {
  margin: 6px 0 0;
}
.rs-actions {
  gap: 8px;
  flex-shrink: 0;
}
.rs-actions .btn,
.rs-form .btn,
.rs-profile .btn,
.rs-import .btn {
  white-space: nowrap;
}
.rs-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper, #fff);
  border: 1px solid var(--line, #dfe3d9);
  border-radius: 14px;
  padding: 22px 0;
  margin: 0 0 24px;
}
.rs-summary > div {
  padding: 0 clamp(12px, 2.25vw, 32px);
  display: grid;
  gap: 7px;
  align-content: start;
}
.rs-summary > div + div {
  border-left: 1px solid var(--line, #dfe3d9);
}
.rs-summary span {
  font-size: 13px;
  color: var(--muted, #666e62);
  font-weight: 500;
}
.rs-summary strong {
  font-size: clamp(24px, 2.45vw, 36px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.rs-panel {
  background: var(--paper, #fff);
  border: 1px solid var(--line, #dfe3d9);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.rs-panel-head {
  padding: 21px 22px 0;
}
.rs-panel-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.rs-filter {
  gap: 8px;
  flex-wrap: wrap;
  padding: 17px 22px 19px;
}
.rs-filter select,
.rs-size select,
.rs-search {
  height: 36px;
  box-sizing: border-box;
  border: 1px solid var(--line, #dfe3d9);
  border-radius: 7px;
  color: var(--ink, #20241e);
  background: #fff;
  font: inherit;
  font-size: 13px;
}
.rs-filter select,
.rs-size select {
  cursor: pointer;
  padding: 0 8px;
  max-width: 180px;
}
.rs-search {
  gap: 8px;
  color: var(--muted, #677164);
  padding: 0 11px;
  min-width: 175px;
  flex: 1 1 185px;
  max-width: 320px;
}
.rs-search:focus-within {
  outline: 2px solid #677e35;
  outline-offset: 1px;
}
.rs-search input {
  border: 0;
  outline: 0 !important;
  background: transparent;
  color: var(--ink, #20241e);
  font: inherit;
  width: 100%;
  min-width: 0;
}
.rs-scroll {
  width: 100%;
  overflow: auto;
}
.rs-panel table,
.rs-preview table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.rs-panel th,
.rs-panel td,
.rs-preview th,
.rs-preview td {
  padding: 13px 10px;
  vertical-align: middle;
}
.rs-panel th,
.rs-preview th {
  font-size: 12px;
  white-space: nowrap;
  font-weight: 550;
  color: var(--muted, #677164);
  background: #f7f8f4;
  border-top: 1px solid var(--line, #e6e9df);
  border-bottom: 1px solid var(--line, #e6e9df);
}
.rs-panel td,
.rs-preview td {
  border-bottom: 1px solid var(--line, #e6e9df);
  line-height: 1.45;
}
.rs-panel td:first-child,
.rs-panel th:first-child {
  padding-left: 22px;
}
.rs-panel td:last-child,
.rs-panel th:last-child {
  padding-right: 22px;
}
.rs-panel tbody tr:hover {
  background: #fbfcf8;
}
.rs-panel td:nth-child(3) {
  max-width: 150px;
  overflow-wrap: anywhere;
}
.rs-person {
  border: 0;
  gap: 11px;
  padding: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  max-width: 230px;
}
.rs-person:hover .rs-identity b {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rs-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
}
.rs-tone-0 {
  background: #e2edcf;
  color: #526b33;
}
.rs-tone-1 {
  background: #ede4d2;
  color: #765e33;
}
.rs-tone-2 {
  background: #e0e8e7;
  color: #416462;
}
.rs-tone-3 {
  background: #f4ded7;
  color: #975c4c;
}
.rs-tone-4 {
  background: #e6e4ef;
  color: #635d80;
}
.rs-tone-5 {
  background: #e7e9d7;
  color: #5b6840;
}
.rs-identity {
  min-width: 0;
}
.rs-identity > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.rs-identity b {
  font-size: 13px;
  font-weight: 630;
  overflow-wrap: anywhere;
}
.rs-identity small,
.rs-secondary {
  display: block;
  color: var(--muted, #677164);
  font-size: 11px;
  margin-top: 3px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.rs-demo {
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid #dfe3d7;
  color: #697063;
  background: #fafbf7;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
  font-weight: 450;
}
.rs-platform {
  gap: 5px;
  white-space: nowrap;
}
.rs-platform i {
  width: 17px;
  height: 17px;
  line-height: 17px;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}
.rs-platform-0 {
  background: #fce5e8;
  color: #b9334c;
}
.rs-platform-1 {
  background: #e8e9e9;
  color: #31373a;
}
.rs-platform-2 {
  background: #f9e8da;
  color: #ab582d;
}
.rs-platform-3 {
  background: #ffebd9;
  color: #af5716;
}
.rs-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rs-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-radius: 100px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}
.rs-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.rs-on {
  color: #47703b;
  background: #edf4e5;
}
.rs-working {
  color: #3c6584;
  background: #eaf1f7;
}
.rs-pending {
  color: #946329;
  background: #fbf0d9;
}
.rs-off {
  color: #6a6e68;
  background: #eef0ea;
}
.rs-text-btn {
  padding: 3px 0;
  gap: 5px;
  background: none;
  border: 0;
  color: #536a30;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.rs-text-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rs-pagination {
  justify-content: space-between;
  gap: 10px;
  padding: 15px 22px;
  color: var(--muted, #677164);
  font-size: 12px;
  flex-wrap: wrap;
}
.rs-pagination > div {
  gap: 4px;
}
.rs-pagination b {
  font-weight: 550;
  color: var(--ink, #20241e);
}
.rs-size {
  margin-right: 5px;
}
.rs-size select {
  height: 30px;
  max-width: 115px;
  font-size: 12px;
}
.rs-page {
  padding: 0 6px;
  min-width: 28px;
  height: 28px;
  border: 1px solid transparent;
  background: none;
  color: inherit;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.rs-page:not(:disabled):hover {
  background: #f1f3ed;
}
.rs-page.current {
  background: #eaf0df;
  color: #32451a;
  font-weight: 700;
}
.rs-page:disabled {
  color: #b8bcb1;
  cursor: default;
}
.rs-ellipsis {
  padding: 0 2px;
}
.rs-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 210px;
  border-bottom: 1px solid var(--line, #dfe3d9);
  color: var(--muted, #677164);
}
.rs-empty strong {
  color: var(--ink, #20241e);
  font-size: 15px;
}
.rs-empty button {
  margin-top: 2px;
}
.rs-form .rs-full {
  grid-column: 1 / -1;
}
.rs-form textarea {
  resize: vertical;
  min-height: 75px;
}
.rs-error {
  padding: 9px 12px;
  background: #fbefeb;
  color: #8a3925;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.rs-profile-head {
  gap: 13px;
  margin: 2px 0 20px;
}
.rs-lg {
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 15px;
}
.rs-profile-head h3 {
  margin: 0 0 5px;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.rs-profile-head > div > span {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  font-size: 12px;
}
.rs-profile-head small {
  color: var(--muted, #677164);
  overflow-wrap: anywhere;
}
.rs-profile dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 16px;
  border-radius: 8px;
  background: #f6f8f2;
}
.rs-profile dt {
  color: var(--muted, #677164);
  font-size: 12px;
  margin-bottom: 4px;
}
.rs-profile dd {
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
}
.rs-profile h4 {
  margin: 18px 0 6px;
  font-size: 14px;
}
.rs-profile h4 small {
  color: var(--muted, #677164);
  font-weight: 500;
}
.rs-note,
.rs-import p,
.rs-preview p {
  color: var(--muted, #677164);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.rs-note {
  white-space: pre-wrap;
}
.rs-task-list {
  padding: 0;
  margin: 0;
  list-style: none;
  max-height: 180px;
  overflow: auto;
}
.rs-task-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line, #dfe3d9);
  font-size: 13px;
}
.rs-task-list li span {
  overflow-wrap: anywhere;
}
.rs-task-list small {
  white-space: nowrap;
  color: var(--muted, #677164);
}
.rs-import-file {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 8px;
}
.rs-import-file label {
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.rs-import-file label span {
  gap: 8px;
  background: #f0f4e7;
  border: 1px solid #cdd7b8;
  color: #415722;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
}
.rs-import-file input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.rs-import-file label:focus-within {
  outline: 2px solid #677e35;
  border-radius: 6px;
}
.rs-import-formats,
.rs-preview p {
  color: var(--muted, #677164);
  font-size: 12px;
}
.rs-preview {
  margin: 16px 0;
}
.rs-preview strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.rs-preview p {
  margin: 3px 0 8px;
}
.rs-preview td,
.rs-preview th {
  padding: 7px;
  word-break: break-all;
}
.rs-import .rs-error {
  margin-top: 12px;
  color: #8a3925;
}
@media (max-width: 1050px) {
  .rs-filter {
    gap: 6px;
  }
  .rs-panel table {
    min-width: 665px;
  }
  .rs-panel th,
  .rs-panel td {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 720px) {
  .rs-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
  }
  .rs-summary {
    padding: 14px 0;
    margin-bottom: 16px;
  }
  .rs-summary > div {
    gap: 5px;
    padding: 0 10px;
  }
  .rs-summary span {
    font-size: 11px;
  }
  .rs-summary strong {
    font-size: 23px;
  }
  .rs-panel-head {
    padding: 16px 14px 0;
  }
  .rs-filter {
    padding: 12px 14px;
  }
  .rs-search {
    flex-basis: 100%;
    max-width: none;
  }
  .rs-filter select {
    max-width: 150px;
    height: 33px;
    font-size: 12px;
  }
  .rs-pagination {
    padding: 12px;
  }
  .rs-panel th:first-child,
  .rs-panel td:first-child {
    padding-left: 14px;
  }
  .rs-panel th:last-child,
  .rs-panel td:last-child {
    padding-right: 14px;
  }
  .rs-pagination > div {
    gap: 2px;
  }
  .rs-range {
    display: none;
  }
}
@media (max-width: 440px) {
  .rs-summary > div {
    padding: 0 9px;
  }
  .rs-pagination {
    justify-content: center;
  }
  .rs-pagination > span {
    width: 100%;
    text-align: center;
  }
  .rs-page {
    min-width: 25px;
  }
  .rs-filter select {
    flex: 1 1 40%;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .rs-panel .rs-scroll {
    overflow: visible;
  }
  .rs-panel table,
  .rs-panel tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .rs-panel thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .rs-panel tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 8px;
    padding: 14px;
    border-top: 1px solid var(--line, #dfe3d9);
  }
  .rs-panel tbody tr:last-child {
    border-bottom: 1px solid var(--line, #dfe3d9);
  }
  .rs-panel td,
  .rs-panel td:first-child,
  .rs-panel td:last-child {
    display: block;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    font-size: 12px;
  }
  .rs-panel td:first-child {
    grid-column: 1/3;
    grid-row: 1;
  }
  .rs-panel td:last-child {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }
  .rs-panel td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted, #677164);
    font-size: 10px;
    line-height: 1.2;
  }
  .rs-panel .rs-person {
    width: 100%;
    max-width: none;
    gap: 8px;
  }
  .rs-panel .rs-avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border-radius: 9px;
  }
  .rs-panel .rs-identity b {
    font-size: 12px;
  }
  .rs-panel .rs-secondary {
    display: inline;
    margin-left: 3px;
    margin-top: 0;
  }
  .rs-panel .rs-table-creators td:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
  }
  .rs-panel .rs-table-creators td:nth-child(4),
  .rs-panel .rs-table-creators td:nth-child(5),
  .rs-panel .rs-table-accounts td:nth-child(5) {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .rs-panel .rs-table-creators td:nth-child(4),
  .rs-panel .rs-table-creators td:nth-child(5) {
    grid-row: 3;
  }
  .rs-panel .rs-table-accounts td:nth-child(5) {
    grid-column: 1/3;
  }
}
