.wb{display:grid;grid-template-columns:206px minmax(0,1fr);min-height:730px;background:#fff;border:1px solid #e6e6eb;border-radius:24px;overflow:hidden;margin:25px 0 8px;box-shadow:0 6px 32px #1d1d1f03;color:#1d1d1f;--wb-muted:#78787f;--wb-line:#ededf0}
.wb button,.wb select,.wb textarea{font:inherit}.wb button{transition:background .18s,color .18s}.wb button:disabled{opacity:.4;cursor:not-allowed}.wb svg{width:16px;height:16px;flex-shrink:0}.wb-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;background:transparent;color:inherit;border-radius:11px;padding:8px 12px;font-size:12px!important;line-height:1.5;text-align:left}.wb-button:hover:enabled{background:#eeeef2}.wb-button-soft{background:#f5f5f7;color:#66666d}.wb-button-text{font-size:11px!important;min-height:32px;padding:6px 8px;color:var(--wb-muted)}.wb-button-dark{background:#1d1d1f;color:#fff}.wb-button-dark:hover:enabled{background:#363639}.wb-button-danger{background:#fff1ef;color:#b42318}.wb-caption{font-size:10px!important;color:var(--wb-muted);line-height:1.6}.wb-sidebar{background:#f8f8fa;border-right:1px solid var(--wb-line);padding:24px 14px 17px;display:flex;flex-direction:column;min-width:0}.wb-sidebar-top{padding:0 6px}.wb-sidebar-label{font-size:13px;font-weight:600;letter-spacing:.3px;display:block;margin:2px 0 25px}.wb-button-new{width:100%;background:#fff;border:1px solid #e7e7ec;justify-content:flex-start;padding:11px 13px;margin-bottom:26px;box-shadow:0 2px 5px #00000002}.wb-button-new svg{margin-right:5px}.wb-sidebar-caption{padding:0 11px;font-size:10px!important;letter-spacing:1px;color:#898990;margin-bottom:11px}.wb-history{display:flex;flex-direction:column;gap:4px;max-height:540px;overflow:auto}.wb-history-row{display:flex;align-items:center;border-radius:10px;min-width:0}.wb-history-row.is-active{background:#eaeaef}.wb-history-select{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;padding:11px}.wb-history-delete{color:#8e8e94;font-size:17px!important;padding:5px;min-width:28px;min-height:36px;margin-right:3px;opacity:0}.wb-history-row:hover .wb-history-delete,.wb-history-row:focus-within .wb-history-delete,.wb-history-row.is-active .wb-history-delete{opacity:1}.wb-sidebar-bottom{margin-top:auto;padding:42px 10px 0}.wb-sidebar-bottom p{font-size:10px;line-height:1.8;color:#8a8a91;margin-bottom:7px}.wb-sidebar-bottom .wb-button{padding-left:0}.wb-delete-confirm{background:#fff;border:1px solid #ead9d7;padding:13px;border-radius:12px;margin:15px 4px}.wb-delete-confirm p{font-size:11px;line-height:1.7;margin-bottom:9px}.wb-main{min-width:0;display:flex;flex-direction:column}.wb-header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 28px 12px;min-height:82px}.wb-model-wrap{min-width:0}.wb-model-select{max-width:100%;font-size:13px!important;font-weight:600!important;padding:5px 22px 5px 0;border:0;background:transparent;color:#2f2f33;cursor:pointer}.wb-model-meta{display:flex;align-items:center;gap:6px;font-size:10px;color:#939399;padding:1px 0;min-width:0}.wb-model-meta>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:340px}.wb-status-dot{width:5px;height:5px;border-radius:50%;background:#b6b6bd;flex-shrink:0}.wb-status-dot.is-ready{background:#348b53}.wb-modes{display:flex;align-self:center;gap:3px;background:#f5f5f7;border-radius:12px;padding:4px;margin:8px 0 0}.wb-modes .wb-button{font-size:11px!important;padding:7px 18px;min-height:31px;border-radius:8px;color:#84848b}.wb-modes .wb-button.is-active{color:#333338;background:#fff;box-shadow:0 1px 4px #0000000b}.wb-messages{padding:18px 38px 20px;flex:1;min-width:0;max-height:600px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dcdce2 transparent}.wb-welcome{max-width:580px;margin:0 auto;padding:49px 0 13px;text-align:center}.wb-mark{font-size:29px;line-height:53px;width:54px;height:54px;margin:0 auto 26px;border:1px solid #e5e5eb;border-radius:16px;background:linear-gradient(145deg,#fff,#f0f0f4);font-weight:600;box-shadow:0 3px 9px #25253206;letter-spacing:-2px;padding-right:2px}.wb-eyebrow{font-size:10px!important;color:#97979d;letter-spacing:1.5px;margin:0 0 11px}.wb-welcome h1{font-size:clamp(24px,2.5vw,33px);font-weight:600;line-height:1.5;letter-spacing:-1px;margin:0 0 10px}.wb-intro{font-size:12px!important;color:#898990;margin-bottom:31px}.wb-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 auto;max-width:580px}.wb-suggestion{display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:space-between;min-height:87px;border:1px solid #ebebef;border-radius:13px;padding:13px;font-size:10px!important;line-height:1.7;color:#73737b;background:#fff}.wb-suggestion svg{height:12px;width:12px;color:#a2a2a9;align-self:flex-end;transform:rotate(-38deg);margin-top:8px}.wb-suggestion:hover:enabled{background:#f8f8fa;border-color:#d8d8df}.wb-composer-area{padding:4px 28px 24px;margin-top:auto}.wb-composer{border:1px solid #dddde4;border-radius:18px;background:#fff;box-shadow:0 3px 14px #00000003;transition:border-color .18s,box-shadow .18s;overflow:hidden}.wb-composer:focus-within{border-color:#b6b6c1;box-shadow:0 3px 14px #00000005}.wb textarea.wb-draft{display:block;resize:none;min-height:80px;max-height:190px;width:100%;padding:20px 20px 9px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;font-size:13px;line-height:1.85;color:#303035}.wb-draft::placeholder{color:#a0a0a7}.wb-draft:disabled{color:#818189}.wb-composer-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px 12px}.wb-composer-left{display:flex;align-items:center;gap:9px;min-width:0}.wb-button-attach{font-size:10px!important;color:#7f7f87;white-space:nowrap;padding:7px 9px;min-height:32px}.wb-button-attach svg{width:13px;height:13px}.wb-char-count{font-size:9px!important;white-space:nowrap}.wb-button-send{background:#1d1d1f;color:white;min-height:34px;flex-direction:row-reverse;font-size:11px!important;padding:8px 13px;border-radius:10px;white-space:nowrap}.wb-button-send:hover:enabled{background:#3c3c43}.wb-button-send svg{width:13px;height:13px;transform:rotate(-90deg)}.wb-button-send:disabled{background:#d2d2d8;color:#fff;opacity:1}.wb-button-stop{background:#f2f2f5;color:#606068;font-size:11px!important;white-space:nowrap}.wb-send-note{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#a0a0a7;margin-top:10px;line-height:1.8}.wb-cost-note{font-size:9px!important;color:#a0a0a7;line-height:1.7;margin:5px 0 0}.wb-connection-note{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#86868e;font-size:10px;line-height:1.75;margin:11px 1px 0}.wb-connection-note .wb-button{flex-shrink:0;font-size:10px!important;padding:2px 3px;min-height:24px;color:#707078}.wb-attachments{display:flex;flex-direction:column;gap:7px;padding:12px 12px 0}.wb-attachment{background:#f6f6f8;border:1px solid #eeeef1;border-radius:10px;display:flex;min-width:0;align-items:flex-start}.wb-attachment details{flex:1;min-width:0}.wb-attachment summary{display:flex;align-items:center;gap:10px;justify-content:space-between;cursor:pointer;padding:9px 11px;font-size:11px;line-height:1.5}.wb-attachment summary>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wb-attachment summary .wb-caption{white-space:nowrap;font-size:9px!important}.wb-attachment pre{max-height:150px;overflow:auto;margin:2px 10px 12px;font-size:10px;line-height:1.75}.wb-attachment-remove{font-size:17px!important;color:#83838b;min-height:33px;padding:4px 10px}.wb-message{margin:16px 0 28px;font-size:13px;min-width:0}.wb-message-heading{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:11px;color:#797981;min-width:0}.wb-message-heading strong{font-weight:500;overflow-wrap:anywhere}.wb-avatar{width:25px;height:25px;border-radius:8px;border:1px solid #e7e7eb;background:#f7f7f9;display:grid;place-items:center;font-size:11px;color:#77777f;flex-shrink:0}.wb-message-assistant .wb-avatar{font-size:16px;background:#2b2b30;color:#fff;border-color:#2b2b30}.wb-message-content{font-size:13px;line-height:1.9;overflow-wrap:anywhere;min-width:0}.wb-prose{white-space:pre-wrap;word-break:break-word}.wb-message-user .wb-message-content{background:#f7f7f9;border-radius:14px;padding:15px 17px;color:#54545c}.wb-message-files{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.wb-message-files span{font-size:10px;background:#f5f5f8;border:1px solid #eeeef3;border-radius:6px;padding:4px 8px;overflow-wrap:anywhere}.wb-message-actions{display:flex;gap:12px;align-items:center;margin-top:5px}.wb-message-actions .wb-button{padding-left:0}.wb-message-actions .wb-caption{font-size:9px!important}.wb-code{margin:14px 0;background:#f6f6f8;border:1px solid #e8e8ed;border-radius:12px;overflow:hidden}.wb-code-head{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;border-bottom:1px solid #e6e6ed;font-size:10px;color:#85858d}.wb-code pre{overflow:auto;padding:16px;font-size:11px;line-height:1.85;white-space:pre}.wb-code code{font-size:inherit}.wb-pending{display:flex;align-items:flex-start;gap:12px;padding:12px 0 20px;color:#85858d;font-size:12px}.wb-pending strong{font-weight:500}.wb-pending p{font-size:10px;margin:5px 0 0;color:#a0a0a7}.wb-spinner{margin-top:2px;border:1.5px solid #dddde4;border-top-color:#66666f;border-radius:50%;width:15px;height:15px;animation:wb-spin 1s linear infinite;flex-shrink:0}@keyframes wb-spin{to{transform:rotate(360deg)}}.wb-error{padding:12px 14px;background:#fff6f3;border:1px solid #f3e1da;color:#9b4e3c;border-radius:12px;margin-bottom:12px}.wb-error p{font-size:11px;line-height:1.8;margin:0 0 4px}.wb-error .wb-button{color:inherit;padding:2px 0;min-height:24px}.wb-followup-actions{display:flex;justify-content:flex-end;margin-bottom:6px}.wb-followup-actions .wb-button{font-size:10px!important}.wb-review{background:#f8f8fb;border:1px solid #e6e6ed;padding:16px;border-radius:14px;margin-bottom:13px;font-size:12px}.wb-review-warning{background:#fffbf5;border-color:#eddfc8}.wb-review strong{font-size:12px;font-weight:550}.wb-review p{font-size:11px;line-height:1.7;margin:7px 0 10px}.wb-preview{background:#fff;border:1px solid #e8e8ec;border-radius:8px;margin:11px 0}.wb-preview summary{font-size:10px;padding:10px 12px;cursor:pointer;color:#77777e}.wb-preview-scroll{max-height:220px;overflow:auto;padding:0 12px 12px}.wb-preview-message{margin-top:10px}.wb-preview-message pre{font-size:10px;line-height:1.8;margin-top:6px}.wb-review-actions{display:flex;gap:6px;flex-wrap:wrap}.wb-review-actions .wb-button{font-size:11px!important}
@media(min-width:1400px){.wb{min-height:770px}.wb-welcome{padding-top:63px;padding-bottom:26px}.wb-messages{max-height:660px}}
@media(max-width:980px){.wb{grid-template-columns:173px minmax(0,1fr)}.wb-sidebar{padding-left:9px;padding-right:9px}.wb-header{padding-left:23px;padding-right:23px}.wb-messages{padding-left:25px;padding-right:25px}.wb-composer-area{padding-left:22px;padding-right:22px}.wb-suggestions{gap:7px}.wb-suggestion{padding:10px;font-size:9px!important}.wb-intro{font-size:11px!important}.wb-char-count{display:none}.wb-model-meta>span:last-child{max-width:240px}}
@media(max-width:760px){.wb{grid-template-columns:minmax(0,1fr);min-height:720px;border-radius:19px;margin-top:20px}.wb-sidebar{padding:11px 16px;border-right:0;border-bottom:1px solid var(--wb-line);display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}.wb-sidebar-top{padding:0;display:flex;align-items:center}.wb-sidebar-label,.wb-sidebar-caption,.wb-sidebar-bottom{display:none}.wb-button-new{margin:0;white-space:nowrap;padding:8px 11px;min-height:36px;font-size:11px!important}.wb-button-new svg{margin:0}.wb-history{flex-direction:row;overflow:auto;max-height:none;align-items:center}.wb-history-row{flex-shrink:0;max-width:170px}.wb-history-select{padding:8px 10px;max-width:142px;font-size:10px!important}.wb-history-delete{opacity:1;font-size:15px!important;min-width:23px;min-height:31px}.wb-delete-confirm{grid-column:1/-1;margin:0;padding:10px 12px}.wb-delete-confirm p{margin-bottom:4px}.wb-delete-confirm .wb-button{min-height:29px;font-size:10px!important}.wb-header{padding:18px 20px 12px;min-height:74px}.wb-header>.wb-button{font-size:10px!important;min-height:31px;padding:6px 10px;white-space:nowrap}.wb-model-select{font-size:12px!important}.wb-model-meta{font-size:9px}.wb-modes{margin-top:4px}.wb-modes .wb-button{font-size:10px!important;padding:6px 16px}.wb-messages{padding:15px 22px 19px;max-height:580px}.wb-welcome{padding-top:35px;padding-bottom:15px}.wb-mark{margin-bottom:23px}.wb-welcome h1{font-size:27px}.wb-intro{margin-bottom:24px}.wb-composer-area{padding:2px 17px 18px}.wb-composer{border-radius:15px}.wb textarea.wb-draft{padding:16px 16px 8px;font-size:12px;min-height:88px}.wb-connection-note{font-size:9px;gap:8px;align-items:flex-start}.wb-connection-note .wb-button{font-size:9px!important;min-height:20px}.wb-send-note{font-size:8px}.wb-cost-note{font-size:8px!important}.wb-message-content{font-size:12px}.wb-sidebar-top .wb-button-new{width:auto}.wb-suggestions{max-width:500px}.wb-suggestion{font-size:10px!important;min-height:88px;padding:12px}}
@media(max-width:440px){.wb{margin-left:-8px;margin-right:-8px;min-height:720px}.wb-sidebar{padding:10px;gap:8px}.wb-button-new{padding:8px 9px;font-size:10px!important;gap:5px}.wb-history-select{font-size:9px!important;max-width:130px}.wb-header{padding:16px 16px 10px;gap:10px}.wb-model-meta>span:last-child{max-width:174px}.wb-header>.wb-button{padding:6px 9px;font-size:9px!important}.wb-modes .wb-button{padding:6px 14px;font-size:10px!important}.wb-welcome{padding-top:32px;padding-bottom:12px}.wb-welcome h1{font-size:25px;letter-spacing:-.8px}.wb-mark{width:48px;height:48px;line-height:47px;border-radius:14px;font-size:27px;margin-bottom:21px}.wb-eyebrow{font-size:9px!important}.wb-intro{font-size:10px!important;max-width:250px;margin-left:auto;margin-right:auto;line-height:1.9}.wb-messages{padding-left:18px;padding-right:18px}.wb-suggestions{grid-template-columns:minmax(0,1fr);gap:7px;max-width:280px}.wb-suggestion{flex-direction:row-reverse;align-items:center;min-height:39px;padding:10px 12px;font-size:10px!important;border-radius:9px}.wb-suggestion svg{align-self:auto;margin:0;flex-shrink:0}.wb-composer-area{padding:2px 13px 16px}.wb-composer-tools{padding:5px 9px 10px;gap:6px}.wb-button-attach{font-size:9px!important;padding:6px}.wb-send-note{display:block;line-height:1.8}.wb-send-note>span:last-child{display:none}.wb-connection-note{display:block}.wb-connection-note .wb-button{margin-top:3px}.wb-cost-note{font-size:8px!important;line-height:1.8}.wb-message-content{font-size:12px}.wb-attachment summary{gap:5px;font-size:10px}.wb-attachment summary .wb-caption{font-size:8px!important}.wb-review{padding:12px}.wb-code pre{font-size:10px;padding:12px}.wb-message-user .wb-message-content{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.wb *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the composer in view, with readable controls at normal laptop sizes. */
.wb .wb-button{font-size:12px!important}
.wb .wb-button-send,.wb .wb-button-dark{font-size:13px!important}
.wb .wb-button-text{font-size:11px!important}
.wb .wb-caption,.wb .wb-eyebrow,.wb .wb-sidebar-caption,.wb .wb-model-meta,
.wb .wb-sidebar-bottom p,.wb .wb-send-note,.wb .wb-cost-note,.wb .wb-connection-note,
.wb .wb-message-files span,.wb .wb-pending p,.wb .wb-preview summary,
.wb .wb-preview-message pre,.wb .wb-attachment pre,.wb .wb-code-head{font-size:11px!important}
.wb .wb-intro,.wb .wb-review p,.wb .wb-error p,.wb .wb-delete-confirm p,
.wb .wb-message-heading,.wb .wb-attachment summary{font-size:12px!important}
.wb .wb-model-select{font-size:14px!important}
.wb .wb-message-content,.wb textarea.wb-draft{font-size:14px!important}
.wb .wb-code pre{font-size:13px}
.wb .wb-char-count{font-size:11px!important}
.wb .wb-suggestion{font-size:12px!important;line-height:1.65}
.wb .wb-history-select{font-size:12px!important}
.wb .wb-history-delete,.wb .wb-attachment-remove{font-size:17px!important}
.wb-main{min-height:0}
.wb-header,.wb-modes{flex-shrink:0}
.wb-messages{min-height:0}
.wb-composer-area{flex-shrink:0}
@media(min-width:761px){
  .wb{height:calc(100dvh - 122px);min-height:570px;max-height:1000px;margin:0;border-radius:22px}
  .wb-main{overflow:hidden}
  .wb-header{padding:15px 26px 9px;min-height:70px}
  .wb-modes{margin-top:2px}
  .wb-messages{overflow:auto;max-height:none;padding:14px 32px 12px}
  .wb-composer-area{max-height:65%;overflow:auto;padding:3px 26px 17px;scrollbar-width:thin}
  .wb-sidebar{min-height:0;overflow:hidden}
  .wb-history{min-height:0;max-height:none;flex:1}
  .wb-sidebar-bottom{flex-shrink:0;padding-top:20px}
  .wb-welcome{padding:24px 0 14px}
  .wb-mark{margin-bottom:20px}
  .wb-intro{margin-bottom:24px}
  .wb-suggestion{min-height:77px;padding:12px}
  .wb-connection-note{margin-top:9px}
  .wb-send-note{margin-top:7px}
  .wb-cost-note{margin-top:4px}
}
@media(min-width:761px) and (max-height:820px){
  .wb-welcome{padding:5px 0 8px}
  .wb-mark{width:37px;height:37px;line-height:36px;border-radius:12px;font-size:24px;margin-bottom:13px}
  .wb-eyebrow{display:none}
  .wb-welcome h1{font-size:29px;line-height:1.35;margin-bottom:8px}
  .wb-intro{margin-bottom:18px}
  .wb-suggestion{min-height:66px;padding:10px 12px}
  .wb-suggestion svg{margin-top:3px}
  .wb textarea.wb-draft{min-height:72px;padding-top:14px}
  .wb-composer-tools{padding-top:3px;padding-bottom:9px}
}
@media(max-width:760px){
  .wb{height:auto;min-height:0;max-height:none}
  .wb-main{overflow:visible}
  .wb-messages{max-height:none;overflow:visible;padding-top:20px;padding-bottom:25px}
  .wb-composer-area{max-height:none;overflow:visible}
  .wb-suggestion{min-height:82px}
  .wb-modes .wb-button{padding:7px 15px}
  .wb-send-note{line-height:1.7}
  .wb-cost-note{line-height:1.8}
  .wb-connection-note{line-height:1.8}
  .wb-history-select{max-width:150px}
  .wb-header{gap:12px}
}
@media(max-width:440px){
  .wb{min-height:0}
  .wb-suggestion{min-height:43px}
  .wb-modes .wb-button{padding:7px 12px}
  .wb-header>.wb-button{padding:6px 9px}
  .wb-composer-left{gap:3px}
  .wb-button-attach{padding:7px 6px}
  .wb-attachment summary{flex-wrap:wrap;gap:2px 7px}
  .wb-attachment summary>span:first-child{max-width:100%}
  .wb-message-user .wb-message-content{padding:13px 14px}
  .wb-model-meta>span:last-child{max-width:170px}
}

/* Review is a focused step: one scrollable preview, with actions always visible. */
.wb-is-review .wb-messages,.wb-is-review .wb-modes,.wb-is-review .wb-composer,
.wb-is-review .wb-followup-actions,.wb-is-review .wb-send-note,.wb-is-review .wb-cost-note{display:none}
.wb-is-review .wb-review-host{min-height:0}
.wb-is-review .wb-review-actions{flex-shrink:0;padding-top:2px}
.wb-is-review .wb-review>.wb-caption{flex-shrink:0}
.wb-is-review .wb-connection-note{flex-shrink:0}
@media(min-width:761px){
  .wb-is-review .wb-main{min-height:0;overflow:hidden}
  .wb-is-review .wb-composer-area{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;overflow:hidden;padding-top:8px;margin-top:0}
  .wb-is-review .wb-review-host{display:flex;flex:1;overflow:hidden}
  .wb-is-review .wb-review{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;margin-bottom:0}
  .wb-is-review .wb-review>strong,.wb-is-review .wb-review>p{flex-shrink:0}
  .wb-is-review .wb-preview{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
  .wb-is-review .wb-preview>summary{flex-shrink:0}
  .wb-is-review .wb-preview-scroll{flex:1;min-height:0;max-height:none;overflow:auto;scrollbar-width:thin}
  .wb-is-review .wb-preview:not([open]){flex:none}
  .wb-is-review .wb-error{flex-shrink:0}
}
@media(max-width:760px){
  .wb-is-review .wb-composer-area{padding-top:10px}
  .wb-is-review .wb-review{margin-bottom:0}
  .wb-is-review .wb-preview-scroll{max-height:min(42dvh,320px);overflow:auto}
}

@media(max-width:440px){
  .wb{margin-top:0}
  .wb-welcome{padding-top:12px;padding-bottom:8px}
  .wb-welcome .wb-mark,.wb-welcome .wb-eyebrow{display:none}
  .wb-welcome h1{margin-bottom:8px}
  .wb-welcome .wb-intro{max-width:none;margin-bottom:14px}
  .wb-suggestion{min-height:43px;padding-top:9px;padding-bottom:9px}
}

@media(min-width:761px){
  /* Native details content does not reliably participate in its flex layout.
     Bound and scroll the details box itself so every preview line is reachable. */
  .wb-is-review .wb-preview{display:block;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
  .wb-is-review .wb-preview-scroll{display:block;flex:none;min-height:0;max-height:none;overflow:visible}
}

.wb-export-dialog{width:min(720px,calc(100vw - 40px));max-height:calc(100dvh - 64px);border:1px solid #e2e2e9;border-radius:22px;padding:26px;background:#fff;color:#1d1d1f;box-shadow:0 24px 100px #00000026;overflow:auto}
.wb-export-dialog::backdrop{background:#00000035;backdrop-filter:blur(4px)}
.wb-export-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.wb-export-heading h2{font-size:22px;letter-spacing:-.5px;margin:0}
.wb-export-dialog .wb-export-close{font-size:24px!important;line-height:1;min-width:35px;min-height:35px;padding:4px;color:#888890}
.wb-export-filename{font-size:12px;color:#777780;margin:0 0 16px;overflow-wrap:anywhere;line-height:1.8}
.wb-export-filename code{font-size:12px;color:#55555e;user-select:all}
.wb-export-dialog textarea.wb-export-preview{display:block;width:100%;height:min(46dvh,400px);min-height:150px;resize:vertical;padding:16px;border:1px solid #e5e5ec;border-radius:12px;box-shadow:none;background:#fafafb;color:#42424c;font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;overflow:auto}
.wb-export-status{font-size:12px;line-height:1.8;color:#777780;margin:13px 0 16px;min-height:22px}
.wb-export-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.wb-export-actions .wb-button{font-size:13px!important;min-height:38px;padding:8px 15px}
.wb-export-actions .wb-button-dark{background:#1d1d1f;color:#fff}
.wb-export-actions .wb-button-dark:hover{background:#363639}
@media(max-width:440px){.wb-export-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:20px;border-radius:18px}.wb-export-heading h2{font-size:21px}.wb-export-dialog textarea.wb-export-preview{padding:12px;font-size:12px;height:42dvh}.wb-export-actions{gap:6px}.wb-export-actions .wb-button{padding-left:12px;padding-right:12px}}
.wb-composer-left{flex-wrap:wrap;row-gap:6px}
.wb .la-trigger{display:flex;align-items:center;gap:6px;font-size:10px;padding:7px 9px;min-height:32px}
.wb .la-trigger svg{width:13px;height:13px}
.wb .la-trigger.la-full{color:#d86622;background:#fff2e9}
.wb-tool-traces{margin:12px 0;color:#85858e;font-size:11px;line-height:1.8}
.wb-tool-traces summary{cursor:pointer}
.wb-tool-traces p{font-size:10px;margin:5px 0}

/* Shared component compatibility: imported icon assets, scoped hidden inputs,
   and multiline composer geometry must remain within the toolbar container. */
.wb .wb-ui-icon{display:block;width:16px;height:16px;flex-shrink:0;object-fit:contain}
.wb .wb-button-send .wb-ui-icon{filter:brightness(0) invert(1)}
.wb .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wb .wb-composer{border-radius:18px}
.wb textarea.wb-draft{border-radius:0;min-width:0;overflow-y:auto;overflow-wrap:anywhere}
.wb .wb-composer-tools{flex-wrap:wrap}
.wb .wb-composer-tools>.wb-button-send{margin-left:auto;flex:0 0 auto}
.wb .wb-composer-left{flex:1 1 auto;min-width:0;max-width:100%;flex-wrap:wrap}
@media(max-width:440px){.wb .wb-composer{border-radius:15px}.wb .wb-composer-tools{gap:6px}.wb .wb-composer-left{flex-basis:100%}}

/* Prepared attachments remain local until the customer sends the reviewed request. */
.wb-media-previews{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0;max-height:270px;overflow:auto}.wb-media-previews figure{margin:0;max-width:180px}.wb-media-previews img{display:block;max-width:180px;max-height:150px;object-fit:contain;border:1px solid #e5e5e9;border-radius:10px;background:#fff}.wb-media-previews figcaption{font-size:11px;overflow-wrap:anywhere;margin-top:4px;color:#777}.wb-attachment-notice{margin:8px 0;line-height:1.5}.wb-attachment details{min-width:0;max-width:100%}.wb-attachment pre{max-height:160px;overflow:auto}.wb-attachments{max-height:310px;overflow:auto}
