:root{color-scheme:light;--canvas-grid: #ebebf3;--canvas-edge: #b4accb;--canvas-selection: #b399ef}:root[data-theme=dark]{color-scheme:dark;--theme-page: #17151f;--theme-surface: #2b2736;--theme-surface-soft: #2b2639;--theme-surface-strong: #353044;--theme-control: #514564;--theme-text: #eeeaf5;--theme-text-secondary: #d1c8e0;--theme-text-muted: #ada1bf;--theme-border: #61556f;--theme-border-strong: #9380ad;--theme-selection-shadow: #b49ae955;--theme-accent: #8970d4;--theme-accent-hover: #9b80e9;--theme-accent-text: #c7afff;--theme-danger: #ee97a8;--theme-danger-surface: #442732;--theme-success: #83d3b3;--theme-success-surface: #223b33;--theme-warning: #e8c28a;--theme-warning-surface: #403525;--theme-glow: #272237;--theme-scrim: #080610b3;--theme-shadow: #00000050;--canvas-grid: #3d354d;--canvas-edge: #8a77a6;--canvas-selection: #b49ae9}.react-flow{--xy-controls-button-background-color: var(--theme-surface, #fff);--xy-controls-button-background-color-hover: var(--theme-surface-soft, #f4f0fa);--xy-controls-button-color: var(--theme-text, #30354f);--xy-controls-button-border-color: var(--theme-border, #eaeaf2);--xy-background-color: transparent}.import-progress{margin:12px 0;padding:14px 16px;border:1px solid var(--theme-border, #e6daf4);border-radius:10px;background:var(--theme-surface, #f8f4fd);color:var(--theme-text-secondary, #8f75a5)}.import-progress>div{display:flex;justify-content:space-between;gap:16px;font-size:13px}.import-progress strong{font-weight:500}.import-progress progress{display:block;width:100%;height:8px;margin:10px 0;accent-color:var(--theme-text-muted, #a384d4);border:0;border-radius:8px;overflow:hidden}.import-progress small{font-size:12px;color:var(--theme-text-secondary, #a290b1)}.canvas-context-menu{position:fixed;z-index:50;width:194px;max-height:calc(100dvh - 16px);overflow:auto;padding:6px;border:1px solid var(--theme-border, #e5dced);border-radius:11px;background:var(--theme-surface, #fff);box-shadow:0 8px 28px var(--theme-shadow, #47345a1c)}.canvas-context-menu>button{display:flex;justify-content:flex-start;align-items:center;gap:10px;width:100%;min-height:35px;padding:8px 10px;border-radius:6px;color:var(--theme-text-secondary, #836a96);font-size:12px;text-align:left}.canvas-context-menu>button:hover,.canvas-context-menu>button:focus-visible{background:var(--theme-surface-soft, #f1eafa);color:var(--theme-text-secondary, #9064c1);outline:none}.canvas-context-menu>button.with-divider{margin-top:7px;position:relative}.canvas-context-menu>button.with-divider:before{content:"";position:absolute;top:-4px;left:6px;right:6px;height:1px;background:var(--theme-surface-soft, #eee7f4)}.canvas-context-menu>button:disabled{opacity:.45;cursor:not-allowed;background:transparent}.modal.wide.sprite-modal{max-width:76rem}.sprite-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(17rem,1fr);gap:1.5rem}.sprite-layout>div,.sprite-layout>section{min-width:0}.sprite-checker{background:repeating-conic-gradient(var(--theme-glow, #e8e3ef) 0% 25%,var(--theme-glow, #faf8fd) 0% 50%) 50%/1.5rem 1.5rem}.sprite-sheet{border-radius:.8rem;padding:1rem;display:flex;justify-content:center;align-items:center;min-height:16rem;overflow:auto}.sprite-sheet-surface{position:relative;line-height:0;max-width:100%;width:fit-content}.sprite-sheet-surface>img{display:block;max-width:100%;max-height:48vh;object-fit:contain}.sprite-cell{position:absolute;border:1px solid var(--theme-border-strong, #9672e0);pointer-events:none}.sprite-cell>span{position:absolute;left:0;top:0;background:var(--theme-accent, #62419bdb);color:#fff;line-height:1.2;font-size:.65rem;padding:.1rem .2rem}.sprite-fields{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.sprite-fields>label{min-width:0}.sprite-play-stage{height:17rem;display:flex;align-items:center;justify-content:center;border-radius:.8rem;overflow:hidden;padding:1rem}.sprite-play-stage>img{display:block;max-width:100%;max-height:100%;object-fit:contain;width:100%;height:100%}.sprite-crop-frame{position:relative;overflow:hidden;max-width:100%;max-height:100%}.sprite-crop-frame>img{position:absolute;max-width:none;max-height:none}.sprite-play-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.8rem;font-size:.85rem}.sprite-play-actions>label{display:flex;align-items:center;gap:.5rem;margin:0}.sprite-play-actions input{width:5rem;margin:0}.sprite-scrubber{width:100%;padding:0;margin:.8rem 0;accent-color:var(--theme-text-muted, #8870df)}.sprite-player .check-label{margin:.8rem 0}.sprite-thumbnails{display:grid;grid-template-columns:repeat(auto-fill,minmax(5rem,1fr));gap:.6rem;max-height:27rem;overflow:auto;margin-top:1rem}.sprite-thumbnail{border:1px solid var(--theme-border, #e3daee);border-radius:.6rem;padding:.5rem;text-align:center;font-size:.72rem;color:var(--theme-text-secondary, #7f659f)}.sprite-thumbnail img{width:100%;height:4.5rem;object-fit:contain;image-rendering:pixelated;display:block;margin-bottom:.4rem}.sprite-result-entry{padding:.65rem;background:var(--theme-surface, #faf8fd);flex-shrink:0;line-height:1.4;border-radius:0 0 .8rem .8rem}.sprite-result-entry button{width:100%;white-space:normal;font-size:.78rem;padding:.5rem}.sprite-result-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}@media(max-width:700px){.sprite-layout{grid-template-columns:1fr}.sprite-play-stage{height:14rem}}.history-import-search{width:100%;margin:8px 0 14px}.history-import-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;max-height:48vh;overflow:auto;padding:2px}.history-import-grid>article{min-width:0;border:1px solid var(--theme-border, #e8dff1);border-radius:9px;overflow:hidden}.history-import-grid>article.selected{border-color:var(--theme-border-strong, #ab86d8);background:var(--theme-surface, #f5effb)}.history-import-preview{height:130px;display:flex;align-items:center;justify-content:center;background:var(--theme-surface, #f7f5fa);overflow:hidden}.history-import-preview img{width:100%;height:100%;object-fit:contain}.history-import-preview .deferred-video{width:100%;max-height:130px}.history-import-preview audio{width:100%}.history-import-grid label{display:flex;align-items:center;gap:8px;padding:10px;font-size:12px;cursor:pointer}.history-import-grid label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-controls{display:flex;align-items:stretch;border:1px solid var(--theme-border, #dfd2f3);border-radius:9px;overflow:hidden;background:var(--theme-surface-soft, #eee6fc)}.run-controls .generate-button{flex:1;min-width:0;width:auto;margin:0;border:0;border-radius:0;min-height:40px}.run-controls .auto-run-toggle{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:0;border-left:1px solid var(--theme-border, #dfd2f3);border-radius:0;color:var(--theme-text-secondary, #9483a5);background:var(--theme-surface, #f7f3fc);font-size:12px;white-space:nowrap}.run-controls .auto-run-toggle:hover{background:var(--theme-surface-soft, #eee5fa);color:var(--theme-text-secondary, #7954ad)}.run-controls .auto-run-toggle.enabled{background:var(--theme-surface-soft, #e7daf9);color:var(--theme-text-secondary, #7650ac)}.auto-run-indicator{position:relative;width:24px;height:14px;border-radius:12px;background:var(--theme-control, #c9bfd4);transition:background .15s;flex-shrink:0}.auto-run-indicator:after{content:"";position:absolute;width:10px;height:10px;left:2px;top:2px;border-radius:50%;background:#fff;transition:transform .15s}.enabled>.auto-run-indicator{background:var(--theme-control, #a07ad5)}.enabled>.auto-run-indicator:after{transform:translate(10px)}.run-controls button:focus-visible{outline:2px solid var(--theme-border-strong, #9571cd);outline-offset:-3px}.selection-count{font-size:12px;color:var(--theme-text-secondary, #9784a5);padding:0 8px;white-space:nowrap;border-right:1px solid var(--theme-border, #eee7f5)}.depth-video-editor{display:grid;gap:1rem;min-width:26rem}.depth-video-hero{display:grid;gap:.45rem;padding:1.2rem 1.3rem;border-radius:1rem;background:linear-gradient(135deg,#f0eafe,#f8f6fd);color:#8064bd}.depth-video-hero span{font-size:.72rem;letter-spacing:.06em}.depth-video-hero strong{font-size:1.05rem;color:#4c405c}.depth-video-editor p{margin:0;color:var(--theme-text-secondary,#94809f);line-height:1.7}.depth-video-editor input{width:100%;height:2.8rem;margin:.25rem 0;accent-color:#9a75dd;cursor:grab}.depth-video-editor input::-webkit-slider-runnable-track{height:.65rem;border-radius:999px;background:linear-gradient(90deg,#7652b4,#a77cdf 52%,#d8c9f0);box-shadow:inset 0 1px 3px #0002}.depth-video-editor input::-webkit-slider-thumb{appearance:none;width:1.35rem;height:1.35rem;margin-top:-.35rem;border:3px solid #fff;border-radius:50%;background:#9369d2;box-shadow:0 2px 8px #3b235555}.depth-video-editor input::-moz-range-track{height:.65rem;border-radius:999px;background:linear-gradient(90deg,#7652b4,#a77cdf 52%,#d8c9f0)}.depth-video-editor input::-moz-range-thumb{width:1.1rem;height:1.1rem;border:3px solid #fff;border-radius:50%;background:#9369d2;box-shadow:0 2px 8px #3b235555}.depth-video-labels{display:flex;justify-content:space-between;color:var(--theme-text-secondary,#94809f);font-size:.8rem}.depth-video-labels .active{color:#7652b4;font-weight:600}.depth-video-note{padding:.8rem 1rem;border:1px solid var(--theme-border,#e5dfed);border-radius:.7rem;color:var(--theme-text-secondary,#94809f);font-size:.78rem}.depth-video-editor footer{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1rem}@media(max-width:560px){.depth-video-editor{min-width:0}.depth-video-hero{padding:1rem}}.dark-theme .depth-video-hero{background:linear-gradient(135deg,#30294a,#252231)}.dark-theme .depth-video-hero strong{color:#eeeaf8}.dark-theme .depth-video-note{border-color:#403951}.dark-theme .depth-video-editor input::-webkit-slider-runnable-track{background:linear-gradient(90deg,#62439b,#8d63c7 52%,#514663)}.dark-theme .depth-video-editor input::-webkit-slider-thumb{border-color:#332b45}.dark-theme .depth-video-editor input::-moz-range-track{background:linear-gradient(90deg,#62439b,#8d63c7 52%,#514663)}.dark-theme .depth-video-editor input::-moz-range-thumb{border-color:#332b45}.modal.wide.video-extract-modal{max-width:1120px;padding:28px 32px}.ve-intro{color:var(--theme-text-secondary, #958aa3);margin:-8px 0 24px;font-size:14px}.ve-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px}.ve-preview{position:relative;background:var(--theme-surface, #f4f3f8);border-radius:14px;overflow:hidden;min-width:0}.ve-preview video{display:block;width:100%;height:350px;object-fit:contain}.ve-source{position:absolute;top:14px;left:14px;background:var(--theme-surface, #fff);border-radius:7px;padding:6px 12px;font-size:12px;color:var(--theme-text-secondary, #92829e)}.ve-playbar{display:flex;align-items:center;gap:12px;margin:0 14px;padding:10px 0;border-top:1px solid var(--theme-border, #e3dfeb);font-size:12px;color:var(--theme-text-secondary, #9a8ba6)}.ve-playbar strong{color:var(--theme-text, #55465f)}.ve-playbar button{padding:5px}.ve-playbar button:last-child{margin-left:auto;font-size:12px}.ve-playbar .active{color:var(--theme-text-secondary, #8466c0)}.ve-settings h3{margin:0 0 22px;font-size:17px}.ve-settings>strong{font-size:14px}.ve-settings p{font-size:12px;line-height:1.7;color:var(--theme-text-secondary, #95899f)}.ve-presets{display:flex;gap:10px;margin:20px 0}.ve-presets button{flex:1;padding:10px;border:1px solid var(--theme-border, #e5dfed);border-radius:9px;background:var(--theme-surface, #fff)}.ve-presets .active{background:var(--theme-surface-soft, #eee8fa);border-color:var(--theme-border, #b49bdd);color:var(--theme-text-secondary, #8162ba)}.ve-density{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--theme-text-secondary, #8e7e9b)}.ve-density>span{display:flex;align-items:center;border:1px solid var(--theme-border, #e4ddeb);border-radius:9px;flex:1;white-space:nowrap;padding-right:12px}.ve-density input{border:0;box-shadow:none;background:transparent;width:100%;min-width:0}.ve-estimate{border-top:1px solid var(--theme-border, #e5dfed);margin-top:22px;padding:12px 0 18px;color:var(--theme-text-secondary, #8b7c97);font-size:14px}.ve-estimate strong{font-size:38px;color:var(--theme-text-secondary, #8064bd);padding-right:10px}.ve-settings>b{font-size:13px}.ve-timeline{margin-top:26px}.ve-timeline>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--theme-text-secondary, #9b8da8)}.ve-timeline header strong{font-size:15px;color:var(--theme-text, #51435f)}.ve-selection{margin-left:auto;color:var(--theme-text-secondary, #8563b8)}.ve-timeline header button{font-size:12px;color:var(--theme-text-secondary, #8563b8);padding:4px}.ve-scroll{overflow-x:auto;padding:0 8px}.ve-axis{box-sizing:border-box;padding:46px 0 5px;min-width:100%}.ve-track{height:78px;position:relative;background:var(--theme-surface-soft, #eee9f4);cursor:crosshair}.ve-thumbnails{position:absolute;inset:0;display:flex;pointer-events:none;overflow:hidden}.ve-thumbnails>*{width:8.333333%;height:100%;object-fit:cover;flex-shrink:0}.ve-dim{position:absolute;top:0;bottom:0;background:var(--theme-surface, #f5f3faad);pointer-events:none}.ve-range{position:absolute;top:-3px;bottom:-3px;border:2px solid var(--theme-border-strong, #a486d5);pointer-events:none}.ve-playhead{position:absolute;top:-5px;bottom:-4px;width:2px;background:var(--theme-surface, white);pointer-events:none}.ve-boundary{position:absolute;top:-4px;bottom:-4px;width:0}.ve-handle{position:absolute;left:-6px;top:0;width:12px;height:100%;padding:0!important;border-radius:5px;background:var(--theme-control, #a181d5)!important;touch-action:none;cursor:ew-resize;display:flex;justify-content:center;align-items:center}.ve-handle i{height:24px;width:2px;background:var(--theme-surface, #fff)}.ve-handle:focus-visible{outline:3px solid var(--theme-border-strong, #674793);outline-offset:3px}.ve-frame-label{position:absolute;top:-38px;left:-2px;display:flex;align-items:center;gap:3px;margin:0;line-height:24px;white-space:nowrap;background:var(--theme-surface-soft, #f0e9fb);border-radius:6px;padding:4px 7px;font-size:11px;color:var(--theme-text-secondary, #8360b6);cursor:text}.ve-boundary.last .ve-frame-label{left:auto;right:-2px;top:calc(100% + 8px)}.ve-frame-label input{width:54px;height:24px;line-height:18px;margin:0;padding:3px;border:0;border-radius:3px;background:var(--theme-surface, #ffffffa8);font-size:12px;color:var(--theme-text-secondary, #73529e);min-height:0;text-align:center}.ve-ticks{display:flex;justify-content:space-between;padding-top:48px;color:var(--theme-text-muted, #a598b0);font-size:11px}.ve-footnote{font-size:11px;color:var(--theme-text-secondary, #9c8eaa);line-height:1.6;margin:14px 0}.ve-footer{display:flex;align-items:center;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--theme-border, #e7e0ef)}.ve-footer>span{margin-right:auto;color:var(--theme-text-secondary, #95859f);font-size:12px}.ve-footer button{white-space:nowrap}.ve-loading{display:flex;align-items:center;gap:10px;padding:25px;color:var(--theme-text-secondary, #93829f)}@media(max-width:760px){.modal.wide.video-extract-modal{padding:20px}.ve-main{grid-template-columns:1fr;gap:20px}.ve-preview video{height:260px}.ve-settings{display:flex;flex-direction:column}.ve-settings h3{margin-bottom:12px}.ve-estimate{margin-top:12px}.ve-selection{margin-left:0}.ve-footer{flex-wrap:wrap}.ve-footer>span{width:100%}.ve-playbar{gap:6px}.ve-timeline>header>span:nth-child(2){width:100%}}.media-empty{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:var(--theme-surface, #f4f0fa);border-radius:0 0 12px 12px;color:var(--theme-text-secondary, #94809f);line-height:1.5;font-size:12px}.media-empty>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:0 8px}.media-empty button{padding:8px 10px;border:1px solid var(--theme-border, #e5dcef);border-radius:7px;background:var(--theme-surface, #fff);color:var(--theme-text-secondary, #80629e);font-size:11px}.media-node.resized>.media-empty{flex:1;min-height:0}.asset-thumbnails{display:flex;gap:6px;padding:8px;overflow-x:auto;background:var(--theme-surface, #f6f2fa);border-radius:0 0 12px 12px;flex-shrink:0;line-height:1}.asset-thumbnails button{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;padding:2px;border:1px solid transparent;border-radius:6px;color:var(--theme-text-secondary, #94809f);background:var(--theme-surface, #fff)}.asset-thumbnails button.active{border-color:var(--theme-border-strong, #a17dd8);box-shadow:0 0 0 1px var(--theme-shadow, #a17dd8)}.media-node .asset-thumbnails img{width:38px;height:38px;max-height:38px;object-fit:contain;border-radius:3px}.asset-thumbnails small{position:absolute;bottom:1px;right:1px;padding:2px 3px;background:var(--theme-surface, #ffffffde);border-radius:3px;font-size:9px;color:var(--theme-text-secondary, #73548f)}.disconnect-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.disconnect-list>button{display:flex;justify-content:space-between;gap:20px;text-align:left}.disconnect-list>button>span{color:var(--theme-text-secondary, #a47abd);white-space:nowrap}.recharge-orders{margin:36px 0}.recharge-orders h2{font-size:19px}.recharge-orders article{display:flex;align-items:center;gap:24px;padding:18px 0;border-bottom:1px solid var(--theme-border, #e7e0ee)}.recharge-orders article>div:first-child{flex:1;min-width:0}.recharge-orders small,.payment-cell-note{display:block;color:var(--theme-text-secondary, #97899f);font-size:12px;margin-top:6px;overflow-wrap:anywhere}.recharge-paid{color:var(--theme-success, #498369)}.payment-filters{display:flex;gap:12px;margin:20px 0}.payment-filters input{flex:1;min-width:0}.payment-filters select{width:auto}.pricing-card .pricing-contact{width:100%}@media(max-width:600px){.recharge-orders article{gap:12px;flex-wrap:wrap}.payment-filters{flex-wrap:wrap}}.payment-choice-summary{padding:10px 0 22px}.payment-choice-summary>strong{font-size:18px}.payment-choice-summary>span{float:right;font-size:24px;color:var(--theme-text-secondary, #8061b7)}.payment-choice-summary p{font-size:13px;color:var(--theme-text-secondary, #97899f);margin-top:10px}.payment-choice-methods{display:flex;flex-direction:column;gap:12px}.payment-choice-methods button{display:flex;justify-content:space-between;padding:16px 20px}.pending-payments{padding:14px;background:var(--theme-surface, #f5f0fb);border-radius:10px;font-size:13px;margin:12px 0}.pending-payments p{color:var(--theme-text-secondary, #92839f);line-height:1.6}.pending-payments>div{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px}.payment-result{text-align:center;padding:18px 0;color:var(--theme-text-secondary, #8c72b7)}.payment-result>svg{margin:auto}.payment-result.paid{color:var(--theme-success, #498369)}.payment-result h3{font-size:23px;margin:16px 0}.payment-result p{font-size:14px;color:var(--theme-text-secondary, #8e819e);line-height:1.7}.payment-result small{display:block;font-size:11px;color:var(--theme-text-muted, #a399af);overflow-wrap:anywhere;margin-top:18px}.recharge-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:7px 13px;border-radius:9px;background:var(--theme-surface-soft, #eee6fa);color:var(--theme-text-secondary, #8260bc);font-size:12px;font-weight:500;text-decoration:none;white-space:nowrap}.recharge-link:hover{background:var(--theme-surface-soft, #e4d7f6);color:var(--theme-text-secondary, #704ba9)}.recharge-link:focus-visible{outline:2px solid var(--theme-border-strong, #a285ce);outline-offset:3px}@media(max-width:760px){.recharge-link{padding:6px 9px;font-size:11px}}.failure-filters{display:flex;gap:12px;margin:24px 0}.failure-filters input{flex:1;min-width:0}.failure-card{border:1px solid var(--theme-border, #e9e2f1);border-radius:14px;padding:20px;margin:14px 0;background:var(--theme-surface, #fff)}.failure-card header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.failure-card small{margin-left:10px;color:var(--theme-text-secondary, #9384a5);font-weight:400}.failure-card time,.failure-card p{font-size:13px;color:var(--theme-text-secondary, #887b99)}.failure-card .failure-reason{color:var(--theme-danger, #b65365);overflow-wrap:anywhere}.failure-card summary{cursor:pointer;color:var(--theme-text-secondary, #8265ae);padding:8px 0}.failure-card dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;font-size:13px}.failure-card dd{margin:0;overflow-wrap:anywhere}.failure-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;background:var(--theme-surface, #f8f5fc);padding:14px;border-radius:8px;font-size:12px}.failure-card h4{font-size:13px;margin-bottom:8px}.mh-filters,.mh-dates,.mh-selection-bar,.mh-selection-left,.mh-selection-right{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.mh-filters{justify-content:space-between;margin-top:24px}.mh-filters .search-field{min-width:260px}.mh-dates{margin:14px 0 20px;font-size:12px;color:var(--theme-text-secondary, #9482a7)}.mh-dates input{padding:7px 10px;font-size:12px;max-width:160px}.mh-selection-bar{position:sticky;top:12px;z-index:4;display:grid;grid-template-columns:minmax(260px,1fr) auto;justify-content:space-between;padding:12px 16px;margin-bottom:20px;border:1px solid var(--theme-border, #e5daef);border-radius:10px;background:var(--theme-surface, #faf7ff);box-shadow:0 3px 10px var(--theme-shadow, #45345408);font-size:12px;color:var(--theme-text-secondary, #8c749f)}.mh-selection-left,.mh-selection-right{min-width:0}.mh-selection-left{display:flex;align-items:center;gap:14px}.mh-selection-right{justify-content:flex-end}.mh-selection-bar label.mh-checkbox{margin:0;padding:8px 10px;border:1px solid var(--theme-border, #e5daef);border-radius:8px;background:var(--theme-surface-soft, #f7f3fc);flex:0 0 auto}.mh-selection-bar button,.mh-dates button{font-size:12px;padding:6px 8px;color:var(--theme-text-secondary, #9571bd)}.mh-selection-bar .mh-delete{display:flex;align-items:center;gap:6px;border-radius:7px;background:var(--theme-surface, #fff0f2);color:var(--theme-danger, #c47687);padding:9px 12px}.mh-selection-right strong{color:var(--theme-text-secondary, #825bab)}.mh-checkbox{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;color:var(--theme-text-secondary, #867292);min-width:0}.mh-checkbox input{flex:0 0 17px;width:17px;height:17px;margin:0;accent-color:var(--theme-text-muted, #a17ace)}.mh-checkbox span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:20px}.mh-card{border:1px solid var(--theme-border, #e6e0ee);border-radius:14px;background:var(--theme-surface, #fff);overflow:hidden;min-width:0}.mh-card.is-selected{border-color:var(--theme-border-strong, #a785d4);box-shadow:0 0 0 1px var(--theme-shadow, #a785d4)}.mh-preview{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:var(--theme-surface-soft, #f3f0f7);overflow:hidden}.mh-preview>img{width:100%;height:100%;object-fit:contain}.mh-preview .deferred-video{width:100%;max-height:100%}.mh-preview audio{width:95%}.mh-count{position:absolute;bottom:10px;right:10px;display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:6px;background:var(--theme-surface, #fff);color:var(--theme-text-secondary, #896b9f);font-size:12px;box-shadow:0 2px 6px var(--theme-shadow, #35274418)}.mh-card-body{padding:15px;display:flex;flex-direction:column;gap:8px}.mh-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:500;color:var(--theme-text-secondary, #6f577e)}.mh-card-body small{font-size:11px;color:var(--theme-text-secondary, #a08eae)}.mh-card-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.mh-card-actions button{font-size:12px;padding:7px 10px}.mh-member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;max-height:60vh;overflow:auto}.mh-member-grid article{min-width:0;border:1px solid var(--theme-border, #e7def0);border-radius:8px;overflow:hidden}.mh-member-grid .mh-checkbox{padding:10px}.mh-member-grid .media-download{padding:0 10px 10px}@media(max-width:640px){.mh-selection-bar{position:static;display:flex}.mh-selection-left,.mh-selection-right{width:100%;justify-content:space-between}.mh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mh-card-body{padding:10px}.mh-card-actions{flex-wrap:wrap}}.top-notice{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:1200;display:flex;align-items:center;gap:12px;width:max-content;max-width:min(480px,calc(100vw - 32px));box-sizing:border-box;padding:14px 16px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e6dff0);border-radius:14px;box-shadow:0 8px 28px var(--theme-shadow, #43315e14);color:var(--theme-text, #514760);font-size:13px;line-height:1.65}.top-notice-symbol{flex-shrink:0;color:var(--theme-text-secondary, #9473c7)}.top-notice.success .top-notice-symbol{color:var(--theme-success, #43846a)}.top-notice.error .top-notice-symbol{color:var(--theme-danger, #c05c6c)}.top-notice span{min-width:0;overflow-wrap:anywhere}.top-notice button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--theme-text-secondary, #9a90a6);cursor:pointer}.top-notice button:hover{background:var(--theme-surface-soft, #f3eff8);color:var(--theme-text-secondary, #65527f)}.top-notice button:focus-visible{outline:2px solid var(--theme-border, #b399ef);outline-offset:2px}.quick-tooltip{position:fixed;z-index:10000;pointer-events:none;max-width:min(260px,calc(100vw - 24px));width:max-content;padding:8px 11px;border:1px solid var(--theme-border, #e6dcef);border-radius:8px;background:var(--theme-surface, #fff);color:var(--theme-text-secondary, #766285);box-shadow:0 3px 14px var(--theme-shadow, #38234814);font-size:12px;line-height:1.6;transform:translate(-50%,-100%);white-space:normal}.quick-tooltip.below{transform:translate(-50%)}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #555;--xy-background-pattern-lines-color-default: #333;--xy-background-pattern-cross-color-default: #333;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{font-family:Inter,SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:var(--theme-text, #30354f);background:var(--theme-page, #f8f9fc);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-size:16px;--accent:var(--theme-accent, #8470dc);--accent-strong:var(--theme-accent-text, #725bcc);--lavender:#f0ecfc;--muted:var(--theme-text-muted, #9295a8);--line:var(--theme-text-muted, #eaeaf2);--shadow:0 .571429rem 2.142857rem var(--theme-shadow, #45436807)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{display:inline-flex;align-items:center;justify-content:center;gap:.571429rem;border:0;background:none;border-radius:.714286rem;transition:background .15s,color .15s,box-shadow .15s}button:hover{background:var(--theme-surface-soft, #eeedf6)}button:focus-visible,a:focus-visible{outline:.142857rem solid var(--accent);outline-offset:.214286rem}h1,h2,h3,p{margin:0}svg{flex-shrink:0}input,select,textarea{width:100%;min-width:0;color:var(--theme-text, #33384e);border:.071429rem solid var(--theme-border, #e4e4ef);background:var(--theme-surface, #ffffffa6);border-radius:.642857rem;padding:.714286rem .857143rem;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--theme-border, #b6a7f2);box-shadow:0 0 0 .214286rem var(--theme-shadow, #eee8ff66)}input::placeholder,textarea::placeholder{color:var(--theme-text-muted, #a9aabb)}input[type=checkbox]{width:1.142857rem;height:1.142857rem;accent-color:var(--accent);box-shadow:none}label{display:block;font-weight:500;font-size:.928571rem;margin-bottom:1.285714rem;color:var(--theme-text, #494d68)}label>input,label>select,label>.input-icon,label>.inline-field{margin-top:.571429rem}label small{display:block;font-size:.785714rem;font-weight:400;color:var(--muted);margin-top:.5rem;line-height:1.5}small{font-size:.857143rem;color:var(--muted)}strong{font-weight:600}.primary,.secondary,.danger{min-height:2.785714rem;padding:.642857rem 1.214286rem;white-space:nowrap;font-size:.928571rem;line-height:1.4}.primary{background:var(--accent);color:#fff;box-shadow:0 .214286rem .571429rem var(--theme-shadow, #8873de14)}.primary:hover{background:var(--theme-accent-hover, var(--accent-strong))}.secondary{background:var(--theme-surface, #ffffffad);border:.071429rem solid var(--line);color:var(--theme-text-secondary, #656784)}.secondary:hover{background:var(--lavender)}.danger{background:var(--theme-danger, #e76d78);color:#fff}.danger:hover{background:var(--theme-danger, #d65767)}.danger-text{color:var(--theme-danger, #d46a76)!important}.icon-button{width:2.428571rem;height:2.428571rem;padding:.5rem;flex-shrink:0;color:var(--theme-text-secondary, #757990)}.full-width{width:100%}.positive{color:var(--theme-success, #33a48d)!important}.form-note{font-size:.785714rem;line-height:1.8;color:var(--muted)}.error-banner,.success-banner{padding:.857143rem 1.071429rem;border-radius:.642857rem;font-size:.857143rem;line-height:1.7;margin:.857143rem 0 1.285714rem;overflow-wrap:anywhere}.error-banner{background:var(--theme-surface, #fff0f2);color:var(--theme-danger, #b45667);border:.071429rem solid var(--theme-border, #f7e1e5)}.success-banner{background:var(--theme-success-surface, #edf9f4);color:var(--theme-success, #378d6b)}.soft-info{padding:.857143rem;background:var(--theme-surface, #f4f0fe);color:var(--theme-text-secondary, #8a76c9);border-radius:.642857rem;font-size:.785714rem;line-height:1.8;margin-bottom:1.428571rem}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem;min-height:12.857143rem;padding:2.285714rem 1.428571rem;text-align:center;color:var(--muted);font-size:.928571rem}.empty-state strong{color:var(--theme-text-secondary, #75738f)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1.714286rem;color:var(--muted)}.brand{display:inline-flex;align-items:center;gap:.857143rem;font-size:1.714286rem;letter-spacing:-.057143rem;font-weight:650;color:var(--theme-text, #30334e);white-space:nowrap}.brand.small{font-size:1.285714rem;gap:.642857rem;letter-spacing:-.035714rem}.brand-symbol{color:var(--accent);position:relative;display:inline-flex;align-items:center}.brand-symbol i{position:absolute;width:.285714rem;height:.285714rem;background:var(--theme-control, #b39cee);border-radius:50%;left:0;top:-.214286rem}.brand-link{display:inline-flex}.avatar{height:2.285714rem;width:2.285714rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.857143rem;background:var(--theme-surface-soft, #eae4f8);color:var(--theme-text-secondary, #8b78bd);border:.214286rem solid var(--theme-border, #ffffffc7);flex-shrink:0}.credit-pill{font-size:.857143rem;border:.071429rem solid var(--theme-border, #e8e2fa);background:var(--theme-surface, #ffffffc7);padding:.571429rem .928571rem;gap:.5rem;white-space:nowrap;border-radius:1.571429rem;color:var(--accent-strong);font-variant-numeric:tabular-nums}.credit-pill span{font-weight:400}.site-header{height:6rem;max-width:114.285714rem;margin:auto;padding:0 3.142857rem;display:flex;align-items:center;justify-content:space-between;gap:1.428571rem}.site-header nav{display:flex;align-items:center;gap:1.142857rem}.input-icon{display:flex;align-items:center;position:relative;border:.071429rem solid var(--theme-border, #e4e4ef);border-radius:.642857rem;background:var(--theme-surface, #ffffffa6);padding-left:.857143rem;color:var(--theme-text-muted, #a4a1b7)}.input-icon:focus-within{border-color:var(--theme-border, #b6a7f2);box-shadow:0 0 0 .214286rem var(--theme-shadow, #eee8ff66)}.input-icon input{border:0;box-shadow:none;background:none;padding-left:.714286rem}.input-icon .icon-button{margin-right:.214286rem}.inline-field{display:flex;gap:.714286rem}.inline-field input{flex:1}.search-field{display:flex;align-items:center;gap:.5rem;border:.071429rem solid var(--line);border-radius:.642857rem;padding:0 .714286rem;color:var(--theme-text-muted, #a09aae);background:var(--theme-surface, #ffffffa1)}.search-field input{border:0;background:none;box-shadow:none;font-size:.857143rem;padding:.642857rem .214286rem}.search-field:focus-within{border-color:var(--theme-border, #c0b1ed)}.menu-anchor{position:relative}.dropdown-menu{position:absolute;right:0;top:calc(100% + .357143rem);z-index:30;min-width:10.714286rem;padding:.428571rem;background:var(--theme-surface, #fff);border:.071429rem solid var(--theme-border, #eeeeF5);border-radius:.857143rem;box-shadow:0 .857143rem 2.857143rem var(--theme-shadow, #25213413)}.dropdown-menu button{width:100%;justify-content:flex-start;padding:.714286rem .857143rem;font-size:.857143rem;border-radius:.5rem;white-space:nowrap}.badge{font-size:.785714rem;font-weight:400;color:var(--theme-text-muted, #9782d0);background:var(--theme-surface-soft, #f1ebfd);border-radius:1.428571rem;padding:.357143rem .714286rem;white-space:nowrap}.auth-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:10vh 1.714286rem 2.571429rem;background:radial-gradient(ellipse at 28% 23%,var(--theme-glow, #e4edfa) 0,transparent 40%),radial-gradient(ellipse at 77% 83%,var(--theme-glow, #eee6fa) 0,transparent 37%),var(--theme-glow, #f8f9fc)}.auth-brand{text-align:center;margin-bottom:2.428571rem}.auth-brand .brand{font-size:1.928571rem}.auth-brand>p{margin-top:1.071429rem;color:var(--theme-text-muted, #9c9aad);font-size:.928571rem;letter-spacing:.214286rem}.auth-card{width:29.285714rem;max-width:100%;background:var(--theme-surface, #ffffffcf);border:.071429rem solid var(--theme-border, #fff);border-radius:1.571429rem;padding:1.571429rem 2.285714rem 2.142857rem;box-shadow:0 1.142857rem 3.571429rem var(--theme-shadow, #46446605)}.auth-tabs{display:flex;gap:.571429rem;border-bottom:.071429rem solid var(--line);margin-bottom:2.071429rem}.auth-tabs button{width:50%;padding:.785714rem;border-radius:0;border-bottom:.142857rem solid transparent;color:var(--theme-text-muted, #a4a1b4);font-size:.928571rem}.auth-tabs button:hover{background:transparent;color:var(--accent)}.auth-tabs button.active{border-color:var(--accent);color:var(--accent)}.auth-heading{margin-bottom:1.857143rem}.auth-heading h1{font-size:1.5rem;font-weight:600;letter-spacing:-.035714rem}.auth-heading p{font-size:.857143rem;color:var(--theme-text-muted, #a09dae);margin-top:.642857rem}.auth-submit{width:100%;margin-top:.285714rem}.auth-submit svg:last-child{margin-left:auto}.auth-submit:has(.spin){justify-content:center}.auth-card .form-note{margin-top:.928571rem;text-align:center}.auth-footer{margin-top:2.142857rem;color:var(--theme-text-muted, #b0acbd);font-size:.785714rem;letter-spacing:.035714rem}.library-page{min-height:100dvh;background:radial-gradient(ellipse at 26% 0%,var(--theme-glow, #edf1fc) 0,transparent 46%),radial-gradient(ellipse at 90% 70%,var(--theme-glow, #f2edfb) 0,transparent 40%),var(--theme-glow, #f9f9fc)}.library-main{max-width:87.142857rem;margin:0 auto;padding:2rem 3.142857rem 0}.library-intro{text-align:center;padding:3.214286rem 0 4.857143rem}.eyebrow{color:var(--theme-text-muted, #aea8bf);font-size:.642857rem;letter-spacing:.214286rem;font-weight:500}.library-intro h1{font-size:2.5rem;font-weight:500;letter-spacing:-.107143rem;margin:1.357143rem 0 1rem}.library-intro h1 span{color:var(--theme-text-muted, #a28dd6)}.library-intro p{font-size:.928571rem;color:var(--theme-text-secondary, #9c98ac)}.new-canvas-button{margin-top:2.071429rem;border-radius:1.571429rem;min-width:10.714286rem;gap:.714286rem;font-size:.857143rem;padding:.785714rem 1.285714rem}.new-canvas-button svg:last-child{margin-left:.857143rem;opacity:.8}.library-section{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.642857rem;gap:1.428571rem}.library-section h2{display:flex;align-items:center;gap:.714286rem;font-size:.928571rem;font-weight:500;color:var(--theme-text-secondary, #8b849f)}.library-section h2 span{font-size:.785714rem;color:var(--theme-text-muted, #b5adbf);margin-left:.071429rem}.library-section .search-field{width:15.714286rem;background:transparent;border-color:transparent}.library-section .search-field:focus-within{background:var(--theme-surface, #ffffffa6);border-color:var(--theme-border, #e6e2f0)}.canvas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem 1.857143rem}.create-card{min-height:15.857143rem;display:flex;flex-direction:column;gap:.857143rem;border:.071429rem dashed var(--theme-border, #dcd6ef);border-radius:1.071429rem;background:var(--theme-surface, #ffffff59);align-self:start}.create-card:hover{background:var(--theme-surface, #f2eefd);border-color:var(--theme-border, #bca8e7)}.create-card>span{background:var(--theme-surface-soft, #f0ebfa);color:var(--theme-text-muted, #a18cd1);width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center}.create-card strong{font-size:.857143rem;font-weight:500;color:var(--theme-text-secondary, #817597)}.create-card small{font-size:.785714rem;color:var(--theme-text-muted, #b0a7c2)}.canvas-card{min-width:0}.canvas-preview{height:15.857143rem;background:var(--theme-surface-soft, #f0f0f8);border:.071429rem solid var(--theme-border, #edeaf6);border-radius:1.071429rem;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative;transition:transform .18s,box-shadow .18s}.canvas-preview:hover{transform:translateY(-.214286rem);box-shadow:0 .714286rem 1.714286rem var(--theme-shadow, #76669310)}.canvas-preview>img{width:100%;height:100%;object-fit:cover}.preview-1{background:var(--theme-surface-soft, #ecf2f6)}.preview-2{background:var(--theme-surface-soft, #f5f0f7)}.graph-preview{display:flex;align-items:center;width:85%;transform:rotate(-3deg);opacity:.65}.mini-text{background:var(--theme-surface, #fff);border:.071429rem solid var(--theme-border, #e4deee);border-radius:.5rem;width:28%;height:4.642857rem;display:flex;flex-direction:column;gap:.428571rem;padding:1.142857rem .714286rem}.mini-text i{height:.142857rem;background:var(--theme-surface-soft, #d9d2e7);border-radius:.214286rem}.mini-text i:nth-child(2){width:80%}.mini-text i:nth-child(3){width:60%}.mini-line{height:.071429rem;background:var(--theme-surface-soft, #d1c7e1);width:9%}.mini-generate{width:32%;height:4.785714rem;background:var(--theme-surface, #ffffffd4);border:.071429rem solid var(--theme-border, #e4deee);border-radius:.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.571429rem;color:var(--theme-text-muted, #b5a5cf)}.mini-generate i{display:block;width:68%;height:.714286rem;background:var(--theme-surface-soft, #ebe4f5);border-radius:.214286rem}.mini-image{height:4.357143rem;width:24%;border-radius:.571429rem;background:linear-gradient(135deg,var(--theme-glow, #dce2f0),var(--theme-glow, #e9dcf3));display:grid;place-items:center;color:var(--theme-text-muted, #b1a4cb)}.open-canvas{position:absolute;bottom:.714286rem;right:.714286rem;display:grid;place-items:center;width:2.071429rem;height:2.071429rem;border-radius:50%;background:var(--theme-surface, #ffffffdf);color:var(--theme-text-secondary, #8e78b6);opacity:0;transition:opacity .15s}.canvas-preview:hover .open-canvas{opacity:1}.canvas-card-info{padding:.928571rem .142857rem;display:flex;align-items:center;justify-content:space-between;gap:.571429rem}.canvas-card-info>a{min-width:0}.canvas-card-info strong{display:block;font-size:.857143rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-card-info small{display:block;font-size:.714286rem;margin-top:.5rem;color:var(--theme-text-muted, #b1a9bc)}.canvas-card-info .icon-button{color:var(--theme-text-muted, #b0a3bd)}.library-footer{text-align:center;padding:4.642857rem 0 1.785714rem;color:var(--theme-text-muted, #c2bacd);font-size:.714286rem;letter-spacing:.071429rem}.modal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:var(--theme-scrim, #24243525);-webkit-backdrop-filter:blur(.357143rem);backdrop-filter:blur(.357143rem);padding:1.714286rem}.modal{max-width:32.857143rem;width:100%;max-height:90dvh;display:flex;flex-direction:column;overflow:hidden;border:.071429rem solid var(--theme-border, #ffffffed);background:var(--theme-surface, #fcfcfef7);border-radius:1.428571rem;padding:1.785714rem 2rem;box-shadow:0 1.785714rem 6.428571rem var(--theme-shadow, #35304c15);outline:none}.modal.wide{max-width:54.285714rem}.modal>header{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;margin-bottom:1.714286rem}.modal h2{font-size:1.285714rem;font-weight:550}.dialog-copy{font-size:.928571rem;color:var(--theme-text-secondary, #858098);line-height:1.9;margin-bottom:1.785714rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.714286rem;margin-top:1.714286rem}.dialog-actions button{min-width:5.428571rem}.balance-hero{display:flex;align-items:center;gap:1.142857rem;padding:1.714286rem;background:var(--theme-surface-soft, #f1edfaaa);border-radius:1rem;margin-bottom:2rem}.balance-icon{color:var(--theme-text-muted, #a18acb);display:grid;place-items:center;width:3.357143rem;height:3.357143rem;background:var(--theme-surface, #fff9);border-radius:50%}.balance-hero>div>span{font-size:.785714rem;color:var(--theme-text-secondary, #9381ac)}.balance-hero strong{display:block;font-size:2.142857rem;font-weight:500;letter-spacing:-.071429rem;margin-top:.285714rem}.balance-hero p{margin-left:auto;font-size:.785714rem;line-height:1.9;color:var(--theme-text-muted, #aaa0b8);text-align:right}.balance-hero small{font-size:.714286rem;color:var(--theme-text-muted, #b3a9c3)}.section-caption{font-size:.857143rem;font-weight:500;display:flex;justify-content:space-between;margin-bottom:.857143rem}.section-caption span{font-size:.714286rem;font-weight:400;color:var(--theme-text-muted, #b2a7be)}.ledger-list{min-height:11.428571rem}.ledger-row{display:flex;align-items:center;gap:.857143rem;border-bottom:.071429rem solid var(--theme-border, #efedf5);padding:1.142857rem .142857rem}.ledger-icon{display:grid;place-items:center;width:2.357143rem;height:2.357143rem;flex-shrink:0;border-radius:.714286rem;background:var(--theme-surface-soft, #f2eff8);color:var(--theme-text-muted, #afa1c5)}.ledger-row>div:not(.ledger-amount){min-width:0}.ledger-row strong{font-size:.785714rem;font-weight:500;display:block;overflow-wrap:anywhere}.ledger-row small{display:block;font-size:.714286rem;margin-top:.5rem;color:var(--theme-text-muted, #b4a9c1)}.ledger-amount{margin-left:auto;text-align:right;flex-shrink:0}.ledger-amount strong{font-size:1rem}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:.857143rem;font-size:.785714rem;color:var(--theme-text-muted, #b2a7bf);padding-top:1.428571rem}.pagination>span:first-child{margin-right:auto}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.071429rem}.check-label{display:flex;align-items:center;gap:.571429rem;font-size:.785714rem;color:var(--theme-text-secondary, #a192b4)}.check-label input{margin:0}.optional{font-size:.714286rem;color:var(--theme-text-muted, #b2a6c2);margin-left:.357143rem}.editor{height:100dvh;width:100vw;background:var(--theme-page, #fafafd);position:relative;overflow:hidden}.react-flow{--xy-edge-stroke:var(--theme-border, #b4accb);--xy-edge-stroke-selected:var(--theme-border-strong, #9c81e1);--xy-connectionline-stroke:var(--theme-border, #b4a0df);--xy-handle-background:var(--theme-control, #b8acd1);--xy-handle-border-color:var(--theme-border, #fff);--xy-selection-background-color:var(--theme-control, #a291d512);--xy-selection-border:.071429rem solid var(--theme-border, #bba7e2);--xy-attribution-background-color:transparent}.react-flow__node{border-radius:1.071429rem}.react-flow__node:focus-visible{outline:.071429rem solid var(--theme-border, #bfa4f3)}.react-flow__handle{width:.642857rem;height:.642857rem;min-width:.642857rem;min-height:.642857rem;border:.142857rem solid var(--theme-border, #fff);background:var(--theme-control, #b5aacd)}.react-flow__handle:hover{background:var(--accent);transform:translateY(-50%) scale(1.25)}.react-flow__edge-path{transition:stroke .15s}.react-flow__attribution{font-size:.571429rem;opacity:.35;right:.5rem!important;bottom:.285714rem!important}.node-surface{border:.071429rem solid var(--theme-border, #e8e6f1);background:var(--theme-surface, #fffffff2);border-radius:1.071429rem;box-shadow:0 .142857rem .714286rem var(--theme-shadow, #30204003);position:relative}.node-surface.selected{border-color:var(--canvas-selection, #b399ef);box-shadow:0 0 0 .071429rem var(--theme-selection-shadow, #c5affb38)}.prompt-node{width:21.571429rem;min-height:12.857143rem;padding:1.714286rem;color:var(--theme-text, #4f4c61);line-height:1.9;font-size:.928571rem}.prompt-content{height:100%;min-height:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.prompt-content.placeholder{color:var(--theme-text-muted, #b7adca);font-size:.928571rem}.prompt-node textarea{display:block;resize:none;height:100%;min-height:0;padding:0;border:0;box-shadow:none;background:none;line-height:1.9;font-size:.928571rem}.node-toolbar{display:flex;align-items:center;gap:.214286rem;padding:.428571rem;background:var(--theme-surface, #fffffff5);border:.071429rem solid var(--theme-border, #ebe7f3);border-radius:.857143rem;box-shadow:0 .285714rem 1.142857rem var(--theme-shadow, #57416806);white-space:nowrap}.node-toolbar button,.node-toolbar a{padding:.571429rem .642857rem;color:var(--theme-text-secondary, #746a88);font-size:.785714rem;border-radius:.5rem;display:inline-flex;align-items:center;gap:.428571rem}.node-toolbar a:hover{background:var(--theme-surface-soft, #f2eef8)}.generator-node{width:24.642857rem;padding:1.142857rem}.generator-header{display:flex;align-items:center;justify-content:space-between;gap:.714286rem;margin-bottom:.857143rem}.generator-header strong{font-size:.857143rem;font-weight:550;color:var(--theme-text, #5c516e);white-space:nowrap}.node-mode-tabs{display:flex;gap:0;padding:.142857rem;background:var(--theme-surface, #f7f5fa);border-radius:.5rem}.node-mode-tabs button{font-size:.714286rem;padding:.285714rem .428571rem;gap:.214286rem;border-radius:.357143rem;color:var(--theme-text-secondary, #9d91ad)}.node-mode-tabs button.active{background:var(--theme-surface-soft, #ebe4fb);color:var(--theme-text-muted, #9874d8)}.reference-chips{display:flex;align-items:center;gap:.357143rem;margin-bottom:.785714rem}.reference-chips span,.reference-chips button{font-size:.642857rem;background:var(--theme-surface, #f7f4fb);color:var(--theme-text-muted, #a395b9);padding:.357143rem .5rem;line-height:1.1;border-radius:1.071429rem;white-space:nowrap}.reference-chips button{gap:.285714rem}.generator-options{display:flex;gap:.5rem}.generator-options select{font-size:.714286rem;border-color:var(--theme-border, #e9e4f1);border-radius:.5rem;padding:.571429rem .357143rem;background:var(--theme-surface, #fcfbfe);color:var(--theme-text-secondary, #847392);flex:1;width:4.285714rem}.generator-options select:first-child{flex:2.3}.node-cost{font-size:.714286rem;color:var(--theme-text-muted, #b1a1c5);padding:.714286rem 0 .571429rem}.generate-button{width:100%;height:2.357143rem;background:var(--theme-surface-soft, #ede7fc);color:var(--theme-text-muted, #9b7bda);border-radius:.571429rem;font-size:.785714rem;gap:.428571rem}.generate-button:hover{background:var(--theme-surface-soft, #e4d9fa)}.generate-button:disabled{opacity:.65}.node-error{font-size:.714286rem;color:var(--theme-danger, #c3828c);line-height:1.7;margin-top:.714286rem;max-width:100%;overflow-wrap:anywhere}.media-node{width:16.428571rem;border-radius:.928571rem;position:relative;border:.071429rem solid var(--theme-border, #e8e6f1);background:var(--theme-surface, #fffffff2);line-height:0}.media-node.selected{border-color:var(--canvas-selection, #ad8ae8);box-shadow:0 0 0 .071429rem var(--theme-selection-shadow, #bea3ef66)}.media-node img,.media-node video{width:100%;height:auto;max-height:32.857143rem;object-fit:contain;border-radius:.857143rem;display:block}.media-node video{min-height:0;background:var(--theme-surface-soft, #f2eef8)}.media-error{line-height:1.8;min-height:14.285714rem;background:var(--theme-surface, #f4f0fa);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1.071429rem;font-size:.785714rem;color:var(--theme-text-muted, #b19ac8);border-radius:.857143rem}.media-error button{padding:.5rem 1rem;background:var(--theme-surface-soft, #e9e0f6);color:var(--theme-text-secondary, #9d82b9)}.editor-header{position:absolute;z-index:5;left:1.357143rem;right:1.642857rem;top:1.142857rem;display:flex;align-items:center;justify-content:space-between;gap:1.428571rem;pointer-events:none}.editor-header>div{pointer-events:auto;display:flex;align-items:center;gap:.714286rem}.editor-brand{display:flex;align-items:center;gap:.5rem;padding:.285714rem 0;background:transparent;font-size:.857143rem;font-weight:600;white-space:nowrap;color:var(--theme-text, #49415e)}.editor-brand svg{color:var(--accent-strong);flex-shrink:0}.editor-brand:hover{background:transparent;color:var(--accent-strong)}.header-divider{color:var(--theme-text-muted, #c6bcd6);margin:0 .142857rem}.canvas-title-input{font-size:.857143rem;background:transparent;border-color:transparent;width:11.428571rem;padding:.428571rem;max-width:25vw;color:var(--theme-text-secondary, #8f809f)}.canvas-title-input:hover{border-color:var(--theme-border, #e6dfee);background:var(--theme-surface, #fff9)}.save-status{color:var(--theme-text-muted, #b4a7c2);display:flex;gap:.285714rem;font-size:.642857rem;white-space:nowrap;padding:.357143rem}.save-status.error{color:var(--theme-danger, #c38194)}.save-status .spin{width:.857143rem;height:.857143rem}.editor-right .credit-pill{font-size:.785714rem;border-color:var(--theme-border, #ede6f8);padding:.5rem .785714rem;background:var(--theme-surface, #ffffffb0)}.editor-right .avatar{height:2.071429rem;width:2.071429rem;font-size:.785714rem}.editor-menu{left:0;right:auto;min-width:13.214286rem}.bottom-toolbar,.zoom-toolbar{position:absolute;bottom:2rem;background:var(--theme-surface, #fffffff2);border:.071429rem solid var(--theme-border, #e9e3f1);box-shadow:0 .285714rem 1.142857rem var(--theme-shadow, #5f476006);border-radius:1.071429rem;display:flex;align-items:center;gap:.357143rem;padding:.5rem;z-index:5}.bottom-toolbar{left:50%;transform:translate(-50%)}.bottom-toolbar button{width:2.428571rem;height:2.357143rem;border-radius:.571429rem;color:var(--theme-text-secondary, #887696)}.bottom-toolbar button:hover,.bottom-toolbar button.active{color:var(--theme-text-secondary, #9674ca);background:var(--theme-surface-soft, #f0e8fc)}.bottom-toolbar i,.zoom-toolbar i{height:1.214286rem;width:.071429rem;background:var(--theme-surface-soft, #eee7f5);margin:0 .285714rem}.zoom-toolbar{left:1.785714rem;padding:.428571rem;gap:.285714rem;border-radius:.928571rem}.zoom-toolbar button{height:2rem;width:2rem;color:var(--theme-text-secondary, #94839f)}.zoom-toolbar span{min-width:2.785714rem;text-align:center;font-size:.714286rem;color:var(--theme-text-secondary, #a193b2)}.help-button{position:absolute;right:1.928571rem;bottom:2.714286rem;color:var(--theme-text-muted, #b0a4ba)}.canvas-onboarding{position:absolute;left:50%;bottom:8.214286rem;transform:translate(-50%);text-align:center;font-size:.785714rem;color:var(--theme-text-muted, #b7adbf);pointer-events:none;line-height:2;white-space:nowrap}.canvas-onboarding small{display:block;font-size:.714286rem;color:var(--theme-text-muted, #c5bccc)}.editor-notice{position:absolute;left:50%;top:5.428571rem;transform:translate(-50%);z-index:10;background:var(--theme-surface, #fff9fb);border:.071429rem solid var(--theme-border, #eddbe5);color:var(--theme-text-secondary, #b0899b);box-shadow:0 .285714rem 1.428571rem var(--theme-shadow, #50403005);padding:.5rem .571429rem .5rem 1.071429rem;border-radius:.857143rem;display:flex;align-items:center;gap:.571429rem;max-width:80vw;font-size:.785714rem}.editor-hint{position:absolute;top:5.428571rem;left:50%;transform:translate(-50%);font-size:.785714rem;color:var(--theme-text-muted, #b5a5c6);background:var(--theme-surface, #ffffffad);border-radius:1.428571rem;white-space:nowrap;padding:.428571rem .857143rem}.editor-hint button{font-size:.785714rem;color:var(--theme-text-muted, #a896bd);padding:.214286rem;gap:.428571rem}.help-content p{display:flex;flex-direction:column;gap:.571429rem;margin-bottom:1.642857rem}.help-content strong{font-size:.928571rem;font-weight:500;color:var(--theme-text-secondary, #7e6a95)}.help-content span{font-size:.857143rem;color:var(--theme-text-muted, #ab9bb9);line-height:1.9}.preview-prompt{white-space:pre-wrap;font-size:.928571rem;line-height:1.9;max-height:22.857143rem;overflow:auto;color:var(--theme-text-secondary, #857092);background:var(--theme-surface-soft, #f4eef9);padding:1.142857rem;border-radius:.714286rem}.reference-preview{display:flex;gap:.714286rem;margin:1.285714rem 0;flex-wrap:wrap}.reference-preview img{width:5.714286rem;height:5.714286rem;object-fit:cover;border-radius:.642857rem}.admin-page{min-height:100dvh;background:radial-gradient(ellipse at 15% 10%,var(--theme-glow, #eef0fb) 0,transparent 40%),radial-gradient(ellipse at 90% 95%,var(--theme-glow, #f1ecfb) 0,transparent 40%),var(--theme-glow, #f9f9fc)}.admin-brand{display:flex;align-items:center;gap:1.142857rem}.back-link{display:flex;align-items:center}.admin-layout{display:flex;max-width:110rem;margin:1.428571rem auto 0;padding:0 2.142857rem;gap:2.428571rem}.admin-nav{width:12.142857rem;flex-shrink:0;display:flex;flex-direction:column;gap:.571429rem;padding-top:.357143rem}.admin-nav button{justify-content:flex-start;padding:.928571rem 1.142857rem;color:var(--theme-text-secondary, #9790aa);font-size:.857143rem;gap:.857143rem;white-space:nowrap}.admin-nav button.active{background:var(--theme-surface-soft, #eee8fc);color:var(--theme-text-muted, #a081d4)}.admin-nav>span{font-size:.642857rem;color:var(--theme-text-muted, #c4b9d1);margin:2.857143rem 1.142857rem}.admin-main{flex:1;min-width:0;padding:0 .714286rem 4.285714rem}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:1.071429rem;margin-bottom:2.142857rem}.page-heading h1{font-weight:550;font-size:1.785714rem;letter-spacing:-.057143rem}.page-heading p{font-size:.857143rem;color:var(--theme-text-muted, #aaa0b8);margin-top:.857143rem}.page-heading>.primary{font-size:.857143rem}.model-layout{display:grid;grid-template-columns:1fr;gap:1.714286rem;align-items:start}.model-layout.editing{grid-template-columns:minmax(25rem,1fr) 25rem}.model-list{min-width:0}.filter-tabs{display:flex;gap:.5rem;margin-bottom:1.428571rem}.filter-tabs button{font-size:.785714rem;padding:.571429rem 1.142857rem;border-radius:.571429rem;color:var(--theme-text-secondary, #9b8daa)}.filter-tabs button.active{background:var(--theme-surface-soft, #ece5fb);color:var(--theme-text-secondary, #9a78c8)}.table-wrap{border:.071429rem solid var(--theme-border, #eee8f5);border-radius:.928571rem;overflow-x:auto;background:var(--theme-surface, #ffffffb8)}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:.857143rem}th{background:var(--theme-surface, #f8f5fc);font-size:.714286rem;color:var(--theme-text-muted, #a392b5);font-weight:500;padding:1.142857rem 1.214286rem}td{padding:1.428571rem 1.214286rem;border-bottom:.071429rem solid var(--theme-border, #f1ebf7);font-size:.785714rem;color:var(--theme-text-secondary, #91809f)}tr:last-child td{border-bottom:0}td small{font-size:.714286rem;color:var(--theme-text-muted, #b0a1bc)}.model-name{display:flex;align-items:center;gap:.785714rem}.model-name>div{min-width:0}.model-name strong{font-size:.785714rem;font-weight:550;color:var(--theme-text-secondary, #79648b);display:block;max-width:15.714286rem;text-overflow:ellipsis;overflow:hidden}.model-name small{display:block;margin-top:.428571rem;font-size:.642857rem;max-width:15rem;overflow:hidden;text-overflow:ellipsis}.model-icon{width:2.285714rem;height:2.285714rem;border-radius:.642857rem;background:var(--theme-surface-soft, #eee4fc);color:var(--theme-text-muted, #a581cc);display:grid;place-items:center;flex-shrink:0}.model-icon.text{background:var(--theme-surface-soft, #e8eefb);color:var(--theme-text-muted, #8fa0ca)}.model-icon.video{background:var(--theme-surface-soft, #f8e8f1);color:var(--theme-danger, #c697b0)}.selected-row{background:var(--theme-surface, #f5f0fc)}.status-pill{font-size:.642857rem;display:inline-flex;align-items:center;gap:.357143rem;padding:.357143rem .571429rem;border-radius:1.071429rem;background:var(--theme-surface-soft, #f2edf7);color:var(--theme-text-muted, #b3a2c0)}.status-pill i{width:.357143rem;height:.357143rem;border-radius:50%;background:currentColor}.status-pill.enabled{background:var(--theme-success-surface, #eef8f3);color:var(--theme-success, #84bda4)}.row-actions{display:flex;gap:0}.row-actions .icon-button{width:2rem;height:2.071429rem;color:var(--theme-text-muted, #b4a3c4)}.provider-note{margin:1.428571rem .357143rem;color:var(--theme-text-muted, #b8a8c8);max-width:38.571429rem}.model-editor{border:.071429rem solid var(--theme-border, #ffffffd9);background:var(--theme-surface, #ffffffc9);border-radius:1.285714rem;padding:1.571429rem 1.714286rem;box-shadow:var(--shadow)}.model-editor>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.571429rem}.model-editor h2{font-size:1.142857rem;font-weight:500}.model-editor label{font-size:.785714rem;margin-bottom:1.142857rem}.model-editor input,.model-editor select{font-size:.785714rem;padding:.642857rem .714286rem;border-color:var(--theme-border, #eae3f1)}.model-editor .input-icon input{border:0}.model-editor .form-columns{gap:.857143rem}.switch-label{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:2.071429rem}.switch-label>input{position:absolute;right:0;opacity:0;cursor:pointer;z-index:2;width:2.714286rem;height:1.714286rem}.switch{display:block;position:relative;width:2.642857rem;height:1.5rem;border-radius:1.071429rem;background:var(--theme-surface-soft, #e4dcec);transition:background .2s}.switch:after{content:"";position:absolute;top:.214286rem;left:.214286rem;height:1.071429rem;width:1.071429rem;border-radius:50%;background:var(--theme-surface, white);transition:transform .2s}.switch-label input:checked+.switch{background:var(--theme-control, #b494de)}.switch-label input:checked+.switch:after{transform:translate(1.142857rem)}.switch-label input:focus-visible+.switch{outline:.142857rem solid var(--theme-border-strong, #aa89d9);outline-offset:.214286rem}.users-section .admin-search{display:flex;align-items:center;gap:.857143rem;margin-bottom:1.714286rem}.admin-search .search-field{width:20rem}.admin-search>small{margin-left:auto;font-size:.714286rem;color:var(--theme-text-muted, #b9abc6)}.users-section table .secondary{min-height:2.142857rem;font-size:.714286rem;padding:.428571rem .714286rem}@media(min-width:1700px){.editor-header{top:1.571429rem;left:1.785714rem;right:2.142857rem}.canvas-title-input{width:13.571429rem}.library-main{padding-top:4.285714rem}.library-intro{padding-bottom:6.071429rem}}@media(max-width:1100px){.model-layout.editing{grid-template-columns:1fr}.model-editor{max-width:42.857143rem;width:100%}.admin-layout{gap:1.285714rem;padding:0 1.428571rem}.admin-nav{width:10.714286rem}.canvas-grid{gap:1.428571rem}.canvas-preview,.create-card{height:13.214286rem;min-height:13.214286rem}.library-main{padding:1.142857rem 2.142857rem 0}.site-header{padding:0 2.142857rem}.save-status span{display:none}.editor-brand>span{display:none}.header-divider{display:none}}@media(max-width:760px){.site-header{height:5rem;padding:0 1.428571rem}.site-header nav{gap:.571429rem}.brand.small{font-size:1.142857rem}.site-header .brand-symbol svg{width:1.428571rem}.site-header .credit-pill span{display:none}.library-main{padding:.714286rem 1.571429rem 0}.library-intro{padding:2.5rem 0 3.571429rem}.library-intro h1{font-size:1.857143rem;letter-spacing:-.071429rem}.library-intro p{font-size:.785714rem}.canvas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.428571rem 1rem}.canvas-preview,.create-card{min-height:11.071429rem;height:11.071429rem}.library-section .search-field{width:10.714286rem}.library-footer{padding-top:2.857143rem}.admin-layout{display:block;padding:0 1.285714rem;margin-top:.357143rem}.admin-nav{width:100%;flex-direction:row;margin-bottom:1.857143rem}.admin-nav>span{display:none}.admin-main{padding:0 0 2.857143rem}.admin-brand{gap:.571429rem}.admin-brand .badge{font-size:.642857rem;padding:.285714rem .5rem}.back-link{font-size:.714286rem;padding:.5rem .642857rem;min-height:2.285714rem}.page-heading h1{font-size:1.571429rem}.page-heading p{font-size:.785714rem}.admin-search>small{display:none}.users-section .admin-search .search-field{flex:1}.modal{padding:1.428571rem;border-radius:1.214286rem}.modal-overlay{padding:1rem}.balance-hero{padding:1.285714rem;gap:.857143rem}.balance-hero p{display:none}.ledger-row strong{font-size:.714286rem}.ledger-row small{font-size:.642857rem}.editor-header{left:.714286rem;right:.857143rem;top:.857143rem;gap:.357143rem}.editor-header>div{gap:.285714rem}.canvas-title-input{max-width:30vw;width:9.285714rem;font-size:.785714rem}.editor-right .credit-pill{padding:.428571rem .642857rem;gap:.285714rem;font-size:.714286rem}.editor-right .credit-pill span{display:none}.save-status{padding:.214286rem}.editor-right .avatar{width:1.785714rem;height:1.785714rem}.bottom-toolbar{bottom:1.428571rem;gap:0;padding:.357143rem}.bottom-toolbar button{width:2.142857rem;height:2.214286rem}.bottom-toolbar i{margin:0 .214286rem}.zoom-toolbar{left:.714286rem;bottom:5.571429rem;padding:.285714rem;gap:0}.help-button{right:1.142857rem;bottom:6.285714rem}.canvas-onboarding{bottom:10rem;font-size:.714286rem}.editor-hint{top:4.642857rem;font-size:.642857rem;max-width:95vw;white-space:normal}.editor-hint button{font-size:.642857rem}.editor-notice{top:4.285714rem;max-width:94vw;font-size:.714286rem;width:max-content}.model-name strong{max-width:11.428571rem}.auth-page{padding-top:7vh}}@media(max-width:450px){.canvas-grid{grid-template-columns:1fr}.canvas-preview{height:15rem}.create-card{min-height:8.571429rem;height:8.571429rem;gap:.5rem}.create-card>span{width:2.285714rem;height:2.285714rem}.library-intro h1{font-size:1.642857rem}.library-section h2{font-size:.857143rem}.auth-card{padding:1.285714rem 1.642857rem 1.857143rem}.auth-brand .brand{font-size:1.642857rem}.site-header .icon-button{width:2.071429rem}.admin-brand .brand.small{font-size:1rem}.model-editor{padding:1.428571rem}.bottom-toolbar{gap:0}.bottom-toolbar button{width:1.928571rem}.bottom-toolbar button svg{width:1.214286rem}.editor-header .save-status{display:none}}.interface-list{display:flex;flex-direction:column;gap:1.571429rem}.interface-card{background:var(--theme-surface, #ffffffbd);border:.071429rem solid var(--line);border-radius:1.142857rem;overflow:hidden}.interface-card>header{padding:1.428571rem;display:flex;align-items:center;justify-content:space-between;gap:1.142857rem}.interface-card h2{font-size:1.071429rem;display:flex;align-items:center;gap:.714286rem;flex-wrap:wrap}.interface-card header p{font-size:.785714rem;color:var(--muted);margin-top:.642857rem;overflow-wrap:anywhere}.interface-card header>div:first-child{min-width:0}.interface-card .table-wrap{border:0;border-radius:0}.interface-form fieldset{border:0;margin:0;padding:0;min-width:0}.model-drafts-heading{display:flex;align-items:center;justify-content:space-between;gap:1.071429rem;margin:1.785714rem 0 1.071429rem}.model-drafts-heading h3{font-size:1rem;font-weight:500}.model-drafts-heading small{margin-left:.428571rem}.model-drafts{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.285714rem}.model-draft{padding:.857143rem 1.142857rem 0;background:var(--theme-surface, #f6f4fb);border:.071429rem solid var(--theme-border, #eae5f3);border-radius:.857143rem}.model-draft>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.571429rem}.model-draft>header strong{font-size:.785714rem;color:var(--theme-text-secondary, #9b89b4)}.model-price-row{display:grid;grid-template-columns:1fr 1fr auto;gap:1.071429rem;align-items:center}.model-price-row .check-label{margin-top:1.071429rem}.interface-card .row-actions{flex-shrink:0;gap:.5rem}@media(max-width:600px){.interface-card>header{align-items:flex-start;flex-direction:column}.model-price-row{grid-template-columns:1fr 1fr}.model-price-row .check-label{margin-top:0}.interface-form .form-columns{grid-template-columns:1fr;gap:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}.video-price-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 2.428571rem;gap:1.071429rem;align-items:end;margin-bottom:1.285714rem}.video-price-row>label{min-width:0;margin-bottom:0}.video-price-row>.icon-button{height:2.857143rem}@media(max-width:600px){.video-price-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.857143rem}.video-price-row>.icon-button{justify-self:end}}.generator-options+.generator-options{margin-top:.857143rem}.video-audio-option{display:flex;align-items:center;gap:.5rem;margin:.857143rem 0 0;font-size:.785714rem;font-weight:400;color:var(--theme-text-secondary, #94809f)}.video-audio-option>input{margin:0;width:1rem;height:1rem}.media-drag-bar{display:flex;align-items:center;gap:.428571rem;height:2rem;padding:0 .714286rem;border-radius:.857143rem .857143rem 0 0;background:var(--theme-surface-soft, #f2eef8);color:var(--theme-text-secondary, #94809f);font-size:.714286rem;line-height:1;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.media-drag-bar:active{cursor:grabbing}.media-drag-bar span{flex:1}.media-node .media-drag-bar+video,.media-node .media-drag-bar+img{border-top-left-radius:0;border-top-right-radius:0}.media-node.resized{display:flex;flex-direction:column}.media-node.resized>img,.media-node.resized>video{flex:1;min-height:0;height:0;max-height:none;object-fit:contain}.media-node.resized>.media-drag-bar{flex-shrink:0}.media-node.resized>.media-error{flex:1;min-height:0}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.142857rem;margin-top:1.285714rem}.gallery-card{border:.071429rem solid var(--line);border-radius:.857143rem;padding:1rem;display:flex;flex-direction:column;gap:.571429rem}.gallery-card>img{width:100%;height:11.428571rem;object-fit:contain;background:var(--theme-surface, #f6f4fb);border-radius:.571429rem}.gallery-card>.empty-state{min-height:11.428571rem}.gallery-card .dialog-actions{margin-top:auto;padding-top:.857143rem}.extension-choice{display:flex;width:100%;align-items:flex-start;flex-direction:column;white-space:normal;text-align:left;margin-bottom:.857143rem}.module-field{margin-top:.857143rem;font-size:.785714rem}.users-section td:last-child .secondary{margin:.214286rem}@media(max-width:600px){.gallery-grid{grid-template-columns:1fr}}.library-tabs{display:flex;gap:1.714286rem;align-items:center}.library-tabs button{display:flex;align-items:center;gap:.714286rem;padding:0;background:transparent;border:0;color:var(--theme-text-muted, #b5adbf);font-size:.928571rem;font-weight:500}.library-tabs button:hover{background:transparent;color:var(--theme-text-secondary, #9682ad)}.library-tabs button.active{background:transparent;color:var(--theme-text-secondary, #9676be)}.library-tabs button.active span{color:var(--theme-text-muted, #ac94c6)}.library-tabs span{font-size:.785714rem;color:var(--theme-text-muted, #b5adbf);margin-left:.071429rem}.gallery-home{position:relative}.gallery-intro{display:flex;align-items:center;justify-content:space-between;gap:1.285714rem;margin-bottom:1.285714rem}.gallery-intro p,.gallery-footnote{font-size:.857143rem;color:var(--theme-text-secondary, #a194b2);line-height:1.8}.gallery-search{margin:0 0 1.571429rem auto;width:20rem}.gallery-home .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.714286rem}.gallery-card{background:var(--theme-surface, #ffffffb8);overflow:hidden}.gallery-card-content>strong{font-size:.928571rem;overflow-wrap:anywhere}.gallery-card-content>small{font-size:.785714rem;color:var(--theme-text-secondary, #a194b2)}.gallery-card .dialog-actions{gap:.571429rem;flex-wrap:wrap}.gallery-card button{font-size:.785714rem;padding:.571429rem .857143rem}.gallery-drawer{position:absolute;z-index:6;right:0;top:4.642857rem;bottom:0;width:min(31.428571rem,100vw);padding:1.571429rem;overflow:auto;background:var(--theme-surface, #fdfcff);border-left:.071429rem solid var(--theme-border, #eae4f2);box-shadow:-.571429rem 0 2.285714rem var(--theme-shadow, #66538008)}.gallery-drawer-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.gallery-drawer-header h2{font-size:1.285714rem;font-weight:550;letter-spacing:0}.gallery-drawer .gallery-intro{flex-direction:column;align-items:stretch;gap:.857143rem}.gallery-share{justify-content:center;gap:.571429rem}.gallery-drawer .gallery-search{width:100%}.gallery-drawer .gallery-grid{grid-template-columns:1fr;gap:.857143rem;margin-top:0}.gallery-drawer .gallery-card{display:grid;grid-template-columns:8rem minmax(0,1fr);align-items:center;gap:1.142857rem;padding:.857143rem;border-radius:1rem}.gallery-drawer .gallery-card>img{height:8rem;width:8rem;object-fit:cover;border-radius:.642857rem}.gallery-drawer .gallery-card>.empty-state{min-height:7.5rem}.gallery-drawer .gallery-card .primary{width:auto;min-height:2.142857rem;background:var(--theme-surface-soft, #eee8fa);color:var(--theme-text-secondary, #9270bd);padding:.428571rem .714286rem;gap:.357143rem}.gallery-drawer .gallery-card .dialog-actions{justify-content:flex-start;padding-top:.357143rem}.gallery-footnote{margin-top:1.785714rem}.editor-right .gallery-entry.active{background:var(--theme-surface-soft, #eee6fb);color:var(--theme-text-secondary, #9471c9)}@media(max-width:760px){.gallery-home .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-tabs{gap:1rem}.library-tabs button{font-size:.857143rem}.gallery-drawer{padding:1.142857rem;top:4.142857rem}.gallery-search{width:100%}}@media(max-width:450px){.gallery-home .gallery-grid{grid-template-columns:1fr}}.gallery-tags{display:flex;flex-wrap:wrap;gap:.428571rem;white-space:normal}.gallery-tags>span{display:inline-flex;align-items:center;gap:.357143rem;background:var(--theme-surface-soft, #eee8fa);color:var(--theme-text-secondary, #9676be);border-radius:.857143rem;padding:.285714rem .642857rem;font-size:.714286rem;line-height:1.5;overflow-wrap:anywhere}.gallery-admin-table{margin-top:1.714286rem}.gallery-admin-table .row-actions{gap:.571429rem}.gallery-admin-table .secondary{font-size:.785714rem;padding:.5rem .714286rem;min-height:2.285714rem}.gallery-admin-name{display:flex;align-items:center;gap:.857143rem}.gallery-admin-name img{width:4.285714rem;height:3.142857rem;object-fit:cover;border-radius:.428571rem}.gallery-admin-name strong{display:block;max-width:15.714286rem;overflow:hidden;text-overflow:ellipsis}.gallery-admin-name small{display:block;margin-top:.428571rem}.gallery-admin-table .gallery-tags{max-width:17.142857rem;min-width:7.142857rem}.tag-editor{margin:1.285714rem 0}.tag-editor button{padding:.071429rem;color:inherit}.tag-input{display:flex;gap:.714286rem}.tag-input input{min-width:0;flex:1}.tag-suggestions{display:flex;gap:.571429rem;margin:.857143rem 0}.tag-suggestions button{font-size:.785714rem;min-height:2.142857rem;padding:.357143rem .714286rem}.gallery-card-content{display:flex;flex-direction:column;gap:.571429rem;min-width:0;flex:1}.gallery-card-content>strong{line-height:1.6;font-weight:550}.gallery-remove{margin-left:auto;padding:.285714rem;background:transparent;color:var(--theme-text-muted, #b1a4bf);font-size:.714286rem}.gallery-remove:hover{background:transparent;color:var(--theme-danger, #bd7f8e)}.gallery-placeholder{height:11.428571rem;background:var(--theme-surface, #f4f0fa);border-radius:.642857rem;display:grid;place-items:center;color:var(--theme-text-muted, #b6a3cc)}.gallery-drawer .gallery-placeholder{height:8rem}.gallery-drawer .gallery-footnote{border-top:.071429rem solid var(--theme-border, #eee9f5);padding-top:1.285714rem;margin-top:1.714286rem;font-size:.785714rem}.gallery-home .gallery-card>img{height:14.285714rem;object-fit:cover}.gallery-home .gallery-card{position:relative;padding:.857143rem;gap:1.142857rem;border-radius:1.142857rem}.gallery-home .gallery-card-content{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1.142857rem;row-gap:.428571rem;align-items:center;padding:0 .285714rem .357143rem;flex:0}.gallery-home .gallery-card-content>strong{grid-column:1;grid-row:1;font-size:1rem}.gallery-home .gallery-card-content>small{grid-column:1;grid-row:2;line-height:1.6;overflow-wrap:anywhere}.gallery-home .gallery-card-content>.gallery-tags{grid-column:1 / -1;grid-row:3}.gallery-home .gallery-card .dialog-actions{grid-column:2;grid-row:1 / 3;margin:0;padding:0;align-self:center}.gallery-home .gallery-card .primary{min-height:2.571429rem;padding:.571429rem .928571rem;gap:.5rem;border-radius:.857143rem;white-space:nowrap}.gallery-home .gallery-card .gallery-remove{position:absolute;top:1.571429rem;right:1.571429rem;margin:0;padding:.428571rem .785714rem;min-height:2rem;border:.071429rem solid var(--theme-border, #ffffffa6);border-radius:1.428571rem;background:var(--theme-surface, #fffffff0);color:var(--theme-text-secondary, #82738e);box-shadow:0 .142857rem .571429rem var(--theme-shadow, #25203812)}.gallery-home .gallery-card .gallery-remove:hover{background:var(--theme-surface, #fff0f3);color:var(--theme-danger, #b25770)}.gallery-home .gallery-card .gallery-remove:focus-visible{outline:.142857rem solid var(--accent-strong);outline-offset:.214286rem}@media(max-width:380px){.gallery-drawer .gallery-card{grid-template-columns:6rem minmax(0,1fr);gap:.857143rem}.gallery-drawer .gallery-card>img,.gallery-drawer .gallery-placeholder{width:6rem;height:7.142857rem}}.account-menu{width:17.857143rem;max-width:calc(100vw - 2.285714rem)}.account-menu-profile{display:flex;flex-direction:column;gap:.428571rem;padding:.857143rem;margin-bottom:.357143rem;border-bottom:.071429rem solid var(--theme-border, #eee9f5);overflow-wrap:anywhere;white-space:normal;-webkit-user-select:text;user-select:text}.account-menu-profile strong{font-size:.928571rem;font-weight:550;color:var(--theme-text, #49415e)}.account-menu-profile span{font-size:.785714rem;line-height:1.6;color:var(--theme-text-secondary, #a194b2)}.autosave-switch{position:relative;width:2rem;height:1.142857rem;min-width:2rem;padding:0;border-radius:.857143rem;background:var(--theme-surface-soft, #ddd5e7);flex-shrink:0}.autosave-switch>span{position:absolute;left:.214286rem;top:.214286rem;width:.714286rem;height:.714286rem;border-radius:50%;background:var(--theme-surface, #fff);transition:transform .15s}.autosave-switch.enabled{background:var(--theme-control, #b494de)}.autosave-switch.enabled>span{transform:translate(.857143rem)}.editor-header .save-status.manual-save{display:flex}.save-status.manual-save span{display:inline}.extension-settings-controls{display:flex;align-items:center;gap:1.714286rem;padding:0 1.428571rem 1.428571rem;flex-wrap:wrap}.extension-settings-controls>label:first-child{width:12.857143rem;margin:0}.extension-settings-controls .check-label{margin:1.071429rem 0 0}.extension-settings-controls>.primary{margin-left:auto}.extension-settings+.form-note{margin-top:1.428571rem}.media-drag-bar small{font-size:.642857rem;color:var(--theme-text-muted, #a597b2);white-space:nowrap}.function-grid{display:grid;gap:1rem;margin-top:1.571429rem}.function-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;white-space:normal;padding:1.428571rem;border:.071429rem solid var(--theme-border, #e9e2f2);border-radius:1.071429rem;background:var(--theme-surface, #fff);gap:.928571rem}.function-card:hover{background:var(--theme-surface, #faf7ff);border-color:var(--theme-border, #cbb5eb)}.function-card-heading{display:flex;align-items:center;gap:.857143rem;min-width:0}.function-icon{display:grid;place-items:center;width:2.714286rem;height:2.714286rem;flex-shrink:0;border-radius:.785714rem;background:var(--theme-surface-soft, #f0e9fb);color:var(--theme-text-secondary, #9a79c7)}.function-card-heading strong{font-size:1rem;font-weight:550;overflow-wrap:anywhere;color:var(--theme-text, #625074)}.function-price{margin-left:auto;flex-shrink:0;background:var(--theme-surface, #f5f1fb);border-radius:1rem;padding:.285714rem .642857rem;font-size:.714286rem;color:var(--theme-text-secondary, #a084bc)}.function-description{font-size:.857143rem;line-height:1.85;color:var(--theme-text-secondary, #a395b1);overflow-wrap:anywhere}.function-add{display:flex;align-items:center;gap:.357143rem;color:var(--theme-text-secondary, #9a79c7);font-size:.785714rem;padding-top:.785714rem;border-top:.071429rem solid var(--theme-border, #f1ebf7)}.extension-profile-fields{display:grid;gap:1rem;padding:0 1.428571rem 1.428571rem}.extension-profile-fields label{margin:0}.extension-profile-fields textarea{resize:vertical;min-height:5.714286rem}.module-parameters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.857143rem;margin-top:1.142857rem}.module-parameters>.module-field{grid-column:span 3;margin:0;min-width:0}.module-parameters>.module-field-third{grid-column:span 1}.module-toggle-row{grid-column:span 3;display:flex;align-items:center;justify-content:space-between;gap:.857143rem;font-size:.785714rem;color:var(--theme-text-secondary, #94809f);min-height:1.714286rem}.module-parameters input{min-width:0}.header-action{display:inline-flex;align-items:center;justify-content:center;min-height:2.571429rem;padding:.571429rem 1.285714rem;background:var(--theme-surface-soft, #f2edfc);text-decoration:none}.header-action:hover{background:var(--theme-surface-soft, #eae1fa);border-color:var(--theme-border, #d9c9f0)}.model-header-actions{display:flex;align-items:center;gap:1.142857rem}.model-enabled-control{display:flex;align-items:center;gap:.571429rem;font-size:.785714rem;color:var(--theme-text-secondary, #94809f)}.model-draft .model-enabled-control .autosave-switch{min-height:1.142857rem}.model-draft:has(.video-price-row){padding-bottom:1.142857rem}.media-node.audio-node{background:var(--theme-surface, #f7f3fb);border-radius:.928571rem;min-width:18rem}.media-node audio{display:block;width:100%;height:54px;margin:.75rem 0}.media-node.audio-node .media-drag-bar{border-radius:.857143rem .857143rem 0 0}.media-history{max-width:86rem;margin:2rem auto;padding:0 2rem 4rem}.storage-summary{padding:1.5rem;border:1px solid var(--line);background:var(--theme-surface, #f3eefc);border-radius:1rem;margin-bottom:2rem}.storage-summary>div{display:flex;justify-content:space-between;gap:1rem}.storage-summary progress{width:100%;height:.6rem;accent-color:var(--accent);margin:1rem 0}.storage-summary p{font-size:.85rem;color:var(--theme-text-secondary, #827491)}.history-filters{display:flex;justify-content:space-between;align-items:start;gap:1rem}.history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));gap:1.5rem}.history-card{padding:1rem;border:1px solid var(--line);border-radius:1rem;background:var(--theme-surface, #ffffffb8);display:flex;flex-direction:column;gap:.65rem;min-width:0}.history-card>strong{overflow-wrap:anywhere}.history-preview{height:12rem;display:grid;place-items:center;background:var(--theme-surface, #f4f0fa);border-radius:.75rem;overflow:hidden}.history-preview img,.history-preview video{width:100%;height:100%;object-fit:contain}.history-preview audio{width:100%}.history-card .dialog-actions{margin-top:auto}.history-card a{display:inline-flex;align-items:center;gap:.4rem}@media(max-width:600px){.history-filters{flex-direction:column}.media-history{padding:0 1rem 2rem}.history-grid{grid-template-columns:1fr}.history-filters .search-field{width:100%;margin-bottom:1rem}}.page-navigation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;padding-top:1.5rem;font-size:.875rem;color:var(--theme-text-secondary, #9786ab)}.page-total{margin-right:auto}.page-buttons{display:flex;align-items:center;gap:.25rem}.page-buttons button,.page-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .35rem;border-radius:.6rem;font-variant-numeric:tabular-nums}.page-buttons button.active{background:var(--accent);color:#fff;font-weight:600}.page-buttons button:not(.active):hover:not(:disabled){background:var(--lavender);color:var(--accent-strong)}.page-ellipsis{min-width:1.2rem;padding:0;color:var(--theme-text-muted, #b2a7bf)}.storage-notice{position:fixed;z-index:1000;top:5rem;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.75rem;width:max-content;max-width:calc(100vw - 2rem);padding:.75rem 1rem;border:1px solid var(--theme-border, #f0dce7);border-radius:1rem;background:var(--theme-surface, #fff8fb);color:var(--theme-danger, #b16e8c);font-size:.9rem;line-height:1.7;box-shadow:0 .5rem 2rem var(--theme-shadow, #65507112)}.image-price-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 2.5rem;gap:1rem;align-items:end;margin-bottom:1rem}.image-price-row>label{min-width:0;margin:0}.image-price-row>.icon-button{height:2.85rem}.model-draft:has(.image-price-row){padding-bottom:1rem}.pricing-main{max-width:82rem;margin:0 auto;padding:3rem 2rem 5rem}.pricing-heading{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:2.5rem}.pricing-eyebrow{font-size:.8rem;letter-spacing:.1em;color:var(--accent-strong)}.pricing-heading h1{font-size:2.3rem;font-weight:550;letter-spacing:-.06em;margin:1rem 0}.pricing-heading p{font-size:1rem;line-height:1.8;color:var(--theme-text-secondary, #81788f)}.pricing-reference{white-space:nowrap;border:1px solid var(--theme-border, #ded5f0);border-radius:2rem;padding:.55rem 1rem;font-size:.85rem;color:var(--accent-strong)}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}.pricing-card{padding:1.7rem;border:1px solid var(--theme-border, #e6dff1);border-radius:1.3rem;background:var(--theme-surface, #ffffffd9);display:flex;flex-direction:column;min-width:0}.pricing-card>header{display:flex;align-items:center;gap:.7rem}.pricing-pack-icon{display:grid;place-items:center;color:var(--accent);background:var(--lavender);width:2.5rem;height:2.5rem;border-radius:.8rem}.pricing-card h2{font-size:1.2rem;font-weight:600}.pricing-pack-index{margin-left:auto;font-size:.75rem;color:var(--theme-text-muted, #b7acc5);font-variant-numeric:tabular-nums}.pricing-description{font-size:.85rem;color:var(--theme-text-secondary, #978bA5);line-height:1.8;margin:1.2rem 0}.pricing-amount{display:flex;align-items:baseline;gap:.4rem;margin:.3rem 0 1.8rem;color:var(--theme-text, #51416e)}.pricing-amount>span{font-size:1.2rem}.pricing-amount>strong{font-size:2.8rem;font-weight:600;letter-spacing:-.04em;line-height:1.2}.pricing-amount>small{font-size:.8rem;margin-left:.2rem}.pricing-breakdown{display:flex;flex-direction:column;gap:1rem;margin:0;padding-bottom:1.5rem;border-bottom:1px solid var(--line)}.pricing-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}.pricing-breakdown dt{font-size:.85rem;color:var(--theme-text-secondary, #887993);display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.pricing-breakdown dt>span{font-size:.7rem;background:var(--theme-surface-soft, #f0eafa);color:var(--theme-text-secondary, #9274bd);padding:.15rem .4rem;border-radius:.4rem}.pricing-breakdown dd{margin:0;font-size:1rem;font-weight:500;font-variant-numeric:tabular-nums}.pricing-total{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin:1.3rem 0 1.6rem}.pricing-total>span{font-size:.85rem;color:var(--theme-text-secondary, #887993)}.pricing-total strong{font-size:1.4rem;color:var(--accent-strong);font-variant-numeric:tabular-nums}.pricing-total small{font-size:.75rem;font-weight:400;margin-left:.35rem}.pricing-contact{display:flex;align-items:center;justify-content:center;gap:.55rem;border-radius:.8rem;min-height:2.8rem;margin-top:auto}.pricing-contact svg:last-child{margin-left:auto}.pricing-support{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 2rem;margin-top:2.5rem;border-top:1px solid var(--theme-border, #e2dbee);padding-top:2rem}.pricing-support h2{font-size:1.1rem;font-weight:550;margin-bottom:.65rem}.pricing-support p{font-size:.85rem;color:var(--theme-text-secondary, #91849f);line-height:1.8}.pricing-qq{display:flex;align-items:center;gap:.5rem}.pricing-qq>a{display:flex;align-items:center;gap:.5rem;color:var(--accent-strong);font-weight:500}.pricing-contact-note{grid-column:1/-1}.pricing-inline-link{color:var(--accent-strong);text-decoration:underline;text-underline-offset:3px}@media(max-width:1000px){.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.pricing-main{padding:2rem 1rem 3rem}.pricing-heading{align-items:flex-start;gap:1rem}.pricing-heading h1{font-size:1.7rem}.pricing-reference{font-size:.7rem;padding:.4rem .6rem}.pricing-grid,.pricing-support{grid-template-columns:1fr}.pricing-card{padding:1.5rem}.pricing-page .site-header{padding-left:1rem;padding-right:1rem}}.gallery-home .gallery-card .gallery-preview-trigger{position:relative;display:block;width:100%;padding:0;overflow:hidden;border-radius:.65rem;background:var(--theme-surface, #f4f0fa)}.gallery-preview-trigger>img,.gallery-preview-trigger>.gallery-placeholder{display:block;width:100%;height:14.285714rem;object-fit:cover}.gallery-preview-trigger>.gallery-placeholder{display:grid;place-items:center}.gallery-preview-label{position:absolute;bottom:.75rem;right:.75rem;padding:.35rem .7rem;border-radius:1rem;background:var(--theme-surface, #fffffff0);color:var(--theme-text-secondary, #725bcc);font-size:.75rem}.gallery-home .gallery-card .gallery-preview-title{font:inherit;display:block;padding:0;text-align:left;line-height:inherit;overflow-wrap:anywhere}.gallery-preview-title:hover{color:var(--accent-strong);background:transparent}.shared-credit-summary{display:block;margin-top:.5rem;max-width:20rem;overflow-wrap:anywhere;color:var(--muted);line-height:1.6}.sharing-parent,.sharing-list-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.sharing-parent{padding:1rem 1.25rem;background:var(--theme-surface, #f5f1fb);border-radius:1rem}.sharing-parent>div,.sharing-details>div{display:flex;flex-direction:column;gap:.35rem}.sharing-parent span,.sharing-details span{font-size:.85rem;color:var(--theme-text-secondary, #9586ad)}.sharing-parent>div:last-child{text-align:right}.sharing-list-heading h3{margin:0}.sharing-list-heading p{margin:.5rem 0 0}.sharing-row-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.sharing-details{display:flex;gap:3rem;margin:1rem 0 1.5rem}.sharing-details strong{font-size:1.4rem}.sharing-parent span{overflow-wrap:anywhere}@media(max-width:600px){.sharing-parent,.sharing-list-heading{align-items:flex-start;flex-direction:column}.sharing-parent>div:last-child{text-align:left}}.image-editor{display:flex;flex-direction:column;min-height:0}.image-editor-content{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(16rem,1fr);gap:1.25rem;overflow:auto;min-height:0;padding-right:.5rem}.image-editor-content>.error-banner{grid-column:1/-1}.image-editor>.dialog-actions{flex-shrink:0;margin-top:1rem;padding-top:.85rem;border-top:1px solid var(--theme-border, #ebe5f3)}.image-edit-preview{min-width:0;align-self:start;position:sticky;top:0}.image-edit-stage{min-height:15rem;background:repeating-conic-gradient(var(--theme-glow, #ece8f2) 0% 25%,var(--theme-glow, #faf8fd) 0% 50%) 50%/1.5rem 1.5rem;display:flex;justify-content:center;align-items:center;border-radius:1rem;overflow:hidden;padding:1rem}.image-crop-surface{position:relative;max-width:100%;width:fit-content;overflow:hidden;touch-action:none;cursor:default;line-height:0;-webkit-user-select:none;user-select:none}.image-crop-surface>img{display:block;max-width:100%;max-height:48vh;object-fit:contain;pointer-events:none}.image-crop-box{position:absolute;border:2px solid var(--theme-border-strong, #9672e0);box-shadow:0 0 0 9999px var(--theme-shadow, #20153177);cursor:move;box-sizing:border-box}.image-crop-box span{position:absolute;top:0;left:0;line-height:1.5;background:var(--theme-accent, #8062bd);color:#fff;padding:.15rem .35rem;font-size:.7rem;white-space:nowrap}.image-edit-settings h3{margin:1rem 0 .7rem}.image-edit-section-heading{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.image-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.image-edit-fields label{min-width:0;margin:0}.image-edit-settings .check-label{margin:.9rem 0}.image-edit-scales{display:flex;gap:.4rem;flex-wrap:wrap}.image-edit-scales button{padding:.45rem .75rem}.image-edit-settings input[type=range]{padding:0;width:100%;accent-color:var(--theme-text-muted, #8870df)}.module-editor-entry{margin:1rem 0}.module-result-size{font-size:.8rem;color:var(--theme-text-secondary, #8c7da6);line-height:1.6;margin:1rem 0 0}.module-result-size strong{color:var(--theme-text-secondary, #7456b6)}@media(max-width:700px){.image-editor-content{grid-template-columns:1fr}.image-edit-preview{position:static}}.channel-proxy-settings{padding:1.25rem;border:1px solid var(--theme-border, #e7dff3);border-radius:1rem;background:var(--theme-surface, #f8f5fc)}.channel-proxy-settings .module-toggle-row{gap:1rem;align-items:center}.channel-proxy-settings .form-note{margin:.5rem 0}.channel-proxy-settings>label{margin-top:1rem}.modal.function-picker{display:flex;flex-direction:column;width:100%;max-width:56rem;max-height:min(86dvh,48rem);overflow:hidden;padding:1.75rem;border-radius:1.5rem}.function-picker>header{flex-shrink:0;margin-bottom:.75rem}.function-picker h2{margin:0;font-size:1.4rem}.function-picker-intro{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-shrink:0;margin-bottom:1.25rem;color:var(--theme-text-secondary, #978ba9);font-size:.9rem}.function-picker-intro p{margin:0;line-height:1.6}.function-picker-intro>span{flex-shrink:0;font-size:.8rem}.function-picker-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--theme-border, #c9b8e0) transparent;padding:.15rem .65rem .15rem .15rem;margin-right:-.65rem}.function-picker-scroll::-webkit-scrollbar{width:6px}.function-picker-scroll::-webkit-scrollbar-track{background:transparent}.function-picker-scroll::-webkit-scrollbar-thumb{background:var(--theme-control, #c9b8e0);border-radius:20px}.function-picker-scroll::-webkit-scrollbar-thumb:hover{background:var(--theme-control, #ab8dce)}.function-picker-scroll::-webkit-scrollbar-button{display:none;width:0;height:0}.function-picker .function-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}.function-picker .function-card{display:grid;grid-template-rows:auto 1fr auto;gap:1rem;padding:1.15rem;border-radius:1rem;text-align:left;min-width:0;border-color:var(--theme-border, #e8e0f2);background:var(--theme-surface, #fff)}.function-picker .function-card:hover{border-color:var(--theme-border, #bea5df);background:var(--theme-surface, #fbf8ff)}.function-picker .function-card:focus-visible{outline:2px solid var(--theme-border-strong, #9878cf);outline-offset:2px}.function-picker .function-card-heading{gap:.65rem;flex-wrap:wrap}.function-picker .function-icon{width:2.4rem;height:2.4rem;border-radius:.75rem}.function-picker .function-card-heading strong{font-size:1rem;color:var(--theme-text, #5e4c74)}.function-picker .function-price{font-size:.75rem;padding:.25rem .6rem}.function-picker .function-description{font-size:.88rem;line-height:1.75;color:var(--theme-text-secondary, #9485a6)}.function-picker .function-add{justify-content:space-between;gap:.75rem;padding-top:.8rem;font-size:.8rem}.function-picker .function-add>span:last-child{display:inline-flex;align-items:center;gap:.3rem;flex-shrink:0}.function-input-kind{font-size:.75rem;color:var(--theme-text-muted, #a396b4)}.function-picker .empty-state{min-height:12rem}@media(max-width:680px){.modal.function-picker{padding:1.25rem;max-height:86dvh}.function-picker .function-grid{grid-template-columns:1fr;gap:.8rem}.function-picker .function-card{padding:1rem;gap:.8rem}.function-picker-intro{align-items:flex-start}.function-picker h2{font-size:1.25rem}}.modal-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 .5rem .1rem .1rem;margin-right:-.5rem}.modal-body,.modal-body *{scrollbar-width:thin;scrollbar-color:var(--theme-border, #c9b8e0) transparent}.modal-body::-webkit-scrollbar,.modal-body ::-webkit-scrollbar{width:6px;height:6px}.modal-body::-webkit-scrollbar-track,.modal-body ::-webkit-scrollbar-track{background:transparent}.modal-body::-webkit-scrollbar-thumb,.modal-body ::-webkit-scrollbar-thumb{background:var(--theme-control, #c9b8e0);border-radius:20px}.modal-body::-webkit-scrollbar-thumb:hover,.modal-body ::-webkit-scrollbar-thumb:hover{background:var(--theme-control, #ab8dce)}.modal-body::-webkit-scrollbar-button,.modal-body ::-webkit-scrollbar-button{display:none;width:0;height:0}.modal-body::-webkit-scrollbar-corner,.modal-body ::-webkit-scrollbar-corner{background:transparent}.function-picker>.modal-body{display:flex;flex-direction:column;overflow:hidden}.image-editor-modal>.modal-body{display:flex;flex-direction:column;overflow:hidden}.image-editor-modal{max-height:88dvh}.image-edit-settings h3{margin:.85rem 0 .55rem}.image-edit-section-heading h3{margin:0}.image-edit-section-heading{margin-bottom:.65rem}.image-edit-fields{gap:.7rem .9rem}.image-edit-fields label>input{margin-top:.4rem}.image-edit-settings .check-label{margin:.7rem 0}.image-edit-settings>label:not(.check-label){margin-bottom:.7rem}.image-edit-settings .form-note{line-height:1.6}.image-crop-box>span{pointer-events:none;left:1rem;top:.3rem}.crop-handle{position:absolute;display:block;width:14px;height:14px;min-width:0;padding:0;background:#fff;border:2px solid var(--theme-border-strong, #9874d4);border-radius:4px;box-shadow:0 1px 4px var(--theme-shadow, #40305244);touch-action:none}.crop-handle:hover{background:var(--theme-surface-soft, #e9ddfc)}.crop-handle-nw{left:0;top:0;cursor:nwse-resize}.crop-handle-ne{right:0;top:0;cursor:nesw-resize}.crop-handle-se{right:0;bottom:0;cursor:nwse-resize}.crop-handle-sw{left:0;bottom:0;cursor:nesw-resize}.crop-handle-n{top:0;left:50%;transform:translate(-50%);cursor:ns-resize}.crop-handle-s{bottom:0;left:50%;transform:translate(-50%);cursor:ns-resize}.crop-handle-e{right:0;top:50%;transform:translateY(-50%);cursor:ew-resize}.crop-handle-w{left:0;top:50%;transform:translateY(-50%);cursor:ew-resize}.share-quota{display:flex;align-items:flex-start;gap:.7rem;padding:.85rem 1rem;margin:0 0 1.25rem;background:var(--theme-surface-soft, #f2edf9);border:1px solid var(--theme-border, #e9e0f3);border-radius:.85rem;color:var(--theme-text-secondary, #9276b3)}.share-quota>svg{margin-top:.15rem;flex-shrink:0}.share-quota>div{display:flex;flex-direction:column;gap:.35rem;min-width:0}.share-quota strong{font-size:.85rem;font-weight:500;color:var(--theme-text-secondary, #795b9e)}.share-quota span{font-size:.78rem;line-height:1.6}.share-quota-retry{align-self:flex-start;font-size:.8rem;text-decoration:underline;padding:.2rem 0}.bottom-toolbar .function-picker-button{width:auto;flex-shrink:0;gap:0;padding:0 .35rem;color:var(--theme-text-secondary, #9674ca)}.function-picker-button>svg{flex-shrink:0}.function-picker-button>span{font-size:.68rem;font-weight:400;white-space:nowrap;line-height:1;padding:.42rem .6rem .42rem .4rem;margin-left:.25rem;background:var(--theme-surface-soft, #f0e8fc);border-radius:0 2rem 2rem 0}.readonly-canvas-title{max-width:28vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text-secondary, #8f809f);font-size:.857143rem}.readonly-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--theme-text-secondary, #9786b4);background:var(--theme-surface-soft, #f0eafb);padding:.4rem .65rem;border-radius:1rem;white-space:nowrap}.readonly-canvas .editor-header{padding:.45rem .65rem;border-radius:1rem;background:var(--theme-surface, #fafafde8)}.readonly-canvas .node-surface button:disabled,.readonly-canvas .node-surface input:disabled,.readonly-canvas .node-surface select:disabled{opacity:1;cursor:default}.readonly-canvas .react-flow__controls{bottom:2rem;left:1.785714rem}.readonly-canvas .media-drag-bar{cursor:default}@media(max-width:680px){.readonly-canvas .editor-brand span,.readonly-canvas .header-divider,.readonly-badge{display:none}.readonly-canvas .editor-header{gap:.5rem;left:.5rem;right:.5rem}.readonly-canvas .editor-header>div{gap:.5rem}.readonly-canvas-title{max-width:24vw}.readonly-canvas .editor-right .secondary,.readonly-canvas .editor-right .primary{padding:.5rem .65rem;font-size:.8rem}}.agent-access{max-width:48rem;margin:2rem auto;padding:0 1.5rem 3rem}.agent-access h1{font-size:1.6rem}.agent-access h2{font-size:1.15rem;margin-top:2rem}.agent-access p{line-height:1.8;color:var(--theme-text-secondary, #8b809c);margin:.7rem 0 1.2rem}.agent-access label{display:block;margin:1rem 0}.agent-access input{margin-top:.6rem}.agent-access form{margin:1.5rem 0}.agent-secret{padding:1.3rem;background:var(--theme-surface-soft, #f0e8fc);border-radius:1rem}.agent-secret textarea{margin-top:.8rem;min-height:5rem;overflow-wrap:anywhere}.agent-token{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid var(--theme-border, #ece5f3)}.agent-token p{margin:.4rem 0;font-size:.8rem}.model-name .admin-user-note{max-width:20rem;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--theme-text-secondary, #8b77a7);margin-top:.35rem}.media-download{position:relative;display:inline-flex}.media-download-error{position:absolute;top:100%;right:0;z-index:10;width:16rem;padding:.65rem;background:var(--theme-surface, #fff4f5);color:var(--theme-danger, #b56577);border:1px solid var(--theme-border, #efdce3);border-radius:.6rem;white-space:normal;font-size:.8rem;line-height:1.5}.deferred-video{position:relative;width:100%;min-height:0;overflow:hidden;background:var(--theme-surface-soft, #f2eef8);border-radius:0 0 .857143rem .857143rem;line-height:0}.deferred-video>img,.deferred-video>video{display:block;width:100%;height:100%;max-height:none;object-fit:contain}.media-node .deferred-video>img,.media-node .deferred-video>video{height:100%;max-height:none;border-radius:0}.media-node.resized>.deferred-video{flex:1;min-height:0;aspect-ratio:auto!important}.video-poster-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:.45rem;padding:.8rem 1rem;border-radius:2rem;background:var(--theme-scrim, #302744cc);color:#fff;line-height:1;font-size:.85rem}.video-poster-play:hover{background:var(--theme-accent, #493965)}.video-play-note{position:absolute;top:.5rem;left:.5rem;right:.5rem;padding:.5rem;background:var(--theme-scrim, #302744cc);color:#fff;line-height:1.5;font-size:.75rem}.history-preview>.deferred-video{height:100%;aspect-ratio:auto!important}.reference-preview>.deferred-video{max-width:100%}.modal.gallery-preview-modal{width:min(94vw,90rem);max-width:94vw;height:90dvh;max-height:90dvh}.gallery-preview-modal>.modal-body{display:flex;flex-direction:column;gap:1rem;overflow:hidden;flex:1}.gallery-preview-meta{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;flex-shrink:0;color:var(--muted);font-size:.85rem}.gallery-preview-meta>span{display:inline-flex;align-items:center;gap:.35rem;color:var(--theme-text-secondary, #9786b4)}.gallery-preview-stage{position:relative;flex:1;min-height:0;border:1px solid var(--line);border-radius:1rem;overflow:hidden;background:var(--theme-surface, #fafafd)}.gallery-preview-stage>.empty-state{height:100%}.gallery-preview-actions{margin:0;flex-shrink:0}.gallery-preview-modal>header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:680px){.modal.gallery-preview-modal{padding:1rem}.gallery-preview-meta p{display:none}}.users-management .admin-search{padding:1.25rem;border-bottom:1px solid var(--line);margin:0}.users-management table td{vertical-align:middle;padding:1.1rem 1.25rem}.users-management table th{padding:1rem 1.25rem}.users-management .model-name{min-width:13rem}.user-role{display:inline-block;font-size:.65rem;padding:.15rem .45rem;margin-left:.5rem;border-radius:.4rem;color:var(--theme-text-secondary, #9789a8);background:var(--theme-surface-soft, #f3f0f8)}.user-role-admin,.user-role-superadmin{color:var(--theme-text-secondary, #8263be);background:var(--theme-surface-soft, #ede5fb)}.user-credit-value{font-size:1.15rem;color:var(--theme-text-secondary, #655184);font-variant-numeric:tabular-nums}.user-cell-label{display:block;font-size:.7rem;color:var(--muted);margin-top:.25rem}.user-resource-value{white-space:nowrap;font-variant-numeric:tabular-nums}.user-resource-value small{color:var(--muted)}.user-storage-meter{display:block;width:8rem;height:5px;appearance:none;border:0;border-radius:1rem;overflow:hidden;background:var(--theme-surface-soft, #eee9f5);margin-top:.5rem}.user-storage-meter::-webkit-progress-bar{background:var(--theme-surface-soft, #eee9f5)}.user-storage-meter::-webkit-progress-value{background:var(--theme-control, #ad96d9)}.user-storage-meter::-moz-progress-bar{background:var(--theme-control, #ad96d9)}.user-row-actions{display:flex;gap:.5rem;white-space:nowrap}.user-row-actions .secondary{padding:.55rem .8rem!important;margin:0!important;font-size:.8rem}.user-manage-profile{display:flex;flex-direction:column;gap:.3rem;margin-bottom:1.25rem}.user-manage-profile span{font-size:.85rem;color:var(--muted)}.user-manage-groups section+section{border-top:1px solid var(--line);margin-top:1.1rem;padding-top:1.1rem}.user-manage-groups h3{font-size:.8rem;font-weight:500;color:var(--muted);margin-bottom:.7rem}.user-manage-groups section>div{display:flex;gap:.6rem;flex-wrap:wrap}.modal.admin-canvases-modal{width:min(90vw,64rem);max-width:90vw}.admin-canvases-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.admin-canvas-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:.8rem;gap:.6rem;background:var(--theme-surface, white);border:1px solid var(--line);border-radius:1rem;min-width:0}.admin-canvas-card>img,.admin-canvas-placeholder{width:100%;height:10rem;object-fit:cover;border-radius:.6rem;background:var(--theme-surface, #f4f0fa)}.admin-canvas-placeholder{display:grid;place-items:center;color:var(--muted)}.admin-canvas-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-canvas-card small{font-size:.75rem;color:var(--muted)}.admin-canvas-card>span{color:var(--accent-strong);font-size:.8rem}.admin-canvas-card:hover{border-color:var(--theme-border, #baa5df);background:var(--theme-surface, #fcfaff)}@media(max-width:600px){.admin-canvases-grid{grid-template-columns:1fr}}.share-kind-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem;padding:.3rem;background:var(--theme-surface-soft, #f3effa);border-radius:.8rem}.share-kind-tabs button{flex:1;border-radius:.6rem;padding:.65rem;background:transparent;color:var(--muted)}.share-kind-tabs button.active{background:var(--theme-surface, white);color:var(--theme-text-secondary, #8265c5);box-shadow:0 1px 5px var(--theme-shadow, #3322550a)}.temporary-share-create{display:flex;align-items:end;gap:1rem;margin:1.25rem 0}.temporary-share-create label{display:grid;gap:.5rem;flex:1;min-width:0;margin:0}.temporary-share-create select{width:100%;margin:0;height:2.857143rem}.temporary-share-create>button{height:2.857143rem;flex-shrink:0}.temporary-share-item{padding:1rem;border:1px solid var(--line);border-radius:.8rem;margin-top:1rem}.temporary-share-item>div:first-child{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.75rem}.temporary-share-item span{font-size:.8rem;color:var(--muted)}.temporary-share-item input{width:100%;font-size:.85rem}.temporary-share-page{height:100dvh;display:flex;flex-direction:column}.temporary-share-page>header{display:grid;grid-template-columns:minmax(6rem,1fr) minmax(0,auto) minmax(6rem,1fr);align-items:center;gap:1rem;padding:.65rem 1.25rem;border-bottom:1px solid var(--line)}.temporary-share-label{justify-self:start;font-size:.8rem;color:var(--muted);white-space:nowrap}.temporary-share-use{justify-self:end;font-size:.85rem;min-height:2.4rem;padding:.5rem 1rem}.temporary-share-home{display:flex;align-items:center;justify-self:center;gap:.75rem;min-width:0;max-width:100%}.temporary-share-home strong{font-size:.95rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.temporary-share-home .brand{flex-shrink:0;font-size:.85rem;font-weight:500;letter-spacing:0;gap:.5rem;color:var(--muted)}.temporary-share-stage{flex:1;min-height:0;position:relative}@media(max-width:600px){.temporary-share-page>header{grid-template-columns:auto minmax(0,1fr) auto;padding:.65rem .75rem;gap:.75rem}.temporary-share-home{justify-self:center;max-width:100%}.temporary-share-home .brand{display:none}.temporary-share-create{align-items:stretch;flex-direction:column}}.theme-switch{width:4.5rem;height:2rem;padding:.25rem .35rem;justify-content:space-between;border:1px solid var(--theme-border,#e6e1f0);border-radius:1.2rem;background:var(--theme-surface-soft,#f4f0fb);color:var(--theme-text-muted,#988cab);position:relative;flex-shrink:0}.theme-switch span{position:absolute;left:.28rem;top:.28rem;width:1.35rem;height:1.35rem;border-radius:50%;background:var(--theme-surface,#fff);box-shadow:0 1px 4px #30204022;transition:transform .18s}.theme-switch.enabled span{transform:translate(2.5rem);background:var(--theme-accent,#8470dc)}.theme-switch.enabled{color:var(--theme-text-secondary,#d0c5e4);background:var(--theme-surface-strong,#ede8f8)}.depth-inline{margin:.8rem 0;color:var(--theme-text-secondary,#94809f)}.depth-inline input{width:100%;accent-color:var(--theme-accent,#6c5ce7)}.depth-inline div{display:flex;justify-content:space-between;font-size:.75rem}.depth-inline p{margin:.35rem 0 0;color:var(--theme-text-primary,#fff)}.depth-inline{margin:1.1rem 0 .8rem;padding:.85rem 0 0}.depth-inline .depth-range{appearance:none;height:12px;border-radius:999px;background:linear-gradient(to right,#8d6be8 0% 33%,#b08cff 33% 66%,#ddd7ee 66% 100%);outline:0}.depth-inline .depth-range::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:50%;background:#8d6be8;border:3px solid #302a42;box-shadow:0 0 0 2px #8d6be8}.depth-inline .depth-range::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#8d6be8;border:3px solid #302a42}.depth-inline .depth-segments{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:.45rem;font-size:.75rem}.depth-inline .depth-segments span:nth-child(2){text-align:center}.depth-inline .depth-segments span:last-child{text-align:right}.depth-inline button{margin-top:.8rem}.depth-inline p{font-size:.85rem;margin:.55rem 0 0}.depth-inline{margin:.75rem 0}.depth-inline .depth-range{height:10px;background:#342d46;border:1px solid #504563;box-shadow:inset 0 1px 3px #181521}.depth-inline .depth-range::-webkit-slider-runnable-track{height:10px;background:linear-gradient(90deg,#7656b9 0 33.33%,#9774d8 33.33% 66.66%,#c5b8e5 66.66%);border-radius:999px}.depth-inline .depth-range::-webkit-slider-thumb{width:18px;height:18px;background:#292334;border:3px solid #a17bea;box-shadow:none;margin-top:-5px}.depth-inline .depth-range::-moz-range-track{height:10px;background:linear-gradient(90deg,#7656b9 0 33.33%,#9774d8 33.33% 66.66%,#c5b8e5 66.66%);border-radius:999px}.depth-inline .depth-range::-moz-range-thumb{width:14px;height:14px;background:#292334;border:3px solid #a17bea}.depth-quote-row{display:flex;align-items:center;gap:.8rem;margin-top:.75rem}.depth-quote-row span{font-size:.85rem;color:var(--theme-text-secondary,#b8accb)}.depth-inline+.node-cost{display:none}
