/* The Director demo: ClipMind's Director drawn at the app's own size (1512 by 862, the
   studio's viewport on a 14 inch laptop) and scaled to fit, so every measure below is the
   app's, read off the running page on 2026-11-18. */
@font-face { font-family: 'Inter'; src: url('assets/director/fonts/inter-variable-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Saira Condensed'; src: url('assets/director/fonts/saira-condensed-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('assets/director/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }

/* The two rooms are the app's own palettes (frontend/src/styles/app.css). The demo wears the
   page's: the site is light, so it opens light whatever the viewer's system is, and data-theme on
   the figure takes the dark room when they pick it. The picture sits on black in both, and the
   green does not change. */
.dd {
  --ground: #F5F5F5; --card: #FBFBFB; --card2: #FCFCFC; --chrome: #FFFFFF; --raise: #FFFFFF;
  --tray: color-mix(in srgb, var(--tx) 7%, var(--ground));
  --well: #F7F7F7; --pale: #E8E8E8; --line: #D6D6D6; --tx: #1A1A1A; --tx2: #595959; --tx3: #6A6A6A;
  --ink: #1C1C1C; --ink2: #5F5F5F; --sound: #1F7A69; --wash: 0, 0, 0; --needle: #1A1A1A; --track: #C9C9C9;
  --lift: 0 1px 2px rgba(0, 0, 0, .14), 0 6px 18px rgba(0, 0, 0, .1); --pop: 0 12px 36px rgba(0, 0, 0, .2);
  --cta: oklch(0.648 0.2 131.684); --ctatx: oklch(0.986 0.031 120.757); --on-cta: #141414;
  --change: #16a34a; --ease: cubic-bezier(.32, .72, 0, 1);
  --mono: 'IBM Plex Mono', ui-monospace, monospace; --mode-on: var(--raise);
  margin: 0;
}
.dd[data-theme='dark'] {
  --mode-on: color-mix(in oklch, var(--tx) 14%, var(--well));
  --ground: #0E0E0E; --card: #1B1B1B; --card2: #1F1F1F; --chrome: #222222; --raise: #2A2A2A;
  --well: #252525; --pale: #2E2E2E; --line: #2C2C2C; --tx: #E8E8E8; --tx2: #A3A3A3; --tx3: #8A8A8A;
  --ink: #E6E6E6; --ink2: #9B9B9B; --sound: #2F8F7C; --wash: 255, 255, 255; --needle: #F2F2F2; --track: #3B3B3B;
  --lift: 0 1px 2px rgba(0, 0, 0, .6), 0 6px 18px rgba(0, 0, 0, .35); --pop: 0 12px 36px rgba(0, 0, 0, .6);
}
/* The footage's complete credits and hashtags, which Cinestudy asks of anyone who shows a version
   of its EDIT THIS footage, on screen or in the description. This is the demo's description, folded
   as YouTube folds one: who shot it stays in view, and the whole text is in the page (2026-11-18). */
.dd-credit { max-width: 1208px; margin: 14px auto 0; color: #6a6d66; font-size: 11px; line-height: 1.6; text-align: center; }
.dd-credit summary { display: inline-block; cursor: pointer; list-style: none; padding: 2px 6px; border-radius: 6px; }
.dd-credit summary::-webkit-details-marker { display: none; }
.dd-credit summary:hover { color: #20221f; }
.dd-credit summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.dd-credit p { max-width: 760px; margin: 6px auto 0; }
.dd-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* In the page's hero, which centres its text: the app inside is laid out as the app is. */
figure.dd { margin: 40px auto 0; max-width: 1208px; text-align: left; }
/* The figure is empty until director.js mounts the app, which a module does after the first
   paint; without its height then, the demo popped in and pushed the page down (the owner,
   2026-11-19). It holds the frame's shape and look from the first paint, so the mount changes
   nothing around it. */
figure.dd:empty { aspect-ratio: 1512 / 862; border-radius: 14px; background: var(--ground);
  box-shadow: 0 30px 80px rgba(20, 12, 40, .35), 0 0 0 1px rgba(var(--wash), .08); }
.dd-view {
  position: relative; width: 100%; aspect-ratio: 1512 / 862; overflow: hidden;
  border-radius: 14px; background: var(--ground);
  box-shadow: 0 30px 80px rgba(20, 12, 40, .35), 0 0 0 1px rgba(var(--wash), .08);
}
.dd-app {
  position: absolute; left: 0; top: 0; width: 1512px; height: 862px; transform-origin: 0 0;
  transform: scale(var(--k, .5));
  background: var(--ground); color: var(--tx);
  font: 13.5px/1.5 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  user-select: none; cursor: default; overflow: hidden;
}
/* On a touch screen the picture of the app takes no touches, so a swipe that starts on it always
   scrolls the page: a mock that took touch once kept phones from scrolling past Twendie's hero
   (the owner, 2026-11-19). Only the pause, outside the picture, stays a control. */
@media (hover: none), (pointer: coarse) {
  .dd-app { pointer-events: none; }
  .dd-view { touch-action: pan-y pinch-zoom; }
}
.dd-app * { box-sizing: border-box; }
.dd-app svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dd-app .abs { position: absolute; }
.dd-app img { display: block; }
.dd-gone { display: none !important; }
.dd-in { animation: dd-in 320ms var(--ease) both; }
@keyframes dd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dd-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.dd-shimmer { background: linear-gradient(90deg, var(--tx3) 0%, var(--tx3) 40%, var(--tx) 50%, var(--tx3) 60%, var(--tx3) 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: dd-shimmer 1.6s linear infinite; }

/* Top bar */
.dd-top { left: 6px; top: 0; width: 1500px; height: 44px; }
.dd-ib { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: var(--tx2); top: 8px; }
.dd-ib.on { background: var(--raise); color: var(--tx); }
/* As the app's mode pill (topBarStyles.ts mode): the well, and the chosen side --mode-on. */
.dd-mode { position: absolute; left: 44px; top: 4px; height: 36px; width: 154px; border-radius: 10px; background: var(--tray); padding: 3px; display: flex; }
.dd-mode span { flex: 1; display: grid; place-items: center; border-radius: 7px; font-size: 13px; color: var(--tx2); }
.dd-mode span.on { background: var(--mode-on); color: var(--tx); }
/* The app's title bar since 2026-11-29: the film quiet, a slash, the cut's frame and its name with the one chevron. */
.dd-title { position: absolute; left: 0; right: 0; top: 10px; text-align: center; font-weight: 500; font-size: 13.5px; letter-spacing: -.01em; display: flex; justify-content: center; align-items: center; gap: 7px; pointer-events: none; }
.dd-title .dd-film { font-weight: 400; color: var(--tx2); letter-spacing: 0; }
.dd-title .dd-slash { font-weight: 400; color: var(--tx3); }
.dd-shape { display: block; width: 16px; height: 9px; border: 1.4px solid currentColor; border-radius: 2px; opacity: .8; box-sizing: border-box; }
.dd-shape.tall { width: 7px; height: 12px; }
.dd-title i { width: 7px; height: 7px; border-radius: 50%; background: var(--tx3); display: inline-block; }
.dd-title svg.i { width: 14px; height: 14px; color: var(--tx2); }
.dd-export { position: absolute; left: 1395px; top: 4px; height: 36px; width: 97px; border-radius: 8px; background: var(--cta); color: var(--ctatx); font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 7px; transition: filter .2s; }
.dd-export.press { filter: brightness(.86); }
/* Share, beside the faces and before Export, as the app's bar has it since 2026-11-30: neutral, Export is the one green. */
.dd-sharebtn { position: absolute; left: 1301px; top: 4px; height: 36px; width: 86px; border-radius: 8px; background: rgba(var(--wash), .1); color: var(--tx); font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.dd-sharebtn svg.i { width: 15px; height: 15px; }
.dd-people { position: absolute; right: 207px; top: 5px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 3px; border-radius: 999px; background: var(--tray); }
/* Who is on the film, as the app's people pill draws them after Twendie's AvatarGroup: round faces
   laid over each other, yours first, each other person's colour a badge at its corner, each face
   edged in the pill's grey so two that overlap stay two, then a round Add someone. */
.dd-faces { display: flex; }
.dd-face { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--face); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--tray); }
.dd-face + .dd-face { margin-left: -8px; }
.dd-face:nth-child(1) { z-index: 4; } .dd-face:nth-child(2) { z-index: 3; } .dd-face:nth-child(3) { z-index: 2; }
/* Your coding agent at work, after the people, as the app draws one (lib/agentsAtWork.ts): its own
   mark on a plain face, and your colour breathing at its corner while it works. */
.dd-agent { z-index: 1; background: var(--raise); }
.dd-agent img { width: 15px; height: 15px; }
.dd-agent::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: #1d8fe1; box-shadow: 0 0 0 2px var(--tray); animation: dd-breathe 2s ease-in-out infinite; }
@keyframes dd-breathe { 50% { opacity: .35; } }
.dd-face[style*="--badge"]::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--badge); box-shadow: 0 0 0 2px var(--tray); }

/* The film's cuts are chosen in the bar, beside its name, in Director as in the Editor (2026-11-23). */

/* Panels */
.dd-panel { border-radius: 10px; overflow: hidden; }
.dd-left { left: 6px; top: 50px; width: 300px; height: 806px; background: var(--card); }
.dd-stagecard { left: 312px; top: 50px; width: 696px; height: 702px; background: var(--card2); }
.dd-tlcard { left: 312px; top: 758px; width: 696px; height: 98px; background: var(--card2); }
.dd-asst { left: 1014px; top: 50px; width: 492px; height: 806px; background: var(--card); }

/* Left panel: the film's index */
/* Search heads the film's index, as the app has it since the stage's own bar went. */
.dd-lsearch { position: absolute; left: 10px; top: 8px; width: 280px; display: flex; align-items: center; gap: 6px; }
.dd-lplus { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(var(--wash), .05); color: var(--tx2); }
.dd-lplus svg.i { width: 15px; height: 15px; }
.dd-lhead { position: absolute; left: 12px; top: 44px; width: 276px; height: 38px; display: flex; align-items: center; padding: 0 6px; font-weight: 600; }
.dd-lhead svg.i { margin-left: auto; color: var(--tx2); width: 15px; height: 15px; }
.dd-lbody { position: absolute; left: 10px; top: 82px; width: 280px; }
.dd-muted { color: var(--tx2); font-size: 12px; padding: 4px 8px; }
.dd-row { display: flex; align-items: center; gap: 9px; height: 43px; padding: 0 6px; border-radius: 7px; transition: background .2s; }
.dd-row[data-person] { cursor: pointer; }
.dd-row.lit { background: rgba(var(--wash), .06); }
.dd-row img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.dd-row b { display: block; font-weight: 400; font-size: 13px; line-height: 1.3; }
.dd-row small { display: block; font-size: 11.5px; color: var(--tx2); line-height: 1.3; }
.dd-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; padding: 10px 2px 0; }
.dd-vids figure { margin: 0; }
.dd-vids img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; transition: opacity .7s; }
.dd-vids figcaption { font-size: 12px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Stage card */
/* The stage's head: the film and its brief, then how the film is read: Watch, Page or Board. */
.dd-ftabs { position: absolute; left: 10px; top: 6px; display: flex; gap: 2px; }
.dd-ftabs span { height: 28px; padding: 0 10px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; color: var(--tx2); }
.dd-ftabs span.on { background: var(--raise); color: var(--tx); }
.dd-views { position: absolute; right: 10px; top: 6px; height: 28px; display: flex; padding: 2px; gap: 2px; border-radius: 8px; background: rgba(var(--wash), .05); }
.dd-views span { display: flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; color: var(--tx2); }
.dd-views span.on { background: var(--raise); color: var(--tx); }
.dd-views svg.i { width: 13px; height: 13px; }
.dd-bar { position: absolute; left: 0; top: 0; width: 696px; height: 40px; }
.dd-search { position: relative; flex: 1; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: rgba(var(--wash), .04); display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--tx3); font-size: 13px; }
.dd-search svg.i { width: 15px; height: 15px; }
.dd-search kbd { margin-left: auto; font: 12px var(--mono); color: var(--tx3); }
.dd-search { transition: box-shadow .15s, background .15s; }
.dd-search.on { background: var(--raise); box-shadow: 0 0 0 1.5px var(--tx2); }
.dd-search span.typed { color: var(--tx); }
/* What a search of the footage found, under the field, as the app's search answers. */
.dd-hits { position: absolute; left: 16px; top: 92px; z-index: 6; width: 360px; padding: 6px; border-radius: 12px; background: var(--raise); box-shadow: var(--pop); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.dd-hits.on { opacity: 1; transform: none; }
.dd-hit { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.dd-hit.on { background: rgba(var(--wash), .07); }
.dd-hit img { width: 64px; height: 36px; border-radius: 4px; object-fit: cover; flex: none; }
.dd-hit b { display: block; font-size: 13px; font-weight: 500; color: var(--tx); }
.dd-hit small { font: 11.5px var(--mono); color: var(--tx3); }

.dd-stage { position: absolute; left: 0; top: 40px; width: 696px; height: 590px; }
.dd-plate { position: absolute; left: 50%; top: 50%; width: 640px; height: 360px; transform: translate(-50%, -50%); background: #000; border-radius: 2px; overflow: hidden; transition: width .6s var(--ease), height .6s var(--ease), opacity .3s; }
.dd-plate.tall { width: 295px; height: 525px; }
.dd-plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; opacity: 0; transition: opacity .35s; }
.dd-plate.film video { opacity: 1; }
.dd-seen { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .2s; pointer-events: none; display: flex; align-items: center; }
.dd-seen.on { opacity: 1; }
.dd-seen .frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.dd-seen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dd-cap { position: absolute; left: 6%; right: 6%; top: 79%; text-align: center; font: 600 25px/1.05 'Saira Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; color: #ffd23f; letter-spacing: .01em; text-shadow: 0 2px 6px rgba(0, 0, 0, .65), 0 0 2px rgba(0, 0, 0, .8); }
.dd-box { position: absolute; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .28); opacity: 0; transition: opacity .2s; }
.dd-box.on { opacity: 1; }
.dd-box em { position: absolute; left: -2px; top: -26px; font: normal 500 12px/1.5 'Inter', sans-serif; padding: 1px 7px; border-radius: 5px; background: rgba(20, 20, 22, .78); color: #F2F3F5; white-space: nowrap; }
/* A box that starts at the picture's top would have its name cut off above it by the plate. */
.dd-box em.in { left: 6px; top: 6px; }

/* The footage wall, while there is no film yet (StageFootageWall) */
.dd-wall { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 44px 28px 20px; color: var(--ink); font-size: 13px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.dd-wall.on { opacity: 1; }
.dd-hero { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.dd-herotile { position: relative; height: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--well); }
.dd-herotile img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; animation: dd-drift 9s ease-in-out infinite alternate; }
@keyframes dd-drift { from { transform: translate(-1.5%, -1%) scale(1); } to { transform: translate(1.5%, 1%) scale(1.04); } }
.dd-herotile .sweep { position: absolute; top: 0; bottom: 0; right: 0; border-left: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .55); }
.dd-herotile .foot { position: absolute; bottom: 0; left: 0; height: 2px; background: rgba(255, 255, 255, .85); }
.dd-herotile .name { position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; color: #fff; background: rgba(0, 0, 0, .6); padding: 1px 6px; border-radius: 4px; }
.dd-wline { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.dd-wline span:last-child { color: var(--ink2); font-variant-numeric: tabular-nums; }
.dd-tiles { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.dd-tiles img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; transition: opacity .7s; }
.dd-tiles img.working { outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.dd-meter { height: 2px; border-radius: 2px; background: rgba(var(--wash), .08); overflow: hidden; }
.dd-meter i { display: block; height: 100%; background: var(--ink2); transition: width .5s; }
.dd-wfoot { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink2); }

/* Player */
.dd-player { position: absolute; left: 0; top: 630px; width: 696px; height: 72px; transition: opacity .3s; }
.dd-player.off { opacity: 0; }
.dd-time { position: absolute; top: 4px; font: 12.5px var(--mono); color: var(--tx2); }
.dd-track { position: absolute; left: 103px; top: 14px; width: 488px; height: 4px; border-radius: 2px; background: var(--track); }
.dd-track .tick { position: absolute; top: -2px; width: 1px; height: 8px; background: rgba(var(--wash), .22); }
.dd-track .lit { position: absolute; top: -2px; height: 8px; border-radius: 3px; background: var(--change); box-shadow: 0 0 10px rgba(22, 163, 74, .7); opacity: 0; transition: opacity .5s; }
.dd-track .lit.on { opacity: 1; }
.dd-pin { position: absolute; top: -14px; width: 16px; height: 26px; margin-left: -8px; }
.dd-pin svg { width: 16px; height: 26px; }
.dd-play { position: absolute; left: 330px; top: 26px; width: 36px; height: 36px; border-radius: 50%; background: var(--raise); display: grid; place-items: center; color: var(--tx); }
.dd-play svg.i { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.dd-tr { position: absolute; top: 34px; color: var(--tx2); display: flex; align-items: center; gap: 4px; font-size: 13px; }
.dd-review { position: absolute; left: 44px; top: 28px; height: 32px; display: flex; align-items: center; gap: 2px; padding: 3px 3px 3px 10px; border-radius: 999px; background: var(--raise); font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.dd-review:not(.on) { pointer-events: none; }
.dd-review.on { opacity: 1; transform: none; }
.dd-review i { width: 7px; height: 7px; border-radius: 50%; background: var(--change); margin-right: 6px; }
.dd-review b { font-weight: 400; margin-right: 8px; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-review span { padding: 3px 10px; border-radius: 999px; color: var(--tx2); }
.dd-review span { cursor: pointer; transition: background .15s, color .15s; }
.dd-review span:hover { color: var(--tx); }
.dd-review span.on { background: var(--pale); color: var(--tx); }

/* Compact timeline */
.dd-strip { position: absolute; left: 13px; top: 12px; width: 669px; height: 48px; }
.dd-shot { position: absolute; top: 0; height: 48px; border-radius: 4px; background-size: auto 100%; background-repeat: repeat-x; transition: left .6s var(--ease), width .6s var(--ease), opacity .4s, box-shadow .4s; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.dd-shot.new { box-shadow: inset 0 0 0 2px var(--change); }
.dd-shot.out { opacity: 0; }
.dd-lane { position: absolute; left: 13px; top: 62px; height: 24px; border-radius: 4px; background: color-mix(in srgb, var(--sound) 70%, transparent); overflow: hidden; transition: width .8s var(--ease); }
.dd-lane svg { position: absolute; inset: 0; width: 669px; height: 24px; }
.dd-lane span { position: absolute; left: 50%; top: 2px; font-size: 12px; color: #fff; transform: translateX(-50%); }
.dd-head { position: absolute; top: 8px; width: 2px; height: 82px; margin-left: -1px; background: var(--needle); border-radius: 1px; }

/* Assistant */
.dd-ahead { position: absolute; left: 16px; top: 8px; width: 460px; height: 28px; display: flex; align-items: center; }
.dd-ahead span { flex: 1; }
.dd-ahead svg.i { color: var(--tx2); width: 17px; height: 17px; margin-left: 18px; }
.dd-tabs { position: absolute; left: 10px; top: 40px; display: flex; gap: 4px; font-size: 12px; font-weight: 500; }
.dd-tabs span { padding: 0 12px; height: 20px; display: grid; place-items: center; border-radius: 8px; }
.dd-tabs span.on { background: var(--pale); }
.dd-convo { position: absolute; left: 16px; right: 16px; top: 74px; bottom: 140px; transition: bottom .3s var(--ease); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; font-size: 14px; line-height: 1.6; }
.dd-empty { position: absolute; left: 0; right: 0; top: 270px; text-align: center; transition: opacity .3s; }
.dd-empty b { display: block; font-weight: 500; font-size: 15px; }
.dd-empty span { color: var(--tx2); font-size: 14px; }
.dd-you { align-self: flex-end; max-width: 391px; background: var(--well); border-radius: 8px; padding: 8px 12px; white-space: pre-wrap; }
.dd-said { color: var(--tx); }
.dd-said .w { transition: opacity .15s; }
.dd-said .w.hide { opacity: 0; }
.dd-ref { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; vertical-align: -3px; }
.dd-ref img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; }
.dd-ref.face img { width: 16px; height: 16px; border-radius: 4px; }
.dd-said code { font: 13px var(--mono); background: rgba(var(--wash), .06); padding: 1px 4px; border-radius: 4px; }
.dd-act { color: var(--tx3); font-size: 13px; }
.dd-wait { border-radius: 12px; background: color-mix(in srgb, var(--raise) 60%, transparent); padding: 10px 12px; font-size: 13px; }
.dd-wait h4 { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--tx3); }
.dd-wait p { margin: 4px 0 8px; }
.dd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dd-chips span { padding: 3px 10px; border-radius: 999px; background: var(--raise); font-size: 12.5px; transition: background .2s, color .2s; }
.dd-chips span.ghost { background: transparent; color: var(--tx2); }
.dd-chips span.on { background: var(--tx); color: var(--card); }
.dd-wait .after { color: var(--tx2); margin: 4px 0 0; }
.dd-wait { transition: background .3s, box-shadow .3s; }
.dd-wait.settled { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.dd-wait.settled .dd-chips { display: none; }
.dd-wait.settled p { color: var(--tx2); }
.dd-wait.settled .after { margin: 0; }

.dd-asst.docked .dd-convo { bottom: 194px; }
.dd-asst.chipped .dd-convo { bottom: 182px; }
.dd-dock { position: absolute; left: 8px; bottom: 146px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 999px; background: var(--chrome); box-shadow: var(--lift); font-size: 12px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.dd-dock.on { opacity: 1; transform: none; }
.dd-dock .seg { display: flex; gap: 3px; }
.dd-dock .seg i { width: 9px; height: 4px; border-radius: 2px; background: rgba(var(--wash), .15); transition: background .4s; }
.dd-dock .seg i.done { background: var(--tx2); }
.dd-dock .n { color: var(--tx2); font-variant-numeric: tabular-nums; }
.dd-dock .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--cta); display: grid; place-items: center; color: var(--on-cta); }
.dd-dock .ok svg.i { width: 12px; height: 12px; stroke-width: 3; }

.dd-composer { position: absolute; left: 8px; width: 476px; bottom: 34px; border-radius: 24px; background: color-mix(in srgb, var(--well) 50%, transparent); padding: 8px 12px; transition: bottom .45s var(--ease); }
.dd-composer.mid { bottom: 300px; }
.dd-cchips { display: flex; gap: 8px; padding: 2px 0 6px; }
.dd-cchip { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: 8px; background: rgba(var(--wash), .04); font-size: 13px; }
.dd-cchip img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; }
.dd-cchip svg.i { width: 13px; height: 13px; color: var(--tx2); margin-left: 6px; }
.dd-field { min-height: 30px; padding: 4px 8px; font-size: 16px; line-height: 22px; color: var(--tx); }
.dd-field .ph { color: var(--tx3); }
.dd-caret { display: inline-block; width: 1.5px; height: 18px; margin-left: 1px; background: var(--tx); vertical-align: -3px; animation: dd-blink 1s steps(1) infinite; }
@keyframes dd-blink { 50% { opacity: 0; } }
.dd-crow { display: flex; align-items: center; height: 40px; color: var(--tx2); }
.dd-crow .sp { flex: 1; }
.dd-point { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; transition: background .2s, color .2s; }
.dd-point.on { background: var(--raise); color: var(--tx); }
.dd-mic { width: 32px; height: 32px; display: grid; place-items: center; color: var(--tx); }
.dd-send { width: 36px; height: 36px; border-radius: 50%; background: var(--raise); display: grid; place-items: center; color: var(--tx2); transition: background .2s, color .2s; }
.dd-send.ready { background: var(--tx); color: var(--card); }
.dd-model { position: absolute; right: 18px; bottom: 6px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--tx2); }
.dd-model i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--pale); border-top-color: var(--cta); border-right-color: var(--cta); }

/* Export pop */
.dd-pop { position: absolute; right: 6px; top: 48px; width: 300px; border-radius: 12px; background: var(--chrome); box-shadow: var(--pop); padding: 14px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .25s, transform .25s var(--ease); }
.dd-pop.on { opacity: 1; transform: none; }
.dd-pop .row { display: flex; align-items: center; gap: 12px; }
.dd-pop .ring { width: 40px; height: 40px; flex: none; }
.dd-pop .ring circle { fill: none; stroke-width: 3.5; }
.dd-pop b { display: block; font-weight: 600; font-size: 14px; }
.dd-pop small { display: block; color: var(--tx2); font-size: 12px; line-height: 1.4; }
.dd-pop .film { width: 46px; height: 82px; border-radius: 6px; object-fit: cover; object-position: 55% 50%; flex: none; }
.dd-pop .dl { margin-top: 12px; height: 32px; border-radius: 8px; background: var(--cta); color: var(--ctatx); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; }

/* Pointer, the dragged files, the drop edge */
.dd-edge { position: absolute; inset: 8px; border-radius: 16px; border: 2px dashed var(--cta); background: rgba(94, 165, 0, .05); opacity: 0; transition: opacity .2s; pointer-events: none; }
.dd-edge.on { opacity: 1; }
.dd-ghost { position: absolute; left: 0; top: 0; width: 180px; height: 110px; pointer-events: none; transition: opacity .25s; }
.dd-ghost img { position: absolute; width: 150px; height: 84px; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .25); }
.dd-ghost b { position: absolute; left: 150px; top: -4px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #E5484D; color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.dd-cursor { position: absolute; left: 0; top: 0; width: 32px; height: 32px; pointer-events: none; transition: opacity .2s; z-index: 5; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35)) drop-shadow(0 3px 6px rgba(0, 0, 0, .18)); }
.dd-cursor svg { width: 32px; height: 32px; overflow: visible; }
.dd-cursor .arrow { fill: #3B82F6; }
/* The person's name beside the pointer, as a collaborator's is in a shared canvas. */
.dd-cursor .tag { position: absolute; left: 21px; top: 23px; padding: 2px 8px; border-radius: 999px; background: #3B82F6; color: #fff; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; box-shadow: 0 0 0 1.5px #fff; }
.dd-cursor.point .tag { left: 26px; top: 26px; }
.dd-cursor .cross { display: none; }
.dd-cursor.point .arrow { display: none; }
.dd-cursor.point .cross { display: block; }
/* A click lights up under the pointer, as a screen recording shows it, so it is seen at hero size. */
.dd-ripple { z-index: 5; position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 214, 10, .38); border: 1.5px solid rgba(255, 214, 10, .95); opacity: 0; pointer-events: none; }
.dd-ripple.go { animation: dd-ripple .6s ease-out; }
@keyframes dd-ripple { from { opacity: 1; transform: scale(.45); } 40% { opacity: 1; } to { opacity: 0; transform: scale(1.25); } }
.dd-fade { z-index: 7; position: absolute; inset: 0; background: var(--ground); opacity: 0; pointer-events: none; }

.dd-pause { position: absolute; left: 12px; bottom: 12px; z-index: 8; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 16, 21, .55); color: #fff; cursor: pointer; }
.dd-pause .glyph { display: grid; place-items: center; }
.dd-pause .glyph svg { width: 13px; height: 13px; fill: currentColor; }
.dd-pause .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.dd-pause .ring circle { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
.dd-pause .ring .done { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.dd-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* What the Assistant is doing, on the picture it is doing it to (2026-11-24, after Ponder's
   "Marking the shot to revise"): the green of an action, a ring turning while it works. */
.dd-doing { position: absolute; left: 50%; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 12px; border-radius: 999px; background: #497d00; color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(73, 125, 0, .35); opacity: 0; transform: translate(-50%, 6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.dd-doing.on { opacity: 1; transform: translate(-50%, 0); }
.dd-doing i { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: dd-spin .8s linear infinite; }
@keyframes dd-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .dd-doing i, .dd-agent::after { animation: none; } }
