:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202333;
  background: #f6f7f9;
  font-synthesis: none;
  --ink: #202333;
  --muted: #7b8091;
  --line: #e8eaf0;
  --accent: #635bce;
  --soft: #eeecfc;
  --green: #268467;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button svg,
a svg {
  flex-shrink: 0;
}
svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.initial-loading {
  padding: 20vh 10vw;
  color: var(--muted);
}
.login-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}
.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.language-picker span {
  white-space: nowrap;
}
.language-picker select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}
.environment .language-picker {
  margin-left: 12px;
}
.organization-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-left: 12px;
}
.organization-picker select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  max-width: 180px;
}
[dir="rtl"] .sidebar {
  inset: 0 0 0 auto;
}
[dir="rtl"] .main {
  margin-left: 0;
  margin-right: 238px;
}
[dir="rtl"] .nav-item,
[dir="rtl"] .breadcrumb {
  text-align: right;
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #171b2b;
  color: #a4aabb;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
  width: 238px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -1.5px;
  color: white;
}
.brand-mark {
  width: 31px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #a39af4;
  color: #171b2b;
  font-size: 27px;
  border-radius: 8px;
  letter-spacing: -2px;
  padding-right: 2px;
}
.brand-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #848b9e;
  margin: 9px 0 44px 41px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6f778d;
  margin: 22px 12px 12px;
}
nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
}
.nav-item:hover {
  background: #24293c;
  color: #fff;
}
.nav-item.active {
  background: #2d2c47;
  color: #d8d1ff;
}
.nav-item .count {
  margin-left: auto;
  background: #3c3859;
  color: #c6bfeb;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.offline-note {
  border: 1px solid #303648;
  border-radius: 9px;
  padding: 15px;
  font-size: 11px;
  line-height: 1.6;
  color: #9099ad;
}
.offline-note strong {
  display: block;
  color: #c7cede;
  font-size: 12px;
  margin-bottom: 5px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  min-width: 0;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #34314c;
  color: #d4caff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
  flex-shrink: 0;
}
.profile-info {
  min-width: 0;
  flex: 1;
}
.profile-info strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #dfe2ed;
}
.profile-info small {
  font-size: 10px;
  color: #7c869b;
}
.icon-button {
  background: transparent;
  color: inherit;
  border-radius: 6px;
  padding: 7px;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: #ffffff12;
}
.main {
  grid-column: 2;
}
.topbar {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9b9eaa;
}
.breadcrumb strong {
  font-weight: 500;
  color: #4b5062;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #7c8290;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #53a58b;
}
.content {
  padding: 36px 42px 50px;
  max-width: 1500px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #969aae;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 630;
  line-height: 1.2;
}
.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 570;
  background: var(--accent);
  color: white;
  white-space: nowrap;
  line-height: 1.4;
}
.button:hover {
  background: #554cbd;
  text-decoration: none;
}
.button.secondary {
  background: white;
  border: 1px solid #dfe2ea;
  color: #565b6d;
}
.button.secondary:hover {
  background: #f7f7fb;
}
.button.small {
  padding: 8px 11px;
  font-size: 11px;
}
.button.danger {
  background: #fff0f0;
  color: #aa4848;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 21px;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #838898;
  font-size: 11px;
}
.stat-label svg {
  color: #aaadbb;
  width: 17px;
}
.stat-value {
  font-size: 29px;
  letter-spacing: -0.7px;
  margin: 13px 0 6px;
  font-weight: 620;
}
.stat-caption {
  font-size: 10px;
  color: #a0a5b3;
}
.stat-caption.positive {
  color: var(--green);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 23px;
  border-bottom: 1px solid #eef0f4;
  gap: 10px;
}
.panel-head h2 {
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -0.1px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.panel-head a,
.text-button {
  font-size: 11px;
  color: var(--accent);
  background: transparent;
  padding: 4px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: #9b9fab;
  font-size: 10px;
  padding: 13px 22px;
  background: #fdfdfe;
  white-space: nowrap;
}
td {
  padding: 19px 22px;
  border-top: 1px solid #eff0f4;
  vertical-align: middle;
}
td strong {
  font-size: 12px;
  font-weight: 570;
}
td small {
  display: block;
  color: #8e94a4;
  font-size: 10px;
  margin-top: 5px;
}
td.actions {
  text-align: right;
}
.product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-icon {
  width: 35px;
  height: 35px;
  background: var(--soft);
  color: #8276cb;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  color: #288064;
  background: #edf8f2;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.muted {
  color: #80869b;
  background: #f0f1f5;
}
.badge.warning {
  color: #aa7a27;
  background: #fff6e5;
}
.badge.expired {
  color: #b35555;
  background: #fff0f0;
}
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 23px;
}
.guide {
  padding: 23px;
}
.guide-step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 21px;
}
.guide-step:last-child {
  margin: 0;
}
.step-number {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #f1effa;
  color: #8275bf;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.guide-step h3 {
  font-size: 12px;
  font-weight: 550;
  margin: 3px 0 5px;
}
.guide-step p {
  font-size: 11px;
  line-height: 1.6;
  color: #8a90a0;
}
.activity {
  padding: 3px 23px 14px;
}
.event {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #f0f1f5;
}
.event:last-child {
  border: 0;
}
.event-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: #f4f4f9;
  color: #949ab0;
  border-radius: 50%;
  flex-shrink: 0;
}
.event-mark svg {
  width: 13px;
}
.event strong {
  display: block;
  font-size: 11px;
  font-weight: 520;
}
.event small {
  font-size: 10px;
  color: #9da2b0;
  display: block;
  margin-top: 6px;
}
.empty {
  padding: 46px 24px;
  text-align: center;
}
.empty .empty-icon {
  color: #a19abf;
  background: #f5f3fb;
  padding: 12px;
  border-radius: 12px;
  display: inline-flex;
  margin-bottom: 14px;
}
.empty h3 {
  font-size: 14px;
  font-weight: 570;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 370px;
  margin: 9px auto 19px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: #a0a5b3;
  margin-top: 24px;
}
.notice {
  font-size: 12px;
  color: #85794f;
  background: #fcf8ed;
  border: 1px solid #f1e9d2;
  border-radius: 8px;
  padding: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mobile-menu {
  display: none;
}
.mono {
  font:
    11px ui-monospace,
    SFMono-Regular,
    monospace;
  overflow-wrap: anywhere;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #171b2b;
  padding: 55px clamp(30px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  color: #fff;
}
.login-story .brand {
  font-size: 31px;
}
.login-story-main {
  margin: auto 0;
  max-width: 410px;
  padding: 60px 0;
}
.login-story .eyebrow {
  color: #aea4e3;
}
.login-story h1 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -1.5px;
  line-height: 1.15;
  font-weight: 540;
  margin: 22px 0;
}
.login-story p {
  font-size: 14px;
  color: #9ca4b9;
  line-height: 1.9;
  max-width: 350px;
}
.login-seal {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b1a8df;
  font-size: 12px;
}
.login-story footer {
  color: #67718b;
  font-size: 11px;
}
.login-form-area {
  display: grid;
  place-items: center;
  padding: 45px 28px;
  background: #fafafb;
}
.login-form {
  width: 100%;
  max-width: 350px;
}
.login-form h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}
.login-form .subtitle {
  margin-bottom: 30px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.field label {
  font-size: 12px;
  font-weight: 530;
  color: #565d70;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #dfe2eb;
  border-radius: 7px;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 13px;
  width: 100%;
  min-width: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9286d4;
  outline: 2px solid #eeeafa;
}
.field textarea {
  resize: vertical;
  min-height: 95px;
}
.field small {
  font-size: 10px;
  color: #9298aa;
  line-height: 1.6;
}
.login-form .button {
  width: 100%;
  margin-top: 7px;
  padding: 13px;
}
.login-help {
  font-size: 11px;
  color: #9b9fad;
  line-height: 1.8;
  margin-top: 24px;
  text-align: center;
}
.form-error {
  padding: 12px;
  background: #fff0f0;
  color: #a34242;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 17px;
}
.form-error:empty {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  width: min(560px, calc(100% - 28px));
  padding: 0;
  box-shadow: 0 25px 100px #0e12302a;
  color: var(--ink);
  max-height: 90vh;
}
dialog::backdrop {
  background: #10142680;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 23px 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.dialog-body {
  padding: 24px 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.dialog-note {
  font-size: 11px;
  line-height: 1.7;
  color: #8c91a1;
  margin-bottom: 20px;
}
.file-zone {
  padding: 17px;
  border: 1px dashed #c7bfdc;
  border-radius: 8px;
  background: #faf9fe;
  margin-bottom: 18px;
}
.file-zone label {
  font-size: 12px;
  display: block;
  color: #756b9a;
  margin-bottom: 10px;
}
.file-zone input {
  font-size: 11px;
  max-width: 100%;
}
#toast {
  position: fixed;
  right: 26px;
  bottom: 25px;
  padding: 14px 20px;
  background: #252d43;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 30px #20233525;
  font-size: 12px;
  z-index: 100;
}
.inline-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}
.truncate {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.light {
  color: #959bac;
}
.table-note {
  padding: 12px 22px;
  background: #fcfcfe;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #939aaa;
}
.release-version {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.reload-error {
  padding: 15px;
  color: #ab5151;
  background: #fff1f0;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 12px;
}
@media (min-width: 1550px) {
  .content {
    padding-top: 48px;
  }
  .stat {
    padding: 25px;
  }
  .topbar {
    padding: 0 56px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding: 25px 14px;
  }
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  td,
  th {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .button {
    padding: 10px 12px;
  }
  .environment span:last-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    z-index: 20;
    width: 238px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #13172e60;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
  }
  .mobile-menu {
    display: block;
    background: transparent;
    color: #697087;
    padding: 5px;
    margin-right: 8px;
  }
  .breadcrumb {
    gap: 6px;
  }
  .content {
    padding: 25px 17px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat-value {
    font-size: 25px;
  }
  .page-heading {
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 21px;
  }
  h1 {
    font-size: 25px;
  }
  .subtitle {
    font-size: 12px;
  }
  .panel-head {
    padding: 18px;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 28px;
    min-height: auto;
  }
  .login-story-main {
    padding: 32px 0 10px;
    max-width: none;
  }
  .login-story h1 {
    font-size: 30px;
    margin: 10px 0 0;
  }
  .login-story p,
  .login-story footer,
  .login-seal,
  .login-story .eyebrow {
    display: none;
  }
  .login-form-area {
    padding: 36px 25px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  dialog {
    max-height: 92vh;
  }
  .dialog-body {
    padding: 22px;
  }
  .panel {
    margin-bottom: 18px;
  }
  .toolbar {
    width: 100%;
  }
  .environment {
    display: none;
  }
}
