.wt-entity{--ent:#8b5cf6;--ent2:#6d28d9}.wt-entity-hero{padding:34px;border:1px solid #e8e6f4;border-radius:24px;background:linear-gradient(135deg,#faf9ff,#f5f3ff);margin-bottom:18px}.wt-entity-hero h1{margin:8px 0;font-size:clamp(28px,4vw,46px)}.wt-entity-hero p{max-width:850px;line-height:2;color:#57536a}.wt-entity-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.wt-entity-badges span{padding:7px 11px;background:#fff;border:1px solid #ddd8f4;border-radius:999px;font-family:monospace}.wt-entity-toolbar{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0}.wt-entity-seg{display:flex;gap:4px;padding:4px;border:1px solid #e2e0eb;border-radius:14px;background:#f8f7fb}.wt-entity-seg button{border:0;background:transparent;padding:9px 14px;border-radius:10px;cursor:pointer}.wt-entity-seg button.is-active{background:#fff;color:var(--ent2);box-shadow:0 2px 10px #312e8120;font-weight:700}.wt-entity-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px minmax(0,1fr);gap:14px;align-items:start}.wt-entity-pane,.wt-entity-controls,.wt-entity-preview-card,.wt-entity-inspector-card,.wt-entity-notes{border:1px solid #e7e5ef;border-radius:20px;background:#fff}.wt-entity-pane{padding:16px}.wt-entity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.wt-entity-head h2{margin:0 0 4px;font-size:18px}.wt-entity-head p{margin:0;color:#777386;font-size:13px}.wt-step{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:9px;background:#f1edff;color:var(--ent2);font-size:11px;font-weight:800;margin-bottom:8px}.wt-entity textarea{width:100%;min-height:380px;resize:vertical;border:1px solid #dfdde8;border-radius:14px;padding:14px;font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;direction:ltr;text-align:left;background:#fcfcfe}.wt-entity-actions{display:flex;gap:7px;flex-wrap:wrap}.wt-entity-actions button{border:1px solid #dedbe8;background:#fff;border-radius:10px;padding:8px 11px;cursor:pointer}.wt-entity-actions .is-primary{background:var(--ent);color:#fff;border-color:var(--ent)}.wt-entity-meta{font-size:12px;color:#777386;margin-top:8px}.wt-entity-controls{padding:10px;position:sticky;top:18px}.wt-entity-card{padding:13px;border-bottom:1px solid #efedf4}.wt-entity-card:last-child{border-bottom:0}.wt-entity-card h3{margin:0 0 10px;font-size:14px}.wt-entity-card label{display:flex;gap:8px;align-items:center;margin:9px 0;font-size:13px}.wt-entity-card code{direction:ltr}.wt-entity-card small{display:block;line-height:1.8;color:#777386}.wt-entity-status-card strong{display:block;color:var(--ent2);font-size:20px}.wt-entity-status-card p{font-size:12px;line-height:1.8;color:#777386}.wt-entity-lab{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.wt-entity-preview-card,.wt-entity-inspector-card{padding:16px}.wt-entity-preview-card iframe{width:100%;height:300px;border:1px solid #e3e1eb;border-radius:14px;background:#fff}.wt-entity-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.wt-entity-stats div{background:#faf9fd;border:1px solid #ece9f3;border-radius:12px;padding:11px;text-align:center}.wt-entity-stats strong{display:block;font-size:20px}.wt-entity-stats span{font-size:11px;color:#777386}.wt-entity-list{margin-top:12px;max-height:220px;overflow:auto}.wt-entity-item{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:9px 10px;border-bottom:1px solid #f0eef5;font:12px/1.6 ui-monospace,monospace;direction:ltr;text-align:left}.wt-entity-notes{padding:18px;margin-top:14px}.wt-entity-note-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.wt-entity-note-grid article{padding:13px;border:1px solid #ece9f3;border-radius:14px}.wt-entity-note-grid p{font-size:12px;line-height:1.8;color:#6f6a7f}.wt-entity [hidden]{display:none!important}@media(max-width:980px){.wt-entity-workspace{grid-template-columns:1fr}.wt-entity-controls{position:static;order:2}.wt-entity-output{order:3}.wt-entity-lab{grid-template-columns:1fr}.wt-entity-note-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.wt-entity-hero{padding:22px}.wt-entity-toolbar,.wt-entity-seg{width:100%}.wt-entity-seg{overflow:auto}.wt-entity-seg button{white-space:nowrap;flex:1}.wt-entity textarea{min-height:280px}.wt-entity-stats{grid-template-columns:1fr 1fr}.wt-entity-note-grid{grid-template-columns:1fr}}
