.document-studio{--studio-ink:#24124e;--studio-muted:#665a7c;--studio-line:#e6ddf7;color:var(--studio-ink);background:#fcfaff;border:1px solid #ebe3fa;border-radius:25px;padding:0;width:min(1040px,95vw);max-height:min(850px,calc(100dvh - 32px));box-shadow:0 24px 85px #42226a2b;overflow:hidden;font:inherit;line-height:1.45}.document-studio[open]{display:flex;flex-direction:column}.document-studio::backdrop{background:#e5dafa88;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.document-studio *{box-sizing:border-box}.studio-header{display:flex;align-items:center;gap:18px;padding:22px 28px 18px;background:linear-gradient(115deg,#fff,#f0e7ff 67%,#f7eaff);flex-shrink:0}.studio-emblem{display:grid;place-items:center;width:62px;height:65px;flex-shrink:0;color:#fff;border-radius:20px;background:linear-gradient(145deg,#bd64ff,#7941f2 58%,#49bcff);box-shadow:0 7px 20px #9359f23b}.studio-emblem svg{width:30px;height:38px}.studio-header p{margin:0;color:#594777;font-size:.82rem}.studio-header p:first-child{color:#482372;font-weight:750;letter-spacing:.03em}.studio-header p:first-child span{font-weight:450;margin-left:10px}.studio-header h2{margin:3px 0;font-size:clamp(1.35rem,2.4vw,2rem);line-height:1.2;color:#41147b;letter-spacing:-.035em}.studio-close{margin-left:auto;align-self:flex-start;background:#fff9;border:1px solid #e2d6f4;border-radius:50%;width:36px;height:36px;flex-shrink:0;color:#5b397b;font:inherit;font-size:1.5rem;cursor:pointer}.studio-preview-note{margin:0;padding:6px 28px;background:#f0f5ff;color:#445b83;font-size:.72rem;flex-shrink:0}.studio-steps{display:flex;list-style:none;gap:10px;padding:15px 28px;margin:0;background:#fff;border-bottom:1px solid var(--studio-line);flex-shrink:0}.studio-steps li{flex:1 1;display:flex;align-items:center;gap:9px;color:#786a8e;font-size:.86rem;padding:9px 12px;background:#f6f2fc;border-radius:12px;font-weight:650}.studio-steps li>span{display:grid;place-items:center;width:25px;height:25px;background:#e4dbf1;border-radius:50%;font-size:.8rem;flex-shrink:0}.studio-steps [aria-current=step]{color:#4b167f;background:linear-gradient(100deg,#eedfff,#f7eeff)}.studio-steps [aria-current=step]>span{color:white;background:linear-gradient(145deg,#cb64ff,#7624ee);box-shadow:0 3px 9px #984de743}.studio-steps [data-complete=true]{background:#eaf9ef;color:#216b39}.studio-steps [data-complete=true]>span{background:#19bb3d;color:#fff}.studio-body{overflow:auto;overscroll-behavior:contain;padding:20px 28px 24px;min-height:0;scrollbar-width:thin}.studio-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.studio-field{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:.86rem;min-width:0;color:#352055}.studio-field small{font-weight:400;color:#746187}.studio-field input,.studio-field textarea,.studio-select>button{width:100%;min-height:43px;padding:10px 12px;border:1px solid #d8cbe9;border-radius:10px;background:#fff;color:#2a1c43;font:inherit;font-weight:450;outline:none;box-shadow:0 1px 2px #633c8610}.studio-field textarea{resize:vertical;min-height:76px;max-height:145px;line-height:1.5}.studio-field input:focus,.studio-field textarea:focus,.studio-select>button:focus-visible{border-color:#9e66ed;box-shadow:0 0 0 3px #b888f72b}.studio-instructions{margin:16px 0}.studio-select{position:relative}.studio-select>button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.studio-select>button>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:15;background:white;box-shadow:0 9px 26px #48257024;border:1px solid #d9c9ed;border-radius:12px;padding:7px;font-weight:450}.studio-options input{min-height:38px;padding:8px}.studio-options [role=listbox]{max-height:210px;overflow:auto;margin-top:5px}.studio-options [role=option]{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px;border-radius:7px;min-height:40px;font:inherit;font-size:.85rem;color:#35214e;cursor:pointer}.studio-options [role=option].is-active,.studio-options [role=option]:hover{background:#f0e5ff}.studio-options [aria-selected=true]{font-weight:750;color:#7c2bcb}.studio-option-group{margin:7px 8px 3px;color:#756483;font-size:.69rem;letter-spacing:.04em;text-transform:uppercase}.studio-mode{display:flex;gap:5px;padding:4px;background:#f0e9f9;border-radius:10px;min-height:43px}.studio-mode button{border:0;background:transparent;color:#665079;flex:1 1;border-radius:7px;padding:5px 8px;font:inherit;font-size:.8rem;cursor:pointer}.studio-mode [aria-pressed=true]{background:white;color:#6327a2;box-shadow:0 2px 5px #4a26771a;font-weight:750}.studio-mode button:disabled{cursor:default;opacity:.4}.studio-pattern{background:#f0edff;border:1px solid #e4dcff;border-radius:12px;padding:12px 15px;margin:16px 0 0;font-size:.8rem;color:#4e3b76}.studio-pattern p{margin:4px 0}.studio-text-button{border:0;background:transparent;color:#6f28b9;padding:3px 0;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer;align-self:flex-start;font-size:.8rem}.studio-validation{color:#80500e;background:#fff9ed;padding:9px 12px;border-radius:8px;font-size:.8rem;margin-bottom:0}.studio-footer{padding:15px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--studio-line);background:#fff;flex-shrink:0}.studio-footer>small{max-width:250px;color:#746781;font-size:.7rem}.studio-footer>div{display:flex;gap:10px;align-items:center}.studio-download,.studio-primary,.studio-secondary{border:1px solid #a666ef;border-radius:11px;min-height:44px;padding:11px 17px;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px}.studio-download,.studio-primary{background:linear-gradient(160deg,#d06cff,#a539fb 30%,#8130ee 70%,#a252ff);color:#fff;box-shadow:0 4px 9px #a34af134,inset 0 1px 1px #ffffff80}.studio-primary:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.studio-secondary{background:#fff;color:#4a2781;border-color:#d8c5ef}.studio-download:hover:not(:disabled),.studio-primary:hover:not(:disabled){filter:brightness(1.05)}.studio-download:disabled{opacity:.6;cursor:wait}.studio-ready,.studio-working{text-align:center;padding:13px 0 8px}.studio-ready h3,.studio-working h3{font-size:1.5rem;line-height:1.25;margin:16px 0 8px;letter-spacing:-.03em;color:#31105c}.studio-ready>p,.studio-working p{font-size:.87rem;margin:6px 0;color:#66517b}.studio-working small{display:block;max-width:450px;margin:18px auto 0;color:#766585;font-size:.78rem}.studio-paper{width:82px;height:96px;margin:5px auto 20px;position:relative;display:grid;place-items:center;background:linear-gradient(150deg,#fff,#f0dfff);box-shadow:0 7px 20px #aa70e834;border:1px solid #e5d3fb;border-radius:15px;color:#9d49e9}.studio-paper svg{width:39px;height:50px}.studio-orbit{position:absolute;inset:-11px;border-radius:50%;border:4px solid #eadefb;border-top-color:#9a46f5;animation:studio-spin 1.7s linear infinite}.studio-paper.is-ready{background:#f0fff6;border-color:#c3efd4;color:#8e48d7}.studio-paper.is-failed{color:#b15d42;background:#fff5ed}.studio-working progress{display:block;max-width:280px;width:100%;height:5px;margin:18px auto;accent-color:#963ce9}.studio-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;text-align:left;margin:18px 0 0}.studio-file-grid article{padding:15px;border:1px solid #e0d2f4;border-radius:15px;background:#fff;min-width:0;box-shadow:0 4px 15px #7850a00d}.studio-file-grid h4{font-size:.9rem;margin:0 0 5px;color:#3c1c65}.studio-file-grid small{display:block;font-size:.71rem;overflow-wrap:anywhere;color:#7a698b;margin-bottom:12px}.studio-file-grid .studio-download{width:100%;margin:5px 0;min-height:47px}.studio-file-grid .studio-download~.studio-download{background:#fff;color:#6525a3;border-color:#ba8cec;box-shadow:0 3px 8px #9c66c91a}.studio-file-grid details{font-size:.78rem;margin-top:10px}.studio-disclaimer{padding:12px 15px;background:#f3efff;border:1px solid #e3d9fb;border-radius:12px;margin-top:18px;font-size:.75rem;line-height:1.6;color:#4b3871}.studio-disclaimer p{margin:5px 0 0}.studio-error{padding:12px;background:#fff1ed;border:1px solid #f1cbbd;border-radius:10px;font-size:.85rem;margin-top:12px;color:#8a3729}.studio-error button{display:block;margin-top:8px}.studio-status-frame{background:#fcfaff;border:1px solid #e1d4f4;border-radius:16px;box-shadow:0 4px 16px #8651b610;padding:16px;margin:10px 0;color:#35204e}.studio-status-frame>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.studio-status-frame>header>span{font-size:.76rem;display:flex;align-items:center;gap:6px;color:#704c91}.studio-status-frame progress{display:block;width:100%;height:4px;accent-color:#9d4bef}.studio-spinner{display:inline-block;width:13px;height:13px;border:2px solid #e1c9fa;border-top-color:#943eea;border-radius:50%;animation:studio-spin 1s linear infinite;flex-shrink:0}.studio-status-frame .document-status-actions{display:flex;gap:9px;flex-wrap:wrap}.studio-status-frame .studio-download{font-size:.8rem}.studio-composer-row{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;align-items:stretch}.studio-composer-input{min-width:0}.studio-dock{position:relative;display:flex;align-items:center;gap:12px;width:100%;border:1px solid #a377ec;background:linear-gradient(160deg,#a561ef,#7131c5 35%,#49168b 75%,#6325b2);color:#fff;font:inherit;text-align:left;padding:13px 15px;min-height:86px;border-radius:17px;box-shadow:0 6px 16px #602da333,inset 0 1px 1px #ffffff80;cursor:pointer}.studio-dock:hover{filter:brightness(1.06)}.studio-dock-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.studio-dock-copy strong{font-size:1rem;line-height:1.2}.studio-dock-copy>span{font-size:.72rem;line-height:1.4;font-weight:450}.studio-dock-copy small{font-size:.67rem;line-height:1.3}.studio-dock>span:last-child{margin-left:auto}.studio-dock>svg{flex-shrink:0;width:24px;height:30px}.document-studio a{color:#7130a2;overflow-wrap:anywhere}.document-studio :focus-visible,.studio-dock:focus-visible,.studio-download:focus-visible{outline:3px solid #9e64e4;outline-offset:3px}.document-studio details summary{cursor:pointer;color:#643a8d}@keyframes studio-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.studio-orbit,.studio-spinner{animation:none}}@media(max-width:650px){.document-studio{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.studio-header{gap:11px;padding:16px}.studio-header h2{font-size:1.32rem}.studio-header p{font-size:.7rem}.studio-header p:first-child span{display:none}.studio-emblem{width:43px;height:48px;border-radius:13px}.studio-emblem svg{width:23px;height:30px}.studio-close{width:32px;height:32px}.studio-steps{padding:10px 12px;gap:5px}.studio-steps li{font-size:.66rem;padding:7px 6px;gap:5px;border-radius:9px}.studio-steps li>span{width:21px;height:21px;font-size:.68rem}.studio-preview-note{font-size:.61rem;padding:5px 16px}.studio-body{padding:15px 16px}.studio-fields{grid-template-columns:1fr;gap:13px}.studio-instructions{margin:13px 0}.studio-footer{padding:11px 14px;display:block}.studio-footer>small{display:none}.studio-footer>div{display:flex;gap:8px}.studio-footer button{flex:1 1;font-size:.75rem;padding:10px 9px}.studio-ready h3,.studio-working h3{font-size:1.25rem}.studio-paper{width:64px;height:76px;margin-bottom:17px}.studio-working{padding:10px 0}.studio-working small{margin-top:13px}.studio-file-grid{gap:10px;margin-top:13px}.studio-file-grid article{padding:12px}.studio-disclaimer{font-size:.69rem;padding:11px}.studio-status-frame>header{align-items:flex-start;flex-direction:column}.studio-options [role=listbox]{max-height:170px}}@media(max-width:1100px){.studio-composer-row{grid-template-columns:215px minmax(0,1fr);gap:10px}.studio-dock{padding:11px;gap:9px}}@media(max-width:900px){.studio-composer-row{grid-template-columns:minmax(0,1fr)}.studio-dock{min-height:76px;padding:12px 16px}.studio-dock-copy>span{font-size:.76rem}}