.editor-launcher{position:fixed;right:22px;bottom:22px;z-index:35;display:flex;align-items:center;gap:9px;background:#f58220;color:#202a33;border:1px solid #ed7614;border-radius:999px;padding:13px 19px;font:700 12px 'DM Sans',sans-serif;text-decoration:none;box-shadow:0 5px 22px #202a3326}.editor-launcher>span:first-child{font-size:19px;line-height:1}.editor-launcher:hover{background:#ffa252}.editor-launcher:focus-visible{outline:3px solid #202a33;outline-offset:4px}.editor-body{margin:0;background:#f7f6f2;color:#202a33;font:15px/1.7 'DM Sans',sans-serif}.editor-body *{box-sizing:border-box}.editor-body a{color:inherit;text-decoration:none}.editor-body a:focus-visible,.editor-body button:focus-visible,.editor-body input:focus-visible,.editor-body textarea:focus-visible{outline:3px solid #c65c08;outline-offset:4px}.editor-header{padding:22px max(25px,calc((100vw - 1120px)/2));display:flex;align-items:center;gap:24px;background:#fafaf7;border-bottom:1px solid #d9dfdc}.editor-brand{font:800 26px Manrope,sans-serif;color:#c65c08!important;white-space:nowrap}.editor-brand span{color:#747474;font-weight:500}.editor-badge{font-size:11px;background:#e8ede6;padding:5px 11px;border-radius:4px}.editor-header>a:last-child{margin-left:auto;font-size:12px}.editor-shell{max-width:1120px;padding:35px 25px 70px;margin:auto}.editor-back{font-size:12px;color:#647078!important}.editor-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;margin-top:35px}.editor-shell h1{font:500 clamp(31px,4.5vw,52px)/1.2 Manrope,sans-serif;letter-spacing:-1.7px;margin:18px 0}.editor-intro{max-width:670px;color:#647078;margin-bottom:35px}.editor-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:44px;align-items:start}.editor-card{border:1px solid #d9dfdc;background:#fff;padding:30px;border-radius:6px}.editor-card>label:not(.editor-option){display:block;font-size:12px;font-weight:700;margin:0 0 9px}.editor-card input:not([type=checkbox]),.editor-card textarea{display:block;width:100%;font:inherit;color:#202a33;border:1px solid #cbd3ce;border-radius:4px;padding:12px;margin-bottom:23px;background:#fafbf8;resize:vertical}.editor-card input[readonly]{font-size:13px;color:#647078}.editor-option{display:flex;align-items:center;gap:10px;font-size:12px;margin:5px 0 24px}.editor-option input{width:17px;height:17px;accent-color:#c65c08}.editor-card button,.editor-chat{display:block;width:100%;padding:13px 18px;font:700 13px 'DM Sans',sans-serif;text-align:center;border-radius:4px;cursor:pointer}.editor-card button{background:#f58220;color:#202a33;border:1px solid #f58220}.editor-chat{border:1px solid #202a33;color:#202a33}.editor-chat:hover{background:#f1f3ef}.editor-card button:hover{background:#ffa252}.editor-note,#editor-status{font-size:12px;color:#647078;line-height:1.7}.editor-note{margin-bottom:0}#editor-status{min-height:21px;margin:13px 0 22px}.editor-help h2{font:500 27px/1.3 Manrope,sans-serif;letter-spacing:-.7px;margin:15px 0 25px}.editor-help .editor-eyebrow{margin-top:0}.editor-help ol{padding-left:22px;color:#647078;font-size:14px}.editor-help li{padding:0 0 17px 7px}.editor-info{padding:22px;background:#e9ede6;border-left:3px solid #f58220;border-radius:3px;margin-top:20px}.editor-info strong{font-size:13px}.editor-info p{font-size:12px;color:#647078;margin-bottom:0}@media(max-width:760px){.editor-launcher{right:14px;bottom:72px;padding:11px 14px;font-size:11px}.editor-layout{grid-template-columns:1fr;gap:30px}.editor-header{padding:17px 20px;gap:12px;flex-wrap:wrap}.editor-badge{font-size:9px}.editor-card{padding:23px}.editor-shell{padding:25px 20px 45px}.editor-shell h1{letter-spacing:-1px}.editor-intro{font-size:14px}.editor-header>a:last-child{font-size:11px}}
.editor-card h2{font:500 24px/1.3 Manrope,sans-serif;letter-spacing:-.5px;margin:0 0 20px}.editor-connection{background:#f3f4ee;border:1px solid #d9dfdc;padding:14px 17px;border-radius:4px;font-size:13px;margin-bottom:25px}.editor-connection[data-connected=true]{background:#e9f1e5;border-color:#c2d4b8}.editor-card #key-hint{margin:-10px 0 24px}.editor-card .editor-option{align-items:start;line-height:1.6;margin:23px 0}.editor-card .editor-option input{flex-shrink:0;margin-top:2px}.editor-card button:disabled{opacity:.6;cursor:wait}
.chat-shell{max-width:1420px;padding:32px 35px 55px;margin:auto}.chat-topline{display:flex;justify-content:space-between;gap:30px;align-items:center}.chat-topline .editor-eyebrow{margin-top:24px}.chat-topline h1{font:500 clamp(28px,3.2vw,43px)/1.2 Manrope,sans-serif;letter-spacing:-1.4px;margin:14px 0}.chat-topline p{font-size:14px;color:#647078;margin:0}.chat-connection{font-size:11px;padding:8px 13px;border:1px solid #d9dfdc;border-radius:99px;white-space:nowrap}.chat-connection[data-connected=true]{color:#42643e;background:#e9f1e5;border-color:#cfdeca}.chat-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:24px 0}.chat-toolbar>label{font-size:12px;font-weight:700}.chat-toolbar select{max-width:390px;min-width:180px;flex:1}.chat-toolbar button,.chat-export{font:600 11px 'DM Sans',sans-serif;border:1px solid #cbd3ce;background:transparent;color:#34424b;padding:10px 13px;border-radius:4px;cursor:pointer}.chat-toolbar select,.chat-review select{font:12px 'DM Sans',sans-serif;border:1px solid #cbd3ce;border-radius:4px;padding:11px;background:#fff;color:#202a33;max-width:100%}.chat-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:25px;align-items:start}.chat-conversation{min-width:0;background:#fff;border:1px solid #d9dfdc;border-radius:6px;overflow:hidden}.chat-messages{height:450px;overflow:auto;padding:25px;overscroll-behavior:contain;scroll-behavior:smooth}.chat-message{display:flex;align-items:start;gap:13px;margin-bottom:26px;font-size:14px}.chat-avatar{width:29px;height:29px;flex:0 0 29px;display:flex;align-items:center;justify-content:center;font:700 12px Manrope,sans-serif;background:#e9ede6;border-radius:6px;color:#42594b}.chat-message.user .chat-avatar{background:#fbe4d1;color:#8c4100}.chat-message strong{font-size:11px}.chat-message p{margin:7px 0 0;color:#52616b;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.chat-message.user>div{background:#faf6f0;border-radius:5px;padding:12px 15px;flex:1}.chat-compose{padding:19px 22px 12px;border-top:1px solid #e5e8e4;background:#fafbf8}.chat-compose textarea{width:100%;resize:vertical;min-height:85px;max-height:230px;border:0;background:transparent;font:14px/1.7 'DM Sans',sans-serif;color:#202a33;padding:0}.chat-compose-actions{display:flex;align-items:center;gap:15px;margin-top:15px;flex-wrap:wrap}.chat-compose-actions>span{font-size:9px;color:#7b868b}.chat-attach{font-size:11px;font-weight:600;cursor:pointer}.chat-attach input{display:block;font-size:10px;max-width:190px;margin-top:5px}.chat-compose-actions button,.chat-review #chat-publish{background:#f58220;color:#202a33;font:700 12px 'DM Sans',sans-serif;border:1px solid #ed7614;border-radius:4px;padding:11px 19px;cursor:pointer}.chat-compose-actions button{margin-left:auto}.chat-compose-actions button:disabled,.chat-review button:disabled{opacity:.5;cursor:default}.chat-compose #chat-status{font-size:11px;line-height:1.7;color:#647078;margin:12px 0 0}.chat-footnote{font-size:10px;line-height:1.8;color:#7a858b;margin:0;padding:0 22px 20px;background:#fafbf8}.chat-review{border:1px solid #d9dfdc;background:#fff;border-radius:6px;min-width:0;padding:25px}.chat-review-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.chat-review-head .editor-eyebrow{margin:0;width:100%}.chat-review h2{font:500 27px/1.3 Manrope,sans-serif;letter-spacing:-.8px;margin:0}.chat-review-head>span:last-child{font-size:9px;background:#f3f4ee;padding:5px 8px;border-radius:3px;margin-left:auto}.chat-empty{padding:65px 25px;text-align:center;color:#7a858b}.chat-empty>span{font-size:45px;font-weight:300;color:#b8c3b9}.chat-empty h3{font:500 20px Manrope,sans-serif;color:#34424b}.chat-empty p{font-size:13px;max-width:280px;margin:auto}.chat-review label{display:block;font-size:11px;font-weight:600;margin:22px 0 8px}.chat-review #chat-preview-page{width:100%;margin-bottom:9px}.chat-review #chat-preview-link{display:block;font-size:10px;text-align:right;margin-bottom:13px;color:#a44a00}.chat-review iframe{display:block;width:100%;height:400px;border:1px solid #d9dfdc;background:#f7f6f2;border-radius:4px}.chat-diff{margin:18px 0;font-size:12px}.chat-diff summary{cursor:pointer;font-weight:600}.chat-diff-entry{padding:15px 0;border-bottom:1px solid #e5e8e4}.chat-diff-entry>strong{font-size:10px}.chat-diff-entry p{font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap;max-height:160px;overflow:auto;margin:8px 0}.chat-diff-entry .before{color:#8e6560;text-decoration:line-through;background:#fcf2ef;padding:7px}.chat-diff-entry .after{color:#42643e;background:#eff5eb;padding:7px}.chat-review #chat-publish{width:100%}.chat-review #chat-publish-status{font-size:11px;color:#647078;margin:10px 0}.chat-history{border-top:1px solid #e5e8e4;margin-top:24px;padding-top:20px}.chat-history h3{font:600 12px 'DM Sans',sans-serif;margin:0 0 12px}.chat-history select{width:100%;font-size:10px}.chat-history button{display:block;background:transparent;border:1px solid #cbd3ce;padding:9px 12px;border-radius:4px;font:600 10px 'DM Sans',sans-serif;margin-top:10px;cursor:pointer}.chat-history p{font-size:10px;line-height:1.7;color:#7a858b;margin:12px 0 0}.chat-key-settings{max-width:730px;margin-top:30px}.chat-attachments{display:flex;gap:10px;flex-wrap:wrap;padding:0 22px}.chat-attachments>div{margin-bottom:16px;border:1px solid #d9dfdc;padding:7px;border-radius:4px}.chat-attachments img{width:70px;height:58px;object-fit:cover;display:block}.chat-attachments button{background:none;border:0;font:10px 'DM Sans',sans-serif;cursor:pointer;padding:5px 0 0}.chat-warning{border-left:3px solid #f58220;background:#fff0dd;padding:17px;font-size:12px;margin-bottom:20px}.chat-retry{background:none;border:1px solid #cbd3ce;font:11px 'DM Sans',sans-serif;padding:8px 10px;margin-top:8px;border-radius:3px;cursor:pointer}.chat-rollback{max-width:460px;border:1px solid #d9dfdc;border-radius:6px;padding:30px;font:14px/1.7 'DM Sans',sans-serif;color:#202a33}.chat-rollback::backdrop{background:#17253088}.chat-rollback h2{font:500 25px/1.3 Manrope,sans-serif}.chat-rollback button{font:600 12px 'DM Sans',sans-serif;padding:11px 14px;border:1px solid #cbd3ce;border-radius:4px;cursor:pointer;background:#fff;margin:5px}.chat-rollback button:first-of-type{background:#f58220;border-color:#f58220}.chat-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.content-body .editor-published-section{padding:15px 0}.editor-body [hidden]{display:none!important}@media(max-width:900px){.chat-shell{padding:25px 20px 40px}.chat-workspace{grid-template-columns:1fr}.chat-topline{align-items:start}.chat-messages{height:360px}.chat-review iframe{height:450px}.chat-toolbar select{max-width:none}.chat-topline h1{font-size:31px;letter-spacing:-1px}}@media(max-width:550px){.chat-topline{flex-direction:column;gap:18px}.chat-topline .editor-eyebrow{font-size:9px}.chat-toolbar{gap:9px}.chat-toolbar>label{width:100%}.chat-toolbar select{width:100%;flex-basis:100%}.chat-messages{padding:20px 17px;height:340px}.chat-compose{padding:16px}.chat-message{gap:10px}.chat-message p{font-size:13px}.chat-compose-actions{gap:9px}.chat-compose-actions>span{display:none}.chat-review{padding:20px}.chat-review iframe{height:390px}.chat-footnote{padding:0 16px 16px}.chat-connection{font-size:10px}}
.editor-launcher{cursor:pointer}.editor-widget{position:fixed;inset:auto 22px 84px auto;margin:0;padding:0;width:min(560px,calc(100vw - 40px));height:min(760px,calc(100dvh - 112px));max-width:none;max-height:none;border:1px solid #ced6d1;border-radius:12px;overflow:hidden;background:#fff;color:#202a33;box-shadow:0 16px 70px #14232f44}.editor-widget[open]{display:flex;flex-direction:column}.editor-widget::backdrop{background:#17253022}.editor-widget-header{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#182b39;color:#fff;padding:17px 19px;font-family:'DM Sans',sans-serif;flex-shrink:0}.editor-widget-header strong{font-size:14px;font-weight:600;display:block}.editor-widget-header span{display:block;font-size:10px;color:#bac7ce;margin-top:3px}.editor-widget-close{width:32px;height:32px;background:#ffffff12;border:1px solid #ffffff30;color:#fff;font-size:23px;line-height:1;border-radius:5px;cursor:pointer;padding:0}.editor-widget-close:hover{background:#ffffff28}.editor-widget-close:focus-visible{outline:2px solid #f58220;outline-offset:3px}.editor-widget-body{flex:1;min-height:0;display:flex;flex-direction:column}.editor-widget-body iframe{border:0;display:block;width:100%;height:100%;flex:1;min-height:0;background:#f7f6f2}.editor-widget-notice{font:14px/1.8 'DM Sans',sans-serif;padding:32px 27px}.editor-widget-notice p{font-size:14px;color:#52616b;margin:0 0 22px}.editor-widget-notice a{display:inline-block;background:#f58220;color:#202a33;font-weight:700;font-size:12px;border-radius:4px;padding:12px 17px;text-decoration:none}.chat-embedded-tabs{display:none}.chat-key-close{display:block!important;width:auto!important;background:transparent!important;border:1px solid #cbd3ce!important;font-size:11px!important;padding:7px 10px!important;margin:0 0 20px auto!important;color:#34424b!important}
.editor-embedded{height:100dvh;overflow:hidden}.editor-embedded .editor-header,.editor-embedded .chat-topline{display:none}.editor-embedded .chat-shell{height:100dvh;max-width:none;padding:12px;display:flex;flex-direction:column;position:relative;overflow:hidden}.editor-embedded .chat-embedded-tabs{display:flex;align-items:center;gap:7px;flex-shrink:0;margin-bottom:10px}.chat-embedded-tabs button{border:1px solid #d2dad4;border-radius:4px;background:#fff;color:#52616b;font:600 11px 'DM Sans',sans-serif;padding:8px 11px;cursor:pointer}.chat-embedded-tabs button[aria-pressed=true]{background:#e9ede6;color:#202a33;border-color:#becbc0}.chat-embedded-tabs span{margin-left:auto;font-size:9px;color:#526f49}.editor-embedded .chat-toolbar{padding:0 0 12px;gap:7px;flex-shrink:0}.editor-embedded .chat-toolbar>label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.editor-embedded .chat-toolbar select{font-size:11px;flex:1;min-width:0;max-width:none;padding:8px;flex-basis:100%}.editor-embedded .chat-toolbar button,.editor-embedded .chat-export{font-size:10px;padding:7px 9px}.editor-embedded .chat-workspace{display:block;min-height:0;flex:1}.editor-embedded .chat-conversation{height:100%;display:flex;flex-direction:column}.editor-embedded .chat-messages{height:auto;min-height:0;flex:1;padding:18px 15px}.editor-embedded .chat-message{font-size:13px;gap:10px;margin-bottom:20px}.editor-embedded .chat-message p{font-size:13px;line-height:1.7}.editor-embedded .chat-avatar{width:25px;height:25px;flex-basis:25px}.editor-embedded .chat-compose{padding:12px 14px 8px;flex-shrink:0}.editor-embedded .chat-compose textarea{min-height:62px;height:62px;max-height:140px;font-size:13px}.editor-embedded .chat-compose-actions{margin-top:7px;gap:9px}.editor-embedded .chat-compose-actions>span{display:none}.editor-embedded .chat-attach{font-size:10px}.editor-embedded .chat-attach input{max-width:185px;font-size:9px}.editor-embedded .chat-compose-actions button{font-size:11px;padding:9px 13px}.editor-embedded .chat-compose #chat-status{font-size:10px;margin-top:8px}.editor-embedded .chat-footnote{font-size:9px;line-height:1.5;padding:3px 14px 10px;flex-shrink:0}.editor-embedded .chat-review{display:none;height:100%;overflow:auto;padding:18px}.editor-embedded-review .chat-review{display:block}.editor-embedded-review .chat-conversation{display:none}.editor-embedded .chat-review iframe{height:350px}.editor-embedded .chat-review-head h2{font-size:23px}.editor-embedded .chat-empty{padding:30px 10px}.editor-embedded .chat-key-settings{position:absolute;inset:12px;max-width:none;margin:0;z-index:4;overflow:auto;padding:22px;background:#fff;box-shadow:0 5px 25px #202a3320}.editor-embedded .chat-warning{font-size:10px;padding:10px;margin-bottom:10px;flex-shrink:0}.editor-embedded .chat-attachments{max-height:90px;overflow:auto;padding:0 14px;flex-shrink:0}.editor-embedded .chat-attachments>div{margin-bottom:8px}.editor-embedded .chat-attachments img{height:42px;width:55px}
@media(max-width:760px){.editor-widget{inset:12px 8px 126px 8px;width:auto;height:auto;border-radius:10px}.editor-widget-header{padding:13px 15px}.editor-widget-header strong{font-size:13px}.editor-embedded .chat-shell{padding:8px}.editor-embedded .chat-embedded-tabs button{font-size:10px;padding:7px 9px}.editor-embedded .chat-toolbar{gap:6px}.editor-embedded .chat-compose textarea{min-height:54px;height:54px}.editor-embedded .chat-footnote{font-size:8px}.editor-embedded .chat-compose-actions .chat-attach input{max-width:160px}}
/* Explicit conversation roles, readable chat bubbles and a real request indicator. */
.chat-messages{background:#f2f5f2}.chat-message{align-items:flex-end}.chat-message>div{max-width:calc(100% - 44px);min-width:0}.chat-message.assistant>div{background:#fff;border:1px solid #e1e6e0;border-radius:11px 11px 11px 2px;padding:13px 15px;box-shadow:0 2px 4px #243b2e04}.chat-message.assistant .chat-avatar{background:#203849;color:#fff;font-size:10px}.chat-message.user{flex-direction:row-reverse}.chat-message.user>div{background:#fff0df;border:1px solid #f2d2ae;border-radius:11px 11px 2px 11px;padding:13px 15px;flex:0 1 auto}.chat-message.user .chat-avatar{background:#f58220;color:#202a33;font-size:10px}.chat-message-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chat-message-meta time{font-size:9px;color:#8a969b}.chat-message.user .chat-message-meta{justify-content:flex-end}.chat-message.system{justify-content:center;align-items:start}.chat-message.system .chat-avatar{display:none}.chat-message.system>div{max-width:100%;padding:10px 13px;border:1px solid #ead9c1;background:#fff8ed;border-radius:5px}.chat-message.system p{font-size:12px}.chat-compose-label{display:flex;align-items:center;gap:9px;margin-bottom:9px;font:600 11px 'DM Sans',sans-serif;color:#647078}.chat-compose-label b{background:#f58220;color:#202a33;font-size:9px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:23px;height:23px}.chat-typing>div{font-size:12px}.chat-typing p{font-size:12px!important}.typing-dots{display:inline-flex;align-items:center;gap:3px;margin-left:5px}.typing-dots i{height:4px;width:4px;border-radius:50%;background:#738c80;animation:chat-dot 1.2s ease-in-out infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes chat-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.typing-dots i{animation:none}}
.chat-auth-notice{padding:14px 17px;background:#fff4e4;border-bottom:1px solid #e8dac3;flex-shrink:0;font-size:12px}.chat-auth-notice>strong{font-size:12px}.chat-auth-notice p{font-size:11px;line-height:1.6;color:#67747a;margin:5px 0 10px}.chat-auth-notice a{display:inline-block;padding:9px 12px;border-radius:4px;background:#f58220;color:#202a33;font:700 11px 'DM Sans',sans-serif}.editor-signin-required #chat-settings,.editor-signin-required #chat-new,.editor-signin-required .chat-export,.editor-signin-required #chat-tab-review{display:none!important}.editor-signin-required #chat-message{background:#f1f3ef;color:#7f8b8b}.editor-signin-required .chat-attach{display:none}.editor-embedded .chat-message>div{max-width:calc(100% - 36px)}.editor-embedded .chat-message.assistant>div,.editor-embedded .chat-message.user>div{padding:11px 13px}.editor-embedded .chat-messages{padding:14px 12px}.editor-embedded .chat-compose-label{margin-bottom:6px;font-size:10px}.editor-embedded .chat-auth-notice{padding:12px 14px}.editor-embedded .chat-auth-notice p{font-size:10px}.editor-embedded .chat-auth-notice a{font-size:10px}.editor-embedded .chat-message.system>div{max-width:100%}

#chat-new[hidden]{display:none!important}.chat-progress{height:3px;background:#e9e3da;overflow:hidden;border-radius:4px;margin-top:12px}.chat-progress span{display:block;width:36%;height:100%;background:#f58220;animation:chat-progress 1.6s ease-in-out infinite}.chat-working #chat-status:before{content:'● ';color:#c65c08}.chat-working #chat-message{opacity:.7}@keyframes chat-progress{from{transform:translateX(-110%)}to{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.chat-progress span{animation:none;width:100%}}
.editor-widget{width:min(650px,calc(100vw - 40px));height:min(820px,calc(100dvh - 112px))}.editor-embedded .chat-toolbar{border:0}.editor-embedded .chat-footnote{font-size:9px;color:#78858b}.editor-embedded .chat-compose textarea{border-radius:8px;padding:10px;background:#fff;border:1px solid #d8dfda}.editor-embedded .chat-messages{min-height:100px}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}

/* Leave room for the hosting platform toolbar below the site chat. */
.editor-launcher{bottom:100px}@media(max-width:760px){.editor-launcher{bottom:130px}}

.migration-notice{background:#fff2d7;color:#61430f;padding:10px 20px;text-align:center;font:600 12px/1.5 sans-serif;position:relative;z-index:36}

.chat-drop-hint{font-size:12px;line-height:1.5;color:#586a71;margin:8px 0}.chat-conversation.chat-drop-active,#chat-conversation.chat-drop-active{outline:3px dashed #f58220;outline-offset:-3px;background:#fff5e7}.chat-drop-active .chat-drop-hint{color:#994600;font-weight:700}#chat-attachments .chat-document{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f1f4ef;border:1px solid #cbd5cc;border-radius:8px;max-width:100%;flex-wrap:wrap}#chat-attachments .chat-document strong{font-size:11px;color:#263f4a}#chat-attachments .chat-document span{font-size:12px;overflow-wrap:anywhere;max-width:240px}#chat-attachments .chat-document button{position:static}

/* Keep the composer inside the iframe, including the migration notice and attachments. */
.editor-widget{inset:auto 12px 12px auto;width:min(720px,calc(100vw - 24px));height:min(920px,calc(100dvh - 24px))}
.editor-embedded{display:flex;flex-direction:column;height:100dvh;min-height:0}
.editor-embedded>.migration-notice{flex:0 0 auto;font-size:10px;line-height:1.4;padding:6px 10px}
.editor-embedded .chat-shell{height:auto;flex:1 1 0;min-height:0}
.editor-embedded .chat-workspace{overflow:auto;overscroll-behavior:contain}
.editor-embedded .chat-messages{min-height:0}
.editor-embedded .chat-attachments{max-height:min(80px,15dvh)}
.editor-embedded .chat-drop-hint{flex:0 0 auto;margin:5px 14px;font-size:10px}
.editor-embedded .chat-compose{position:relative;flex:0 0 auto}
.editor-embedded .chat-footnote{max-height:48px;overflow:auto;overscroll-behavior:contain}
@media(max-width:760px){.editor-widget{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px)}}
@media(max-height:600px){.editor-embedded .chat-conversation{height:auto;min-height:100%}.editor-embedded .chat-messages{flex:1 1 80px;max-height:160px}.editor-embedded .chat-toolbar{padding-bottom:6px}.editor-embedded .chat-attachments{max-height:60px}.editor-embedded .chat-compose textarea{min-height:44px;height:44px}}


/* One chat; draft changes are displayed on the protected administrator page. */
.chat-embedded-tabs,.chat-review{display:none!important}
.chat-workspace{grid-template-columns:minmax(0,1fr)!important}
.editor-embedded-review .chat-conversation{display:flex!important}

/* Veličina mijenja samo okvir; isti iframe čuva razgovor i nacrt. */
.editor-widget-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.editor-widget-actions button{width:34px;height:34px;padding:0;border:1px solid #64717a;border-radius:6px;background:transparent;color:inherit;font:600 20px system-ui;cursor:pointer}
.editor-widget-actions button:focus-visible{outline:3px solid #f58220;outline-offset:2px}
.editor-widget[data-size="compact"]{width:min(440px,calc(100vw - 24px));height:min(560px,calc(100dvh - 24px))}
@media(max-width:760px){.editor-widget[data-size="compact"]{inset:auto 8px 8px;width:calc(100vw - 16px);height:min(560px,calc(100dvh - 16px))}.editor-widget-header{gap:8px}.editor-widget-header>div:first-child{min-width:0}}
