:root {
  color-scheme: light;
  --canvas: #f6f7f6;
  --surface: #fff;
  --surface-hover: #f5f6f5;
  --ink: #252826;
  --muted: #6b716d;
  --line: #e6e9e6;
  --accent: #f4775a;
  --accent-ink: #9f3822;
  --accent-soft: #fff0eb;
  --green: #32754b;
  --green-soft: #edf6ee;
  --red: #b74747;
  --shadow: 0 8px 40px #242b2410;
  --radius: 14px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #202321;
  --surface: #292d2a;
  --surface-hover: #323733;
  --ink: #f1f4f0;
  --muted: #b1b9b2;
  --line: #424942;
  --accent: #f89379;
  --accent-ink: #ffc7b8;
  --accent-soft: #48352f;
  --green: #8bd1a1;
  --green-soft: #293e2d;
  --red: #f5a0a0;
  --shadow: 0 8px 40px #0002;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
input,
select,
textarea {
  color: inherit;
}
button {
  background: none;
}
svg {
  display: block;
}
button svg,
a svg {
  flex-shrink: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
  color: var(--muted);
}
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.06em;
}
.brand-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 10px;
  color: #38241d;
}
.brand-mark .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 20px;
}
.section-gap {
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 520;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover {
  background: var(--surface-hover);
}
.btn-primary {
  background: #272d28;
  border-color: #272d28;
  color: #fff;
}
.btn-primary:hover {
  background: #444b45;
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #34231d;
}
.btn-accent:hover {
  filter: brightness(0.96);
  background: var(--accent);
}
.btn-quiet {
  border-color: transparent;
  background: transparent;
}
.btn-danger {
  color: var(--red);
}
.btn-small {
  min-height: 31px;
  padding: 5px 10px;
  font-size: 12px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
}
.icon-btn:hover {
  background: var(--surface-hover);
  border-color: var(--line);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-hover);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.badge.green {
  color: var(--green);
  background: var(--green-soft);
}
.badge.coral {
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.badge.red {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, var(--surface));
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-body {
  padding: 24px;
}
.panel-footer {
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  color: var(--muted);
  font-size: 12px;
}
.empty {
  padding: 46px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.empty .empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  margin-bottom: 4px;
}
.empty p {
  max-width: 360px;
}
.notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}
.notice.error {
  color: var(--red);
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
}
.notice.success {
  color: var(--green);
  background: var(--green-soft);
}
.hidden,
[hidden] {
  display: none !important;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 13px;
}
.field > span {
  font-weight: 500;
}
.field small {
  font-size: 12px;
}
.input,
select,
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 42px;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form {
  display: grid;
  gap: 19px;
}
.form-error {
  font-size: 13px;
  color: var(--red);
  min-height: 1px;
}
.check-label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
}
.check-label input {
  accent-color: var(--accent);
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 8px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
}
th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  padding: 11px 24px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--surface-hover);
}
td strong {
  font-weight: 550;
}
td small {
  display: block;
  margin-top: 2px;
}
.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}
.table-name {
  display: flex;
  gap: 11px;
  align-items: center;
}
.server-symbol {
  width: 33px;
  height: 33px;
  background: var(--surface-hover);
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 18px;
}
.search {
  position: relative;
  flex: 1;
  max-width: 300px;
}
.search .icon {
  position: absolute;
  left: 12px;
  top: 11px;
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.search input {
  padding-left: 37px;
  min-height: 38px;
  font-size: 12px;
}
.toolbar select {
  width: auto;
  min-height: 38px;
  padding: 7px 30px 7px 10px;
  font-size: 12px;
}
.tabbar {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  padding: 3px;
  gap: 2px;
}
.tabbar button {
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 12px;
  color: var(--muted);
}
.tabbar button.active {
  background: var(--surface);
  box-shadow: 0 1px 3px #0001;
  color: var(--ink);
}
.workspace {
  padding: 15px;
  min-height: 100vh;
}
.workspace-shell {
  min-height: calc(100vh - 30px);
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
  background: color-mix(in srgb, var(--canvas) 70%, var(--surface));
  border-right: 1px solid var(--line);
  padding: 22px 13px 15px;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 15px;
  height: calc(100vh - 30px);
  max-height: 1100px;
}
.sidebar-brand {
  padding: 0 12px 23px;
}
.workspace-selector {
  margin: 0 1px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  box-shadow: 0 1px 2px #00000004;
}
.workspace-selector .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.workspace-selector small {
  font-size: 10px;
  display: block;
  margin-top: 1px;
}
.nav-label {
  font-size: 10px;
  color: var(--muted);
  padding: 12px 13px 7px;
  letter-spacing: 0.01em;
}
.side-nav {
  display: grid;
  gap: 3px;
}
.nav-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  text-align: left;
  width: 100%;
}
.nav-item .icon {
  width: 16px;
  height: 16px;
}
.nav-item:hover {
  color: var(--ink);
  background: var(--surface-hover);
}
.nav-item.active {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 2px 4px #00000004;
}
.nav-item.active .icon {
  color: var(--accent-ink);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.balance-box {
  margin: 15px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--surface);
}
.balance-box span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.balance-box strong {
  display: block;
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin: 4px 0 9px;
}
.balance-box .btn {
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  font-size: 11px;
}
.sidebar-user {
  border-top: 1px solid var(--line);
  padding: 15px 8px 0;
  display: flex;
  gap: 9px;
  align-items: center;
}
.avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.sidebar-user .user-copy {
  overflow: hidden;
  flex: 1;
}
.sidebar-user strong {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 11px;
  font-weight: 550;
}
.sidebar-user small {
  font-size: 10px;
}
.main-area {
  min-width: 0;
}
.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}
.topbar .breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb .icon {
  width: 14px;
  height: 14px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 13px;
}
.topbar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.topbar-status .dot {
  background: var(--green);
}
.menu-toggle {
  display: none;
}
.view {
  padding: 34px 38px 48px;
  max-width: 1400px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading h1 {
  margin-bottom: 7px;
}
.page-heading p {
  font-size: 12px;
  max-width: 590px;
}
.overview-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 33px 30px 28px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 25px;
  min-height: 174px;
}
.overview-hero::before {
  content: "";
  position: absolute;
  inset: -100px -80px -100px 35%;
  background:
    radial-gradient(ellipse at 70% 10%, #f6c3c8 0%, transparent 48%),
    radial-gradient(ellipse at 95% 45%, #d4c8ee 0%, transparent 55%),
    radial-gradient(ellipse at 35% 0%, #f8ddbc 0%, transparent 65%);
  z-index: -1;
  opacity: 0.65;
}
.overview-hero h1 {
  font-size: 29px;
  margin-bottom: 7px;
}
.overview-hero p {
  font-size: 12px;
  max-width: 440px;
}
.overview-hero .btn {
  margin-top: 24px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 25px;
  background: var(--surface);
}
.stat {
  padding: 20px 24px;
  min-width: 0;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-label {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-value {
  font-size: 25px;
  letter-spacing: -0.04em;
  font-weight: 550;
  line-height: 1.3;
}
.stat-detail {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.stat .icon {
  width: 14px;
  height: 14px;
}
.overview-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.activity-row {
  display: flex;
  gap: 12px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.activity-row:last-child {
  border: 0;
}
.activity-copy {
  flex: 1;
}
.activity-copy strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.activity-copy small {
  font-size: 10px;
}
.amount {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.amount.positive {
  color: var(--green);
}
.settings-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 36px;
}
.settings-nav {
  display: grid;
  gap: 4px;
  align-self: start;
}
.settings-nav a {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
}
.settings-nav a.active {
  background: var(--canvas);
  color: var(--ink);
}
.settings-main {
  max-width: 760px;
}
.settings-intro {
  margin-bottom: 20px;
}
.settings-intro p {
  margin-top: 6px;
  font-size: 12px;
}
.settings-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.settings-row h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 3px;
}
.settings-row p {
  font-size: 11px;
}
.settings-row .input,
.settings-row select {
  max-width: 250px;
  min-height: 35px;
  padding: 7px 10px;
  font-size: 12px;
}
.settings-form {
  padding: 22px 0;
}
.settings-form .field-grid {
  margin-top: 18px;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 16px;
}
.theme-option {
  text-align: left;
  border: 1px solid var(--line);
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.theme-option[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.theme-preview {
  height: 107px;
  background: linear-gradient(135deg, #f8cba2, #f2afbd 60%, #b7a4d9);
  padding: 10px 8px 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.theme-window {
  border: 1px solid #e6e7e6;
  border-radius: 7px 7px 0 0;
  background: #fff;
  width: 100%;
  display: grid;
  grid-template-columns: 23% 1fr;
  box-shadow: 0 3px 10px #0001;
}
.theme-side {
  background: #f7f7f7;
  border-right: 1px solid #eee;
  padding: 9px 5px;
}
.theme-side i,
.theme-content i {
  display: block;
  background: #e9ebea;
  height: 4px;
  margin-bottom: 7px;
  border-radius: 2px;
}
.theme-side i:first-child {
  background: #f69c86;
  width: 12px;
  height: 7px;
}
.theme-content {
  padding: 12px 9px;
}
.theme-content i:first-child {
  width: 45%;
  background: #a0a7a1;
  height: 5px;
}
.theme-content i:nth-child(2) {
  width: 70%;
  margin-bottom: 13px;
}
.theme-content i {
  height: 9px;
}
.theme-preview.dark .theme-window {
  background: #2c302d;
  border-color: #444b45;
}
.theme-preview.dark .theme-side {
  background: #242825;
  border-color: #424842;
}
.theme-preview.dark i {
  background: #454c46;
}
.theme-preview.system .theme-window {
  background: linear-gradient(110deg, #fff 48%, #2c302d 49%);
}
.theme-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  font-size: 11px;
}
.theme-label::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.theme-option[aria-pressed="true"] .theme-label::after {
  border: 3px solid var(--accent);
}
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}
.key-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.key-values dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.key-values dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.metric {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.metric span {
  font-size: 11px;
  color: var(--muted);
}
.metric strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  margin: 7px 0 10px;
  letter-spacing: -0.04em;
}
.meter {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.4s;
}
.chart-box {
  height: 170px;
  padding: 15px 0;
}
.chart-box svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.terminal-container {
  background: #232824;
  border-radius: 10px;
  padding: 14px;
  height: 330px;
  overflow: hidden;
}
.terminal-container .xterm {
  height: 100%;
}
.inline-select {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inline-select select {
  max-width: 300px;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.help-card {
  padding: 24px;
}
.help-card p {
  font-size: 12px;
  margin: 10px 0 18px;
}
.help-card .icon {
  color: var(--accent-ink);
  margin-bottom: 17px;
}
.loading {
  padding: 65px 25px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.loading::before {
  content: "";
  display: block;
  margin: 0 auto 13px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.toast {
  position: fixed;
  z-index: 50;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 19px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 9px;
  font-size: 13px;
  max-width: calc(100vw - 30px);
}
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  width: min(540px, calc(100vw - 30px));
  box-shadow: 0 24px 100px #0003;
  max-height: 90vh;
}
dialog::backdrop {
  background: #28332d55;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
}
.dialog-body {
  padding: 25px;
}
.dialog-body p {
  font-size: 13px;
  margin-bottom: 15px;
}
.secret-value {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 8px 0 18px;
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
}
.qr-code {
  display: grid;
  place-items: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
}
.qr-code svg {
  max-width: 100%;
  height: auto;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  position: relative;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.price-card.featured,
.price-card.selected {
  border-color: var(--accent);
}
.server-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.country-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px #0001;
}
.order-location {
  margin-bottom: 8px;
}
.price-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.price-card .price {
  font-size: 31px;
  letter-spacing: -0.06em;
  margin: 20px 0;
  font-weight: 550;
}
.price small {
  font-size: 11px;
  letter-spacing: 0;
}
.price-features {
  display: grid;
  gap: 10px;
  font-size: 12px;
  padding: 17px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.price-features span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.price-features .icon {
  width: 14px;
  height: 14px;
}
.price-card .btn {
  width: 100%;
}
.price-card .badge {
  position: absolute;
  right: 18px;
  top: 20px;
}
.gateway-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gateway {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px 10px;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
}
.gateway:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.gateway input {
  accent-color: var(--accent);
  margin-right: 5px;
}
.payment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.amount-presets {
  display: flex;
  gap: 8px;
}
.amount-presets button {
  flex: 1;
  min-width: 0;
}
.topup-note {
  font-size: 11px;
  margin-top: 14px;
}
.server-filtered-empty {
  padding: 25px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.public {
  background: var(--surface);
}
.public-nav {
  height: 82px;
  max-width: 1230px;
  padding: 0 35px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.public-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  color: var(--muted);
}
.public-links a:hover {
  color: var(--ink);
}
.public-main {
  overflow: hidden;
}
.landing-hero {
  position: relative;
  isolation: isolate;
  max-width: 1230px;
  margin: 0 auto;
  padding: 74px 35px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}
.landing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 740px;
  height: 670px;
  right: -210px;
  top: -110px;
  background:
    radial-gradient(ellipse at 60% 40%, #dcc6f3 0%, transparent 55%),
    radial-gradient(ellipse at 45% 60%, #f6c6bd 0%, transparent 65%),
    radial-gradient(ellipse at 30% 35%, #fae0b9 0%, transparent 65%);
  filter: blur(20px);
  opacity: 0.8;
}
.landing-hero h1 {
  font-size: 62px;
  font-weight: 540;
  line-height: 1.05;
  letter-spacing: -0.065em;
  max-width: 620px;
}
.landing-hero .hero-description {
  font-size: 15px;
  line-height: 1.8;
  margin: 25px 0 28px;
  max-width: 430px;
}
.hero-buttons {
  display: flex;
  gap: 10px;
}
.hero-buttons .btn {
  padding: 12px 19px;
  min-height: 44px;
}
.hero-platforms {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 30px;
}
.hero-platforms span {
  padding-right: 13px;
  border-right: 1px solid var(--line);
}
.hero-platforms span:last-child {
  border: 0;
}
.product-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px #59476818;
  transform: perspective(1200px) rotateY(-5deg) rotateZ(1deg);
  overflow: hidden;
}
.preview-topbar {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 5px;
}
.window-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dedfdd;
}
.preview-topbar small {
  margin-left: 15px;
  font-size: 9px;
}
.preview-inner {
  padding: 27px 23px;
}
.preview-inner h3 {
  font-size: 17px;
  margin-bottom: 7px;
}
.preview-inner > p {
  font-size: 10px;
  margin-bottom: 24px;
}
.preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 10px;
}
.preview-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.preview-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  font-size: 11px;
}
.preview-table > div + div {
  border-top: 1px solid var(--line);
}
.preview-resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 19px 0;
  gap: 9px;
}
.preview-resources > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 9px;
  color: var(--muted);
}
.preview-resources strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  margin-top: 5px;
}
.preview-caption {
  font-size: 9px;
  text-align: center;
  margin-top: 13px;
  color: var(--muted);
}
.public-section {
  max-width: 1230px;
  padding: 65px 35px;
  margin: auto;
}
.public-section-heading {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.public-section h2 {
  font-size: 36px;
  font-weight: 530;
  letter-spacing: -0.055em;
}
.public-section-heading p {
  max-width: 370px;
  font-size: 12px;
  line-height: 1.7;
}
.public .price-grid {
  gap: 19px;
}
.public .price-card {
  padding: 26px;
}
.public .price {
  font-size: 36px;
}
.features-band {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 35px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 35px;
}
.feature .icon {
  width: 23px;
  height: 23px;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.feature p {
  font-size: 12px;
  line-height: 1.9;
}
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 850px;
  margin-top: 30px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq-list summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.faq-list p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 15px;
  max-width: 700px;
}
.public-footer {
  max-width: 1230px;
  margin: auto;
  padding: 30px 35px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}
.public-footer .brand {
  font-size: 17px;
}
.public-footer .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  gap: 16px;
  background: var(--surface);
}
.auth-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 32px);
}
.auth-art::after {
  content: "";
  position: absolute;
  inset: 15% -40% -30% -30%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 60% 55%, #efd0bd 0%, transparent 40%),
    radial-gradient(ellipse at 80% 75%, #c5aaed 0%, transparent 55%),
    radial-gradient(ellipse at 40% 80%, #efb4bf 0%, transparent 55%);
}
.auth-art-copy {
  margin: auto 0;
  max-width: 420px;
  padding: 55px 0;
}
.auth-art h1 {
  font-size: 46px;
  font-weight: 530;
  letter-spacing: -0.06em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.auth-art p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.8;
}
.auth-art footer {
  font-size: 11px;
  color: var(--muted);
}
.auth-main {
  display: grid;
  place-items: center;
  padding: 50px 24px;
}
.auth-card {
  max-width: 350px;
  width: 100%;
}
.auth-card h2 {
  font-size: 29px;
  margin: 25px 0 9px;
}
.auth-card > p {
  font-size: 12px;
  margin-bottom: 28px;
}
.auth-card .tabbar {
  display: flex;
  margin-bottom: 25px;
}
.auth-card .tabbar button {
  flex: 1;
}
.auth-card .btn {
  width: 100%;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0;
}
.auth-or::before,
.auth-or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.auth-bottom {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin-top: 25px;
}
.auth-bottom a {
  text-decoration: underline;
}
.auth-mobile-brand {
  display: none;
}
.auth-note {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 20px;
}
.auth-status {
  font-size: 12px;
  margin-top: 15px;
}
.mobile-backdrop {
  display: none;
}
@media (min-width: 1600px) {
  .workspace {
    padding: 25px;
  }
  .workspace-shell {
    max-width: 1550px;
    margin: auto;
    min-height: calc(100vh - 50px);
  }
  .sidebar {
    top: 25px;
    height: calc(100vh - 50px);
  }
  .view {
    padding: 42px 55px 60px;
  }
}
@media (max-width: 1100px) {
  .view {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .workspace-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 9px;
    padding-right: 9px;
  }
  .overview-columns,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero {
    gap: 25px;
  }
  .landing-hero h1 {
    font-size: 49px;
  }
  .settings-layout {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 20px;
  }
  .theme-grid {
    gap: 8px;
  }
  .theme-preview {
    height: 85px;
  }
  .payment-layout {
    grid-template-columns: 1fr;
  }
  .auth-art h1 {
    font-size: 37px;
  }
}
@media (max-width: 800px) {
  .workspace {
    padding: 0;
  }
  .workspace-shell {
    border: 0;
    border-radius: 0;
    display: block;
    min-height: 100vh;
    box-shadow: none;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100dvh;
    z-index: 30;
    width: 230px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    border-radius: 0;
    max-height: none;
    padding: 23px 14px;
  }
  .workspace.menu-open .sidebar {
    transform: translateX(0);
  }
  .workspace.menu-open .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 29;
    background: #1115;
  }
  .menu-toggle {
    display: grid;
  }
  .topbar {
    height: 59px;
    padding: 0 18px;
  }
  .topbar-status {
    display: none;
  }
  .topbar-right {
    gap: 6px;
  }
  .view {
    padding: 25px 20px 40px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading > .btn {
    font-size: 11px;
    padding: 9px;
  }
  .overview-hero {
    padding: 26px 24px;
  }
  .overview-hero h1 {
    font-size: 26px;
  }
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-links {
    gap: 15px;
  }
  .public-nav {
    height: 72px;
    padding: 0 22px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 45px 25px 55px;
    gap: 40px;
  }
  .landing-hero h1 {
    font-size: 52px;
    max-width: 560px;
  }
  .landing-hero .hero-description {
    max-width: 500px;
  }
  .product-preview {
    max-width: 530px;
    width: 100%;
    margin: auto;
    transform: none;
  }
  .landing-hero::before {
    right: -260px;
    top: 190px;
  }
  .public-section {
    padding: 48px 25px;
  }
  .public-section-heading {
    display: block;
  }
  .public-section-heading p {
    margin-top: 17px;
    max-width: 500px;
  }
  .public-section h2 {
    font-size: 30px;
  }
  .features-grid {
    gap: 25px;
  }
  .auth-art {
    padding: 30px 25px;
  }
  .auth-page {
    grid-template-columns: 0.85fr 1fr;
  }
  .auth-art h1 {
    font-size: 31px;
  }
  .auth-art p {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 13px;
  }
  .view {
    padding: 24px 16px 35px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .overview-hero {
    padding: 24px 20px;
  }
  .overview-hero h1 {
    font-size: 25px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat-value {
    font-size: 20px;
  }
  .stat-label {
    font-size: 9px;
    gap: 4px;
  }
  .stat-label .icon {
    display: none;
  }
  .stat-detail {
    font-size: 9px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .panel-body {
    padding: 18px;
  }
  .toolbar {
    padding: 0 17px 15px;
    gap: 8px;
  }
  .toolbar select {
    max-width: 125px;
  }
  th,
  td {
    padding: 13px 17px;
  }
  .hide-mobile {
    display: none !important;
  }
  .settings-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .settings-nav {
    display: flex;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    overflow: auto;
  }
  .settings-nav a {
    white-space: nowrap;
    padding: 6px 9px;
    font-size: 11px;
  }
  .settings-row {
    gap: 12px;
    align-items: flex-start;
  }
  .settings-row .input,
  .settings-row select {
    max-width: 150px;
  }
  .theme-grid {
    gap: 8px;
  }
  .theme-preview {
    height: 80px;
    padding: 7px 5px 0;
  }
  .theme-label {
    padding: 9px 7px;
    font-size: 10px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .key-values {
    gap: 18px;
  }
  .metric-grid {
    gap: 8px;
  }
  .metric {
    padding: 12px;
  }
  .metric strong {
    font-size: 20px;
  }
  .metric span {
    font-size: 10px;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
  .help-card {
    padding: 22px;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 22px;
  }
  .gateway-list {
    gap: 7px;
  }
  .gateway {
    padding: 13px 7px;
    font-size: 10px;
  }
  .public-links {
    display: none;
  }
  .public-nav .btn {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 35px;
  }
  .public-nav .row {
    gap: 5px;
  }
  .public-nav {
    padding: 0 20px;
  }
  .landing-hero {
    padding: 37px 22px 48px;
  }
  .landing-hero h1 {
    font-size: 45px;
    line-height: 1.07;
  }
  .landing-hero .hero-description {
    font-size: 13px;
    margin: 22px 0;
  }
  .hero-buttons .btn {
    font-size: 11px;
    padding: 10px 13px;
  }
  .hero-platforms {
    gap: 10px;
    font-size: 10px;
  }
  .hero-platforms span {
    padding-right: 10px;
  }
  .preview-inner {
    padding: 22px 18px;
  }
  .public-section {
    padding: 42px 22px;
  }
  .public-section h2 {
    font-size: 29px;
  }
  .public-section .price-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .feature .icon {
    margin-bottom: 12px;
  }
  .feature p {
    max-width: 420px;
  }
  .public-footer {
    padding: 25px 22px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .public-footer > span {
    order: 3;
    width: 100%;
  }
  .auth-page {
    display: block;
    padding: 0;
  }
  .auth-art {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
    padding: 40px 25px;
  }
  .auth-mobile-brand {
    display: inline-flex;
  }
  .auth-card {
    max-width: 365px;
  }
  .auth-card h2 {
    font-size: 28px;
  }
  .inline-select {
    flex-wrap: wrap;
  }
  .inline-select select {
    max-width: 100%;
  }
  .overview-columns {
    gap: 18px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .topbar .breadcrumb {
    gap: 7px;
    font-size: 10px;
  }
  .topbar .breadcrumb > span:first-of-type {
    display: none;
  }
  .chart-box {
    height: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
