.psd-export-modal{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:24px;background:rgba(5,11,16,.62);backdrop-filter:blur(22px) saturate(130%)}
.psd-export-modal.hidden{display:none}
.psd-export-shell{width:min(1080px,94vw);max-height:92vh;overflow:hidden;border:1px solid rgba(255,255,255,.56);border-radius:34px;background:linear-gradient(135deg,rgba(240,252,248,.88),rgba(207,237,229,.72));box-shadow:0 38px 110px rgba(1,13,16,.34),inset 0 1px 0 rgba(255,255,255,.94);color:#12302f}
.psd-export-header{display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid rgba(21,77,70,.15);background:linear-gradient(90deg,rgba(255,255,255,.5),rgba(191,231,222,.28))}
.psd-export-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:linear-gradient(145deg,#16a085,#087b6b);box-shadow:inset 0 1px 1px rgba(255,255,255,.55),0 12px 30px rgba(4,111,95,.2);color:#fff;font-size:19px;font-weight:800}
.psd-export-header div{min-width:0}.psd-export-header small{display:block;color:#547a74;font-size:10px;font-weight:800;letter-spacing:.16em}.psd-export-header h2{margin:3px 0 0;font-size:22px;letter-spacing:-.02em}.psd-export-header button{margin-left:auto;width:42px;height:42px;border:1px solid rgba(15,74,67,.18);border-radius:50%;background:rgba(255,255,255,.55);color:#214640;font-size:25px;cursor:pointer}
.psd-export-body{display:grid;grid-template-columns:minmax(280px,40%) 1fr;gap:0;max-height:calc(92vh - 87px);overflow:auto}
.psd-export-preview-wrap{padding:24px;border-right:1px solid rgba(21,77,70,.14);background:rgba(239,250,246,.46)}
.psd-export-preview-wrap>img{display:block;width:100%;max-height:58vh;object-fit:contain;border-radius:22px;background:linear-gradient(135deg,#d9eee8,#c5e3da);box-shadow:0 18px 48px rgba(27,73,66,.16)}
.psd-export-source-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid rgba(18,83,74,.13);border-radius:16px;background:rgba(255,255,255,.48);font-size:12px}.psd-export-source-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#66847f}
.psd-export-workspace{display:flex;flex-direction:column;gap:14px;padding:24px;overflow:auto}.psd-export-workspace section{border:1px solid rgba(17,87,77,.15);border-radius:22px;background:rgba(255,255,255,.47);box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}.psd-export-workspace section.hidden{display:none}
.psd-export-auth,.psd-export-ready,.psd-export-progress,.psd-export-results,.psd-export-text{padding:20px}.psd-export-auth>span{display:inline-flex;padding:5px 10px;border-radius:999px;background:#dbf2eb;color:#117561;font-size:11px;font-weight:800}.psd-export-auth h3{margin:13px 0 7px;font-size:20px}.psd-export-auth p,.psd-export-ready p,.psd-export-progress p{margin:0;color:#54736e;font-size:13px;line-height:1.65}.psd-export-auth>small,.psd-export-text>small{display:block;margin-top:12px;color:#6b8883;font-size:11px;line-height:1.55}
.psd-export-auth-actions{display:flex;gap:10px;margin-top:16px}.psd-export-auth-actions a,.psd-export-auth-actions button,.psd-export-primary,.psd-export-text button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid rgba(8,109,93,.2);border-radius:14px;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.psd-export-auth-actions a,.psd-export-primary,.psd-export-text button{background:linear-gradient(135deg,#129a82,#087668);color:#fff;box-shadow:0 10px 24px rgba(4,113,96,.18)}.psd-export-auth-actions button{background:rgba(255,255,255,.62);color:#176b5f}
.psd-export-capabilities{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.psd-export-capabilities span{padding:7px 10px;border-radius:999px;background:rgba(217,241,234,.85);color:#256c61;font-size:11px;font-weight:700}.psd-export-primary{width:100%;font-size:15px}.psd-export-ready p{text-align:center;margin-top:12px}
.psd-export-eta{display:block;margin-top:10px;color:#256c61;font-size:12px;font-weight:800;line-height:1.5;text-align:center}.psd-export-eta.hidden{display:none}.psd-export-progress .psd-export-eta{padding-top:10px;border-top:1px solid rgba(17,87,77,.12);color:#3d746b;text-align:left}
.psd-export-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:800}.psd-export-progress-head em{padding:5px 9px;border-radius:999px;background:#dff4ee;color:#177564;font-size:10px;font-style:normal}.psd-export-progress-track{height:7px;margin:16px 0;border-radius:999px;overflow:hidden;background:rgba(29,106,95,.12)}.psd-export-progress-track i{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b8c76,#7bd9c3);animation:psd-exportLoading 1.5s ease-in-out infinite alternate}.psd-export-progress.failed .psd-export-progress-track i{width:100%;background:#c85454;animation:none}.psd-export-progress.completed .psd-export-progress-track i{width:100%;animation:none}
@keyframes psd-exportLoading{from{transform:translateX(-35%)}to{transform:translateX(185%)}}
.psd-export-section-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.psd-export-section-title span{font-weight:850}.psd-export-section-title small{color:#78918d}.psd-export-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.psd-export-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0}.psd-export-file{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid rgba(17,87,77,.13);border-radius:14px;background:rgba(247,255,252,.65);color:#1d5c52;text-decoration:none}.psd-export-file img{width:54px;height:48px;object-fit:cover;border-radius:9px;background:#cfe8e1}.psd-export-file i{display:grid;place-items:center;width:54px;height:48px;border-radius:9px;background:#d9eee8;color:#117561;font-style:normal;font-weight:850}.psd-export-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700}
.psd-export-text label{display:block;margin-bottom:9px;font-weight:850}.psd-export-text textarea{box-sizing:border-box;width:100%;min-height:96px;resize:vertical;padding:13px 14px;border:1px solid rgba(14,88,77,.2);border-radius:15px;outline:none;background:rgba(250,255,253,.7);color:#173c37;font:inherit;line-height:1.55}.psd-export-text textarea:focus{border-color:#18a087;box-shadow:0 0 0 3px rgba(18,154,130,.11)}.psd-export-text button{width:100%;margin-top:10px}
.psd-export-text p{margin:0;color:#54736e;font-size:13px;line-height:1.7}.psd-export-file span{display:flex;flex-direction:column;gap:3px}.psd-export-file span b{font-size:12px}.psd-export-file span small{overflow:hidden;text-overflow:ellipsis;color:#6b8883;font-size:10px;font-weight:600}
@media(max-width:760px){.psd-export-modal{padding:8px}.psd-export-shell{width:100%;max-height:97vh;border-radius:24px}.psd-export-body{grid-template-columns:1fr;max-height:calc(97vh - 84px)}.psd-export-preview-wrap{border-right:0;border-bottom:1px solid rgba(21,77,70,.14)}.psd-export-preview-wrap>img{max-height:32vh}.psd-export-workspace{padding:16px}.psd-export-files{grid-template-columns:1fr}.psd-export-file-row{grid-template-columns:1fr}}
