*{box-sizing:border-box;margin:0;padding:0}body{color:#f9fafb;-webkit-user-select:none;user-select:none;background-color:#0b0f19;height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;overflow:hidden}#app{flex-direction:column;height:100vh;display:flex}.app-header{-webkit-app-region:drag;background-color:#111827;border-bottom:1px solid #374151;justify-content:space-between;align-items:center;height:48px;padding:0 16px;display:flex}.app-header .header-brand{align-items:center;gap:8px;display:flex}.app-header .header-brand .brand-icon{fill:#6366f1;width:22px;height:22px}.app-header .header-brand .brand-title{letter-spacing:-.01em;font-size:.95rem;font-weight:600}.app-header .header-brand .version-tag{color:#a9abf7;background:#6366f126;border-radius:4px;padding:2px 6px;font-size:.7rem;font-weight:500}.app-header .header-actions{-webkit-app-region:no-drag;align-items:center;gap:8px;display:flex}.app-header .header-actions .icon-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:background .15s,color .15s;display:flex}.app-header .header-actions .icon-btn:hover{color:#f9fafb;background:#1f2937}.app-header .header-actions .icon-btn:active{background:#374151}.app-header .header-actions .icon-btn svg{width:16px;height:16px}.nav-tabs{background:#111827;border-bottom:1px solid #374151;gap:4px;padding:4px 16px;display:flex}.nav-tabs .tab-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:8px 14px;font-size:.85rem;font-weight:500;transition:background .15s,color .15s}.nav-tabs .tab-btn:hover{color:#f9fafb;background:#ffffff0d}.nav-tabs .tab-btn.active{color:#f9fafb;background:#1f2937;font-weight:600}.main-view{flex-direction:column;flex:1;gap:20px;padding:20px;display:flex;overflow-y:auto}.status-bar{background:#1f293799;border:1px solid #374151;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 14px;font-size:.8rem;display:flex}.status-bar .status-indicator{align-items:center;gap:8px;display:flex}.status-bar .status-indicator .dot{background:#6b7280;border-radius:50%;width:8px;height:8px}.status-bar .status-indicator .dot.online{background:#10b981;box-shadow:0 0 8px #10b98180}.status-bar .status-indicator .dot.warning{background:#f59e0b}.status-bar .status-indicator .dot.offline{background:#ef4444}.status-bar .status-indicator .status-text{color:#9ca3af}.status-bar .shortcut-hint{color:#6b7280;align-items:center;gap:6px;display:flex}.status-bar .shortcut-hint kbd{color:#f9fafb;background:#111827;border:1px solid #374151;border-radius:4px;padding:2px 6px;font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-size:.75rem}.recorder-card{background:#111827;border:1px solid #374151;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;padding:30px 20px;display:flex;position:relative;overflow:hidden}.recorder-card .mic-button-wrapper{margin-bottom:16px;position:relative}.recorder-card .mic-button-wrapper .mic-button{cursor:pointer;color:#fff;background:#6366f1;border:none;border-radius:50%;justify-content:center;align-items:center;width:84px;height:84px;transition:transform .15s,background .2s,box-shadow .2s;display:flex;box-shadow:0 4px 14px #6366f166}.recorder-card .mic-button-wrapper .mic-button svg{width:38px;height:38px}.recorder-card .mic-button-wrapper .mic-button:hover{background:#4f46e5;transform:scale(1.04)}.recorder-card .mic-button-wrapper .mic-button:active{transform:scale(.97)}.recorder-card .mic-button-wrapper .mic-button.recording{background:#ef4444;animation:1.5s infinite pulse;box-shadow:0 0 24px #ef4444b3}.recorder-card .mic-button-wrapper .mic-button.recording:hover{background:#ed2d2d}.recorder-card .mic-button-wrapper .mic-button.processing{cursor:not-allowed;background:#f59e0b;animation:2s linear infinite spin-pulse}.recorder-card .recorder-status-label{color:#f9fafb;margin-bottom:8px;font-size:.95rem;font-weight:500}.recorder-card .waveform-canvas{width:240px;height:36px;margin-top:4px}.options-bar{flex-direction:column;gap:10px;display:flex}.options-bar .control-group{flex-direction:column;gap:6px;display:flex}.options-bar .control-group label{color:#9ca3af;font-size:.8rem;font-weight:500}.options-bar .control-group select,.options-bar .control-group input[type=text]{color:#f9fafb;background:#111827;border:1px solid #374151;border-radius:6px;outline:none;padding:8px 12px;font-size:.85rem;transition:border-color .15s}.options-bar .control-group select:focus,.options-bar .control-group input[type=text]:focus{border-color:#6366f1}.result-card{background:#111827;border:1px solid #374151;border-radius:10px;flex-direction:column;gap:12px;padding:16px;display:flex}.result-card .result-header{justify-content:space-between;align-items:center;display:flex}.result-card .result-header .result-title{color:#9ca3af;font-size:.85rem;font-weight:600}.result-card .result-header .result-actions{gap:6px;display:flex}.result-card .result-header .result-actions .action-btn{color:#f9fafb;cursor:pointer;background:#1f2937;border:1px solid #374151;border-radius:5px;align-items:center;gap:4px;padding:5px 10px;font-size:.75rem;transition:background .15s,border-color .15s;display:flex}.result-card .result-header .result-actions .action-btn:hover{background:#374151;border-color:#4c596f}.result-card .result-header .result-actions .action-btn:active{background:#374151}.result-card .result-header .result-actions .action-btn svg{width:13px;height:13px}.result-card .result-content{color:#f9fafb;white-space:pre-wrap;word-break:break-word;background:#1f2937;border-radius:6px;min-height:60px;max-height:140px;padding:10px 12px;font-size:.95rem;line-height:1.6;overflow-y:auto}.result-card .result-content.placeholder{color:#6b7280;font-style:italic}.result-card .result-footer{color:#6b7280;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.result-card .result-footer .auto-paste-badge{color:#10b981;align-items:center;gap:4px;display:flex}.result-card .repaste-hint-box{background:#6366f114;border:1px solid #6366f140;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:.78rem;display:flex}.result-card .repaste-hint-box .hint-icon{stroke:#a9abf7;flex-shrink:0;width:16px;height:16px;margin-top:2px}.result-card .repaste-hint-box .hint-content{color:#9ca3af;flex-direction:column;gap:2px;display:flex}.result-card .repaste-hint-box .hint-content span{color:#f9fafb;font-weight:500}.result-card .repaste-hint-box .hint-content p{line-height:1.4}.result-card .repaste-hint-box .hint-content kbd{color:#f9fafb;background:#111827;border:1px solid #374151;border-radius:3px;padding:1px 5px;font-family:SF Mono,Monaco,Menlo,Consolas,monospace;font-size:.72rem}.history-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-toolbar .search-box{background:#111827;border:1px solid #374151;border-radius:6px;flex:1;align-items:center;gap:8px;padding:6px 10px;display:flex}.history-toolbar .search-box svg{color:#6b7280;flex-shrink:0;width:15px;height:15px}.history-toolbar .search-box input{color:#f9fafb;background:0 0;border:none;outline:none;width:100%;font-size:.85rem}.history-toolbar .search-box input::placeholder{color:#6b7280}.history-info-bar{color:#6b7280;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.history-info-bar .history-count-text{font-weight:500}.history-info-bar .history-tip{font-style:italic}.history-list{flex-direction:column;gap:10px;display:flex}.history-list .history-item{background:#111827;border:1px solid #374151;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.history-list .history-item .history-meta{color:#6b7280;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.history-list .history-item .history-meta .style-badge{color:#9ca3af;background:#1f2937;border-radius:4px;padding:2px 6px;font-size:.7rem}.history-list .history-item .history-text{color:#f9fafb;white-space:pre-wrap;word-break:break-word;background:#1f293766;border-radius:5px;padding:8px 10px;font-size:.9rem;line-height:1.5}.history-list .history-item .history-actions{justify-content:flex-end;gap:6px;display:flex}.history-list .history-item .history-actions button{cursor:pointer;border:1px solid #374151;border-radius:4px;align-items:center;gap:4px;padding:4px 10px;font-size:.75rem;transition:background .15s,border-color .15s,color .15s;display:flex}.history-list .history-item .history-actions button svg{width:12px;height:12px}.history-list .history-item .history-actions button.btn-paste-item{color:#a9abf7;background:#6366f126;border-color:#6366f14d;font-weight:500}.history-list .history-item .history-actions button.btn-paste-item:hover{color:#fff;background:#6366f1;border-color:#6366f1}.history-list .history-item .history-actions button.btn-copy-item{color:#f9fafb;background:#1f2937}.history-list .history-item .history-actions button.btn-copy-item:hover{background:#374151;border-color:#4c596f}.history-list .history-item .history-actions button.btn-delete-item{color:#6b7280;background:0 0}.history-list .history-item .history-actions button.btn-delete-item:hover{color:#ef4444;background:#ef44441a;border-color:#ef44444d}.history-list .empty-state{text-align:center;color:#6b7280;padding:40px 0;font-size:.85rem}.settings-card{background:#111827;border:1px solid #374151;border-radius:8px;flex-direction:column;gap:16px;padding:16px;display:flex}.settings-card .settings-row{flex-direction:column;gap:6px;display:flex}.settings-card .settings-row .label-row{justify-content:space-between;align-items:center;display:flex}.settings-card .settings-row .label-row label{color:#f9fafb;font-size:.85rem;font-weight:500}.settings-card .settings-row .label-row .hint{color:#6b7280;font-size:.75rem}.settings-card .settings-row input[type=text]{color:#f9fafb;background:#1f2937;border:1px solid #374151;border-radius:6px;outline:none;padding:8px 12px;font-size:.85rem}.settings-card .settings-row input[type=text]:focus{border-color:#6366f1}.settings-card .settings-row .checkbox-label{color:#f9fafb;cursor:pointer;align-items:center;gap:8px;font-size:.85rem;display:flex}.settings-card .settings-row .checkbox-label input[type=checkbox]{cursor:pointer;width:16px;height:16px}.settings-card .primary-save-btn{color:#fff;cursor:pointer;background:#6366f1;border:none;border-radius:6px;padding:10px;font-size:.85rem;font-weight:600;transition:background .15s}.settings-card .primary-save-btn:hover{background:#4f46e5}@keyframes pulse{0%{box-shadow:0 0 #ef444499}70%{box-shadow:0 0 0 16px #ef444400}to{box-shadow:0 0 #ef444400}}@keyframes spin-pulse{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.global-hud-banner{-webkit-user-select:none;user-select:none;border-radius:8px;justify-content:space-between;align-items:center;margin:0 16px 8px;padding:10px 16px;font-size:.85rem;font-weight:500;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 4px 12px #00000040}.global-hud-banner.hidden{display:none!important}.global-hud-banner .hud-content{align-items:center;gap:10px;width:100%;display:flex}.global-hud-banner .hud-status-indicator{justify-content:center;align-items:center;width:16px;height:16px;display:flex}.global-hud-banner .hud-status-text{letter-spacing:-.01em;flex:1;font-weight:600}.global-hud-banner .hud-shortcut-hint{letter-spacing:.02em;background:#00000040;border-radius:4px;padding:3px 8px;font-family:inherit;font-size:.75rem}.global-hud-banner.recording{color:#fff;background:linear-gradient(135deg,#ef4444f2,#b91c1cf2);border:1px solid #fecaca4d;animation:2s ease-in-out infinite hud-glow}.global-hud-banner.recording .pulse-circle{background:#fff;border-radius:50%;width:10px;height:10px;animation:1s ease-in-out infinite alternate hud-pulse-dot}.global-hud-banner.processing{color:#fff;background:linear-gradient(135deg,#6366f1f2,#4f46e5f2);border:1px solid #c7d2fe4d}.global-hud-banner.processing .pulse-circle{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:12px;height:12px;animation:.7s linear infinite spin-pulse}.global-hud-banner.success{color:#fff;background:linear-gradient(135deg,#10b981f2,#059669f2);border:1px solid #a7f3d04d}.global-hud-banner.success .pulse-circle{background:#fff;border-radius:50%;width:8px;height:8px}#app.recording-active{box-shadow:inset 0 0 0 2px #ef444480,0 0 24px #ef444433}@keyframes hud-pulse-dot{0%{opacity:.6;transform:scale(.85)}to{opacity:1;transform:scale(1.2)}}@keyframes hud-glow{0%,to{box-shadow:0 4px 16px #ef444466}50%{box-shadow:0 4px 24px #ef4444b3}}
