:root {
    --bg-primary: #f5f6fb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafaff;
    --text-primary: #171a2f;
    --text-secondary: #60677d;
    --text-muted: #9299ad;
    --border-color: #e4e6f0;
    --accent: #6757f5;
    --accent-hover: #5747e7;
    --accent-soft: #f0edff;
    --navy: #111329;
    --navy-soft: #1b1d3d;
    --purple: #7c65ff;
    --green: #22bfa0;
    --green-soft: #e9f9f5;
    --gold: #e89a32;
    --gold-soft: #fff5e7;
    --danger: #e85c75;
    --danger-soft: #fff0f3;
    --blue: #4d93ef;
    --blue-soft: #edf5ff;
    --sidebar-width: 286px;
    --topbar-height: 82px;
    --shadow-sm: 0 8px 24px rgba(27, 31, 67, .06);
    --shadow-md: 0 18px 48px rgba(27, 31, 67, .10);
    --shadow-accent: 0 14px 32px rgba(103, 87, 245, .28);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 84% 7%, rgba(116, 93, 255, .10), transparent 26rem),
        radial-gradient(circle at 96% 92%, rgba(50, 196, 176, .08), transparent 24rem),
        var(--bg-primary);
    color: var(--text-primary);
    font-family: Inter, "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
a:hover { color: var(--accent-hover); text-decoration: none; }
svg { flex-shrink: 0; }

/* App shell */
.app-body { display: block; }
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 109;
    background: rgba(10, 12, 30, .56);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 110;
    width: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    color: #b9bdd0;
    background:
        radial-gradient(circle at 12% 7%, rgba(119, 91, 255, .20), transparent 15rem),
        linear-gradient(180deg, #12142d 0%, #0b0d1d 60%, #090b19 100%);
    border-right: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 18px 0 45px rgba(11, 13, 35, .10);
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 10px; }

.sidebar-logo {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.sidebar-logo:hover { color: #fff; }
.brand-mark {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 13px;
    background: linear-gradient(145deg, #8b75ff, #5c4bf0);
    box-shadow: 0 10px 28px rgba(103, 87, 245, .36), inset 0 1px rgba(255,255,255,.28);
}
.brand-mark::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    border: 3px solid #12142d;
    border-radius: 50%;
    background: #42d5b8;
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { min-width: 0; }
.brand-name { display: block; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.brand-name span { color: #a99cff; }
.brand-tagline { display: block; margin-top: 2px; color: #858aa7; font-size: 8px; font-weight: 700; letter-spacing: 1.45px; text-transform: uppercase; }

.sidebar-balance {
    margin: 18px 14px 8px;
    padding: 17px;
    border: 1px solid rgba(136, 112, 255, .28);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(110, 83, 244, .19), rgba(77, 61, 163, .10));
    box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.sidebar-balance__label { display: flex; align-items: center; gap: 7px; color: #9da2bb; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.sidebar-balance__label::before { content: ""; width: 7px; height: 7px; border-radius: 2px; border: 1px solid #9d90ff; }
.sidebar-balance__value { margin: 7px 0 8px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.7px; }
.sidebar-balance a { color: #a99cff; font-size: 11px; font-weight: 700; }

.sidebar-nav { flex: 1; padding: 6px 14px 18px; }
.sidebar-section {
    margin: 17px 10px 8px;
    color: #62677f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.sidebar-nav a {
    position: relative;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 3px 0;
    padding: 10px 12px;
    color: #9da2ba;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 600;
}
.sidebar-nav a svg {
    width: 18px;
    height: 18px;
    padding: 0;
    color: #83889f;
    transition: color .2s ease, transform .2s ease;
}
.sidebar-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.045);
}
.sidebar-nav a:hover svg { color: #a99cff; transform: translateY(-1px); }
.sidebar-nav a.active {
    color: #fff;
    border-color: rgba(130, 105, 255, .28);
    background: linear-gradient(90deg, rgba(106, 82, 231, .27), rgba(106, 82, 231, .09));
    box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.sidebar-nav a.active::before {
    content: "";
    position: absolute;
    left: -15px;
    width: 4px;
    height: 25px;
    border-radius: 0 8px 8px 0;
    background: #7e68ff;
    box-shadow: 0 0 18px rgba(126,104,255,.8);
}
.sidebar-nav a.active svg { color: #a99cff; }
.nav-icon-box {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin: -3px 0;
    border-radius: 9px;
    background: rgba(255,255,255,.035);
}
.sidebar-nav a.active .nav-icon-box { background: rgba(132, 108, 255, .20); }
.nav-arrow { margin-left: auto; color: #676d87; font-size: 16px; }

.sidebar-footer { padding: 14px; border-top: 1px solid rgba(255,255,255,.07); }
.user-info {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}
.user-info:hover { color: #fff; background: rgba(255,255,255,.05); }
.avatar {
    width: 37px;
    height: 37px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    color: #6554e9;
    border-radius: 11px;
    background: linear-gradient(145deg, #f0edff, #dad4ff);
    font-size: 12px;
    font-weight: 800;
}
.user-meta { min-width: 0; }
.user-meta .name { max-width: 145px; overflow: hidden; color: #f7f7fb; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.user-meta .credits { margin-top: 2px; color: #4ed2b8; font-size: 10px; font-weight: 600; }
.user-meta .role { margin-top: 2px; color: #858aa5; font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }

.main-wrapper { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; margin-left: var(--sidebar-width); }
.topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 32px;
    border-bottom: 1px solid rgba(220, 222, 234, .85);
    background: rgba(249, 250, 254, .86);
    backdrop-filter: blur(18px);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-left { min-width: 0; flex: 1; }
.topbar-right { flex-shrink: 0; }
.topbar-heading { min-width: 0; }
.topbar-eyebrow { color: #9a9fb2; font-size: 8px; font-weight: 800; letter-spacing: 1.45px; text-transform: uppercase; }
.topbar-title { margin-top: 2px; overflow: hidden; color: var(--text-primary); font-size: 20px; font-weight: 800; letter-spacing: -.45px; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: #555d73;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}
.topbar-action {
    height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    color: #fff;
    border-radius: 13px;
    background: var(--navy);
    box-shadow: 0 9px 22px rgba(20,22,48,.16);
    font-size: 12px;
    font-weight: 700;
}
.topbar-action:hover { color: #fff; transform: translateY(-1px); background: #1b1e3b; }
.topbar-wallet {
    min-width: 106px;
    height: 43px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 14px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: rgba(255,255,255,.86);
}
.topbar-wallet small { color: #9a9fb0; font-size: 7px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.topbar-wallet strong { color: #493ad2; font-size: 12px; }
.account-menu { position: relative; }
.account-trigger {
    height: 47px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 8px 4px 5px;
    color: var(--text-primary);
    border: 0;
    border-radius: 13px;
    background: transparent;
    cursor: pointer;
}
.account-trigger:hover { background: rgba(255,255,255,.75); }
.account-avatar { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: #6757ef; border: 1px solid #d9d4ff; border-radius: 12px; background: #ece9ff; font-size: 11px; font-weight: 800; }
.account-avatar::after { content:""; position:absolute; right:-1px; bottom:-1px; width:8px; height:8px; border:2px solid #fff; border-radius:50%; background:#45cfb2; }
.account-copy { text-align: left; }
.account-copy strong { display: block; max-width: 150px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-copy small { display:block; max-width:150px; overflow:hidden; color:#9a9fb1; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.account-chevron { width: 14px; color: #a1a6b7; }
.account-dropdown {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 218px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: .2s ease;
}
.account-menu.is-open .account-dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.account-dropdown a, .account-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    color: #5c6376;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.account-dropdown a:hover, .account-dropdown button:hover { color: var(--accent); background: var(--accent-soft); }
.account-dropdown svg { width: 16px; height: 16px; }
.account-dropdown__divider { height:1px; margin:5px 2px; background:var(--border-color); }

.main-content { width: 100%; max-width: 1480px; flex: 1; margin: 0 auto; padding: 32px 42px 54px; }
.app-footer { margin-top: auto; padding: 15px 30px; color: #a0a5b6; border-top: 1px solid rgba(224,226,237,.75); font-size: 10px; text-align: center; }

/* Common components */
.page-header { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.page-header__eyebrow { margin-bottom:6px; color:var(--accent); font-size:9px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; }
.page-header h1, .main-content > h1 { margin: 0 0 20px; color: var(--text-primary); font-size: 30px !important; font-weight: 850 !important; letter-spacing: -1px; }
.page-header h1 { margin: 0; }
.page-header p { margin:5px 0 0; color:var(--text-secondary); font-size:13px; }
.main-content > .flex-between.mb-4 { margin-bottom:24px; }
.main-content > .flex-between.mb-4 > h1 { color:var(--text-primary) !important; font-size:30px !important; font-weight:850 !important; letter-spacing:-1px; }
.main-content > .flex-between.mb-4 > div { color:var(--text-muted); }

.card, .stat-card {
    color: var(--text-primary);
    border: 1px solid rgba(221, 223, 235, .92);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-sm);
}
.card { margin-bottom: 18px; padding: 22px; }
.card-hover { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.card-hover:hover { transform: translateY(-3px); border-color: #d6d0ff; background:#fff; box-shadow:var(--shadow-md); }
.stat-card { position:relative; min-height:130px; padding:22px; overflow:hidden; }
.stat-card::after { content:""; position:absolute; right:-22px; bottom:-34px; width:90px; height:90px; border-radius:50%; background:rgba(103,87,245,.04); }
.stat-label { color:#8990a5 !important; font-size:9px !important; font-weight:800 !important; letter-spacing:.8px !important; text-transform:uppercase; }
.stat-value { margin-top:16px; color:var(--text-primary); font-size:28px !important; font-weight:850 !important; letter-spacing:-.8px; }
.stat-sub { margin-top:5px; color:#a1a7b8 !important; font-size:10px !important; }

.btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    color: #555d73;
    border: 1px solid #dfe1eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(25, 28, 57, .04);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { color:var(--accent); border-color:#d1cbff; background:#faf9ff; box-shadow:0 8px 18px rgba(37,39,78,.08); transform:translateY(-1px); }
.btn-primary { color:#fff; border-color:transparent; background:linear-gradient(135deg,#755fff,#5b49eb); box-shadow:var(--shadow-accent); }
.btn-primary:hover { color:#fff; border-color:transparent; background:linear-gradient(135deg,#816dff,#604eea); box-shadow:0 16px 34px rgba(103,87,245,.34); }
.btn-success { color:#fff; border-color:transparent; background:var(--green); }
.btn-success:hover { color:#fff; border-color:transparent; background:#18aa8d; }
.btn-danger { color:#d94c69; border-color:#ffd7df; background:#fff3f5; box-shadow:none; }
.btn-danger:hover { color:#fff; border-color:var(--danger); background:var(--danger); }
.btn-sm { min-height:34px; padding:7px 12px; border-radius:10px; font-size:11px; }
.btn-lg { min-height:50px; padding:13px 23px; border-radius:14px; font-size:13px; }
.btn svg { width:16px; height:16px; }

.alert { display:flex; align-items:flex-start; gap:10px; margin-bottom:18px; padding:14px 16px; border-radius:14px; font-size:12px; font-weight:600; box-shadow:var(--shadow-sm); }
.alert svg { width:18px; height:18px; }
.alert-success { color:#148d77; border:1px solid #cbeee7; background:#effbf8; }
.alert-error { color:#d44863; border:1px solid #ffd5dc; background:#fff1f4; }
.alert-info { color:#5543dc; border:1px solid #ddd7ff; background:#f3f0ff; }

.badge { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:8px; font-size:9px; font-weight:800; letter-spacing:.25px; }
.badge::before { content:""; width:5px; height:5px; border-radius:50%; background:currentColor; }
.badge-success { color:#159b82; background:var(--green-soft); }
.badge-error { color:#dc526d; background:var(--danger-soft); }
.badge-warning { color:#ce7a17; background:var(--gold-soft); }
.badge-info { color:#6652e9; background:var(--accent-soft); }
.badge-neutral { color:#737b91; background:#f0f2f7; }

.form-group { margin-bottom:18px; }
.form-group label { display:block; margin-bottom:7px; color:#596176; font-size:11px; font-weight:750; }
input, select, textarea {
    width:100%;
    min-height:46px;
    padding:11px 14px;
    color:var(--text-primary);
    border:1px solid #dfe1eb;
    border-radius:13px;
    outline:none;
    background:#fafbfe;
    font-size:12px;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { min-height:110px; resize:vertical; line-height:1.6; }
input:focus, select:focus, textarea:focus { border-color:#9181ff; background:#fff; box-shadow:0 0 0 4px rgba(103,87,245,.10); }
input::placeholder, textarea::placeholder { color:#b0b5c4; }
select { appearance:none; padding-right:38px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23767d90' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 13px center; }
input[type="checkbox"] { width:17px; min-height:17px; accent-color:var(--accent); }

table { width:100%; border-collapse:collapse; font-size:12px; }
table th { padding:12px 14px; color:#9298aa; border-bottom:1px solid #e7e8f0; background:#fafafe; font-size:8px; font-weight:850; letter-spacing:.85px; text-align:left; text-transform:uppercase; white-space:nowrap; }
table td { padding:14px; color:#62697d; border-bottom:1px solid #eceef4; vertical-align:middle; }
table tbody tr { transition:background .18s ease; }
table tbody tr:hover { background:#faf9ff; }
table tbody tr:last-child td { border-bottom:0; }
.card:has(> table) { padding:0; overflow-x:auto; }
.card:has(> table) > h3 { padding:20px 22px 0; }
.card:has(> table) > table { min-width:720px; }
.table-wrap { width:100%; max-width:100%; overflow-x:auto; border-radius:16px; }
.table-wrap table { min-width:720px; }

pre, .code-block {
    position:relative;
    max-width:100%;
    padding:18px;
    overflow:auto;
    color:#cbd1f8;
    border:1px solid #2d3158;
    border-radius:15px;
    background:linear-gradient(145deg,#14172f,#101226);
    box-shadow:inset 0 1px rgba(255,255,255,.03);
    font-size:12px;
    line-height:1.7;
}
code { font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace; font-size:.93em; }
.copy-btn { position:absolute; top:9px; right:9px; padding:6px 10px; color:#71e1c9; border:1px solid rgba(113,225,201,.25); border-radius:8px; background:rgba(113,225,201,.08); font-size:9px; font-weight:800; cursor:pointer; }

.grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.flex { display:flex; }
.flex-between { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.flex-wrap { flex-wrap:wrap; }
.gap-2 { gap:8px; }.gap-3 { gap:12px; }.gap-4 { gap:16px; }
.mt-1 { margin-top:4px; }.mt-2 { margin-top:8px; }.mt-3 { margin-top:12px; }.mt-4 { margin-top:16px; }
.mb-1 { margin-bottom:4px; }.mb-2 { margin-bottom:8px; }.mb-3 { margin-bottom:12px; }.mb-4 { margin-bottom:18px; }
.text-sm { font-size:12px; }.text-xs { font-size:10px; }
.text-muted { color:var(--text-muted); }.text-green { color:var(--green); }.text-gold { color:var(--gold); }.text-danger { color:var(--danger); }.text-accent { color:var(--accent); }.fw-bold { font-weight:750; }

nav[role="navigation"] { margin-top:18px; color:#777e91; font-size:11px; }
nav[role="navigation"] > div:first-child { display:none; }
nav[role="navigation"] > div:last-child { display:flex; align-items:center; justify-content:space-between; gap:12px; }
nav[role="navigation"] span, nav[role="navigation"] a { display:inline-flex; align-items:center; justify-content:center; min-width:34px; min-height:34px; margin:2px; padding:6px 9px; border:1px solid var(--border-color); border-radius:9px; background:#fff; }

/* Dashboard */
.dashboard-hero {
    position:relative;
    min-height:255px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-bottom:22px;
    padding:34px;
    overflow:hidden;
    color:#fff;
    border-radius:27px;
    background:
        radial-gradient(circle at 85% 45%, rgba(132,105,255,.44), transparent 18rem),
        linear-gradient(120deg,#111329 0%,#17183c 62%,#29205f 100%);
    box-shadow:0 24px 55px rgba(25,25,59,.20);
}
.dashboard-hero::before { content:""; position:absolute; inset:0; opacity:.12; background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px); background-size:38px 38px; mask-image:linear-gradient(90deg,#000,transparent 72%); }
.dashboard-hero__content { position:relative; z-index:2; max-width:700px; }
.dashboard-hero__status { display:flex; align-items:center; gap:8px; margin-bottom:15px; color:#b6acd9; font-size:9px; font-weight:800; letter-spacing:1.05px; text-transform:uppercase; }
.dashboard-hero__status::before { content:""; width:8px; height:8px; border-radius:50%; background:#4ad8b9; box-shadow:0 0 16px rgba(74,216,185,.7); }
.dashboard-hero h1 { margin:0; color:#fff; font-size:40px !important; line-height:1.12; letter-spacing:-1.6px; }
.dashboard-hero h1 span { color:#8e79ff; }
.dashboard-hero p { max-width:590px; margin:11px 0 20px; color:#aeb3ca; font-size:12px; line-height:1.7; }
.dashboard-hero__actions { display:flex; gap:10px; flex-wrap:wrap; }
.dashboard-hero__actions .btn:not(.btn-primary) { color:#51586e; }
.dashboard-orbit { position:relative; z-index:1; width:170px; height:170px; display:grid; place-items:center; flex-shrink:0; border:1px solid rgba(255,255,255,.10); border-radius:50%; }
.dashboard-orbit::before, .dashboard-orbit::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.10); border-radius:50%; }
.dashboard-orbit::before { inset:16px; }.dashboard-orbit::after { inset:35px; }
.dashboard-orbit__value { position:relative; z-index:2; text-align:center; }
.dashboard-orbit__value strong { display:block; color:#fff; font-size:29px; }.dashboard-orbit__value small { color:#9197b3; font-size:8px; letter-spacing:.7px; text-transform:uppercase; }
.metric-card { min-height:142px; display:flex; flex-direction:column; justify-content:space-between; }
.metric-card__top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.metric-card__icon { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; background:var(--accent-soft); color:var(--accent); }
.metric-card__icon.green { color:var(--green); background:var(--green-soft); }.metric-card__icon.blue { color:var(--blue); background:var(--blue-soft); }.metric-card__icon.gold { color:var(--gold); background:var(--gold-soft); }
.metric-card__icon svg { width:17px; height:17px; }
.metric-card__value { color:var(--text-primary); font-size:27px; font-weight:850; letter-spacing:-.8px; }
.metric-card__hint { display:flex; align-items:center; gap:5px; color:#a0a6b7; font-size:9px; }.metric-card__hint::before { content:""; width:5px; height:5px; border-radius:50%; background:#4bcfb3; }
.section-card { min-width:0; padding:0; overflow:hidden; }
.section-card__header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:20px 22px; border-bottom:1px solid #e9eaf1; }
.section-card__header h3 { margin:0; font-size:14px; }.section-card__header p { margin:3px 0 0; color:#9da3b4; font-size:9px; }
.empty-state { min-height:260px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:35px; text-align:center; }
.empty-state__icon { width:56px; height:56px; display:grid; place-items:center; margin-bottom:14px; color:var(--accent); border:1px solid #dfd9ff; border-radius:17px; background:#f5f2ff; }.empty-state__icon svg { width:24px; height:24px; }
.empty-state h4 { margin:0 0 5px; font-size:13px; }.empty-state p { max-width:360px; margin:0 0 16px; color:#9aa0b2; font-size:10px; }

/* Endpoint and pricing cards */
.endpoint-category { margin:28px 0 13px; display:flex; align-items:center; gap:9px; color:#7c8398 !important; font-size:10px !important; font-weight:850 !important; letter-spacing:1.15px !important; text-transform:uppercase; }
.endpoint-category::before { content:""; width:20px; height:3px; border-radius:4px; background:linear-gradient(90deg,var(--accent),#a395ff); }
.endpoint-card { position:relative; min-height:230px; display:flex; flex-direction:column; overflow:hidden; }
.endpoint-card::after { content:"</>"; position:absolute; right:-5px; bottom:-12px; color:rgba(103,87,245,.035); font:800 70px/1 monospace; }
.endpoint-card__icon { width:42px; height:42px; display:grid; place-items:center; margin-bottom:18px; color:var(--accent); border-radius:13px; background:var(--accent-soft); }.endpoint-card__icon svg { width:20px; height:20px; }
.endpoint-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.endpoint-card h3 { margin:0 0 6px; font-size:16px; }.endpoint-card p { flex:1; margin:0 0 16px; color:var(--text-secondary); font-size:11px; line-height:1.65; }
.endpoint-path { max-width:100%; display:inline-flex; align-items:center; gap:7px; padding:7px 9px; overflow:hidden; color:#636a7f; border:1px solid #e7e8ef; border-radius:9px; background:#f8f9fc; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.endpoint-card__footer { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; padding-top:16px; border-top:1px solid #eceef4; }
.endpoint-price strong { color:var(--green); font-size:18px; }.endpoint-price span { color:#9ba1b2; font-size:9px; }
.pricing-card { position:relative; min-height:310px; display:flex; flex-direction:column; padding:28px 22px !important; text-align:center; }
.pricing-card.is-featured { border-color:#bcb1ff !important; box-shadow:0 20px 48px rgba(103,87,245,.16); }
.pricing-card__pill { align-self:center; margin-bottom:14px; padding:5px 12px; color:#fff; border-radius:20px; background:var(--accent); font-size:8px; font-weight:850; letter-spacing:.7px; text-transform:uppercase; }
.pricing-card h3 { margin:0 0 12px; font-size:15px; }.pricing-card__price { color:var(--text-primary); font-size:34px; font-weight:900; letter-spacing:-1px; }.pricing-card__credits { margin:5px 0; color:var(--green); font-size:17px; font-weight:800; }.pricing-card__bonus { color:var(--gold); font-size:10px; font-weight:700; }.pricing-card form { margin-top:auto; padding-top:20px; }

/* Guest shell and landing */
.guest-body { display:block; background:#f8f9fd; }
.guest-body .main-wrapper { margin-left:0; }
.guest-body .main-content { max-width:none; padding:0; }
.public-nav {
    position:sticky;
    top:0;
    z-index:100;
    height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:0 max(24px,calc((100vw - 1180px)/2));
    border-bottom:1px solid rgba(222,224,235,.78);
    background:rgba(250,251,254,.88);
    backdrop-filter:blur(18px);
}
.public-brand { display:flex; align-items:center; gap:10px; color:var(--text-primary); font-size:18px; font-weight:850; letter-spacing:-.5px; }
.public-brand:hover { color:var(--text-primary); }.public-brand .brand-mark { width:38px; height:38px; border-color:transparent; }.public-brand .brand-mark::after { border-color:#fafbfe; }
.public-links { display:flex; align-items:center; gap:28px; }.public-links a { color:#6c7387; font-size:11px; font-weight:650; }.public-links a:hover { color:var(--accent); }
.public-actions { display:flex; align-items:center; gap:9px; }
.public-footer { padding:32px 24px; color:#8f95a8; border-top:1px solid #e6e8f0; background:#fff; font-size:11px; text-align:center; }

.landing-hero { position:relative; overflow:hidden; padding:78px 24px 58px; }
.landing-hero::before { content:""; position:absolute; width:650px; height:650px; right:-220px; top:-320px; border-radius:50%; background:radial-gradient(circle,rgba(116,94,255,.20),transparent 68%); }
.landing-container { position:relative; z-index:1; max-width:1180px; margin:0 auto; }
.landing-hero__grid { display:grid; grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr); align-items:center; gap:70px; }
.landing-pill { display:inline-flex; align-items:center; gap:8px; margin-bottom:20px; padding:7px 12px; color:#5e4be3; border:1px solid #ddd7ff; border-radius:30px; background:#f2efff; font-size:9px; font-weight:800; letter-spacing:.65px; text-transform:uppercase; }
.landing-pill span { width:7px; height:7px; border-radius:50%; background:#37c9aa; box-shadow:0 0 0 4px rgba(55,201,170,.12); }
.landing-hero h1 { max-width:650px; margin:0; color:var(--text-primary); font-size:58px; font-weight:900; line-height:1.03; letter-spacing:-3px; }
.landing-hero h1 em { color:var(--accent); font-style:normal; }
.landing-hero__lead { max-width:590px; margin:22px 0 28px; color:#686f83; font-size:16px; line-height:1.7; }
.landing-hero__actions { display:flex; gap:11px; flex-wrap:wrap; }.landing-trust { display:flex; align-items:center; gap:22px; margin-top:26px; color:#8d93a6; font-size:10px; }.landing-trust span { display:flex; align-items:center; gap:6px; }.landing-trust svg { width:14px; color:var(--green); }
.code-preview { position:relative; padding:14px; border:1px solid rgba(255,255,255,.10); border-radius:27px; background:linear-gradient(145deg,#202250,#101227); box-shadow:0 32px 80px rgba(27,24,78,.28); transform:rotate(1deg); }
.code-preview::before { content:""; position:absolute; inset:-20px; z-index:-1; border-radius:40px; background:linear-gradient(135deg,rgba(117,95,255,.17),rgba(47,209,177,.10)); filter:blur(18px); }
.code-window { overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:18px; background:#101226; }
.code-window__bar { display:flex; align-items:center; justify-content:space-between; padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.025); }
.code-dots { display:flex; gap:6px; }.code-dots i { width:7px; height:7px; border-radius:50%; background:#e96179; }.code-dots i:nth-child(2){background:#eaa74a}.code-dots i:nth-child(3){background:#3bd0b0}.code-window__bar span { color:#777e9d; font:600 9px monospace; }
.code-window pre { min-height:270px; margin:0; padding:25px; border:0; border-radius:0; background:transparent; box-shadow:none; font-size:12px; line-height:1.9; }.code-purple{color:#a998ff}.code-cyan{color:#65dbc3}.code-gold{color:#efb55f}.code-dim{color:#727894}.code-white{color:#e7e9f6}
.code-response { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 15px 15px; padding:12px 14px; color:#9ea4be; border:1px solid rgba(66,210,181,.17); border-radius:11px; background:rgba(66,210,181,.06); font:600 9px monospace; }.code-response strong { color:#51d8bc; }

.landing-metrics { position:relative; z-index:2; max-width:1060px; display:grid; grid-template-columns:repeat(4,1fr); margin:0 auto 72px; padding:24px; border:1px solid #e4e5ee; border-radius:22px; background:#fff; box-shadow:var(--shadow-md); }
.landing-metric { padding:4px 25px; text-align:center; border-right:1px solid #eceef3; }.landing-metric:last-child{border:0}.landing-metric strong{display:block;color:var(--text-primary);font-size:24px;font-weight:900;letter-spacing:-.8px}.landing-metric span{color:#969caf;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}
.landing-section { padding:74px 24px; }.landing-section--tint { background:linear-gradient(180deg,#f2f2fb,#f8f9fd); }.landing-section--dark { color:#fff; background:linear-gradient(135deg,#101229,#1e194a); }
.section-heading { max-width:650px; margin:0 auto 42px; text-align:center; }.section-heading__eyebrow { color:var(--accent); font-size:9px; font-weight:850; letter-spacing:1.3px; text-transform:uppercase; }.section-heading h2{margin:9px 0 11px;color:var(--text-primary);font-size:36px;line-height:1.15;letter-spacing:-1.5px}.section-heading p{margin:0;color:#777e92;font-size:13px;line-height:1.7}.landing-section--dark .section-heading h2{color:#fff}.landing-section--dark .section-heading p{color:#a7acc2}
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }.feature-card { min-height:235px; padding:27px; border:1px solid #e3e5ee; border-radius:20px; background:#fff; box-shadow:var(--shadow-sm); transition:.22s ease; }.feature-card:hover{transform:translateY(-4px);border-color:#d2ccff;box-shadow:var(--shadow-md)}.feature-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:20px;color:var(--accent);border-radius:14px;background:var(--accent-soft)}.feature-icon.green{color:var(--green);background:var(--green-soft)}.feature-icon.gold{color:var(--gold);background:var(--gold-soft)}.feature-icon svg{width:22px;height:22px}.feature-card h3{margin:0 0 8px;font-size:15px}.feature-card p{margin:0;color:#7c8397;font-size:11px;line-height:1.7}
.landing-endpoint-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.landing-endpoint-card { position:relative; min-height:205px; padding:22px; overflow:hidden; border:1px solid #e4e6ef; border-radius:18px; background:#fff; box-shadow:var(--shadow-sm); }.landing-endpoint-card h3{margin:14px 0 6px;font-size:14px}.landing-endpoint-card p{margin:0 0 15px;color:#83899b;font-size:10px;line-height:1.6}.landing-endpoint-card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.landing-endpoint-card code{max-width:175px;overflow:hidden;color:#6d7387;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.landing-endpoint-card strong{color:var(--green);font-size:12px}
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }.step-card{position:relative;text-align:center}.step-number{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 17px;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:17px;background:rgba(255,255,255,.08);font-size:16px;font-weight:850}.step-card:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 42px);top:27px;width:calc(100% - 84px);border-top:1px dashed rgba(255,255,255,.20)}.step-card h3{margin:0 0 7px;color:#fff;font-size:14px}.step-card p{max-width:270px;margin:0 auto;color:#9fa5bf;font-size:10px;line-height:1.7}
.landing-cta { max-width:1030px; display:flex; align-items:center; justify-content:space-between; gap:30px; margin:75px auto; padding:38px 42px; color:#fff; border-radius:26px; background:linear-gradient(125deg,#6d58f4,#4f3ed9 62%,#2a9f91); box-shadow:0 24px 60px rgba(94,71,225,.27); }.landing-cta h2{margin:0 0 6px;font-size:27px;letter-spacing:-1px}.landing-cta p{margin:0;color:rgba(255,255,255,.72);font-size:11px}.landing-cta .btn{flex-shrink:0;color:#5142cd;border:0;background:#fff}

/* Authentication */
.auth-shell { min-height:calc(100vh - 74px); display:grid; grid-template-columns:minmax(0,1.05fr) minmax(460px,.95fr); }
.auth-visual { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:700px; padding:54px; overflow:hidden; color:#fff; background:radial-gradient(circle at 25% 15%,rgba(128,102,255,.35),transparent 23rem),linear-gradient(145deg,#111329,#18143d 70%,#25205a); }
.auth-visual::before{content:"";position:absolute;inset:0;opacity:.10;background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(#000,transparent 84%)}
.auth-visual__content,.auth-visual__quote{position:relative;z-index:1}.auth-visual__badge{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;padding:7px 11px;color:#c5bdf7;border:1px solid rgba(255,255,255,.12);border-radius:30px;background:rgba(255,255,255,.06);font-size:9px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}.auth-visual h1{max-width:600px;margin:0;color:#fff;font-size:47px;line-height:1.08;letter-spacing:-2px}.auth-visual h1 span{color:#9684ff}.auth-visual p{max-width:570px;margin:18px 0 0;color:#aeb3c9;font-size:13px;line-height:1.8}.auth-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:33px}.auth-benefit{padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.035)}.auth-benefit strong{display:block;color:#fff;font-size:12px}.auth-benefit span{display:block;margin-top:3px;color:#8f95b0;font-size:9px}.auth-visual__quote{display:flex;align-items:center;gap:11px;color:#8f95ae;font-size:10px}.auth-visual__quote i{width:8px;height:8px;border-radius:50%;background:#47d4b5;box-shadow:0 0 15px rgba(71,212,181,.75)}
.auth-panel { display:flex; align-items:center; justify-content:center; padding:55px 38px; background:#f8f9fd; }.auth-card{width:100%;max-width:440px}.auth-card__head{margin-bottom:27px}.auth-card__eyebrow{color:var(--accent);font-size:9px;font-weight:850;letter-spacing:1.1px;text-transform:uppercase}.auth-card h2{margin:7px 0 5px;color:var(--text-primary);font-size:31px;letter-spacing:-1px}.auth-card__head p{margin:0;color:#858c9f;font-size:12px}.auth-form-card{padding:26px;border:1px solid #e2e4ed;border-radius:22px;background:#fff;box-shadow:var(--shadow-md)}.auth-input{position:relative}.auth-input svg{position:absolute;left:14px;top:50%;width:17px;height:17px;color:#a3a9ba;transform:translateY(-50%)}.auth-input input{padding-left:42px}.auth-submit{width:100%;min-height:48px}.auth-separator{height:1px;margin:20px 0;background:#e9eaf1}.auth-switch{margin:0;color:#9298a9;font-size:11px;text-align:center}.auth-switch a{font-weight:800}

.guest-body .flash-stack { max-width: 1180px; margin: 18px auto 0; padding: 0 24px; }

.dashboard-content-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(280px,.72fr); gap:18px; align-items:start; }
.admin-dashboard-grid { display:grid; grid-template-columns:1fr; gap:0; }
.usage-chart { overflow:hidden; }
.usage-bars { height:200px; display:flex; align-items:flex-end; gap:13px; padding:5px 5px 0; }
.usage-bar { min-width:24px; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; text-align:center; }
.usage-bar strong { margin-bottom:7px; color:#7d8498; font-size:9px; }
.usage-bar i { width:100%; max-width:55px; min-height:4px; display:block; border-radius:8px 8px 3px 3px; background:linear-gradient(180deg,#8d7aff,#6553ee); box-shadow:0 6px 16px rgba(103,87,245,.20); }
.usage-bar span { margin-top:7px; color:#999fb0; font-size:8px; font-weight:750; text-transform:uppercase; }
.quick-actions__list { display:grid; gap:9px; padding:14px; }
.quick-actions__list a { display:grid; grid-template-columns:40px minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px; color:var(--text-primary); border:1px solid #e7e8f0; border-radius:14px; background:#fbfbfe; }
.quick-actions__list a:hover { border-color:#d8d2ff; background:#f8f6ff; transform:translateY(-1px); }
.quick-actions__list .metric-card__icon { width:38px; height:38px; }
.quick-actions__list strong { display:block; font-size:10px; }.quick-actions__list small { display:block; margin-top:2px; color:#9ba1b2; font-size:8px; }.quick-actions__list b { color:#a6abba; font-size:17px; font-weight:400; }

.catalog-search-form { position:relative; width:320px; max-width:100%; }
.catalog-search-form svg { position:absolute; left:14px; top:50%; width:17px; height:17px; color:#a1a6b7; transform:translateY(-50%); pointer-events:none; }
.catalog-search-form input { padding-left:42px; background:#fff; box-shadow:var(--shadow-sm); }
.back-link { display:inline-flex; align-items:center; gap:4px; margin-bottom:8px; color:#868da1; font-size:10px; font-weight:700; }.back-link svg{width:14px}.back-link:hover{color:var(--accent)}
.endpoint-detail-header p { max-width:750px; }
.endpoint-doc-hero { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:18px; padding:28px 31px; color:#fff; border-radius:22px; background:radial-gradient(circle at 85% 50%,rgba(125,101,255,.38),transparent 18rem),linear-gradient(125deg,#111329,#20194d); box-shadow:0 18px 44px rgba(22,22,56,.17); }
.endpoint-doc-hero__eyebrow { margin-bottom:8px; color:#9b91cf; font-size:8px; font-weight:850; letter-spacing:1.2px; text-transform:uppercase; }.endpoint-doc-hero code{color:#fff;font-size:16px;font-weight:700}.endpoint-doc-hero p{margin:8px 0 0;color:#a9afc7;font-size:10px}
.endpoint-doc-price { flex-shrink:0; padding-left:28px; border-left:1px solid rgba(255,255,255,.12); text-align:right; }.endpoint-doc-price small,.endpoint-doc-price span{display:block;color:#9ea5bf;font-size:8px;text-transform:uppercase;letter-spacing:.7px}.endpoint-doc-price strong{display:inline-block;margin:3px 3px 0 0;color:#65dcc5;font-size:28px;letter-spacing:-.8px}
.endpoint-doc-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:18px; }
.detail-list { display:grid; }.detail-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eceef3}.detail-list>div:last-child{border:0}.detail-list span{color:#9197a9;font-size:10px}.detail-list strong{color:#4f566a;font-size:11px;text-align:right}
.api-credential-card label { display:block; margin-bottom:8px; color:#8a91a4; font-size:9px; font-weight:750; }
.inline-code { display:inline-block; padding:3px 7px; color:#6256bd; border:1px solid #e4e1f8; border-radius:7px; background:#f7f5ff; font-size:10px; }
.markdown-body { padding:22px; color:#60677b; border:1px solid #e6e7ef; border-radius:15px; background:#fafbfe; font-size:12px; line-height:1.8; }.markdown-body h1,.markdown-body h2,.markdown-body h3{color:var(--text-primary);margin:1.2em 0 .45em}.markdown-body h1{font-size:23px}.markdown-body h2{font-size:18px}.markdown-body h3{font-size:14px}.markdown-body p:first-child{margin-top:0}.markdown-body code{padding:2px 5px;color:#5b4bd7;border-radius:5px;background:#eeebff}.markdown-body pre code{padding:0;color:inherit;background:transparent}
.try-endpoint-card { display:grid; grid-template-columns:minmax(230px,.45fr) minmax(0,1fr); gap:35px; align-items:start; }.try-endpoint-card h3{margin:0 0 7px;font-size:19px}.try-endpoint-card p{margin:0;color:#858c9f;font-size:11px;line-height:1.65}

.credit-balance-pill { min-width:180px; padding:13px 18px; color:#fff; border-radius:16px; background:linear-gradient(135deg,#181a39,#2b225f); box-shadow:0 14px 30px rgba(26,26,63,.17); }.credit-balance-pill span,.credit-balance-pill small{display:block;color:#9fa5c0;font-size:8px;text-transform:uppercase;letter-spacing:.7px}.credit-balance-pill strong{display:inline-block;margin:2px 4px 0 0;font-size:23px}.credit-balance-pill small{display:inline;font-size:7px}
.secure-payment-note { display:flex; align-items:center; justify-content:center; gap:10px; margin:4px 0 26px; color:#6d7488; font-size:10px; text-align:left; }.secure-payment-note svg{width:23px;height:23px;color:var(--green)}.secure-payment-note strong,.secure-payment-note span{display:block}.secure-payment-note strong{color:#4e5669;font-size:10px}.secure-payment-note span{color:#9aa0b1;font-size:9px}

.credential-alert { display:grid; grid-template-columns:48px 1fr; gap:15px; margin-bottom:18px; padding:22px; color:#7c5918; border:1px solid #f2d9ad; border-radius:18px; background:#fff9ed; box-shadow:var(--shadow-sm); }.credential-alert__icon{width:46px;height:46px;display:grid;place-items:center;color:var(--gold);border-radius:14px;background:#ffefcf}.credential-alert__icon svg{width:22px}.credential-alert h3{margin:0 0 5px;font-size:14px}.credential-alert p{margin:0 0 12px;color:#9a7b42;font-size:10px}
.credential-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr); gap:18px; align-items:start; }.credential-main{position:relative;overflow:hidden}.credential-main::after{content:"";position:absolute;right:-70px;top:-70px;width:190px;height:190px;border-radius:50%;background:rgba(103,87,245,.05)}.credential-shield{width:56px;height:56px;display:grid;place-items:center;margin-bottom:19px;color:var(--accent);border-radius:17px;background:var(--accent-soft)}.credential-shield svg{width:26px}.credential-main h2{margin:5px 0 7px;font-size:23px;letter-spacing:-.6px}.credential-main>p{max-width:650px;margin:0 0 19px;color:#737a8e;font-size:11px;line-height:1.7}.credential-key span{display:block;padding-right:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credential-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.security-tips ul{list-style:none;margin:0;padding:0 14px 14px}.security-tips li{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #eceef3}.security-tips li:last-child{border:0}.security-tips li>span{width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;color:var(--accent);border-radius:9px;background:var(--accent-soft);font-size:8px;font-weight:850}.security-tips strong,.security-tips small{display:block}.security-tips strong{font-size:10px}.security-tips small{margin-top:3px;color:#979dad;font-size:8px;line-height:1.5}

.profile-grid { display:grid; grid-template-columns:300px minmax(0,1fr); gap:18px; align-items:start; }.profile-summary{text-align:center}.profile-avatar{width:78px;height:78px;display:grid;place-items:center;margin:4px auto 15px;color:#fff;border:5px solid #eeeaff;border-radius:25px;background:linear-gradient(145deg,#806bff,#5948e7);box-shadow:0 14px 30px rgba(103,87,245,.28);font-size:22px;font-weight:850}.profile-summary h2{margin:0;font-size:18px}.profile-summary>p{margin:3px 0 12px;color:#9096a8;font-size:10px}.profile-summary__stats{display:grid;grid-template-columns:1fr 1fr;margin:20px 0;padding:16px 0;border-top:1px solid #e9eaf1;border-bottom:1px solid #e9eaf1}.profile-summary__stats div+div{border-left:1px solid #e9eaf1}.profile-summary__stats span,.profile-summary__stats strong{display:block}.profile-summary__stats span{color:#9ba1b2;font-size:8px;text-transform:uppercase}.profile-summary__stats strong{margin-top:4px;color:#4f5669;font-size:12px}.profile-form-divider{position:relative;margin:9px 0 14px;border-top:1px solid #e8e9f0}.profile-form-divider span{position:relative;top:-10px;padding-right:10px;color:#777e92;background:#fff;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}.form-help{margin:-4px 0 16px;color:#9ca2b3;font-size:9px}

.filter-card { padding:18px; }.filter-grid { display:grid; grid-template-columns:minmax(180px,1.4fr) minmax(130px,.7fr) minmax(140px,.7fr) minmax(135px,.7fr) auto; gap:11px; align-items:end; }.filter-grid .form-group{margin:0}.filter-actions{display:flex;gap:7px}.call-details-row td{padding:0!important;background:#f6f7fb}.call-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px}.call-details-grid>div>span{display:block;margin-bottom:6px;color:#8e94a7;font-size:8px;font-weight:850;letter-spacing:.7px;text-transform:uppercase}.call-details-grid pre{max-height:240px;margin:0;font-size:10px}

.mobile-nav { display:none; }

@media (max-width: 1180px) {
    :root { --sidebar-width:260px; }
    .main-content { padding:28px 28px 50px; }
    .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .landing-hero__grid { gap:38px; }
    .landing-hero h1 { font-size:49px; }
}

@media (max-width: 920px) {
    .sidebar { transform:translateX(-102%); transition:transform .25s ease; }
    .sidebar.open { transform:translateX(0); }
    .main-wrapper { width:100%; margin-left:0; }
    .menu-toggle { display:grid; }
    .topbar { width:100%; max-width:100vw; padding:12px 18px; }
    .topbar-action span, .account-copy, .account-chevron { display:none; }
    .topbar-action { width:43px; padding:0; justify-content:center; }
    .account-trigger { padding:4px; }
    .main-content { padding:24px 20px 110px; }
    .app-footer { padding-bottom:92px; }
    .mobile-nav { position:fixed; left:12px; right:12px; bottom:12px; z-index:95; height:68px; display:grid; grid-template-columns:repeat(5,1fr); align-items:center; padding:5px 8px; border:1px solid rgba(255,255,255,.08); border-radius:21px; background:rgba(14,16,35,.96); box-shadow:0 18px 42px rgba(13,15,37,.32); backdrop-filter:blur(18px); }
    .mobile-nav a { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#747a91; font-size:7px; font-weight:650; }.mobile-nav a svg{width:18px;height:18px}.mobile-nav a.active{color:#9583ff}.mobile-nav a.mobile-nav__main{width:52px;height:52px;justify-self:center;margin-top:-28px;color:#fff;border:4px solid #f5f6fb;border-radius:50%;background:linear-gradient(145deg,#826dff,#5c49e9);box-shadow:0 9px 24px rgba(103,87,245,.45)}.mobile-nav a.mobile-nav__main svg{width:22px;height:22px}.mobile-nav a.mobile-nav__main span{display:none}
    .landing-hero__grid { grid-template-columns:1fr; }.landing-hero__copy{text-align:center}.landing-hero h1,.landing-hero__lead{margin-left:auto;margin-right:auto}.landing-hero__actions,.landing-trust{justify-content:center}.code-preview{max-width:590px;margin:10px auto 0;transform:none}.feature-grid,.landing-endpoint-grid{grid-template-columns:repeat(2,1fr)}
    .auth-shell { grid-template-columns:1fr; }.auth-visual{display:none}.auth-panel{min-height:calc(100vh - 74px)}
    .dashboard-content-grid,.credential-layout { grid-template-columns:1fr; }
    .profile-grid { grid-template-columns:260px minmax(0,1fr); }
    .filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.filter-actions{align-self:end}
}

@media (max-width: 680px) {
    .topbar { min-height:70px; }.topbar-eyebrow{display:none}.topbar-title{font-size:17px}.topbar-wallet{display:none}
    .main-content { padding:20px 14px 105px; }
    .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; }
    .flex-between,.page-header { align-items:stretch; flex-direction:column; }
    .main-content > .flex-between.mb-4 form { width:100% !important; }.main-content > .flex-between.mb-4 .btn{align-self:flex-start}
    .page-header h1,.main-content > h1 { font-size:25px !important; }
    .card { padding:18px; border-radius:17px; }
    .dashboard-hero { min-height:315px; padding:25px 22px; border-radius:23px; }.dashboard-hero h1{font-size:32px !important}.dashboard-orbit{display:none}.dashboard-hero__actions{display:grid}.dashboard-hero__actions .btn{width:100%}
    .public-nav { height:68px; padding:0 15px; }.public-links{display:none}.public-actions .btn:first-child{display:none}.public-brand{font-size:16px}.public-brand .brand-mark{width:35px;height:35px}
    .landing-hero { padding:54px 17px 42px; }.landing-hero h1{font-size:42px;letter-spacing:-2px}.landing-hero__lead{font-size:14px}.landing-hero__actions{display:grid}.landing-hero__actions .btn{width:100%}.landing-trust{flex-wrap:wrap;gap:9px 15px}.code-window pre{min-height:230px;padding:18px;font-size:10px}.landing-metrics{grid-template-columns:repeat(2,1fr);margin:0 16px 45px;padding:14px}.landing-metric{padding:13px;border-right:0}.landing-metric:nth-child(odd){border-right:1px solid #eceef3}.landing-metric:nth-child(-n+2){border-bottom:1px solid #eceef3}.landing-section{padding:54px 16px}.section-heading h2{font-size:29px}.feature-grid,.landing-endpoint-grid,.steps-grid{grid-template-columns:1fr}.step-card:not(:last-child)::after{display:none}.landing-cta{margin:45px 16px;padding:29px 24px;align-items:stretch;flex-direction:column;text-align:center}.landing-cta .btn{width:100%}
    .auth-panel{padding:38px 14px}.auth-form-card{padding:21px}.auth-card h2{font-size:28px}
    .account-dropdown { position:fixed; top:76px; right:13px; }
    table { font-size:11px; }
    .pricing-card { min-height:auto; }
    .dashboard-content-grid,.endpoint-doc-grid,.profile-grid,.try-endpoint-card { grid-template-columns:1fr; }
    .usage-bars { gap:6px; }.usage-bar strong{font-size:7px}.usage-bar i{max-width:32px}
    .catalog-search-form { width:100%; }
    .endpoint-doc-hero { align-items:flex-start; flex-direction:column; padding:22px; }.endpoint-doc-hero code{font-size:12px;word-break:break-all}.endpoint-doc-price{width:100%;padding:16px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.12);text-align:left}
    .try-endpoint-card { gap:20px; }
    .credential-alert { grid-template-columns:1fr; }.credential-actions{display:grid}.credential-actions>*{width:100%}.credential-actions .btn{width:100%}.credential-key span{white-space:normal;word-break:break-all}
    .profile-summary { order:2; }.profile-form-card{order:1}
    .filter-grid { grid-template-columns:1fr; }.filter-actions{display:grid;grid-template-columns:1fr 1fr}.call-details-grid{grid-template-columns:1fr}
    .secure-payment-note { align-items:flex-start; padding:0 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}
