.jmd-director { --jmd-assets-width: 248px; --jmd-inspector-width: 300px; position: absolute; z-index: 300; inset: 0; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; outline: none; background: #171717; color: #a9a9b0; font: 10px/16px "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; text-align: left; }
.jmd-director *, .jmd-director *::before, .jmd-director *::after { box-sizing: border-box; }
.jmd-director [hidden] { display: none !important; }
.jmd-director button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 0; height: 28px; padding: 5px 8px; margin: 0; border: 0; border-radius: 5px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.jmd-director button svg { display: block; flex: 0 0 16px; width: 16px; max-width: 16px; height: 16px; max-height: 16px; }
.jmd-director svg { display: block; flex: 0 0 14px; width: 14px; height: 14px; }
.jmd-director button:hover { background: #ffffff0a; color: #ededf0; }
.jmd-director button:disabled { color: #5e5e65; opacity: .6; cursor: not-allowed; }
.jmd-director button:disabled:hover { background: transparent; }
.jmd-director :is(button, input, select, summary, [tabindex]):focus-visible { outline: 1px solid #a2bfc2; outline-offset: 2px; }
.jmd-director :is(input, select) { min-width: 0; min-height: 0; margin: 0; border: 1px solid transparent; border-radius: 4px; background: #272729; color: #c9c9ce; font: inherit; color-scheme: dark; }
.jmd-director input[aria-invalid="true"] { border-color: #c58671; box-shadow: 0 0 0 1px #c5867133; }
.jmd-director :is(input, select):disabled { color: #65656e; cursor: not-allowed; opacity: .65; }
.jmd-director input::placeholder { color: #686871; opacity: 1; }
.jmd-director input::-webkit-inner-spin-button, .jmd-director input::-webkit-outer-spin-button { opacity: .35; }
.jmd-director .jmd-header { position: relative; z-index: 10; display: flex; flex: 0 0 42px; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: 42px; padding: 0 12px; border-bottom: 1px solid #ffffff04; background: #191919; }
.jmd-director .jmd-brand, .jmd-director .jmd-header-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jmd-director .jmd-brand strong { color: #d7d7dd; font-size: 12px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.jmd-director .jmd-brand button, .jmd-director .jmd-header-actions button { flex: 0 0 28px; width: 28px; padding: 6px; }
.jmd-director .jmd-brand button { color: #777780; }
.jmd-director .jmd-modes { position: absolute; top: 7px; left: 50%; display: flex; align-items: center; height: 28px; padding: 0; transform: translateX(-50%); border: 1px solid #ffffff04; border-radius: 6px; background: #141414; }
.jmd-director .jmd-modes button { height: 28px; padding: 5px 12px; border-radius: 4px; color: #74747d; font-size: 11px; line-height: 16.5px; font-weight: 500; white-space: nowrap; }
.jmd-director .jmd-modes button.is-active { background: #28282b; color: #ededf0; font-weight: 500; }
.jmd-director .jmd-header-actions { gap: 4px; }
.jmd-director .jmd-header-actions button { flex-basis: 32px; width: 32px; height: 32px; border: 1px solid #ffffff05; background: #151515; color: #7f7f87; }
.jmd-director .jmd-header-actions .jmd-close { flex-basis: 32px; width: 32px; height: 32px; margin-left: 8px; border: 0; background: transparent; font-size: 11px; line-height: 16.5px; }
.jmd-director .jmd-header-actions .jmd-dynamic-export { flex: 0 0 auto; width: auto; min-width: 80px; height: 32px; padding: 6px 12px; font-size: 11px; line-height: 16.5px; white-space: nowrap; }
.jmd-director .jmd-layout { position: relative; display: flex; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; }
.jmd-director .jmd-assets { position: absolute; z-index: 6; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: var(--jmd-assets-width); min-width: 0; min-height: 0; overflow: hidden; border-right: 1px solid #ffffff05; background: #191919; }
.jmd-director .jmd-panel-heading { display: flex; flex: 0 0 40px; align-items: center; height: 40px; padding: 0 12px; margin: 0; border-bottom: 1px solid #ffffff04; color: #cacad0; font-size: 12px; line-height: 18px; font-weight: 500; }
.jmd-director .jmd-objects > .jmd-panel-heading { line-height: 20px; }
.jmd-director .jmd-categories { display: flex; flex: 0 0 39px; align-items: stretch; justify-content: space-around; height: 39px; padding: 0 8px; border-bottom: 1px solid #ffffff06; }
.jmd-director .jmd-categories button { position: relative; flex: 1 1 0; height: 39px; padding: 12px 8px; border-radius: 0; color: #777780; font-size: 10px; line-height: 15px; }
.jmd-director .jmd-categories button.is-active { color: #d3d3d9; }
.jmd-director .jmd-categories button.is-active::after { content: ""; position: absolute; right: 5px; bottom: 0; left: 5px; height: 2px; border-radius: 2px; background: #d1d1d7; }
.jmd-director .jmd-search { display: flex; flex: 0 0 32px; align-items: center; gap: 8px; height: 32px; padding: 0 9px; margin: 12px 12px 8px; border: 1px solid #ffffff04; border-radius: 7px; background: #242424; color: #686871; }
.jmd-director .jmd-search input { flex: 1 1 auto; width: 100%; height: 16.5px; padding: 0; border: 0; outline: none; background: transparent; font-size: 11px; line-height: 16.5px; }
.jmd-director .jmd-search:focus-within { border-color: #9ab9bc; }
.jmd-director .jmd-filters { display: flex; flex: 0 0 28px; align-items: center; gap: 4px; height: 28px; padding: 0 12px; }
.jmd-director .jmd-filters button { height: 24px; padding: 4px 9px; border-radius: 6px; color: #777780; }
.jmd-director .jmd-filters button.is-active { background: #303033; color: #d9d9df; }
.jmd-director .jmd-assets-label { flex: 0 0 auto; padding: 0 12px; margin: 16px 0 8px; color: #72727a; font-size: 10px; line-height: 16px; }
.jmd-director .jmd-add-character { display: flex; flex: 0 0 32px; justify-content: center; height: 32px; padding: 7px 10px; margin: 0 12px 6px; border: 1px solid #ffffff04; border-radius: 6px; background: #242424; color: #b8b8c0; }
.jmd-director .jmd-add-character svg { width: 12px; height: 12px; flex-basis: 12px; }
.jmd-director .jmd-asset-grid { display: grid; flex: 1 1 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: min-content; align-content: start; gap: 8px; min-height: 0; padding: 0 12px 16px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ffffff19 transparent; }
.jmd-director .jmd-asset-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: 100%; height: 130px; padding: 7px; border: 1px solid #ffffff04; border-radius: 10px; background: #232323; text-align: left; }
.jmd-director .jmd-asset-card:hover { border-color: #ffffff21; background: #292929; }
.jmd-director .jmd-asset-thumbnail { display: block; flex: 0 0 70px; width: 100%; height: 70px; margin: 0 0 7px; border-radius: 5px; background: #080808; object-fit: contain; }
.jmd-director .jmd-asset-card strong, .jmd-director .jmd-asset-card small { display: block; width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jmd-asset-card strong { color: #bfc0c7; font-size: 10px; line-height: 17px; font-weight: 500; }
.jmd-director .jmd-asset-card small { color: #6f6f79; font-size: 9px; line-height: 14px; }
.jmd-director .jmd-asset-add { grid-column: 1 / -1; width: 100%; min-height: 34px; height: auto; padding: 8px; border: 1px solid #ffffff09; border-radius: 6px; background: #242424; }
.jmd-director .jmd-assets-pending { grid-column: 1 / -1; padding: 8px 0; margin: 0; color: #777780; font-size: 10px; line-height: 18px; }
.jmd-director.has-geometry-assets { --jmd-assets-width: 248px; }
.jmd-director .jmd-close-assets { flex: 0 0 32px; width: 32px; height: 32px; margin-left: auto; padding: 8px; }
.jmd-director .jmd-close-assets svg { width: 15px; height: 15px; flex-basis: 15px; }
.jmd-director .jmd-open-assets { position: absolute; z-index: 8; top: 64px; left: 12px; width: 40px; height: 40px; border: 1px solid #ffffff0a; border-radius: 8px; background: #222; }
.jmd-director .jmd-assets.is-geometry-panel > .jmd-panel-heading { flex-basis: 48px; height: 48px; }
.jmd-director .is-geometry-panel .jmd-categories { flex-basis: 44px; height: 44px; padding: 4px 8px 0; }
.jmd-director .is-geometry-panel .jmd-categories button { height: 40px; }
.jmd-director .is-geometry-panel .jmd-search { flex-basis: 36px; height: 36px; margin: 12px 12px 0; border-radius: 8px; }
.jmd-director .is-geometry-panel .jmd-filters { flex-basis: 44px; height: 44px; padding: 12px 12px 4px; }
.jmd-director .is-geometry-panel .jmd-filters button { height: 28px; padding: 6px 9px; }
.jmd-director .jmd-asset-grid.is-geometry-assets { padding-top: 12px; scrollbar-width: none; }
.jmd-director .jmd-asset-grid.is-geometry-assets::-webkit-scrollbar { display: none; }
.jmd-director .jmd-asset-section-heading { grid-column: 1 / -1; margin: 4px 0 0; color: #777780; font-size: 10px; line-height: 16px; font-weight: 400; }
.jmd-director .jmd-asset-grid .jmd-geometry-card { height: auto; padding: 6px; overflow: hidden; border-radius: 12px; }
.jmd-director .jmd-geometry-card .jmd-geometry-thumbnail { display: block; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; background: #171717; object-fit: contain; }
.jmd-director .jmd-geometry-card strong { padding: 0 4px; margin-top: 8px; font-size: 11px; line-height: 16px; font-weight: 500; }
.jmd-director .jmd-geometry-card small { padding: 0 4px 4px; margin-top: 2px; font-size: 10px; line-height: 16px; }
.jmd-director .jmdp-dimensions-note { margin: 0 0 12px; color: #777780; font-size: 10px; line-height: 16px; }
.jmd-director .jmdp-background-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 18px; }
.jmd-director .jmdp-background-modes .jmdp-button { width: 100%; min-width: 0; height: 32px; min-height: 32px; margin: 0; padding: 6px 8px; border: 1px solid #ffffff08; border-radius: 6px; background: #242424; font-size: 11px; }
.jmd-director .jmdp-background-modes .jmdp-button[aria-pressed="true"] { border-color: #ffffff1a; background: #363638; color: #ededf0; }
.jmd-director .jmd-background-card[aria-busy="true"] { border-color: #8dbfc2; opacity: .7; }
.jmd-director .jmd-background-add-menu { position: absolute; z-index: 20; width: 248px; max-width: calc(100% - 16px); padding: 8px; overflow: hidden; border: 1px solid #ffffff0d; border-radius: 12px; background: #242424; box-shadow: 0 8px 24px #0006; }
.jmd-director .jmd-background-add-menu > header { display: flex; align-items: center; justify-content: space-between; min-height: 24px; margin-bottom: 6px; }
.jmd-director .jmd-background-add-menu strong { font-size: 9px; line-height: 14px; font-weight: 500; color: #8f8f99; }
.jmd-director .jmd-background-add-menu > header button { flex: 0 0 24px; width: 24px; height: 24px; padding: 5px; }
.jmd-director .jmd-background-add-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.jmd-director .jmd-background-add-choices > button { justify-content: flex-start; min-height: 36px; height: auto; padding: 8px; border-radius: 8px; background: #ffffff06; color: #c4c4cc; font-size: 11px; line-height: 18px; }
.jmd-director .jmd-background-add-choices > button:hover { background: #ffffff12; }
.jmd-director .jdp-overlay { position: fixed; z-index: 40; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; padding: 16px; background: #0009; }
.jmd-director .jdp-dialog { display: flex; flex-direction: column; width: 980px; min-width: 0; height: 648px; max-width: 100%; max-height: 100%; overflow: hidden; outline: none; border: 1px solid #ffffff0d; border-radius: 16px; background: #1d1d1f; color: #c8c8d0; font-size: 12px; line-height: 18px; box-shadow: 0 24px 80px #0008; }
.jmd-director .jdp-header { display: flex; flex: 0 0 56px; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px 0 24px; border-bottom: 1px solid #ffffff08; }
.jmd-director .jdp-header h2 { margin: 0; color: #eeeeef; font-size: 16px; line-height: 24px; font-weight: 500; }
.jmd-director .jdp-close { width: 28px; height: 28px; padding: 0; font-size: 0; }
.jmd-director .jdp-close::before { content: '×'; font-size: 22px; line-height: 28px; }
.jmd-director .jdp-library { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; padding: 12px 20px; overflow-y: auto; scrollbar-gutter: stable; }
.jmd-director .jdp-intro { flex: 0 0 0; height: 0; }
.jmd-director .jdp-intro :is(h3,p), .jmd-director .jdp-tabs { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jmd-director .jdp-edit-pose { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jmd-director .jdp-edit-pose:focus-visible { z-index: 2; top: 12px; right: 24px; width: auto; height: 28px; margin: 0; padding: 5px 8px; clip-path: none; background: #343438; }
.jmd-director .jdp-controls { position: relative; display: flex; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; padding: 0; margin-bottom: 20px; }
.jmd-director .jdp-tabs { display: flex; align-items: center; gap: 4px; }
.jmd-director .jdp-tabs:focus-within { z-index: 3; top: 2px; right: 4px; width: auto; height: 36px; padding: 4px; margin: 0; overflow: visible; clip-path: none; background: #262628; border-radius: 6px; }
.jmd-director .jdp-tabs button { height: 28px; padding: 5px 10px; border-radius: 6px; color: #868691; font-size: 11px; }
.jmd-director .jdp-tabs button[aria-selected='true'] { background: #ffffff0d; color: #e2e2e7; }
.jmd-director .jdp-search { flex: 0 0 40px; width: 100%; height: 40px; padding: 10px 12px; border: 1px solid #ffffff08; border-radius: 8px; background: #262628; font-size: 11px; }
.jmd-director .jdp-new { flex: 0 0 32px; width: 100%; height: 32px; padding: 6px 10px; border: 1px solid #ffffff0c; border-radius: 6px; font-size: 11px; }
.jmd-director .jdp-grid { display: grid; flex: 0 0 auto; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: min-content; align-content: start; align-items: start; gap: 12px; min-height: min-content; }
.jmd-director .jdp-motion-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: 100%; height: max-content; padding: 12px; overflow: hidden; border: 1px solid #ffffff08; border-radius: 16px; background: #272729; text-align: left; }
.jmd-director .jdp-motion-card[aria-pressed='true'] { border-color: #a3bdc0; background: #303336; }
.jmd-director .jdp-motion-thumbnail { display: block; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; background: #111; }
.jmd-director .jdp-motion-card strong { margin-top: 8px; overflow: hidden; color: #d9d9df; font-size: 12px; line-height: 18px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jdp-motion-card > span { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #85858d; font-size: 10px; line-height: 16px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jmd-director .jdp-local-note { flex: 0 0 auto; margin: 6px 0 0; color: #757580; font-size: 9px; line-height: 12px; }
.jmd-director .jdp-empty { grid-column: 1 / -1; padding: 40px 16px; margin: 0; color: #85858f; text-align: center; }
.jmd-director .jdp-footer { position: relative; display: flex; flex: 0 0 232px; align-items: flex-start; gap: 16px; min-height: 0; padding: 20px 34px 14px 20px; border-top: 1px solid #ffffff0a; background: #19191b; }
.jmd-director .jdp-initial { display: grid; flex: 1 1 auto; align-self: stretch; place-items: center; margin: 0; color: #898994; }
.jmd-director .jdp-initial-close { position: absolute; right: 24px; bottom: 20px; min-width: 64px; padding: 6px 12px; border: 1px solid #ffffff0d; background: #2b2b2f; }
.jmd-director .jdp-preview-column { flex: 0 0 320px; width: 320px; }
.jmd-director .jdp-preview-heading { height: 16px; margin: 0; color: #9898a4; font-size: 11px; line-height: 16px; font-weight: 500; }
.jmd-director .jdp-preview { display: block; width: 320px; height: 180px; border-radius: 10px; background: #0d0d0f; }
.jmd-director .jdp-frame-details { display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; min-height: 180px; padding-top: 42px; }
.jmd-director .jdp-frame-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.jmd-director .jdp-motion-name { margin: 0; color: #dedee3; font-size: 12px; line-height: 18px; font-weight: 500; }
.jmd-director .jdp-frame-label { display: block; color: #9898a4; font-size: 11px; line-height: 18px; }
.jmd-director .jdp-frame-range { display: block; width: 100%; height: 20px; margin: 6px 0; padding: 0; accent-color: #dadadd; cursor: ew-resize; }
.jmd-director .jdp-description { margin: 0; color: #a2a2ab; font-size: 11px; line-height: 18px; }
.jmd-director .jdp-sample-note { margin: 4px 0 0; color: #777782; font-size: 9px; line-height: 12px; }
.jmd-director .jdp-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 9px; }
.jmd-director .jdp-actions button { min-width: 80px; height: 36px; padding: 8px 12px; border: 1px solid #ffffff0d; background: #2b2b2f; font-size: 11px; }
.jmd-director .jdp-actions .jdp-apply { background: #e4e4e8; color: #252529; }
@media (max-width: 760px) { .jmd-director .jdp-overlay { position: fixed; padding: 8px; } .jmd-director .jdp-dialog { height: calc(100dvh - 16px); } .jmd-director .jdp-library { padding: 12px; } .jmd-director .jdp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .jmd-director .jdp-footer { flex-basis: auto; max-height: 45dvh; gap: 12px; padding: 12px; overflow: auto; } .jmd-director .jdp-preview-column { flex-basis: 40%; width: 40%; } .jmd-director .jdp-preview { width: 100%; height: auto; aspect-ratio: 16 / 9; } .jmd-director .jdp-frame-details { min-height: 180px; padding-top: 0; } .jmd-director .jdp-frame-header { align-items: flex-start; flex-direction: column; gap: 0; } }
@media (max-height: 600px) {
  .jmd-director .jdp-dialog { overflow-y: auto; }
  .jmd-director .jdp-header { position: sticky; z-index: 2; top: 0; background: #1d1d1f; }
  .jmd-director .jdp-library { flex: 0 0 auto; min-height: 360px; }
  .jmd-director .jdp-grid { flex: 0 0 auto; min-height: 224px; max-height: 320px; }
  .jmd-director .jdp-footer { flex: 0 0 auto; min-height: 232px; max-height: none; overflow: visible; }
}
.jmd-director .jmd-stage { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; background: #171717; }
.jmd-director .jmd-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; outline: none; touch-action: none; cursor: grab; }
.jmd-director .jmd-canvas.is-dragging { cursor: grabbing; }
.jmd-director .jmd-canvas.is-placing { cursor: crosshair; }
.jmd-director .jmd-tools { position: absolute; z-index: 3; top: 12px; left: calc(var(--jmd-assets-width) + 12px); display: flex; flex-direction: column; gap: 2px; width: 40px; padding: 4px; border: 1px solid #ffffff08; border-radius: 9px; background: #1e1e1eed; box-shadow: 0 4px 12px #0002; }
.jmd-director .jmd-tools button { position: relative; flex: 0 0 30px; width: 30px; height: 30px; padding: 7px; color: #7f7f89; }
.jmd-director .jmd-tools button.is-active { background: #ffffff0c; color: #d6d6dd; }
.jmd-director .jmd-tools button[data-tool]::after { position: absolute; right: 2px; bottom: -1px; color: #676770; font-size: 8px; line-height: 10px; }
.jmd-director .jmd-tools button[data-tool="select"]::after { content: "0"; }
.jmd-director .jmd-tools button[data-tool="move"]::after { content: "1"; }
.jmd-director .jmd-tools button[data-tool="rotate"]::after { content: "2"; }
.jmd-director .jmd-tools button[data-tool="scale"]::after { content: "3"; }
.jmd-director .jmd-camera-preview { position: absolute; z-index: 3; top: 16px; right: 16px; width: 320px; max-width: calc(100% - 80px); overflow: hidden; border: 1px solid #ffffff12; border-radius: 12px; background: #101010; box-shadow: 0 4px 14px #0004; }
.jmd-director .jmd-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 26px; padding: 0 6px 0 10px; background: #131313; color: #b4b4bd; }
.jmd-director .jmd-preview-header button { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border: 1px solid #ffffff08; background: #222222; }
.jmd-director .jmd-preview-header button svg { width: 12px; height: 12px; flex-basis: 12px; }
.jmd-director .jmd-preview-canvas { display: block; width: 100%; height: 180px; background: #171717; }
.jmd-director .jmd-views { position: absolute; z-index: 3; bottom: 16px; left: 50%; display: flex; align-items: center; gap: 6px; height: 34px; max-width: calc(100% - 28px); padding: 0 10px; transform: translateX(-50%); border: 1px solid #ffffff08; border-radius: 7px; background: #191919e8; color: #8e8e98; }
.jmd-director .jmd-views select { width: 98px; max-width: 100%; height: 28px; padding: 3px 0; border: 0; background: transparent; color: #c1c1c9; font-size: 10px; }
.jmd-director .jmd-inspector { display: flex; flex: 0 0 var(--jmd-inspector-width); flex-direction: column; width: var(--jmd-inspector-width); min-width: 0; min-height: 0; overflow: hidden; border-left: 1px solid #ffffff07; background: #191919; }
.jmd-director .jmd-objects { display: flex; flex: 0 0 45%; flex-direction: column; min-height: 100px; overflow: hidden; border-bottom: 1px solid #ffffff07; }
.jmd-director .jmd-object-search { flex: 0 0 36px; width: calc(100% - 24px); height: 36px; padding: 9px 10px; margin: 12px 12px 8px; border: 1px solid #ffffff03; border-radius: 7px; background: #292929; font-size: 11px; line-height: 16.5px; }
.jmd-director .jmd-object-list { flex: 1 1 auto; min-height: 0; padding: 0 8px 12px; overflow: auto; scrollbar-width: thin; scrollbar-color: #ffffff1c transparent; }
.jmd-director .jmd-object-group { min-width: 0; }
.jmd-director .jmd-object-group h3 { display: flex; align-items: center; height: 24px; padding: 0 6px; margin: 5px 0 1px; color: #c5c5cd; font-size: 10px; line-height: 18px; font-weight: 500; }
.jmd-director .jmd-object-item { display: flex; align-items: center; gap: 0; min-width: 0; height: 30px; border-radius: 5px; }
.jmd-director .jmd-object-item:has(> .jmd-object-row.is-selected) { background: #303034; }
.jmd-director .jmd-object-row { flex: 1 1 auto; justify-content: flex-start; height: 28px; padding: 6px 5px 6px 14px; overflow: hidden; color: #85858e; text-align: left; }
.jmd-director .jmd-object-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jmd-object-row svg { color: #666670; }
.jmd-director .jmd-object-row.is-selected { color: #dedee4; }
.jmd-director .jmd-object-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 0; opacity: .45; }
.jmd-director .jmd-object-actions button { flex: 0 0 21px; width: 21px; height: 24px; padding: 4px; color: #9a9aa4; }
.jmd-director .jmd-object-actions button svg { width: 13px; height: 13px; flex-basis: 13px; }
.jmd-director .jmd-object-actions button[aria-pressed="true"] { color: #d4d4de; background: #ffffff0b; }
.jmd-director .jmd-object-item:hover .jmd-object-actions, .jmd-director .jmd-object-item:focus-within .jmd-object-actions { opacity: 1; }
.jmd-director .jmd-properties { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; }
.jmd-director .jmd-property-content { flex: 1 1 auto; min-height: 0; padding: 0 12px 20px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #5c5c65 transparent; }
.jmd-director .jmd-property-heading { padding: 0; margin: 12px 0 6px; color: #777780; font-size: 10px; line-height: 16px; font-weight: 400; }
.jmd-director .jmd-property-subheading { padding: 0; margin: 18px 0 8px; color: #b8b8c1; font-size: 10px; line-height: 15px; font-weight: 500; }
.jmd-director .jmd-environment-name { display: flex; align-items: center; height: 32px; padding: 7px 10px; margin: 0 0 22px; border-radius: 5px; background: #272727; color: #c8c8cf; }
.jmd-director .jmd-field { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 0 8px; margin: 0 0 7px; border: 1px solid transparent; border-radius: 5px; background: #272727; }
.jmd-director .jmd-field > span { flex: 0 1 auto; max-width: 65%; min-width: 0; overflow: hidden; color: #93939d; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jmd-field > input { flex: 1 1 0; width: 0; height: 30px; padding: 5px 0; border: 0; outline: none; background: transparent; color: #c9c9d1; text-align: left; }
.jmd-director .jmd-field:focus-within { border-color: #91adaf; }
.jmd-director .jmd-field:has(input[aria-invalid="true"]) { border-color: #be816b; }
.jmd-director .jmd-field:has(input[type="color"]) { min-height: 34px; padding: 0; border: 0; background: transparent; }
.jmd-director .jmd-field:has(input[type="color"]) > span:first-child { flex: 1 1 auto; }
.jmd-director .jmd-field > input[type="color"] { flex: 0 0 24px; width: 24px; height: 24px; padding: 0; overflow: hidden; border: 1px solid #ffffff08; border-radius: 5px; background: transparent; cursor: pointer; }
.jmd-director input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.jmd-director input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 4px; }
.jmd-director .jmd-field > .jmd-color-hex, .jmd-director .jmd-field > .jmd-color-value { display: flex; flex: 0 0 80px; align-items: center; width: 80px; height: 32px; padding: 7px 8px; border: 1px solid #ffffff03; border-radius: 4px; background: #272727; color: #c2c2cb; font: 10px/15px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }
.jmd-director .jmd-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin: 0 0 7px; padding: 0; color: #93939d; }
.jmd-director .jmd-toggle input[type="checkbox"] { position: relative; flex: 0 0 28px; width: 28px; height: 16px; padding: 0; appearance: none; border: 1px solid #65656d; border-radius: 20px; background: #39393e; cursor: pointer; }
.jmd-director .jmd-toggle input[type="checkbox"]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #b3b3ba; transition: transform .12s ease; }
.jmd-director .jmd-toggle input[type="checkbox"]:checked { border-color: #efeff2; background: #efeff2; }
.jmd-director .jmd-toggle input[type="checkbox"]:checked::after { transform: translateX(12px); background: #202023; }
.jmd-director .jmd-property-tabs { display: flex; gap: 3px; height: 32px; margin: 10px 0 12px; padding: 3px; border-radius: 6px; background: #242424; }
.jmd-director .jmd-property-tabs button { flex: 1 1 auto; height: 26px; padding: 4px 10px; color: #80808b; }
.jmd-director .jmd-property-tabs button.is-active { background: #333336; color: #d2d2da; }
.jmd-director .jmd-property-content > button { min-height: 28px; height: auto; margin: 0 6px 8px 0; padding: 6px 8px; border: 1px solid #ffffff08; border-radius: 5px; background: #252525; }
.jmd-director .jmd-property-content > .jmd-delete { width: 100%; margin-top: 12px; color: #c88e83; }
.jmd-director .jmd-pose-pending { margin: 8px 0; border-top: 1px solid #ffffff07; color: #9898a3; }
.jmd-director .jmd-pose-pending summary { display: list-item; min-height: 30px; padding: 7px 0; cursor: pointer; }
.jmd-director .jmd-pose-pending p { margin: 0 0 8px; padding: 0; color: #74747e; font-size: 10px; line-height: 17px; }
.jmd-director .jmd-status { position: absolute; z-index: 4; bottom: 10px; left: calc(var(--jmd-assets-width) + 60px); width: min(400px, max(0px, calc((100% - var(--jmd-assets-width) - var(--jmd-inspector-width)) / 2 - 140px))); max-height: 36px; padding: 2px 5px; margin: 0; overflow: hidden; border-radius: 3px; background: #10101066; color: #777780; font-size: 9px; line-height: 13px; pointer-events: none; }
.jmd-director .jmd-placement { position: absolute; z-index: 7; bottom: 66px; left: 50%; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 100px); min-height: 42px; padding: 8px 10px 8px 14px; transform: translateX(-50%); border: 1px solid #ffffff17; border-radius: 8px; background: #252525f5; box-shadow: 0 4px 14px #0005; }
.jmd-director .jmd-placement strong { overflow: hidden; color: #d3d3db; font-size: 11px; line-height: 18px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jmd-placement > span { color: #8c8c97; white-space: nowrap; }
.jmd-director .jmd-placement button { flex: 0 0 auto; height: 26px; padding: 5px 7px; border: 1px solid #ffffff0b; background: #303033; }
.jmd-director .jmd-placement button svg { width: 12px; height: 12px; flex-basis: 12px; }
.jmd-director .jmd-stage > .jmd-primitive-placement { top: 16px; bottom: auto; left: 50%; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; width: 680px; max-width: calc(100% - 32px); min-height: 54px; padding: 10px 12px; border-radius: 12px; background: #1b1b1bf5; }
.jmd-director .jmd-primitive-placement > svg { flex: 0 0 18px; width: 18px; height: 18px; }
.jmd-director .jmd-placement-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.jmd-director .jmd-placement-copy strong { color: #e1e1e5; font-size: 12px; line-height: 18px; font-weight: 600; }
.jmd-director .jmd-placement-copy > span { color: #8c8c97; font-size: 10px; line-height: 14px; }
.jmd-director .jmd-primitive-placement > button { height: 28px; padding: 5px 10px; border-radius: 8px; }
.jmd-director .jmd-help { position: absolute; z-index: 20; top: 50%; left: 50%; width: 360px; max-width: calc(100% - 32px); max-height: calc(100% - 80px); padding: 22px; transform: translate(-50%, -50%); overflow: auto; border: 1px solid #ffffff14; border-radius: 12px; background: #242424; box-shadow: 0 14px 45px #0008; color: #a4a4ae; }
.jmd-director .jmd-help h3 { margin: 0 28px 12px 0; color: #dedee5; font-size: 13px; line-height: 22px; font-weight: 500; }
.jmd-director .jmd-help p { margin: 0 0 10px; color: #a4a4ae; font-size: 11px; line-height: 19px; }
.jmd-director .jmd-help > button { position: absolute; top: 13px; right: 12px; width: 24px; height: 24px; padding: 5px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .jmd-director { --jmd-assets-width: 184px; --jmd-inspector-width: 236px; }
  .jmd-director.has-geometry-assets { --jmd-assets-width: 184px; }
  .jmd-director .jmd-camera-preview { width: 260px; right: 12px; }
  .jmd-director .jmd-preview-canvas { height: 146.25px; }
  .jmd-director .jmd-asset-grid { gap: 6px; padding-right: 8px; padding-left: 8px; }
  .jmd-director .jmd-asset-card { padding: 5px; }
  .jmd-director .jmd-object-actions button { flex-basis: 18px; width: 18px; padding: 3px; }
  .jmd-director .jmd-placement { flex-wrap: wrap; justify-content: center; gap: 4px 10px; max-width: calc(100% - 70px); }
  .jmd-director .jmd-status { bottom: 58px; left: calc(var(--jmd-assets-width) + 58px); width: min(320px, calc(100% - var(--jmd-assets-width) - var(--jmd-inspector-width) - 76px)); max-height: 40px; }
}
@media (max-width: 760px) {
  .jmd-director { overflow-y: auto; overflow-x: hidden; }
  .jmd-director .jmd-header { position: sticky; top: 0; flex: 0 0 76px; height: 76px; align-items: flex-start; padding: 5px 8px 0; }
  .jmd-director .jmd-brand, .jmd-director .jmd-header-actions { height: 32px; gap: 3px; }
  .jmd-director .jmd-brand strong { font-size: 11px; }
  .jmd-director .jmd-brand button { width: 24px; flex-basis: 24px; padding: 4px; }
  .jmd-director .jmd-modes { top: 41px; }
  .jmd-director .jmd-open-assets { top: 88px; }
  .jmd-director .jmd-header-actions .jmd-close { margin-left: 1px; }
  .jmd-director .jmd-layout { flex: 0 0 auto; flex-direction: column; min-height: calc(100% - 76px); overflow: visible; }
  .jmd-director .jmd-stage { order: -1; flex: 0 0 52dvh; width: 100%; min-height: 280px; height: 52dvh; }
  .jmd-director .jmd-tools { top: 10px; left: calc(var(--jmd-assets-width) + 8px); width: 36px; padding: 3px; }
  .jmd-director .jmd-tools button { width: 28px; height: 28px; flex-basis: 28px; padding: 6px; }
  .jmd-director .jmd-camera-preview { top: 12px; right: 12px; width: 160px; max-width: calc(100% - 74px); border-radius: 8px; }
  .jmd-director .jmd-preview-canvas { height: 90px; }
  .jmd-director .jmd-views { bottom: 12px; height: 30px; }
  .jmd-director .jmd-views select { height: 26px; }
  .jmd-director .jmd-assets { bottom: auto; width: min(248px, calc(100% - 64px)); height: min(360px, 52dvh); min-height: 0; border-top: 0; border-right: 1px solid #ffffff07; }
  .jmd-director .jmd-panel-heading { flex-basis: 34px; height: 34px; }
  .jmd-director .jmd-categories { flex-basis: 34px; height: 34px; }
  .jmd-director .jmd-categories button { height: 34px; padding: 8px; }
  .jmd-director .jmd-search { margin-top: 8px; margin-bottom: 4px; }
  .jmd-director .jmd-assets-label { margin-top: 6px; margin-bottom: 4px; }
  .jmd-director .jmd-add-character { flex-basis: 28px; height: 28px; margin-bottom: 0; }
  .jmd-director .jmd-asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .jmd-director .jmd-asset-card { height: 112px; padding: 5px; border-radius: 7px; }
  .jmd-director .jmd-asset-thumbnail { flex-basis: 57px; height: 57px; margin-bottom: 5px; }
  .jmd-director .jmd-inspector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); flex: 0 0 560px; width: 100%; height: 560px; border-top: 1px solid #ffffff07; border-left: 0; }
  .jmd-director .jmd-objects { height: 560px; min-height: 0; border-right: 1px solid #ffffff07; border-bottom: 0; }
  .jmd-director .jmd-properties { height: 560px; min-height: 0; }
  .jmd-director .jmd-status { position: static; flex: 0 0 auto; width: auto; max-height: none; margin: 0; padding: 8px 12px; border-radius: 0; background: #191919; font-size: 10px; line-height: 16px; }
  .jmd-director .jmd-placement { bottom: 54px; flex-wrap: wrap; justify-content: center; gap: 3px 8px; max-width: calc(100% - 72px); min-height: 38px; padding: 6px 8px; }
  .jmd-director .jmd-placement > span { font-size: 9px; }
}
@media (max-width: 520px) {
  .jmd-director .jmd-inspector { display: flex; flex-direction: column; flex-basis: 720px; height: 720px; }
  .jmd-director .jmd-objects { flex: 0 0 240px; height: 240px; border-right: 0; border-bottom: 1px solid #ffffff07; }
  .jmd-director .jmd-properties { flex: 1 1 auto; height: 480px; }
  .jmd-director .jmd-help { padding: 18px; }
}
/* Keep stage controls reachable while the narrow asset panel is open. */
@media (max-width: 464px) {
  .jmd-director:not(.is-assets-collapsed) .jmd-camera-preview { display: none; }
}
@media (prefers-reduced-motion: reduce) { .jmd-director *, .jmd-director *::before, .jmd-director *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.jmd-director .jmd-camera-tabs { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; height: 30px; padding: 3px; border-radius: 6px; background: #242424; }
.jmd-director .jmd-camera-tabs button { height: 24px; padding: 4px 8px; color: #80808b; }
.jmd-director .jmd-camera-tabs button.is-active { background: #343437; color: #d4d4dc; }
.jmd-director .jmd-camera-asset { align-items: center; text-align: center; }
.jmd-director .jmd-camera-asset > svg { flex: 0 0 16px; margin: 23px auto 18px; color: #a4a4ae; }
.jmd-director .jmd-camera-asset > span { width: 100%; overflow: hidden; color: #bfc0c7; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jmd-camera-asset > small { margin-top: 2px; }
.jmd-director.is-dynamic .jmd-layout { flex: 1 1 0; min-height: 0; }
.jmd-director.is-dynamic .jmd-status { bottom: 254px; }
.jmd-director .jmd-dynamic-timeline { position: relative; z-index: 6; display: flex; flex: 0 0 244px; flex-direction: column; min-width: 0; min-height: 0; height: 244px; overflow: hidden; border-top: 1px solid #ffffff0a; background: #1b1b1d; color: #94949f; }
.jmd-director .jmd-timeline-controls { display: flex; flex: 0 0 40px; align-items: center; gap: 12px; height: 40px; min-width: 0; padding: 0 12px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid #ffffff04; scrollbar-width: none; }
.jmd-director .jmd-timeline-controls::-webkit-scrollbar { display: none; }
.jmd-director .jmd-timeline-controls > button { flex: 0 0 28px; width: 28px; height: 28px; padding: 6px; }
.jmd-director .jmd-timeline-controls > button:last-of-type { flex-basis: auto; width: auto; min-width: 36px; padding-right: 6px; padding-left: 6px; }
.jmd-director .jmd-timeline-controls > label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; margin: 0; color: #94949f; white-space: nowrap; }
.jmd-director .jmd-timeline-controls input[type="checkbox"] { width: 13px; height: 13px; margin: 0; accent-color: #dddde4; }
.jmd-director .jmd-timeline-controls input[type="number"] { width: 48px; height: 24px; padding: 3px 6px; border: 1px solid #ffffff08; border-radius: 4px; background: #29292c; color: #c8c8d1; }
.jmd-director .jmd-timeline-controls > select { flex: 0 0 auto; height: 24px; padding: 3px 6px; border-color: #ffffff08; background: #29292c; }
.jmd-director .jmd-timeline-controls > .jmd-timeline-duration { flex: 0 0 48px; }
.jmd-director .jmd-timeline-controls > span, .jmd-director .jmd-timeline-controls > output { flex: 0 0 auto; color: #9f9fa9; font-size: 10px; line-height: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jmd-director .jmd-timeline-zoom { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 7px; margin-left: auto; color: #93939e; }
.jmd-director .jmd-timeline-controls > input[type="range"] { flex: 0 0 88px; width: 88px; }
.jmd-director .jmd-time-range { display: flex; flex: 0 0 20px; align-items: center; gap: 8px; min-width: 0; height: 20px; padding: 0 12px; margin: 0; color: #73737e; }
.jmd-director .jmd-time-range > span { flex: 0 0 140px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jmd-director .jmd-time-range > input[type="range"] { flex: 1 1 auto; width: 100%; min-width: 0; }
.jmd-director :is(.jmd-time-range, .jmd-timeline-controls) input[type="range"] { display: block; min-width: 0; height: 14px; padding: 0; border: 0; appearance: none; background: transparent; cursor: ew-resize; }
.jmd-director :is(.jmd-time-range, .jmd-timeline-controls) input[type="range"]::-webkit-slider-runnable-track { height: 2px; border: 0; border-radius: 2px; background: #5e5e69; }
.jmd-director :is(.jmd-time-range, .jmd-timeline-controls) input[type="range"]::-webkit-slider-thumb { width: 8px; height: 8px; margin-top: -3px; appearance: none; border: 0; border-radius: 50%; background: #dbdbe3; }
.jmd-director :is(.jmd-time-range, .jmd-timeline-controls) input[type="range"]::-moz-range-track { height: 2px; border: 0; border-radius: 2px; background: #5e5e69; }
.jmd-director :is(.jmd-time-range, .jmd-timeline-controls) input[type="range"]::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #dbdbe3; }
.jmd-director .jmd-timeline-scroll { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #50505a transparent; }
.jmd-director .jmd-timeline-ruler { position: relative; height: 24px; margin-left: 160px; border-bottom: 1px solid #ffffff08; color: #777782; font-size: 9px; line-height: 18px; font-variant-numeric: tabular-nums; }
.jmd-director .jmd-time-tick { position: absolute; top: 17px; width: 1px; height: 6px; border-left: 1px solid #ffffff12; color: inherit; white-space: nowrap; }
.jmd-director .jmd-time-tick.is-major { top: 0; height: 23px; padding-left: 4px; border-left-color: #ffffff1c; }
.jmd-director .jmd-timeline-tracks { min-width: 0; }
.jmd-director .jmd-timeline-track { display: flex; align-items: stretch; min-width: 0; height: 24px; min-height: 24px; border-bottom: 1px solid #ffffff06; }
.jmd-director .jmd-track-title { position: sticky; z-index: 2; left: 0; display: flex; flex: 0 0 160px; align-items: center; gap: 6px; width: 160px; min-width: 0; min-height: 24px; padding: 3px 12px; overflow: hidden; border-right: 1px solid #ffffff07; background: #1c1c1e; color: #8e8e9a; white-space: nowrap; text-overflow: ellipsis; }
.jmd-director .jmd-track-content { position: relative; flex: 0 0 auto; min-width: 0; height: 24px; background: #222225; }
.jmd-director .jmd-keyframe-add { position: absolute; inset: 0 auto 0 0; width: 24px; height: 24px; padding: 5px; border-radius: 0; color: #777781; }
.jmd-director .jmd-keyframe-add svg { width: 12px; height: 12px; flex-basis: 12px; }
.jmd-director .jmd-timeline-playhead { position: absolute; z-index: 3; top: 0; bottom: 0; width: 1px; background: #d5d5de; pointer-events: none; }
.jmd-director .jmd-timeline-playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 9px; height: 9px; border-radius: 2px 2px 0 0; background: #d5d5de; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.jmd-director .jmd-shot-board { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 6px 12px; overflow-x: auto; overflow-y: hidden; border-top: 1px solid #ffffff08; background: #19191b; scrollbar-width: thin; scrollbar-color: #50505a transparent; }
.jmd-director .jmd-shot-board > button { flex: 0 0 auto; height: 28px; padding: 5px 8px; border: 1px solid #ffffff09; background: #252528; color: #aaaab5; white-space: nowrap; }
.jmd-director .jmd-shot-board > strong { flex: 0 0 auto; color: #a5a5af; font-size: 10px; font-weight: 500; white-space: nowrap; }
.jmd-director .jmd-shot-board > select { flex: 0 0 auto; width: 100px; height: 28px; padding: 5px 6px; border-color: #ffffff09; background: #252528; }
.jmd-director .jmd-shot-list { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; min-width: 0; }
.jmd-director .jmd-shot-item { flex: 0 0 auto; height: 28px; padding: 5px 8px; border: 1px solid #ffffff09; background: #252528; color: #aaaab5; white-space: nowrap; }
.jmd-director .jmd-shot-item[aria-pressed="true"], .jmd-director .jmd-shot-item.is-selected { border-color: #9e9eaa; background: #3c3c42; color: #e0e0e8; }
.jmd-director .jmd-timeline-note { flex: 0 0 18px; height: 18px; padding: 1px 12px; margin: 0; overflow: hidden; color: #72727c; font-size: 9px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.jmd-director .jmd-action-menu { position: absolute; z-index: 20; width: 180px; max-width: calc(100% - 16px); padding: 6px; overflow: hidden; border: 1px solid #ffffff12; border-radius: 8px; background: #242426; box-shadow: 0 8px 24px #0006; color: #b7b7c0; }
.jmd-director .jmd-action-menu > button { display: block; width: 100%; height: 32px; padding: 6px 10px; border-radius: 4px; font-size: 11px; line-height: 20px; text-align: left; }
.jmd-director .jmd-action-menu > button:hover, .jmd-director .jmd-action-menu > button:focus-visible { outline-offset: -1px; background: #ffffff0c; color: #ededf0; }
.jmd-director .jmd-sync-overlay { position: absolute; z-index: 10; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: #0008; }
.jmd-director .jmd-sync-dialog { position: relative; display: flex; flex-direction: column; gap: 16px; width: 460px; max-width: 100%; max-height: calc(100% - 48px); padding: 24px; overflow: auto; border: 1px solid #ffffff10; border-radius: 12px; background: #252525; box-shadow: 0 12px 38px #0006; color: #aaaab4; font-size: 12px; line-height: 20px; }
.jmd-director .jmd-sync-dialog h2 { padding: 0 28px 0 0; margin: 0; color: #e0e0e7; font-size: 16px; line-height: 24px; font-weight: 500; }
.jmd-director .jmd-sync-dialog p { padding: 0; margin: 0; color: #a6a6b1; font-size: 12px; line-height: 21px; }
.jmd-director .jmd-sync-dialog label { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #92929e; font-size: 11px; line-height: 18px; }
.jmd-director .jmd-sync-dialog label input[type="checkbox"] { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 2px; padding: 0; accent-color: #e7e7ee; }
.jmd-director .jmd-sync-dialog > button { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; padding: 6px; }
.jmd-director .jmd-sync-dialog footer { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.jmd-director .jmd-sync-dialog footer button { flex: 0 0 auto; min-width: 72px; height: 32px; padding: 6px 12px; border: 1px solid #ffffff08; border-radius: 6px; background: #353538; color: #c1c1cb; }
.jmd-director .jmd-sync-dialog footer button:last-child { border-color: #e5e5eb; background: #e5e5eb; color: #27272a; }
.jmd-director .jmd-sync-dialog footer button:last-child:disabled { border-color: #ffffff08; background: #353538; color: #666670; opacity: .7; }
@media (max-width: 760px) {
  .jmd-director.is-dynamic .jmd-layout { flex: 0 0 auto; min-height: auto; }
  .jmd-director.is-dynamic .jmd-status { bottom: auto; }
  .jmd-director .jmd-dynamic-timeline { flex-basis: 244px; min-height: 244px; }
  .jmd-director .jmd-timeline-controls { gap: 8px; padding-right: 8px; padding-left: 8px; }
  .jmd-director .jmd-timeline-zoom { margin-left: 0; }
  .jmd-director .jmd-sync-overlay { position: fixed; padding: 16px; }
  .jmd-director .jmd-sync-dialog { padding: 20px; max-height: calc(100dvh - 32px); }
}

.jmd-director .jmd-gizmo-overlay { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (min-width: 761px) {
  .jmd-director .jmd-header { flex-basis: 52px; height: 52px; }
  .jmd-director .jmd-modes { top: 11px; }
}

.jmd-director .jmd-animation-marker { position:absolute;top:7px;width:18px;height:22px;padding:0;transform:translateX(-50%);color:#70d8d4;background:transparent;font-size:12px; }
.jmd-director .jmd-animation-marker:hover { color:#fff;background:#ffffff12; }
.jmd-director.is-assets-collapsed { --jmd-assets-width: 0px; }
.jmd-director.is-assets-collapsed .jmd-tools { top: 60px; }
