:root {
    --ink: #080808;
    --ink-soft: #101012;
    --forest: #141416;
    --forest-2: #1c1c1f;
    --green: #ffd700;
    --green-strong: #ffc107;
    --green-soft: #fff1a6;
    --cream: #111113;
    --paper: #0c0c0e;
    --white: #fff;
    --muted: #97979f;
    --line: rgba(255, 255, 255, .1);
    --dark-line: rgba(255, 255, 255, .1);
    --amber: #f5a623;
    --violet: #ffe27a;
    --danger: #df5e62;
    --shadow: 0 24px 70px rgba(0, 0, 0, .45);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --sidebar: 272px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.portal-page { min-height: 100vh; overflow-x: hidden; }

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 850;
    letter-spacing: -.04em;
}
.brand img { display: block; max-width: 142px; max-height: 39px; object-fit: contain; }
.partner-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    white-space: nowrap;
}
.partner-bolt {
    display: block;
    width: .76em;
    height: 1.18em;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ffea00 0%, #ffd700 58%, #ffad16 100%);
    clip-path: polygon(65.625% 0, 0 57.692%, 40.625% 57.692%, 25% 100%, 100% 38.462%, 56.25% 38.462%);
    filter: drop-shadow(0 0 6px rgba(255,215,0,.5));
}
.partner-name {
    color: var(--white);
    font-family: "Arial Black", "Segoe UI Black", Inter, ui-sans-serif, sans-serif;
    font-size: 1em;
    font-weight: 950;
    letter-spacing: -.055em;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: var(--ink);
    background: var(--green);
    font-size: 17px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}
.brand-name { font-size: 20px; }
.brand-divider { width: 1px; height: 19px; background: currentColor; opacity: .2; }
.brand-product { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; opacity: .62; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 760;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: linear-gradient(135deg, #ffe45c 0%, var(--green) 45%, #f5a623 100%); box-shadow: 0 12px 30px rgba(255,193,7,.2); }
.button-primary:hover { background: linear-gradient(135deg, #fff07d 0%, #ffdc20 50%, #ffb323 100%); box-shadow: 0 16px 36px rgba(255,193,7,.3); }
.button-ghost { min-height: 44px; border: 1px solid rgba(255,255,255,.18); color: var(--white); background: rgba(255,255,255,.05); }
.button-link { padding-inline: 8px; color: var(--white); background: transparent; }
.button-link:hover { background: rgba(255,255,255,.05); }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #557068;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: var(--green-strong); }
.eyebrow.light { color: rgba(255,255,255,.55); }

/* Marketing landing */
.landing-page { position: relative; color: var(--white); background: var(--ink); }
.landing-page::before {
    position: absolute;
    inset: 0 0 auto;
    height: 920px;
    content: "";
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.ambient { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.ambient-one { top: -300px; right: -220px; width: 740px; height: 740px; background: radial-gradient(circle, rgba(90,180,70,.14), transparent 66%); }
.ambient-two { top: 330px; left: -380px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(155,242,59,.06), transparent 68%); }
.marketing-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid rgba(255,255,255,.07); }
.marketing-nav { display: flex; align-items: center; gap: 36px; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 620; }
.marketing-nav a { transition: color .2s ease; }
.marketing-nav a:hover { color: var(--white); }
.header-login { padding-inline: 18px; }
.hero { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); align-items: center; min-height: 690px; padding-block: 72px 90px; }
.hero-copy { position: relative; z-index: 2; padding-right: 44px; }
.hero h1 { margin: 23px 0 23px; font-size: clamp(47px, 5.1vw, 72px); line-height: .99; letter-spacing: -.065em; font-weight: 760; }
.hero h1 em { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lead { max-width: 560px; margin: 0; color: rgba(255,255,255,.58); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 35px; }
.hero-trust { display: flex; align-items: stretch; gap: 0; margin-top: 58px; }
.hero-trust div { min-width: 145px; padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.1); }
.hero-trust div:last-child { border: 0; }
.hero-trust strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 19px; }
.hero-trust span { color: rgba(255,255,255,.38); font-size: 11px; }
.hero-visual { position: relative; height: 540px; perspective: 1400px; }
.preview-glow { position: absolute; inset: 8% 2% 2% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(155,242,59,.17), transparent 67%); filter: blur(25px); }
.dashboard-preview {
    position: absolute;
    top: 25px;
    left: 31px;
    width: 570px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background: #102019;
    box-shadow: 0 42px 110px rgba(0,0,0,.55);
    transform: rotateY(-8deg) rotateX(2deg) rotateZ(1deg);
    transform-origin: center;
}
.preview-topbar { display: flex; align-items: center; gap: 13px; height: 47px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); }
.preview-avatar { display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border-radius: 8px; color: var(--ink); background: var(--green); font-weight: 900; }
.preview-body { padding: 22px; }
.preview-greeting { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-greeting small, .preview-greeting strong { display: block; }
.preview-greeting small { margin-bottom: 4px; color: rgba(255,255,255,.38); font-size: 9px; }
.preview-greeting strong { font-size: 14px; }
.status-pill { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(155,242,59,.16); border-radius: 999px; color: rgba(255,255,255,.58); background: rgba(155,242,59,.06); font-size: 8px; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.preview-stats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 9px; }
.preview-stat { min-height: 87px; padding: 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.035); }
.preview-stat.featured { background: var(--green); color: var(--ink); border-color: transparent; }
.preview-stat small, .preview-stat strong, .preview-stat span { display: block; }
.preview-stat small { opacity: .55; font-size: 8px; }
.preview-stat strong { margin: 13px 0 7px; font-size: 17px; }
.preview-stat span { color: rgba(255,255,255,.38); font-size: 7px; }
.preview-stat.featured span { color: rgba(7,17,15,.58); }
.preview-chart-card { margin-top: 10px; padding: 15px 16px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(255,255,255,.025); }
.preview-chart-head { display: flex; align-items: center; justify-content: space-between; }
.preview-chart-head small, .preview-chart-head strong { display: block; }
.preview-chart-head small { color: rgba(255,255,255,.35); font-size: 8px; }
.preview-chart-head strong { margin-top: 3px; font-size: 11px; }
.preview-chart-head > span { color: var(--green); font-size: 9px; }
.preview-chart { display: flex; align-items: end; gap: 9px; height: 94px; padding: 15px 4px 0; border-bottom: 1px solid rgba(255,255,255,.07); background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 31px); }
.preview-chart i { flex: 1; height: var(--h); max-width: 24px; border-radius: 4px 4px 1px 1px; background: rgba(155,242,59,.22); }
.preview-chart i.active { background: var(--green); box-shadow: 0 0 22px rgba(155,242,59,.22); }
.preview-referral { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; }
.preview-referral div { min-width: 0; }
.preview-referral small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.35); font-size: 7px; }
.preview-referral code { display: block; overflow: hidden; color: rgba(255,255,255,.7); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.preview-referral button { margin-left: auto; padding: 7px 10px; border: 0; border-radius: 7px; color: var(--ink); background: var(--green); font-size: 8px; font-weight: 800; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(16,32,25,.92); box-shadow: 0 18px 40px rgba(0,0,0,.35); backdrop-filter: blur(14px); }
.floating-note > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ink); background: var(--green); font-size: 12px; }
.floating-note small, .floating-note strong { display: block; }
.floating-note small { color: rgba(255,255,255,.38); font-size: 7px; }
.floating-note strong { margin-top: 3px; font-size: 11px; }
.note-one { top: 62px; right: -25px; }
.note-two { bottom: 55px; left: -4px; }
.note-two > span { color: var(--green); background: rgba(155,242,59,.12); }

.statement { position: relative; z-index: 2; padding-block: 104px 118px; color: var(--ink); }
.statement::before { position: absolute; inset: 0 50% 0; width: 100vw; content: ""; transform: translateX(-50%); background: var(--cream); z-index: -1; }
.statement > p { margin: 0 0 14px; color: #769086; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.statement h2 { max-width: 820px; margin: 0; font-size: clamp(36px, 4.3vw, 57px); line-height: 1.12; letter-spacing: -.055em; font-weight: 690; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 65px; }
.feature-card { position: relative; min-height: 275px; padding: 30px; overflow: hidden; border: 1px solid rgba(7,17,15,.08); border-radius: 19px; background: rgba(255,255,255,.46); }
.feature-card.featured-card { color: var(--white); border-color: transparent; background: var(--forest); box-shadow: 0 26px 60px rgba(10,36,28,.16); transform: translateY(-12px); }
.feature-number { color: #89958f; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.feature-icon { display: grid; place-items: center; width: 49px; height: 49px; margin: 31px 0 23px; border: 1px solid rgba(7,17,15,.12); border-radius: 14px; color: var(--forest); font-size: 22px; }
.featured-card .feature-icon { color: var(--green); border-color: rgba(155,242,59,.16); background: rgba(155,242,59,.06); }
.feature-card h3 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: #73807c; font-size: 13px; line-height: 1.7; }
.featured-card p { color: rgba(255,255,255,.48); }
.feature-card::after { position: absolute; right: -45px; bottom: -55px; width: 145px; height: 145px; content: ""; border: 1px solid rgba(155,242,59,.13); border-radius: 50%; }

.process-section { position: relative; z-index: 2; color: var(--white); background: #0d1c18; }
.process-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; padding-block: 108px; }
.process-copy h2 { margin: 19px 0; font-size: clamp(37px, 4vw, 53px); line-height: 1.06; letter-spacing: -.055em; }
.process-copy > p { max-width: 420px; color: rgba(255,255,255,.46); font-size: 14px; line-height: 1.75; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 48px 1fr; gap: 23px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.process-list li:first-child { padding-top: 0; }
.process-list li > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(155,242,59,.24); border-radius: 50%; color: var(--green); font-size: 10px; font-weight: 900; }
.process-list h3 { margin: 0 0 8px; font-size: 18px; }
.process-list p { margin: 0; color: rgba(255,255,255,.43); font-size: 13px; line-height: 1.65; }
.contact-section { position: relative; z-index: 2; padding-block: 100px; color: var(--ink); }
.contact-section::before { position: absolute; inset: 0 50% 0; width: 100vw; content: ""; transform: translateX(-50%); background: var(--paper); z-index: -1; }
.contact-card { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: center; min-height: 330px; padding: 64px 70px; overflow: hidden; border-radius: 26px; color: var(--white); background: var(--forest); box-shadow: var(--shadow); }
.contact-card h2 { position: relative; margin: 20px 0 0; font-size: clamp(39px, 4.4vw, 59px); line-height: 1.03; letter-spacing: -.06em; }
.contact-action { position: relative; }
.contact-action p { margin: 0 0 22px; color: rgba(255,255,255,.53); font-size: 14px; line-height: 1.7; }
.contact-action .button { width: 100%; }
.contact-action small { display: block; margin-top: 13px; color: rgba(255,255,255,.36); text-align: center; font-size: 10px; }
.contact-orbit { position: absolute; left: -130px; bottom: -210px; width: 480px; height: 480px; border: 1px solid rgba(155,242,59,.13); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { position: absolute; content: ""; border: 1px solid rgba(155,242,59,.1); border-radius: 50%; }
.contact-orbit::before { inset: 48px; }
.contact-orbit::after { inset: 97px; }
.marketing-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 100px; color: rgba(255,255,255,.58); }
.marketing-footer::before { position: absolute; inset: 0 50% 0; width: 100vw; content: ""; transform: translateX(-50%); background: var(--ink); z-index: -1; }
.marketing-footer .brand-name { color: var(--white); font-size: 16px; }
.marketing-footer .brand-mark { width: 28px; height: 28px; font-size: 13px; }
.marketing-footer p, .marketing-footer a { font-size: 11px; }
.marketing-footer a:hover { color: var(--green); }

/* Authentication */
.auth-page { background: var(--paper); }
.auth-shell { display: grid; grid-template-columns: minmax(430px, .91fr) minmax(520px, 1.09fr); min-height: 100vh; }
.auth-story { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; padding: 47px 7vw 38px; color: var(--white); background: var(--ink); }
.auth-story::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 52px 52px; }
.auth-story-bg { position: absolute; right: -210px; bottom: -230px; width: 620px; height: 620px; border: 1px solid rgba(155,242,59,.12); border-radius: 50%; }
.auth-story-bg::before, .auth-story-bg::after { position: absolute; content: ""; border: 1px solid rgba(155,242,59,.09); border-radius: 50%; }
.auth-story-bg::before { inset: 70px; }
.auth-story-bg::after { inset: 145px; background: radial-gradient(circle, rgba(155,242,59,.09), transparent 68%); }
.auth-story-copy { position: relative; z-index: 2; max-width: 550px; margin-block: auto; padding: 70px 0; }
.auth-story-copy h1 { margin: 24px 0 22px; font-size: clamp(43px, 5vw, 68px); line-height: 1.03; letter-spacing: -.065em; }
.auth-story-copy h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 500; }
.auth-story-copy > p { max-width: 475px; margin: 0; color: rgba(255,255,255,.5); font-size: 16px; line-height: 1.72; }
.auth-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.auth-proof > div { display: flex; gap: 12px; align-items: flex-start; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.auth-proof > div > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; color: var(--green); background: rgba(155,242,59,.08); }
.auth-proof p { margin: 0; color: rgba(255,255,255,.4); font-size: 10px; line-height: 1.55; }
.auth-proof strong { display: block; margin-bottom: 4px; color: var(--white); font-size: 12px; }
.auth-copyright { position: relative; z-index: 2; margin: 0; color: rgba(255,255,255,.26); font-size: 10px; }
.auth-form-side { display: grid; place-items: center; min-height: 100vh; padding: 42px 7vw; }
.auth-form-wrap { width: min(100%, 456px); }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 62px; color: #78847f; font-size: 12px; font-weight: 650; }
.back-link:hover { color: var(--ink); }
.auth-heading { margin-bottom: 31px; }
.auth-kicker { color: #6b7b75; font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.auth-heading h2 { margin: 14px 0 9px; font-size: 36px; letter-spacing: -.05em; }
.auth-heading p { margin: 0; color: #7c8884; font-size: 13px; }
.form-alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.55; }
.form-alert span { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; border-radius: 50%; font-size: 10px; font-weight: 900; }
.form-alert-error { color: #8d3538; border: 1px solid rgba(223,94,98,.17); background: rgba(223,94,98,.07); }
.form-alert-error span { color: var(--white); background: var(--danger); }
.form-alert-info { color: #3e6257; border: 1px solid rgba(50,125,101,.15); background: rgba(50,125,101,.06); }
.form-alert-info span { color: var(--white); background: #4b786a; }
.login-form > label, .label-row label { display: block; margin-bottom: 9px; color: #384640; font-size: 11px; font-weight: 750; }
.label-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.label-row label { margin: 0; }
.label-row a { color: #5d716a; font-size: 10px; font-weight: 700; }
.label-row a:hover { color: var(--ink); }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; height: 52px; padding: 0 82px 0 45px; border: 1px solid #d9dedb; border-radius: 11px; outline: none; color: var(--ink); background: var(--white); font-size: 13px; transition: border .2s, box-shadow .2s; }
.input-wrap input:focus { border-color: #7bb84a; box-shadow: 0 0 0 4px rgba(126,217,29,.11); }
.input-wrap input::placeholder { color: #a2aca8; }
.input-icon { position: absolute; z-index: 2; left: 16px; top: 50%; transform: translateY(-50%); color: #7a8882; font-size: 12px; font-weight: 850; }
.password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 7px 8px; border: 0; color: #61716b; background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }
.login-submit { width: 100%; margin-top: 26px; }
.application-note { display: grid; grid-template-columns: 38px 1fr 26px; align-items: center; gap: 13px; margin-top: 36px; padding: 18px; border: 1px solid #dfe3df; border-radius: 13px; background: rgba(255,255,255,.5); }
.application-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #345446; background: #e5f3dc; font-size: 20px; font-weight: 300; }
.application-note strong { display: block; color: #33413c; font-size: 11px; }
.application-note p { margin: 4px 0 0; color: #84908b; font-size: 9px; line-height: 1.45; }
.application-note > a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #53635d; background: #eef0ed; font-size: 11px; }
.secure-note { margin: 21px 0 0; color: #98a19d; text-align: center; font-size: 9px; }
.secure-note span { margin-right: 6px; color: #668a7b; }

/* Dashboard */
.dashboard-page { background: #f4f5f1; }
.dashboard-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar); padding: 26px 20px 20px; overflow-y: auto; color: var(--white); background: var(--ink); }
.dashboard-brand { min-height: 44px; margin: 0 8px 38px; }
.dashboard-brand .brand-name { font-size: 17px; }
.dashboard-brand .brand-mark { width: 30px; height: 30px; font-size: 14px; }
.dashboard-brand .brand-product { font-size: 10px; }
.dashboard-brand img { max-width: 118px; max-height: 34px; }
.sidebar-label { margin: 0 10px 11px; color: rgba(255,255,255,.25); font-size: 8px; font-weight: 850; letter-spacing: .17em; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 12px; border-radius: 10px; color: rgba(255,255,255,.48); font-size: 12px; font-weight: 630; transition: color .2s, background .2s; }
.sidebar-nav a:hover { color: var(--white); background: rgba(255,255,255,.05); }
.sidebar-nav a.active { color: var(--ink); background: var(--green); box-shadow: 0 8px 22px rgba(126,217,29,.12); }
.sidebar-nav .nav-icon { display: grid; place-items: center; width: 21px; font-size: 15px; }
.sidebar-nav a b { min-width: 23px; margin-left: auto; padding: 3px 6px; border-radius: 999px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); text-align: center; font-size: 8px; }
.sidebar-nav a.active b { color: var(--ink); background: rgba(7,17,15,.1); }
.sidebar-nav.secondary { margin-bottom: 20px; }
.sidebar-tier-card { margin-top: auto; padding: 16px; border: 1px solid rgba(155,242,59,.13); border-radius: 14px; background: linear-gradient(145deg, rgba(155,242,59,.08), rgba(255,255,255,.02)); }
.tier-card-top { display: flex; align-items: center; gap: 7px; color: var(--green); }
.tier-card-top span { font-size: 10px; }
.tier-card-top small { color: rgba(255,255,255,.38); font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.sidebar-tier-card > strong { display: block; margin-top: 13px; font-size: 15px; }
.sidebar-tier-card > p { margin: 4px 0 12px; color: rgba(255,255,255,.42); font-size: 9px; }
.tier-progress { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.09); }
.tier-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.sidebar-tier-card > small { display: block; margin-top: 8px; color: rgba(255,255,255,.32); font-size: 7px; }
.sidebar-user { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px; margin-top: 15px; padding: 15px 7px 2px; border-top: 1px solid rgba(255,255,255,.08); }
.user-avatar, .topbar-avatar { display: grid; place-items: center; border-radius: 10px; color: var(--ink); background: var(--green); font-weight: 900; }
.user-avatar { width: 34px; height: 34px; font-size: 12px; }
.sidebar-user strong, .sidebar-user small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-user strong { font-size: 10px; }
.sidebar-user small { margin-top: 3px; color: rgba(255,255,255,.35); font-size: 8px; }
.sidebar-user form { margin: 0; }
.sidebar-user button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; color: rgba(255,255,255,.42); background: rgba(255,255,255,.05); cursor: pointer; }
.sidebar-user button:hover { color: var(--white); background: rgba(255,255,255,.1); }
.dashboard-main { min-height: 100vh; margin-left: var(--sidebar); }
.dashboard-topbar { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 34px; border-bottom: 1px solid #e1e4df; background: rgba(250,251,247,.91); backdrop-filter: blur(16px); }
.topbar-title { display: flex; align-items: center; gap: 10px; color: #95a09b; font-size: 10px; }
.topbar-title i { opacity: .5; font-style: normal; }
.topbar-title strong { color: #41504a; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.live-status { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #dfe6da; border-radius: 999px; color: #67766f; background: #f8faf5; font-size: 8px; font-weight: 700; }
.live-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green-strong); box-shadow: 0 0 7px rgba(126,217,29,.6); }
.support-shortcut { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid #e0e3df; border-radius: 9px; color: #64716c; font-size: 9px; font-weight: 700; }
.support-shortcut:hover { background: var(--white); }
.topbar-avatar { width: 31px; height: 31px; font-size: 10px; }
.mobile-menu-button { display: none; border: 0; color: var(--ink); background: transparent; font-size: 21px; cursor: pointer; }
.dashboard-content { width: min(1390px, 100%); margin: 0 auto; padding: 34px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 25px; }
.welcome-row p { margin: 0 0 7px; color: #68756f; font-size: 11px; font-weight: 650; }
.welcome-row p span { margin-left: 4px; color: var(--green-strong); }
.welcome-row h1 { margin: 0; font-size: 25px; letter-spacing: -.045em; }
.date-chip { display: flex; align-items: center; gap: 8px; color: #808d87; font-size: 9px; }
.date-chip span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #e0e4de; border-radius: 8px; background: var(--white); }
.dashboard-alert { display: flex; align-items: flex-start; gap: 12px; margin: -7px 0 17px; padding: 13px 15px; border: 1px solid rgba(240,185,77,.28); border-radius: 12px; color: #65502c; background: #fff8e8; }
.dashboard-alert > span { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border-radius: 7px; color: #6f4f16; background: #f7d88d; font-size: 10px; font-weight: 900; }
.dashboard-alert strong { display: block; font-size: 10px; }
.dashboard-alert p { margin: 4px 0 0; color: #8d7a58; font-size: 8px; line-height: 1.5; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.stat-card { min-width: 0; min-height: 154px; padding: 18px; border: 1px solid #e0e4df; border-radius: 15px; background: var(--white); box-shadow: 0 9px 28px rgba(25,42,35,.025); }
.stat-card.primary-stat { color: var(--white); border-color: var(--forest); background: var(--forest); box-shadow: 0 18px 38px rgba(16,40,33,.13); }
.stat-head { display: flex; align-items: center; min-height: 29px; }
.stat-head small { margin-left: 9px; color: #89948f; font-size: 7px; font-weight: 850; letter-spacing: .11em; }
.primary-stat .stat-head small { color: rgba(255,255,255,.45); }
.stat-head > i { margin-left: auto; color: #a7afab; font-size: 8px; font-style: normal; }
.stat-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #2c5848; background: #e5f3dc; font-size: 11px; font-weight: 900; }
.primary-stat .stat-icon { color: var(--ink); background: var(--green); }
.stat-icon.green { color: #2c654d; background: #e8f5e4; }
.stat-icon.amber { color: #8e6725; background: #fbf0d9; }
.stat-icon.violet { color: #65579a; background: #efecff; }
.stat-head .positive { padding: 3px 6px; border-radius: 999px; color: #4f8066; background: #edf7e8; }
.stat-head .neutral { color: #89948f; }
.stat-card > strong { display: block; margin: 23px 0 10px; overflow: hidden; font-size: clamp(19px, 2vw, 25px); letter-spacing: -.04em; white-space: nowrap; text-overflow: ellipsis; }
.stat-card > p { margin: 0; color: #8a948f; font-size: 8px; line-height: 1.45; }
.stat-card > p b { color: #578667; font-weight: 750; }
.primary-stat > p { color: rgba(255,255,255,.4); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 14px; margin-top: 14px; }
.panel-card { border: 1px solid #e0e4df; border-radius: 16px; background: var(--white); box-shadow: 0 9px 28px rgba(25,42,35,.025); }
.earnings-card, .referral-card { min-height: 377px; padding: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-kicker { display: block; margin-bottom: 5px; color: #97a09c; font-size: 7px; font-weight: 850; letter-spacing: .15em; }
.panel-head h2 { margin: 0; color: #24332d; font-size: 15px; letter-spacing: -.025em; }
.period-pills { display: flex; padding: 3px; border: 1px solid #e5e8e4; border-radius: 9px; background: #f7f8f5; }
.period-pills span { padding: 5px 8px; border-radius: 6px; color: #9aa29f; font-size: 7px; }
.period-pills span.active { color: var(--ink); background: var(--white); box-shadow: 0 2px 7px rgba(20,35,28,.07); }
.earnings-summary { display: flex; align-items: center; gap: 22px; margin-top: 23px; }
.earnings-summary small, .earnings-summary strong { display: block; }
.earnings-summary small { color: #9aa39f; font-size: 7px; }
.earnings-summary strong { margin-top: 4px; color: #2d3b35; font-size: 15px; }
.summary-divider { width: 1px; height: 28px; background: #e8ebe7; }
.bar-chart { position: relative; display: flex; align-items: stretch; gap: 6px; height: 232px; margin-top: 16px; padding: 10px 2px 26px; }
.chart-grid { position: absolute; inset: 8px 0 25px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid i { width: 100%; height: 1px; background: #eef0ed; }
.bar-column { position: relative; z-index: 2; display: flex; flex: 1; min-width: 5px; align-items: center; justify-content: flex-end; flex-direction: column; }
.bar-column > i { width: min(70%, 19px); min-height: 3px; border-radius: 4px 4px 2px 2px; background: #dcead3; transition: background .2s, transform .2s; }
.bar-column:hover > i, .bar-column.current > i { background: var(--green-strong); transform: scaleX(1.08); }
.bar-column > small { position: absolute; bottom: -20px; color: #a1aaa5; font-size: 6px; white-space: nowrap; }
.bar-column:nth-of-type(even) > small { display: none; }
.bar-value { position: absolute; top: -7px; display: none; padding: 4px 6px; border-radius: 5px; color: var(--white); background: var(--ink); font-size: 6px; white-space: nowrap; transform: translateY(-100%); }
.bar-column:hover .bar-value { display: block; }
.referral-card > p { margin: 22px 0 19px; color: #818c87; font-size: 9px; line-height: 1.55; }
.link-badge { padding: 4px 7px; border-radius: 999px; color: #4f8066; background: #edf7e8; font-size: 6px; font-weight: 900; letter-spacing: .1em; }
.referral-card > label { display: block; margin-bottom: 7px; color: #6d7b75; font-size: 7px; font-weight: 780; }
.copy-field { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 5px; border: 1px solid #dfe4de; border-radius: 10px; background: #f8f9f6; }
.copy-field input { min-width: 0; height: 34px; padding: 0 9px; border: 0; outline: 0; color: #62716b; background: transparent; font-size: 8px; }
.copy-field button, .ref-code-row button { border: 0; border-radius: 7px; color: var(--ink); background: var(--green); font-size: 7px; font-weight: 800; cursor: pointer; }
.copy-field button { min-width: 68px; }
.copy-field button.copied, .ref-code-row button.copied { color: var(--white); background: var(--forest); }
.ref-code-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px 13px; border: 1px dashed #dce2da; border-radius: 10px; }
.ref-code-row small, .ref-code-row code { display: block; }
.ref-code-row small { margin-bottom: 5px; color: #a0a9a5; font-size: 6px; font-weight: 850; letter-spacing: .12em; }
.ref-code-row code { color: #29493e; font-size: 13px; font-weight: 850; letter-spacing: .09em; }
.ref-code-row button { padding: 8px 10px; color: #5d6d66; background: #eff2ed; }
.share-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 13px; padding: 9px 10px; border-radius: 8px; color: #7b8882; background: #f5f7f2; }
.share-note span { display: grid; place-items: center; width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; color: #6f8f80; background: #e1ebe0; font-size: 7px; font-weight: 900; }
.share-note p { margin: 0; font-size: 7px; line-height: 1.45; }
.insight-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 14px; margin-top: 14px; }
.compact-panel { min-height: 126px; padding: 19px; }
.mini-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.mini-metrics > div { display: flex; align-items: center; gap: 11px; }
.mini-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: #4e7a64; background: #eaf5e5; font-size: 11px; }
.mini-icon.out { color: #8d6a39; background: #fbf1df; }
.mini-metrics p { margin: 0; }
.mini-metrics small, .mini-metrics strong { display: block; }
.mini-metrics small { color: #9aa39f; font-size: 6px; }
.mini-metrics strong { margin-top: 4px; font-size: 11px; }
.manager-panel { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 15px; color: var(--white); border-color: var(--forest); background: var(--forest); }
.manager-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--ink); background: var(--green); font-size: 17px; }
.manager-panel .panel-kicker { color: rgba(255,255,255,.34); }
.manager-panel h2 { margin: 4px 0; font-size: 14px; }
.manager-panel p { margin: 0; color: rgba(255,255,255,.4); font-size: 8px; }
.manager-panel > a { padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; color: rgba(255,255,255,.75); font-size: 8px; font-weight: 750; }
.manager-panel > a:hover { color: var(--ink); border-color: var(--green); background: var(--green); }
.referrals-panel { margin-top: 14px; overflow: hidden; }
.referrals-head { padding: 20px; border-bottom: 1px solid #e7eae6; }
.total-chip { padding: 6px 9px; border-radius: 999px; color: #66756e; background: #f0f3ee; font-size: 7px; font-weight: 750; }
.responsive-table { overflow-x: auto; }
.responsive-table table { width: 100%; border-collapse: collapse; }
.responsive-table th { padding: 11px 18px; color: #9ba49f; background: #f8f9f6; text-align: left; font-size: 6px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.responsive-table td { padding: 13px 18px; border-top: 1px solid #eef0ed; color: #4d5b55; font-size: 9px; white-space: nowrap; }
.responsive-table tbody tr:first-child td { border-top: 0; }
.responsive-table tbody tr:hover td { background: #fbfcf9; }
.responsive-table td:first-child { display: flex; align-items: center; gap: 9px; }
.responsive-table td strong, .responsive-table td small { display: block; }
.responsive-table td strong { color: #36443e; font-size: 9px; }
.responsive-table td small { margin-top: 3px; color: #a0a9a5; font-size: 6px; }
.table-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #52705f; background: #edf3e9; font-size: 9px; font-weight: 900; }
.text-positive { color: #4d8664 !important; }
.text-negative { color: var(--danger) !important; }
.commission-cell { color: #4d8664 !important; font-weight: 800; }
.empty-row td { display: table-cell !important; padding: 42px !important; text-align: center; }
.empty-row span, .empty-row strong, .empty-row p { display: block; }
.empty-row span { color: #9fada5; font-size: 24px; }
.empty-row strong { margin: 10px 0 5px; }
.empty-row p { margin: 0; color: #929e98; font-size: 8px; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid #e7eae6; color: #6d7a74; font-size: 8px; }
.pagination a { padding: 7px 9px; border: 1px solid #e1e5e0; border-radius: 8px; background: #fafbf8; }
.pagination a:hover { border-color: #bad49e; }
.pagination > span { opacity: .35; }
.dashboard-footer { display: flex; align-items: center; justify-content: space-between; padding: 25px 2px 5px; color: #a1aaa5; font-size: 7px; }
.sidebar-overlay { display: none; }

@media (max-width: 1180px) {
    .hero { grid-template-columns: .92fr 1.08fr; }
    .dashboard-preview { left: 0; width: 540px; transform: scale(.92) rotateY(-7deg) rotateX(2deg) rotateZ(1deg); transform-origin: left center; }
    .note-one { right: -5px; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .referral-card { min-height: auto; }
}

@media (max-width: 960px) {
    .marketing-nav { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 85px; }
    .hero-copy { max-width: 710px; padding-right: 0; }
    .hero-visual { width: min(100%, 650px); margin: 25px auto 0; }
    .dashboard-preview { left: 6%; width: 88%; transform: rotateY(-4deg) rotateX(1deg) rotateZ(1deg); }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card, .feature-card.featured-card { min-height: 220px; transform: none; }
    .process-wrap { grid-template-columns: 1fr; gap: 55px; }
    .contact-card { grid-template-columns: 1fr; gap: 40px; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-story { min-height: 560px; padding-inline: 8vw; }
    .auth-story-copy { padding-block: 80px 50px; }
    .auth-form-side { min-height: auto; padding-block: 70px; }
    .auth-form-wrap { width: min(100%, 520px); }
    .back-link { margin-bottom: 45px; }
    .dashboard-sidebar { width: 260px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 22px 0 60px rgba(0,0,0,.2); }
    .dashboard-sidebar.open { transform: translateX(0); }
    .dashboard-main { margin-left: 0; }
    .mobile-menu-button { display: block; }
    .topbar-title { display: none; }
    .sidebar-overlay { position: fixed; z-index: 35; inset: 0; display: block; visibility: hidden; opacity: 0; background: rgba(7,17,15,.6); transition: opacity .25s, visibility .25s; }
    .sidebar-overlay.show { visibility: visible; opacity: 1; }
    body.menu-open { overflow: hidden; }
}

@media (max-width: 700px) {
    .shell { width: min(100% - 30px, 1180px); }
    .marketing-header { height: 72px; }
    .brand-product, .brand-divider { display: none; }
    .brand-name { font-size: 17px; }
    .header-login { min-height: 39px; padding: 0 13px; font-size: 11px; }
    .hero { min-height: auto; padding-block: 65px 58px; }
    .hero h1 { font-size: 44px; }
    .hero-lead { font-size: 14px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; }
    .hero-trust div { min-width: 0; padding-right: 11px; margin-right: 11px; }
    .hero-trust strong { font-size: 16px; }
    .hero-trust span { font-size: 8px; }
    .hero-visual { height: 380px; margin-top: 35px; }
    .dashboard-preview { top: 0; left: -7%; width: 114%; transform: scale(.77) rotateZ(1deg); transform-origin: top center; }
    .floating-note { display: none; }
    .statement { padding-block: 76px; }
    .statement h2 { font-size: 37px; }
    .feature-grid { margin-top: 42px; }
    .process-wrap { padding-block: 78px; }
    .contact-section { padding-block: 60px; }
    .contact-card { padding: 45px 27px; }
    .marketing-footer { flex-wrap: wrap; gap: 15px; padding-block: 27px; }
    .marketing-footer .brand { width: 100%; }
    .auth-story { min-height: 500px; padding: 32px 24px; }
    .auth-story-copy { padding-block: 65px 35px; }
    .auth-story-copy h1 { font-size: 43px; }
    .auth-proof { margin-top: 40px; }
    .auth-form-side { padding: 52px 24px; }
    .auth-heading h2 { font-size: 31px; }
    .dashboard-topbar { height: 62px; padding: 0 18px; }
    .live-status, .support-shortcut span { display: none; }
    .dashboard-content { padding: 23px 15px; }
    .welcome-row { align-items: flex-start; flex-direction: column; gap: 15px; }
    .welcome-row h1 { font-size: 21px; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .stat-card { min-height: 140px; }
    .insight-grid { grid-template-columns: 1fr; }
    .manager-panel { grid-template-columns: 42px 1fr; }
    .manager-panel > a { grid-column: 1 / -1; text-align: center; }
    .earnings-card, .referral-card { padding: 16px; }
    .bar-chart { gap: 3px; }
    .bar-column:nth-of-type(even) > small { display: none; }
    .bar-column:nth-of-type(odd) > small { display: none; }
    .bar-column:nth-of-type(3n) > small { display: block; }
    .mini-metrics { gap: 9px; }
    .responsive-table th, .responsive-table td { padding-inline: 13px; }
    .dashboard-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}

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

/* Spark black & gold iGaming theme */
body { color: #f5f5f5; background: var(--paper); }
::selection { color: #080808; background: var(--green); }

.brand img { width: auto; }
.dashboard-brand .partner-wordmark { font-size: 19px; }
.compact .partner-wordmark { font-size: 18px; }
.brand-divider { color: var(--white); }

.eyebrow { color: rgba(255,215,0,.72); }
.eyebrow span { background: linear-gradient(90deg, var(--green), #f5a623); box-shadow: 0 0 12px rgba(255,215,0,.38); }
.eyebrow.light { color: rgba(255,215,0,.66); }

/* Marketing and casino atmosphere */
.landing-page {
    background:
        radial-gradient(circle at 86% 8%, rgba(255,215,0,.085), transparent 28%),
        radial-gradient(circle at 8% 34%, rgba(245,166,35,.045), transparent 24%),
        #080808;
}
.landing-page::before {
    background-image:
        linear-gradient(rgba(255,215,0,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,215,0,.025) 1px, transparent 1px);
}
.ambient-one { background: radial-gradient(circle, rgba(255,215,0,.13), transparent 66%); }
.ambient-two { background: radial-gradient(circle, rgba(245,166,35,.07), transparent 68%); }
.marketing-header { border-bottom-color: rgba(255,215,0,.13); }
.marketing-nav a:hover { color: var(--green); }
.header-login { border-color: rgba(255,215,0,.25); }
.header-login:hover { color: #080808; background: var(--green); }
.hero h1 em { color: var(--green); text-shadow: 0 0 34px rgba(255,215,0,.16); }
.hero-trust div { border-right-color: rgba(255,215,0,.15); }
.hero-trust strong { color: var(--green); }
.hero-trust span { color: rgba(255,255,255,.48); }
.hero-visual::before,
.hero-visual::after {
    position: absolute;
    z-index: 0;
    color: rgba(255,215,0,.12);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 25px rgba(255,215,0,.12));
}
.hero-visual::before { top: 4px; right: 2px; content: "♠"; font-size: 82px; transform: rotate(10deg); }
.hero-visual::after { right: 26px; bottom: 8px; content: "♦"; font-size: 62px; transform: rotate(-8deg); }
.preview-glow { background: radial-gradient(circle, rgba(255,215,0,.2), transparent 67%); }
.dashboard-preview {
    background: linear-gradient(155deg, #18181b 0%, #0d0d0f 74%);
    border-color: rgba(255,215,0,.23);
    box-shadow: 0 42px 110px rgba(0,0,0,.68), 0 0 0 1px rgba(255,215,0,.03) inset;
}
.preview-topbar { border-bottom-color: rgba(255,215,0,.12); }
.preview-dots i:first-child { background: #ffd700; }
.preview-dots i:nth-child(2) { background: #f5a623; }
.status-pill { color: rgba(255,255,255,.68); border-color: rgba(255,215,0,.22); background: rgba(255,215,0,.07); }
.preview-stat,
.preview-chart-card,
.preview-referral { border-color: rgba(255,215,0,.1); background: rgba(255,255,255,.035); }
.preview-stat.featured { background: linear-gradient(135deg, #ffe45c, #ffd700 52%, #f5a623); }
.preview-stat.featured span { color: rgba(8,8,8,.62); }
.preview-chart i { background: rgba(255,215,0,.2); }
.preview-chart i.active { background: linear-gradient(to top, #f5a623, #ffe45c); box-shadow: 0 0 22px rgba(255,215,0,.28); }
.preview-referral code { color: rgba(255,215,0,.76); }
.floating-note { border-color: rgba(255,215,0,.18); background: rgba(18,18,20,.94); }
.note-two > span { color: var(--green); background: rgba(255,215,0,.12); }

.statement { color: var(--white); }
.statement::before { background: #101012; }
.statement > p { color: rgba(255,215,0,.67); }
.feature-card { color: var(--white); border-color: rgba(255,215,0,.1); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
.feature-number { color: rgba(255,215,0,.58); }
.feature-icon { color: var(--green); border-color: rgba(255,215,0,.18); background: rgba(255,215,0,.055); }
.feature-card p { color: rgba(255,255,255,.5); }
.feature-card::after { border-color: rgba(255,215,0,.14); }
.feature-card.featured-card {
    color: #080808;
    border-color: rgba(255,236,126,.68);
    background: linear-gradient(145deg, #ffe96b 0%, #ffd700 52%, #f5a623 100%);
    box-shadow: 0 26px 60px rgba(255,193,7,.13);
}
.featured-card .feature-number { color: rgba(8,8,8,.48); }
.featured-card .feature-icon { color: #080808; border-color: rgba(8,8,8,.18); background: rgba(8,8,8,.07); }
.featured-card p { color: rgba(8,8,8,.62); }
.featured-card::after { border-color: rgba(8,8,8,.13); }

.process-section { border-block: 1px solid rgba(255,215,0,.08); background: #070707; }
.process-copy > p,
.process-list p { color: rgba(255,255,255,.51); }
.process-list li { border-bottom-color: rgba(255,215,0,.11); }
.process-list li > span { border-color: rgba(255,215,0,.28); background: rgba(255,215,0,.055); }
.contact-section::before { background: #0c0c0e; }
.contact-card {
    border: 1px solid rgba(255,215,0,.19);
    background:
        radial-gradient(circle at 10% 110%, rgba(255,215,0,.14), transparent 34%),
        linear-gradient(145deg, #19191b, #0b0b0c 70%);
}
.contact-orbit,
.contact-orbit::before,
.contact-orbit::after { border-color: rgba(255,215,0,.14); }
.marketing-footer::before { background: #070707; }
.marketing-footer { border-top: 1px solid rgba(255,215,0,.09); }
.marketing-footer .brand img { max-width: 114px; max-height: 31px; }

/* Secure affiliate login */
.auth-page { color: var(--white); background: #0d0d0f; }
.auth-story {
    background:
        radial-gradient(circle at 82% 82%, rgba(255,215,0,.12), transparent 34%),
        #070707;
}
.auth-story::before {
    background-image:
        linear-gradient(rgba(255,215,0,.023) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,215,0,.023) 1px, transparent 1px);
}
.auth-story-bg,
.auth-story-bg::before,
.auth-story-bg::after { border-color: rgba(255,215,0,.14); }
.auth-story-bg::after { background: radial-gradient(circle, rgba(255,215,0,.1), transparent 68%); }
.auth-proof > div { border-top-color: rgba(255,215,0,.13); }
.auth-proof > div > span { color: var(--green); background: rgba(255,215,0,.08); }
.auth-form-side { color: var(--white); background: linear-gradient(150deg, #131315, #0d0d0f); }
.back-link { color: #898991; }
.back-link:hover,
.label-row a:hover { color: var(--green); }
.auth-kicker { color: var(--green); }
.auth-heading p { color: #8d8d95; }
.login-form > label,
.label-row label { color: #d5d5d8; }
.label-row a { color: #bcae66; }
.input-wrap input { color: var(--white); border-color: #303034; background: #171719; caret-color: var(--green); }
.input-wrap input:hover { border-color: #414146; }
.input-wrap input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(255,215,0,.1); }
.input-wrap input::placeholder { color: #696970; }
.input-icon,
.password-toggle { color: #8b8b92; }
.password-toggle:hover { color: var(--green); }
.application-note { border-color: rgba(255,215,0,.13); background: rgba(255,255,255,.028); }
.application-icon { color: #080808; background: linear-gradient(135deg, #ffe45c, #f5a623); }
.application-note strong { color: #f5f5f5; }
.application-note p { color: #85858d; }
.application-note > a { color: #080808; background: var(--green); }
.secure-note { color: #707078; }
.secure-note span { color: var(--green); }
.form-alert-info { color: #e8d77c; border-color: rgba(255,215,0,.2); background: rgba(255,215,0,.07); }
.form-alert-info span { color: #080808; background: var(--green); }

/* Dark data dashboard */
.dashboard-page { color: #f3f3f4; background: #09090b; }
.dashboard-sidebar { border-right: 1px solid rgba(255,215,0,.09); background: #070707; }
.sidebar-label { color: rgba(255,215,0,.32); }
.sidebar-nav a { color: rgba(255,255,255,.54); }
.sidebar-nav a:hover { color: var(--white); background: rgba(255,215,0,.055); }
.sidebar-nav a.active { color: #080808; background: linear-gradient(135deg, #ffe45c, #ffd700 55%, #f5a623); box-shadow: 0 8px 22px rgba(255,193,7,.13); }
.sidebar-nav a.active b { color: #080808; background: rgba(8,8,8,.12); }
.sidebar-tier-card { border-color: rgba(255,215,0,.17); background: linear-gradient(145deg, rgba(255,215,0,.09), rgba(255,255,255,.018)); }
.tier-progress i { background: linear-gradient(90deg, #f5a623, #ffe45c); }
.sidebar-user { border-top-color: rgba(255,215,0,.1); }
.sidebar-user button:hover { color: #080808; background: var(--green); }
.dashboard-main { background: radial-gradient(circle at 83% 4%, rgba(255,215,0,.035), transparent 27%), #09090b; }
.dashboard-topbar { border-bottom-color: #252529; background: rgba(10,10,12,.91); }
.topbar-title { color: #73737b; }
.topbar-title strong { color: #d7d7da; }
.live-status { color: #9c9ca3; border-color: #2d2d31; background: #141416; }
.live-status i { background: var(--green); box-shadow: 0 0 8px rgba(255,215,0,.62); }
.support-shortcut { color: #b7b7bd; border-color: #2d2d31; }
.support-shortcut:hover { color: #080808; border-color: var(--green); background: var(--green); }
.mobile-menu-button { color: var(--white); }
.welcome-row p { color: #929299; }
.welcome-row p span { color: var(--green); }
.date-chip { color: #82828a; }
.date-chip span { color: var(--green); border-color: #2c2c30; background: #151517; }
.dashboard-alert { color: #f2df96; border-color: rgba(255,215,0,.25); background: rgba(255,215,0,.075); }
.dashboard-alert > span { color: #080808; background: var(--green); }
.dashboard-alert p { color: #b0a46d; }
.stat-card,
.panel-card { border-color: #29292d; background: #141416; box-shadow: 0 12px 34px rgba(0,0,0,.16); }
.stat-card.primary-stat {
    color: #080808;
    border-color: rgba(255,236,126,.75);
    background: linear-gradient(140deg, #ffe96b 0%, #ffd700 54%, #f5a623 100%);
    box-shadow: 0 18px 38px rgba(255,193,7,.11);
}
.stat-head small { color: #929299; }
.primary-stat .stat-head small,
.primary-stat > p { color: rgba(8,8,8,.6); }
.stat-head > i { color: #707078; }
.stat-icon,
.stat-icon.green,
.stat-icon.amber,
.stat-icon.violet { color: var(--green); background: rgba(255,215,0,.09); }
.primary-stat .stat-icon { color: #080808; background: rgba(8,8,8,.1); }
.stat-head .positive { color: #d9ba10; background: rgba(255,215,0,.08); }
.stat-head .neutral { color: #7d7d85; }
.stat-card > p { color: #85858c; }
.stat-card > p b { color: var(--green); }
.panel-kicker { color: rgba(255,215,0,.55); }
.panel-head h2,
.earnings-summary strong { color: #f1f1f2; }
.period-pills { border-color: #2b2b2f; background: #0f0f11; }
.period-pills span { color: #73737b; }
.period-pills span.active { color: #080808; background: var(--green); box-shadow: none; }
.earnings-summary small { color: #7e7e86; }
.summary-divider { background: #2a2a2e; }
.chart-grid i { background: #252529; }
.bar-column > i { background: rgba(255,215,0,.18); }
.bar-column:hover > i,
.bar-column.current > i { background: linear-gradient(to top, #f5a623, #ffe45c); }
.bar-column > small { color: #73737a; }
.bar-value { color: #080808; background: var(--green); }
.referral-card > p,
.referral-card > label { color: #929299; }
.link-badge { color: var(--green); background: rgba(255,215,0,.085); }
.copy-field { border-color: #303034; background: #0f0f11; }
.copy-field input { color: #b9b9bf; }
.ref-code-row { border-color: #333338; }
.ref-code-row small { color: #74747c; }
.ref-code-row code { color: var(--green); }
.ref-code-row button { color: #d8d8dc; background: #242428; }
.copy-field button.copied,
.ref-code-row button.copied { color: #080808; background: #f5a623; }
.share-note { color: #96969d; background: #0e0e10; }
.share-note span { width: 22px; color: #080808; background: var(--green); }
.mini-icon,
.mini-icon.out { color: var(--green); background: rgba(255,215,0,.085); }
.mini-metrics small { color: #77777f; }
.manager-panel { border-color: rgba(255,215,0,.2); background: linear-gradient(145deg, #18181b, #0b0b0c); }
.manager-panel .panel-kicker { color: rgba(255,215,0,.55); }
.manager-panel p { color: rgba(255,255,255,.46); }
.referrals-head { border-bottom-color: #29292d; }
.total-chip { color: #c5b85f; background: rgba(255,215,0,.075); }
.responsive-table th { color: #7e7e86; background: #0f0f11; }
.responsive-table td { color: #b0b0b6; border-top-color: #242428; }
.responsive-table tbody tr:hover td { background: rgba(255,215,0,.025); }
.responsive-table td strong { color: #e8e8ea; }
.responsive-table td small { color: #6f6f77; }
.table-avatar { color: #080808; background: linear-gradient(135deg, #ffe45c, #f5a623); }
.text-positive,
.commission-cell { color: var(--green) !important; }
.empty-row span { color: rgba(255,215,0,.58); }
.empty-row p { color: #7d7d85; }
.pagination { color: #96969d; border-top-color: #29292d; }
.pagination a { border-color: #303034; background: #111113; }
.pagination a:hover { color: #080808; border-color: var(--green); background: var(--green); }
.dashboard-footer { color: #5f5f66; }
.sidebar-overlay { background: rgba(0,0,0,.74); }

@media (max-width: 700px) {
    .partner-wordmark { font-size: 21px; }
    .hero-visual::before,
    .hero-visual::after { display: none; }
    .marketing-footer p { max-width: 260px; line-height: 1.55; }
}

/* Affiliate dashboard readability and task hierarchy */
.dashboard-page { --sidebar: 292px; font-size: 16px; }
.dashboard-sidebar { padding: 30px 22px 22px; }
.dashboard-brand { min-height: 48px; margin: 0 9px 36px; }
.dashboard-brand .partner-wordmark { font-size: 22px; }
.dashboard-brand .brand-product { font-size: 11px; }
.dashboard-brand img { max-width: 132px; max-height: 38px; }
.sidebar-label { margin: 0 11px 12px; font-size: 10px; letter-spacing: .15em; }
.sidebar-nav { gap: 6px; margin-bottom: 30px; }
.sidebar-nav a { min-height: 48px; padding: 0 13px; border-radius: 12px; font-size: 13.5px; }
.sidebar-nav .nav-icon { width: 23px; font-size: 17px; }
.sidebar-nav a b { min-width: 27px; padding: 4px 7px; font-size: 10px; }
.sidebar-tier-card { padding: 19px; border-radius: 16px; }
.tier-card-top small { font-size: 9px; }
.sidebar-tier-card > strong { margin-top: 14px; font-size: 16px; }
.sidebar-tier-card > p { margin: 6px 0 14px; font-size: 11px; }
.tier-progress { height: 6px; }
.sidebar-tier-card > small { margin-top: 10px; font-size: 9px; line-height: 1.45; }
.sidebar-user { grid-template-columns: 39px 1fr 32px; gap: 11px; margin-top: 17px; padding-top: 17px; }
.user-avatar { width: 39px; height: 39px; font-size: 14px; }
.sidebar-user strong { font-size: 12px; }
.sidebar-user small { font-size: 10px; }
.sidebar-user button { width: 32px; height: 32px; }

.dashboard-topbar { height: 76px; padding: 0 40px; }
.topbar-title { gap: 11px; font-size: 12px; }
.topbar-actions { gap: 10px; }
.live-status { padding: 8px 12px; font-size: 10px; }
.support-shortcut,
.topbar-payout { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 12px; border: 1px solid #2d2d31; border-radius: 10px; color: #b7b7bd; font-size: 11px; font-weight: 750; }
.topbar-payout { color: #080808; border-color: var(--green); background: var(--green); }
.topbar-payout:hover { background: #ffe45c; }
.topbar-avatar { width: 36px; height: 36px; font-size: 12px; }

.dashboard-content { width: min(1460px, 100%); padding: 40px; }
#performance,
#earnings,
#referrals { scroll-margin-top: 94px; }
.welcome-row { margin-bottom: 28px; }
.welcome-row p { margin-bottom: 8px; font-size: 14px; }
.welcome-row h1 { font-size: clamp(27px, 2.3vw, 34px); line-height: 1.18; }
.date-chip { font-size: 11px; }
.date-chip span { width: 31px; height: 31px; }
.dashboard-alert { padding: 15px 17px; }
.dashboard-alert strong { font-size: 13px; }
.dashboard-alert p { margin-top: 5px; font-size: 11px; }

.dashboard-stats { gap: 16px; }
.stat-card { min-height: 182px; padding: 22px; border-radius: 18px; }
.stat-head { min-height: 36px; }
.stat-head small { margin-left: 11px; font-size: 9.5px; letter-spacing: .1em; }
.stat-head > i { font-size: 10px; }
.stat-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
.stat-card > strong { margin: 25px 0 9px; font-size: clamp(25px, 2.2vw, 33px); }
.stat-card > p { font-size: 12px; line-height: 1.55; }
.stat-action { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; padding: 7px 10px; border-radius: 8px; color: #080808; background: rgba(8,8,8,.1); font-size: 10px; font-weight: 850; }
.stat-action:hover { background: rgba(8,8,8,.17); }

.panel-card { border-radius: 18px; }
.dashboard-grid,
.insight-grid { gap: 16px; margin-top: 16px; }
.earnings-card,
.referral-card { min-height: 430px; padding: 25px; }
.panel-kicker { margin-bottom: 7px; font-size: 9px; }
.panel-head h2 { font-size: 18px; }
.period-pills { padding: 4px; }
.period-pills span { padding: 7px 10px; font-size: 10px; }
.earnings-summary { margin-top: 25px; }
.earnings-summary small { font-size: 10px; }
.earnings-summary strong { margin-top: 6px; font-size: 18px; }
.bar-chart { height: 255px; }
.bar-column > small { bottom: -22px; font-size: 8px; }
.bar-value { font-size: 9px; }
.referral-card > p { margin: 24px 0 21px; font-size: 13px; line-height: 1.65; }
.link-badge { padding: 5px 8px; font-size: 8px; }
.referral-card > label { margin-bottom: 9px; font-size: 11px; }
.copy-field { gap: 8px; padding: 6px; }
.copy-field input { height: 39px; font-size: 12px; }
.copy-field button { min-width: 78px; font-size: 10px; }
.ref-code-row { margin-top: 14px; padding: 14px; }
.ref-code-row small { font-size: 8px; }
.ref-code-row code { font-size: 15px; }
.ref-code-row button { font-size: 10px; }
.share-note { margin-top: 15px; padding: 11px 12px; }
.share-note span { width: 24px; height: 24px; font-size: 8px; }
.share-note p { font-size: 11px; line-height: 1.55; }
.compact-panel { min-height: 148px; padding: 23px; }
.mini-metrics { margin-top: 22px; }
.mini-icon { width: 39px; height: 39px; font-size: 14px; }
.mini-metrics small { font-size: 9px; }
.mini-metrics strong { margin-top: 5px; font-size: 14px; }
.manager-panel { grid-template-columns: 52px 1fr auto; gap: 18px; }
.manager-icon { width: 51px; height: 51px; font-size: 19px; }
.manager-panel h2 { font-size: 17px; }
.manager-panel p { margin-top: 5px; font-size: 12px; line-height: 1.5; }
.manager-panel > a { padding: 11px 14px; font-size: 11px; }
.referrals-panel { margin-top: 16px; }
.referrals-head { padding: 24px; }
.total-chip { padding: 7px 10px; font-size: 10px; }
.responsive-table table { min-width: 900px; }
.responsive-table th { padding: 14px 20px; font-size: 10px; }
.responsive-table td { padding: 16px 20px; font-size: 13px; }
.responsive-table td strong { font-size: 13px; }
.responsive-table td small { margin-top: 4px; font-size: 10px; }
.table-avatar { width: 34px; height: 34px; font-size: 11px; }
.empty-row td { padding: 54px !important; }
.empty-row strong { font-size: 14px !important; }
.empty-row p { font-size: 11px; }
.pagination { padding: 16px 22px; font-size: 11px; }
.dashboard-footer { padding-top: 30px; font-size: 10px; }

/* Payout workspace */
.payout-workspace { margin-top: 34px; scroll-margin-top: 96px; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.section-intro h2 { margin: 0; font-size: clamp(24px, 2vw, 30px); letter-spacing: -.04em; }
.section-intro p { max-width: 720px; margin: 9px 0 0; color: #8f8f97; font-size: 14px; line-height: 1.65; }
.finance-queue-status { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 12px; border: 1px solid rgba(255,215,0,.15); border-radius: 999px; color: #c9b95f; background: rgba(255,215,0,.05); font-size: 10px; font-weight: 750; }
.finance-queue-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(255,215,0,.55); }
.payout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(350px, .8fr); gap: 16px; }
.payout-request-card { padding: 26px; }
.payout-balance-row { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.payout-balance-row > div { min-width: 0; padding: 17px 18px; border: 1px solid #2b2b2f; border-radius: 14px; background: #0e0e10; }
.payout-balance-row > div > span,
.payout-balance-row > div > strong { display: block; }
.payout-balance-row > div > span { margin-bottom: 9px; color: #777780; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.payout-balance-row > div > strong { overflow: hidden; color: #f0f0f2; font-size: 20px; letter-spacing: -.035em; white-space: nowrap; text-overflow: ellipsis; }
.payout-balance-row .payout-balance-primary { color: #080808; border-color: rgba(255,236,126,.75); background: linear-gradient(135deg, #ffe96b, #ffd700 55%, #f5a623); }
.payout-balance-row .payout-balance-primary > span { color: rgba(8,8,8,.55); }
.payout-balance-row .payout-balance-primary > strong { color: #080808; font-size: 26px; }
.payout-alert { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 15px; border: 1px solid; border-radius: 12px; }
.payout-alert > span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 50%; font-size: 11px; font-weight: 950; }
.payout-alert strong { display: block; margin-bottom: 4px; font-size: 12px; }
.payout-alert p { margin: 0; font-size: 12px; line-height: 1.5; }
.payout-alert.success { color: #e4d478; border-color: rgba(255,215,0,.18); background: rgba(255,215,0,.065); }
.payout-alert.success > span { color: #080808; background: var(--green); }
.payout-alert.error { color: #f0a3a6; border-color: rgba(223,94,98,.22); background: rgba(223,94,98,.07); }
.payout-alert.error > span { color: #fff; background: var(--danger); }
.payout-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.payout-field { display: block; min-width: 0; }
.payout-field > label { display: block; margin-bottom: 9px; color: #d7d7da; font-size: 13px; font-weight: 780; }
.payout-input-wrap { position: relative; display: grid !important; grid-template-columns: 37px 1fr auto; align-items: center; min-height: 54px; margin: 0 !important; overflow: hidden; border: 1px solid #303034; border-radius: 12px; background: #0f0f11; transition: border-color .2s, box-shadow .2s; }
.payout-input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(255,215,0,.08); }
.payout-input-wrap b { color: var(--green); text-align: right; font-size: 16px; }
.payout-input-wrap input { min-width: 0; width: 100%; height: 52px; padding: 0 10px; border: 0; outline: 0; color: #f4f4f5; background: transparent; font-size: 16px; font-weight: 750; }
.payout-input-wrap button { margin-right: 8px; padding: 7px 9px; border: 0; border-radius: 7px; color: #080808; background: var(--green); font-size: 9px; font-weight: 850; cursor: pointer; }
.payout-input-wrap button:disabled { color: #696970; background: #29292d; cursor: not-allowed; }
.payout-field select,
.payout-field textarea { width: 100%; border: 1px solid #303034; border-radius: 12px; outline: 0; color: #eeeeef; background: #0f0f11; transition: border-color .2s, box-shadow .2s; }
.payout-field select { height: 54px; padding: 0 42px 0 14px; font-size: 13px; }
.payout-field textarea { min-height: 108px; padding: 14px; resize: vertical; font-size: 13px; line-height: 1.6; }
.payout-field select:focus,
.payout-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(255,215,0,.08); }
.payout-field select:disabled,
.payout-field textarea:disabled,
.payout-input-wrap:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.payout-details-field { margin-top: 16px; }
.payout-details-field small { display: block; min-height: 16px; margin-top: 7px; color: #85858d; font-size: 11px; line-height: 1.5; }
.payout-blocked-note { margin: 15px 0 0; padding: 10px 12px; border-radius: 9px; color: #d6c572; background: rgba(255,215,0,.06); font-size: 11px; }
.payout-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 21px; padding-top: 19px; border-top: 1px solid #28282c; }
.payout-form-footer > p { display: flex; align-items: flex-start; gap: 8px; max-width: 390px; margin: 0; color: #85858d; font-size: 11px; line-height: 1.55; }
.payout-form-footer > p span { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%; color: #080808; background: var(--green); font-size: 9px; font-weight: 900; }
.payout-form-footer .button { min-width: 194px; min-height: 48px; }
.payout-form-footer .button:disabled { color: #626269; background: #242428; box-shadow: none; cursor: not-allowed; transform: none; }
.payout-empty-state { display: flex; align-items: flex-start; gap: 14px; padding: 24px; border: 1px dashed #343438; border-radius: 14px; color: #a0a0a7; background: #0e0e10; }
.payout-empty-state > span { color: var(--green); font-size: 22px; }
.payout-empty-state strong { color: #efeff0; font-size: 13px; }
.payout-empty-state p { margin: 6px 0 0; font-size: 11px; line-height: 1.55; }

.payout-history-card { align-self: stretch; padding: 24px; }
.payout-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.payout-history-head h3 { margin: 0; font-size: 17px; }
.payout-history-head > span { padding: 6px 9px; border-radius: 999px; color: #d1bf5e; background: rgba(255,215,0,.075); font-size: 9px; font-weight: 800; }
.payout-history-list { display: flex; flex-direction: column; }
.payout-history-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 15px 0; border-top: 1px solid #27272b; }
.payout-history-item:first-child { border-top: 0; }
.payout-method-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #080808; background: linear-gradient(135deg, #ffe45c, #f5a623); font-size: 13px; font-weight: 950; }
.payout-history-main { min-width: 0; }
.payout-history-main strong,
.payout-history-main small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.payout-history-main strong { color: #e8e8ea; font-size: 12px; }
.payout-history-main small { margin-top: 5px; color: #777780; font-size: 9px; }
.payout-history-value { text-align: right; }
.payout-history-value > strong { display: block; margin-bottom: 6px; color: #eeeeef; font-size: 13px; }
.payout-status { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 999px; font-size: 9px; font-weight: 850; }
.payout-status.pending,
.payout-status.processing { color: #ddc95f; background: rgba(255,215,0,.08); }
.payout-status.paid { color: #8fe0aa; background: rgba(76,175,80,.11); }
.payout-status.rejected { color: #e88e92; background: rgba(223,94,98,.11); }
.payout-history-empty { padding: 50px 15px; text-align: center; }
.payout-history-empty > span { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 14px; color: var(--green); background: rgba(255,215,0,.075); font-size: 18px; }
.payout-history-empty strong { display: block; font-size: 12px; }
.payout-history-empty p { max-width: 260px; margin: 7px auto 0; color: #777780; font-size: 10px; line-height: 1.55; }

@media (max-width: 1180px) {
    .payout-grid { grid-template-columns: 1fr; }
    .payout-history-card { min-height: auto; }
}

@media (max-width: 960px) {
    .dashboard-page { --sidebar: 280px; }
    .dashboard-content { padding: 32px 26px; }
    .dashboard-topbar { padding-inline: 24px; }
}

@media (max-width: 700px) {
    .dashboard-content { padding: 24px 16px; }
    .dashboard-topbar { height: 64px; padding: 0 16px; }
    .topbar-actions { gap: 7px; }
    .topbar-payout { width: 35px; min-height: 35px; justify-content: center; padding: 0; font-size: 0; }
    .topbar-payout span { font-size: 13px; }
    .support-shortcut { min-height: 35px; padding-inline: 10px; }
    .welcome-row { margin-bottom: 22px; }
    .welcome-row p { font-size: 12px; }
    .welcome-row h1 { font-size: 24px; }
    .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .stat-card { min-height: 160px; padding: 17px; }
    .stat-card.primary-stat { grid-column: 1 / -1; }
    .stat-head small { font-size: 8px; }
    .stat-card > strong { margin-top: 21px; font-size: 24px; }
    .stat-card > p { font-size: 10px; }
    .section-intro { align-items: flex-start; flex-direction: column; gap: 13px; }
    .section-intro h2 { font-size: 24px; }
    .section-intro p { font-size: 12px; }
    .payout-workspace { margin-top: 28px; scroll-margin-top: 76px; }
    .payout-request-card,
    .payout-history-card { padding: 17px; }
    .payout-balance-row { grid-template-columns: 1fr 1fr; }
    .payout-balance-row .payout-balance-primary { grid-column: 1 / -1; }
    .payout-balance-row > div { padding: 15px; }
    .payout-balance-row > div > strong { font-size: 17px; }
    .payout-form-grid { grid-template-columns: 1fr; }
    .payout-form-footer { align-items: stretch; flex-direction: column; }
    .payout-form-footer .button { width: 100%; }
    .payout-history-item { grid-template-columns: 38px minmax(0, 1fr); }
    .payout-history-value { display: flex; grid-column: 2; align-items: center; justify-content: space-between; text-align: left; }
    .payout-history-value > strong { margin: 0; }
    .earnings-card,
    .referral-card { min-height: auto; padding: 18px; }
    .manager-panel { grid-template-columns: 44px 1fr; }
    .manager-panel > a { grid-column: 1 / -1; text-align: center; }
    .panel-head h2 { font-size: 16px; }
    .compact-panel { padding: 18px; }
    .responsive-table table { min-width: 820px; }
    .responsive-table th { font-size: 9px; }
    .responsive-table td { font-size: 11px; }
}

@media (max-width: 520px) {
    .dashboard-stats { grid-template-columns: 1fr; }
    .stat-card.primary-stat { grid-column: auto; }
    .payout-balance-row { grid-template-columns: 1fr; }
    .payout-balance-row .payout-balance-primary { grid-column: auto; }
    .payout-input-wrap { grid-template-columns: 31px 1fr; }
    .payout-input-wrap button { grid-column: 1 / -1; width: calc(100% - 16px); margin: 0 8px 8px; }
}
