/* =============================================================
   style.css  —  DentaSmart AI
   Sections:
     1. CSS Variables
     2. Reset / Base
     3. Header
     4. Connection status
     5. Tab bar
     6. Session start section (shared by chat + voice)
     7. Chat container
     8. Messages
     9. Typing indicator
    10. Chat input
    11. Voice interface
    12. Transcript log
    13. Token box
    14. Error message
    15. Animations
    16. Scrollbar
    17. Responsive
   ============================================================= */

/* 1. CSS Variables ─────────────────────────────────────────── */
:root {
    --white:          #ffffff;
    --soft-gray:      #f8f9fa;
    --light-gray:     #e9ecef;
    --medium-gray:    #dee2e6;
    --dark-gray:      #495057;
    --text-primary:   #212529;
    --text-secondary: #6c757d;
    --accent-blue:    #4285f4;
    --accent-green:   #34a853;
    --accent-red:     #ea4335;
    --shadow-light:   0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium:  0 4px 20px rgba(0,0,0,0.12);
    --shadow-hover:   0 8px 30px rgba(0,0,0,0.15);
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
}


/* 2. Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after {
    margin:     0;
    padding:    0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color:      var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin:  0 auto;
    padding: 20px;
}


/* 3. Header ─────────────────────────────────────────────────── */
.header {
    text-align:    center;
    padding:       40px 30px 30px;
    background:    var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow:    var(--shadow-light);
    border:        1px solid var(--light-gray);
}

.logo {
    width:         80px;
    height:        80px;
    background:    linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    border-radius: 50%;
    margin:        0 auto 20px;
    display:       flex;
    align-items:   center;
    justify-content: center;
    box-shadow:    var(--shadow-medium);
}
.logo i {
    font-size: 40px;
    color:     white;
}

.header h1 {
    color:       var(--text-primary);
    font-size:   2.5em;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.header p {
    color:      var(--text-secondary);
    font-size:  1.1em;
}

.conn-status-header {
    margin-top:  12px;
    font-size:   13px;
    color:       var(--text-secondary);
}


/* 4. Connection status dot ──────────────────────────────────── */
.connection-dot {
    display:       inline-block;
    width:         10px;
    height:        10px;
    border-radius: 50%;
    margin-right:  6px;
    vertical-align: middle;
}
.connection-dot.connected    { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.connection-dot.disconnected { background: var(--accent-red);   box-shadow: 0 0 6px var(--accent-red);   }


/* 5. Tab Bar ────────────────────────────────────────────────── */
.tab-bar {
    display:       flex;
    gap:           12px;
    margin-bottom: 20px;
    background:    var(--white);
    padding:       8px;
    border-radius: var(--radius-lg);
    box-shadow:    var(--shadow-light);
    border:        1px solid var(--light-gray);
}

.tab-btn {
    flex:            1;
    padding:         18px 28px;
    border:          2px solid transparent;
    border-radius:   14px;
    background:      var(--soft-gray);
    color:           var(--text-secondary);
    font-size:       17px;
    font-weight:     600;
    cursor:          pointer;
    transition:      all 0.3s ease;
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    gap:             10px;
    letter-spacing:  0.3px;
}
.tab-btn i {
    font-size: 19px;
}
.tab-btn:hover {
    background:  rgba(66,133,244,0.08);
    color:       var(--accent-blue);
    border-color: rgba(66,133,244,0.2);
    transform:   translateY(-1px);
}
.tab-btn.active {
    background:   linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color:        white;
    border-color: transparent;
    box-shadow:   0 4px 18px rgba(66,133,244,0.35);
    transform:    translateY(-1px);
}

.tab-content { display: none; }
.tab-content:first-of-type,
.tab-content[style*="display:block"],
.tab-content[style*="display: block"] { display: block; }
/* Initial state — chat tab visible */
#chatTab { display: block; }


/* 6. Session Start Section ──────────────────────────────────── */
.session-start-section {
    background:    var(--white);
    border-radius: var(--radius-lg);
    padding:       30px;
    box-shadow:    var(--shadow-light);
    border:        1px solid var(--light-gray);
    margin-bottom: 20px;
}
.session-start-section h3 {
    margin-bottom: 20px;
    color:         var(--text-primary);
    font-weight:   400;
    font-size:     1.3em;
}
.session-start-section input {
    width:         100%;
    padding:       15px 20px;
    border:        2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size:     16px;
    margin-bottom: 15px;
    background:    var(--soft-gray);
    transition:    all 0.3s ease;
}
.session-start-section input:focus {
    outline:      none;
    border-color: var(--accent-blue);
    background:   var(--white);
    box-shadow:   0 0 0 3px rgba(66,133,244,0.1);
}
.session-start-section button {
    width:           100%;
    padding:         18px 28px;
    border:          none;
    border-radius:   14px;
    background:      linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color:           white;
    font-size:       17px;
    font-weight:     600;
    cursor:          pointer;
    transition:      all 0.3s ease;
    box-shadow:      0 4px 18px rgba(66,133,244,0.35);
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    gap:             10px;
    letter-spacing:  0.3px;
}
.session-start-section button i {
    font-size: 18px;
}
.session-start-section button:hover {
    transform:  translateY(-2px);
    box-shadow: 0 8px 28px rgba(66,133,244,0.45);
    filter:     brightness(1.05);
}
.session-start-section button:active {
    transform:  translateY(0);
}
.session-start-section button:disabled {
    opacity:   0.5;
    cursor:    not-allowed;
    transform: none;
    box-shadow: none;
}

.session-id-display {
    padding:       10px 15px;
    background:    var(--soft-gray);
    border-radius: var(--radius-sm);
    font-family:   monospace;
    font-size:     13px;
    color:         var(--text-secondary);
    margin-bottom: 15px;
    word-break:    break-all;
}

/* Voice session hint text */
.voice-hint {
    font-size:     14px;
    color:         var(--text-secondary);
    margin-bottom: 16px;
    padding:       10px 14px;
    background:    var(--soft-gray);
    border-radius: var(--radius-sm);
    border-left:   3px solid var(--accent-blue);
}
.voice-hint i { margin-right: 6px; color: var(--accent-blue); }


/* 7. Chat Container ─────────────────────────────────────────── */
.chat-container {
    background:    var(--white);
    border-radius: var(--radius-lg);
    padding:       15px;
    height:        520px;
    display:       flex;
    flex-direction: column;
    box-shadow:    var(--shadow-medium);
    border:        1px solid var(--light-gray);
    overflow:      hidden;
}


/* 8. Messages ───────────────────────────────────────────────── */
.chat-messages {
    flex-grow:    1;
    overflow-y:   auto;
    overflow-x:   hidden;
    padding:      15px;
    display:      flex;
    flex-direction: column;
    gap:          12px;
    max-height:   calc(100% - 80px);
}

.message {
    max-width:     85%;
    padding:       12px 16px;
    border-radius: 18px;
    animation:     fadeIn 0.3s ease-in-out;
    font-size:     14px;
    line-height:   1.5;
    box-shadow:    var(--shadow-light);
    word-wrap:     break-word;
}
.user-message {
    background:              linear-gradient(135deg, var(--accent-blue), #5a9fd4);
    color:                   white;
    align-self:              flex-end;
    border-bottom-right-radius: 6px;
}
.bot-message {
    background:              var(--soft-gray);
    color:                   var(--text-primary);
    align-self:              flex-start;
    border-bottom-left-radius: 6px;
    border: 1px solid var(--light-gray);
}


/* 9. Typing Indicator ───────────────────────────────────────── */
.typing-indicator {
    display:              none;
    align-self:           flex-start;
    background:           var(--soft-gray);
    padding:              12px 20px;
    border-radius:        18px;
    border-bottom-left-radius: 6px;
    border: 1px solid var(--light-gray);
}
.dots { display: flex; gap: 4px; }
.dot {
    width:      8px;
    height:     8px;
    background: var(--text-secondary);
    border-radius: 50%;
    opacity:    0.4;
    animation:  bounce 1.4s infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }


/* 10. Chat Input ────────────────────────────────────────────── */
.chat-input {
    display:    flex;
    gap:        12px;
    margin-top: 15px;
    padding:    0 5px;
    flex-shrink: 0;
}
.chat-input input {
    flex-grow:     1;
    padding:       14px 20px;
    border:        2px solid var(--light-gray);
    border-radius: 25px;
    font-size:     15px;
    background:    var(--soft-gray);
    transition:    all 0.3s ease;
}
.chat-input input:focus {
    outline:      none;
    border-color: var(--accent-blue);
    background:   var(--white);
    box-shadow:   0 0 0 3px rgba(66,133,244,0.1);
}
.chat-input button {
    padding:       14px 28px;
    border:        none;
    border-radius: 25px;
    background:    linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color:         white;
    font-size:     18px;
    cursor:        pointer;
    transition:    all 0.3s ease;
    box-shadow:    0 4px 14px rgba(66,133,244,0.3);
}
.chat-input button:hover  { transform: scale(1.05); box-shadow: 0 6px 20px rgba(66,133,244,0.4); }
.chat-input button:active { transform: scale(0.98); }


/* 11. Voice Interface ───────────────────────────────────────── */
.voice-status-bar {
    display:       flex;
    align-items:   center;
    gap:           12px;
    padding:       16px 22px;
    background:    var(--white);
    border-radius: 14px;
    border:        1px solid var(--light-gray);
    box-shadow:    var(--shadow-medium);
    margin-bottom: 16px;
    font-size:     16px;
    font-weight:   500;
    color:         var(--text-primary);
}

/* Push the stop button to the right */
.voice-status-bar span { flex: 1; }

.voice-status-dot {
    width:         14px;
    height:        14px;
    border-radius: 50%;
    flex-shrink:   0;
    transition:    all 0.3s;
}
.voice-status-dot.connecting { background: #fbbc04; animation: pulse 1.2s infinite; box-shadow: 0 0 8px rgba(251,188,4,0.5); }
.voice-status-dot.listening  { background: var(--accent-green); animation: pulse 2s infinite; box-shadow: 0 0 8px rgba(52,168,83,0.5); }
.voice-status-dot.speaking   { background: var(--accent-blue);  animation: pulse 0.8s infinite; box-shadow: 0 0 8px rgba(66,133,244,0.5); }
.voice-status-dot.idle       { background: var(--medium-gray); }
.voice-status-dot.error      { background: var(--accent-red); box-shadow: 0 0 8px rgba(234,67,53,0.5); }

.stop-voice-btn {
    padding:         12px 24px;
    border:          none;
    border-radius:   12px;
    background:      linear-gradient(135deg, #ea4335, #c62828);
    color:           white;
    font-size:       15px;
    font-weight:     600;
    cursor:          pointer;
    transition:      all 0.25s ease;
    flex-shrink:     0;
    display:         inline-flex;
    align-items:     center;
    gap:             8px;
    box-shadow:      0 4px 14px rgba(234,67,53,0.35);
    letter-spacing:  0.3px;
}
.stop-voice-btn i {
    font-size: 16px;
}
.stop-voice-btn:hover {
    transform:  translateY(-1px);
    box-shadow: 0 6px 20px rgba(234,67,53,0.45);
    filter:     brightness(1.08);
}
.stop-voice-btn:active {
    transform:  translateY(0);
}


/* 12. Transcript Log ────────────────────────────────────────── */
.transcript-container {
    background:    var(--white);
    border-radius: var(--radius-lg);
    border:        1px solid var(--light-gray);
    box-shadow:    var(--shadow-medium);
    height:        420px;
    overflow-y:    auto;
    padding:       20px;
    display:       flex;
    flex-direction: column;
    gap:           12px;
}

.transcript-placeholder {
    flex:           1;
    display:        flex;
    flex-direction: column;
    align-items:    center;
    justify-content: center;
    color:          var(--text-secondary);
    gap:            16px;
    text-align:     center;
}
.transcript-placeholder i { font-size: 48px; opacity: 0.2; color: var(--accent-blue); }
.transcript-placeholder p { font-size: 15px; opacity: 0.6; font-weight: 500; }

.transcript-msg {
    display:       flex;
    flex-direction: column;
    gap:           3px;
    animation:     fadeIn 0.3s ease;
    max-width:     80%;
}
.transcript-user {
    align-self:    flex-end;
    align-items:   flex-end;
}
.transcript-ai {
    align-self:    flex-start;
    align-items:   flex-start;
}

.transcript-speaker {
    font-size:   11px;
    font-weight: 600;
    color:       var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.transcript-text {
    padding:       10px 14px;
    border-radius: 14px;
    font-size:     14px;
    line-height:   1.5;
}
.transcript-user .transcript-text {
    background: linear-gradient(135deg, var(--accent-blue), #5a9fd4);
    color:      white;
    border-bottom-right-radius: 4px;
}
.transcript-ai .transcript-text {
    background: var(--soft-gray);
    color:      var(--text-primary);
    border:     1px solid var(--light-gray);
    border-bottom-left-radius: 4px;
}

.transcript-event {
    align-self:    center;
    font-size:     12px;
    color:         var(--text-secondary);
    font-style:    italic;
    padding:       4px 10px;
    background:    var(--soft-gray);
    border-radius: 12px;
}


/* 13. Token Box ─────────────────────────────────────────────── */
.token-box {
    position:      fixed;
    bottom:        20px;
    right:         20px;
    background:    var(--white);
    border:        1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding:       15px;
    font-size:     13px;
    font-family:   monospace;
    box-shadow:    var(--shadow-medium);
    color:         var(--text-secondary);
    z-index:       100;
    min-width:     180px;
}
.token-title {
    font-weight:   600;
    color:         var(--text-primary);
    margin-bottom: 8px;
    font-family:   -apple-system, sans-serif;
}


/* 14. Error Message ─────────────────────────────────────────── */
.error-message {
    background:    #fff0f0;
    color:         #c33;
    border:        1px solid #fcc;
    padding:       10px 15px;
    border-radius: var(--radius-sm);
    font-size:     14px;
}


/* 15. Animations ────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%      { opacity: 0.5; transform: scale(0.85); }
}


/* 16. Scrollbar ─────────────────────────────────────────────── */
.chat-messages::-webkit-scrollbar,
.transcript-container::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track,
.transcript-container::-webkit-scrollbar-track  { background: var(--soft-gray); border-radius: 3px; }
.chat-messages::-webkit-scrollbar-thumb,
.transcript-container::-webkit-scrollbar-thumb  { background: var(--medium-gray); border-radius: 3px; }
.chat-messages::-webkit-scrollbar-thumb:hover,
.transcript-container::-webkit-scrollbar-thumb:hover { background: var(--dark-gray); }


/* 17. Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .container { padding: 10px; }
    .header    { padding: 25px 15px; }
    .header h1 { font-size: 2em; }

    .chat-container      { height: calc(100vh - 300px); padding: 10px; }
    .transcript-container { height: 360px; }
    .message { max-width: 90%; font-size: 13px; }
    .transcript-msg { max-width: 90%; }

    .chat-input    { gap: 8px; margin-top: 10px; }
    .tab-bar       { padding: 6px; gap: 8px; }
    .tab-btn       { font-size: 15px; padding: 14px 16px; }
    .voice-status-bar { flex-wrap: wrap; padding: 12px 16px; }
    .stop-voice-btn   { padding: 10px 18px; font-size: 14px; }
    .session-start-section button { padding: 16px 20px; font-size: 16px; }
    .token-box     { font-size: 12px; padding: 10px; min-width: 150px; }
}


/* ═════════════════════════════════════════════════════════════
   18. Prompt Editor
   ════════════════════════════════════════════════════════════ */

/* Toggle button in header */
.prompt-editor-toggle-btn {
    display:       inline-flex;
    align-items:   center;
    gap:           8px;
    margin-top:    14px;
    padding:       10px 22px;
    background:    var(--soft-gray);
    color:         var(--text-secondary);
    border:        2px solid var(--light-gray);
    border-radius: 12px;
    font-size:     14px;
    font-weight:   600;
    cursor:        pointer;
    transition:    all 0.3s ease;
}
.prompt-editor-toggle-btn:hover {
    background:   rgba(66,133,244,0.08);
    border-color: var(--accent-blue);
    color:        var(--accent-blue);
    transform:    translateY(-1px);
    box-shadow:   0 4px 14px rgba(66,133,244,0.15);
}
.prompt-editor-toggle-btn i { font-size: 14px; }

/* Overlay */
.prompt-overlay {
    position:       fixed;
    top: 0; left: 0;
    width:          100%;
    height:         100%;
    background:     rgba(0, 0, 0, 0.4);
    z-index:        998;
    opacity:        0;
    pointer-events: none;
    transition:     opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.prompt-overlay.visible {
    opacity:        1;
    pointer-events: auto;
}

/* Slide-out panel */
.prompt-editor-panel {
    position:       fixed;
    top: 0; right: 0;
    width:          520px;
    max-width:      92vw;
    height:         100vh;
    background:     var(--white);
    border-left:    1px solid var(--light-gray);
    z-index:        999;
    display:        flex;
    flex-direction: column;
    transform:      translateX(100%);
    transition:     transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:     -6px 0 30px rgba(0, 0, 0, 0.12);
}
.prompt-editor-panel.open {
    transform: translateX(0);
}

/* Panel header */
.prompt-editor-header {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         18px 24px;
    border-bottom:   1px solid var(--light-gray);
    flex-shrink:     0;
    background:      var(--soft-gray);
}
.prompt-editor-header h3 {
    margin:      0;
    font-size:   17px;
    font-weight: 600;
    color:       var(--text-primary);
    display:     flex;
    align-items: center;
    gap:         10px;
}
.prompt-editor-header h3 i {
    color: var(--accent-blue);
}
.prompt-editor-close-btn {
    background: none;
    border:     none;
    color:      var(--text-secondary);
    font-size:  26px;
    cursor:     pointer;
    padding:    0 4px;
    line-height: 1;
    transition: color 0.2s;
}
.prompt-editor-close-btn:hover {
    color: var(--accent-red);
}

/* Info bar */
.prompt-editor-info {
    padding:       12px 24px;
    font-size:     13px;
    color:         var(--text-secondary);
    background:    #f0f4ff;
    border-bottom: 1px solid var(--light-gray);
    flex-shrink:   0;
    border-left:   3px solid var(--accent-blue);
}
.prompt-editor-info strong {
    color: var(--accent-blue);
}

/* Top actions */
.prompt-editor-actions-top {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         14px 24px;
    flex-shrink:     0;
}
.prompt-char-count {
    font-size:           13px;
    color:               var(--text-secondary);
    font-variant-numeric: tabular-nums;
    font-family:         monospace;
}

/* Textarea */
.prompt-editor-textarea-wrap {
    flex:       1;
    padding:    0 24px;
    min-height: 0;
    overflow:   hidden;
}
.prompt-textarea {
    width:       100%;
    height:      100%;
    background:  var(--soft-gray);
    color:       var(--text-primary);
    border:      2px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding:     16px;
    font-family: 'Courier New', Courier, monospace;
    font-size:   13px;
    line-height: 1.7;
    resize:      none;
    outline:     none;
    transition:  border-color 0.3s;
}
.prompt-textarea:focus {
    border-color: var(--accent-blue);
    background:   var(--white);
    box-shadow:   0 0 0 3px rgba(66,133,244,0.08);
}
.prompt-textarea::placeholder {
    color: #adb5bd;
}

/* Status message */
.prompt-status {
    padding:    8px 24px;
    font-size:  13px;
    font-weight: 500;
    flex-shrink: 0;
}
.prompt-status.success { color: var(--accent-green); }
.prompt-status.error   { color: var(--accent-red);   }
.prompt-status.info    { color: var(--accent-blue);  }

/* Bottom actions */
.prompt-editor-actions-bottom {
    display:      flex;
    gap:          12px;
    padding:      16px 24px;
    border-top:   1px solid var(--light-gray);
    flex-shrink:  0;
    background:   var(--soft-gray);
}

/* Buttons */
.prompt-btn {
    padding:       11px 22px;
    border-radius: 12px;
    font-size:     14px;
    font-weight:   600;
    cursor:        pointer;
    border:        2px solid transparent;
    transition:    all 0.3s ease;
    display:       inline-flex;
    align-items:   center;
    gap:           8px;
}
.prompt-btn i { font-size: 13px; }

.prompt-btn-load {
    background:   var(--white);
    color:        var(--accent-blue);
    border-color: var(--accent-blue);
}
.prompt-btn-load:hover {
    background: var(--accent-blue);
    color:      white;
    box-shadow: 0 4px 14px rgba(66,133,244,0.3);
}
.prompt-btn-load:disabled {
    opacity: 0.5;
    cursor:  not-allowed;
}

.prompt-btn-save {
    flex:       1;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    color:      white;
    border:     none;
    box-shadow: 0 4px 14px rgba(66,133,244,0.3);
}
.prompt-btn-save:hover {
    transform:  translateY(-1px);
    box-shadow: 0 6px 20px rgba(66,133,244,0.4);
    filter:     brightness(1.05);
}
.prompt-btn-save:disabled {
    opacity: 0.5;
    cursor:  not-allowed;
}
.prompt-btn-save.modified {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 14px rgba(245,158,11,0.35);
    animation:  pulse-save 1.8s ease-in-out infinite;
}

.prompt-btn-reset {
    background:   transparent;
    color:        var(--text-secondary);
    border-color: var(--light-gray);
}
.prompt-btn-reset:hover {
    color:        var(--accent-red);
    border-color: var(--accent-red);
    background:   rgba(234,67,53,0.04);
}

@keyframes pulse-save {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.3); }
    50%      { box-shadow: 0 0 0 8px rgba(245,158,11,0);  }
}

/* Keyboard hint */
.prompt-editor-hint {
    padding:    10px 24px 16px;
    font-size:  12px;
    color:      var(--text-secondary);
    text-align: center;
    flex-shrink: 0;
}
.prompt-editor-hint kbd {
    background:    var(--soft-gray);
    border:        1px solid var(--light-gray);
    border-radius: 4px;
    padding:       2px 6px;
    font-size:     11px;
    color:         var(--text-secondary);
    font-family:   monospace;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .prompt-editor-panel {
        width:     100vw;
        max-width: 100vw;
    }
    .prompt-editor-toggle-btn {
        padding:   8px 14px;
        font-size: 13px;
    }
}