.sidebar{background:var(--bg-dark);display:flex;flex-direction:column;height:100vh;position:sticky;top:0;transition:width .2s ease;flex-shrink:0;border-right:1px solid var(--border-subtle)}.sidebar.collapsed{width:52px}.sidebar.expanded{width:200px}.sidebar-toggle{background:transparent;border:none;color:var(--text-muted);width:36px;height:36px;margin:12px auto 4px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center}.sidebar-toggle:hover{background:var(--bg-hover);color:var(--text-white)}.sidebar-header{padding:6px 16px 2px}.sidebar-title{font-size:14px;font-weight:700;color:var(--text-white);letter-spacing:.5px}.sidebar-subtitle{font-size:11px;color:var(--text-muted);margin-top:1px}.sidebar-divider{height:1px;background:var(--border-subtle);margin:6px 10px}.sidebar-nav{display:flex;flex-direction:column;gap:1px;padding:0 6px}.sidebar-link{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:6px;text-decoration:none;color:var(--text-muted);font-size:13px;font-weight:500;transition:all .12s}.sidebar-link:hover{background:var(--bg-hover);color:var(--text-white)}.sidebar-link.active{background:var(--blue-subtle);color:var(--text-white)}.sidebar-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-label{white-space:nowrap;overflow:hidden}.sidebar-processing-badge{margin-left:auto;background:var(--blue-primary);color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 5px;animation:badge-pulse 2s ease-in-out infinite}@keyframes badge-pulse{0%,to{opacity:1}50%{opacity:.6}}.sidebar-utilities{display:flex;flex-direction:column;gap:1px;padding:0 6px 10px}.sidebar-action-btn{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:6px;border:none;background:transparent;color:var(--text-muted);font-family:var(--font-family);font-size:13px;font-weight:500;cursor:pointer;transition:all .12s;text-align:left;width:100%}.sidebar-action-btn:hover{background:var(--bg-hover);color:var(--text-white)}.sidebar-action-btn:disabled{opacity:.4;cursor:not-allowed}.sidebar-toast{position:absolute;bottom:56px;left:56px;background:var(--bg-card);border:1px solid var(--border-default);color:var(--text-white);padding:8px 14px;border-radius:6px;font-size:12px;max-width:280px;z-index:200;animation:slideIn .2s ease;white-space:nowrap;box-shadow:0 4px 16px #0000004d}.sidebar-user{display:flex;align-items:center;gap:10px;padding:8px 10px 10px;margin:0 6px}.sidebar-user-avatar{width:28px;height:28px;border-radius:50%;flex-shrink:0;object-fit:cover}.sidebar-user-avatar-fallback{background:var(--blue-subtle);color:var(--text-white);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.sidebar-user-info{flex:1;min-width:0}.sidebar-user-name{font-size:12px;font-weight:600;color:var(--text-white);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-email{font-size:10px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-logout-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sidebar-logout-btn:hover{color:#f87171;background:#ef44441a}@media(max-width:768px){.sidebar{position:fixed;z-index:100;height:100vh}.sidebar.collapsed{width:0;border-right:none;overflow:hidden}.sidebar.expanded{width:200px;box-shadow:4px 0 24px #00000080}.sidebar-toggle{position:fixed;top:8px;left:8px;z-index:101;background:var(--bg-card);border:1px solid var(--border-subtle);width:32px;height:32px}}.recording-bar{position:fixed;bottom:0;left:25%;right:25%;width:50%;z-index:50;height:48px;background:var(--bg-dark);border-top:1px solid var(--border-subtle);border-left:1px solid var(--border-subtle);border-right:1px solid var(--border-subtle);border-radius:12px 12px 0 0;display:flex;align-items:center;justify-content:center;transition:height .25s ease,background .25s ease,border-color .25s ease}.recording-bar.active{height:56px;border-top-color:var(--status-red);box-shadow:0 -2px 16px #ef444414}.rb-idle{display:flex;align-items:center;gap:12px}.rb-record-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 20px;border:none;border-radius:20px;background:var(--bg-input);color:var(--text-light);font-family:var(--font-family);font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.rb-record-btn:hover{background:var(--bg-hover);color:var(--text-white)}.rb-record-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;flex-shrink:0}.rb-record-btn:hover .rb-record-dot{box-shadow:0 0 0 3px #ef444440}.rb-active{display:flex;align-items:center;gap:16px;width:100%;padding:0 24px}.rb-sources{display:flex;gap:8px;flex-shrink:0}.rb-source{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--bg-input);color:var(--text-muted);transition:all .2s}.rb-source svg{width:14px;height:14px}.rb-source.on{color:var(--status-green);background:#4ade801a}.rb-center{flex:1;display:flex;align-items:center;gap:12px;min-width:0}.rb-rec-indicator{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--status-red);letter-spacing:.5px;flex-shrink:0}.rb-rec-dot-live{width:8px;height:8px;border-radius:50%;background:#ef4444;animation:rb-pulse 1.2s ease-in-out infinite}.rb-rec-dot-live.paused{animation:rb-blink 1s step-end infinite;background:var(--status-amber)}@keyframes rb-pulse{0%,to{opacity:1}50%{opacity:.3}}@keyframes rb-blink{50%{opacity:0}}.rb-timer{font-family:Consolas,Courier New,monospace;font-size:18px;font-weight:400;color:var(--text-white);letter-spacing:2px;flex-shrink:0;min-width:80px}.rb-timer.paused{animation:rb-blink 1s step-end infinite}.rb-canvas{flex:1;height:32px;min-width:100px;max-width:400px;background:var(--bg-input);border-radius:6px;display:block}.rb-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}.rb-ctrl-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--border-default);background:var(--bg-input);color:var(--text-white);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}.rb-ctrl-btn:hover{background:var(--bg-hover);border-color:var(--text-muted)}.rb-ctrl-btn svg{width:14px;height:14px}.rb-stop-btn{border-color:var(--status-red);color:var(--status-red)}.rb-stop-btn:hover{background:#ef444426;border-color:#ef4444}.rb-done{display:flex;align-items:center;gap:16px;width:100%;padding:0 24px}.rb-uploading{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:13px}.rb-uploading svg{width:16px;height:16px}.rb-done-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.rb-done-info svg{width:16px;height:16px;color:var(--blue-primary);flex-shrink:0}.rb-done-label{font-size:13px;font-weight:600;color:var(--text-white)}.rb-done-duration{font-family:Consolas,Courier New,monospace;font-size:12px;color:var(--text-muted)}.rb-done-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.rb-process-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border:none;border-radius:6px;background:var(--blue-primary);color:#fff;font-family:var(--font-family);font-size:12px;font-weight:600;cursor:pointer;transition:all .15s}.rb-process-btn:hover{background:var(--blue-hover)}.rb-process-btn svg{width:13px;height:13px}.rb-discard-btn{border-color:transparent;color:var(--text-muted)}.rb-discard-btn:hover{color:var(--status-red);border-color:var(--status-red);background:#ef44441a}.rb-toast{position:fixed;bottom:68px;left:50%;transform:translate(-50%);background:var(--bg-card);border:1px solid var(--border-default);color:var(--text-secondary);padding:8px 18px;border-radius:8px;font-size:12px;z-index:1000;animation:rb-toast-in .3s ease}@keyframes rb-toast-in{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.send-modal-fields{display:flex;flex-direction:column;gap:12px;margin:16px 0}.send-modal-fields label{font-size:13px;color:var(--text-light);display:flex;flex-direction:column;gap:4px}.send-modal-fields input{padding:8px 12px;border-radius:6px;border:1px solid var(--border-subtle);background:var(--bg-input);color:var(--text-white);font-size:13px;outline:none}.send-modal-fields input:focus{border-color:var(--blue-primary)}.send-modal-buttons{display:flex;gap:8px;justify-content:flex-end}@media(max-width:1024px){.recording-bar{left:15%;right:15%;width:70%}}@media(max-width:768px){.recording-bar{left:4%;right:4%;width:92%;border-radius:8px 8px 0 0}.rb-canvas{display:none}.rb-timer{font-size:14px}.rb-active{gap:10px;padding:0 12px}.rb-done{padding:0 12px;gap:10px}}@media(max-width:480px){.recording-bar{left:0;right:0;width:100%;border-radius:0}.rb-sources{display:none}}.processing-toast-container{position:fixed;bottom:64px;right:20px;z-index:1000;display:flex;flex-direction:column-reverse;gap:8px;max-width:340px}.processing-toast-card{background:var(--bg-card);border:1px solid var(--border-default);border-radius:10px;padding:12px 14px;box-shadow:0 8px 24px #0006;animation:toast-slide-in .3s ease}.processing-toast-card.completed{border-color:var(--status-green)}.processing-toast-card.failed{border-color:var(--status-red)}@keyframes toast-slide-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.pt-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.pt-title{font-size:13px;font-weight:600;color:var(--text-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.pt-dismiss{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:2px;display:flex;align-items:center;font-size:14px;line-height:1}.pt-dismiss:hover{color:var(--text-white)}.pt-progress-bar{height:4px;background:var(--bg-dark);border-radius:2px;overflow:hidden;margin-bottom:6px}.pt-progress-fill{height:100%;background:var(--blue-primary);border-radius:2px;transition:width .3s ease}.pt-progress-fill.completed{background:var(--status-green)}.pt-progress-fill.failed{background:var(--status-red)}.pt-message{font-size:12px;color:var(--text-light)}.pt-message.completed{color:var(--status-green)}.pt-message.failed{color:var(--status-red)}.pt-actions{display:flex;gap:6px;margin-top:8px}.pt-link{font-size:12px;color:var(--blue-primary);background:none;border:none;cursor:pointer;padding:0;text-decoration:underline}.pt-link:hover{color:var(--blue-hover)}.registry-layout{display:flex;height:calc(100vh - 48px)}.registry-left{display:flex;flex-direction:column;overflow:hidden;min-width:280px}.registry-left .filter-bar{flex-shrink:0}.registry-list-container{flex:1;overflow-y:auto;background:var(--bg-dark);border-radius:8px}.registry-list-container table{width:100%;table-layout:fixed}.registry-list-container th:nth-child(1){width:32px}.registry-list-container th:nth-child(2){width:38%}.registry-list-container th:nth-child(3){width:22%}.registry-list-container th:nth-child(4){width:15%;white-space:nowrap}.registry-list-container th:nth-child(5){width:18%}.registry-list-container td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.registry-list-container th{position:sticky;top:0;z-index:1}.resize-handle{width:5px;cursor:col-resize;background:transparent;flex-shrink:0;position:relative;transition:background .15s}.resize-handle:hover,.resize-handle.dragging{background:var(--blue-primary)}.resize-handle:after{content:"";position:absolute;top:0;bottom:0;left:-4px;right:-4px}.registry-right{flex:1;overflow-y:auto;min-width:300px;padding-left:16px}.detail-placeholder{display:flex;align-items:center;justify-content:center;height:100%;background:var(--bg-dark);border-radius:8px}.detail-panel{padding:0}.detail-panel .card{margin-bottom:10px}.detail-panel table th,.detail-panel table td{padding:8px 10px;font-size:12px}.inline-edit{background:var(--bg-input);border:2px solid var(--blue-primary);border-radius:4px;color:var(--text-white);font-size:12px;padding:4px 6px;width:100%;outline:none;font-family:inherit}.inline-edit:focus{border-color:var(--blue-hover);box-shadow:0 0 0 2px #3b82f640}.section-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 8px}.section-header .label{margin:0}.section-header-actions{display:flex;gap:6px;align-items:center}@media(max-width:1024px){.registry-layout{flex-direction:column;height:auto}.registry-left{width:100%!important;min-width:0;max-height:45vh}.resize-handle{display:none}.registry-right{min-width:0;padding-left:0;padding-top:8px}}@media(max-width:768px){.registry-left{max-height:35vh}.registry-list-container th:nth-child(3),.registry-list-container td:nth-child(3){display:none}.registry-list-container th:nth-child(1){width:32px}.registry-list-container th:nth-child(2){width:50%}.registry-list-container th:nth-child(4){width:25%}.registry-list-container th:nth-child(5){width:25%}.filter-bar{flex-direction:column}.filter-group{width:100%}.detail-panel .flex.gap-3.flex-wrap{flex-direction:column}}@media(max-width:480px){.detail-panel table th:nth-child(4),.detail-panel table td:nth-child(4),.detail-panel table th:nth-child(5),.detail-panel table td:nth-child(5){display:none}}:root{--bg-darkest: #111118;--bg-dark: #191922;--bg-card: #1f1f2e;--bg-input: #272738;--bg-hover: #2e2e42;--bg-selected: #1B3A5C;--blue-primary: #3b82f6;--blue-dark: #1e3a5f;--blue-hover: #60a5fa;--blue-subtle: #1e2d4a;--text-white: #e4e4ec;--text-light: #a8a8be;--text-muted: #64647a;--status-green: #4ade80;--status-red: #f87171;--status-amber: #fbbf24;--status-blue: #60a5fa;--border-subtle: #2a2a3d;--border-default: #363650;--font-family: "Inter", "Segoe UI", "Calibri", system-ui, sans-serif;--radius: 8px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-family);background:var(--bg-darkest);color:var(--text-white);min-height:100vh;font-size:13px;-webkit-font-smoothing:antialiased}#root{min-height:100vh}.app-layout{display:flex;min-height:100vh}.main-content{flex:1;padding:20px 20px 68px;overflow-y:auto;max-height:100vh}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--bg-hover);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--border-default)}.card{background:var(--bg-dark);border:1px solid var(--border-subtle);border-radius:var(--radius);padding:16px;margin-bottom:12px}.page-title{font-size:18px;font-weight:700;color:var(--text-white);margin-bottom:14px}.section-title{font-size:14px;font-weight:600;color:var(--text-white);margin-bottom:6px}.label{font-size:12px;font-weight:600;color:var(--text-light);margin-bottom:4px}.text-muted{color:var(--text-muted)}.text-light{color:var(--text-light)}.btn{display:inline-flex;align-items:center;gap:5px;padding:7px 14px;border:none;border-radius:6px;font-family:var(--font-family);font-size:12px;font-weight:600;cursor:pointer;transition:all .12s;white-space:nowrap}.btn-primary{background:var(--blue-primary);color:#fff}.btn-primary:hover{background:var(--blue-hover)}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.btn-secondary{background:var(--bg-input);color:var(--text-light);border:1px solid var(--border-subtle)}.btn-secondary:hover{background:var(--bg-hover);color:var(--text-white)}.btn-ghost{background:transparent;color:var(--text-muted);padding:5px 8px}.btn-ghost:hover{background:var(--bg-hover);color:var(--text-white)}.btn-danger{background:transparent;color:var(--status-red)}.btn-danger:hover{background:#f871711a}.btn-sm{padding:4px 8px;font-size:11px}input,select,textarea{font-family:var(--font-family);font-size:13px;color:var(--text-white);background:var(--bg-input);border:1px solid var(--border-subtle);border-radius:6px;padding:7px 10px;outline:none;transition:border-color .15s}input:focus,select:focus,textarea:focus{border-color:var(--blue-primary)}input::placeholder,textarea::placeholder{color:var(--text-muted)}select{cursor:pointer}select option{background:var(--bg-card);color:var(--text-white)}table{width:100%;border-collapse:collapse}th{background:var(--bg-card);color:var(--text-muted);font-size:11px;font-weight:600;padding:8px 10px;text-align:center;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border-subtle)}td{padding:9px 10px;text-align:center;border-bottom:1px solid var(--border-subtle);font-size:13px}tr:hover td{background:var(--bg-card)}tr.selected td{background:var(--blue-subtle)}.status-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600;text-transform:capitalize}.status-completed{color:var(--status-green)}.status-processing{color:var(--status-amber)}.status-pending{color:var(--text-muted)}.status-cancelled{color:var(--status-red)}.status-delayed{color:#f0a060}.priority-high{color:var(--status-red);font-weight:600}.priority-medium{color:var(--status-amber);font-weight:600}.priority-low{color:var(--status-green);font-weight:600}.progress-bar-container{width:100%;height:6px;background:var(--bg-input);border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;background:var(--blue-primary);border-radius:3px;transition:width .3s ease}.filter-bar{display:flex;align-items:flex-end;gap:10px;flex-wrap:nowrap;background:var(--bg-dark);border:1px solid var(--border-subtle);border-radius:var(--radius);padding:10px 14px;margin-bottom:12px}.filter-bar input,.filter-bar select{width:auto;font-size:12px;padding:5px 8px;min-width:0}.filter-group{display:flex;flex-direction:column;gap:3px;min-width:0;flex-shrink:1}.filter-label{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:4px}.date-picker-hidden{width:24px!important;padding:0!important;border:none!important;background:transparent!important;cursor:pointer}.date-picker-hidden::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(.7)}.date-picker-hidden::-webkit-datetime-edit{display:none}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.items-center{align-items:center}.justify-between{justify-content:space-between}.flex-1{flex:1}.flex-wrap{flex-wrap:wrap}.w-full{width:100%}.toast{position:fixed;bottom:20px;right:20px;padding:10px 16px;border-radius:6px;font-size:12px;font-weight:600;z-index:1000;animation:slideIn .2s ease;box-shadow:0 4px 16px #0006}.toast-success{background:#065f46;color:var(--status-green)}.toast-error{background:#7f1d1d;color:var(--status-red)}.toast-info{background:var(--blue-dark);color:var(--status-blue)}@keyframes slideIn{0%{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.modal-content{background:var(--bg-darkest);border:1px solid var(--border-default);border-radius:var(--radius);padding:20px;min-width:380px;max-width:500px;box-shadow:0 8px 32px #00000080}.modal-content h3{font-size:14px;font-weight:700;margin-bottom:14px}.context-menu{position:fixed;background:var(--bg-card);border:1px solid var(--border-default);border-radius:6px;padding:4px 0;z-index:100;min-width:160px;box-shadow:0 4px 16px #0006}.ctx-item{padding:7px 14px;cursor:pointer;font-size:12px;color:var(--text-white);transition:background .1s}.ctx-item:hover{background:var(--blue-subtle)}.ctx-sep{height:1px;background:var(--border-subtle);margin:3px 0}.log-area{background:var(--bg-dark);border:1px solid var(--border-subtle);border-radius:var(--radius);padding:14px;font-family:Consolas,Courier New,monospace;font-size:11px;color:var(--text-light);max-height:220px;overflow-y:auto;white-space:pre-wrap;line-height:1.5}@keyframes icon-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.icon-spin{animation:icon-spin 1s linear infinite}
