/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: #0d0d0d;
    color: #f5f0e8;
    font-family: 'Lora', serif;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* === Top Bar === */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: #0d0d0d;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

.settings-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.version-tag {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #999;
}

/* === View Tabs === */
.view-tabs {
    display: flex;
    gap: 2px;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid #333;
}

.view-tab {
    background: transparent;
    border: none;
    color: #666;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    padding: 0.35rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.view-tab.active {
    background: #333;
    color: #f5f0e8;
}

/* === View Container === */
.view-container {
    position: fixed;
    top: 3rem;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: 300vw;
    transition: transform 0.3s ease-out;
}

.view-container.no-transition {
    transition: none;
}

.view-screen {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* === Buttons === */
.input-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-input {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #f5f0e8;
    font-family: 'Lora', serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.text-input:focus {
    border-color: #555;
}

.text-input::placeholder {
    color: #555;
}

.btn-primary {
    background: #f5f0e8;
    color: #0d0d0d;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: #aaa;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.btn-secondary:active {
    border-color: #666;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.btn-icon {
    background: none;
    border: none;
    color: #555;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.btn-icon:active {
    color: #aaa;
}

/* === Modals === */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    width: 90%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: #f5f0e8;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.key-status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #4ade80;
    min-height: 1.2em;
}

/* Provider selector */
.provider-selector {
    display: flex;
    gap: 2px;
    background: #111;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid #333;
}

.provider-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #666;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.provider-btn.active {
    background: #333;
    color: #f5f0e8;
}

.key-section.hidden {
    display: none;
}

/* === Scan View === */
.scan-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
}

#camera-feed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crop-guide {
    position: absolute;
    top: 8%;
    left: 6%;
    right: 6%;
    bottom: 12%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    pointer-events: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.crop-guide.detected {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.2); }
}

.crop-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(255, 255, 255, 0.7);
    border-style: solid;
    border-width: 0;
}

.crop-corner.top-left {
    top: -2px; left: -2px;
    border-top-width: 3px; border-left-width: 3px;
    border-top-left-radius: 4px;
}

.crop-corner.top-right {
    top: -2px; right: -2px;
    border-top-width: 3px; border-right-width: 3px;
    border-top-right-radius: 4px;
}

.crop-corner.bottom-left {
    bottom: -2px; left: -2px;
    border-bottom-width: 3px; border-left-width: 3px;
    border-bottom-left-radius: 4px;
}

.crop-corner.bottom-right {
    bottom: -2px; right: -2px;
    border-bottom-width: 3px; border-right-width: 3px;
    border-bottom-right-radius: 4px;
}

.scan-flash {
    position: absolute;
    inset: 0;
    background: rgba(74, 222, 128, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.scan-flash.flash {
    opacity: 1;
}

.status-pill {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #aaa;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    z-index: 10;
    transition: color 0.3s, background 0.3s;
}

.status-pill.detected { color: #f5f0e8; }
.status-pill.scanning { color: #facc15; animation: pulse-pill 1s ease-in-out infinite; }
.status-pill.done { color: #4ade80; background: #1a2e1a; }
.status-pill.error { color: #f87171; }

@keyframes pulse-pill {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.scan-info-row {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.page-counter {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #666;
}

.btn-new-doc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.08);
    color: #aaa;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    cursor: pointer;
}

.btn-new-doc:active {
    background: rgba(255,255,255,0.15);
}

.scan-btn-row {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.scan-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    background: rgba(245, 240, 232, 0.15);
    color: #f5f0e8;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.scan-btn:active {
    transform: scale(0.93);
    background: rgba(245, 240, 232, 0.3);
}

.scan-btn.scanning {
    border-color: rgba(250, 204, 21, 0.8);
    background:
        linear-gradient(rgba(250, 204, 21, 0.25), rgba(250, 204, 21, 0.25)) no-repeat bottom / 100% 0%;
    animation: scan-fill 2s ease-in-out infinite;
    pointer-events: none;
    color: #facc15;
}

@keyframes scan-fill {
    0%   { background-size: 100% 0%; }
    50%  { background-size: 100% 100%; }
    100% { background-size: 100% 0%; }
}

.rescan-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s;
}

.rescan-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.rescan-btn.hidden {
    display: none;
}

.mic-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #888;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
}

.mic-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.mic-btn.listening {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    animation: mic-pulse 1.5s ease-in-out infinite;
}

@keyframes mic-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* === Scan Preview Toast (mobile) === */
.scan-preview {
    position: absolute;
    bottom: 7rem;
    left: 1rem;
    right: 1rem;
    max-height: 30%;
    background: rgba(13, 13, 13, 0.92);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    z-index: 10;
    overflow-y: auto;
    animation: toast-up 0.25s ease-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.scan-preview.hidden {
    display: none;
}

.scan-preview-text {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #ccc;
    white-space: pre-wrap;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

@keyframes toast-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Viewing Banner === */
.viewing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    border: 1px solid #facc15;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #facc15;
}

.viewing-banner strong {
    color: #f5f0e8;
}

.viewing-back-btn {
    background: none;
    border: 1px solid #facc15;
    color: #facc15;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.viewing-back-btn:active {
    background: rgba(250, 204, 21, 0.15);
}

/* === Text View === */
.transcript-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.transcript-body.hidden {
    display: none;
}

.transcript-placeholder {
    color: #444;
    font-style: italic;
    text-align: center;
    margin-top: 3rem;
}

.page-divider {
    text-align: center;
    color: #444;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-divider::before,
.page-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #222;
}

.page-text {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #ddd;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.text-actions {
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid #1a1a1a;
}

.text-actions .btn-primary,
.text-actions .btn-secondary {
    flex: 1;
}

.btn-primary.copied {
    background: #4ade80;
    color: #0d0d0d;
}

/* === Library View === */
.library-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}

.library-placeholder {
    color: #444;
    font-style: italic;
    text-align: center;
    margin-top: 3rem;
}

.library-item {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: border-color 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-item:active {
    border-color: #444;
}

.library-item-info {
    flex: 1;
    min-width: 0;
}

.library-item-name {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #f5f0e8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.library-item-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.25rem;
}

.library-item-actions {
    display: flex;
    gap: 0.4rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.library-btn {
    background: none;
    border: 1px solid #333;
    color: #888;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.library-btn:active {
    color: #f5f0e8;
    border-color: #666;
}

.library-btn.delete {
    border-color: #442222;
    color: #f87171;
}

.library-btn.delete:active {
    background: rgba(248, 113, 113, 0.1);
}

/* === Error Bar === */
.error-bar {
    position: absolute;
    top: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid #f87171;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 90%;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #f87171;
    animation: slide-down 0.2s ease-out;
}

.error-bar.hidden {
    display: none;
}

.error-bar span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes slide-down {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.retry-btn {
    background: none;
    border: 1px solid #f87171;
    color: #f87171;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.retry-btn:active {
    background: rgba(248, 113, 113, 0.15);
}

.skip-btn {
    border-color: #666;
    color: #888;
}

.skip-btn:active {
    background: rgba(255, 255, 255, 0.05);
}

/* === Desktop Side-by-Side Layout === */
@media (min-width: 900px) {
    .view-container {
        width: 100% !important;
        transform: none !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .view-container.no-transition {
        transition: none;
    }

    /* Override ALL mobile .view-screen properties that break grid */
    .view-screen {
        width: auto !important;
        min-width: 0;
        flex-shrink: 1;
    }

    /* Library hidden by default on desktop */
    #screen-library {
        display: none;
    }

    body.library-active .view-screen {
        display: none;
    }

    body.library-active #screen-library {
        display: flex;
        grid-column: 1 / -1;
    }

    /* Hide the preview toast on desktop — transcript is already visible */
    .scan-preview {
        display: none !important;
    }

    /* Text view border separator */
    #screen-text {
        border-left: 1px solid #1a1a1a;
    }
}

/* ===== Google Docs Integration ===== */

/* Connect banner at top of text view */
.gdocs-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #161616;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
}

.gdocs-banner.hidden {
    display: none;
}

.gdocs-banner-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #888;
}

/* iframe container — replaces transcript-body when connected */
.gdocs-frame-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.gdocs-frame-container.hidden {
    display: none;
}

/* Tab bar */
.gdocs-tab-bar {
    display: flex;
    align-items: stretch;
    background: #0a0a0a;
    border-bottom: 1px solid #282828;
    flex-shrink: 0;
    min-height: 2rem;
}

.gdocs-tabs {
    display: flex;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    gap: 1px;
}

.gdocs-tabs::-webkit-scrollbar {
    display: none;
}

.gdocs-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: #111;
    border: none;
    border-right: 1px solid #1a1a1a;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    max-width: 180px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.gdocs-tab:hover {
    background: #1a1a1a;
    color: #aaa;
}

.gdocs-tab.active {
    background: #1a1a1a;
    color: #4ade80;
    border-bottom: 2px solid #4ade80;
}

.gdocs-tab-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.gdocs-tab-close {
    font-size: 0.6rem;
    color: #555;
    cursor: pointer;
    padding: 0 0.15rem;
    border-radius: 2px;
    line-height: 1;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.15s, background 0.15s;
}

.gdocs-tab-close:hover {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.gdocs-add-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    background: none;
    border: none;
    border-right: 1px solid #1a1a1a;
    color: #555;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}

.gdocs-add-tab:hover {
    color: #4ade80;
    background: #111;
}

.gdocs-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.4rem;
    flex-shrink: 0;
}

.gdocs-bar-btn {
    font-size: 0.75rem;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.gdocs-bar-btn:hover {
    color: #ccc;
    background: #222;
}

/* The actual Google Docs iframe */
.gdocs-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 0 0 4px 4px;
}

/* Doc picker modal specifics */
.gdocs-picker-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    text-align: center;
}

.gdocs-picker-actions {
    flex-direction: column;
    gap: 0.5rem;
}

.gdocs-picker-cancel {
    margin-top: 0.5rem;
    width: 100%;
}

/* Settings divider */
.settings-divider {
    border-top: 1px solid #282828;
    margin: 1rem 0;
}

.input-label-sub {
    font-size: 0.65rem;
    color: #666;
}

/* Folder path in connection bar */
.gdocs-folder-path {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Folder selector in picker modal */
.gdocs-folder-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    background: #111;
    border: 1px solid #282828;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.gdocs-folder-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: #666;
    flex-shrink: 0;
}

.gdocs-folder-name-display {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: #ccc;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-tiny {
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Hide text action bar when Google Docs is active */
body.gdocs-active .text-actions {
    display: none;
}

/* Images-only toggle in settings */
.gdocs-toggle-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    cursor: pointer;
}

.gdocs-toggle-row.hidden {
    display: none;
}

.gdocs-toggle-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #aaa;
}

.gdocs-toggle-row input[type="checkbox"] {
    accent-color: #4ade80;
}

/* Mic selector in settings */
.mic-select {
    width: 100%;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    appearance: auto;
    cursor: pointer;
}
