/* ===================================
   UI Concepts - Base Styles
   =================================== */
:root {
    --ui-bg: #f8f8f6;
    --ui-bg-secondary: #ffffff;
    --ui-surface: rgba(0, 0, 0, 0.03);
    --ui-surface-hover: rgba(0, 0, 0, 0.06);
    --ui-border: rgba(0, 0, 0, 0.1);
    --ui-text: #0a0a0a;
    --ui-text-secondary: rgba(0, 0, 0, 0.6);
    --ui-text-muted: rgba(0, 0, 0, 0.4);
    --ui-accent: #6366F1;
    --ui-accent-glow: rgba(99, 102, 241, 0.3);
    --ui-green: #10B981;
    --ui-red: #EF4444;
    --ui-orange: #F59E0B;
    --ui-purple: #8B5CF6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.uiconcepts-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--ui-bg);
    color: var(--ui-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===================================
   Navigation
   =================================== */
.uiconcepts-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    z-index: 100;
    background: rgba(248, 248, 246, 0.95);
    border-bottom: 1px solid var(--ui-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-back {
    color: var(--ui-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--ui-text);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--ui-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ui-text);
}

.nav-links .nav-cta {
    background: #000000;
    color: #ffffff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.nav-links .nav-cta:hover {
    background: #000000;
    color: #ffffff;
    opacity: 0.8;
}

/* ===================================
   Hero Section
   =================================== */
.uiconcepts-hero {
    padding: 10rem 3rem 4rem;
    text-align: center;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
        var(--ui-bg);
    position: relative;
    overflow: hidden;
}

.uiconcepts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(0,0,0,0.03) 49%, rgba(0,0,0,0.03) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0,0,0,0.02) 49%, rgba(0,0,0,0.02) 51%, transparent 51%);
    background-size: 60px 60px;
    pointer-events: none;
}

.uiconcepts-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 140%;
    background:
        radial-gradient(ellipse at 35% 30%, rgba(99, 102, 241, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 45%);
    pointer-events: none;
    animation: heroGradientDrift 25s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroGradientDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(4%, -3%) scale(1.03); }
    66% { transform: translate(-3%, 2%) scale(0.97); }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ui-accent);
    background: rgba(99, 102, 241, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #404040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--ui-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===================================
   Content Area
   =================================== */
.uiconcepts-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 4rem;
}

/* ===================================
   Concept Section
   =================================== */
.concept-section {
    margin-bottom: 6rem;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
    overflow: hidden;
}

.concept-header {
    margin-bottom: 3rem;
}

.concept-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ui-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.concept-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.concept-description {
    font-size: 1rem;
    color: var(--ui-text-secondary);
    max-width: 600px;
}

/* ===================================
   Dashboard Mockup - Static Version
   =================================== */
.dashboard-mockup-static {
    /* Local dark theme variables for this mockup */
    --mock-bg: #0f0f18;
    --mock-surface: rgba(255, 255, 255, 0.035);
    --mock-surface-hover: rgba(255, 255, 255, 0.055);
    --mock-border: rgba(255, 255, 255, 0.07);
    --mock-border-top: rgba(255, 255, 255, 0.12);
    --mock-text: #f0f0f8;
    --mock-text-secondary: rgba(240, 240, 248, 0.6);
    --mock-text-muted: rgba(240, 240, 248, 0.35);

    background: var(--mock-bg);
    border-radius: 22px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    pointer-events: none;
    user-select: none;
    margin-bottom: 1.5rem;
    contain: layout style paint;
    color: var(--mock-text);
    position: relative;
    overflow: hidden;
}

.dashboard-mockup-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.static-dashboard {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 600px;
    background: linear-gradient(145deg, #1c1c2c 0%, #13131f 100%);
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.85rem;
}

/* Static Sidebar */
.static-sidebar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-right: 1px solid var(--mock-border);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.static-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.static-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.static-logo span { color: var(--mock-text); }

.static-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.static-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 9px;
    color: var(--mock-text-muted);
    font-size: 0.78rem;
    border-left: 2px solid transparent;
}

.static-nav-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.static-nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.06));
    color: #a5b4fc;
    border-left-color: #6366F1;
}

.static-nav-item.active .static-nav-icon { opacity: 1; }

.static-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--mock-border);
    border-top-color: var(--mock-border-top);
    border-radius: 10px;
    font-size: 0.78rem;
    color: var(--mock-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.static-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.static-plan { color: #a5b4fc; font-size: 0.68rem; }
.static-user div { color: var(--mock-text); line-height: 1.5; }

/* Static Main Area */
.static-main {
    padding: 1.25rem 1.5rem;
}

.static-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--mock-border);
}

.static-greeting {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mock-text);
    letter-spacing: -0.02em;
}

.static-date {
    font-size: 0.75rem;
    color: var(--mock-text-muted);
    margin-top: 0.1rem;
}

.static-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.static-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--mock-border);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    color: var(--mock-text-muted);
    font-size: 0.75rem;
}

.static-notif {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--mock-border);
    border-top-color: var(--mock-border-top);
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    color: var(--mock-text-secondary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.static-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: white;
    font-size: 0.52rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 100px;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

/* Static Stats */
.static-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.static-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem;
    background: linear-gradient(145deg, rgba(28, 28, 44, 0.95), rgba(18, 18, 30, 0.98));
    border: 1px solid var(--mock-border);
    border-top-color: var(--mock-border-top);
    border-radius: 12px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.static-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.static-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.static-stat-icon.blue {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.1));
    color: #a5b4fc;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.static-stat-icon.green {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
    color: #34d399;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}
.static-stat-icon.red {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1));
    color: #f87171;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}
.static-stat-icon.purple {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.1));
    color: #c084fc;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.static-stat-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.static-stat-label {
    font-size: 0.6rem;
    color: var(--mock-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.static-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mock-text);
    letter-spacing: -0.02em;
}

.static-stat-change {
    font-size: 0.62rem;
    font-weight: 500;
}

.static-stat-change.green { color: #34d399; }
.static-stat-change.red { color: #f87171; }
.static-stat-change.muted { color: var(--mock-text-muted); }

/* Static Grid */
.static-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0.75rem;
}

.static-card {
    background: linear-gradient(145deg, rgba(22, 22, 36, 0.98), rgba(14, 14, 24, 1));
    border: 1px solid var(--mock-border);
    border-top-color: var(--mock-border-top);
    border-radius: 13px;
    padding: 1rem;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.static-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.static-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--mock-border);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--mock-text);
}

.static-link { color: #818cf8; font-size: 0.72rem; font-weight: 500; }
.static-muted { color: var(--mock-text-muted); font-size: 0.72rem; font-weight: 400; }

.static-tabs {
    display: flex;
    gap: 0.1rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px;
    border-radius: 6px;
    font-size: 0.68rem;
    border: 1px solid var(--mock-border);
}

.static-tabs span {
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    color: var(--mock-text-muted);
}

.static-tabs span.active {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    color: white;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.4);
}

/* Static Chart */
.static-chart-card { grid-row: span 1; }

.static-chart {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 110px;
    padding: 0 0.25rem;
    gap: 0.4rem;
}

.static-chart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0;
    pointer-events: none;
}

.static-chart-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.static-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.7) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 4px 4px 2px 2px;
    position: relative;
    z-index: 1;
}

.static-bar-active {
    background: linear-gradient(180deg, #818cf8 0%, rgba(99, 102, 241, 0.5) 100%);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.static-chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0.25rem 0;
    font-size: 0.62rem;
    color: var(--mock-text-muted);
}

/* Static Transactions */
.static-transactions-card { grid-row: span 2; }

.static-transaction {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    background: var(--mock-surface);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 9px;
    margin-bottom: 0.4rem;
}

.static-t-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.static-t-icon.orange {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
    color: #fbbf24;
}
.static-t-icon.green {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    color: #34d399;
}
.static-t-icon.red {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.08));
    color: #f87171;
}
.static-t-icon.blue {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.08));
    color: #a5b4fc;
}
.static-t-icon.purple {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08));
    color: #c084fc;
}

.static-t-info {
    flex: 1;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--mock-text);
    min-width: 0;
}

.static-t-info span { color: var(--mock-text-muted); font-size: 0.67rem; }

.static-t-amount { font-size: 0.78rem; font-weight: 600; color: var(--mock-text); white-space: nowrap; }
.static-t-amount.positive { color: #34d399; }

/* Static Budget */
.static-budget { margin-bottom: 0.7rem; }

.static-budget-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.73rem;
    margin-bottom: 0.4rem;
    color: var(--mock-text);
}

.static-over { color: #f87171; }

.static-budget-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.static-budget-bar div {
    height: 100%;
    border-radius: 4px;
}

/* Static Actions */
.static-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.static-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 0.4rem;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-top-color: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.static-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
}

.static-action span {
    display: block;
    font-size: 0.62rem;
    color: var(--mock-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Upcoming Bills */
.static-bills-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.static-bills-card .static-card-header {
    margin-bottom: 0.25rem;
}

.static-bill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    background: var(--mock-surface);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 9px;
}

.static-bill-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.static-bill-icon.electric {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
    color: #fbbf24;
}
.static-bill-icon.internet {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.08));
    color: #a5b4fc;
}
.static-bill-icon.insurance {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    color: #34d399;
}

.static-bill-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.static-bill-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--mock-text);
}

.static-bill-due {
    font-size: 0.63rem;
    color: var(--mock-text-muted);
}

.static-bill-amount {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mock-text);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
    .static-dashboard {
        grid-template-columns: 1fr;
    }

    .static-sidebar {
        display: none;
    }

    .static-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .static-grid {
        grid-template-columns: 1fr;
    }

    .static-transactions-card {
        grid-row: auto;
    }
}

/* ===================================
   Concept Details
   =================================== */
.concept-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ui-border);
}

.detail-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ui-text);
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--ui-text-secondary);
    line-height: 1.6;
}

.concept-desc {
    font-size: 1rem;
    color: var(--ui-text-secondary);
    max-width: 600px;
}

/* ===================================
   Call Center Dashboard - Light Theme
   =================================== */
.callcenter-mockup-static {
    background: linear-gradient(145deg, #E8F4F8 0%, #D4E5ED 100%);
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 50, 80, 0.12);
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    contain: layout style paint;
}

.cc-dashboard {
    font-size: 0.8rem;
    color: #1a3a4a;
}

/* CC Navigation */
.cc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cc-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cc-logo-icon {
    font-size: 1.3rem;
    color: #10B981;
}

.cc-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3a4a;
}

.cc-nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #6B7C85;
}

.cc-nav-links span.active {
    color: #1a3a4a;
    font-weight: 600;
}

.cc-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cc-search {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #9CA3AF;
}

.cc-notif {
    font-size: 1rem;
}

.cc-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

/* CC Main Layout */
.cc-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
}

.cc-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cc-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* CC Stats Row */
.cc-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.cc-stat-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 50, 80, 0.06);
}

.cc-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.cc-stat-icon.calls { background: #DBEAFE; }
.cc-stat-icon.time { background: #FEF3C7; }
.cc-stat-icon.resolved { background: #D1FAE5; }
.cc-stat-icon.csat { background: #EDE9FE; }

.cc-stat-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.cc-stat-label {
    font-size: 0.65rem;
    color: #6B7C85;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.cc-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3a4a;
    line-height: 1.2;
    margin-top: 0.15rem;
}

.cc-stat-badge {
    font-size: 0.6rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
    align-self: flex-start;
    flex-shrink: 0;
}

.cc-stat-badge.urgent {
    background: #FEE2E2;
    color: #DC2626;
}

.cc-stat-trend {
    font-size: 0.68rem;
    font-weight: 600;
    align-self: flex-start;
    flex-shrink: 0;
    white-space: nowrap;
}

.cc-stat-trend.up { color: #10B981; }
.cc-stat-trend.down { color: #3B82F6; }

/* CC Cards */
.cc-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 50, 80, 0.06);
}

.cc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a3a4a;
}

.cc-link {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 500;
}

.cc-date-select {
    font-size: 0.75rem;
    color: #6B7C85;
    background: #F3F4F6;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

/* CC Volume Chart */
.cc-volume-amount {
    font-size: 0.85rem;
    color: #6B7C85;
    margin-bottom: 0.75rem;
}

.cc-volume-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 80px;
}

.cc-bar {
    flex: 1;
    background: linear-gradient(180deg, #93C5FD 0%, #DBEAFE 100%);
    border-radius: 4px 4px 2px 2px;
}

.cc-bar.highlighted {
    background: linear-gradient(180deg, #3B82F6 0%, #93C5FD 100%);
}

.cc-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.65rem;
    color: #9CA3AF;
}

/* CC Performance Chart */
.cc-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #6B7C85;
}

.cc-legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.blue { background: #3B82F6; }
.legend-dot.green { background: #10B981; }

.cc-line-chart {
    display: flex;
    gap: 0.5rem;
    height: 80px;
}

.cc-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #9CA3AF;
    width: 30px;
}

.cc-chart-area {
    flex: 1;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    border-radius: 6px;
}

.cc-chart-area svg {
    width: 100%;
    height: 100%;
}

.cc-x-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-left: 35px;
    font-size: 0.65rem;
    color: #9CA3AF;
}

/* CC Agent List */
.cc-agent-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cc-agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    background: #F8FAFC;
    border-radius: 10px;
}

.cc-agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.cc-agent-avatar.green { background: linear-gradient(135deg, #10B981, #059669); }
.cc-agent-avatar.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.cc-agent-avatar.orange { background: linear-gradient(135deg, #F59E0B, #D97706); }
.cc-agent-avatar.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }

.cc-agent-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-agent-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a3a4a;
}

.cc-agent-status {
    font-size: 0.7rem;
    color: #6B7C85;
}

.cc-agent-calls {
    font-size: 0.7rem;
    color: #9CA3AF;
}

/* CC Satisfaction Gauge */
.cc-gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem 0;
}

.cc-gauge {
    position: relative;
    width: 100px;
    height: 55px;
    overflow: hidden;
}

.cc-gauge-arc {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid transparent;
}

.cc-gauge-arc.red {
    border-top-color: #FCA5A5;
    border-left-color: #FCA5A5;
    transform: rotate(-45deg);
}

.cc-gauge-arc.yellow {
    border-top-color: #FCD34D;
    transform: rotate(15deg);
}

.cc-gauge-arc.green {
    border-top-color: #6EE7B7;
    border-right-color: #6EE7B7;
    transform: rotate(75deg);
}

.cc-gauge-value {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a4a;
}

.cc-gauge-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.cc-gauge-label.excellent { color: #10B981; }

.cc-nps-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 1rem;
}

.cc-nps-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6B7C85;
}

.cc-nps-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cc-nps-dot.promoters { background: #10B981; }
.cc-nps-dot.passives { background: #F59E0B; }
.cc-nps-dot.detractors { background: #EF4444; }

.cc-nps-pct {
    margin-left: auto;
    font-weight: 600;
    color: #1a3a4a;
}

/* CC Tickets */
.cc-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cc-ticket {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    background: #F8FAFC;
    border-radius: 8px;
}

.cc-ticket-priority {
    width: 4px;
    height: 28px;
    border-radius: 2px;
}

.cc-ticket-priority.high { background: #EF4444; }
.cc-ticket-priority.medium { background: #F59E0B; }
.cc-ticket-priority.low { background: #10B981; }

.cc-ticket-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-ticket-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a3a4a;
}

.cc-ticket-id {
    font-size: 0.65rem;
    color: #9CA3AF;
}

.cc-ticket-time {
    font-size: 0.7rem;
    color: #9CA3AF;
}

/* CC Channel Distribution */
.cc-channels-grid {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cc-channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cc-channel-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: #F3F4F6;
}

.cc-channel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cc-channel-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1a3a4a;
}

.cc-channel-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.cc-channel-bar div {
    height: 100%;
    border-radius: 3px;
}

.cc-channel-pct {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a3a4a;
    width: 35px;
    text-align: right;
}

/* CC Responsive */
@media (max-width: 900px) {
    .cc-main {
        grid-template-columns: 1fr;
    }
    
    .cc-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cc-nav-links {
        display: none;
    }
}

/* ===================================
   Automobile Dashboard — Premium Liquid Glass
   =================================== */
.auto-mockup-static {
    background:
        radial-gradient(ellipse at 22% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 48%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.13) 0%, transparent 45%),
        radial-gradient(ellipse at 88% 25%, rgba(16, 185, 129, 0.06) 0%, transparent 35%),
        #07070e;
    border-radius: 28px;
    padding: 0;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    contain: layout style paint;
    margin-bottom: 1rem;
}

.auto-dashboard {
    font-size: 0.8rem;
    color: #fff;
    padding: 1.25rem;
}

/* Auto Status Bar */
.auto-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.5rem 1.1rem;
}

.auto-status-left {
    display: flex;
    flex-direction: column;
}

.auto-time {
    font-size: 1.7rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
}

.auto-date {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
    text-transform: uppercase;
}

.auto-status-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.auto-status-icon {
    opacity: 0.55;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
}

.auto-signal {
    font-size: 0.55rem;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.auto-battery {
    width: 26px;
    height: 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 3px;
    padding: 1.5px;
    position: relative;
}

.auto-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2.5px;
    width: 2px;
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 0 1px 1px 0;
}

.auto-battery-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, #10B981, #34D399);
    border-radius: 1.5px;
}

.auto-phone-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.09);
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
    border-radius: 20px;
    font-size: 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auto-phone-avatar {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    font-weight: 700;
}

/* Auto Main Grid */
.auto-main-grid {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 1rem;
}

/* Glass Card Base — GPU-friendly */
.auto-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.auto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Car Panel */
.auto-car-panel {
    padding: 1rem;
}

.auto-car-visual {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.auto-car-visual::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 12px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    filter: blur(6px);
    pointer-events: none;
}

.auto-car-silhouette {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-car-silhouette svg {
    width: 180px;
    height: 100px;
    filter: drop-shadow(0 6px 24px rgba(59, 130, 246, 0.45));
}

.auto-car-name {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
    margin-top: 0.6rem;
    letter-spacing: 0.06em;
    font-weight: 300;
    text-transform: uppercase;
}

.auto-car-info {
    opacity: 0.3;
    font-size: 0.65rem;
}

/* Battery Bar */
.auto-battery-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.auto-battery-progress {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #34D399, #6EE7B7);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.65);
}

/* Car Stats */
.auto-car-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.auto-stat-item {
    text-align: left;
    padding: 0.65rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}

.auto-stat-val-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.auto-stat-icon {
    font-size: 0.75rem;
    color: #FBBF24;
    flex-shrink: 0;
}

.auto-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.auto-stat-value small {
    font-size: 0.55rem;
    font-weight: 300;
    opacity: 0.45;
    letter-spacing: 0;
}

.auto-stat-label {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.28);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Speed & Status */
.auto-speed-status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.auto-speed-panel {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0.07) 100%);
    border-radius: 16px;
    padding: 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-top-color: rgba(59, 130, 246, 0.5);
    box-shadow:
        0 4px 18px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.auto-speed-panel::after {
    content: '';
    position: absolute;
    top: -28px;
    right: -28px;
    width: 75px;
    height: 75px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    pointer-events: none;
}

.auto-speed-label,
.auto-status-label {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.32);
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.auto-speed-value {
    font-size: 2.8rem;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.04em;
}

.auto-speed-value small {
    font-size: 0.72rem;
    opacity: 0.38;
    font-weight: 400;
    letter-spacing: 0;
}

.auto-status-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auto-status-icons {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.status-icon {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.status-icon.active {
    background: rgba(59, 130, 246, 0.28);
    color: #60A5FA;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
}

/* Gear Selector */
.auto-gear-selector {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.gear {
    flex: 1;
    height: 34px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.02em;
}

.gear.active {
    background: rgba(59, 130, 246, 0.85);
    color: white;
    box-shadow:
        0 2px 12px rgba(59, 130, 246, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Center Stack */
.auto-center-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Map Panel */
.auto-map-panel {
    position: relative;
    padding: 0;
    min-height: 260px;
    border-radius: 20px;
    overflow: hidden;
}

.auto-map-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.85rem;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.auto-voice-btn {
    width: 38px;
    height: 38px;
    background: rgba(12, 12, 22, 0.92);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auto-nav-controls {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.auto-nav-icon,
.auto-zoom {
    width: 34px;
    height: 34px;
    background: rgba(12, 12, 22, 0.92);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auto-map-panel {
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 30px rgba(0, 0, 0, 0.4);
}

/* Location ring breathing animation */
@keyframes autoLocBreathe {
    0%, 100% {
        transform: scale(1);
        opacity: var(--ring-opacity);
    }
    50% {
        transform: scale(1.18);
        opacity: calc(var(--ring-opacity) * 0.55);
    }
}

.auto-loc-ring-1 {
    --ring-opacity: 0.28;
    transform-box: fill-box;
    transform-origin: center;
    animation: autoLocBreathe 2.8s ease-in-out infinite;
}

.auto-loc-ring-2 {
    --ring-opacity: 0.13;
    transform-box: fill-box;
    transform-origin: center;
    animation: autoLocBreathe 2.8s ease-in-out infinite;
    animation-delay: 0.3s;
}

.auto-loc-ring-3 {
    --ring-opacity: 0.06;
    transform-box: fill-box;
    transform-origin: center;
    animation: autoLocBreathe 2.8s ease-in-out infinite;
    animation-delay: 0.6s;
}

.auto-map-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #13131b;
    overflow: hidden;
}

.auto-map-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 42% 58%, transparent 35%, rgba(7, 7, 14, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.auto-map-visual svg {
    width: 100%;
    height: 100%;
}

/* Turn Card */
.auto-turn-card {
    position: absolute;
    left: 0.85rem;
    bottom: 93px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    padding: 0.75rem 1rem;
    border-radius: 14px;
    max-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.auto-turn-icon {
    font-size: 1.4rem;
}

.auto-turn-info {
    display: flex;
    flex-direction: column;
}

.auto-turn-distance {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}

.auto-turn-distance small {
    font-size: 0.65rem;
    font-weight: 300;
    opacity: 0.8;
}

.auto-turn-instruction {
    font-size: 0.65rem;
    opacity: 0.85;
    line-height: 1.35;
    margin-top: 0.2rem;
}

/* Destination Card */
.auto-destination-card {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    left: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(145deg, rgba(8, 8, 20, 0.96), rgba(16, 14, 28, 0.9));
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auto-dest-info {
    display: flex;
    flex-direction: column;
}

.auto-dest-name {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.auto-dest-address {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 0.1rem;
}

.auto-dest-eta {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auto-eta-distance {
    font-size: 0.88rem;
    font-weight: 600;
}

.auto-eta-distance small,
.auto-eta-time small {
    font-size: 0.55rem;
    font-weight: 400;
    opacity: 0.48;
}

.auto-eta-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.auto-eta-progress {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA, #EF4444);
    border-radius: 2px;
}

.auto-eta-time {
    font-size: 0.88rem;
    font-weight: 600;
}

.auto-eta-arrival {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Bottom Row */
.auto-bottom-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
}

/* Media Panel */
.auto-media-panel {
    padding: 1rem 1.25rem;
}

.auto-media-content {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.auto-album-art {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED, #9333EA);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 18px rgba(109, 40, 217, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auto-media-info {
    flex: 1;
    min-width: 0;
}

.auto-song-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auto-artist {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 0.1rem;
}

.auto-progress-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin: 0.6rem 0 0.25rem;
    overflow: hidden;
}

.auto-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.6);
}

.auto-media-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.28);
}

.auto-spotify-icon {
    color: rgba(255, 255, 255, 0.18);
    font-size: 1rem;
    letter-spacing: -3px;
    align-self: flex-start;
}

.auto-media-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.media-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.42);
}

.media-btn.play {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: white;
}

/* Weather Panel */
.auto-weather-panel {
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(45, 55, 72, 0.92) 0%, rgba(60, 75, 95, 0.82) 50%, rgba(74, 90, 112, 0.72) 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        0 8px 32px rgba(15, 23, 42, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Animated rain */
@keyframes auto-rain-fall {
    to { transform: translateY(280px); }
}

.auto-rain-container {
    position: absolute;
    inset: -30px;
    transform: rotate(12deg);
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.auto-rd {
    position: absolute;
    top: -30px;
    width: 1px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0)   0%,
        rgba(255, 255, 255, 0.7) 100%);
    border-radius: 0 0 1px 1px;
    animation: auto-rain-fall linear infinite;
}

.auto-weather-content {
    position: relative;
    z-index: 1;
}

.auto-weather-location {
    font-size: 0.68rem;
    opacity: 0.72;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auto-weather-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.35rem 0 0.25rem;
}

.auto-temp {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
}

.auto-weather-icon {
    font-size: 1.25rem;
    opacity: 0.9;
}

.auto-weather-desc {
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0.92;
}

.auto-weather-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.55rem;
    font-size: 0.65rem;
    opacity: 0.68;
}

/* Dock */
.auto-dock {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top-color: rgba(255, 255, 255, 0.13);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auto-dock-item {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auto-dock-item.active {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.16));
    color: #60A5FA;
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow:
        0 4px 16px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Climate Control Strip */
.auto-climate-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    padding: 0.7rem 1rem;
    position: relative;
    overflow: hidden;
}

.auto-climate-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    pointer-events: none;
}

.auto-climate-zone {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 80px;
}

.auto-climate-zone.right {
    align-items: flex-end;
}

.auto-climate-zone-label {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auto-climate-temp-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auto-climate-temp {
    font-size: 1.6rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
}

.auto-climate-stepper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.climate-step {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    cursor: default;
}

.auto-climate-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    margin: 0 0.5rem;
}

.auto-climate-ctrl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.22rem;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.32);
    min-width: 42px;
}

.auto-climate-ctrl span {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auto-climate-ctrl.active {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60A5FA;
    box-shadow:
        0 2px 10px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auto-climate-ctrl.active-warm {
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.38);
    color: #FB923C;
    box-shadow:
        0 2px 10px rgba(251, 146, 60, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auto-fan-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    min-width: 42px;
}

.auto-fan-dots {
    display: flex;
    gap: 3px;
    align-items: center;
}

.fan-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.fan-dot.on {
    background: #60A5FA;
    box-shadow: 0 0 5px rgba(96, 165, 250, 0.7);
}

/* Auto Responsive */
@media (max-width: 900px) {
    .auto-main-grid {
        grid-template-columns: 1fr;
    }

    .auto-bottom-row {
        grid-template-columns: 1fr;
    }

    .auto-climate-bar {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .auto-climate-center {
        border-left: none;
        border-right: none;
        margin: 0;
        padding: 0;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* ===================================
   Footer
   =================================== */
.uiconcepts-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    border-top: 1px solid var(--ui-border);
}

.footer-back {
    color: var(--ui-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-back:hover {
    color: var(--ui-text);
}

.footer-note {
    font-size: 0.85rem;
    color: var(--ui-text-muted);
}

/* ===================================
   Concept 04 — CX Analytics Dashboard
   =================================== */

.cx-mockup-static {
    contain: layout style paint;
    /* Scoped CSS Variables */
    --cx-bg:           #F8FAFC;
    --cx-surface:      #FFFFFF;
    --cx-sidebar-bg:   #FFFFFF;
    --cx-filter-bg:    #F1F5F9;
    --cx-border:       rgba(15, 23, 42, 0.08);
    --cx-border-md:    rgba(15, 23, 42, 0.13);
    --cx-text:         #0F172A;
    --cx-muted:        #64748B;
    --cx-muted-light:  #94A3B8;
    --cx-accent:       #0D9488;
    --cx-accent-light: rgba(13, 148, 136, 0.09);
    --cx-orange:       #F97316;
    --cx-green:        #059669;
    --cx-red:          #DC2626;
    --cx-amber:        #D97706;

    background: var(--cx-bg);
    border-radius: 16px;
    border: 1px solid var(--cx-border);
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.09),
        0 2px 8px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    margin-bottom: 1.5rem;
    color: var(--cx-text);
    font-family: inherit;
    font-size: 0.8rem;
}

/* Dashboard shell: sidebar + content */
.cx-dashboard {
    display: grid;
    grid-template-columns: 172px 1fr;
    min-height: 640px;
    align-items: stretch;
}

/* ── Sidebar ── */
.cx-sidebar {
    background: var(--cx-sidebar-bg);
    border-right: 1px solid var(--cx-border);
    display: flex;
    flex-direction: column;
    padding: 1.2rem 0 0.85rem;
}

.cx-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.1rem 1.2rem;
    border-bottom: 1px solid var(--cx-border);
    margin-bottom: 0.6rem;
}

.cx-logo-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cx-text);
    letter-spacing: -0.02em;
}

.cx-sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0 0.65rem;
}

.cx-nav-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    border-left: 2px solid transparent;
    color: var(--cx-muted);
    font-size: 0.77rem;
    cursor: default;
    transition: none;
}

.cx-nav-icon {
    flex-shrink: 0;
    opacity: 0.55;
}

.cx-nav-active {
    background: var(--cx-accent-light);
    color: var(--cx-accent);
    border-left-color: var(--cx-accent);
    font-weight: 600;
}

.cx-nav-active .cx-nav-icon {
    opacity: 1;
}

.cx-nav-divider {
    height: 1px;
    background: var(--cx-border);
    margin: 0.45rem 0.65rem;
}

.cx-sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.1rem 0;
    border-top: 1px solid var(--cx-border);
    margin-top: 0.5rem;
}

.cx-sidebar-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.cx-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.cx-sidebar-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cx-text);
}

.cx-sidebar-role {
    font-size: 0.62rem;
    color: var(--cx-muted);
}

/* ── Main Content ── */
.cx-content {
    display: flex;
    flex-direction: column;
    background: var(--cx-bg);
    overflow: hidden;
}

/* ── Top Bar ── */
.cx-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: var(--cx-surface);
    border-bottom: 1px solid var(--cx-border);
    flex-shrink: 0;
}

.cx-topbar-title {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.cx-page-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cx-text);
    letter-spacing: -0.02em;
}

.cx-breadcrumb {
    font-size: 0.75rem;
    color: var(--cx-muted);
}

.cx-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.cx-search-box {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--cx-filter-bg);
    border: 1px solid var(--cx-border);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    color: var(--cx-muted-light);
}

.cx-notif-btn {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cx-filter-bg);
    border: 1px solid var(--cx-border);
    border-radius: 6px;
    color: var(--cx-muted);
    flex-shrink: 0;
}

.cx-notif-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: var(--cx-orange);
    border-radius: 50%;
    border: 1.5px solid var(--cx-surface);
}

.cx-topbar-meta {
    font-size: 0.62rem;
    color: var(--cx-muted-light);
    white-space: nowrap;
}

.cx-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

/* ── Filter Bar ── */
.cx-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.2rem;
    background: var(--cx-filter-bg);
    border-bottom: 1px solid var(--cx-border);
    gap: 0.5rem;
    flex-shrink: 0;
}

.cx-filters-left {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.cx-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: var(--cx-surface);
    border: 1px solid var(--cx-border);
    border-radius: 6px;
    padding: 0.28rem 0.6rem;
    font-size: 0.68rem;
    color: var(--cx-text);
    white-space: nowrap;
}

.cx-filter-active {
    border-color: var(--cx-accent);
    color: var(--cx-accent);
}

.cx-filter-chip-sm {
    font-size: 0.64rem;
    gap: 0.35rem;
}

.cx-filter-tag-on {
    background: rgba(13, 148, 136, 0.12);
    color: var(--cx-accent);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.cx-filters-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cx-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--cx-orange);
    color: #fff;
    border-radius: 6px;
    padding: 0.32rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
}

/* ── KPI Row ── */
.cx-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    padding: 0.8rem 1.2rem;
    background: var(--cx-surface);
    border-bottom: 1px solid var(--cx-border);
    flex-shrink: 0;
}

.cx-kpi-card {
    background: var(--cx-bg);
    border: 1px solid var(--cx-border);
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
}

.cx-kpi-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--cx-muted);
    margin-bottom: 0.28rem;
    font-weight: 500;
}

.cx-kpi-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--cx-accent);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cx-kpi-value small {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--cx-muted);
    letter-spacing: 0;
}

.cx-kpi-delta {
    font-size: 0.6rem;
    font-weight: 500;
    margin-top: 0.22rem;
}

.cx-delta-up   { color: var(--cx-green); }
.cx-delta-down { color: var(--cx-red); }

.cx-sparkline {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 18px;
    margin-top: 0.45rem;
}

.cx-sparkline div {
    flex: 1;
    background: var(--cx-accent);
    opacity: 0.2;
    border-radius: 2px 2px 0 0;
    min-height: 3px;
}

.cx-sparkline div:last-child {
    opacity: 0.65;
}

.cx-sparkline-down div {
    background: var(--cx-red);
}

.cx-sparkline-down div:first-child {
    opacity: 0.65;
}

.cx-sparkline-down div:last-child {
    opacity: 0.2;
}

/* ── Charts Row ── */
.cx-charts-row {
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    gap: 0.7rem;
    padding: 0.7rem 1.2rem 0;
    flex-shrink: 0;
}

/* ── Card Base ── */
.cx-card {
    background: var(--cx-surface);
    border: 1px solid var(--cx-border);
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    overflow: hidden;
}

.cx-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--cx-border);
}

.cx-card-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cx-text);
    letter-spacing: -0.01em;
}

.cx-card-meta {
    font-size: 0.64rem;
    color: var(--cx-muted);
}

/* ── Funnel ── */
.cx-funnel {
    display: flex;
    flex-direction: column;
}

.cx-funnel-stage {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.18rem 0;
}

.cx-funnel-label-col {
    width: 68px;
    flex-shrink: 0;
}

.cx-fs-name {
    display: block;
    font-size: 0.67rem;
    font-weight: 500;
    color: var(--cx-text);
    line-height: 1.2;
}

.cx-fs-count {
    display: block;
    font-size: 0.58rem;
    color: var(--cx-muted);
}

.cx-funnel-bar-col {
    flex: 1;
    height: 16px;
    background: var(--cx-filter-bg);
    border-radius: 3px;
    overflow: hidden;
}

.cx-fs-bar {
    height: 100%;
    border-radius: 3px;
}

.cx-fs-pct {
    width: 34px;
    text-align: right;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--cx-text);
    flex-shrink: 0;
}

.cx-funnel-drop {
    font-size: 0.59rem;
    color: var(--cx-muted-light);
    padding: 0.05rem 0 0.05rem 70px;
}

.cx-drop-warn {
    color: var(--cx-amber);
    font-weight: 500;
}

/* ── Line Chart ── */
.cx-chart-legend {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.cx-legend-item {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.62rem;
    color: var(--cx-muted);
}

.cx-legend-item i {
    display: inline-block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    flex-shrink: 0;
}

.cx-line-chart-wrap {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
}

.cx-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.56rem;
    color: var(--cx-muted-light);
    height: 110px;
    text-align: right;
    width: 22px;
    flex-shrink: 0;
    padding-top: 1px;
}

.cx-chart-area {
    flex: 1;
    overflow: hidden;
}

.cx-x-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.56rem;
    color: var(--cx-muted-light);
    padding: 0.2rem 0 0 26px;
}

/* ── Data Row ── */
.cx-data-row {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr 0.88fr;
    gap: 0.7rem;
    padding: 0.7rem 1.2rem 0.8rem;
}

/* ── Pivot Table ── */
.cx-pivot-card {
    padding-bottom: 0.7rem;
}

.cx-pivot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
}

.cx-pivot-table thead tr {
    background: var(--cx-accent);
}

.cx-pivot-table thead th {
    padding: 0.42rem 0.5rem;
    text-align: left;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cx-pivot-table tbody td {
    padding: 0.38rem 0.5rem;
    color: var(--cx-text);
    border-bottom: 1px solid rgba(15, 23, 42, 0.045);
    font-size: 0.7rem;
}

.cx-pivot-table tbody td:first-child {
    color: var(--cx-muted);
    font-size: 0.66rem;
}

.cx-row-alt td {
    background: #F8FAFC;
}

.cx-td-pos   { color: var(--cx-green); font-weight: 600; }
.cx-td-neg   { color: var(--cx-red);   font-weight: 600; }
.cx-td-muted { color: var(--cx-muted-light); }

/* ── CES Heatmap ── */
.cx-heatmap-grid {
    display: grid;
    grid-template-columns: 46px repeat(5, 1fr);
    gap: 3px;
    margin-bottom: 0.5rem;
}

.cx-hm-corner {
    /* empty top-left cell */
}

.cx-hm-col-hd {
    font-size: 0.53rem;
    color: var(--cx-muted);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-bottom: 0.2rem;
    line-height: 1.2;
}

.cx-hm-row-hd {
    font-size: 0.6rem;
    color: var(--cx-muted);
    display: flex;
    align-items: center;
    font-weight: 500;
    line-height: 1.2;
}

.cx-hm-cell {
    background: rgba(13, 148, 136, var(--i));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--cx-text);
    padding: 0.32rem 0.1rem;
}

.cx-hm-med { color: rgba(15, 23, 42, 0.75); }
.cx-hm-hi  { color: #fff; }

.cx-hm-legend {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.57rem;
    color: var(--cx-muted-light);
    margin-top: 0.1rem;
}

.cx-hm-gradient-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        rgba(13, 148, 136, 0.08),
        rgba(13, 148, 136, 0.82));
}

/* ── Pain Points ── */
.cx-pain-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cx-pain-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.cx-pain-rank {
    width: 18px;
    height: 18px;
    background: var(--cx-filter-bg);
    border: 1px solid var(--cx-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--cx-muted);
    flex-shrink: 0;
}

.cx-pain-info {
    flex: 1;
    min-width: 0;
}

.cx-pain-name {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--cx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.12rem;
}

.cx-pain-bar-wrap {
    height: 4px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.cx-pain-bar {
    height: 100%;
    background: var(--cx-orange);
    border-radius: 2px;
}

.cx-pain-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;
    flex-shrink: 0;
}

.cx-pain-count {
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--cx-text);
    font-variant-numeric: tabular-nums;
}

.cx-badge {
    font-size: 0.53rem;
    font-weight: 700;
    padding: 0.1rem 0.32rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.cx-badge-tech { background: rgba(99,102,241,0.10); color: #4F46E5; }
.cx-badge-ops  { background: rgba(217,119,6,0.10);  color: #D97706; }
.cx-badge-inv  { background: rgba(13,148,136,0.10); color: #0D9488; }
.cx-badge-log  { background: rgba(220,38,38,0.10);  color: #DC2626; }
.cx-badge-pol  { background: rgba(107,114,128,0.10);color: #4B5563; }

/* ===================================
   Responsive
   =================================== */
@media (max-width: 900px) {
    .uiconcepts-nav,
    .uiconcepts-content,
    .uiconcepts-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 600px) {
    .concept-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Concept 2 — Call Center: collapse sidebar */
    .cc-sidebar-panel {
        display: none;
    }

    .cc-main {
        grid-template-columns: 1fr;
    }

    /* Concept 4 — CX Analytics: collapse sidebar, stack content */
    .cx-sidebar {
        display: none;
    }

    .cx-dashboard {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .cx-content {
        min-width: 0;
    }
}

