:root {
  --bg: #f2f4f3;
  --ink: #19342d;
  --line: #dce3df;
  --brand: #17674e;
  --muted: #64736d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    sans-serif;
  background: var(--bg);
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 12px 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
header b {
  display: block;
  font-size: 20px;
}
header span {
  font-size: 12px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 8px;
}
button,
.file {
  background: white;
  color: var(--ink);
  border: 1px solid #cdd9d2;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
}
button:hover,
.file:hover {
  border-color: var(--brand);
}
button.primary,
button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
button:disabled {
  opacity: 0.4;
  cursor: wait;
}
#status {
  margin-left: auto;
  max-width: 460px;
  color: var(--brand);
  font-size: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: calc(100vh - 154px);
}
[hidden] {
  display: none !important;
}
aside {
  padding: 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  max-height: calc(100vh - 154px);
  overflow: auto;
}
h2 {
  font-size: 14px;
  margin: 20px 0 8px;
}
h2:first-child {
  margin-top: 0;
}
p {
  font-size: 12px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  margin: 9px 0;
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid #cdd9d2;
  border-radius: 5px;
  padding: 7px;
  background: #fff;
  width: 100%;
  color: var(--ink);
}
input[type='file'] {
  font-size: 11px;
  margin-top: 5px;
}
aside > button {
  display: block;
  width: 100%;
  margin: 8px 0;
}
.row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.note {
  font-size: 11px;
  color: #75847c;
}
main {
  min-width: 0;
  padding: 20px;
  overflow: auto;
  max-height: calc(100vh - 154px);
}
h1 {
  font-size: 21px;
  margin: 0;
}
.viewHeading {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 20px;
}
.viewHeading > span {
  font-size: 12px;
  color: var(--muted);
}
.viewHeading label {
  margin-left: auto;
}
.imageGrid {
  display: grid;
  grid-template-columns: minmax(300px, 1.4fr) minmax(180px, 1fr);
  gap: 22px;
}
h3 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
#aiCanvas {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: crosshair;
  background: white;
  border: 1px solid var(--line);
  touch-action: none;
}
.checker {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(#e1e7e3 0 25%, white 0 50%) 0/20px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}
#assetPreview {
  max-width: 100%;
  max-height: 560px;
}
pre {
  font-size: 11px;
  white-space: pre-wrap;
  word-break: break-word;
}
#stage {
  height: calc(100vh - 215px);
  overflow: auto;
  background: #dbe2de;
  padding: 24px;
  border: 1px solid #ccd5ce;
}
.canvas-container {
  box-shadow: 0 8px 30px #2342;
}
.layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.layer.selected {
  background: #e4f1e9;
}
.layer span {
  font-size: 11px;
}
footer {
  height: 38px;
  padding: 8px 25px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
footer a {
  float: right;
  color: var(--brand);
}
@media (max-width: 900px) {
  header {
    height: auto;
    flex-wrap: wrap;
  }
  .workspace {
    grid-template-columns: 240px 1fr;
  }
  .imageGrid {
    grid-template-columns: 1fr;
  }
  #status {
    max-width: 260px;
  }
}

#assetPreview:not([src]) {
  display: none;
}
.checker:has(img:not([src]))::after {
  content: '完成选区提取后，透明素材显示在这里';
  color: #7b8a82;
  font-size: 12px;
}

.layer.hidden-layer {
  opacity: 0.55;
}

.layer.review {
  background: #fff4f2;
  box-shadow: inset 3px 0 0 #c0392b;
}
.layer.review > span {
  color: #b23b2e;
  font-weight: 600;
}
.layer > span {
  flex-shrink: 0;
  margin-left: 8px;
}
#selectionCount,
#maskInfo,
#missingGlyphs {
  display: block;
  font-size: 11px;
  margin: 6px 0;
}
#missingGlyphs {
  color: #9a5628;
}
@media (max-width: 650px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  aside {
    max-height: 48vh;
    border-bottom: 1px solid var(--line);
  }
  main {
    max-height: none;
  }
  .viewHeading {
    flex-wrap: wrap;
  }
  header {
    gap: 12px;
    padding: 12px;
  }
}

.resourceNote { margin: 0; padding: 8px 26px; background: #fff3db; color: #674711; border-bottom: 1px solid #ecd6aa; font-size: 12px; }
.resourceNote a { color: inherit; margin-left: 8px; }


.assistRow {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 2px;
  font-size: 12px;
}
#stageWrap {
  position: relative;
}
#stageWrap.noruler #stage {
  margin: 0;
}
#stageWrap.noruler .ruler,
#stageWrap.noruler #rulerCorner {
  display: none;
}
#stageWrap #stage {
  margin: 20px 0 0 20px;
}
.ruler {
  position: absolute;
  background: #f2f5f3;
  z-index: 3;
  border: 1px solid #ccd5ce;
}
#rulerH {
  top: 0;
  left: 20px;
  right: 0;
  height: 20px;
}
#rulerV {
  top: 20px;
  left: 0;
  bottom: 0;
  width: 20px;
}
#rulerCorner {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #e7ece8;
  border: 1px solid #ccd5ce;
  z-index: 4;
}
#assistOverlay {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.version-diff {
  display: none;
  margin: 6px 0 2px;
  padding: 6px 8px;
  max-height: 180px;
  overflow-y: auto;
  font-size: 12px;
  line-height: 1.5;
  background: #f4f1e8;
  border-left: 3px solid #c9a227;
  border-radius: 4px;
}
.version-diff li {
  list-style: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#collabView aside label input,#collabView aside label select{width:100%}
.collabBanner{padding:10px 14px;border-radius:8px;margin:0 0 12px;font-weight:600}
.collabBanner.warn{background:#fff4d6;border:1px solid #e2b53c;color:#7a5b00}
.collabBanner.err{background:#ffe3e3;border:1px solid #d64545;color:#7a0000}
.collabBanner.ok{background:#e2f5e4;border:1px solid #3f9d5a;color:#0c4a20}
.collabComment{border:1px solid #d8d3c8;border-radius:8px;padding:10px 12px;margin-bottom:10px;background:#fffdf8}
.collabComment.resolved{opacity:.55}
.collabComment .meta{color:#8a8577;font-size:12px;margin-left:8px}
.approvalPill{padding:2px 8px;border-radius:999px;font-size:11px;border:1px solid var(--line);background:#f4f2ec;color:#5d5a50}
.approvalPill.approved{background:#e2f5e4;border-color:#3f9d5a;color:#0c4a20}
.approvalPill.rejected{background:#ffe3e3;border-color:#d64545;color:#7a0000}
.approvalPill.stale{background:#fff4d6;border-color:#e2b53c;color:#7a5b00}
.collabComment p{margin:6px 0}
.collabComment button{margin-top:4px}



#geoParity { display: none; font-size: 11px; line-height: 1.5; margin: -2px 0 4px; }
#geoParity[data-state="ok"] { display: block; color: #1a7f37; }
#geoParity[data-state="drift"] { display: block; color: #b42318; background: #fdf0ef; border-left: 3px solid #b42318; padding: 4px 8px; font-weight: 600; }
#geoParity[data-state="off"] { display: block; color: #6b7280; }
#boxInfo {
  display: block;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
}
#boxExtras {
  display: block;
  margin: 10px 0 0;
  padding: 9px 11px;
  border: 1px solid #e6dbb6;
  border-left: 4px solid #b8860b;
  border-radius: 7px;
  background: #fffbef;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
}
#boxExtras.fail {
  border-color: #e6b8b0;
  border-left-color: #b3261e;
  background: #fff5f4;
  color: #8a1c14;
  font-weight: 600;
}


:root{--bg:#f3f5f4;--ink:#183b33;--line:#e0e7e2;--brand:#17634f;--muted:#60756b;--top-height:116px;--footer-height:36px}
body{font-size:14px;letter-spacing:.01em}
header{height:80px;padding:14px 24px;gap:32px;box-shadow:0 1px 0 #183b3306;position:relative;z-index:5}
.productBrand{min-width:245px}.productBrand b{font-size:22px;letter-spacing:-.6px}.productBrand>span{font-size:11px}
.brandBadge{display:inline-block!important;font-size:9px!important;letter-spacing:1.7px;background:#ecf2ed;color:var(--brand)!important;border:1px solid #d9e6dc;padding:3px 7px;margin-left:9px;vertical-align:middle;border-radius:5px;font-weight:600}
.workflowNav{padding:4px;background:#f0f3f0;border:1px solid var(--line);border-radius:10px;gap:4px}
.workflowNav button{border-color:transparent;background:transparent;white-space:nowrap;font-size:12px;padding:9px 13px}.workflowNav button.active{background:var(--brand);color:#fff;box-shadow:0 2px 5px #173c321a}
.workflowNav a.plansEntry{border:1px solid var(--line);background:#fff;color:var(--brand);white-space:nowrap;font-size:12px;padding:8px 12px;border-radius:8px;text-decoration:none;display:inline-flex;align-items:center}
.workflowNav a.plansEntry:hover{background:#e8f0ea}
button,.file{transition:background .15s,border-color .15s,box-shadow .15s;font-family:inherit;border-color:#d1ddd5;min-height:36px;border-radius:7px}
button:hover:not(:disabled){background:#edf4ef;border-color:#7aa38b}button.primary:hover:not(:disabled),button.active:hover:not(:disabled){background:#114d3d;color:white}
button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #78aa98;outline-offset:2px}
input,select,textarea{font-size:12px;min-height:35px;border-radius:6px;background:#fcfdfc;transition:border-color .15s}textarea{resize:vertical;line-height:1.6}input[type=checkbox]{width:15px;min-height:15px;height:15px;accent-color:var(--brand);flex-shrink:0}input[type=range]{min-height:18px;accent-color:var(--brand)}input[type=color]{padding:3px}
label{line-height:1.5;color:#435e51}.note{font-size:11px;line-height:1.65;color:#61766a}p{line-height:1.65}
.resourceNote{height:36px;display:flex;align-items:center;gap:9px;padding:7px 24px;background:#f8f7f1;border-color:#e9e5d7;color:#6c644b;font-size:11px}.resourceNote strong{font-weight:600}.resourceNote a{margin-left:auto;text-decoration:none;white-space:nowrap}
#status{font-size:11px;line-height:1.6;max-width:360px;max-height:48px;overflow:auto;padding:5px 8px;border-left:2px solid #92b5a3}#status[data-tone=error]{color:#a13226;border-color:#c46656;background:#fff5f1}
.workspace{grid-template-columns:324px minmax(0,1fr);min-height:calc(100dvh - var(--top-height) - var(--footer-height))}
.workspace>aside{padding:0 16px 24px;max-height:calc(100dvh - var(--top-height) - var(--footer-height));scrollbar-width:thin;scrollbar-color:#c5d5ca transparent;overscroll-behavior:contain;background:#fbfcfb}
.inspectorNav{position:sticky;top:0;z-index:4;display:flex;flex-wrap:wrap;gap:4px;background:#fbfcfbf5;backdrop-filter:blur(10px);padding:13px 0 12px;border-bottom:1px solid var(--line);margin-bottom:18px}
.inspectorNav button{font-size:11px;min-height:29px;padding:4px 9px;border-color:transparent;color:#617367;background:transparent}.inspectorNav button:hover,.inspectorNav button.selected{background:#e4eee7;color:#1d5b42;border-color:#ccdfd1}
.inspectorSection{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid var(--line);scroll-margin-top:96px}.inspectorSection>h2{font-size:14px;margin:0 0 14px;font-weight:650;letter-spacing:.03em}.inspectorSection>button{display:block;width:100%;margin:8px 0}
.inspectorSection>p:first-of-type{margin-top:0}.inspectorSection .row{gap:6px}.inspectorSection .row>button{flex:1 1 auto}.inspectorSection .file{display:block;line-height:1.6;background:#fff}
.toolDetails{margin:10px 0;border:1px solid #e0e8e0;border-radius:7px;background:#f6f8f5;font-size:11px}.toolDetails summary{padding:9px 10px;cursor:pointer;color:#51664f;line-height:1.5}.toolDetails>output,.toolDetails>p,.toolDetails>pre{display:block;padding:0 11px 11px;margin:0!important;font-size:11px!important}.toolDetails[open] summary{border-bottom:1px solid var(--line);margin-bottom:9px}
#boxInfo{line-height:1.7}#boxExtras{font-size:11px;line-height:1.65;background:#fcfaf2;border-left-width:3px}
.workspace>main{padding:22px 24px;max-height:calc(100dvh - var(--top-height) - var(--footer-height));scrollbar-width:thin}
.viewHeading{gap:18px;min-height:52px;margin-bottom:16px;align-items:center}.viewHeading h1{font-size:22px;font-weight:600;letter-spacing:-.6px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:2px;color:#7a8c7f;margin:0 0 5px}.viewHeading>span{font-size:11px}.viewHeading label{min-width:100px;font-size:10px}
.quickActions{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 13px;border-bottom:1px solid #dce5de;margin-bottom:8px}.quickActions button{font-size:11px;min-height:32px;padding:6px 13px}.quickActions button[data-command=btnSave]{margin-left:auto}
.assistRow{gap:12px;padding:0 0 10px}.assistRow label{display:flex;align-items:center;gap:5px;margin:5px 0;font-size:11px}.assistRow>.note{flex-basis:100%;font-size:10px}.assistRow input[type=number]{min-height:28px;padding:3px 5px}
#stage{height:calc(100dvh - 360px);min-height:260px;background:#e3e8e3;border-color:#d4ded5;padding:24px;border-radius:3px}.canvas-container{box-shadow:0 8px 28px #203d2c15}
.imageGrid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:24px}.imageGrid h3{font-size:11px;font-weight:600;margin:5px 0 12px;color:#4d6657}.imageGrid>div{min-width:0}#aiCanvas{border-radius:8px;border-color:#d4ddd4;max-height:calc(100dvh - 275px);width:auto;max-width:100%;object-fit:contain;object-position:top left}
.checker{min-height:220px;background-size:16px 16px;border-radius:8px;border-color:#d6e1d8}.checker:has(img:not([src]))::after{max-width:190px;text-align:center;line-height:1.8;background:#ffffffd9;padding:12px 18px;border-radius:8px;color:#537260}
#collabView>aside{padding-top:22px}#collabView aside h3{font-weight:600;font-size:12px;margin-top:26px}#collabCommentList{max-width:820px}.emptyState{margin:50px auto;padding:38px;max-width:570px;border:1px dashed #bdcebf;border-radius:12px;text-align:center;background:#f9fbf8}.emptyState h2{font-size:18px;font-weight:500;margin:0 0 10px}.emptyState p{font-size:12px}.collabComment{padding:18px;border-color:var(--line);background:#fff}.collabComment.resolved{opacity:.7}.collabComment p{font-size:13px;color:var(--ink)}
footer{height:var(--footer-height);font-size:10px;padding:9px 24px}.skipLink{position:fixed;left:10px;top:-100px;z-index:100;background:white;padding:10px;color:var(--brand)}.skipLink:focus{top:10px}
@media(min-width:1600px){.workspace{grid-template-columns:350px minmax(0,1fr)}.workspace>aside{padding-left:20px;padding-right:20px}.workspace>main{padding-left:32px;padding-right:32px}}
@media(max-width:1150px){header{gap:16px}.productBrand{min-width:210px}.workflowNav button{padding:8px 10px}#status{max-width:210px}.workspace{grid-template-columns:296px minmax(0,1fr)}.workspace>main{padding:18px}.imageGrid{grid-template-columns:1fr}#aiCanvas{max-height:none;width:100%;max-width:480px}.viewHeading h1{font-size:20px}}
@media(max-width:800px){:root{--top-height:158px}header{height:116px;padding:10px 16px;gap:6px;flex-wrap:wrap}.productBrand{min-width:0;flex:1}.productBrand>span{display:none}.productBrand b{font-size:20px}#status{max-width:48%;font-size:10px;order:1}.workflowNav{order:2;width:100%;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.workflowNav::-webkit-scrollbar{display:none}.workflowNav button{flex:0 0 auto}.workflowNav a.plansEntry{flex:0 0 auto;justify-content:center}.resourceNote{height:42px;padding:6px 16px;font-size:10px;line-height:1.4}.resourceNote strong{display:none}.resourceNote a{font-size:10px}.workspace{grid-template-columns:260px minmax(0,1fr)}.workspace>main{padding:16px}.viewHeading{flex-wrap:wrap}.quickActions button[data-command=btnSave]{margin-left:0}.assistRow>.note{display:none}footer{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:430px){.workflowNav button{padding:8px 9px;font-size:11px}.workflowNav a.plansEntry{padding:8px 10px;font-size:11px}.productBrand b{font-size:18px}}
@media(max-width:650px){:root{--footer-height:44px}.workspace{display:flex;flex-direction:column;min-height:0}.workspace>aside{max-height:36dvh;padding:0 14px 14px;flex:none;border-right:0;border-bottom:1px solid #cedcd1}.inspectorNav{padding:8px 0;gap:3px;margin-bottom:12px}.inspectorNav button{padding:4px 8px;min-height:30px}.workspace>main{max-height:none;min-height:300px;padding:16px 14px}.viewHeading{gap:10px;margin-bottom:10px;min-height:36px}.eyebrow{font-size:8px;margin-bottom:3px}.viewHeading h1{font-size:19px}.viewHeading label{min-width:76px;margin-left:auto}.viewHeading>span{font-size:10px}.viewHeading select{min-height:30px;padding:4px}.quickActions{gap:4px;padding-bottom:9px}.quickActions button{min-height:34px;padding:6px 9px;flex:1}.assistRow{gap:8px}.assistRow label{font-size:10px}.assistRow input[type=number]{width:43px!important}#stage{height:52dvh;min-height:260px;padding:18px}.imageGrid{gap:18px}#aiCanvas{width:100%;max-width:100%}footer{height:44px;padding:10px 14px;white-space:normal;line-height:1.5}footer a{float:none;margin-left:6px}.emptyState{margin:20px 0;padding:24px 16px}#collabView>aside{padding-top:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#brandBrief>label,#brandBrief>button,#brandBrief>pre{margin:10px;max-width:calc(100% - 20px)}#brandBrief>button{width:calc(100% - 20px)}#brandBrief .check{display:flex;align-items:center;gap:7px}#aiAccountStatus{display:block;margin:10px 0;padding:8px 10px;background:#eaf2ec;border-radius:6px;color:#305a41;font-size:11px}.aiHistoryItem{padding:12px 10px;border-bottom:1px solid var(--line);font-size:11px}.aiHistoryItem strong{font-size:11px;font-weight:600}.aiHistoryItem button{min-height:30px;font-size:11px}#aiHistoryPanel>button{margin:10px}#shapeTools .triple,#shapeTools .row,#shapeTools>.note{margin:10px}#briefVoiceStatus{font-size:10px;flex-basis:100%}

.candidateRegions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.candidateRegion{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px!important}.candidateRegion canvas{max-width:100%;width:120px;height:80px;object-fit:contain}.candidateRegion span{font-size:11px}#materialOutput>label,#materialOutput>button,#materialOutput>.note{margin:10px;max-width:calc(100% - 20px)}#materialOutput .check{display:flex;align-items:flex-start;gap:6px}#materialVariants:empty{display:none}

#aiEmptyState .primary{width:auto;padding:10px 24px;margin-top:12px}input[type=file]::file-selector-button{border:0;border-radius:4px;padding:6px 9px;background:#eaf2ec;color:#17634f;margin-right:8px;cursor:pointer}

.imageToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.imageToolbar h3{margin:0}.imageToolbar label{display:flex;align-items:center;gap:8px;font-size:11px;color:#53665b}.imageToolbar select{width:100px;min-height:30px;margin:0;padding:4px 8px}.aiImageViewport{overflow:auto;max-height:calc(100dvh - 310px);min-height:1px;overscroll-behavior:contain}.aiImageViewport #aiCanvas{display:block}.aiImageViewport:focus-visible{outline:2px solid #17674e;outline-offset:2px}@media(max-width:650px){.aiImageViewport{max-height:50dvh}}

.preflightReport{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px;line-height:1.6}.preflightReport details{margin:8px 0}.preflightReport summary{font-weight:600;cursor:pointer}.preflightReport details p{padding:8px;background:#f6f8f5;border-radius:4px;overflow-wrap:anywhere}


.workspace>aside{scrollbar-gutter:stable;scrollbar-color:#c3d3c7 #eef3ef}
.workspace>aside::-webkit-scrollbar{width:9px}
.workspace>aside::-webkit-scrollbar-track{background:#eef3ef;border-left:1px solid #dfe8e0}
.workspace>aside::-webkit-scrollbar-thumb{background:#c3d3c7;border-radius:99px;border:2px solid #eef3ef;min-height:36px}
.workspace>aside::-webkit-scrollbar-thumb:hover{background:#a7bfb0}

.langSwitch { display: inline-flex; gap: 2px; margin-left: 10px; }
.langSwitch button { padding: 3px 9px; font-size: 12px; border: 1px solid var(--line, #d8d3c8); border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted, #6f6a5e); }
.langSwitch button.active { background: var(--ink, #2b2620); color: #fff; border-color: var(--ink, #2b2620); }

#threeStage{position:relative;flex:1;min-height:420px;border:1px solid var(--line,#dcd6cc);border-radius:10px;overflow:hidden;background:radial-gradient(120% 120% at 50% 10%,#fbf8f2 0%,#efe9df 62%,#e4dccf 100%)}
#threeStage canvas{display:block}


.save-state { font-size:12px; color:#5b6a7a; padding:2px 8px; border:1px solid #d4dbe3; border-radius:999px; background:#f4f7fa; white-space:nowrap; }
.save-state.dirty { color:#8a5a12; background:#fdf3e2; border-color:#e8d3ac; }
.save-state.team { color:#195c33; background:#e9f6ee; border-color:#bcdcc9; }
.lockRatio { flex-direction:row; align-items:center; gap:4px; }


.dielineChrome{position:absolute;right:30px;bottom:6px;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:4px 14px;max-width:calc(100% - 60px);z-index:4;pointer-events:none}
.lineLegend{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:11px;color:#41504a}
.lineLegend .swatch{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}

.lineLegend i{display:inline-block;width:18px;border-top-width:2px;border-top-style:solid;border-color:currentColor}
.dielineStatus{font-size:11px;color:#41504a;font-variant-numeric:tabular-nums;text-shadow:0 0 4px #fff,0 0 4px #fff}
@media(max-width:900px){.dielineChrome{right:22px;bottom:4px}}


.tplFilter { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:6px 0 2px; }
.tplFilter select { flex:1 1 88px; min-width:0; padding:5px 6px; border:1px solid var(--line); border-radius:8px; font:inherit; font-size:12.5px; background:#fff; color:var(--ink); }
.tplFilter button { border:1px solid var(--line); background:#fff; color:var(--sub); border-radius:8px; padding:5px 9px; font:inherit; font-size:12px; cursor:pointer; }
.tplFilter button:hover { border-color:var(--brand); color:var(--brand); }
.tplFilter output { flex:1 0 100%; font-size:11.5px; color:var(--muted); }
.tplDetail { margin:8px 0 2px; border:1px solid var(--line); border-radius:10px; padding:9px 10px; background:#fbfdfc; }
.tplDetail svg { display:block; width:100%; height:78px; background:#fff; border:1px solid var(--line); border-radius:8px; margin-bottom:7px; }
.tplDetail b { display:block; font-size:13px; margin-bottom:2px; }
.tplDetail .dims, .tplDetail .sheet, .tplDetail .parts { display:block; font-size:12px; color:var(--sub); }
.tplDetail .cap { display:inline-block; margin-top:6px; font-size:11px; border-radius:6px; padding:1px 6px; font-style:normal; }
.tplDetail .cap.pending { background:#fdf3e2; color:#8a5a12; border:1px solid #f0dcb6; }
.tplDetail .cap.ok { background:#eef7f1; color:#155e46; border:1px solid #cbe4d7; }


.apwModal{position:fixed;inset:0;background:rgba(10,12,14,.62);display:flex;align-items:center;justify-content:center;z-index:9998;padding:18px}
.apwModalBox{max-width:560px;background:#1d2226;border:1px solid #3c454c;border-radius:12px;padding:18px 20px;box-shadow:0 18px 60px rgba(0,0,0,.55);color:#eef2f5}
.apwModalBox h3{margin:0 0 8px;font-size:16px;line-height:1.5}
.apwModalBox p{margin:0 0 14px;font-size:13px;line-height:1.7;color:#c6cfd6}
.apwModalRow{display:flex;flex-wrap:wrap;gap:8px}
.apwModalRow button{padding:8px 14px;font-size:13px}
.apwModalRow .ghost{background:transparent;border:1px dashed #4a545c;color:#aab5bd}

#tplDetail .template-version, #tplDetail .template-states, #tplDetail .template-modified { display:block; margin-top:4px; font-size:12px; }
#tplDetail .template-modified { color:#805619; }


.resizeImpact { margin: 10px 0; padding: 12px; border: 1px solid #ccd8d1; border-radius: 10px; background: #f5f9f6; font-size: 12px; line-height: 1.55; }
.resizeImpact h3 { margin: 0 0 6px; font-size: 14px; }
.resizeImpact p { margin: 5px 0; overflow-wrap: anywhere; }
.resizeImpact details { border-top: 1px solid #dce5de; padding: 6px 0; }
.resizeImpact summary { cursor: pointer; font-weight: 600; }
.resizeImpact ul { padding-left: 18px; margin: 6px 0; max-height: 220px; overflow-y: auto; }
.resizeImpact li { margin: 5px 0; overflow-wrap: anywhere; }
#resizeImpactStatus[data-state="error"] { color: #9b2828; }

.assemblyPanel { border: 1px solid #ccd8d1; border-radius: 10px; padding: 10px; margin-bottom: 12px; }
.assemblyPanel h3 { font-size: 14px; margin: 0 0 8px; }
.assemblyReadout { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.assemblyReadout p { margin: 6px 0; }

.identityReadout { font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; color: #45645a; }


body.pro-ui{--bg:#f3f5f9;--ink:#26344b;--line:#dce3ee;--brand:#285ac8;--muted:#64748b;--surface:#fff;--pro-rail:188px;background:var(--bg);color:var(--ink);font-size:14px}
.pro-ui[data-pro-canvas=waiting] :is(#editorView,#threeView){visibility:hidden}
.pro-ui #proCanvasWait{position:fixed;top:160px;left:calc(var(--pro-rail) + 24px);right:24px;z-index:2;padding:24px;background:#fff;border:1px solid var(--line);border-radius:8px}
.pro-ui #proCanvasWait button{margin:12px 12px 0 0}
@media(max-width:760px){.pro-ui #proCanvasWait{left:16px;right:16px;top:190px}}
.pro-ui [hidden],.pro-ui .pro-excluded{display:none!important}
.pro-ui>header{height:64px;padding:10px 20px;gap:18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
.pro-ui .productBrand{min-width:155px}.pro-ui .productBrand b{font-size:18px;letter-spacing:0}.pro-ui .productBrand>span{display:none}
.pro-ui .brandBadge{color:var(--brand)!important;background:#edf2fd;border-color:#dce5fa}
.pro-ui .workflowNav{background:transparent;border:0;border-radius:0;padding:0;gap:3px;min-width:0;overflow-x:auto;scrollbar-width:thin}
.pro-ui .workflowNav button{padding:9px 11px;border-radius:6px;color:var(--muted);font-size:12px}
.pro-ui .workflowNav button.active{color:var(--brand);background:#edf2fd;box-shadow:none;font-weight:650}
.pro-ui #status{margin-left:auto;font-size:11px;max-width:190px;max-height:42px;border-left-color:#89a3d9}
.pro-ui button,.pro-ui .file{border-color:#ced8e7;border-radius:6px;min-height:36px;background:#fff;color:var(--ink)}
.pro-ui button.primary,.pro-ui button.active.primary{background:var(--brand);color:#fff;border-color:var(--brand)}
.pro-ui button:hover:not(:disabled){background:#eff4ff;border-color:#8da7dd;color:#234ca7}
.pro-ui button.primary:hover:not(:disabled){background:#234fab;color:#fff}
.pro-ui button:disabled{opacity:.45;cursor:not-allowed}
.pro-ui :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #7c9fe1;outline-offset:2px}
.pro-ui input,.pro-ui select,.pro-ui textarea{background:#fff;border-color:#d6deea;font-size:13px;min-height:36px;color:var(--ink)}
.pro-ui label,.pro-ui .note{color:#586a83}.pro-ui .note{font-size:12px;line-height:1.7}
.pro-ui .pro-global-nav{position:fixed;left:0;top:64px;bottom:var(--footer-height,36px);width:var(--pro-rail);padding:21px 12px 15px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:5px;overflow:auto;z-index:5}
.pro-ui .pro-nav-caption{font-size:11px;color:var(--muted);padding:0 10px 12px;letter-spacing:.06em}
.pro-ui .pro-nav-item,.pro-ui .pro-nav-bottom>a{display:block;min-height:36px;text-align:left;border:0;border-radius:6px;text-decoration:none;background:transparent;color:#52637b;padding:9px 11px;font-size:12px;width:100%}
.pro-ui .pro-nav-item.active{color:var(--brand);background:#edf2fd;font-weight:600}
.pro-ui .pro-nav-bottom{margin-top:auto;padding-top:25px;display:flex;flex-direction:column;gap:6px}
.pro-ui .pro-nav-bottom .pro-classic-link{font-size:10px;color:#75839a;padding-top:18px;line-height:1.7}
.pro-ui .pro-context{margin-left:var(--pro-rail);min-height:61px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:10px 24px}
.pro-ui .pro-context-current{min-width:110px;max-width:320px;display:flex;flex-direction:column;gap:3px}
.pro-ui #proProjectTitle{font-size:13px;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.pro-ui .pro-scope{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pro-ui .pro-route-title{color:var(--muted);font-size:12px;border-left:1px solid var(--line);padding-left:16px}
.pro-ui .pro-context-actions{display:flex;gap:7px;margin-left:auto}.pro-ui .pro-context-actions button{font-size:11px;padding:7px 10px;min-height:32px}
.pro-ui .pro-mobile-navigation{display:none}
.pro-ui .resourceNote{height:auto;min-height:33px;margin:0 0 0 var(--pro-rail);padding:7px 24px;background:#f8f9fc;font-size:11px;color:#63738c;border-bottom:1px solid var(--line)}
.pro-ui .resourceNote a{color:var(--brand)}
.pro-ui .pro-demo-disclosure{margin:0 0 0 var(--pro-rail);background:#fff8e7;border-bottom:1px solid #ebd9b0;color:#73561e;font-size:12px}
.pro-ui .pro-demo-disclosure>summary{padding:8px 24px;cursor:pointer}.pro-ui .pro-demo-disclosure .demoNote{border:0;margin:0;padding:8px 24px 15px;display:block}
.pro-ui .workspace{margin-left:var(--pro-rail);width:calc(100% - var(--pro-rail));grid-template-columns:302px minmax(0,1fr);min-height:calc(100dvh - var(--pro-content-top,180px) - var(--footer-height));background:var(--bg)}
.pro-ui .workspace>aside,.pro-ui .workspace>main{max-height:calc(100dvh - var(--pro-content-top,180px) - var(--footer-height));min-width:0;overflow:auto;overscroll-behavior:contain}
.pro-ui .workspace>aside{padding:0 17px 22px;background:#fff;border-right:1px solid var(--line)}
.pro-ui .workspace>main{padding:22px 24px;background:var(--bg)}
.pro-ui .inspectorNav{background:#fff;backdrop-filter:none;border-bottom:1px solid var(--line);padding:12px 0;gap:4px;margin-bottom:20px}
.pro-ui .inspectorNav button{min-height:31px;padding:5px 8px;font-size:11px;border-color:transparent;background:transparent;color:#64748b}
.pro-ui .inspectorNav button.active{background:#edf2fd;color:var(--brand);font-weight:600}
.pro-ui .inspectorSection{border:0;margin:0;padding:0 0 18px}.pro-ui .inspectorSection>h2{font-size:15px;letter-spacing:0;margin-bottom:17px}
.pro-ui .viewHeading{gap:12px}.pro-ui .viewHeading h1{font-size:21px;color:var(--ink)}.pro-ui .viewHeading .eyebrow{color:#8290a6;font-size:9px}
.pro-ui #editorView[data-pro-route=layout],.pro-ui #editorView[data-pro-route=properties]{grid-template-columns:244px minmax(0,1fr) 270px}
.pro-ui #editorView>.pro-property-panel{padding:20px 17px;border-left:1px solid var(--line);border-right:0}
.pro-ui #stage{background:#e8edf4;border:1px solid #d3deed;height:calc(100dvh - var(--pro-content-top,180px) - 180px);min-height:290px;padding:22px;border-radius:4px}
.pro-ui .canvas-container{box-shadow:0 8px 28px #21385812}.pro-ui .quickActions{gap:6px;margin:12px 0}.pro-ui .quickActions button{font-size:11px;min-height:32px}
.pro-ui .pro-layout-tools,.pro-ui .pro-image-tools,.pro-ui .pro-creative-links,.pro-ui .pro-review-tools,.pro-ui .pro-task-routes{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.pro-ui :is(.pro-layout-tools,.pro-image-tools,.pro-creative-links,.pro-review-tools,.pro-task-routes) button{font-size:11px;padding:7px 10px}
.pro-ui .pro-image-tools button[aria-pressed=true]{color:var(--brand);background:#eaf1ff;border-color:#b1c5ee}
.pro-ui .pro-page{max-width:1220px;margin:0 auto;padding:6px 0 20px}
.pro-ui .pro-page h1{font-size:27px;line-height:1.4;margin:8px 0 13px;color:var(--ink)}
.pro-ui .pro-eyebrow{font-size:10px;letter-spacing:.1em;color:#7b8ca7}.pro-ui .pro-lead{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:24px;max-width:900px}
.pro-ui .pro-stats{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:24px 0}
.pro-ui .pro-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.pro-ui .pro-summary-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:21px;min-width:0}
.pro-ui .pro-summary-card h3{font-size:12px;font-weight:600;color:var(--muted);margin:0 0 12px}
.pro-ui .pro-summary-value{font-size:13px;line-height:1.8;overflow-wrap:anywhere;color:var(--ink);margin:0}
.pro-ui .pro-stats .pro-summary-value{font-size:23px;font-weight:600}.pro-ui .pro-stats>article:first-child .pro-summary-value{font-size:19px}
.pro-ui .pro-next-actions,.pro-ui .pro-empty-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.pro-ui .pro-boundary{padding:14px 17px;border-left:3px solid #9cb7ec;background:#eef3fd;color:#557099;font-size:12px;line-height:1.8;margin-top:24px}
.pro-ui #editorView:is([data-pro-route=overview],[data-pro-route=delivery],[data-pro-route=fonts],[data-pro-route=export],[data-pro-route=history]){grid-template-columns:minmax(0,1fr)}
.pro-ui #editorView:is([data-pro-route=overview],[data-pro-route=delivery],[data-pro-route=fonts],[data-pro-route=export],[data-pro-route=history])>aside{display:none}
.pro-ui #editorView[data-pro-route=overview]>main>:not(#proOverview){display:none!important}
.pro-ui #editorView:is([data-pro-route=delivery],[data-pro-route=fonts],[data-pro-route=export],[data-pro-route=history])>main>:not(#proTaskPage):not(#proDeliveryControls){display:none!important}
.pro-ui #proTaskPage{padding-bottom:12px}.pro-ui #proDeliveryControls{max-width:1220px;margin:0 auto}
.pro-ui #proDeliveryControls>.inspectorSection{background:#fff;border:1px solid var(--line);border-radius:9px;padding:23px;max-width:100%;}
.pro-ui #proDeliveryControls>.inspectorSection>button{display:inline-flex;width:auto;min-width:145px;margin:8px 10px 8px 0}
.pro-ui #proDeliveryControls label{max-width:480px}.pro-ui #proDeliveryControls pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto}
.pro-ui .pro-task-version{color:var(--muted);font-size:12px;line-height:1.7}
.pro-ui #collabView:is([data-pro-route=workspace],[data-pro-route=assets],[data-pro-route=templates],[data-pro-route=jobs]){grid-template-columns:minmax(0,1fr)}
.pro-ui #collabView:is([data-pro-route=workspace],[data-pro-route=assets],[data-pro-route=templates],[data-pro-route=jobs])>aside{display:none}
.pro-ui #collabView:not([data-pro-route=review]) .pro-review-tools,.pro-ui #collabView:not([data-pro-route=review]) #collabCommentList,.pro-ui #collabView:not([data-pro-route=review])>main>.viewHeading{display:none}
.pro-ui #collabView .team-library{display:block;max-width:1220px;margin:10px auto}.pro-ui #collabView .team-library article{border-color:var(--line);border-radius:9px;background:#fff;min-width:0}
.pro-ui #collabView:is([data-pro-route=account],[data-pro-route=members],[data-pro-route=trial]){grid-template-columns:minmax(330px,550px) minmax(0,1fr)}
.pro-ui .pro-account-section{padding:22px 3px;border-bottom:1px solid var(--line)}.pro-ui .pro-account-section h3,.pro-ui .pro-account-section h2{font-size:16px;margin-top:0}
.pro-ui .pro-project-tools{display:flex;gap:12px;margin:22px 0}.pro-ui .pro-project-tools input{max-width:400px;margin:0}
.pro-ui .pro-project-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:17px}
.pro-ui .pro-project-card{border:1px solid var(--line);background:#fff;padding:23px;border-radius:9px;border-top:3px solid #4a73c9}
.pro-ui .pro-project-card h2{font-size:16px;margin:0 0 12px;overflow-wrap:anywhere}.pro-ui .pro-project-meta{font-size:11px;color:var(--muted);margin:0 0 20px}
.pro-ui .pro-empty{grid-column:1/-1;border:1px dashed #bdcbdf;border-radius:9px;padding:27px;color:var(--muted);background:#fff;font-size:13px}
.pro-ui .pro-stage-pair{display:block;min-width:0}.pro-ui .pro-stage-pair.is-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.pro-ui .pro-stage-pair.is-split #stage{min-width:0;min-height:330px;padding:14px}
.pro-ui .pro-inline-preview{border:1px solid #d4deed;border-radius:5px;background:#edf1f6;overflow:auto;min-width:0;max-height:calc(100dvh - var(--pro-content-top,180px) - 120px)}
.pro-ui .pro-preview-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:10px;background:#fff;border-bottom:1px solid var(--line)}
.pro-ui .pro-preview-tools b{font-size:11px;margin-right:auto}.pro-ui .pro-preview-tools button{font-size:10px;padding:5px;min-height:30px}
.pro-ui .pro-inline-preview #threeStage{min-height:300px;height:43dvh;border:0;width:100%;background:#e7edf5}
.pro-ui .pro-inline-preview #threeInfo{font-size:11px;line-height:1.8;padding:11px;margin:0;white-space:normal;overflow-wrap:anywhere}
.pro-ui .pro-inline-preview #threeNotice{font-size:11px;padding:10px;max-height:180px;overflow:auto}
.pro-ui .pro-command-dialog{border:1px solid #cbd6e8;border-radius:12px;width:min(550px,92vw);max-height:80dvh;padding:24px;box-shadow:0 25px 90px #0d204133;color:var(--ink);background:#fff}
.pro-ui .pro-command-dialog::backdrop{background:#14213d66}.pro-ui .pro-command-dialog h2{font-size:18px;margin:0 0 20px}.pro-ui .pro-command-dialog input{width:100%;margin-bottom:16px}
.pro-ui .pro-command-results{max-height:48dvh;overflow:auto;margin-bottom:15px}.pro-ui .pro-command-results button{display:block;text-align:left;width:100%;border:0;margin-bottom:4px}
.pro-ui footer{background:#fff;border-top:1px solid var(--line);color:#72839c;padding-left:calc(var(--pro-rail) + 22px);font-size:10px;white-space:normal;line-height:1.6}
@media(max-width:1250px){body.pro-ui{--pro-rail:162px}.pro-ui .productBrand{min-width:132px}.pro-ui .workflowNav button{font-size:11px;padding:8px}.pro-ui #status{max-width:140px;font-size:10px}.pro-ui .pro-context{padding:10px 17px}.pro-ui .workspace{grid-template-columns:272px minmax(0,1fr)}.pro-ui #editorView[data-pro-route=layout],.pro-ui #editorView[data-pro-route=properties]{grid-template-columns:215px minmax(0,1fr) 235px}.pro-ui .workspace>main{padding:18px}.pro-ui .pro-stage-pair.is-split{grid-template-columns:1fr}.pro-ui .pro-inline-preview{max-height:600px}.pro-ui .pro-inline-preview #threeStage{height:350px}}
@media(max-width:900px){body.pro-ui{--pro-rail:0px}.pro-ui .pro-global-nav{display:none}.pro-ui>header{height:auto;min-height:65px;flex-wrap:wrap;padding:10px 16px;gap:7px}.pro-ui .productBrand{min-width:0}.pro-ui .workflowNav{order:3;flex:0 0 100%;width:100%;border-top:1px solid var(--line);padding-top:5px;flex-wrap:nowrap}.pro-ui #status{max-width:50%;margin-left:auto}.pro-ui .pro-context{flex-wrap:wrap;gap:9px;padding:11px 16px}.pro-ui .pro-mobile-navigation{display:block;max-width:170px;width:170px;font-size:12px}.pro-ui .pro-route-title{display:none}.pro-ui .pro-context-actions{margin-left:0}.pro-ui .pro-context-actions button{font-size:10px;min-height:32px}.pro-ui .pro-context-current{max-width:190px}.pro-ui .workspace{grid-template-columns:245px minmax(0,1fr)}.pro-ui #editorView[data-pro-route=layout],.pro-ui #editorView[data-pro-route=properties]{grid-template-columns:235px minmax(0,1fr)}.pro-ui #editorView>.pro-property-panel{grid-column:1/-1;border-top:1px solid var(--line);max-height:none}.pro-ui #editorView>.pro-property-panel>.inspectorSection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 17px}.pro-ui #editorView>.pro-property-panel h2,.pro-ui #editorView>.pro-property-panel details{grid-column:1/-1}.pro-ui .pro-stats{gap:10px}.pro-ui .pro-summary-grid{grid-template-columns:1fr}.pro-ui #stage{height:400px}.pro-ui footer{padding-left:16px}.pro-ui .pro-stage-pair.is-split{grid-template-columns:1fr}}
@media(max-width:650px){.pro-ui .workspace,.pro-ui #editorView[data-pro-route=layout],.pro-ui #editorView[data-pro-route=properties]{display:flex;flex-direction:column;width:100%;min-height:0}.pro-ui .workspace>aside{max-height:42dvh;width:100%;border-right:0;border-bottom:1px solid var(--line)}.pro-ui .workspace>main{max-height:none;width:100%;padding:17px}.pro-ui #collabView[data-pro-route=review]>aside{max-height:none}.pro-ui #collabView[data-pro-route=review]>main{order:-1}.pro-ui .pro-page h1{font-size:23px}.pro-ui .pro-stats{grid-template-columns:1fr 1fr}.pro-ui .pro-stats>article:first-child{grid-column:1/-1}.pro-ui .pro-summary-card{padding:17px}.pro-ui .pro-context-actions{width:100%;flex-wrap:wrap}.pro-ui .pro-context-current{flex:1}.pro-ui .resourceNote{padding:7px 16px;font-size:10px;flex-wrap:wrap}.pro-ui .pro-demo-disclosure>summary{padding:9px 16px}.pro-ui .pro-project-tools{flex-wrap:wrap}.pro-ui .pro-project-tools input{max-width:100%}.pro-ui .pro-project-list{grid-template-columns:1fr}.pro-ui .pro-account-section{padding:18px 0}.pro-ui #editorView>.pro-property-panel>.inspectorSection{grid-template-columns:1fr}.pro-ui .pro-image-tools{gap:5px}.pro-ui .pro-image-tools button{min-height:38px;font-size:11px}.pro-ui .pro-stage-pair.is-split #stage{min-height:330px}}
@media(prefers-reduced-motion:reduce){.pro-ui *{scroll-behavior:auto!important;transition:none!important}}


.pro-ui .pro-fold{border:1px solid var(--line);background:#fff;border-radius:7px;padding:0 11px;margin:14px 0;min-width:0}
.pro-ui .pro-fold>summary{font-size:12px;font-weight:600;padding:12px 0;cursor:pointer;color:#546a8a;line-height:1.5}
.pro-ui .pro-fold[open]{padding-bottom:12px}.pro-ui .pro-fold .pro-account-section{border:0;padding:10px 0}
.pro-ui .pro-layer-quick{display:flex;gap:5px;flex-wrap:wrap;margin:13px 0}.pro-ui .pro-layer-quick button{font-size:10px;padding:6px 8px;min-height:32px}
.pro-ui #layers{margin:10px 0 17px;max-height:45dvh;overflow:auto;border:1px solid var(--line);border-radius:7px;background:#fafbfe;padding:5px}
.pro-ui .pro-brush-readout{display:flex;align-items:center;gap:12px;margin:10px 0 16px}.pro-ui .pro-brush-readout label{font-size:11px;flex:1}.pro-ui #proBrushPixels{width:74px;margin:0;min-height:32px}
.pro-ui .pro-secondary-mode{margin:12px 0}.pro-ui .pro-candidate-card{border-color:#b8c9e8!important;background:#fff}
.pro-ui #proProjectList.is-list{display:block}.pro-ui #proProjectList.is-list .pro-project-card{display:flex;align-items:center;gap:18px;padding:15px 19px;margin-bottom:10px;border-top:1px solid var(--line);border-left:3px solid #4a73c9}.pro-ui #proProjectList.is-list .pro-project-card h2{flex:1;margin:0}.pro-ui #proProjectList.is-list .pro-project-meta{margin:0;font-size:12px}.pro-ui #proListToggle[aria-pressed=true]{background:#edf2fd;color:var(--brand);border-color:#bfd0ef}
.pro-ui .pro-review-preview{border:1px solid var(--line);background:#fff;border-radius:9px;padding:18px;margin:14px 0;min-width:0}
.pro-ui .pro-review-preview-header{display:flex;gap:12px;align-items:center;justify-content:space-between}.pro-ui .pro-review-preview h2{font-size:16px;margin:0}.pro-ui .pro-review-preview-header button{font-size:11px;min-height:33px;padding:7px 9px}
.pro-ui #proReviewStatus{font-size:11px;line-height:1.7;color:var(--muted);margin:11px 0;overflow-wrap:anywhere}.pro-ui #proReviewImage{display:block;max-width:100%;width:auto;max-height:52dvh;object-fit:contain;margin:14px auto;background:#eef1f7;border:1px solid #dce3ed}
.pro-ui .pro-review-preview>.note{font-size:11px;line-height:1.8;margin:14px 0 0}
.pro-ui #collabView[data-pro-route=review]{grid-template-columns:minmax(0,1fr) 330px}.pro-ui #collabView[data-pro-route=review]>main{grid-column:1;grid-row:1;display:flex;flex-direction:column}.pro-ui #collabView[data-pro-route=review]>aside{grid-column:2;grid-row:1;border-left:1px solid var(--line);border-right:0;padding:0 20px 20px}
.pro-ui #collabView[data-pro-route=review]>main>.viewHeading{order:-5}.pro-ui #collabView[data-pro-route=review] .pro-review-tools{order:-4}.pro-ui .pro-review-version-controls{order:-3;border:1px solid var(--line);background:#fff;border-radius:8px;padding:15px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pro-ui .pro-review-version-controls>h3{font-size:12px;margin:0}.pro-ui .pro-review-version-controls>label{margin:0;max-width:100%;flex:1;min-width:190px}.pro-ui .pro-review-version-controls select{margin:5px 0 0}.pro-ui .pro-review-version-controls>button{width:auto;font-size:11px;padding:7px 9px}.pro-ui .pro-review-version-controls>.note{flex-basis:100%;font-size:10px;margin:0}
.pro-ui #collabView[data-pro-route=review] .pro-account-section{padding:18px 0}.pro-ui #collabView[data-pro-route=review] .pro-account-section h3{font-size:15px}.pro-ui #collabView[data-pro-route=review] #collabCommentList{margin:12px 0;max-height:28dvh;overflow:auto}.pro-ui #collabView[data-pro-route=review] .collabBanner{order:-6}
.pro-ui #collabView[data-pro-route=review] .pro-fold{margin-top:18px}.pro-ui #collabView[data-pro-route=review] .pro-fold .pro-account-section{padding:8px 0}
@media(max-width:1100px){.pro-ui #collabView[data-pro-route=review]{grid-template-columns:minmax(0,1fr) 285px}.pro-ui #collabView[data-pro-route=review]>aside{padding:0 15px 18px}.pro-ui .pro-review-preview{padding:14px}}
@media(max-width:650px){.pro-ui #collabView[data-pro-route=review]{display:flex;flex-direction:column}.pro-ui #collabView[data-pro-route=review]>main{order:-1;max-height:none;display:flex}.pro-ui #collabView[data-pro-route=review]>aside{border-left:0;padding:0 18px 25px;max-height:none}.pro-ui #proReviewImage{max-height:420px}.pro-ui .pro-review-preview-header{align-items:flex-start}.pro-ui .pro-review-preview h2{font-size:14px}.pro-ui .pro-review-version-controls{padding:12px}.pro-ui .pro-review-version-controls>button{flex:1}.pro-ui #proProjectList.is-list .pro-project-card{flex-wrap:wrap;gap:10px}.pro-ui #proProjectList.is-list .pro-project-card h2{min-width:140px}.pro-ui #layers{max-height:33dvh}}

.pro-ui #collabView[data-pro-route=boxes]{grid-template-columns:minmax(0,1fr)}.pro-ui #collabView[data-pro-route=boxes]>aside{display:none}
.pro-ui .pro-catalog-tools{display:flex;gap:10px;flex-wrap:wrap;margin:21px 0}.pro-ui .pro-catalog-tools input{max-width:360px;margin:0}.pro-ui .pro-catalog-tools select{width:auto;max-width:235px;margin:0}
.pro-ui .pro-box-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px;margin:18px 0}
.pro-ui .pro-box-card{border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden;min-width:0;display:flex;flex-direction:column}
.pro-ui .pro-box-thumb{height:159px;padding:15px;background:#eef2f8;display:flex;align-items:center;justify-content:center}.pro-ui .pro-box-thumb img{max-height:100%;max-width:100%;width:100%;object-fit:contain}.pro-ui .pro-box-info{padding:17px;display:flex;flex-direction:column;flex:1}.pro-ui .pro-box-info h2{font-size:15px;margin:0 0 9px}.pro-ui .pro-box-info .note{font-size:11px;line-height:1.7;margin:4px 0 10px}.pro-ui .pro-box-info button{margin-top:auto;font-size:12px;width:100%}
.pro-ui .pro-box-state{font-size:10px;border-radius:5px;padding:3px 7px;align-self:flex-start;margin-bottom:8px}.pro-ui .pro-box-state.pending{color:#866124;background:#fff4dd}.pro-ui .pro-box-state.confirmed{color:#356250;background:#e9f4ef}
.pro-ui #proBoxMore{margin:12px 14px 18px 0}.pro-ui .pro-structure-dialog{width:min(700px,92vw);max-height:90dvh;border:1px solid var(--line);border-radius:11px;padding:24px;color:var(--ink);box-shadow:0 25px 90px #0d204133}.pro-ui .pro-structure-dialog::backdrop{background:#14213d66}.pro-ui .pro-structure-dialog h2{font-size:20px;margin:0 0 18px}.pro-ui .pro-structure-detail-preview{background:#eef2f8;height:260px;padding:18px;border-radius:7px;text-align:center}.pro-ui .pro-structure-detail-preview img{height:100%;max-width:100%;object-fit:contain}.pro-ui .pro-structure-facts{font-size:13px;line-height:1.7}.pro-ui .pro-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:19px}.pro-ui .pro-structure-dialog .pro-boundary{margin-top:16px}
@media(max-width:650px){.pro-ui .pro-box-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pro-ui .pro-box-info{padding:11px}.pro-ui .pro-box-info h2{font-size:12px}.pro-ui .pro-box-info .note{font-size:10px}.pro-ui .pro-box-info button{font-size:10px;padding:6px}.pro-ui .pro-box-thumb{height:125px}.pro-ui .pro-catalog-tools input{max-width:100%}.pro-ui .pro-catalog-tools select{flex:1;max-width:100%;min-width:120px}.pro-ui .pro-structure-dialog{padding:18px}.pro-ui .pro-structure-detail-preview{height:210px}}


.pro-ui .pro-redundant-toolbar,.pro-ui .pro-redundant-heading{display:none!important}
.pro-ui #editorView .pro-compact-heading{margin-bottom:10px;min-height:35px;align-items:center}
.pro-ui #editorView .pro-compact-heading>div:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.pro-ui #editorView .pro-compact-heading #dims{font-size:11px;margin:0}.pro-ui #editorView .pro-compact-heading #saveState{font-size:10px;margin:0}
.pro-ui #editorView .pro-compact-heading>label{display:flex;align-items:center;gap:8px;margin:0 0 0 auto;white-space:nowrap;font-size:10px}
.pro-ui #editorView .pro-compact-heading #zoom{width:110px;min-height:30px;margin:0;font-size:11px}
.pro-ui #proLayoutTools{padding:0 0 12px;margin:0;border-bottom:1px solid var(--line);gap:7px;align-items:start}
.pro-ui #proLayoutTools>button{width:auto;margin:0;font-size:11px;min-height:33px;padding:7px 10px}
.pro-ui #proViewOptions{margin:0 0 0 auto;position:relative;padding:0 11px;min-width:132px;border-radius:6px}
.pro-ui #proViewOptions>summary{font-size:11px;padding:8px 0;font-weight:500;min-height:33px}
.pro-ui #proViewOptions[open]{flex-basis:100%;margin:0;padding-bottom:10px}
.pro-ui #proViewOptions .assistRow{margin:0;gap:8px 14px;flex-wrap:wrap}
.pro-ui #proViewOptions .assistRow>span.note{font-size:10px;flex-basis:100%;margin:0}
.pro-ui #proStagePair{margin-top:14px}.pro-ui #stage{height:calc(100dvh - var(--pro-content-top,180px) - 134px)}
.pro-ui #proProperties #applyProps{margin-top:12px;background:var(--brand);color:#fff;width:100%}
.pro-ui #proProjectCounter{font-size:11px;color:var(--muted);padding:9px 0;white-space:nowrap;margin-left:auto}
.pro-ui #proProjectRefresh{font-size:11px;min-height:34px}
.pro-ui .pro-project-glyph{display:flex;align-items:center;justify-content:center;width:50px;height:50px;background:#edf2fc;color:#5275b9;border-radius:9px;margin:0 0 18px}
.pro-ui .pro-project-glyph svg{width:31px;height:31px}
.pro-ui .pro-project-card{border-top:1px solid var(--line);padding:22px;box-shadow:0 4px 12px #132f5205}
.pro-ui .pro-project-card h2{font-size:17px;line-height:1.5}.pro-ui .pro-project-card button{font-size:12px;min-height:36px}
.pro-ui #proProjectList.is-list .pro-project-glyph{width:36px;height:36px;margin:0;flex-shrink:0}.pro-ui #proProjectList.is-list .pro-project-glyph svg{width:25px;height:25px}
.pro-ui .pro-project-empty-starts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.pro-ui #proProjectManagement{max-width:1220px;margin:22px auto 0}.pro-ui #proProjectManagement article{border:0;padding:12px 3px 4px;background:transparent}
.pro-ui .pro-workspace-credits{font-size:11px;color:var(--muted);margin:22px 0 0;line-height:1.8}
.pro-ui .pro-new-project{padding:22px;border:1px solid #adc2e9;border-radius:9px;background:#fff;margin:0 0 21px}
.pro-ui .pro-new-project h2{font-size:17px;margin:0 0 10px}.pro-ui .pro-new-project label{max-width:560px}.pro-ui .pro-new-project input{margin:8px 0 12px}
.pro-ui .pro-new-project-actions{display:flex;gap:9px}.pro-ui .pro-new-project-actions button{width:auto;min-width:90px}
.pro-ui #editorView:is([data-pro-route=layout],[data-pro-route=properties]) .inspectorNav{padding:13px 0;margin-bottom:20px}
.pro-ui .pro-properties-title{font-size:15px}
@media(max-width:900px){.pro-ui #proProjectCounter{margin-left:0}.pro-ui #stage{height:430px}.pro-ui #proViewOptions{margin-left:0}.pro-ui #proLayoutTools{flex-wrap:wrap}}
@media(max-width:650px){.pro-ui #proProjectManagement{margin:16px auto}.pro-ui .pro-new-project{padding:16px}.pro-ui .pro-project-glyph{width:40px;height:40px;margin-bottom:13px}.pro-ui #proProjectCounter{font-size:10px}.pro-ui #proLayoutTools{margin-top:7px}.pro-ui #editorView .pro-compact-heading{flex-wrap:wrap}.pro-ui #proViewOptions[open]{width:100%}}


.pro-ui .pro-brief-summary{padding:18px 20px;margin:0 0 20px;background:#fff;border:1px solid var(--line);border-radius:9px}
.pro-ui .pro-brief-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.pro-ui .pro-brief-heading h2{font-size:15px;margin:0}
.pro-ui .pro-brief-badge{font-size:11px;background:#f1f3f7;border:1px solid #dce3ee;border-radius:5px;padding:4px 8px;color:#596c85}.pro-ui .pro-brief-badge.enabled{background:#e8f0fd;color:#244f9b;border-color:#c7d7f0}
.pro-ui .pro-brief-content{font-size:14px;line-height:1.75;color:#263b58;margin:14px 0 5px;overflow-wrap:anywhere}.pro-ui .pro-brief-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.pro-ui .pro-brief-actions button{font-size:11px;padding:7px 11px}
.pro-ui .pro-generation-submit{background:#f5f8fd;border:1px solid #d7e2f2;padding:12px;border-radius:8px;margin:18px 0}.pro-ui .pro-generation-submit output{display:block;font-size:12px;line-height:1.75;margin-bottom:8px;color:#3d5475}.pro-ui .pro-generation-submit>button{width:100%;margin:0;min-height:40px}
.pro-ui .pro-directions-toolbar{display:flex;gap:10px;align-items:center;margin:6px 0 14px}.pro-ui .pro-directions-toolbar h2{margin:0;font-size:17px}.pro-ui .pro-directions-toolbar output{flex:1}.pro-ui .pro-directions-toolbar button{font-size:12px}
.pro-ui #directionGallery{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px!important;margin:0 0 20px!important}.pro-ui #directionGallery[hidden]{display:none!important}
.pro-ui #directionGallery>.dir-card{width:auto!important;max-width:100%;padding:10px!important;background:#fff;border-radius:8px;border-color:#cad7ed!important;box-shadow:0 3px 12px #223a5706}.pro-ui #directionGallery>.dir-card:hover{outline:2px solid #9db9eb;outline-offset:2px}.pro-ui #directionGallery>.dir-card img{height:260px!important;background:#f4f6fa!important;border-radius:5px}.pro-ui #directionGallery>.dir-card figcaption{font-size:12px!important;line-height:1.65!important;padding:7px 2px 1px}
.pro-ui .pro-directions-empty{padding:20px;background:#f8faff;border:1px dashed #bacce8;border-radius:8px;color:#536985;font-size:13px;line-height:1.8;margin:0 0 20px}
.pro-ui .pro-compare-dialog{width:min(1150px,94vw);max-height:92dvh;padding:24px;border:1px solid #cad6e8;border-radius:12px;overflow:auto;background:#fff;color:#233751;box-shadow:0 22px 100px #16294455}.pro-ui .pro-compare-dialog::backdrop{background:#13233d99}.pro-ui .pro-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.pro-ui .pro-dialog-heading h2{font-size:21px;margin:0}
.pro-ui .pro-compare-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:20px}.pro-ui .pro-compare-column{min-width:0;margin:0;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fafbfe}.pro-ui .pro-compare-column select{width:100%;margin:0 0 13px}.pro-ui .pro-compare-column img{width:100%;height:min(46dvh,510px);object-fit:contain;background:#eef2f7}.pro-ui .pro-compare-column figcaption{font-size:12px;line-height:1.7;padding:12px 0;overflow-wrap:anywhere}.pro-ui .pro-compare-column>.primary{width:100%}.pro-ui .pro-compare-dialog .pro-boundary{margin-top:18px}
.pro-ui .pro-loaded-search{max-width:450px!important}.pro-ui .team-item[hidden]{display:none!important}
@media(max-width:650px){.pro-ui .pro-brief-summary{padding:15px}.pro-ui .pro-brief-heading{align-items:flex-start;flex-wrap:wrap}.pro-ui .pro-directions-toolbar{flex-wrap:wrap}.pro-ui .pro-directions-toolbar button{width:100%}.pro-ui #directionGallery{grid-template-columns:1fr}.pro-ui .pro-compare-dialog{padding:16px;width:95vw}.pro-ui .pro-compare-columns{grid-template-columns:1fr}.pro-ui .pro-compare-column img{height:32dvh}}


.pro-organizer-dialog{width:min(820px,92vw);max-height:88vh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:24px;color:var(--ink);background:var(--surface,#fff)}
.pro-organizer-dialog::backdrop{background:#16233b66}.pro-organizer-dialog .row{display:flex;gap:10px;align-items:center}.pro-organizer-dialog .row input{min-width:0;flex:1}.pro-organizer-dialog .row select{width:130px}.pro-organizer-results{max-height:55vh;overflow:auto;margin:16px 0}.pro-organizer-results .team-item{border-top:1px solid var(--line);padding:14px 0}.pro-organizer-results button{margin:6px}.pro-organizer-dialog h2{margin-top:0}#advancedBrushControls input[type=range]{width:100%}#brushMagneticStatus{display:block;white-space:normal;font-size:11px}@media(max-width:650px){.pro-organizer-dialog .row{flex-wrap:wrap}.pro-organizer-dialog{padding:16px}.pro-organizer-dialog .row input{flex-basis:65%}}

.demo-action-note{margin:6px 0 10px;font-size:12px;line-height:1.5}
