.wsx{max-width:1500px;margin:0 auto;padding:20px;width:100%;color:var(--text,#24354a)}.wsx *{box-sizing:border-box}.wsx h2{font-size:23px;margin:0 0 7px}.wsx h3{font-size:16px;margin:0 0 14px}.wsx p{line-height:1.7}.wsx .subtle{color:#79879a;font-size:13px}.wsx-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.wsx-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wsx input,.wsx textarea,.wsx select{font:inherit;border:1px solid #d7e0ec;border-radius:8px;padding:10px;min-width:0;max-width:100%}.wsx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.wsx-card{background:white;border:1px solid #e1e7ef;border-radius:13px;padding:20px;min-width:0}.wsx-card .chip{margin:0 0 12px}.wsx-card p{min-height:40px}.wsx-grid{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:18px;align-items:start}.wsx-chat{display:flex;flex-direction:column;max-height:760px;min-height:560px}.wsx-talk{overflow:auto;flex:1;padding:5px 0;min-height:250px}.wsx-bubble{padding:12px;border-radius:10px;background:#f1f5fb;margin-bottom:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.wsx-bubble.user{background:#eaf0ff;margin-left:18px}.wsx-compose textarea{width:100%;resize:vertical;min-height:96px}.wsx-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.wsx-tabs button.on{background:#e9f0ff;border-color:#c1d3fa;color:#2857b1}.wsx-preview{width:100%;height:630px;border:1px solid #dce5f1;border-radius:10px;background:#f7f9fc}.wsx-preview.phone{max-width:390px;display:block;margin:auto}.wsx-plan{line-height:1.8}.wsx-plan li{margin:6px 0}.wsx-tests{width:100%;border-collapse:collapse;font-size:13px}.wsx-tests td,.wsx-tests th{text-align:left;padding:12px 8px;border-bottom:1px solid #e5ebf3;overflow-wrap:anywhere}.wsx-error{color:#ac303c;background:#fff1f2;padding:12px;border-radius:8px;margin:10px 0}.wsx-ok{color:#187850}.wsx-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}.wsx-form label{display:flex;flex-direction:column;gap:7px}.wsx-mask{position:fixed;inset:0;background:#172b4766;z-index:1600;display:flex;align-items:center;justify-content:center;padding:20px}.wsx-dialog{width:640px;max-width:100%;max-height:88vh;overflow:auto;background:#fff;border-radius:15px;padding:25px}.wsx-row{padding:12px 0;border-bottom:1px solid #e6edf4}.wsx-empty{text-align:center;padding:55px 18px;color:#74849a}.wsx-error:empty{display:none}.wsx-status{font-size:13px;margin:10px 0;color:#5374a6}.wsx button{white-space:nowrap}.wsx #wsx-body{min-width:0}@media(max-width:1000px){.wsx-grid{grid-template-columns:1fr}.wsx-chat{max-height:430px;min-height:300px}}@media(max-width:600px){.wsx{padding:12px}.wsx-card{padding:15px}.wsx-preview{height:650px}.wsx-tests{font-size:12px}}

.wsx-error.ok{background:#ecf8f1;color:#187850}.wsx-error.info{background:#edf3fb;color:#315b87}

/* Publish dialog: isolate checkbox layout from the workbench's full-width inputs. */
.wsx input[type=checkbox]{width:18px!important;min-width:18px!important;max-width:18px;height:18px;padding:0;margin:2px 0 0;flex:0 0 18px;accent-color:#285cd3}
.wsx .wsx-choice{display:flex;flex-direction:row;align-items:flex-start;gap:12px;width:100%;margin:0;text-align:left;font-weight:400;cursor:pointer}
.wsx .wsx-choice-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;line-height:1.6;overflow-wrap:anywhere}
.wsx-choice-text strong{font-size:14px;font-weight:600}.wsx-choice-text small{font-size:12px;color:#708096}
.wsx.wsx-publish-dialog{width:720px;padding:28px;max-height:90vh;overflow:auto}
.wsx-publish-dialog h3{font-size:20px;margin-bottom:20px}.wsx-release-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f4f7fc;border-radius:10px;padding:16px}
.wsx-release-intro strong{font-size:15px;overflow-wrap:anywhere}.wsx-release-intro p{margin:5px 0 0;color:#708096;font-size:12px}.wsx-version-badge{background:#e4edff;color:#285cd3;padding:6px 12px;border-radius:8px;font-weight:600;white-space:nowrap}
.wsx-release-section{margin:22px 0}.wsx .wsx-field{display:flex;flex-direction:column;gap:9px;font-size:14px}.wsx-field small{color:#8895a6;font-size:12px;margin-left:6px;font-weight:400}
.wsx-field textarea{width:100%;display:block;resize:vertical;min-height:92px;line-height:1.65}.wsx-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.wsx-section-title h4{font-size:15px;margin:0}
.wsx-scope-note{margin:8px 0 12px;line-height:1.7}.wsx-recipient-list{display:grid;gap:8px;max-height:250px;overflow:auto}.wsx-recipient{border:1px solid #dce4ef;border-radius:10px;padding:13px 14px;background:#fff}.wsx-recipient:has(input:checked){background:#f0f5ff;border-color:#8fb0f4}
.wsx-recipient-empty{padding:18px;border:1px dashed #d6e0ec;border-radius:10px;color:#708096;font-size:13px;line-height:1.8}.wsx .wsx-confirmation{background:#f5f8fc;border-radius:10px;padding:14px;margin:20px 0}
.wsx-unavailable{font-size:12px;color:#8793a2;margin-top:12px}.wsx-unavailable p{margin:8px 0}.wsx-publish-dialog>.wsx-actions{justify-content:flex-end;border-top:1px solid #e9edf4;padding-top:18px;margin-top:18px}.wsx-publish-dialog>.wsx-actions button{min-width:86px}
@media(max-width:600px){.wsx.wsx-publish-dialog{padding:18px}.wsx-mask{padding:12px}.wsx-release-intro{gap:10px}.wsx-release-section{margin:18px 0}}

/* Keep legacy publish labels aligned even when old dialog markup is open. */
.wsx-dialog label:has(>input[type="checkbox"]){display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px;line-height:1.6;text-align:left}
.wsx-dialog label>input[type="checkbox"]{display:block!important;flex:0 0 18px!important;align-self:flex-start;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;box-sizing:border-box;padding:0!important;margin:2px 0 0!important}
