diff --git a/style.css b/style.css
index 88da1a072..3ab8e6810 100644
--- a/style.css
+++ b/style.css
@@ -13,271 +13,1115 @@
--track-h-video: 58px;
--track-h-audio: 42px;
}
-* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
-html, body { height: 100%; overflow: hidden; }
+
+* {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ user-select: none;
+}
+
+html,
+body {
+ height: 100%;
+ overflow: hidden;
+}
+
body {
background: var(--bg);
color: var(--text);
font: 13px/1.45 "Segoe UI", system-ui, -apple-system, sans-serif;
}
-.app { display: grid; grid-template-rows: 46px minmax(0, 1fr) minmax(230px, 38%); height: 100vh; gap: 6px; padding: 6px; }
-.hidden { display: none !important; }
-.dim { color: var(--dim); }
-.flex-spacer { flex: 1; }
+
+.app {
+ display: flex;
+ flex-direction: column;
+ height: 100vh;
+ gap: 6px;
+ padding: 6px;
+}
+
+.topbar {
+ flex: 0 0 46px;
+}
+
+.upper {
+ flex: 1 1 0;
+ min-height: 140px;
+ min-width: 0;
+}
+
+.timeline-panel {
+ flex: 0 0 var(--timeline-h, 400px);
+ min-height: 180px;
+ overflow: hidden;
+}
+
+.v-split {
+ flex: 0 0 6px;
+ cursor: ns-resize;
+ position: relative;
+ z-index: 5;
+ border-radius: 3px;
+}
+
+.v-split::after {
+ content: "";
+ position: absolute;
+ left: 18%;
+ right: 18%;
+ top: 2px;
+ height: 2px;
+ border-radius: 1px;
+ background: var(--border);
+ transition: background .15s;
+}
+
+.v-split:hover::after,
+.v-split.dragging::after {
+ background: var(--accent);
+}
+
+body.resizing-panels {
+ cursor: ns-resize !important;
+}
+
+body.resizing-panels * {
+ cursor: ns-resize !important;
+ user-select: none !important;
+}
+
+.hidden {
+ display: none !important;
+}
+
+.dim {
+ color: var(--dim);
+}
+
+.flex-spacer {
+ flex: 1;
+}
+
/* Visually hidden but still activatable (file picker via