/* ============================================
   NerayHunter — Müşteri Portalı Stilleri
   Premium dark theme with emerald + violet accents
   ============================================ */

/* ====== CSS VARİABLES ====== */
:root {
    --bg-base: #05070d;
    --bg-surface: #0b0f18;
    --bg-card: rgba(255, 255, 255, 0.022);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --bg-input: rgba(255, 255, 255, 0.04);
    --bg-input-focus: rgba(255, 255, 255, 0.07);

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-focus: rgba(16, 185, 129, 0.5);

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #4b5563;
    --text-label: #cbd5e1;

    --accent: #10b981;
    --accent-hover: #34d399;
    --accent-gradient: linear-gradient(135deg, #10b981, #6366f1);
    --accent-glow: 0 0 24px rgba(16, 185, 129, 0.25);

    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.3);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Cascadia Code', monospace;

    --header-h: 64px;
    --max-w: 1100px;
    --transition: 0.2s ease;
}

/* ====== RESET & BASE ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

input, select, button, textarea { font-family: var(--font); }
.hidden { display: none !important; }
.screen { min-height: 100vh; }

/* ====== ACCESS SCREEN ====== */
#access-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-base);
}

.access-bg { position: absolute; inset: 0; z-index: 0; }

.access-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 14s ease-in-out infinite;
}

.orb-1 { width: 400px; height: 400px; background: #10b981; top: 10%; left: 15%; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: #6366f1; bottom: 15%; right: 18%; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: #06b6d4; top: 55%; left: 55%; animation-delay: -9s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.access-card {
    position: relative;
    z-index: 1;
    background: rgba(11, 15, 24, 0.8);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 44px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    animation: cardSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardSlideUp {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.access-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.logo-icon { font-size: 28px; }
.logo-icon.sm { font-size: 20px; }

.logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text.sm { font-size: 20px; }

.access-title { font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.access-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.access-form { display: flex; flex-direction: column; gap: 12px; }

#key-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-mono);
    letter-spacing: 1.5px;
    text-align: center;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

#key-input:focus {
    border-color: var(--accent);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

#key-input::placeholder { letter-spacing: 1px; font-size: 14px; }

#access-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

#access-btn:hover { transform: translateY(-1px); box-shadow: var(--accent-glow); }
#access-btn:active { transform: translateY(0); }
#access-btn:disabled { opacity: 0.6; cursor: wait; }

.access-hint { font-size: 12px; color: var(--text-muted); margin-top: 16px; }

/* ====== HEADER ====== */
#portal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left { display: flex; align-items: center; gap: 16px; }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-logo { display: flex; align-items: center; gap: 8px; }
.header-sep { width: 1px; height: 24px; background: var(--border); }
.header-info { display: flex; flex-direction: column; }
.header-name { font-size: 14px; font-weight: 600; color: var(--text-primary); line-height: 1.2; }
.header-meta { font-size: 11px; color: var(--text-muted); line-height: 1.2; }

/* Agent Status Badge */
.agent-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
    border: 1px solid;
}

.agent-badge.online {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.agent-badge.offline {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.agent-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.agent-badge.online .agent-dot {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: pulse 2s infinite;
}

.agent-badge.offline .agent-dot { background: var(--error); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-icon:hover { color: var(--text-primary); background: var(--bg-input); border-color: var(--border); }
.btn-icon.btn-xs { width: 28px; height: 28px; font-size: 14px; }

/* ====== STATS BAR ====== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: border-color var(--transition);
}

.stat-card:hover { border-color: var(--border-hover); }
.stat-value { font-size: 26px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.stat-value.hot { color: var(--warning); }
.stat-value.sent { color: var(--success); }
.stat-value.weekly { color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ====== MAIN ====== */
#portal-main {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px 24px 48px;
}

/* ====== PROFILE BAR (READ-ONLY) ====== */
.profile-bar {
    margin-bottom: 20px;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.profile-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 20px;
}

.profile-item {
    flex: 1;
    min-width: 140px;
    padding: 8px 16px;
    border-right: 1px solid var(--border);
}

.profile-item:last-child { border-right: none; }
.profile-label { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.profile-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.plan-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 12px !important;
    font-weight: 700 !important;
}

.plan-starter { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.plan-growth { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.plan-pro { background: rgba(168, 85, 247, 0.15); color: #c4b5fd; }
.plan-agency { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }

.profile-note {
    padding: 8px 20px 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border);
}

/* ====== CONFIG GRID ====== */
.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* ====== CARDS ====== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:hover { border-color: var(--border-hover); }
.card-wide { animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.card-icon { font-size: 18px; }
.card-header h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); flex: 1; }

.limit-badge {
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-hover);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.card-body { padding: 20px; }
.card-body-row { display: flex; align-items: center; gap: 16px; }
.card-body-center { display: flex; justify-content: center; padding: 24px; }
.card-hint { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

/* ====== FORMS ====== */
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-label); margin-bottom: 6px; }
.form-hint { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row .form-group { margin-bottom: 0; }

input[type="text"], input[type="tel"], input[type="email"],
input[type="number"], input[type="password"], select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

input:focus, select:focus {
    border-color: var(--accent);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

input::placeholder { color: var(--text-muted); }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select option { background: var(--bg-surface); color: var(--text-primary); }

.input-with-toggle { position: relative; }
.input-with-toggle input { padding-right: 44px; }
.toggle-visibility { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 4px; transition: color var(--transition); }
.toggle-visibility:hover { color: var(--text-secondary); }

/* ====== CHECKBOXES ====== */
.checkbox-group { display: flex; gap: 16px; }
.check-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-secondary); user-select: none; }
.check-label input[type="checkbox"] { display: none; }
.check-box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--border-hover); background: var(--bg-input); position: relative; transition: all var(--transition); flex-shrink: 0; }
.check-label input:checked + .check-box { background: var(--accent); border-color: var(--accent); }
.check-label input:checked + .check-box::after { content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.toggle-row { padding: 10px 0; }
.collapsible { transition: opacity var(--transition); }

/* ====== QUERIES LIST ====== */
.queries-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; max-height: 240px; overflow-y: auto; }
.query-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs); font-size: 13.5px; color: var(--text-primary); animation: tagIn 0.2s ease; }
.query-remove { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; transition: all var(--transition); }
.query-remove:hover { background: rgba(239, 68, 68, 0.12); color: var(--error); }
.add-row { display: flex; gap: 8px; }
.flex-1 { flex: 1; }

@keyframes tagIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

/* ====== BUTTONS ====== */
.btn-accent { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--accent-gradient); border: none; border-radius: var(--radius-xs); color: white; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform var(--transition), box-shadow var(--transition); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: var(--accent-glow); }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

.btn-primary { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; background: var(--accent-gradient); border: none; border-radius: var(--radius-sm); color: white; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--accent-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

.btn-secondary { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-primary); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: all var(--transition); }
.btn-secondary:hover { background: var(--bg-input-focus); border-color: var(--border-hover); }

/* ====== SAVE BAR ====== */
.save-bar { display: flex; justify-content: center; padding: 20px 0 24px; animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }

/* ====== WHATSAPP QR ====== */
.qr-area { text-align: center; }
.qr-placeholder { color: var(--text-muted); font-size: 13px; }
.qr-placeholder p { margin-bottom: 12px; }
.qr-image { max-width: 250px; border-radius: var(--radius-sm); border: 2px solid var(--border); }

.wa-status-badge { padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.wa-connected { background: rgba(34, 197, 94, 0.12); color: #86efac; }
.wa-pending { background: rgba(245, 158, 11, 0.12); color: #fcd34d; }
.wa-disconnected { background: rgba(148, 163, 184, 0.1); color: var(--text-muted); }

/* ====== PIPELINE ====== */
.pipeline-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.step-btn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); cursor: pointer; transition: all var(--transition); position: relative; overflow: hidden; }
.step-btn:hover { border-color: var(--accent); background: var(--bg-input-focus); box-shadow: var(--accent-glow); transform: translateY(-2px); }
.step-btn:active { transform: translateY(0); }
.step-btn.running { border-color: var(--warning); box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); pointer-events: none; }
.step-btn.running::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; background: var(--warning); animation: progressBar 60s linear; }
@keyframes progressBar { from { width: 0%; } to { width: 100%; } }
.step-btn.done { border-color: var(--success); box-shadow: 0 0 20px rgba(34, 197, 94, 0.15); }
.step-icon { font-size: 22px; line-height: 1; }
.step-info { text-align: left; }
.step-name { font-size: 13px; font-weight: 600; }
.step-desc { font-size: 10.5px; color: var(--text-muted); }
.step-badge { position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%; font-size: 9px; font-weight: 700; color: var(--text-muted); }
.step-arrow { color: var(--text-muted); flex-shrink: 0; }

/* ====== CONSOLE ====== */
.console-wrap { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); animation: fadeInUp 0.3s ease; }
.console-top-bar { display: flex; align-items: center; padding: 8px 14px; background: rgba(0, 0, 0, 0.3); gap: 10px; }
.console-dots { display: flex; gap: 6px; }
.console-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); opacity: 0.4; }
.console-dots span:first-child { background: var(--error); opacity: 0.7; }
.console-dots span:nth-child(2) { background: var(--warning); opacity: 0.7; }
.console-dots span:last-child { background: var(--success); opacity: 0.7; }
.console-title { flex: 1; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.console-output { background: #080b12; color: #a5f3a3; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; padding: 16px; max-height: 400px; overflow-y: auto; white-space: pre-wrap; word-break: break-all; }
.console-output::-webkit-scrollbar { width: 6px; }
.console-output::-webkit-scrollbar-track { background: transparent; }
.console-output::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ====== TOAST ====== */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-xs); font-size: 13.5px; font-weight: 500; backdrop-filter: blur(16px); pointer-events: auto; animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--shadow-md); }
.toast.out { animation: toastOut 0.3s ease forwards; }
.toast-success { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); color: #86efac; }
.toast-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }
.toast-info { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }

@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(40px); } }

/* ====== FOOTER ====== */
.portal-footer { text-align: center; padding: 24px; color: var(--text-muted); font-size: 12px; border-top: 1px solid var(--border); margin-top: 16px; }
.footer-link { color: var(--accent); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ====== SPINNER ====== */
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.2); border-top-color: white; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.14); }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .config-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(3, 1fr); }
    .pipeline-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .access-card { margin: 16px; padding: 32px 24px; }
    .header-info, .header-sep { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .card-body-row { flex-direction: column; align-items: flex-start; }
    .profile-items { flex-direction: column; }
    .profile-item { border-right: none; border-bottom: 1px solid var(--border); padding: 8px 0; }
    .profile-item:last-child { border-bottom: none; }
    .agent-badge .agent-text { display: none; }
}

@media (max-width: 480px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-card:last-child { grid-column: span 2; }
}
