/* =========================================================
   Audio Workstation / Audio Editor Stylesheet
   Matches Jubaroo audio tools dark & amber theme
   ========================================================= */

body.au-editor-page {
    --editor-bg: #0c0906;
    --editor-surface: rgba(24, 17, 10, 0.95);
    --editor-surface-hover: rgba(36, 26, 15, 0.98);
    --editor-card: rgba(32, 23, 13, 0.85);
    --editor-border: rgba(251, 191, 36, 0.2);
    --editor-border-focus: rgba(251, 191, 36, 0.6);
    --editor-text: #fff8f0;
    --editor-muted: #c4a882;
    --editor-dim: #8a7355;
    --editor-amber: #fbbf24;
    --editor-orange: #fb923c;
    --editor-red: #ef4444;
    --editor-green: #22c55e;
    --editor-blue: #38bdf8;
    --editor-purple: #a855f7;
    --editor-track-bg: #140e08;
    --editor-waveform-left: #fbbf24;
    --editor-waveform-right: #fb923c;
    --editor-playhead: #ffffff;
    --editor-selection: rgba(251, 191, 36, 0.25);
    --editor-radius: 12px;
    --editor-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

/* Container & Layout */
body.au-tool-page.au-editor-page main.container {
    width: min(100% - 24px, 1360px);
    max-width: 1360px;
}

.editor-app {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

/* Status Banner */
.editor-status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    border-radius: var(--editor-radius);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--editor-border);
    color: var(--editor-text);
    font-size: 0.88rem;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.editor-status-banner.is-error {
    background: rgba(127, 29, 29, 0.4);
    border-color: rgba(248, 113, 113, 0.6);
    color: #fecaca;
}

.editor-status-banner.is-success {
    background: rgba(20, 83, 45, 0.4);
    border-color: rgba(74, 222, 128, 0.6);
    color: #bbf7d0;
}

.editor-status-banner.is-busy {
    background: rgba(120, 53, 15, 0.45);
    border-color: rgba(251, 191, 36, 0.7);
    color: #fef08a;
}

/* Workstation Shell / Grid */
.workstation-container {
    background: var(--editor-surface);
    border: 1px solid var(--editor-border);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Top Command Header Bar */
.ws-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(251, 191, 36, 0.12);
}

.ws-btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

/* Standard Buttons */
.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    min-height: 32px;
    border-radius: 6px;
    border: 1px solid var(--editor-border);
    background: rgba(36, 26, 14, 0.95);
    color: var(--editor-text);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    user-select: none;
}

.ws-btn:hover:not(:disabled) {
    background: rgba(251, 191, 36, 0.16);
    border-color: var(--editor-amber);
    color: #ffffff;
    transform: translateY(-1px);
}

.ws-btn:active:not(:disabled) {
    transform: translateY(0);
}

.ws-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.ws-btn--primary {
    background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
    border-color: rgba(251, 191, 36, 0.8);
    color: #120b04;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}

.ws-btn--primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #fcd34d 0%, #f97316 100%);
    border-color: #fef08a;
    color: #0c0702;
    box-shadow: 0 6px 18px rgba(251, 191, 36, 0.45);
}

.ws-btn--record {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.ws-btn--record:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.35);
    border-color: #ef4444;
    color: #ffffff;
}

.ws-btn--recording {
    background: #ef4444 !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    animation: pulseRecord 1.2s infinite ease-in-out;
}

@keyframes pulseRecord {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.ws-btn--icon {
    width: 32px;
    height: 32px;
    padding: 0;
    min-width: 32px;
}

.ws-btn svg {
    flex-shrink: 0;
}

/* Timecode & Monitor Deck */
.ws-monitor-deck {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(14, 10, 6, 0.95);
    border: 1px solid var(--editor-border);
    border-radius: var(--editor-radius);
}

@media (max-width: 900px) {
    .ws-monitor-deck {
        grid-template-columns: 1fr;
    }
}

.timecode-display {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.timecode-box {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 8px;
}

.timecode-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--editor-dim);
    font-weight: 600;
}

.timecode-value {
    font-family: var(--editor-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--editor-amber);
    letter-spacing: 0.03em;
}

.timecode-box--main .timecode-value {
    font-size: 1.45rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

/* Spectrum & Visualizer Area */
.visualizer-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 8px;
    padding: 4px 8px;
    overflow: hidden;
}

.spectrum-canvas {
    flex: 1;
    height: 100%;
    width: 100%;
    min-width: 120px;
    display: block;
}

/* Stereo VU Meters */
.vu-meters-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 120px;
    padding: 4px 0;
}

.vu-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--editor-mono);
    font-size: 0.65rem;
    color: var(--editor-muted);
}

.vu-channel-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.vu-channel-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22c55e 0%, #eab308 70%, #ef4444 100%);
    border-radius: 4px;
    transition: width 0.05s ease;
}

.vu-peak-val {
    min-width: 38px;
    text-align: right;
    font-size: 0.65rem;
    color: var(--editor-dim);
}

/* Transport Deck */
.ws-transport-deck {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.65rem 0.95rem;
    background: rgba(22, 15, 8, 0.95);
    border: 1px solid var(--editor-border);
    border-radius: var(--editor-radius);
}

.transport-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transport-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--editor-border);
    background: rgba(36, 26, 14, 0.95);
    color: var(--editor-amber);
    cursor: pointer;
    transition: all 0.15s ease;
}

.transport-btn svg {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform 0.15s ease;
}

.transport-btn:hover:not(:disabled) {
    background: rgba(251, 191, 36, 0.2);
    border-color: var(--editor-amber);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.transport-btn:active:not(:disabled) {
    transform: scale(0.96);
}

.transport-btn--play {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #fef08a;
    color: #0c0702;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

.transport-btn--play svg {
    width: 18px;
    height: 18px;
    margin-left: 2px; /* Visual optical centering for play arrow */
}

.transport-btn--play.is-active svg {
    margin-left: 0;
}

.transport-btn--play:hover:not(:disabled) {
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 100%);
    border-color: #ffffff;
    color: #000000;
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.6);
}

.transport-btn.is-active {
    background: rgba(251, 191, 36, 0.25);
    border-color: var(--editor-amber);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.transport-extra-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.fader-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--editor-muted);
}

.fader-control input[type="range"] {
    accent-color: var(--editor-amber);
    height: 6px;
    cursor: pointer;
}

/* Timeline & Waveform Workspace */
.ws-timeline-card {
    display: flex;
    flex-direction: column;
    background: var(--editor-track-bg);
    border: 1px solid var(--editor-border);
    border-radius: var(--editor-radius);
    overflow: hidden;
    position: relative;
}

.timeline-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background: rgba(28, 20, 11, 0.95);
    border-bottom: 1px solid rgba(251, 191, 36, 0.12);
}

.timeline-tools-left, .timeline-tools-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-ruler-wrap {
    position: relative;
    height: 26px;
    background: rgba(18, 12, 6, 0.98);
    border-bottom: 1px solid rgba(251, 191, 36, 0.18);
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.ruler-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Tracks Container */
.ws-tracks-container {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    max-height: 520px;
    overflow-y: auto;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.03), transparent 70%), #0d0905;
}

.track-lane {
    display: grid;
    grid-template-columns: 210px 1fr;
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    background: rgba(18, 13, 7, 0.9);
    position: relative;
    min-height: 140px;
}

@media (max-width: 768px) {
    .track-lane {
        grid-template-columns: 160px 1fr;
    }
}

.track-header {
    padding: 0.6rem;
    border-right: 1px solid rgba(251, 191, 36, 0.18);
    background: rgba(28, 20, 11, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    user-select: none;
    z-index: 2;
    overflow: hidden;
    box-sizing: border-box;
}

.track-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    width: 100%;
}

.track-name-input {
    background: transparent;
    border: 1px solid transparent;
    color: var(--editor-text);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    padding: 2px 4px;
    border-radius: 4px;
    width: 100%;
    min-width: 0;
    flex: 1;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-name-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--editor-border-focus);
}

.track-delete-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    max-width: 26px;
    min-height: 26px;
    max-height: 26px;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(36, 26, 14, 0.6);
    border: 1px solid rgba(251, 191, 36, 0.15);
    color: var(--editor-dim);
    transition: all 0.15s ease;
}

.track-delete-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fca5a5;
    transform: translateY(-1px);
}

.track-delete-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}

.track-controls-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    width: 100%;
}

.track-btn {
    padding: 0.25rem 0.2rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid var(--editor-border);
    background: rgba(36, 26, 14, 0.9);
    color: var(--editor-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 24px;
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.track-btn:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: var(--editor-amber);
    color: #ffffff;
}

.track-btn.is-mute-active {
    background: #dc2626;
    border-color: #ef4444;
    color: #fff;
}

.track-btn.is-solo-active {
    background: #eab308;
    border-color: #facc15;
    color: #1a1205;
}

.track-faders {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--editor-dim);
    width: 100%;
}

.track-fader-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
}

.track-fader-item span {
    font-size: 0.7rem;
    font-weight: 600;
    width: 26px;
    flex-shrink: 0;
}

.track-fader-item input[type="range"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 4px;
    accent-color: var(--editor-amber);
    cursor: pointer;
}

/* Waveform Canvas & Overlay Area */
.track-canvas-area {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 140px;
    cursor: crosshair;
    overflow: hidden;
    user-select: none;
}

.track-waveform-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.track-overlay-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Empty Project Drop Zone */
.ws-empty-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    text-align: center;
    border: 2px dashed rgba(251, 191, 36, 0.28);
    border-radius: var(--editor-radius);
    margin: 1rem;
    background: rgba(28, 20, 10, 0.4);
    transition: all 0.2s ease;
    cursor: pointer;
}

.ws-empty-dropzone:hover, .ws-empty-dropzone.is-dragover {
    border-color: var(--editor-amber);
    background: rgba(251, 191, 36, 0.08);
}

.ws-empty-dropzone svg {
    color: var(--editor-amber);
    margin-bottom: 1rem;
}

.ws-empty-dropzone h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    color: var(--editor-text);
}

.ws-empty-dropzone p {
    margin: 0 0 1.25rem;
    color: var(--editor-muted);
    font-size: 0.9rem;
}

.dropzone-quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

/* Tabs & Tool Panels */
.ws-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    padding-bottom: 0.4rem;
}

.ws-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    background: transparent;
    color: var(--editor-muted);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ws-tab-btn:hover {
    color: #fff;
    background: rgba(251, 191, 36, 0.08);
}

.ws-tab-btn.is-active {
    color: var(--editor-amber);
    background: rgba(36, 26, 14, 0.98);
    border: 1px solid var(--editor-border);
    border-bottom: 1px solid rgba(36, 26, 14, 0.98);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

.ws-tab-content {
    display: none;
    background: rgba(22, 16, 9, 0.85);
    border: 1px solid var(--editor-border);
    border-radius: var(--editor-radius);
    padding: 1.25rem;
}

.ws-tab-content.is-active {
    display: block;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controls & Form Panels inside Tabs */
.tool-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.tool-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.tool-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.tool-card {
    background: rgba(32, 23, 13, 0.75);
    border: 1px solid rgba(251, 191, 36, 0.12);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--editor-amber);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group-row label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--editor-muted);
    display: flex;
    justify-content: space-between;
}

.form-group-row label span.val-badge {
    font-family: var(--editor-mono);
    color: var(--editor-amber);
}

.ws-input, .ws-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(18, 12, 6, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 6px;
    color: var(--editor-text);
    font-size: 0.88rem;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease;
}

.ws-input:focus, .ws-select:focus {
    border-color: var(--editor-amber);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

/* EQ Knobs / Sliders rack */
.eq-sliders-rack {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.eq-band-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.6rem 0.3rem;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.08);
}

.eq-band-col input[type="range"] {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 8px;
    height: 100px;
    accent-color: var(--editor-amber);
    cursor: pointer;
}

.eq-band-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--editor-muted);
}

.eq-band-val {
    font-family: var(--editor-mono);
    font-size: 0.7rem;
    color: var(--editor-amber);
}

/* History list */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 260px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.08);
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s;
}

.history-item:hover {
    background: rgba(251, 191, 36, 0.12);
}

.history-item.is-current {
    border-color: var(--editor-amber);
    background: rgba(251, 191, 36, 0.18);
    font-weight: 700;
}

.history-item-time {
    font-family: var(--editor-mono);
    font-size: 0.72rem;
    color: var(--editor-dim);
}

/* Keyboard Shortcuts Modal */
.ws-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.ws-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ws-modal-dialog {
    background: #18110a;
    border: 1px solid var(--editor-border);
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    padding-bottom: 0.75rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--editor-amber);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--editor-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #fff;
}

.shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.shortcuts-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.08);
}

.shortcuts-table td:last-child {
    text-align: right;
}

kbd {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    margin: 0 0.15rem;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(0, 0, 0, 0.5);
    font-family: var(--editor-mono);
    font-size: 0.78em;
    color: var(--editor-amber);
}

/* Audio Player Preview Container inside Export */
.export-preview-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--editor-border);
    border-radius: 8px;
    margin-top: 1rem;
}

.export-preview-box audio {
    width: 100%;
    height: 40px;
    outline: none;
    border-radius: 4px;
}
