/* Cutlib design system. One token source for portal, canvas and native tools.
   Presentation only: never scales the browser or transforms saved coordinates. */
html[data-cutlib-experience] {
  --cx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --cx-ease: cubic-bezier(.2,.8,.2,1);
  --cx-bg: #111315; --cx-canvas: #101214; --cx-surface: #1c2024;
  --cx-raised: #262b31; --cx-hover: #30373e; --cx-line: #ffffff0e; --cx-edge: #ffffff21;
  --cx-ink: #f2f1ed; --cx-muted: #aab2ba; --cx-caption: #858f99;
  --cx-aqua: #f4a2b5; --cx-blue: #9dbff4; --cx-violet: #bfaaf3;
  --cx-gold: #e2bc82; --cx-coral: #efa593; --cx-focus: #f4a2b5;
  --cx-action: #f4a2b5; --cx-on-action: #351b25; --cx-accent-rgb: 244,162,181;
  --cx-sheet: #15191d; --cx-sheet-edge: #ffffff13;
  --cx-radius-sm: 8px; --cx-radius: 12px; --cx-radius-lg: 18px;
  --cx-control: 36px; --cx-shadow: 0 12px 38px #00000030;
  --cx-fast: 140ms; --cx-normal: 200ms; --cx-slow: 320ms;
  color-scheme: dark; font-family: var(--cx-font);
}
html[data-cutlib-experience][data-web-theme="light"] {
  --cx-bg: #f6f7f9; --cx-canvas: #f0f3f6; --cx-surface: #fff;
  --cx-raised: #edf1f5; --cx-hover: #e3eaf0; --cx-line: #182c440d; --cx-edge: #182c4424;
  --cx-ink: #202a33; --cx-muted: #586977; --cx-caption: #607180;
  --cx-aqua: #a92f56; --cx-blue: #3e6ea8; --cx-violet: #7955ac;
  --cx-gold: #906123; --cx-coral: #ae4b3c; --cx-focus: #a92f56;
  --cx-action: #a92f56; --cx-on-action: #fff; --cx-accent-rgb: 169,47,86;
  --cx-sheet: #f7f9fb; --cx-sheet-edge: #182c4415;
  --cx-shadow: 0 12px 38px #20384b13; color-scheme: light;
}
/* The retained application assigns theme variables on several descendants.
   Bridge them here once, instead of painting every component a different gray. */
html[data-cutlib-experience] #root .cutlib-customer {
 --cl-bg:var(--cx-bg); --cl-sidebar:var(--cx-bg); --cl-surface:var(--cx-surface); --cl-floating:var(--cx-surface);
 --cl-raised:var(--cx-raised); --cl-hover:var(--cx-hover); --cl-input:var(--cx-surface);
 --cl-border:var(--cx-line); --cl-border-strong:var(--cx-edge); --cl-text:var(--cx-ink);
 --cl-muted:var(--cx-muted); --cl-subtle:var(--cx-caption); --cl-focus:var(--cx-focus); --cl-shadow:var(--cx-shadow);
 background:var(--cx-bg); color:var(--cx-ink);
}
html[data-cutlib-experience], html:root[data-cutlib-experience][data-web-theme] #root .ds-studio {
 --studio-canvas:var(--cx-canvas); --studio-surface:var(--cx-surface); --studio-panel:var(--cx-surface);
 --studio-raised:var(--cx-raised); --studio-ink:var(--cx-ink); --studio-muted:var(--cx-muted);
 --studio-caption:var(--cx-caption); --studio-secondary:var(--cx-muted); --studio-border:var(--cx-line);
 --studio-border-strong:var(--cx-edge); --studio-control-border:var(--cx-edge); --studio-control-bg:var(--cx-raised);
 --studio-hover:var(--cx-hover); --studio-accent:var(--cx-aqua); --studio-accent-rgb:var(--cx-accent-rgb);
 --studio-selected:var(--cx-aqua); --studio-focus:var(--cx-focus); --studio-badge:var(--cx-raised);
 --studio-badge-ink:var(--cx-ink); --studio-generate:var(--cx-action); --studio-generate-ink:var(--cx-on-action);
 --studio-disabled:var(--cx-raised); --studio-disabled-ink:var(--cx-caption); --studio-error:var(--cx-coral);
 --studio-map:var(--cx-surface); --studio-map-node:var(--cx-caption); --studio-map-mask:color-mix(in srgb,var(--cx-canvas) 74%,transparent);
 --studio-dot:color-mix(in srgb,var(--cx-caption) 42%,transparent); --studio-font-ui:var(--cx-font);
 --studio-shadow:var(--cx-shadow); --studio-floating-shadow:0 4px 18px #00000018;
 --ds-bg:var(--cx-canvas); --ds-panel:var(--cx-surface); --ds-raised:var(--cx-raised);
 --ds-text:var(--cx-ink); --ds-muted:var(--cx-muted); --ds-border:var(--cx-edge); --ds-accent:var(--cx-aqua);
 --creation-bg:var(--cx-canvas); --creation-surface:var(--cx-surface); --creation-raised:var(--cx-raised);
 --creation-text:var(--cx-ink); --creation-muted:var(--cx-muted); --creation-subtle:var(--cx-caption);
 --creation-border:var(--cx-line); --creation-border-strong:var(--cx-edge); --creation-focus:var(--cx-focus);
}
html[data-cutlib-experience] #root .ds-studio {background:var(--cx-canvas);color:var(--cx-ink)}
html:root[data-cutlib-experience][data-web-theme] #root .ds-studio .react-flow__background {opacity:.56!important}
html:root[data-cutlib-experience][data-web-theme] #root .ds-studio .react-flow__background circle {fill:var(--studio-dot)!important}
html:root[data-cutlib-experience][data-cutlib-polish][data-web-theme] {
 --cp-canvas:var(--cx-canvas); --cp-surface:var(--cx-surface); --cp-raised:var(--cx-raised);
 --cp-hover:var(--cx-hover); --cp-ink:var(--cx-ink); --cp-muted:var(--cx-muted);
 --cp-edge:var(--cx-edge); --cp-line:var(--cx-line); --cp-dot:var(--studio-dot); --cp-focus:var(--cx-focus);
}
html:root[data-cutlib-experience][data-web-theme] body.ct-tools-workspace #root .ds-studio-immersive :is(.ds-canvas-stage,.react-flow) {background:var(--cx-canvas)!important}
html:root[data-cutlib-experience][data-web-theme] :is(.ct-panel,.ct-confirm,.ct-toast,.cttl-menu) {
 --ct-bg:var(--cx-surface);--ct-line:var(--cx-edge);--ct-text:var(--cx-ink);--ct-muted:var(--cx-muted);
 background:var(--cx-surface);color:var(--cx-ink);border-color:var(--cx-edge);box-shadow:var(--cx-shadow);font-family:var(--cx-font);
}
html:root[data-cutlib-experience][data-web-theme] .ct-panel :is(.ct-task-pill,.ct-task-menu,input:not([type=range]),select,.ct-generation-prompt) {background:var(--cx-raised);color:var(--cx-ink);border-color:var(--cx-edge)}
html:root[data-cutlib-experience][data-web-theme] .ct-panel :is(.ct-source-filename,.ct-parameter-label,.ct-icon) {color:var(--cx-muted)}
html:root[data-cutlib-experience][data-web-theme] .ct-panel .ct-task-menu button {background:transparent;color:var(--cx-ink)}
html:root[data-cutlib-experience][data-web-theme] .ct-panel .ct-task-menu button:is(:hover,:focus-visible) {background:var(--cx-hover)}
html:root[data-cutlib-experience][data-web-theme] .ct-panel .ct-submit {background:var(--cx-action);color:var(--cx-on-action);border-color:var(--cx-action);box-shadow:0 0 0 4px var(--cx-raised)}
html:root[data-cutlib-experience][data-web-theme] .ct-panel :is(.ct-task-status,.ct-unavailable,.ct-panorama-hint,.ct-save-timeline,.ct-save-parameters) {color:var(--cx-muted)}
html:root[data-cutlib-experience][data-web-theme] .ct-panel :is(.ct-error,.ct-frames-error) {color:var(--cx-coral);border-color:color-mix(in srgb,var(--cx-coral) 24%,transparent);background:color-mix(in srgb,var(--cx-coral) 7%,var(--cx-surface))}
html:root[data-cutlib-experience][data-web-theme] .ct-panel :is(button,input,select,textarea):focus-visible {outline:2px solid var(--cx-focus);outline-offset:2px}
html:root[data-cutlib-experience][data-web-theme] .ct-frames[data-ct-frames] {color:var(--cx-ink);font-family:var(--cx-font);color-scheme:inherit}
html:root[data-cutlib-experience][data-web-theme] .ct-frames :is(.ct-frames-tabs,.ct-frames-time-chip,.ct-frames-selected-chip) {background:var(--cx-raised);color:var(--cx-ink)}
html:root[data-cutlib-experience][data-web-theme] .ct-frames button.ct-frames-tab {background:transparent;color:var(--cx-muted)}
html:root[data-cutlib-experience][data-web-theme] .ct-frames button.ct-frames-tab.is-active {background:var(--cx-surface);color:var(--cx-ink);box-shadow:0 1px 3px #00000010}
html:root[data-cutlib-experience][data-web-theme] .ct-frames :is(.ct-frames-label,.ct-frames-subcard-title,.ct-frames-special-title) {color:var(--cx-ink)}
html:root[data-cutlib-experience][data-web-theme] .ct-frames :is(.ct-frames-caption,.ct-frames-range-note,.ct-frames-count,.ct-frames-hint,.ct-frames-selected-count,.ct-frames-seek-hint) {color:var(--cx-muted)}
html:root[data-cutlib-experience][data-web-theme] .ct-frames .ct-frames-subcard {border-color:var(--cx-edge)}
html:root[data-cutlib-experience][data-web-theme] .cttl {--cttl-surface:var(--cx-surface);--cttl-track:var(--cx-canvas);--cttl-line:var(--cx-edge);--cttl-muted:var(--cx-muted);color:var(--cx-ink);background:var(--cx-surface);border-color:var(--cx-edge);color-scheme:inherit}
html:root[data-cutlib-experience][data-web-theme] .cttl :is(.cttl-toolbar,.cttl-labels,.cttl-ruler-corner,.cttl-ruler) {background:var(--cx-surface);border-color:var(--cx-edge)}
html:root[data-cutlib-experience][data-web-theme] .cttl :is(.cttl-timecode,.cttl-track-title,.cttl-zoom-label,.cttl-tick) {color:var(--cx-muted)}
html:root[data-cutlib-experience][data-web-theme] .cttl :is(.cttl-lane,.cttl-video-lane,.cttl-audio-lane:nth-of-type(even)) {background:var(--cx-canvas);border-color:var(--cx-line)}
html:root[data-cutlib-experience][data-web-theme] .cttl .cttl-button {background:transparent;color:var(--cx-muted)}
html:root[data-cutlib-experience][data-web-theme] .cttl .cttl-button:hover {background:var(--cx-hover);color:var(--cx-ink)}
html:root[data-cutlib-experience][data-web-theme] .cl-pano-overlay {--pano-bg:var(--cx-surface);--pano-surface:var(--cx-surface);--pano-raised:var(--cx-raised);--pano-line:var(--cx-line);--pano-edge:var(--cx-edge);--pano-ink:var(--cx-ink);--pano-muted:var(--cx-muted)}
html[data-cutlib-experience] #root :is(.ds-floating-island,.ds-canvas-rail,.ds-canvas-toolbar,.ds-viewport-tools) button {
 min-height:var(--cx-control); min-width:var(--cx-control); touch-action:manipulation;
}
html[data-cutlib-experience] #root :is(.ds-floating-island,.ds-canvas-rail,.ds-canvas-toolbar,.ds-viewport-tools) button > svg {width:17px;height:17px}
html[data-cutlib-experience] #root :is(.ds-canvas-rail,.ds-canvas-toolbar) button.active {
 background:color-mix(in srgb,var(--cx-aqua) 12%,var(--cx-surface));color:var(--cx-aqua);
}
html[data-cutlib-experience] #root .cutlib-chat-drawer .cutlib-chat.cl-floating-chat {border-color:var(--cx-edge);background:var(--cx-surface)}
html[data-cutlib-experience] #root .cutlib-chat.cl-floating-chat > header {border-color:var(--cx-line);background:var(--cx-surface)}
html[data-cutlib-experience] #root :is(.cutlib-chat-orbit,.cl-composer-director) > svg {color:var(--cx-violet)}
html[data-cutlib-experience] #root :is(.web-toast,.cmp-toast) {background:var(--cx-surface);color:var(--cx-ink);border-color:var(--cx-edge);box-shadow:var(--cx-shadow)}
html[data-cutlib-experience] #root :where(#root,button,input,textarea,select) {font-family: var(--cx-font)}
html[data-cutlib-experience] #root :where(button,input,textarea,select) {font-synthesis: none}
html[data-cutlib-experience] #root :where(h1,h2,h3,h4,strong) {font-family: var(--cx-font)}
html[data-cutlib-experience] #root :is(.web-app,.web-message-content,.ds-text-surface,.cutlib-projects,.cutlib-assets-page,.web-auth,.web-account-profile) {font-family:var(--cx-font)}
html[data-cutlib-experience] #root :where(button,a,[tabindex]):focus-visible {outline: 2px solid var(--cx-focus); outline-offset: 3px}
html[data-cutlib-experience] #root :where(button) { -webkit-tap-highlight-color: transparent }
html[data-cutlib-experience] #root :where(button:not(:disabled)) {transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 180ms ease}
html[data-cutlib-experience] #root :where(button:disabled) {cursor: not-allowed}

/* Hero: retain the original cinema art, with an actual animated light field. */
html[data-cutlib-experience] #root .cutlib-projects.cutlib-home-v2 .cutlib-concept-stage {isolation: isolate; padding-top: 52px; min-height: 412px}
/* Inline chat-model lists must paint above the following art-card section. */
html[data-cutlib-experience] #root .cutlib-concept-stage:has(.cl-chat-model-menu) {z-index:40}
html[data-cutlib-experience] #root .cl-home-input {overflow:visible}
html[data-cutlib-experience] #root .cl-home-controls .cl-chat-model-menu {z-index:100; background:var(--cx-surface)}
html[data-cutlib-experience] #root .cl-chat-model-menu[data-cx-top-layer="true"] {position:fixed; margin:0; inset:auto; box-sizing:border-box; max-width:calc(100vw - 24px); overflow:hidden}
html[data-cutlib-experience] #root .cl-chat-model-menu[data-cx-top-layer="true"] [role="listbox"] {max-height:min(310px,calc(var(--cx-menu-height,400px) - 76px)); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable}
html[data-cutlib-experience] #root .cl-chat-model-menu[data-cx-top-layer="true"]::backdrop {background:transparent; pointer-events:none}
html[data-cutlib-experience] #root .cutlib-concept-atmosphere {overflow: hidden; pointer-events: none; inset: -45px -45px -65px; opacity: 1}
html[data-cutlib-experience] #root .cutlib-concept-atmosphere .cutlib-cinema-image {opacity: .48; filter: saturate(1.3); transform: scale(1.04)}
html[data-cutlib-experience] #root .cutlib-concept-atmosphere .cutlib-cinema-shade {background: linear-gradient(180deg,transparent 18%,rgba(18,19,22,.12) 54%,var(--cl-bg,#121212) 100%)}
.clx-light-field {position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .95; mix-blend-mode: screen}
html[data-cutlib-experience] #root #cutlib-home-title {font-size: clamp(32px,3.4vw,52px); line-height: 1.2; font-weight: 570; letter-spacing: -.055em; text-wrap: balance; margin-bottom: 34px; text-shadow: 0 2px 30px #10131966}
html[data-cutlib-experience] #root .cl-home-modes {gap: 8px; margin-bottom: 12px}
html[data-cutlib-experience] #root .cl-home-modes > button {border-radius: 12px; min-height: 36px; padding-inline: 16px; color: var(--cx-muted)}
html[data-cutlib-experience] #root .cl-home-modes > button[aria-selected="true"] {color: var(--cx-ink); background: #ffffff12; box-shadow: inset 0 1px #ffffff17,0 3px 12px #00000012}
html[data-cutlib-experience] #root .cl-home-input {position: relative; isolation: isolate; border: 1px solid var(--cx-edge); border-radius: 24px; background: var(--cx-surface); box-shadow: var(--cx-shadow); transition: border-color var(--cx-normal) ease, box-shadow var(--cx-normal) ease}
html[data-cutlib-experience] #root .cl-home-input::before {content: ""; position: absolute; z-index:-1; inset:-1px; border-radius:inherit; pointer-events:none; background: radial-gradient(400px 170px at var(--cx-x,50%) var(--cx-y,0%),#8cddd31c,transparent 85%); opacity:.8}
html[data-cutlib-experience] #root .cl-home-input:focus-within {border-color: #8cbfbd88; box-shadow: 0 16px 70px #00000028,0 0 0 3px #83d9cc0c}
html[data-cutlib-experience] #root .cl-home-input textarea {font-size: 14px; line-height: 1.75; color: var(--cx-ink); padding: 21px 22px 12px; min-height: 102px; resize: none}
html[data-cutlib-experience] #root .cl-home-input textarea::placeholder {color: #a7a9b1}
html[data-cutlib-experience] #root .cl-home-controls {padding: 0 17px 15px}
/* Keep the model beside the attachment control; leave the center open. */
html[data-cutlib-experience] #root .cl-home-controls-main {justify-content:flex-start; gap:12px; min-width:0}
html[data-cutlib-experience] #root .cl-home-controls-main > .cl-chat-model {margin-inline:0; flex:0 1 auto; min-width:0; max-width:55%}
html[data-cutlib-experience] #root .cl-home-controls-main .cl-chat-model-trigger {max-width:100%; justify-content:flex-start}
html[data-cutlib-experience] #root .cl-home-controls-main .cl-chat-model-trigger > span:not(.cutlib-model-brand) {overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
html[data-cutlib-experience] #root .cl-home-controls-main > .cl-home-director {margin-inline-start:auto; flex-shrink:0}
html[data-cutlib-experience] #root .cl-home-controls-main > .ds-model-picker {flex:0 1 auto; width:auto; min-width:0; max-width:min(55%,260px)}
html[data-cutlib-experience] #root .cl-home-controls-main .ds-model-trigger {width:auto; max-width:100%; min-width:0; justify-content:flex-start; background:transparent}
html[data-cutlib-experience] #root .cl-home-controls-main .ds-model-trigger > span {overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
html[data-cutlib-experience] #root .cl-home-controls-main > .cl-home-parameter-trigger {margin-inline-start:auto; flex-shrink:0}
html[data-cutlib-experience] #root :is(.cl-home-input,.web-composer) textarea:focus-visible {outline:none; box-shadow:none}
html[data-cutlib-experience] #root .cl-home-submit:not(:disabled),
html[data-cutlib-experience] #root .web-send:not(:disabled) {background: var(--cx-action); color: var(--cx-on-action); box-shadow: none}
html[data-cutlib-experience] #root .cl-home-submit:not(:disabled):hover,
html[data-cutlib-experience] #root .web-send:not(:disabled):hover {background: color-mix(in srgb,var(--cx-aqua) 30%,var(--cx-action)); box-shadow: none}
html[data-cutlib-experience] #root .cl-home-hints {color: var(--cx-muted); opacity:.85; margin-top:12px}
html[data-cutlib-experience] #root .cutlib-section-heading {margin-bottom: 18px; align-items: center}
html[data-cutlib-experience] #root .cutlib-section-heading h2 {font-size: 17px; letter-spacing: -.025em; font-weight: 550; line-height: 1.5}
html[data-cutlib-experience] #root .cutlib-quick-tools {gap: 16px}
html[data-cutlib-experience] #root .cutlib-quick-tools > button {width:100%; min-width:0; max-width:100%; aspect-ratio:auto}
html[data-cutlib-experience] #root .cutlib-quick-tools > .cutlib-image-tool {min-height:190px; height:auto; aspect-ratio:1.35}
html[data-cutlib-experience] #root :is(.cutlib-image-tool,.cutlib-blank-canvas,.cutlib-idea-card,.web-project-card) {isolation:isolate; border-radius:20px; overflow:hidden; border:1px solid #ffffff12; transition: transform 360ms var(--cx-ease),border-color 200ms ease,box-shadow 320ms ease}
html[data-cutlib-experience] #root :is(.cutlib-image-tool,.cutlib-blank-canvas,.cutlib-idea-card)::after {content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; background:radial-gradient(370px circle at var(--cx-x,50%) var(--cx-y,0%),#c8f3e42b,transparent 70%); opacity:var(--cx-presence,0)}
html[data-cutlib-experience] #root :is(.cutlib-image-tool,.cutlib-idea-card) img {transition: transform 900ms var(--cx-ease),filter 600ms ease}
html[data-cutlib-experience] #root .cutlib-image-tool img {animation:cx-cinema 22s ease-in-out infinite alternate; animation-play-state:paused; transform-origin:60% 45%}
html[data-cutlib-experience][data-cx-still="false"]:not([data-cx-hidden="true"]) #root .cutlib-image-tool[data-cx-inview="true"] img {animation-play-state:running}
html[data-cutlib-experience] #root .cutlib-image-tool:nth-child(3) img {animation-duration:27s; animation-delay:-7s}
html[data-cutlib-experience] #root .cutlib-image-tool:nth-child(4) img {animation-duration:25s; animation-delay:-13s}
html[data-cutlib-experience] #root .cutlib-image-tool:nth-child(5) img {animation-duration:29s; animation-delay:-3s}
html[data-cutlib-experience] #root :is(.cutlib-image-tool,.cutlib-idea-card):hover img {transform:scale(1.045); filter:saturate(1.12)}
html[data-cutlib-experience] #root :is(.cutlib-image-tool,.cutlib-idea-card,.web-project-card):hover {transform:translateY(-4px); border-color:#b3d6d340; box-shadow:0 16px 32px #00000022}
html[data-cutlib-experience] #root .cutlib-image-tool-copy {padding:20px; gap:12px}
html[data-cutlib-experience] #root .cutlib-image-tool-copy strong {font-size:15px; font-weight:560; letter-spacing:.01em}
html[data-cutlib-experience] #root .cutlib-image-tool-copy div > span {font-size:11px; opacity:.82; margin-top:4px}
html[data-cutlib-experience] #root .cutlib-tool-icon {border-radius:12px; width:39px; height:39px; background:#ffffff0d; border-color:#ffffff2a}
html[data-cutlib-experience] #root .cutlib-blank-canvas {position:relative; background:linear-gradient(150deg,#252a2f,#1e2025); text-align:left}
html[data-cutlib-experience] #root .cutlib-blank-canvas::before {content:""; position:absolute; width:190px; height:190px; right:-40px; top:-45px; border-radius:50%; border:1px solid #9acec41a; box-shadow:0 0 0 24px #8bcabb05,0 0 0 48px #8bcabb04; transition:transform 700ms var(--cx-ease)}
html[data-cutlib-experience] #root .cutlib-blank-canvas:hover::before {transform:scale(1.16) rotate(12deg)}
html[data-cutlib-experience] #root .cutlib-blank-canvas:hover {border-color:#9acec459}
html[data-cutlib-experience] #root .cutlib-blank-canvas-icon {background:#9bc8bc0c; color:#d9ede7; border-color:#a5c6ba30; border-radius:14px}
html[data-cutlib-experience] #root .cutlib-blank-canvas strong {font-size:15px; font-weight:550}
html[data-cutlib-experience] #root .cutlib-idea-copy h3 {font-size:15px; font-weight:550; line-height:1.5}
html[data-cutlib-experience] #root .web-project-copy h2 {font-size:14px; font-weight:550}
html[data-cutlib-experience] #root .cutlib-idea-filters {gap:6px}
html[data-cutlib-experience] #root .cutlib-idea-filters button {border-radius:9px; padding:7px 12px}
@media(min-width:1280px) {html[data-cutlib-experience] #root .cutlib-quick-tools {grid-template-columns:.82fr repeat(4,1fr)} html[data-cutlib-experience] #root .cutlib-quick-tools > :is(.cutlib-image-tool,.cutlib-blank-canvas) {min-height:244px; height:244px; aspect-ratio:auto}}

/* Shared controls: quiet material at rest, distinct response to intent. */
html[data-cutlib-experience] #root :is(.cutlib-sidebar,.ds-floating-island,.ds-canvas-rail,.ds-canvas-toolbar,.ds-viewport-tools) {background:var(--cx-surface); border-color:var(--cx-edge); box-shadow:inset 0 1px #ffffff08,0 6px 18px #00000016}
html[data-cutlib-experience] #root .cutlib-rail-item {position:relative; border-radius:14px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .cutlib-rail-item.active {color:var(--cx-ink); background:var(--cx-raised); border-color:var(--cx-edge); box-shadow:inset 0 1px #ffffff0c}
html[data-cutlib-experience] #root .cutlib-rail-item.active::after {content:""; position:absolute; width:3px; height:14px; border-radius:2px; left:0; top:50%; margin-top:-7px; background:var(--cx-aqua)}
html[data-cutlib-experience] #root :is(.ds-canvas-rail,.ds-canvas-toolbar,.ds-viewport-tools) button {border-radius:10px; border-color:transparent}
html[data-cutlib-experience] #root :is(.ds-canvas-rail,.ds-canvas-toolbar,.ds-viewport-tools) button:not(:disabled):hover {background:var(--cx-raised); border-color:var(--cx-edge); color:var(--cx-aqua)}
html[data-cutlib-experience] #root :is(.ds-floating-island,.ds-canvas-rail,.ds-canvas-toolbar,.ds-viewport-tools) {border-radius:16px}
html[data-cutlib-experience] #root :is(.cutlib-image-tool,.cutlib-blank-canvas,.cutlib-idea-card,.web-link):hover .lucide-arrow-up-right {transform:translate(2px,-2px)}
html[data-cutlib-experience] #root .lucide-arrow-up-right {transition:transform 220ms var(--cx-ease)}
html[data-cutlib-experience] #root .ds-rail-plus:hover .lucide-plus {transform:rotate(90deg)}
html[data-cutlib-experience] #root .ds-rail-plus .lucide-plus {transition:transform 280ms var(--cx-ease)}
html[data-cutlib-experience] #root .ds-node-surface {border-radius:15px; border-color:var(--cx-edge); box-shadow:0 4px 14px #00000013; transition:border-color 160ms ease}
html[data-cutlib-experience] #root .ds-node-text .ds-text-surface {font-size:14px; line-height:1.7}
html[data-cutlib-experience] #root .react-flow__node.selected .ds-node-surface {border-color:var(--cx-focus); outline:1px solid #9ec6e433; outline-offset:2px}
html[data-cutlib-experience] #root .react-flow__node.dragging .ds-node-surface {transition:none; box-shadow:0 4px 14px #00000013}
html[data-cutlib-experience] #root .ds-node-caption {font-family:var(--cx-font); color:var(--cx-muted)}
html[data-cutlib-experience] #root :is(.ds-command-menu,.ds-add-menu,.ds-model-popover,.ds-model-menu,.ds-context-menu,.ds-immersive-menu,.cl-chat-model-menu,.cl-composer-menu,.cutlib-account-popover,.cutlib-rail-popover,.cutlib-conversation-history,.cl-context-preview) {border-radius:17px; border-color:var(--cx-edge); box-shadow:0 16px 50px #00000028,inset 0 1px #ffffff08; animation:cx-pop 190ms var(--cx-ease) both}
html[data-cutlib-experience] #root :is(.ds-modal,.web-modal,.ds-director-dialog,.ds-atlas-dialog,.cutlib-idea-dialog,.cutlib-skills-dialog) {border-radius:24px; border-color:var(--cx-edge); box-shadow:0 30px 100px #00000038; animation:cx-dialog 240ms var(--cx-ease) both}
html[data-cutlib-experience] #root :is(.ds-modal-backdrop,.web-modal-backdrop) {animation:cx-fade 180ms ease both}
html[data-cutlib-experience] #root :is(.ds-job-card,.ds-director-card,.web-account-person,.web-account-profile) {border-radius:17px; border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .ds-director-card {transition:box-shadow 240ms ease,border-color 180ms ease}
html[data-cutlib-experience] #root .ds-director-card:hover {border-color:#829f9c77; box-shadow:0 10px 26px #0000001f}
html[data-cutlib-experience] #root .ds-director-card img {transition:transform 600ms var(--cx-ease)}
html[data-cutlib-experience] #root .ds-director-card:hover img {transform:scale(1.025)}
html[data-cutlib-experience] #root .ds-director-cover {position:relative}
html[data-cutlib-experience] #root .ds-director-cover img[data-cx-missing="true"] {opacity:0}
.clx-missing-cover {position:absolute; inset:0; display:grid; place-items:center; padding:24px; pointer-events:none; background:linear-gradient(145deg,var(--cx-cover-0,#1b2938),var(--cx-cover-1,#263e45)); color:#f0eee1; font:500 17px/1.5 var(--cx-font,sans-serif); text-align:center; letter-spacing:-.025em}
.clx-missing-cover::before {content:""; position:absolute; inset:15px; border:1px solid #ffffff12; border-radius:7px}
html[data-cutlib-experience] #root .ds-jobs-panel {border:1px solid var(--cx-edge); border-radius:22px; box-shadow:-12px 0 45px #00000012; animation:cx-pop 220ms var(--cx-ease) both}
html[data-cutlib-experience] #root :is(.ds-job-id,.ds-job-cost,.cl-turn-settlement) {font-variant-numeric:tabular-nums}

/* Creative chat: readable turns, clean reference objects, compact input. */
html[data-cutlib-experience] #root .cutlib-chat-drawer.is-open:has(.cl-floating-chat) {border-radius:26px; border-color:var(--cx-edge); background:var(--cx-surface); box-shadow:-12px 0 50px #00000016}
html[data-cutlib-experience] #root .cutlib-chat.cl-floating-chat {background:transparent; font-family:var(--cx-font)}
html[data-cutlib-experience] #root .cutlib-chat .web-messages {padding:14px 22px 22px; scrollbar-gutter:stable}
html[data-cutlib-experience] #root .cutlib-chat .web-chat-welcome h2 {font-weight:520; font-size:25px; letter-spacing:-.045em; line-height:1.45}
html[data-cutlib-experience] #root .cutlib-chat-orbit {background:linear-gradient(145deg,#acd8d413,#b7a4e80a); border:1px solid var(--cx-edge); border-radius:18px; box-shadow:0 0 36px #69b2ae13}
html[data-cutlib-experience] #root .cutlib-chat-suggestions > button {border-radius:14px; padding:14px 12px}
html[data-cutlib-experience] #root .cutlib-chat-suggestions > button:hover {background:var(--cx-raised)}
html[data-cutlib-experience] #root .cutlib-chat .cl-chat-turn {margin-bottom:25px}
html[data-cutlib-experience] #root .cutlib-chat .web-message-content {font-size:13px; line-height:1.8; overflow-wrap:anywhere}
html[data-cutlib-experience] #root .cutlib-chat .web-message.user {padding:12px 16px; border-radius:20px 20px 6px 20px; background:color-mix(in srgb,var(--cx-violet) 9%,var(--cx-surface)); color:var(--cx-ink); border:1px solid color-mix(in srgb,var(--cx-violet) 14%,var(--cx-line)); max-width:90%; box-shadow:inset 0 1px #ffffff07}
html[data-cutlib-experience] #root .cutlib-chat .web-message.assistant {background:transparent; border:0; padding-inline:0}
html[data-cutlib-experience] #root .cutlib-chat .web-message-content p {margin:0 0 .85em}
html[data-cutlib-experience] #root .cutlib-chat .web-message-content p:last-child {margin-bottom:0}
html[data-cutlib-experience] #root .cutlib-chat .web-composer {border-radius:22px; margin:0 14px 14px; padding:12px; border:1px solid var(--cx-edge); background:var(--cx-raised); box-shadow:0 -5px 22px #00000008; transition:border-color 180ms ease,box-shadow 220ms ease}
html[data-cutlib-experience] #root .cutlib-chat .web-composer:focus-within {border-color:#83b1ad88; box-shadow:0 0 0 3px #8ccabd0b}
html[data-cutlib-experience] #root .cutlib-chat .cl-composer-input {min-height:86px; max-height:220px; height:auto}
html[data-cutlib-experience] #root .cutlib-chat .web-composer textarea {height:96px; min-height:86px; max-height:220px; font-size:13px; line-height:1.75; padding:7px 4px; resize:none}
html[data-cutlib-experience] #root .cutlib-chat .web-composer-tools {gap:6px; padding-top:7px; align-items:center}
html[data-cutlib-experience] #root .cutlib-chat .cl-composer-more-trigger {border-radius:11px; width:32px; height:32px}
html[data-cutlib-experience] #root .cutlib-chat .cl-chat-model-trigger {border-radius:9px; min-height:30px; max-width:180px}
html[data-cutlib-experience] #root .cutlib-chat .web-send {border-radius:12px; width:34px; height:34px}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chips {gap:7px; padding-bottom:10px}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chip {border-radius:11px; background:var(--cx-surface); border:1px solid var(--cx-edge); min-height:34px; overflow:hidden; gap:7px}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chip-label {font-size:11px; line-height:1.4; max-width:145px; overflow:hidden; text-overflow:ellipsis}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chip-remove {border-radius:6px; width:22px; height:22px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chip-remove:hover {color:var(--cx-ink); background:var(--cx-raised)}
html[data-cutlib-experience] #root .cutlib-chat .cl-node-reference-tag {border:1px solid var(--cx-edge); border-radius:11px; background:var(--cx-surface); padding:7px 10px; gap:7px; font-size:11px; max-width:100%; overflow:hidden; text-overflow:ellipsis}
html[data-cutlib-experience] #root .cutlib-chat :is(.cl-agent-actions,.cl-agent-generation) {border-radius:14px; border:1px solid var(--cx-edge); background:var(--cx-surface); padding:12px; line-height:1.65}
html[data-cutlib-experience] #root .cutlib-chat .cl-agent-generation-head {gap:10px}
html[data-cutlib-experience] #root .cutlib-chat .cl-agent-generation-head > strong {font-size:12px; font-weight:550}
html[data-cutlib-experience] #root .cutlib-chat .cl-agent-generation-head > span {font-size:10px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .cutlib-chat .cl-turn-settlement {color:var(--cx-muted); font-size:10px; line-height:1.6; gap:6px 12px}
html[data-cutlib-experience] #root .cutlib-chat :is(.web-notice,[role="alert"]) {border-radius:10px; font-size:11px; line-height:1.6}
html[data-cutlib-experience] #root .cutlib-chat .web-composer > .web-notice {width:auto; height:auto; min-height:0; min-width:0}
html[data-cutlib-experience] #root .cutlib-chat pre {border-radius:12px; padding:14px; line-height:1.65; font-size:12px; overflow:auto}
html[data-cutlib-experience] #root .cutlib-chat .web-new-messages {border-radius:20px; box-shadow:0 4px 18px #00000022}

/* Theme-specific optical balance, not a dimmed copy of dark mode. */
html[data-cutlib-experience][data-web-theme="light"] #root .clx-light-field {mix-blend-mode:multiply; opacity:.53}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-concept-atmosphere .cutlib-cinema-image {opacity:.32; mix-blend-mode:multiply}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-concept-atmosphere .cutlib-cinema-shade {background:linear-gradient(180deg,#f7f8fa00 20%,#f7f8fa66 60%,var(--cl-bg,#f7f8fa) 100%)}
html[data-cutlib-experience][data-web-theme="light"] #root #cutlib-home-title {color:#282c34; text-shadow:none}
html[data-cutlib-experience][data-web-theme="light"] #root .cl-home-input {background:#fffffff2; border-color:#d0d8de; box-shadow:0 18px 60px #52706912}
html[data-cutlib-experience][data-web-theme="light"] #root .cl-home-input textarea::placeholder {color:#7b818c}
html[data-cutlib-experience][data-web-theme="light"] #root .cl-home-modes > button[aria-selected="true"] {background:#fff; box-shadow:0 2px 12px #233c4510}
html[data-cutlib-experience][data-web-theme="light"] #root :is(.cutlib-image-tool,.cutlib-blank-canvas,.cutlib-idea-card,.web-project-card) {border-color:#1c304a12}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-blank-canvas {background:linear-gradient(145deg,#e7eeed,#f6f8f8); color:#253a36}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-blank-canvas-icon {color:#52796e; border-color:#88aa9d55}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-chat .web-message.user {background:color-mix(in srgb,var(--cx-violet) 7%,var(--cx-surface)); border-color:color-mix(in srgb,var(--cx-violet) 16%,var(--cx-line))}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-chat .web-composer {box-shadow:0 -6px 24px #25384006}

.clx-tooltip {position:fixed; z-index:2147483000; pointer-events:none; max-width:230px; padding:7px 10px; border-radius:9px; background:var(--cx-raised,#24262d); color:var(--cx-ink,#eeeff2); border:1px solid var(--cx-edge,#363941); font:11px/1.5 var(--cx-font,sans-serif); box-shadow:0 5px 20px #00000025; animation:cx-tip 140ms ease both}
.clx-visible {animation:cx-arrive 550ms var(--cx-ease) both}
html[data-cutlib-experience] [data-cx-pressed] {box-shadow:inset 0 0 0 1px #9cc9bd66}
html[data-cutlib-experience][data-cx-hidden="true"] #root .clx-light-field {visibility:hidden}

/* One state-driven segmented control treatment, shared across product pages. */
html[data-cutlib-experience] #root [data-cx-tabs="true"] {position:relative; isolation:isolate; border-radius:14px}
html[data-cutlib-experience] #root [data-cx-tabs="true"]::before {content:""; position:absolute; left:0; top:0; width:var(--cx-tab-w); height:var(--cx-tab-h); translate:var(--cx-tab-x) var(--cx-tab-y); border-radius:11px; background:var(--cx-raised); box-shadow:0 2px 8px #00000014,inset 0 1px #ffffff0c; border:1px solid var(--cx-edge); box-sizing:border-box; pointer-events:none; z-index:0; transition:translate 280ms var(--cx-ease),width 280ms var(--cx-ease)}
html[data-cutlib-experience] #root [data-cx-tabs="true"] > button {position:relative; z-index:1; background:transparent; border-color:transparent; box-shadow:none}
html[data-cutlib-experience] #root [data-cx-tabs="true"] > button:is([aria-selected="true"],[aria-pressed="true"],.active) {background:transparent; box-shadow:none; color:var(--cx-ink)}

/* Optical depth without moving any canvas node, handle or edge coordinates. */
html[data-cutlib-experience] #root .ds-floating-island {background:var(--cx-surface); border-color:var(--cx-edge); box-shadow:0 4px 18px #00000012,inset 0 1px #ffffff08}
html[data-cutlib-experience] #root .ds-node-surface {background:var(--cx-surface)}
html[data-cutlib-experience] #root .ds-node-text .ds-text-surface {color:var(--cx-ink); letter-spacing:.005em}
html[data-cutlib-experience] #root .react-flow__handle {transition:background-color 140ms ease,box-shadow 140ms ease}
html[data-cutlib-experience] #root .react-flow__handle:not(.ds-easy-port):is(:hover,.connectingfrom,.connectingto.valid) {background:var(--cx-aqua); box-shadow:0 0 0 5px #80c9bd24}
/* Native easy ports are zero-size anchors with 36px pseudo hit areas. Paint
   their visible SVG, retaining every anchor, hit area and graph coordinate. */
html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port > svg {color:var(--cx-muted); background:var(--cx-surface); border-color:var(--cx-edge); transition:opacity 130ms ease,background-color 130ms ease,border-color 130ms ease,box-shadow 180ms var(--cx-ease); transform:none}
html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port:hover > svg {color:var(--cx-ink); border-color:var(--cx-focus); box-shadow:0 0 0 4px color-mix(in srgb,var(--cx-focus) 12%,transparent); transform:none}
html[data-cutlib-experience] #root .react-flow:has(.react-flow__connection) .ds-easy-port:is(.connectingfrom,.connectingto,.connectableend.connectionindicator) > svg {opacity:1}
html[data-cutlib-experience] #root .react-flow:has(.react-flow__connection) .ds-easy-port:is(.connectingfrom,.connectingto,.connectableend.connectionindicator)::after {display:none!important}
html[data-cutlib-experience] #root .react-flow:has(.react-flow__connection) .ds-easy-port.connectableend.connectionindicator:not(.connectingto) > svg {border-color:color-mix(in srgb,var(--cx-focus) 55%,var(--cx-edge)); background:var(--cx-surface)}
html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port:is(.connectingfrom,.connectingto.valid) > svg {opacity:1; color:var(--cx-aqua); border-color:var(--cx-aqua); background:color-mix(in srgb,var(--cx-aqua) 12%,var(--cx-surface)); box-shadow:0 0 0 5px color-mix(in srgb,var(--cx-aqua) 12%,transparent)}
html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port.connectingto:not(.valid) > svg {opacity:1; color:var(--cx-coral); border:1px dashed var(--cx-coral); background:color-mix(in srgb,var(--cx-coral) 10%,var(--cx-surface)); box-shadow:0 0 0 4px color-mix(in srgb,var(--cx-coral) 10%,transparent)}
html[data-cutlib-experience] #root .react-flow__connection.invalid .react-flow__connection-path {stroke:var(--cx-coral); stroke-dasharray:2 7; animation:none}
html[data-cutlib-experience] #root .react-flow__connection.valid .react-flow__connection-path {stroke:var(--cx-aqua); stroke-dasharray:none; animation:none}
html[data-cutlib-experience][data-cx-still="true"] #root .ds-modern-node .ds-easy-port > svg {transition:none}
@media(forced-colors:active) {
 html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port > svg {background:Canvas; color:CanvasText; border-color:CanvasText; box-shadow:none}
 html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port:is(.connectingfrom,.connectingto.valid) > svg {background:Highlight; color:HighlightText; border-color:Highlight; box-shadow:none}
 html[data-cutlib-experience] #root .ds-modern-node .ds-easy-port.connectingto:not(.valid) > svg {background:Canvas; color:CanvasText; border:2px dashed CanvasText; box-shadow:none}
 html[data-cutlib-experience] #root :is(.react-flow__connection,.react-flow__connection.invalid) .react-flow__connection-path {stroke:CanvasText}
 html[data-cutlib-experience] #root .react-flow__connection.valid .react-flow__connection-path {stroke:Highlight}
}
html[data-cutlib-experience] #root .react-flow__edge.selected .react-flow__edge-path {stroke:var(--cx-focus)}
html[data-cutlib-experience] #root :is(.ds-viewport-tools,.ds-canvas-rail,.ds-canvas-toolbar,.ds-floating-island,.web-composer) button > svg {transition:translate 160ms var(--cx-ease),scale 160ms var(--cx-ease)}
html[data-cutlib-experience] #root :is(.ds-viewport-tools,.ds-canvas-rail,.ds-canvas-toolbar,.ds-floating-island,.web-composer) button:not(:disabled):active > svg {scale:.91}
html[data-cutlib-experience] #root :is(.web-send,.cl-home-submit):not(:disabled):hover > svg {translate:0 -2px}
html[data-cutlib-experience] #root .cutlib-rail-item > svg {transition:translate 220ms var(--cx-ease),color 160ms ease}
html[data-cutlib-experience] #root .cutlib-rail-item:not(.active):hover > svg {translate:0 -2px; color:var(--cx-aqua)}
html[data-cutlib-experience] #root .cutlib-chat .web-message-content {font-size:14px; line-height:1.8; letter-spacing:.005em}
html[data-cutlib-experience] #root .cutlib-chat .web-message-content :is(ul,ol) {padding-left:1.5em; margin-block:.7em}
html[data-cutlib-experience] #root .cutlib-chat .web-message-content li + li {margin-top:.5em}
html[data-cutlib-experience] #root .cutlib-chat .web-message.user {border-radius:20px 20px 7px 20px; padding:13px 16px}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chip {transition:background-color 160ms ease,border-color 160ms ease}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-chip:hover {background:var(--cx-raised); border-color:color-mix(in srgb,var(--cx-aqua) 40%,var(--cx-edge))}
html[data-cutlib-experience] #root .cutlib-chat :is(.cl-context-chip,.cl-node-reference-tag) img {border-radius:7px; object-fit:cover}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview {overflow:hidden; box-shadow:0 16px 60px #0000002b}
html[data-cutlib-experience] #root .cutlib-chat .web-message.assistant :is(.cl-agent-actions,.cl-agent-generation) {border-left:2px solid var(--cx-aqua)}

/* Assets, account, authentication and task surfaces use the same visual grammar. */
html[data-cutlib-experience] #root .cutlib-assets-toolbar {gap:18px; padding-bottom:24px; border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .cutlib-assets-tabs {gap:6px; padding:4px; background:color-mix(in srgb,var(--cx-surface) 85%,var(--cx-edge))}
html[data-cutlib-experience] #root .cutlib-assets-tabs button {min-height:34px; padding-inline:15px}
html[data-cutlib-experience] #root :is(.cutlib-asset-card,.ds-library-asset,.ds-asset-tile) {border-radius:16px; overflow:hidden; border-color:var(--cx-edge); transition:border-color 180ms ease,box-shadow 220ms ease}
html[data-cutlib-experience] #root :is(.cutlib-asset-card,.ds-library-asset,.ds-asset-tile):hover {border-color:color-mix(in srgb,var(--cx-aqua) 40%,var(--cx-edge)); box-shadow:0 6px 22px #00000016}
html[data-cutlib-experience] #root .cutlib-asset-copy {padding:13px 14px}
html[data-cutlib-experience] #root .cutlib-asset-copy :is(p,span) {color:var(--cx-muted); line-height:1.6}
html[data-cutlib-experience] #root .cutlib-assets-empty {border:1px dashed var(--cx-edge); border-radius:22px; background:radial-gradient(ellipse at 50% 0,#8ccac80a,transparent 65%)}
html[data-cutlib-experience] #root .cutlib-account-popover {padding:10px; min-width:240px; background:var(--cx-surface)}
html[data-cutlib-experience] #root .cutlib-account-identity {padding:13px 12px 17px}
html[data-cutlib-experience] #root .cutlib-account-funds {padding:13px; border-radius:13px; background:linear-gradient(120deg,#80c9bd10,#dbc09808); border:1px solid var(--cx-edge); font-variant-numeric:tabular-nums}
html[data-cutlib-experience] #root .cutlib-account-links {gap:3px; padding-block:8px}
html[data-cutlib-experience] #root .cutlib-account-links button {border-radius:10px; min-height:38px; padding-inline:12px}
html[data-cutlib-experience] #root .cutlib-account-links button:hover {background:var(--cx-raised)}
html[data-cutlib-experience] #root :is(.web-account-profile,.web-account-person,.web-account-grid > *) {background:var(--cx-surface); border:1px solid var(--cx-edge); border-radius:18px}
html[data-cutlib-experience] #root :is(.web-account-profile,.cutlib-recharge) :is(input,select) {border-radius:10px; border-color:var(--cx-edge); background:var(--cx-raised); color:var(--cx-ink); min-height:38px}
html[data-cutlib-experience] #root .cutlib-recharge-total {letter-spacing:-.045em; font-variant-numeric:tabular-nums}
html[data-cutlib-experience] #root :is(.web-auth-card,.cutlib-auth-card) {border:1px solid var(--cx-edge); border-radius:26px; background:var(--cx-surface); box-shadow:0 22px 80px #00000026; padding:32px}
html[data-cutlib-experience] #root .cutlib-auth-field {border-radius:12px; border-color:var(--cx-edge); background:var(--cx-raised); transition:border-color 180ms ease,box-shadow 180ms ease}
html[data-cutlib-experience] #root .cutlib-auth-field:focus-within {border-color:var(--cx-focus); box-shadow:0 0 0 3px #7cb7ad12}
html[data-cutlib-experience] #root .cutlib-auth-submit {border-radius:12px; min-height:44px; box-shadow:inset 0 1px #ffffff18}
html[data-cutlib-experience] #root .ds-job-card {background:var(--cx-surface); padding:15px; box-shadow:0 2px 9px #00000009; transition:border-color 160ms ease}
html[data-cutlib-experience] #root .ds-job-card:hover {border-color:color-mix(in srgb,var(--cx-aqua) 30%,var(--cx-edge))}
html[data-cutlib-experience] #root :is(.ds-job-billing,.ds-job-id,.timeline-duration,.timeline-ruler) {font-variant-numeric:tabular-nums}
html[data-cutlib-experience] #root :is(.timeline-bin,.timeline-inspector,.timeline-tools,.timeline-header) {background:var(--cx-surface); border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .timeline-source-card {border-radius:12px; overflow:hidden; border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .timeline-clip {border-radius:7px; transition:border-color 120ms ease}
html[data-cutlib-experience] #root :is(.timeline-preview,.timeline-preview-frame) {border-radius:14px; overflow:hidden}
html[data-cutlib-experience] #root .timeline-transport button {border-radius:10px}
html[data-cutlib-experience] #root .timeline-transport button:hover {background:var(--cx-raised); color:var(--cx-aqua)}
html[data-cutlib-experience][data-web-theme="light"] #root .cutlib-account-funds {background:linear-gradient(120deg,#edf5f2,#f7f4ef)}
html[data-cutlib-experience][data-cx-still="true"] #root [data-cx-tabs]::before {transition:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.web-send,.cl-home-submit):hover > svg,
html[data-cutlib-experience][data-cx-still="true"] #root .cutlib-rail-item:hover > svg {translate:0 0}
@keyframes cx-pop {from {opacity:0; translate:0 5px} to {opacity:1; translate:0 0}}
@keyframes cx-dialog {from {opacity:0; translate:0 10px; scale:.99} to {opacity:1; translate:0 0; scale:1}}
@keyframes cx-fade {from {opacity:0} to {opacity:1}}
@keyframes cx-tip {from {opacity:0; translate:0 2px} to {opacity:1; translate:0 0}}
@keyframes cx-arrive {from {opacity:0; translate:0 12px} to {opacity:1; translate:0 0}}
@keyframes cx-cinema {from {scale:1; translate:0 0} to {scale:1.045; translate:-.6% .3%}}
@media(max-width:700px) {
 html[data-cutlib-experience] #root .cutlib-projects.cutlib-home-v2 .cutlib-concept-stage {padding-top:32px; min-height:354px}
 html[data-cutlib-experience] #root #cutlib-home-title {font-size:31px; letter-spacing:-.065em; margin-bottom:24px}
 html[data-cutlib-experience] #root .cutlib-quick-tools {gap:12px}
 html[data-cutlib-experience] #root .cutlib-quick-tools > .cutlib-image-tool {min-height:180px; aspect-ratio:1.05}
 html[data-cutlib-experience] #root .cl-home-input {border-radius:20px}
 html[data-cutlib-experience] #root .cl-home-input textarea {padding:16px; font-size:14px}
 html[data-cutlib-experience] #root .cutlib-image-tool-copy {padding:13px; gap:9px}
 html[data-cutlib-experience] #root .cutlib-image-tool-copy strong {font-size:13px}
 html[data-cutlib-experience] #root .cutlib-tool-icon {width:30px; height:30px; border-radius:9px}
 html[data-cutlib-experience] #root .cutlib-chat .web-messages {padding-inline:16px}
 html[data-cutlib-experience] #root .cutlib-chat .web-composer {margin:0 9px 9px}
 html[data-cutlib-experience] #root .cutlib-chat .cl-chat-model-trigger {max-width:145px}
 html[data-cutlib-experience] #root .cl-home-controls-main {gap:6px}
 html[data-cutlib-experience] #root .cl-home-controls-main > .cl-chat-model {max-width:140px}
 html[data-cutlib-experience] #root .cl-home-controls-main > .ds-model-picker {max-width:140px}
 html[data-cutlib-experience] #root :is(.web-auth-card,.cutlib-auth-card) {padding:24px; border-radius:22px}
}
/* Stateful workspace language: light becomes specific to the current action. */
html[data-cutlib-experience] {--cx-node-accent:var(--cx-blue)}
html[data-cutlib-experience] #root .ds-node {--cx-node-accent:var(--cx-blue)}
html[data-cutlib-experience] #root .ds-node-kind-video {--cx-node-accent:var(--cx-violet)}
html[data-cutlib-experience] #root :is(.ds-node-kind-image,.ds-node-kind-character,.ds-node-kind-scene,.ds-node-kind-prop) {--cx-node-accent:var(--cx-gold)}
html[data-cutlib-experience] #root .ds-node-kind-audio {--cx-node-accent:var(--cx-aqua)}
html[data-cutlib-experience] #root .ds-node-surface {position:relative; transition:border-color 180ms ease,box-shadow 240ms ease; background-image:linear-gradient(155deg,#ffffff03,transparent 36%)}
html[data-cutlib-experience] #root .ds-node:hover .ds-node-surface {border-color:color-mix(in srgb,var(--cx-node-accent) 38%,var(--cx-edge)); box-shadow:0 8px 26px #00000020}
html[data-cutlib-experience] #root .ds-node[data-cx-selected="true"] .ds-node-surface {border-color:var(--cx-node-accent); outline-color:color-mix(in srgb,var(--cx-node-accent) 23%,transparent); box-shadow:0 0 0 1px color-mix(in srgb,var(--cx-node-accent) 30%,transparent),0 8px 28px #00000022}
html[data-cutlib-experience] #root .ds-node-caption {transition:color 180ms ease}
html[data-cutlib-experience] #root .ds-node[data-cx-selected="true"] .ds-node-caption {color:var(--cx-node-accent)}
html[data-cutlib-experience] #root .cl-node-reference-tag {border-radius:5px; font-size:8px; font-weight:550; letter-spacing:.04em; border-color:color-mix(in srgb,var(--cx-node-accent) 18%,var(--cx-edge)); background:color-mix(in srgb,var(--cx-node-accent) 5%,transparent)}
html[data-cutlib-experience] #root .react-flow__node.dragging .ds-node-surface {box-shadow:0 12px 32px #00000032,0 0 0 1px color-mix(in srgb,var(--cx-node-accent) 32%,transparent); transition:none}
html[data-cutlib-experience] #root .ds-easy-port {transition:background-color 140ms ease,box-shadow 180ms ease,color 140ms ease; color:var(--cx-node-accent)}
html[data-cutlib-experience] #root .ds-easy-port:hover,
html[data-cutlib-experience] #root .ds-easy-port.connectingfrom,
html[data-cutlib-experience] #root .ds-easy-port.connectingto {background:var(--cx-node-accent); color:var(--cx-sheet); box-shadow:0 0 0 5px color-mix(in srgb,var(--cx-node-accent) 12%,transparent),0 0 16px color-mix(in srgb,var(--cx-node-accent) 25%,transparent)}
html[data-cutlib-experience] #root .ds-easy-port.valid {box-shadow:0 0 0 6px #77cbb322; background:#89d2be}
html[data-cutlib-experience] #root .react-flow__edge-path {transition:stroke 200ms ease,stroke-opacity 200ms ease}
html[data-cutlib-experience] #root .react-flow__edge[data-cx-related="true"] .react-flow__edge-path {stroke:var(--cx-aqua) !important; stroke-opacity:.6}
.clx-edge-trace {fill:none; stroke:var(--cx-aqua); stroke-width:1.8; stroke-linecap:round; stroke-dasharray:13 87; stroke-dashoffset:100; pointer-events:none; vector-effect:non-scaling-stroke; animation:cx-edge-travel 2400ms linear infinite}
html[data-cutlib-experience] #root .react-flow__connection-path {stroke:var(--cx-aqua); stroke-width:1.7; stroke-dasharray:5 5; animation:cx-connect 800ms linear infinite}

/* Director library: a gallery with a deliberate opening and editorial rhythm. */
/* Native creation catalog: type, family, model. Preserve React coordinates and
   all original data; small containers turn the two navs into separate rails. */
/* Legacy catalog fallback only. The marked continuous catalog owns its
   complete layout in model-pricing-ui.css, including responsive rules. */
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]).ds-catalog-refined {
 --studio-panel:var(--cx-surface); --studio-ink:var(--cx-ink); --studio-muted:var(--cx-muted); --studio-caption:var(--cx-muted);
 --studio-border:var(--cx-edge); --studio-border-strong:var(--cx-edge); --studio-raised:var(--cx-raised); --studio-control-bg:var(--cx-raised);
 --studio-accent:var(--cx-aqua); --studio-hover:color-mix(in srgb,var(--cx-aqua) 5%,var(--cx-surface));
 width:570px; height:600px; max-width:calc(100% - 16px); max-height:min(calc(100% - 16px),calc(100dvh - 24px));
 color:var(--cx-ink); background:var(--cx-surface); border:1px solid var(--cx-edge); border-radius:21px;
 box-shadow:0 22px 64px #00000030,inset 0 1px #ffffff08; animation:none!important; isolation:isolate;
}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]).ds-catalog-with-series {width:864px}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > header {flex:none; min-height:58px; padding:10px 15px; gap:10px; background:transparent; border-color:var(--cx-edge); color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > header input {min-height:36px; padding:7px 9px; border-radius:10px; font-size:13px; color:var(--cx-ink); background:transparent; box-shadow:none}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > header input::placeholder {color:var(--cx-muted); opacity:1}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > header input:focus-visible {outline:2px solid var(--cx-focus); outline-offset:0}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > header button {display:grid; place-items:center; flex:none; width:32px; height:32px; padding:0; border:1px solid transparent; border-radius:10px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > header button:hover {background:var(--cx-raised); border-color:var(--cx-edge); color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-body {min-height:0}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav {flex:none; width:134px; padding:12px 7px; border-right:1px solid var(--cx-edge); background:color-mix(in srgb,var(--cx-raised) 35%,var(--cx-surface)); border-radius:0; scrollbar-width:thin; overscroll-behavior:contain}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-nav-label {padding:4px 9px 11px; font-size:10px!important; color:var(--cx-muted)!important; font-weight:450}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav > button {min-height:43px; padding:10px 9px; margin:3px 0; gap:9px; border-radius:10px; font-size:12px!important; color:var(--cx-muted)!important; white-space:nowrap}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav > button.active {background:transparent!important; color:var(--cx-ink)!important}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-nav-count {margin-left:auto; font-size:10px!important; font-variant-numeric:tabular-nums; color:var(--cx-muted)!important}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav[data-cx-tabs]::before {border-radius:10px; background:var(--cx-raised); box-shadow:0 3px 9px #00000010,inset 3px 0 var(--cx-aqua)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series {flex:none; width:180px; padding:12px 8px; background:transparent; border-color:var(--cx-edge); border-radius:0}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series > button {min-height:60px; padding:10px; margin:3px 0; border-radius:11px; color:var(--cx-muted); gap:9px}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series > button[aria-pressed="true"] {background:transparent; border-color:transparent; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series > button strong {font-size:12px; font-weight:550; line-height:1.5}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series small {border-color:var(--cx-edge); background:var(--cx-raised); color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series[data-cx-tabs]::before {border-radius:11px; border-color:color-mix(in srgb,var(--cx-aqua) 24%,var(--cx-edge)); background:color-mix(in srgb,var(--cx-aqua) 5%,var(--cx-surface)); box-shadow:none}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-results {padding:0 12px 12px; scroll-padding-block:50px 12px; scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-model-family-heading {position:sticky; z-index:2; top:0; margin:0; padding:16px 8px 12px; background:var(--cx-surface); color:var(--cx-muted); font-size:11px}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-model-family-heading > span {background:var(--cx-raised); color:var(--cx-muted); font-size:10px}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-item {padding:13px 11px!important; margin:0 0 6px; min-height:86px; border:1px solid transparent!important; border-radius:13px!important; color:var(--cx-ink); background:transparent!important; transition:background-color 150ms ease,border-color 150ms ease}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-item:hover,
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-item[data-catalog-active="true"] {background:color-mix(in srgb,var(--cx-aqua) 5%,var(--cx-surface))!important; border-color:color-mix(in srgb,var(--cx-aqua) 22%,var(--cx-edge))!important}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-item[aria-disabled="true"] {opacity:.58; cursor:not-allowed}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-card {grid-template-columns:32px minmax(0,1fr) auto; gap:9px 11px}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-name {font-size:13px!important; color:var(--cx-ink); line-height:1.55; font-weight:560}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) :is(.ds-model-copy,.ds-lens-model-copy) {min-width:0}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) :is(.ds-lens-model-references,.ds-lens-model-specs,.ds-model-copy small) {font-size:11px!important; line-height:1.65; color:var(--cx-muted)!important}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-price {font-size:12px!important; color:var(--cx-aqua)!important}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-empty {padding:40px 18px; color:var(--cx-muted); line-height:1.8; text-align:center}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > footer {flex:none; min-height:46px; align-items:center; gap:10px; padding:9px 16px; border-color:var(--cx-edge); color:var(--cx-muted); background:transparent}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > footer label {min-height:28px; font-size:11px; cursor:pointer}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > footer input {accent-color:var(--cx-aqua)}
html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) > footer small {font-size:10px}
@container ds-catalog (max-width:650px) {
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-body {flex-direction:column}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav {display:flex; width:100%; padding:7px 9px; overflow-x:auto; overflow-y:hidden; gap:6px; border-right:0; border-bottom:1px solid var(--cx-edge); scrollbar-width:thin}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav > .ds-catalog-nav-label {display:none}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav > button {flex:none; width:auto; min-height:39px; margin:0; padding:8px 10px; gap:7px; font-size:11px!important}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-type-nav[data-cx-tabs]::before {box-shadow:0 2px 6px #0000000a,inset 0 -2px var(--cx-aqua)}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-content {flex-direction:column}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) nav.ds-catalog-series {width:100%; height:71px; min-height:71px; max-height:71px; padding:8px 10px; gap:7px; background:transparent}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) nav.ds-catalog-series > button {min-width:150px; width:150px; min-height:52px; margin:0; padding:8px 10px; gap:8px; border:1px solid var(--cx-edge)}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-series strong {font-size:11px}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-results {padding:0 10px 10px}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-card {grid-template-columns:32px minmax(0,1fr) auto}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-commerce {grid-column:auto; justify-items:end; text-align:right}
}
@container ds-catalog (max-width:430px) {
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-card {grid-template-columns:30px minmax(0,1fr); gap:3px 10px}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-icon {width:30px; height:30px}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-lens-model-commerce {grid-column:2; justify-items:start; text-align:left}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-catalog-item > .ds-catalog-chevron {display:none}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) .ds-model-family-heading {padding-top:12px}
}
html[data-cutlib-experience][data-cx-still="true"] #root .ds-node-catalog:not([data-studio-model-catalog]) button,
html[data-cutlib-experience][data-cx-still="true"] #root .ds-node-catalog:not([data-studio-model-catalog]) [data-cx-tabs]::before {transition:none}
@media(forced-colors:active) {
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) {--cx-ink:CanvasText; --cx-muted:CanvasText; --cx-edge:ButtonText; --cx-surface:Canvas; --cx-raised:Canvas; --cx-aqua:Highlight; --cx-focus:Highlight; box-shadow:none}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) *,
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) *::before,
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) *::after {transition:none!important; animation:none!important}
 html[data-cutlib-experience] #root .ds-node-catalog:not([data-studio-model-catalog]) :is(.active,[aria-pressed="true"],[data-catalog-active="true"]) {outline:2px solid Highlight; outline-offset:-3px}
}
html[data-cutlib-experience] #root :is(.ds-immersive-knowledge,.ds-knowledge-outlet) {border:1px solid var(--cx-sheet-edge); border-radius:22px; background:var(--cx-sheet); box-shadow:0 24px 100px #0000004d; overflow:hidden; isolation:isolate}
html[data-cutlib-experience] #root .ds-immersive-panel-heading {height:54px; padding-inline:18px; background:color-mix(in srgb,var(--cx-surface) 80%,transparent); border-bottom:1px solid var(--cx-sheet-edge); gap:16px}
html[data-cutlib-experience] #root .ds-immersive-panel-heading > strong {font-size:11px; font-weight:500; letter-spacing:.08em; color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-immersive-panel-heading > button {border-radius:10px; background:transparent; font-size:12px}
html[data-cutlib-experience] #root .ds-directors-only {padding:0; background:transparent}
/* The immersive outlet is a flex column: auto margins/width shrink this library
   to two intrinsic columns even on desktop. Keep its width tied to the outlet. */
html[data-cutlib-experience] #root .ds-director-library {display:flex; flex-direction:column; gap:0; width:100%; max-width:none; min-width:0; flex:0 0 auto; align-self:stretch; box-sizing:border-box; padding:30px clamp(22px,3vw,48px) 48px; margin:0; background:radial-gradient(ellipse at 95% 0,#6e9f9d0c,transparent 40%)}
html[data-cutlib-experience] #root .ds-director-heading {margin-bottom:28px; align-items:end}
html[data-cutlib-experience] #root .ds-director-heading h2 {font-size:clamp(29px,3vw,44px); font-weight:530; line-height:1.2; letter-spacing:-.065em; color:var(--cx-ink); margin:0 0 12px}
html[data-cutlib-experience] #root .ds-director-heading p {color:var(--cx-muted); font-size:12px; line-height:1.8}
html[data-cutlib-experience] #root .ds-director-apply {border-radius:12px; border:1px solid color-mix(in srgb,var(--cx-aqua) 25%,var(--cx-edge)); background:color-mix(in srgb,var(--cx-aqua) 7%,var(--cx-surface)); color:var(--cx-ink); min-height:38px; padding:9px 14px; font-size:12px}
html[data-cutlib-experience] #root .ds-director-apply:hover {background:color-mix(in srgb,var(--cx-aqua) 14%,var(--cx-surface)); box-shadow:0 4px 18px #00000018}
html[data-cutlib-experience] #root .ds-director-filters {gap:10px; padding:0; margin-bottom:14px; border:0; background:none}
html[data-cutlib-experience] #root .ds-director-search {background:var(--cx-surface); border:1px solid var(--cx-edge); border-radius:13px; min-height:44px; padding-inline:14px; transition:border-color 180ms ease,box-shadow 180ms ease}
html[data-cutlib-experience] #root .ds-director-search:focus-within {border-color:var(--cx-focus); box-shadow:0 0 0 3px color-mix(in srgb,var(--cx-focus) 9%,transparent)}
html[data-cutlib-experience] #root .ds-director-search input {background:transparent; font-size:13px; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-director-filters :is(select,button) {border-radius:12px; min-height:44px; background:var(--cx-surface); border-color:var(--cx-edge); color:var(--cx-muted); font-size:12px}
html[data-cutlib-experience] #root .ds-director-filters button[aria-pressed="true"] {border-color:var(--cx-aqua); color:var(--cx-aqua); background:color-mix(in srgb,var(--cx-aqua) 8%,var(--cx-surface))}
html[data-cutlib-experience] #root .ds-director-result-line {margin-block:14px 19px; font-size:11px; color:var(--cx-muted); font-variant-numeric:tabular-nums}
html[data-cutlib-experience] #root .ds-director-grid {gap:22px; grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
html[data-cutlib-experience] #root .ds-director-card {position:relative; border-radius:19px; border:1px solid var(--cx-sheet-edge); background:var(--cx-surface); overflow:hidden; box-shadow:0 3px 10px #0000000a; transition:border-color 200ms ease,box-shadow 300ms ease}
html[data-cutlib-experience] #root .ds-director-card:hover,
html[data-cutlib-experience] #root .ds-director-card:focus-within {border-color:color-mix(in srgb,var(--cx-palette-1,var(--cx-aqua)) 60%,var(--cx-edge)); box-shadow:0 12px 35px #00000024}
html[data-cutlib-experience] #root .ds-director-card-open {display:block; width:100%; background:none; border:0; padding:0; text-align:left; border-radius:inherit; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-director-cover {aspect-ratio:1.65; overflow:hidden; background:var(--cx-raised)}
html[data-cutlib-experience] #root .ds-director-cover img {width:100%; height:100%; object-fit:cover; transition:transform 900ms var(--cx-ease),filter 600ms ease}
html[data-cutlib-experience] #root .ds-director-card:hover img {transform:scale(1.06); filter:saturate(1.08)}
html[data-cutlib-experience] #root .ds-director-frame-count {z-index:2; bottom:10px; right:10px; border-radius:6px; font-size:9px; background:#0d1215b8; color:#f1f2ef; border:1px solid #ffffff15; padding:5px 7px; backdrop-filter:blur(8px)}
html[data-cutlib-experience] #root .ds-director-card-palette {height:5px; position:relative; z-index:1; opacity:.82; transition:height 240ms var(--cx-ease),opacity 200ms ease}
html[data-cutlib-experience] #root .ds-director-card:hover .ds-director-card-palette,
html[data-cutlib-experience] #root .ds-director-card:focus-within .ds-director-card-palette {height:8px; opacity:1}
html[data-cutlib-experience] #root .ds-director-card-copy {padding:18px 18px 22px; display:grid; grid-template-columns:1fr auto; column-gap:8px; row-gap:7px}
html[data-cutlib-experience] #root .ds-director-card-copy h3 {grid-column:1; font-size:16px; font-weight:550; letter-spacing:-.035em; margin:0}
html[data-cutlib-experience] #root .ds-director-card-copy p {grid-column:1; font-size:11px; color:var(--cx-muted); margin:0; min-height:14px}
html[data-cutlib-experience] #root .ds-director-card-copy > span {grid-column:2; grid-row:1 / 3; align-self:center; font-size:10px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-director-card-copy > div {grid-column:1 / -1; color:var(--cx-muted); font-size:11px; line-height:1.85; margin-top:7px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.clx-missing-cover {isolation:isolate; overflow:hidden; background:linear-gradient(135deg,var(--cx-cover-0,#1c2938) 5%,var(--cx-cover-1,#354849) 72%); text-shadow:0 2px 15px #00000040; font-family:Georgia,'Times New Roman',serif; font-size:clamp(21px,2vw,32px); font-weight:400; letter-spacing:-.04em; text-align:left; justify-items:start; align-content:end; padding:26px 22px; line-height:1.05}
.clx-missing-cover::before {inset:-20% -30% 0 25%; border:0; background:linear-gradient(130deg,transparent 10%,color-mix(in srgb,var(--cx-cover-2,#ad9979) 75%,transparent),transparent 80%); transform:rotate(-24deg); opacity:.55; border-radius:0; z-index:-1; transition:translate 1000ms var(--cx-ease)}
.clx-missing-cover::after {content:""; position:absolute; inset:16px; border:1px solid #ffffff14; border-left-color:transparent; border-bottom-color:transparent; pointer-events:none; z-index:-1}
html[data-cutlib-experience] #root .ds-director-card:hover .clx-missing-cover::before {translate:-12px 8px}
html[data-cutlib-experience] #root .ds-director-dialog {width:min(1120px,calc(100vw - 48px)); padding:0; background:var(--cx-sheet); color:var(--cx-ink); border:1px solid var(--cx-edge); transform-origin:var(--cx-origin,50% 40%); animation:none}
html[data-cutlib-experience] #root :is(.ds-director-dialog,.ds-director-frame-dialog)::backdrop {background:#060a1099; backdrop-filter:blur(7px); animation:cx-fade 300ms ease both}
html[data-cutlib-experience] #root .ds-director-detail-bar {padding:16px 22px; color:var(--cx-muted); font-size:11px; border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .ds-director-detail-bar button {border-radius:10px; color:var(--cx-muted); background:var(--cx-raised)}
html[data-cutlib-experience] #root .ds-director-detail {max-height:92dvh; min-height:0}
html[data-cutlib-experience] #root .ds-director-detail-scroll {overscroll-behavior:contain; scrollbar-gutter:stable; scrollbar-color:var(--cx-edge) transparent}
html[data-cutlib-experience] #root .ds-director-detail-hero {padding:0; min-height:278px; gap:30px; background:var(--cx-sheet)}
html[data-cutlib-experience] #root .ds-director-detail-hero > div:not(.clx-director-cover-index) {position:relative; z-index:1; padding:34px 38px; max-width:760px}
html[data-cutlib-experience] #root .ds-director-detail-hero h2 {font-size:38px; font-weight:520; letter-spacing:-.055em; line-height:1.25; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-director-detail-hero > img {border-radius:0; object-fit:cover}
html[data-cutlib-experience] #root .ds-director-detail-hero p {color:var(--cx-muted); font-size:12px; line-height:1.8}
html[data-cutlib-experience] #root .ds-director-detail-hero > div > span {color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-director-detail-content {padding:12px 34px 30px}
html[data-cutlib-experience] #root .ds-director-tabs {border-bottom:1px solid var(--cx-edge); gap:14px; padding:0; margin:20px 0}
html[data-cutlib-experience] #root .ds-director-tabs > button {padding:13px 12px; min-height:44px; font-size:12px; color:var(--cx-muted); border-radius:9px; flex:none}
html[data-cutlib-experience] #root .ds-director-tabs > button.active {color:var(--cx-ink); border-bottom-color:transparent}
html[data-cutlib-experience] #root .ds-director-tabs span {color:var(--cx-muted); font-variant-numeric:tabular-nums; font-size:10px}
html[data-cutlib-experience] #root .ds-director-film-tabs {gap:7px; margin-bottom:24px}
html[data-cutlib-experience] #root .ds-director-film-tabs button {padding:8px 12px; background:transparent; border:1px solid var(--cx-edge); border-radius:9px; color:var(--cx-muted); min-height:34px}
html[data-cutlib-experience] #root .ds-director-film-tabs button.active {background:color-mix(in srgb,var(--cx-aqua) 9%,var(--cx-surface)); border-color:color-mix(in srgb,var(--cx-aqua) 45%,var(--cx-edge)); color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-director-palette.large {height:38px; border-radius:9px; margin:0 0 6px}
html[data-cutlib-experience] #root .ds-director-palette > button {transition:filter 160ms ease}
html[data-cutlib-experience] #root .ds-director-palette > button:is(:hover,:focus-visible) {filter:brightness(1.16); z-index:2}
html[data-cutlib-experience] #root .ds-director-film {margin-bottom:28px}
html[data-cutlib-experience] #root .ds-director-film h3 {font-size:14px; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-director-film h3 small {font-size:11px; color:var(--cx-muted); font-variant-numeric:tabular-nums}
html[data-cutlib-experience] #root .ds-director-film > header a {color:var(--cx-muted); border-radius:5px}
html[data-cutlib-experience] #root .ds-director-film > header a:hover {color:var(--cx-aqua)}
html[data-cutlib-experience] #root .ds-director-frame-grid {gap:12px; grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr))}
html[data-cutlib-experience] #root .ds-director-frame-grid > button {background:var(--cx-surface); border:1px solid var(--cx-edge); border-radius:12px; transition:border-color 160ms ease,box-shadow 200ms ease}
html[data-cutlib-experience] #root .ds-director-frame-grid > button:hover {border-color:color-mix(in srgb,var(--cx-aqua) 50%,var(--cx-edge)); box-shadow:0 6px 18px #00000016}
html[data-cutlib-experience] #root .ds-director-principles {grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); gap:12px}
html[data-cutlib-experience] #root .ds-director-principles article {padding:20px; border-radius:14px; background:var(--cx-surface); border:1px solid var(--cx-edge)}
html[data-cutlib-experience] #root .ds-director-principles h3 {font-size:12px; color:var(--cx-ink); font-weight:550; margin-bottom:10px}
html[data-cutlib-experience] #root .ds-director-principles p {color:var(--cx-muted); font-size:12px; line-height:1.9}
html[data-cutlib-experience] #root .ds-director-tags {gap:7px}
html[data-cutlib-experience] #root .ds-director-tags span {font-size:10px; line-height:1.6; border-radius:6px; border-color:var(--cx-edge); color:var(--cx-muted); background:var(--cx-surface)}
html[data-cutlib-experience] #root .ds-director-document {border-color:var(--cx-edge); padding:3px 0}
html[data-cutlib-experience] #root .ds-director-document summary {color:var(--cx-ink); min-height:44px; border-radius:9px; padding:13px 10px}
html[data-cutlib-experience] #root .ds-director-document summary:hover {background:var(--cx-surface)}
html[data-cutlib-experience] #root .ds-director-document summary > svg {color:var(--cx-muted); transition:rotate 220ms var(--cx-ease); transform:none}
html[data-cutlib-experience] #root .ds-director-document[open] summary > svg {rotate:180deg}
html[data-cutlib-experience] #root .ds-director-document pre {border:1px solid var(--cx-edge); background:var(--cx-surface); color:var(--cx-muted); border-radius:12px; padding:20px; font-size:12px; line-height:1.95; overflow-wrap:anywhere}
html[data-cutlib-experience] #root .ds-director-provenance {border-color:var(--cx-edge); color:var(--cx-muted); font-size:10px; line-height:1.8}
/* No substituted film imagery: the unavailable state is explicit and reversible. */
html[data-cutlib-experience] #root img[data-cx-missing="true"] {opacity:0}
html[data-cutlib-experience] #root .ds-director-detail-hero[data-cx-reference-media="missing"]::after {background:none}
html[data-cutlib-experience] #root .ds-director-detail-hero > .clx-director-cover-index {position:absolute; inset:0; z-index:0; max-width:none; padding:0; pointer-events:none; overflow:hidden; background:linear-gradient(100deg,var(--cx-sheet) 20%,color-mix(in srgb,var(--cx-director-color-1) 30%,var(--cx-sheet))),var(--cx-sheet)}
.clx-director-cover-index::before {content:""; position:absolute; right:-8%; top:-70%; width:68%; height:230%; border:1px solid color-mix(in srgb,var(--cx-director-color-2) 35%,transparent); border-radius:50%; rotate:-28deg; background:linear-gradient(130deg,transparent 25%,color-mix(in srgb,var(--cx-director-color-0) 30%,transparent) 40%,color-mix(in srgb,var(--cx-director-color-3) 14%,transparent) 60%,transparent 80%)}
.clx-director-cover-index > small {position:absolute; right:24px; bottom:20px; font-size:10px; letter-spacing:.08em; color:var(--cx-muted)}
html[data-cutlib-experience] #root .clx-reference-missing {position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:10px; padding:18px; pointer-events:none; color:var(--cx-muted); background:linear-gradient(145deg,transparent,#718a9e05),var(--cx-surface)}
.clx-reference-missing svg {width:30px; height:24px; opacity:.5; stroke:currentColor; stroke-width:1; stroke-linecap:round; stroke-linejoin:round}
.clx-reference-missing small {font-size:10px; opacity:.85}
html[data-cutlib-experience] #root .ds-director-frame-dialog {position:fixed; background:var(--cx-sheet); color:var(--cx-ink); border:1px solid var(--cx-edge); border-radius:20px; padding:16px; transform-origin:var(--cx-origin,50% 50%)}
html[data-cutlib-experience] #root .ds-director-frame-dialog :is(header,footer) {position:relative; z-index:1; color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-director-frame-dialog .clx-reference-missing {inset:58px 16px 94px; border-radius:12px; border:1px solid var(--cx-edge)}
html[data-cutlib-experience] #root .ds-director-frame-dialog .ds-director-palette {position:relative; z-index:1; border-radius:7px}
/* Retained runtime declares these three properties !important. Scope the
   matching override to this one primary action; do not alter global buttons. */
html[data-cutlib-experience] #root .ds-director-dialog .ds-director-apply {background:var(--cx-ink)!important; color:var(--cx-raised)!important; border-color:transparent!important}
html[data-cutlib-experience] #root .ds-director-dialog .ds-director-apply:hover {background:color-mix(in srgb,var(--cx-ink) 88%,var(--cx-surface))!important; box-shadow:0 5px 18px #00000020}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-director-dialog .ds-director-detail-bar button {background:var(--cx-sheet); color:var(--cx-muted)}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-director-tabs[data-cx-tabs] > button.active {color:var(--cx-ink)}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-director-film-tabs button.active {color:var(--cx-ink); background:color-mix(in srgb,var(--cx-aqua) 8%,var(--cx-raised)); border-color:color-mix(in srgb,var(--cx-aqua) 35%,var(--cx-edge))}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-director-frame-grid > button {border-color:var(--cx-edge)}
/* Reference previews remain legible over chat history in both themes. */
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview {background:var(--cx-raised); color:var(--cx-ink); border:1px solid var(--cx-edge); border-radius:17px; padding:0; max-height:min(440px,55dvh); box-shadow:0 14px 50px #00000024; overscroll-behavior:contain}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview > header {display:flex; align-items:center; justify-content:space-between; padding:12px 14px; min-height:46px; border-bottom:1px solid var(--cx-edge); background:var(--cx-raised); color:var(--cx-ink)}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview > header > span {display:flex; gap:8px; align-items:center; min-width:0}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview > header strong {font-size:11px; font-weight:550}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview > header button {flex:none; padding:5px; border-radius:7px; width:27px; height:27px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .cutlib-chat .cl-context-preview > p {margin:0; padding:14px 16px; max-height:min(340px,40dvh); overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.85; color:var(--cx-muted); scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent}

/* Generation artwork is decorative; native status text/percent remains intact. */
html[data-cutlib-experience] #root .ds-generation-veil {isolation:isolate; overflow:hidden; border-radius:inherit; background:var(--cx-surface,#1a1920)}
html[data-cutlib-experience] #root .ds-generation-working {background:#15151e}
html[data-cutlib-experience] #root .ds-generation-working .ds-generation-pill {position:relative; z-index:2; background:#191a26b8; color:#f1eef7; padding:9px 14px; border:1px solid #e6dff00d; border-radius:999px; box-shadow:0 4px 22px #0c0b1618; font-size:11px; font-weight:500; letter-spacing:.03em; gap:8px; backdrop-filter:blur(12px)}
html[data-cutlib-experience] #root .ds-generation-working .ds-generation-pill > svg {width:14px; height:14px; opacity:.7}
.clx-generation-art {position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; contain:paint; background:radial-gradient(ellipse at 15% 60%,#7abbed80,transparent 65%),radial-gradient(ellipse at 80% 55%,#e99edb80,transparent 66%),#242b4a}
.clx-aurora-canvas {position:absolute; inset:0; width:100%; height:100%; display:block}
.clx-aurora-canvas[hidden] {display:none}
html[data-cutlib-experience] #root .ds-generation-working::after {content:none}
html[data-cutlib-experience] #root .ds-generation-held {background:repeating-linear-gradient(135deg,#171b22,#171b22 10px,#1a1e25 10px,#1a1e25 11px)}
html[data-cutlib-experience] #root .ds-generation-held .ds-generation-pill {background:var(--cx-surface); color:var(--cx-muted); border:1px solid var(--cx-edge); border-radius:12px; padding:10px 14px}
html[data-cutlib-experience] #root .ds-generation-outcome.is-failed {background:radial-gradient(ellipse at 50% 0,#57363822,transparent 72%),var(--cx-surface)}
html[data-cutlib-experience] #root .ds-generation-outcome.is-failed > div > svg {color:var(--cx-coral)}
html[data-cutlib-experience] #root .ds-generation-outcome :is(strong,p) {position:relative; z-index:1}
html[data-cutlib-experience] #root .ds-job-platform-progress {height:3px; border-radius:4px; background:var(--cx-edge); overflow:hidden}
html[data-cutlib-experience] #root .ds-job-platform-progress > span {height:100%; background:linear-gradient(90deg,var(--cx-aqua),var(--cx-violet)); border-radius:inherit; transition:width 450ms var(--cx-ease)}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-generation-working {background:#f5f2f7}
html[data-cutlib-experience][data-web-theme="light"] .clx-generation-art {background:radial-gradient(ellipse at 15% 60%,#b5d6f699,transparent 65%),radial-gradient(ellipse at 80% 55%,#f1c1e199,transparent 66%),#f2f4fb}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-generation-working .ds-generation-pill {background:#fffcffb8; color:#53475f; border-color:#ffffff73; box-shadow:0 3px 16px #66507a06}
html[data-cutlib-experience][data-web-theme="light"] #root .ds-generation-held {background:repeating-linear-gradient(135deg,#f4f5f7,#f4f5f7 10px,#eceef2 10px,#eceef2 11px)}
html[data-cutlib-experience] #root :is(.ds-jobs-panel,.ds-prompt-dialog) {transform-origin:var(--cx-origin,50% 0); animation:none}
html[data-cutlib-experience] #root .ds-job-card {border-left:2px solid transparent; transition:background-color 180ms ease,border-color 180ms ease,box-shadow 200ms ease}
html[data-cutlib-experience] #root .ds-job-card:has(.ds-job-state-dot.running) {border-left-color:var(--cx-violet)}
html[data-cutlib-experience] #root .ds-job-card:has(.ds-job-state-dot.failed) {border-left-color:var(--cx-coral)}
html[data-cutlib-experience] #root .ds-job-card:has(.ds-job-state-dot.completed) {border-left-color:var(--cx-aqua)}
@keyframes cx-edge-travel {from {stroke-dashoffset:100} to {stroke-dashoffset:0}}
@keyframes cx-connect {to {stroke-dashoffset:-20}}
html[data-cutlib-experience][data-cx-hidden="true"] :is(.clx-edge-trace,.ds-generation-pill > svg),
html[data-cutlib-experience][data-cx-hidden="true"] #root :is(.ds-generation-working::after,.react-flow__connection-path) {animation-play-state:paused}
html[data-cutlib-experience][data-cx-still="true"] :is(.clx-edge-trace,.ds-generation-pill > svg),
html[data-cutlib-experience][data-cx-still="true"] #root :is(.ds-generation-working::after,.react-flow__connection-path) {animation:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.ds-node-surface,.ds-easy-port,.ds-director-card-palette,.ds-director-cover img,.ds-job-platform-progress > span,.clx-missing-cover::before) {transition:none}
html[data-cutlib-experience] #root .ds-node[data-cx-inview="false"] :is(.ds-generation-pill > svg) {animation-play-state:paused; will-change:auto}
@media(forced-colors:active) {.clx-generation-art {display:none}}
@media(max-width:700px) {
 html[data-cutlib-experience] #root .ds-director-library {padding:24px 16px 36px}
 html[data-cutlib-experience] #root .ds-director-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}
 html[data-cutlib-experience] #root .ds-director-heading {align-items:start; gap:16px; margin-bottom:22px}
 html[data-cutlib-experience] #root .ds-director-heading h2 {font-size:29px}
 html[data-cutlib-experience] #root .ds-director-heading .ds-director-apply {font-size:0; padding:10px; min-width:38px}
 html[data-cutlib-experience] #root .ds-director-heading .ds-director-apply svg {width:16px; height:16px}
 html[data-cutlib-experience] #root .ds-director-filters {display:flex; flex-wrap:wrap}
 html[data-cutlib-experience] #root .ds-director-search {flex-basis:100%}
 html[data-cutlib-experience] #root .ds-director-filters select {min-width:0; flex:1; max-width:calc(50% - 5px)}
 html[data-cutlib-experience] #root .ds-director-filters > button {min-height:36px}
 html[data-cutlib-experience] #root .ds-director-card-copy {padding:12px; display:block}
 html[data-cutlib-experience] #root .ds-director-card-copy h3 {font-size:14px}
 html[data-cutlib-experience] #root .ds-director-card-copy p {font-size:10px; margin:7px 0}
 html[data-cutlib-experience] #root .ds-director-card-copy > span {font-size:9px}
 html[data-cutlib-experience] #root .ds-director-card-copy > div {font-size:10px; margin-top:8px}
 html[data-cutlib-experience] #root .ds-director-cover {aspect-ratio:1.25}
 .clx-missing-cover {font-size:21px; padding:14px; line-height:1.1}
 html[data-cutlib-experience] #root .ds-director-dialog {width:calc(100vw - 20px); border-radius:20px}
 html[data-cutlib-experience] #root .ds-director-detail-hero {padding:0; gap:18px; min-height:248px}
 html[data-cutlib-experience] #root .ds-director-detail-hero > div:not(.clx-director-cover-index) {padding:26px 22px}
 html[data-cutlib-experience] #root .ds-director-detail-hero h2 {font-size:29px}
 html[data-cutlib-experience] #root .ds-director-detail-content {padding:10px 16px 24px}
 html[data-cutlib-experience] #root .ds-director-tabs {gap:4px}
 html[data-cutlib-experience] #root .ds-director-tabs > button {font-size:11px; padding-inline:9px}
 html[data-cutlib-experience] #root .ds-director-frame-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px}
 html[data-cutlib-experience] #root .ds-director-frame-grid > button {aspect-ratio:1.35}
 html[data-cutlib-experience] #root .ds-director-principles article {padding:16px}
 html[data-cutlib-experience] #root .ds-director-palette.large {height:32px}
}
@media(forced-colors:active) {.clx-generation-art,.clx-edge-trace {display:none}}
/* Real media controls: no autoplay, synthetic waveform, or time-based status. */
html[data-cutlib-experience] #root .ds-video-controls {background:linear-gradient(180deg,#171c20da,#10161aee); border-top:1px solid #ffffff13; padding:9px 10px; gap:9px; transition:opacity 180ms ease,background-color 200ms ease}
html[data-cutlib-experience] #root .ds-video-controls button {border-radius:8px; min-width:26px; min-height:26px; color:#d4dce5}
html[data-cutlib-experience] #root .ds-video-controls button:hover {color:#9bdacf; background:#a9dcc318}
html[data-cutlib-experience] #root .ds-video-controls :is(small,select) {font-variant-numeric:tabular-nums; font-size:10px}
html[data-cutlib-experience] #root .ds-center-play {border-radius:50%; background:#11182091; border:1px solid #ffffff40; box-shadow:0 4px 20px #00000040; transition:background-color 160ms ease,box-shadow 180ms ease,scale 200ms var(--cx-ease)}
html[data-cutlib-experience] #root .ds-center-play:hover {background:#273e44d9; box-shadow:0 0 0 7px #a8d9cd12,0 6px 24px #00000030; scale:1.06}
html[data-cutlib-experience] #root .ds-video-surface[data-cx-playback="playing"] .ds-video-controls {border-top-color:#8fcfc14d}
html[data-cutlib-experience] #root .ds-video-surface:focus-within .ds-video-controls {opacity:1; visibility:visible; pointer-events:auto}
html[data-cutlib-experience] #root .ds-video-controls {display:grid; grid-template-columns:26px 26px minmax(24px,1fr) 26px 42px 26px 26px; align-items:center; gap:4px; padding:8px}
html[data-cutlib-experience] #root .ds-video-controls :is(button,select) {min-width:0; width:100%; height:28px; padding:0; box-sizing:border-box}
html[data-cutlib-experience] #root .ds-video-controls small {font-variant-numeric:tabular-nums; font-size:9px; white-space:nowrap}
html[data-cutlib-experience] #root .ds-video-controls input[type="range"] {min-width:0; width:100%}
@media(hover:none){html[data-cutlib-experience] #root .ds-video-controls {opacity:1; visibility:visible; pointer-events:auto}}
html[data-cutlib-experience] #root .ds-wave {background:var(--cx-surface); border-radius:inherit; transition:background-color 200ms ease; padding:16px}
html[data-cutlib-experience] #root .ds-wave:has(button[aria-label="暂停音频"]),
html[data-cutlib-experience] #root .ds-wave[data-cx-playback="playing"] {background:color-mix(in srgb,var(--cx-aqua) 5%,var(--cx-surface))}
html[data-cutlib-experience] #root .ds-wave-controls {padding-top:12px; gap:10px; align-items:center}
html[data-cutlib-experience] #root .ds-wave-controls > button {border-radius:50%; width:30px; height:30px; padding:0; display:grid; place-items:center; background:var(--cx-raised); border:1px solid var(--cx-edge); color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-wave:has(button[aria-label="暂停音频"]) .ds-wave-controls > button {background:color-mix(in srgb,var(--cx-aqua) 15%,var(--cx-surface)); border-color:var(--cx-aqua); color:var(--cx-aqua)}
html[data-cutlib-experience] #root [data-cx-wave-seek="true"] {border-radius:8px; outline-offset:4px}
html[data-cutlib-experience] #root [data-cx-wave-seek="true"]:focus-visible {outline:2px solid var(--cx-focus)}
html[data-cutlib-experience] #root [data-cx-wave-seek="true"]::part(cursor) {background-color:var(--cx-aqua) !important}
html[data-cutlib-experience] #root .ds-volume-popover {background:var(--cx-raised); border:1px solid var(--cx-edge); border-radius:13px; box-shadow:0 8px 28px #00000024; padding:12px; animation:cx-pop 180ms var(--cx-ease) both}
html[data-cutlib-experience] #root :is(.ds-video-controls,.ds-volume-popover) input[type="range"] {appearance:none; height:4px; border:0; border-radius:5px; background:linear-gradient(90deg,var(--cx-aqua) var(--cx-range,0%),#71808d4d var(--cx-range,0%)); cursor:pointer; padding:0; outline-offset:5px}
html[data-cutlib-experience] #root :is(.ds-video-controls,.ds-volume-popover) input[type="range"]::-webkit-slider-thumb {appearance:none; width:10px; height:10px; border-radius:50%; border:1px solid #beddd4; background:#e0eae8; box-shadow:0 1px 6px #00000024; transition:box-shadow 160ms ease}
html[data-cutlib-experience] #root :is(.ds-video-controls,.ds-volume-popover) input[type="range"]:hover::-webkit-slider-thumb {box-shadow:0 0 0 4px #a9d8ca20}
html[data-cutlib-experience] #root .ds-video-controls input[type="range"]:disabled {opacity:.4; cursor:default}

/* Native media review: one quiet viewing surface and a compact control deck.
   Image transforms belong to native pixel/fit/pan controls; never animate them. */
html[data-cutlib-experience] #root .ds-media-review[open] {display:grid; grid-template-rows:auto minmax(0,1fr) auto; inset:0; margin:0; padding:0; width:100vw; height:100dvh; max-width:none; max-height:none; border:0; border-radius:0; overflow:hidden; color:var(--cx-ink); background:color-mix(in srgb,var(--cx-surface) 94%,#000); font-family:var(--cx-font)}
html[data-cutlib-experience] #root .ds-media-review > header {display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:20px; padding:max(14px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) 14px max(22px,env(safe-area-inset-left)); border-bottom:1px solid var(--cx-edge); background:var(--cx-surface); box-shadow:0 5px 22px #0000000a; z-index:2}
html[data-cutlib-experience] #root .ds-media-review > header > div {min-width:0; display:grid; gap:6px}
html[data-cutlib-experience] #root .ds-media-review > header strong {display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--cx-ink); font-size:14px; font-weight:550; line-height:1.5}
html[data-cutlib-experience] #root .ds-media-review > header span {font-size:11px; color:var(--cx-muted); line-height:1.6; overflow-wrap:anywhere}
html[data-cutlib-experience] #root .ds-media-review > header nav {display:flex; align-items:center; gap:5px; min-width:0; margin:0}
html[data-cutlib-experience] #root .ds-media-review > header nav :is(button,a) {display:grid; place-items:center; flex:0 0 auto; width:36px; height:36px; padding:0; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--cx-muted); text-decoration:none; font-size:11px}
html[data-cutlib-experience] #root .ds-media-review > header nav :is(button,a):hover {color:var(--cx-ink); background:var(--cx-raised); border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .ds-media-review > header nav button[aria-pressed="true"] {background:color-mix(in srgb,var(--cx-aqua) 10%,var(--cx-surface)); color:var(--cx-aqua); border-color:color-mix(in srgb,var(--cx-aqua) 28%,var(--cx-edge))}
html[data-cutlib-experience] #root .ds-media-review > header output {min-width:42px; text-align:center; font:11px/1.5 var(--cx-font); font-variant-numeric:tabular-nums; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-media-review .ds-lightbox-content {position:relative; min-height:0; min-width:0; width:100%; height:100%; box-sizing:border-box; display:grid; place-items:center; padding:28px clamp(52px,5vw,86px); overflow:hidden; background:transparent}
html[data-cutlib-experience] #root .ds-media-review .ds-lightbox-content > video {width:var(--cx-review-width,auto); height:var(--cx-review-height,auto); max-width:100%; max-height:100%; border:1px solid var(--cx-edge); border-radius:12px; box-sizing:border-box; object-fit:contain; background:#08090b; box-shadow:0 12px 40px #00000024; outline-offset:5px}
html[data-cutlib-experience] #root .ds-media-review .ds-lightbox-content > audio {width:min(640px,100%); max-width:100%; padding:16px; box-sizing:border-box; background:var(--cx-raised); border:1px solid var(--cx-edge); border-radius:18px; box-shadow:0 12px 32px #00000017; outline-offset:5px}
html[data-cutlib-experience] #root .ds-media-review .ds-lightbox-content > .ds-wave {width:min(760px,100%); min-width:0; max-width:100%; padding:24px; box-sizing:border-box; border:1px solid var(--cx-edge); border-radius:20px; box-shadow:0 12px 32px #00000017}
html[data-cutlib-experience] #root .ds-media-review .ds-media-review-image {border-radius:4px; box-shadow:0 10px 45px #00000024}
html[data-cutlib-experience] #root .ds-media-review > :is(.ds-lightbox-prev,.ds-lightbox-next) {display:grid; place-items:center; width:38px; height:58px; padding:0; border:1px solid var(--cx-edge); border-radius:14px; background:var(--cx-surface); color:var(--cx-muted); box-shadow:0 4px 18px #00000013; z-index:2}
html[data-cutlib-experience] #root .ds-media-review > .ds-lightbox-prev {left:12px}
html[data-cutlib-experience] #root .ds-media-review > .ds-lightbox-next {right:12px}
html[data-cutlib-experience] #root .ds-media-review > :is(.ds-lightbox-prev,.ds-lightbox-next):hover {border-color:var(--cx-focus); color:var(--cx-ink); background:var(--cx-raised)}
html[data-cutlib-experience] #root .ds-media-review > footer {padding:10px 16px max(10px,env(safe-area-inset-bottom)); border-top:1px solid var(--cx-edge); color:var(--cx-muted); background:var(--cx-surface); font-size:10px; line-height:1.6; text-align:center; white-space:normal}
@media(max-width:700px){
 html[data-cutlib-experience] #root .ds-media-review > header {grid-template-columns:minmax(0,1fr); gap:10px; padding-inline:16px}
 html[data-cutlib-experience] #root .ds-media-review > header nav {justify-content:flex-end; gap:4px}
 html[data-cutlib-experience] #root .ds-media-review > header nav :is(button,a) {width:34px; height:34px}
 html[data-cutlib-experience] #root .ds-media-review > header output {min-width:38px}
 html[data-cutlib-experience] #root .ds-media-review .ds-lightbox-content {padding:20px 16px}
 html[data-cutlib-experience] #root .ds-media-review > :is(.ds-lightbox-prev,.ds-lightbox-next) {top:auto; bottom:48px; transform:none; width:36px; height:36px; border-radius:50%}
 html[data-cutlib-experience] #root .ds-media-review > footer {font-size:9px; padding-inline:48px}
}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.ds-media-review button,.ds-media-review a,.ds-wave,.ds-video-controls button,.ds-video-controls select) {transition:none}
@media(forced-colors:active){
 html[data-cutlib-experience] #root .ds-media-review[open],html[data-cutlib-experience] #root .ds-media-review :is(header,footer,button,a,video,audio) {background:Canvas; color:CanvasText; border-color:CanvasText; box-shadow:none; transition:none}
 html[data-cutlib-experience] #root .ds-wave {transition:none}
 html[data-cutlib-experience] #root [data-cx-wave-seek="true"]::part(cursor) {background-color:CanvasText !important}
}

/* Native pending state: show its actual status, never a simulated percentage. */
html[data-cutlib-experience] #root .cutlib-chat .web-thinking {display:flex; align-items:center; gap:11px; min-height:40px; margin:10px 0 18px; padding:4px 0; color:var(--cx-muted); font-size:12px; line-height:1.6}
html[data-cutlib-experience] #root .cutlib-chat .web-thinking > .cl-visually-hidden {position:static; width:auto; height:auto; margin:0; padding:0; clip:auto; clip-path:none; overflow:visible; white-space:normal}
html[data-cutlib-experience] #root .cutlib-chat .web-thinking[data-cx-activity="true"] > .cl-visually-hidden {display:none}
html[data-cutlib-experience] #root .cutlib-chat .web-thinking:has(.clx-activity-records[open]) {align-items:flex-start}
html[data-cutlib-experience] #root .clx-agent-activity {flex:1; min-width:0; display:grid; gap:8px}
html[data-cutlib-experience] #root .clx-agent-activity[hidden],html[data-cutlib-experience] #root .clx-activity-records[hidden] {display:none}
html[data-cutlib-experience] #root .clx-activity-label {display:block; color:var(--cx-muted); font-size:12px; line-height:1.7}
html[data-cutlib-experience] #root .clx-activity-records {min-width:0; border:1px solid var(--cx-edge); border-radius:11px; background:var(--cx-surface); font-size:11px; color:var(--cx-muted); overflow:hidden}
html[data-cutlib-experience] #root .clx-activity-records > summary {min-height:34px; padding:6px 11px; box-sizing:border-box; cursor:pointer; list-style:none; display:flex; align-items:center; gap:9px; font-weight:400}
html[data-cutlib-experience] #root .clx-activity-records > summary::-webkit-details-marker {display:none}
html[data-cutlib-experience] #root .clx-activity-records > summary::before {content:""; width:5px; height:5px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; rotate:-45deg; transition:rotate 140ms var(--cx-ease)}
html[data-cutlib-experience] #root .clx-activity-records[open] > summary::before {rotate:45deg}
html[data-cutlib-experience] #root .clx-activity-records > summary:focus-visible {outline:2px solid var(--cx-focus); outline-offset:-3px}
html[data-cutlib-experience] #root .clx-activity-records ol {list-style:none; margin:0 11px; padding:5px 0 9px; border-top:1px solid var(--cx-edge); display:grid; gap:7px; max-height:180px; overflow:auto; scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent; overscroll-behavior:contain}
html[data-cutlib-experience] #root .clx-activity-records li {display:flex; align-items:baseline; gap:8px; line-height:1.6; overflow-wrap:anywhere}
html[data-cutlib-experience] #root .clx-activity-records li::before {content:""; width:4px; height:4px; margin-inline:2px; flex:none; border-radius:50%; background:var(--cx-aqua); align-self:center}
html[data-cutlib-experience] #root .clx-activity-records li[data-kind="error"]::before {background:#d9987a}
html[data-cutlib-experience][data-cx-still="true"] #root .clx-activity-records > summary::before {transition:none}
@media(forced-colors:active){html[data-cutlib-experience] #root .clx-activity-records {background:Canvas; color:CanvasText; border-color:CanvasText} html[data-cutlib-experience] #root .clx-activity-records > summary::before {transition:none} html[data-cutlib-experience] #root .clx-activity-records li::before {background:CanvasText}}
html[data-cutlib-experience] #root .cutlib-chat .cl-thinking-dots {display:inline-flex; flex:none; align-items:center; gap:4px; height:18px}
html[data-cutlib-experience] #root .cutlib-chat .cl-thinking-dots i {display:block; width:4px; height:4px; border-radius:50%; background:var(--cx-aqua); animation:cx-chat-wait 1800ms ease-in-out infinite; opacity:.45}
html[data-cutlib-experience] #root .cutlib-chat .cl-thinking-dots i:nth-child(2) {animation-delay:180ms}
html[data-cutlib-experience] #root .cutlib-chat .cl-thinking-dots i:nth-child(3) {animation-delay:360ms}
@keyframes cx-chat-wait {0%,70%,100% {opacity:.35; translate:0 0} 35% {opacity:1; translate:0 -2px}}
html[data-cutlib-experience][data-cx-still="true"] #root .cutlib-chat .cl-thinking-dots i {animation:none; opacity:.75; translate:none}
html[data-cutlib-experience][data-cx-hidden="true"] #root .cutlib-chat .cl-thinking-dots i {animation-play-state:paused}

/* Long replies stay inside the conversation. Native source/copy remain intact. */
html[data-cutlib-experience] #root .cutlib-chat :is(.web-message,.web-message-content,.cutlib-message-prose) {min-width:0; max-width:100%}
html[data-cutlib-experience] #root .cutlib-chat .cutlib-message-prose {white-space:normal}
html[data-cutlib-experience] #root .cutlib-chat .cutlib-message-prose > p {white-space:pre-wrap}
html[data-cutlib-experience] #root .cutlib-chat .cutlib-message-prose > h4 {font-size:15px; font-weight:600; line-height:1.65; margin:1.25em 0 .55em; letter-spacing:-.01em}
html[data-cutlib-experience] #root .cutlib-chat .cutlib-message-prose > h4:first-child {margin-top:0}
html[data-cutlib-experience] #root .cutlib-chat :not(pre) > code {font-family:ui-monospace,"Cascadia Code",Consolas,monospace; font-size:.9em; padding:2px 5px; border:1px solid var(--cx-edge); border-radius:5px; color:var(--cx-ink); background:color-mix(in srgb,var(--cx-muted) 8%,var(--cx-surface)); box-decoration-break:clone}
html[data-cutlib-experience] #root .cutlib-chat pre[data-cx-code="true"] {position:relative; margin:.85em 0; padding:42px 12px 10px; border:1px solid var(--cx-edge); border-radius:12px; background:var(--cx-surface); overflow:hidden; white-space:normal}
html[data-cutlib-experience] #root .cutlib-chat pre[data-cx-code="true"] > code {display:block; max-height:min(440px,65vh); overflow:auto; overscroll-behavior:contain; padding:2px 1px 7px; color:var(--cx-ink); font:12px/1.75 ui-monospace,"Cascadia Code",Consolas,monospace; white-space:pre; tab-size:2; scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent}
html[data-cutlib-experience] #root .cutlib-chat .clx-code-tools {position:absolute; top:6px; right:7px; display:flex; white-space:normal}
html[data-cutlib-experience] #root .cutlib-chat .clx-code-tools > button {display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:30px; padding:4px 8px; border:1px solid transparent; border-radius:7px; color:var(--cx-muted); background:transparent; font:11px/1.5 var(--cx-font)}
html[data-cutlib-experience] #root .cutlib-chat .clx-code-tools > button:hover {background:var(--cx-raised); border-color:var(--cx-edge); color:var(--cx-ink)}
html[data-cutlib-experience] #root .cutlib-chat .clx-code-tools > button[data-cx-copied="true"] {color:var(--cx-aqua)}
html[data-cutlib-experience] #root .cutlib-chat .clx-code-tools svg {width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round}
html[data-cutlib-experience] #root .cutlib-chat [data-cx-table-source="true"] {display:none}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table {margin:.9em 0; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; border:1px solid var(--cx-edge); border-radius:12px; background:var(--cx-surface); scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table > table {border-collapse:separate; border-spacing:0; width:max-content; min-width:100%; font-size:12px; line-height:1.7; text-align:left}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table :is(th,td) {min-width:90px; max-width:30ch; padding:10px 12px; vertical-align:top; white-space:normal; overflow-wrap:anywhere}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table th {font-weight:550; color:var(--cx-ink); background:color-mix(in srgb,var(--cx-muted) 8%,var(--cx-surface))}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table td {border-top:1px solid var(--cx-edge); color:var(--cx-ink)}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table tbody tr:hover td {background:color-mix(in srgb,var(--cx-aqua) 4%,var(--cx-surface))}
html[data-cutlib-experience] #root .cutlib-chat .clx-message-table :is(strong,code) {color:inherit}
.clx-sr-only {position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
@media (forced-colors:active) {
 html[data-cutlib-experience] #root .cutlib-chat :is(.clx-message-table,pre[data-cx-code="true"],:not(pre) > code) {background:Canvas; color:CanvasText; border-color:CanvasText}
 html[data-cutlib-experience] #root .cutlib-chat .cl-thinking-dots i {background:CanvasText; animation:none}
}

/* Tool receipts and native details disclose information progressively. */
html[data-cutlib-experience] #root .cutlib-chat .web-message-content {font-size:14px; line-height:1.85}
html[data-cutlib-experience] #root .cutlib-chat .cl-agent-actions {margin-block:16px 8px; border:1px solid var(--cx-edge); border-radius:14px; background:color-mix(in srgb,var(--cx-raised) 60%,transparent); padding:0; overflow:hidden}
html[data-cutlib-experience] #root .cl-agent-actions > summary {list-style:none; padding:12px 14px; cursor:pointer; font-size:11px; font-weight:500; color:var(--cx-muted); display:flex; align-items:center; justify-content:space-between; gap:12px; user-select:none}
html[data-cutlib-experience] #root .cl-agent-actions > summary::after {content:""; display:block; width:6px; height:6px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; rotate:45deg; transition:rotate 240ms var(--cx-ease)}
html[data-cutlib-experience] #root .cl-agent-actions[open] > summary::after {rotate:225deg}
html[data-cutlib-experience] #root .cl-agent-actions > summary::-webkit-details-marker {display:none}
html[data-cutlib-experience] #root .cl-agent-actions > summary:hover {color:var(--cx-ink); background:color-mix(in srgb,var(--cx-aqua) 4%,transparent)}
html[data-cutlib-experience] #root .cl-agent-actions > div {margin:0 13px; padding:11px 0; border-top:1px solid var(--cx-edge); font-size:11px; color:var(--cx-muted); display:flex; gap:12px; flex-wrap:wrap; align-items:center}
html[data-cutlib-experience] #root .cl-agent-actions > div > span {flex:1; min-width:100px; line-height:1.7}
html[data-cutlib-experience] #root .cl-agent-actions > div > button {border-radius:7px; font-size:10px; padding:5px 8px; border:1px solid var(--cx-edge); color:var(--cx-muted); background:transparent}
html[data-cutlib-experience] #root .cl-agent-actions > div > button:hover {color:var(--cx-ink); border-color:var(--cx-focus)}
/* Receipt details use persisted evidence; native labels and undo remain intact. */
html[data-cutlib-experience] #root .cl-agent-actions .clx-action-detail {flex:0 0 100%; min-width:0; color:var(--cx-muted); display:grid; gap:6px; padding:9px 11px; border:1px solid var(--cx-edge); border-radius:10px; background:var(--cx-surface); overflow-wrap:anywhere}
html[data-cutlib-experience] #root .cl-agent-actions .clx-action-detail > p {margin:0; font-size:11px; line-height:1.7}
html[data-cutlib-experience] #root .cl-agent-actions .clx-action-detail[data-state="error"] {border-inline-start:2px solid #d9987a}
html[data-cutlib-experience] #root .cl-agent-actions .clx-receipt-code {font-size:10px; color:var(--cx-ink); width:fit-content; padding:2px 5px; background:var(--cx-raised); border-radius:4px; white-space:normal}
html[data-cutlib-experience] #root .cl-agent-actions .clx-receipt-nodes {display:flex; flex-wrap:wrap; gap:6px; margin-top:2px}
html[data-cutlib-experience] #root .cl-agent-actions :is(.clx-receipt-nodes button,.clx-receipt-notice button) {min-height:32px; padding:5px 10px; border:1px solid var(--cx-edge); border-radius:7px; color:var(--cx-ink); background:var(--cx-raised); font:inherit; cursor:pointer; transition:border-color 140ms,color 140ms}
html[data-cutlib-experience] #root .cl-agent-actions :is(.clx-receipt-nodes button,.clx-receipt-notice button):hover {border-color:var(--cx-focus)}
html[data-cutlib-experience] #root .cl-agent-actions :is(.clx-receipt-nodes button,.clx-receipt-notice button):focus-visible {outline:2px solid var(--cx-focus); outline-offset:2px}
html[data-cutlib-experience] #root .cl-agent-actions .clx-receipt-notice {margin:0 13px; padding:11px 0; border-top:1px solid var(--cx-edge); color:var(--cx-muted); font-size:11px; line-height:1.7; display:flex; align-items:center; flex-wrap:wrap; gap:10px}
html[data-cutlib-experience] #root .cl-agent-actions .clx-receipt-locate-status:empty {display:none}
html[data-cutlib-experience][data-cx-still="true"] #root .cl-agent-actions :is(.clx-receipt-nodes button,.clx-receipt-notice button) {transition:none}
@media (forced-colors:active) {html[data-cutlib-experience] #root .cl-agent-actions :is(.clx-action-detail,.clx-receipt-nodes button,.clx-receipt-notice button) {border-color:CanvasText; transition:none}}
html[data-cutlib-experience] #root .cl-creative-recipe {flex-basis:100%; line-height:1.8; color:var(--cx-aqua); padding:10px 12px; background:color-mix(in srgb,var(--cx-aqua) 5%,transparent); border-radius:8px}
html[data-cutlib-experience] #root .cl-creative-recipe small {display:block; color:var(--cx-muted); margin-top:7px; line-height:1.7}
html[data-cutlib-experience] #root .cl-agent-generation {border:1px solid var(--cx-edge); border-radius:15px; background:var(--cx-raised); padding:15px; margin-block:14px; position:relative; overflow:hidden}
html[data-cutlib-experience] #root .cl-agent-generation-head {gap:9px; font-size:12px}
html[data-cutlib-experience] #root .cl-agent-generation-head > span {font-size:10px; color:var(--cx-muted); border-radius:6px; padding:4px 7px; background:color-mix(in srgb,var(--cx-muted) 8%,transparent)}
html[data-cutlib-experience] #root .cl-agent-generation-body {margin-top:14px; padding-top:12px; border-top:1px solid var(--cx-edge); font-size:11px; font-variant-numeric:tabular-nums}
html[data-cutlib-experience] #root .cl-agent-generation[data-status="running"]::after,
html[data-cutlib-experience] #root .cl-agent-generation[data-status="submitting"]::after {content:""; position:absolute; bottom:0; left:-35%; width:35%; height:2px; background:linear-gradient(90deg,transparent,var(--cx-aqua),var(--cx-violet),transparent); animation:cx-tool-busy 2100ms ease-in-out infinite; pointer-events:none}
html[data-cutlib-experience] #root .cl-agent-generation[data-status="failed"] {border-color:color-mix(in srgb,var(--cx-coral) 38%,var(--cx-edge))}
html[data-cutlib-experience] #root .cl-agent-generation[data-status="completed"] .cl-agent-generation-head > span {color:var(--cx-aqua)}
html[data-cutlib-experience] #root .cutlib-message-copy {border-radius:7px; padding:5px 7px; color:var(--cx-muted); transition:color 140ms ease,background-color 140ms ease}
html[data-cutlib-experience] #root .cutlib-message-copy:hover {background:var(--cx-raised); color:var(--cx-ink)}
html[data-cutlib-experience] #root .cutlib-message-copy[aria-label="消息已复制"] {color:var(--cx-aqua)}
html[data-cutlib-experience] #root :is(.cutlib-message-copy[aria-label="消息已复制"],.ds-save-state[aria-label="已保存"]) .lucide-check path {stroke-dasharray:24; animation:cx-check-mark 320ms var(--cx-ease) both}
html[data-cutlib-experience] #root :is(.ds-floating-island,.ds-canvas-toolbar,.ds-viewport-tools,.cl-composer-menu) button > .lucide {transition:rotate 200ms var(--cx-ease),translate 200ms var(--cx-ease),color 160ms ease}
html[data-cutlib-experience] #root :is(.ds-floating-island,.ds-canvas-toolbar,.ds-viewport-tools) button:hover > .lucide-undo2 {rotate:-15deg}
html[data-cutlib-experience] #root :is(.ds-floating-island,.ds-canvas-toolbar,.ds-viewport-tools) button:hover > .lucide-redo2 {rotate:15deg}
html[data-cutlib-experience] #root button[aria-expanded="true"] > .lucide-chevron-down {rotate:180deg}
html[data-cutlib-experience] #root .ds-director-tabs[data-cx-tabs]::before {border-radius:8px; height:calc(var(--cx-tab-h) - 8px); top:4px; border:0; box-shadow:none; background:color-mix(in srgb,var(--cx-aqua) 8%,transparent)}
@supports(interpolate-size:allow-keywords) {
 html[data-cutlib-experience] #root :is(.cl-agent-actions,.ds-generation-more,.cl-message-references details,.ds-director-document) {interpolate-size:allow-keywords}
 html[data-cutlib-experience] #root :is(.cl-agent-actions,.ds-generation-more,.cl-message-references details,.ds-director-document)::details-content {block-size:0; overflow:clip; transition:block-size 280ms var(--cx-ease),content-visibility 280ms allow-discrete}
 html[data-cutlib-experience] #root :is(.cl-agent-actions,.ds-generation-more,.cl-message-references details,.ds-director-document)[open]::details-content {block-size:auto}
}
@keyframes cx-tool-busy {from {translate:0 0} to {translate:390% 0}}
@keyframes cx-check-mark {from {stroke-dashoffset:24} to {stroke-dashoffset:0}}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.ds-save-state,.cutlib-message-copy) .lucide-check path {animation:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.cl-agent-generation::after,.ds-volume-popover) {animation:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.cl-agent-actions,.ds-generation-more,.cl-message-references details,.ds-director-document)::details-content {transition:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.cl-context-preview,.ds-director-document summary > svg,.ds-director-palette > button,.ds-director-film-tabs button) {animation:none; transition:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.ds-center-play,.cl-agent-actions > summary::after) {transition:none; scale:1}
html[data-cutlib-experience][data-cx-hidden="true"] #root .cl-agent-generation::after {animation-play-state:paused}
@media(forced-colors:active) {
 html[data-cutlib-experience] #root :is(.ds-video-controls,.ds-volume-popover) input[type="range"] {appearance:auto; background:Canvas}
 html[data-cutlib-experience] #root .cl-agent-generation::after {display:none}
 html[data-cutlib-experience] #root :is(.cl-agent-actions,.ds-generation-more,.cl-message-references details,.ds-director-document)::details-content {transition:none}
 html[data-cutlib-experience] #root .cl-agent-actions > summary::after {transition:none}
 html[data-cutlib-experience] #root .cutlib-chat :is(.cl-agent-actions,.cl-agent-actions *) {transition:none!important; animation:none!important}
}
/* Preparation: native controls, one readable floating surface, no fake quote. */
html[data-cutlib-experience] #root .cutlib-concept-stage:has(.cl-home-parameters) {z-index:40}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) {
 --studio-panel:var(--cx-surface); --studio-ink:var(--cx-ink); --studio-muted:var(--cx-muted); --studio-secondary:var(--cx-muted); --studio-caption:var(--cx-muted);
 --studio-border:var(--cx-edge); --studio-border-strong:var(--cx-edge); --studio-control-border:var(--cx-edge); --studio-selected:color-mix(in srgb,var(--cx-aqua) 55%,var(--cx-edge));
 --studio-hover:color-mix(in srgb,var(--cx-aqua) 9%,var(--cx-surface)); --studio-accent:var(--cx-aqua); --studio-font-ui:var(--cx-font);
 background:var(--cx-surface); color:var(--cx-ink); border:1px solid var(--cx-edge);
 border-radius:20px; box-shadow:0 24px 64px #00000038,inset 0 1px #ffffff08;
 font-family:var(--cx-font); box-sizing:border-box; overflow:auto; overscroll-behavior:contain;
 scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent;
}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal)[data-cx-parameter-layer] {
 position:fixed!important; inset:auto!important; left:var(--cx-parameter-x)!important;
 top:var(--cx-parameter-top)!important; bottom:var(--cx-parameter-bottom)!important;
 width:var(--cx-parameter-width)!important; max-height:var(--cx-parameter-max)!important;
 margin:0; padding:0; min-width:0; height:auto;
 max-width:calc(100vw - 24px); overflow:auto; z-index:100;
}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal)[data-cx-parameter-layer]::backdrop {background:transparent; pointer-events:none}
html[data-cutlib-experience] :is(.cl-home-parameters > header,.ds-parameters-heading) {
 position:sticky; top:0; z-index:2; display:flex; align-items:center; gap:10px;
 min-height:54px; margin:0; padding:12px 18px; box-sizing:border-box;
 background:var(--cx-surface); border-bottom:1px solid var(--cx-edge);
}
html[data-cutlib-experience] :is(.cl-home-parameters > header,.ds-parameters-heading) strong {font-size:13px; font-weight:580; color:var(--cx-ink)}
html[data-cutlib-experience] :is(.cl-home-parameters > header,.ds-parameters-heading) > button {
 display:grid; place-items:center; margin-left:auto; width:32px; height:32px; padding:0;
 border:1px solid transparent; border-radius:10px; background:transparent; color:var(--cx-muted);
}
html[data-cutlib-experience] :is(.cl-home-parameters > header,.ds-parameters-heading) > button:hover {background:var(--cx-raised); border-color:var(--cx-edge); color:var(--cx-ink)}
html[data-cutlib-experience] :is(.cl-home-parameters > .ds-parameter-workbench,.ds-parameters-body) {padding:16px 18px 18px}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-parameter-fields {gap:18px; min-width:0}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-parameter-item,fieldset) {min-width:0}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) fieldset {margin:0; padding:0; border:0}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) legend {margin-bottom:10px; padding:0; font-size:11px; font-weight:500; color:var(--cx-muted); line-height:1.5}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-ratio-options,.ds-segment-options) {gap:7px; min-width:0}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-ratio-options,.ds-segment-options) > button {
 min-width:0; border-radius:10px; border:1px solid var(--cx-edge); background:transparent; color:var(--cx-muted);
 transition:border-color 180ms ease,background-color 180ms ease,color 140ms ease,box-shadow 180ms ease;
}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-ratio-options > button {flex:1 1 0; min-height:64px; padding:10px 5px; gap:7px; font-size:11px}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-ratio-options > button > span {border-color:currentColor; border-radius:3px; opacity:.8; transition:background-color 180ms ease}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-segment-options > button {min-height:36px; font-size:12px; padding:8px 12px}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-ratio-options,.ds-segment-options) > button:hover {color:var(--cx-ink); border-color:color-mix(in srgb,var(--cx-focus) 50%,var(--cx-edge))}
html[data-cutlib-experience] #root :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-ratio-options,.ds-segment-options) > button[aria-pressed="true"] {
 /* Retained runtime assigns !important white text in both themes. */
 color:var(--cx-ink)!important; border-color:color-mix(in srgb,var(--cx-aqua) 55%,var(--cx-edge))!important;
 background:color-mix(in srgb,var(--cx-aqua) 9%,var(--cx-surface))!important; box-shadow:inset 0 1px #ffffff08;
}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-ratio-options > button[aria-pressed="true"] > span {background:color-mix(in srgb,var(--cx-aqua) 18%,transparent)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(input:not([type="range"]),select,textarea) {
 box-sizing:border-box; max-width:100%; color:var(--cx-ink); background:var(--cx-raised)!important;
 border:1px solid var(--cx-edge); border-color:var(--cx-edge)!important; border-radius:9px; font-size:12px; font-family:var(--cx-font);
}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(input:not([type="range"]),textarea) {padding:9px 11px; min-height:38px}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-duration-exact select {min-width:58px; padding:5px 7px; font-variant-numeric:tabular-nums}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-duration-exact small,.ds-numeric-bounds) {color:var(--cx-muted); font-size:10px}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"] {accent-color:var(--cx-aqua); cursor:ew-resize; touch-action:pan-y; color:var(--cx-aqua)}
/* Runtime intentionally clears input backgrounds; draw on the native track. */
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"]::-webkit-slider-runnable-track {height:4px; border-radius:4px; background:linear-gradient(90deg,var(--cx-aqua) var(--duration-fill,var(--parameter-fill,0%)),var(--cx-edge) var(--duration-fill,var(--parameter-fill,0%)))}
html[data-cutlib-experience] #root :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"]::-webkit-slider-thumb {width:13px; height:13px; margin-top:-4.5px; box-shadow:0 0 0 3px var(--cx-surface); background:var(--cx-aqua); border-color:var(--cx-aqua)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"]::-moz-range-track {height:4px; border-radius:4px; background:var(--cx-edge)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"]::-moz-range-progress {height:4px; border-radius:4px; background:var(--cx-aqua)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"]::-moz-range-thumb {width:13px; height:13px; background:var(--cx-aqua); border:0}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[type="range"]:focus-visible {outline:2px solid var(--cx-focus); outline-offset:4px}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-duration-ticks > button {border-radius:7px; font-size:11px; color:var(--cx-muted); min-height:28px; transition:color 140ms ease,background-color 140ms ease}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-duration-ticks > button[aria-pressed="true"] {color:var(--cx-aqua); background:color-mix(in srgb,var(--cx-aqua) 8%,transparent)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-generation-more {margin-top:18px; padding-top:0; border-top:1px solid var(--cx-edge)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-generation-more > summary {padding-block:14px; color:var(--cx-muted); font-size:11px; cursor:pointer; user-select:none}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-generation-more > summary > span {transition:rotate 200ms var(--cx-ease)}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-generation-more[open] > summary > span {rotate:180deg}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-reference-limits > span {font-size:10px; color:var(--cx-muted); border:1px solid var(--cx-edge); border-radius:7px; padding:5px 8px; background:transparent}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-parameter-error,.ds-error-small) {color:var(--cx-coral); font-size:11px; line-height:1.6}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) input[aria-invalid="true"] {border-color:var(--cx-coral)!important}
html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal,.ds-model-popover) :is(button,input,select,summary,textarea):focus-visible {outline:2px solid var(--cx-focus); outline-offset:2px}
/* The model picker is a React portal outside #root; scope its actual host. */
html[data-cutlib-experience] .ds-model-popover {
 --studio-panel:var(--cx-surface); --studio-ink:var(--cx-ink); --studio-muted:var(--cx-muted); --studio-caption:var(--cx-muted);
 --studio-border:var(--cx-edge); --studio-border-strong:var(--cx-edge); --studio-hover:var(--cx-raised); --studio-accent:var(--cx-aqua);
 background:var(--cx-surface); color:var(--cx-ink); border:1px solid var(--cx-edge);
 border-radius:22px; box-shadow:0 24px 80px #00000040,inset 0 1px #ffffff08; font-family:var(--cx-font);
}
html[data-cutlib-experience] .ds-model-popover-title {padding:18px 20px 12px}
html[data-cutlib-experience] .ds-model-popover-title strong {font-size:15px; font-weight:580; color:var(--cx-ink)}
html[data-cutlib-experience] .ds-model-popover-title small {font-size:11px; color:var(--cx-muted); margin-top:5px}
html[data-cutlib-experience] .ds-model-popover-title > button {background:transparent; border:1px solid transparent; border-radius:9px; color:var(--cx-muted)}
html[data-cutlib-experience] .ds-model-popover-title > button:hover {color:var(--cx-ink); border-color:var(--cx-edge); background:var(--cx-raised)}
html[data-cutlib-experience] .ds-model-search {margin-inline:18px; margin-bottom:12px; background:var(--cx-raised); border:1px solid var(--cx-edge); border-radius:12px; color:var(--cx-muted)}
html[data-cutlib-experience] .ds-model-search input {background:transparent; color:var(--cx-ink); font-family:var(--cx-font)}
html[data-cutlib-experience] .ds-video-model-categories {background:color-mix(in srgb,var(--cx-raised) 55%,var(--cx-surface)); border-color:var(--cx-edge)}
html[data-cutlib-experience] .ds-video-model-categories > button {background:transparent; border:1px solid transparent; border-radius:12px; color:var(--cx-muted); padding:14px 12px}
html[data-cutlib-experience] .ds-video-model-categories > button strong {font-weight:530; font-size:12px}
html[data-cutlib-experience] .ds-video-model-categories > button[aria-pressed="true"] {border-color:color-mix(in srgb,var(--cx-aqua) 24%,var(--cx-edge)); background:color-mix(in srgb,var(--cx-aqua) 6%,var(--cx-surface)); color:var(--cx-ink)}
html[data-cutlib-experience] .ds-video-model-categories > button:hover {background:var(--cx-raised); color:var(--cx-ink)}
html[data-cutlib-experience] .ds-model-family-heading {color:var(--cx-muted); font-size:11px; padding-block:10px}
html[data-cutlib-experience] .ds-model-options [role="group"] {display:grid; gap:7px; margin-bottom:12px}
html[data-cutlib-experience] .ds-model-option {
 position:relative; min-width:0; padding:15px; gap:12px; border:1px solid transparent;
 border-radius:13px; background:transparent; color:var(--cx-ink); font-family:var(--cx-font);
 transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease;
}
html[data-cutlib-experience] .ds-model-option :is(strong,b) {font-size:13px; font-weight:550; color:var(--cx-ink)}
html[data-cutlib-experience] .ds-model-option small {color:var(--cx-muted); font-size:11px; line-height:1.7}
html[data-cutlib-experience] .ds-model-option:is(:hover,[data-model-active="true"]) {background:var(--cx-raised); border-color:var(--cx-edge)}
html[data-cutlib-experience] .ds-model-option[aria-selected="true"] {background:color-mix(in srgb,var(--cx-aqua) 6%,var(--cx-surface)); border-color:color-mix(in srgb,var(--cx-aqua) 38%,var(--cx-edge))}
html[data-cutlib-experience] .ds-model-popover .ds-model-option[aria-selected="true"] {background:color-mix(in srgb,var(--cx-aqua) 6%,var(--cx-surface))!important; border-color:color-mix(in srgb,var(--cx-aqua) 38%,var(--cx-edge))!important}
html[data-cutlib-experience] .ds-model-option[aria-selected="true"] > .lucide-check {color:var(--cx-aqua)}
html[data-cutlib-experience] .ds-model-popover :is(.ds-model-footer,.ds-video-model-status,.ds-video-category-help) {color:var(--cx-muted); border-color:var(--cx-edge); font-size:10px}
@media(max-width:600px) {
 html[data-cutlib-experience] :is(.cl-home-parameters > .ds-parameter-workbench,.ds-parameters-body) {padding:14px}
 html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-segment-options > button {min-height:42px}
 html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal) .ds-duration-ticks > button {min-height:36px}
 html[data-cutlib-experience] .ds-model-popover {border-radius:18px}
 html[data-cutlib-experience] .ds-model-option {padding:12px}
}
html[data-cutlib-experience][data-cx-still="true"] :is(.cl-home-parameters,.ds-parameter-portal,.ds-model-popover) :is(button,summary > span) {transition:none; animation:none}
@media(forced-colors:active) {
 html[data-cutlib-experience] :is(.cl-home-parameters,.ds-parameter-portal,.ds-model-popover) {--cx-ink:CanvasText; --cx-muted:CanvasText; --cx-surface:Canvas; --cx-raised:Canvas; --cx-edge:ButtonText; --cx-focus:Highlight; --cx-aqua:Highlight; background:Canvas; color:CanvasText; box-shadow:none}
 html[data-cutlib-experience] #root :is(.cl-home-parameters,.ds-parameter-portal) :is(.ds-ratio-options,.ds-segment-options) > button[aria-pressed="true"],
 html[data-cutlib-experience] .ds-model-popover .ds-model-option[aria-selected="true"] {background:Canvas!important; color:CanvasText!important; border-color:Highlight!important; outline:2px solid Highlight}
}
/* Creative tools: one reading order and one native action per row. */
html[data-cutlib-experience] #root .cl-composer-menu {width:min(300px,calc(100vw - 48px)); padding:8px; border:1px solid var(--cx-edge); border-radius:20px; background:var(--cx-surface); color:var(--cx-ink)}
html[data-cutlib-experience] #root .cl-composer-menu :is(.cl-composer-menu-action,.cl-composer-menu-component > button,.cl-agent-mode-trigger) {
 display:flex!important; flex-direction:row; align-items:center; justify-content:flex-start; width:100%; max-width:none; min-height:44px!important; height:auto!important;
 box-sizing:border-box; gap:12px; padding:11px 12px!important; border:0!important; border-radius:12px; text-align:left;
 background:transparent!important; color:var(--cx-ink)!important; font-size:12px!important; line-height:1.5;
}
html[data-cutlib-experience] #root .cl-composer-menu :is(.cl-composer-menu-action,.cl-composer-menu-component > button,.cl-agent-mode-trigger):hover {background:var(--cx-raised)!important}
html[data-cutlib-experience] #root .cl-composer-menu :is(.cl-composer-menu-action,.cl-composer-menu-component > button,.cl-agent-mode-trigger) > svg {flex:none; width:17px; height:17px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .cl-composer-skills .cutlib-skills-trigger > span {display:inline}
html[data-cutlib-experience] #root .cl-composer-skills .cutlib-skills-trigger::after {content:none}
html[data-cutlib-experience] #root .cl-composer-menu :is(.cl-script-trigger,.cl-agent-mode-trigger)::after {content:attr(aria-label); font-size:12px; line-height:1.5; text-align:left; white-space:normal}
html[data-cutlib-experience] #root .cl-composer-menu-divider {background:var(--cx-edge); margin:7px 12px}
html[data-cutlib-experience] #root .cl-composer-menu :is(button,[role="radio"]):focus-visible {outline:2px solid var(--cx-focus); outline-offset:-2px; background:var(--cx-raised)!important}
html[data-cutlib-experience] #root .cl-composer-policy .cl-agent-mode-menu {background:var(--cx-surface); border:1px solid var(--cx-edge); border-radius:16px; padding:6px; color:var(--cx-ink); box-shadow:0 12px 32px #00000024}
html[data-cutlib-experience] #root .cl-agent-mode-menu > button {gap:12px; padding:12px; border-radius:11px; background:transparent; color:var(--cx-ink)}
html[data-cutlib-experience] #root .cl-agent-mode-menu > button[aria-checked="true"] {background:color-mix(in srgb,var(--cx-aqua) 8%,var(--cx-surface)); color:var(--cx-ink)}
html[data-cutlib-experience] #root .cl-agent-mode-menu small {font-size:11px; color:var(--cx-muted); line-height:1.6}
/* The actual node picker remains a combobox/listbox with the retained handlers. */
html[data-cutlib-experience] #root .cl-mention-menu {border:1px solid var(--cx-edge); border-radius:18px; background:var(--cx-surface); box-shadow:0 18px 48px #00000030; padding:8px; color:var(--cx-ink)}
html[data-cutlib-experience] #root .cl-mention-menu > header {padding:8px 9px 12px; gap:12px; border-bottom:1px solid var(--cx-edge)}
html[data-cutlib-experience] #root .cl-mention-menu > header strong {font-size:12px; font-weight:550}
html[data-cutlib-experience] #root .cl-mention-menu > header > span {font-size:10px; color:var(--cx-muted)}
html[data-cutlib-experience] #root .cl-mention-menu [role="option"] {display:flex; gap:12px; align-items:center; margin-top:5px; padding:11px 10px; border:1px solid transparent; border-radius:11px; color:var(--cx-ink); background:transparent}
html[data-cutlib-experience] #root .cl-mention-menu [role="option"][aria-selected="true"] {background:color-mix(in srgb,var(--cx-aqua) 7%,var(--cx-surface)); border-color:color-mix(in srgb,var(--cx-aqua) 28%,var(--cx-edge))}
html[data-cutlib-experience] #root .cl-mention-menu [role="option"] > span:last-child {min-width:0; flex:1}
html[data-cutlib-experience] #root .cl-mention-menu [role="option"] strong {display:flex; flex-wrap:wrap; gap:4px 9px; font-size:11px; font-weight:550; align-items:baseline}
html[data-cutlib-experience] #root .cl-mention-menu :is(small,p) {color:var(--cx-muted); font-size:11px; line-height:1.6}
html[data-cutlib-experience] #root .cl-mention-menu p {white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:4px 0 0}
html[data-cutlib-experience] #root .cl-mention-thumb {width:38px; height:38px; border:1px solid var(--cx-edge); border-radius:10px; background:var(--cx-raised); color:var(--cx-muted); overflow:hidden; flex:none}
html[data-cutlib-experience] #root .cl-mention-thumb img {width:100%; height:100%; object-fit:cover}
html[data-cutlib-experience] #root .cl-mention-close {color:var(--cx-muted); border-radius:8px; padding:8px 9px; font-size:10px; margin-top:5px}
html[data-cutlib-experience] #root .clx-reference-picker {position:fixed; inset:auto; margin:0; box-sizing:border-box; overflow:auto; overscroll-behavior:contain; animation:none; font-family:var(--cx-font)}
html[data-cutlib-experience] #root .clx-reference-picker::backdrop {background:transparent; pointer-events:none}
html[data-cutlib-experience] #root .clx-reference-picker > header {display:flex; align-items:center; justify-content:space-between; padding:4px 8px 10px}
html[data-cutlib-experience] #root .clx-reference-picker > header button {margin:0; padding:4px 5px; background:transparent; border:0; color:var(--cx-muted); font-size:11px}
html[data-cutlib-experience] #root .clx-reference-picker > input[type="search"] {display:block; width:calc(100% - 12px); box-sizing:border-box; margin:10px 6px 6px; padding:10px 11px; min-height:40px; border:1px solid var(--cx-edge); border-radius:10px; background:var(--cx-raised)!important; color:var(--cx-ink); font:inherit; font-size:12px}
html[data-cutlib-experience] #root .clx-reference-picker [role="listbox"] {overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; transition:none}
html[data-cutlib-experience] #root .clx-reference-picker [role="option"] {width:100%; text-align:left; cursor:pointer}
html[data-cutlib-experience] #root .clx-reference-picker .cl-mention-thumb {position:relative; display:grid; place-items:center; font-size:12px}
html[data-cutlib-experience] #root .clx-reference-picker .cl-mention-thumb img {position:absolute; inset:0}
html[data-cutlib-experience] #root .clx-reference-picker .clx-reference-status {margin:4px 8px; color:var(--cx-muted); font-size:11px; line-height:1.7; white-space:normal}
html[data-cutlib-experience] #root .clx-reference-picker .clx-reference-status:empty {display:none}
html[data-cutlib-experience] #root .clx-reference-picker .clx-reference-status[role="alert"] {color:var(--cx-coral)}
html[data-cutlib-experience] #root .clx-reference-picker :is(input,button):focus-visible {outline:2px solid var(--cx-focus); outline-offset:-2px}
/* Presets are actual templates/rules, not decorative sample cards. */
html[data-cutlib-experience] #root .ds-presets-backdrop[data-cx-modal-layer] {
 position:fixed!important; inset:0!important; width:100vw; height:100dvh; max-width:none; max-height:none;
 margin:0; padding:20px; box-sizing:border-box; border:0; display:flex; align-items:center; justify-content:center;
 background:#080b119e; color:var(--cx-ink); backdrop-filter:blur(4px); overflow:auto; overscroll-behavior:contain;
}
html[data-cutlib-experience] #root .ds-presets-backdrop[data-cx-modal-layer]::backdrop {background:transparent; pointer-events:none}
html[data-cutlib-experience] #root .ds-preset-settings {width:min(880px,100%); max-height:calc(100dvh - 40px); min-width:0; box-sizing:border-box; padding:24px; color:var(--cx-ink); background:var(--cx-surface); border:1px solid var(--cx-edge); border-radius:24px; box-shadow:0 24px 90px #00000040; scrollbar-width:thin; scrollbar-color:var(--cx-edge) transparent; overscroll-behavior:contain}
html[data-cutlib-experience] #root .ds-preset-settings > header {padding-bottom:22px; gap:16px}
html[data-cutlib-experience] #root .ds-preset-settings h2 {font-size:20px; font-weight:550; letter-spacing:-.04em}
html[data-cutlib-experience] #root .ds-preset-settings > header > div {gap:12px}
html[data-cutlib-experience] #root .ds-preset-settings > header svg {color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-preset-settings > header > button {width:34px; height:34px; border:1px solid transparent; background:transparent; border-radius:10px; padding:0; flex:none}
html[data-cutlib-experience] #root .ds-preset-settings > header > button:hover {background:var(--cx-raised); border-color:var(--cx-edge)}
html[data-cutlib-experience] #root .ds-preset-grid {grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr)); gap:18px}
html[data-cutlib-experience] #root .ds-preset-grid article {min-width:0; display:flex; flex-direction:column; border:1px solid var(--cx-edge); border-radius:16px; background:var(--cx-raised); transition:border-color 180ms ease,box-shadow 220ms ease}
html[data-cutlib-experience] #root .ds-preset-grid article.active {border-color:color-mix(in srgb,var(--cx-aqua) 38%,var(--cx-edge))}
html[data-cutlib-experience] #root .ds-preset-grid article:hover {border-color:var(--cx-focus); box-shadow:0 7px 24px #00000014}
html[data-cutlib-experience] #root .ds-preset-grid article > img {aspect-ratio:3/2; width:100%; object-fit:contain; background:#b9b9b9}
html[data-cutlib-experience] #root .ds-preset-grid .ds-preset-placeholder {aspect-ratio:3/2; min-height:0; padding:0; background:color-mix(in srgb,var(--cx-aqua) 5%,var(--cx-surface)); color:var(--cx-muted)}
html[data-cutlib-experience] #root .ds-preset-grid article > div:not(.ds-preset-placeholder) {padding:18px; flex:1; display:flex; flex-direction:column; min-width:0}
html[data-cutlib-experience] #root .ds-preset-grid h3 {font-size:14px; font-weight:550; margin:0 0 10px; line-height:1.6}
html[data-cutlib-experience] #root .ds-preset-grid p {font-size:12px; color:var(--cx-muted); line-height:1.8; margin:0 0 18px; max-height:none; overflow:visible}
html[data-cutlib-experience] #root .ds-preset-grid footer {gap:8px; flex-wrap:wrap; margin-top:auto; align-items:center}
html[data-cutlib-experience] #root .ds-preset-settings button {font-size:12px; border-radius:9px; min-height:34px}
html[data-cutlib-experience] #root .ds-preset-cite {background:color-mix(in srgb,var(--cx-aqua) 8%,var(--cx-surface)); color:var(--cx-ink); border-color:color-mix(in srgb,var(--cx-aqua) 30%,var(--cx-edge))}
html[data-cutlib-experience] #root .ds-preset-grid footer > button:disabled {background:transparent; border-color:transparent; color:var(--cx-muted); opacity:1}
html[data-cutlib-experience] #root .ds-preset-add {border:1px dashed var(--cx-edge)!important; border-radius:13px; background:transparent!important; color:var(--cx-muted); padding:14px!important; margin-top:20px}
html[data-cutlib-experience] #root .ds-preset-add:hover {border-color:var(--cx-focus)!important; color:var(--cx-ink)}
html[data-cutlib-experience] #root .ds-preset-form {gap:18px}
html[data-cutlib-experience] #root .ds-preset-form > button:first-child {align-self:flex-start; background:transparent; border:0; color:var(--cx-muted); padding:5px 0}
html[data-cutlib-experience] #root .ds-preset-form label {color:var(--cx-muted); font-size:12px; gap:9px}
html[data-cutlib-experience] #root .ds-preset-form :is(input,select,textarea) {background:var(--cx-raised); border:1px solid var(--cx-edge); border-radius:10px; color:var(--cx-ink); padding:11px 12px; font:inherit; line-height:1.6; min-height:42px}
html[data-cutlib-experience] #root .ds-preset-form small {color:var(--cx-muted); font-size:11px; line-height:1.6}
html[data-cutlib-experience] #root .ds-preset-form > .ds-primary {align-self:flex-end; background:var(--cx-ink); color:var(--cx-surface); padding:10px 18px; border:0}
html[data-cutlib-experience] #root .ds-preset-settings :is(button,input,select,textarea):focus-visible {outline:2px solid var(--cx-focus); outline-offset:3px}
@media(max-width:600px) {
 html[data-cutlib-experience] #root .ds-presets-backdrop[data-cx-modal-layer] {padding:12px}
 html[data-cutlib-experience] #root .ds-preset-settings {padding:18px; max-height:calc(100dvh - 24px); border-radius:20px}
 html[data-cutlib-experience] #root .ds-preset-settings > header {padding-bottom:18px}
 html[data-cutlib-experience] #root .ds-preset-grid {gap:14px}
}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.ds-presets-backdrop,.ds-preset-grid article,.cl-composer-menu button,.cl-mention-menu button) {transition:none; animation:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.clx-reference-picker,.clx-reference-picker *) {transition:none!important; animation:none!important; scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce) {
 html[data-cutlib-experience] #root :is(.clx-reference-picker,.clx-reference-picker *) {transition:none!important; animation:none!important; scroll-behavior:auto!important}
}
@media(forced-colors:active) {
 html[data-cutlib-experience] #root :is(.ds-preset-settings,.cl-composer-menu,.cl-mention-menu,.cl-agent-mode-menu) {background:Canvas; color:CanvasText; border-color:CanvasText; box-shadow:none}
 html[data-cutlib-experience] #root .ds-preset-grid article.active {border-color:Highlight}
}
/* Accessibility is a functional setting, including the original application's toggle. */
html[data-cutlib-experience][data-cx-still="true"] #root :is(.clx-visible,.clx-tooltip,.cutlib-concept-stage,.cutlib-image-tool,.cutlib-blank-canvas,.cutlib-idea-card,.web-project-card,.ds-modal,.web-modal,.ds-director-dialog,.ds-atlas-dialog,.ds-model-popover,.ds-add-menu,.ds-context-menu,.cl-chat-model-menu,.cl-composer-menu,.cutlib-account-popover) {animation:none; transition:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.cutlib-image-tool,.cutlib-idea-card,.web-project-card):hover {transform:none}
html[data-cutlib-experience][data-cx-still="true"] #root :is(.cutlib-image-tool,.cutlib-idea-card,.ds-director-card):hover img {transform:none}
html[data-cutlib-experience][data-cx-still="true"] #root .cutlib-image-tool img {animation:none; scale:1; translate:0 0}
@media(prefers-reduced-motion:reduce) {html[data-cutlib-experience] #root :is(button,img,svg,.clx-visible,.clx-tooltip,[role="dialog"],.cl-context-preview,.ds-modal,.web-modal,.ds-add-menu,.ds-context-menu,.cutlib-account-popover) {animation:none !important; transition:none !important}}
@media(forced-colors:active) {
 html[data-cutlib-experience] {
  --cx-bg:Canvas;--cx-canvas:Canvas;--cx-surface:Canvas;--cx-raised:Canvas;--cx-hover:Canvas;
  --cx-ink:CanvasText;--cx-muted:CanvasText;--cx-caption:CanvasText;--cx-line:ButtonText;--cx-edge:ButtonText;
  --cx-aqua:Highlight;--cx-blue:Highlight;--cx-violet:Highlight;--cx-gold:Highlight;--cx-coral:CanvasText;
  --cx-focus:Highlight;--cx-action:ButtonFace;--cx-on-action:ButtonText;--cx-shadow:none;
 }
 .clx-light-field {display:none}
 html[data-cutlib-experience] #root :is(.cl-home-input,.web-composer,.web-message.user,.ds-node-surface,.clx-tooltip) {background:Canvas; color:CanvasText; border:1px solid CanvasText; box-shadow:none}
 html[data-cutlib-experience] #root :is(button,a,[tabindex]):focus-visible {outline:2px solid Highlight}
 html[data-cutlib-experience] #root :is(.ds-director-dialog,.ds-director-frame-dialog,.cl-context-preview,.clx-reference-missing) {background:Canvas; color:CanvasText; border-color:CanvasText}
 html[data-cutlib-experience] #root .ds-director-dialog .ds-director-apply {background:ButtonFace!important; color:ButtonText!important; border-color:ButtonText!important}
 .clx-director-cover-index::before {display:none}
}
