/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 
╔═══════════════════════════════════════════════════════════════════════════════╗
║                                                                               ║
║                        WIDGET CUSTOMIZATION GUIDE                             ║
║                                                                               ║
║  This guide explains all the variables you can customize to adjust the        ║
║  floating voice widget's appearance and behavior. All customizable values     ║
║  are in the :root section below.                                              ║
║                                                                               ║
║  IMPORTANT: Each screen size has INDEPENDENT settings!                        ║
║  Changing desktop values won't affect mobile and vice versa.                  ║
║                                                                               ║
╚═══════════════════════════════════════════════════════════════════════════════╝

┌───────────────────────────────────────────────────────────────────────────────┐
│ 🎯 HOW TO USE THIS FILE                                                       │
└───────────────────────────────────────────────────────────────────────────────┘

   1. DESKTOP SETTINGS (1920px monitors):
      → Scroll to SECTION 1 (:root)
      
   2. TABLET SETTINGS (768px - 1200px):
      → Scroll to "BREAKPOINT 1: MEDIUM DESKTOP"
      
   3. MOBILE SETTINGS (phones):
      → Scroll to "BREAKPOINT 2: TABLET & MOBILE"
      
   4. SMALL MOBILE (tiny phones):
      → Scroll to "BREAKPOINT 3: SMALL MOBILE"
      
   5. LANDSCAPE MODE (phones sideways):
      → Scroll to "BREAKPOINT 4: LANDSCAPE ORIENTATION"

   ⚠️  EACH SECTION IS INDEPENDENT - changes in one won't affect others!

┌───────────────────────────────────────────────────────────────────────────────┐
│ 📐 WIDGET SIZE                                                                │
└───────────────────────────────────────────────────────────────────────────────┘
   --voice-widget-size: 100px;
   
   Change to: 50px, 80px, 120px, 150px, 200px - whatever you need!

┌───────────────────────────────────────────────────────────────────────────────┐
│ 📍 WIDGET PLACEMENT                                                           │
└───────────────────────────────────────────────────────────────────────────────┘
   Bottom-Right: --voice-widget-offset-bottom: 30px; --voice-widget-offset-right: 30px;
   Bottom-Left:  --voice-widget-offset-bottom: 30px; --voice-widget-offset-left: 30px;
   Top-Right:    --voice-widget-offset-top: 30px; --voice-widget-offset-right: 30px;
   Top-Left:     --voice-widget-offset-top: 30px; --voice-widget-offset-left: 30px;

┌───────────────────────────────────────────────────────────────────────────────┐
│ 🎨 COLORS                                                                     │
└───────────────────────────────────────────────────────────────────────────────┘
   --voice-widget-shell-color: #101623;          Widget background
   --voice-widget-icon-color: #ffffff;            Icon color
   --voice-widget-ring-idle: rgba(255,255,255,0.25);    Idle ring
   --voice-widget-ring-active: #1dd3a7;           Active call (green)
   --voice-widget-ring-ending: #f25f5c;           Ending call (red)

═══════════════════════════════════════════════════════════════════════════════
*/




/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                                                                           ║
   ║                    SECTION 1: DESKTOP VARIABLES                           ║
   ║                    (LARGE SCREENS - 1200px and above)                     ║
   ║                                                                           ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

:root {
    /* ┌─────────────────────────────────────────────────────────────────────┐
       │ 📐 DESKTOP WIDGET SIZE                                              │
       └─────────────────────────────────────────────────────────────────────┘ */
    --voice-widget-size: 96px;
    --voice-widget-hit-area: 1.25;
    
    /* ┌─────────────────────────────────────────────────────────────────────┐
       │ 📍 DESKTOP WIDGET PLACEMENT                                         │
       └─────────────────────────────────────────────────────────────────────┘ */
    --voice-widget-offset-top: auto;
    --voice-widget-offset-right: 40px;
    --voice-widget-offset-bottom: 32px;
    --voice-widget-offset-left: auto;
    
    /* ┌─────────────────────────────────────────────────────────────────────┐
       │ 🎨 DESKTOP COLORS                                                   │
       └─────────────────────────────────────────────────────────────────────┘ */
    --voice-widget-shell-color: #3B7A36;
    --voice-widget-icon-color: #ffffff;
    --voice-widget-ring-idle: rgba(255, 255, 255, 0.25);
    --voice-widget-ring-active: #1dd3a7;
    --voice-widget-ring-ending: #f25f5c;
    
    /* ┌─────────────────────────────────────────────────────────────────────┐
       │ 🔧 DESKTOP EFFECTS                                                  │
       └─────────────────────────────────────────────────────────────────────┘ */
    --voice-widget-ring-width: 3px;
    --voice-widget-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.85);
    --voice-widget-hover-scale: 1.18;
    --voice-widget-hover-shadow: 0 24px 52px -26px rgba(0, 0, 0, 0.9);
}




/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                                                                           ║
   ║                    SECTION 2: SITE STYLES                                 ║
   ║                    (Your website's main styles - DON'T MODIFY)            ║
   ║                                                                           ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 2px solid #333;
    background: #fff;
}

.brand h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    border: 2px solid #333;
    padding: 8px 16px;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #333;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.6fr) minmax(240px, 0.8fr);
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(16px, 3vw, 32px);
    width: 100%;
    align-items: start;
}

.left-sidebar {
    padding-top: 0;
}

.content-area {
    max-width: 100%;
}

.right-sidebar {
    padding-top: 0;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}

/* Chat Interface */
.chat-interface {
    background: #fff;
}

.setup-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.input-group {
    margin-bottom: 20px;
}

.api-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.api-input:focus {
    outline: none;
    border-color: #333;
}

.file-upload-group {
    margin-top: 15px;
}

.file-label {
    display: block;
    padding: 12px 16px;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.file-label:hover {
    border-color: #333;
    background: #f8f9fa;
}

.file-input {
    display: none;
}

/* Conversation Area */
.conversation-area {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.conversation-display {
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
    padding: 25px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.welcome-message {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.system-avatar {
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.message-content {
    flex: 1;
    line-height: 1.6;
    color: #555;
}

.message-content strong {
    color: #333;
}

.message-content em {
    color: #888;
    font-style: italic;
}

/* Input Section */
.input-section {
    padding: 20px 25px;
    background: #f8f9fa;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.message-input:focus {
    outline: none;
    border-color: #333;
}

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

.voice-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #333;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.voice-btn:hover {
    background: #555;
    transform: scale(1.05);
}

/* TTS Button */
.tts-btn {
    background: #28a745;
    border: none;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: all 0.2s ease;
    float: right;
}

.tts-btn:hover {
    background: #218838;
    transform: scale(1.1);
}

/* Sidebar */
.left-sidebar {
    padding-top: 0;
}

.capabilities-card, .api-status-card {
    background: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 25px;
}

.capabilities-card h3, .api-status-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.api-input-group {
    margin-bottom: 15px;
}

.api-status-card .api-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background: #fff;
    font-family: monospace;
}

.api-status-card .api-input:focus {
    outline: none;
    border-color: #333;
}

.capabilities-list {
    list-style: none;
}

.capabilities-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.green { background: #28a745; }
.status-dot.blue { background: #007bff; }
.status-dot.orange { background: #fd7e14; }
.status-dot.purple { background: #6f42c1; }
.status-dot.red { background: #dc3545; }
.status-dot.cyan { background: #17a2b8; }
.status-dot.lime { background: #20c997; }

.status-indicator {
    text-align: center;
}

.connection-status {
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 8px;
}

.connection-status.connected {
    color: #28a745;
}

.api-key-display {
    font-family: monospace;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.connect-btn {
    width: 100%;
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 10px;
}

.connect-btn:hover {
    background: #555;
}

.connection-note {
    text-align: center;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Right Sidebar */
.visual-references-card, .status-card {
    background: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
}

.visual-references-card h4, .status-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.dynamic-content {
    min-height: 450px;
    max-height: 700px;
    overflow-y: auto;
}

.help-content ul {
    list-style: none;
    padding: 0;
}

.help-content li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.help-content li:last-child {
    border-bottom: none;
}

/* Professional Vertical Tabs */
.installation-step, .figure-item, .page-item, .schematic-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.installation-step:hover, .figure-item:hover, .page-item:hover, .schematic-item:hover {
    background: #e9ecef;
    border-color: #333;
}

.step-header, .item-header {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.step-description, .item-description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

.step-number, .item-number {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 8px;
}

.section-title {
    background: #333;
    color: white;
    padding: 8px 12px;
    margin: 0 -20px 15px -20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Grid layout for items */
.items-grid {
    display: grid;
    gap: 8px;
}

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

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

.status-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    color: #666;
    font-size: 0.9rem;
}

.status-value {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animations */
@keyframes blink {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

/* ===== DIAGNOSTICS SYSTEM STYLES ===== */

/* Diagnostics Button */
.diagnostics-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.diagnostics-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Diagnostics Modal */
.diagnostics-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagnostics-content {
    background: white;
    width: 95%;
    height: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.diagnostics-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.diagnostics-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.diagnostics-dashboard {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.metric-card h3 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

/* Chart containers */
#usageChart, #contentChart {
    min-height: 150px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

/* Tables */
#usageTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: white;
}

#usageTable th, #usageTable td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

#usageTable th {
    background: #e9ecef;
    font-weight: 600;
    color: #495057;
}

#usageTable tr:hover {
    background-color: #f8f9fa;
}

/* Performance metrics */
#performanceMetrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.performance-stat {
    text-align: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.performance-number {
    font-size: 28px;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 5px;
}

.performance-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.diagnostics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.diagnostics-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-family: 'Playfair Display', serif;
}

.close-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

/* Recent Activity */
#recentActivity {
    max-height: 250px;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.activity-item {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    color: #6c757d;
    font-size: 11px;
    white-space: nowrap;
    margin-left: 10px;
}




/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                                                                           ║
   ║                    SECTION 3: FLOATING VOICE WIDGET                       ║
   ║                    (The circular voice widget iframe container)           ║
   ║                                                                           ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

.floating-voice-widget {
    position: fixed;
    bottom: var(--voice-widget-offset-bottom, auto);
    top: var(--voice-widget-offset-top, auto);
    right: var(--voice-widget-offset-right, auto);
    left: var(--voice-widget-offset-left, auto);
    width: calc(var(--voice-widget-size) * var(--voice-widget-hit-area, 1));
    height: calc(var(--voice-widget-size) * var(--voice-widget-hit-area, 1));
    z-index: 1040;
    pointer-events: auto;
    display: grid;
    place-items: center;
}

.floating-voice-widget iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    pointer-events: auto;
    overflow: hidden;
    border-radius: 50%;
}




/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                                                                           ║
   ║                    SECTION 4: RESPONSIVE BREAKPOINTS                      ║
   ║                    (Each breakpoint has COMPLETE settings)                ║
   ║                                                                           ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════════════
   BREAKPOINT 1: MEDIUM DESKTOP (1200px and below)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
        gap: clamp(14px, 2.5vw, 28px);
    }

    .left-sidebar {
        order: 1;
    }

    .content-area {
        order: 2;
    }

    .right-sidebar {
        order: 3;
        grid-column: 1 / -1;
    }

    .status-card,
    .visual-references-card {
        width: 100%;
    }

    .dynamic-content {
        min-height: 0;
        max-height: 520px;
    }

    :root {
        --voice-widget-size: 90px;
        --voice-widget-hit-area: 1.25;
        --voice-widget-offset-top: auto;
        --voice-widget-offset-right: 40px;
        --voice-widget-offset-bottom: 24px;
        --voice-widget-offset-left: auto;
        --voice-widget-ring-width: 3px;
        --voice-widget-hover-scale: 1.12;
        --voice-widget-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.85);
        --voice-widget-hover-shadow: 0 24px 52px -26px rgba(0, 0, 0, 0.9);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BREAKPOINT 2: TABLET & MOBILE (768px and below)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .main-content {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 20px;
    }

    .content-area {
        order: 1;
    }

    .left-sidebar,
    .right-sidebar {
        order: 2;
    }

    .status-card,
    .visual-references-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .dynamic-content {
        min-height: 0;
        max-height: none;
    }

    .main-title {
        font-size: 2rem;
    }

    :root {
        --voice-widget-size: 76px;
        --voice-widget-hit-area: 1.3;
        --voice-widget-offset-top: auto;
        --voice-widget-offset-right: 16px;
        --voice-widget-offset-bottom: 12px;
        --voice-widget-offset-left: auto;
        --voice-widget-ring-width: 2.5px;
        --voice-widget-hover-scale: 1.1;
        --voice-widget-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.85);
        --voice-widget-hover-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.9);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BREAKPOINT 3: SMALL MOBILE (480px and below)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .header {
        padding: 16px;
    }

    .brand h1 {
        font-size: 1.4rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .status-card,
    .visual-references-card {
        padding: 16px;
    }

    .status-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .status-label {
        min-width: auto;
    }

    :root {
        --voice-widget-size: 70px;
        --voice-widget-hit-area: 1.35;
        --voice-widget-offset-top: auto;
        --voice-widget-offset-right: 12px;
        --voice-widget-offset-bottom: 12px;
        --voice-widget-offset-left: auto;
        --voice-widget-ring-width: 2px;
        --voice-widget-hover-scale: 1.08;
        --voice-widget-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.85);
        --voice-widget-hover-shadow: 0 14px 35px -18px rgba(0, 0, 0, 0.9);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BREAKPOINT 4: LANDSCAPE ORIENTATION (896px and below, sideways)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 896px) and (orientation: landscape) {
    /* ┌─────────────────────────────────────────────────────────────────────┐
       │ 🔄 LANDSCAPE MODE WIDGET SETTINGS                                   │
       └─────────────────────────────────────────────────────────────────────┘ */
    :root {
        --voice-widget-size: 65px;
        --voice-widget-hit-area: 1.3;
        --voice-widget-offset-top: auto;
        --voice-widget-offset-right: 10px;
        --voice-widget-offset-bottom: 10px;
        --voice-widget-offset-left: auto;
        --voice-widget-ring-width: 2px;
        --voice-widget-hover-scale: 1.08;
        --voice-widget-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.85);
        --voice-widget-hover-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.9);
    }
}




/* ╔═══════════════════════════════════════════════════════════════════════════╗
   ║                                                                           ║
   ║                    ✅ WIDGET SETUP COMPLETE                               ║
   ║                                                                           ║
   ║  📝 How to Test & Adjust:                                                 ║
   ║                                                                           ║
   ║  1. Open your page in browser                                             ║
   ║  2. Press F12 (DevTools)                                                  ║
   ║  3. Press Ctrl+Shift+M (Toggle Device Toolbar)                            ║
   ║  4. Select device to test (iPhone, iPad, Desktop, etc.)                   ║
   ║  5. Find matching @media section above                                    ║
   ║  6. Adjust that section's values only                                     ║
   ║  7. Save and refresh                                                      ║
   ║                                                                           ║
   ║  💡 Each screen size is independent - no more conflicts!                  ║
   ║                                                                           ║
   ╚═══════════════════════════════════════════════════════════════════════════╝ */