/* ========== GreenGrid CRE — Core Design System ========== */

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

:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #111419;
    --bg-card: #161a22;
    --bg-card-hover: #1c2028;
    --bg-elevated: #1e222b;
    --border: #252a35;
    --border-subtle: #1e222b;
    --gold: #c9a24f;
    --gold-light: #e4c76b;
    --gold-dim: #8b7034;
    --gold-glow: rgba(201, 162, 79, 0.15);
    --green-up: #34d399;
    --green-dim: rgba(52, 211, 153, 0.15);
    --red-down: #f87171;
    --red-dim: rgba(248, 113, 113, 0.12);
    --amber-warn: #fbbf24;
    --amber-dim: rgba(251, 191, 36, 0.12);
    --blue-info: #60a5fa;
    --blue-dim: rgba(96, 165, 250, 0.12);
    --purple: #a78bfa;
    --purple-dim: rgba(167, 139, 250, 0.12);
    --text-primary: #e8e6e1;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-gold: #c9a24f;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
    --shadow-elevated: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

html { font-size: 15px; scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ========== AMBIENT BACKGROUND ========== */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 20% 20%, rgba(201, 162, 79, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(96, 165, 250, 0.02) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(201, 162, 79, 0.01) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 162, 79, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 79, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* ========== LAYOUT ========== */
.app-container {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ========== SIDEBAR NAV ========== */
.sidebar {
    grid-row: 1 / -1;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 6px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-logo {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(201, 162, 79, 0.2);
}

.sidebar-logo svg { width: 22px; height: 22px; }

.nav-item {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover { color: var(--text-secondary); background: var(--bg-card); }
.nav-item.active { color: var(--gold); background: var(--gold-glow); }
.nav-item.active::before {
    content: '';
    position: absolute;
    left: -14px;
    width: 3px; height: 20px;
    background: var(--gold);
    border-radius: 0 3px 3px 0;
}

.nav-item svg { width: 20px; height: 20px; }
.nav-spacer { flex: 1; }

.nav-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #374151, #1f2937);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
}

/* ========== TOP BAR ========== */
.topbar {
    background: rgba(17, 20, 25, 0.9);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.topbar-left { display: flex; align-items: center; gap: 20px; }

.topbar-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.topbar-title span { color: var(--gold); }

.topbar-breadcrumb {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-breadcrumb .sep { opacity: 0.4; }
.topbar-breadcrumb .current { color: var(--text-secondary); }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.topbar-search {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.topbar-search:hover { border-color: var(--gold-dim); }
.topbar-search svg { width: 16px; height: 16px; color: var(--text-muted); }
.topbar-search span { font-size: 0.8rem; color: var(--text-muted); }
.topbar-search kbd {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.7rem;
    font-family: var(--mono);
    color: var(--text-muted);
}

.topbar-notif {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.topbar-notif:hover { background: var(--bg-card); color: var(--text-secondary); }
.topbar-notif svg { width: 18px; height: 18px; }

.notif-dot {
    position: absolute;
    top: 7px; right: 7px;
    width: 7px; height: 7px;
    background: var(--red-down);
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
}

.live-badge {
    display: flex; align-items: center; gap: 6px;
    background: var(--green-dim);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--green-up);
}

.live-dot {
    width: 6px; height: 6px;
    background: var(--green-up);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0); }
}

/* ========== MAIN CONTENT ========== */
.main-content { padding: 28px 32px; overflow-y: auto; }

/* ========== SECTION HEADERS ========== */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle { font-size: 0.8rem; color: var(--text-muted); }

.section-actions { display: flex; gap: 8px; }

/* ========== BUTTONS ========== */
.btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}

.btn:hover { border-color: var(--text-muted); color: var(--text-primary); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #0a0c10;
    border: none;
    font-weight: 600;
}

.btn-gold:hover { box-shadow: 0 0 20px rgba(201, 162, 79, 0.3); }
.btn svg { width: 14px; height: 14px; }

.btn-sm { padding: 6px 12px; font-size: 0.72rem; }
.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold-dim);
    color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
}

/* ========== CARDS ========== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.card-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: space-between;
}

.card-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--text-primary);
}

.card-body { padding: 20px; }

.card-badge {
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-family: var(--mono);
}

.card-badge.gold { background: var(--gold-glow); color: var(--gold); }
.card-badge.green { background: var(--green-dim); color: var(--green-up); }
.card-badge.blue { background: var(--blue-dim); color: var(--blue-info); }
.card-badge.red { background: var(--red-dim); color: var(--red-down); }
.card-badge.amber { background: var(--amber-dim); color: var(--amber-warn); }
.card-badge.purple { background: var(--purple-dim); color: var(--purple); }

/* ========== KPI CARDS ========== */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kpi-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
}

.kpi-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.kpi-value {
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.kpi-change {
    font-size: 0.72rem;
    font-weight: 500;
    display: flex; align-items: center; gap: 4px;
}

.kpi-change.up { color: var(--green-up); }
.kpi-change.down { color: var(--red-down); }
.kpi-change.warn { color: var(--amber-warn); }

.kpi-icon {
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.kpi-icon svg { width: 18px; height: 18px; }
.kpi-icon.gold { background: var(--gold-glow); color: var(--gold); }
.kpi-icon.green { background: var(--green-dim); color: var(--green-up); }
.kpi-icon.blue { background: var(--blue-dim); color: var(--blue-info); }
.kpi-icon.amber { background: var(--amber-dim); color: var(--amber-warn); }

/* ========== STATUS BADGES ========== */
.status-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.status-badge.ok { background: var(--green-dim); color: var(--green-up); }
.status-badge.warn { background: var(--amber-dim); color: var(--amber-warn); }
.status-badge.alert { background: var(--red-dim); color: var(--red-down); }
.status-badge.info { background: var(--blue-dim); color: var(--blue-info); }

/* ========== TYPE BADGES ========== */
.type-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--mono);
}

.type-badge.nnn { background: var(--green-dim); color: var(--green-up); }
.type-badge.nn { background: var(--blue-dim); color: var(--blue-info); }
.type-badge.gross { background: var(--amber-dim); color: var(--amber-warn); }

/* ========== TABLES ========== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 16px;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.data-table tr:hover td { background: var(--bg-card-hover); }
.data-table tr:last-child td { border-bottom: none; }

.mono-val {
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--text-primary);
}

/* ========== OCCUPANCY BAR ========== */
.occupancy-bar {
    width: 80px; height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.occupancy-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.occupancy-fill.high { background: var(--green-up); }
.occupancy-fill.mid { background: var(--amber-warn); }
.occupancy-fill.low { background: var(--red-down); }

/* ========== TABS ========== */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.tab {
    padding: 12px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--sans);
}

.tab:hover { color: var(--text-secondary); }
.tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========== FORM ELEMENTS ========== */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--gold-dim); }

.form-select {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
    appearance: none;
    cursor: pointer;
}

textarea.form-input { min-height: 100px; resize: vertical; }

/* ========== TOGGLE ========== */
.toggle {
    width: 40px; height: 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 11px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.toggle.on { background: var(--green-up); border-color: var(--green-up); }

.toggle::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    background: white;
    border-radius: 50%;
    top: 2px; left: 2px;
    transition: transform 0.2s;
}

.toggle.on::after { transform: translateX(18px); }

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p { font-size: 0.82rem; }

/* ========== PROGRESS BAR ========== */
.progress-bar {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ========== SEARCH/FILTER BAR ========== */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-bar .form-input { max-width: 280px; }
.filter-bar .form-select { max-width: 180px; }

/* ========== ANIMATIONS ========== */
.fade-in { animation: fadeIn 0.6s ease-out forwards; opacity: 0; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }
.fade-in-delay-6 { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ========== FLOATING AURORA CHAT ========== */
.aurora-float-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 9999;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #8b5e3c);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(201, 162, 79, 0.35);
    transition: all 0.3s ease;
    animation: float-pulse 3s ease-in-out infinite;
}

.aurora-float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(201, 162, 79, 0.5); }
.aurora-float-btn.active { animation: none; transform: scale(1); background: linear-gradient(135deg, #4b5563, #374151); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }

@keyframes float-pulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(201, 162, 79, 0.35), 0 0 0 0 rgba(201, 162, 79, 0.25); }
    50% { box-shadow: 0 4px 24px rgba(201, 162, 79, 0.35), 0 0 0 12px rgba(201, 162, 79, 0); }
}

.aurora-float-btn svg { width: 26px; height: 26px; color: #0a0c10; transition: transform 0.3s ease; }
.aurora-float-btn.active svg { color: var(--text-secondary); transform: rotate(45deg); }

.aurora-float-btn .float-badge {
    position: absolute;
    top: -2px; right: -2px;
    width: 18px; height: 18px;
    background: var(--red-down);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem; font-weight: 700; color: #fff;
    transition: opacity 0.2s;
}

.aurora-float-btn.active .float-badge { opacity: 0; }

.aurora-float-window {
    position: fixed;
    bottom: 100px; right: 28px;
    z-index: 9998;
    width: 400px; max-height: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(201, 162, 79, 0.08);
    display: flex; flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.aurora-float-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.float-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, rgba(201, 162, 79, 0.06), transparent);
}

.float-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #8b5e3c);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    box-shadow: 0 0 12px rgba(201, 162, 79, 0.2);
    flex-shrink: 0;
}

.float-avatar svg { width: 18px; height: 18px; color: #0a0c10; }
.float-avatar::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    background: var(--green-up);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.float-header-info { flex: 1; }
.float-header-info h4 { font-family: var(--serif); font-size: 1rem; color: var(--text-primary); }
.float-header-info p { font-size: 0.68rem; color: var(--green-up); font-weight: 500; }

.float-messages {
    flex: 1; padding: 16px 18px;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 14px;
    max-height: 340px; min-height: 200px;
}

.float-msg {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
}

.float-msg.ai {
    background: linear-gradient(135deg, rgba(201, 162, 79, 0.08), rgba(201, 162, 79, 0.03));
    border: 1px solid rgba(201, 162, 79, 0.12);
    align-self: flex-start;
    color: var(--text-primary);
}

.float-msg.user {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    align-self: flex-end;
    color: var(--text-secondary);
}

.float-msg .float-msg-name {
    font-size: 0.62rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.float-msg.ai .float-msg-name { color: var(--gold); }
.float-msg.user .float-msg-name { color: var(--text-muted); }
.float-msg .float-msg-time { font-size: 0.62rem; color: var(--text-muted); margin-top: 6px; }

.float-input-area {
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex; gap: 10px; align-items: center;
}

.float-input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.float-input::placeholder { color: var(--text-muted); }
.float-input:focus { border-color: var(--gold-dim); }

.float-send-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
    flex-shrink: 0;
}

.float-send-btn:hover { box-shadow: 0 0 14px rgba(201, 162, 79, 0.3); }
.float-send-btn svg { width: 15px; height: 15px; color: #0a0c10; }

.float-typing {
    display: flex; gap: 4px;
    padding: 8px 14px;
    align-self: flex-start;
}

.float-typing span {
    width: 6px; height: 6px;
    background: var(--gold-dim);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}
.float-typing span:nth-child(2) { animation-delay: 0.2s; }
.float-typing span:nth-child(3) { animation-delay: 0.4s; }

.float-suggestions {
    padding: 0 18px 12px;
    display: flex; flex-wrap: wrap; gap: 6px;
}

.float-suggestion {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--sans);
}

.float-suggestion:hover {
    border-color: var(--gold-dim);
    color: var(--gold);
    background: var(--gold-glow);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
    .kpi-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
    .kpi-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .app-container { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .kpi-strip { grid-template-columns: 1fr; }
    .aurora-float-window { width: calc(100vw - 24px) !important; right: 12px !important; bottom: 80px !important; }
}
