.workbench-entry{width:148px;height:44px;padding:0;box-sizing:border-box;border-radius:22px;background:rgba(255,255,255,.4);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);display:inline-flex;align-items:center;justify-content:center;gap:12px;color:#454b52;font-family:'PingFang SC','Microsoft YaHei',sans-serif;font-size:16px;font-weight:400;cursor:pointer;transition:background 160ms ease;flex-shrink:0;margin-left:auto;margin-right:32px}.workbench-entry .arrow{font-size:18px;line-height:1}.workbench-entry:hover{background:rgba(255,255,255,.52)}.workbench-entry:focus-visible{outline:2px solid #667585;outline-offset:3px}.wb-continue{display:block;margin:0 0 16px auto}.wb-editor-overlay{padding:24px!important}.wb-editor.preview{width:min(1600px,100%);height:calc(100vh - 48px);max-height:none;display:flex;flex-direction:column;background:#f4f6fb;overflow:hidden;padding:0;border-radius:20px}.wb-editor-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#fff;border-bottom:1px solid #e4e8f0;flex-shrink:0}.wb-editor-head h2{font-size:22px;margin:0}.wb-editor-head>div{display:flex;gap:8px}.wb-editor-note{padding:10px 24px;color:#7b8295;font-size:13px;margin:0}.wb-canvas{overflow:auto;flex:1;padding:12px 24px 32px}.wb-canvas .legal-wrap{padding:0!important;max-width:none;width:100%}.wb-canvas .page.legal{min-height:0!important}.wb-module{position:relative;min-width:0}.wb-module[hidden]{display:none!important}.wb-editable{padding-top:48px!important;border:1px dashed #c5c9df;border-radius:14px;margin-bottom:18px;transition:box-shadow .2s}.wb-editable:focus-within,.wb-editable:hover{border-color:#8065ee;box-shadow:0 0 0 2px #8065ee22}.wb-module-tools{position:absolute;right:8px;top:7px;display:flex;gap:4px;background:#fff;border:1px solid #e4e2ef;padding:3px;border-radius:9px;z-index:3}.wb-module-tools button{padding:5px 9px;font-size:12px;min-height:28px}.wb-module-tools button:first-child{cursor:grab}.wb-module-tools button:nth-child(2){color:#7351dc;background:#f1ecff}.wb-drop{outline:3px solid #8065ee}.wb-compact td{padding-top:8px!important;padding-bottom:8px!important}.wb-compact .stats{gap:8px}.wb-accent{border:2px solid #5b8def!important;background:#f2f7ff!important}.wb-panel-overlay{z-index:1100!important}.wb-panel{width:min(440px,100vw)!important}.wb-panel-body{padding:24px;display:flex;flex-direction:column;gap:16px;overflow:auto}.wb-panel-body p{font-size:14px;color:#727c90;line-height:1.7}.wb-panel-body input:not([type=checkbox]),.wb-panel-body textarea{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #d9dfea;border-radius:8px;margin-top:10px;font:inherit}.wb-panel-body textarea{min-height:120px;resize:vertical}.wb-option{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px;border:1px solid #e0e5ef;border-radius:10px;margin-bottom:10px}.wb-option input{width:18px;height:18px}.wb-option:has(input){justify-content:flex-start}.wb-ai-result{font-size:14px;line-height:1.8;background:#f3f0fc;border-radius:10px;padding:12px}.wb-ai-result:empty{display:none}.wb-recognition{font-size:12px;line-height:1.7;padding:12px;border-radius:8px;background:#f0f3f9;margin-top:12px;color:#69768b}.wb-recognition.loading{color:#7754dc;display:flex;gap:10px;align-items:center}.wb-recognition.loading:before{content:'';width:14px;height:14px;border:2px solid #d9cdf8;border-top-color:#7754dc;border-radius:50%;animation:wb-spin .8s linear infinite}.wb-recognition.success{color:#287852;background:#edf8f2}.wb-recognition.error{color:#b74646;background:#fff0f0}.wb-editor button:disabled{opacity:.45;cursor:not-allowed}.wb-module .agent-grid button{white-space:normal;min-height:64px;background:#f3f5fc;color:#56557c;border:1px solid #e5e8f3;border-radius:12px}.wb-module header{flex-wrap:wrap;gap:8px}@keyframes wb-spin{to{transform:rotate(360deg)}}@media(max-width:800px){.wb-editor-overlay{padding:0!important}.wb-editor.preview{height:100dvh;border-radius:0}.wb-editor-head{align-items:flex-start;padding:12px;gap:12px}.wb-editor-head>div{flex-wrap:wrap;justify-content:flex-end}.wb-editor-head h2{font-size:17px;white-space:nowrap}.wb-canvas{padding:8px}.wb-module-tools{position:static;flex-wrap:wrap;margin:0 4px 12px}.wb-editable{padding-top:8px!important}.workbench-entry{margin-right:10px;width:128px;gap:8px;font-size:14px}.wb-canvas .legal-columns{display:flex;flex-direction:column}.wb-canvas .legal-side,.wb-canvas .legal-main{width:100%}}

/* v3 refinement overrides. Light theme follows original workbench. */
.wb-panel .wb-panel-footer{height:auto!important;min-height:108px;box-sizing:border-box}.wb-panel-footer .wb-publish{min-height:44px;flex:none}
.wb-canvas .page.legal,.wb-canvas .legal-wrap,.wb-canvas .legal-columns{overflow:visible!important}
.wb-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 auto}.wb-icon svg{display:block;width:100%;height:100%}
.wb-editor.preview{width:min(1800px,100%);background:#f6f7fb;font-family:'PingFang SC','Microsoft YaHei',sans-serif}.wb-editor-head{padding:20px 28px;border-color:#e8eaf2;gap:20px}.wb-editor-brand{display:flex!important;gap:12px!important;align-items:center}.wb-brand-icon{display:flex;padding:11px;background:linear-gradient(135deg,#eeeaff,#f5f2ff);color:#7055ed;border-radius:12px}.wb-brand-icon .wb-icon{width:23px;height:23px}.wb-editor-head h2{font-size:21px;line-height:1.4;color:#24283c;letter-spacing:.2px}.wb-editor-brand>div>span{font-size:12px;color:#9499ac;display:block;margin-top:3px}.wb-editor-actions{display:flex;gap:10px;align-items:center}
.wb-head-button,.wb-publish,.wb-panel-close{appearance:none;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e3e5ef;border-radius:10px;box-sizing:border-box;height:42px;padding:0 17px;background:#fff;color:#586076;font-size:14px;transition:background .15s,border-color .15s,box-shadow .15s}.wb-head-button:hover{background:#f5f4fb;border-color:#d0c7f6}.wb-head-modules{color:#7055e7;background:#f6f3ff;border-color:#e5ddff}.wb-publish{background:linear-gradient(110deg,#7558f4,#5c4af0);color:#fff;border:1px solid transparent;min-width:104px;box-shadow:0 4px 12px #6650e926}.wb-publish:hover{box-shadow:0 5px 18px #6650e947}.wb-panel button:disabled{opacity:.4;cursor:not-allowed}.wb-editor button:focus-visible,.wb-panel button:focus-visible{outline:2px solid #8b71ff;outline-offset:3px}
.wb-editor-note{padding:14px 28px 0;color:#969cad;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.wb-save-state{display:flex;align-items:center;gap:6px}.wb-save-state:before{content:'';width:5px;height:5px;border-radius:50%;background:#76b69a}
.wb-canvas{padding:66px 28px 36px;min-height:0}.wb-canvas .page.legal{padding:0!important;background:transparent}.wb-canvas .legal-columns{display:grid!important;grid-template-columns:minmax(0,1fr) 352px;gap:28px;align-items:start}.wb-canvas .legal-main,.wb-canvas .legal-side{display:flex;flex-direction:column;gap:64px;background:transparent!important;border:0;padding:0!important;min-height:0!important;min-width:0}
.wb-module-tools[hidden],.wb-recognition:not(.loading):not(.error){display:none!important}.wb-canvas .wb-editable,.wb-canvas .legal-side>.wb-module{box-sizing:border-box;flex:none!important;overflow:visible!important;padding:24px!important;border:1px solid #e7eaf2;border-radius:14px;background:#fff;outline:none;transition:border-color .16s,box-shadow .16s;min-height:0;margin:0;box-shadow:none}.wb-editable:hover,.wb-editable:focus-within{box-shadow:none}.wb-canvas .wb-editable.is-selected{border-color:#9471f7;box-shadow:0 0 0 1px #9471f72b}.wb-editable.is-selected:before,.wb-editable.is-selected:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#9574f8;border:2px solid #fff;box-shadow:0 0 0 1px #a08bdb;left:-5px;z-index:2}.wb-editable.is-selected:before{top:-5px}.wb-editable.is-selected:after{bottom:-5px}
.wb-module-tools{position:absolute;left:50%;right:auto;top:-54px;transform:translateX(-50%);display:flex;align-items:center;gap:0;background:rgba(255,255,255,.98);border:1px solid #e0dfeb;padding:5px 7px;border-radius:13px;box-shadow:0 5px 20px #34305013;z-index:8;white-space:nowrap;height:42px;box-sizing:border-box}.wb-module-tools .wb-tool{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font:inherit;font-size:13px;border:0;background:transparent;color:#60677c;border-radius:7px;padding:6px 12px;position:relative;min-height:0}.wb-tool+.wb-tool:before{content:'';height:14px;width:1px;background:#e6e5ee;position:absolute;left:-1px}.wb-tool:hover{background:#f6f3ff!important;color:#7054e6}.wb-module-tools .wb-tool:first-child{cursor:grab}.wb-module-tools .wb-tool-ai{color:#7755ee;background:transparent}.wb-tool-ai .wb-icon svg{fill:#8e6dff;stroke:none}.wb-drop{outline:2px dashed #9774f7!important;background:#f6f2ff!important}
.wb-canvas .wb-module>p{font-size:15px;color:#32384e;font-weight:500;margin:0 0 18px;line-height:24px}.wb-canvas .wb-module>.table-tabs{margin:0 0 18px}.wb-canvas .wb-module>.filters{margin-bottom:16px;gap:10px;display:flex;flex-wrap:wrap}.wb-canvas .filters input{width:155px}.wb-canvas .filters select{width:140px}.wb-canvas .filters .add{margin-left:auto}.wb-canvas .table-scroll{min-height:0!important;max-height:none;flex:none!important;border:1px solid #eef0f6;border-radius:8px;overflow:auto}.wb-canvas th:first-child,.wb-canvas td:first-child{padding-left:16px}.wb-canvas th:last-child,.wb-canvas td:last-child{padding-right:16px}.wb-canvas .pagination{margin-top:14px}.wb-canvas .stats{margin:0;gap:12px}.wb-canvas .stats .stat{border-radius:12px;overflow:hidden}.wb-canvas .side-card>header{margin:0 0 20px;min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:8px}.wb-canvas .side-card>header>span{font-size:15px;font-weight:500;color:#32384e}
.wb-agent-manage{display:inline-flex;align-items:center;gap:5px;border:0;background:#f5f2ff;border-radius:7px;font:inherit;font-size:11px;color:#7961cb;padding:6px 8px;cursor:pointer}.wb-agent-manage .wb-icon{width:12px;height:12px}.wb-module .agent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wb-module .agent-grid .wb-agent-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 8px;min-height:108px;white-space:normal;font:inherit;font-size:13px;font-weight:500;color:#4d5269;background:linear-gradient(150deg,#faf9ff,#f3f2ff);border:1px solid #ece9fa;border-radius:12px;cursor:pointer;transition:border .15s,transform .15s}.wb-module .agent-grid .wb-agent-card:hover{border-color:#bdacef;transform:translateY(-2px)}.wb-original-agent-icon{width:36px;height:36px;object-fit:contain;flex-shrink:0}.wb-agent-symbol{width:32px;height:32px;color:#7b64e8}
.wb-panel.drawer{width:min(468px,100vw)!important;display:flex;flex-direction:column;padding:0!important;background:#fff;box-shadow:-16px 0 60px #30334b18;color:#292e45;font-family:'PingFang SC','Microsoft YaHei',sans-serif}.wb-panel .wb-panel-heading{display:block;padding:30px 26px 24px!important;flex:none;border-bottom:1px solid #edf0f6;background:linear-gradient(145deg,#fff,#fcfbff);height:auto;box-sizing:border-box}.wb-panel-title{display:flex;align-items:center;gap:10px}.wb-panel-title>span{color:#8063ef;padding:7px;background:#f0ebff;border-radius:9px;display:flex}.wb-panel-title .wb-icon{width:19px;height:19px}.wb-panel-title h2{font-size:20px;line-height:30px;font-weight:600;margin:0}.wb-panel .wb-panel-heading p{font-size:13px;color:#959aaf;line-height:1.7;margin:12px 0 0}.wb-panel .wb-panel-close{position:absolute;top:29px;right:22px;padding:0;width:30px;height:30px;border:0;background:transparent;color:#9297a9}.wb-panel-close:hover{background:#f3f1fb;color:#7156e5}.wb-panel-body{padding:24px 26px;gap:18px;flex:1;min-height:0}.wb-panel-summary{padding:13px 15px;border:1px solid #f2eefe;border-radius:9px;background:#f7f4ff;color:#818399;font-size:13px;line-height:20px}.wb-panel-summary strong{color:#7758f2;font-weight:600}.wb-agent-list,.wb-module-list{display:flex;flex-direction:column;gap:12px}.wb-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;border:1px solid #e8eaf2;border-radius:12px;padding:16px 14px;box-sizing:border-box;position:relative;cursor:pointer;margin:0!important;min-width:0;text-align:left!important;background:#fff;transition:border-color .15s,background .15s}.wb-choice:hover{border-color:#bfaef4}.wb-choice.is-checked{border-color:#b6a1fb;background:linear-gradient(110deg,#fcfbff,#f7f3ff)}.wb-choice.is-off{background:#fcfcfe}.wb-choice-icon{width:44px;height:46px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:linear-gradient(145deg,#f4f1ff,#eeedff);color:#7965e9;border-radius:10px}.wb-choice-icon .wb-original-agent-icon{width:30px;height:30px}.wb-choice-icon .wb-icon{width:26px;height:26px}.wb-choice-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.wb-choice-copy strong{font-size:14px;font-weight:600;color:#353951;line-height:22px}.wb-choice-copy small{font-size:11px;color:#959bb0;font-weight:400;line-height:1.7}.wb-agent-choice input[type=checkbox]{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.wb-agent-choice:has(input:focus-visible){outline:2px solid #8666ed;outline-offset:3px}.wb-agent-choice input:disabled{cursor:default}.wb-choice-check{height:22px;width:22px;border:1.5px solid #dce0eb;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:transparent;box-sizing:border-box}.wb-choice-check .wb-icon{width:15px;height:15px}.is-checked .wb-choice-check{border-color:transparent;background:#8060f4;color:white}.wb-panel .wb-panel-footer{position:static;display:flex;flex-direction:column;gap:12px;border-top:1px solid #edf0f6;padding:17px 26px 24px;margin:0;background:#fff;flex:none}.wb-panel-footer>span{font-size:12px;color:#989db0}.wb-panel-footer .wb-publish{width:100%;height:44px}.wb-module-control{display:flex;align-items:center;gap:7px;flex-shrink:0}.wb-hidden-badge{font-size:10px;color:#9ca0b2;background:#f1f2f7;border-radius:4px;padding:3px 5px}.wb-switch{width:36px;height:21px;padding:2px;background:#d6d9e4;border:0;border-radius:20px;cursor:pointer;display:flex;align-items:center;transition:background .15s;flex-shrink:0}.wb-switch>span{display:block;height:17px;width:17px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #25203d1a;transition:transform .15s}.wb-switch[aria-checked=true]{background:#8161f4}.wb-switch[aria-checked=true]>span{transform:translateX(15px)}.tone-stats,.tone-ledger{color:#5a8cf5;background:#eef4ff}.tone-calendar{color:#64a7db;background:#edf7fe}
.wb-panel-body textarea{background:#fbfcff;border-color:#e2e5ef;font-size:14px;line-height:1.7;min-height:140px}.wb-panel-body>.small-btn{border-radius:9px;font-size:13px}.ledger-preview-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.ledger-attachment-preview header .wb-download{display:flex;align-items:center;gap:7px;position:static;background:#f2eeff;color:#7757e8;border:1px solid #e7e0fa;border-radius:9px;padding:9px 14px;font-size:13px;height:36px;width:auto;cursor:pointer}.ledger-attachment-preview header .wb-download .wb-icon{width:16px;height:16px}.ledger-attachment-preview header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.ledger-attachment-preview header .ledger-preview-close{position:static}
@media(max-width:1100px){.wb-canvas .legal-columns{grid-template-columns:minmax(0,1fr) 310px}.wb-canvas .wb-editable,.wb-canvas .legal-side>.wb-module{padding:20px!important}.wb-canvas{padding-left:20px;padding-right:20px}.wb-module-tools .wb-tool{padding:6px 9px}.wb-module-tools{max-width:100%}}
@media(max-width:800px){.wb-editor-head{align-items:center;padding:14px 16px;gap:10px;flex-wrap:wrap}.wb-editor-head>div{justify-content:flex-start}.wb-editor-actions{flex-wrap:wrap;gap:7px}.wb-editor-head h2{font-size:18px}.wb-editor-brand>div>span{display:none}.wb-editor-actions button{height:36px;padding:0 12px;font-size:12px}.wb-editor-note{padding:12px 16px 0;align-items:flex-start}.wb-save-state{white-space:nowrap}.wb-canvas{padding:62px 16px 24px}.wb-canvas .legal-columns{display:flex!important;flex-direction:column;gap:64px}.wb-canvas .legal-side,.wb-canvas .legal-main{width:100%}.wb-module-tools{position:absolute;left:50%;top:-54px;margin:0;flex-wrap:nowrap}.wb-canvas .filters .add{margin-left:0}.wb-panel-body{padding:18px}.wb-panel .wb-panel-heading{padding-left:18px!important}.wb-panel .wb-panel-footer{padding-left:18px;padding-right:18px}.wb-choice{padding:14px 12px;gap:10px}.wb-hidden-badge{display:none}}

/* Figma UdUkIz4Y7CfMWlkrxZk9Hb / 43:2648, 43:2657:
   447px module, 24px padding, 16px header gap, 66px cards, 24px icons, 12px grid gap.
   Module height follows the selected Agent count rather than preserving empty slots. */
.wb-canvas{padding-top:20px}
.wb-canvas .legal-main,.wb-canvas .legal-side{gap:16px}
.wb-canvas .wb-editable.is-selected{margin-top:52px!important}
.wb-canvas .legal-columns{grid-template-columns:minmax(0,1fr) 447px}
#app>.page.legal .legal-columns{grid-template-columns:minmax(0,1fr) 447px}
.wb-module[data-module=agents]{box-sizing:border-box;padding:24px;border-radius:12px;border:1px solid #eee;background:#fff}
.wb-module[data-module=agents]>header,.wb-canvas .wb-module[data-module=agents]>header{margin:0 0 16px;min-height:22px;line-height:22px;display:flex;align-items:center;justify-content:space-between}
.wb-module[data-module=agents]>header>span,.wb-canvas .wb-module[data-module=agents]>header>span{font-size:16px;font-weight:500;line-height:22px;color:#222}
.wb-module[data-module=agents] .agent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wb-module .agent-grid .wb-agent-card{height:66px;min-height:66px;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:20px 8px;font-size:14px;font-weight:500;line-height:20px;color:#222;border-radius:12px;background:#f5f5ff;border-color:#e4e6f5;min-width:0;transform:none}
.wb-module .agent-grid .wb-agent-card[data-agent="合同起草"]{background:#f5fdf8;border-color:#d6eddd}
.wb-module .agent-grid .wb-agent-card[data-agent="合同审核"]{background:#fffaef;border-color:#f3e7cc}
.wb-module .agent-grid .wb-agent-card:hover{transform:none;box-shadow:0 2px 6px #37334b08}
.wb-module .agent-grid .wb-original-agent-icon,.wb-module .agent-grid .wb-agent-symbol{width:24px;height:24px;flex:0 0 24px}
.wb-agent-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1439px){.wb-canvas .legal-columns,#app>.page.legal .legal-columns{grid-template-columns:minmax(0,1fr) 360px}.wb-module[data-module=agents] .agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.wb-canvas .legal-columns,#app>.page.legal .legal-columns{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:800px){.wb-canvas{padding-top:20px}.wb-canvas .legal-columns,#app>.page.legal .legal-columns{display:flex!important;flex-direction:column;gap:16px}.wb-editor-actions{justify-content:flex-start}.wb-editor-actions .wb-head-button{padding:0 10px}.wb-editor-note{flex-wrap:wrap}}

.wb-workbench-heading{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:4px 0 28px}
.wb-workbench-heading .legal-title{margin:0!important;flex:0 0 auto;width:auto!important}
.wb-icon-action,.ledger-attachment-preview header .wb-download{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;margin:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:#7d8392;font:inherit;cursor:pointer;transition:background .15s}
.wb-icon-action:hover,.ledger-attachment-preview header .wb-download:hover{background:#f1f2f6;box-shadow:none}
.wb-icon-action:focus-visible,.ledger-attachment-preview header .wb-download:focus-visible{outline:2px solid #a9a2c7;outline-offset:2px}
.wb-icon-action .wb-generated-icon,.ledger-attachment-preview header .wb-download .wb-generated-icon{display:block;width:36px;height:36px;max-width:none;object-fit:contain;flex-shrink:0;pointer-events:none}
.ledger-attachment-preview .ledger-preview-actions{gap:12px;align-items:center}
.ledger-attachment-preview header .ledger-preview-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:#7d8392;font-size:24px;font-weight:300;padding:0;line-height:1;flex-shrink:0}
.ledger-attachment-preview header .ledger-preview-close:hover{background:#f1f2f6}
@media(max-width:600px){.wb-workbench-heading{gap:4px;margin-bottom:20px}.wb-workbench-heading .legal-title{max-width:calc(100% - 40px)}.ledger-attachment-preview .ledger-preview-actions{gap:5px}}

.wb-editor.preview{position:relative}
.wb-editor .wb-canvas{padding-bottom:120px}
.wb-bottom-actions{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e7e6f1;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 8px 30px #35314b12;z-index:18;box-sizing:border-box;max-width:calc(100% - 24px)}
.wb-bottom-actions .wb-head-button,.wb-bottom-actions .wb-publish{height:40px;min-width:88px;padding:0 16px;border-radius:10px;font-size:14px;white-space:nowrap}
.wb-module-tools .wb-tool-ai.is-ai-open{background:#eee8ff;color:#7754eb}
.wb-ai-popover{position:absolute;z-index:24;width:360px;max-width:calc(100% - 24px);box-sizing:border-box;padding:18px;border:1px solid #e0d7fb;border-radius:14px;background:#fff;box-shadow:0 12px 36px #48405b19;color:#383b50;isolation:isolate;font-family:'PingFang SC','Microsoft YaHei',sans-serif}
.wb-ai-popover:before{content:'';position:absolute;top:var(--wb-arrow-top,28px);width:10px;height:10px;background:#fff;transform:rotate(45deg);border:1px solid #e0d7fb;z-index:-1}
.wb-ai-popover[data-placement=right]:before{left:-6px;border-top:0;border-right:0}
.wb-ai-popover[data-placement=left]:before{right:-6px;border-bottom:0;border-left:0}
.wb-ai-popover[data-placement=below]:before{top:-6px;right:26px;border-bottom:0;border-right:0}
.wb-ai-popover>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px}
.wb-ai-popover>header>div{display:flex;align-items:center;gap:8px;min-width:0}
.wb-ai-popover h3{font-size:14px;font-weight:600;line-height:24px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wb-ai-popover header .wb-icon{color:#9674ef;width:17px;height:17px}
.wb-ai-popover .wb-ai-close{display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:5px;width:24px;height:24px;padding:4px;cursor:pointer;flex:0 0 auto}
.wb-ai-popover .wb-ai-close:hover{background:#f4f1fb}
.wb-ai-popover .wb-ai-close .wb-icon{width:16px;height:16px;color:#969aac}
.wb-ai-popover form{margin:0;padding:0;display:block}
.wb-ai-popover label{display:block;font-size:12px;line-height:20px;color:#7c8196;margin:0 0 8px}
.wb-ai-popover textarea{display:block;width:100%;height:108px;min-height:108px;max-height:160px;box-sizing:border-box;margin:0;padding:11px 12px;background:#fbfcff;border:1px solid #e8eaf3;border-radius:8px;font:inherit;font-size:13px;line-height:1.7;resize:vertical;color:#3e4257}
.wb-ai-popover textarea::placeholder{color:#b2b5c2}
.wb-ai-popover textarea:focus{outline:0;border-color:#b9a5ef;box-shadow:0 0 0 2px #9675eb0d}
.wb-ai-popover footer{position:static;display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:16px 0 0;padding:0;border:0;background:transparent;height:auto}
.wb-ai-popover footer button{height:36px;min-width:88px;padding:0 18px;border-radius:8px;font-size:13px}
.wb-ai-popover footer .wb-publish{box-shadow:none}
.wb-ai-error{font-size:12px;line-height:1.6;color:#b76d6d;background:#fdf4f4;border-radius:6px;padding:8px 10px;margin:10px 0 0}
.wb-ai-error[hidden]{display:none}
@media(max-width:600px){.wb-bottom-actions{bottom:14px;padding:7px;gap:6px}.wb-bottom-actions .wb-head-button,.wb-bottom-actions .wb-publish{min-width:78px;font-size:13px;padding:0 12px}.wb-editor .wb-canvas{padding-bottom:112px}.wb-ai-popover{padding:16px}}

/* Shared Figma geometry, scoped to the two legal workbench views only. */
.wb-figma-ledger{font-family:'PingFang SC','Microsoft YaHei',sans-serif;background:#f7faff;color:#222}
#app>.wb-figma-ledger .legal-wrap{width:calc(100% - 48px);max-width:1560px;margin:0 auto!important;padding:28px 0 30px}
.wb-figma-ledger .wb-workbench-heading{height:28px;margin:2px 0 24px}
.wb-workbench-heading .wb-edit-entry{width:28px;min-width:28px;height:28px;min-height:28px;flex-basis:28px}
.wb-figma-ledger .legal-columns,.wb-canvas .wb-figma-ledger .legal-columns{display:grid!important;grid-template-columns:minmax(0,1fr) 447px;gap:16px;align-items:stretch}
.wb-figma-ledger .legal-main,.wb-canvas .wb-figma-ledger .legal-main{box-sizing:border-box;display:flex;flex-direction:column;gap:36px;padding:24px!important;background:#fff!important;border:1px solid #eee;border-radius:12px;min-height:886px!important;min-width:0}
.wb-figma-ledger .legal-side,.wb-canvas .wb-figma-ledger .legal-side{display:flex;flex-direction:column;gap:16px;padding:0!important;min-height:0!important;min-width:0}
.wb-figma-ledger .legal-main,.wb-figma-ledger .wb-module[data-module=agents]{opacity:.9}
.wb-figma-ledger .wb-module[data-module=stats],.wb-figma-ledger .wb-module[data-module=ledger],.wb-canvas .wb-figma-ledger .wb-module[data-module=stats],.wb-canvas .wb-figma-ledger .wb-module[data-module=ledger]{padding:0!important;background:transparent;border:0;border-radius:0;box-shadow:none;margin:0;min-width:0}
.wb-canvas .wb-figma-ledger .wb-editable[data-module=stats].is-selected,.wb-canvas .wb-figma-ledger .wb-editable[data-module=ledger].is-selected{outline:1px solid #9471f7;outline-offset:10px;box-shadow:none;border-radius:4px}
.wb-canvas .wb-figma-ledger .wb-editable[data-module=stats].is-selected:before,.wb-canvas .wb-figma-ledger .wb-editable[data-module=ledger].is-selected:before{left:-15px;top:-15px}
.wb-canvas .wb-figma-ledger .wb-editable[data-module=stats].is-selected:after,.wb-canvas .wb-figma-ledger .wb-editable[data-module=ledger].is-selected:after{left:-15px;bottom:-15px}
.wb-canvas .wb-figma-ledger .wb-module[data-module=stats]>.wb-module-tools,.wb-canvas .wb-figma-ledger .wb-module[data-module=ledger]>.wb-module-tools{top:-64px}
.wb-figma-ledger .wb-module[data-module=stats]>p,.wb-canvas .wb-figma-ledger .wb-module[data-module=stats]>p{font-size:16px;font-weight:500;line-height:22px;margin:0 0 16px}
.wb-figma-ledger .stats,.wb-canvas .wb-figma-ledger .stats{gap:16px;margin:0}
.wb-figma-ledger .stat,.wb-figma-ledger .stat>div:first-child,.wb-canvas .wb-figma-ledger .stat,.wb-canvas .wb-figma-ledger .stat>div:first-child{height:83px!important;border-radius:12px}
.wb-figma-ledger .stat>div:first-child,.wb-canvas .wb-figma-ledger .stat>div:first-child{box-sizing:border-box;width:100%;padding:16px 24px!important;gap:24px!important}
.wb-figma-ledger .stat>div:first-child>div:first-child,.wb-canvas .wb-figma-ledger .stat>div:first-child>div:first-child{width:48px!important;height:48px!important;flex:0 0 48px}
.wb-figma-ledger .stat>div:first-child>div:last-child p:first-child{font-size:14px!important;line-height:28px!important;font-weight:400}
.wb-figma-ledger .stat>div:first-child>div:last-child p:last-child{font-size:20px!important;line-height:23px!important;font-weight:500}
.wb-figma-ledger .stat .stat-decoration{width:95px!important;height:83px!important;right:0!important;bottom:0;opacity:1!important}
.wb-figma-ledger.wb-figma-preview .stat-decoration{display:none!important}
.wb-figma-ledger .table-tabs,.wb-canvas .wb-figma-ledger .wb-module>.table-tabs{gap:42px;margin:0 0 16px;align-items:flex-start;min-height:33px}
.wb-figma-ledger .table-tabs button,.wb-canvas .wb-figma-ledger .table-tabs button{font-size:16px;line-height:22px;font-weight:500;padding:0 0 11px;height:33px;box-sizing:border-box;white-space:nowrap}
.wb-figma-ledger .filters,.wb-canvas .wb-figma-ledger .wb-module>.filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 24px}
.wb-search-field{display:block;position:relative;flex:0 0 240px;width:240px;height:36px;min-width:0}
.wb-filter-search-icon{position:absolute;left:12px;top:10px;width:16px;height:16px;pointer-events:none}
.wb-figma-ledger .filters input,.wb-canvas .wb-figma-ledger .filters input{box-sizing:border-box;height:36px;width:240px;padding:0 12px;font-size:14px;line-height:20px;border-radius:8px;background-color:#f5f5f5}
.wb-figma-ledger .filters .wb-search-field input{width:100%;padding-left:36px}
.wb-figma-ledger .filters select,.wb-canvas .wb-figma-ledger .filters select{box-sizing:border-box;width:142px;height:36px;padding:0 30px 0 12px;background-color:#f5f5f5;background-repeat:no-repeat;background-size:16px 16px;background-position:right 8px center;font:inherit;font-size:14px;color:#555;border-radius:8px;appearance:none;-webkit-appearance:none}
.wb-figma-ledger .filters .small-btn,.wb-canvas .wb-figma-ledger .filters .small-btn,.wb-figma-ledger .side-card>header .small-btn,.wb-canvas .wb-figma-ledger .side-card>header .small-btn{height:36px;box-sizing:border-box;padding:0 16px;line-height:20px;font-size:14px;border:1px solid #ddd;border-radius:8px;color:#222;white-space:nowrap}
.wb-figma-ledger .filters button[type=submit]{margin-left:12px;min-width:62px}
.wb-figma-ledger .filters button[type=reset]{min-width:62px}
.wb-figma-ledger .filters .add{margin-left:auto;min-width:114px}
.wb-figma-ledger .table-scroll,.wb-canvas .wb-figma-ledger .table-scroll{min-height:0!important;max-height:none;overflow:auto;border:0;border-radius:0;flex:none!important}
.wb-figma-ledger table,.wb-canvas .wb-figma-ledger table{width:100%;font-size:14px;line-height:20px;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:880px}
.wb-figma-ledger th,.wb-canvas .wb-figma-ledger th{height:42px;box-sizing:border-box;font-size:14px;line-height:20px;font-weight:500;background:#f8f8fa;padding:10px 16px;color:#222;border-top:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}
.wb-figma-ledger th:first-child{border-left:1px solid #e8e8e8;border-radius:8px 0 0 8px}.wb-figma-ledger th:last-child{border-right:1px solid #e8e8e8;border-radius:0 8px 8px 0}
.wb-figma-ledger td,.wb-canvas .wb-figma-ledger td{height:60px;box-sizing:border-box;font-size:14px;line-height:20px;font-weight:400;padding:0 16px;vertical-align:middle;color:#222;border-bottom:1px solid #eee;overflow:hidden;text-overflow:ellipsis}
.wb-figma-ledger tbody tr:last-child td{height:52px;vertical-align:top;padding-top:20px;padding-bottom:12px;border-bottom:0}
.wb-figma-ledger[data-ledger=contract] th:nth-child(1),.wb-figma-ledger[data-ledger=contract] th:nth-child(2){width:15.73%}
.wb-figma-ledger[data-ledger=contract] th:nth-child(n+3):nth-child(-n+6){width:12.86%}
.wb-figma-ledger[data-ledger=contract] th:last-child{width:17.1%}
.wb-figma-ledger td:last-child button{font-size:14px;line-height:20px}
.wb-figma-ledger .pagination,.wb-canvas .wb-figma-ledger .pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:24px 0 0;min-height:32px}
.wb-figma-ledger .pagination button,.wb-canvas .wb-figma-ledger .pagination button{width:32px;height:32px;min-width:32px;border-radius:8px;font-size:14px;line-height:20px}
.wb-figma-ledger .side-card,.wb-canvas .wb-figma-ledger .legal-side>.wb-module{box-sizing:border-box;border:1px solid #eee;border-radius:12px;background:#fff;padding:24px!important}
.wb-figma-ledger .wb-module[data-module=agents]>header,.wb-canvas .wb-figma-ledger .wb-module[data-module=agents]>header{height:22px;margin:0 0 16px}
.wb-figma-ledger .legal-side .wb-module[data-module=calendar],.wb-canvas .wb-figma-ledger .legal-side>.wb-module[data-module=calendar]{flex:1!important;min-height:638px;overflow:visible!important}
.wb-figma-ledger .wb-module[data-module=calendar]>header,.wb-canvas .wb-figma-ledger .wb-module[data-module=calendar]>header{position:relative;height:36px;margin:0 0 44px;display:flex;align-items:center;font-size:16px;line-height:22px;font-weight:500}
.wb-figma-ledger .wb-module[data-module=calendar]>header:after{content:'';position:absolute;left:-24px;right:-24px;bottom:-17px;border-bottom:1px solid #eee}
.wb-figma-ledger .calendar-head,.wb-canvas .wb-figma-ledger .calendar-head{height:28px;font-size:20px;line-height:28px;margin:0 0 24px;align-items:center}
.wb-figma-ledger .calendar-head>div{display:flex;align-items:center;gap:24px}
.wb-figma-ledger .calendar-head button,.wb-canvas .wb-figma-ledger .calendar-head button{display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0;padding:0}
.wb-calendar-nav-icon{position:relative!important;inset:auto!important;width:16px!important;height:16px!important;flex:0 0 16px}
.wb-calendar-nav-icon>.c49{transform:rotate(-90deg) scaleY(-1)}
.wb-figma-ledger .filters select:has(option:checked[value=""]){color:#999}
.wb-figma-ledger .calendar-grid,.wb-canvas .wb-figma-ledger .calendar-grid{gap:16px 0}
.wb-figma-ledger .calendar-grid>span{font-size:12px;line-height:17px;height:17px}
.wb-figma-ledger .calendar-grid button,.wb-canvas .wb-figma-ledger .calendar-grid button{width:32px;height:32px;font-size:14px;line-height:20px}
.wb-figma-ledger .events,.wb-canvas .wb-figma-ledger .events{margin-top:24px;gap:12px}
.wb-figma-ledger .event,.wb-canvas .wb-figma-ledger .event{box-sizing:border-box;display:flex;align-items:center;min-height:42px;padding:9px 16px;font-size:14px;line-height:20px;gap:8px;border-left:3px solid #5653f8;background:#f8f8fa;border-radius:0 8px 8px 0}
.wb-figma-ledger .event span{color:#5653f8;font-size:12px;line-height:17px;white-space:nowrap;margin:0;border:1px solid #5653f833;border-radius:4px;padding:0 4px}
.wb-figma-ledger .event:nth-child(3n+2){border-left-color:#2c71ff}.wb-figma-ledger .event:nth-child(3n+2) span{border-color:#2c71ff33;color:#2c71ff}
.wb-figma-ledger .event:nth-child(3n+3){border-left-color:#ff896f}.wb-figma-ledger .event:nth-child(3n+3) span{border-color:#ff896f33;color:#ff896f}
.wb-editor.preview{width:min(1608px,100%);background:#f7faff}
.wb-editor .wb-canvas{padding:24px 24px 120px}
.wb-canvas .wb-figma-ledger .legal-wrap{width:100%;max-width:none;margin:0!important;padding:0!important}
.wb-canvas .wb-figma-ledger .wb-editable.is-selected{margin-top:62px!important}
.wb-figma-ledger .wb-compact td,.wb-canvas .wb-figma-ledger .wb-compact td{height:44px;padding-top:8px!important;padding-bottom:8px!important;vertical-align:middle}
@media(max-width:1439px){.wb-figma-ledger .legal-columns,.wb-canvas .wb-figma-ledger .legal-columns{grid-template-columns:minmax(0,1fr) 360px}.wb-figma-ledger .stat>div:first-child,.wb-canvas .wb-figma-ledger .stat>div:first-child{padding:16px!important;gap:12px!important}.wb-search-field{flex-basis:190px;width:190px}.wb-figma-ledger .filters .small-btn{padding:0 12px}.wb-figma-ledger .filters .add{margin-left:0}.wb-figma-ledger .filters button[type=submit]{margin-left:0}}
@media(max-width:1100px){.wb-figma-ledger .legal-columns,.wb-canvas .wb-figma-ledger .legal-columns{grid-template-columns:minmax(0,1fr) 310px}.wb-figma-ledger .stat>div:first-child,.wb-canvas .wb-figma-ledger .stat>div:first-child{padding:16px 10px!important;gap:8px!important}.wb-figma-ledger .stat>div:first-child>div:first-child,.wb-canvas .wb-figma-ledger .stat>div:first-child>div:first-child{width:32px!important;height:32px!important;flex-basis:32px}.wb-figma-ledger .stats{grid-template-columns:1fr}.wb-figma-ledger .legal-main{min-height:0!important}}
@media(max-width:800px){.wb-figma-ledger .legal-columns,.wb-canvas .wb-figma-ledger .legal-columns{display:flex!important;flex-direction:column;gap:16px}.wb-figma-ledger .legal-main,.wb-canvas .wb-figma-ledger .legal-main{padding:20px!important;min-height:0!important}.wb-editor .wb-canvas{padding:24px 16px 112px}.wb-figma-ledger .stats{grid-template-columns:1fr}.wb-figma-ledger .filters{gap:10px}.wb-search-field{width:100%;flex-basis:100%}.wb-figma-ledger .filters select,.wb-canvas .wb-figma-ledger .filters select{width:calc(50% - 5px);flex:1 1 calc(50% - 5px)}.wb-figma-ledger .event{font-size:12px;padding-left:10px;padding-right:10px}.wb-figma-ledger .legal-side .wb-module[data-module=calendar]{min-height:0}.wb-figma-ledger .calendar-head>div{gap:18px}.wb-canvas .wb-figma-ledger .legal-wrap{width:100%}}

/* Full-width footer, fixed to the editor rather than the scrollable canvas. */
.wb-editor .wb-bottom-actions{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;min-height:80px;box-sizing:border-box;padding:16px 24px;justify-content:center;gap:12px;background:rgba(255,255,255,.98);border:0;border-top:1px solid #e6e9f2;border-radius:0 0 20px 20px;box-shadow:0 -5px 24px #35314b07;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.wb-editor .wb-bottom-actions .wb-head-button,.wb-editor .wb-bottom-actions .wb-publish{height:44px;min-width:108px;padding:0 20px;border-radius:9px}
.wb-module.is-updating{isolation:isolate}
.wb-module.is-updating>.wb-module-tools{visibility:hidden}
.wb-module-loading{position:absolute;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;min-height:120px;border-radius:10px;border:1px solid #ded7fa;background-color:rgba(246,248,255,.9);background-image:radial-gradient(#a99bd63b .7px,transparent .7px);background-size:8px 8px;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);color:#5a4a96;pointer-events:auto}
.wb-loading-center{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;text-align:center}
.wb-loading-spark{display:flex;color:#9876f1;animation:wb-module-breathe 1.2s ease-in-out infinite}
.wb-loading-spark .wb-icon{width:19px;height:19px}
.wb-loading-percent{font-size:27px;line-height:32px;font-weight:600;color:#6550b0;font-variant-numeric:tabular-nums}
.wb-loading-title{margin:0;font-size:13px;line-height:20px;color:#8b7bad}
.wb-loading-track{width:164px;height:4px;border-radius:6px;overflow:hidden;background:#e7e0f5}
.wb-loading-track>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a482ee,#6f9cfa);transition:width .07s linear}
.wb-figma-ledger th[hidden],.wb-figma-ledger td[hidden],.wb-figma-ledger .filters [hidden]{display:none!important}
@keyframes wb-module-breathe{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}
@media(prefers-reduced-motion:reduce){.wb-loading-spark{animation:none}.wb-loading-track>span{transition:none}}
@media(max-width:800px){.wb-editor .wb-bottom-actions{min-height:76px;padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));border-radius:0;gap:10px}.wb-editor .wb-bottom-actions .wb-head-button,.wb-editor .wb-bottom-actions .wb-publish{min-width:82px;padding:0 14px}.wb-editor .wb-canvas{padding-bottom:112px}}

/* Reserve space for all three row actions and align them slightly farther left. */
.wb-figma-ledger[data-ledger=contract] th:nth-child(1),.wb-figma-ledger[data-ledger=contract] th:nth-child(2){width:calc((100% - 184px) * .19)}
.wb-figma-ledger[data-ledger=contract] th:nth-child(n+3):nth-child(-n+6){width:calc((100% - 184px) * .155)}
.wb-figma-ledger[data-ledger=contract] th:last-child{width:184px}
.wb-figma-ledger th:last-child,.wb-canvas .wb-figma-ledger th:last-child,.wb-figma-ledger td:last-child,.wb-canvas .wb-figma-ledger td:last-child{padding-left:8px;padding-right:8px;text-overflow:clip;overflow:visible;white-space:nowrap}
.wb-figma-ledger td:last-child button{padding:0;margin:0 12px 0 0;white-space:nowrap}
.wb-figma-ledger td:last-child button:last-child{margin-right:0}

/* Center progress in the module's visible area above the fixed action bar. */
.wb-module-loading .wb-loading-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:240px;max-width:calc(100% - 16px);padding:10px 8px;gap:6px}
.wb-module-loading .wb-loading-center[hidden]{display:none}
.wb-module-loading .wb-loading-percent{font-size:30px;line-height:36px;font-weight:600;color:#6550b0}
.wb-module-loading .wb-loading-title{font-size:14px;line-height:20px;color:#74658f;white-space:nowrap}
.wb-module-loading .wb-loading-track{width:180px;max-width:100%;height:4px;margin-top:2px}

/* Compact legal-services navigation entry. */
.workbench-entry{width:128px;height:36px;border-radius:18px;gap:8px;font-size:14px;line-height:20px;margin-right:24px}
.workbench-entry .arrow{font-size:16px}
@media(max-width:800px){.workbench-entry{width:116px;height:34px;border-radius:17px;gap:6px;font-size:13px;margin-right:10px}.workbench-entry .arrow{font-size:15px}}

/* Quiet frosted homepage entry and workspace selection menu. */
.wb-home-workbenches{flex:0 0 auto;margin-left:auto}
.workbench-entry.wb-home-entry{width:128px;height:36px;margin:0;gap:6px;border-radius:18px;font-size:14px;white-space:nowrap;color:#555d6b;background:rgba(255,255,255,.55);border-color:rgba(255,255,255,.7)}
.wb-home-entry>.wb-icon{width:14px;height:14px}
.wb-home-chevron{display:flex;align-items:center;width:14px;height:14px;transition:transform .16s}
.wb-home-chevron svg{width:100%;height:100%}
.wb-home-entry[aria-expanded=true]{background:rgba(255,255,255,.88)}
.wb-home-entry[aria-expanded=true] .wb-home-chevron{transform:rotate(180deg)}
.wb-workspace-menu{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 24px);box-sizing:border-box;padding:7px;background:linear-gradient(155deg,rgba(251,253,255,.91),rgba(230,236,255,.77));border:1px solid rgba(255,255,255,.76);border-radius:16px;box-shadow:0 18px 46px #132c7038,0 2px 8px #243e6914,inset 0 1px 0 #ffffffbd;backdrop-filter:blur(21px) saturate(145%);-webkit-backdrop-filter:blur(21px) saturate(145%);font-family:'PingFang SC','Microsoft YaHei',sans-serif;color:#26334c}
.wb-workspace-menu:popover-open{animation:wb-workspace-reveal .18s ease-out}
@keyframes wb-workspace-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.wb-workspace-option{width:100%;display:flex;align-items:center;gap:11px;padding:8px;border:1px solid transparent;border-radius:10px;text-align:left;text-decoration:none;color:inherit;background:transparent;cursor:pointer;font:inherit;font-size:14px;font-weight:500;transition:background .16s,border-color .16s}
.wb-workspace-option+.wb-workspace-option{margin-top:3px}
.wb-workspace-option{box-sizing:border-box}
.wb-workspace-option::after{content:'';width:6px;height:6px;margin-left:auto;margin-right:4px;border-top:1.5px solid #5e6f96;border-right:1.5px solid #5e6f96;transform:rotate(45deg);opacity:.63}
.wb-workspace-option:hover,.wb-workspace-option:focus-visible{background:#ffffff9c;border-color:#ffffffbd}
.wb-workspace-option:focus-visible{outline:2px solid #7869be;outline-offset:-2px}
.wb-workspace-icon{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#eae4fd;color:#7256c4}
.wb-workspace-icon .wb-icon{width:20px;height:20px}
.wb-workspace-option + .wb-workspace-option .wb-workspace-icon{background:#e1ebff;color:#4166a8}
@media(max-width:1100px) and (min-width:761px){.home .portal-header:has(.wb-home-workbenches)>div:first-child{gap:24px!important}.home .portal-header:has(.wb-home-workbenches) [data-node-id='43:200']{gap:20px!important}}
@media(max-width:760px){.home .portal-header:has(.wb-home-workbenches){gap:10px;padding-left:12px!important;padding-right:12px!important}.workbench-entry.wb-home-entry{width:113px;height:34px;border-radius:17px;font-size:13px;gap:5px}.home .portal-header:has(.wb-home-workbenches)>.account-trigger{flex-shrink:0}.home .portal-header:has(.wb-home-workbenches)>div:first-child>div:first-child>p{max-width:100px;overflow:hidden;text-overflow:ellipsis;font-size:13px!important}.home .portal-header:has(.wb-home-workbenches)>div:first-child>div:first-child{flex-shrink:1!important;min-width:0}}
@media(prefers-reduced-motion:reduce){.wb-home-chevron,.wb-workspace-option{transition:none}.wb-workspace-menu:popover-open{animation:none}}

.wb-enterprise-menu-item{display:flex;align-items:center;gap:8px;width:100%;height:42px;box-sizing:border-box;padding:9px 10px;border:0;border-radius:8px;text-align:left;background:transparent;font:inherit;font-size:16px;line-height:24px;color:#222;cursor:pointer;white-space:nowrap}
.wb-enterprise-menu-item .wb-icon{width:20px;height:20px;color:#767087}
.wb-enterprise-menu-item:hover{background:#f1eefc}
.wb-enterprise-menu-item.is-current{background:#ece7ff;color:#6653df}
.wb-enterprise-menu-item.is-current .wb-icon{color:#7963e8}
.wb-enterprise-menu-item:focus-visible{outline:2px solid #8d77ee;outline-offset:2px}
.wb-management-host{position:relative;min-width:0;overflow:hidden;border:1px solid #e6e4f1;border-radius:12px;background:#f7f8ff}
.wb-management-loading{padding:32px;font-size:14px;color:#9794aa}
.wb-management-frame{display:block;box-sizing:border-box;width:100%;height:900px;border:0;background:#f7f8ff}
.wb-management-scrim{position:fixed;inset:0;z-index:68;background:#262b4e55}
.wb-management-frame.is-modal{position:fixed;inset:16px;z-index:69;width:calc(100vw - 32px);height:calc(100dvh - 32px)!important;border-radius:16px;box-shadow:0 20px 90px #29234c33}
.wb-enterprise-management-page .account-columns{align-items:start}
.wb-enterprise-management-page [data-node-id='43:3859']{background:transparent}
@media(max-width:760px){.wb-enterprise-management-page .account-columns{display:flex;align-items:stretch}.wb-management-frame.is-modal{inset:0;width:100vw;height:100dvh!important;border-radius:0}.wb-enterprise-menu-item{font-size:14px}}
.wb-management-host:popover-open{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:transparent}
.wb-management-host:popover-open .wb-management-frame.is-modal{position:absolute;inset:0;width:100%;height:100%!important;border-radius:0;box-shadow:none}

.wb-integrated-enterprise-host:not(:popover-open){border:0;background:transparent}
.wb-integrated-enterprise-host .wb-management-frame:not(.is-modal){background:transparent}
.account-wrap:has(> .wb-enterprise-title-row){container-type:inline-size;padding-top:10px}
.wb-enterprise-title-row{display:contents}
.wb-enterprise-title-row > .account-title{margin-bottom:9px}
.wb-enterprise-title-row[data-conversation]{
 display:grid;grid-template-columns:clamp(215px,18cqw,318px) minmax(0,1fr);
 gap:clamp(22px,2.8cqw,48px);align-items:center;margin-bottom:12px
}
.wb-enterprise-title-row[data-conversation] > .account-title{justify-self:start;margin:0}
.wb-enterprise-context{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-inline:16px;min-height:32px;color:#101a45}
.wb-enterprise-context[hidden]{display:none}
.wb-enterprise-context-title{margin:0;font-size:16px;line-height:1.4;font-weight:750}
.wb-enterprise-return{flex:none;padding:6px 10px;border:1px solid #dce3f6;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:13px;line-height:1.35;cursor:pointer}
.wb-enterprise-return:hover{background:#e6edff}
.wb-enterprise-return:focus-visible{outline:2px solid #4961f4;outline-offset:2px}
@container (max-width:760px){
 .wb-enterprise-title-row[data-conversation]{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}
 .wb-enterprise-context{margin-inline:0;gap:8px}
 .wb-enterprise-context-title{font-size:14px}
}
