@font-face {
    font-family: 'FESurge';
    src: url('/static/img/FESurge-ExpandedMedium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FESurge';
    src: url('/static/img/FESurge-ExpandedLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Formula E — Telemetry Intelligence Dashboard
   Dark theme with electric blue accents, glassmorphism, and micro-animations
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────────────────── */
:root {
    /* Core palette */
    --bg-deep:        #101820;
    --bg-primary:     #162028;
    --bg-card:        rgba(22, 32, 40, 0.85);
    --bg-card-hover:  rgba(30, 42, 54, 0.95);
    --bg-input:       rgba(20, 30, 42, 0.6);

    /* Accent colors */
    --accent:         #6234E0;
    --accent-dim:     rgba(98, 52, 224, 0.15);
    --accent-glow:    rgba(98, 52, 224, 0.3);
    --formula-blue:   #4a20b8;
    --formula-cyan:   #7c4dff;

    /* Chart colors */
    --chart-speed:    #00D4FF;
    --chart-throttle: #00FF88;
    --chart-brake:    #FF4466;
    --chart-steering: #FFB800;
    --chart-optimal:  rgba(98, 52, 224, 0.4);
    --chart-delta-pos:#FF4466;
    --chart-delta-neg:#00FF88;

    /* Speed heatmap */
    --speed-slow:     #FF4466;
    --speed-mid:      #FFB800;
    --speed-fast:     #00FF88;

    /* Text */
    --text-primary:   #FFFFFF;
    --text-secondary: #8899BB;
    --text-muted:     #556688;

    /* Borders */
    --border:         rgba(98, 52, 224, 0.12);
    --border-strong:  rgba(98, 52, 224, 0.25);

    /* Sizing */
    --header-height:  56px;
    --chatbot-width:  380px;
    --radius:         12px;
    --radius-sm:      8px;

    /* Fonts */
    --font-body:      'FESurge', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:      'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */

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

html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(98, 52, 224, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(98, 52, 224, 0.05) 0%, transparent 50%),
        var(--bg-deep);
}

.hidden { display: none !important; }

.view {
    min-height: 100vh;
}

/* ── Scrollbar ───────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-glow); }

/* ── Loading Screen ──────────────────────────────────────────────────────── */

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px;
    color: var(--text-secondary);
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 32, 0.95);
    z-index: 100;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
}

.loading-car-track {
    width: 100%;
    position: relative;
    height: 60px;
    overflow: hidden;
}

.loading-track-line {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-dim) 20%,
        var(--accent) 50%,
        var(--accent-dim) 80%,
        transparent 100%
    );
    opacity: 0.5;
}

.loading-car {
    position: absolute;
    bottom: 6px;
    font-size: 48px;
    transform: scaleX(-1); /* Flip car to face right */
    animation: driveAcross 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 12px rgba(98, 52, 224, 0.4));
}

@keyframes driveAcross {
    0% { left: -60px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% + 20px); opacity: 0; }
}

.loading-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    text-align: center;
}

.loading-tip {
    font-size: 14px;
    color: var(--accent);
    text-align: center;
    min-height: 40px;
    line-height: 1.5;
    padding: 0 20px;
    opacity: 0;
    animation: tipFade 4s ease-in-out infinite;
}

@keyframes tipFade {
    0% { opacity: 0; transform: translateY(6px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-6px); }
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--accent-dim);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.large { width: 52px; height: 52px; border-width: 4px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════════
   LOGIN VIEW
   ═══════════════════════════════════════════════════════════════════════════ */

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.login-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.35; }
}

.login-brand {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.login-logo img {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.login-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 50%, var(--formula-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 8px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.login-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.login-footer {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 0 !important;
}

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

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--accent), var(--formula-cyan));
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-secondary);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
}

.btn-icon {
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.btn-back {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent-dim);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
}

.btn-back:hover {
    background: var(--accent-dim);
}

.btn-icon {
    font-size: 18px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 20px;
    background: rgba(16, 24, 32, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
    transform: translateY(4px);
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    pointer-events: none;
}

.header-email {
    font-size: 13px;
    color: var(--text-secondary);
}

.units-toggle {
    display: flex;
    border: 1px solid rgba(98, 52, 224, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.unit-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-family: inherit;
    font-weight: 300;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.unit-btn:hover {
    color: var(--text-secondary);
}

.unit-btn.active {
    background: rgba(98, 52, 224, 0.15);
    color: var(--accent);
}

/* ── Admin Toggle ────────────────────────────────────────────────────────── */

.admin-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-toggle-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.25s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.25s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent-dim);
    border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(16px);
    background: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SESSIONS LIST VIEW
   ═══════════════════════════════════════════════════════════════════════════ */

.sessions-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.sessions-header {
    margin-bottom: 32px;
}

.sessions-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.sessions-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.session-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--formula-cyan));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.session-card:hover::before { opacity: 1; }

.session-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.session-track {
    font-size: 18px;
    font-weight: 700;
}

.session-date {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.5;
}

.session-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.session-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.session-stat-value {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent);
}

.sessions-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-icon { font-size: 64px; margin-bottom: 16px; }

.sessions-empty h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD VIEW
   ═══════════════════════════════════════════════════════════════════════════ */

.dashboard-main {
    display: flex;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.dashboard-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── Stats Bar ───────────────────────────────────────────────────────────── */

.stats-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s;
}

.stat-card:hover {
    border-color: var(--border-strong);
}

.stat-card.stat-primary {
    border-color: var(--accent-dim);
    background: linear-gradient(135deg, rgba(98, 52, 224, 0.08), var(--bg-card));
}

.stat-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 17px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-value.stat-text {
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 600;
}

.stat-value-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-unit {
    font-size: 10px;
    color: var(--text-muted);
}

.stat-delta {
    font-size: 11px;
    font-family: var(--font-mono);
}

.stat-delta.behind { color: var(--chart-brake); }
.stat-delta.ahead { color: var(--chart-throttle); }

/* ── Sector Times (inside stat-card) ─────────────────────────────────────── */

.stat-sectors {
    min-width: 210px;
    flex: 1.5;
}

.stat-speed {
    min-width: 140px;
    flex: 1.3;
}

/* ── Combined Speed Card ────────────────────────────────────────────────── */

.speed-pair {
    display: flex;
    align-items: center;
    gap: 10px;
}

.speed-item {
    display: flex;
    flex-direction: column;
}

.speed-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

.speed-sub {
    font-size: 8px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 1px;
}

.sector-times {
    display: flex;
    gap: 8px;
}

.sector-item {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.sector-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sector-time {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

/* ── Lap Scrubber ────────────────────────────────────────────────────────── */

.lap-scrubber {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 16px;
    backdrop-filter: blur(12px);
}

.scrubber-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scrubber-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    white-space: nowrap;
}

#scrubber-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 4px;
    background: rgba(98, 52, 224, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: background 0.15s;
}

#scrubber-slider:hover {
    background: rgba(98, 52, 224, 0.18);
}

#scrubber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(98, 52, 224, 0.5), 0 0 20px rgba(98, 52, 224, 0.2);
    cursor: grab;
    transition: transform 0.1s, box-shadow 0.15s;
}

#scrubber-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
    box-shadow: 0 0 16px rgba(98, 52, 224, 0.7), 0 0 30px rgba(98, 52, 224, 0.3);
}

#scrubber-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(98, 52, 224, 0.5), 0 0 20px rgba(98, 52, 224, 0.2);
    cursor: grab;
}

#scrubber-slider::-moz-range-track {
    height: 4px;
    background: rgba(98, 52, 224, 0.1);
    border-radius: 2px;
    border: none;
}

.scrubber-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.scrubber-stat-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scrubber-stat-value {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent);
}

/* ── Chart Panels ────────────────────────────────────────────────────────── */

.chart-row {
    display: flex;
    gap: 8px;
}

.chart-row-main {
    min-height: 320px;
}

.chart-row-lower {
    min-height: 280px;
}

.chart-panel {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.chart-panel-wide { flex: 3; }
.chart-panel-square { flex: 1; }

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.panel-header h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Graph Info Button ───────────────────────────────────────────────────── */

.info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.info-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* ── Graph Info Modal ────────────────────────────────────────────────────── */

.graph-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.15s ease-out;
}

.graph-info-modal {
    background: var(--bg-primary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 520px;
    width: 90%;
    position: relative;
    animation: slideUp 0.2s ease-out;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.graph-info-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.graph-info-close:hover {
    color: var(--text-primary);
}

.graph-info-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-right: 24px;
    color: var(--text-primary);
}

.graph-info-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.graph-info-body p {
    margin-bottom: 12px;
}

.graph-info-body p:last-child {
    margin-bottom: 0;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.panel-badge {
    font-size: 11px;
    color: var(--text-muted);
    padding: 3px 8px;
    background: var(--bg-input);
    border-radius: 4px;
}

.panel-select {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    padding: 4px 24px 4px 8px;
    background: var(--bg-input);
    border: 1px solid rgba(98, 52, 224, 0.15);
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23556688'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    transition: border-color 0.2s;
}

.panel-select:hover {
    border-color: rgba(98, 52, 224, 0.4);
}

.panel-select:focus {
    outline: none;
    border-color: var(--accent);
}

.panel-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ── Track Map Canvas ────────────────────────────────────────────────────── */

#canvas-trackmap {
    flex: 1;
    width: 100%;
    cursor: crosshair;
}

.trackmap-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 0 0 0px;
    flex-shrink: 0;
}

.legend-speed-label {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
}

.legend-gradient-bar {
    flex: 1;
    max-width: 140px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right,
        #FF4466,   /* slow  */
        #FF9900,   /* mid-slow */
        #FFB800,   /* mid */
        #CCFF00,   /* mid-fast */
        #00FF88    /* fast */
    );
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

/* ── Telemetry Checkbox Legend ────────────────────────────────────────────── */

#telemetry-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 6px 0 2px;
}

.telem-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.telem-legend-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 2px solid;
    border-radius: 2px;
    background: transparent;
    flex-shrink: 0;
}

.telem-legend-tick {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    display: none;
}

.telem-legend-checkbox.checked .telem-legend-tick {
    display: inline;
}

.telem-legend-label {
    color: #8899BB;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    transition: opacity 0.15s ease;
}

.telem-legend-label.telem-legend-hidden {
    opacity: 0.35;
}

/* ── Chart.js Canvases ───────────────────────────────────────────────────── */

#chart-telemetry,
#chart-delta,
#chart-gg {
    flex: 1;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHATBOT PANEL
   ═══════════════════════════════════════════════════════════════════════════ */

.chatbot-panel {
    width: var(--chatbot-width);
    min-width: 260px;
    max-width: 1000px;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height));
    position: relative;
    flex-shrink: 0;
}

.chatbot-resize-handle {
    position: absolute;
    top: 0;
    left: -3px;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    z-index: 10;
    transition: background 0.15s;
}

.chatbot-resize-handle:hover,
.chatbot-resize-handle.active {
    background: rgba(98, 52, 224, 0.3);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chatbot-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-icon { font-size: 18px; }

.chatbot-title-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.chatbot-status {
    font-size: 11px;
    color: var(--chart-throttle);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--chart-throttle);
    animation: pulse 2s ease-in-out infinite;
}

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

/* ── Chat Messages ───────────────────────────────────────────────────────── */

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: fadeInUp 0.3s ease-out;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: var(--bg-input);
    border: 1px solid var(--border);
}

.chat-message.user .message-avatar {
    background: var(--accent-dim);
}

.message-content {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.chat-message.bot .message-content {
    background: var(--bg-input);
    border: 1px solid var(--border);
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, rgba(98, 52, 224, 0.15), rgba(0, 51, 160, 0.2));
    border: 1px solid var(--accent-dim);
    color: var(--text-primary);
}

.message-content p {
    margin-bottom: 8px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.message-typing span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.2s ease-in-out infinite;
}

.message-typing span:nth-child(2) { animation-delay: 0.2s; }
.message-typing span:nth-child(3) { animation-delay: 0.4s; }

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

/* ── Suggestion Chips ────────────────────────────────────────────────────── */

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.suggestion-chip {
    font-size: 11px;
    font-family: var(--font-body);
    padding: 6px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.suggestion-chip:hover {
    color: var(--accent);
    border-color: var(--accent-dim);
    background: rgba(98, 52, 224, 0.05);
}

/* ── Chat Input ──────────────────────────────────────────────────────────── */

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--font-body);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-input input:focus {
    border-color: var(--accent-dim);
}

.chatbot-input input::placeholder {
    color: var(--text-muted);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--formula-cyan));
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chatbot-input button svg {
    width: 16px;
    height: 16px;
    color: var(--bg-deep);
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.chatbot-input button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.chatbot-input input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    :root { --chatbot-width: 300px; }
}

@media (max-width: 1024px) {
    .dashboard-main {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
    }

    .dashboard-content {
        overflow-y: visible;
        padding: 12px;
    }

    .chatbot-panel {
        width: 100%;
        min-width: 100%;
        height: 500px;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .chart-row {
        flex-direction: column;
    }

    .chart-row-main, .chart-row-lower {
        min-height: auto;
    }

    /* Constrain chart panel heights on tablet/mobile */
    .chart-panel {
        min-height: 250px;
        max-height: 350px;
    }

    /* Track map should be square-ish, not super tall */
    #panel-trackmap {
        max-height: 300px;
    }

    /* G-G diagram should stay compact */
    #panel-gg {
        max-height: 300px;
    }

    /* Ensure canvases respect container */
    #chart-telemetry,
    #chart-delta,
    #chart-gg,
    #canvas-trackmap {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 8px;
        gap: 8px;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 6px;
    }

    .stat-card {
        min-width: 80px;
        padding: 10px;
        flex: 1 1 calc(50% - 6px);
    }

    .stat-value { font-size: 18px; }
    .stat-label { font-size: 9px; }

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

    .login-title { font-size: 32px; }

    /* Tighter chart panels on phone */
    .chart-panel {
        min-height: 200px;
        max-height: 300px;
        padding: 10px;
    }

    #panel-trackmap {
        max-height: 260px;
    }

    #panel-gg {
        max-height: 260px;
    }

    #chart-telemetry,
    #chart-delta,
    #chart-gg,
    #canvas-trackmap {
        max-height: 240px;
    }

    .panel-header h3 {
        font-size: 12px;
    }

    /* Comparison table: stack on mobile */
    .comparison-table {
        font-size: 11px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 4px 6px;
    }

    /* Chatbot shorter on mobile */
    .chatbot-panel {
        height: 400px;
    }

    /* ── Header: mobile compact ── */
    .app-header {
        height: auto;
        min-height: var(--header-height);
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .header-left, .header-right {
        gap: 8px;
    }

    /* Hide title text and email on mobile — keep buttons */
    .header-title,
    .header-email {
        display: none;
    }

    .header-logo img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        flex: 1 1 calc(50% - 4px);
        padding: 8px;
    }

    .stat-value { font-size: 16px; }

    .chart-panel {
        min-height: 180px;
        max-height: 260px;
        padding: 8px;
    }

    #chart-telemetry,
    #chart-delta,
    #chart-gg,
    #canvas-trackmap {
        max-height: 200px;
    }

    .sessions-main {
        padding: 20px 12px;
    }

    .session-card {
        padding: 14px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   "HOW IT'S MADE" BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-how-its-made {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-secondary);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-how-its-made:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
}

.btn-how-its-made svg {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARCHITECTURE VIEW
   ═══════════════════════════════════════════════════════════════════════════ */

.architecture-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    overflow-y: auto;
}

/* ── Hero Section ────────────────────────────────────────────────────────── */

.arch-hero {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.5s ease-out;
}

.arch-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 40%, var(--formula-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.arch-hero-logo {
    display: block;
    max-height: 40px;
    object-fit: contain;
    margin: 16px auto 20px;
}

.arch-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
}

/* ── Architecture Diagram Container ──────────────────────────────────────── */

.arch-diagram-container {
    background: transparent;
    border: none;
    border-radius: var(--radius);
    padding: 40px 32px;
    margin-bottom: 48px;
    overflow-x: auto;
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.arch-diagram-img {
    width: 65%;
    max-width: 65%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 700px;
}

/* ── Diagram Rows ────────────────────────────────────────────────────────── */

.arch-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.arch-row-top {
    justify-content: center;
}

.arch-row-middle {
    justify-content: space-between;
}

.arch-row-bottom {
    justify-content: space-between;
    padding: 0 40px;
}

/* ── Diagram Nodes ───────────────────────────────────────────────────────── */

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
    border-radius: var(--radius);
    transition: all 0.25s ease;
    min-width: 140px;
}

.arch-node:hover {
    transform: translateY(-2px);
}

.arch-node-simulator {
    background: rgba(52, 168, 83, 0.08);
    border: 1px solid rgba(52, 168, 83, 0.2);
}

.arch-node-gcp {
    background: rgba(98, 52, 224, 0.06);
    border: 1px solid rgba(98, 52, 224, 0.15);
}

.arch-node-gcp:hover {
    border-color: rgba(98, 52, 224, 0.35);
    box-shadow: 0 4px 20px rgba(98, 52, 224, 0.15);
}

.arch-node-sm {
    min-width: 120px;
    padding: 12px 14px;
}

.arch-node-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.arch-node-label {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.arch-node-sub {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.arch-node-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(98, 52, 224, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* ── GCP Logos & Icons ───────────────────────────────────────────────────── */

.arch-gcp-logo {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    filter: brightness(1.2);
}

.arch-gcp-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.arch-gcp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
}

.arch-gcp-icon-sm {
    width: 20px;
    height: 20px;
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(237deg) brightness(85%) contrast(95%);
}

.arch-gcp-icon-sm.gemini-lite {
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(237deg) brightness(120%) contrast(90%);
}

.arch-gcp-icon-sm.tts-icon {
    filter: invert(62%) sepia(30%) saturate(800%) hue-rotate(160deg) brightness(100%) contrast(95%);
}

.arch-gcp-icon-sm.agent-icon {
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(237deg) brightness(85%) contrast(95%);
    margin-bottom: 4px;
}

.arch-gcp-icon-sm.storage-icon {
    filter: invert(60%) sepia(40%) saturate(600%) hue-rotate(180deg) brightness(100%) contrast(90%);
}

.arch-gcp-icon-sm.firestore-icon {
    filter: invert(55%) sepia(80%) saturate(500%) hue-rotate(10deg) brightness(100%) contrast(90%);
}

/* ── Connectors ──────────────────────────────────────────────────────────── */

.arch-connector {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.arch-vertical-connectors {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 80px;
}

.arch-v-connector {
    display: flex;
    justify-content: center;
}

.arch-spacer {
    flex: 1;
}

/* ── Storage Group ───────────────────────────────────────────────────────── */

.arch-storage-group {
    display: flex;
    gap: 12px;
}

/* ── Pipeline Section ────────────────────────────────────────────────────── */

.arch-section {
    margin-bottom: 48px;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.arch-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.arch-section-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.arch-pipeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.arch-pipeline-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.arch-pipeline-step:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.pipeline-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--formula-cyan));
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    color: var(--bg-deep);
}

.pipeline-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pipeline-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── GCP Services Grid ───────────────────────────────────────────────────── */

.arch-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.arch-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.arch-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--formula-cyan));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.arch-service-card:hover::before {
    opacity: 1;
}

.arch-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: rgba(98, 52, 224, 0.1);
}

.arch-service-icon.gemini { background: rgba(66, 133, 244, 0.12); }
.arch-service-icon.tts { background: rgba(0, 212, 255, 0.12); }
.arch-service-icon.bigquery { background: rgba(251, 188, 4, 0.12); }
.arch-service-icon.cloudrun { background: rgba(66, 133, 244, 0.12); }
.arch-service-icon.storage { background: rgba(0, 255, 136, 0.12); }
.arch-service-icon.firestore { background: rgba(255, 184, 0, 0.12); }

.arch-service-img {
    width: 32px;
    height: 32px;
    filter: none;
}

.arch-service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.arch-service-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTNERSHIP SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.arch-partnership {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.partnership-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.partnership-combo-logo {
    max-height: 48px;
    object-fit: contain;
}

.partnership-title {
    text-align: center;
    margin-bottom: 24px;
}

.partnership-intro {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.partnership-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.partnership-pillar {
    background: rgba(16, 24, 32, 0.6);
    border: 1px solid rgba(98, 52, 224, 0.1);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.25s ease;
}

.partnership-pillar:hover {
    border-color: rgba(98, 52, 224, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.partnership-pillar h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.partnership-pillar p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.partnership-cta {
    text-align: center;
    margin-top: 8px;
}

.partnership-cta .btn-primary {
    text-decoration: none;
}

/* ── Architecture Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .arch-title { font-size: 28px; }
    .arch-subtitle { font-size: 14px; }
    .architecture-main { padding: 24px 16px 60px; }
    .arch-diagram-container { padding: 24px 16px; }
    .arch-diagram { min-width: 500px; }
    .arch-services-grid { grid-template-columns: 1fr; }
    .partnership-pillars { grid-template-columns: 1fr; }
    .arch-partnership { padding: 32px 20px; }
    .partnership-header { gap: 16px; }
    .partnership-logo { height: 24px; }
    .partnership-logo.fe-logo { height: 28px; }
    .btn-how-its-made span { display: none; }
}
