.cr-vector-output{display:grid;gap:9px;width:min(100%,340px);margin:10px 0 0;color:#16181b;font-size:14px}
.cr-vector-output[hidden],.cr-vector-editor [hidden]{display:none!important}
.cr-vector-output img{display:block;width:100%;max-height:250px;object-fit:contain;background:#fff;border-radius:12px}
.cr-vector-output button,.cr-vector-output a{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-decoration:none}
.cr-vector-output nav{display:flex;align-items:center;gap:18px}
.cr-vector-wait{position:relative;overflow:hidden;background:#fff;color:#181818;padding:55px 12px;text-align:center;border:1px solid #ddd;border-radius:12px}
.cr-vector-wait::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 36%,#00000008 48%,transparent 60%);animation:cr-vector-sweep 5s ease-in-out infinite}
@keyframes cr-vector-sweep{0%,12%{transform:translateX(-100%)}80%,100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.cr-vector-wait::after{animation:none;display:none}}
.cr-vector-output{order:4}
.design-conversation-result .design-conversation-actions:has([data-cr-vector]){grid-template-columns:repeat(5,minmax(0,1fr))}
html body.workspace-readable.home-layout-enabled #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar:has([data-cr-vector]):has([data-redesign]){grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body #resultsView .result-action-toolbar>button[data-cr-vector][hidden]{display:none!important}
.design-conversation-actions>button[data-cr-vector]::before{
  content:"";display:block;flex:0 0 14px;width:14px;height:14px;background:currentColor;
  mask:var(--gallery-action-icon) center/contain no-repeat;
  -webkit-mask:var(--gallery-action-icon) center/contain no-repeat;
}
.cr-vector-output[aria-label]{width:100%;max-width:100%;margin-top:22px;justify-items:start;gap:10px}
.cr-vector-output .cr-vector-byline{display:flex;align-items:center;gap:16px;margin:0;color:#203755}
.cr-vector-byline b{font-size:17px;line-height:24px}.cr-vector-byline b span{color:#426df1}.cr-vector-byline time{font-size:12px;color:#718098}
.cr-vector-request{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#344054}
.cr-vector-request small{font-size:12px;border:1px solid #dce2ea;border-radius:5px;background:#fff;padding:3px 7px;color:#526884}
.cr-vector-output .cr-vector-request button{padding:0;border-radius:5px;overflow:hidden;border:1px solid #dce2ea}
.cr-vector-output .cr-vector-request img{width:32px;height:28px;object-fit:contain;border-radius:0}
.cr-vector-output>button:has(>img),.cr-vector-scanning{width:min(100%,336px)}
.cr-vector-scanning{box-sizing:border-box;padding:8px;border:1px solid #dde3eb;border-radius:14px;background:white;color:#1e2735}
.cr-vector-scanning>span{display:block;padding:9px 4px 4px;text-align:center;font-size:14px}
.cr-vector-trace{position:relative;overflow:hidden;background:white;border-radius:8px}
.cr-vector-output .cr-vector-trace img{width:100%;height:clamp(105px,21vw,172px);object-fit:contain;opacity:.72;border-radius:0}
.cr-vector-trace::after{content:"";position:absolute;inset:0 auto 0 -32%;width:32%;background:linear-gradient(90deg,transparent,rgba(237,246,255,.65) 75%,rgba(74,133,240,.55) 97%,transparent);animation:crVectorTraceImage 5s ease-in-out infinite;pointer-events:none}
@keyframes crVectorTraceImage{0%,8%{transform:translateX(0);opacity:0}18%{opacity:1}80%{opacity:1}92%,100%{transform:translateX(430%);opacity:0}}
@media(prefers-reduced-motion:reduce){.cr-vector-trace::after{animation:none;display:none}}
button[data-cr-vector]{--gallery-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 18C5 9 12 4 20 5M4 15v5h5v-5zm12-12v5h5V3z'/%3E%3C/svg%3E")}
.cr-vector-editor {
  --ink:#24344b;--muted:#697991;--edge:#e1e6ed;--accent:#245de6;--active:#edf3ff;
  box-sizing:border-box;position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;
  margin:0;padding:0;border:0;background:white;color:var(--ink);
  font:14px/1.45 system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
}
.cr-vector-editor *, .cr-vector-editor *::before{box-sizing:border-box}
.cr-vector-editor[open]{display:flex;flex-direction:column}
.cr-vector-editor :is(button,a){border:0;box-shadow:none;border-radius:6px;color:inherit;font:inherit;text-decoration:none;background:transparent;cursor:pointer}
.cr-vector-editor button:not(:disabled):hover,.cr-vector-editor summary:hover{background:#eff3f8}
.cr-vector-editor :focus-visible{outline:2px solid #6a96fa;outline-offset:-2px}
.cr-vector-editor button:disabled{opacity:.4;cursor:default}
.cr-vector-editor .vc-bar{height:60px;flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 16px;border-bottom:1px solid var(--edge);background:#fff;z-index:3;gap:10px}
.vc-identity,.vc-actions,.vc-zoom{display:flex;align-items:center;gap:5px}
.vc-identity b{font-size:15px;font-weight:620;letter-spacing:.02em;margin:0 5px}
.vc-identity i{height:19px;border-left:1px solid var(--edge);margin:0 7px}
.cr-vector-editor .vc-bar button,.cr-vector-editor figcaption button,.cr-vector-editor .vc-panel-title button{display:grid;place-items:center;min-width:30px;height:32px;padding:0 6px}
.cr-vector-editor [data-close]{background:#f0f3f8}
.vc-zoom{gap:0;background:#f6f8fb;border:1px solid var(--edge);border-radius:7px;padding:1px}
.vc-zoom output{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}
.cr-vector-editor .vc-zoom [data-fit]{font-size:12px;padding:0 12px;border-left:1px solid var(--edge);border-radius:0}
.vc-actions{justify-content:flex-end;gap:8px}
.cr-vector-editor .vc-actions :is(a,button){padding:0 14px;display:inline-flex;gap:6px;align-items:center;justify-content:center;height:34px;border:1px solid var(--edge)}
.cr-vector-editor .vc-actions a{background:var(--accent);color:white;border-color:var(--accent);font-weight:600}
.vc-workspace{display:flex;position:relative;flex:1;min-height:0;overflow:hidden}
.vc-rail{width:70px;flex:none;padding:12px 7px;display:flex;align-items:center;gap:6px;flex-direction:column;border-right:1px solid var(--edge);z-index:2;background:white}
.cr-vector-editor .vc-rail button{width:54px;min-height:54px;display:grid;justify-items:center;align-content:center;gap:3px;color:var(--muted);font-size:12px}
.cr-vector-editor .vc-rail button:is([aria-pressed=true],[data-palette][aria-expanded=true]){color:var(--accent);background:var(--active)}
.cr-vector-editor main.vc-stage{flex:1;min-width:0;overflow:auto;padding:0;margin:0;max-width:none;background-color:#f7f8fa;background-image:conic-gradient(#e9ecf0 25%,transparent 0 50%,#e9ecf0 0 75%,transparent 0);background-size:18px 18px}
.vc-scroll{display:grid;place-items:center;width:max-content;height:max-content;min-width:100%;min-height:100%;padding:28px}
.vc-board{flex:none;box-shadow:0 0 0 1px #99a6b65e,0 6px 20px #283b501a;width:1px;height:1px}
.vc-board iframe{display:block;border:0;width:100%;height:100%}
.vc-inspector{flex:0 0 clamp(214px,20vw,290px);display:flex;flex-direction:column;min-height:0;padding:0;border-left:1px solid var(--edge);background:#fff}
.cr-vector-editor h2,.cr-vector-editor h3{margin:0;font-size:14px;font-weight:650}
.vc-inspector>h2{display:flex;gap:9px;align-items:center;padding:18px;border-bottom:1px solid var(--edge)}
.vc-inspector h2 small{margin-left:auto;font-size:12px;color:var(--muted);font-weight:500;font-variant-numeric:tabular-nums}
.vc-tree{flex:1;min-height:0;overflow:auto;padding:9px 6px}
.cr-vector-editor .vc-row{display:flex;width:100%;align-items:center;gap:7px;min-height:33px;cursor:pointer;list-style:none;border-radius:5px;padding:4px 7px;white-space:nowrap;font-size:13px}
.vc-row span{overflow:hidden;text-overflow:ellipsis}.vc-row i,.vc-row svg:first-child{width:12px;flex:none}.vc-row svg{color:#74849b;flex:none}
.vc-row::-webkit-details-marker{display:none}.vc-tree details:not([open])>summary>svg:first-child{transform:rotate(-90deg)}
.vc-tree details>details,.vc-tree details>button{margin-left:12px;width:calc(100% - 12px)}
.vc-tree .vc-row[aria-current=true]{color:var(--accent);background:var(--active)}.vc-tree .vc-muted{opacity:.6}
.vc-properties{border-top:1px solid var(--edge);padding:15px}
.vc-properties p{margin:6px 0;color:var(--muted)}
.cr-vector-editor .vc-properties button{display:flex;align-items:center;gap:8px;padding:5px 0}
.vc-palette,.cr-vector-editor figure{position:absolute;z-index:2;box-shadow:0 6px 26px #1a2c4429;background:#fff;border:1px solid var(--edge);border-radius:9px;overflow:hidden}
.vc-palette{left:80px;top:14px;width:210px;padding:13px}
.vc-panel-title,.vc-palette label,.cr-vector-editor figcaption,.cr-vector-editor figcaption span{display:flex;align-items:center;gap:6px}
.vc-panel-title,.vc-palette label{justify-content:space-between}
.vc-palette label{margin:14px 0;font-size:13px}.vc-palette input{width:35px;height:26px}
.vc-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-top:9px}
.cr-vector-editor .vc-swatches button{width:22px;height:22px;border-radius:5px;border:1px solid #0002}
.cr-vector-editor figure{margin:0;top:16px;right:clamp(226px,21vw,308px);width:min(32vw,420px);min-width:160px;max-width:95%;resize:horizontal;border-color:#9cbbfb}
.cr-vector-editor figcaption{height:37px;padding:0 7px 0 11px;border-bottom:1px solid var(--edge);cursor:grab;touch-action:none;user-select:none;color:var(--accent);font-weight:600}
.vc-drag{margin-left:auto;color:#909fb3}.cr-vector-editor figure img{display:block;width:100%;max-height:46dvh;object-fit:contain;pointer-events:none}
.cr-vector-editor footer{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--edge);padding:6px 16px;color:var(--muted);font-size:12px;line-height:18px;background:white}
@media(max-width:700px){
 .cr-vector-editor .vc-bar{height:auto;min-height:84px;padding:7px 8px;grid-template-columns:1fr auto;row-gap:2px}
 .vc-zoom{grid-row:2;grid-column:1/-1;justify-self:center}.vc-identity i{margin:0}.vc-identity{gap:1px}.vc-identity b{font-size:13px}
 .cr-vector-editor .vc-actions :is(a,button){padding:0 8px;font-size:12px}
 .vc-rail{width:48px;padding:8px 2px}.cr-vector-editor .vc-rail button{width:44px;min-height:49px}
 .vc-inspector{position:absolute;right:0;top:0;bottom:0;width:min(64vw,260px);z-index:1;box-shadow:-6px 0 20px #24344b14}
 .vc-palette{left:52px}.cr-vector-editor figure{right:9px;width:55vw}.vc-scroll{padding:16px}
}
.vc-board{position:relative;overflow:clip}
.vc-outline{position:absolute;pointer-events:none;outline:1px solid #3676f5;box-shadow:0 0 0 1px #ffffff70}
.vc-outline::before,.vc-outline::after{content:"";position:absolute;width:6px;height:6px;border:1px solid #3676f5;background:white}
.vc-outline::before{left:-3px;top:-3px}.vc-outline::after{right:-3px;bottom:-3px}
@property --cr-trace-position { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
/* A tracing light follows the three drawing planes above the live status. */
html body.workspace-readable :is(#resultGrid#resultGrid#resultGrid .result-pending-card:not(.result-pending-failed) .result-pending-artwork, #progressView#progressView .design-loader, #designConcurrentTasks .design-conversation-progress:not(.is-failed), .cr-vector-wait) {
  --cr-planes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 44' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='m7 14 25-11 25 11-25 11zM7 22l25 11 25-11M7 30l25 11 25-11'/%3E%3C/svg%3E");
  background: white !important;
}
html body.workspace-readable :is(#resultGrid#resultGrid#resultGrid .result-pending-card:not(.result-pending-failed) .result-pending-artwork, #progressView#progressView .design-loader, #designConcurrentTasks .design-conversation-progress:not(.is-failed), .cr-vector-wait)::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: auto auto calc(50% + 39px) 50% !important;
  width: 47px !important;
  height: 33px !important;
  transform: translateX(-50%) !important;
  opacity: 1 !important;
  pointer-events: none;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  mask: var(--cr-planes) center / contain no-repeat;
  -webkit-mask: var(--cr-planes) center / contain no-repeat;
  background-image: linear-gradient(105deg, #c6d1e0 35%, #6699f5 44%, #205dec 50%, #6699f5 56%, #c6d1e0 65%) !important;
  background-position: var(--cr-trace-position) 50% !important;
  background-size: 340% 100% !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  animation: crPlaneTrace 5s cubic-bezier(.35,0,.32,1) infinite !important;
}
html body.workspace-readable .cr-vector-wait {
  min-height: 164px;
  box-sizing: border-box;
  padding: 95px 14px 36px;
}
html body.workspace-readable .cr-vector-wait::before { bottom: 52% !important; }
html body.workspace-readable .cr-vector-wait::after { display: none; }
@keyframes crPlaneTrace {
  0%, 8% { --cr-trace-position: 100%; }
  82%, 100% { --cr-trace-position: 0%; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  html body.workspace-readable :is(#resultGrid#resultGrid#resultGrid .result-pending-card:not(.result-pending-failed) .result-pending-artwork, #progressView#progressView .design-loader, #designConcurrentTasks .design-conversation-progress:not(.is-failed), .cr-vector-wait)::before {
    animation: none !important;
    background: #8093af !important;
  }
}
/* The dot field rolls across the paper behind the status; the middle stays clear. */
html body.workspace-readable :is(#resultGrid#resultGrid#resultGrid .result-pending-card:not(.result-pending-failed) .result-pending-artwork, #progressView#progressView .design-loader, #designConcurrentTasks .design-conversation-progress:not(.is-failed), .cr-vector-wait)::after {
  content: "" !important;
  display: block !important;
  pointer-events: none;
  position: absolute !important;
  z-index: 0 !important;
  inset: -16% -26% !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: radial-gradient(circle, #668ab8 .7px, transparent 1px) 0 0 / 5px 5px !important;
  -webkit-mask-image: radial-gradient(ellipse 62% 45% at 66% 110%, transparent 38%, #000 68%, transparent 98%), radial-gradient(ellipse 44% 49% at 15% -17%, transparent 39%, #000 74%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 45% at 66% 110%, transparent 38%, #000 68%, transparent 98%), radial-gradient(ellipse 44% 49% at 15% -17%, transparent 39%, #000 74%, transparent 100%);
  animation: crPaperWave 5s ease-in-out infinite !important;
}
@keyframes crPaperWave {
  0%, 100% { transform: translate(-8%, 2%) rotate(-3deg); opacity: .2; }
  50% { transform: translate(8%, -2%) rotate(2deg); opacity: .46; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  html body.workspace-readable :is(#resultGrid#resultGrid#resultGrid .result-pending-card:not(.result-pending-failed) .result-pending-artwork, #progressView#progressView .design-loader, #designConcurrentTasks .design-conversation-progress:not(.is-failed), .cr-vector-wait)::after {
    content: none !important;
    animation: none !important;
  }
}
