Spaces:
Sleeping
Sleeping
| :root { | |
| color-scheme: light; | |
| --bg: #f7f7f9; | |
| --panel: #ffffff; | |
| --panel-soft: #fbfbfc; | |
| --line: #e6e6eb; | |
| --line-strong: #d7d8df; | |
| --text: #1f2430; | |
| --muted: #767b8a; | |
| --faint: #a4a8b3; | |
| --purple: #6d3df2; | |
| --purple-dark: #5528d7; | |
| --purple-soft: #eee8ff; | |
| --bad: #d7374a; | |
| --good: #29a36a; | |
| --warn: #d99b22; | |
| --shadow: 0 1px 2px rgba(18, 21, 28, .04), 0 12px 32px rgba(18, 21, 28, .06); | |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); } | |
| button, input, select { font: inherit; } | |
| button { cursor: pointer; } | |
| button:disabled { cursor: not-allowed; opacity: .48; } | |
| [hidden], .error-banner[hidden], .global-drop-overlay[hidden] { display: none ; } | |
| .app-shell { height: 100vh; display: grid; grid-template-rows: 70px minmax(0, 1fr) 54px; } | |
| .topbar { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(280px, 460px) minmax(440px, 1fr); align-items: center; gap: 18px; padding: 14px 26px; background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); } | |
| .brand, .top-actions, .backend-pill { display: flex; align-items: center; } | |
| .brand { gap: 12px; min-width: 0; } | |
| .brand strong { font-size: 18px; letter-spacing: -.02em; } | |
| .brand-mark { display: inline-flex; align-items: center; gap: 3px; height: 24px; } | |
| .brand-mark i { display: block; width: 3px; border-radius: 999px; background: #151821; } | |
| .brand-mark i:nth-child(1), .brand-mark i:nth-child(5) { height: 10px; opacity: .68; } | |
| .brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 20px; opacity: .86; } | |
| .brand-mark i:nth-child(3) { height: 28px; } | |
| .beta-pill { color: var(--purple); background: var(--purple-soft); border: 1px solid #dfd2ff; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; } | |
| .file-picker { justify-self: center; max-width: 540px; min-width: 320px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 5px 8px; border-radius: 12px; border: 1px solid transparent; color: var(--text); font-weight: 600; white-space: nowrap; } | |
| .file-picker:hover, .file-picker:focus-within, .file-picker.dragging { background: var(--panel); border-color: var(--line); } | |
| .file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } | |
| .file-picker-button { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 9px; min-height: 34px; padding: 0 13px; font-weight: 750; box-shadow: 0 1px 1px rgba(0,0,0,.02); } | |
| .file-picker-button:hover { border-color: var(--line-strong); background: #fafafd; } | |
| .file-picker-copy { min-width: 0; display: grid; gap: 1px; justify-items: start; } | |
| .file-picker-copy > span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; } | |
| .file-picker small { max-width: 190px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 11px; font-weight: 500; } | |
| .top-actions { justify-content: end; gap: 10px; min-width: 0; } | |
| .backend-pill { gap: 7px; color: var(--muted); font-size: 11px; opacity: .75; } | |
| .backend-pill strong { display: block; line-height: 1; } | |
| .backend-pill small { display: none; } | |
| .status-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--warn); } | |
| .status-dot.ok { background: var(--good); } | |
| .status-dot.bad { background: var(--bad); } | |
| .primary-action, .secondary-action, .tool-button, .icon-button, .reset-button, .help-button { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 9px; min-height: 34px; padding: 0 13px; font-weight: 650; box-shadow: 0 1px 1px rgba(0,0,0,.02); } | |
| .primary-action { border-color: transparent; color: white; background: linear-gradient(135deg, #7348f5, #552bd8); box-shadow: 0 8px 18px rgba(109,61,242,.20); } | |
| .secondary-action:hover, .tool-button:hover, .icon-button:hover, .reset-button:hover { border-color: var(--line-strong); background: #fafafd; } | |
| .icon-button { width: 34px; padding: 0; font-size: 19px; } | |
| .help-button { width: 34px; height: 34px; padding: 0; border-radius: 999px; font-size: 18px; } | |
| .main-grid { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 0; } | |
| .canvas-pane { min-width: 0; display: grid; grid-template-rows: minmax(310px, 48vh) minmax(0, 1fr); border-right: 1px solid var(--line); } | |
| .wave-panel { position: relative; display: grid; grid-template-rows: 52px minmax(0, 1fr) 58px; background: var(--panel); border-bottom: 1px solid var(--line); } | |
| .wave-toolbar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 12px 18px; } | |
| .zoom-tools { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); } | |
| .zoom-tools .tool-button { border: 0; border-right: 1px solid var(--line); border-radius: 0; min-width: 38px; padding: 0 10px; box-shadow: none; } | |
| .zoom-tools .tool-button:last-child { border-right: 0; } | |
| .zoom-tools .fit { min-width: 52px; } | |
| .wave-status { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; } | |
| .wave-status strong { color: var(--text); font-size: 13px; } | |
| .wave-status span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .top-time { color: #575c68; font-variant-numeric: tabular-nums; font-size: 14px; justify-self: end; } | |
| .waveform { width: 100%; height: 100%; display: block; background: linear-gradient(90deg, transparent, rgba(109,61,242,.035), transparent); } | |
| .transport-row { margin: 0 18px 14px; min-height: 44px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.88); box-shadow: 0 8px 26px rgba(18, 21, 28, .06); } | |
| .round-play { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: #12151b; font-size: 16px; } | |
| .transport-seek, input[type="range"] { accent-color: var(--purple); } | |
| .transport-seek { width: 100%; } | |
| .preview-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); background: #f5f5f8; border-radius: 9px; } | |
| .preview-tab { border: 0; border-radius: 7px; background: transparent; padding: 6px 10px; color: var(--muted); font-size: 12px; font-weight: 650; } | |
| .preview-tab.active { background: var(--panel); color: var(--purple); box-shadow: 0 1px 2px rgba(18,21,28,.08); } | |
| .hidden-audio-bank { display: none; } | |
| .sample-board { min-height: 0; display: grid; grid-template-rows: 52px minmax(0, 1fr); background: #fbfbfc; } | |
| .board-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); } | |
| .board-header h2 { margin: 0; font-size: 15px; letter-spacing: -.01em; } | |
| .board-header span { color: var(--muted); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } | |
| .sample-grid { min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; overflow-y: hidden; padding: 0; } | |
| .sample-column { min-width: 170px; display: grid; grid-template-rows: 42px minmax(0,1fr) 42px; border-right: 1px solid var(--line); background: #fcfcfd; } | |
| .sample-column-head { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--line); color: #4b505b; font-size: 13px; } | |
| .sample-column-head::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--column-color, var(--purple)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--column-color, var(--purple)) 14%, transparent); } | |
| .sample-column-head strong { text-transform: capitalize; } | |
| .sample-column-head span { justify-self: start; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: #f0f1f5; color: var(--muted); font-size: 12px; } | |
| .draw-card-button { border: 0; background: transparent; color: #596070; font-size: 20px; line-height: 1; padding: 0 2px; } | |
| .sample-column-list { min-height: 0; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; } | |
| .sample-card { position: relative; border: 1px solid color-mix(in srgb, var(--card-color, var(--purple)) 58%, var(--line)); border-radius: 9px; background: var(--panel); box-shadow: 0 8px 20px rgba(18, 21, 28, .05); overflow: hidden; } | |
| .sample-card.checked { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-color, var(--purple)) 34%, transparent), 0 8px 20px rgba(18, 21, 28, .05); } | |
| .sample-select { position: absolute; z-index: 2; top: 8px; left: 8px; width: 18px; height: 18px; display: grid; place-items: center; } | |
| .sample-select input { position: absolute; opacity: 0; pointer-events: none; } | |
| .sample-select span { width: 16px; height: 16px; border-radius: 4px; border: 1px solid color-mix(in srgb, var(--card-color, var(--purple)) 70%, var(--line)); background: rgba(255,255,255,.92); box-shadow: 0 1px 2px rgba(18,21,28,.1); } | |
| .sample-select input:checked + span { border-color: transparent; background: var(--purple); } | |
| .sample-select input:checked + span::after { content: "✓"; display: block; color: #fff; font-size: 11px; line-height: 16px; text-align: center; font-weight: 800; } | |
| .sample-card.selected { box-shadow: 0 0 0 2px color-mix(in srgb, var(--card-color, var(--purple)) 24%, transparent), 0 10px 26px rgba(18,21,28,.08); } | |
| .sample-play-zone { width: 100%; border: 0; background: transparent; padding: 0; text-align: left; } | |
| .sample-wave { width: 100%; height: 74px; display: block; } | |
| .sample-card-footer { display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: center; gap: 7px; padding: 0 10px 7px; } | |
| .play-dot { width: 14px; height: 14px; display: inline-grid; place-items: center; color: var(--purple); font-size: 10px; } | |
| .sample-name { display: block; color: #2c303a; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .sample-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; } | |
| .sample-card-actions { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); } | |
| .sample-card-actions button { height: 30px; border: 0; border-right: 1px solid var(--line); background: #fff; color: #3e4350; font-size: 0; } | |
| .sample-card-actions button::before { font-size: 13px; } | |
| .sample-card-actions button:nth-child(1)::before { content: "×"; } | |
| .sample-card-actions button:nth-child(2)::before { content: "↻"; } | |
| .sample-card-actions button:nth-child(3)::before { content: "◁"; } | |
| .sample-card-actions button:nth-child(4)::before { content: "▷"; } | |
| .sample-card-actions button:nth-child(5)::before { content: "✓"; } | |
| .sample-card-actions button:last-child { border-right: 0; } | |
| .empty-drop-state, .empty { color: var(--muted); padding: 18px; font-size: 13px; } | |
| .settings-pane { min-width: 0; background: var(--panel); display: grid; grid-template-rows: 58px minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, 1fr) 58px; border-left: 1px solid var(--line); overflow: hidden; } | |
| .settings-head { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); } | |
| .settings-head strong { font-size: 14px; } | |
| .settings-section { padding: 18px 20px; border-bottom: 1px solid var(--line); } | |
| .settings-section h3 { margin: 0 0 14px; font-size: 13px; color: #383d49; } | |
| .control-line, .range-line, .toggle-line { display: grid; gap: 8px; margin-bottom: 16px; color: #4b505c; font-size: 13px; font-weight: 560; } | |
| .control-line select, .expert-grid select, .expert-grid input { width: 100%; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); padding: 0 10px; color: var(--text); } | |
| .range-wrap { display: grid; grid-template-columns: minmax(0,1fr) 54px; align-items: center; gap: 12px; } | |
| .range-wrap output { text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; } | |
| .toggle-line { grid-template-columns: 1fr auto; align-items: center; } | |
| .toggle-line input { width: 32px; height: 18px; accent-color: var(--purple); } | |
| .advanced-fold { min-height: 0; overflow-y: auto; padding-bottom: 12px; } | |
| .advanced-fold summary { cursor: pointer; font-size: 13px; font-weight: 700; color: #383d49; } | |
| .expert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; } | |
| .expert-grid label, .toggles label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; } | |
| .toggles { display: grid; gap: 8px; margin: 14px 0; } | |
| .preset-row { display: flex; gap: 8px; flex-wrap: wrap; } | |
| .reset-button { align-self: center; justify-self: stretch; margin: 10px 20px; } | |
| .bottom-bar { display: grid; grid-template-columns: minmax(160px,1fr) minmax(260px,360px) minmax(320px,1fr); align-items: center; gap: 16px; padding: 10px 26px; border-top: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(16px); } | |
| .selection-count { display: flex; align-items: center; gap: 10px; color: #4f5563; font-size: 13px; } | |
| .checked-box { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; color: white; background: var(--purple); font-size: 12px; } | |
| .bottom-zoom { justify-self: center; display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; align-items: center; gap: 8px; width: 100%; } | |
| .mini-slider { width: 100%; } | |
| .bottom-actions { justify-self: end; display: flex; align-items: center; gap: 10px; } | |
| .tools-drawer { position: absolute; left: 24px; right: 24px; bottom: 64px; max-height: 52vh; overflow: auto; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; z-index: 10; } | |
| .drawer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; } | |
| .drawer-grid article, .drawer-advanced { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px; } | |
| .drawer-grid h3 { margin: 0 0 10px; font-size: 14px; } | |
| .logs, .explanation { max-height: 180px; overflow: auto; white-space: pre-wrap; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #f8f8fa; color: #4f5563; font-size: 11px; } | |
| .stage-list, .history-list, .compact-list, .downloads { display: grid; gap: 8px; } | |
| .downloads a { color: var(--purple); text-decoration: none; font-weight: 650; font-size: 13px; } | |
| .job-pill { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 700; } | |
| .supervision-tools, .supervision-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; } | |
| .supervision-grid, .result-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } | |
| .table-wrap { overflow: auto; max-height: 260px; border: 1px solid var(--line); border-radius: 10px; } | |
| table { border-collapse: collapse; width: 100%; font-size: 12px; } | |
| th, td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } | |
| .compact-row, .history-row { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; } | |
| .compact-row small, .history-row small { display: block; color: var(--muted); } | |
| .danger { color: var(--bad); } | |
| .error-banner { position: fixed; z-index: 30; left: 50%; top: 78px; transform: translateX(-50%); width: min(760px, calc(100vw - 32px)); display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid #fac8d0; background: #fff4f6; box-shadow: var(--shadow); color: #611923; } | |
| .error-copy { display: grid; gap: 3px; } | |
| .error-copy span { font-size: 13px; } | |
| .error-copy small { color: #8a3440; white-space: pre-wrap; max-height: 160px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } | |
| .global-drop-overlay { position: fixed; inset: 0; z-index: 25; display: none; place-items: center; background: rgba(109,61,242,.12); backdrop-filter: blur(4px); } | |
| .global-drop-overlay.active { display: grid; } | |
| .global-drop-overlay > div { display: grid; gap: 6px; place-items: center; padding: 32px 42px; border-radius: 18px; border: 1px solid #d9ccff; background: rgba(255,255,255,.94); box-shadow: var(--shadow); } | |
| .global-drop-overlay strong { font-size: 20px; } | |
| .global-drop-overlay span { color: var(--muted); } | |
| @media (max-width: 1180px) { | |
| .topbar { grid-template-columns: auto minmax(220px,1fr) auto; padding-inline: 16px; } | |
| .backend-pill, #runButton { display: none; } | |
| .main-grid { grid-template-columns: minmax(0, 1fr) 300px; } | |
| .sample-grid { grid-auto-columns: 160px; } | |
| } | |
| @media (max-width: 900px) { | |
| html, body { overflow: auto; } | |
| .app-shell { height: auto; min-height: 100vh; grid-template-rows: auto auto auto; } | |
| .topbar, .main-grid, .bottom-bar { grid-template-columns: 1fr; } | |
| .canvas-pane { grid-template-rows: 360px 520px; } | |
| .settings-pane { border-left: 0; border-top: 1px solid var(--line); } | |
| } | |
| .global-drop-overlay.visible { display: grid; } | |