*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.editor-body .aiui-min-h-0{min-height:0}.editor-body .aiui-overflow-y-auto{overflow-y:auto}.editor-body .modal.keys-modal{width:430px}.editor-body .keys-form-modal{width:auto}.editor-body .keys-form-modal .key-row{margin:6px 0 10px}.editor-body .keys-form-modal .key-head{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;font-size:13px}.editor-body .keys-form-modal .key-name{flex:none;white-space:nowrap;font-weight:600}.editor-body .keys-form-modal .status-dot{height:8px;width:8px;flex:none;border-radius:9999px;background-color:var(--text-dim)}.editor-body .keys-form-modal .status-dot.on{background-color:var(--green)}.editor-body .keys-form-modal .masked{min-width:0;flex:1 1 0%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;color:var(--text-dim)}.editor-body .keys-form-modal .key-guide{margin-left:auto;flex:none;white-space:nowrap;font-size:12px;color:var(--blue);text-decoration-line:none}.editor-body .keys-form-modal input[type=password]{width:100%;background-color:var(--deep);border:1px solid var(--line);border-radius:5px;color:var(--text);padding:6px 10px;font:inherit;margin-top:6px}.editor-body .key-actions{margin-top:6px;display:flex;gap:8px}.editor-body .key-actions .key-delete,.editor-body .key-actions .key-test{background:none;border:1px solid var(--line);cursor:pointer;border-radius:4px;font-size:12px;padding:2px 10px;font-family:inherit}.editor-body .key-actions .key-test{color:var(--text)}.editor-body .key-actions .key-test:hover{border-color:var(--blue);color:var(--blue)}.editor-body .key-actions .key-delete{color:var(--red)}.editor-body .keys-status{min-height:1.2em;font-size:12.5px;margin:4px 0}.editor-body .modal.credit-modal{width:460px}.editor-body .credit-body{padding:14px 16px 4px;max-height:62vh;overflow-y:auto}.editor-body .credit-balance{margin:0;font-size:19px;font-weight:600}.editor-body .credit-note{margin:6px 0 14px;font-size:12px;line-height:1.5;color:var(--text-dim)}.editor-body .credit-prices{width:100%;border-collapse:collapse;font-size:12.5px}.editor-body .credit-prices th{text-align:left;font-size:11.5px;font-weight:500;color:var(--text-dim);padding:0 0 5px;border-bottom:1px solid var(--line)}.editor-body .credit-prices td:last-child,.editor-body .credit-prices th:last-child{text-align:right}.editor-body .credit-prices td{padding:5px 0;border-bottom:1px solid var(--line)}.editor-body .credit-prices tr:last-child td{border-bottom:none}.editor-body .credit-history-title{margin:16px 0 6px;font-size:11.5px;color:var(--text-dim)}.editor-body .credit-history{margin:0;list-style-type:none;padding:0;font-size:12.5px}.editor-body .credit-history li{display:grid;grid-template-columns:84px 1fr 56px;align-items:baseline;gap:8px;padding:4px 0;border-bottom:1px solid var(--line)}.editor-body .credit-history li:last-child{border-bottom:none}.editor-body .ch-when{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);color:var(--text-dim)}.editor-body .ch-amt{text-align:right;font-weight:600;--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.editor-body .credit-in .ch-amt{color:var(--green,#6cc07a)}.editor-body .credit-out .ch-amt{color:var(--text-dim)}.editor-body .ch-memo{grid-column:2/4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;color:var(--text-dim)}.editor-body .credit-history li.credit-more{display:block;padding-top:8px;font-size:11.5px;color:var(--text-dim);border:none}.editor-body .credit-buy-note{margin-right:auto;font-size:12px;color:var(--text-dim)}.editor-body .ai-model-btn{display:inline-flex;max-width:220px;align-items:baseline;gap:6px;padding:3px 8px;border:1px solid var(--line);cursor:pointer;border-radius:4px;background-color:var(--panel2);font-size:12px;color:var(--text)}.editor-body .ai-model-btn:hover{border-color:var(--text-dim)}.editor-body .ai-model-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-body .ai-model-price{flex:none;font-size:11px;color:var(--text-dim)}.editor-body .modelpick-modal{width:380px;max-width:92vw}.editor-body .mdl-signup{display:block;width:calc(100% - 24px);margin:12px 12px 0;padding:10px;border:1px solid var(--accent,#2d8cf0);cursor:pointer;border-radius:6px;background-color:var(--panel2);color:var(--text);font:inherit}.editor-body .mdl-tabs{display:flex;gap:6px;padding:10px 12px 0}.editor-body .mdl-tab{padding:5px 14px;border:1px solid var(--line);border-radius:16px;background:none;cursor:pointer;font-size:12px;color:var(--text-dim)}.editor-body .mdl-tab.on{background:var(--accent,#2d8cf0);border-color:transparent;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.editor-body .mdl-list{margin:10px 12px;padding:6px;max-height:46vh;overflow-y:auto;border:1px solid var(--line);display:flex;flex-direction:column;gap:4px;border-radius:6px;background-color:var(--bg)}.editor-body .mdl-row{display:flex;width:100%;align-items:center;gap:10px;text-align:left;padding:8px 10px;border:1px solid transparent;cursor:pointer;border-radius:5px;background-color:var(--panel2);color:var(--text)}.editor-body .mdl-row:hover:not(:disabled){border-color:var(--text-dim)}.editor-body .mdl-row.on{border-color:var(--accent,#2d8cf0)}.editor-body .mdl-row.off,.editor-body .mdl-row:disabled{opacity:.4;cursor:default}.editor-body .mdl-row-main{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;gap:2px}.editor-body .mdl-row-name{font-size:12.5px}.editor-body .mdl-row-note{font-size:11px;line-height:1.35;color:var(--text-dim)}.editor-body .mdl-row-price{flex:none;white-space:nowrap;font-size:11.5px;color:var(--text-dim)}.editor-body .mdl-empty{margin:8px;font-size:12px;color:var(--text-dim)}.editor-body .mdl-nokey{margin:10px 8px 0;line-height:1.5}.editor-body .mdl-key-link{display:block;margin:8px;padding:9px 10px;border:1px solid var(--accent,#2d8cf0);border-radius:5px;background:none;color:var(--accent,#2d8cf0);font:inherit;cursor:pointer;font-size:12.5px}.editor-body .mdl-key-link:hover{background:var(--accent,#2d8cf0);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.editor-body .ai-tasks:has(.task-pill){border-radius:9999px;padding:6px;gap:5px}.editor-body .task-btn.task-pill{border-radius:9999px;padding:6px 13px}.editor-body .ai-tasks:has(.task-pill) .task-more{width:28px}.editor-body .ai-tasks:has(.task-pill) .task-grip{padding-left:4px}.editor-body .bar-menu hr{border:none;border-top:1px solid var(--line);margin:4px 0}.editor-body .ai-mark{display:inline-flex;flex:none;cursor:grab;align-items:center;justify-content:center;padding:0}.editor-body .ai-mark:active{cursor:grabbing}.editor-body .ai-tasks.collapsed{padding:4px;gap:0}.editor-body .ai-tasks.collapsed>:not(.ai-mark){display:none!important}.editor-body .ai-tasks:has(.task-pill){background-color:var(--panel);border:1px solid var(--panel);border-radius:9999px;padding:7px 8px;gap:6px;box-shadow:0 8px 26px rgba(0,0,0,.6)}.editor-body .ai-tasks .task-btn.task-pill{background-color:var(--panel2);border:1px solid var(--line);border-radius:9999px;color:var(--text-dim);padding:6px 14px 6px 11px;gap:7px;font-size:13px}.editor-body .ai-tasks .task-btn.task-pill:hover{border-color:var(--text-faint);background-color:var(--row-on);color:var(--text)}.editor-body .ai-tasks .task-btn.task-pill svg{height:15px;width:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.editor-body .ai-tasks:has(.task-pill) .task-more{height:30px;width:30px;border-radius:9999px;background-color:var(--panel2);padding:0;border:1px solid var(--line);color:var(--text-dim)}.editor-body .ai-tasks:has(.task-pill) .task-more:hover{background-color:var(--row-on);color:var(--text)}.editor-body .ai-tasks:has(.task-pill) .task-more svg{height:14px;width:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.editor-body .ai-mark{box-sizing:border-box;height:32px;width:32px;border:1px solid transparent;border-radius:9999px;color:#f5f2ff;background:linear-gradient(145deg,#35304e,#222632) padding-box,linear-gradient(135deg,#a99ade,#526c94) border-box;box-shadow:inset 0 1px 0 #ffffff0c,0 2px 5px #00000030;transition:box-shadow .12s ease,filter .12s ease}.editor-body .ai-mark:hover{filter:brightness(1.16);box-shadow:inset 0 1px 0 #ffffff16,0 0 0 2px #a99ade24}.editor-body .ai-mark:focus-visible{outline:2px solid #c0b4ff;outline-offset:3px}.editor-body .ai-mark:active{filter:brightness(.96)}.editor-body .ai-mark svg{height:18px;width:18px;overflow:visible}.editor-body .ai-mark .ai-mark-accent{fill:#aacbff}@media (prefers-reduced-motion:reduce){.editor-body .ai-mark{transition:none}}.editor-body .ai-tasks.collapsed{border-color:transparent;background-color:transparent;padding:0;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.editor-body .ai-float .ai-float-main{align-items:flex-start;gap:8px}.editor-body .ai-float .ai-edit-group{display:flex;min-width:0;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:8px}.editor-body .ai-float .ai-break{flex:1 0 100%;margin:0;height:0}.editor-body .ai-float .ai-prompt{flex:1 1 100%;min-width:0}.editor-body .ai-float .ai-mark-float{margin-top:2px}.editor-body .ai-float .ai-cancel,.editor-body .ai-float .ai-expand[hidden],.editor-body .ai-float .ai-variant[hidden],.editor-body .ai-float [data-editor-target=actionType]{display:none}.editor-body .ai-collapse,.editor-body .ai-float .ai-expand:not([hidden]),.editor-body .ai-float .ai-variant:not([hidden]){display:inline-flex}.editor-body .ai-collapse{height:28px;width:28px;flex:none;align-items:center;justify-content:center;border-radius:9999px;background-color:var(--panel2);padding:0;border:1px solid var(--line);cursor:pointer;color:var(--text-dim)}.editor-body .ai-collapse:hover{background-color:var(--row-on);color:var(--text)}.editor-body .ai-collapse svg{height:14px;width:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.editor-body .ai-credits{margin-left:auto;display:inline-flex;align-items:center;gap:6px;background:none;border:none;cursor:pointer;color:var(--text-dim);font:inherit;font-size:12.5px}.editor-body .ai-credits:hover{color:var(--text)}.editor-body .ai-credits svg{height:14px;width:14px;fill:none;stroke:currentColor;stroke-width:1.3}.editor-body .ai-keys[hidden]{display:none}.editor-body .ai-keys{display:inline-flex;align-items:center;gap:5px;background:none;border:1px solid var(--line);border-radius:4px;padding:2px 8px;cursor:pointer;color:var(--text-dim);font:inherit;white-space:nowrap;font-size:12.5px}.editor-body .ai-keys:hover{border-color:var(--text-dim);color:var(--text)}.editor-body .ai-keys svg{height:14px;width:14px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}.editor-body .ai-keys{margin-left:8px}.editor-body .ai-float{background-color:var(--panel);border:1px solid var(--line);border-radius:17px 17px 0 0}.editor-body .ai-float .ai-prompt{background-color:var(--sunken);border:1px solid var(--line);border-radius:10px;color:var(--text);padding:9px 12px}.editor-body .ai-float .ai-prompt:focus{border-color:var(--blue);outline:none}.editor-body .ai-float .generate-btn{background-color:var(--blue);border:none;border-radius:8px;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));padding:7px 18px;font-weight:600}.editor-body .ai-float .generate-btn:hover{filter:brightness(1.1)}.editor-body .ai-float .ai-model-btn{border-radius:9999px}.editor-body .ai-float .ai-prompt.status-ok::-moz-placeholder{color:#4cc38a}.editor-body .ai-float .ai-prompt.status-ok::placeholder{color:#4cc38a}.editor-body .ai-float .ai-prompt.status-error::-moz-placeholder{color:#e06c6c}.editor-body .ai-float .ai-prompt.status-error::placeholder{color:#e06c6c}.editor-body .ai-float .ai-prompt.status-busy::-moz-placeholder{color:#9ec7ff}.editor-body .ai-float .ai-prompt.status-busy::placeholder{color:#9ec7ff}.editor-body .buy-modal{width:min(920px,94vw);height:min(700px,88vh);display:flex;flex-direction:column;padding:0}.editor-body .buy-modal .modal-head{flex:none}.editor-body .credit-purchase-status{flex:none;padding:10px 16px}.editor-body .credit-purchase-status button{margin-left:12px}.editor-body .buy-frame{width:100%;flex:1 1 0%;border:0;border-radius:0 0 8px 8px;background-color:var(--panel)}.editor-body .buy-newtab{margin-left:auto;margin-right:6px;font-size:13px;color:var(--text-dim);text-decoration-line:none}.editor-body .buy-newtab:hover{color:var(--text)}.editor-body .ai-dialog-surface{min-width:0;border-radius:.75rem;max-width:calc(100vw - 24px);max-height:calc(100vh - 40px)}.editor-body .ai-dialog-surface .modal-head{flex-shrink:0;padding:.75rem 1rem}.editor-body .keys-form-modal{padding:1rem}.editor-body .keys-form-modal .key-row{border-radius:.5rem;padding:.75rem;border:1px solid var(--line);background:var(--panel2)}.editor-body .keys-form-modal .key-head{flex-wrap:wrap}.editor-body .keys-form-modal input[type=password]{box-sizing:border-box;padding-top:.5rem;padding-bottom:.5rem}.editor-body .ai-dialog-surface :is(button,a,input):focus-visible{outline:2px solid var(--blue);outline-offset:2px}.editor-body .credit-body,.editor-body .mdl-list{min-height:0}.editor-body .mdl-list{overscroll-behavior:contain}.editor-body .ai-dialog-surface .modal-foot{flex-shrink:0;flex-wrap:wrap}.editor-body .keys-form-modal{gap:.75rem}.editor-body .keys-form-modal>p{margin:0;line-height:1.625}.editor-body .keys-form-modal .key-row{margin:0}.editor-body .keys-form-modal .keys-provider-tips{color:var(--text-dim)}