.ex-studio{--ex-blue:var(--brand-navy);--ex-bg:#F7F8FA;--ex-light:#F2F3F5;--ex-line:#E5E7EB;--ex-text:#141414;display:grid;grid-template-columns:208px minmax(0,1fr) 392px;min-height:100dvh;width:100%;background:var(--ex-bg);color:var(--ex-text);font-family:inherit}.ex-studio *{box-sizing:border-box}.ex-studio button,.ex-studio select{font:inherit}.ex-nav{background:#fff;border-right:1px solid var(--ex-line);display:flex;flex-direction:column;gap:8px;padding:24px 12px}.ex-brand{font-size:21px;font-weight:600;padding:4px 14px 24px;color:var(--ex-blue)}.ex-nav>a{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:10px;color:var(--ex-text);font-size:15px;font-weight:600;text-decoration:none}.ex-nav>a.on{background:var(--ex-blue);color:#fff}.ex-nav>a:hover:not(.on){background:var(--ex-light)}.ex-nav-foot{margin-top:auto;padding:20px 16px;border-top:1px solid var(--ex-line);font-size:14px}.ex-nav-foot b{color:var(--ex-blue)}.ex-main{min-width:0;display:flex;flex-direction:column;padding:20px 22px;gap:16px}.ex-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--ex-line);border-radius:12px;padding:10px 14px;min-height:62px}.ex-views{display:flex;gap:4px;min-width:0}.ex-views button{background:none;border:0;border-radius:8px;min-height:38px;padding:0 12px;color:#5C6571;white-space:nowrap;font-size:14px;cursor:pointer}.ex-views button.on{background:var(--ex-blue);color:#fff}.ex-views button:disabled{opacity:.35;cursor:not-allowed}.ex-toolbar-actions{display:flex;align-items:center;gap:12px}.ex-saved{font-size:13px;color:#617083;white-space:nowrap}.ex-text-button{border:0;background:none;color:var(--ex-text);font-size:13px;white-space:nowrap;cursor:pointer;min-height:36px}.ex-save-wrap{position:relative}.ex-save-menu{position:absolute;right:0;top:40px;z-index:20;background:#fff;border:1px solid var(--ex-line);border-radius:10px;box-shadow:0 12px 28px #13284920;min-width:220px;padding:6px}.ex-save-menu button{display:block;width:100%;background:#fff;border:0;text-align:left;padding:10px;font-size:13px;border-radius:6px;cursor:pointer}.ex-save-menu button:hover{background:var(--ex-light)}.ex-zoom{display:flex;align-items:center;gap:3px;border:1px solid var(--ex-line);border-radius:8px;height:34px}.ex-zoom button{background:none;border:0;width:32px;height:32px;cursor:pointer}.ex-zoom span{font-size:12px;min-width:40px;text-align:center}.ex-canvas{display:flex;align-items:center;justify-content:center;flex:1;min-height:480px;overflow:hidden;background:#fff;border:1px solid var(--ex-line);border-radius:12px;padding:18px}.ex-canvas-inner{width:100%;height:100%;min-height:440px;display:flex;align-items:center;justify-content:center;overflow:hidden}.ex-canvas-inner>img{display:block;max-width:100%;max-height:70dvh;object-fit:contain}.ex-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#6B7280;min-height:360px}.ex-empty b{font-size:18px;color:var(--ex-text)}.ex-empty .ex-primary{width:230px}.ex-empty .ex-option{width:230px}.ex-editor{width:100%;height:100%}.ex-editor .re-hint,.ex-editor .re-tools,.ex-editor .re-side,.ex-editor .re-status,.ex-editor .re-actions{display:none!important}.ex-editor .re-work{display:block!important}.ex-editor .re-canvas{width:100%;height:min(70dvh,680px);background:var(--ex-light);touch-action:none}.ex-result-strip{min-height:74px;background:#fff;border:1px solid var(--ex-line);border-radius:12px;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.ex-result-strip>div:first-child{display:flex;gap:8px;overflow:auto}.ex-result-strip [data-thumb]{padding:0;border:2px solid transparent;border-radius:8px;background:#fff;width:56px;height:54px;flex:none;overflow:hidden;cursor:pointer}.ex-result-strip [data-thumb].on{border-color:var(--ex-blue)}.ex-result-strip img{width:100%;height:100%;object-fit:cover}.ex-result-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ex-result-links a,.ex-result-links button{border:1px solid var(--ex-line);border-radius:8px;background:#fff;color:var(--ex-text);padding:8px;text-decoration:none;font-size:12px;cursor:pointer}.ex-panel{background:#fff;border-left:1px solid var(--ex-line);padding:24px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0;min-width:0}.ex-steps,.ex-mobile-step{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:var(--ex-light);border-radius:12px;padding:4px}.ex-steps button,.ex-mobile-step button{height:44px;border:0;border-radius:9px;background:transparent;color:#6B7280;font-size:14px;font-weight:600;cursor:pointer}.ex-steps button.on,.ex-mobile-step button.on{background:var(--ex-blue);color:#fff}.ex-steps button:disabled,.ex-mobile-step button:disabled{opacity:.5;cursor:not-allowed}.ex-panel-scroll{min-height:0;overflow:auto;scrollbar-width:thin;flex:1;padding:24px 2px 16px 0}.ex-section{margin:0 0 28px}.ex-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.ex-section-title h2{margin:0;font-size:16px;line-height:1.3;font-weight:600;color:var(--ex-text)}.ex-section-title span{font-size:13px;font-weight:400;color:#667085;white-space:nowrap}.ex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ex-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-option{height:48px;min-width:0;padding:4px 8px;border-radius:10px;background:var(--ex-light);border:1px solid var(--ex-line);color:var(--ex-text);font-size:15px;font-weight:600;line-height:1.2;cursor:pointer}.ex-option.on{background:var(--ex-blue);border-color:var(--ex-blue);color:#fff}.ex-option:disabled{opacity:.45;cursor:not-allowed}.ex-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ex-case-card{padding:0;overflow:hidden;background:#fff;border:2px solid var(--ex-line);border-radius:10px;cursor:pointer;text-align:left;min-width:0;color:var(--ex-text)}.ex-case-card.on{border-color:var(--ex-blue)}.ex-case-card img{display:block;width:100%;height:120px;object-fit:cover}.ex-case-card span{display:flex;flex-direction:column;gap:4px;padding:8px}.ex-case-card b{font-size:13px}.ex-case-card small{font-size:12px;color:#667085;line-height:1.3}.ex-action{border-top:1px solid var(--ex-line);padding-top:14px;background:#fff}.ex-action small{display:block;text-align:center;color:#8B93A0;font-size:12px;margin-bottom:10px}.ex-action>div{display:flex;gap:8px}.ex-primary{height:56px;flex:1;border:0;border-radius:12px;background:var(--ex-blue);color:#fff;font-size:17px;font-weight:600;cursor:pointer}.ex-primary:disabled{opacity:.5;cursor:not-allowed}.ex-primary.ex-confirm{background:#fff;color:var(--ex-blue);border:1px solid var(--ex-blue)}.ex-action>a{display:block;margin-top:8px;color:var(--ex-blue);font-size:13px;text-align:center}.ex-mobile-top,.ex-mobile-step,.ex-drawer-handle{display:none}.ex-library{max-width:980px;margin:auto;padding:28px 20px;color:#141414}.ex-library header{display:flex;align-items:center;gap:24px;margin-bottom:24px}.ex-library h1{font-size:24px}.ex-library article{display:flex;gap:16px;border:1px solid #E5E7EB;border-radius:12px;padding:12px;background:#fff;margin-bottom:12px}.ex-library article img{width:150px;height:110px;object-fit:cover;border-radius:8px}.ex-library article>div{display:flex;flex-direction:column;gap:9px}.ex-library small{color:#667085}.ex-library article>div>div{display:flex;gap:12px;align-items:center}.ex-library button{border:0;background:none;color:var(--brand-navy);cursor:pointer}.ex-library a{color:var(--brand-navy);text-decoration:none}
@media(max-width:1023px){.ex-studio{display:block;height:100dvh;overflow:hidden}.ex-nav,.ex-steps{display:none}.ex-mobile-top{display:flex;align-items:center;gap:8px;height:52px;background:#fff;padding:0 12px;border-bottom:1px solid var(--ex-line);font-size:13px}.ex-mobile-top a{color:var(--ex-text);text-decoration:none;white-space:nowrap}.ex-mobile-top select{height:36px;min-width:0;flex:1;border:0;background:var(--ex-light);border-radius:8px;padding:0 8px;color:var(--ex-text)}.ex-mobile-top>span{white-space:nowrap;font-size:12px}.ex-mobile-step{display:grid;margin:10px 12px 0}.ex-main{padding:0 0 210px;gap:8px;height:100dvh;overflow:auto}.ex-toolbar{margin:0 12px;padding:6px 8px;min-height:48px;display:flex;gap:2px}.ex-views{justify-content:space-between;flex:1}.ex-views button{min-height:36px;padding:0 3px;font-size:12px}.ex-toolbar-actions{position:relative;justify-content:flex-end;gap:0;padding:0}.ex-toolbar-actions .ex-saved{display:none}.ex-save-wrap .ex-text-button{padding:0 2px;font-size:12px}.ex-toolbar-actions .ex-zoom{display:none}.ex-toolbar-actions .ex-reupload{display:block;width:22px;padding:0;font-size:0}.ex-toolbar-actions .ex-reupload::before{content:"↻";font-size:19px;line-height:1}.ex-canvas{border-radius:0;border-left:0;border-right:0;min-height:280px;flex:none;padding:6px}.ex-canvas-inner{min-height:280px}.ex-canvas-inner>img{max-height:45dvh}.ex-empty{min-height:260px}.ex-editor .re-canvas{height:42dvh}.ex-result-strip{margin:0 12px;min-height:66px}.ex-result-links{max-width:60%;overflow:auto;white-space:nowrap;flex-wrap:nowrap}.ex-panel{position:fixed;z-index:30;left:0;right:0;bottom:0;top:auto;height:54dvh;padding:0 16px 0;border-radius:18px 18px 0 0;border:1px solid var(--ex-line);box-shadow:0 -8px 30px #18233726;transition:height .2s}.ex-panel[data-drawer=full]{height:88dvh}.ex-drawer-handle{display:flex;align-items:center;justify-content:center;height:24px;touch-action:none}.ex-drawer-handle span{width:42px;height:5px;background:#CCD1DA;border-radius:9px}.ex-panel-scroll{padding:12px 0 124px}.ex-section-title h2{font-size:15px}.ex-option{height:44px;font-size:14px}.ex-action{position:fixed;z-index:31;bottom:0;left:0;right:0;padding:8px 16px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -2px 10px #00000012}.ex-primary{height:56px}.ex-cases img{height:95px}.ex-library article img{width:110px;height:92px}.ex-library article>div>div{flex-wrap:wrap}}

/* 工作台视觉整理：顶栏、画布与工具区遵循同一基线，保留原有蓝色交互态。 */
.ex-quality-warning{margin:0 0 20px;padding:11px 12px;border:1px solid #F3D590;border-radius:10px;background:#FFF9EA;color:#765114;font-size:13px;line-height:1.5}
@media (min-width:1024px){
  .ex-studio{grid-template-rows:64px minmax(0,1fr);height:100dvh;min-height:0}
  .ex-desktop-top{grid-column:1 / -1;grid-row:1;display:flex;align-items:center;gap:34px;height:64px;padding:0 24px;background:#fff;border-bottom:1px solid var(--ex-line)}
  .ex-desktop-top strong{width:160px;flex:none;font-size:20px;font-weight:600;color:var(--ex-text)}
  .ex-crumb{font-size:14px;font-weight:600;color:#667085}
  .ex-crumb i{margin:0 14px;color:#A2A8B2;font-style:normal}
  .ex-nav,.ex-main,.ex-panel{grid-row:2;min-height:0;height:calc(100dvh - 64px)}
  .ex-nav{padding-top:18px}
  .ex-brand{display:none}
  .ex-main{padding:18px 16px 16px;gap:12px}
  .ex-toolbar{min-height:52px;padding:6px 10px;border-radius:10px}
  .ex-canvas{min-height:0;padding:0;border-radius:10px;background:#F4F5F7}
  .ex-canvas-inner{min-height:0}
  .ex-editor .re-canvas{height:min(70dvh,680px)}
  .ex-panel{top:64px}
  .ex-panel-scroll{padding-top:22px}
  .ex-result-strip{min-height:66px}
  .ex-result-strip:has([data-thumbs]:empty):has([data-result-links][hidden]){display:none}
}
.ex-grid-single{grid-template-columns:minmax(0,1fr)}
.ex-grid-single .ex-option{white-space:normal}
.ex-section-title{align-items:center}
.ex-case-card,.ex-option,.ex-primary,.ex-steps button,.ex-views button{transition:background-color .16s,border-color .16s,color .16s}
.ex-option:hover:not(:disabled):not(.on),.ex-case-card:hover:not(.on){border-color:#B9C4D4;background:#F8F9FB}
.ex-option:focus-visible,.ex-case-card:focus-visible,.ex-primary:focus-visible,.ex-steps button:focus-visible,.ex-views button:focus-visible{outline:2px solid var(--ex-blue);outline-offset:2px}
.ex-desktop-top{display:none}
@media (min-width:1024px){.ex-desktop-top{display:flex}}
@media (min-width:1024px){
  .ex-editor .re-work{height:100%}
  .ex-editor .re-canvas{height:100%;border:0;border-radius:0;background:#F4F5F7}
}
@media (min-width:1024px) and (max-width:1199px){
  .ex-studio{grid-template-columns:168px minmax(0,1fr) 336px}
  .ex-desktop-top{padding:0 18px;gap:12px}
  .ex-desktop-top strong{width:150px}
  .ex-nav>a{padding:0 12px}
  .ex-panel{padding:20px}
  .ex-main{padding:16px 12px}
  .ex-toolbar{gap:6px}
  .ex-toolbar-actions{gap:5px}
  .ex-views button{padding:0 6px;font-size:12px}
  .ex-zoom button{width:25px}
  .ex-zoom span{min-width:32px}
  .ex-saved{display:none}
}
/* v0.8.79 外墙工作区 */
.ex-studio{grid-template-columns:208px minmax(0,1fr) 392px;background:#F7F8FA}
.ex-studio .ex-mobile-top,.ex-studio .ex-mobile-step{display:none}
.ex-studio .ex-nav{gap:5px}.ex-studio .ex-nav>a{font-weight:600}
.ex-studio .ex-main{min-height:0;gap:10px;overflow:hidden}
.ex-studio .ex-toolbar{display:grid;grid-template-columns:1fr auto 1fr;flex:none;height:54px;min-height:54px;border:0;background:transparent;padding:0}
.ex-studio .ex-views{padding:4px;border:1px solid #E5E7EB;border-radius:11px;background:#fff;gap:2px}
.ex-studio .ex-views button{min-width:65px;min-height:38px;padding:0 10px;font-size:14px;color:#141414}
.ex-studio .ex-views button.on{color:#fff}.ex-studio .ex-views button:disabled{color:#8A919D}
.ex-studio .ex-toolbar-right{justify-self:end}.ex-studio .ex-tutorial{height:40px;padding:0 14px;border:1px solid #E5E7EB;border-radius:9px;background:#fff;font-size:14px;cursor:pointer}.ex-studio .ex-mobile-save{display:none}
.ex-studio .ex-canvas{position:relative;flex:1;min-height:0;background:#F6F7F8;border:1px solid #E5E7EB;border-radius:12px;padding:0;touch-action:none}
.ex-studio .ex-canvas-inner{width:100%;height:100%;min-height:0;overflow:hidden}
.ex-studio .ex-viewer-transform{width:100%;height:100%;min-width:0;min-height:0;transform-origin:center center;display:flex;align-items:center;justify-content:center}
.ex-studio .ex-viewer-transform>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}
.ex-studio .ex-compare{position:relative;display:flex;max-width:100%;max-height:100%;overflow:hidden}
.ex-studio .ex-compare>img{display:block;width:100%;height:100%;object-fit:fill}
.ex-studio .ex-compare-before{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.ex-studio .ex-compare-before img{width:100%;height:100%;object-fit:fill}
.ex-studio .ex-compare input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;z-index:3}
.ex-studio .ex-compare-divider{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 0 1px var(--brand-navy),0 0 12px #0006;pointer-events:none;z-index:2}
.ex-studio .ex-compare-divider::after{content:'↔';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;color:var(--brand-navy);box-shadow:0 2px 8px #0002}
.ex-studio .ex-compare{touch-action:none;cursor:ew-resize;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.ex-studio .ex-compare img{user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none}
.ex-studio .ex-compare:focus-visible{outline:2px solid var(--ex-blue);outline-offset:2px}
.ex-studio .ex-ai-badge{position:absolute;top:16px;left:16px;z-index:5;padding:5px 9px;border-radius:5px;background:#0009;color:#fff;font-size:12px;pointer-events:none}
.ex-studio .ex-ai-badge[hidden],.ex-studio .ex-float-tools[hidden]{display:none}
.ex-studio .ex-version-thumbs{position:absolute;bottom:16px;left:16px;z-index:5;display:flex;gap:7px;padding:6px;border-radius:10px;background:#fff;box-shadow:0 3px 15px #0002;max-width:50%;overflow:auto}
.ex-studio .ex-version-thumbs:empty{display:none}.ex-studio .ex-version-thumbs button{position:relative;width:64px;height:58px;flex:none;padding:0;border:2px solid transparent;border-radius:7px;background:#fff;overflow:hidden;cursor:pointer}.ex-studio .ex-version-thumbs button.on{border-color:var(--brand-navy)}.ex-studio .ex-version-thumbs img{width:100%;height:100%;object-fit:cover}.ex-studio .ex-version-thumbs span{position:absolute;bottom:0;left:0;background:#0009;color:#fff;font-size:10px;padding:2px 3px}
.ex-studio .ex-float-tools{position:absolute;right:16px;bottom:16px;z-index:6;display:flex;gap:6px;padding:6px;border-radius:10px;background:#fff;box-shadow:0 3px 15px #0002}.ex-studio .ex-float-tools>button{height:37px;padding:0 10px;border:1px solid #E5E7EB;border-radius:7px;background:#fff;cursor:pointer;font-size:13px}.ex-studio .ex-save-menu{top:auto;bottom:50px}
.ex-studio .ex-canvas-foot{flex:none;text-align:right;min-height:17px;font-size:13px;color:#667085}.ex-studio .ex-mobile-help{display:none}
.ex-studio .ex-result-notice{flex:none;margin:0;color:#667085;font-size:12px;line-height:1.35;text-align:center}.ex-studio .ex-result-notice[hidden]{display:none}
.ex-studio .ex-empty{min-height:0;gap:15px}.ex-studio .ex-empty-icon{font-size:68px;line-height:1;color:#A4AAB3}.ex-studio .ex-empty p{margin:0;font-size:14px;color:#8A919D}.ex-studio .ex-empty button{height:52px;width:200px;border:2px solid #B5BBC5;border-radius:28px;background:transparent;color:#3D4653;font-size:16px;font-weight:600;cursor:pointer}.ex-studio .ex-empty a{color:#3D4653;font-size:13px;text-decoration:underline}
.ex-studio .ex-editor,.ex-studio .ex-editor .re-work,.ex-studio .ex-editor .re-canvas{height:100%;width:100%;min-height:0}.ex-studio .ex-editor .re-canvas{border:0;background:#F6F7F8;touch-action:none}.ex-studio .ex-editor .re-hint,.ex-studio .ex-editor .re-tools,.ex-studio .ex-editor .re-side,.ex-studio .ex-editor .re-status,.ex-studio .ex-editor .re-actions{display:none!important}
.ex-studio .ex-panel{padding:24px 24px 0;top:64px;min-height:0;height:calc(100dvh - 64px)}.ex-studio .ex-steps{gap:3px}.ex-studio .ex-steps button{height:48px;color:#141414;font-weight:600}.ex-studio .ex-steps button.on{color:#fff}.ex-studio .ex-panel-scroll{padding:28px 0 20px}.ex-studio .ex-section{margin:0 0 28px}.ex-studio .ex-section-title{margin-bottom:12px}.ex-studio .ex-section-title h2{font-size:16px;font-weight:600}.ex-studio .ex-section-title span{font-size:13px}
.ex-studio .ex-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ex-studio .ex-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-studio .ex-option{height:48px;font-size:15px;font-weight:600}.ex-studio .ex-disabled-section{opacity:.5;pointer-events:none}
.ex-studio .ex-category-icon{display:inline-block;width:19px;height:19px;margin-right:6px;vertical-align:-4px;fill:none;stroke:var(--mark);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ex-studio .ex-option.on .ex-category-icon{stroke:#fff}.ex-studio .ex-tool-icon{display:inline-block;width:18px;height:18px;vertical-align:-4px;margin-right:4px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.ex-studio .ex-tool-icon-dashed{stroke-dasharray:3 2}
.ex-studio .ex-ops{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding:6px 8px 6px 12px;height:52px;background:#F2F3F5;border-radius:10px;color:#667085;font-size:14px}.ex-studio .ex-ops>div{display:flex;gap:5px}.ex-studio .ex-ops button{height:36px;padding:0 8px;border:1px solid #D3D8E0;border-radius:8px;background:#fff;color:#141414;cursor:pointer}.ex-studio .ex-ops button:disabled{opacity:.5}
.ex-studio .ex-filter-tabs{display:flex;gap:19px;white-space:nowrap;overflow:auto;border-bottom:1px solid #D8DDE5;margin-bottom:14px;scrollbar-width:thin}.ex-studio .ex-filter-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 10px;color:#667085;font-size:15px;cursor:pointer;flex:none}.ex-studio .ex-filter-tabs button.on{border-color:#141414;color:#141414;font-weight:600}
.ex-studio .ex-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ex-studio .ex-image-card{position:relative;aspect-ratio:1;min-width:0;padding:4px;border:2px solid #E5E7EB;border-radius:10px;background:#fff;overflow:hidden;cursor:pointer}.ex-studio .ex-image-card.on{border-color:var(--brand-navy)}.ex-studio .ex-image-card img{width:100%;height:100%;object-fit:cover;border-radius:5px}.ex-studio .ex-image-card span{position:absolute;left:5px;bottom:5px;padding:2px 4px;border-radius:3px;background:#000a;color:#fff;font-size:11px}.ex-studio .ex-card-info{min-height:34px;padding:12px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#667085}.ex-studio .ex-card-grid+.ex-card-info+.ex-grid .ex-option{height:48px}
.ex-studio textarea{display:block;width:100%;min-height:102px;resize:vertical;padding:13px;border:1px solid #D3D8E0;border-radius:10px;font-size:14px;font-family:inherit}.ex-studio .ex-upload-line{display:flex;justify-content:space-between;align-items:center;width:100%;height:52px;border:1px solid #E5E7EB;border-radius:10px;background:#F2F3F5;padding:0 14px;text-align:left;cursor:pointer}.ex-studio .ex-reference{display:flex;align-items:center;gap:10px;padding-top:9px}.ex-studio .ex-reference img{width:54px;height:54px;object-fit:cover}.ex-studio .ex-reference button{background:none;border:0;color:var(--brand-navy);cursor:pointer}.ex-studio .ex-outline-action{display:block;width:100%;height:48px;margin-top:12px;border:1px solid var(--brand-navy);border-radius:10px;background:#fff;color:var(--brand-navy);font-size:15px;font-weight:600;cursor:pointer}.ex-studio .ex-outline-action:disabled{opacity:.45;cursor:not-allowed}.ex-studio .studio-skip-button{height:40px;margin-top:8px;font-size:14px;font-weight:500}
.ex-studio .ex-action{margin:0 -24px;padding:16px 24px 20px;border-top:1px solid #E5E7EB}.ex-studio .ex-action>div:first-child{display:block}.ex-studio .ex-primary{width:100%;height:56px;border-radius:12px;background:var(--brand-navy);color:#fff;font-size:17px}.ex-studio .ex-balance-line{margin-top:10px;text-align:center;color:#667085;font-size:13px}.ex-studio .ex-balance-line a{color:#141414;text-decoration:underline;font-weight:600}
.ex-studio .ex-result-choices{display:flex;gap:8px;overflow:auto;margin-bottom:12px}.ex-studio .ex-result-choices button{width:64px;height:64px;flex:none;padding:0;border:2px solid #E5E7EB;border-radius:8px;background:#fff;overflow:hidden;cursor:pointer}.ex-studio .ex-result-choices button.on{border-color:var(--brand-navy)}.ex-studio .ex-result-choices img{width:100%;height:100%;object-fit:cover}
@media(max-width:1023px){.ex-studio{display:flex;flex-direction:column;height:100dvh;overflow:hidden}.ex-studio .ex-desktop-top,.ex-studio .ex-nav,.ex-studio .ex-steps{display:none}.ex-studio .ex-mobile-top{display:flex;flex:none;align-items:center;height:52px;padding:0 16px;background:#fff;border-bottom:1px solid #E5E7EB}.ex-studio .ex-mobile-top a{font-size:25px;color:#141414}.ex-studio .ex-mobile-top select{flex:1;background:#fff;text-align:center;font-weight:600;font-size:14px}.ex-studio .ex-mobile-step{display:grid;flex:none;margin:8px 12px 6px}.ex-studio .ex-main{height:auto;flex:1;min-height:0;padding:0 12px;gap:6px;overflow:hidden}.ex-studio .ex-toolbar{height:44px;min-height:44px;display:flex;justify-content:space-between;padding:0}.ex-studio .ex-toolbar>div:first-child{display:none}.ex-studio .ex-views{padding:3px}.ex-studio .ex-views button{min-width:48px;min-height:34px;padding:0 7px;font-size:12px}.ex-studio .ex-tutorial{display:none}.ex-studio .ex-mobile-save{display:block;border:0;background:none;font-size:13px;text-decoration:underline;cursor:pointer}.ex-studio .ex-canvas{flex:1;min-height:150px;border-radius:12px}.ex-studio .ex-canvas-inner{min-height:0}.ex-studio .ex-viewer-transform>img,.ex-studio .ex-compare,.ex-studio .ex-compare>img{max-height:100%}.ex-studio .ex-canvas-foot{font-size:11px}.ex-studio .ex-desktop-help{display:none}.ex-studio .ex-mobile-help{display:inline}.ex-studio .ex-ai-badge{top:8px;left:8px;font-size:10px}.ex-studio .ex-float-tools{right:8px;bottom:8px;padding:4px}.ex-studio .ex-float-tools>button{height:30px;font-size:11px;padding:0 6px}.ex-studio .ex-version-thumbs{left:8px;bottom:8px}.ex-studio .ex-version-thumbs button{width:42px;height:42px}.ex-studio .ex-panel{position:fixed;z-index:30;top:auto;bottom:0;left:0;right:0;height:54dvh;padding:0 16px;border:1px solid #E5E7EB;border-radius:18px 18px 0 0;box-shadow:0 -8px 25px #0001}.ex-studio .ex-panel[data-drawer=full]{height:88dvh}.ex-studio .ex-drawer-handle{display:flex;height:24px;align-items:center;justify-content:center;touch-action:none}.ex-studio .ex-panel-scroll{flex:1;min-height:0;overflow:auto;padding:10px 0 125px}.ex-studio .ex-section-title h2{font-size:15px}.ex-studio .ex-option{height:44px;font-size:14px}.ex-studio .ex-ops button{height:40px}.ex-studio .ex-action{position:fixed;z-index:31;left:0;right:0;bottom:0;margin:0;padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -2px 10px #0001}.ex-studio .ex-primary{height:48px}.ex-studio .ex-balance-line{margin-top:6px;font-size:12px}.ex-studio .ex-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ex-studio .ex-empty-icon{font-size:48px}.ex-studio .ex-empty button{height:44px;width:160px}.ex-studio .ex-editor,.ex-studio .ex-editor .re-work,.ex-studio .ex-editor .re-canvas{height:100%}}

.ex-studio .ex-action-error{margin-top:9px;padding:9px 10px;border:1px solid #f3bbb5;border-radius:8px;background:#fff7f6;color:#a53224;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.ex-studio .ex-action-error[hidden]{display:none}

.ex-studio .ex-ai-notice{display:block;margin-top:6px;text-align:center;color:#8b93a0;font-size:11px;line-height:1.3}
/* 四个工作台共用左侧留白和上传主按钮。 */
@media(min-width:1024px){.ex-studio .ex-nav{padding-left:20px;padding-right:12px}.ex-studio .ex-desktop-top{padding-left:32px}}
.ex-studio .ex-empty button{background:var(--ex-blue);border-color:var(--ex-blue);color:#fff}
.ex-nav-separator{display:block;height:1px;margin:10px 16px 7px;background:#e5e7eb;flex:none}

.ex-studio .ex-top-brand{display:flex;align-items:center;width:160px;flex:none}.ex-studio .ex-top-brand img{display:block;height:32px;width:auto;max-width:100%;object-fit:contain}
@media(min-width:1024px) and (max-width:1199px){.ex-studio .ex-top-brand{width:150px}}
.ex-studio .ex-mobile-brand{display:flex;align-items:center;flex:none}.ex-studio .ex-mobile-brand img{display:block;height:26px;width:auto;object-fit:contain}
.ex-studio .ex-mobile-top select{min-width:0}

/* 工作台右栏的操作按钮保持单行，图标与文字居中。 */
.ex-studio .ex-option,.ex-studio .ex-steps button,.ex-studio .ex-mobile-step button,.ex-studio .ex-outline-action,.ex-studio .ex-primary,.ex-studio .ex-ops button{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;min-width:0}
.ex-studio .ex-option svg,.ex-studio .ex-ops button svg{flex:none;margin:0;vertical-align:middle}
.ex-studio .ex-grid-single .ex-option{white-space:nowrap}
.ex-studio .ex-ops{height:auto;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}
.ex-studio .ex-ops>span{white-space:nowrap}
.ex-studio .ex-ops>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
.ex-studio .ex-ops button{width:100%;padding:0 4px}
.qsj-skeleton{background:#edf0f3;border-radius:8px;animation:qsj-skeleton-pulse 1.25s ease-in-out infinite alternate}
.qsj-skeleton-image{width:min(70%,520px);height:min(68%,410px);min-height:220px;margin:auto}
.qsj-skeleton-line{height:22px;margin:18px 16px}
.qsj-skeleton-line+ .qsj-skeleton-line{width:65%}
.qsj-skeleton-grid{height:240px;margin:22px 16px}
.ex-library-content>.qsj-skeleton-grid,.library-page>.qsj-skeleton-grid{min-height:300px}
@keyframes qsj-skeleton-pulse{to{background:#e2e7eb}}
/* 工作台共用筛选、卡片详情和底部滚动余量 */
.ex-studio .ex-panel-scroll{padding-bottom:150px}
.ex-studio .studio-filter{margin-bottom:14px}
.ex-studio .studio-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.ex-studio .studio-filter-choice{position:relative;display:flex;align-items:center;min-width:0;height:38px;padding:0 17px 0 7px;border:1px solid #d8dde5;border-radius:7px;background:#fff;color:#141414;font-size:12px;cursor:pointer}
.ex-studio .studio-filter-choice.is-active{border-color:var(--ex-blue);background:#edf5ff;color:var(--ex-blue)}
.ex-studio .studio-filter-choice>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.ex-studio .studio-filter-choice::after{content:'▾';position:absolute;right:5px;top:50%;transform:translateY(-50%);font-size:10px;pointer-events:none}
.ex-studio .studio-filter-choice select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ex-studio .studio-filter-choice:focus-within{outline:2px solid var(--ex-blue);outline-offset:1px}
.ex-studio .studio-filter-clear{padding:0;border:0;background:none;color:var(--ex-blue);font-size:12px;white-space:nowrap;cursor:pointer}
.interior-two-step .studio-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.interior-two-step .studio-filter{margin-bottom:8px}
.interior-filter-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;font-size:12px;color:var(--muted)}
.interior-filter-summary .studio-filter-clear:disabled{color:var(--muted);cursor:default}
.interior-tile-empty{grid-column:1/-1;margin:0;padding:14px 0;font-size:13px;color:var(--muted)}
.interior-pending-tile,.interior-result-inquiry{margin:12px 0}
.ex-studio .ex-section-title .studio-filter-status{display:flex;align-items:center;gap:8px;min-width:0}
.ex-studio .ex-section-title .studio-filter-status .studio-filter-clear{flex:none}
.ex-studio .ex-section-title .studio-filter-status>span{overflow:hidden;text-overflow:ellipsis}
@media(max-width:1023px){.ex-studio .studio-filter{overflow:visible}.ex-studio .studio-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}.ex-studio .studio-filter-choice{min-width:0}.ex-studio .studio-filter::-webkit-scrollbar{display:none}}
.ex-studio .ex-card-with-detail{position:relative;min-width:0;aspect-ratio:1}
.ex-studio .ex-card-with-detail>.ex-image-card{width:100%;height:100%}
.ex-studio .ex-card-detail{position:absolute;right:5px;top:5px;z-index:2;width:29px;height:29px;padding:0;border:1px solid #dce1e8;border-radius:7px;background:#fffe;color:var(--ex-blue);font-size:20px;line-height:1;cursor:pointer}
.studio-detail-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#10182899}
.studio-detail-dialog{width:min(760px,100%);max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 20px 70px #0004;color:#141414}
.studio-detail-dialog header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #e5e7eb;background:#fff}
.studio-detail-dialog header button{border:0;background:none;font-size:28px;cursor:pointer}
.studio-detail-image{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:280px;background:#f3f5f7}
.studio-detail-image img{display:block;max-width:100%;max-height:48dvh;margin:auto;object-fit:contain}
.studio-detail-image button{border:0;background:none;font-size:36px;color:#43536a;cursor:pointer}
.studio-detail-image button:disabled{visibility:hidden}
.studio-detail-dialog>small{display:block;text-align:center;color:#667085;margin:8px}
.studio-detail-dialog dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding:4px 22px;margin:0}
.studio-detail-dialog dl>div{display:flex;gap:10px;font-size:14px;min-width:0}
.studio-detail-dialog dt{color:#667085;white-space:nowrap}.studio-detail-dialog dd{margin:0;overflow-wrap:anywhere}
.studio-detail-dialog footer{display:flex;align-items:center;gap:10px;padding:18px 22px}
.studio-detail-dialog footer button{flex:none;height:42px;padding:0 18px;font-size:14px}
.studio-detail-dialog footer a{margin-left:auto;color:var(--brand-navy);white-space:nowrap;font-size:13px}
@media(max-width:1023px){.ex-studio .ex-panel-scroll{padding-bottom:160px}.ex-studio .ex-mobile-case-thumbs .ex-card-with-detail>button:first-child{width:100%;height:100%}.studio-detail-backdrop{padding:0}.studio-detail-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;display:flex;flex-direction:column}.studio-detail-image{flex:1;min-height:0}.studio-detail-image img{max-height:100%}.studio-detail-dialog footer{position:sticky;bottom:0;background:#fff;flex-wrap:wrap;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.studio-detail-dialog footer button{flex:1}.studio-detail-dialog footer a{width:100%;text-align:center;margin:0}}
@media(max-width:1023px){.qsj-front .ex-studio .ex-mobile-case-thumbs .ex-card-with-detail{flex:0 0 70px;width:70px;height:58px;aspect-ratio:auto}.qsj-front .ex-studio .ex-mobile-case-thumbs .ex-card-with-detail>.ex-card-detail{width:22px;height:22px;right:2px;top:2px;padding:0;font-size:14px;line-height:1;background:#fffffff2}}
