/* AlcorVideo 0.1 — namespaced product and editor UI. */
body.alcor-video {
  margin: 0;
  background: #05070b;
  color: #f4f7fb;
  overflow-x: hidden;
}
body.alcor-video * { box-sizing: border-box; }
body.alcor-video button,
body.alcor-video input,
body.alcor-video select,
body.alcor-video textarea { font: inherit; }
body.alcor-video button,
body.alcor-video a,
body.alcor-video input,
body.alcor-video select,
body.alcor-video textarea { outline-offset: 3px; }
body.alcor-video :focus-visible { outline: 2px solid #73d6ff; }
.av-page {
  --av-bg: #05070b;
  --av-panel: #0b0f16;
  --av-panel-2: #101620;
  --av-line: rgba(210, 230, 255, .14);
  --av-line-strong: rgba(210, 230, 255, .28);
  --av-text: #f4f7fb;
  --av-muted: #98a6b7;
  --av-cyan: #67d7ff;
  --av-blue: #5188ff;
  --av-violet: #a778ff;
  --av-gold: #ffd47a;
  --av-danger: #ff6f78;
  min-height: 100vh;
  background: var(--av-bg);
  color: var(--av-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.av-page a { color: inherit; }
.av-site-header {
  position: relative;
  z-index: 30;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 30px;
  border-bottom: 1px solid var(--av-line);
  background: rgba(5, 7, 11, .88);
  backdrop-filter: blur(18px);
}
.av-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.av-brand strong { font-weight: 800; }
.av-star { color: var(--av-cyan); filter: drop-shadow(0 0 12px rgba(103, 215, 255, .7)); }
.av-site-header nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.av-site-header nav a { color: var(--av-muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.av-site-header nav a:hover { color: var(--av-text); }
.av-header-action,
.av-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.av-header-action,
.av-button-primary {
  color: #061018 !important;
  background: linear-gradient(135deg, #8ee7ff, #68bbff 55%, #9f8cff);
  box-shadow: 0 10px 35px rgba(89, 166, 255, .22);
}
.av-header-action:hover,
.av-button-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.av-button-secondary { color: var(--av-text) !important; border-color: var(--av-line-strong); background: rgba(255,255,255,.035); }
.av-button-secondary:hover { border-color: rgba(103, 215, 255, .58); background: rgba(103, 215, 255, .07); }
.av-eyebrow {
  color: var(--av-cyan);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 900;
  text-transform: uppercase;
}

/* Product landing */
.av-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(540px, 1.2fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  padding: 90px max(30px, calc((100vw - 1480px) / 2));
  overflow: hidden;
  border-bottom: 1px solid var(--av-line);
  background:
    radial-gradient(circle at 78% 22%, rgba(99, 132, 255, .18), transparent 31%),
    radial-gradient(circle at 20% 60%, rgba(93, 212, 255, .1), transparent 35%),
    linear-gradient(180deg, #070a11, #05070b 78%);
}
.av-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(130,180,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(130,180,255,.16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.av-orbit { position: absolute; border: 1px solid rgba(120, 190, 255, .15); border-radius: 50%; pointer-events: none; }
.av-orbit-one { width: 600px; height: 600px; right: 4%; top: 5%; transform: rotate(-18deg); }
.av-orbit-two { width: 920px; height: 360px; right: -10%; top: 30%; transform: rotate(12deg); }
.av-hero-copy { position: relative; z-index: 2; max-width: 660px; }
.av-hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(52px, 5.4vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
  max-width: 780px;
}
.av-hero-copy > p { margin: 0; max-width: 650px; color: #b9c4d2; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.65; }
.av-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.av-proof-list { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--av-muted); font-size: 12px; }
.av-proof-list li::before { content: "✓"; color: var(--av-cyan); margin-right: 7px; }
.av-editor-visual {
  position: relative;
  z-index: 3;
  min-width: 0;
  border: 1px solid rgba(170, 210, 255, .27);
  border-radius: 14px;
  overflow: hidden;
  background: #080c12;
  box-shadow: 0 40px 100px rgba(0,0,0,.52), 0 0 80px rgba(66, 141, 255, .12);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}
.av-visual-topbar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--av-line); color: #8794a7; font-size: 9px; letter-spacing: .12em; }
.av-visual-topbar span { width: 8px; height: 8px; border-radius: 50%; background: #314052; }
.av-visual-topbar b { margin-left: 10px; font-weight: 700; }
.av-visual-workspace { display: grid; grid-template-columns: 21% 58% 21%; height: 330px; }
.av-visual-bin,
.av-visual-inspector { padding: 16px; border-right: 1px solid var(--av-line); background: #0b1017; }
.av-visual-inspector { border-right: 0; border-left: 1px solid var(--av-line); }
.av-visual-bin i { display: block; height: 48px; margin-bottom: 9px; border-radius: 5px; background: linear-gradient(90deg, #18283a 32%, #101822 32%); border: 1px solid rgba(255,255,255,.05); }
.av-visual-inspector i { display: block; height: 12px; margin-bottom: 14px; border-radius: 4px; background: #182331; }
.av-visual-inspector i:nth-child(even) { width: 70%; }
.av-visual-program { padding: 18px; display: flex; flex-direction: column; background: #070a0f; }
.av-visual-frame { flex: 1; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 40% 45%, #25354c, #111720 52%, #050608); border: 1px solid #202b39; overflow: hidden; }
.av-visual-frame::before { content: ""; width: 54%; aspect-ratio: 16/10; border-radius: 50%; background: radial-gradient(circle at 65% 38%, #b8efff 0 2%, #6d9cff 3% 8%, rgba(76,91,190,.46) 9% 26%, transparent 48%); filter: blur(.3px); }
.av-visual-frame span { position: absolute; left: 14px; bottom: 12px; color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .16em; }
.av-visual-controls { height: 38px; display: grid; place-items: center; color: #8190a3; font-size: 9px; }
.av-visual-timeline { position: relative; height: 250px; padding-top: 26px; background: #0a0e14; border-top: 1px solid var(--av-line); }
.av-visual-ruler { position: absolute; left: 42px; right: 0; top: 0; height: 26px; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.18) 35px 36px); }
.av-visual-lane { height: 66px; display: flex; align-items: center; gap: 4px; border-top: 1px solid rgba(255,255,255,.05); position: relative; }
.av-visual-lane b { width: 42px; text-align: center; color: #6f7e92; font-size: 9px; }
.av-visual-lane span { display: block; height: 44px; border-radius: 4px; }
.av-vclip-title { width: 28%; margin-left: 29%; background: linear-gradient(135deg, #805ee0, #b67aea); }
.av-vclip-a { width: 31%; background: linear-gradient(135deg, #215ea5, #3f9bd0); }
.av-vclip-b { width: 39%; background: linear-gradient(135deg, #3948a4, #6d67d5); }
.av-aclip { width: 62%; background: repeating-linear-gradient(90deg, #225f52 0 3px, #1c8069 3px 5px); }
.av-visual-playhead { position: absolute; left: 48%; top: 0; bottom: 0; width: 1px; background: #ffbd66; box-shadow: 0 0 10px rgba(255,189,102,.55); }
.av-visual-playhead::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top-color: #ffbd66; }
.av-signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1480px; margin: 0 auto; border-left: 1px solid var(--av-line); border-right: 1px solid var(--av-line); }
.av-signal-strip > div { min-height: 128px; display: flex; flex-direction: column; justify-content: center; padding: 26px 34px; border-right: 1px solid var(--av-line); }
.av-signal-strip > div:last-child { border-right: 0; }
.av-signal-strip strong { font-size: 28px; letter-spacing: -.04em; }
.av-signal-strip span { color: var(--av-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.av-section { max-width: 1480px; margin: 0 auto; padding: 120px 50px; border-left: 1px solid var(--av-line); border-right: 1px solid var(--av-line); border-top: 1px solid var(--av-line); }
.av-section-heading { max-width: 900px; margin-bottom: 58px; }
.av-section h2 { margin: 16px 0 18px; font-size: clamp(38px, 4vw, 66px); line-height: 1.04; letter-spacing: -.055em; }
.av-section-heading > p { color: #aeb9c8; font-size: 18px; line-height: 1.7; }
.av-step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--av-line); }
.av-step-grid li { min-height: 280px; padding: 28px; border-right: 1px solid var(--av-line); background: linear-gradient(160deg, rgba(255,255,255,.025), transparent 70%); }
.av-step-grid li:last-child { border-right: 0; }
.av-step-grid li > span { color: var(--av-cyan); font: 800 11px/1 ui-monospace, monospace; }
.av-step-grid h3 { margin: 70px 0 12px; font-size: 23px; }
.av-step-grid p { margin: 0; color: var(--av-muted); font-size: 14px; line-height: 1.7; }
.av-feature-section { background: radial-gradient(circle at 85% 20%, rgba(99,101,255,.1), transparent 32%); }
.av-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--av-line); border: 1px solid var(--av-line); }
.av-feature-grid article { min-height: 250px; padding: 30px; background: #080b11; }
.av-feature-grid article > span { color: var(--av-cyan); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.av-feature-grid h3 { margin: 55px 0 10px; font-size: 22px; }
.av-feature-grid p { margin: 0; color: var(--av-muted); line-height: 1.65; }
.av-roadmap-note { margin-top: 24px; padding: 22px 24px; border-left: 2px solid var(--av-cyan); background: rgba(103,215,255,.05); color: #acb8c7; }
.av-roadmap-note strong { color: var(--av-text); }
.av-license-section { display: grid; grid-template-columns: 1fr 440px; gap: 100px; align-items: center; background: radial-gradient(circle at 78% 54%, rgba(79, 151, 255, .12), transparent 32%); }
.av-license-copy > p { max-width: 760px; color: #b0bbc9; font-size: 18px; line-height: 1.7; }
.av-license-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: #b9c5d2; }
.av-license-copy li::before { content: "✦"; color: var(--av-cyan); margin-right: 10px; }
.av-price-card { border: 1px solid rgba(116, 207, 255, .32); border-radius: 14px; padding: 34px; background: linear-gradient(160deg, rgba(89, 164, 255, .1), rgba(255,255,255,.02)); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.av-price-card > span { color: var(--av-cyan); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .14em; }
.av-price { margin: 30px 0; }
.av-price strong { display: block; font-size: 74px; line-height: .95; letter-spacing: -.07em; }
.av-price small { color: var(--av-muted); }
.av-price-card .av-button { display: flex; margin-top: 10px; }
.av-price-card > p { margin: 20px 0 0; color: #8795a6; font-size: 12px; line-height: 1.6; }
.av-faq details { border-top: 1px solid var(--av-line); padding: 24px 0; }
.av-faq details:last-child { border-bottom: 1px solid var(--av-line); }
.av-faq summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.av-faq details p { max-width: 900px; color: var(--av-muted); line-height: 1.7; }
.av-footer { display: flex; justify-content: space-between; gap: 20px; padding: 35px max(30px, calc((100vw - 1480px) / 2)); color: #7e8a99; border-top: 1px solid var(--av-line); font-size: 12px; }
.av-footer a { color: #bdc8d5; }

/* Catalog insertion */
.av-products-insert { margin-top: 60px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,.12); }
.av-products-insert > h2 { max-width: 900px; }
.av-catalog-card { display: grid; grid-template-columns: minmax(300px, .9fr) 1.1fr; gap: 42px; padding: 30px; border: 1px solid rgba(160,205,255,.22); border-radius: 12px; background: linear-gradient(150deg, rgba(71,135,220,.09), rgba(255,255,255,.015)); }
.av-catalog-preview { position: relative; min-height: 260px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; overflow: hidden; background: #080c12; }
.av-catalog-screen { position: absolute; left: 19%; right: 9%; top: 10%; height: 48%; background: radial-gradient(circle at 60% 42%, #4969bd, #151d2a 35%, #06080d 72%); border: 1px solid rgba(255,255,255,.1); }
.av-catalog-track { position: absolute; left: 10%; height: 12%; border-radius: 4px; }
.av-catalog-track-one { right: 23%; bottom: 23%; background: linear-gradient(90deg, #257ca3 0 40%, transparent 40% 42%, #6654b8 42%); }
.av-catalog-track-two { right: 10%; bottom: 7%; background: repeating-linear-gradient(90deg, #1b735f 0 4px, #245447 4px 7px); }
.av-catalog-playhead { position: absolute; left: 55%; top: 7%; bottom: 4%; width: 1px; background: #ffc36f; }
.av-catalog-copy { align-self: center; }
.av-catalog-copy h3 { margin: 8px 0 12px; font-size: 36px; }
.av-catalog-copy p { color: #aeb9c8; line-height: 1.7; }
.av-catalog-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 20px 0; font-size: 13px; }
.av-catalog-meta strong { color: #f5d68d; }
.av-catalog-meta span { color: #8f9cad; }

/* Editor application */
.av-editor-page { min-height: 100vh; background: #05070a; }
.av-editor-page .av-site-header { min-height: 54px; padding-inline: 18px; }
.av-editor-page .av-brand { font-size: 15px; }
.av-editor-page .av-header-action { min-height: 34px; padding-inline: 13px; font-size: 11px; }
.av-app { min-width: 980px; padding: 10px; }
.av-appbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 12px;
  border: 1px solid var(--av-line);
  background: #0a0e14;
  border-radius: 7px 7px 0 0;
}
.av-project-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.av-project-identity label { color: var(--av-muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.av-project-identity input { width: min(29vw, 360px); border: 0; border-bottom: 1px solid transparent; padding: 5px 4px; color: var(--av-text); background: transparent; font-weight: 700; }
.av-project-identity input:focus { border-color: var(--av-cyan); }
#av-save-state { color: #708094; font-size: 11px; white-space: nowrap; }
.av-app-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.av-app button,
.av-file-button,
.av-import-button {
  border: 1px solid var(--av-line);
  border-radius: 5px;
  min-height: 31px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c5ceda;
  background: #111722;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.av-app button:hover:not(:disabled),
.av-file-button:hover,
.av-import-button:hover { border-color: #506680; color: #fff; background: #172131; }
.av-app button:disabled { opacity: .38; cursor: not-allowed; }
.av-file-button input,
.av-import-button input { display: none; }
.av-render-button { color: #071018 !important; border-color: transparent !important; background: linear-gradient(135deg, #7ee3ff, #6d9bff) !important; }
.av-workspace { display: grid; grid-template-columns: minmax(220px, 24%) minmax(480px, 1fr) minmax(230px, 25%); min-height: 390px; height: min(48vh, 560px); }
.av-panel { min-width: 0; min-height: 0; border-left: 1px solid var(--av-line); border-bottom: 1px solid var(--av-line); background: #0b0f16; overflow: hidden; }
.av-panel:last-child { border-right: 1px solid var(--av-line); }
.av-panel-heading { min-height: 54px; padding: 9px 12px; display: flex; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--av-line); background: #0d121a; }
.av-panel-heading span,
.av-timeline-toolbar > div:first-child > span { display: block; color: #6f8197; font: 800 9px/1 ui-monospace, monospace; letter-spacing: .15em; }
.av-panel-heading h2,
.av-timeline-toolbar h2 { margin: 5px 0 0; font-size: 13px; letter-spacing: -.01em; }
.av-panel-help { margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--av-line); color: #68788d; font-size: 10px; line-height: 1.45; }
.av-media-bin { height: calc(100% - 91px); overflow: auto; padding: 8px; }
.av-empty-state { min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 24px; color: #647589; text-align: center; font-size: 11px; }
.av-empty-state strong { color: #9eabba; }
.av-media-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 9px; padding: 7px; margin-bottom: 6px; border: 1px solid transparent; border-radius: 5px; background: #101620; }
.av-media-item:hover { border-color: #29384a; }
.av-media-thumb { height: 42px; display: grid; place-items: center; overflow: hidden; border-radius: 3px; background: #07090d; color: #7390aa; font-size: 10px; }
.av-media-thumb img,
.av-media-thumb video { width: 100%; height: 100%; object-fit: cover; }
.av-media-info { min-width: 0; }
.av-media-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.av-media-info > span { display: block; margin-top: 2px; color: #718196; font-size: 9px; }
.av-media-actions { display: flex; gap: 4px; margin-top: 5px; }
.av-media-actions button { min-height: 23px; padding-inline: 7px; font-size: 9px; }
.av-program-panel { background: #06080c; }
.av-program-heading { background: #0a0e14; }
.av-timecode { padding: 5px 8px; border: 1px solid var(--av-line); border-radius: 4px; color: #b8c8da; background: #070a0e; font: 700 11px/1 ui-monospace, monospace; }
.av-monitor-wrap { position: relative; height: calc(100% - 105px); display: grid; place-items: center; padding: 12px; background: #030405; overflow: hidden; }
#av-preview { display: block; max-width: 100%; max-height: 100%; aspect-ratio: 16 / 9; background: #090b0f; box-shadow: 0 0 0 1px #1d2733, 0 18px 50px rgba(0,0,0,.45); }
.av-monitor-message { position: absolute; inset: 0; display: grid; place-items: center; color: #657386; font-size: 11px; pointer-events: none; }
.av-safe-guides { position: absolute; width: min(70%, calc((100% - 24px) * .8)); aspect-ratio: 16/9; border: 1px dashed rgba(255,255,255,.09); pointer-events: none; }
.av-transport { min-height: 51px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px; border-top: 1px solid var(--av-line); background: #0a0e14; }
.av-transport button { min-width: 33px; padding: 0 7px; }
.av-transport .av-play { min-width: 44px; color: var(--av-cyan); }
.av-transport label { display: flex; align-items: center; gap: 5px; margin-left: 8px; color: #748398; font-size: 9px; }
.av-transport input,
.av-transport select { width: 72px; height: 28px; border: 1px solid var(--av-line); border-radius: 4px; padding: 0 6px; color: #c4ceda; background: #080b10; }
.av-transport select { width: 58px; }
.av-inspector-panel { overflow-y: auto; }
.av-danger-button { color: #ff9097 !important; }
.av-inspector-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.av-inspector-form label { display: flex; flex-direction: column; gap: 5px; color: #718196; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.av-inspector-form input:not([type="range"]):not([type="checkbox"]),
.av-inspector-form select,
.av-inspector-form textarea { width: 100%; min-height: 30px; border: 1px solid var(--av-line); border-radius: 4px; padding: 5px 7px; color: #d7dee8; background: #070a0f; text-transform: none; }
.av-inspector-form textarea { resize: vertical; }
.av-inspector-form input[type="range"] { width: 100%; accent-color: var(--av-cyan); }
.av-inspector-form input[type="color"] { width: 100%; min-height: 30px; border: 1px solid var(--av-line); background: #070a0f; }
.av-field-wide { grid-column: 1 / -1; }
.av-checkbox { grid-column: 1 / -1; flex-direction: row !important; align-items: center; color: #a6b2c0 !important; text-transform: none !important; }
.av-inspector-actions { display: flex; gap: 6px; }
.av-inspector-actions button { flex: 1; }
.av-timeline-panel { border: 1px solid var(--av-line); border-top: 0; background: #080c12; }
.av-timeline-toolbar { min-height: 53px; display: flex; align-items: center; gap: 18px; padding: 8px 12px; border-bottom: 1px solid var(--av-line); background: #0c1119; }
.av-timeline-tools { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.av-timeline-tools label { display: flex; align-items: center; gap: 5px; padding-left: 7px; color: #718196; font-size: 9px; }
.av-timeline-tools input[type="range"] { width: 100px; accent-color: var(--av-cyan); }
.av-timeline-tools input[type="checkbox"] { accent-color: var(--av-cyan); }
.av-timeline-scroll { height: min(32vh, 340px); min-height: 240px; overflow: auto; background: #070a0e; }
.av-timeline { --av-px-per-second: 72px; position: relative; min-width: 100%; width: max(100%, calc(var(--av-duration, 30) * var(--av-px-per-second) + 88px)); user-select: none; }
.av-ruler-row,
.av-track-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); }
.av-ruler-row { position: sticky; top: 0; z-index: 13; height: 30px; background: #0b1017; }
.av-track-row { height: 68px; border-top: 1px solid var(--av-line); }
.av-track-label { position: sticky; left: 0; z-index: 12; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; border-right: 1px solid var(--av-line); color: #6f8094; background: #0b1017; font: 700 9px/1.2 ui-monospace, monospace; }
.av-track-label strong { color: #b9c5d3; font-size: 11px; }
.av-track-label span { margin-top: 3px; }
.av-ruler { position: relative; min-width: calc(var(--av-duration, 30) * var(--av-px-per-second)); cursor: pointer; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px calc(var(--av-px-per-second) / 2)); }
.av-ruler-mark { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.27); padding: 4px 0 0 4px; color: #718196; font: 8px/1 ui-monospace, monospace; pointer-events: none; }
.av-track-lane { position: relative; min-width: calc(var(--av-duration, 30) * var(--av-px-per-second)); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px var(--av-px-per-second)); }
.av-track-row[data-track="V2"] .av-track-lane { background-color: rgba(135, 99, 211, .025); }
.av-track-row[data-track="A1"] .av-track-lane { background-color: rgba(45, 141, 112, .025); }
.av-timeline-clip { position: absolute; top: 8px; height: 50px; min-width: 10px; display: flex; align-items: stretch; border: 1px solid rgba(255,255,255,.22); border-radius: 4px; overflow: hidden; color: #ecf5ff; background: linear-gradient(135deg, #234f8d, #2d76a5); box-shadow: 0 4px 12px rgba(0,0,0,.25); cursor: grab; }
.av-timeline-clip[data-kind="image"] { background: linear-gradient(135deg, #4d4f9e, #7164b8); }
.av-timeline-clip[data-kind="audio"] { background: linear-gradient(135deg, #1d6254, #208269); }
.av-timeline-clip[data-kind="title"] { background: linear-gradient(135deg, #7049a6, #a366c2); }
.av-timeline-clip.is-missing { background: repeating-linear-gradient(135deg, #5a3037 0 9px, #3c242a 9px 18px); }
.av-timeline-clip.is-selected { border-color: #effaff; box-shadow: 0 0 0 2px var(--av-cyan), 0 5px 18px rgba(0,0,0,.4); z-index: 6; }
.av-timeline-clip:active { cursor: grabbing; }
.av-clip-body { min-width: 0; flex: 1; padding: 6px 8px; overflow: hidden; pointer-events: none; }
.av-clip-body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.av-clip-body span { display: block; margin-top: 3px; opacity: .72; font: 8px/1 ui-monospace, monospace; }
.av-trim-handle { width: 7px; flex: 0 0 7px; border: 0 !important; border-radius: 0 !important; padding: 0 !important; min-height: 0 !important; background: rgba(255,255,255,.16) !important; cursor: ew-resize !important; }
.av-trim-handle:hover { background: rgba(255,255,255,.4) !important; }
.av-playhead { position: absolute; z-index: 20; top: 0; bottom: 0; left: calc(88px + var(--av-playhead, 0) * var(--av-px-per-second)); width: 1px; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #ffc061 !important; box-shadow: 0 0 8px rgba(255,192,97,.55); cursor: ew-resize !important; }
.av-playhead span { position: absolute; top: 0; left: -6px; width: 13px; height: 9px; background: #ffc061; clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%); }
.av-statusbar { min-height: 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 12px; padding: 0 12px; border-top: 1px solid var(--av-line); color: #637489; background: #0b1017; font-size: 9px; }
.av-statusbar span:nth-child(2) { text-align: center; color: #94a8bc; }
.av-statusbar span:last-child { text-align: right; }
.av-editor-notice { display: flex; gap: 15px; align-items: center; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--av-line); color: #77879a; background: #090d13; font-size: 10px; }
.av-editor-notice strong { color: #b9c6d5; }
.av-editor-notice a { margin-left: auto; color: var(--av-cyan); white-space: nowrap; }
.av-render-dialog { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(0,0,0,.74); backdrop-filter: blur(7px); }
.av-render-dialog[hidden] { display: none; }
.av-render-card { width: min(520px, 100%); padding: 34px; border: 1px solid rgba(103,215,255,.35); border-radius: 12px; background: #0d131c; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.av-render-card > span { color: var(--av-cyan); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .15em; }
.av-render-card h2 { margin: 15px 0 8px; font-size: 30px; }
.av-render-card p { color: var(--av-muted); }
.av-render-card progress { width: 100%; height: 12px; margin: 15px 0 22px; accent-color: var(--av-cyan); }

@media (max-width: 1120px) {
  .av-hero { grid-template-columns: 1fr; padding-top: 75px; }
  .av-editor-visual { max-width: 900px; transform: none; }
  .av-step-grid { grid-template-columns: 1fr 1fr; }
  .av-step-grid li:nth-child(2) { border-right: 0; }
  .av-step-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--av-line); }
  .av-feature-grid { grid-template-columns: 1fr 1fr; }
  .av-license-section { grid-template-columns: 1fr 380px; gap: 50px; }
}
@media (max-width: 760px) {
  .av-site-header { padding: 0 16px; gap: 12px; }
  .av-site-header nav { display: none; }
  .av-header-action { margin-left: auto; }
  .av-hero { min-height: auto; padding: 75px 20px 55px; }
  .av-hero h1 { font-size: clamp(43px, 14vw, 68px); }
  .av-editor-visual { display: none; }
  .av-signal-strip { grid-template-columns: 1fr 1fr; border: 0; }
  .av-signal-strip > div { min-height: 100px; padding: 20px; border-bottom: 1px solid var(--av-line); }
  .av-signal-strip > div:nth-child(2) { border-right: 0; }
  .av-section { padding: 80px 20px; border-inline: 0; }
  .av-section-heading { margin-bottom: 40px; }
  .av-step-grid,
  .av-feature-grid,
  .av-license-section,
  .av-catalog-card { grid-template-columns: 1fr; }
  .av-step-grid li { border-right: 0; border-bottom: 1px solid var(--av-line); }
  .av-step-grid li:last-child { border-bottom: 0; }
  .av-feature-grid { gap: 1px; }
  .av-license-section { gap: 38px; }
  .av-price-card { padding: 26px; }
  .av-price strong { font-size: 60px; }
  .av-catalog-card { padding: 18px; }
  .av-catalog-preview { min-height: 210px; }
  .av-footer { flex-direction: column; padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .av-page *, .av-page *::before, .av-page *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .av-editor-visual { transform: none; }
}
