.wt-space{max-width:1260px;margin:0 auto;padding:0 18px 58px;color:#172238}.wt-space *{box-sizing:border-box}.wt-space-hero{padding:34px 4px 25px}.wt-space-hero h1{font-size:clamp(30px,4vw,47px);line-height:1.25;margin:12px 0 10px;letter-spacing:-.035em}.wt-space-hero>p{max-width:830px;margin:0;color:#65748c;font-size:15px;line-height:2}.wt-space-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.wt-space-badges span{padding:7px 10px;border-radius:999px;background:#eff6ff;color:#1d5ac8;font-size:10px;font-weight:800}.wt-space-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}.wt-space-main{display:grid;gap:18px;min-width:0}.wt-space-sidebar{display:grid;gap:14px;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding-left:3px;scrollbar-width:thin}.wt-space-card{background:#fff;border:1px solid #e1e8f1;border-radius:22px;padding:20px;box-shadow:0 12px 34px rgba(32,58,90,.055)}.wt-space-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:15px}.wt-space-head-title{display:flex;gap:11px;min-width:0}.wt-space-head-title h2{font-size:19px;margin:0 0 4px}.wt-space-head-title p{margin:0;color:#748197;font-size:12px;line-height:1.8}.wt-space-step{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:#edf4ff;color:#145ce6;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.wt-space-actions{display:flex;gap:7px;flex-wrap:wrap}.wt-space-actions button,.wt-space-link-btn{border:1px solid #dbe4ee;background:#f8fbff;color:#31527f;border-radius:10px;padding:9px 11px;cursor:pointer;font:inherit;font-size:11px}.wt-space-actions .is-primary{background:#1765ed;color:#fff;border-color:#1765ed}.wt-space-actions .is-danger{color:#b42318;background:#fff8f7;border-color:#f1d5d1}.wt-space textarea{width:100%;min-height:330px;resize:vertical;border:1px solid #d6e0ec;border-radius:17px;padding:18px;outline:0;font:inherit;font-size:15px;line-height:2;color:#1d2a40;background:#fbfdff;transition:.18s}.wt-space textarea:focus{background:#fff;border-color:#2a6df4;box-shadow:0 0 0 4px rgba(42,109,244,.08)}.wt-space-output-card textarea{background:#f9fbfd}.wt-space-editor-foot{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:#7b899d;font-size:10px;line-height:1.8}.wt-space-link-btn{padding:0;border:0;background:transparent;color:#1765ed}.wt-space-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.wt-space-stats>div{border:1px solid #e6ebf2;background:#fafcff;border-radius:14px;padding:12px}.wt-space-stats span{display:block;color:#77859a;font-size:10px;margin-bottom:4px}.wt-space-stats strong{font-size:23px}.wt-space-report{display:grid;gap:7px;margin-top:12px}.wt-space-report-item{display:flex;justify-content:space-between;gap:12px;border-radius:10px;padding:9px 11px;background:#f7f9fc;color:#607088;font-size:11px}.wt-space-report-item b{color:#23344e}.wt-space-report-empty{border:1px dashed #d8e1eb;border-radius:12px;padding:16px;text-align:center;color:#8490a2;font-size:11px}.wt-space-mini-label{display:inline-flex;color:#1765ed;background:#eef5ff;border-radius:999px;padding:5px 8px;font:800 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}.wt-space-sidebar h3{font-size:15px;margin:10px 0 13px}.wt-space-sidebar p{margin:10px 0 0;color:#748196;font-size:10px;line-height:1.8}.wt-space-segment{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border:1px solid #dde5ef;background:#f7faff;border-radius:12px}.wt-space-segment button{border:0;background:transparent;border-radius:9px;padding:9px 6px;color:#607089;cursor:pointer;font:700 11px/1 inherit}.wt-space-segment button.is-active{background:#1765ed;color:#fff;box-shadow:0 4px 10px rgba(23,101,237,.19)}.wt-space-switch{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:11px 0;border-bottom:1px solid #edf1f5;cursor:pointer}.wt-space-switch:last-child{border-bottom:0;padding-bottom:0}.wt-space-switch>span{min-width:0}.wt-space-switch b,.wt-space-switch small{display:block}.wt-space-switch b{font-size:11px;color:#33445c;margin-bottom:3px}.wt-space-switch small{font-size:9px;color:#8995a5;line-height:1.6}.wt-space-switch input{position:absolute;opacity:0;pointer-events:none}.wt-space-switch i{width:38px;height:22px;border-radius:99px;background:#dce3ec;position:relative;flex:0 0 38px;transition:.18s}.wt-space-switch i:after{content:"";position:absolute;width:16px;height:16px;top:3px;right:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s}.wt-space-switch input:checked+i{background:#1765ed}.wt-space-switch input:checked+i:after{transform:translateX(-16px)}.wt-space-field{display:block}.wt-space-field>span{display:block;color:#66758b;font-size:10px;margin-bottom:6px}.wt-space-field select{width:100%;border:1px solid #dae3ed;border-radius:11px;background:#fbfdff;padding:10px 11px;font:inherit;color:#30415a;outline:0}.wt-space-notes ul{margin:0;padding-right:18px;color:#6d7b90;font-size:10px;line-height:2}.wt-space-notes li+li{margin-top:4px}
@media(max-width:1000px){.wt-space-workspace{grid-template-columns:1fr}.wt-space-sidebar{position:static;max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}.wt-space-notes{grid-column:1/-1}}
@media(max-width:700px){.wt-space{padding-inline:12px}.wt-space-card{padding:16px;border-radius:18px}.wt-space-card-head{flex-direction:column}.wt-space-actions{width:100%}.wt-space-actions button{flex:1}.wt-space textarea{min-height:285px;padding:14px}.wt-space-stats{grid-template-columns:repeat(2,1fr)}.wt-space-sidebar{grid-template-columns:1fr}.wt-space-notes{grid-column:auto}.wt-space-editor-foot{flex-direction:column}}

/* v4.20 rich HTML-aware editor */
.wt-space .wt-rich-editor{border:1px solid #d6e0ec;border-radius:17px;overflow:hidden;background:#fff}.wt-space .wt-rich-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#f7faff;border-bottom:1px solid #e4ebf3;flex-wrap:wrap}.wt-space .wt-rich-tabs,.wt-space .wt-rich-format{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.wt-space .wt-rich-tabs button,.wt-space .wt-rich-format button{border:1px solid #dbe4ee;background:#fff;color:#53657e;border-radius:8px;padding:7px 10px;cursor:pointer;font:700 10px/1.2 inherit}.wt-space .wt-rich-tabs button.is-active{background:#1765ed;border-color:#1765ed;color:#fff}.wt-space .wt-rich-format button:hover{border-color:#9db9e8;color:#1765ed}.wt-space .wt-rich-visual,.wt-space .wt-rich-source{width:100%;min-height:330px;padding:18px;border:0!important;border-radius:0!important;outline:0;background:#fbfdff;color:#1d2a40;font:inherit;font-size:15px;line-height:2;overflow:auto}.wt-space .wt-rich-source{resize:vertical;direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.8;white-space:pre}.wt-space .wt-rich-visual:focus{background:#fff;box-shadow:inset 0 0 0 2px rgba(42,109,244,.22)}.wt-space .wt-rich-visual:empty:before{content:attr(data-placeholder);color:#9aa7b7;pointer-events:none}.wt-space .wt-rich-editor.is-output .wt-rich-visual{background:#f9fbfd}.wt-space .wt-rich-visual.is-readonly{user-select:text}.wt-space .wt-rich-visual h1,.wt-space .wt-rich-visual h2,.wt-space .wt-rich-visual h3,.wt-space .wt-rich-visual h4{line-height:1.5;margin:1em 0 .55em}.wt-space .wt-rich-visual p{margin:.65em 0}.wt-space .wt-rich-visual ul,.wt-space .wt-rich-visual ol{padding-right:24px}.wt-space .wt-rich-visual table{width:100%;border-collapse:collapse;margin:14px 0}.wt-space .wt-rich-visual th,.wt-space .wt-rich-visual td{border:1px solid #d9e2ed;padding:8px 10px;text-align:right}.wt-space .wt-rich-visual blockquote{border-right:3px solid #8fb5f5;margin:12px 0;padding:8px 14px;background:#f6f9ff}.wt-space .wt-rich-visual code{direction:ltr;display:inline-block;background:#eef2f7;border-radius:5px;padding:1px 5px}.wt-space .wt-rich-visual pre{direction:ltr;text-align:left;white-space:pre-wrap;background:#111827;color:#e5e7eb;padding:12px;border-radius:10px}.wt-space .wt-rich-editor [hidden]{display:none!important}@media(max-width:700px){.wt-space .wt-rich-toolbar{align-items:stretch}.wt-space .wt-rich-tabs,.wt-space .wt-rich-format{width:100%}.wt-space .wt-rich-tabs button{flex:1}.wt-space .wt-rich-visual,.wt-space .wt-rich-source{min-height:285px;padding:14px}}


/* v4.25 UX template: before/after workbench */
.wt-space-workspace{display:block}.wt-space-main{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.wt-space-editor-card,.wt-space-output-card{margin:0!important}.wt-space-report-card{grid-column:1/-1}.wt-space .wt-rich-visual,.wt-space .wt-rich-source{min-height:420px}.wt-space-sidebar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px;position:static!important;max-height:none!important;overflow:visible!important}.wt-space-sidebar>.wt-space-rules{grid-column:span 2}.wt-space-sidebar>.wt-space-notes{grid-column:span 2}.wt-space-sidebar .wt-space-card{margin:0}.wt-space-presets{background:linear-gradient(180deg,#f7fbff,#fff)}
@media(max-width:1050px){.wt-space-sidebar{grid-template-columns:1fr 1fr}.wt-space-sidebar>.wt-space-rules,.wt-space-sidebar>.wt-space-notes{grid-column:span 1}}
@media(max-width:780px){.wt-space-main,.wt-space-sidebar{grid-template-columns:1fr}.wt-space .wt-rich-visual,.wt-space .wt-rich-source{min-height:300px}}

