* {
  box-sizing: border-box;
}
.permission-scroll {
  max-height: 66vh;
}
.permission-table {
  min-width: 1160px;
}
.permission-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}
.permission-table th,
.permission-table td {
  text-align: center;
  padding: 15px 12px;
}
.permission-table th:nth-child(2),
.permission-table td:nth-child(2) {
  text-align: left;
}
.permission-table th {
  white-space: normal;
  min-width: 115px;
}
.permission-table th:first-child {
  min-width: 85px;
}
.permission-table th:nth-child(2) {
  min-width: 245px;
}
.permission-table input {
  cursor: pointer;
}
.permission-table input:disabled {
  cursor: default;
}
.permission-group {
  color: #8290a5;
  font-size: 11px;
}
.permission-locked {
  color: #c9d1df;
}
.permission-hint {
  margin: 0;
  padding: 0 20px 14px;
  color: #8290a5;
  font-size: 11px;
}
@media (max-width: 800px) {
  .permission-table {
    min-width: 860px;
    table-layout: fixed;
  }
  .permission-table th:first-child,
  .permission-table td:first-child {
    display: none;
  }
  .permission-table th:nth-child(2),
  .permission-table td:nth-child(2) {
    position: sticky;
    left: 0;
    width: 160px;
    min-width: 160px;
    white-space: normal;
    background: white;
    box-shadow: 2px 0 3px #2034580c;
  }
  .permission-table th:nth-child(2) {
    background: #f7f9fc;
  }
}
:root {
  font-family: Inter, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #202b40;
  font-size: 14px;
  background: #f5f7fb;
  --blue: #345cea;
  --muted: #8290a5;
  --line: #e8ecf3;
  --nav: #13223c;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 11px;
}
input,
select,
textarea {
  border: 1px solid #dce2ed;
  background: #fff;
  border-radius: 7px;
  padding: 10px 12px;
  color: #26344b;
  max-width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6782ef;
  outline: 2px solid #e2e8ff;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
label small {
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
input[type="checkbox"] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
}
th {
  font-size: 12px;
  font-weight: 500;
  background: #f8f9fc;
  color: #78859a;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #f0f2f7;
}
tbody tr:hover {
  background: #fafbff;
}
td.title-cell {
  white-space: normal;
  min-width: 240px;
  max-width: 420px;
  font-weight: 500;
  line-height: 1.65;
}
td.mono {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #68788e;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  display: block;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.primary,
.secondary,
.danger {
  padding: 11px 18px;
  border-radius: 7px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 8px #345cea14;
}
.primary:hover {
  background: #2449cf;
}
.secondary {
  border: 1px solid #dce2ed;
  background: #fff;
}
.danger {
  background: #fff0ee;
  color: #c1443a;
}
.quiet,
.text-link {
  font-size: 12px;
  color: #6e7d93;
  padding: 7px 4px;
}
.quiet:hover,
.text-link:hover,
.row-action:hover {
  color: var(--blue);
}
.row-action {
  color: var(--blue);
  font-size: 12px;
  padding: 4px 8px;
  white-space: nowrap;
}
.row-action.warning {
  color: #bb6660;
}
.icon-button {
  font-size: 23px;
  color: #8a95a6;
  line-height: 1;
  padding: 5px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #5273f3;
  color: white;
  font-size: 22px;
  box-shadow: 0 6px 18px #04132b33;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #7e94b4;
  margin-top: 6px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  background: var(--nav);
  color: #b0bdd1;
  display: flex;
  flex-direction: column;
  padding: 30px 17px 20px;
  z-index: 20;
}
.sidebar .brand {
  padding: 0 9px 30px;
  color: #fff;
}
nav {
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #324565 transparent;
}
.nav-group {
  padding: 19px 15px 9px;
  font-size: 10px;
  color: #627a9b;
  letter-spacing: 1.5px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 7px;
  padding: 11px 15px;
  margin: 3px 0;
  font-size: 13px;
}
.nav-link:hover {
  background: #1c3151;
  color: white;
}
.nav-link.active {
  background: #345cea;
  color: white;
  box-shadow: 0 5px 15px #040d261f;
}
.nav-icon {
  width: 18px;
  display: flex;
}
.nav-icon svg {
  width: 18px;
  height: 18px;
}
.sidebar-bottom {
  padding: 20px 10px 0;
  border-top: 1px solid #ffffff0d;
  font-size: 10px;
  color: #7890b0;
  margin-top: 16px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6bbda6;
  margin-right: 7px;
}
.workspace {
  margin-left: 228px;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 18px;
}
.breadcrumb {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: #8995a8;
}
.breadcrumb strong {
  font-weight: 500;
  color: #293951;
}
.topbar-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 12px;
}
.divider {
  height: 20px;
  width: 1px;
  background: var(--line);
}
#admin-name {
  font-weight: 500;
}
.mobile-menu {
  display: none;
}
main#main {
  padding: 34px;
  min-height: calc(100vh - 123px);
  max-width: 1900px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}
.page-heading h1 {
  margin-bottom: 9px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
  line-height: 1.8;
}
.page-heading .eyebrow {
  font-size: 9px;
}
.date-label {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 10px 13px;
  background: #fff;
  border-radius: 7px;
  color: #7d899c;
}
.page-footer {
  height: 47px;
  text-align: center;
  color: #a2aebf;
  font-size: 10px;
  padding-top: 15px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 3px 9px #19294e02;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
.stat-card {
  padding: 23px;
  position: relative;
}
.stat-title {
  color: #8390a4;
  font-size: 12px;
  margin-bottom: 18px;
}
.stat-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #25354c;
}
.stat-foot {
  font-size: 11px;
  color: #94a0b2;
}
.stat-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #5270da;
  background: #f0f3ff;
  border-radius: 10px;
  padding: 11px;
  display: flex;
}
.stat-icon svg {
  width: 19px;
  height: 19px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.sales-section {
  margin-bottom: 24px;
}
.sales-heading-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.sales-week-total {
  text-align: right;
}
.sales-week-total strong {
  display: block;
  color: #345cea;
  font-size: 24px;
}
.sales-week-total span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.sales-chart {
  height: 255px;
}
.sales-chart .bar {
  width: 32px;
}
.sales-bar-value {
  color: #566883;
  font-size: 11px;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
.sales-amount {
  color: #345cea;
  font-weight: 600;
}
.sales-footnote {
  padding: 0 20px 18px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.agent-sales-table {
  min-width: 820px;
}
.purchase-records {
  margin-top: 20px;
}
.purchase-records table {
  min-width: 900px;
}
@media (max-width: 800px) {
  .sales-heading-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .sales-week-total strong {
    font-size: 19px;
  }
  .sales-chart {
    padding-right: 14px;
    padding-left: 14px;
    gap: 5px;
  }
  .sales-bar-value {
    font-size: 9px;
  }
}
.card-heading {
  padding: 23px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-heading h3 {
  margin-bottom: 6px;
  font-weight: 600;
}
.card-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 0;
}
.chart-legend {
  display: flex;
  gap: 14px;
  font-size: 10px;
  color: #8f9aab;
}
.chart-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #5677ed;
  margin-right: 5px;
}
.chart-legend i.pale {
  background: #bbcaff;
}
.chart {
  display: flex;
  gap: 17px;
  height: 223px;
  padding: 28px 27px 24px;
  align-items: flex-end;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 39px,
    #f0f3f8 40px,
    transparent 41px
  );
  background-clip: content-box;
}
.chart-column {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}
.bars {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}
.bar {
  width: 17px;
  max-width: 35%;
  background: #5677ed;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  position: relative;
}
.bar.pale {
  background: #bbcaff;
}
.chart-column small {
  padding-top: 14px;
  color: #91a0b6;
  font-size: 10px;
}
.todo-list {
  padding: 8px 24px 19px;
}
.todo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f3f8;
  font-size: 12px;
}
.todo-link:last-child {
  border: 0;
}
.todo-link .todo-count {
  margin-left: auto;
  font-weight: 600;
  color: #314760;
}
.todo-link .nav-icon {
  padding: 8px;
  box-sizing: content-box;
  border-radius: 7px;
  background: #f5f7fc;
  color: #7d92b7;
}
.todo-link .arrow {
  color: #a0aabe;
}
.info-note {
  font-size: 11px;
  color: #8e9bae;
  background: #f8faff;
  border: 1px solid #e7edf9;
  padding: 12px 16px;
  border-radius: 7px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.toolbar {
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar input {
  width: 270px;
  background: #fafbfe;
}
.toolbar select {
  min-width: 120px;
  font-size: 12px;
}
.toolbar .table-count {
  margin-left: auto;
  font-size: 11px;
  color: #94a0b2;
}
.table-scroll {
  overflow-x: auto;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 11px;
  color: #92a0b5;
}
.pagination-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pagination button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 11px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.4;
  background: #f0f3f8;
  color: #7d8b9f;
}
.badge.green {
  background: #eaf7f2;
  color: #369677;
}
.badge.blue {
  background: #edf2ff;
  color: #5376ce;
}
.badge.orange {
  background: #fff5e5;
  color: #c68f3c;
}
.badge.red {
  background: #fcf0ef;
  color: #c1736d;
}
.subtext {
  font-size: 10px;
  color: #9aa5b6;
  font-weight: 400;
  margin-top: 5px;
}
.empty {
  padding: 64px 20px;
  text-align: center;
  color: #94a0b5;
}
.empty svg {
  width: 36px;
  height: 36px;
  color: #c6d2e7;
  margin-bottom: 14px;
}
.empty p {
  margin-bottom: 5px;
  font-size: 13px;
}
.empty small {
  font-size: 11px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: #8493a8;
}
.amount-positive {
  color: #389479;
}
.amount-negative {
  color: #d27164;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + 114px);
  transform: translateX(-50%);
  background: #243650;
  color: #fff;
  border-radius: 8px;
  padding: 13px 23px;
  box-shadow: 0 8px 30px #14284c30;
  z-index: 1000;
  font-size: 13px;
  max-width: 80vw;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: 740px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  box-shadow: 0 25px 100px #0a183b30;
  color: inherit;
}
dialog::backdrop {
  background: #16233b66;
  backdrop-filter: blur(2px);
}
.dialog-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head h2 {
  margin: 0;
}
.dialog-head .eyebrow {
  font-size: 9px;
  margin-bottom: 6px;
}
.dialog-body {
  padding: 26px 28px;
  max-height: 65vh;
  overflow: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full {
  grid-column: 1/-1;
}
.check-row {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 0;
}
.check-row label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
}
.dialog-footer {
  padding: 18px 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.dialog-footer .form-error {
  margin: 0 auto 0 0;
  max-width: 60%;
  font-size: 12px;
}
.form-error {
  color: #c44942;
  font-size: 12px;
  min-height: 16px;
  line-height: 1.6;
}
.detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  font-size: 13px;
  line-height: 1.7;
}
.detail-grid dt {
  color: #8a97aa;
}
.detail-grid dd {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}
.settings-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
}
.settings-menu {
  padding: 12px;
  height: max-content;
}
.settings-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border-radius: 6px;
  color: #7d899d;
  font-size: 13px;
  margin: 3px 0;
}
.settings-tab.active {
  background: #edf2ff;
  color: var(--blue);
}
.settings-body {
  padding: 28px;
  max-width: 950px;
}
.settings-body h2 {
  font-size: 17px;
  margin-bottom: 8px;
}
.settings-body > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.8;
}
.settings-save {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 25px;
  gap: 15px;
  align-items: center;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 18px;
  padding: 24px;
}
.media-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.media-item img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #f7f8fa;
  display: block;
}
.media-item figcaption {
  padding: 11px;
  font-size: 10px;
  color: #8a97a9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-item figure {
  margin: 0;
}
.media-item button {
  width: 100%;
  text-align: left;
  padding: 0;
}
.media-picker {
  margin-top: 8px;
  color: #8a97a9;
  font-size: 12px;
}
.media-picker summary {
  cursor: pointer;
}
.picker-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 12px;
  max-height: 190px;
  overflow: auto;
}
.picker-grid button {
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 5px;
}
.picker-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.upload-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.upload-row input {
  flex: 1;
  min-width: 0;
}
.upload-button {
  font-size: 11px;
  padding: 10px;
  background: #f3f6fc;
  border-radius: 6px;
  cursor: pointer;
}
.upload-button input {
  display: none;
}
.login-page {
  background: #f3f5fa;
  display: grid;
  place-items: center;
  min-height: 100vh;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  width: 1040px;
  max-width: calc(100vw - 64px);
  min-height: 590px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 80px #1c2e5810;
}
.login-intro {
  background:
    radial-gradient(ellipse at 80% 95%, #284574 0, transparent 55%), #13243f;
  color: #fff;
  padding: 43px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-intro .eyebrow {
  color: #7b96bf;
}
.login-intro h1 {
  font-size: 35px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.login-intro p {
  font-size: 12px;
  line-height: 2;
  color: #9cb0cb;
}
.login-intro small {
  color: #667f9f;
  font-size: 10px;
}
.intro-tags {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.intro-tags span {
  font-size: 10px;
  color: #a1b6d7;
  border: 1px solid #a1b6d726;
  padding: 7px 12px;
  border-radius: 5px;
}
.login-card {
  padding: 78px 55px;
}
.login-card .eyebrow {
  color: #8c9fc3;
  font-size: 10px;
}
.login-card h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.login-card > .muted {
  font-size: 12px;
  margin-bottom: 37px;
}
.login-card label {
  margin-bottom: 23px;
  font-size: 12px;
  color: #62718a;
}
.login-card input {
  padding: 13px;
  background: #fafbfe;
}
.login-card input::placeholder {
  color: #b0b8c8;
  font-size: 12px;
}
.login-submit {
  width: 100%;
  padding: 14px;
  justify-content: space-between;
}
.login-foot {
  margin-top: 25px;
  font-size: 10px;
  color: #a3adbf;
  line-height: 1.8;
}
.credential {
  background: #eff4ff;
  border: 1px solid #dce6ff;
  padding: 18px;
  border-radius: 8px;
  font-family: Consolas, monospace;
  word-break: break-all;
  user-select: all;
}
@media (min-width: 1600px) {
  main#main {
    padding: 40px 48px;
  }
  .stats-grid {
    gap: 24px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
  }
  .workspace {
    margin-left: 205px;
  }
  .sidebar .brand {
    font-size: 15px;
  }
  .topbar {
    padding: 0 23px;
  }
  .topbar-actions {
    gap: 10px;
  }
  main#main {
    padding: 25px;
  }
  .stats-grid {
    gap: 13px;
  }
  .stat-card {
    padding: 19px;
  }
  .stat-icon {
    right: 16px;
    top: 18px;
    padding: 8px;
  }
  .stat-value {
    font-size: 27px;
  }
  .dashboard-grid {
    gap: 18px;
    grid-template-columns: 1.5fr 1fr;
  }
  .chart {
    gap: 8px;
    padding: 28px 20px 24px;
  }
  .toast {
    left: calc(50% + 102px);
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 228px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 50px #15274840;
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: block;
  }
  .topbar {
    height: auto;
    min-height: 68px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .topbar-actions {
    margin-left: auto;
    gap: 8px;
  }
  .topbar-actions .divider {
    display: none;
  }
  main#main {
    padding: 24px 17px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-menu {
    display: flex;
    overflow: auto;
  }
  .settings-tab {
    white-space: nowrap;
    width: auto;
  }
  .settings-body {
    padding: 22px;
  }
  .toast {
    left: 50%;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading {
    gap: 10px;
  }
  .toolbar {
    padding: 15px;
    gap: 8px;
  }
  .toolbar input {
    width: 100%;
  }
  .toolbar .table-count {
    display: none;
  }
  .date-label {
    font-size: 10px;
  }
  .login-layout {
    max-width: calc(100vw - 30px);
    width: 440px;
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .login-intro {
    padding: 25px;
  }
  .login-intro > div,
  .login-intro > small {
    display: none;
  }
  .login-card {
    padding: 36px 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-footer {
    padding: 16px 20px;
  }
  .picker-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .detail-grid {
    grid-template-columns: 90px 1fr;
  }
  .topbar-actions .quiet {
    font-size: 10px;
  }
  .stat-icon {
    display: none;
  }
  .stat-foot {
    font-size: 10px;
  }
  .pagination {
    padding: 15px 12px;
    gap: 10px;
  }
  .chart-legend {
    gap: 8px;
  }
}
.content-bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-top: 1px solid #edf0f7;
}
.content-bulk-toolbar small {
  color: #8592a9;
}
.content-bulk-delete {
  color: #cc4054;
  border-color: #f0ccd3;
}
.content-select-cell {
  width: 44px;
  text-align: center;
}
.content-select-cell input {
  accent-color: #365cf4;
  cursor: pointer;
  width: 16px;
  height: 16px;
}
.content-selected td {
  background: #f0f4ff;
}
.content-delete-list {
  max-height: 200px;
  overflow: auto;
  overflow-wrap: anywhere;
  line-height: 1.9;
  padding-left: 22px;
}
