@font-face {
  font-family: IranSans;
  src: url("/assets/IRANSans.woff") format("woff");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f7fa;
  color: #142b40;
  font-family: IranSans, Tahoma, sans-serif;
  font-size: 13px;
  line-height: 1.85;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #4bcbcc;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #049b9d;
  box-shadow: 0 0 0 3px #049b9d15;
}
a {
  color: #028e93;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 16px;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: #78899b;
}
.ltr {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  font-family: inherit;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
button {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  border: 0;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.btn {
  border-radius: 9px;
  padding: 10px 17px;
  background: #00989a;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 8px #00989a18;
}
.btn:hover {
  background: #008487;
}
.btn.secondary {
  background: #fff;
  color: #344e66;
  border: 1px solid #dfe7ef;
  box-shadow: none;
}
.btn.secondary:hover {
  background: #f0f7f8;
}
.btn.danger {
  color: #c44350;
  background: #fff0f1;
  box-shadow: none;
}
.btn.small {
  padding: 6px 10px;
  font-size: 11px;
}
.btn.full {
  width: 100%;
}
.iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  color: #728599;
}
.iconbtn:hover {
  background: #edf4f7;
  color: #00999b;
}
.iconbtn.danger {
  color: #d45260;
}
.tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 7px;
  padding: 3px 9px;
  font-size: 10px;
  white-space: nowrap;
  background: #eef2f7;
  color: #708196;
}
.tag.green {
  color: #078764;
  background: #e5f8ef;
}
.tag.teal {
  color: #008c8b;
  background: #e0f7f4;
}
.tag.blue {
  color: #2876cb;
  background: #e8f2ff;
}
.tag.purple {
  color: #8353d1;
  background: #f0eaff;
}
.tag.red {
  color: #c44957;
  background: #ffedef;
}
.tag.orange {
  color: #b87916;
  background: #fff4dc;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e6f3f4;
  color: #008c8b;
  font-weight: bold;
  flex-shrink: 0;
}
.avatar.purple {
  background: #eee9fa;
  color: #8e65ce;
}
.avatar.blue {
  background: #e7f0fc;
  color: #367dc9;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person small {
  display: block;
  font-size: 10px;
  direction: ltr;
  text-align: right;
}
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 225px;
  height: 100dvh;
  background: #102334;
  color: #b7c7d6;
  display: flex;
  flex-direction: column;
  padding: 25px 17px;
  z-index: 20;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: bold;
  color: #fff;
  direction: ltr;
}
.brandmark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #3a6979;
  border-radius: 11px;
  background: #173b4a;
  color: #5ddbd4;
}
.brandmark .icon {
  width: 25px;
  height: 25px;
}
.sidecaption {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: #5b778b;
  margin: 34px 16px 9px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: #b7c7d6;
  border-radius: 9px;
  font-size: 12px;
}
.nav a:hover {
  background: #193247;
}
.nav a.active {
  color: #80e6de;
  background: #0b444f;
  border: 1px solid #14606a;
  padding: 11px 14px;
}
.nav a.active .icon {
  color: #5dded7;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #253b4b;
  padding: 20px 10px 0;
  color: #8ba2b4;
  font-size: 10px;
}
.sidebar-bottom .person {
  margin-bottom: 14px;
}
.sidebar-bottom .avatar {
  background: #274454;
  color: #b5dcdf;
}
.sideversion {
  display: flex;
  justify-content: space-between;
  color: #587386;
}
.main {
  margin-right: 225px;
  min-height: 100dvh;
}
.topbar {
  height: 79px;
  background: #fff;
  border-bottom: 1px solid #e9eef4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  gap: 20px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8797a7;
  font-size: 11px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-left .person {
  padding-right: 17px;
  border-right: 1px solid #e9eef4;
}
.topbar-left .person strong {
  font-size: 11px;
}
.topbar-left .person small {
  font-size: 9px;
}
.content {
  padding: 29px 35px 45px;
  max-width: 1650px;
  margin: auto;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.pagehead p {
  font-size: 11px;
  color: #7d8fa3;
  margin-top: 4px;
}
.eyebrow {
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 1.8px;
  color: #95a7b7;
  margin-bottom: 7px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 23px;
}
.stat {
  background: #fff;
  border: 1px solid #e3eaf1;
  border-radius: 13px;
  padding: 21px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e2f8f4;
  color: #069e96;
}
.stat-icon.blue {
  background: #e8f1fe;
  color: #3189ee;
}
.stat-icon.purple {
  background: #f0eaff;
  color: #8d58dc;
}
.stat-icon.orange {
  background: #fff4de;
  color: #d59c2c;
}
.stat-icon .icon {
  width: 25px;
  height: 25px;
}
.stat-value {
  font-size: 25px;
  font-weight: bold;
  line-height: 1.3;
}
.stat-label {
  font-size: 10px;
  color: #8091a2;
  margin-top: 3px;
}
.card {
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 13px;
  overflow: hidden;
}
.card-header {
  padding: 19px 22px;
  border-bottom: 1px solid #edf1f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.card-body {
  padding: 22px;
}
.toolbar {
  display: flex;
  gap: 12px;
  padding: 17px 20px;
  align-items: center;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f8fafc;
  border: 1px solid #e2e9f0;
  border-radius: 9px;
  padding: 0 12px;
  width: 330px;
  color: #8b9bac;
}
.search input {
  border: none;
  box-shadow: none;
  background: none;
  min-width: 0;
  width: 100%;
  padding: 10px 0;
  font-size: 11px;
}
.search:focus-within {
  border-color: #059c9c;
}
.toolbar select {
  max-width: 190px;
}
.toolbar .end {
  margin-right: auto;
}
.table-wrap {
  overflow: auto;
  padding: 0 16px 15px;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  white-space: nowrap;
  text-align: right;
}
th {
  background: #f7f9fc;
  color: #8291a2;
  font-size: 10px;
  font-weight: normal;
  padding: 13px 14px;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}
th:first-child {
  border-radius: 8px 0 0 8px;
}
td {
  padding: 16px 14px;
  border-bottom: 1px solid #edf1f5;
  font-size: 11px;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f9fcfd;
}
td .iconbtn {
  width: 30px;
  height: 30px;
}
td .iconbtn .icon {
  width: 17px;
  height: 17px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 3px;
}
.cell-title {
  font-weight: 600;
  font-size: 12px;
}
.subtext {
  display: block;
  font-size: 9px;
  color: #95a3b1;
  margin-top: 3px;
}
.folder-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.folder-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f3ff;
  display: grid;
  place-items: center;
  color: #378bf5;
}
.folder-icon .icon {
  width: 24px;
  height: 24px;
}
.folder-icon.purple {
  color: #9870de;
  background: #f2edfc;
}
.folder-icon.teal {
  color: #2eb6a4;
  background: #e5f8f1;
}
.folder-icon.gold {
  color: #e2ad2c;
  background: #fff7dd;
}
.inline-users {
  display: flex;
  align-items: center;
  padding-right: 6px;
}
.inline-users .avatar {
  width: 27px;
  height: 27px;
  border: 2px solid white;
  font-size: 9px;
  margin-right: -5px;
}
.inline-users small {
  margin-right: 7px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 21px;
}
.equal {
  grid-template-columns: 1fr 1fr;
}
.stack {
  display: grid;
  gap: 20px;
}
.health {
  padding: 18px;
  border: 1px solid #e7edf3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.health-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.health-brand .stat-icon {
  width: 40px;
  height: 40px;
}
.health strong {
  font-size: 12px;
  display: block;
}
.health small {
  font-size: 9px;
  display: block;
  margin-top: 3px;
}
.notice {
  background: #edf8f8;
  border: 1px solid #d5efed;
  border-radius: 9px;
  padding: 12px 16px;
  color: #287677;
  font-size: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.notice.orange {
  background: #fff9ec;
  border-color: #f5e7c8;
  color: #997429;
}
.notice.red {
  background: #fff1f2;
  border-color: #f5d9de;
  color: #b84655;
}
.notice .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.notice a {
  font-weight: bold;
}
.demo-banner {
  background: #fff6df;
  color: #9a7117;
  font-size: 10px;
  padding: 7px 24px;
  text-align: center;
  border-bottom: 1px solid #f2e2b8;
}
.empty {
  text-align: center;
  padding: 55px 20px;
  color: #8194a5;
}
.empty .empty-icon {
  width: 64px;
  height: 64px;
  background: #f1f6fa;
  color: #87a4b8;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin: 0 auto 16px;
}
.empty .icon {
  width: 30px;
  height: 30px;
}
.empty h3 {
  color: #345268;
  margin-bottom: 7px;
}
.empty p {
  font-size: 11px;
  max-width: 400px;
  margin: 0 auto 18px;
}
.card-footer {
  padding: 13px 23px;
  background: #fcfdfe;
  border-top: 1px solid #edf2f6;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #90a0af;
}
.linkbtn {
  background: none;
  padding: 0;
  color: #00969a;
  font-size: 11px;
}
.quick-actions {
  display: grid;
  gap: 10px;
}
.quick-action {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e5edf3;
  border-radius: 9px;
  padding: 13px;
  background: white;
  text-align: right;
  color: #335168;
}
.quick-action:hover {
  border-color: #80cac9;
  background: #f6fbfb;
}
.quick-action .icon {
  color: #00a09c;
}
.quick-action small {
  display: block;
  font-size: 9px;
}
.quick-action .chevron {
  margin-right: auto;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #e0e8ef;
  margin-bottom: 24px;
}
.tab {
  background: none;
  color: #8c9baa;
  padding: 12px 3px;
  border-bottom: 2px solid transparent;
  font-size: 12px;
}
.tab.active {
  color: #009899;
  border-color: #009899;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 17px;
}
.field label {
  font-size: 11px;
  color: #4d6278;
}
.field input,
.field select,
.field textarea,
select.control {
  width: 100%;
  border: 1px solid #dce5ee;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  color: #233f57;
  font-size: 12px;
  min-width: 0;
}
.field input[dir="ltr"] {
  text-align: left;
}
.field small {
  font-size: 9px;
  line-height: 1.8;
}
.form-grid .field {
  margin: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf1f5;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  color: #526a80;
  cursor: pointer;
}
.check input {
  accent-color: #009c9b;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  gap: 20px;
}
.helpbox {
  padding: 15px;
  border-radius: 9px;
  background: #f7fafc;
  font-size: 10px;
  color: #7a8fa2;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #0c233b60;
  backdrop-filter: blur(3px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: #fff;
  border-radius: 15px;
  width: 490px;
  max-height: 92dvh;
  overflow: auto;
  box-shadow: 0 20px 80px #0d253c40;
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e8eef5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.modal-header h2 {
  font-size: 16px;
}
.modal-body {
  padding: 24px;
}
.modal-subtitle {
  font-size: 11px;
  color: #8698a9;
  margin-bottom: 22px;
}
.modal .form-actions {
  margin-bottom: 0;
}
.drawer.modal-backdrop {
  padding: 0;
  justify-content: flex-end;
  backdrop-filter: none;
}
.drawer .modal {
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  width: 440px;
  display: flex;
  flex-direction: column;
}
.drawer .modal-body {
  flex: 1;
  overflow: auto;
}
.drawer .modal-header {
  padding: 23px;
}
.drawer .folder-name {
  margin-bottom: 22px;
}
.grant-row {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #eef2f6;
}
.grant-row .person {
  flex: 1;
  min-width: 0;
}
.grant-row select {
  width: 112px;
  font-size: 10px;
  padding: 7px;
  border: 1px solid #dee7ee;
  border-radius: 7px;
  color: #4b6076;
  background: white;
}
.grant-row .person strong {
  font-size: 11px;
}
.grant-row .person small {
  font-size: 9px;
}
.grant-add {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.grant-add select {
  flex: 1;
  min-width: 0;
}
.permission-help {
  padding: 13px 15px;
  background: #f6f9fc;
  border-radius: 9px;
  color: #7b8fa3;
  font-size: 10px;
  margin: 20px 0;
}
.codebox {
  font-family: monospace;
  font-size: 24px;
  letter-spacing: 2px;
  background: #f0f9f8;
  border: 1px dashed #7acbc5;
  color: #007e80;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  margin: 16px 0;
  direction: ltr;
  user-select: all;
}
.toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #c9e7dd;
  border-right: 4px solid #04a485;
  box-shadow: 0 8px 30px #1d3b5020;
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 11px;
  max-width: 430px;
  color: #3c5f65;
  margin-top: 10px;
}
.toast.error {
  border-color: #f2cdd3;
  border-right-color: #d34f63;
  color: #a33c4c;
}
#toast-root {
  position: fixed;
  bottom: 22px;
  left: 24px;
  z-index: 100;
}
.busy {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px;
  text-align: center;
  background: #00999b;
  color: white;
  font-size: 11px;
  z-index: 110;
  box-shadow: 0 3px 10px #143e4520;
}
.busy[hidden] {
  display: none;
}
.busy:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff55;
  border-top-color: white;
  border-radius: 50%;
  margin-left: 9px;
  vertical-align: middle;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.initial {
  height: 100dvh;
  display: grid;
  place-items: center;
  color: #00999b;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #fff;
}
.login-visual {
  background: #102b3d;
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #afc8d6;
  position: relative;
  overflow: hidden;
}
.login-visual .logo {
  justify-content: flex-start;
}
.login-art {
  max-width: 430px;
  align-self: center;
  margin: 50px auto;
}
.login-art .icon {
  width: 130px;
  height: 130px;
  stroke-width: 0.8;
  color: #65d6cf;
}
.login-art h1 {
  font-size: 30px;
  line-height: 1.8;
  color: #e7f8f7;
  margin-top: 25px;
}
.login-art p {
  margin-top: 15px;
  font-size: 12px;
  line-height: 2.3;
  color: #8cabbc;
}
.login-features {
  display: flex;
  gap: 25px;
  font-size: 10px;
  color: #83b6c3;
  flex-wrap: wrap;
}
.login-features span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}
.login-form {
  max-width: 350px;
  width: 100%;
}
.login-form h1 {
  font-size: 25px;
  margin-bottom: 8px;
}
.login-form > p {
  font-size: 12px;
  color: #92a0af;
  margin-bottom: 34px;
}
.login-form .btn {
  padding: 12px;
}
.login-footer {
  font-size: 9px;
  color: #a2afbb;
  text-align: center;
  margin-top: 28px;
}
.login-form .tag {
  margin-bottom: 17px;
}
.menu-toggle {
  display: none;
}
.mobile-shade {
  display: none;
}
.stat-foot {
  font-size: 9px;
  color: #8fa3b3;
}
.section-title {
  margin-bottom: 18px;
}
.section-title small {
  display: block;
  margin-top: 5px;
}
.timeline {
  display: grid;
  gap: 16px;
}
.timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.timeline-item .stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.timeline-item .stat-icon .icon {
  width: 16px;
  height: 16px;
}
.timeline-item strong {
  font-size: 11px;
}
.timeline-item small {
  display: block;
  font-size: 9px;
}
.timeline-item time {
  margin-right: auto;
  font-size: 9px;
  color: #9babb9;
}
.form-error {
  background: #fff0f2;
  color: #b93f53;
  border: 1px solid #f4d3da;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  margin-bottom: 15px;
}
.form-error:empty {
  display: none;
}
.settings-grid .card-body {
  padding: 25px;
}
.settings-grid .card-header {
  background: #fcfdfe;
}
.mono {
  font-family: monospace;
}
.error-detail {
  max-width: 250px;
  white-space: normal;
  font-size: 9px;
  color: #b55160;
}
.demo-pill {
  background: #fff4d8;
  color: #a7780e;
}
.search-count {
  margin-right: auto;
  font-size: 10px;
  color: #90a1b0;
}
.footnote {
  color: #92a2b0;
  font-size: 9px;
  margin-top: 15px;
}
.network-label {
  font:
    11px Arial,
    sans-serif;
  color: #8ca0b2;
  letter-spacing: 1px;
}
.required {
  color: #d36e7b;
}
.lock-note {
  font-size: 10px;
  color: #938055;
  margin-top: 10px;
}
.card-grid {
  display: grid;
  gap: 20px;
}
.skeleton {
  height: 220px;
  background: #eef4f8;
  border-radius: 13px;
}
.health-result {
  font-size: 10px;
  color: #8a9bac;
}
.block {
  display: block;
}
@media (min-width: 1700px) {
  .content {
    padding-top: 36px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 195px;
  }
  .main {
    margin-right: 195px;
  }
  .content {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
    gap: 10px;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .grid2.equal,
  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }
  .login-visual {
    padding: 35px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    transform: translateX(100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    margin-right: 0;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .topbar {
    height: 67px;
    padding: 0 18px;
  }
  .content {
    padding: 22px 17px;
  }
  .topbar-left .person small,
  .topbar-right > span {
    display: none;
  }
  .topbar-left .person {
    padding: 0;
    border: 0;
  }
  .topbar-left .person strong {
    font-size: 10px;
  }
  .topbar-left {
    gap: 8px;
  }
  .topbar-right {
    gap: 5px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .grid2.equal,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .pagehead h1 {
    font-size: 21px;
  }
  .search {
    width: 100%;
    flex: 1;
    min-width: 160px;
  }
  .toolbar {
    padding: 14px;
    gap: 8px;
  }
  .card-header,
  .card-body {
    padding: 17px;
  }
  .mobile-shade.show {
    display: block;
    position: fixed;
    inset: 0;
    background: #10233466;
    z-index: 19;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-visual {
    display: none;
  }
  .login-form-wrap {
    min-height: 100dvh;
    padding: 30px;
  }
  .drawer .modal {
    width: min(440px, 100vw);
  }
  .tabs {
    gap: 16px;
  }
  .settings-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .pagehead .btn {
    padding: 9px 12px;
    font-size: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
  .modal-backdrop {
    padding: 15px;
  }
  .modal {
    max-height: 94dvh;
  }
  #toast-root {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  .toast {
    max-width: 100%;
  }
  .topbar-right .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
