        :root {
            --bg-1: #0f172a;
            --bg-2: #1e293b;
            --panel: rgba(255, 255, 255, 0.08);
            --panel-border: rgba(255, 255, 255, 0.16);
            --text-main: #e2e8f0;
            --text-muted: #94a3b8;
            --accent-eur: #22c55e;
            --accent-gold: #f59e0b;
            --accent-sky: #38bdf8;
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-main);
            background:
                radial-gradient(circle at 12% 20%, rgba(34, 197, 94, 0.15), transparent 30%),
                radial-gradient(circle at 85% 16%, rgba(245, 158, 11, 0.15), transparent 32%),
                linear-gradient(145deg, var(--bg-1), var(--bg-2));
        }

        .wrap {
            max-width: 1200px;
            margin: 0 auto;
            padding: 28px 16px 56px;
        }

        .top-nav {
            display: flex;
            gap: 10px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .nav-btn {
            border: 1px solid rgba(148, 163, 184, 0.3);
            background: rgba(15, 23, 42, 0.55);
            color: #e2e8f0;
            border-radius: 999px;
            padding: 8px 14px;
            font-size: 12px;
            letter-spacing: 0.3px;
            text-transform: uppercase;
            cursor: pointer;
        }

        .nav-btn.active {
            background: linear-gradient(90deg, #22c55e, #16a34a);
            color: #052e16;
            border-color: transparent;
            font-weight: 700;
        }

        .tab-section {
            display: none;
        }

        .tab-section.active {
            display: block;
        }

        .hidden {
            display: none !important;
        }

        .hero {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 18px;
            margin-bottom: 18px;
        }

        .panel {
            background: var(--panel);
            border: 1px solid var(--panel-border);
            border-radius: 16px;
            backdrop-filter: blur(6px);
        }

        .hero-main {
            padding: 24px;
        }

        .pill {
            display: inline-block;
            font-size: 11px;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            font-weight: 700;
            color: #0f172a;
            background: linear-gradient(90deg, #f59e0b, #fcd34d);
            padding: 6px 10px;
            border-radius: 999px;
            margin-bottom: 10px;
        }

        h1 {
            margin: 0 0 10px;
            font-size: clamp(28px, 4vw, 42px);
            line-height: 1.1;
            color: #f8fafc;
        }

        .hero p {
            margin: 0;
            color: var(--text-muted);
            line-height: 1.6;
            font-size: 15px;
        }

        .hero-side {
            padding: 18px;
            display: grid;
            gap: 12px;
            align-content: center;
        }

        .kpi {
            background: rgba(15, 23, 42, 0.45);
            border: 1px solid rgba(148, 163, 184, 0.18);
            border-radius: 12px;
            padding: 12px;
        }

        .kpi .label {
            color: var(--text-muted);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            margin-bottom: 6px;
        }

        .kpi .value {
            font-size: 24px;
            font-weight: 800;
            color: #ffffff;
        }

        .kpi .sub {
            margin-top: 4px;
            color: #cbd5e1;
            font-size: 12px;
        }

        .grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-top: 18px;
        }

        .chart-panel {
            padding: 16px;
            min-height: 340px;
        }

        .chart-title {
            margin: 0 0 10px;
            font-size: 15px;
            font-weight: 700;
            color: #f8fafc;
        }

        .chart-sub {
            margin: 0 0 12px;
            color: var(--text-muted);
            font-size: 13px;
        }

        .chart-box {
            position: relative;
            height: 250px;
        }

        .footer-note {
            margin-top: 18px;
            font-size: 12px;
            color: var(--text-muted);
            text-align: right;
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-top: 18px;
        }

        .info-panel {
            padding: 16px;
        }

        .info-item {
            padding: 10px 0;
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
        }

        .info-item:last-child {
            border-bottom: 0;
        }

        .info-label {
            color: var(--text-muted);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            margin-bottom: 4px;
        }

        .info-value {
            color: #f8fafc;
            font-weight: 700;
            font-size: 15px;
        }

        .table-panel {
            margin-top: 18px;
            padding: 16px;
        }

        .admin-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-top: 18px;
        }

        .admin-panel {
            padding: 16px;
        }

        .admin-form {
            display: grid;
            gap: 8px;
            margin-top: 10px;
        }

        .admin-form input,
        .admin-form select,
        .admin-form textarea {
            width: 100%;
            border: 1px solid rgba(148, 163, 184, 0.35);
            border-radius: 8px;
            padding: 9px 10px;
            background: rgba(15, 23, 42, 0.55);
            color: #e2e8f0;
        }

        .admin-form button {
            margin-top: 4px;
            border: 0;
            border-radius: 8px;
            padding: 10px 12px;
            cursor: pointer;
            font-weight: 700;
            color: #052e16;
            background: linear-gradient(90deg, #22c55e, #16a34a);
        }

        .admin-auth {
            margin-top: 18px;
            padding: 16px;
        }

        .admin-state {
            margin-top: 12px;
            font-size: 13px;
            color: #cbd5e1;
        }

        .admin-subnav {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 14px;
        }

        .admin-subnav .nav-btn {
            text-decoration: none;
            border-radius: 999px;
        }

        .admin-section-title {
            margin: 34px 0 0;
            padding-top: 22px;
            border-top: 1px solid rgba(148, 163, 184, 0.22);
            font-size: 19px;
            font-weight: 800;
            color: #f0a500;
            letter-spacing: 0.01em;
            scroll-margin-top: 20px;
        }

        .admin-note {
            margin: 4px 0 14px;
            font-size: 13px;
            color: #94a3b8;
        }

        .profile-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
            margin-top: 18px;
        }

        .profile-list {
            margin: 0;
            padding-left: 16px;
            color: #cbd5e1;
            line-height: 1.7;
            font-size: 14px;
        }

        .table-wrap {
            overflow-x: auto;
            border: 1px solid rgba(148, 163, 184, 0.2);
            border-radius: 10px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 780px;
        }

        th,
        td {
            padding: 10px 12px;
            text-align: left;
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
            font-size: 13px;
        }

        th {
            color: #e2e8f0;
            background: rgba(15, 23, 42, 0.45);
            font-weight: 700;
        }

        td {
            color: #cbd5e1;
        }

        .tag {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

        .tag-deposit { background: rgba(34, 197, 94, 0.2); color: #86efac; }
        .tag-conversion { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
        .tag-withdrawal { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
        .tag-other { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }

        .state {
            margin-top: 14px;
            font-size: 13px;
            color: #fcd34d;
        }

        .range-toolbar {
            margin-top: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }

        .range-group {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .range-btn {
            border: 1px solid rgba(148, 163, 184, 0.28);
            background: rgba(15, 23, 42, 0.46);
            color: #cbd5e1;
            border-radius: 999px;
            padding: 7px 12px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.35px;
            text-transform: uppercase;
            cursor: pointer;
        }

        .range-btn.active {
            background: linear-gradient(90deg, rgba(56, 189, 248, 0.95), rgba(14, 165, 233, 0.95));
            color: #082f49;
            border-color: transparent;
        }

        .range-meta {
            color: #94a3b8;
            font-size: 12px;
            text-align: right;
        }

        .cookie-banner {
            position: fixed;
            left: 14px;
            right: 14px;
            bottom: 14px;
            z-index: 2000;
            border-radius: 14px;
            border: 1px solid rgba(148, 163, 184, 0.35);
            background: rgba(15, 23, 42, 0.96);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
            padding: 14px;
            display: none;
        }

        .cookie-banner.show {
            display: block;
        }

        .cookie-title {
            margin: 0 0 6px;
            font-size: 14px;
            font-weight: 700;
            color: #f8fafc;
        }

        .cookie-text {
            margin: 0;
            font-size: 13px;
            color: #cbd5e1;
            line-height: 1.5;
        }

        .cookie-actions {
            margin-top: 10px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        @media (max-width: 920px) {
            .hero { grid-template-columns: 1fr; }
            .grid { grid-template-columns: 1fr; }
        }
