/* ============ ç�µå¢ƒæ˜Ÿäº‘ Â· è®¾è®¡ç³»ç»Ÿ ============ */
:root {
  --bg: #05070f;
  --bg-2: #080c18;
  --panel: rgba(17, 23, 41, 0.72);
  --panel-solid: #0b1020;
  --line: rgba(148, 163, 208, 0.14);
  --line-strong: rgba(148, 163, 208, 0.26);
  --text: #e9edfb;
  --muted: #8b94b0;
  --dim: #7d87a3;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --accent: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #22d3ee 100%);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  --radius: 18px;
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 8% -8%, rgba(109, 76, 255, 0.22), transparent 60%),
    radial-gradient(760px 520px at 96% 4%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(900px 700px at 60% 110%, rgba(99, 102, 241, 0.12), transparent 60%),
    #05070f;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(139, 92, 246, 0.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 208, 0.2); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.tx { font-family: var(--mono); font-size: 12px; color: #9aa4c4; word-break: break-all; }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* ============ å�¯åŠ¨ ============ */
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; color: var(--muted); position: relative; z-index: 1; }
.orbit { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(139, 92, 246, 0.35); position: relative; animation: spin 3.2s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--accent); filter: blur(2px); opacity: 0.85; }
.orbit span { position: absolute; top: -3px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ ç™»å½• ============ */
.login { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.login-hero { padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.login-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; bottom: -260px; border-radius: 50%; background: conic-gradient(from 120deg, rgba(139, 92, 246, 0.24), rgba(34, 211, 238, 0.16), transparent 60%); filter: blur(20px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); position: relative; box-shadow: 0 0 30px -6px rgba(139, 92, 246, 0.8); flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #070b18; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.brand-sub { font-size: 11px; color: var(--dim); letter-spacing: 0.18em; text-transform: uppercase; }
.hero-title { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; margin: 18px 0 20px; }
.hero-title em { font-style: normal; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 12.5px; color: #b9c1da; }
.hero-stats { display: flex; gap: 42px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.hero-stat span { font-size: 12px; color: var(--dim); }
.login-panel { display: grid; place-items: center; padding: 40px 28px; }
.login-card { width: min(400px, 100%); }
.login-card h2 { font-size: 22px; letter-spacing: -0.01em; }
.login-card > p { color: var(--muted); font-size: 13px; margin: 8px 0 26px; }
.account-list { display: grid; gap: 10px; }
.account { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); cursor: pointer; transition: 0.18s ease; }
.account:hover { border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.08); transform: translateY(-1px); }
.account .avatar { width: 38px; height: 38px; font-size: 13px; }
.account-main { flex: 1; min-width: 0; }
.account-name { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.account-meta { font-size: 11.5px; color: var(--dim); }
.account-arrow { color: var(--dim); }
.login-note { margin-top: 20px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--dim); font-size: 11.5px; line-height: 1.7; }
.login-foot { margin-top: 28px; display: flex; gap: 16px; font-size: 11.5px; color: var(--dim); }

/* ============ æ¡†æž¶ ============ */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 18px 14px; border-right: 1px solid var(--line); background: rgba(6, 9, 18, 0.62); backdrop-filter: blur(18px); z-index: 30; }
.sidebar .brand { padding: 8px 10px 22px; }
.nav-group { font-size: 10.5px; letter-spacing: 0.16em; color: var(--dim); padding: 14px 12px 8px; text-transform: uppercase; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: #aeb6cf; font-size: 13.5px; transition: 0.16s ease; position: relative; }
.nav a .icon { width: 17px; height: 17px; opacity: 0.85; }
.nav a:hover { background: rgba(255, 255, 255, 0.045); color: var(--text); }
.nav a.active { background: linear-gradient(90deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.05)); color: #fff; }
.nav a.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2.5px; border-radius: 99px; background: var(--accent); }
.nav a.active .icon { color: #a78bfa; opacity: 1; }
.sidebar-foot { margin-top: auto; padding: 14px 10px 4px; display: grid; gap: 12px; }
.nav-scrim { position: fixed; inset: 0; z-index: 29; background: rgba(3, 5, 12, 0.62); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.nav-scrim.show { opacity: 1; pointer-events: auto; }
@media (min-width: 961px) { .nav-scrim { display: none; } }
.chain-pill { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); background: rgba(52, 211, 153, 0.04); }
.chain-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16); animation: pulse 2.6s ease infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.sidebar-version { font-size: 10.5px; color: var(--dim); padding-left: 11px; }

.topbar { position: sticky; top: 0; z-index: 25; height: 66px; display: flex; align-items: center; gap: 18px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(5, 7, 15, 0.66); backdrop-filter: blur(20px); }
.topbar-title { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.topbar-title b { color: var(--text); font-weight: 600; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-pill { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.09); font-size: 12.5px; }
.balance-pill b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.balance-pill .icon { width: 15px; height: 15px; color: #c4b5fd; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #0a0d18; letter-spacing: 0.02em; flex: none; }
.avatar-lg { width: 46px; height: 46px; font-size: 15px; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 6px 4px 4px; border-radius: 999px; border: 1px solid transparent; background: transparent; font-family: inherit; color: inherit; text-align: left; cursor: pointer; }
.user-chip:hover { background: rgba(255, 255, 255, 0.04); }
.user-chip:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.user-chip-name { font-size: 12.5px; line-height: 1.25; }
.user-chip-role { font-size: 10.5px; color: var(--dim); line-height: 1.25; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); display: none; place-items: center; cursor: pointer; color: var(--muted); }
.bell-btn { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.bell-btn:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.notif-badge { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--rose); color: #190a10; font-size: 9.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.notif-item { display: flex; gap: 12px; width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid rgba(148, 163, 208, 0.08); background: transparent; color: inherit; font-family: inherit; cursor: pointer; border-radius: 10px; }
.notif-item:hover { background: rgba(255, 255, 255, 0.035); }
.notif-item.unread { background: rgba(139, 92, 246, 0.07); }
.notif-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); flex: none; color: #c4b5fd; }
.notif-title { font-size: 12.8px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.notif-body { font-size: 11.8px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.notif-time { font-size: 10.5px; color: var(--dim); margin-top: 4px; font-family: var(--mono); }
.main { padding: 30px 32px 72px; max-width: 1480px; width: 100%; margin: 0 auto; }

/* ============ é€šç”¨ ============ */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: 25px; letter-spacing: -0.02em; font-weight: 700; }
.page-head p { color: var(--muted); font-size: 13px; margin-top: 7px; max-width: 720px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.section-title h2 { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.section-title span { font-size: 12px; color: var(--dim); }

.card { position: relative; background: linear-gradient(180deg, rgba(21, 27, 47, 0.72), rgba(10, 14, 26, 0.72)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.card-title { font-size: 14.5px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.card-sub { font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.grid-side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.035); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.16s ease; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(148, 163, 208, 0.4); }
.btn:active { transform: translateY(1px); }
.btn-primary { border: 0; background: linear-gradient(135deg, #7c3aed, #4f46e5 60%, #4338ca); background-size: 140% 140%; color: #fff; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.7); }
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 14px 34px -10px rgba(99, 102, 241, 0.85); }
.btn-ghost { background: transparent; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-danger { border-color: rgba(251, 113, 133, 0.4); color: #fda4af; background: rgba(251, 113, 133, 0.08); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 550; letter-spacing: 0.01em; border: 1px solid var(--line); color: var(--muted); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.badge-violet { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.12); }
.badge-cyan { color: #a5f3fc; border-color: rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.1); }
.badge-emerald { color: #a7f3d0; border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.1); }
.badge-amber { color: #fde68a; border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.1); }
.badge-rose { color: #fecdd3; border-color: rgba(251, 113, 133, 0.3); background: rgba(251, 113, 133, 0.1); }
.dot-badge { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 12.5px; cursor: pointer; transition: 0.15s ease; }
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.active { color: #ddd6fe; border-color: rgba(139, 92, 246, 0.55); background: rgba(139, 92, 246, 0.14); }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 550; }
.field .hint { font-size: 11px; color: var(--dim); }
.input, .select, .textarea { width: 100%; height: 42px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(4, 7, 14, 0.65); color: var(--text); outline: none; transition: 0.15s ease; }
.textarea { height: auto; padding: 11px 13px; min-height: 96px; resize: vertical; line-height: 1.65; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input-inline { display: flex; align-items: center; gap: 10px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; font-weight: 550; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid rgba(148, 163, 208, 0.08); font-size: 13px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.14s ease; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

.empty { display: grid; place-items: center; gap: 8px; padding: 46px 20px; color: var(--dim); font-size: 12.5px; text-align: center; }
.empty .icon { width: 26px; height: 26px; opacity: 0.5; }

/* ============ ä»ªè¡¨ç›˜ ============ */
.kpi { position: relative; overflow: hidden; padding: 19px 20px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(24, 30, 52, 0.8), rgba(9, 13, 24, 0.8)); }
.kpi::after { content: ""; position: absolute; right: -40px; top: -60px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 68%); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.kpi-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(139, 92, 246, 0.12); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.22); }
.kpi-icon .icon { width: 15px; height: 15px; }
.kpi-value { font-size: 28px; font-weight: 720; letter-spacing: -0.02em; margin: 12px 0 3px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.kpi-value small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kpi-foot { font-size: 11.5px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.up { color: #6ee7b7; }
.down { color: #fda4af; }

.chart { width: 100%; display: block; }
.chart-legend { display: flex; gap: 18px; font-size: 11.5px; color: var(--muted); }
.chart-legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-right: 6px; }

.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut-center { font-size: 11px; fill: var(--muted); }
.legend-list { display: grid; gap: 10px; flex: 1; min-width: 150px; }
.legend-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.legend-item i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.legend-item .amount { margin-left: auto; font-variant-numeric: tabular-nums; color: #cbd3ea; }

.activity { display: grid; }
.activity-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(148, 163, 208, 0.07); }
.activity-row:last-child { border: 0; }
.activity-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); flex: none; }
.activity-main { flex: 1; min-width: 0; }
.activity-title { font-size: 12.8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-sub { font-size: 11px; color: var(--dim); margin-top: 2px; }
.activity-amount { font-size: 13px; font-variant-numeric: tabular-nums; }
.activity-amount.neg { color: #cbd3ea; }
.activity-amount.pos { color: #6ee7b7; }

.rank-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(148, 163, 208, 0.07); }
.rank-row:last-child { border-bottom: 0; }
.rank-no { width: 22px; font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; }
.rank-name { font-size: 13px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar { width: 90px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.rank-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.rank-val { font-size: 11.5px; color: var(--muted); width: 46px; text-align: right; font-variant-numeric: tabular-nums; }

/* ============ æŠ€èƒ½ / çŸ¥è¯† / ç§Ÿèµ� ============ */
.skill-card { display: flex; flex-direction: column; gap: 13px; cursor: pointer; transition: 0.18s ease; }
.skill-card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 26px 60px -30px rgba(139, 92, 246, 0.65); }
.skill-top { display: flex; align-items: flex-start; gap: 13px; }
.skill-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.22); flex: none; }
.skill-name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.skill-tagline { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.skill-meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: var(--dim); }
.skill-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); margin-top: auto; gap: 10px; }
.price { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 4px; }
.price small { font-size: 11px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.owner-line { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); }
.owner-line .avatar { width: 20px; height: 20px; font-size: 8.5px; }

.knowledge-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; cursor: pointer; transition: 0.18s ease; }
.knowledge-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.35); }
.knowledge-cover { height: 116px; position: relative; display: flex; align-items: flex-end; padding: 16px 18px; overflow: hidden; }
.knowledge-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.7px, transparent 0.7px); background-size: 16px 16px; opacity: 0.35; }
.tone-violet { background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #312e81); }
.tone-cyan { background: linear-gradient(135deg, #164e63, #0891b2 55%, #1e3a8a); }
.tone-amber { background: linear-gradient(135deg, #78350f, #d97706 55%, #7c2d12); }
.tone-rose { background: linear-gradient(135deg, #881337, #e11d48 55%, #4c0519); }
.tone-emerald { background: linear-gradient(135deg, #064e3b, #059669 55%, #14532d); }
.tone-sky { background: linear-gradient(135deg, #0c4a6e, #0284c7 55%, #0f172a); }
.knowledge-kind { position: relative; z-index: 1; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(4px); }
.knowledge-body { padding: 17px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.knowledge-title { font-size: 14.5px; font-weight: 650; line-height: 1.45; }
.knowledge-summary { font-size: 12px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.knowledge-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.lease-card { display: flex; flex-direction: column; gap: 13px; }
.lease-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec { font-size: 10.5px; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); color: #aeb6cf; font-family: var(--mono); }
.lease-price { display: flex; align-items: baseline; gap: 6px; }
.lease-price b { font-size: 22px; letter-spacing: -0.03em; }
.lease-price span { font-size: 11.5px; color: var(--dim); }

.tabs { display: inline-flex; padding: 4px; gap: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); flex-wrap: wrap; }
.tab { padding: 6px 13px; border-radius: 9px; font-size: 12.5px; color: var(--muted); cursor: pointer; border: 0; background: transparent; }
.tab.active { background: rgba(139, 92, 246, 0.18); color: #e9e4ff; }

/* ============ ç½‘å…³ ============ */
.code { position: relative; background: #04060d; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; font-family: var(--mono); font-size: 11.8px; line-height: 1.75; color: #c3cbe4; overflow-x: auto; white-space: pre; }
.code .k { color: #c4b5fd; }
.code .s { color: #6ee7b7; }
.copy-btn { position: absolute; top: 8px; right: 8px; height: 26px; padding: 0 9px; font-size: 11px; }
.key-box { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); background: rgba(4, 7, 14, 0.6); font-family: var(--mono); font-size: 12px; }
.key-box .key-val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c4b5fd; }

.chat { display: flex; flex-direction: column; gap: 12px; max-height: 380px; overflow-y: auto; padding: 4px 2px; }
.msg { display: flex; gap: 10px; }
.msg .avatar { width: 28px; height: 28px; font-size: 10px; }
.msg-body { padding: 10px 13px; border-radius: 4px 12px 12px 12px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; max-width: 86%; }
.msg.me { flex-direction: row-reverse; }
.msg.me .msg-body { background: rgba(139, 92, 246, 0.16); border-color: rgba(139, 92, 246, 0.3); border-radius: 12px 4px 12px 12px; }
.usage-row { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; color: var(--dim); padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 10px; }
.usage-row b { color: #cbd3ea; font-weight: 600; }

/* ============ é“¾ ============ */
.chain-hero { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.verify-ok { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 12px; border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.07); color: #a7f3d0; font-size: 12.5px; }
.verify-bad { border-color: rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.08); color: #fecdd3; }
.block { padding: 14px 0; border-bottom: 1px solid rgba(148, 163, 208, 0.08); display: flex; gap: 13px; }
.block:last-child { border-bottom: 0; }
.block-no { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.22); color: #a5f3fc; font-family: var(--mono); font-size: 11.5px; flex: none; }
.block-main { flex: 1; min-width: 0; }
.block-hash { font-family: var(--mono); font-size: 11.5px; color: #9aa4c4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.block-meta { font-size: 10.5px; color: var(--dim); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }

.cert { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: linear-gradient(150deg, rgba(139, 92, 246, 0.08), rgba(8, 12, 24, 0.5)); position: relative; overflow: hidden; }
.cert::after { content: ""; position: absolute; right: -24px; top: -24px; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(139, 92, 246, 0.16); }
.cert-title { font-size: 13.5px; font-weight: 650; padding-right: 20px; }
.cert-no { font-family: var(--mono); font-size: 11px; color: #c4b5fd; margin-top: 8px; }
.cert-row { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--dim); margin-top: 8px; }

.progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8b5cf6, #22d3ee); transition: width 0.4s ease; }

.switch { width: 40px; height: 23px; border-radius: 999px; background: rgba(255, 255, 255, 0.13); border: 1px solid var(--line); position: relative; cursor: pointer; transition: 0.2s ease; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: 0.2s ease; }
.switch.on { background: linear-gradient(135deg, #8b5cf6, #22d3ee); border-color: transparent; }
.switch.on::after { left: 19px; }

.highlight-box { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(139, 92, 246, 0.25); background: rgba(139, 92, 246, 0.07); font-size: 12px; color: #c7cdea; line-height: 1.75; }
.highlight-box b { color: #e9edfb; }

/* ============ é¡¹ç›® ============ */
.project-row { padding: 17px 0; border-bottom: 1px solid rgba(148, 163, 208, 0.08); display: grid; gap: 8px; }
.project-row:last-child { border-bottom: 0; }
.project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.project-title { font-size: 14px; font-weight: 640; }
.project-company { font-size: 11.5px; color: var(--dim); margin-top: 3px; }
.project-summary { font-size: 12.3px; color: var(--muted); line-height: 1.7; }
.project-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--dim); }
.budget { font-size: 16px; font-weight: 700; color: #e9edfb; letter-spacing: -0.02em; }

/* ============ å¼¹å±‚ ============ */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(3, 5, 12, 0.72); backdrop-filter: blur(7px); display: grid; place-items: center; padding: 20px; animation: fade 0.18s ease; }
.modal { width: min(520px, 100%); max-height: 88vh; overflow-y: auto; background: linear-gradient(180deg, #0d1222, #080c17); border: 1px solid rgba(148, 163, 208, 0.18); border-radius: 20px; padding: 24px; box-shadow: 0 40px 100px -30px #000; animation: pop 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.modal-head h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.modal-head p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.modal-close { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; color: var(--muted); cursor: pointer; flex: none; }
.modal-close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.drawer { position: fixed; top: 0; right: 0; z-index: 61; width: min(640px, 100vw); height: 100vh; overflow-y: auto; background: linear-gradient(180deg, #0b1020, #060912); border-left: 1px solid rgba(148, 163, 208, 0.18); box-shadow: -40px 0 100px -30px #000; padding: 26px 28px 40px; animation: slideIn 0.24s cubic-bezier(0.2, 0.9, 0.3, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }

.summary { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: rgba(4, 7, 14, 0.55); border: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.summary-row b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-row.total { padding-top: 9px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--text); }
.summary-row.total b { font-size: 16px; }

.toast-root { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #0e1526; border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 12.5px; animation: toastIn 0.22s ease; max-width: 360px; }
.toast.ok { border-color: rgba(52, 211, 153, 0.35); }
.toast.ok .icon { color: var(--emerald); }
.toast.err { border-color: rgba(251, 113, 133, 0.4); }
.toast.err .icon { color: var(--rose); }
.toast .icon { flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.skeleton { border-radius: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.fade-up { animation: fadeUp 0.4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* ============ Markdown æ¸²æŸ“ ============ */
.markdown-body { font-size: 13px; line-height: 1.8; color: #c7cdea; }
.markdown-body h1 { font-size: 20px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text); }
.markdown-body h2 { font-size: 16px; margin: 20px 0 8px; color: var(--text); }
.markdown-body h3 { font-size: 14px; margin: 16px 0 6px; color: var(--text); }
.markdown-body p { margin: 8px 0; }
.markdown-body ul, .markdown-body ol { margin: 8px 0; padding-left: 22px; }
.markdown-body li { margin: 3px 0; }
.markdown-body code { font-family: var(--mono); font-size: 12px; background: rgba(255, 255, 255, 0.06); padding: 1px 5px; border-radius: 4px; color: #c4b5fd; }
.markdown-body pre { background: #04060d; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; margin: 10px 0; }
.markdown-body pre code { background: transparent; padding: 0; color: #c3cbe4; }
.markdown-body blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid rgba(139, 92, 246, 0.6); background: rgba(139, 92, 246, 0.06); color: var(--muted); }
.markdown-body a { color: #a5b4fc; text-decoration: underline; text-underline-offset: 2px; }
.markdown-body hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* ============ ä»»åŠ¡å�Žå�° ============ */
.task-lanes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.task-lane { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.task-lane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 0 2px 9px; border-bottom: 1px solid var(--line); }
.task-card { padding: 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.task-card .btn { align-self: flex-start; }

/* ============ å“�åº”å¼� ============ */
@media (max-width: 1180px) {  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-main, .grid-side { grid-template-columns: minmax(0, 1fr); }
  .task-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; width: 248px; transform: translateX(-104%); visibility: hidden; transition: transform 0.24s ease, visibility 0.24s; background: #070b14; }
  .sidebar.open { transform: none; visibility: visible; box-shadow: 40px 0 80px -20px #000; }
  .icon-btn { display: grid; }
  .main { padding: 22px 18px 60px; }
  .topbar { padding: 0 18px; }
  .login { grid-template-columns: 1fr; }
  .login-hero { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 24px 40px; }
  .login-hero .hero-stats { display: none; }
  .login-panel { padding: 32px 20px 48px; }
  .task-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .grid-auto { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { font-size: 21px; }
  .kpi-value { font-size: 24px; }
  .topbar-title { display: none; }
  .user-chip-name, .user-chip-role { display: none; }
  .balance-pill { padding: 0 11px; }
  .modal { padding: 20px; }
  .drawer { padding: 20px 18px 36px; }
  .toast-root { left: 16px; right: 16px; align-items: stretch; }
  .toast { max-width: none; }
  .task-lanes { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Ç³É«Ö÷Ìâ£¨2026-12£©£ºÇ³×Ï±³¾°¡¢°×¿¨Æ¬¡¢ÉîÉ«ÎÄ×Ö
   ============================================================ */
:root {
  --bg: #f5f6fc;
  --bg-2: #eef0fa;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --line: rgba(60, 72, 120, 0.12);
  --line-strong: rgba(60, 72, 120, 0.22);
  --text: #1f2333;
  --muted: #5f6880;
  --dim: #7d869d;
  --violet: #7c3aed;
  --indigo: #6366f1;
  --accent: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  --shadow: 0 18px 40px -30px rgba(44, 52, 90, 0.28);
}
body { background: var(--bg); color: var(--text); }
body::before {
  background:
    radial-gradient(900px 600px at 8% -8%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(760px 520px at 96% 4%, rgba(99, 102, 241, 0.10), transparent 62%),
    radial-gradient(900px 700px at 60% 110%, rgba(34, 211, 238, 0.08), transparent 60%),
    #f5f6fc;
}
body::after {
  opacity: 0.35;
  background-image: radial-gradient(rgba(70, 80, 130, 0.14) 0.6px, transparent 0.6px);
}
.sidebar { background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px); border-right-color: rgba(60, 72, 120, 0.10); }
.topbar { background: rgba(255, 255, 255, 0.78); border-bottom-color: rgba(60, 72, 120, 0.10); box-shadow: 0 1px 0 rgba(60, 72, 120, 0.04); }
.nav a { color: #4d5670; }
.nav a:hover { background: rgba(124, 58, 237, 0.07); color: #1f2333; }
.nav a.active { background: linear-gradient(90deg, rgba(124, 58, 237, 0.14), rgba(99, 102, 241, 0.06)); color: #5b21b6; }
.nav a.active .icon { color: #7c3aed; }
.nav-group { color: #8a92a8; }
.brand-mark::after { background: #ffffff; border-color: rgba(124, 58, 237, 0.25); }
.brand-name { color: #1f2333; }
.brand-sub { color: #8a92a8; }
.card,
.kpi {
  background: #ffffff;
  border-color: rgba(60, 72, 120, 0.10);
  box-shadow: 0 12px 34px -28px rgba(44, 52, 90, 0.35);
}
.kpi::after { background: radial-gradient(circle, rgba(139, 92, 246, 0.10), transparent 68%); }
.card-title, .skill-name, .strong { color: #1f2333; }
.card-sub, .muted, .kpi-label, .kpi-foot, .page-head p, .section-title span { color: #626b82; }
.dim, .account-meta, .tx { color: #7d869d; }
.text, h1, h2, h3, h4 { color: #1f2333; }
.account { background: #ffffff; border-color: rgba(60, 72, 120, 0.10); }
.account:hover { background: #f7f4ff; border-color: rgba(124, 58, 237, 0.35); }
.chip { background: #ffffff; border-color: rgba(60, 72, 120, 0.14); color: #5f6880; }
.chip:hover { color: #1f2333; border-color: rgba(60, 72, 120, 0.26); }
.chip.active { color: #5b21b6; border-color: rgba(124, 58, 237, 0.45); background: #f1ebff; }
.btn { background: #ffffff; border-color: rgba(60, 72, 120, 0.16); color: #333a4f; }
.btn:hover { background: #f5f2ff; border-color: rgba(124, 58, 237, 0.35); }
.btn-primary { background: linear-gradient(135deg, #7c3aed, #6366f1); color: #fff; border: 0; }
.btn-danger { color: #be123c; border-color: rgba(190, 18, 60, 0.25); background: #fff1f3; }
.input, .select, .textarea { background: #ffffff; border-color: rgba(60, 72, 120, 0.16); color: #1f2333; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(124, 58, 237, 0.55); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08); }
.table th { color: #7d869d; border-bottom-color: rgba(60, 72, 120, 0.10); }
.table td { border-bottom-color: rgba(60, 72, 120, 0.07); color: #333a4f; }
.table tbody tr:hover { background: #f8f6ff; }
.summary { background: #f8f9fe; border-color: rgba(60, 72, 120, 0.10); }
.summary-row { color: #626b82; }
.summary-row b { color: #1f2333; }
.code { background: #f6f7fb; border-color: rgba(60, 72, 120, 0.12); color: #334155; }
.code .k { color: #6d28d9; }
.code .s { color: #047857; }
.modal { background: #ffffff; border-color: rgba(60, 72, 120, 0.12); box-shadow: 0 40px 100px -40px rgba(24, 32, 60, 0.45); }
.modal-close { border-color: rgba(60, 72, 120, 0.12); color: #626b82; }
.modal-close:hover { background: #f2f3fa; color: #1f2333; }
.drawer { background: #ffffff; border-left-color: rgba(60, 72, 120, 0.12); box-shadow: -40px 0 100px -50px rgba(24, 32, 60, 0.35); }
.nav-scrim { background: rgba(30, 36, 60, 0.28); }
.badge { background: #f4f5fb; border-color: rgba(60, 72, 120, 0.10); color: #5f6880; }
.badge-violet { color: #6d28d9; border-color: rgba(124, 58, 237, 0.22); background: #f2ebff; }
.badge-cyan { color: #0e7490; border-color: rgba(14, 116, 144, 0.20); background: #ecfeff; }
.badge-emerald { color: #047857; border-color: rgba(4, 120, 87, 0.20); background: #ecfdf5; }
.badge-amber { color: #b45309; border-color: rgba(180, 83, 9, 0.20); background: #fffbeb; }
.badge-rose { color: #be123c; border-color: rgba(190, 18, 60, 0.20); background: #fff1f3; }
.balance-pill { background: #f3edff; border-color: rgba(124, 58, 237, 0.22); }
.balance-pill .icon, .kpi-icon, .notif-icon, .key-box .key-val, .cert-no { color: #6d28d9; }
.kpi-icon { background: #f1ebff; border-color: rgba(124, 58, 237, 0.18); }
.user-chip:hover { background: #f2f3fa; }
.hero-chip { background: #ffffff; border-color: rgba(60, 72, 120, 0.12); color: #5f6880; }
.hero-copy { color: #5f6880; }
.login-hero::after { background: conic-gradient(from 120deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.10), transparent 60%); }
.markdown-body { color: #3b4256; }
.markdown-body h1, .markdown-body h2, .markdown-body h3 { color: #1f2333; border-bottom-color: rgba(60, 72, 120, 0.10); }
.markdown-body code { background: #f1f2f8; color: #6d28d9; }
.markdown-body pre { background: #f6f7fb; border-color: rgba(60, 72, 120, 0.12); }
.markdown-body pre code { color: #334155; }
.markdown-body blockquote { background: #f7f4ff; border-left-color: rgba(124, 58, 237, 0.5); color: #5f6880; }
.markdown-body a { color: #6d28d9; }
.progress { background: #eceef7; }
.progress-bar { background: linear-gradient(90deg, #7c3aed, #6366f1); }
::-webkit-scrollbar-thumb { background: rgba(80, 92, 140, 0.22); }

/* Ç³É«Ö÷Ìâ¿É¶ÁÐÔÐÞÕý */
.tabs { background: #f5f6fb; border-color: rgba(60, 72, 120, 0.10); }
.tab.active { background: #efe9ff !important; color: #5b21b6 !important; }
.highlight-box { background: #f7f4ff !important; border-color: rgba(124, 58, 237, 0.18) !important; color: #4c3a75 !important; }
.highlight-box b { color: #1f2333 !important; }
.kpi-icon { background: #f1ebff !important; color: #6d28d9 !important; border-color: rgba(124, 58, 237, 0.18) !important; }
.kpi-icon .icon { stroke: #6d28d9; }
.tx, .activity-sub, .mono.dim { color: #5f6880; }
.donut-center { fill: #5f6880 !important; }
.donut-wrap text { fill: #5f6880; }
