/* Match the cabinet's warm surfaces, amber accent and olive details. */
:root {
  --ae-bg: #f8f7f5;
  --ae-panel: #f8f7f5;
  --ae-hover: #eeeae3;
  --ae-ink: #0f172a;
  --ae-text: var(--webui-ui-text, #364d59);
  --ae-muted: #59616a;
  --ae-border: #d6d1c8;
  --ae-control-border: #aaa396;
  --ae-accent: #ffa600;
  --ae-accent-hover: #f2a000;
  --ae-accent-soft: #fff7e5;
  --ae-accent-ink: #855400;
  --ae-olive: #526b33;
  --ae-olive-soft: #f2f6ea;
}
.ae-page {
  background: var(--ae-bg);
  padding: 36px 28px 26px;
}
.ae {
  max-width: 1580px;
  margin: auto;
  color: var(--ae-ink);
  font-size: 14px;
  line-height: 1.5;
}
.ae *, .ae *::before, .ae *::after { box-sizing: border-box; }
.ae [hidden] { display: none !important; }
.ae :where(button, input, select) { font: inherit; }
.ae button { cursor: pointer; }
.ae button:disabled { opacity: 1; cursor: not-allowed; color: var(--ae-muted); background: #edeae4; border-color: var(--ae-control-border); box-shadow: none; }
.ae button[aria-disabled=true] { cursor: not-allowed; color: var(--ae-muted); background: #edeae4; border-color: var(--ae-control-border); box-shadow: none; }
.ae label[data-lock-track] { cursor: not-allowed; }
.ae label[data-lock-track] :is(input, select):disabled { pointer-events: none; }
.ae button:focus-visible, .ae [tabindex]:focus-visible,
.ae input:focus-visible, .ae select:focus-visible {
  outline: 3px solid #e3ac3870;
  outline-offset: 3px;
}
.ae input[type=checkbox] { accent-color: var(--ae-ink); }
.ae-heading-title, .ae-heading-actions { display: flex; align-items: center; }
.ae-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 104px; margin-bottom: 26px; }
.ae-heading-title { gap: 18px; min-width: 0; }
.ae-heading-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #e9d9aa;
  border-radius: 18px;
  background: #ffe3a0;
  color: #6b4300;
  font-size: 33px; border-color: #c18d23; }
.ae-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: #5a4e38; }
.ae-heading h1 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 750; letter-spacing: -1.2px; margin: 3px 0 6px; color: var(--ae-ink); }
.ae-heading p { margin: 0; color: var(--ae-muted); font-size: 14px; }
.ae-heading-actions { justify-content: flex-end; gap: 24px; }
.ae-local { display: flex; align-items: center; gap: 10px; color: var(--ae-olive); font-size: 12px; line-height: 1.7; }
.ae-local i { font-size: 22px; color: var(--ae-olive); }
.ae-start { max-width: 1000px; margin: 0 auto; padding: 32px; border: 1px solid var(--ae-border); border-radius: 18px; background: #fff; box-shadow: 0 4px 20px #2433470a; }
.ae-start-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 340px; color: var(--ae-text); font-size: 15px; }
.ae-start-loading > i { font-size: 24px; color: #87600e; }
.ae-start-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.ae-start-icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border: 1px solid #cca44d; border-radius: 14px; background: #ffe5a5; color: #6b4300; font-size: 25px; }
.ae-start-heading h2 { margin: 0 0 6px; color: var(--ae-ink); font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.ae-start-heading p { margin: 0; color: var(--ae-text); line-height: 1.7; }
.ae-start-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ae-start-option { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--ae-border); border-radius: 13px; background: var(--ae-panel); transition: background .15s, border-color .15s, box-shadow .15s; }
.ae-start-option--saved { border-color: #c39b41; background: #fff8e5; }
.ae-start-option:has(.ae-button:hover:not(:disabled)) { border-color: #b88419; background: #fff5db; box-shadow: 0 3px 12px #8b620914; }
.ae-start-option:has(.ae-button:focus-visible) { outline: 3px solid #b57a00; outline-offset: 3px; }
.ae-start-label { display: flex; align-items: center; gap: 8px; color: var(--ae-text); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.ae-start-option--saved .ae-start-label { color: #735215; }
.ae-start-label i { font-size: 16px; }
.ae-start-option h3 { margin: 18px 0 10px; color: var(--ae-ink); font-size: 22px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.ae-start-option p { margin: 0 0 14px; color: var(--ae-text); font-size: 14px; line-height: 1.7; }
.ae-start-option .ae-button { position: static; align-self: flex-start; margin-top: auto; }
/* Extend the native button's hit area to the card; keyboard and disabled states stay native. */
.ae-start-option .ae-button::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 13px; cursor: pointer; }
.ae-start-option .ae-button:disabled::after { cursor: wait; }
.ae-start-option .ae-button:focus-visible { outline: none; }
.ae-start-status { min-height: 22px; margin: 18px 0 0; color: var(--ae-text); font-size: 13px; }
.ae-start-error { margin: 8px 0 16px; padding: 12px 14px; border: 1px solid #c68c73; border-radius: 8px; background: #ffebe2; color: #8d3b26; font-size: 13px; line-height: 1.7; }
.ae-boot-message { max-width: 580px; margin: 0 auto; text-align: center; }
.ae-boot-message .ae-start-icon { margin: 0 auto 16px; }
.ae-boot-message h2 { font-size: 22px; font-weight: 700; color: var(--ae-ink); }
.ae-boot-message p { margin: 12px 0 20px; color: var(--ae-text); line-height: 1.7; }
.ae-start-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--ae-olive); font-size: 12px; }
.ae-start-privacy i { flex-shrink: 0; font-size: 16px; }
.ae-workspace { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-width: 0; gap: 16px; align-items: stretch; }
.ae-library, .ae-editor, .ae-inspector { border: 1px solid var(--ae-border); border-radius: 14px; background: #fff; box-shadow: 0 3px 14px #2433470a; min-width: 0; }
.ae-library { padding: 22px 18px 18px; display: flex; flex-direction: column; min-height: 0; }
.ae-library-body { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.ae-library-body > :not(.ae-library-list) { flex-shrink: 0; }
.ae-panel-title { display: flex; align-items: center; flex-shrink: 0; gap: 8px; margin-bottom: 20px; }
.ae-library .ae-panel-title h2 { margin-right: 0; }
.ae-library-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; min-height: 32px; margin-left: auto; padding: 5px; border: 1px solid var(--ae-border); border-radius: 7px; background: var(--ae-panel); color: var(--ae-text); font-size: 14px; }
.ae-library-toggle:hover { background: var(--ae-hover); border-color: var(--ae-control-border); color: var(--ae-ink); }
.ae-library-toggle-caption { display: none; }
.ae-workspace.is-library-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
.is-library-collapsed .ae-library { position: relative; padding: 10px 6px; background: var(--ae-panel); cursor: pointer; }
.is-library-collapsed .ae-library .ae-panel-title { flex-direction: column-reverse; gap: 12px; margin-bottom: 0; }
.is-library-collapsed .ae-panel-title h2 { display: none; }
.is-library-collapsed .ae-library-toggle { position: static; flex-direction: column; gap: 18px; width: 100%; margin-left: 0; padding: 10px 5px 14px; border-color: transparent; background: transparent; }
.is-library-collapsed .ae-library-toggle::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.is-library-collapsed .ae-library:has(.ae-library-toggle:not(:disabled)):hover { border-color: var(--ae-control-border); }
.is-library-collapsed .ae-library:has(.ae-library-toggle:focus-visible) { outline: 3px solid #e3ac3870; outline-offset: 3px; }
.is-library-collapsed .ae-library-toggle:focus-visible { outline: none; }
.is-library-collapsed .ae-library-toggle:hover { background: var(--ae-hover); border-color: var(--ae-border); }
.is-library-collapsed .ae-library-toggle-caption { display: block; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 650; letter-spacing: .3px; }
.ae-panel-title h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; margin: 0 auto 0 0; color: var(--ae-ink); }
.ae-panel-title h2 i { font-size: 16px; color: var(--ae-text); }
.ae-panel-title > span { min-width: 24px; padding: 2px 7px; text-align: center; border: 1px solid var(--ae-border); background: var(--ae-panel); border-radius: 6px; font-size: 12px; color: var(--ae-text); border-color: var(--ae-border); font-weight: 600; }
.ae-upload { border: 1px dashed #ccd0d4; border-radius: 10px; display: flex; flex-direction: column; align-items: center; padding: 10px 8px; margin-bottom: 12px; cursor: pointer; background: var(--ae-panel); transition: background .15s, border-color .15s; text-align: center; border-color: var(--ae-control-border); }
.ae-upload:hover, .ae-upload.is-dragover { border-color: #c39638; background: #fff9e9; }
.ae-upload i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #ffdd87; border: 1px solid #e5e7e4; color: #563a00; margin-bottom: 6px; font-size: 17px; border-color: #c39128; }
.ae-upload strong { color: var(--ae-ink); font-size: 14px; font-weight: 700; }
.ae-upload span { color: var(--ae-muted); font-size: 12px; margin-top: 4px; }
.ae-upload .ae-formats { font-size: 11px; color: var(--ae-muted); text-align: center; margin: 6px 0 0; white-space: normal; }
.ae-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #e0e3e5; background: #fff; color: var(--ae-ink); font-size: 13px; font-weight: 650; padding: 9px 13px; border-radius: 8px; min-height: 39px; transition: background .15s, border-color .15s; white-space: nowrap; border-color: var(--ae-control-border); }
.ae-button:hover { background: var(--ae-hover); border-color: #8b8273; }
.ae-button--primary { background: var(--ae-accent); color: #352600; border-color: #ba8211; box-shadow: 0 2px 3px #8b620a0a; font-weight: 700; }
.ae-button--primary:hover { background: var(--ae-accent-hover); border-color: #dca01b; }
.ae-help { background: #fff; }
.ae-record { width: 100%; background: #fff0e9; border-color: #bb806d; color: #863b2b; }
.ae-record:hover { background: #ffe0d3; border-color: #9c5843; }
.ae-record i { font-size: 15px; }
.ae-recorder { display: grid; gap: 12px; background: #fff5f1; border: 1px solid #f0d7cb; border-radius: 9px; padding: 12px; margin-top: 12px; }
.ae-recorder > span { color: #873b27; font-variant-numeric: tabular-nums; }
.ae-recorder audio, #aeAssetPreview { width: 100%; height: 36px; }
.ae-recorder > div { display: flex; gap: 6px; flex-wrap: wrap; }
.ae-library-list { flex: 1 1 0px; height: 0; min-height: 0; margin-top: 18px; overflow: auto; scrollbar-width: thin; }
.ae-library-list:empty { flex: 0 0 auto; margin-top: 0; }
.ae-asset { border: 1px solid var(--ae-border); border-radius: 9px; padding: 11px; margin-bottom: 9px; cursor: grab; background: #fff; border-color: var(--ae-border); }
.ae-asset:hover { border-color: #7c9b52; }
.ae-asset-head { display: flex; gap: 9px; align-items: center; }
.ae-asset-head > i { display: grid; place-items: center; background: var(--ae-olive-soft); color: var(--ae-olive); border-radius: 7px; width: 32px; height: 34px; font-size: 16px; flex-shrink: 0; }
.ae-asset-name { color: var(--ae-ink); font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-asset-meta { font-size: 12px; color: var(--ae-muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.ae-asset-actions { display: grid; justify-content: flex-end; gap: 4px; margin-top: 10px; grid-template-columns: 28px 28px 28px minmax(0, 1fr); }
.ae-small-button { background: var(--ae-panel); border: 1px solid var(--ae-control-border); border-radius: 5px; min-width: 28px; min-height: 32px; color: var(--ae-text); font-size: 12px; padding: 4px; font-weight: 600; white-space: nowrap; }
.ae-small-button:hover { background: var(--ae-hover); color: var(--ae-ink); }
.ae-asset.is-previewing { border-color: #b88419; }
.ae-asset [data-action=preview-asset][aria-pressed=true] { color: #4c3400; background: #ffdf8d; border-color: #b88419; }
.ae-small-button .ae-play-spinner { display: block; width: 14px; height: 14px; margin: 0 auto; }
.ae .ae-small-button.is-loading { opacity: 1; cursor: progress; }
.ae-library-empty { text-align: center; color: var(--ae-muted); padding: 34px 0; margin: auto 0; }
.ae-library-empty strong { display: block; font-weight: 600; font-size: 14px; color: var(--ae-text); }
.ae-library-empty p { font-size: 12px; line-height: 1.9; margin: 6px 0 0; }
.ae-empty-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 50px; margin-bottom: 12px; }
.ae-empty-wave span { width: 4px; height: 12px; border-radius: 3px; background: #a6b78d; }
.ae-empty-wave span:nth-child(2), .ae-empty-wave span:nth-child(6) { height: 24px; }
.ae-empty-wave span:nth-child(3), .ae-empty-wave span:nth-child(5) { height: 36px; background: #849d62; }
.ae-empty-wave span:nth-child(4) { height: 48px; background: #627d41; }
.ae-library-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid #edeEEa; display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--ae-muted); border-top-color: var(--ae-border); }
.ae-save { display: flex; gap: 7px; align-items: center; }
.ae-save > i { font-size: 14px; color: var(--ae-olive); flex-shrink: 0; }
.ae-text-button { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; color: var(--ae-text); font-size: 13px; padding: 3px 0; text-align: left; font-weight: 550; }
.ae-text-button:hover { color: var(--ae-ink); }
.ae-library-project-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ae-library-project-actions .ae-local-clear { color: #8c3f2d; white-space: normal; }
.ae-library-project-actions .ae-local-clear:hover { color: #672614; }
.ae-editor { width: 100%; max-width: 100%; overflow: hidden; align-self: start; }
.ae-transport { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 10px 22px; }
.ae-transport-main { position: relative; display: flex; gap: 14px; align-items: center; }
.ae-icon-button { background: transparent; border: 0; color: var(--ae-text); padding: 5px; font-size: 22px; }
.ae-icon-button:hover { color: #3d4652; }
.ae-play { width: 46px; height: 46px; border: 1px solid #e6aa20; border-radius: 50%; background: var(--ae-accent); color: #3a2d13; font-size: 27px; display: grid; place-items: center; box-shadow: 0 3px 8px #d7980c16; }
.ae-play:hover { background: var(--ae-accent-hover); }
.ae .ae-play.is-loading { opacity: 1; cursor: progress; }
.ae-play-spinner { width: 21px; height: 21px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ae-play-spin .8s linear infinite; }
@keyframes ae-play-spin { to { transform: rotate(360deg); } }
.ae-time { display: flex; align-items: baseline; gap: 9px; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.ae-time strong { font-size: 25px; font-weight: 600; color: var(--ae-ink); letter-spacing: -1px; }
.ae-time > span { font-size: 13px; color: var(--ae-muted); }
.ae-transport-options { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; }
.ae-transport-label { color: var(--ae-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ae-transport-options label { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--ae-text); border: 1px solid #e8eae7; border-radius: 7px; padding: 7px 10px; background: var(--ae-panel); border-color: var(--ae-control-border); font-size: 12px; font-weight: 550; }
.ae-transport-options label:has(input:checked) { color: #674700; background: #ffe5a5; border-color: #b78319; }
.ae-transport-options label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.ae-transport-options input { width: 15px; height: 15px; margin: 0; }
.ae-playback-short { display: none; }
.ae-toolbar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid #eef0eb; border-bottom: 1px solid #e5e7e5; background: #f1eee8; flex-wrap: wrap; border-top-color: var(--ae-border); border-bottom-color: var(--ae-border); }
.ae-tool-group { display: flex; align-items: center; gap: 3px; border-right: 1px solid #e3e6e3; padding-right: 8px; border-right-color: var(--ae-border); }
.ae-toolbar-label { padding: 0 5px; color: var(--ae-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ae-toolbar-view { display: flex; align-items: center; flex-shrink: 0; gap: 8px; margin-left: auto; }
.ae-tool { border: 1px solid transparent; background: transparent; color: var(--ae-text); border-radius: 6px; padding: 7px 8px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; }
.ae-tool i { font-size: 16px; }
.ae-tool:hover:not(:disabled):not([aria-disabled=true]) { color: var(--ae-ink); background: var(--ae-hover); }
.ae-tool.is-active { background: #ffdf8d; border-color: #b88419; color: #4c3400; box-shadow: 0 1px 3px #8b62091a; }
.ae-tool.is-active i { color: #755000; }
.ae-delete-menu { position: relative; display: inline-block; }
.ae-delete-menu > summary { list-style: none; cursor: pointer; white-space: nowrap; }
.ae-delete-menu > summary::-webkit-details-marker { display: none; }
.ae-delete-menu > summary > i:last-child { font-size: 10px; }
.ae-delete-menu.is-disabled > summary { opacity: .4; cursor: not-allowed; }
.ae-delete-menu > div { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: 280px; max-width: calc(100vw - 40px); padding: 5px; border: 1px solid var(--ae-control-border); border-radius: 10px; background: var(--ae-panel); box-shadow: 0 8px 24px #32271330; }
.ae-delete-menu button { display: block; width: 100%; border: 0; border-radius: 6px; background: transparent; padding: 10px; text-align: left; color: var(--ae-text); font-size: 12px; font-weight: 650; }
.ae-delete-menu button small { display: block; margin-top: 3px; color: var(--ae-muted); font-size: 11px; font-weight: 400; line-height: 1.4; }
.ae-delete-menu button:hover:not(:disabled):not([aria-disabled=true]) { background: var(--ae-hover); }
.ae-delete-menu button:is(:disabled, [aria-disabled=true]) { opacity: .4; cursor: not-allowed; }
.ae-selection-actions .ae-delete-menu > div { left: auto; right: 0; }
.ae-inspector .ae-delete-menu > div { top: auto; bottom: calc(100% + 6px); }
.ae-zoom { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--ae-text); font-variant-numeric: tabular-nums; font-weight: 600; }
.ae-zoom > span { min-width: 4ch; text-align: center; }
.ae-mobile-zoom, .ae-action-short { display: none; }
.ae-selection-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 54px; padding: 8px 18px; border-bottom: 1px solid #c5a45d; background: #fff0c9; }
.ae-selection-bar.is-empty { background: var(--ae-panel); border-bottom-color: var(--ae-border); }
.ae-selection-info { display: flex; align-items: center; gap: 8px; min-width: 0; color: #735215; font-size: 12px; white-space: nowrap; }
.ae-selection-info output { display: inline-block; width: 9ch; flex-shrink: 0; font: 600 13px ui-monospace, SFMono-Regular, Consolas, monospace; color: #563a00; }
.ae-selection-caption { flex-shrink: 0; }
.ae-selection-range { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #735a2b; font-variant-numeric: tabular-nums; }
.ae-selection-bar.is-empty .ae-selection-info, .ae-selection-bar.is-empty output, .ae-selection-bar.is-empty .ae-selection-range { color: var(--ae-muted); }
.ae-selection-actions { display: flex; flex-shrink: 0; gap: 4px; }
.ae-selection-actions .ae-tool { font-size: 12px; padding: 5px 7px; color: #674600; }
.ae-selection-actions .ae-tool:hover:not(:disabled):not([aria-disabled=true]) { background: #ffdc8a; }
.ae .ae-tool:is(:disabled, [aria-disabled=true]) { opacity: .4; color: var(--ae-text); background: transparent; border-color: transparent; box-shadow: none; cursor: not-allowed; }
.ae .ae-tool:is(:disabled, [aria-disabled=true]) i { color: inherit; }
.ae-timeline { position: relative; display: flex; min-height: 352px; background: #24282a; }
.ae-track-heads .ae-add-track { flex-shrink: 0; width: 100%; min-height: 20px; margin-top: auto; padding: 0 10px; color: #cbd2c5; font-size: 11px; font-weight: 500; line-height: 20px; }
.ae-track-heads .ae-add-track:hover:not(:disabled) { background: #454c4c; color: #fff4d6; }
.ae-track-heads .ae-add-track:focus-visible { outline-offset: -3px; }
.ae .ae-add-track:disabled { background: transparent; color: #949e91; }
.ae-zoom-feedback { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 7; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 10px 16px; border: 1px solid #c5a25b; border-radius: 10px; background: #fff0cd; color: #563a00; box-shadow: 0 4px 16px #00000030; font-size: 14px; pointer-events: none; user-select: none; }
.ae-zoom-feedback > i { color: #855400; font-size: 18px; }
.ae-zoom-feedback strong { min-width: 4ch; text-align: right; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ae-lock-hint { position: absolute; left: 12px; right: 12px; z-index: 8; display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: calc(100% - 24px); margin: 0 auto; padding: 9px 14px; border: 1px solid #ba8211; border-radius: 8px; background: #ffdf8d; color: #4c3400; font-size: 13px; font-weight: 650; box-shadow: 0 4px 16px #00000040; pointer-events: none; }
.ae-track-heads { display: flex; flex-direction: column; flex: 0 0 148px; width: 148px; padding-top: 34px; background: #33383a; border-right: 1px solid #ffffff0c; position: relative; z-index: 3; border-right-color: #81877f; }
.ae-track-head { height: 150px; padding: 14px 14px; border-bottom: 1px solid #ffffff0c; cursor: pointer; border-bottom-color: #626960; }
.ae-track-head.is-selected { background: #414745; box-shadow: inset 4px 0 var(--track-color); }
.ae-track-name { display: flex; align-items: center; gap: 8px; color: #faf9f5; font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.ae-track-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-track-number { color: var(--track-color); font: 600 11px ui-monospace, SFMono-Regular, Consolas, monospace; opacity: 1; }
.ae-track-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.ae-track-controls button { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; height: 40px; padding: 4px 2px; border: 1px solid #8d968a; border-radius: 6px; background: #454c4c; color: #e6e8df; }
.ae-track-controls button i { font-size: 15px; line-height: 16px; }
.ae-track-controls button:hover { background: #59635f; }
.ae-track-controls button.is-on { color: var(--track-color); background: #282e2d; border-color: var(--track-color); }
.ae-track-head input { display: block; width: 100%; margin: 0; --ae-range-color: var(--track-color); --ae-range-rail: #949e91; }
.ae-track-percent { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; margin-top: 8px; color: #f0f2e9; font-size: 12px; font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; }
.ae-track-volume-label { color: #dde2d5; font-size: 10px; font-weight: 500; }
.ae .ae-gain-reset { position: relative; min-width: 36px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: inherit; font: inherit; font-variant-numeric: tabular-nums; line-height: inherit; text-align: right; text-decoration: underline dotted; text-decoration-color: currentColor; text-underline-offset: 3px; }
.ae .ae-gain-reset:hover:not(:disabled) { color: #a46b00; }
.ae .ae-track-percent .ae-gain-reset:hover { color: #ffda87; }
.ae-scroll { overflow-x: auto; overflow-y: hidden; flex: 1; min-width: 0; scrollbar-width: thin; scrollbar-color: #a5afa0 #24282a; touch-action: pan-x pan-y; }
.ae-timeline-content { position: relative; min-width: 100%; padding-bottom: 12px; }
.ae-ruler { height: 34px; position: relative; cursor: pointer; touch-action: none; border-bottom: 1px solid #ffffff0b; background: #303638; border-bottom-color: #757e71; }
.ae-ruler-tick { position: absolute; height: 100%; border-left: 1px solid #ffffff16; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; color: #e7eadf; padding: 11px 0 0 7px; user-select: none; border-left-color: #818a7e; }
.ae-lane { height: 150px; position: relative; border-bottom: 1px solid #ffffff09; background-image: linear-gradient(90deg, #ffffff12 1px, transparent 1px); background-size: var(--grid-size, 80px) 100%; cursor: crosshair; touch-action: none; user-select: none; border-bottom-color: #5a6359; }
.ae-lane.is-active { background-color: #ffa60008; }
.ae-lane-empty { display: inline-flex; align-items: center; gap: 10px; color: #d9dfd0; position: absolute; top: 56px; left: 28px; font-size: 13px; pointer-events: none; user-select: none; white-space: nowrap; }
.ae-lane-empty i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px dashed #ffffff24; border-radius: 7px; color: #e6c67b; font-size: 13px; border-color: #9aa492; }
.ae-clip { position: absolute; top: 15px; height: 118px; min-width: 5px; background: var(--clip-bg); border: 1px solid var(--track-color); border-radius: 7px; overflow: hidden; cursor: crosshair; touch-action: none; user-select: none; border-width: 1px; }
.ae-clip.is-selected { box-shadow: 0 0 0 2px #ffdb70; z-index: 2; }
.ae-clip.is-dragging { opacity: .65; z-index: 6; }
.ae-clip-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--clip-ink); background: #00000038; padding: 5px 12px; height: 27px; white-space: nowrap; overflow: hidden; cursor: grab; }
.ae-clip-label span { overflow: hidden; text-overflow: ellipsis; }
.ae-clip-name { flex: 1; min-width: 0; }
.ae-clip-grip { flex-shrink: 0; font-size: 14px; }
.ae-clip-label:active, .ae-clip.is-dragging .ae-clip-label { cursor: grabbing; }
.ae-clip canvas { width: 100%; height: 80px; display: block; }
.ae-volume-envelope { position: absolute; top: 27px; height: 80px; z-index: 4; overflow: hidden; pointer-events: none; touch-action: none; }
.ae-volume-reference { fill: none; stroke: #d7b879; stroke-width: 1; stroke-dasharray: 3 5; pointer-events: none; }
.ae-volume-scale-tick { fill: none; stroke: #d7b879; stroke-width: 1; pointer-events: none; }
.ae-volume-envelope.is-snapped .ae-volume-reference { stroke: #ffda87; stroke-width: 1.5; }
.ae-volume-line { fill: none; stroke: #fff4d6; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 1px 1px #000b); pointer-events: none; }
.ae-volume-hit { fill: none; stroke: transparent; stroke-width: 12; stroke-linejoin: round; pointer-events: stroke; cursor: copy; }
.ae-volume-point { fill: #fff4d6; stroke: #34362a; stroke-width: 1.5; pointer-events: all; cursor: move; }
.ae-volume-point-target { fill: transparent; stroke: none; pointer-events: all; }
.ae-volume-point-dot { pointer-events: none; }
.ae-volume-point:is(:hover, :focus, .is-active) { fill: #fff; stroke: #ab7619; stroke-width: 3; outline: none; }
.ae-volume-value { fill: #fff8e6; stroke: #242824; stroke-width: 3px; paint-order: stroke; text-anchor: middle; font: 700 11px ui-monospace, monospace; pointer-events: none; }
.ae-volume-reference-label { fill: #f5dfb0; stroke: #242824; stroke-width: 3px; paint-order: stroke; text-anchor: end; font: 600 10px ui-monospace, monospace; pointer-events: none; }
.ae-volume-curve-label { fill: #fff4d6; stroke: #242824; stroke-width: 3px; paint-order: stroke; font: 600 10px system-ui, sans-serif; pointer-events: none; }
.ae-volume-menu { position: fixed; z-index: 1050; width: 258px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 6px; border: 1px solid var(--ae-control-border); border-radius: 12px; background: #fffcf6; color: var(--ae-text); box-shadow: 0 8px 32px #302b2438; }
.ae-volume-menu-heading { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--ae-border); }
.ae-volume-menu-heading strong { display: block; color: var(--ae-ink); font-size: 13px; }
.ae-volume-menu-heading span { display: block; margin-top: 3px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ae-volume-menu > button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ae-ink); text-align: left; font-size: 13px; }
.ae-volume-menu > button:hover:not(:disabled) { background: var(--ae-hover); }
.ae-volume-menu > button:disabled { color: #8a857b; background: transparent; }
.ae-volume-menu > button[data-volume-command=remove]:not(:disabled) { color: #8c3f2d; }
.ae-volume-menu kbd { margin-left: auto; padding: 0; background: transparent; color: var(--ae-muted); font-size: 11px; }
.ae-volume-menu > p { margin: 5px 10px 6px; padding-top: 9px; border-top: 1px solid var(--ae-border); font-size: 11px; line-height: 1.6; color: var(--ae-muted); }
.ae-crop-discard { position: absolute; top: 0; bottom: 0; z-index: 6; background: #171b20b8; pointer-events: none; }
.ae-selection--crop { z-index: 7; border-color: #dbecb0; background: #b4ce6829; box-shadow: inset 0 0 0 1px #f3ffda70; }
.ae-crop-confirm { position: absolute; right: 12px; bottom: calc(100% + 8px); z-index: 20; width: 420px; max-width: calc(100% - 24px); padding: 14px 16px; border: 1px solid #96a46e; border-radius: 10px; background: #fff9ed; color: var(--ae-text); box-shadow: 0 6px 24px #302b2433; }
.ae-crop-confirm > strong { display: block; font-size: 13px; color: var(--ae-ink); }
.ae-crop-confirm p { margin: 6px 0 12px; font-size: 12px; line-height: 1.5; }
.ae-crop-confirm > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ae-crop-confirm .ae-button { font-size: 12px; min-height: 34px; padding: 7px 10px; }
.ae-trim { position: absolute; top: 0; bottom: 0; width: 10px; cursor: ew-resize; z-index: 3; background: #ffffff18; }
.ae-trim::after { content: ''; display: block; position: absolute; height: 20px; width: 2px; background: var(--clip-ink); opacity: 1; top: 50%; left: 4px; border-radius: 3px; }
.ae-trim--left { left: 0; }
.ae-trim--right { right: 0; }
.ae-playhead { position: absolute; top: 22px; bottom: 10px; width: 2px; background: #ffcf4a; pointer-events: none; z-index: 5; }
.ae-playhead-handle { position: absolute; top: -10px; left: -14px; width: 30px; height: 28px; pointer-events: auto; cursor: ew-resize; touch-action: none; user-select: none; }
.ae-playhead-handle::after { content: ''; position: absolute; top: 10px; left: 9px; width: 11px; height: 12px; background: #ffcf4a; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.ae-playhead-handle:hover::after, .ae-playhead-handle:focus-visible::after, .ae.is-seeking .ae-playhead-handle::after { background: #ffe199; }
.ae.is-seeking { cursor: ew-resize; user-select: none; }
.ae-selection { position: absolute; top: 0; bottom: 0; border: 1px solid #edc477; background: #ffc53d24; z-index: 4; pointer-events: none; border-color: #ffcf4a; border-width: 2px; }
.ae-selection-handle { pointer-events: auto; position: absolute; top: 0; bottom: 0; width: 12px; background: #ffcf4a50; cursor: ew-resize; touch-action: none; }
.ae-selection-handle:first-child { left: -5px; }
.ae-selection-handle:last-child { right: -5px; }
.ae-drop-marker { position: absolute; top: 34px; bottom: 12px; width: 0; border-left: 2px dashed #c2d29e; z-index: 7; pointer-events: none; }
.ae-drop-marker-time { position: absolute; top: -30px; left: 6px; padding: 3px 6px; border: 1px solid #9eaf7a; border-radius: 4px; background: var(--ae-olive-soft); color: #41512d; font: 700 12px/18px ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ae-drop-marker.is-label-left .ae-drop-marker-time { left: -8px; transform: translateX(-100%); }
.ae-timeline-hint { padding: 12px 18px 4px; display: flex; align-items: center; gap: 8px; color: var(--ae-muted); font-size: 12px; }
.ae-timeline-hint i { color: #7a5618; }
.ae-footer-bar { display: flex; justify-content: space-between; gap: 10px; padding: 7px 18px 14px; font-size: 12px; color: var(--ae-muted); }
.ae-load { display: flex; align-items: center; gap: 6px; }
.ae-load::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ae-olive); }
.ae-load[data-level=medium]::before { background: #9b6a00; }
.ae-load[data-level=high]::before { background: #b64425; }
.ae-load-warning { margin: -3px 18px 14px; padding: 9px 12px; border-radius: 7px; background: #ffedc6; color: #75501a; font-size: 12px; line-height: 1.6; }
.ae-export { border-top: 1px solid #eceee9; padding: 17px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--ae-panel); border-top-color: var(--ae-border); }
.ae-export > div { margin-right: auto; }
.ae-export-label { display: flex; gap: 11px; align-items: center; }
.ae-export-label > i { font-size: 23px; color: var(--ae-text); }
.ae-export strong { display: block; font-size: 14px; color: var(--ae-ink); font-weight: 650; }
.ae-export-label span { display: block; margin-top: 3px; font-size: 12px; color: var(--ae-muted); }
.ae-export input { width: 170px; background: #fff; border: 1px solid #e0e3e5; color: var(--ae-text); border-radius: 8px; padding: 10px 12px; font-size: 13px; min-height: 39px; border-color: var(--ae-control-border); }
.ae-export select { width: auto; min-height: 39px; padding: 9px 24px 9px 10px; border: 1px solid var(--ae-control-border); border-radius: 8px; background-color: #fff; color: var(--ae-text); font-size: 13px; }
.ae-preserve-pitch { margin: 10px 0 4px; font-size: 12px; }
.ae-inspector { grid-column: 1 / -1; overflow: hidden; }
.ae-clear-all { margin-left: auto; flex-shrink: 0; font-size: 12px; color: #8c3f2d; white-space: nowrap; }
.ae-clear-all:hover { color: #672614; }
.ae-inspector-block { min-width: 0; padding: 0; }
.ae-inspector-block + .ae-inspector-block { border-left: 1px solid var(--ae-border); padding-left: 30px; border-left-color: var(--ae-border); }
.ae-section-label { display: block; font-size: 11px; letter-spacing: 1.2px; color: var(--ae-muted); margin-bottom: 4px; font-weight: 600; }
.ae-inspector h3 { font-size: 15px; color: var(--ae-ink); font-weight: 700; margin: 0 0 16px; }
.ae-block-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ae-block-heading .ae-text-button { font-size: 12px; }
.ae-clip-eq-heading { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ae-border); }
.ae-clip-eq-heading h3 { margin-bottom: 0; font-size: 13px; }
.ae-track-settings-modal .modal-dialog { width: min(480px, calc(100vw - 24px)); max-width: 480px; margin: 16px auto; }
.ae-track-settings-modal .webui-dialog__content { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; border: 1px solid var(--ae-border); border-radius: 16px; background: #fff; box-shadow: 0 20px 64px #29231830; }
.ae-track-settings-modal .webui-dialog__body { min-height: 0; max-height: inherit; align-items: stretch; padding: 0; text-align: left; }
.ae-track-settings-modal .webui-dialog__icon { display: none; }
.ae-track-settings-header { display: flex; align-items: center; flex-shrink: 0; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--ae-border); background: #f2efe9; }
.ae-track-settings-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #c9cfb9; border-radius: 10px; background: #e9eddf; color: var(--ae-olive); font-size: 18px; }
.ae-track-settings-modal .webui-dialog__title { margin: 0; color: var(--ae-ink); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.3px; }
.ae-track-settings-header .btn-close { flex-shrink: 0; margin-left: auto; padding: 8px; border-radius: 7px; font-size: 12px; opacity: .65; }
.ae-track-settings-header .btn-close:hover { background-color: #e5dfd4; opacity: 1; }
.ae-dialog-notice { display: flex; align-items: flex-start; flex-shrink: 0; gap: 10px; max-height: 25vh; overflow: auto; margin: 0; padding: 10px 18px; border-bottom: 1px solid #c68c73; background: #ffebe2; color: #8d3b26; font-size: 13px; line-height: 1.5; }
.ae-dialog-notice > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ae-dialog-notice .ae-notice-close { flex-shrink: 0; width: 24px; height: 24px; padding: 2px; border: 0; background: transparent; color: inherit; }
.ae-track-settings { min-height: 0; overflow-y: auto; padding: 22px; color: var(--ae-text); }
.ae-track-settings .ae-field { margin: 0 0 18px; font-size: 12px; }
.ae-track-settings .ae-field input { min-height: 40px; border-color: #c4bcae; }
.ae-track-settings .ae-track-option { justify-content: space-between; gap: 16px; margin: 0; padding: 15px; border: 1px solid var(--ae-border); border-radius: 10px; background: var(--ae-panel); cursor: pointer; }
.ae-track-option-text { display: grid; gap: 4px; min-width: 0; }
.ae-track-option-text strong { color: var(--ae-ink); font-size: 14px; font-weight: 650; }
.ae-track-option-text small { color: var(--ae-muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.ae-track-settings .ae-track-listen { width: 100%; min-height: 40px; margin-top: 14px; background: #fff; border-color: var(--ae-border); font-size: 13px; }
.ae-track-settings .ae-track-listen:hover:not(:disabled) { border-color: #9eaa89; background: var(--ae-olive-soft); }
.ae-track-settings .ae-track-listen i { color: var(--ae-olive); font-size: 17px; }
.ae-track-settings .ae-play-spinner { display: inline-block; width: 16px; height: 16px; }
.ae-track-settings [hidden] { display: none; }
.ae-track-settings button:disabled { opacity: .4; cursor: not-allowed; }
.ae-track-settings-delete { position: relative; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--ae-border); }
.ae-track-settings-delete .ae-button { justify-content: flex-start; min-height: 34px; padding: 6px 8px; margin-left: -8px; border-color: transparent; border-radius: 6px; background: transparent; color: #953e28; font-size: 12px; }
.ae-track-settings-delete .ae-button:hover:not(:disabled):not([aria-disabled=true]) { background: #fff0e7; color: #783220; }
.ae-track-settings-delete .ae-delete-menu { position: static; }
.ae-track-settings-delete .ae-delete-menu > div { top: auto; bottom: calc(100% + 8px); max-width: 100%; }
.ae-track-settings-delete .ae-delete-menu button:last-child { color: #953e28; }
.ae-track-settings-modal .ae-track-settings-delete summary:focus-visible { outline: 3px solid #b57a0060; outline-offset: 3px; }
.ae-track-settings .ae-track-settings-warning { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #ddc18c; border-radius: 7px; background: #fff5de; color: #6b470a; font-size: 12px; line-height: 1.6; }
.ae-track-settings-modal.is-confirming-delete .ae-track-settings-icon { border-color: #e7c6b9; background: #faeae3; color: #a53d28; }
.ae-track-delete-summary { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--ae-border); border-radius: 10px; background: var(--ae-panel); }
.ae-track-delete-summary > span { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; background: #e9eddf; color: var(--ae-olive); font-size: 20px; }
.ae-track-delete-summary > div { min-width: 0; }
.ae-track-delete-summary strong { display: block; color: var(--ae-ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.ae-track-delete-summary small { display: block; margin-top: 3px; color: var(--ae-muted); font-size: 12px; }
.ae-track-delete-panel p { margin: 18px 0 14px; color: var(--ae-text); font-size: 13px; line-height: 1.65; }
.ae-track-delete-undo { display: flex; align-items: baseline; gap: 7px; color: var(--ae-muted); font-size: 12px; line-height: 1.5; }
.ae-track-delete-undo i { color: var(--ae-olive); }
.ae-track-settings-modal .webui-dialog__actions { flex-shrink: 0; justify-content: flex-end; flex-wrap: nowrap; gap: 8px; width: 100%; margin: 0; padding: 14px 22px; border-top: 1px solid var(--ae-border); background: var(--ae-panel); }
.ae-track-settings-modal .webui-dialog__button { flex: 0 1 auto; min-width: 98px; min-height: 40px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 650; line-height: 20px; box-shadow: none; }
.ae-track-settings-modal .webui-dialog__button:hover { transform: none; box-shadow: none; }
.ae-track-settings-modal .webui-dialog__button--secondary { border-color: var(--ae-control-border); background: #fff; color: var(--ae-text); }
.ae-track-settings-modal .webui-dialog__button--secondary:hover { background: var(--ae-hover); color: var(--ae-ink); }
.ae-track-settings-modal .webui-dialog__button--primary { background: var(--ae-accent); color: #352600; border-color: #ba8211; }
.ae-track-settings-modal .webui-dialog__button--primary:hover { background: var(--ae-accent-hover); }
.ae-track-settings-modal .webui-dialog__button--danger { border-color: #a03924; background: #b54630; color: #fff; }
.ae-track-settings-modal .webui-dialog__button--danger:hover { background: #9b3623; color: #fff; }
.ae-track-settings-modal :is(button, input):focus-visible { outline: 3px solid #b57a0060; outline-offset: 3px; }
.ae-clip-properties-modal .modal-dialog { width: min(760px, calc(100vw - 24px)); max-width: 760px; }
.ae-clip-properties { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; min-height: 0; overflow-y: auto; gap: 24px 30px; padding: 22px; border: 0; border-radius: 0; box-shadow: none; }
.ae-clip-properties-modal .ae-field input:not([type=range]):not([type=checkbox]):focus-visible,
.ae-clip-properties-modal .ae-field select:focus-visible { border-color: #b57a00; outline: 2px solid #b57a0060; outline-offset: -2px; box-shadow: none; }
.ae-clip-properties .ae-inspector-block + .ae-inspector-block { border: 0; padding: 0; }
.ae-clip-properties-overview { display: flex; flex-direction: column; min-width: 0; gap: 24px; }
.ae-clip-properties-overview > .ae-inspector-block + .ae-inspector-block { border-top: 1px solid var(--ae-border); padding-top: 22px; }
.ae-clip-properties > .ae-inspector-block:last-child { grid-column: 2; border-left: 1px solid var(--ae-border); padding-left: 26px; }
.ae-clip-properties .ae-field { margin-top: 12px; }
.ae-clip-properties .ae-inspector-actions { gap: 8px; }
.ae-clip-properties .ae-clip-locked { display: block; margin-bottom: 12px; color: #855400; }
.ae-clip-properties-note { margin-right: auto; color: var(--ae-muted); font-size: 11px; line-height: 1.5; }
.ae-clip-menu .ae-volume-menu-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-clip-label:focus-visible { outline: 2px solid #ffda87; outline-offset: -3px; }
@media (max-width: 600px) {
  .ae-clip-properties { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px; }
  .ae-clip-properties > .ae-inspector-block:last-child { grid-column: auto; grid-row: auto; border-left: 0; padding-left: 0; }
  .ae-clip-properties > .ae-inspector-block:last-child { border-top: 1px solid var(--ae-border); padding-top: 20px; }
}
.ae-inspector-empty { display: flex; align-items: center; justify-content: center; gap: 18px; grid-column: 1 / -1; padding: 24px; color: var(--ae-muted); }
.ae-inspector-empty h3 { margin: 0 0 7px; font-weight: 650; }
.ae-inspector-empty p { margin: 0; font-size: 13px; }
.ae-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; background: #fff0c6; border-radius: 14px; color: #755513; font-size: 22px; }
.ae-field { position: relative; display: flex; flex-direction: column; gap: 7px; margin: 12px 0; color: var(--ae-text); font-size: 13px; font-weight: 550; }
.ae-field > span { position: absolute; top: 0; right: 0; color: var(--ae-text); font-variant-numeric: tabular-nums; font-weight: 650; }
.ae .ae-gain-field > .ae-gain-reset { position: absolute; top: 0; right: 0; font-weight: 650; }
.ae-field input:not([type=checkbox]):not([type=range]), .ae-field select { width: 100%; min-width: 0; border: 1px solid #e3e6e7; border-radius: 7px; padding: 8px 10px; min-height: 36px; color: var(--ae-ink); background: #fff; font-size: 14px; border-color: var(--ae-control-border); }
.ae-field input[readonly] { background: var(--ae-panel) !important; color: var(--ae-text) !important; }
.ae-field select { max-width: 180px; }
.ae-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ae-field-row .ae-field { margin: 5px 0 10px; }
.ae-eq-field { display: grid; grid-template-columns: 54px minmax(50px, 1fr) 40px; align-items: center; margin: 15px 0; column-gap: 12px; }
.ae-eq-field input { grid-column: 2; grid-row: 1; }
.ae-eq-field > span { position: static; grid-column: 3; grid-row: 1; text-align: right; font-size: 12px; }
.ae-check { display: flex; gap: 10px; align-items: center; margin: 18px 0; color: var(--ae-text); font-size: 13px; font-weight: 550; }
.ae-check input { appearance: none; flex-shrink: 0; position: relative; width: 34px; height: 20px; border: 1px solid #dde1df; border-radius: 12px; background: #c8c1b5; cursor: pointer; transition: background .15s; border-color: var(--ae-control-border); }
.ae-check input::before { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #232c3520; transition: transform .15s; border: 1px solid #8b8273; }
.ae-check input:checked { background: var(--ae-olive); border-color: #426322; }
.ae-check input:checked::before { transform: translateX(14px); border-color: #fff; }
.ae-check input:disabled { opacity: 1; cursor: not-allowed; border-color: var(--ae-control-border); }
.ae-inspector-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.ae-inspector-actions .ae-button { font-size: 12px; min-height: 34px; padding: 7px 10px; }
.ae-move-track { min-width: 0; max-width: 100%; min-height: 34px; padding: 7px 10px; border: 1px solid var(--ae-control-border); border-radius: 7px; background: #fff; color: var(--ae-text); font-size: 12px; }
.ae-move-track:disabled { color: var(--ae-muted); background: var(--ae-panel); cursor: not-allowed; opacity: 1; }
.ae-inspector small { color: var(--ae-muted); line-height: 1.8; display: block; font-size: 12px; max-width: 380px; }
.ae-inspector .ae-danger { color: #953e28; }
.ae-inspector-block > .ae-text-button { margin-top: 12px; font-size: 12px; }
.ae input[type=range] { appearance: none; height: 20px; background: transparent; cursor: pointer; min-width: 0; --ae-range-default: var(--ae-accent-ink); }
.ae input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--ae-range-rail, #aaa396); }
.ae input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--ae-range-rail, #aaa396); }
.ae input[type=range]::-webkit-slider-thumb { appearance: none; height: 16px; width: 16px; margin-top: -6px; background: var(--ae-range-color, var(--ae-range-default)); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 3px #2e374225; }
.ae input[type=range]::-moz-range-thumb { height: 12px; width: 12px; background: var(--ae-range-color, var(--ae-range-default)); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 3px #2e374225; }
.ae .ae-track-head input[type=range]::-webkit-slider-thumb { border-color: #33383a; }
.ae .ae-track-head input[type=range]::-moz-range-thumb { border-color: #33383a; }
.ae input[type=range]:disabled { opacity: 1; cursor: not-allowed; }
.ae-field input[type=range] { width: 100%; margin: 0; }
.ae-page-notes { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: var(--ae-muted); font-size: 11px; }
.ae-page-notes > span { display: inline-flex; align-items: center; gap: 7px; }
.ae-page-notes kbd { padding: 2px 5px; border: 1px solid var(--ae-border); background: #fff; color: var(--ae-text); border-radius: 4px; font: inherit; margin-left: 7px; box-shadow: 0 1px 0 #dcdeda; border-color: var(--ae-control-border); }
.ae-page-notes kbd:first-child { margin-left: 0; }
.ae-page-notes i { color: var(--ae-olive); font-size: 13px; }
.ae-keys-more { padding: 2px 0; margin-left: 5px; border: 0; background: transparent; color: var(--ae-olive); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ae-keys-more:hover { color: var(--ae-accent-ink); }
.ae-notice { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 9; display: flex; align-items: flex-start; gap: 14px; width: min(720px, calc(100% - 24px)); max-height: 40vh; overflow: auto; background: #fff0cd; border: 1px solid #c5a25b; border-left: 4px solid var(--ae-accent); color: #563a00; font-size: 14px; font-weight: 600; padding: 14px 18px; border-radius: 10px; margin: 0; box-shadow: 0 6px 24px #17253530; }
.ae-notice.is-suspended { visibility: hidden; pointer-events: none; }
.ae-timeline:has(.ae-drop-marker:not([hidden])) > .ae-notice { visibility: hidden; pointer-events: none; }
.ae-start > .ae-notice { position: relative; top: auto; left: auto; transform: none; width: 100%; margin-bottom: 20px; }
#aeNoticeText { flex: 1; min-width: 0; white-space: pre-line; overflow-wrap: anywhere; }
.ae-notice-close { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 1px solid currentColor; border-radius: 5px; background: transparent; color: inherit; }
.ae-notice-close:hover { background: #0000000a; }
.ae-timeline > .ae-notice { top: auto; bottom: calc(100% - 32px); min-height: 30px; align-items: center; gap: 8px; padding: 2px 8px 2px 10px; border-radius: 6px; font-size: 13px; line-height: 20px; box-shadow: 0 2px 8px #17253520; }
.ae-timeline > .ae-notice .ae-notice-close { width: 24px; height: 24px; border: 0; border-radius: 4px; font-size: 12px; }
.ae-notice[data-tone=error] { background: #ffebe2; border-color: #c68c73; color: #8d3b26; }
.ae-busy { cursor: progress; }
.ae-track-head.is-muted [data-action=toggle-track] { color: #ffdc8d; border-color: #c8a34b; background: #4a3e25; }
.ae-lane.is-muted { background-color: #313737; background-image: linear-gradient(90deg, #ffffff12 1px, transparent 1px), repeating-linear-gradient(135deg, transparent 0, transparent 12px, #ffffff06 12px, #ffffff06 13px); background-size: var(--grid-size, 80px) 100%, auto; }
.ae-lane.is-muted .ae-clip { border-style: dashed; }
.ae-clip-badges { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.ae-clip-badges .bi-volume-mute-fill { color: #ffdc8d; }
.ae-asset-actions [data-action=add-asset] { display: inline-flex; align-items: center; justify-content: center; gap: 3px; color: var(--ae-accent-ink); background: var(--ae-accent-soft); border-color: #c39b41; }
.ae .ae-field input:not([type=range]):not([type=checkbox]):disabled, .ae .ae-field select:disabled { color: var(--ae-muted); -webkit-text-fill-color: var(--ae-muted); background: var(--ae-panel); border-color: var(--ae-control-border); opacity: 1; }
.ae-guide-modal .modal-dialog { width: min(920px, calc(100vw - 32px)); max-width: 920px; min-height: calc(100% - 48px); margin: 24px auto; }
.ae-guide-modal .webui-dialog__content { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; border: 1px solid var(--ae-border); border-radius: 18px; background: #fff; }
.ae-guide-modal .webui-dialog__body { min-height: 0; max-height: inherit; align-items: stretch; padding: 0; text-align: left; }
.ae-guide-modal .webui-dialog__icon { display: none; }
.ae-guide-modal .webui-dialog__title { flex-shrink: 0; padding: 26px 72px 24px 32px; border-bottom: 3px solid var(--ae-accent); color: var(--ae-ink); background: #fff8df; font-size: 25px; font-weight: 750; line-height: 1.3; letter-spacing: -.5px; }
.ae-guide-modal .btn-close { z-index: 1; width: 32px; height: 32px; padding: 0; border: 1px solid var(--ae-control-border); border-radius: 8px; background-size: 12px; opacity: .85; }
.ae-guide-modal .btn-close:hover { opacity: 1; }
.ae-guide { min-height: 0; overflow-y: auto; padding: 22px 32px 24px; color: var(--ae-ink); font-size: 14px; line-height: 1.65; scrollbar-width: thin; overscroll-behavior: contain; }
.ae-guide-intro { margin: 0 0 18px; color: var(--ae-text); font-size: 15px; }
.ae-guide-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--ae-border); border-radius: 10px; background: var(--ae-panel); }
.ae-guide-flow span { display: flex; justify-content: center; align-items: center; gap: 9px; color: var(--ae-text); font-size: 13px; font-weight: 650; }
.ae-guide-flow span i { font-size: 18px; }
.ae-guide-flow > i { color: var(--ae-muted); font-size: 14px; }
.ae-guide-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.ae-guide-steps > li { min-width: 0; padding: 18px; border: 1px solid var(--ae-border); border-radius: 12px; background: var(--ae-panel); }
.ae-guide-step-heading { display: flex; align-items: center; gap: 10px; }
.ae-guide-number { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid #cca44d; border-radius: 7px; background: #ffe5a5; color: #6b4300; font: 650 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.ae-guide-step-heading h3 { margin: 0; color: var(--ae-ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.ae-guide-step-heading > i { margin-left: auto; color: var(--ae-text); font-size: 18px; }
.ae-guide-steps p { margin: 10px 0 0; color: var(--ae-text); font-size: 14px; line-height: 1.7; }
.ae-guide strong { color: var(--ae-ink); font-weight: 650; }
.ae-guide-details { margin-top: 12px; overflow: hidden; border: 1px solid var(--ae-border); border-radius: 10px; }
.ae-guide-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--ae-ink); background: var(--ae-panel); font-size: 14px; font-weight: 650; list-style: none; cursor: pointer; }
.ae-guide-details summary::-webkit-details-marker { display: none; }
.ae-guide-details summary > span { display: flex; align-items: center; gap: 9px; }
.ae-guide-details summary > i { font-size: 12px; }
.ae-guide-details[open] > summary { border-bottom: 1px solid var(--ae-border); }
.ae-guide-details[open] > summary > i { transform: rotate(180deg); }
.ae-guide-modal :is(summary, button):focus-visible { outline: 3px solid #b57a00; outline-offset: -3px; }
.ae-guide-tips { margin: 0; padding: 0 18px; }
.ae-guide-tips > div { padding: 14px 0; border-bottom: 1px solid var(--ae-border); }
.ae-guide-tips > div:last-child { border-bottom: 0; }
.ae-guide-tips dt { color: var(--ae-ink); font-size: 14px; font-weight: 650; }
.ae-guide-tips dd { margin: 5px 0 0; color: var(--ae-text); font-size: 14px; line-height: 1.65; }
.ae-guide-keys-note { margin: 14px 18px 4px; color: var(--ae-muted); font-size: 13px; }
.ae-guide-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0 18px 14px; }
.ae-guide-keys > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ae-border); }
.ae-guide-keys dt { flex-shrink: 0; color: var(--ae-muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.ae-guide-keys dd { margin: 0; color: var(--ae-text); font-size: 12px; text-align: right; }
.ae-guide-keys kbd { padding: 3px 5px; border: 1px solid var(--ae-border); border-radius: 5px; background: var(--ae-panel); color: var(--ae-text); font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; box-shadow: 0 1px 0 var(--ae-border); }
.ae-guide-modal .webui-dialog__actions { flex-shrink: 0; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 16px; width: 100%; margin: 0; padding: 16px 32px; border-top: 1px solid var(--ae-border); background: var(--ae-panel); }
.ae-guide-privacy { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ae-olive); font-size: 12px; line-height: 1.5; }
.ae-guide-privacy > i { flex-shrink: 0; color: var(--ae-olive); font-size: 18px; }
.ae-guide-modal .webui-dialog__button { flex: 0 0 auto; min-width: 120px; min-height: 40px; padding: 9px 18px; border: 1px solid #ba8211; background: var(--ae-accent); color: #352600; font-size: 14px; font-weight: 700; box-shadow: none; }
.ae-guide-modal .webui-dialog__button:hover { background: var(--ae-accent-hover); transform: none; box-shadow: none; }
@media (max-width: 1200px) {
  .ae-page { padding: 28px 20px; }
  .ae-local { display: none; }
  .ae-selection-range { display: none; }
  .ae-workspace { grid-template-columns: 226px minmax(0, 1fr); gap: 12px; }
  .ae-library { padding: 20px 14px 16px; }
  .ae-transport { padding: 10px 18px; gap: 12px; }
  .ae-transport-options { gap: 6px; }
  .ae-transport-options label { padding: 6px 8px; font-size: 12px; }
  .ae-toolbar { padding: 8px 10px; gap: 5px; }
  .ae-tool-group { padding-right: 5px; gap: 1px; }
  .ae-tool { padding: 6px; font-size: 11px; }
  .ae-track-heads { flex-basis: 130px; width: 130px; }
  .ae-track-head { padding: 14px 12px; }
  .ae-inspector-block + .ae-inspector-block { padding-left: 20px; }
  .ae-export { gap: 10px; padding: 16px; }
  .ae-export input { width: 140px; }
  .ae-export-label > i { display: none; }
}
@media (max-width: 900px) {
  .ae-heading { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .ae-heading-actions { gap: 12px; }
  .ae-transport-options { width: 100%; }
  .ae-tool span { display: none; }
  .ae-selection-actions :is([data-action=copy-range], [data-action=cut-range]) > span { display: inline; }
  .ae-tool { padding: 7px; }
  .ae-export > div { width: 100%; }
  .ae-export input { flex: 1; }
  .ae-inspector-block:last-child .ae-eq-field { max-width: 460px; }
  .ae-clear-all { font-size: 0; }
  .ae-clear-all i { font-size: 14px; }
}
@media (max-width: 767px) {
  .ae-start { padding: 22px 18px; border-radius: 14px; }
  .ae-start-heading { gap: 12px; align-items: flex-start; margin-bottom: 22px; }
  .ae-start-icon { width: 40px; height: 40px; border-radius: 11px; font-size: 21px; }
  .ae-start-heading h2 { font-size: 22px; }
  .ae-start-heading p { font-size: 13px; }
  .ae-start-options { grid-template-columns: 1fr; gap: 12px; }
  .ae-start-option { padding: 20px; }
  .ae-start-option h3 { margin-top: 12px; font-size: 20px; }
  .ae-start-option .ae-button { width: 100%; white-space: normal; }
  .ae-start-privacy { align-items: flex-start; justify-content: flex-start; font-size: 11px; }
  .ae-guide-modal .modal-dialog { width: calc(100vw - 20px); min-height: calc(100% - 20px); margin: 10px auto; }
  .ae-guide-modal .webui-dialog__content { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
  .ae-guide-modal .webui-dialog__title { padding: 24px 60px 22px 20px; font-size: 21px; }
  .ae-guide { padding: 18px 18px 20px; }
  .ae-guide-intro { font-size: 14px; }
  .ae-guide-steps { grid-template-columns: 1fr; }
  .ae-guide-steps > li { padding: 16px; }
  .ae-guide-step-heading > i { display: none; }
  .ae-guide-keys { grid-template-columns: 1fr; }
  .ae-guide-modal .webui-dialog__actions { padding: 14px 18px; gap: 12px; }
  .ae-guide-modal .webui-dialog__button { min-width: 104px; padding: 9px 12px; }
  .ae-guide-privacy { font-size: 11px; }
  .ae-guide-flow { display: flex; justify-content: space-between; gap: 8px; padding: 12px 10px; }
  .ae-guide-flow span { flex-direction: column; gap: 4px; font-size: 12px; }
  .ae-guide-flow > i { font-size: 12px; }
  .ae-page { padding: 24px 12px; }
  .ae-heading { padding: 0 3px; margin-bottom: 22px; gap: 12px; align-items: flex-start; }
  .ae-heading-title { gap: 12px; }
  .ae-heading-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 27px; margin-top: 4px; }
  .ae-eyebrow { font-size: 11px; letter-spacing: 1.3px; }
  .ae-heading h1 { font-size: 26px; letter-spacing: -.8px; margin: 3px 0 8px; }
  .ae-heading p { font-size: 12px; max-width: 240px; line-height: 1.7; }
  .ae-help { font-size: 0; padding: 8px; min-height: 34px; gap: 0; margin-top: 5px; }
  .ae-help i { font-size: 17px; }
  .ae-workspace { display: flex; flex-direction: column; gap: 12px; }
  .ae-library { width: 100%; max-width: 100%; padding: 16px; }
  .ae-editor { align-self: stretch; }
  .ae-library-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
  .ae-library .ae-panel-title { grid-column: 1 / -1; margin-bottom: 15px; }
  .ae-library-toggle > i { transform: rotate(90deg); }
  .is-library-collapsed .ae-library { padding: 10px 16px; }
  .is-library-collapsed .ae-library .ae-panel-title { flex-direction: row; gap: 8px; }
  .is-library-collapsed .ae-panel-title h2 { display: flex; }
  .is-library-collapsed .ae-library-toggle { width: 30px; min-height: 32px; margin-left: auto; padding: 5px; border-color: var(--ae-border); background: #fff; }
  .is-library-collapsed .ae-library-toggle-caption { display: none; }
  .ae-upload { padding: 10px 8px; margin-bottom: 0; }
  .ae-upload i { display: none; }
  .ae-upload strong { font-size: 13px; }
  .ae-upload span { font-size: 12px; }
  .ae-record { grid-column: 2; grid-row: 1; margin: 0; align-self: start; padding: 10px 5px; font-size: 12px; }
  .ae-library-list, .ae-library-bottom, .ae-library-empty, #aeAssetPreview, .ae-recorder { grid-column: 1 / -1; }
  .ae-library-list { display: flex; height: auto; overflow-x: auto; gap: 8px; margin-top: 14px; max-height: 160px; }
  .ae-library-list:empty { margin-top: 0; }
  .ae-asset { min-width: 224px; max-width: 260px; flex-shrink: 0; margin-bottom: 4px; }
  .ae-asset-actions { grid-template-columns: 32px 32px 32px minmax(0, 1fr); }
  .ae-library-empty { display: flex; align-items: center; gap: 12px; padding: 18px 0 14px; text-align: left; flex-wrap: wrap; }
  .ae-empty-wave { height: 28px; margin: 0; gap: 3px; }
  .ae-empty-wave span { width: 3px; max-height: 26px; }
  .ae-library-empty strong { font-size: 12px; }
  .ae-library-empty p { width: 100%; margin: -4px 0 0; font-size: 12px; }
  .ae-library-empty p br { display: none; }
  .ae-library-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; font-size: 11px; }
  .ae-library-bottom .ae-text-button { font-size: 11px; white-space: nowrap; }
  .ae-library-bottom .ae-library-project-actions .ae-local-clear { white-space: normal; }
  .ae-transport { padding: 8px 12px; }
  .ae-transport-main { gap: 12px; }
  .ae-transport-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr); gap: 4px; width: 100%; }
  .ae-transport-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .ae-transport-options label { justify-content: center; min-width: 0; min-height: 44px; gap: 3px; padding: 6px 3px; font-size: clamp(10px, 2.8vw, 12px); white-space: nowrap; }
  .ae-transport-options input { flex: 0 0 13px; width: 13px; height: 13px; }
  .ae-transport-options .ae-playback-full { display: none; }
  .ae-transport-options .ae-playback-short { display: inline; }
  .ae-time strong { font-size: 23px; }
  .ae-time > span { font-size: 12px; }
  .ae-toolbar { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 4px 8px; gap: 0 4px; }
  .ae-toolbar .ae-tool { min-width: 44px; min-height: 44px; justify-content: center; padding: 6px; }
  .ae-toolbar .ae-tool-group { gap: 3px; padding-right: 0; border-right: 0; }
  .ae-toolbar .ae-fragment-tools { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) repeat(4, 44px); gap: 4px; border-bottom: 1px solid var(--ae-border); }
  .ae-fragment-tools .ae-toolbar-label { padding: 0; font-size: 11px; }
  .ae-fragment-tools .ae-tool > span { display: none; }
  .ae-fragment-tools .ae-delete-menu > summary { gap: 3px; }
  .ae-toolbar-view { min-width: 0; margin-left: 0; justify-content: space-between; gap: 4px; }
  .ae-toolbar-view > .ae-zoom { display: none; }
  .ae-mobile-zoom { display: block; }
  .ae-mobile-zoom > summary { gap: 5px; font-size: 12px; }
  .ae-mobile-zoom > summary > span { display: inline; min-width: 4ch; text-align: center; font-variant-numeric: tabular-nums; }
  .ae-mobile-zoom > div { left: auto; right: 0; }
  .ae-toolbar .ae-delete-menu button, .ae-selection-actions .ae-delete-menu button { min-height: 44px; }
  .ae-selection-bar { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 30px 44px; height: 88px; padding: 4px 8px; gap: 4px; }
  .ae-selection-info { flex-wrap: wrap; align-content: center; font-size: 11px; line-height: 15px; gap: 0 6px; }
  .ae-selection-duration-label { display: none; }
  .ae-selection-info output { font-size: 12px; }
  .ae-selection-range { display: block; flex-basis: 100%; margin-left: 0; font-size: 10px; }
  .ae-selection-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; width: 100%; }
  .ae-selection-actions .ae-tool { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 100%; min-width: 0; height: 44px; padding: 4px 1px; font-size: 10px; line-height: 12px; }
  .ae-selection-actions .ae-tool > span { display: block; }
  .ae-selection-actions .ae-tool > i { font-size: 16px; line-height: 16px; }
  .ae-selection-actions [data-action=crop-range] > span:not(.ae-action-short) { display: none; }
  .ae-selection-actions .ae-delete-menu { display: block; }
  .ae-selection-actions .ae-delete-menu > summary { display: grid; grid-template-columns: repeat(2, max-content); gap: 3px; }
  .ae-selection-actions .ae-delete-menu > summary > i:last-child { font-size: 9px; }
  .ae-selection-actions .ae-delete-menu > summary > span { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .ae-track-heads { width: 118px; flex-basis: 118px; }
  .ae-track-head { padding: 14px 9px; }
  .ae-track-name { gap: 5px; font-size: 12px; }
  .ae-track-number { font-size: 11px; }
  .ae-track-controls { gap: 4px; }
  .ae-small-button { min-width: 31px; min-height: 31px; }
  .ae-trim { width: 17px; }
  .ae-clip-label { height: 32px; padding-left: 19px; padding-right: 19px; }
  .ae-volume-envelope { top: 32px; }
  .ae-trim--right::after { left: 11px; }
  .ae-selection-handle { width: 18px; }
  .ae-playhead-handle { top: -16px; left: -21px; width: 44px; height: 34px; }
  .ae-playhead-handle::after { top: 16px; left: 16px; }
  .ae-lane-empty { font-size: 11px; left: 16px; gap: 7px; }
  .ae-lane-empty i { width: 24px; height: 28px; font-size: 11px; }
  .ae-timeline-hint { font-size: 12px; padding: 12px 12px 4px; }
  .ae-footer-bar { padding: 7px 12px 14px; font-size: 11px; }
  .ae-load-warning { margin-left: 12px; margin-right: 12px; }
  .ae-export { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 15px 12px; gap: 10px; }
  .ae-export > div { width: 100%; }
  .ae-export-label, .ae-export input, .ae-export .ae-button { grid-column: 1 / -1; }
  .ae-export input, .ae-export select { width: 100%; min-width: 0; }
  .ae .ae-field input:not([type=checkbox]):not([type=range]), .ae .ae-field select,
  .ae-export input, .ae-export select, .ae-move-track { font-size: 16px; }
  .ae-clear-all { min-width: 28px; min-height: 32px; flex-shrink: 0; justify-content: center; }
  .ae-inspector-block + .ae-inspector-block, .ae-inspector-block:last-child { border-left: 0; border-top: 1px solid var(--ae-border); padding: 18px 0 0; margin-top: 18px; }
  .ae-inspector-block:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
  .ae-inspector-empty { padding: 20px 0; align-items: flex-start; gap: 12px; }
  .ae-inspector-empty p { font-size: 12px; line-height: 1.8; }
  .ae-inspector h3 { font-size: 14px; }
  .ae-page-notes { padding: 0 4px; gap: 14px; margin-top: 16px; font-size: 11px; }
  .ae-page-notes > span { flex-wrap: wrap; gap: 5px; }
  .ae-page-notes > span:last-child { display: none; }
  .ae-notice { gap: 10px; padding: 12px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ae-play-spinner { animation: none; }
  .ae *, .ae *::before, .ae *::after { transition: none !important; }
}
