.workspace {
  min-height: 100vh;
  background: var(--paper);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  display: flex;
  flex-direction: column;
  background: #0c110e;
  color: #d3ddc8;
  z-index: 45;
  padding: 28px 18px 20px;
  border-right: 1px solid var(--line);
}

.sidebar .brand {
  color: #fff;
  padding: 0 7px;
  font-size: 16px;
}

.sidebar .brand small {
  color: #bec8b4;
  font-size: 7px;
}

.sidebar .brand-mark {
  background: var(--lime);
  color: var(--on-accent);
}

.sidebar-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--muted);
  margin: 41px 15px 15px;
}

.sidebar-nav {
  display: grid;
  gap: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  font-size: 12px;
  color: #bec8b4;
  border-radius: 5px;
  transition: background .2s,color .2s;
}

.sidebar-link:hover {
  background: #1b241a;
  color: var(--ink);
}

.sidebar-link.active {
  background: #2b391c;
  color: #d3ddc8;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #46573a3d;
}

.sidebar-link .ui-icon {
  width: 18px;
  height: 18px;
}

.sidebar-spacer {
  flex: 1;
  min-height: 35px;
}

.sidebar-quota {
  margin: 15px 4px 22px;
  padding: 17px 14px;
  background: #111812;
  border: 1px solid #303b2c;
  border-radius: 5px;
}

.sidebar-quota>div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #bec8b4;
  margin-bottom: 12px;
}

.sidebar-quota strong {
  font-size: 12px;
  color: #eef1ec;
}

.sidebar-quota .quota-track {
  height: 4px;
  background: #303b2c;
}

.sidebar-quota .quota-fill {
  background: var(--lime);
}

.sidebar-quota a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #eef1ec;
  font-size: 10px;
  margin-top: 14px;
}

.sidebar-help {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bec8b4;
  font-size: 11px;
  padding: 12px 15px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 19px 6px 0;
  border-top: 1px solid #303b2c;
  margin-top: 12px;
}

.user-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #303b2c;
  color: #d3ddc8;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}

.sidebar-user>div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.sidebar-user strong {
  font-size: 11px;
  font-weight: 500;
  color: #eef1ec;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user small {
  font-size: 9px;
  color: #bec8b4;
  display: block;
  margin-top: 4px;
}

.sidebar-user button {
  color: #bec8b4;
  padding: 8px;
  border-radius: 6px;
}

.sidebar-user button:hover {
  background: #303b2c;
}

.workspace-body {
  margin-left: 236px;
  min-width: 0;
}

.workspace-topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: #0e130f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.workspace-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  min-width: 0;
}

.workspace-breadcrumb>span:first-child {
  color: var(--muted);
}

.workspace-breadcrumb>strong {
  font-weight: 500;
  white-space: nowrap;
}

.workspace-topbar-actions {
  display: flex;
  gap: 17px;
  align-items: center;
}

.workspace-topbar-actions>a {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}

.role-label {
  font-size: 9px;
  font-weight: 600;
  background: #1b241a;
  border: 1px solid var(--line);
  color: #bec8b4;
  border-radius: 20px;
  padding: 5px 10px;
}

.workspace-menu {
  display: none;
}

.workspace-main {
  max-width: 1510px;
  padding: 31px 34px 40px;
  margin: auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.page-heading h1 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.3;
  color: var(--ink);
}

.page-heading p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 6px;
}

.page-heading-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}

.page-heading .eyebrow {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 7px;
}

.workspace-main>h1 {
  font-size: 26px;
  font-weight: 650;
  margin-bottom: 24px;
}

.workspace-main h2 {
  letter-spacing: -.025em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stats-grid.three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 21px 22px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.metric-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #1b241a;
  border-radius: 7px;
  width: 29px;
  height: 29px;
  color: #bec8b4;
}

.metric-value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.2;
  margin-top: 15px;
}

.metric-sub {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 9px;
}

.metric-featured {
  background: #202d15;
  border-color: #43552a;
  color: #eef1ec;
}

.metric-featured .metric-topline,.metric-featured .metric-sub {
  color: #bec8b4;
}

.metric-featured .metric-value {
  color: #d3ddc8!important;
}

.metric-featured .metric-icon {
  background: #303b2c;
  border-color: #46573a;
  color: #eef1ec;
}

.metric-featured:after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.quota-track {
  height: 7px;
  background: #1b241a;
  border-radius: 20px;
  overflow: hidden;
}

.quota-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 20px;
  transition: width .4s;
}

.quota-fill.warning {
  background: #b98939;
}

.quota-fill.danger {
  background: #bc5860;
}

.quota-summary {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 21px 24px;
  margin-bottom: 24px;
}

.quota-summary-title {
  min-width: 140px;
}

.quota-summary h2 {
  font-size: 12px;
  font-weight: 600;
}

.quota-summary p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}

.quota-summary-progress {
  flex: 1;
  min-width: 0;
}

.quota-summary-progress>div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
}

.quota-summary .ui-button {
  font-size: 10px;
  padding: 9px 13px;
}

.dashboard-split {
  display: grid;
  grid-template-columns: minmax(0,1.9fr) minmax(255px,1fr);
  gap: 23px;
  margin-bottom: 24px;
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 23px;
}

.panel {
  padding: 24px;
  min-width: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.panel-header h2 {
  font-size: 13px;
  font-weight: 650;
}

.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}

.panel-header>a {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
  white-space: nowrap;
}

.period-label {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 9px;
  color: var(--muted);
}

.chart-wrap {
  height: 230px;
  position: relative;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 18px;
}

.chart-legend:before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
}

.start-panel {
  background: #172011;
  border: 1px solid #303b2c;
  border-radius: 5px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.start-panel>.feature-icon {
  background: #303b2c;
  border: 1px solid #46573a;
  margin-bottom: 24px;
  color: #d3ddc8;
}

.start-panel h2 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.4;
  max-width: 240px;
}

.start-panel p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 12px;
  max-width: 250px;
}

.start-panel .ui-button {
  margin-top: auto;
  padding: 10px 14px;
  font-size: 11px;
}

.start-panel .protocol-pills {
  display: flex;
  gap: 7px;
  margin: 20px 0 25px;
}

.protocol-pills span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  color: var(--muted);
}

.table-card {
  padding: 24px;
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}

.data-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .05em;
  padding: 0 14px 13px 0;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.data-table td:last-child,.data-table th:last-child {
  padding-right: 0;
  text-align: right;
}

.data-table tr:last-child td {
  border: 0;
}

.data-table td:first-child {
  color: #d3ddc8;
}

.data-table code {
  font-size: 11px;
  color: #d3ddc8;
}

.country-tag {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.country-tag:before {
  content: '';
  width: 5px;
  height: 5px;
  background: #bec8b4;
  border-radius: 50%;
}

.ui-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 35px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.ui-empty svg {
  color: var(--muted);
  margin-bottom: 5px;
}

.stock-card {
  padding: 26px;
  background: #202d15;
  border-radius: 5px;
  color: #eef1ec;
  border: 1px solid #43552a;
  display: flex;
  flex-direction: column;
}

.stock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.stock-card-head h2 {
  font-size: 12px;
  font-weight: 500;
  color: #bec8b4;
}

.stock-provider {
  border: 1px solid #46573a;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: .09em;
  padding: 4px 7px;
  color: #d3ddc8;
}

.stock-amount {
  font-family: var(--display);
  font-size: 39px;
  letter-spacing: -.05em;
  font-weight: 650;
  line-height: 1.3;
  margin: 20px 0 4px;
  color: #d3ddc8;
}

.stock-caption {
  font-size: 10px;
  color: #bec8b4;
  line-height: 1.7;
}

.stock-rows {
  border-top: 1px solid #46573a;
  padding-top: 18px;
  margin-top: 23px;
  display: grid;
  gap: 13px;
}

.stock-rows>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  gap: 12px;
  color: #bec8b4;
}

.stock-rows strong {
  font-weight: 500;
  color: #eef1ec;
}

.stock-note {
  font-size: 9px;
  line-height: 1.8;
  color: #bec8b4;
  margin-top: auto;
  padding-top: 21px;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.ranking-row:last-child {
  border: 0;
}

.rank-number {
  font-size: 10px;
  color: var(--muted);
  width: 15px;
}

.ranking-row .user-avatar {
  width: 30px;
  height: 30px;
  font-size: 9px;
}

.rank-name {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #d3ddc8;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-row>strong {
  font-size: 11px;
  font-weight: 600;
  color: #d3ddc8;
  white-space: nowrap;
}

.activity-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.activity-row:last-child {
  border: 0;
}

.activity-row .activity-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #1b241a;
  color: #bec8b4;
  flex-shrink: 0;
}

.activity-row>div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.activity-row strong {
  font-size: 10px;
  font-weight: 500;
  color: #d3ddc8;
  display: block;
  overflow-wrap: anywhere;
}

.activity-row small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

.activity-row>time {
  font-size: 9px;
  color: var(--muted);
  text-align: right;
  max-width: 100px;
}

.workspace-notice {
  background: #1b241a;
  color: #d3ddc8;
  border-bottom: 1px solid #46573a;
  padding: 11px 34px;
  font-size: 12px;
  line-height: 1.7;
}

.workspace-notice.warning {
  background: #342c1e;
  color: var(--warning);
  border-color: #5b4829;
}

.workspace-notice.danger {
  background: #352129;
  color: var(--negative);
  border-color: #5a3440;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--positive);
  background: #1b241a;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.status-badge i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.status-badge.inactive {
  color: var(--negative);
  background: #352129;
}

.workspace-overlay {
  display: none;
}

.workspace-main table:not(.data-table) th {
  font-size: 10px;
  letter-spacing: .03em;
  font-weight: 500;
  color: var(--muted);
}

.workspace-main table:not(.data-table) td {
  font-size: 12px;
}

.workspace-main table:not(.data-table) tbody tr:hover {
  background: #1b241a;
}

.workspace-main .ui-card>h2 {
  font-size: 14px;
}

.workspace-main input[type=radio],.workspace-main input[type=checkbox] {
  accent-color: var(--lime);
}

.workspace-main textarea {
  line-height: 1.7;
}

#gen-result {
  background: #0b100c;
  color: #d3ddc8;
  border-color: #303b2c;
  min-height: 350px;
  padding: 20px;
  font-size: 11px;
}

#gen-result::placeholder {
  color: #bec8b4;
}

#gen-actions {
  flex-wrap: wrap;
}

.generator-intro {
  display: flex;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.generator-intro svg {
  color: var(--muted);
  margin-top: 2px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 48px!important;
}

.password-toggle {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: var(--muted);
}

.form-error {
  padding: 11px 13px;
  border: 1px solid #5a3440;
  background: #352129;
  border-radius: 7px;
  color: var(--negative);
  font-size: 12px;
  line-height: 1.7;
}

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #1b241a;
  border: 1px solid #46573a;
  color: var(--lime);
  border-radius: 5px;
  margin-bottom: 20px;
}

.token-display {
  overflow-wrap: anywhere;
  font-family: monospace;
  background: #1b241a;
  border: 1px dashed #7a8b6b;
  padding: 18px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.8;
  color: #d3ddc8;
  margin: 18px 0;
}

.ui-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  color: var(--muted);
  font-size: 12px;
}

.ui-spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #303b2c;
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.ui-toast {
  padding: 13px 17px;
  border: 1px solid #46573a;
  background: #1b241a;
  color: #d3ddc8;
  box-shadow: 0 8px 35px #00000040;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  max-width: min(380px,calc(100vw - 32px));
}

.ui-toast.err {
  background: #352129;
  border-color: #69404b;
  color: var(--negative);
}

.ui-toast.warn {
  background: #342c1e;
  border-color: #665232;
  color: var(--warning);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #030603cc;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-dialog {
  width: 100%;
  max-width: 470px;
  max-height: 90dvh;
  overflow: auto;
  background: #111812;
  border: 1px solid #46573a;
  border-radius: 5px;
  box-shadow: 0 24px 80px #00000050;
}

.modal-dialog.wide {
  max-width: 780px;
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}

.modal-heading h3 {
  font-size: 16px;
  font-weight: 650;
}

.modal-body {
  padding: 25px;
  overflow-wrap: anywhere;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
}

.quota-amount-fields {
  display: grid;
  grid-template-columns: minmax(0,1fr) 6rem;
  gap: 12px;
}

.quota-amount-fields>div {
  min-width: 0;
}

.quota-amount-fields .ui-input {
  min-width: 0;
}

.docs-layout {
  display: grid;
  grid-template-columns: 245px minmax(0,1fr);
  gap: 55px;
  padding-block: 45px 80px;
  min-height: 70vh;
}

.docs-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 25px;
}

.docs-sidebar-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 20px;
}

.docs-sidebar a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  margin-bottom: 5px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--muted);
}

.docs-sidebar a.active {
  background: #303b2c;
  color: #d3ddc8;
  font-weight: 600;
}

.docs-content {
  min-width: 0;
}

.prose-docs {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.prose-docs h1 {
  font-size: 30px;
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 22px;
  line-height: 1.3;
}

.prose-docs h2 {
  font-size: 21px;
  font-weight: 600;
  margin: 32px 0 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--ink);
}

.prose-docs h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 22px 0 9px;
}

.prose-docs p {
  margin: 12px 0;
}

.prose-docs ul,.prose-docs ol {
  margin: 12px 0 12px 23px;
  list-style: disc;
}

.prose-docs ol {
  list-style: decimal;
}

.prose-docs a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-docs code {
  font-size: .9em;
  border: 1px solid #46573a;
  border-radius: 4px;
  background: #1b241a;
  color: #d3ddc8;
  padding: 2px 5px;
}

.prose-docs pre {
  max-width: 100%;
  overflow-x: auto;
  background: #0b100c;
  border: 1px solid #303b2c;
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
}

.prose-docs pre code {
  background: none;
  border: 0;
  color: #eef1ec;
  padding: 0;
  font-size: 12px;
}

.prose-docs table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 12px;
}

.prose-docs th {
  text-align: left;
  font-size: 11px;
  background: #1b241a;
  padding: 10px 13px;
  color: #d3ddc8;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.prose-docs td {
  border-bottom: 1px solid var(--line);
  padding: 12px 13px;
}

.prose-docs strong {
  color: var(--ink);
  font-weight: 600;
}

.prose-docs blockquote {
  border-left: 3px solid #a1aaa2;
  margin: 20px 0;
  padding: 4px 20px;
  background: #1b241a;
  color: #bec8b4;
}

.prose-docs hr {
  border-color: var(--line);
  margin: 25px 0;
}

.topup-grid {
  display: grid;
  grid-template-columns: minmax(270px,1fr) minmax(0,1.9fr);
  gap: 24px;
  align-items: start;
}

.topup-purchase {
  padding: 26px;
}

.topup-purchase h2 {
  font-size: 24px;
  font-weight: 650;
}

.topup-purchase>p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0 24px;
}

.topup-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 25px;
  font-size: 11px;
  color: var(--muted);
}

.topup-price-row strong {
  font-weight: 500;
  color: var(--muted);
}

.topup-purchase .estimate-total {
  margin-top: 17px;
  padding-top: 18px;
}

.topup-purchase .estimate-total strong {
  font-size: 25px;
}

.topup-assurance {
  display: flex;
  align-items: start;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  margin-top: 15px;
}

.topup-assurance svg {
  margin-top: 1px;
}

.topup-history {
  min-height: 390px;
}

.order-status {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  display: inline-block;
}

.order-status.paid {
  color: var(--positive);
  background: #1b241a;
}

.order-status.pending {
  color: var(--warning);
  background: #342c1e;
}

.order-status.failed {
  color: var(--negative);
  background: #352129;
}

.qr-payment {
  text-align: center;
}

.qr-payment>p:first-child {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 330px;
  margin: auto;
}

.qr-payment>img {
  display: block;
  margin: 23px auto;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 12px;
}

.qr-payment-total {
  background: #1b241a;
  border: 1px solid #46573a;
  padding: 16px;
  border-radius: 5px;
}

.qr-payment-total>span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.qr-payment-total>strong {
  display: block;
  font-size: 24px;
  font-family: var(--display);
  color: #d3ddc8;
  margin-top: 6px;
}

.qr-payment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-size: 11px;
  margin-top: 17px;
}

/* Readable labels and data at desktop density. */

.metric-topline {
  font-size: 12px;
}

.metric-sub {
  font-size: 11px;
  color: var(--muted);
}

.metric-featured .metric-sub {
  color: #d3ddc8;
}

.sidebar-link {
  font-size: 13px;
}

.sidebar-label {
  font-size: 10px;
}

.sidebar-user strong {
  font-size: 12px;
}

.sidebar-user small {
  font-size: 10px;
}

.sidebar-quota>div:first-child,.sidebar-quota a {
  font-size: 11px;
}

.panel-header h2,.quota-summary h2 {
  font-size: 14px;
}

.panel-header p,.quota-summary p,.quota-summary-progress>div:first-child {
  font-size: 11px;
  color: var(--muted);
}

.panel-header>a,.period-label {
  font-size: 11px;
}

.chart-legend {
  font-size: 10px;
}

.data-table {
  font-size: 12px;
}

.data-table th {
  font-size: 10px;
  color: var(--muted);
}

.data-table code {
  font-size: 12px;
  color: #d3ddc8;
}

.rank-name,.ranking-row>strong {
  font-size: 12px;
}

.activity-row strong {
  font-size: 12px;
  color: #d3ddc8;
}

.activity-row small,.activity-row>time {
  font-size: 10px;
  color: var(--muted);
}

.stock-card-head h2 {
  font-size: 13px;
}

.stock-caption,.stock-rows>div {
  font-size: 11px;
}

.stock-note {
  font-size: 10px;
}

.start-panel p {
  font-size: 12px;
  color: var(--muted);
}

.workspace-main .topup-purchase>h2 {
  font-size: 24px;
}

.topup-price-row {
  font-size: 12px;
}

.order-status {
  font-size: 10px;
}
