.nextler-brand{display:inline-flex;align-items:center;text-decoration:none}.nextler-logo{display:block;width:190px;height:auto}.editor-open>header,.editor-open #start,.editor-open>footer{display:none}.editor-open main{margin:0!important}.editor-open{overflow:hidden;background:#f2f2f6}
.editor{--accent:#5932b7;--ink:#211831;--muted:#80798c;--border:#e4e1ea;display:grid;grid-template-columns:clamp(320px,28.5vw,450px) minmax(0,1fr);gap:12px;height:100dvh;padding:12px;background:#f3f3f7;color:var(--ink);font:14px/1.5 Inter,system-ui,sans-serif;text-align:left}.editor[hidden]{display:none}.editor button{font:inherit;cursor:pointer}.editor button:disabled{opacity:.4;cursor:default}.editor button:focus-visible,.editor a:focus-visible,.editor textarea:focus-visible{outline:2px solid #8055cd;outline-offset:3px}.editor svg{width:20px;height:20px;flex:none;overflow:visible}.chat-panel{display:flex;flex-direction:column;min-height:0;background:linear-gradient(145deg,#fbfbfd,#f8f8fb 60%,#f4f2f9);border:1px solid #e0dce7;border-radius:20px;box-shadow:0 12px 30px #31234609;overflow:hidden}.chat-header{display:flex;align-items:center;justify-content:space-between;flex:none;height:88px;padding:12px 20px;background:linear-gradient(#fbfbfd 80%,#fbfbfd00);z-index:1}.chat-header .nextler-logo{width:174px}.icon-button,.text-button,.subtle-button,.tool-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:#635c70;border-radius:10px;min-height:38px;padding:9px;white-space:nowrap;transition:background .18s,color .18s,box-shadow .18s}.icon-button{width:38px;flex:none}.icon-button:hover,.text-button:hover,.subtle-button:hover,.tool-button:hover{background:#e9e5f0;color:var(--ink)}.conversation{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d6d0df transparent;padding:22px 22px 32px}.conversation h2{font-size:22px;line-height:1.25;letter-spacing:-.045em;font-weight:600;margin:2px 0 14px}.message{margin:0 0 24px}.message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.message.assistant{padding:0 1px;color:#5b5367;max-width:96%}.message.user{max-width:92%;width:fit-content;padding:13px 17px;background:#e8e4ef;border-radius:18px 18px 4px 18px;margin-left:auto;color:#352943}.message.error{color:#9d364a;font-size:13px;border-left:2px solid #c77584;padding-left:12px}.chat-bottom{padding:0 16px 9px;flex:none}.chat-composer{margin:0;background:#fff;border:1px solid #e0dce7;border-radius:20px;padding:16px 16px 12px;box-shadow:0 3px 5px #261c3c06,0 8px 23px #261c3c08;transition:box-shadow .2s,border-color .2s}.chat-composer:focus-within{border-color:#b7a4da;box-shadow:0 5px 28px #56379112}.chat-composer textarea{display:block;width:100%;min-height:48px;max-height:170px;resize:none;border:0!important;border-radius:0!important;outline:0!important;background:transparent;color:var(--ink);font:14px/1.65 Inter,system-ui,sans-serif;padding:0;box-shadow:none!important;scrollbar-width:thin}.chat-composer textarea::placeholder{color:#96909e}.composer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.composer-hint{font-size:11px;letter-spacing:.025em;color:#a29aaa}.send-button{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#5932b7;color:white;border:1px solid #ffffff30;box-shadow:0 3px 6px #5932b720;transition:transform .18s,background .18s}.send-button:hover{background:#49249e;transform:translateY(-1px)}.send-button svg{width:20px;height:20px}.chat-footer{display:flex;align-items:center;gap:2px;padding-top:7px}.chat-footer .text-button{margin-right:auto;font-size:12px;padding-left:5px;max-width:75%}.chat-footer .text-button svg{width:16px;height:16px}.suggestion-list{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.suggestion-list:empty{display:none}.suggestion-list button{font-size:12px!important;line-height:1.45;border:1px solid #ded7e9;color:#6e5c89;background:#ffffffb3;padding:7px 10px;border-radius:10px;text-align:left;transition:border-color .18s,background .18s}.suggestion-list button:hover{border-color:#a18ac8;background:white}.workspace-main{display:flex;flex-direction:column;min-width:0;min-height:0}.workspace-header{height:67px;display:flex;align-items:center;justify-content:space-between;padding:0 7px 10px 10px;gap:14px;flex:none}.project-heading{display:flex;gap:10px;align-items:center;min-width:0}.workspace-symbol{display:grid;place-items:center;border:1px solid #dfdbe7;border-radius:11px;width:39px;height:39px;background:#fff;box-shadow:0 2px 2px #34264f04;flex:none}.project-heading>div{min-width:0}.project-heading strong{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34vw}.project-heading #save-status{display:block;font-size:11px;color:#8d8598;margin-top:2px}.header-actions{display:flex;gap:8px;align-items:center}.header-actions .subtle-button{font-size:12px}.publish-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;min-height:40px;background:#292038;color:white;border:1px solid #211831;border-radius:12px;box-shadow:0 2px 3px #2118310c;font-size:13px!important;font-weight:550!important;transition:background .18s,box-shadow .18s}.publish-button:hover{background:#432e61;box-shadow:0 4px 12px #2118311a}.publish-button svg{width:17px;height:17px}.preview-shell{position:relative;flex:1;min-height:0;display:flex;justify-content:center;align-items:stretch;background:#eae9f0;border:1px solid #dfdce5;border-radius:18px;overflow:hidden;box-shadow:0 5px 20px #30213e06}.preview-shell iframe{border:0;background:white;display:block;width:100%;height:100%;transition:width .28s cubic-bezier(.2,.8,.2,1);box-shadow:0 0 25px #31204010}.preview-shell iframe[data-device=tablet]{width:min(820px,100%)}.preview-shell iframe[data-device=mobile]{width:min(390px,100%)}.canvas-toolbar{position:absolute;z-index:2;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:6px;border:1px solid #e4e0eacc;border-radius:16px;background:#fffffff0;backdrop-filter:blur(18px);box-shadow:0 8px 34px #24162e18,0 1px 3px #24162e0a;max-width:calc(100% - 24px)}.canvas-toolbar .tool-button{font-size:12px;padding-inline:10px}.canvas-toolbar .icon-button{width:34px;height:34px;min-height:34px;padding:8px}.canvas-toolbar svg{width:18px;height:18px}.tool-button[aria-pressed=true],.icon-button[aria-pressed=true]{background:#eee8f8;color:#5932b7}.tool-divider{height:19px;width:1px;background:#e5e0eb;margin-inline:5px}.device-switch{display:flex;gap:2px}.empty-canvas{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center;background:radial-gradient(ellipse at 50% 42%,#fff 0,#fbfafe 38%,#f6f5f9 75%)}.empty-canvas h2{font-weight:550;font-size:clamp(23px,2.4vw,36px);letter-spacing:-.05em;line-height:1.16;margin:32px 0 14px;max-width:440px}.empty-canvas p{max-width:380px;color:#91889e;font-size:13px;line-height:1.8}.empty-illustration{position:relative;width:205px;height:145px;transform:rotate(-5deg)}.illustration-window{position:absolute;inset:0;border:1px solid #ded5ed;border-radius:14px;background:#fff;box-shadow:8px 13px 0 -4px #ede8f6,8px 13px 0 -3px #ddd3ed,0 20px 50px #8c73b21c;text-align:left;padding:12px}.illustration-window>span{display:inline-block;width:4px;height:4px;border-radius:50%;background:#d8cde8;margin-right:4px;vertical-align:top}.illustration-heading{width:75%;height:10px;border-radius:3px;background:#b8a3d7;margin-top:15px}.illustration-lines{width:59%;height:4px;background:#e0d7ec;margin-top:8px;box-shadow:0 8px 0 #e7e1f0}.illustration-block{width:33%;height:40px;position:absolute;bottom:12px;right:12px;border-radius:8px;background:linear-gradient(140deg,#eee6fa,#d2c0ea)}.illustration-cursor{position:absolute;bottom:-6px;left:15px;width:40px;height:40px;background:#5932b7;color:#fff;border:3px solid #fff;border-radius:12px;display:grid;place-items:center;box-shadow:0 5px 15px #6f4b9f30;transform:rotate(12deg)}#job-progress{display:flex;align-items:center;gap:10px;padding:10px 6px;font-size:12px;color:#726282}.progress-orbit{color:#8055cd;display:grid;place-items:center}.progress-time{margin-left:auto;font-size:11px;color:#a298ae;font-variant-numeric:tabular-nums}#edit-tip{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;padding:9px 13px;background:#292038ed;color:white;font-size:11px;border-radius:10px;box-shadow:0 4px 12px #0001}.inspector{position:fixed;right:35px;top:100px;width:280px;padding:16px;border-radius:16px;background:#fff;box-shadow:0 16px 60px #21183125;border:1px solid #e0d9eb;z-index:5}.inspector-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.inspector form{display:grid;gap:9px}.inspector label{font-size:12px}.inspector small{color:#8f839f}.inspector textarea{font:13px/1.5 Inter,system-ui,sans-serif;color:var(--ink);background:#faf8fd;border:1px solid #ded5e9;border-radius:8px;padding:10px;resize:vertical;width:100%;max-height:250px}#workspace-dialog{width:min(520px,calc(100vw - 32px));max-height:80dvh;padding:24px;border:1px solid #e2dcea;border-radius:22px;color:var(--ink);background:#fefeff;box-shadow:0 30px 100px #24163030}#workspace-dialog::backdrop{background:#21183140;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.dialog-top h2{font-size:21px;font-weight:600;letter-spacing:-.03em;margin:0}#dialog-body>p{font-size:14px;line-height:1.65;color:#7c728a}.list-row{display:block;width:100%;border:0;border-bottom:1px solid #ede9f2;padding:15px 10px;background:transparent;text-align:left;color:var(--ink);border-radius:8px}.list-row:hover{background:#f4f0fa}.list-row strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}.list-row small{display:block;color:#978ca5;font-size:11px;margin-top:5px}.published-link{display:block;overflow-wrap:anywhere;color:#5932b7}#account-form{display:grid;gap:9px}#account-form label{font-size:12px}#account-form input{width:100%;border:1px solid #ddd5e7;padding:11px;border-radius:9px;font:inherit;background:#fff;color:var(--ink)}.account-actions{display:flex;gap:10px;margin-top:10px}#account-error{color:#a34253;font-size:12px}#workspace-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);padding:12px 20px;background:#292038;color:#fff;border-radius:12px;font-size:13px;box-shadow:0 8px 30px #21183130;z-index:10}.preview-expanded{grid-template-columns:1fr}.preview-expanded .chat-panel{display:none}.mobile-workspace-tabs{display:none}
@media(prefers-reduced-motion:no-preference){.message{animation:message-enter .25s ease-out both}.is-busy .progress-orbit{animation:working-orbit 2.4s ease-in-out infinite}.empty-illustration{animation:quiet-float 7s ease-in-out infinite}@keyframes message-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes working-orbit{50%{transform:rotate(90deg) scale(.85);opacity:.5}}@keyframes quiet-float{50%{transform:rotate(-3deg) translateY(-5px)}}}
@media(max-width:1050px){.editor{grid-template-columns:320px minmax(0,1fr);gap:8px;padding:8px}.chat-header{padding-inline:16px;height:80px}.workspace-header{padding-inline:4px}.header-actions .subtle-button span{display:none}.publish-button{padding-inline:12px}.project-heading strong{max-width:20vw}.empty-canvas{padding:20px}.canvas-toolbar{gap:0}.canvas-toolbar .tool-divider{margin-inline:2px}.canvas-toolbar .icon-button{width:30px}.conversation{padding:20px 18px 24px}}
@media(max-width:740px){.editor{display:block;padding:7px 7px 61px;position:fixed;inset:0;height:100dvh}.chat-panel{height:100%;border-radius:18px}.chat-header{height:74px}.chat-header .nextler-logo{width:164px}.workspace-main{height:100%;display:none}.editor[data-view=canvas] .workspace-main{display:flex}.editor[data-view=canvas] .chat-panel{display:none}.mobile-workspace-tabs{display:flex;position:absolute;bottom:8px;left:50%;transform:translateX(-50%);height:44px;padding:4px;background:#e8e4ee;border-radius:14px;gap:4px}.mobile-workspace-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:transparent;color:#82768f;min-width:125px;padding:8px;font-size:12px}.mobile-workspace-tabs button[aria-pressed=true]{background:#fff;color:#4d326e;box-shadow:0 2px 6px #2418310a}.mobile-workspace-tabs svg{width:17px;height:17px}.project-heading strong{max-width:36vw}.preview-shell{border-radius:14px}.workspace-header{height:64px}.conversation{padding-top:22px}.inspector{width:calc(100vw - 40px);right:20px;top:85px}.preview-expanded .workspace-main{display:flex}.preview-expanded .chat-panel{display:none}.empty-canvas h2{font-size:27px}.canvas-toolbar{bottom:14px}.canvas-toolbar .icon-button{width:31px}.canvas-toolbar .tool-button{padding:8px;font-size:11px}.device-switch button[data-device=tablet]{display:none}.chat-composer{padding:14px}.chat-bottom{padding:0 13px 8px}#workspace-toast{bottom:68px}}

.inspector select{display:block;width:100%;margin:12px 0;padding:10px;border:1px solid #e4e1ea;border-radius:10px;background:#fff;color:#211831;font:inherit}.inspector #image-upload{margin-bottom:10px}.inspector select:focus-visible{outline:2px solid #8055cd;outline-offset:2px}

.chat-header-actions{display:flex;align-items:center;gap:4px}.workspace-language{position:relative;flex:none;font-size:13px}.workspace-language summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border:1px solid #ded8e8;border-radius:10px;min-width:37px;height:37px;color:#534368;background:#ffffff80}.workspace-language summary::-webkit-details-marker{display:none}.workspace-language[open] summary{background:#fff;border-color:#b7a4da}.workspace-language>div{position:absolute;right:0;top:calc(100% + 7px);min-width:120px;padding:5px;background:white;border:1px solid #e0dce7;border-radius:12px;box-shadow:0 10px 35px #21183118;z-index:20}.workspace-language a{display:block;padding:8px 12px;border-radius:8px;text-decoration:none;color:#534368}.workspace-language a:hover{background:#f1ebfa}.workspace-language summary:focus-visible{outline:2px solid #8055cd;outline-offset:3px}.chat-header{overflow:visible}.chat-header .nextler-logo{width:clamp(138px,12vw,174px)}@media(max-width:740px){.chat-header .nextler-logo{width:164px}}
/* Media tools belong to the composer, not another nested card. */
.composer-bottom{gap:8px}.composer-bottom .send-button{margin-left:0}.attachment-menu{position:relative;margin-right:auto}.attachment-menu summary{list-style:none;width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:#645574;cursor:pointer;transition:background .18s,color .18s}.attachment-menu summary::-webkit-details-marker{display:none}.attachment-menu[open] summary,.attachment-menu summary:hover{background:#292038;color:#fff}.attachment-menu>div{position:absolute;bottom:calc(100% + 12px);left:-4px;width:255px;max-width:calc(100vw - 70px);padding:7px;border:1px solid #e4ddeb;border-radius:16px;background:#fff;box-shadow:0 12px 45px #21183122;z-index:30}.attachment-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;color:#453751;font:13px/1.4 Inter,system-ui;text-align:left}.attachment-menu button:hover{background:#f5f0fb}.attachment-menu svg{width:20px;height:20px;flex:none}.microphone[aria-pressed=true]{background:#fce9ef;color:#ad315a}.media-status{font-size:11px;line-height:1.5;color:#7d668f}.media-status:not(:empty){padding:8px 2px 0}.attachment-tray{display:flex;flex-wrap:wrap;gap:7px;max-height:145px;overflow:auto}.attachment-tray:not(:empty){padding-bottom:12px}.attachment-chip{display:flex;align-items:center;gap:7px;border:1px solid #e8e0ef;border-radius:11px;padding:5px;background:#faf8fd;max-width:100%;font-size:11px}.attachment-chip img{width:34px;height:34px;object-fit:cover;border-radius:6px}.attachment-chip>svg{width:25px;height:25px}.attachment-chip span{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-chip button{display:grid;place-items:center;width:25px;height:25px;padding:5px;border:0;background:transparent;color:#85728d;border-radius:6px}.attachment-chip button:hover{background:#eae2f2}.attachment-chip button svg{width:15px;height:15px}.chat-composer.drag-over{box-shadow:0 0 0 3px #a687d2,0 14px 35px #56388a20}.message-attachments{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.message-attachments>span{display:flex;flex-direction:column;gap:5px;max-width:135px;overflow-wrap:anywhere}.message-attachments img{width:110px;height:75px;object-fit:cover;border-radius:9px}.message-attachments small{font-size:10px;color:#786685}.media-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.media-library button{min-width:0;display:flex;flex-direction:column;gap:7px;padding:9px;border:1px solid #e6deed;border-radius:13px;background:#fbf9fd;text-align:left;color:#453751}.media-library button:hover{border-color:#a98bc9;background:#f3edf9}.media-library img{width:100%;height:90px;object-fit:cover;border-radius:7px}.media-library svg{width:32px;height:90px;align-self:center}.media-library strong{font-size:11px;font-weight:500;overflow-wrap:anywhere}.media-library small{font-size:10px;color:#92839e}.question-card{padding:18px;margin:18px 0 4px;border:1px solid #e6deee;background:#fff;border-radius:20px;box-shadow:0 8px 30px #34204509}.question-card h3{font-size:16px;line-height:1.4;letter-spacing:-.025em;margin:0 0 14px;font-weight:600}.question-option{display:flex;align-items:center;gap:12px;width:100%;padding:14px 10px;text-align:left;border:0;border-bottom:1px solid #eee8f3;background:transparent;color:#4a3d56;font:13px/1.55 Inter,system-ui;border-radius:7px}.question-option:hover{background:#f4effa;color:#5932b7}.question-other{display:flex;gap:6px;margin-top:15px}.question-other input{min-width:0;width:100%;border:0;background:#f8f5fb;border-radius:9px;padding:10px;font:12px Inter,system-ui;color:#4a3d56}.question-other .subtle-button{font-size:11px;padding:8px}.question-skip{display:block;margin:14px 0 0 auto;padding:9px 14px;border:0;border-radius:10px;background:#f4f1f7;color:#7e6c8c;font-size:12px}.question-card button:focus-visible,.attachment-menu summary:focus-visible{outline:2px solid #8055cd;outline-offset:3px}@media(max-width:740px){.media-library{grid-template-columns:repeat(2,minmax(0,1fr))}.question-card{padding:15px}.attachment-menu>div{width:240px}.attachment-tray{max-height:110px}}@media(prefers-reduced-motion:reduce){.attachment-menu summary{transition:none}}
.message-attachments img,.media-library img,.attachment-chip img{object-fit:contain;background:#f4f0f9}
.recipient-settings{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:16px;border-radius:13px;background:#f6f2fa;margin:16px 0}.recipient-settings label,.recipient-settings p{grid-column:1/-1;font-size:12px;margin:0;line-height:1.5}.recipient-settings input{min-width:0;width:100%;border:1px solid #ddd2e9;border-radius:8px;padding:10px;color:#453751;background:white;font:13px system-ui}.recipient-settings button{font-size:11px}.enquiry-card{border-top:1px solid #e6deed;padding:16px 0;overflow-wrap:anywhere}.enquiry-card h3{font-size:14px}.enquiry-card p{font-size:13px;line-height:1.6;white-space:pre-wrap}.enquiry-card small{color:#7d6b8e;font-size:11px}@media(max-width:460px){.recipient-settings{grid-template-columns:1fr}.recipient-settings button{justify-self:start}.chat-footer{gap:1px}}

/* Shared close control: no font glyphs, no inherited icon distortion. */
button.nx-close{appearance:none;display:inline-grid;place-items:center;flex:0 0 auto;width:40px;height:40px;min-width:40px;padding:0;border:1px solid #e5dfed;border-radius:13px;background:#faf8fd;color:#685a7d;box-shadow:0 1px 2px #28164205;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
button.nx-close svg{display:block;flex:none;width:20px!important;height:20px!important;margin:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible;pointer-events:none;transition:transform .18s ease}
button.nx-close:hover{color:#5531ad;background:#eee7fb;border-color:#d3c3f1;box-shadow:0 3px 10px #5531ad12}button.nx-close:hover svg{transform:rotate(90deg)}button.nx-close:active{transform:scale(.94);box-shadow:none}button.nx-close:focus-visible{outline:3px solid #ad8eea;outline-offset:3px}button.nx-close:disabled{opacity:.45;cursor:default}button.nx-close-small{width:32px;height:32px;min-width:32px;border-radius:10px}button.nx-close-small svg{width:16px!important;height:16px!important}.attachment-menu>div{padding-top:40px!important}.attachment-menu>div>button.media-menu-close{position:absolute;right:8px;top:6px;display:grid;padding:0}.project-kind{display:block;font-size:.72rem;color:#776b8c}.project-stage-note{font-size:.85rem;line-height:1.6;color:#766985;margin:1.2rem 0 0}.project-choices{display:grid;gap:.6rem}.project-choices .list-row{border:1px solid #e7dff1;border-radius:14px;padding:1rem}.project-choices .list-row:hover{border-color:#b69adb;background:#f7f2ff}@media(pointer:coarse){button.nx-close{width:44px;height:44px;min-width:44px}}@media(prefers-reduced-motion:reduce){button.nx-close,button.nx-close svg{transition:none}button.nx-close:hover svg{transform:none}}

#workspace-toast{display:flex;align-items:center;gap:16px}#workspace-toast[hidden]{display:none}

/* Editor controls never cover the customer's page or bottom app navigation. */
.preview-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;justify-items:center;align-items:stretch}.preview-shell iframe{grid-row:1;grid-column:1;min-height:0}.preview-shell .empty-canvas{grid-row:1;grid-column:1;width:100%}.canvas-toolbar{position:relative;grid-row:2;grid-column:1;bottom:auto;left:auto;transform:none;align-self:center;margin:8px auto;flex-shrink:0}.preview-shell:has(iframe[hidden]) .canvas-toolbar{opacity:.55}

/* Compact workspace modes: split retains the original canvas and conversation sizes. */
.layout-switch{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #e4ddec;border-radius:12px;background:#eeebf380;box-shadow:inset 0 1px 2px #fff9}.layout-switch button{display:grid;place-items:center;width:29px;height:30px;padding:5px;border:0;border-radius:8px;color:#8b7d9d;background:transparent;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}.layout-switch svg{width:19px;height:19px;transition:transform .16s}.layout-switch button:hover{color:#6841bb;background:#ffffffa8}.layout-switch button:hover svg{transform:translateY(-1px)}.layout-switch button[aria-pressed=true]{color:#6235c0;background:#fff;box-shadow:0 2px 7px #503b7b18,inset 0 0 0 1px #d7c9ee}.layout-switch button:focus-visible{outline:2px solid #9676cd;outline-offset:2px}.chat-header-actions{gap:5px}.chat-header .nextler-logo{width:clamp(132px,11.3vw,164px)}.focus-tools,.focus-chat-close{display:none!important}.profile-language{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #ece6f2;font-size:13px}.profile-language select{font:inherit;color:#514362;background:#faf8fd;border:1px solid #e3dbea;border-radius:10px;padding:9px 12px}
@media(min-width:741px){
.editor[data-layout=focus]{grid-template-columns:minmax(0,1fr)}.editor[data-layout=focus]>.chat-panel{display:none}.editor[data-layout=focus] .focus-tools{display:flex!important;align-items:center;gap:8px}.editor[data-layout=focus].focus-chat-open>.chat-panel{display:flex;position:absolute;z-index:6;left:18px;top:86px;bottom:24px;width:clamp(340px,30vw,430px);box-shadow:0 18px 70px #33205030}.editor[data-layout=focus] .focus-chat-close{display:grid!important}.editor[data-layout=focus] .chat-header{padding-inline:14px}.editor[data-layout=focus] .chat-header .nextler-logo{width:132px}
.editor[data-layout=studio]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(240px,32vh)}.editor[data-layout=studio]>.workspace-main{grid-row:1;grid-column:1;min-height:0}.editor[data-layout=studio]>.chat-panel{grid-row:2;grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,38%);grid-template-rows:48px minmax(0,1fr)}.editor[data-layout=studio] .chat-header{grid-column:1/-1;height:48px;padding:4px 16px;background:transparent}.editor[data-layout=studio] .chat-header .nextler-logo{width:128px}.editor[data-layout=studio] .conversation{grid-column:1;grid-row:2;padding:6px 22px 14px;overflow:auto}.editor[data-layout=studio] .chat-bottom{grid-column:2;grid-row:2;padding:0 14px 4px;overflow:auto;min-height:0}.editor[data-layout=studio] .chat-composer{padding:10px 13px}.editor[data-layout=studio] .chat-footer{min-height:32px}.editor[data-layout=studio] .suggestion-list{max-height:52px;overflow:auto}.editor[data-layout=studio] .message{margin-bottom:14px}.editor[data-layout=studio] .conversation h2{font-size:20px}
}
@media(min-width:741px) and (max-width:1050px){.chat-header{padding-inline:12px}.chat-header .nextler-logo{width:132px}.layout-switch button{width:27px}.editor[data-layout=focus].focus-chat-open>.chat-panel{width:350px}.editor[data-layout=studio]>.chat-panel{grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:740px){.layout-slot{display:none}.chat-header .nextler-logo{width:164px}.editor[data-layout] .focus-tools,.editor[data-layout] .focus-chat-close{display:none!important}}
@media(prefers-reduced-motion:reduce){.layout-switch button,.layout-switch svg{transition:none}.layout-switch button:hover svg{transform:none}}

@media(min-width:741px){.editor[data-layout=studio] .attachment-menu>div{position:fixed;left:var(--media-left,20px);bottom:var(--media-bottom,70px)}}

/* A compact, searchable language catalogue; no workspace area is sacrificed. */
.language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:36px;padding:7px 9px;border:1px solid transparent;border-radius:10px;background:transparent;color:#70617f;font:inherit;cursor:pointer;transition:background .18s,border-color .18s,color .18s}.language-trigger:hover{background:#eee8f6;border-color:#ded4ec;color:#5932b7}.language-trigger svg{width:16px;height:16px}.language-trigger span{font-size:11px;font-weight:600;letter-spacing:.035em}.chat-footer #project-switch{min-width:0;flex-shrink:1}.chat-footer #project-switch span{overflow:hidden;text-overflow:ellipsis}.chat-footer #project-switch svg{flex:none}.chat-footer{gap:0}
#workspace-dialog.language-dialog{width:min(420px,calc(100vw - 28px));padding:22px;border-radius:22px}.language-dialog .dialog-top{margin-bottom:8px}.language-note{margin:0 0 18px;color:#857b91;font-size:13px;line-height:1.6}.language-dialog .language-search{margin:0 0 12px;width:100%;min-height:44px;background:#f7f5fa;border:1px solid #e6e0ee;border-radius:12px;padding:10px 13px;font:inherit;color:#30233e}.language-search:focus-visible{outline:2px solid #a891d1;outline-offset:2px}.language-list{display:grid;gap:5px;max-height:min(360px,50dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px}.language-option{display:flex;align-items:center;gap:13px;min-height:64px;padding:10px 12px;border:1px solid transparent;border-radius:13px;background:transparent;color:#392c49;text-align:left;transition:background .16s,border-color .16s}.language-option:hover{background:#f6f3fa}.language-option[aria-pressed=true]{background:#f0eaf8;border-color:#ddd0ee}.language-code{display:grid;place-items:center;width:35px;height:35px;border:1px solid #e5ddec;border-radius:10px;background:#fff;color:#76618e;font-size:11px;font-weight:650;flex:none}.language-name{display:grid;gap:2px;flex:1}.language-name strong{font-size:14px;font-weight:550}.language-name small{font-size:11px;color:#95879f}.language-check{display:grid;place-items:center;width:24px;height:24px;color:#6844aa}.language-check svg{width:17px;height:17px}.language-empty{font-size:13px;color:#81728f;padding:20px 8px;text-align:center}.project-meta{display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap}.project-meta .project-kind,.project-meta #save-status{display:inline;font-size:11px;line-height:1.4;margin:2px 0 0;overflow:hidden;text-overflow:ellipsis}.project-meta #save-status{flex:none}.project-meta .project-kind:not(:empty)::after{content:'·';margin-left:7px;color:#b7adbf}
@media(prefers-reduced-motion:reduce){.language-trigger,.language-option{transition:none}}

.chat-footer .icon-button:active{background:#ded6eb;color:var(--ink);transform:translateY(1px)}

#workspace-dialog.application-dialog{width:min(720px,calc(100vw - 28px))}.backend-summary{display:flex;gap:18px;align-items:center;justify-content:space-between;font-size:14px;padding:5px 0 18px}.backend-summary a{font-size:12px;color:#6946aa;text-decoration:none}.backend-tabs{display:flex;gap:6px;border-bottom:1px solid #e6e0ed;padding-bottom:10px}.backend-tabs [aria-selected=true]{background:#eee8f7;color:#583499}.backend-panel{padding-top:16px;max-height:55dvh;overflow-y:auto;scrollbar-width:thin}.backend-help,.backend-lead{font-size:13px;line-height:1.7;color:#8a7d99}.backend-search{width:100%;font:inherit;padding:11px 13px;border:1px solid #e3dbea;border-radius:10px;background:#faf9fc;margin:10px 0}.backend-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 3px;border-bottom:1px solid #eeeaf2}.backend-person{display:grid;gap:5px;min-width:0}.backend-person strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.backend-person small{font-size:11px;color:#94869e}.backend-actions{display:flex;gap:5px;flex-wrap:wrap}.backend-actions button{font-size:11px;padding:7px}.backend-status{font-size:12px;line-height:1.7;color:#8b596f}.backend-record{padding:16px;margin:12px 0;border:1px solid #e6dfee;border-radius:12px}.backend-record strong{font-size:12px}.backend-record dl{display:grid;grid-template-columns:1fr 2fr;gap:8px;font-size:12px}.backend-record dt{color:#93879f}.backend-record dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:600px){.backend-row{align-items:flex-start;flex-direction:column;gap:8px}.backend-summary{align-items:flex-start;flex-direction:column;gap:4px}}

.work-details{margin-top:12px;color:#85768f;font-size:11px;line-height:1.6}.work-details summary{cursor:pointer;width:fit-content;border-radius:6px;padding:3px 0}.work-details summary:hover{color:#6242a5}.work-details summary:focus-visible{outline:2px solid #8055cd;outline-offset:4px}.work-details ol{list-style:none;padding:8px 0 0;margin:0}.work-details li{padding:3px 0}.account-status{font-size:13px;color:#786685}

.work-details summary{list-style:none;display:flex;align-items:center;gap:4px}.work-details summary::-webkit-details-marker{display:none}.work-details summary svg{width:13px;height:13px;flex:none;transition:transform .16s}.work-details[open] summary svg{transform:rotate(90deg)}@media(prefers-reduced-motion:reduce){.work-details summary svg{transition:none}}

.account-free-offer{display:grid;gap:.3rem;margin:1.1rem 0 1.4rem;padding:1rem 1.1rem;border-radius:1rem;background:#f3effb;color:#55476e;font-size:.86rem}.account-free-offer strong{font-size:1rem;color:#5734ad}.account-free-offer small{color:#76698a}

#credit-balance{font-variant-numeric:tabular-nums;white-space:nowrap;color:#6340b3}#credit-balance svg{flex-shrink:0}.billing-interval,.billing-topups{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.billing-interval [aria-pressed=true]{background:#eee6fb;color:#5933ae}.billing-plans{display:grid;gap:.8rem}.billing-plan{padding:1.2rem;border:1px solid #e5def0;border-radius:1rem}.billing-plan h3{margin:0 0 .45rem}.billing-plan>strong{font-size:1.4rem}.billing-plan p{margin:.5rem 0}.billing-plan>small,.billing-note{font-size:.82rem;color:#726681;line-height:1.6}.billing-plan button{margin-top:.6rem}.billing-topups button{white-space:normal}@media(max-width:600px){#credit-balance{padding:.4rem .5rem;gap:.3rem}#credit-balance svg{width:.9rem}}

.mobile-credits{display:none!important}@media(max-width:700px){.mobile-credits{display:inline-flex!important;gap:.3rem;padding:.4rem .55rem;color:#6340b3;font-variant-numeric:tabular-nums}.mobile-credits svg{width:1rem;height:1rem}.chat-header-actions{gap:.3rem}}

#workspace-dialog.billing-dialog{width:min(960px,calc(100vw - 32px))}.billing-dialog .billing-plans{grid-template-columns:repeat(3,minmax(0,1fr))}.billing-plan{display:flex;flex-direction:column}.billing-plan button{align-self:flex-start;margin-top:auto}.billing-plan .billing-note{padding-bottom:1rem}@media(max-width:760px){.billing-dialog .billing-plans{grid-template-columns:1fr}.billing-plan button{margin-top:.6rem}}

#account-form [hidden], .account-free-offer[hidden] { display: none !important; }

.communication-settings {margin-top:24px;padding-top:16px;border-top:1px solid var(--line,#e8e2f1)}
.communication-settings label{display:flex;align-items:flex-start;gap:10px;line-height:1.5;cursor:pointer}
.communication-settings input[type=checkbox]{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:#6540b7}

.account-recovery-button[hidden]{display:none!important}

/* Shared dialog surfaces: scoped to overlays; the workspace layout is unchanged. */
#workspace-dialog,#rebuild{--dialog-ink:#291e3c;--dialog-muted:#756780;--dialog-line:#e8e0f0;color:var(--dialog-ink);border:1px solid #ffffffd9;background:linear-gradient(145deg,#fcfaff,#fff 45%,#fbfaff);box-shadow:0 32px 100px #21133438,0 8px 24px #29194316,inset 0 1px #fff;border-radius:26px;outline:none;max-height:calc(100dvh - 48px);scrollbar-width:thin;scrollbar-color:#d5c9e4 transparent}
#workspace-dialog{padding:0;width:min(580px,calc(100vw - 32px))}
#workspace-dialog[open],#rebuild[open]{animation:nx-dialog-enter .23s cubic-bezier(.2,.8,.2,1)}
#workspace-dialog::backdrop,#rebuild::backdrop{background:#21182c59;backdrop-filter:blur(7px);animation:nx-backdrop-enter .18s ease-out}
@keyframes nx-dialog-enter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@keyframes nx-backdrop-enter{from{opacity:0}to{opacity:1}}
#workspace-dialog .dialog-top{position:sticky;top:0;z-index:3;align-items:flex-start;gap:20px;margin:0;padding:28px 28px 24px;border-bottom:1px solid #ece5f2;background:radial-gradient(ellipse at 90% 0,#e5d9fb99,transparent 70%),linear-gradient(115deg,#fcfaff,#f7f3fd);border-radius:25px 25px 0 0}
.dialog-heading{display:flex;align-items:flex-start;gap:14px;min-width:0}.dialog-heading>div{min-width:0}.dialog-emblem{display:grid;place-items:center;flex:none;width:42px;height:42px;margin-top:3px;border-radius:14px;color:#7044c1;background:linear-gradient(145deg,#fff,#efe6ff);border:1px solid #dbcaf380;box-shadow:0 4px 10px #5c36900a}.dialog-emblem svg{width:23px;height:23px}.dialog-brand{display:block;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#8a72a9;margin-bottom:4px}#workspace-dialog .dialog-top h2{font-size:24px;line-height:1.18;font-weight:650;letter-spacing:-.045em;margin:0;overflow-wrap:anywhere}#dialog-description{font-size:12px;line-height:1.65;color:#81738e;margin:8px 0 0;max-width:45ch}
#workspace-dialog .dialog-top .nx-close{flex:none;width:36px;min-width:36px;height:36px;border-radius:12px;margin-top:2px;background:#ffffffb8;border-color:#e5d9ef;color:#796788;box-shadow:0 2px 5px #32144a05}#workspace-dialog .dialog-top .nx-close:hover{background:#fff;color:#5c31ad;border-color:#c8afe8;box-shadow:0 4px 14px #5932b71a}
#dialog-body{padding:24px 28px 28px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}#dialog-body>p{font-size:13px;color:#766983;line-height:1.75}#dialog-body>p:first-child{margin-top:0}#dialog-body>p:last-child{margin-bottom:0}#dialog-body>h3{font-size:16px;letter-spacing:-.025em;margin:26px 0 12px}
#dialog-body a{color:#6943a4;text-underline-offset:3px;text-decoration-thickness:1px}#dialog-body a:hover{color:#48218b}
#dialog-body input:not([type=checkbox]):not([type=radio]),#dialog-body textarea,#dialog-body select{box-sizing:border-box;border:1px solid #e0d6eb;background:#fff;border-radius:12px;color:#30223f;font:inherit;padding:12px 14px;min-height:46px;max-width:100%;box-shadow:0 2px 3px #32174703;transition:border-color .16s,box-shadow .16s}#dialog-body input:focus-visible,#dialog-body textarea:focus-visible,#dialog-body select:focus-visible{outline:none;border-color:#a387ce;box-shadow:0 0 0 4px #a687d51c}#dialog-body input[type=checkbox],#dialog-body input[type=radio]{accent-color:#6b43b4;width:17px;height:17px;flex:none}#dialog-body label{font-size:12px;font-weight:550;color:#665571}
#dialog-body .publish-button{min-height:44px;padding:11px 20px;border-radius:12px;background:linear-gradient(125deg,#6340ae,#7549cc);border-color:#6740b1;color:white;font-weight:650!important;box-shadow:0 4px 9px #6741a624,inset 0 1px #ffffff30;transition:transform .16s,box-shadow .16s,filter .16s}#dialog-body .publish-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.07);box-shadow:0 7px 17px #6741a633}#dialog-body .publish-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 5px #6741a622}#dialog-body button:disabled{transform:none;filter:none;box-shadow:none;cursor:not-allowed}#dialog-body .subtle-button{border:1px solid transparent;border-radius:11px;color:#746080;padding:10px 13px;transition:background .16s,border-color .16s,color .16s}#dialog-body .subtle-button:hover:not(:disabled){background:#f0e9f9;border-color:#e1d5ef;color:#5a328e}
#dialog-body .profile-language{border:0;border-radius:12px;padding:10px 12px;margin:0 0 20px;background:#f3eff8;color:#82708e;font-size:11px}#dialog-body .profile-language .language-trigger{padding:5px 9px;min-height:32px;background:#ffffffb8;border-radius:8px;color:#69517f}
#account-form{gap:8px}#account-form>label:not(:first-child){margin-top:8px}#account-form .account-actions{display:flex;gap:8px;align-items:center;margin-top:16px;flex-wrap:wrap}#account-form .account-actions .publish-button{flex:1}#account-form #account-error:empty{display:none}#account-form #account-error{padding:10px 12px;border-radius:10px;background:#fff2f5;color:#9b3f58;font-size:12px}.account-dialog .account-intro{margin-bottom:18px}.account-dialog .account-free-offer{position:relative;margin:0 0 24px;padding:20px 22px;border:1px solid #e1d5f2;border-radius:16px;background:radial-gradient(ellipse at 100% 0,#dfcdfc80,transparent 70%),linear-gradient(120deg,#f6f0ff,#faf7ff);gap:6px;overflow:hidden}.account-free-offer strong{font-size:18px;letter-spacing:-.035em;color:#59328d}.account-free-offer span{font-size:12px;color:#755c8f}.account-free-offer small{font-size:11px;line-height:1.6;color:#897597}.account-dialog .account-identity{font-size:16px!important;font-weight:600;color:#392546!important;padding:17px 18px;border:1px solid #e7dcef;border-radius:13px;background:#fff}.account-dialog .communication-settings{border:1px solid #e8e0ee;border-radius:14px;padding:16px;background:#fcfaff;margin-top:20px}.account-dialog .communication-settings label{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.7}.account-dialog .communication-settings input{margin-top:2px}.account-dialog .communication-settings [role=status]{font-size:11px;line-height:1.7;color:#8a7895;margin-top:10px}
#dialog-body .list-row{position:relative;padding:16px 38px 16px 16px;margin:0 0 8px;border:1px solid #e8e0f0;border-radius:13px;background:#fff;color:#3f2c50;transition:background .17s,border-color .17s,transform .17s,box-shadow .17s}.list-row strong{font-size:13px;font-weight:600}.list-row small{display:block;font-size:11px;line-height:1.6;color:#93819f;margin-top:4px}#dialog-body .list-row::after{content:'';position:absolute;right:18px;top:50%;width:6px;height:6px;border-top:1.5px solid #a78cbd;border-right:1.5px solid #a78cbd;transform:translateY(-50%) rotate(45deg)}#dialog-body .list-row:hover{background:#fbf8ff;border-color:#cbb3e6;transform:translateX(2px);box-shadow:0 4px 12px #4b28670a}
#workspace-dialog.billing-dialog{width:min(1050px,calc(100vw - 32px))}.billing-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin-bottom:18px;border:1px solid #e6d9f4;border-radius:18px;background:radial-gradient(ellipse at 80% 20%,#e6d8fb70,transparent 70%),#f8f4fe}.billing-balance,.billing-current{display:flex;flex-direction:column;gap:3px}.billing-eyebrow{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#9076a7;font-weight:650}.billing-balance>strong{font-size:38px;line-height:1.2;letter-spacing:-.06em;font-weight:600;color:#5b358e;font-variant-numeric:tabular-nums}.billing-unit{font-size:11px;color:#8a749b}.billing-current{max-width:45%;text-align:right}.billing-current>strong{font-size:18px;font-weight:600;color:#4a315d}.billing-current>span:last-child{font-size:11px;color:#8e789e}.billing-dialog .billing-note{font-size:11px!important;line-height:1.75;color:#8b7898!important}.billing-dialog .billing-legal{display:flex;flex-wrap:wrap;gap:5px;font-size:10px!important;opacity:.9}.billing-interval{display:flex;width:fit-content;padding:4px;background:#eee8f5;border:1px solid #e6dcef;border-radius:12px;gap:3px;margin:22px 0 16px}.billing-interval .subtle-button{min-width:100px;min-height:36px;padding:7px 16px!important;font-size:12px!important}.billing-interval .subtle-button[aria-pressed=true]{background:#fff!important;color:#5a328f!important;box-shadow:0 2px 5px #3c1f5b10;border-color:#e6d9f1!important}.billing-dialog .billing-plans{gap:12px}.billing-dialog .billing-plan{padding:22px;border:1px solid #e5dced;border-radius:17px;background:#fff;box-shadow:0 3px 8px #37224c04;transition:border-color .18s,box-shadow .18s}.billing-plan[data-plan=pro]{background:linear-gradient(155deg,#f7f1ff,#fff 65%);border-color:#cdb4ec;box-shadow:0 6px 20px #6d42ab0c}.billing-plan h3{font-size:15px;font-weight:650;letter-spacing:-.03em;color:#73508e;margin-bottom:14px}.billing-plan>strong{font-size:25px;font-weight:650;line-height:1.3;letter-spacing:-.05em;color:#342140}.billing-plan>p:not(.billing-note){padding:9px 11px;border-radius:9px;background:#f7f3fc;color:#795c95;font-size:12px;font-weight:550;margin:14px 0 8px}.billing-plan>small{font-size:10px;color:#9883a5;margin-bottom:12px}.billing-plan .billing-note{padding-bottom:0;margin:6px 0}.billing-plan button{width:100%;margin-top:auto!important}.billing-plan .billing-note:last-of-type{margin-bottom:20px}.billing-topups .subtle-button{background:#f5f0fb;border:1px solid #e5d9ef!important;padding:14px 18px!important}
#workspace-dialog.language-dialog{padding:0;width:min(480px,calc(100vw - 28px))}.language-dialog .language-note{display:none}.language-dialog .language-option{background:#fff;border:1px solid #ebe3f1;margin-bottom:3px;min-height:66px}.language-dialog .language-option:hover{background:#fbf8ff;border-color:#d4c0e7}.language-dialog .language-option[aria-pressed=true]{border-color:#c9b0e5;background:linear-gradient(115deg,#f4edfc,#fbf8ff)}.language-dialog .language-search{margin-bottom:16px!important}.language-dialog .language-code{box-shadow:0 3px 8px #5c368e08;background:#faf7ff}
#workspace-dialog.application-dialog{width:min(780px,calc(100vw - 28px))}.backend-tabs{background:#f3eef9;padding:5px;border:1px solid #e8dff0;border-radius:12px}.backend-tabs [aria-selected=true]{background:white!important;box-shadow:0 2px 7px #4523650d}.backend-record{background:#fff;border-color:#e7ddef}.backend-row{border-color:#ece3f3;padding:16px 8px}.media-library button{background:#fff;border:1px solid #e5d9ee;border-radius:15px;overflow:hidden;padding:10px;transition:border-color .18s,box-shadow .18s}.media-library button:hover{border-color:#bfa0df;box-shadow:0 6px 16px #52306b12}.media-library img{border-radius:9px}.media-library strong{font-size:12px}.media-library small{font-size:10px;color:#8f789e}
#rebuild{padding:28px;width:min(580px,calc(100vw - 32px));background:radial-gradient(ellipse at 100% 0,#eadff98c,transparent 50%),#fdfbff}#rebuild h2{font-size:24px;letter-spacing:-.04em}#rebuild form{gap:13px}#rebuild label,#rebuild legend{font-size:12px;color:#776184}#rebuild input[type=url],#rebuild textarea{padding:13px 15px;border-radius:12px;background:#fff;border-color:#e0d4eb}#rebuild fieldset{padding:16px;border:1px solid #e7dbf0;background:#fff;border-radius:14px}#rebuild fieldset label{padding:7px 0}#rebuild .keep-options{gap:8px}#rebuild .keep-options label{padding:8px 11px;background:#f7f2fc;border-radius:9px}#rebuild .rebuild-actions{gap:10px;margin-top:9px}.credit-info .credit-tip{border-color:#dccaef;background:linear-gradient(130deg,#fbf7ff,#fff);box-shadow:0 14px 45px #3c205326;padding:19px 20px;border-radius:17px}.credit-tip strong{font-size:14px;color:#664287}.credit-tip p{font-size:12px;color:#897196}
@media(max-width:760px){.billing-dialog .billing-plans{grid-template-columns:1fr}.billing-plan button{margin-top:12px!important}.billing-current{max-width:48%}.billing-balance>strong{font-size:32px}}
@media(max-width:500px){#workspace-dialog,#workspace-dialog.billing-dialog,#workspace-dialog.language-dialog,#workspace-dialog.application-dialog,#rebuild{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:21px}#workspace-dialog .dialog-top{padding:22px 20px 20px;gap:10px;border-radius:20px 20px 0 0}.dialog-heading{gap:11px}.dialog-emblem{width:34px;height:34px;border-radius:11px}.dialog-emblem svg{width:19px;height:19px}#workspace-dialog .dialog-top h2{font-size:21px}#dialog-description{font-size:11px}#dialog-body{padding:20px}#workspace-dialog .dialog-top .nx-close{width:40px;min-width:40px;height:40px}#dialog-body input:not([type=checkbox]):not([type=radio]),#dialog-body textarea,#dialog-body select{font-size:16px}.billing-overview{padding:18px;gap:12px}.billing-current>span:last-child{font-size:10px}.billing-plan{padding:20px!important}#rebuild{padding:22px}.account-free-offer strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){#workspace-dialog[open],#rebuild[open],#workspace-dialog::backdrop,#rebuild::backdrop{animation:none}#dialog-body button,#dialog-body .list-row,#dialog-body input,#dialog-body textarea,#dialog-body select{transition:none}#dialog-body .list-row:hover,#dialog-body .publish-button:hover:not(:disabled){transform:none}}

/* Readable dialog details at every viewport size. */
#dialog-body .list-row::after{content:none}.row-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);display:flex;color:#9a7ab4}.row-arrow svg{width:16px;height:16px}
.billing-dialog .billing-note{font-size:13px!important;line-height:1.65;color:#756280!important}.billing-dialog .billing-legal{font-size:12px!important;margin:22px 0 0;padding-top:16px;border-top:1px solid #eee5f5;gap:6px}.billing-overview{padding:18px 22px}.billing-plan>small{font-size:12px;color:#806a8c}.billing-unit,.billing-current>span:last-child{font-size:12px;color:#806a8c}.billing-eyebrow{color:#7d6193}.account-free-offer small{font-size:12px;color:#78618a}.list-row small{font-size:12px;color:#7d698c}#dialog-description{color:#796587}
@media(max-width:500px){#dialog-description{font-size:12px}.billing-current>span:last-child{font-size:12px}.billing-plan>p:not(.billing-note){font-size:13px}}

/* Dialog shells own the rounded edge; only their inset content may scroll. */
#workspace-dialog,#rebuild{overflow:hidden;scrollbar-gutter:auto}
#workspace-dialog[open],#rebuild[open]{display:flex;flex-direction:column}
#workspace-dialog .dialog-top{position:relative;flex:0 0 auto;border-radius:0}
#workspace-dialog #dialog-body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;margin:0 8px 14px 0;padding-right:20px;padding-bottom:14px;scrollbar-width:thin;scrollbar-color:#c8b5df transparent;scrollbar-gutter:stable}
#rebuild #rebuild-form{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 4px 4px;scrollbar-width:thin;scrollbar-color:#c8b5df transparent;scrollbar-gutter:stable}
#dialog-body::-webkit-scrollbar,#rebuild-form::-webkit-scrollbar{width:6px}
#dialog-body::-webkit-scrollbar-track,#rebuild-form::-webkit-scrollbar-track{background:transparent}
#dialog-body::-webkit-scrollbar-thumb,#rebuild-form::-webkit-scrollbar-thumb{background:#c8b5df;border-radius:8px}
#dialog-body::-webkit-scrollbar-button,#rebuild-form::-webkit-scrollbar-button{display:none;height:0}
@media(max-width:500px){#workspace-dialog #dialog-body{margin-right:6px;margin-bottom:12px;padding-right:14px;padding-bottom:12px}}
.project-address-control{display:flex;align-items:center;gap:0;border:1px solid #dcd2ed;border-radius:14px;background:#faf8ff;overflow:hidden;margin:10px 0}.project-address-control:focus-within{border-color:#8b68ce;box-shadow:0 0 0 3px #8055cd14}.project-address-control input{min-width:0;flex:1;width:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:15px 12px!important;outline:0!important}.project-address-control span{flex:none;padding:0 14px 0 0;color:#706080;font-size:14px}.project-address-status{min-height:2.8em;font-size:13px;line-height:1.5}.project-address-control~.published-link{display:block;overflow-wrap:anywhere;margin-top:20px}

.billing-context{padding:18px 20px;margin:0 0 22px;border:1px solid #d9cbf5;border-radius:18px;background:linear-gradient(120deg,#f6f0ff,#faf9ff)}.billing-context h3{margin:0 0 8px;font-size:18px}.billing-context p{margin:0;line-height:1.6}.billing-fit{font-size:13px;line-height:1.5;color:#746384}.billing-recommendation{display:inline-block;font-size:11px;font-weight:650;padding:6px 9px;border-radius:8px;background:#eee4ff;color:#5b32a6;margin-bottom:12px}.billing-features{padding-left:18px;line-height:1.7;font-size:13px;color:#655573}.billing-features li{margin:8px 0}.project-file-list{display:grid;gap:12px}.project-file-row{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e6dff0;border-radius:15px;background:#fcfaff}.project-file-row img{width:54px;height:54px;object-fit:contain;border-radius:8px}.project-file-row>div{min-width:0;flex:1}.project-file-row strong,.project-file-row small{display:block;overflow-wrap:anywhere}.project-file-row small{margin-top:5px;color:#796b88;font-size:11px}.project-file-row button{flex-shrink:0}@media(max-width:500px){.project-file-row{flex-wrap:wrap}.project-file-row>div{min-width:160px}.project-file-row button{margin-left:auto}}

.account-social{margin:18px 0}.social-login{width:100%;justify-content:center;gap:10px;min-height:46px}.social-login svg{width:19px;height:19px;flex:none}.social-login small{font-size:11px;font-weight:500;margin-left:6px}.social-login:disabled{opacity:.65;cursor:not-allowed}

.billing-fit{min-height:44px;display:flex;align-items:center}.billing-recommendation{min-height:30px;box-sizing:border-box}
@media(max-width:700px){.billing-recommendation[aria-hidden=true]{display:none}.billing-fit{min-height:0}}

.account-social{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.social-login{flex-wrap:wrap;gap:7px;padding:10px 8px}.social-login small{width:100%;margin:0}.account-social-status{padding:12px 16px;background:#f5f0fc;border-radius:14px;color:#513783}@media(max-width:430px){.account-social{grid-template-columns:1fr}.social-login{flex-wrap:nowrap}.social-login small{width:auto}}

.account-social .social-login:disabled{opacity:1;color:#81748f;background:#f8f5fc;border:1px solid #e7dff0;box-shadow:none}.social-login:disabled small{color:#81748f}

.project-file-search{width:100%;min-width:0;margin:6px 0 12px}.project-file-list+ p{margin-bottom:0}

/* Domain controls inherit the approved modal typography and button styles. */
.custom-domain-panel{margin-top:28px;padding-top:20px;border-top:1px solid #e9e0f4}
.custom-domain-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.custom-domain-form label{grid-column:1/-1}.custom-domain-form input{min-width:0;width:100%}
.custom-domain-list{display:grid;gap:16px}.custom-domain-card{padding:18px;border:1px solid #e5d9f6;border-radius:18px}
.custom-domain-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;overflow-wrap:anywhere}
.custom-domain-status{font-size:.85rem;color:#735590}.custom-domain-records{display:grid;gap:12px}
.custom-domain-record{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px 14px;padding:12px;background:#f8f5fc;border-radius:12px}
.custom-domain-record>strong{grid-row:1/3}.custom-domain-value{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center}
.custom-domain-value small{grid-column:1/-1}.custom-domain-value code{overflow-wrap:anywhere;font-size:.82rem;user-select:all}
.custom-domain-value button{padding:7px 10px!important;min-height:36px}.custom-domain-card .account-actions{flex-wrap:wrap}
@media(max-width:560px){.custom-domain-form{grid-template-columns:minmax(0,1fr)}.custom-domain-card{padding:12px}.custom-domain-record{grid-template-columns:minmax(0,1fr)}.custom-domain-record>strong{grid-row:auto}.custom-domain-value{column-gap:6px}}

.domain-registrant-form{display:grid;gap:8px}.domain-registrant-form>label{font-size:13px;color:#776184}.domain-registrant-form>h4{margin:20px 0 0}.domain-registrant-form>input{width:100%;box-sizing:border-box}.domain-registrant-form>label.billing-note{display:block;margin:14px 0}.domain-registrant-form input[type=checkbox]{width:auto;margin-right:8px}.domain-registrant-form>button{justify-self:start}

.billing-dialog .billing-plans{grid-template-columns:repeat(4,minmax(0,1fr))}.billing-plan[data-plan=free]{background:#f8f6fb}.billing-plan[data-plan=free]>strong{font-size:32px}@media(max-width:1000px){.billing-dialog .billing-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.billing-dialog .billing-plans{grid-template-columns:1fr}}

.billing-plan-symbol{display:grid;place-items:center;width:36px;height:36px;border:1px solid #ddd0ed;border-radius:10px;background:#f4edfc;color:#8055b9;margin-bottom:18px}.billing-plan-symbol svg{width:23px;height:23px}.billing-free .billing-plan-symbol{border-radius:50%}.billing-plan[data-plan=studio] .billing-plan-symbol{border-radius:12px 4px 12px 4px}

/* Keep the brand readable without taking space from workspace controls. */
.editor .chat-header .nextler-logo{width:148px;height:auto;aspect-ratio:644/124;flex:none}
.editor[data-layout=focus] .chat-header .nextler-logo,.editor[data-layout=studio] .chat-header .nextler-logo{width:132px}
@media(min-width:741px) and (max-width:1050px){.editor .chat-header .nextler-logo{width:136px}}
@media(max-width:740px){.editor .chat-header .nextler-logo{width:148px}}
@media(max-width:360px){.editor .chat-header .nextler-logo{width:136px}}

/* Compact authentication: identical entry points for sign-in and registration. */
#workspace-dialog.auth-compact{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border-radius:22px}
#workspace-dialog.auth-compact .dialog-top{padding:22px 24px 14px;border:0;background:transparent}
.auth-compact .dialog-emblem,.auth-compact .dialog-brand{display:none}
#workspace-dialog.auth-compact .dialog-top h2{font-size:25px}
.auth-compact #dialog-description{margin-top:6px;line-height:1.4}
#workspace-dialog.auth-compact #dialog-body{padding:0 24px 20px;margin:0;scrollbar-gutter:auto}
.auth-compact .account-social{grid-template-columns:1fr;gap:8px;margin:0 0 14px}
#dialog-body .account-social .social-login{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 14px;border:1px solid #ded4e9;border-radius:11px;background:white;color:#30223f;font-size:14px;font-weight:600}
#dialog-body .account-social .social-facebook{background:#1877f2;border-color:#1877f2;color:white}
#dialog-body .account-social .social-facebook:hover:not(:disabled){background:#1264cf;border-color:#1264cf;color:white}
.account-social .social-login svg{width:19px;height:19px;flex:none}
.auth-compact .auth-divider{display:flex;align-items:center;gap:12px;color:#8a7b98;font-size:12px;margin:0 0 4px}.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:#e9e2f0}
.auth-compact #account-form{display:grid;gap:5px;margin:0}
.auth-compact #account-form>label:not(:first-child){margin-top:4px}
#workspace-dialog.auth-compact #dialog-body input{min-height:44px;height:44px;padding:10px 12px;font-size:16px}
.auth-compact #account-form .account-actions{margin-top:8px}
.auth-compact .account-actions .publish-button{width:100%}
#dialog-body .auth-switch{display:flex;justify-content:center;align-items:center;gap:5px;margin:8px 0 0;font-size:12px}
#dialog-body .auth-switch .subtle-button{padding:7px 3px;min-height:32px;font-weight:650;color:#623bb0}
#dialog-body .account-recovery-button{justify-self:end;padding:4px 0;min-height:28px;font-size:12px}
.auth-compact #dialog-body>.account-status{display:block;text-align:center;font-size:11px;margin:8px 0 0}
.auth-compact #dialog-body>.account-status:empty{display:none}
@media(max-height:650px){#workspace-dialog.auth-compact .dialog-top{padding:14px 20px 10px}#workspace-dialog.auth-compact #dialog-body{padding:0 20px 12px}.auth-compact .account-social{gap:6px;margin-bottom:8px}.auth-compact #account-form{gap:3px}.auth-compact #dialog-description{font-size:11px}.auth-compact #dialog-body>.account-status{margin-top:4px}}

@media(max-height:480px) and (min-width:520px){
#workspace-dialog.auth-compact{width:min(680px,calc(100vw - 24px))}
#workspace-dialog.auth-compact .dialog-top{padding:10px 20px 8px}
#workspace-dialog.auth-compact .dialog-top h2{font-size:22px}
.auth-compact #dialog-description{margin-top:3px}
#workspace-dialog.auth-compact #dialog-body{display:grid;grid-template-columns:1fr 1.2fr;gap:8px 20px;align-items:start;padding:0 20px 10px}
.auth-compact #account-form{grid-column:2;grid-row:1/span 4;gap:2px}
.auth-compact .account-social{grid-column:1;margin:0}
.auth-compact #dialog-body>.account-status,.auth-compact .account-social-status{grid-column:1}
.auth-compact .auth-divider{margin:0}
#workspace-dialog.auth-compact #dialog-body input{height:40px;min-height:40px}
.auth-compact #account-form .account-actions{margin-top:3px}
#workspace-dialog.auth-compact .account-actions .publish-button{min-height:40px;padding:8px 16px}
#dialog-body .auth-switch{margin-top:3px}
}

@media(max-height:480px) and (min-width:520px){.auth-compact .auth-divider{display:none}.auth-compact #account-form>label:not(:first-child){margin-top:0}#dialog-body .auth-switch .subtle-button{min-height:28px;padding-block:4px}}

/* Registration-only offer; no change to authentication or credit rules. */
.auth-free-credit{position:static;display:grid;gap:3px;margin:0 0 12px;padding:11px 13px;width:auto;border:1px solid #e5d9f4;border-radius:12px;background:#f4edfc;color:#634286;font-size:11px;line-height:1.45;overflow:visible}
.auth-free-credit strong{font-size:12px;font-weight:650;color:#59328d}.auth-free-credit span{display:block}
.auth-free-credit[hidden]{display:none!important}
@media(max-height:650px){.auth-free-credit{padding:8px 11px;margin-bottom:8px;gap:2px}}
@media(max-height:480px) and (min-width:520px){.auth-compact .auth-free-credit{grid-column:1;margin:0}.auth-compact .account-social{grid-row:2}.auth-compact #account-form{grid-row:1/span 5}}

@media(max-height:480px) and (min-width:520px){.auth-compact #dialog-body>.account-status{grid-row:3}.auth-compact:has(.auth-free-credit[hidden]) .account-social{grid-row:1}}

.shop-admin-form{display:grid;gap:16px;max-width:620px}.shop-admin-form label{display:grid;gap:8px}.shop-admin-form input,.shop-admin-form textarea{padding:12px;border:1px solid #d7cde7;border-radius:10px;font:inherit;max-width:100%}.shop-admin-form textarea{min-height:90px}.shop-admin-form input[type=checkbox]{width:20px;height:20px}
.application-dialog .shop-admin-form{min-width:0;grid-template-columns:minmax(0,1fr)}
.application-dialog .shop-admin-form>*{min-width:0;overflow-wrap:anywhere}
.application-dialog .shop-admin-form label{grid-template-columns:minmax(0,1fr)}
.application-dialog .shop-admin-form select,.application-dialog .shop-admin-form textarea,.application-dialog .shop-admin-form input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;max-width:100%}

.backend-product-thumb{width:52px;height:52px;object-fit:cover;border-radius:9px;flex:none}.shop-product-row .backend-person{flex:1}.shop-product-row{flex-direction:row;align-items:center}.backend-tabs [role=tab]{min-height:40px;padding:9px 18px;border-radius:8px}

.shop-variants{border:1px solid #e5ddec;border-radius:12px;padding:14px;min-width:0}.shop-variants legend{font-size:13px;padding:0 6px}.shop-variant-row{display:grid;grid-template-columns:2fr 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #eee6f4}.shop-variant-row:last-child{border-bottom:0}.shop-variant-row input{width:100%;min-width:0}@media(max-width:520px){.shop-variant-row{grid-template-columns:1fr}}

.shop-destinations{border:1px solid #e5ddec;border-radius:12px;padding:14px}.shop-destinations summary{cursor:pointer;font-weight:600;min-height:28px}.shop-country-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin-top:12px}.shop-admin-form .shop-country-grid label{display:flex;align-items:center;gap:9px;min-height:40px;font-size:13px;margin:0}.shop-admin-form .shop-country-grid input[type=checkbox],.shop-variant-row input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:#6939c9}@media(max-width:520px){.shop-country-grid{grid-template-columns:1fr}}

.shop-provider-settings{border:1px solid #e5ddec;border-radius:12px;padding:14px;margin:16px 0}.shop-provider-settings summary{cursor:pointer;font-weight:600;min-height:28px}.shop-provider-settings form{margin-top:16px}.shop-provider-settings select{min-height:44px;border:1px solid #d7cde7;border-radius:10px;padding:10px;font:inherit;background:#fff;color:inherit}

/* Signed-in preferences share the dialog shell, never the authentication layout. */
#workspace-dialog.account-dialog:has(.account-summary){box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}
.account-dialog:has(.account-summary) .dialog-brand,.account-dialog:has(.account-summary) .dialog-emblem{display:none}
#workspace-dialog.account-dialog:has(.account-summary) .dialog-top{padding:24px 24px 20px;align-items:center}
.account-dialog:has(.account-summary) #dialog-body{padding:20px 24px 16px;min-width:0}
.account-dialog .account-summary{min-width:0;padding-bottom:18px;border-bottom:1px solid #e9e1f0}
.account-section-label{display:block;font-size:12px;color:#746481}
.account-dialog .account-summary .account-identity{margin:4px 0 0;padding:0;border:0;border-radius:0;background:none;font-size:16px!important;line-height:1.5;overflow-wrap:anywhere}
.account-connections h3{font-size:13px;font-weight:600;color:#493657;margin:18px 0 10px}
.account-dialog .account-connections .account-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
#dialog-body .account-connections .social-login{display:grid;grid-template-columns:22px minmax(0,1fr);justify-items:start;align-items:center;gap:3px 9px;width:100%;min-width:0;min-height:66px;padding:12px;background:#fff;color:#382647;border:1px solid #ded3e9;border-radius:12px;opacity:1;white-space:normal;text-align:left;box-shadow:none}
#dialog-body .account-connections .social-login svg{width:20px;height:20px;grid-row:1/3}
#dialog-body .account-connections .social-login span{font-size:13px;font-weight:600}
#dialog-body .account-connections .social-login small{grid-column:2;color:#655173;font-size:11px;opacity:1}
#dialog-body .account-connections .social-facebook svg{color:#1877f2}
#dialog-body .account-connections .social-login:disabled{cursor:default;background:#faf8fd}
#dialog-body .account-connections .social-login:not(:disabled):hover{border-color:#a88acb;background:#f6f0fc}
.account-dialog:has(.account-summary) #dialog-body>.account-status{margin:12px 0 0;font-size:12px;color:#655173}
.account-dialog:has(.account-summary) .communication-settings{margin-top:18px;padding:14px;background:#faf8fd}
.account-dialog:has(.account-summary) .communication-settings [role=status]{color:#746281;margin:8px 0 0}
#dialog-body:has(.account-summary) .profile-language{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:0 0 16px;border-bottom:1px solid #e9e1f0;border-radius:0;background:none;font-size:13px;color:#493657}
#dialog-body:has(.account-summary) .profile-language .language-trigger{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:40px;padding:8px 12px;background:#f5f0fa;border:1px solid #e4d9ee;color:#51376e}
.account-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #e9e1f0}
.account-footer a{font-size:12px}.account-footer .subtle-button{font-size:12px}
@media(max-width:500px){#workspace-dialog.account-dialog:has(.account-summary) .dialog-top{padding:18px 18px 16px}.account-dialog:has(.account-summary) #dialog-body{padding:16px 18px 12px}.account-dialog:has(.account-summary) #dialog-description{margin-top:5px}.account-dialog .account-connections .account-social{gap:8px}#dialog-body .account-connections .social-login{padding:10px;gap:3px 7px}.account-dialog .account-summary .account-identity{font-size:14px!important}}

/* Store management scrolls in the dialog body, never in a second nested panel. */
#workspace-dialog #shop-admin-panel{max-height:none;overflow:visible;min-width:0}

.carrier-accounts{margin-top:28px;padding-top:22px;border-top:1px solid #e5ddec}.carrier-accounts h3{margin:0 0 10px}.carrier-accounts .shop-provider-settings{margin-top:14px}.carrier-accounts summary{line-height:1.5;overflow-wrap:anywhere}.carrier-accounts .shop-admin-form{padding-top:18px}

.carrier-disconnect-confirm{margin-top:16px;padding:16px;border:1px solid #e5ddec;border-radius:14px;background:#faf8fe}
.carrier-disconnect-confirm[hidden]{display:none}
.carrier-disconnect-confirm p{margin:0 0 14px;line-height:1.6}
.carrier-disconnect-confirm button{margin:0 10px 8px 0}

#workspace-dialog.application-dialog #dialog-body{position:relative}
#workspace-dialog.application-dialog #dialog-body[aria-busy="true"]{min-height:180px}
/* Enquiries share the workspace palette, with a compact two-level hierarchy. */
#workspace-dialog.enquiries-dialog,dialog.enquiries-dialog{width:min(960px,calc(100vw - 32px));max-width:960px}
.enquiries-dialog .enq-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.enquiries-dialog .enq-nav a{margin-left:auto;font-size:13px;color:#633cbb}
.enquiries-dialog .enq-nav [aria-pressed=true]{background:#eee6fb;color:#49258e;border-color:#c8b5ed}
.enquiries-dialog .enq-notice:empty{display:none}
.enquiries-dialog .enq-notice{padding:12px 16px;background:#f1ecfb;border-radius:12px;color:#40266e}
.enquiries-dialog .enq-tools{display:grid;grid-template-columns:minmax(0,1fr) 160px auto;gap:12px;align-items:end}
.enquiries-dialog .enq-field{display:grid;gap:7px;min-width:0;font-size:13px;font-weight:600;color:#48365f}
.enquiries-dialog .enq-field input,.enquiries-dialog .enq-field select,.enquiries-dialog .enq-field textarea{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;background:#fff;border:1px solid #ded2ef;border-radius:10px;color:#281e3b;font:inherit;font-weight:400}
.enquiries-dialog .enq-field textarea{resize:vertical}
.enquiries-dialog .enq-muted{font-size:12px;line-height:1.65;color:#756581;overflow-wrap:anywhere}
.enquiries-dialog .enq-item{border:1px solid #e3d9ef;border-radius:14px;margin-top:10px;background:#fff;overflow:hidden}
.enquiries-dialog .enq-item summary{display:flex;align-items:center;gap:12px;justify-content:space-between;cursor:pointer;padding:16px;list-style:none}
.enquiries-dialog .enq-item summary::-webkit-details-marker{display:none}
.enquiries-dialog .enq-item summary>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.enquiries-dialog .enq-item summary small{color:#7b6c89;font-size:12px}
.enquiries-dialog .enq-badge{flex-shrink:0;background:#f0eafa;color:#66449a;font-size:12px;padding:5px 9px;border-radius:7px}
.enquiries-dialog .enq-content{padding:0 18px 18px;border-top:1px solid #eee7f5}
.enquiries-dialog .enq-values{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,3fr);gap:10px 16px;font-size:14px}
.enquiries-dialog .enq-values dt{color:#7a6889}.enquiries-dialog .enq-values dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.enquiries-dialog .enq-edit{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;margin-top:18px;align-items:start}
.enquiries-dialog .enq-edit>button{grid-column:2;justify-self:end}
.enquiries-dialog .enq-paging{display:flex;justify-content:space-between;margin-top:18px}
.enquiries-dialog .enq-empty{padding:24px;border:1px dashed #d7c9e8;border-radius:14px;color:#766486;line-height:1.7}
.enquiries-dialog .enq-verify{display:flex;gap:12px;align-items:end;margin:20px 0 12px}.enquiries-dialog .enq-verify .enq-field{flex:1}
.enquiries-dialog .enq-settings-card{display:grid;gap:14px;padding:20px;border:1px solid #e0d5ef;background:#fff;border-radius:16px;margin:20px 0}
.enquiries-dialog .enq-settings-card h3,.enquiries-dialog .enq-settings-card p{margin:0}.enquiries-dialog .enq-settings-card>button{justify-self:start}
.enquiries-dialog .enq-check{display:flex;align-items:center;gap:10px;font-size:14px}.enquiries-dialog .enq-check input{width:18px;height:18px;flex-shrink:0;accent-color:#633cbb}
.enquiries-dialog button:focus-visible,.enquiries-dialog summary:focus-visible{outline:2px solid #794dde;outline-offset:3px}
@media(max-width:600px){.enquiries-dialog .enq-tools{grid-template-columns:minmax(0,1fr) auto}.enquiries-dialog .enq-tools .enq-field:first-child{grid-column:1/-1}.enquiries-dialog .enq-nav a{margin-left:0;width:100%;padding:5px 0}.enquiries-dialog .enq-edit{grid-template-columns:1fr}.enquiries-dialog .enq-edit>button{grid-column:1}.enquiries-dialog .enq-values{grid-template-columns:1fr;gap:5px}.enquiries-dialog .enq-values dd{margin-bottom:10px}.enquiries-dialog .enq-verify{display:grid}.enquiries-dialog .enq-settings-card{padding:16px}}

/* One-time credit purchase, using the existing billing palette. */
.credit-purchase{padding:24px;margin:18px 0 26px;border:1px solid #d9c9f0;border-radius:20px;background:linear-gradient(135deg,#fbf8ff,#fff);box-shadow:0 8px 28px #4c287208}
.credit-purchase h3{margin:0 0 8px;font-size:22px;color:#291b43}.credit-purchase-intro{margin:0 0 20px;color:#675578;line-height:1.5}
.credit-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;border:0;margin:0 0 20px;min-width:0}.credit-options legend{margin-bottom:10px;font-size:13px;font-weight:600;color:#675578}
.credit-option{position:relative;display:flex!important;flex-direction:column;gap:4px;padding:20px 16px!important;border:1px solid #e1d8ed;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.credit-option:has(:checked){border-color:#7040ce;box-shadow:0 0 0 1px #7040ce;background:#f8f4ff}.credit-option:has(:focus-visible){outline:3px solid #ad8bec;outline-offset:3px}
#dialog-body .credit-option input{position:absolute;right:12px;top:14px;width:16px;height:16px;accent-color:#7040ce;margin:0}.credit-option strong{font-size:28px;color:#2b1d46;line-height:1.2}.credit-option span,.credit-option small{font-size:12px;color:#716080}.credit-option b{margin-top:12px;font-size:19px;color:#382451}.credit-option small{margin-top:2px}
.credit-purchase-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.credit-buy{min-height:46px}.credit-purchase .billing-note{margin-bottom:0}
@media(hover:hover){.credit-option:hover{border-color:#9b78d2}}
@media(max-width:500px){.credit-purchase{padding:16px}.credit-purchase h3{font-size:20px}.credit-options{gap:8px}.credit-option{padding:16px 9px!important;padding-top:34px!important}.credit-option strong{font-size:22px}.credit-option b{font-size:16px}.credit-option small{font-size:10px}.credit-purchase-actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){.credit-option{transition:none}}

@media(max-width:500px){.credit-options{grid-template-columns:1fr}.credit-option{display:grid!important;grid-template-columns:20px 1fr auto;grid-template-rows:auto auto;column-gap:10px;padding:12px!important;align-items:center}#dialog-body .credit-option input{position:static;grid-column:1;grid-row:1 / 3}.credit-option strong{grid-column:2;grid-row:1;font-size:21px;white-space:nowrap}.credit-option span{grid-column:2;grid-row:2;white-space:nowrap}.credit-option b{grid-column:3;grid-row:1 / 3;margin:0;white-space:nowrap}.credit-option small{display:none}}

.wp-inventory-group{padding:16px;border:1px solid #e6dced;border-radius:14px;margin:12px 0;background:#fff}.wp-inventory-group h4{margin:0 0 12px}.wp-inventory-group ul{list-style:none;padding:0;margin:0}.wp-inventory-group li{display:flex;gap:12px;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f0eaf5}.wp-inventory-group li span{overflow-wrap:anywhere}.wp-inventory-group small{white-space:nowrap;color:#715d83}

.credit-expiry{border-bottom:1px solid #e7dced;padding:12px 0;margin:12px 0}.credit-expiry summary{cursor:pointer;color:#5c3c88;font-weight:600}.credit-expiry ul{list-style:none;padding:0}.credit-expiry li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 0}.credit-expiry small{color:#725f81}

.credit-warning{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid #e0d0f0;border-radius:12px;background:#faf5ff;color:#604580;font-size:12px;margin:0 0 8px;flex-wrap:wrap}.credit-warning button{font:inherit;font-weight:600;color:#6334b6}

#wordpress-target{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;margin:0 0 8px;font-size:12px;padding:6px 10px;border:1px solid var(--line,#ded5ee);border-radius:8px}

.wp-inventory form{scroll-margin-top:180px}

.wp-attributes{display:grid;gap:12px;min-width:0}.wp-attributes fieldset{display:grid;gap:10px;margin:0;padding:14px;border:1px solid var(--line,#ded5ee);border-radius:12px;min-width:0}.wp-inventory .backend-row{flex-wrap:wrap;gap:10px}.wp-inventory .backend-row strong{overflow-wrap:anywhere}.wp-inventory-group li{flex-wrap:wrap;align-items:center}.wp-inventory-group li>span{flex:1 1 140px}.wp-inventory input[type=checkbox]{width:18px;height:18px;vertical-align:middle;margin-right:8px}

.wp-resource-actions{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0;border-bottom:1px solid #e8e0f1;margin-bottom:16px}.wp-resource-actions .subtle-button{border:1px solid #e5dcef;border-radius:9px;background:#faf8fe;padding:9px 13px;min-height:38px}.wp-resource-actions .subtle-button:hover{background:#eee6fb;color:#532a98}.wp-inventory .shop-provider-settings>h3{margin:0}.wp-inventory .shop-provider-settings>.backend-help{margin:0 0 6px;line-height:1.6}.wp-attributes fieldset label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.wp-attributes fieldset label input[type=checkbox]{order:-1;flex:0 0 18px}
/* Shopify catalogue follows the existing workspace palette and form rhythm. */
.shop-catalogue-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.shop-catalogue-heading h3{margin:0}
.shop-catalogue-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0;padding:5px;border-radius:14px;background:#f3eefb}
.shop-catalogue-tabs button{flex:1;min-width:0;white-space:nowrap;overflow-wrap:normal;word-break:normal;min-height:42px;border:0;background:transparent;border-radius:10px;color:#5d4c7c;padding:9px 12px}
.shop-catalogue-tabs button[aria-current=true]{background:#fff;color:#552dc1;box-shadow:0 2px 8px #35205b0d}
.shop-catalogue-area,.shop-catalogue-list{display:grid;gap:14px;min-width:0}
.shop-catalogue-card{border:1px solid #e4daf3;border-radius:16px;padding:18px;background:#ffffffb8;min-width:0}
.shop-catalogue-card+.shop-catalogue-card{margin-top:16px}
.connections-dialog{width:min(1040px,calc(100vw - 32px))}.connections-intro{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:20px}.connections-intro p{margin:0;max-width:570px;color:#75658c}.connections-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}.connection-card{min-width:0;padding:22px;border:1px solid #e4daf3;border-radius:18px;background:linear-gradient(150deg,#fff,#faf7ff)}.connection-card-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.connection-card h3{margin:0;font-size:18px}.connection-card p{font-size:14px;line-height:1.6;color:#75658c}.connection-card small{display:block;overflow-wrap:anywhere}.connection-state{font-size:11px;padding:5px 9px;border-radius:20px;background:#f0ebf7;color:#6c617d}.connection-state.is-configured{background:#eaf6ef;color:#266c46}.connection-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.connection-actions button{text-align:left}.connection-detail{padding:12px;background:#f5f0fb;border-radius:12px}.connection-oauth{margin-top:14px;border-top:1px solid #e4daf3;padding-top:14px}.connection-oauth summary{cursor:pointer;font-size:14px;font-weight:600}.connection-oauth form{display:grid;gap:12px;margin-top:16px}.connection-oauth label{display:grid;gap:8px}.connection-oauth input{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #d7cde7;border-radius:10px;font:inherit}.connection-oauth .publish-button{white-space:normal}@media(max-width:640px){.connections-grid{grid-template-columns:minmax(0,1fr)}.connection-card{padding:18px}.connections-intro{align-items:flex-start;flex-direction:column}.connections-dialog{width:calc(100vw - 24px)}}
.shop-catalogue-card summary{cursor:pointer;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.shop-catalogue-card[open]>summary{margin-bottom:18px}
.shop-catalogue-card .shop-admin-form+.shop-admin-form{margin-top:20px;padding-top:20px;border-top:1px solid #e4daf3}
.shop-catalogue-fields,.shop-catalogue-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.shop-catalogue-images img{width:100%;height:160px;object-fit:contain;border-radius:10px;background:#f8f6fc}
.shop-catalogue-confirm{display:flex;gap:8px;align-items:center;margin-bottom:18px}
.shop-catalogue-area label:has(>input[type=checkbox]){display:flex;align-items:center;gap:9px}
.shop-catalogue-area input[type=checkbox]{width:18px;height:18px;flex:0 0 18px}
@media(max-width:600px){.shop-catalogue-fields,.shop-catalogue-images{grid-template-columns:minmax(0,1fr)}.shop-catalogue-card{padding:14px}.shop-catalogue-tabs button{font-size:12px;padding:8px}.shop-catalogue-area .publish-button{width:100%;white-space:normal}}
.shop-proposal-field{padding:12px 0;border-bottom:1px solid #e4daf3}
.shop-proposal-field pre{font:inherit;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;padding:12px;background:#f8f6fc;border-radius:10px}
#workspace-dialog.connections-dialog{width:min(1040px,calc(100vw - 32px))}.connections-dialog .connection-actions button{padding:9px 12px;border:1px solid #e3d8f1;background:#fff;font-size:13px;min-height:40px}.connections-dialog .connection-actions button:hover{background:#f0e9fa;border-color:#cbb9e4}.connections-dialog .connection-card{display:flex;flex-direction:column}.connections-dialog .connection-actions{margin-top:auto;padding-top:16px}.connections-dialog .connection-card p{margin:8px 0 14px}.connections-dialog .connection-card-head{align-items:flex-start}.connections-dialog .connection-card h3{font-size:17px}@media(max-width:640px){#workspace-dialog.connections-dialog{width:calc(100vw - 24px)}}

#workspace-dialog.brief-dialog{width:min(860px,calc(100vw - 28px))}.creative-brief-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.creative-brief-form label{display:grid;gap:8px;font-size:13px;font-weight:600;color:#49375f}.creative-brief-form textarea{box-sizing:border-box;width:100%;min-width:0;min-height:76px;padding:12px 14px;border:1px solid #ded3ee;border-radius:12px;resize:vertical;background:#fff;font:14px/1.5 Inter,system-ui,sans-serif;color:#322346}.creative-brief-form textarea:focus-visible{outline:2px solid #8254cd;outline-offset:2px}.brief-note,.brief-actions{grid-column:1/-1}.brief-note{font-size:12px;line-height:1.6;color:#79678b;margin:0}.brief-actions{display:flex;flex-wrap:wrap;gap:10px}.brief-actions button{min-height:44px}.credit-in-progress::after{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor;opacity:.6}@media(max-width:600px){.creative-brief-form{grid-template-columns:1fr;gap:14px}.brief-actions{flex-direction:column}.brief-actions button{width:100%}}

#workspace-dialog .creative-brief-form textarea{font-size:14px!important;font-weight:400!important;line-height:1.5!important}#workspace-dialog .creative-brief-form textarea::placeholder{font-weight:400}.brief-surprise{grid-column:1/-1;justify-self:start;border:1px solid #d8c8ee!important;background:#f3edfb!important;color:#623c9b!important;padding:10px 18px!important;min-height:44px}@media(max-width:600px){#workspace-dialog .creative-brief-form textarea{font-size:16px!important;min-height:96px}}

.shop-admin-form .store-confirmation{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}.shop-admin-form .store-confirmation[hidden]{display:none}.store-confirmation input{flex:0 0 20px;margin-top:1px;accent-color:#6939c9}
