/* Final interface palette. These selectors target authored controls, never artwork. */
.upscale-mode-selector.hidden{display:none!important}
#upscaleModeMenu{min-width:170px}
#upscaleModeMenu .choice{display:block;width:100%;margin:4px 0;text-align:left}
.giant-source-preview{position:relative;background:#f1f6fc;padding:12px;text-align:center}
.giant-source-preview img{max-width:100%;max-height:350px;object-fit:contain}
.giant-source-preview small{display:block;color:#607389;margin-top:6px}
.giant-download-settings{display:flex;gap:12px;align-items:center;padding:14px;flex-wrap:wrap}
.giant-download-settings select{max-width:180px;padding:8px;border:1px solid #cbdbee;border-radius:8px}
.giant-download-settings button{padding:12px 18px;border:0;border-radius:10px;background:#2676ef;color:white;cursor:pointer}
html body.workspace-readable.upscale-only #upscaleMasterPanel{display:none!important}
html body.workspace-readable #resultGrid .result-compare-label{background:#fff!important;color:#18384b!important;border-color:#b9cdda!important}
html body.workspace-readable #resultGrid .result-compare-label :is(b,small){color:#18384b!important;opacity:1!important}
html body.workspace-readable #resultGrid .result-compare-label small{color:#435e70!important;font-size:12px!important}
html body.workspace-readable .app-shell>.lime-workbench #promptLabel>small{display:none!important}
html body.workspace-readable #resultGrid .result-card,
html body.workspace-readable #resultGrid .result-info,
html body.workspace-readable #resultGrid .result-actions,
html body.workspace-readable #resultGrid .result-continue-zone{background:#fff!important;color:#18384b!important;border-color:#c8d8e2!important}
html body.workspace-readable #resultGrid .result-info :is(h2,h3,b,strong){color:#18384b!important;text-shadow:none!important}
html body.workspace-readable #resultGrid .result-info :is(p,small,span){color:#435e70!important;opacity:1!important;font-size:13px!important;line-height:1.65!important}
html body.workspace-readable #resultGrid .result-quick-actions button,
html body.workspace-readable #resultGrid .result-more-actions summary{background:#f1f6fa!important;border:1px solid #b9cdda!important;color:#18384b!important;font-size:14px!important;font-weight:700!important;min-height:44px!important;border-radius:8px!important}
html body.workspace-readable #resultGrid .result-more-actions summary{padding:8px 14px!important}
html body.workspace-readable #resultGrid .result-quick-actions button:hover,
html body.workspace-readable #resultGrid .result-more-actions summary:hover{background:#e1edf5!important;color:#123b58!important}
html body.workspace-readable #resultGrid .result-quick-actions [data-followup-source],
html body.workspace-readable #resultGrid .result-download-button,
html body.workspace-readable #resultTopDownloadBtn,
html body.workspace-readable #professionalDownloadConfirm{background:#08669a!important;color:#fff!important;border-color:#08669a!important}
html body.workspace-readable #resultGrid .result-download-button :is(span,b,small),
html body.workspace-readable #resultTopDownloadBtn span{color:#fff!important;opacity:1!important}
html body.workspace-readable #resultGrid .result-download-button small{font-size:12px!important;line-height:1.5!important}
html body.workspace-readable #resultGrid .result-download-button{justify-content:center!important;text-align:center!important}
html body.workspace-readable #resultGrid .result-selected-badge{background:#0a607a!important;color:#fff!important}
html body.workspace-readable .result-versions{background:#fff!important;color:#18384b!important}
html body.workspace-readable .result-version-copy :is(span,b,strong){color:#18384b!important}
html body.workspace-readable .result-version-copy time{color:#435e70!important}
html body.workspace-readable .result-version-row button{background:#edf5fa!important;color:#164c70!important}

/* Plain Chinese labels replace decorative arrows and icon-only affordances. */
html body.workspace-readable :is(.result-more-actions,.result-version-disclosure,.result-version-trash)>summary{list-style:none!important}
html body.workspace-readable :is(.result-more-actions,.result-version-disclosure,.result-version-trash)>summary::-webkit-details-marker{display:none!important}
html body.workspace-readable :is(.result-more-actions,.result-version-disclosure,.result-version-trash)>summary::marker{content:""!important}
html body.workspace-readable .result-more-actions>summary::after{content:none!important;display:none!important}
html body.workspace-readable :is(.result-version-disclosure,.result-version-trash)>summary::after{content:"展开";margin-left:12px;color:#315a75;font-size:12px;font-weight:500}
html body.workspace-readable :is(.result-version-disclosure,.result-version-trash)[open]>summary::after{content:"收起"}
html body.workspace-readable :is(.customer-service-icon,.task-search-icon,.template-search>i,.stat-dot,.security-avatar,.security-actions button>i,.security-actions button>em,.auth-landing-features i,.welcome-credit-tip>span[aria-hidden],.annual-select-label>[aria-hidden],.task-center-mark,.psd-export-mark,#emptyPreviewIcon,.loader-spark,.progress-kicker>i,.customer-service-note>span){display:none!important}
html body.workspace-readable #smartRatioBtn>i,
html body.workspace-readable .topbar .topbar-links button::before,
html body.workspace-readable #promptLabel>span::before,
html body.workspace-readable .output-professional-settings>summary::after{display:none!important;content:none!important}
html body.workspace-readable :is(.vector-limit-heading>span[aria-hidden],.video-source-empty>span[aria-hidden],.psd-export-file>i,#serviceStatus>i,#creditHistoryModal .brand-mark,.design-loader){display:none!important}
html body.workspace-readable :is(#smartCreateBar,#professionalFilesModal,.output-professional-settings) select{appearance:none!important;background-image:none!important}
html body.workspace-readable .psd-export-file{grid-template-columns:minmax(0,1fr)!important}
html body.workspace-readable #moduleTabs .module-group button,
html body.workspace-readable .lime-inner>.module-browser .module-tabs button{min-height:46px!important;gap:0!important;padding:10px 8px!important}
html body.workspace-readable .security-actions button{grid-template-columns:minmax(0,1fr)!important;min-height:66px!important}
html body.workspace-readable .security-actions button b{color:#18384b!important}
html body.workspace-readable .security-actions button small{color:#435e70!important;font-size:12px!important}
html body.workspace-readable .security-actions button{background:#f5f8fb!important;color:#18384b!important}
html body.workspace-readable .mobile-dock button{gap:0!important}

/* Mobile navigation is three persistent app pages. */
@media(max-width:760px){
  html body.workspace-readable .design-records{display:none!important}
  html body.workspace-readable.mobile-page-open{overflow:hidden!important}
  html body.workspace-readable.mobile-page-open .customer-service-widget{display:none!important}
  html body.workspace-readable .mobile-dock{z-index:100!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;left:0!important;right:0!important;bottom:0!important;height:calc(64px + env(safe-area-inset-bottom))!important;padding:5px 10px env(safe-area-inset-bottom)!important;border:0!important;border-top:1px solid #1b4059!important;border-radius:0!important;background:#061b2c!important;box-shadow:0 -8px 24px rgba(0,0,0,.24)!important}
  html body.workspace-readable .mobile-dock button{min-height:52px!important;border-radius:13px!important;background:transparent!important;color:#8da9ba!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important}
  html body.workspace-readable .mobile-dock button:after{display:none!important}
  html body.workspace-readable .mobile-dock button.active{background:#0c789f!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(126,229,244,.22)!important}
  html body.workspace-readable .mobile-app-page:not(.hidden){position:fixed!important;z-index:80!important;inset:0 0 calc(64px + env(safe-area-inset-bottom))!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#f1f6f8!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body.workspace-readable .mobile-app-page .modal-close{display:none!important}

  html body.workspace-readable #taskCenterModal .task-center-card{position:relative!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:calc(22px + env(safe-area-inset-top)) 16px 14px!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,#edf7fa 0,#f6f9fa 190px,#eef3f5 100%)!important;box-shadow:none!important;text-align:left!important}
  html body.workspace-readable #taskCenterModal .task-center-card:before,html body.workspace-readable #taskCenterModal .task-center-card:after{display:none!important;content:none!important}
  html body.workspace-readable #taskCenterModal .task-center-mark,html body.workspace-readable #taskCenterModal .task-center-card>p{display:none!important}
  html body.workspace-readable #taskCenterModal .task-center-card>h2{margin:0!important;padding:0 2px 14px!important;color:#102f43!important;font-size:27px!important;font-weight:900!important;line-height:1.2!important;letter-spacing:-.04em!important}
  html body.workspace-readable #taskCenterModal .task-center-card>h2:after{content:"只显示我的创作记录";display:block;margin-top:7px;color:#6a8291;font-size:12px;font-weight:600;letter-spacing:0}
  html body.workspace-readable #taskCenterModal .task-center-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;min-height:50px!important;width:100%!important;margin:0!important;padding:5px 8px 5px 13px!important;border:1px solid #d4e0e5!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 18px rgba(26,65,85,.07)!important}
  html body.workspace-readable #taskCenterModal .task-center-search input{min-width:0!important;color:#19384b!important;font-size:16px!important}
  html body.workspace-readable #taskCenterModal #taskSearchSummary{grid-column:auto!important;align-self:center!important;justify-self:end!important;width:auto!important;max-width:max-content!important;min-width:0!important;margin:0!important;padding:6px 8px!important;border:0!important;border-radius:9px!important;background:#e5f3f6!important;color:#287088!important;font-size:10px!important;white-space:nowrap!important}
  html body.workspace-readable #taskCenterModal .task-center-notice{min-height:8px!important;margin:4px 2px 0!important}
  html body.workspace-readable #taskCenterModal .task-center-list{height:calc(100% - 118px - env(safe-area-inset-top))!important;margin:0!important;padding:7px 0 20px!important;overflow:auto!important;display:grid!important;align-content:start!important;gap:10px!important;border:0!important;background:transparent!important;box-shadow:none!important}
  html body.workspace-readable #taskCenterModal .task-row{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;min-height:104px!important;height:auto!important;gap:12px!important;padding:12px!important;border:1px solid #dbe5e9!important;border-radius:17px!important;background:#fff!important;color:#19384b!important;box-shadow:0 6px 16px rgba(28,61,78,.06)!important}
  html body.workspace-readable #taskCenterModal .task-row-thumb{width:72px!important;height:72px!important;border:0!important;border-radius:12px!important;background:#e8eff2!important;box-shadow:none!important}
  html body.workspace-readable #taskCenterModal .task-row-copy>b{color:#17364a!important;font-size:14px!important}
  html body.workspace-readable #taskCenterModal .task-row-copy>span{display:-webkit-box!important;overflow:hidden!important;color:#587080!important;font-size:11px!important;line-height:1.45!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  html body.workspace-readable #taskCenterModal .task-row-copy>small{color:#82939e!important;font-size:10px!important}
  html body.workspace-readable #taskCenterModal .task-row>em{grid-column:2!important;justify-self:start!important;margin-top:2px!important;padding:6px 9px!important;border-radius:8px!important;background:#e3f2f5!important;color:#14718d!important;font-size:10px!important}
  html body.workspace-readable #taskCenterModal .task-center-empty{margin-top:10px!important;padding:36px 20px!important;border:1px dashed #c9d9df!important;border-radius:17px!important;background:#fff!important;color:#6f8592!important;box-shadow:none!important;text-align:center!important}

  html body.workspace-readable #authModal{background:linear-gradient(180deg,#eaf5f7,#f7f9fa 38%,#eef3f5)!important}
  html body.workspace-readable #authModal .auth-cinematic-bg,html body.workspace-readable #authModal .auth-story,html body.workspace-readable #authModal .auth-brandbar{display:none!important}
  html body.workspace-readable #authModal.auth-form-open #authForm{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:calc(24px + env(safe-area-inset-top)) 18px 24px!important;overflow:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#17364a!important}
  html body.workspace-readable #authModal #authForm:before,html body.workspace-readable #authModal #authForm:after{display:none!important;content:none!important}
  html body.workspace-readable #authModal .crealink-logo-full{width:46px!important;height:46px!important;margin:0 0 12px!important;border-radius:14px!important}
  html body.workspace-readable #authModal .auth-welcome-kicker{color:#33819a!important;font-size:11px!important}
  html body.workspace-readable #authModal #authTitle{margin:5px 0 4px!important;color:#102f43!important;font-size:28px!important;letter-spacing:-.04em!important}
  html body.workspace-readable #authModal #authMessage{margin:0 0 18px!important;color:#6c8290!important;font-size:12px!important}
  html body.workspace-readable #authModal .security-summary{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;padding:15px!important;border:1px solid #d7e4e8!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(24,62,82,.07)!important}
  html body.workspace-readable #authModal .security-avatar{width:52px!important;height:52px!important;border-radius:15px!important;background:linear-gradient(145deg,#087cab,#15aaa3)!important;color:#fff!important}
  html body.workspace-readable #authModal .security-identity span,html body.workspace-readable #authModal .security-identity small{color:#718793!important}
  html body.workspace-readable #authModal .security-identity b{color:#17364a!important;font-size:15px!important}
  html body.workspace-readable #authModal .security-state{grid-column:2!important;justify-self:start!important;margin-top:-3px!important;padding:5px 8px!important;border-radius:7px!important;background:#e5f5f0!important;color:#287d67!important;font-size:9px!important}
  html body.workspace-readable #authModal .security-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:14px!important}
  html body.workspace-readable #authModal .security-actions>button{min-height:62px!important;padding:11px 14px!important;border:1px solid #dbe5e9!important;border-radius:15px!important;background:#fff!important;color:#17364a!important;box-shadow:0 5px 14px rgba(24,62,82,.05)!important;text-align:left!important}
  html body.workspace-readable #authModal .security-actions>button span{display:grid!important;gap:3px!important}
  html body.workspace-readable #authModal .security-actions>button b{color:#17364a!important;font-size:13px!important}
  html body.workspace-readable #authModal .security-actions>button small{color:#78909d!important;font-size:10px!important}
  html body.workspace-readable #authModal .auth-tabs,html body.workspace-readable #authModal label,html body.workspace-readable #authModal .auth-subpanel{color:#17364a!important}
  html body.workspace-readable #authModal input{font-size:16px!important}
  html body.workspace-readable #authModal #logoutBtn{width:100%!important;margin-top:14px!important;border:1px solid #d9e2e6!important;border-radius:14px!important;background:#fff!important;color:#8a4d4d!important}
}

/* Phone pages are complete app views. Keep every control in normal document flow. */
@media(max-width:760px){
 html body.workspace-readable{--mobile-dock-height:64px}
 html body.workspace-readable .customer-service-widget{display:none!important}
 html body.workspace-readable .mobile-dock{height:calc(var(--mobile-dock-height) + env(safe-area-inset-bottom))!important;padding:6px 12px env(safe-area-inset-bottom)!important;gap:6px!important}
 html body.workspace-readable .mobile-dock button{min-height:48px!important;border-radius:12px!important;font-size:13px!important;line-height:1!important}

 /* Creation: no helper, menu or customer-service layer may cover the form. */
 html body.workspace-readable .lime-workbench{padding-bottom:calc(var(--mobile-dock-height) + env(safe-area-inset-bottom) + 24px)!important}
 html body.workspace-readable .lime-workbench .lime-inner{padding:14px 12px 18px!important}
 html body.workspace-readable .lime-workbench .unified-composer-shell{margin-top:14px!important;padding:12px!important;border-radius:14px!important;overflow:visible!important}
 html body.workspace-readable .lime-workbench .config-step #promptBox{display:block!important;height:auto!important;min-height:0!important;overflow:hidden!important;border-radius:10px!important}
 html body.workspace-readable .lime-workbench .config-step #promptBox textarea{display:block!important;width:100%!important;height:148px!important;min-height:148px!important;max-height:260px!important;padding:12px!important;font-size:16px!important;line-height:1.65!important;resize:vertical!important}
 html body.workspace-readable #promptAssistant.prompt-assistant{position:static!important;inset:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:100%!important;height:auto!important;min-height:58px!important;margin:0!important;padding:10px 11px!important;border:0!important;border-top:1px solid #dce6eb!important;border-radius:0!important;background:#f4f8fa!important;box-shadow:none!important;transform:none!important;overflow:hidden!important}
 html body.workspace-readable #promptAssistant .prompt-assistant-copy{display:grid!important;gap:2px!important;min-width:0!important}
 html body.workspace-readable #promptAssistant .prompt-assistant-copy b{overflow:hidden!important;color:#18384b!important;font-size:12px!important;line-height:1.4!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.workspace-readable #promptAssistant .prompt-assistant-copy span{display:block!important;overflow:hidden!important;color:#657d8c!important;font-size:10px!important;line-height:1.45!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.workspace-readable #promptAssistant .prompt-assistant-actions{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:6px!important;min-width:0!important}
 html body.workspace-readable #promptAssistant button{min-height:38px!important;height:38px!important;padding:0 11px!important;border-radius:9px!important;font-size:11px!important;white-space:nowrap!important;box-shadow:none!important}
 html body.workspace-readable #promptAssistant .prompt-restore-btn{color:#31596f!important;background:#e6eef2!important}
 html body.workspace-readable .smart-tool-popover:not(.hidden){position:static!important;inset:auto!important;z-index:auto!important;width:100%!important;max-height:none!important;margin:8px 0 0!important;padding:10px!important;overflow:visible!important;border-radius:12px!important;transform:none!important;box-shadow:none!important}
 html body.workspace-readable .smart-tool-wrap:has(.smart-tool-popover:not(.hidden)){width:100%!important;flex-basis:100%!important}
 html body.workspace-readable .smart-tool-wrap:has(.smart-tool-popover:not(.hidden))>.smart-tool-button{width:100%!important}
 html body.workspace-readable #smartCreateBar:has(.smart-tool-popover:not(.hidden)){display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;width:100%!important}
 html body.workspace-readable #smartCreateBar:has(.smart-tool-popover:not(.hidden))>.smart-tool-wrap{grid-column:1!important;width:100%!important;max-width:none!important}
 html body.workspace-readable #smartCreateBar:has(.smart-tool-popover:not(.hidden))>.smart-count-select{justify-content:space-between!important}
 html body.workspace-readable .dimension-fields{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important}
 html body.workspace-readable .dimension-fields>label{min-width:0!important}
 html body.workspace-readable .dimension-input{min-width:0!important}

 /* History: every row owns its content and cannot bleed into the next row. */
 html body.workspace-readable #taskCenterModal .task-center-card{padding:calc(15px + env(safe-area-inset-top)) 12px 10px!important;background:linear-gradient(180deg,#edf7fa 0,#f6f9fa 156px,#eef3f5 100%)!important}
 html body.workspace-readable #taskCenterModal .task-center-card>h2{padding:0 2px 11px!important;font-size:25px!important;line-height:1.15!important;letter-spacing:-.02em!important}
 html body.workspace-readable #taskCenterModal .task-center-card>h2:after{margin-top:5px!important;font-size:12px!important;line-height:1.4!important}
 html body.workspace-readable #taskCenterModal .task-center-search{min-height:48px!important;padding:4px 6px 4px 12px!important;border-radius:14px!important}
 html body.workspace-readable #taskCenterModal .task-center-search input{height:40px!important;padding:0!important;font-size:15px!important}
 html body.workspace-readable #taskCenterModal #taskSearchSummary{padding:7px 9px!important;font-size:11px!important}
 html body.workspace-readable #taskCenterModal .task-center-notice:empty{display:none!important}
 html body.workspace-readable #taskCenterModal .task-center-list{display:flex!important;flex-direction:column!important;align-content:initial!important;height:calc(100% - 103px - env(safe-area-inset-top))!important;gap:9px!important;padding:10px 0 22px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}
 html body.workspace-readable #taskCenterModal .task-row{position:relative!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;flex:0 0 auto!important;width:100%!important;min-height:106px!important;height:auto!important;max-height:none!important;gap:0 12px!important;padding:12px!important;overflow:hidden!important;border:1px solid #d8e4e9!important;border-radius:16px!important;background:#fff!important;color:#19384b!important;box-shadow:0 5px 14px rgba(28,61,78,.055)!important;contain:layout paint!important}
 html body.workspace-readable #taskCenterModal .task-row-thumb{grid-column:1!important;grid-row:1!important;align-self:center!important;width:76px!important;height:76px!important;border-radius:12px!important;background:#edf2f4!important}
 html body.workspace-readable #taskCenterModal .task-row-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
 html body.workspace-readable #taskCenterModal .task-row-placeholder{padding:6px!important;color:#607888!important;font-size:11px!important;line-height:1.35!important;text-align:center!important}
 html body.workspace-readable #taskCenterModal .task-row-copy{grid-column:2!important;grid-row:1!important;align-self:center!important;display:grid!important;min-width:0!important;max-width:100%!important;gap:4px!important;overflow:hidden!important}
 html body.workspace-readable #taskCenterModal .task-row-copy>b{display:block!important;overflow:hidden!important;color:#17364a!important;font-size:14px!important;line-height:1.35!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.workspace-readable #taskCenterModal .task-row-copy>span{display:-webkit-box!important;max-height:2.9em!important;overflow:hidden!important;color:#587080!important;font-size:11px!important;line-height:1.45!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
 html body.workspace-readable #taskCenterModal .task-row-copy>small{display:block!important;max-width:100%!important;overflow:hidden!important;color:#82939e!important;font-size:10px!important;line-height:1.35!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.workspace-readable #taskCenterModal .task-row-copy>.task-row-meta{display:none!important}
 html body.workspace-readable #taskCenterModal .task-row>em{display:none!important}

 /* Account: one compact column, with no phantom avatar column or forced word breaks. */
 html body.workspace-readable #authModal #authForm{padding:calc(17px + env(safe-area-inset-top)) 14px 24px!important;overflow-x:hidden!important;overflow-y:auto!important}
 html body.workspace-readable #authModal #authForm:has(#securityPanel:not(.hidden))>.crealink-logo-full,
 html body.workspace-readable #authModal #authForm:has(#securityPanel:not(.hidden))>.auth-welcome-kicker{display:none!important}
 html body.workspace-readable #authModal #authForm:has(#securityPanel:not(.hidden)) #authTitle{margin:0!important;font-size:26px!important;line-height:1.25!important;text-align:left!important}
 html body.workspace-readable #authModal #authForm:has(#securityPanel:not(.hidden)) #authMessage{margin:4px 0 13px!important;font-size:12px!important;text-align:left!important}
 html body.workspace-readable #authModal #authForm:has(#securityPanel:not(.hidden)) .welcome-credit-tip{min-height:0!important;margin:0 0 12px!important;padding:10px 12px!important;border-radius:12px!important}
 html body.workspace-readable #authModal .security-summary{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;padding:13px 14px!important;border-radius:15px!important}
 html body.workspace-readable #authModal .security-avatar{display:none!important}
 html body.workspace-readable #authModal .security-identity{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:baseline!important;gap:3px 9px!important;min-width:0!important}
 html body.workspace-readable #authModal .security-identity>span{grid-column:1!important;white-space:nowrap!important}
 html body.workspace-readable #authModal .security-identity>b{grid-column:2!important;overflow:hidden!important;font-size:15px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.workspace-readable #authModal .security-identity>small{grid-column:1/-1!important;display:block!important;overflow-wrap:normal!important;word-break:keep-all!important;white-space:normal!important}
 html body.workspace-readable #authModal .security-state{display:none!important}
 html body.workspace-readable #authModal .security-actions{gap:8px!important;margin-top:10px!important}
 html body.workspace-readable #authModal .security-actions>button{min-height:58px!important;height:auto!important;padding:10px 13px!important;border-radius:14px!important}
 html body.workspace-readable #authModal .security-actions>button span{gap:2px!important}
 html body.workspace-readable #authModal .security-actions>button b{font-size:13px!important;line-height:1.35!important}
 html body.workspace-readable #authModal .security-actions>button small{font-size:10px!important;line-height:1.4!important}
 html body.workspace-readable #authModal #logoutBtn{margin:10px 0 6px!important}
}

@media(max-width:360px){
 html body.workspace-readable #promptAssistant{grid-template-columns:1fr!important}
 html body.workspace-readable #promptAssistant .prompt-assistant-copy span{display:none!important}
 html body.workspace-readable #promptAssistant .prompt-assistant-actions{width:100%!important}
 html body.workspace-readable #taskCenterModal .task-row{grid-template-columns:68px minmax(0,1fr)!important;padding:10px!important;gap:0 10px!important}
 html body.workspace-readable #taskCenterModal .task-row-thumb{width:68px!important;height:68px!important}
 html body.workspace-readable .dimension-fields{grid-template-columns:1fr!important}
 html body.workspace-readable .dimension-fields>b{display:none!important}
}
html body.workspace-readable .task-row-placeholder{font-size:12px;color:#456277;background:#edf4f8;display:grid;place-items:center}
html body.workspace-readable #designRecordStrip .design-record-card{flex-basis:176px!important;height:132px!important;background:#f4f8fb!important;text-align:left!important}
html body.workspace-readable #designRecordStrip .design-record-card img{height:72px!important}
html body.workspace-readable #designRecordStrip .design-record-copy{display:grid!important;gap:3px!important;padding:6px 8px!important;white-space:normal!important}
html body.workspace-readable #designRecordStrip .design-record-copy b{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#18384b!important;font-size:13px!important;line-height:1.5!important}
html body.workspace-readable #designRecordStrip .design-record-copy small{color:#435e70!important;font-size:11px!important;line-height:1.5!important}
html body.workspace-readable .asset>.asset-remove{right:4px!important;top:4px!important;width:34px!important;min-width:34px!important;height:22px!important;min-height:22px!important;padding:0!important;font-size:9px!important;line-height:20px!important;background:rgba(255,255,255,.94)!important;color:#294b5f!important;border:1px solid rgba(160,187,201,.88)!important;border-radius:999px!important;box-shadow:0 2px 7px rgba(20,65,87,.14)!important}
html body.workspace-readable :is(#taskSearchClear,[data-template-search-clear]){width:auto!important;min-width:48px!important;height:36px!important;padding:4px 8px!important;font-size:12px!important;color:#18384b!important;background:#edf4f8!important}

/* Desktop result cards use one continuous rounded surface with soft, clipped edges. */
@media(min-width:761px){
 html body.workspace-readable #resultGrid .result-card{overflow:hidden!important;border-radius:26px!important}
 html body.workspace-readable #resultGrid .result-image-open{overflow:hidden!important;border-radius:25px 25px 0 0!important}
 html body.workspace-readable #resultGrid .result-image-open>img{border-radius:24px 24px 0 0!important}
 html body.workspace-readable #resultGrid .result-info{border-radius:0!important}
 html body.workspace-readable #resultGrid .result-actions{border-radius:0 0 25px 25px!important}
 html body.workspace-readable #resultGrid .result-download-button{border-radius:15px!important}
 html body.workspace-readable #resultGrid .result-continue-zone{overflow:hidden!important;border-radius:17px!important}
 html body.workspace-readable #resultGrid .result-quick-actions button{border-radius:14px!important}
}

/* Design history is a readable horizontal card; broken previews fall back quietly. */
html body.workspace-readable .output-zone>.design-records{margin:24px 0 0!important}
html body.workspace-readable .design-records{overflow:hidden!important;border-radius:26px!important}
html body.workspace-readable .design-record-strip{min-height:118px!important;padding:12px!important;gap:12px!important;border-radius:20px!important}
html body.workspace-readable #designRecordStrip .design-record-card{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;flex:0 0 272px!important;width:272px!important;height:94px!important;padding:8px!important;overflow:hidden!important;border:1px solid rgba(121,193,220,.20)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(13,48,69,.98),rgba(5,23,38,.98))!important;color:#edf9ff!important;box-shadow:0 10px 24px rgba(0,0,0,.22)!important;text-align:left!important}
html body.workspace-readable #designRecordStrip .design-record-card:hover{border-color:rgba(58,220,220,.55)!important;background:linear-gradient(145deg,rgba(16,68,91,.99),rgba(7,32,50,.99))!important;transform:translateY(-2px)!important}
html body.workspace-readable #designRecordStrip .design-record-thumb{position:relative!important;display:grid!important;width:78px!important;height:78px!important;padding:0!important;place-items:center!important;overflow:hidden!important;border:1px solid rgba(153,212,233,.18)!important;border-radius:15px!important;background:linear-gradient(145deg,#102f43,#071a2a)!important;color:#83dce0!important}
html body.workspace-readable #designRecordStrip .design-record-thumb img{position:relative!important;z-index:2!important;width:100%!important;height:100%!important;border-radius:14px!important;background:#06131f!important;object-fit:contain!important}
html body.workspace-readable #designRecordStrip .design-record-thumb i{position:absolute!important;z-index:1!important;inset:0!important;display:grid!important;place-items:center!important;color:#79cfd7!important;font-size:13px!important;font-style:normal!important;font-weight:900!important;letter-spacing:.08em!important}
html body.workspace-readable #designRecordStrip .design-record-copy{display:grid!important;min-width:0!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important;color:#edf9ff!important;white-space:normal!important}
html body.workspace-readable #designRecordStrip .design-record-copy b{display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;color:#edf9ff!important;font-size:13px!important;line-height:1.45!important;white-space:normal!important}
html body.workspace-readable #designRecordStrip .design-record-copy small{display:flex!important;align-items:center!important;gap:6px!important;overflow:hidden!important;color:#90acbc!important;font-size:10px!important;line-height:1.4!important;white-space:nowrap!important}
html body.workspace-readable #designRecordStrip .design-record-copy em{flex:0 0 auto!important;padding:3px 7px!important;border-radius:999px!important;background:rgba(42,189,174,.14)!important;color:#79ddd2!important;font-size:9px!important;font-style:normal!important;font-weight:900!important}
html body.workspace-readable #designRecordStrip .design-record-card.failed .design-record-copy em{background:rgba(218,83,72,.14)!important;color:#ff9b92!important}
html body.workspace-readable #designRecordStrip .design-record-card.no-image{place-items:initial!important}

/* The template gallery is the start page. Keep task history below real work states only. */
@media(min-width:761px){
 html body.workspace-readable .output-zone>.design-records{position:relative!important;top:auto!important}
 html body.workspace-readable .output-zone:has(>#outputPanel>#outputEmpty:not(.hidden):not(.message-state))>.design-records{display:none!important}
}

/* Image breakdown stays under the source card and returns its result in place. */
html body.workspace-readable #resultGrid .inline-breakdown-panel{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:13px!important;margin:0 13px 14px!important;padding:14px!important;overflow:hidden!important;border:1px solid #bcdbe5!important;border-radius:18px!important;background:linear-gradient(145deg,#f3fbff,#eefaf8)!important;color:#18384b!important}
html body.workspace-readable #resultGrid .inline-breakdown-panel b{color:#18384b!important;font-size:13px!important}
html body.workspace-readable #resultGrid .inline-breakdown-panel small{display:block!important;margin-top:4px!important;color:#587386!important;font-size:11px!important}
html body.workspace-readable #resultGrid .inline-breakdown-spinner{width:32px!important;height:32px!important;border:3px solid #c9e6eb!important;border-top-color:#0aa3aa!important;border-radius:50%!important;animation:inline-breakdown-spin .8s linear infinite!important}
html body.workspace-readable #resultGrid .inline-breakdown-panel.completed{grid-template-columns:112px minmax(0,1fr)!important;background:#f4fbfd!important}
html body.workspace-readable #resultGrid .inline-breakdown-file{display:grid!important;place-items:center!important;width:72px!important;height:72px!important;border-radius:16px!important;background:linear-gradient(145deg,#163d78,#0a79a7)!important;color:#fff!important;font-size:18px!important;font-weight:950!important;letter-spacing:.08em!important;box-shadow:0 10px 24px rgba(8,107,159,.2)!important}
html body.workspace-readable #resultGrid .inline-breakdown-preview{display:block!important;width:112px!important;height:86px!important;overflow:hidden!important;border-radius:14px!important;background:#dfeaf0!important}
html body.workspace-readable #resultGrid .inline-breakdown-preview img{width:100%!important;height:100%!important;border-radius:14px!important;object-fit:contain!important}
html body.workspace-readable #resultGrid .inline-breakdown-copy a{display:inline-flex!important;margin-top:9px!important;padding:8px 13px!important;border-radius:11px!important;background:#086b9f!important;color:#fff!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important}
html body.workspace-readable #resultGrid .inline-breakdown-panel.failed{border-color:#edc6c2!important;background:#fff6f5!important}
@keyframes inline-breakdown-spin{to{transform:rotate(360deg)}}

/* Light dialogs keep a complete, readable palette, including secondary text. */
html body.workspace-readable #professionalFilesModal .professional-files-card{background:#fff!important;color:#18384b!important}
html body.workspace-readable #professionalFilesModal :is(h2,h3,label,select,option){color:#18384b!important}
html body.workspace-readable #professionalFilesModal :is(p,small,label>span){color:#435e70!important;opacity:1!important}
html body.workspace-readable #professionalFilesModal select{background:#fff!important;font-size:15px!important}
html body.workspace-readable .local-edit-body aside{background:#fff!important;color:#18384b!important}
html body.workspace-readable .local-edit-body .local-edit-label{color:#18384b!important}
html body.workspace-readable .local-edit-selection-actions button{background:#f1f6fa!important;color:#18384b!important;min-height:44px!important}
html body.workspace-readable .local-edit-submit{background:#08669a!important;color:#fff!important}
html body.workspace-readable .modal .modal-close,
html body.workspace-readable #authForm>.modal-close,
html body.workspace-readable #localEditClose,
html body.workspace-readable #psd-exportClose{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:60px!important;height:40px!important;padding:6px 10px!important;flex-shrink:0!important;border:1px solid #aec4d2!important;border-radius:8px!important;background:#edf4f8!important;color:#18384b!important;font-size:14px!important;line-height:1.4!important;transform:none!important;cursor:pointer!important}
html body.workspace-readable .professional-files-card>h2{padding-right:70px!important}
/* Checked against the rendered account, history and create controls. */
html body.workspace-readable #authForm:has(#securityPanel:not(.hidden)) :is(#authMessage,#securityPhoneStatus,.security-identity>span){color:#435e70!important;opacity:1!important}
html body.workspace-readable #authForm #logoutBtn{min-height:44px!important;color:#435e70!important;font-size:14px!important}
html body.workspace-readable #taskCenterModal .task-row>em{color:#deeffc!important;font-size:12px!important}
html body.workspace-readable .lime-workbench .lime-inner>#generateBtn{background:#08669a!important;border-color:#08669a!important;color:#fff!important}
html body.workspace-readable .lime-workbench .lime-inner>#generateBtn:hover:not(:disabled){background:#075783!important;border-color:#075783!important}
html body.workspace-readable :is(#resultGrid button,#resultGrid summary,.result-versions button,.result-versions summary,.modal-close,#localEditClose,#psd-exportClose):focus-visible{outline:3px solid #da8d00!important;outline-offset:3px!important}
@media(min-width:761px) and (max-width:1180px){
 html body.workspace-readable .topbar .topbar-links button{width:auto!important;padding:0 9px!important;font-size:12px!important}
}
@media(max-width:760px){
 html body.workspace-readable .modal .modal-close,
 html body.workspace-readable #authForm>.modal-close,
 html body.workspace-readable #localEditClose,
 html body.workspace-readable #psd-exportClose{min-height:44px!important}
 html body.workspace-readable .asset>.asset-remove{width:34px!important;min-width:34px!important;height:22px!important;min-height:22px!important;font-size:9px!important}
}

/* Wide artwork uses its own proportions so phone controls stay near the image. */
html body.workspace-readable #resultGrid.single-result>.result-card:not(.compared):not(.vector-delivery-card){width:min(100%,max(280px,var(--result-card-width,100%)))!important;justify-self:center!important}
html body.workspace-readable #resultGrid.single-result .result-image-open{height:auto!important;min-height:0!important;aspect-ratio:var(--result-image-aspect,auto)!important;background:#edf2f5!important}
html body.workspace-readable #resultGrid.single-result .result-image-open>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;object-fit:contain!important}
@media(max-width:760px){
 html body.workspace-readable #resultGrid.single-result>.result-card:not(.compared):not(.vector-delivery-card){width:min(100%,max(260px,var(--result-card-mobile-width,var(--result-card-width,100%))))!important}
}

/* Customer-facing model picker: branded names only, aligned with the primary action. */
html body.workspace-readable .lime-inner>.design-action-row{
 display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(154px,.92fr)!important;align-items:stretch!important;gap:9px!important;margin:14px 0 0!important
}
html body.workspace-readable .lime-inner>.design-action-row.single-action{grid-template-columns:1fr!important}
html body.workspace-readable .lime-inner>.design-action-row>#generateBtn{
 width:100%!important;height:56px!important;min-height:56px!important;margin:0!important;border:1px solid rgba(145,216,255,.54)!important;border-radius:12px!important;background:linear-gradient(135deg,#0873b6,#0a9fc1)!important;color:#fff!important;box-shadow:0 11px 25px rgba(0,44,96,.24),inset 0 1px rgba(255,255,255,.24)!important;font-size:16px!important
}
html body.workspace-readable .lime-inner>.design-action-row>#generateBtn:hover:not(:disabled){
 transform:translateY(-2px)!important;background:linear-gradient(135deg,#086aa9,#0993b5)!important;box-shadow:0 15px 30px rgba(0,44,96,.30),inset 0 1px rgba(255,255,255,.28)!important
}
html body.workspace-readable .image-model-picker{
 position:relative!important;display:flex!important;align-items:stretch!important;min-width:0!important;height:56px!important;overflow:hidden!important;border:1px solid rgba(183,225,248,.28)!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(15,75,117,.72),rgba(7,44,76,.64))!important;box-shadow:inset 0 1px rgba(255,255,255,.12),0 9px 22px rgba(0,25,60,.18)!important;-webkit-backdrop-filter:blur(14px) saturate(130%)!important;backdrop-filter:blur(14px) saturate(130%)!important;transition:border-color .18s ease,background .18s ease,transform .18s ease!important
}
html body.workspace-readable .image-model-picker:hover{transform:translateY(-1px)!important;border-color:rgba(198,235,253,.48)!important;background:linear-gradient(145deg,rgba(20,91,137,.78),rgba(8,53,88,.70))!important}
html body.workspace-readable .image-model-picker:focus-within{outline:3px solid rgba(99,190,237,.24)!important;outline-offset:2px!important;border-color:rgba(211,241,255,.64)!important}
html body.workspace-readable .image-model-picker>select{
 position:relative!important;z-index:1!important;width:100%!important;min-width:0!important;height:100%!important;margin:0!important;padding:0 31px 0 11px!important;border:0!important;outline:0!important;-webkit-appearance:none!important;appearance:none!important;background:transparent!important;color:#f4fbff!important;font:800 10.5px/1.2 Arial,"Microsoft YaHei",sans-serif!important;letter-spacing:-.01em!important;cursor:pointer!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
html body.workspace-readable .image-model-picker>select option{background:#0b2940!important;color:#f4fbff!important;font-weight:700!important}
html body.workspace-readable .image-model-picker>i{position:absolute!important;right:11px!important;top:50%!important;z-index:2!important;transform:translateY(-54%)!important;color:#a9d9ef!important;font:900 15px/1 Arial,sans-serif!important;font-style:normal!important;pointer-events:none!important}
html body.workspace-readable .image-model-picker.hidden{display:none!important}
@media(max-width:420px){
 html body.workspace-readable .lime-inner>.design-action-row{grid-template-columns:minmax(0,1fr) minmax(142px,.96fr)!important;gap:7px!important}
 html body.workspace-readable .image-model-picker>select{padding-left:9px!important;padding-right:26px!important;font-size:9.5px!important}
 html body.workspace-readable .image-model-picker>i{right:8px!important}
}

/* A failed generation stays inside the regular design display frame. */
html body.workspace-readable #outputEmpty.failure-state:not(.hidden){
 display:flex!important;
 width:100%!important;
 min-height:590px!important;
 padding:48px 24px!important;
 align-items:center!important;
 justify-content:center!important;
 border:1px solid rgba(115,190,224,.14)!important;
 border-radius:24px!important;
 background:rgba(2,21,38,.52)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.04),0 24px 64px rgba(0,12,24,.18)!important;
}
html body.workspace-readable #outputEmpty.failure-state :is(#templateGallery,.empty-showcase,.empty-steps,.empty-foot,#emptyBadge,#emptyStartBtn,.empty-recovery){display:none!important}
html body.workspace-readable #outputEmpty.failure-state .empty-copy{
 display:block!important;
 width:min(460px,100%)!important;
 min-height:0!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
 text-align:center!important;
}
html body.workspace-readable #outputEmpty.failure-state #emptyTitle{
 margin:0!important;
 color:#f4fbff!important;
 font-family:"Microsoft YaHei UI","Microsoft YaHei",sans-serif!important;
 font-size:30px!important;
 font-weight:900!important;
 line-height:1.3!important;
 text-shadow:0 3px 16px rgba(0,0,0,.55)!important;
}
html body.workspace-readable #outputEmpty.failure-state #emptyText{
 display:block!important;
 max-width:430px!important;
 margin:13px auto 0!important;
 color:rgba(244,251,255,.78)!important;
 font-size:14px!important;
 font-weight:650!important;
 line-height:1.65!important;
 text-shadow:0 2px 12px rgba(0,0,0,.38)!important;
}
html body.workspace-readable #outputEmpty.failure-state #emptyRetryBtn{
 position:relative!important;
 inset:auto!important;
 display:inline-flex!important;
 width:auto!important;
 min-width:188px!important;
 min-height:58px!important;
 margin:24px auto 0!important;
 padding:10px 18px!important;
 align-items:center!important;
 justify-content:center!important;
 gap:11px!important;
 border:1px solid rgba(128,225,238,.48)!important;
 border-radius:17px!important;
 background:linear-gradient(135deg,#0876b9,#0cb4b3)!important;
 color:#fff!important;
 box-shadow:0 16px 38px rgba(0,20,36,.34)!important;
}
html body.workspace-readable #outputEmpty.failure-state #emptyRetryBtn span{
 display:grid!important;
 width:34px!important;
 height:34px!important;
 flex:0 0 34px!important;
 place-items:center!important;
 border-radius:11px!important;
 background:rgba(255,255,255,.20)!important;
 color:#fff!important;
 font-size:22px!important;
}
html body.workspace-readable #outputEmpty.failure-state #emptyRetryBtn b{display:block!important;color:#fff!important;font-size:15px!important;line-height:1!important;white-space:nowrap!important}
html body.workspace-readable #outputEmpty.failure-state #emptyRetryBtn small{display:none!important}
@media(max-width:760px){html body.workspace-readable #outputEmpty.failure-state:not(.hidden){min-height:420px!important;padding:36px 18px!important;border-radius:18px!important}html body.workspace-readable #outputEmpty.failure-state #emptyTitle{font-size:24px!important}}

/* Artwork fills the preview stage; the old click-hint footer created a stray grey bar. */
html body.workspace-readable #resultGrid .result-selected-badge{display:none!important}
html body.workspace-readable #resultGrid .result-image-open>span{display:none!important}

/* Generated batches stay in a deliberate grid instead of a tall, staggered 2 + 1 layout. */
@media(min-width:761px){
 html body.workspace-readable #resultGrid:not(.single-result){align-items:start!important;grid-auto-flow:row!important}
 html body.workspace-readable #resultGrid:not(.single-result)>.result-card{display:flex!important;min-width:0!important;width:100%!important;height:auto!important;align-self:start!important;justify-self:stretch!important;flex-direction:column!important}
 html body.workspace-readable #resultGrid:not(.single-result) .result-image-open{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:var(--result-image-aspect,4/3)!important;flex:0 0 auto!important}
 html body.workspace-readable #resultGrid:not(.single-result) .result-image-open>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
 html body.workspace-readable #resultGrid:not(.single-result) .result-info{min-height:84px!important}
 html body.workspace-readable #resultGrid:not(.single-result) .result-actions{margin-top:auto!important}
 html body.workspace-readable #resultGrid[data-result-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.workspace-readable #resultGrid[data-result-count="3"]>.result-card:last-child{grid-column:1/-1!important;width:calc((100% - 20px)/2)!important;justify-self:center!important}
}
@media(min-width:1280px){
 html body.workspace-readable #resultGrid[data-result-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body.workspace-readable #resultGrid[data-result-count="3"]>.result-card:last-child{grid-column:auto!important;width:auto!important;justify-self:stretch!important}
}

/* Custom dimensions belong to creation, not export. Keep them open above the brief. */
html body.workspace-readable #smartCreateBar,
html body.workspace-readable .unified-composer-shell #smartCreateBar,
html body.workspace-readable.lithos-theme .unified-composer-shell #smartCreateBar{grid-template-columns:minmax(0,1fr) minmax(78px,.72fr)!important}
html body.workspace-readable .smart-custom-ratio-inline{width:100%;margin:10px 0 12px}
html body.workspace-readable .smart-custom-ratio-inline.hidden{display:none!important}
html body.workspace-readable .smart-count-wrap.hidden{display:none!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel:not(.hidden){display:block!important;width:100%!important;margin:0!important;padding:14px!important;border:1px solid rgba(140,189,211,.20)!important;border-radius:14px!important;background:rgba(8,35,52,.62)!important;box-shadow:inset 0 1px rgba(255,255,255,.05)!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel>label{display:block!important;margin:0 0 10px!important;color:#eaf6fb!important;font-size:13px!important;font-weight:800!important;text-shadow:none!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-fields{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:end!important;gap:10px!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-fields>label{display:grid!important;gap:6px!important;min-width:0!important;color:#b8ceda!important;font-size:12px!important;text-shadow:none!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-fields>b{align-self:center!important;margin-top:20px!important;color:#7da2b5!important;text-shadow:none!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input{display:flex!important;align-items:center!important;min-width:0!important;height:46px!important;padding:0 12px!important;border:1px solid #cbd9e2!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input input{width:100%!important;min-width:0!important;height:44px!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:#18384b!important;font-size:15px!important;font-weight:700!important;text-shadow:none!important}
html body.workspace-readable #smartCustomRatioInline #widthCmInput,
html body.workspace-readable #smartCustomRatioInline #heightCmInput{appearance:textfield!important;-moz-appearance:textfield!important}
html body.workspace-readable #smartCustomRatioInline #widthCmInput::-webkit-inner-spin-button,
html body.workspace-readable #smartCustomRatioInline #widthCmInput::-webkit-outer-spin-button,
html body.workspace-readable #smartCustomRatioInline #heightCmInput::-webkit-inner-spin-button,
html body.workspace-readable #smartCustomRatioInline #heightCmInput::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input input::placeholder{color:#81919c!important;opacity:1!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input i{color:#526a78!important;font-size:12px!important;font-style:normal!important;font-weight:800!important;text-shadow:none!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel #sizeHelp{display:none!important}

/* Quantity uses an in-product picker instead of the operating system's long select. */
html body.workspace-readable .smart-count-wrap{position:relative!important}
html body.workspace-readable .smart-count-button{width:100%!important;justify-content:flex-start!important}
html body.workspace-readable .smart-count-button>b{margin-left:auto!important;color:#eaf6fb!important;font-size:12px!important}
html body.workspace-readable .smart-count-button>i{margin-left:2px!important;color:#8da8b8!important;font-size:14px!important;font-style:normal!important;transition:transform .16s ease!important}
html body.workspace-readable .smart-count-button[aria-expanded="true"]>i{transform:rotate(180deg)!important}
html body.workspace-readable #smartCountMenu{left:auto!important;right:0!important;width:304px!important;padding:12px!important;border:1px solid rgba(151,190,210,.30)!important;border-radius:16px!important;background:rgba(8,29,43,.97)!important;box-shadow:0 20px 48px rgba(0,0,0,.30)!important}
html body.workspace-readable #smartCountMenu #countPanel{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.workspace-readable #smartCountMenu #countPanel>label{display:block!important;margin:0 0 9px!important;color:#dcecf4!important;font-size:11px!important;font-weight:800!important}
html body.workspace-readable #smartCountMenu .number-choices{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}
html body.workspace-readable #smartCountMenu .number-choices button{min-width:0!important;height:38px!important;padding:0!important;border:1px solid rgba(156,190,207,.20)!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important;color:#eaf6fb!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important;cursor:pointer!important}
html body.workspace-readable #smartCountMenu .number-choices button:hover{border-color:rgba(95,194,219,.62)!important;background:rgba(71,169,196,.18)!important}
html body.workspace-readable #smartCountMenu .number-choices button.active{border-color:#36b4d0!important;background:linear-gradient(135deg,#178dac,#2ab5c6)!important;color:#fff!important;box-shadow:0 7px 16px rgba(23,141,172,.24)!important}
html body.workspace-readable #smartCountMenu .custom-count-choice{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:10px!important;margin-top:2px!important;color:#dcecf4!important;font-size:11px!important;font-weight:800!important}
html body.workspace-readable #smartCountMenu .custom-count-choice input{min-width:0!important;height:38px!important;padding:0 11px!important;border:1px solid rgba(156,190,207,.28)!important;border-radius:10px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;font:800 13px/1 inherit!important;outline:0!important}
html body.workspace-readable #smartCountMenu .custom-count-choice input:focus{border-color:#36b4d0!important;box-shadow:0 0 0 3px rgba(54,180,208,.16)!important}

/* Keep the custom proportion block compact and visually subordinate to the brief. */
html body.workspace-readable #smartCustomRatioInline #sizePanel:not(.hidden){padding:13px 14px 14px!important;border-color:rgba(139,190,211,.24)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(9,39,57,.76),rgba(6,28,43,.64))!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel>label{margin-bottom:9px!important;color:#e9f5fa!important;font-size:12px!important;letter-spacing:.01em!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-fields>label>span:first-child{padding-left:2px!important;color:#b7ceda!important;font-size:11px!important;font-weight:750!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input{height:48px!important;padding:0 9px 0 10px!important;border-color:rgba(179,205,219,.68)!important;border-radius:12px!important;background:#f7fbfd!important;box-shadow:inset 0 1px 2px rgba(21,52,70,.05)!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input:focus-within{border-color:#35a9c5!important;box-shadow:0 0 0 3px rgba(53,169,197,.14)!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input input{height:46px!important;font-size:14px!important;font-weight:750!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input input::placeholder{color:#788d99!important;font-size:10px!important;font-weight:650!important;letter-spacing:-.02em!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input i{font-size:10px!important}
html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-fields>b{margin-top:18px!important;color:#7fa3b5!important;font-size:17px!important;font-weight:500!important}

/* Export owns resolution only; formats use readable cards instead of a native select. */
html body.workspace-readable #professionalFilesModal .professional-files-card{max-height:calc(100vh - 32px)!important;overflow-y:auto!important;padding-bottom:0!important}
html body.workspace-readable #professionalFilesBody{font-family:"Microsoft YaHei","PingFang SC",sans-serif!important}
html body.workspace-readable .download-production-facts{display:grid!important;gap:5px!important;margin:0 4px 14px!important;padding:12px 13px!important;border:1px solid #d8e7f0!important;border-radius:10px!important;background:#f4f8fb!important;color:#18384b!important}
html body.workspace-readable .download-production-facts b{color:#18384b!important;font-size:14px!important}
html body.workspace-readable .download-production-facts span{color:#435e70!important;font-size:12px!important;line-height:1.45!important}
html body.workspace-readable .download-production-facts small{color:#688091!important;font-size:11px!important;line-height:1.45!important}
html body.workspace-readable .download-resolution-field{display:grid!important;gap:7px!important;margin:0 4px 16px!important}
html body.workspace-readable .download-resolution-field>label{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(178px,1.25fr)!important;align-items:center!important;gap:10px!important;color:#18384b!important;font-size:13px!important;font-weight:800!important}
html body.workspace-readable .download-resolution-field select{width:100%!important;height:44px!important;padding:0 12px!important;border:1px solid #b9cedc!important;border-radius:9px!important;background:#fff!important;color:#18384b!important;font-family:inherit!important;font-size:14px!important;font-weight:650!important}
html body.workspace-readable .download-resolution-field select:focus{border-color:#148db5!important;outline:3px solid rgba(20,141,181,.14)!important}
html body.workspace-readable .download-resolution-field select:disabled{background:#edf2f5!important;color:#7d8c96!important;cursor:not-allowed!important}
html body.workspace-readable .download-resolution-field>small{color:#647b8a!important;font-size:11px!important;line-height:1.45!important}
html body.workspace-readable .download-format-field{display:block!important;margin:0!important;padding:0 4px 16px!important;border:0!important;min-width:0!important}
html body.workspace-readable .download-format-field>legend{width:100%!important;margin:0 0 9px!important;padding:0!important;color:#18384b!important;font-size:13px!important;font-weight:850!important}
html body.workspace-readable .download-format-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body.workspace-readable .download-format-option{position:relative!important;display:block!important;min-width:0!important;cursor:pointer!important}
html body.workspace-readable .download-format-option.featured{grid-column:1/-1!important}
html body.workspace-readable .download-format-option>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
html body.workspace-readable .download-format-option>span{display:grid!important;gap:3px!important;min-height:58px!important;padding:10px 12px!important;border:1px solid #c9d9e3!important;border-radius:10px!important;background:#fff!important;color:#18384b!important;box-shadow:none!important;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important}
html body.workspace-readable .download-format-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important}
html body.workspace-readable .download-format-option b{color:#18384b!important;font-size:14px!important;line-height:1.25!important;font-weight:850!important}
html body.workspace-readable .download-format-option small{color:#60798a!important;font-size:11px!important;line-height:1.35!important;font-weight:500!important}
html body.workspace-readable .download-format-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:0 0 28px!important;margin:-3px -2px -1px 0!important;border-radius:8px!important;background:#eaf2fc!important;color:#246bc4!important}
html body.workspace-readable .download-format-icon svg{display:block!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.workspace-readable .download-format-option[data-format="delivery_zip"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="production_png"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="tiff"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="pdf"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="jpg"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="psd"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="svg"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option[data-format="dxf"] .download-format-icon{color:#246bc4!important}
html body.workspace-readable .download-format-option:hover>span{border-color:#72afca!important;background:#f7fbfd!important}
html body.workspace-readable .download-format-option:has(input:checked)>span{border-color:#1689b4!important;background:#edf8fc!important;box-shadow:0 0 0 2px rgba(22,137,180,.15)!important}
html body.workspace-readable .download-format-option:has(input:focus-visible)>span{outline:3px solid rgba(218,141,0,.35)!important;outline-offset:2px!important}
html body.workspace-readable #professionalFormatStatus{min-height:0!important;margin:0 4px 14px!important;color:#b34242!important;font-size:11px!important;line-height:1.55!important}
html body.workspace-readable #professionalFormatStatus.eta{padding:9px 11px!important;border:1px solid rgba(22,137,180,.20)!important;border-radius:9px!important;background:#eef8fc!important;color:#23637d!important;font-weight:700!important}
html body.workspace-readable #professionalFilesModal .download-panel-footer{position:sticky!important;bottom:0!important;z-index:2!important;margin:0 -18px!important;padding:13px 18px 18px!important;background:#f5f9fe!important}
html body.workspace-readable #professionalFilesBody.export-processing>.download-production-facts,
html body.workspace-readable #professionalFilesBody.export-processing>.download-resolution-field,
html body.workspace-readable #professionalFilesBody.export-processing>.download-format-field,
html body.workspace-readable #professionalFilesBody.export-processing>#professionalFormatStatus{display:none!important}

/* Reserve a separate download toolbar. Opening the overlay never changes
   result columns, sizes, scrollbars, or the surrounding workspace geometry. */
html body.workspace-readable .result-download-toolbar{display:flex;justify-content:flex-end;align-items:center;min-height:40px;margin:0 0 14px}
html body.workspace-readable .result-download-toolbar:has(>.hidden){display:none}
html body.workspace-readable .result-download-toolbar>#resultTopDownloadBtn{position:static!important;inset:auto!important;display:flex!important;min-width:112px!important;margin:0!important;flex:none!important}
html body.workspace-readable .result-download-toolbar>#resultTopDownloadBtn.hidden{display:none!important}
html body.workspace-readable .professional-files-dock{display:none}
html body.workspace-readable.professional-download-open #outputPanel{filter:blur(2px)!important}
html body.workspace-readable #professionalFilesModal:not(.hidden){position:fixed!important;inset:0!important;z-index:90!important;display:flex!important;align-items:flex-start!important;justify-content:flex-end!important;padding:156px 24px 24px!important;width:100%!important;height:100%!important;margin:0!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:hidden!important}
html body.workspace-readable #professionalFilesModal .professional-files-card{width:min(380px,calc(100vw - 48px))!important;max-width:none!important;max-height:calc(100vh - 180px)!important;margin:0!important;border-radius:18px!important;box-shadow:0 18px 46px rgba(41,87,143,.18)!important}
html body.workspace-readable #professionalFilesModal .professional-files-card>.modal-close{display:block!important;position:absolute!important;top:16px!important;right:16px!important;min-width:54px!important;padding:6px 10px!important;border:1px solid #c9ddef!important;border-radius:9px!important;background:#f3f8ff!important;color:#28577a!important;font-size:13px!important;line-height:1.4!important;cursor:pointer!important}
html body.workspace-readable #professionalFilesModal .professional-files-card>h2{padding-right:76px!important}
@media(min-width:1280px){
 html body.workspace-readable.professional-download-docked .output-zone>#professionalFilesDock{display:block!important;position:fixed!important;inset:0!important;z-index:90!important;pointer-events:none!important}
 html body.workspace-readable #professionalFilesDock #professionalFilesModal.professional-files-docked:not(.hidden){pointer-events:auto!important}
}
@media(max-width:760px){
 html body.workspace-readable #professionalFilesModal:not(.hidden){padding:90px 16px 16px!important}
 html body.workspace-readable #professionalFilesModal .professional-files-card{width:min(380px,calc(100vw - 32px))!important;max-height:calc(100vh - 106px)!important}
}
html body.workspace-readable .download-export-progress{position:relative!important;display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;margin:0 4px 14px!important;padding:15px!important;overflow:hidden!important;border:1px solid #bddded!important;border-radius:13px!important;background:linear-gradient(135deg,#f0faff 0%,#f8fbff 52%,#edf7ff 100%)!important;box-shadow:0 10px 28px rgba(15,108,153,.10)!important;color:#173b52!important}
html body.workspace-readable .download-export-progress:after{content:""!important;position:absolute!important;inset:-60% -30%!important;pointer-events:none!important;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.88) 48%,transparent 61%)!important;animation:downloadExportSheen 3.1s ease-in-out infinite!important}
html body.workspace-readable .download-export-motion{position:relative!important;width:62px!important;height:62px!important;z-index:1!important}
html body.workspace-readable .download-export-orbit{position:absolute!important;inset:2px!important;border:1px solid rgba(22,137,180,.23)!important;border-top-color:#1689b4!important;border-right-color:#6abbd6!important;border-radius:50%!important;animation:downloadExportOrbit 2.1s linear infinite!important}
html body.workspace-readable .download-export-layer{position:absolute!important;left:17px!important;width:31px!important;height:22px!important;border:1px solid rgba(28,115,163,.32)!important;border-radius:6px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(177,224,243,.9))!important;box-shadow:0 5px 12px rgba(21,109,151,.14)!important;transform:rotate(-5deg)!important}
html body.workspace-readable .download-export-layer.layer-back{top:11px!important;opacity:.55!important;animation:downloadExportLayerBack 1.8s ease-in-out infinite!important}
html body.workspace-readable .download-export-layer.layer-mid{top:20px!important;animation:downloadExportLayerMid 1.8s .15s ease-in-out infinite!important}
html body.workspace-readable .download-export-layer.layer-front{top:29px!important;background:linear-gradient(145deg,#fafdff,#8dcee8)!important;animation:downloadExportLayerFront 1.8s .3s ease-in-out infinite!important}
html body.workspace-readable .download-export-motion>b{position:absolute!important;right:5px!important;top:6px!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#24a3cc!important;box-shadow:0 0 0 5px rgba(36,163,204,.12)!important;animation:downloadExportPulse 1.25s ease-in-out infinite!important}
html body.workspace-readable .download-export-copy{position:relative!important;z-index:1!important;display:grid!important;min-width:0!important}
html body.workspace-readable .download-export-copy>small{color:#48809b!important;font-size:9px!important;font-weight:850!important;letter-spacing:.12em!important}
html body.workspace-readable .download-export-copy>strong{margin-top:3px!important;color:#153c54!important;font-size:14px!important;line-height:1.35!important}
html body.workspace-readable .download-export-copy>p{min-height:18px!important;margin:3px 0 8px!important;color:#607d8e!important;font-size:10px!important;line-height:1.5!important}
html body.workspace-readable .download-export-track{height:4px!important;overflow:hidden!important;border-radius:999px!important;background:#d9eaf3!important}
html body.workspace-readable .download-export-track i{display:block!important;width:36%!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#1689b4,#58c0d9,#1689b4)!important;animation:downloadExportTrack 1.7s ease-in-out infinite!important}
html body.workspace-readable .download-export-steps{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:5px!important;margin-top:8px!important}
html body.workspace-readable .download-export-steps span{padding:3px 5px!important;border-radius:999px!important;background:#e5f0f5!important;color:#76909e!important;font-size:9px!important;text-align:center!important;transition:background .25s ease,color .25s ease!important}
html body.workspace-readable .download-export-steps span.active{background:#d5eff8!important;color:#0f759c!important;font-weight:850!important;animation:downloadExportStep 1.2s ease-in-out infinite!important}
html body.workspace-readable .download-export-steps span.done{background:#def3ec!important;color:#238066!important;font-weight:750!important}
html body.workspace-readable .download-export-meta{display:flex!important;justify-content:space-between!important;gap:8px!important;margin-top:8px!important;color:#6b8492!important;font-size:9px!important}
html body.workspace-readable .download-export-meta b{color:#176f96!important;font-variant-numeric:tabular-nums!important}
html body.workspace-readable .download-export-meta em{color:#4d879f!important;font-style:normal!important}
html body.workspace-readable .download-export-progress[data-stage="failed"]{border-color:#e6bcbc!important;background:#fff6f6!important}
html body.workspace-readable .download-export-progress[data-stage="failed"] .download-export-track i{width:100%!important;background:#c85b5b!important;animation:none!important}
html body.workspace-readable .download-export-progress[data-stage="completed"]{border-color:#a9ddcd!important;background:#f1fbf7!important}
html body.workspace-readable .download-export-progress[data-stage="completed"] .download-export-track i{width:100%!important;background:#35a884!important;animation:none!important}
html body.workspace-readable #professionalDownloadConfirm.working{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
html body.workspace-readable #professionalDownloadConfirm,html body.workspace-readable #professionalDownloadConfirm:before,html body.workspace-readable #professionalDownloadConfirm:after{animation:none!important;transition:none!important;transform:none!important}
@keyframes downloadExportOrbit{to{transform:rotate(360deg)}}
@keyframes downloadExportSheen{0%,18%{transform:translateX(-35%)}70%,100%{transform:translateX(45%)}}
@keyframes downloadExportTrack{0%{transform:translateX(-105%)}100%{transform:translateX(285%)}}
@keyframes downloadExportPulse{0%,100%{transform:scale(.75);opacity:.45}50%{transform:scale(1.1);opacity:1}}
@keyframes downloadExportStep{0%,100%{box-shadow:0 0 0 0 rgba(22,137,180,0)}50%{box-shadow:0 0 0 3px rgba(22,137,180,.10)}}
@keyframes downloadExportLayerBack{0%,100%{transform:translateY(1px) rotate(-5deg)}50%{transform:translateY(-3px) rotate(-5deg)}}
@keyframes downloadExportLayerMid{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-4px) rotate(-5deg)}}
@keyframes downloadExportLayerFront{0%,100%{transform:translateY(-1px) rotate(-5deg)}50%{transform:translateY(-5px) rotate(-5deg)}}
@media(max-width:420px){html body.workspace-readable .download-export-progress{grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}html body.workspace-readable .download-export-motion{width:52px!important;height:52px!important;transform:scale(.86)!important;transform-origin:left center!important}html body.workspace-readable .download-export-meta{align-items:flex-start!important;flex-direction:column!important;gap:2px!important}}
@media(prefers-reduced-motion:reduce){html body.workspace-readable .download-export-progress:after,html body.workspace-readable .download-export-orbit,html body.workspace-readable .download-export-layer,html body.workspace-readable .download-export-motion>b,html body.workspace-readable .download-export-track i,html body.workspace-readable .download-export-steps span.active{animation:none!important}}

@media(max-width:420px){
 html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-fields{gap:7px!important}
 html body.workspace-readable #smartCustomRatioInline #sizePanel .dimension-input{padding:0 9px!important}
 html body.workspace-readable #smartCountMenu{width:100%!important}
 html body.workspace-readable .download-resolution-field>label{grid-template-columns:1fr!important}
}

/* Final mobile app-shell overrides must win over the older cinematic modal layer. */
@media(max-width:760px){
 html body.workspace-readable.mobile-page-open #mobileDock.mobile-dock{display:grid!important;position:fixed!important;inset:auto 0 0!important;width:100%!important;opacity:1!important;visibility:visible!important;transform:none!important}
 html body.workspace-readable.mobile-page-open #authModal.mobile-app-page:not(.hidden),
 html body.workspace-readable.mobile-page-open #taskCenterModal.mobile-app-page:not(.hidden){display:block!important;position:fixed!important;inset:0 0 calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;height:auto!important;transform:none!important}
 html body.workspace-readable.mobile-page-open #authModal.mobile-app-page:not(.hidden):not(:has(#securityPanel:not(.hidden))),
 html body.workspace-readable.mobile-page-open #authModal.mobile-app-page:not(.hidden):has(#securityPanel:not(.hidden)){display:block!important;position:fixed!important;inset:0 0 calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;height:auto!important;padding:0!important;place-items:initial!important;transform:none!important}
 html body.workspace-readable.mobile-page-open #authModal.mobile-app-page.auth-form-open:not(.hidden):not(:has(#securityPanel:not(.hidden))) #authForm,
 html body.workspace-readable.mobile-page-open #authModal.mobile-app-page.auth-form-open:not(.hidden):has(#securityPanel:not(.hidden)) #authForm{display:block!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;translate:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
 html body.workspace-readable #authModal.mobile-app-page:not(.auth-form-open):not(:has(#securityPanel:not(.hidden))) #authForm{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
 html body.workspace-readable.mobile-page-open #authModal.mobile-app-page .modal-close,
 html body.workspace-readable.mobile-page-open #taskCenterModal.mobile-app-page .modal-close{display:none!important}
}

/* Show the user-approved complete trademark in the desktop sidebar without cropping or added edge effects. */
@media(min-width:761px){
 html body.workspace-readable .app-shell>.lime-workbench .hero-copy>.sidebar-brand{height:136px!important}
 html body.workspace-readable .app-shell>.lime-workbench .hero-copy>.sidebar-brand .crealink-wordmark{display:block!important;width:136px!important;height:136px!important;overflow:visible!important}
 html body.workspace-readable .app-shell>.lime-workbench .hero-copy>.sidebar-brand #brandMark.crealink-wordmark>img{position:static!important;display:block!important;width:136px!important;height:136px!important;max-width:136px!important;object-fit:contain!important;transform:none!important;filter:none!important}
}

/* Selected images appear in the material tray immediately. The thumbnail
   itself carries the processing spinner until the server returns the asset. */
html body.workspace-readable .asset-uploading{border-color:rgba(32,151,188,.46)!important;background:#edf9fc!important;box-shadow:0 0 0 3px rgba(32,151,188,.09)!important}
html body.workspace-readable .asset-uploading>.asset-open{cursor:wait!important}
html body.workspace-readable .asset-upload-thumb{position:absolute!important;inset:0!important;left:0!important;top:0!important;right:0!important;bottom:0!important;display:block!important;padding:0!important;overflow:hidden!important;border-radius:0!important;background:#dcebf0!important;opacity:1!important;transform:none!important;transition:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.workspace-readable .asset-upload-thumb>:is(img,video){display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:saturate(.82) brightness(.78)!important}
html body.workspace-readable :is(#assetList,#referenceList) .asset-upload-thumb>i{position:absolute!important;z-index:3!important;left:50%!important;top:50%!important;width:30px!important;height:30px!important;margin:-15px 0 0 -15px!important;border:3px solid rgba(255,255,255,.45)!important;border-top-color:#fff!important;border-right-color:#39c3d5!important;border-radius:50%!important;box-shadow:0 4px 14px rgba(0,57,79,.26)!important;animation:customerUploadThumbSpin .72s linear infinite!important}
html body.workspace-readable .asset-uploading .asset-upload-copy{z-index:4!important;bottom:6px!important;max-width:calc(100% - 10px)!important;padding:4px 7px!important;overflow:hidden!important;background:rgba(8,52,70,.82)!important;color:#fff!important;font-size:9px!important;text-overflow:ellipsis!important;opacity:1!important}
html body.workspace-readable .asset>.asset-order-label{position:absolute;z-index:5;left:4px;top:4px;max-width:calc(100% - 44px);padding:3px 6px;border-radius:6px;background:rgba(8,52,70,.9);color:#fff;font-size:11px;font-weight:900;line-height:1.1;white-space:nowrap;pointer-events:none}
@keyframes customerUploadThumbSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html body.workspace-readable :is(#assetList,#referenceList) .asset-upload-thumb>i{animation-duration:1.8s!important}}

/* One download entry; choose the task or one image inside the same panel. */
.download-scope-field{margin:0 0 16px;padding:0;border:0;min-width:0}
.download-scope-field legend{padding:0;margin-bottom:10px;font-weight:700;color:#284f68;font-size:14px}
.download-scope-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.download-scope-options label{position:relative;cursor:pointer}
.download-scope-options input{position:absolute;opacity:0;pointer-events:none}
.download-scope-options span{display:block;padding:10px 12px;border:1px solid #cbdce9;border-radius:10px;text-align:center;background:#f8fbfe;color:#42667f;font-size:14px}
.download-scope-options input:checked+span{border-color:#149bcc;background:#eaf8ff;color:#126293;font-weight:700;box-shadow:0 0 0 1px #149bcc}
.download-scope-options input:focus-visible+span{outline:2px solid #1685cb;outline-offset:2px}
.download-image-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#42667f;font-size:14px}
.download-image-picker select{min-width:0;flex:1;max-width:210px;border:1px solid #cbdce9;border-radius:10px;padding:10px 12px;color:#284f68;background:#fff;font:inherit}
.download-batch-summary{margin:0 0 14px;color:#668399;font-size:12px;line-height:1.6}

/* Every per-image action stays visible. Compact rows replace the large cards. */
html body.workspace-readable #resultsView #resultGrid#resultGrid .result-action-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:5px!important;margin-top:auto!important;padding:10px 8px!important;border-top:1px solid #e7eef6!important;min-height:0!important}
html body.workspace-readable #resultsView #resultGrid#resultGrid .result-action-toolbar>button{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:40px!important;width:100%!important;margin:0!important;padding:6px 3px!important;order:0!important;grid-column:auto!important;border:1px solid #e4edf6!important;border-radius:9px!important;background:#f8fafd!important;color:#365775!important;font-size:12px!important;line-height:1.4!important;font-weight:600!important;white-space:normal!important;box-shadow:none!important;cursor:pointer!important;transform:none!important}
html body.workspace-readable #resultsView #resultGrid#resultGrid .result-action-toolbar>.result-edit-button{background:#edf5ff!important;color:#1763b5!important;border-color:#d8e7fa!important}
html body.workspace-readable #resultsView #resultGrid#resultGrid .result-action-toolbar>button:hover{background:#eaf2fa!important;color:#1763b5!important;border-color:#a9cbea!important}
html body.workspace-readable #resultsView #resultGrid#resultGrid .result-action-toolbar>button:focus-visible{outline:2px solid #2375dc!important;outline-offset:2px!important}
html body.workspace-readable #resultsView #resultGrid#resultGrid .result-action-toolbar>button:disabled{opacity:.55!important;cursor:wait!important}
@media(min-width:761px) and (max-width:1400px){html body.workspace-readable #resultsView #resultGrid#resultGrid:not(.single-result) .result-action-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Artwork gallery: stable task slots and restrained, always-visible tools. */
html body.workspace-readable .result-download-toolbar:has(>#resultGalleryHeading:not(.hidden)){display:flex!important;gap:18px!important;min-height:60px!important;margin:0 0 12px!important;justify-content:space-between!important}
html body.workspace-readable #resultGalleryHeading:not(.hidden){display:block!important;min-width:0!important}
html body.workspace-readable #resultGalleryHeading>h2{margin:0!important;color:#18354c!important;font-size:24px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:0!important}
html body.workspace-readable #resultGalleryHeading>p{margin:6px 0 0!important;color:#6a7e90!important;font-size:13px!important;line-height:1.6!important}
html body.workspace-readable .result-download-toolbar:has(>#resultGalleryHeading:not(.hidden))>#resultTopDownloadBtn{height:40px!important;min-height:40px!important;padding:0 16px!important;border:1px solid #2375dc!important;border-radius:8px!important;background:#2375dc!important;color:#fff!important;box-shadow:none!important;font-size:13px!important}
html body.workspace-readable #outputPanel:has(>.result-gallery:not(.hidden)){padding:18px!important;border:1px solid #e8edf2!important;border-radius:14px!important;background:#f5f7fa!important;box-shadow:none!important}
html body.workspace-readable #resultsView.result-gallery{container-type:inline-size}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;align-items:start!important;justify-content:center!important;padding:0!important;background:transparent!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid.single-result{grid-template-columns:minmax(0,min(100%,640px))!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid>.result-card{display:flex!important;position:relative!important;flex-direction:column!important;width:100%!important;max-width:none!important;min-width:0!important;grid-column:auto!important;justify-self:stretch!important;align-self:start!important;height:auto!important;padding:12px!important;border:1px solid #dfe7ef!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 18px rgba(35,63,91,.035)!important;outline:0!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid>.result-card.selected{border-color:#ccddeb!important;box-shadow:0 4px 18px rgba(35,63,91,.035)!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-image-open{position:relative!important;display:block!important;flex:0 0 auto!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;aspect-ratio:var(--result-image-aspect,4/3)!important;border:0!important;border-radius:8px!important;background:#f1f4f7!important;box-shadow:none!important;overflow:hidden!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-image-open>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;border-radius:0!important;object-fit:contain!important;object-position:center!important;filter:none!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-gallery-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:38px!important;margin:0!important;padding:9px 0!important;line-height:1.4!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-gallery-meta>b{font-size:12px!important;font-weight:600!important;color:#29465d!important;white-space:nowrap!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-gallery-meta>span{font-size:11px!important;font-weight:400!important;color:#738597!important;text-align:right!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button{gap:5px!important;min-height:34px!important;height:auto!important;padding:7px 4px!important;border:1px solid #e3eaf1!important;border-radius:6px!important;background:#fafbfd!important;color:#435d72!important;font-size:11px!important;line-height:1.5!important;font-weight:500!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>.result-edit-button{border-color:#d8e7fb!important;background:#edf5ff!important;color:#2375dc!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button:hover:not(:disabled){border-color:#bdd4f0!important;background:#f0f6fc!important;color:#2375dc!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button:disabled{opacity:.42!important;cursor:default!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button::before{content:"";display:block;width:14px;height:14px;flex:0 0 14px;background:currentColor;mask:var(--gallery-action-icon) center/contain no-repeat;-webkit-mask:var(--gallery-action-icon) center/contain no-repeat}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-artwork{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;aspect-ratio:var(--pending-image-aspect,4/3);width:100%;min-width:0;padding:16px;border-radius:8px;background:#f5f7fa;text-align:center;box-sizing:border-box}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-artwork>b{font-size:14px;color:#29465d;font-weight:600;line-height:1.5}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-artwork>span:last-child{color:#8492a1;font-size:12px;line-height:1.6}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-indicator{display:block;width:38px;height:38px;box-sizing:border-box;margin-bottom:6px;border:3px solid #e0e7ef;border-top-color:#2375dc;border-radius:50%;animation:gallery-pending-spin 1.1s linear infinite}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-failed .result-pending-indicator{display:grid;place-items:center;border:1px solid #eadccc;background:#faf6ef;color:#a2753b;font-size:18px;animation:none}
html body.workspace-readable #resultsView.result-gallery #batchProgressNotice{min-height:0!important;padding:0!important;margin:0 0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.workspace-readable #resultsView.result-gallery #batchProgressNotice>b{display:none!important}
html body.workspace-readable #resultsView.result-gallery #batchProgressNotice:not(:has(>span:not(.hidden))){display:none!important}
@container(min-width:850px){
 html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid:not([data-result-count="1"]):not([data-result-count="2"]){grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@container(min-width:620px){html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid.single-result .result-action-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 html body.workspace-readable #outputPanel:has(>.result-gallery:not(.hidden)){padding:10px!important}
 html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid>.result-card{padding:10px!important}
 html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button{min-height:42px!important;padding:8px 3px!important;font-size:11px!important}
 html body.workspace-readable #resultGalleryHeading>h2{font-size:21px!important}
 html body.workspace-readable #resultGalleryHeading>p{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-indicator{animation:none}}
@keyframes gallery-pending-spin{to{transform:rotate(360deg)}}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-copy-source],html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-card .result-action-toolbar>button:nth-child(2){--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M16%208V4H4v12h4%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-local-edit]{--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m15%204%205%205-10%2010-6%201%201-6Z%22/%3E%3Cpath%20d%3D%22m13%206%205%205%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-export-8k-source]{--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M7%209v6m4-6v6M7%2012h4m4-3v6m0-3%203-3m-3%203%203%203%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-result-cite],html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-card .result-action-toolbar>button:nth-child(1){--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22/%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%221%22/%3E%3Cpath%20d%3D%22m3%2017%205-5%204%204%203-4%206%206%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-image-breakdown]{--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%209%205-9%205-9-5Zm-9%209%209%205%209-5m-18%205%209%205%209-5%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-redesign]{--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2011a8%208%200%200%200-14-5L3%209m0-6v6h6m-5%204a8%208%200%200%200%2014%205l3-3m0%206v-6h-6%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button[data-direct-download-source],html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-card .result-action-toolbar>button:nth-child(3){--gallery-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-4-4%204%204%204-4M4%2016v5h16v-5%22/%3E%3C/svg%3E")}
html body.workspace-readable #resultsView.result-gallery{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button{white-space:normal!important}
@container(max-width:350px){html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>button::before{display:none!important}}

/* Picture placeholders share one icon; real artwork and task status stay intact. */
html body.workspace-readable .generation-placeholder-icon.generation-placeholder-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;flex:0 0 auto;border-radius:20px;background:linear-gradient(145deg,#f4f8ff,#eaf1ff)!important;border:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box!important;box-shadow:inset 0 0 0 1px #dce7fa;color:#4387ef}
html body.workspace-readable .generation-placeholder-icon>svg{display:block;width:78%;height:78%;overflow:visible}
html body.workspace-readable .generation-placeholder-icon.is-active:after{content:"";position:absolute;right:0;bottom:0;width:15px;height:15px;box-sizing:border-box;border:2px solid #dce7fa;border-top-color:#4387ef;border-right-color:#9175eb;border-radius:50%;background:#f4f8ff;box-shadow:0 0 0 3px #f4f8ff;animation:gallery-pending-spin 1.2s linear infinite}
html body.workspace-readable .generation-placeholder-icon.is-failed{background:#f7f8fc!important;box-shadow:inset 0 0 0 1px #e4e8f0}
html body.workspace-readable #designRecordStrip .design-record-thumb i{background:transparent!important;padding:0!important}
html body.workspace-readable #designRecordStrip .design-record-thumb img~i{visibility:hidden!important}
html body.workspace-readable #designRecordStrip .design-record-thumb .generation-placeholder-icon{width:44px;height:44px;border-radius:14px}
html body.workspace-readable.home-layout-enabled .dashboard-recent #designRecordStrip .design-record-thumb .generation-placeholder-icon{width:64px;height:64px;border-radius:20px}
html body.workspace-readable #taskCenterModal .task-row-placeholder .generation-placeholder-icon{width:44px;height:44px;border-radius:14px}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-pending-indicator{display:grid!important;place-items:center!important;width:64px!important;height:64px!important;margin:0 0 6px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;animation:none!important}
@media(prefers-reduced-motion:reduce){html body.workspace-readable .generation-placeholder-icon.is-active:after{animation:none}}

/* Result detail actions follow the compact two-column image tools layout. */
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-panel{background:#f8fafc!important;gap:0!important;padding:64px 18px 22px!important}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-info{margin-bottom:20px}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-actions{margin-bottom:24px}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-thumbs{margin-bottom:24px}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-actions,html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-tool-actions>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) button{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px!important;padding:10px 8px!important;border:1px solid #dce5ef!important;border-radius:8px!important;background:#fff!important;color:#344b65!important;font-size:14px!important;line-height:1.3!important;font-weight:500!important;box-shadow:none!important;white-space:nowrap}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) button[hidden]{display:none!important}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) button:hover{background:#edf4fc!important;border-color:#b9cfe7!important;color:#245c99!important}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) button:focus-visible{outline:2px solid #246bc4;outline-offset:3px}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) button:disabled{opacity:.55!important;cursor:wait}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
html body.workspace-readable #assetPreviewModal.has-result-details .detail-action-icon .detail-icon-accent{stroke:#2878d8}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewDownload .detail-icon-accent{stroke:currentColor}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-tool-actions{display:block!important;margin-top:24px;padding:24px 0!important;border-top:1px solid #e5e7eb!important}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-tool-actions h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#263d56}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-save-actions{display:flex;justify-content:flex-end;padding-top:24px;border-top:1px solid #e5e7eb}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewDownload{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;width:calc(50% - 6px);padding:10px;border:1px solid #246bc4;border-radius:8px;background:#246bc4;color:#fff;font-size:14px;font-weight:500;cursor:pointer}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewDownload[hidden]{display:none!important}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewRegenerate{background:#eaf2fc!important;border-color:#d4e3f5!important;color:#245c99!important}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewDownload:hover{background:#1e5baa;border-color:#1e5baa}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewDownload:focus-visible{outline:2px solid #246bc4;outline-offset:3px}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewDownload svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-info p{color:#31465d}
html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-info :is(small,span){color:#78889b}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewClose{background:#fff!important;color:#425a73!important;border-color:#dce5ef!important;box-shadow:0 3px 12px #203e5e12!important}

html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-footer{display:none!important}
@media(min-width:761px){
 html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-card{grid-template-columns:minmax(0,1fr) clamp(300px,28vw,380px)!important}
 html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-panel{grid-column:2;grid-row:1/span 2}
}
@media(max-width:760px){
 html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-card{grid-template-rows:minmax(150px,40%) minmax(0,1fr)!important}
 html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-stage{min-height:0!important;max-height:none!important}
 html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-stage img{max-height:100%!important}
 html body.workspace-readable #assetPreviewModal.has-result-details .asset-preview-result-panel{min-height:0;overflow-y:auto;padding:20px 16px!important}
}


/* Individually colored detail tool icons, with soft inset tiles. */
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) button{gap:9px;min-height:56px!important;padding:8px!important}
html body.workspace-readable #assetPreviewModal.has-result-details :is(.asset-preview-result-actions,.asset-preview-tool-actions) .detail-action-icon{width:22px;height:22px;flex:0 0 22px;box-sizing:content-box;padding:5px;border-radius:9px;stroke:var(--detail-icon-color);stroke-width:1.8;background:var(--detail-icon-bg)}
html body.workspace-readable #assetPreviewModal.has-result-details .detail-icon-fill{fill:var(--detail-icon-fill)}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewRegenerate{--detail-icon-color:#246bc4;--detail-icon-bg:#eaf2fc;--detail-icon-fill:#c5ddf7}
html body.workspace-readable #assetPreviewModal.has-result-details #assetPreviewLocalEdit{--detail-icon-color:#246bc4;--detail-icon-bg:#eaf2fc;--detail-icon-fill:#c5ddf7}
html body.workspace-readable #assetPreviewModal.has-result-details [data-asset-result-tool="ai_cutout"]{--detail-icon-color:#246bc4;--detail-icon-bg:#eaf2fc;--detail-icon-fill:#c5ddf7}
html body.workspace-readable #assetPreviewModal.has-result-details [data-asset-result-tool="ai_remove"]{--detail-icon-color:#246bc4;--detail-icon-bg:#eaf2fc;--detail-icon-fill:#c5ddf7}
html body.workspace-readable #assetPreviewModal.has-result-details [data-asset-result-tool="upscale"]{--detail-icon-color:#246bc4;--detail-icon-bg:#eaf2fc;--detail-icon-fill:#c5ddf7}
html body.workspace-readable #assetPreviewModal.has-result-details [data-asset-result-tool="ai_edit"]{--detail-icon-color:#246bc4;--detail-icon-bg:#eaf2fc;--detail-icon-fill:#c5ddf7}



/* Compact downloads: image and scope first, visible formats, optional print settings. */
html body.workspace-readable #professionalFilesModal.download-layout-v1:not(.hidden){padding:92px 24px 20px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card{width:min(440px,calc(100vw - 48px))!important;max-height:calc(100dvh - 112px)!important;padding:0!important;background:#fff!important;border:1px solid #dce6f0!important;border-radius:20px!important;overflow-y:auto!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>h2{margin:0!important;padding:18px 88px 16px 20px!important;border-bottom:0!important;color:#253d58!important;font-size:19px!important;line-height:1.4!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>.modal-close{top:14px!important;right:18px!important;background:#f6f8fb!important;color:#58708b!important;border-color:#e3eaf2!important;min-width:48px!important;font-size:12px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFilesBody{padding:0 20px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-selection-preview{display:grid;grid-template-columns:68px minmax(0,1fr);gap:14px;align-items:center;margin:0 0 16px;padding:12px;border:1px solid #e4ebf4;border-radius:14px;background:#f8fafd}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-preview-image{height:82px;display:grid;place-items:center;overflow:hidden;border:1px solid #e3eaf2;border-radius:8px;background:#fff}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-preview-image img{display:block;width:100%;height:100%;object-fit:contain}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-preview-selection{min-width:0}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-scope-field{margin:0!important;padding:0!important;border:0!important;min-width:0}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-scope-field>legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;margin:0!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-scope-options label span{min-height:29px!important;padding:5px 8px!important;border:1px solid #dce5f0!important;border-radius:7px!important;background:#fff!important;color:#60718b!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important;line-height:1.4!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-scope-options label:has(input:checked) span{background:#eaf2ff!important;border-color:#bdd2f4!important;color:#2465ba!important;font-weight:650!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-image-picker{display:flex!important;align-items:center;gap:8px!important;margin:7px 0 0!important;font-size:11px!important;color:#6d7f95!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-image-picker select{height:28px!important;min-width:0!important;flex:1;padding:2px 8px!important;border:1px solid #dce5f0!important;border-radius:6px!important;color:#344b66!important;font-size:12px!important;background:#fff!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-batch-summary{margin:6px 0 0!important;padding:0!important;color:#7a8ba2!important;font-size:10px!important;line-height:1.5!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field{padding:0 0 13px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend{margin:0 0 9px!important;color:#344b66!important;font-size:13px!important;font-weight:650!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-grid{gap:7px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured{grid-column:auto!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{position:relative;display:block!important;min-height:52px!important;padding:9px 40px 8px 11px!important;border-color:#e1e8f1!important;border-radius:10px!important;background:#fff!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-title{display:block!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{display:block;color:#344b66!important;font-size:12px!important;font-weight:600!important;line-height:17px!important;white-space:nowrap}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7e8da1!important;font-size:10px!important;line-height:15px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-icon{position:absolute;right:9px;top:12px;width:28px!important;height:28px!important;margin:0!important;border-radius:8px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:has(input:checked)>span{background:#f2f7ff!important;border-color:#72a1e2!important;box-shadow:0 0 0 1px #72a1e2!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:hover>span{background:#f8fafd!important;border-color:#afc8e8!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFormatStatus{margin:0 0 12px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced{margin:0 0 12px;border-top:1px solid #edf0f5;color:#546a84}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 0 0;color:#546a84}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading h3{margin:0;font-size:13px;font-weight:600;line-height:1.4}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading small{color:#788ba2;font-size:10px;font-weight:400}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced>div:not(.download-advanced-heading){padding-top:14px}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field{margin:0 0 12px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field>label{grid-template-columns:1fr 1.3fr!important;font-size:12px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field select{height:36px!important;font-size:12px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-production-facts{margin:0 0 12px!important;padding:10px!important;border-color:#e5ebf3!important;background:#f8fafd!important;font-size:11px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-panel-footer{margin:0 -20px!important;padding:12px 20px 16px!important;border-top:1px solid #edf0f5;background:#fff!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadConfirm{min-height:43px!important;border-radius:10px!important;background:#246bc4!important;box-shadow:0 5px 14px #246bc41b!important;font-size:14px!important;font-weight:600!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFilesBody.export-processing>.download-advanced{display:none!important}
@media(max-width:760px){
 html body.workspace-readable #professionalFilesModal.download-layout-v1:not(.hidden){padding:16px 12px!important;align-items:center!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFilesBody{padding:0 14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-selection-preview{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:10px}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-panel-footer{margin:0 -14px!important;padding:12px 14px 14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{padding:8px 36px 8px 8px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{font-size:11px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-icon{right:6px;width:24px!important;height:24px!important}
}


/* Center desktop format downloads over the current workspace. */
@media(min-width:761px){
 html body.workspace-readable #professionalFilesModal#professionalFilesModal:not(.hidden){align-items:center!important;justify-content:center!important;padding:24px!important;background:rgba(24,43,67,.20)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal .professional-files-card{width:min(600px,calc(100vw - 48px))!important;max-height:min(800px,calc(100dvh - 48px))!important}
}

/* Failed results keep the same image slots and the existing illustrated status icon. */
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-card .result-pending-artwork{border:1px solid #dce7f5!important;background:#f0f5fc!important;box-shadow:none!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-card .generation-placeholder-icon.generation-placeholder-icon{width:88px!important;height:88px!important;border-radius:27px!important;background:#f7f9fd!important;box-shadow:inset 0 0 0 1px #e0e7f2!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-card .result-pending-indicator{width:88px!important;height:88px!important;margin:0 0 6px!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-card .result-pending-artwork>b{color:#405977!important;font-size:14px!important;font-weight:600!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-card .result-pending-artwork>span:last-child{color:#8497af!important;font-size:12px!important;font-weight:400!important}
html body.workspace-readable #resultsView.result-gallery .result-failure-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 0;padding:0;border:0;background:transparent}
html body.workspace-readable #resultsView.result-gallery .result-failure-actions.hidden{display:none!important}
html body.workspace-readable #resultsView.result-gallery #resultFailureMessage{flex:0 1 auto;max-width:640px;margin:0;color:#7890aa;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
html body.workspace-readable #resultsView.result-gallery .result-pending-artwork>button.result-card-retry{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:clamp(24px,calc(var(--home-result-placeholder-height,280px) * .15),34px);max-width:100%;margin:0;padding:clamp(3px,calc(var(--home-result-placeholder-height,280px) * .025),7px) 12px;border:1px solid #246bc4!important;border-radius:8px;background:#246bc4!important;color:#fff!important;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;box-shadow:none!important;cursor:pointer}
html body.workspace-readable #resultsView.result-gallery .result-card-retry svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body.workspace-readable #resultsView.result-gallery .result-card-retry:hover:not(:disabled){background:#1e5da9!important}
html body.workspace-readable #resultsView.result-gallery .result-card-retry:disabled{opacity:.55;cursor:wait}
html body.workspace-readable #resultsView.result-gallery .result-card-retry:focus-visible{outline:3px solid #93baf1;outline-offset:3px}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-failed .result-pending-artwork{gap:clamp(3px,calc(var(--home-result-placeholder-height,280px) * .025),8px)!important;padding:clamp(4px,calc(var(--home-result-placeholder-height,280px) * .04),12px)!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-failed :is(.result-pending-indicator,.generation-placeholder-icon.generation-placeholder-icon){width:clamp(24px,calc(var(--home-result-placeholder-height,280px) - 120px),88px)!important;height:clamp(24px,calc(var(--home-result-placeholder-height,280px) - 120px),88px)!important;margin:0!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-failed .result-pending-artwork>b{font-size:clamp(11px,calc(var(--home-result-placeholder-height,280px) * .07),14px)!important;line-height:1.4!important}

@media(min-width:761px){
 html body.workspace-readable.home-layout-enabled #resultsView.result-gallery #resultGrid#resultGrid#resultGrid .result-pending-card .result-pending-artwork{width:100%!important;height:var(--home-result-placeholder-height,var(--home-result-image-max-height,320px))!important;min-height:0!important;max-height:none!important;aspect-ratio:var(--pending-image-aspect,4/3)!important}
}


/* Reference export dialog: format cards, real resolution and selected-file footer. */
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1:not(.hidden){align-items:center!important;justify-content:center!important;padding:24px!important;background:rgba(27,48,75,.22)!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .professional-files-card{width:min(1060px,calc(100vw - 48px))!important;max-height:calc(100dvh - 48px)!important;padding:0!important;border:1px solid #dae5f3!important;border-radius:22px!important;background:#fff!important;box-shadow:0 24px 80px #294d7024!important;overflow:auto!important;backdrop-filter:none!important}
@media(min-width:761px){
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .professional-files-card{width:min(848px,calc(100vw - 48px))!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .professional-files-card>h2{padding-left:32px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-dialog-subtitle{margin-left:32px!important;margin-right:32px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 #professionalFilesBody{padding-left:32px!important;padding-right:32px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-grid{column-gap:10px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option>span{gap:12px!important;padding-left:8px!important;padding-right:8px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-panel-footer{margin-left:-32px!important;margin-right:-32px!important;padding-left:32px!important;padding-right:32px!important}
}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card:before{display:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>h2{margin:0!important;padding:28px 80px 4px 42px!important;color:#0f2035!important;font-size:34px!important;line-height:1.35!important;letter-spacing:-.025em!important;font-weight:700!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-dialog-subtitle{margin:0 42px 22px!important;padding:0!important;color:#526888!important;font-size:17px!important;line-height:1.6!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>.modal-close{top:24px!important;right:30px!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#607391!important;font-size:31px!important;font-weight:400!important;line-height:1!important;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>.modal-close:hover{background:#f1f5fc!important;color:#1672eb!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFilesBody{padding:0 42px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field{position:relative;margin:0!important;padding:18px 0 20px!important;border:0!important;border-top:1px solid #e2eaf5!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend{float:left;display:flex!important;justify-content:space-between;align-items:center;width:100%!important;margin:0 0 14px!important;padding:0!important;color:#0f2035!important;font-size:21px!important;line-height:1.4!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend small{color:#526888;font-size:14px;font-weight:400}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend small span{margin-left:6px;font-size:23px;vertical-align:-1px}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-grid{clear:both;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{position:relative;display:flex!important;align-items:center!important;gap:20px!important;min-height:104px!important;padding:20px 20px!important;border:1px solid #dbe5f4!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-copy{display:block;min-width:0}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-title{display:block!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{color:#0f2035!important;font-size:19px!important;line-height:1.4!important;font-weight:650!important;white-space:nowrap}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option small{margin-top:4px;color:#526888!important;font-size:14px!important;line-height:1.4!important;font-weight:400!important;white-space:normal!important;overflow:visible!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option .download-format-icon{position:static!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;flex:0 0 36px!important;margin:0!important;border-radius:0!important;background:transparent!important;color:#10253c!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-icon svg{width:36px!important;height:36px!important;stroke-width:1!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-check{display:none;position:absolute;top:10px;right:10px;width:23px;height:23px;border-radius:50%;background:#1674ee;color:#fff;font-size:17px;font-style:normal;line-height:23px;text-align:center}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:has(input:checked)>span{border-color:#1674ee!important;background:#f0f6ff!important;box-shadow:0 0 0 1px #1674ee!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:has(input:checked) .download-format-check{display:block}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:has(input:checked) .download-format-icon{color:#1674ee!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:has(input:focus-visible)>span{outline:3px solid #1674ee40!important;outline-offset:3px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:hover>span{background:#f7faff!important;border-color:#9fc4f6!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.unavailable{cursor:not-allowed!important;opacity:.48}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.unavailable:hover>span{background:#fff!important;border-color:#dbe5f4!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured{grid-column:1/-1!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured>span{min-height:40px!important;padding:8px 14px!important;gap:10px!important;border-style:dashed!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured .download-format-icon,html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured svg{width:21px!important;height:21px!important;flex-basis:21px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured .download-format-copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured b{font-size:13px!important;font-weight:500!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option.featured small{margin:0;font-size:12px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced{margin:0!important;border-top:1px solid #e2eaf5!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading{padding:20px 0 10px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading h3{font-size:21px!important;color:#0f2035!important;font-weight:650!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced>div:not(.download-advanced-heading){padding:0!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field{margin:0 0 16px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field>label{display:grid!important;grid-template-columns:1fr 1.1fr!important;gap:20px!important;align-items:center!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-copy b{color:#0f2035!important;font-size:16px!important;font-weight:600!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-copy i{display:inline-grid;place-items:center;width:18px;height:18px;margin-left:6px;border:1.5px solid #7485a0;border-radius:50%;color:#7485a0;font-size:12px;font-style:normal}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-copy small{display:block;margin-top:5px;color:#526888;font-size:14px;font-weight:400}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field select{width:100%!important;height:50px!important;padding:0 15px!important;border:1px solid #dbe5f4!important;border-radius:9px!important;background:#fff!important;color:#0f2035!important;font-size:17px!important;font-weight:500!important;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalPrintDpiStatus{display:block!important;margin-top:7px!important;color:#7b8ba2!important;font-size:11px!important;text-align:right}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-production-facts{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 22px!important;padding:13px 15px!important;border:0!important;border-radius:9px!important;background:#f0f6ff!important;color:#526888!important;font-size:14px!important;line-height:1.5!important;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-production-facts>i{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:#1674ee;color:#fff;font-size:17px;font-style:normal;font-family:serif}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalMasterState{display:block!important;color:#526888!important;font-size:14px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalSizeSummary{display:block!important;margin-top:3px;color:#7c8da6!important;font-size:11px!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-panel-footer{position:sticky!important;bottom:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin:0 -42px!important;padding:18px 42px 24px!important;border-top:1px solid #e2eaf5!important;background:#fff!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-selected{display:grid;gap:5px;min-width:0}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-selected>span{color:#526888;font-size:14px}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-selected>b{color:#0f2035;font-size:21px;font-weight:650}
html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-footer-actions{display:flex;gap:14px;align-items:center;flex-shrink:0}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadCancel{min-width:125px!important;min-height:58px!important;padding:12px 25px!important;border:1px solid #dbe5f4!important;border-radius:10px!important;background:#f5f8fd!important;color:#526888!important;font-size:18px!important;font-weight:600!important;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadConfirm{display:flex!important;align-items:center;justify-content:center;gap:12px!important;min-width:220px!important;min-height:58px!important;width:auto!important;padding:12px 25px!important;border:1px solid #1674ee!important;border-radius:10px!important;background:#1674ee!important;color:#fff!important;font-size:18px!important;font-weight:600!important;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadConfirm:before{content:"";width:23px;height:23px;flex:0 0 23px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-6-5 6 6 6-6M4 16v5h16v-5'/%3E%3C/svg%3E") center/contain no-repeat}
html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadConfirm:disabled{opacity:.55!important;cursor:wait!important}
@media(max-width:1050px){
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{gap:12px!important;padding:16px 12px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{font-size:16px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option small{font-size:12px!important}
}
@media(max-width:760px){
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1:not(.hidden){padding:12px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .professional-files-card{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:18px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>h2{padding:22px 54px 4px 20px!important;font-size:26px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>.modal-close{top:18px!important;right:14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-dialog-subtitle{margin:0 20px 18px!important;font-size:13px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFilesBody{padding:0 20px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend,html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading h3{font-size:18px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend small{font-size:11px}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{min-height:83px!important;gap:10px!important;padding:12px 10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option .download-format-icon,html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-icon svg{width:28px!important;height:28px!important;flex-basis:28px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{font-size:14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option small{font-size:11px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-check{top:6px;right:6px;width:17px;height:17px;font-size:12px;line-height:17px}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field>label{grid-template-columns:1fr!important;gap:12px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field select{font-size:15px!important;height:44px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-production-facts{font-size:12px!important;margin-bottom:16px!important;padding:11px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalMasterState{font-size:12px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-panel-footer{flex-wrap:wrap!important;gap:14px!important;margin:0 -20px!important;padding:14px 20px 18px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-selected>b{font-size:17px}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-footer-actions{width:100%;gap:10px}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadCancel{min-width:0!important;min-height:46px!important;flex:1;font-size:15px!important;padding:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadConfirm{min-width:0!important;min-height:46px!important;flex:1.7;font-size:15px!important;padding:10px!important;gap:8px!important}
}
@media(max-width:359px){
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalFilesBody{padding:0 14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{gap:7px!important;padding:12px 8px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{font-size:12px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-panel-footer{margin:0 -14px!important;padding-left:14px!important;padding-right:14px!important}
}

@media(min-width:761px) and (max-height:800px){
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .professional-files-card>h2{padding-top:18px!important;font-size:28px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-dialog-subtitle{margin-bottom:14px!important;font-size:15px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field{padding-top:14px!important;padding-bottom:14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-field>legend{margin-bottom:10px!important;font-size:18px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-grid{gap:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option:not(.featured)>span{min-height:72px!important;padding-top:10px!important;padding-bottom:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading{padding-top:14px!important;padding-bottom:8px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-advanced-heading h3{font-size:18px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-resolution-field{margin-bottom:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-production-facts{margin-bottom:14px!important;padding-top:10px!important;padding-bottom:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-panel-footer{padding-top:14px!important;padding-bottom:16px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadConfirm,html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalDownloadCancel{min-height:48px!important}
}

html body.workspace-readable #professionalFilesModal.download-layout-v1 #professionalPrintDpiStatus:empty{display:none!important}

@media(min-width:761px) and (max-width:850px){
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option>span{gap:9px!important;padding-left:10px!important;padding-right:10px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option b{font-size:14px!important}
 html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-option .download-format-icon,html body.workspace-readable #professionalFilesModal.download-layout-v1 .download-format-icon svg{width:26px!important;height:26px!important;flex-basis:26px!important}
}


/* Illustrated export dialog based on the supplied October 14 reference. */
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .professional-files-card{background:linear-gradient(135deg,#fff 0%,#fcfdff 60%,#f9fbff 100%)!important;border-color:#e1e9f4!important;box-shadow:0 24px 70px #264a7126!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-export-eyebrow{position:absolute;top:65px;right:32px;color:#8091b0;font-size:8px;letter-spacing:7px;pointer-events:none}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured)>span{min-height:106px!important;gap:11px!important;padding:15px 8px!important;background:linear-gradient(145deg,#fff,#fafcff)!important;border-color:#dce5f3!important;border-radius:11px!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) .download-format-icon{width:46px!important;height:64px!important;flex:0 0 46px!important;overflow:visible!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-icon img{display:block;width:54px!important;height:54px!important;max-width:none!important;border:0!important;border-radius:0!important;background:none!important;object-fit:contain;box-shadow:none!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) b{font-size:17px!important;line-height:1.35!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) small{margin-top:3px!important;font-size:12px!important;line-height:1.4!important;color:#506987!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-hint{display:block;margin-top:3px;color:#7d91af;font-size:10px;font-style:normal;line-height:1.45;white-space:normal}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:has(input:checked)>span{background:linear-gradient(135deg,#f4f8ff,#eef5ff)!important;border-color:#1674ee!important;box-shadow:0 0 0 1px #1674ee!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-check{width:20px;height:20px;font-size:14px;line-height:20px;top:9px;right:9px;box-shadow:0 2px 5px #1674ee18}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-resolution-copy{position:relative;padding-left:37px}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-resolution-copy:before{content:"";position:absolute;left:0;top:2px;width:25px;height:29px;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28' fill='none' stroke='%238092ae' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 6-10 6L2 8Zm-10 12 10 6 10-6M2 20l10 6 10-6'/%3E%3C/svg%3E") center/contain no-repeat}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 #professionalDownloadConfirm{background:linear-gradient(135deg,#2181f3,#1064df)!important;border-color:#136de6!important;box-shadow:0 4px 12px #1674ee12!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 #professionalDownloadCancel{background:linear-gradient(135deg,#f7f9fd,#f0f4fa)!important}
@media(min-width:761px) and (max-height:800px){
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured)>span{min-height:84px!important;padding-top:10px!important;padding-bottom:10px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-field{padding-top:10px!important;padding-bottom:10px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .professional-files-card>h2{padding-top:18px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-dialog-subtitle{margin-bottom:12px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option.featured>span{min-height:32px!important;padding-top:5px!important;padding-bottom:5px!important}
}
@media(max-width:760px){
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-export-eyebrow{display:none}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured)>span{min-height:105px!important;gap:8px!important;padding:13px 9px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) .download-format-icon{width:34px!important;flex-basis:34px!important;height:48px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-icon img{width:42px!important;height:42px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) b{font-size:14px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) small{font-size:11px!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-hint{font-size:10px}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-field>legend small{font-size:10px!important}
}
@media(max-width:359px){
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured)>span{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;text-align:center!important}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-icon{justify-self:center}
 html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option:not(.featured) b{font-size:13px!important}
}

@media(min-width:761px) and (max-height:800px){html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-advanced-heading{padding-top:10px!important}}

@media(min-width:761px) and (max-height:800px){html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-production-facts{margin-bottom:10px!important}}

/* Processing results use the same gallery shell as ordinary image generation. */
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-delivery-note{margin:0 0 10px!important;padding:0!important;font-size:12px!important;line-height:1.6!important;color:#738597!important;overflow-wrap:anywhere}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-info{min-height:0!important;margin:0!important;padding:0 0 10px!important;border:0!important;background:transparent!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .upscale-result-detail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 10px!important;margin:0!important;font-size:12px!important;line-height:1.6!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .upscale-result-detail>em{grid-column:1/-1!important;margin:0!important;padding:5px 8px!important;font-size:11px!important;line-height:1.6!important;border-radius:6px!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .vector-comparison{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .vector-comparison>figure{min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .vector-comparison figcaption{margin:0 0 8px!important;font-size:12px!important;line-height:1.5!important;color:#738597!important;text-align:center!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .vector-comparison img{display:block!important;width:100%!important;height:clamp(150px,28vh,300px)!important;object-fit:contain!important;border-radius:8px!important;background:#f1f4f7!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .vector-comparison button{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .specialist-file-actions{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar>a{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:34px!important;padding:7px 4px!important;border:1px solid #e3eaf1!important;border-radius:6px!important;background:#fafbfd!important;color:#435d72!important;font-size:11px!important;line-height:1.5!important;text-decoration:none!important}

html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar:has(>button:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.workspace-readable #resultsView.result-gallery #resultGrid#resultGrid .result-action-toolbar:has(>button:only-child){grid-template-columns:minmax(0,1fr)!important}

/* Keep generation provenance in the full-image details, not the result card. */
html body.workspace-readable #assetPreviewProvenance[hidden]{display:none!important}
html body.workspace-readable #assetPreviewProvenance{margin-top:12px}
html body.workspace-readable #assetPreviewProvenance .upscale-result-detail{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;margin:0!important;font-size:12px!important;line-height:1.6!important}
html body.workspace-readable #assetPreviewProvenance .upscale-result-detail>em{margin:0!important;padding:0!important;background:transparent!important;color:#738597!important;font-size:11px!important;line-height:1.6!important;border-radius:0!important}



/* Giant-image entry replaces the former delivery-package row. */
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"]>span{min-height:76px!important;padding:14px 18px!important;gap:15px!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1:not(.hidden){z-index:120!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"] .download-format-icon,html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"] svg{width:32px!important;height:32px!important;flex-basis:32px!important;color:#2777d9}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"] b{font-size:17px!important;font-weight:600!important}
html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"] small{font-size:12px!important;line-height:1.5!important}
@media(max-width:760px){html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"]>span{min-height:66px!important;padding:12px 14px!important}html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"] .download-format-copy{gap:4px!important}html body.workspace-readable #professionalFilesModal#professionalFilesModal.download-layout-v1 .download-format-option[data-format="large_print"] b{font-size:16px!important}}
/* Image enhancement uses its two dedicated routes, not the image-generation model picker. */
body.upscale-only #imageModelPicker,body.upscale-only #promptProfessionalizeBtn,body.upscale-only #promptLibraryOpenBtn{display:none!important}
html body.workspace-readable.upscale-only.home-layout-enabled #dashboardCreationPane :is(#imageModelPicker#imageModelPicker#imageModelPicker,#promptProfessionalizeBtn#promptProfessionalizeBtn#promptProfessionalizeBtn,#promptLibraryOpenBtn#promptLibraryOpenBtn#promptLibraryOpenBtn){display:none!important}
html body.workspace-readable.upscale-only.home-layout-enabled #dashboardCreationPane .config-step::after{display:none!important}
html body.workspace-readable.upscale-only :is(#imageModelPicker#imageModelPicker#imageModelPicker,#promptProfessionalizeBtn#promptProfessionalizeBtn#promptProfessionalizeBtn,#promptLibraryOpenBtn#promptLibraryOpenBtn#promptLibraryOpenBtn){display:none!important}
html body.workspace-readable #resultGrid .giant-result-card{width:420px!important;max-width:100%!important}
html body.workspace-readable #resultGrid .giant-source-preview img{max-height:140px!important;width:auto!important}
.giant-output-pixels{padding:6px 14px;color:#23425f;display:flex;gap:6px;flex-direction:column;font-size:13px}
.giant-output-pixels span{font-size:12px;color:#61768b}
html body.workspace-readable.home-layout-enabled #resultsView.result-gallery #resultGrid .result-card.giant-result-card{display:flex!important;flex-direction:column!important;width:420px!important;max-width:100%!important}
.giant-result-card .giant-output-pixels{order:0}
.giant-result-card .giant-download-settings{order:1}
.giant-result-card .giant-source-preview{order:2}
.giant-result-card .giant-download-settings select{max-width:145px;font-size:12px}
.giant-result-card .giant-download-settings button{font-size:12px;padding:10px 14px}
/* Match the compact ratio/count controls without changing the prompt editor. */
html body.workspace-readable.home-layout-enabled #dashboardCreationPane #upscaleModeSelector{order:4;flex:0 0 auto!important;width:auto!important}
html body.workspace-readable #upscaleModeBtn{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:114px;gap:2px!important}
html body.workspace-readable #upscaleModeBtn span{font-size:10px;color:#7b8da8}
html body.workspace-readable #upscaleModeBtn b{font-size:12px;font-weight:550;white-space:nowrap}
html body.workspace-readable #upscaleModeMenu .choice{padding:10px 12px;border:1px solid #d4e3f7;border-radius:9px;background:#f5f9ff;color:#25446f;font-size:13px;cursor:pointer}
html body.workspace-readable #upscaleModeMenu .choice:hover{background:#e6f0ff;border-color:#7aaaf0}
html body.workspace-readable #upscaleModeMenu .choice.active{background:#176bdd!important;border-color:#176bdd!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
html body.workspace-readable #upscaleModeMenu .choice:focus-visible{outline:2px solid #176bdd;outline-offset:2px}

/* Keep HD send aligned with the shared composer's right-hand action. */
@media(min-width:761px){html body.workspace-readable.upscale-only.home-layout-enabled #dashboardCreationPane #generateBtn#generateBtn{margin-left:auto!important}}
