:root{--color-bg:#111318;--color-bg-sidebar:#15181e;--color-bg-topbar:#16191f;--color-bg-panel:#191d24;--color-bg-panel-alt:#181c22;--color-bg-hover:#242933;--color-bg-hover-soft:#20242b;--color-bg-selected:#29303a;--color-border:#292d35;--color-border-panel:#2d323c;--color-border-light:#343a45;--color-border-hover:#555d6c;--color-text:#e6e6e6;--color-text-secondary:#aeb4bf;--color-text-muted:#9ca3af;--color-text-dim:#737b89;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--topbar-height:58px;--sidebar-width:220px;--explorer-width:260px;--secondary-pane-min-width:360px;--secondary-pane-max-width:520px;--content-width:1100px;--content-wide-width:1360px;--mobile-breakpoint:760px}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%}body{background:var(--color-bg);color:var(--color-text);margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}.app{min-height:100vh}.topbar{background:var(--color-bg-topbar);border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;height:64px;padding:0 40px;display:flex}.workspace-topbar{z-index:500;width:100%;height:var(--topbar-height);background:var(--color-bg-topbar);border-bottom:1px solid var(--color-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:0 18px;display:flex;position:relative}.workspace-topbar-left{align-items:center;gap:12px;min-width:0;display:flex}.workspace-topbar-right{flex-shrink:0;align-items:center;gap:8px;display:flex}.logo{cursor:pointer;-webkit-user-select:none;user-select:none;flex-shrink:0;font-size:clamp(18px,1vw,21px);font-weight:700}.language-selector select{background:var(--color-bg-panel);color:var(--color-text);border:1px solid var(--color-border-light);border-radius:var(--radius-sm);cursor:pointer;padding:7px 10px}.back-button,.mobile-menu-button{border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:var(--color-bg-panel);width:34px;height:34px;color:var(--color-text);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex}.back-button:hover,.mobile-menu-button:hover{background:var(--color-bg-hover)}.mobile-menu-button{font-size:18px;display:none}.world-title-divider{color:#555d69}.workspace-world-name{color:#b9bec7;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;overflow:hidden}.workspace{background:var(--color-bg);width:100vw;height:100vh;color:var(--color-text);flex-direction:column;display:flex;overflow:hidden}.workspace-body{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);flex:1;min-width:0;min-height:0;display:grid;overflow:hidden}.workspace-body.has-secondary-sidebar{grid-template-columns:var(--sidebar-width) var(--explorer-width) minmax(0, 1fr)}.workspace-sidebar{width:var(--sidebar-width);min-width:var(--sidebar-width);max-width:var(--sidebar-width);background:var(--color-bg-sidebar);border-right:1px solid var(--color-border);flex-direction:column;min-height:0;padding:18px 12px;display:flex;overflow:hidden auto}.workspace-sidebar--desktop{grid-column:1}.sidebar-section-title{color:#777f8d;text-transform:uppercase;letter-spacing:.08em;padding:6px 10px 12px;font-size:12px;font-weight:600}.sidebar-item{border-radius:var(--radius-sm);width:100%;color:var(--color-text-secondary);text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:8px;margin-bottom:3px;padding:9px 10px;display:flex;position:relative}.sidebar-item:hover:not(:disabled){color:#fff;background:#1e222a}.sidebar-item.active{background:var(--color-bg-hover);color:#fff}.sidebar-item:disabled{opacity:.42;cursor:default}.sidebar-item-row{align-items:center;width:100%;display:flex;position:relative}.sidebar-item-navigation{flex:1;min-width:0}.sidebar-dock-handle{border-radius:var(--radius-sm);cursor:grab;opacity:.48;justify-content:center;align-items:center;width:22px;min-width:22px;height:34px;margin-left:2px;transition:background .12s,opacity .12s;display:flex;position:relative}.sidebar-dock-handle:before{content:"⋮⋮";color:var(--color-text-dim);letter-spacing:-3px;font-size:11px;line-height:1;display:block;transform:rotate(90deg)}.sidebar-dock-handle:hover{background:var(--color-bg-hover);opacity:1}.sidebar-dock-handle:active{cursor:grabbing}.sidebar-item-row:hover .sidebar-dock-handle{opacity:.85}.sidebar-dock-hint{opacity:0;color:var(--color-text-dim);font-size:11px;transition:opacity .12s}.dockable-sidebar-item:hover .sidebar-dock-hint{opacity:1}.dockable-sidebar-item[draggable=true]{cursor:grab}.dockable-sidebar-item[draggable=true]:active{cursor:grabbing}.sidebar-divider{background:#2b3038;height:1px;margin:12px 4px}.sidebar-spacer{flex:1}.workspace-split-area{grid-template-columns:minmax(0,1fr);width:100%;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.workspace-split-area.secondary-open{grid-template-columns:minmax(0, var(--primary-pane-percent)) 6px minmax(0, calc(100% - var(--primary-pane-percent)))}.workspace-main{background:var(--color-bg);overscroll-behavior:contain;width:100%;min-width:0;height:100%;min-height:0;padding:clamp(28px,2.8vw,56px);overflow:auto}.workspace-primary-pane{grid-column:1}.workspace-splitter{z-index:100;background:var(--color-border);cursor:col-resize;width:6px;height:100%;transition:background .12s;position:relative}.workspace-splitter:hover,.workspace-splitter.active{background:#667487}.workspace-splitter:before{content:"";position:absolute;inset:0 -4px}.workspace-splitter-handle{background:#ffffff2e;border-radius:999px;width:2px;height:46px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.workspace-is-resizing,.workspace-is-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.workspace-secondary-wrapper{width:100%;min-width:0;height:100%;min-height:0;position:relative;overflow:hidden}.workspace-secondary-pane{background:#12151a;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.secondary-pane-header{border-bottom:1px solid var(--color-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:0 14px;display:flex}.secondary-pane-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.secondary-pane-header-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.secondary-pane-view-select{border:1px solid var(--color-border-light);background:var(--color-bg-panel);max-width:145px;color:var(--color-text-secondary);border-radius:5px;outline:none;padding:5px 7px;font-size:11px}.secondary-pane-close{width:27px;height:27px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:center;align-items:center;padding:0;font-size:18px;display:flex}.secondary-pane-close:hover{background:var(--color-bg-hover);color:#fff}.secondary-pane-content{flex:1;min-height:0;padding:14px;overflow:auto}.workspace-dock-overlay{z-index:300;pointer-events:none;background:#4a668238;border:2px solid #6888aa;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;inset:8px}.workspace-dock-zone{color:#cfdae5;background:#0f141bc7;border:1px solid #b9cfe759;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-width:180px;padding:24px;display:flex}.workspace-dock-icon{font-size:28px}.workspace-secondary-wrapper.dock-target-active{background:#4a668214}.workspace-secondary-reopen{z-index:50;border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:var(--color-bg-panel);width:34px;height:34px;color:var(--color-text-secondary);cursor:pointer;justify-content:center;align-items:center;display:none;position:absolute;top:12px;right:12px}.workspace-secondary-reopen:hover{background:var(--color-bg-hover);color:#fff}.secondary-pane-empty,.secondary-pane-placeholder{min-height:220px;color:var(--color-text-dim);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:30px;display:flex}.secondary-pane-empty strong{color:var(--color-text-secondary)}.secondary-pane-empty p,.secondary-pane-placeholder p{max-width:280px;margin:0;font-size:12px;line-height:1.6}.secondary-pane-placeholder h3{color:var(--color-text-secondary);margin:0}.secondary-pane-placeholder-icon{opacity:.5;font-size:30px}.secondary-entity-type-list{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;display:grid}.secondary-entity-type-item{border:1px solid var(--color-border);background:var(--color-bg-panel);min-width:0;color:var(--color-text-secondary);border-radius:6px;align-items:flex-start;gap:9px;padding:10px;display:flex}.secondary-entity-type-item>div{min-width:0}.secondary-entity-type-item strong{color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.secondary-entity-type-item p{color:var(--color-text-dim);white-space:nowrap;text-overflow:ellipsis;margin:4px 0 0;font-size:11px;overflow:hidden}.workspace-welcome{width:min(100%,900px);margin:40px auto}.workspace-world-icon{margin-bottom:18px;font-size:42px}.workspace-welcome h1{margin:0 0 12px;font-size:clamp(30px,2vw,40px)}.workspace-welcome p{color:var(--color-text-muted);margin:0;font-size:16px;line-height:1.7}.workspace-placeholder{background:var(--color-bg-panel);border:1px dashed var(--color-border-light);border-radius:var(--radius-lg);color:#777f8d;margin-top:40px;padding:28px}.workspace-loading{background:var(--color-bg);min-height:100vh;color:var(--color-text-secondary);justify-content:center;align-items:center;display:flex}.mobile-drawer-backdrop{z-index:1000;background:#0000008c;display:none;position:fixed;inset:0}.mobile-drawer{background:var(--color-bg-sidebar);width:min(84vw,310px);height:100%;box-shadow:12px 0 40px #00000059}.mobile-drawer .workspace-sidebar{border-right:none;width:100%;min-width:0;max-width:none;height:100%}@media (width<=1799px),(aspect-ratio<=21/10){.workspace-split-area.secondary-open{grid-template-columns:minmax(0,1fr)}.workspace-splitter,.workspace-secondary-wrapper,.workspace-secondary-reopen{display:none}}@media (width>=1800px) and (aspect-ratio>=21/10){.workspace-secondary-reopen{display:flex}}.mobile-sheet-resize-handle{display:none}@media (width<=760px){.workspace-topbar{gap:8px;height:52px;padding:0 10px}.mobile-menu-button{display:flex}.back-button{width:32px;height:32px}.workspace-topbar-left{gap:8px}.logo{font-size:17px}.world-title-divider{display:none}.workspace-world-name{max-width:110px;font-size:12px}.language-selector select{max-width:98px;padding:6px 7px;font-size:12px}.workspace-body,.workspace-body.has-secondary-sidebar{width:100%;height:calc(100dvh - 52px);display:block;position:relative;overflow:hidden}.workspace-sidebar--desktop{display:none}.mobile-drawer-backdrop{display:block}.workspace-body.has-secondary-sidebar>.entity-tree-sidebar,.workspace-body.has-secondary-sidebar>.documents-explorer,.workspace-body.has-secondary-sidebar>.documents-tree-sidebar{border-right:none;width:100%;min-width:0;max-width:none;height:100%}.workspace-split-area,.workspace-split-area.secondary-open{width:100%;height:100%;display:block;overflow:hidden}.workspace-splitter,.workspace-secondary-wrapper,.workspace-secondary-reopen{display:none!important}.workspace-body.has-secondary-sidebar .workspace-split-area{z-index:800;width:100%;height:var(--mobile-sheet-height,34dvh);background:var(--color-bg);border-top:1px solid var(--color-border-light);pointer-events:none;border-radius:16px 16px 0 0;min-height:28dvh;max-height:92dvh;transition:transform .22s;position:fixed;bottom:0;left:0;right:0;overflow:hidden;transform:translateY(105%);box-shadow:0 -18px 50px #00000073}.workspace-body.has-secondary-sidebar .workspace-split-area:has(.entity-detail-panel,.entity-create-panel,.entity-edit-panel){pointer-events:auto;transform:translateY(0)}.workspace-body.has-secondary-sidebar .workspace-split-area:has(.documents-create-panel,.document-preview){pointer-events:auto;transform:translateY(0)}.workspace-body.has-secondary-sidebar .workspace-split-area.tutorial-mobile-sheet-open{pointer-events:auto;transform:translateY(0)}.workspace-body.has-secondary-sidebar .workspace-split-area:has(.entity-detail-panel,.entity-create-panel,.entity-edit-panel,.documents-create-panel,.document-preview) .mobile-sheet-resize-handle{z-index:50;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;height:26px;display:flex;position:absolute;top:0;left:0;right:0}.mobile-sheet-resize-pill{background:#4a515d;border-radius:999px;width:42px;height:4px;transition:width .12s,background .12s}.mobile-sheet-resize-handle:hover .mobile-sheet-resize-pill,.mobile-sheet-resize-handle.active .mobile-sheet-resize-pill{background:#707986;width:54px}.workspace-body.has-secondary-sidebar .workspace-split-area:before{display:none}.workspace-body.has-secondary-sidebar .workspace-main{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:auto;width:100%;height:100%;padding:30px 14px 24px;overflow:hidden auto}.mobile-sheet-is-resizing{-webkit-user-select:none;user-select:none}.mobile-sheet-is-resizing .workspace-split-area{transition:none!important}.mobile-sheet-is-resizing,.mobile-sheet-is-resizing *{cursor:ns-resize!important}}.secondary-pane-fixed-view{border:1px solid var(--color-border);color:var(--color-text-dim);white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:10px}.sidebar-item-main{align-items:center;gap:8px;min-width:0;display:flex}.sidebar-item-icon{color:#818d9b;flex-shrink:0;justify-content:center;align-items:center;width:16px;font-size:11px;display:inline-flex}.sidebar-item-pending{color:#7f8793}.sidebar-item-pending:hover{color:#aeb8c4}.sidebar-item-pending .sidebar-item-main{opacity:.72}.secondary-pane-title{align-items:center;gap:7px;display:flex}.secondary-pane-title-icon{color:#8ea9c4;flex-shrink:0;font-size:12px}.secondary-pane-view-select{min-width:135px;max-width:190px}.secondary-pane-content-workspace{padding:0;overflow:hidden}.embedded-workspace-layout{background:var(--color-bg);grid-template-columns:minmax(0,1fr);width:100%;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden;container-type:inline-size}.embedded-workspace-layout.has-explorer{grid-template-columns:minmax(190px,240px) minmax(0,1fr)}.embedded-workspace-explorer{border-right:1px solid var(--color-border);background:var(--color-bg-sidebar);min-width:0;min-height:0;overflow:hidden}.embedded-workspace-explorer>aside{border-right:none;width:100%;min-width:0;height:100%}.embedded-workspace-main{background:var(--color-bg);overscroll-behavior:contain;width:100%;min-width:0;height:100%;min-height:0;padding:clamp(18px,2vw,32px);overflow:auto}.embedded-workspace-main .smart-import-page{max-width:none;padding:8px 4px 40px}.embedded-workspace-main .documents-page-header,.embedded-workspace-main .entity-page-header{margin-top:0}.embedded-workspace-main .mobile-sheet-close{display:none}.secondary-pane-placeholder{min-height:100%;color:var(--color-text-dim);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:30px;display:flex}.secondary-pane-placeholder-icon{color:#71879d;margin-bottom:6px;font-size:28px}.secondary-pane-placeholder h3{color:var(--color-text-secondary);margin:0;font-size:15px}.secondary-pane-placeholder p{max-width:320px;margin:0;font-size:11px;line-height:1.6}.secondary-pane-empty{color:var(--color-text-dim);padding:22px;font-size:12px}@container (width<=720px){.embedded-workspace-layout.has-explorer{grid-template-columns:190px minmax(0,1fr)}.embedded-workspace-main{padding:16px}}@container (width<=520px){.embedded-workspace-layout.has-explorer{grid-template-columns:1fr}.embedded-workspace-explorer{display:none}.embedded-workspace-main{padding:14px}}.account-menu{position:relative}.account-menu-trigger{min-height:32px;color:var(--color-text-secondary);border:1px solid var(--color-border-light);cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:7px;padding:4px 8px;display:flex}.account-menu-trigger:hover{background:var(--color-bg-hover);color:#fff}.account-menu-avatar{color:#a8c7e5;background:#27313d;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:10px;font-weight:700;display:inline-flex}.account-menu-name{white-space:nowrap;text-overflow:ellipsis;max-width:120px;font-size:11px;overflow:hidden}.account-menu-arrow{color:var(--color-text-dim);font-size:9px}.account-menu-dropdown{z-index:2000;background:#181d24;border:1px solid #343d49;border-radius:8px;width:230px;padding:8px;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 14px 34px #00000061}.account-menu-profile{flex-direction:column;gap:3px;padding:8px;display:flex}.account-menu-profile strong{color:#edf1f5;font-size:12px}.account-menu-profile span{color:var(--color-text-dim);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.account-menu-divider{background:var(--color-border);height:1px;margin:5px 0}.account-menu-item{width:100%;color:var(--color-text-secondary);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:5px;align-items:center;padding:8px 9px;font-size:11px;display:flex}.account-menu-item:hover:not(:disabled){background:var(--color-bg-hover);color:#fff}.account-menu-item.danger{color:#d29b9b}.account-menu-item.danger:hover:not(:disabled){color:#efb2b2;background:#352124}.account-menu-item:disabled{opacity:.45;cursor:default}@media (width<=600px){.account-menu-name,.account-menu-arrow{display:none}.account-menu-trigger{padding:4px}.account-menu-dropdown{width:min(230px,100vw - 20px)}}.workspace-home-content{flex-direction:column;gap:18px;margin-top:38px;display:flex}.workspace-beta-notice{background:linear-gradient(135deg,#2d455e2e,#191d24e0);border:1px solid #354354;border-radius:9px;padding:20px 22px}.workspace-beta-notice-header{align-items:flex-start;gap:14px;display:flex}.workspace-beta-badge{color:#a9cce9;letter-spacing:.12em;background:#24394d;border:1px solid #38546f;border-radius:5px;flex:none;justify-content:center;align-items:center;min-height:24px;padding:3px 8px;font-size:9px;font-weight:700;display:inline-flex}.workspace-beta-notice h2{color:#edf1f5;margin:0;font-size:15px}.workspace-beta-notice p{color:#8f99a7;margin:6px 0 0;font-size:11px;line-height:1.6}.workspace-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.workspace-progress-card{background:#181c22;border:1px solid #2e3540;border-radius:8px;min-width:0;padding:18px}.workspace-progress-card-header{align-items:center;gap:9px;margin-bottom:13px;display:flex}.workspace-progress-card-header h3{color:#e1e5ea;margin:0;font-size:12px}.workspace-progress-icon{border-radius:50%;flex:0 0 22px;justify-content:center;align-items:center;width:22px;height:22px;font-size:10px;font-weight:700;display:inline-flex}.workspace-progress-icon.ready{color:#90c4a0;background:#3a704e2e;border:1px solid #498d6259}.workspace-progress-icon.development{color:#c8ad70;background:#82673129;border:1px solid #94783d4d}.workspace-progress-icon.planned{color:#8fb5dc;background:#35547629;border:1px solid #43688f57}.workspace-progress-list{color:#818b99;margin:0;padding-left:18px;font-size:10px;line-height:1.85}.workspace-progress-list li::marker{color:#566170}@media (width<=950px){.workspace-progress-grid{grid-template-columns:1fr}}@media (width<=600px){.workspace-beta-notice{padding:17px}.workspace-beta-notice-header{flex-direction:column}.workspace-progress-card{padding:16px}}.mimoria-beta-badge{color:#a9cce9;letter-spacing:.1em;vertical-align:middle;box-sizing:border-box;background:#24394d;border:1px solid #38546f;border-radius:5px;flex:none;justify-content:center;align-items:center;min-height:22px;padding:2px 7px;font-size:9px;font-weight:700;line-height:1;display:inline-flex}.mimoria-beta-badge--sidebar{letter-spacing:.08em;border-radius:4px;min-height:17px;margin-left:7px;padding:2px 5px;font-size:7px}.create-button{color:var(--color-bg);cursor:pointer;background:#e8e8e8;border:none;border-radius:7px;padding:11px 18px;font-weight:600}.create-button:hover{background:#fff}.create-panel{background:var(--color-bg-panel);border-radius:var(--radius-lg);border:1px solid #303640;margin-bottom:30px;padding:25px}.create-panel h2{margin-top:0}.create-panel form{flex-direction:column;gap:10px;display:flex}.create-panel label{color:#c5c9d1;margin-top:8px;font-size:14px}.create-panel input,.create-panel textarea,.field-select{background:var(--color-bg);color:#fff;border:1px solid var(--color-border-light);border-radius:var(--radius-sm);outline:none;width:100%;padding:11px 12px}.create-panel textarea{resize:vertical;min-height:90px}.create-panel input:focus,.create-panel textarea:focus,.field-select:focus{border-color:#767e8d}.form-buttons{justify-content:flex-end;gap:10px;margin-top:15px;display:flex}.form-buttons button{border-radius:var(--radius-sm);cursor:pointer;padding:9px 16px}.cancel-button{color:#b7bcc6;background:0 0;border:1px solid #3a404b}.cancel-button:hover{background:var(--color-bg-hover)}.save-button{color:var(--color-bg);background:#e8e8e8;border:none;font-weight:600}.save-button:hover:not(:disabled){background:#fff}.save-button:disabled{opacity:.45;cursor:not-allowed}.checkbox-row{cursor:pointer;align-items:center;gap:8px;margin-top:12px;display:flex!important}.checkbox-row input{width:auto}.small-action-button{color:var(--color-text-secondary);cursor:pointer;background:0 0;border:1px solid #3a404b;border-radius:5px;padding:5px 9px}.small-action-button:hover{color:#fff;background:#272c35}.small-action-button.danger:hover{background:#3a2020;border-color:#6c3434}.main-content{max-width:1200px;margin:0 auto;padding:50px 40px}.page-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:35px;display:flex}.page-header h1{margin:0 0 8px;font-size:32px}.page-header p{color:var(--color-text-muted);margin:0}.worlds-header-actions{flex-shrink:0;align-items:center;gap:9px;display:flex}.worlds-trash-button{min-height:40px;color:var(--color-text-secondary);border:1px solid var(--color-border-light);cursor:pointer;background:0 0;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.worlds-trash-button:hover{background:var(--color-bg-hover);color:#fff;border-color:var(--color-border-hover)}.worlds-trash-button:active{background:var(--color-bg-selected)}.worlds-header-actions .worlds-trash-button,.worlds-header-actions .create-button{box-sizing:border-box;white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:7px;width:112px;height:42px;min-height:42px;padding:0 14px;font-size:13px;line-height:1;display:inline-flex}.world-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;display:grid}.world-card{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:var(--radius-lg);cursor:pointer;gap:18px;min-height:155px;padding:22px;transition:transform .15s,border-color .15s;display:flex;position:relative}.world-card:hover{border-color:var(--color-border-hover);transform:translateY(-2px)}.world-icon{background:var(--color-bg-hover);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:28px;display:flex}.world-info{flex:1;min-width:0;padding-right:28px}.world-info h2{white-space:nowrap;text-overflow:ellipsis;margin:2px 0 8px;font-size:19px;overflow:hidden}.world-info p{color:#a5abb6;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 18px;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.updated-time{color:var(--color-text-dim);font-size:12px}.world-card-actions{z-index:20;position:absolute;top:12px;right:12px}.world-more-button{color:#89929f;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:20px;line-height:1;display:flex}.world-more-button:hover{background:var(--color-bg-hover);color:#fff;border-color:var(--color-border-light)}.world-context-menu{z-index:100;background:#1b1f26;border:1px solid #343b46;border-radius:7px;width:170px;padding:5px;position:absolute;top:37px;right:0;box-shadow:0 12px 30px #00000073}.world-context-item{width:100%;min-height:34px;color:var(--color-text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:5px;align-items:center;padding:7px 9px;font-size:12px;display:flex}.world-context-item:hover{background:var(--color-bg-selected);color:#fff}.world-context-item.danger{color:#d99a9a}.world-context-item.danger:hover{color:#ffd3d3;background:#3a2427}.world-delete-backdrop{z-index:90000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#040609c7;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.world-delete-dialog{background:#191d24;border:1px solid #3a414c;border-radius:10px;width:min(520px,100%);padding:24px;box-shadow:0 26px 80px #0000008c}.world-delete-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.world-delete-header h2{color:#eef1f5;margin:0 0 7px;font-size:20px}.world-delete-header p{color:var(--color-text-dim);margin:0;font-size:12px;line-height:1.6}.world-delete-close{color:#8f98a5;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:20px;display:flex}.world-delete-close:hover:not(:disabled){background:var(--color-bg-hover);color:#fff;border-color:var(--color-border-light)}.world-delete-close:disabled{opacity:.4;cursor:default}.world-delete-target{background:#13171c;border:1px solid #303641;border-radius:8px;align-items:center;gap:12px;margin-top:20px;padding:13px;display:flex}.world-delete-target-icon{background:#232933;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:22px;display:flex}.world-delete-target>div:last-child{min-width:0}.world-delete-target strong{color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;font-size:14px;display:block;overflow:hidden}.world-delete-target span{color:var(--color-text-dim);white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:11px;display:block;overflow:hidden}.world-delete-danger-note{color:#d9a2a2;background:#8936361f;border:1px solid #a2484847;border-radius:6px;margin-top:16px;padding:10px 11px;font-size:11px;line-height:1.55}.world-delete-confirm-label{color:#c3c9d2;margin-top:18px;font-size:12px;line-height:1.55;display:block}.world-delete-confirm-input{color:#eef1f5;background:#101419;border:1px solid #3a424e;border-radius:6px;outline:none;width:100%;min-height:42px;margin-top:8px;padding:9px 11px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;transition:border-color .15s,box-shadow .15s}.world-delete-confirm-input:focus{border-color:#775256;box-shadow:0 0 0 2px #974d531f}.world-delete-confirm-input:disabled{opacity:.55}.world-delete-error{color:#d99b9b;background:#8936361f;border:1px solid #a2484847;border-radius:6px;margin-top:10px;padding:8px 10px;font-size:11px}.world-delete-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.world-delete-actions button{border-radius:6px;min-height:38px;padding:8px 14px;font-size:12px}.world-delete-cancel{color:var(--color-text-secondary);border:1px solid var(--color-border-light);cursor:pointer;background:0 0}.world-delete-cancel:hover:not(:disabled){background:var(--color-bg-hover);color:#fff}.world-delete-confirm-button{color:#ffd0d0;cursor:pointer;background:#5b2c31;border:1px solid #824149;font-weight:600}.world-delete-confirm-button:hover:not(:disabled){background:#71343a;border-color:#9a5058}.world-delete-confirm-button:disabled{color:#696e76;cursor:not-allowed;background:#292b30;border-color:#393d44}.world-delete-cancel:disabled{opacity:.45;cursor:default}.empty-state{color:#777f8d;text-align:center;margin-top:80px}@media (width<=700px){.main-content{padding:30px 20px}.page-header{flex-direction:column;align-items:flex-start}.worlds-header-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.worlds-trash-button,.worlds-header-actions .create-button{width:100%;min-height:42px}.world-card{min-height:145px;padding:18px}.world-info{padding-right:24px}.world-delete-backdrop{align-items:flex-end;padding:12px}.world-delete-dialog{border-radius:12px;width:100%;padding:20px 17px}.world-delete-actions{grid-template-columns:1fr 1fr;display:grid}.world-delete-actions button{width:100%}}.onboarding-review-entry{z-index:1000;pointer-events:none;flex-direction:column;align-items:flex-end;gap:10px;display:flex;position:fixed;bottom:18px;right:18px}.onboarding-review-entry .onboarding-debug-button{pointer-events:auto;position:static}.onboarding-review-hint{color:#edf2f7;pointer-events:auto;background:#192028;border:1px solid #4a6075;border-radius:9px;width:min(320px,100vw - 36px);padding:14px 38px 14px 15px;position:relative;box-shadow:0 16px 44px #0000006b}.onboarding-review-hint:after{content:"";background:#192028;border-bottom:1px solid #4a6075;border-right:1px solid #4a6075;width:10px;height:10px;position:absolute;bottom:-6px;right:22px;transform:rotate(45deg)}.onboarding-review-hint strong{color:#eef3f8;margin-bottom:5px;font-size:13px;display:block}.onboarding-review-hint p{color:#9ca8b5;margin:0;font-size:11px;line-height:1.55}.onboarding-review-hint-close{color:#8693a1;cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:16px;display:inline-flex;position:absolute;top:8px;right:8px}.onboarding-review-hint-close:hover{background:var(--color-bg-hover);color:#fff}@media (width<=700px){.onboarding-review-entry{align-items:stretch;bottom:12px;left:12px;right:12px}.onboarding-review-hint{box-sizing:border-box;width:100%}.onboarding-review-entry .onboarding-debug-button{align-self:flex-end}}.entity-page-header{justify-content:space-between;align-items:center;gap:24px;width:min(100%,1600px);margin-bottom:30px;display:flex}.entity-page-header h1{margin:0 0 8px;font-size:clamp(26px,1.5vw,34px)}.entity-page-header p{color:#8f96a3;margin:0}.entity-type-grid{grid-template-columns:repeat(auto-fit,minmax(260px,340px));gap:clamp(14px,1.2vw,22px);width:100%;display:grid}.entity-type-card{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);cursor:pointer;border-radius:9px;gap:16px;min-height:120px;padding:20px;transition:border-color .15s,transform .15s;display:flex}.entity-type-card:hover{border-color:var(--color-border-hover);transform:translateY(-2px)}.entity-type-icon{background:var(--color-bg-hover);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:24px;display:flex}.entity-type-card h2{margin:2px 0 8px;font-size:18px}.entity-type-card p{color:#959ca8;margin:0;font-size:14px;line-height:1.5}.schema-header{justify-content:space-between;align-items:flex-start;gap:24px;width:min(100%,1200px);margin-bottom:36px;display:flex}.schema-title-row{align-items:center;gap:12px;display:flex}.schema-title-row h1{margin:0}.schema-icon{font-size:32px}.schema-header p{color:#8f96a3;margin-top:10px}.schema-section{width:min(100%,1200px)}.schema-section h2{margin-bottom:6px}.schema-help{color:#7f8795;margin-top:0;margin-bottom:20px}.schema-field-list{flex-direction:column;gap:8px;display:flex}.schema-field{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.schema-field strong{margin-bottom:4px;display:block}.built-in-field{border-style:dashed}.field-meta{align-items:center;gap:8px;display:flex}.field-type-badge{border:1px solid var(--color-border-light);color:#abb2bd;background:#252a33;border-radius:5px;padding:5px 9px;font-size:12px}.required-badge{background:#332525;border-radius:5px;padding:5px 8px;font-size:11px}.field-options-preview{color:var(--color-text-dim);margin-top:6px;font-size:12px}.schema-empty{border:1px dashed var(--color-border-light);border-radius:var(--radius-md);color:#757d8a;text-align:center;margin-top:14px;padding:24px}.schema-create-panel{width:min(100%,1200px);max-width:none;margin-top:30px}.select-options-editor{flex-direction:column;gap:8px;margin-top:8px;display:flex}.select-option-row{align-items:center;gap:8px;display:flex}.select-option-row input{flex:1}.option-remove-button{color:#b6bcc7;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #3a404b;flex-shrink:0;width:38px;height:38px}.option-remove-button:hover{color:#fff;background:#3a2020}.add-option-button{color:var(--color-text-secondary);border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #3a404b;align-self:flex-start;padding:8px 12px}.add-option-button:hover{background:var(--color-bg-hover);color:#fff}@media (width<=760px){.entity-page-header,.schema-header{flex-direction:column;align-items:stretch}.entity-type-grid{grid-template-columns:1fr}.schema-field{flex-direction:column;align-items:flex-start}.field-meta{flex-wrap:wrap}}.entity-type-card-shell{min-width:0;position:relative}.entity-type-card-shell .entity-type-card{text-align:left;width:100%;height:100%}.entity-type-card-delete{color:#7d8795;cursor:pointer;opacity:0;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;transition:opacity .12s,background .12s,border-color .12s,color .12s;display:flex;position:absolute;top:10px;right:10px}.entity-type-card-shell:hover .entity-type-card-delete,.entity-type-card-delete:focus-visible{opacity:1}.entity-type-card-delete:hover{color:#efaaaa;background:#382327;border-color:#61363c}.entity-type-delete-confirm{border:1px solid var(--color-border);background:#171a20;border-radius:7px;max-width:720px;margin-bottom:18px;padding:13px}.entity-type-delete-confirm-title{color:var(--color-text-secondary);font-size:12px;line-height:1.5}.entity-type-delete-target{background:var(--color-bg);border:1px solid var(--color-border);color:var(--color-text);border-radius:5px;align-items:center;gap:8px;margin-top:8px;padding:8px 9px;font-size:12px;display:flex}.entity-type-delete-hint{color:var(--color-text-dim);margin-top:8px;font-size:10px;line-height:1.6}.entity-type-delete-error{color:#d99b9b;margin-top:8px;font-size:10px}.entity-type-delete-actions{justify-content:flex-end;gap:7px;margin-top:10px;display:flex}.entity-type-delete-actions button{cursor:pointer;border-radius:5px;min-height:32px;padding:6px 10px;font-size:11px}.entity-type-delete-cancel{color:var(--color-text-secondary);border:1px solid var(--color-border-light);background:0 0}.entity-type-delete-cancel:hover:not(:disabled){background:var(--color-bg-hover)}.entity-type-delete-confirm-button{color:#ffc3c3;background:#4b292d;border:1px solid #744247}.entity-type-delete-confirm-button:hover:not(:disabled){background:#633338}.entity-type-delete-actions button:disabled{opacity:.5;cursor:wait}@media (width<=760px){.entity-type-card-delete{opacity:1}}.entity-create-panel,.entity-edit-panel{width:min(100%, var(--content-width));max-width:none}.entity-form-divider{background:#303640;height:1px;margin:20px 0}.selected-type-heading{align-items:center;gap:9px;margin-bottom:18px;font-size:18px;display:flex}.dynamic-field{flex-direction:column;gap:8px;margin-top:10px;display:flex}.required-star{color:#d98585;margin-left:4px}.entity-checkbox{margin-top:2px}.entity-grid{grid-template-columns:repeat(auto-fill,minmax(240px,320px));gap:16px;display:grid}.entity-card{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);cursor:pointer;border-radius:9px;align-items:center;gap:15px;min-height:100px;padding:18px;transition:border-color .15s,transform .15s;display:flex}.entity-card:hover{border-color:var(--color-border-hover);transform:translateY(-2px)}.entity-card-icon{background:var(--color-bg-hover);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:23px;display:flex}.entity-card h2{margin:0 0 6px;font-size:17px}.entity-card p{color:#7f8794;margin:0;font-size:13px}.entity-browser-message{max-width:650px;color:var(--color-text-dim);margin-top:80px}.entity-browser-message h2{color:#a6adb8;margin-bottom:8px;font-size:20px}.entity-browser-message p{line-height:1.6}.entity-detail-panel{width:min(100%, var(--content-wide-width));background:var(--color-bg-panel-alt);border-radius:var(--radius-lg);border:1px solid #303640;min-width:0;margin-top:10px;overflow:hidden}.entity-detail-panel-header{border-bottom:1px solid var(--color-border-panel);justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;display:flex}.entity-detail-title{align-items:center;gap:14px;min-width:0;display:flex}.entity-detail-title>div:last-child{min-width:0}.entity-detail-icon{background:var(--color-bg-hover);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:25px;display:flex}.entity-detail-title h2{white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:22px;overflow:hidden}.entity-detail-title span{color:#777f8d;font-size:13px}.entity-detail-panel-body{padding:10px 24px 22px}.detail-field{border-bottom:1px solid #292e37;grid-template-columns:clamp(150px,18%,240px) minmax(0,1fr);align-items:start;gap:clamp(20px,3vw,42px);min-height:62px;padding:16px 0;display:grid}.detail-field:last-child{border-bottom:none}.detail-field-long{display:block}.detail-field-long .detail-field-label{margin-bottom:10px}.detail-field-label{color:#838b98;font-size:13px}.detail-field-value{color:#e2e5e9;white-space:pre-wrap;word-break:break-word;max-width:900px;font-size:14px;line-height:1.65}.detail-empty{color:#727a87;text-align:center;padding:35px}.entity-detail-panel-footer{border-top:1px solid var(--color-border-panel);color:#656d79;padding:12px 24px;font-size:11px}.mobile-sheet-close{display:none}@media (width<=760px){.entity-page-header{margin-bottom:18px;padding-right:38px;position:relative}.entity-page-header h1{font-size:22px}.entity-page-header p{font-size:13px}.mobile-sheet-close{border:1px solid var(--color-border-light);background:var(--color-bg-panel);width:32px;height:32px;color:var(--color-text-secondary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:0;font-size:20px;display:flex;position:absolute;top:0;right:0}.entity-detail-panel,.entity-create-panel,.entity-edit-panel{width:100%;margin-top:0}.entity-detail-panel{border-radius:8px}.entity-detail-panel-header{padding:16px}.entity-detail-panel-body{padding:6px 16px 16px}.detail-field{padding:13px 0;display:block}.detail-field-label{margin-bottom:7px}.entity-detail-panel-footer{padding:11px 16px}.entity-create-panel,.entity-edit-panel{padding:18px}.entity-browser-message{display:none}}.entities-delete-confirm{border-bottom:1px solid var(--color-border);background:#171a20;flex-shrink:0;padding:10px}.entities-delete-confirm-title{color:var(--color-text-secondary);font-size:11px;line-height:1.5}.entities-delete-target{background:var(--color-bg);border:1px solid var(--color-border);color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;border-radius:5px;margin-top:7px;padding:7px 8px;font-size:12px;overflow:hidden}.entities-delete-hint{color:var(--color-text-dim);margin-top:7px;font-size:10px;line-height:1.5}.entities-delete-actions{justify-content:flex-end;gap:6px;margin-top:8px;display:flex}.entities-delete-actions button{cursor:pointer;border-radius:5px;padding:6px 9px;font-size:11px}.entities-delete-cancel{color:var(--color-text-secondary);border:1px solid var(--color-border-light);background:0 0}.entities-delete-cancel:hover{background:var(--color-bg-hover)}.entities-delete-confirm-button{color:#ffc3c3;background:#4b292d;border:1px solid #744247}.entities-delete-confirm-button:hover{background:#633338}.entities-delete-error{color:#d99b9b;margin-top:7px;font-size:10px;line-height:1.5}.entity-tree-sidebar{width:var(--explorer-width);min-width:var(--explorer-width);max-width:var(--explorer-width);border-right:1px solid var(--color-border);background:#111419;flex-direction:column;min-height:0;display:flex;overflow:hidden}.entity-tree-header{z-index:30;border-bottom:1px solid var(--color-border);color:#9da4af;text-transform:uppercase;letter-spacing:.05em;background:#111419;flex-shrink:0;justify-content:space-between;align-items:center;min-height:46px;padding:0 12px;font-size:12px;font-weight:600;display:flex;position:relative}.tree-header-actions{align-items:center;gap:7px;display:flex}.tree-add-button{min-width:32px;height:30px;color:var(--color-text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;padding:0 7px;font-size:16px;line-height:1;display:inline-flex}.tree-add-button:hover{background:var(--color-bg-hover);border-color:var(--color-border-light);color:#fff}.entity-tree{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;width:100%;min-width:0;min-height:0;padding:6px 0;overflow:hidden auto}.folder-create-form{border-bottom:1px solid var(--color-border);flex-shrink:0;padding:7px}.folder-create-parent{color:#68717e;margin-bottom:5px;font-size:10px}.folder-create-row{align-items:center;gap:4px;display:flex}.folder-create-form input{color:#e4e7eb;background:#101319;border:1px solid #3b424e;border-radius:4px;outline:none;flex:1;min-width:0;padding:6px 7px}.folder-create-form input:focus{border-color:#687483}.folder-create-form button{color:#aab1bc;cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;width:28px;height:28px}.folder-create-form button:hover{color:#fff;background:#272c35}.tree-root-drop-zone{color:#535b67;border:1px dashed #0000;border-radius:4px;flex-shrink:0;margin:5px 7px;padding:5px 7px;font-size:10px;transition:background .12s,border-color .12s,color .12s}.tree-root-drop-zone.active{color:#d3dce7;background:#25303c;border-color:#7189a5}.explorer-row{color:#bec4cd;-webkit-user-select:none;user-select:none;border:1px solid #0000;align-items:center;width:100%;max-width:100%;min-height:30px;padding-right:5px;display:flex;position:relative;overflow:hidden}.explorer-row:hover{background:var(--color-bg-hover-soft)}.explorer-row.selected{background:var(--color-bg-selected);color:#fff}.explorer-drop-zone{z-index:5;pointer-events:none;position:absolute;left:0;right:0}.explorer-drop-zone-before{height:30%;top:0}.explorer-drop-zone-inside{height:40%;top:30%}.explorer-drop-zone-after{height:30%;bottom:0}.explorer-row.drop-inside-target{background:#25303c;border-color:#657890;box-shadow:inset 0 0 0 1px #7ea0c840}.explorer-row.drop-before:before,.explorer-row.drop-after:after{content:"";z-index:20;pointer-events:none;background:#3794ff;border-radius:999px;height:3px;position:absolute;left:5px;right:5px;box-shadow:0 0 0 1px #4f8fd859,0 0 8px #4f8fd8bf}.explorer-row.drop-before:before{top:0}.explorer-row.drop-after:after{bottom:0}.explorer-toggle{z-index:10;color:#747d89;cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:17px;height:28px;padding:0;display:flex;position:relative}.explorer-node-main{z-index:10;min-width:0;max-width:100%;height:28px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:5px;padding:0;display:flex;position:relative;overflow:hidden}.explorer-icon{text-align:center;flex-shrink:0;width:20px;font-size:14px}.explorer-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;overflow:hidden}.explorer-drag-overlay{width:var(--explorer-width);color:#fff;pointer-events:none;opacity:.82;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#252b3594;border:1px dashed #7ea0c8b8;align-items:center;min-height:30px;padding:0 5px 0 8px;display:flex;overflow:hidden;box-shadow:0 6px 18px #00000038}.explorer-drag-overlay .explorer-toggle,.explorer-drag-overlay .explorer-node-main{cursor:default}.explorer-add-child,.explorer-context-button,.explorer-drag-handle{z-index:10;cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;position:relative}.explorer-add-child{color:#0000;width:22px;height:24px;font-size:15px}.explorer-context-button{color:#0000;width:24px;height:24px;font-size:16px;line-height:1}.explorer-drag-handle{color:#0000;cursor:grab;width:22px;height:24px;font-size:12px}.explorer-row:hover .explorer-add-child{color:#747d89}.explorer-row:hover .explorer-context-button{color:#77808d}.explorer-row:hover .explorer-drag-handle{color:#67707d}.explorer-add-child:hover,.explorer-context-button:hover{background:#303640;color:#fff!important}.explorer-drag-handle:active{cursor:grabbing}.explorer-rename-wrap{z-index:10;flex:1;align-items:center;gap:5px;min-width:0;height:28px;display:flex;position:relative}.explorer-rename-input{color:#fff;background:#101318;border:1px solid #66778d;border-radius:3px;outline:none;flex:1;min-width:0;height:24px;padding:2px 6px;font-size:13px}.explorer-rename-input:focus{border-color:#7f94ad}.explorer-context-menu{z-index:3000;background:#1b1f26;border:1px solid #343b46;border-radius:7px;width:190px;padding:5px;position:fixed;box-shadow:0 10px 28px #0000006b}.explorer-context-item{color:#c8cdd6;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:4px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:6px;width:100%;height:32px;padding:0 8px;font-size:12px;display:grid}.explorer-context-item:hover{background:var(--color-bg-selected);color:#fff}.explorer-context-item.danger{color:#d99a9a}.explorer-context-item.danger:hover{color:#ffd3d3;background:#3a2427}.explorer-context-divider{background:var(--color-border);height:1px;margin:4px 5px}@media (width<=760px){.entity-tree-sidebar{border-right:none;width:100%;min-width:0;max-width:none;height:100%}.entity-tree-header{min-height:50px;padding:0 14px}.explorer-row{min-height:42px;padding-right:8px}.explorer-toggle{width:24px;height:40px;font-size:17px}.explorer-node-main{height:40px}.explorer-icon{width:24px;font-size:17px}.explorer-name{font-size:14px}.explorer-add-child,.explorer-context-button{color:#737c89;width:32px;height:34px}.explorer-context-menu{width:min(210px,100vw - 16px)}.explorer-drag-handle,.tree-root-drop-zone{display:none}}.documents-tree-sidebar{background:#111419}.documents-explorer-message{color:var(--color-text-dim);padding:14px 12px;font-size:12px}.documents-explorer-message.error{color:#d88b8b}.documents-delete-confirm{border-bottom:1px solid var(--color-border);background:#171a20;flex-shrink:0;padding:10px}.documents-delete-confirm-title{color:var(--color-text-secondary);font-size:11px;line-height:1.5}.documents-delete-target{background:var(--color-bg);border:1px solid var(--color-border);color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;border-radius:5px;margin-top:7px;padding:7px 8px;font-size:12px;overflow:hidden}.documents-delete-hint{color:var(--color-text-dim);margin-top:7px;font-size:10px;line-height:1.5}.documents-delete-actions{justify-content:flex-end;gap:6px;margin-top:8px;display:flex}.documents-delete-actions button{cursor:pointer;border-radius:5px;padding:6px 9px;font-size:11px}.documents-delete-cancel{color:var(--color-text-secondary);border:1px solid var(--color-border-light);background:0 0}.documents-delete-cancel:hover{background:var(--color-bg-hover)}.documents-delete-confirm-button{color:#ffc3c3;background:#4b292d;border:1px solid #744247}.documents-delete-confirm-button:hover{background:#633338}.documents-action-error{color:#d99b9b;background:#913c3c21;border-bottom:1px solid #be5a5a40;flex-shrink:0;padding:7px 10px;font-size:11px}.documents-page-header{justify-content:space-between;align-items:center;gap:24px;width:min(100%,1600px);margin-bottom:30px;display:flex}.documents-page-header h1{margin:0 0 8px;font-size:clamp(26px,1.5vw,34px)}.documents-page-header p{color:#8f96a3;margin:0}.documents-mobile-close{display:none}.documents-create-panel{width:min(100%, var(--content-width));max-width:none}.documents-create-location{background:var(--color-bg-hover-soft);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-dim);margin-top:12px;padding:9px 10px;font-size:12px}.documents-browser-message{max-width:650px;color:var(--color-text-dim);margin-top:70px}.documents-browser-message h2{color:#a6adb8;margin:0 0 8px;font-size:20px}.documents-browser-message p{margin:0;line-height:1.6}.document-preview{flex-direction:column;flex:1;width:min(100%,1400px);min-width:0;min-height:0;display:flex}.document-preview-toolbar{border-bottom:1px solid var(--color-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 0 14px;display:flex}.document-preview-meta{color:var(--color-text-dim);font-size:12px}.document-sync-button{color:var(--color-text-secondary);border:1px solid var(--color-border-light);border-radius:var(--radius-sm);background:0 0;flex-shrink:0;padding:7px 12px}.document-sync-button:not(:disabled){cursor:pointer}.document-sync-button:not(:disabled):hover{background:var(--color-bg-hover)}.document-sync-button:disabled{opacity:.35;cursor:default}.document-preview-body{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;padding:42px 24px;overflow:hidden auto}.document-preview-text{width:min(100%,820px);color:var(--color-text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 auto;font-size:16px;line-height:1.85}.document-preview-placeholder{width:min(100%,820px);color:var(--color-text-dim);margin:0 auto}.document-preview-footer{border-top:1px solid var(--color-border);min-height:34px;color:var(--color-text-dim);flex-shrink:0;justify-content:flex-end;align-items:center;gap:16px;padding:5px 8px;font-size:11px;display:flex}.documents-context-menu{z-index:9999;border:1px solid var(--color-border-light);background:#1b1e24;border-radius:8px;width:200px;padding:5px;position:fixed;overflow:hidden;box-shadow:0 12px 32px #0000006b}.documents-context-menu button{width:100%;color:var(--color-text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:5px;padding:8px 10px;font-size:13px;display:block}.documents-context-menu button:hover{background:var(--color-bg-hover);color:#fff}.documents-context-menu button.danger{color:#e58f8f}.documents-context-divider{background:var(--color-border);height:1px;margin:4px 5px}@media (width>=761px){.documents-tree-sidebar{width:var(--explorer-width);min-width:var(--explorer-width);max-width:var(--explorer-width)}}@media (width<=760px){.documents-tree-sidebar,.documents-explorer{border-right:none;width:100%;min-width:0;max-width:none;height:100%}.documents-page-header{align-items:flex-start;gap:12px;width:100%;margin-bottom:18px;padding-right:42px;position:relative}.documents-page-header h1{margin-bottom:5px;font-size:22px}.documents-page-header p{font-size:13px;line-height:1.5}.documents-mobile-close{display:flex;position:absolute;top:0;right:0}.documents-create-panel{width:100%;max-width:none;margin:0;padding:18px}.documents-create-location{margin-top:9px}.document-preview{width:100%;min-width:0;min-height:0;margin:0}.document-preview-toolbar{gap:8px;padding:8px 0 12px}.document-preview-meta{min-width:0;font-size:11px}.document-sync-button{padding:6px 9px;font-size:12px}.document-preview-body{-webkit-overflow-scrolling:touch;min-height:0;padding:24px 4px;overflow-y:auto}.document-preview-text{font-size:15px;line-height:1.8}.document-preview-footer{justify-content:space-between;gap:8px;padding:7px 2px;font-size:10px}.documents-browser-message{display:none}.documents-context-menu{right:10px;bottom:max(10px, env(safe-area-inset-bottom));border-radius:12px;width:auto;padding:7px;top:auto!important;left:10px!important}.documents-context-menu button{min-height:44px;padding:10px 12px;font-size:14px}}.document-sync-button.needs-analysis{color:#91b6dc;border-color:#52677e}.document-sync-button.needs-analysis:not(:disabled){background:#486f9714}.document-sync-button.needs-analysis:not(:disabled):hover{color:#b5d1ec;background:#486f9729;border-color:#65809d}.story-suggestions{box-sizing:border-box;border-top:1px solid var(--color-border);background:#12161b;flex-shrink:0;width:100%;max-height:300px;padding:14px 0 16px;overflow-y:auto}.story-suggestions-header{justify-content:space-between;align-items:flex-start;gap:18px;padding:0 10px 12px;display:flex}.story-suggestions-header h3{color:#dce2e9;margin:0 0 3px;font-size:13px;font-weight:600}.story-suggestions-header p{color:var(--color-text-dim);margin:0;font-size:11px;line-height:1.45}.story-suggestions-count{box-sizing:border-box;color:#8fb7e3;background:#1b2128;border:1px solid #3b4653;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;min-width:24px;height:24px;padding:0 6px;font-size:10px;display:inline-flex}.story-suggestions-list{flex-direction:column;gap:8px;padding:0 10px;display:flex}.story-suggestion-card{background:#181d23;border:1px solid #2c343e;border-radius:7px;padding:10px 11px}.story-suggestion-card.status-accepted{background:#304d391f;border-color:#5c8e696b}.story-suggestion-card.status-ignored{opacity:.58}.story-suggestion-kind{color:#738195;letter-spacing:.06em;text-transform:uppercase;margin-bottom:7px;font-size:9px;font-weight:600}.story-suggestion-relation{min-width:0;color:var(--color-text-secondary);flex-wrap:wrap;align-items:center;gap:7px;font-size:12px;display:flex}.story-suggestion-relation strong{color:#dce5ed;font-weight:600}.story-suggestion-arrow{color:#596878}.story-suggestion-label{color:#86add3;background:#46709b24;border-radius:4px;padding:2px 6px;font-size:10px}.story-suggestion-source{color:#9ca6b3;background:#14191f;border-left:2px solid #3e5269;margin:9px 0 0;padding:7px 9px;font-size:10px;line-height:1.5}.story-suggestion-meta{color:#717c89;align-items:center;gap:12px;margin-top:8px;font-size:9px;display:flex}.story-suggestion-status.accepted{color:#79a987}.story-suggestion-status.ignored{color:#858d97}.story-suggestion-actions{justify-content:flex-end;gap:7px;margin-top:10px;display:flex}.story-suggestion-actions button{cursor:pointer;border-radius:5px;min-height:30px;padding:5px 10px;font-size:10px}.story-suggestion-actions button:disabled{opacity:.45;cursor:default}.story-suggestion-ignore{color:#9ca4ae;background:0 0;border:1px solid #39414b}.story-suggestion-ignore:hover:not(:disabled){background:#22272e}.story-suggestion-apply{color:#a8cbed;background:#263849;border:1px solid #405c76}.story-suggestion-apply:hover:not(:disabled){background:#30465b;border-color:#527596}.story-suggestions-empty,.story-suggestions-error{border-radius:6px;margin:0 10px;padding:11px;font-size:11px;line-height:1.5}.story-suggestions-empty{color:var(--color-text-dim);background:#171b20}.story-suggestions-error{color:#d19292;background:#8c3f3f1f;border:1px solid #aa4b4b38}@media (width<=760px){.story-suggestions{-webkit-overflow-scrolling:touch;background:#14181d;border:1px solid #292f38;border-radius:7px;width:auto;max-height:220px;margin:0 10px;padding:12px 0 14px}.story-suggestions-header,.story-suggestions-list{padding-left:9px;padding-right:9px}.story-suggestion-card{padding:10px}.story-suggestion-relation{gap:5px;font-size:11px}.story-suggestion-actions button{min-height:36px;padding:7px 11px}.story-suggestions-empty,.story-suggestions-error{margin-left:9px;margin-right:9px}}.story-suggestion-card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.story-suggestion-edited-badge{border:1px solid var(--border-color,#354052);opacity:.78;border-radius:999px;padding:2px 7px;font-size:11px}.story-recommended-type{background:#ffffff06;border:1px solid #344155;border-radius:7px;gap:8px;margin-top:12px;padding:10px;display:grid}.story-recommended-type-header{justify-content:space-between;align-items:center;display:flex}.story-recommended-type-value{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.story-recommended-type-state{opacity:.68;font-size:12px}.story-manual-type{gap:7px;margin-top:12px;display:grid}.story-suggestion-select,.story-suggestion-edit-grid input,.story-suggestion-edit-grid select{color:#e7edf5;width:100%;min-height:36px;font:inherit;background:#11161d;border:1px solid #354052;border-radius:6px;outline:none;padding:7px 10px}.story-suggestion-select:focus,.story-suggestion-edit-grid input:focus,.story-suggestion-edit-grid select:focus{border-color:#6784a8}.story-suggestion-select option,.story-suggestion-edit-grid select option{color:#e7edf5;background:#151b23}.story-suggestion-edit-grid{gap:10px;margin-top:8px;display:grid}.story-suggestion-edit-grid label{gap:5px;display:grid}.story-suggestion-recommended-apply,.story-suggestion-manual-apply,.story-suggestion-edit{color:#dbeaff;cursor:pointer;background:#172231;border:1px solid #42536a;border-radius:6px;min-height:32px;padding:6px 10px}.story-suggestion-recommended-apply:hover,.story-suggestion-manual-apply:hover,.story-suggestion-edit:hover{background:#1d2c3e}.story-suggestion-recommended-apply:disabled,.story-suggestion-manual-apply:disabled,.story-suggestion-edit:disabled{opacity:.48;cursor:default}.story-suggestion-meta-spaced{margin-top:8px}.story-suggestion-card.is-editing{border-color:#536a89}.document-editor-content h3{margin:.7em 0 .4em;font-size:1.25em;line-height:1.45}.document-editor-content a{color:#8dbdf0;text-decoration:underline}.document-editor-content pre{background:#111820;border:1px solid #354252;border-radius:7px;padding:12px 15px;font-family:monospace;overflow-x:auto}.document-editor-content code{overflow-wrap:anywhere}.document-editor-content hr{border:none;border-top:1px solid #485568;margin:24px 0}.document-editor-content ul,.document-editor-content ol{padding-left:25px}@media (width<=760px){.document-editor-toolbar{scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:5px;padding:7px 9px;overflow:auto hidden}.document-editor-toolbar-spacer{display:none}.document-editor-toolbar-group{flex-shrink:0}.document-editor-tool{min-width:36px;height:36px}.document-editor-toolbar-select,.document-editor-color-control{height:36px}}@container (width<=720px){.document-editor-toolbar{scrollbar-width:thin;flex-wrap:nowrap;overflow:auto hidden}.document-editor-toolbar-spacer{display:none}}.document-preview:has(.document-editor){flex:none;height:clamp(380px,100dvh - 170px,1000px);min-height:0;overflow:hidden}.document-preview-body:has(.document-editor){flex-direction:column;min-height:0;padding:12px 12px 0;display:flex;overflow:hidden}.document-preview-body>.document-editor{flex:1 1 0;min-height:0}@media (width<=760px){.document-preview:has(.document-editor){height:clamp(360px,100dvh - 170px,800px)}.document-preview-body:has(.document-editor){padding:8px 0 0}}.document-editor{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.document-editor-toolbar{box-sizing:border-box;scrollbar-width:thin;background:#15191f;border:1px solid #2a313b;border-radius:6px;flex-shrink:0;align-items:center;gap:5px;width:100%;min-height:46px;margin:0 0 12px;padding:7px 10px;display:flex;overflow:auto hidden}.document-editor-toolbar-group{flex-shrink:0;align-items:center;gap:3px;display:flex}.document-editor-toolbar-divider{background:var(--color-border);flex-shrink:0;width:1px;height:22px;margin:0 4px}.document-editor-toolbar-spacer{flex:1;min-width:12px}.document-editor-tool{min-width:31px;height:30px;color:var(--color-text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;padding:0 8px;font-size:12px;line-height:1;display:inline-flex}.document-editor-tool:hover:not(:disabled){background:var(--color-bg-hover);color:#fff}.document-editor-tool.active{background:var(--color-bg-selected);border-color:var(--color-border-light);color:#fff}.document-editor-tool:disabled{opacity:.3;cursor:default}.document-editor-strike-label{text-decoration:line-through}.document-editor-scroll{background:var(--color-bg);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-width:0;min-height:0;padding:12px 0 28px;overflow:hidden auto}.document-editor-content{box-sizing:border-box;color:#e6e9ee;caret-color:#8fb7e3;background:#171b21;border:1px solid #2a313b;border-radius:8px;outline:none;width:100%;min-height:420px;margin:0;padding:38px 42px 90px;font-size:16px;line-height:1.85;transition:background .15s,border-color .15s,box-shadow .15s;box-shadow:0 8px 28px #00000029}.document-editor-content.ProseMirror-focused{background:#1b2027;border-color:#506078;box-shadow:0 10px 32px #0003,0 0 0 1px #5e7ea429}.document-editor-content>:first-child{margin-top:0}.document-editor-content p{margin:0 0 1em}.document-editor-content h1{margin:1.35em 0 .55em;font-size:2em;line-height:1.25}.document-editor-content h2{margin:1.25em 0 .5em;font-size:1.5em;line-height:1.3}.document-editor-content h3{margin:1.2em 0 .45em;font-size:1.25em}.document-editor-content ul,.document-editor-content ol{margin:.7em 0 1em;padding-left:1.7em}.document-editor-content li{margin:.2em 0}.document-editor-content blockquote{color:var(--color-text-secondary);border-left:3px solid #56677c;margin:1.2em 0;padding:3px 0 3px 16px}.document-editor-content code{background:#1d222a;border-radius:4px;padding:2px 5px;font-size:.92em}.document-editor-content pre{border:1px solid var(--color-border);background:#0d1015;border-radius:7px;margin:1.2em 0;padding:14px 16px;overflow-x:auto}.document-editor-content pre code{background:0 0;padding:0}.document-editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#6f7885;pointer-events:none;height:0;font-style:italic}.document-editor-content::selection{background:#4f8fd852}.document-editor-content ::selection{background:#4f8fd852}.document-editor-statusbar{box-sizing:border-box;border-top:1px solid var(--color-border);width:100%;min-height:34px;color:var(--color-text-dim);flex-shrink:0;align-items:center;gap:10px;padding:5px 9px;font-size:11px;display:flex}.document-save-state{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.document-save-state-dot{background:#707985;border-radius:999px;flex-shrink:0;width:6px;height:6px}.document-save-state.state-dirty .document-save-state-dot{background:#b89a61}.document-save-state.state-saving .document-save-state-dot{background:#7795b8}.document-save-state.state-saved .document-save-state-dot{background:#6f9d7b}.document-save-state.state-error .document-save-state-dot{background:#c87575}.document-save-error{color:#cf8181;white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.document-editor-status-spacer{flex:1}.document-editor-loading{color:var(--color-text-dim);text-align:center;padding:40px 20px}.entity-mention{color:#79aee8;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#4784c41f;border-bottom:1px solid #79aee88c;border-radius:3px;padding:0 2px;transition:color .12s,background .12s,border-color .12s;position:relative}.entity-mention:hover{color:#a1c9f3;background:#4e91d738;border-bottom-color:#82b8ee}.entity-mention-tooltip{z-index:10000;box-sizing:border-box;width:min(270px,100% - 16px);color:var(--color-text);background:#1b2027;border:1px solid #394453;border-radius:7px;gap:10px;padding:11px 12px;display:flex;position:absolute;box-shadow:0 12px 32px #0000006b}.entity-mention-tooltip.desktop-mode{pointer-events:none}.entity-mention-tooltip.touch-mode{pointer-events:auto}.entity-mention-tooltip-icon{background:#252c35;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:16px;display:flex}.entity-mention-tooltip-content{flex:1;min-width:0}.entity-mention-tooltip-content strong{color:#eef2f6;white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.entity-mention-tooltip-type{color:#8994a3;margin-top:2px;font-size:10px}.entity-mention-tooltip-content p{color:#aeb6c1;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:7px 0 0;font-size:11px;line-height:1.45;display:-webkit-box;overflow:hidden}.entity-mention-tooltip-hint{color:#6f9dcb;margin-top:8px;font-size:10px;display:block}.entity-mention-tooltip-open{box-sizing:border-box;color:#9bc6f1;cursor:pointer;background:#273444;border:1px solid #40536a;border-radius:5px;justify-content:center;align-items:center;width:100%;min-height:36px;margin-top:10px;padding:7px 10px;font-size:11px;font-weight:600;transition:background .12s,border-color .12s,color .12s;display:flex}.entity-mention-tooltip-open:hover{color:#c3dff8;background:#314258;border-color:#526c89}@media (width<=760px){.document-editor{width:100%;min-width:0;min-height:0;overflow:hidden}.document-editor-toolbar,.document-editor-content,.document-editor-statusbar{box-sizing:border-box}.document-editor-toolbar{scrollbar-width:thin;-webkit-overflow-scrolling:touch;background:#14181e;border:1px solid #2a313b;border-radius:6px;gap:4px;width:auto;min-height:44px;margin:0 10px 8px;padding:6px 8px;overflow:auto hidden}.document-editor-toolbar-group{flex-shrink:0}.document-editor-tool{flex-shrink:0;min-width:32px;height:32px;padding:0 7px;font-size:12px}.document-editor-toolbar-divider{height:20px;margin:0 2px}.document-editor-toolbar-spacer{min-width:4px}.document-editor-scroll{background:var(--color-bg);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-width:0;min-height:0;padding:8px 10px 16px;overflow:hidden auto}.document-editor-content{color:#e6e9ee;caret-color:#8fb7e3;background:#171b21;border:1px solid #2d3540;border-radius:7px;outline:none;width:100%;min-height:340px;margin:0;padding:22px 16px 60px;font-size:15px;line-height:1.78;transition:background .15s,border-color .15s,box-shadow .15s;box-shadow:0 5px 18px #00000024}.document-editor-content.ProseMirror-focused{background:#1b2027;border-color:#506078;box-shadow:0 6px 22px #0000002e,0 0 0 1px #5e7ea424}.document-editor-statusbar{border-top:1px solid var(--color-border);gap:7px;width:auto;min-height:32px;margin:0 10px;padding:6px 4px;font-size:10px}.document-save-state{gap:5px}.document-save-state-dot{width:5px;height:5px}.document-save-error,.document-editor-statusbar>span:last-child{display:none}.document-preview-toolbar,.document-preview-footer{margin-left:10px;margin-right:10px}.document-editor-content h1{font-size:1.6em}.document-editor-content h2{font-size:1.3em}.document-editor-content h3{font-size:1.15em}.document-editor-content ul,.document-editor-content ol{padding-left:1.4em}.document-editor-content blockquote{padding-left:12px}.entity-mention{color:#83b8ef;-webkit-tap-highlight-color:transparent;background:#4784c424;padding:0 1px}.entity-mention-tooltip{border-radius:9px;gap:10px;width:min(290px,100% - 24px);max-width:calc(100% - 24px);padding:12px;box-shadow:0 14px 36px #00000080}.entity-mention-tooltip.touch-mode{pointer-events:auto}.entity-mention-tooltip-icon{width:34px;height:34px;font-size:18px}.entity-mention-tooltip-content strong{font-size:14px}.entity-mention-tooltip-type{margin-top:3px;font-size:11px}.entity-mention-tooltip-content p{margin-top:8px;font-size:12px;line-height:1.45}.entity-mention-tooltip-open{touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-height:40px;margin-top:11px;font-size:12px}@media (width<=420px){.document-editor-toolbar{margin-left:8px;margin-right:8px}.document-editor-scroll{padding-left:8px;padding-right:8px}.document-editor-statusbar,.document-preview-toolbar,.document-preview-footer{margin-left:8px;margin-right:8px}.document-editor-content{min-height:320px;padding:20px 14px 54px;font-size:14.5px}.entity-mention-tooltip{width:min(280px,100vw - 20px);max-width:calc(100vw - 20px)}}}.document-editor{height:100%;min-height:0;max-height:100%;container-type:inline-size}.document-editor-toolbar{border:1px solid var(--color-border);z-index:20;background:#1a2029;border-radius:8px;flex-direction:column;flex:none;align-items:stretch;width:100%;min-width:0;margin:0 0 8px;padding:6px 8px;display:flex;overflow:visible}.document-editor-toolbar-main,.document-editor-toolbar-extra{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.document-editor-toolbar-main{width:100%}.document-editor-toolbar-extra{padding-top:5px}.document-editor-toolbar-expand{display:none}.document-editor-toolbar-select{appearance:none;color:#e3eaf3;cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#121a24;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239bafc7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:12px;border:1px solid #394858;border-radius:7px;outline:none;width:auto;min-width:0;max-width:170px;height:34px;padding:0 30px 0 11px;font-family:inherit;font-size:12px;line-height:1.3}.document-editor-toolbar-select:hover{background-color:#1c2938;border-color:#58718c}.document-editor-toolbar-select:focus-visible{border-color:#7aabd9;box-shadow:0 0 0 2px #679bcf2e}.document-editor-toolbar-select option{color:#e3eaf3;background:#192331}.document-editor-style-select{width:100px}.document-editor-font-select{width:150px}.document-editor-font-size{width:112px}.document-editor-align-select{width:115px}.document-editor-scroll{flex:1 1 0;min-height:0;overflow:hidden auto}@container (width<=680px){.document-editor-toolbar-main{flex-wrap:nowrap}.document-editor-toolbar-main .document-editor-tool{min-width:30px;padding:0 5px}.document-editor-toolbar-expand{color:#c9e4ff;cursor:pointer;background:#263849;border:1px solid #527195;border-radius:7px;flex:none;justify-content:center;align-items:center;width:38px;height:36px;margin-left:auto;font-size:20px;display:flex}.document-editor-toolbar-extra{display:none}.document-editor-toolbar.is-expanded .document-editor-toolbar-extra{align-content:flex-start;max-height:min(45dvh,260px);display:flex;overflow:hidden auto}.document-editor-toolbar{overflow:visible}.document-editor-toolbar-group{flex-wrap:wrap}.document-editor-style-select{flex:1;min-width:0}.document-editor-tool{min-width:35px;height:35px}}@media (width<=760px){.document-editor-toolbar{flex-direction:column;width:auto;margin:0 8px 8px;display:flex;overflow:visible}.document-editor-toolbar-main{flex-wrap:nowrap}.document-editor-toolbar-extra{flex-wrap:wrap}.document-editor-toolbar-expand{color:#c9e4ff;background:#263849;border:1px solid #527195;border-radius:7px;flex:none;justify-content:center;align-items:center;width:38px;height:36px;margin-left:auto;font-size:20px;display:flex}.document-editor-toolbar-extra{display:none}.document-editor-toolbar.is-expanded .document-editor-toolbar-extra{max-height:42dvh;display:flex;overflow:hidden auto}.document-editor-toolbar-main .document-editor-tool{min-width:30px;padding:0 5px}}.document-editor-color-control{box-sizing:border-box;color:#dce5ef;cursor:pointer;background:#121a24;border:1px solid #394858;border-radius:7px;flex-direction:column;flex:none;justify-content:center;align-items:center;width:36px;height:35px;padding:4px 5px;transition:background .15s,border-color .15s;display:inline-flex;position:relative}.document-editor-color-control:hover{background:#253449;border-color:#6285a9}.document-editor-color-control:focus-within{border-color:#7aabd9;box-shadow:0 0 0 2px #679bcf2e}.document-editor-color-icon{pointer-events:none;font-size:14px;font-weight:700;line-height:17px}.document-editor-color-preview{pointer-events:none;border-radius:2px;width:19px;height:4px;margin-top:2px;display:block}.document-editor-color-control input[type=color]{border-radius:inherit;opacity:0;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;display:block;position:absolute;inset:0}.document-editor-toolbar-extra{gap:7px 9px}.document-editor-toolbar-extra .document-editor-toolbar-group{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.document-editor-toolbar-extra .document-editor-tool{border-radius:6px;min-width:34px;height:34px;padding:0 7px}.document-editor-toolbar-main{gap:5px}.document-editor-toolbar-main .document-editor-tool{border-radius:6px;flex:none;min-width:30px;height:34px;padding:0 6px}.document-editor-toolbar-expand{cursor:pointer}@container (width<=680px){.document-editor-toolbar-main{gap:3px}.document-editor-toolbar-main .document-editor-style-select{background-position:right 5px center;flex:0 100px;width:100px;min-width:65px;height:35px;padding-left:7px;padding-right:20px}.document-editor-toolbar-main .document-editor-tool{min-width:27px;height:35px;padding:0 4px}.document-editor-toolbar-expand{width:35px;height:35px}.document-editor-toolbar-extra .document-editor-font-select{flex:140px;width:min(100%,170px)}.document-editor-toolbar-extra .document-editor-font-size{flex:0 0 112px;width:112px}.document-editor-toolbar-extra .document-editor-align-select{width:115px}}@container (width<=380px){.document-editor-toolbar{padding:6px 5px}.document-editor-toolbar-main{gap:2px}.document-editor-toolbar-main .document-editor-style-select{width:75px;min-width:60px;padding-left:6px;font-size:11px}.document-editor-toolbar-main .document-editor-tool{min-width:24px;height:32px;padding:0 2px;font-size:11px}.document-editor-toolbar-expand{width:32px;height:32px;font-size:17px}}.smart-import-page{box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto;padding:30px 34px 60px}.smart-import-page>div:first-child{margin-bottom:26px!important}.smart-import-page>div:first-child h1{color:var(--color-text);letter-spacing:-.02em;font-size:clamp(28px,2vw,38px);font-weight:700;margin:0 0 10px!important}.smart-import-page>div:first-child p{max-width:900px;color:var(--color-text-dim);font-size:14px;line-height:1.7;opacity:1!important;margin:0!important}.smart-import-page>section{border:1px solid var(--color-border);background:#14181d;border-radius:10px;padding:18px;gap:14px!important;margin-bottom:24px!important;display:grid!important}.smart-import-page>section>label{display:block}.smart-import-page>section>label>div{color:var(--color-text-secondary);font-size:13px;margin-bottom:10px!important;font-weight:600!important}.smart-import-page>section textarea{box-sizing:border-box;color:#e5e8ec;background:#101419;border:1px solid #323943;outline:none;transition:border-color .15s,box-shadow .15s,background .15s;resize:vertical!important;width:100%!important;min-height:220px!important;font:inherit!important;border-radius:8px!important;padding:15px 16px!important;font-size:14px!important;line-height:1.7!important}.smart-import-page>section textarea::placeholder{color:#666f7b}.smart-import-page>section textarea:hover{border-color:#414a57}.smart-import-page>section textarea:focus{background:#11161c;border-color:#607d9d;box-shadow:0 0 0 2px #5c7ea31f}.smart-import-page>section>div:last-child{min-height:40px}.smart-import-page>section>div:last-child>span{color:var(--color-text-dim);opacity:1!important;font-size:12px!important}.smart-import-page .cancel-button,.smart-import-page .save-button{border-radius:6px;min-height:40px;padding:8px 14px}.smart-import-page>section+div{color:var(--color-text-dim);opacity:1!important;font-size:12px!important}.smart-import-page .story-suggestions{background:0 0;border-top:none;width:100%;max-height:none;margin-top:12px;padding:0;overflow:visible}.smart-import-page .story-suggestions-header{border-bottom:1px solid var(--color-border);margin-bottom:8px;padding:15px 0}.smart-import-page .story-suggestions-header h3{color:#e2e6eb;font-size:15px}.smart-import-page .story-suggestions-header p{color:var(--color-text-dim);margin-top:4px;font-size:12px;line-height:1.55}.smart-import-page .story-suggestions-count{color:#9dc6ed;background:#18212a;border-color:#3a4b5c;min-width:26px;height:26px}.smart-import-page .story-suggestions-list{gap:12px;padding:0}.smart-import-page .story-suggestion-card{background:#151a20;border:1px solid #303944;border-radius:9px;padding:14px;transition:border-color .15s,background .15s}.smart-import-page .story-suggestion-card:hover{background:#171d24;border-color:#3d4855}.smart-import-page .story-suggestion-kind{color:#8492a3;font-size:10px}.smart-import-page .story-suggestion-relation{gap:8px;font-size:13px}.smart-import-page .story-suggestion-relation strong{color:#eef2f6}.smart-import-page .story-suggestion-source{color:#aeb8c4;background:#11161b;border-left:2px solid #49647f;margin-top:12px;padding:9px 11px;font-size:11px;line-height:1.55}.smart-import-page .story-suggestion-meta{color:#7f8b99;margin-top:10px;font-size:10px}.smart-import-page .story-suggestion-edit-grid{gap:12px;width:100%;display:grid}.smart-import-page .story-suggestion-edit-grid>label{gap:6px;margin:0;display:grid}.smart-import-page .story-suggestion-edit-grid>label>.story-suggestion-label{color:#92a5b9;background:0 0;width:auto;margin:0;padding:0;font-size:10px;font-weight:600;line-height:1.25;display:block}.smart-import-page .story-suggestion-edit-grid input[type=text],.smart-import-page .story-suggestion-edit-grid input[type=number],.smart-import-page .story-suggestion-edit-grid select,.smart-import-page .story-suggestion-edit-grid textarea{box-sizing:border-box;color:#e7edf5;width:100%;min-height:38px;font:inherit;background:#10151b;border:1px solid #354052;border-radius:6px;outline:none;padding:8px 11px;font-size:13px}.smart-import-page .story-suggestion-edit-grid textarea{resize:vertical;min-height:84px}.smart-import-page .story-suggestion-edit-grid input:focus,.smart-import-page .story-suggestion-edit-grid select:focus,.smart-import-page .story-suggestion-edit-grid textarea:focus{border-color:#6784a8;box-shadow:0 0 0 2px #5c7ea31a}.smart-import-page .story-suggestion-edit-grid select option{color:#e7edf5;background:#151b23}.smart-import-page .story-manual-type{margin-top:14px}.smart-import-page .story-suggestion-select{color:#e5ebf2;background:#10151b;border:1px solid #394655;border-radius:7px;min-height:40px}.smart-import-page .story-suggestion-select:focus{border-color:#6686aa}.smart-import-page .story-recommended-type{background:#121820;border:1px solid #36475b;border-radius:8px;margin-top:14px;padding:12px}.smart-import-page .story-suggestion-actions{gap:8px;margin-top:14px}.smart-import-page .story-suggestion-actions button{cursor:pointer;border-radius:6px;min-height:34px;padding:7px 12px;font-size:11px}.smart-import-page .story-suggestion-edit{color:#a9c9e8;background:0 0;border:1px solid #44617f}.smart-import-page .story-suggestion-edit:hover:not(:disabled){background:#42688f24}.smart-import-page .story-suggestion-ignore{color:#9ca5af;background:0 0;border:1px solid #3a414b}.smart-import-page .story-suggestion-ignore:hover:not(:disabled){color:#bcc4cd;background:#20262e}.smart-import-page .story-suggestion-apply{color:#bcd9f3;background:#263b50;border:1px solid #456887}.smart-import-page .story-suggestion-apply:hover:not(:disabled){background:#304a63;border-color:#557b9e}.smart-import-page .story-suggestion-secondary-button{color:#a9c9e8;cursor:pointer;background:#19232d;border:1px solid #405873;border-radius:6px;min-height:34px;padding:7px 11px;font-size:11px;font-weight:500;transition:background .12s,border-color .12s,color .12s}.smart-import-page .story-suggestion-secondary-button:hover:not(:disabled){color:#d0e4f7;background:#223140;border-color:#587696}.smart-import-page .story-suggestion-secondary-button:disabled{opacity:.4;cursor:not-allowed}.smart-import-page .story-suggestions-empty,.smart-import-page .story-suggestions-error{border-radius:7px;margin:0;padding:13px}.smart-import-page .story-recommended-fields-editor{background:#12171d;border:1px solid #303a46;border-radius:8px;grid-column:1/-1;padding:14px}.smart-import-page .story-recommended-fields-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.smart-import-page .story-recommended-fields-header .story-suggestion-label{color:#9ec1e2;background:#1c2a37;border-radius:4px;width:auto;margin:0;padding:3px 7px;font-size:10px;font-weight:600;display:inline-block}.smart-import-page .story-recommended-fields-help{color:#7f8c9a;max-width:720px;margin:6px 0 0;font-size:11px;line-height:1.5}.smart-import-page .story-recommended-fields-list{flex-direction:column;gap:10px;display:flex}.smart-import-page .story-recommended-field-card{background:#101419;border:1px solid #2d3641;border-radius:7px;padding:12px}.smart-import-page .story-recommended-field-main{grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto auto;align-items:end;gap:10px;display:grid}.smart-import-page .story-recommended-field-card .story-suggestion-label{color:#8497aa;background:0 0;border:none;width:auto;margin:0 0 6px;padding:0;font-size:10px;font-weight:600;line-height:1.2;display:block}.smart-import-page .story-recommended-field-card input[type=text],.smart-import-page .story-recommended-field-card input[type=number],.smart-import-page .story-recommended-field-card select,.smart-import-page .story-recommended-field-card textarea{box-sizing:border-box;color:#e7edf5;background:#0e1318;border:1px solid #34404d;border-radius:6px;outline:none;width:100%;min-height:38px;padding:8px 10px;font-size:13px}.smart-import-page .story-recommended-field-card input[type=text]:focus,.smart-import-page .story-recommended-field-card input[type=number]:focus,.smart-import-page .story-recommended-field-card select:focus,.smart-import-page .story-recommended-field-card textarea:focus{border-color:#617f9f;box-shadow:0 0 0 2px #617f9f1a}.smart-import-page .story-recommended-field-required{color:#b5bdc7;white-space:nowrap;cursor:pointer;align-items:center;gap:7px;min-height:38px;padding-bottom:1px;font-size:12px;display:inline-flex}.smart-import-page .story-recommended-field-required input[type=checkbox]{accent-color:#658eb7;cursor:pointer;flex:none;width:15px;height:15px;margin:0;padding:0}.smart-import-page .story-suggestion-danger-button{color:#c18a8a;cursor:pointer;background:0 0;border:1px solid #5a3838;border-radius:6px;min-height:38px;padding:7px 12px;font-size:11px;font-weight:500;transition:background .12s,border-color .12s,color .12s}.smart-import-page .story-suggestion-danger-button:hover:not(:disabled){color:#e7aaaa;background:#321e20;border-color:#754546}.smart-import-page .story-suggestion-danger-button:disabled{opacity:.4;cursor:not-allowed}.smart-import-page .story-recommended-field-extra{margin-top:12px;display:block}.smart-import-page .story-recommended-field-extra textarea{resize:vertical;width:100%;min-height:78px}.smart-import-page .story-recommended-field-concept{color:#778391;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px;font-size:10px;display:flex}.smart-import-page .story-recommended-field-concept span{color:#7f8fa1;background:#192029;border:1px solid #29333e;border-radius:4px;padding:2px 6px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:9px}.smart-import-page .story-recommended-fields-empty{color:#75808c;text-align:center;background:#101419;border:1px dashed #343d48;border-radius:6px;padding:15px;font-size:11px}@media (width<=900px){.smart-import-page .story-recommended-field-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (width<=760px){.smart-import-page{padding:18px 14px 36px}.smart-import-page>div:first-child h1{font-size:25px}.smart-import-page>section{padding:13px}.smart-import-page>section textarea{min-height:190px!important;padding:12px!important;font-size:13px!important}.smart-import-page .story-suggestions{background:0 0;border:none;width:100%;max-height:none;margin:10px 0 0}.smart-import-page .story-suggestions-header,.smart-import-page .story-suggestions-list{padding-left:0;padding-right:0}.smart-import-page .story-suggestion-card{padding:12px}.smart-import-page .story-suggestion-actions{flex-wrap:wrap}.smart-import-page .story-suggestion-actions button{min-height:38px}.smart-import-page .story-recommended-fields-header{flex-direction:column}}@media (width<=600px){.smart-import-page .story-recommended-field-main{grid-template-columns:1fr}.smart-import-page .story-suggestion-secondary-button,.smart-import-page .story-suggestion-danger-button{width:100%}}.smart-import-page .story-suggestion-card-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.smart-import-page .story-confidence-badge{white-space:nowrap;border-radius:999px;align-items:center;min-height:22px;padding:2px 7px;font-size:10px;font-weight:600;display:inline-flex}.smart-import-page .story-confidence-badge.low{color:#d7b577;background:#a6772d29;border:1px solid #b9893d61}.smart-import-page .story-suggestion-card.status-pending.confidence-low-confidence{background:linear-gradient(90deg,#77532321,#151a20 42%);border-color:#a6773285;box-shadow:inset 3px 0 #be8b3db8}.smart-import-page .story-suggestion-card.status-pending.confidence-low-confidence:hover{background:linear-gradient(90deg,#845b252e,#181e25 42%);border-color:#b9893da6}.smart-import-page .story-confidence-badge.very-low{color:#d79a91;background:#8e423a2b;border:1px solid #aa4e456b}.smart-import-page .story-suggestion-card.status-pending.confidence-very-low-confidence{background:linear-gradient(90deg,#68322e24,#151a20 44%);border-color:#91463f8a;box-shadow:inset 3px 0 #a74c44b8}.smart-import-page .story-suggestion-card.status-pending.confidence-very-low-confidence:hover{background:linear-gradient(90deg,#77373230,#181e25 44%);border-color:#a74c44a8}.smart-import-page .story-confidence-inline-note{color:#b79a66}.smart-import-page .story-confidence-inline-note.very-low{color:#bd817a}.smart-import-page .story-low-confidence-controls{justify-content:flex-end;margin:4px 0 10px;display:flex}.smart-import-page .story-low-confidence-toggle{color:#a98681;cursor:pointer;background:#713a3514;border:1px solid #84484257;border-radius:6px;min-height:31px;padding:5px 10px;font-size:10px;transition:background .12s,border-color .12s,color .12s}.smart-import-page .story-low-confidence-toggle:hover{color:#c5a19b;background:#7e413b26;border-color:#9d524a80}.smart-import-page .story-suggestion-source{line-height:1.7}.smart-import-page .story-suggestion-source-evidence{color:#f3f8fd;text-underline-offset:3px;font-weight:700;-webkit-text-decoration:underline #6baae26b;text-decoration:underline #6baae26b;text-decoration-thickness:1px}.auth-page{background:var(--color-bg);width:100%;min-height:100vh;color:var(--color-text);justify-content:center;padding:64px 20px;display:flex}.auth-container{width:100%;max-width:500px}.auth-brand{text-align:center;margin-bottom:24px}.auth-brand h1{color:#f1f3f5;letter-spacing:-.03em;margin:0;font-size:34px;font-weight:700}.auth-brand p{color:var(--color-text-dim);margin:8px 0 0;font-size:13px;line-height:1.6}.auth-card{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:10px;padding:28px;box-shadow:0 18px 45px #0000002e}.auth-card-header{margin-bottom:20px}.auth-card-header h2{color:#eef1f5;margin:0;font-size:20px}.auth-card-header p{color:var(--color-text-dim);margin:7px 0 0;font-size:12px;line-height:1.55}.auth-form{flex-direction:column;gap:9px;display:flex}.auth-form label{color:#c1c7d0;align-items:center;gap:7px;margin-top:7px;font-size:12px;display:flex}.auth-optional{color:var(--color-text-dim);font-size:10px}.auth-form input{color:#eef1f5;background:#11151a;border:1px solid #343c47;border-radius:6px;outline:none;width:100%;min-height:42px;padding:9px 12px;transition:border-color .15s,box-shadow .15s,background .15s}.auth-form input::placeholder{color:#68717d}.auth-form input:hover:not(:disabled){border-color:#46515f}.auth-form input:focus{background:#12171d;border-color:#607d9d;box-shadow:0 0 0 2px #607d9d1c}.auth-form input:disabled{opacity:.6}.auth-code-input{text-align:center;letter-spacing:.35em;font-weight:600;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace!important;font-size:22px!important}.auth-error,.auth-success{border-radius:6px;margin-top:8px;padding:10px 11px;font-size:11px;line-height:1.5}.auth-error{color:#d99b9b;background:#89363624;border:1px solid #a2484861}.auth-success{color:#9fc7ad;background:#40735424;border:1px solid #4f8a6559}.auth-primary-button{color:#171a1f;cursor:pointer;background:#e3e6ea;border:1px solid #e3e6ea;border-radius:6px;width:100%;min-height:42px;margin-top:13px;padding:9px 14px;font-weight:600}.auth-primary-button:hover:not(:disabled){background:#fff;border-color:#fff}.auth-primary-button:disabled{opacity:.42;cursor:not-allowed}.auth-footer,.auth-resend{color:var(--color-text-dim);justify-content:center;align-items:center;gap:6px;margin-top:20px;font-size:11px;display:flex}.auth-link,.auth-text-button{color:#8fb4da;text-decoration:none}.auth-link:hover{color:#b3cee9;text-decoration:underline}.auth-text-button{cursor:pointer;background:0 0;border:none;padding:0}.auth-text-button:hover:not(:disabled){color:#b3cee9;text-decoration:underline}.auth-text-button:disabled{color:#626c78;cursor:default}@media (width<=600px){.auth-page{padding:36px 14px}.auth-brand h1{font-size:29px}.auth-card{padding:21px 18px}}.auth-password-actions{justify-content:flex-end;margin-top:2px;font-size:11px;display:flex}.auth-brand-title{justify-content:center;align-items:center;gap:9px;display:flex}.account-page{background:var(--color-bg);min-height:100vh}.account-content{width:100%;max-width:980px;margin:0 auto;padding:42px 28px 70px}.account-page-header{margin-bottom:24px}.account-page-header h1{color:var(--color-text);margin:0;font-size:27px}.account-page-header p{color:var(--color-text-dim);margin:7px 0 0;font-size:12px;line-height:1.6}.account-layout{flex-direction:column;gap:18px;display:flex}.account-card{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:9px;padding:24px}.account-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.account-card-header h2,.account-session-card h2{color:var(--color-text);margin:0;font-size:16px}.account-card-header p,.account-session-card p{color:var(--color-text-dim);margin:6px 0 0;font-size:11px;line-height:1.55}.account-profile-avatar{color:#afd0ec;background:#26313d;border:1px solid #37485a;border-radius:50%;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;font-size:17px;font-weight:700;display:flex}.account-info-list{border-top:1px solid var(--color-border)}.account-info-row{border-bottom:1px solid var(--color-border);grid-template-columns:170px minmax(0,1fr);align-items:center;gap:18px;min-height:48px;display:grid}.account-info-label{color:var(--color-text-dim);font-size:11px}.account-info-value{overflow-wrap:anywhere;min-width:0;color:var(--color-text-secondary);font-size:12px}.account-info-value-with-badge{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-status-badge{color:#aeb7c2;background:#252c34;border:1px solid #39424d;border-radius:999px;align-items:center;min-height:21px;padding:2px 7px;font-size:9px;display:inline-flex}.account-status-badge.success{color:#9bc2a7;background:#3b734f21;border-color:#4b8b6257}.account-info-note{color:var(--color-text-dim);border:1px solid var(--color-border);background:#58687a14;border-radius:6px;margin-top:17px;padding:10px 11px;font-size:10px;line-height:1.5}.account-password-form{flex-direction:column;gap:8px;max-width:520px;display:flex}.account-password-form label{color:var(--color-text-secondary);margin-top:7px;font-size:11px}.account-password-form input{width:100%;min-height:40px;color:var(--color-text);background:#11151a;border:1px solid #343c47;border-radius:6px;outline:none;padding:8px 11px;transition:border-color .15s,box-shadow .15s}.account-password-form input:focus{border-color:#607d9d;box-shadow:0 0 0 2px #607d9d1c}.account-password-form input:disabled{opacity:.55}.account-password-hint{color:var(--color-text-dim);margin-top:-1px;font-size:9px}.account-form-actions{justify-content:flex-end;margin-top:12px;display:flex}.account-session-card{justify-content:space-between;align-items:center;gap:25px;display:flex}.account-logout-button{color:#d9a2a2;cursor:pointer;background:#8936361c;border:1px solid #a2484857;border-radius:6px;min-width:110px;padding:8px 14px}.account-logout-button:hover:not(:disabled){color:#efb7b7;background:#993d3d33}.account-logout-button:disabled{opacity:.5;cursor:default}@media (width<=700px){.account-content{padding:26px 15px 55px}.account-card{padding:19px 16px}.account-info-row{grid-template-columns:1fr;gap:4px;padding:11px 0}.account-session-card{flex-direction:column;align-items:stretch}.account-logout-button{width:100%}.account-password-form{max-width:none}}.account-password-submit{color:#171a1f;cursor:pointer;background:#d8dde4;border:1px solid #d8dde4;border-radius:6px;justify-content:center;align-items:center;min-width:120px;min-height:38px;padding:8px 16px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,color .15s,opacity .15s;display:inline-flex}.account-password-submit:hover:not(:disabled){background:#f0f3f6;border-color:#f0f3f6}.account-password-submit:active:not(:disabled){background:#c8ced6;border-color:#c8ced6}.account-password-submit:disabled{color:#69727e;cursor:not-allowed;opacity:1;background:#252b33;border-color:#343c46}.trash-account-main{width:100%;max-width:1200px;margin:0 auto;padding:50px 40px 70px}.trash-page{width:100%;max-width:1180px;margin:0 auto}.trash-page--world{padding:34px 34px 64px}.trash-page--account{padding:0}.trash-header{justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:22px;display:flex}.trash-header-copy{min-width:0}.trash-header h1{color:var(--color-text);margin:0 0 7px;font-size:clamp(28px,2vw,34px);line-height:1.2}.trash-header p{max-width:760px;color:var(--color-text-muted);margin:0;font-size:13px;line-height:1.6}.trash-scope-label{color:#8999aa;background:#1c222a;border:1px solid #313943;border-radius:999px;align-items:center;gap:6px;width:fit-content;min-height:24px;margin-top:11px;padding:3px 8px;font-size:10px;line-height:1;display:inline-flex}.trash-back-button{min-height:38px;color:var(--color-text-secondary);border:1px solid var(--color-border-light);border-radius:var(--radius-sm);cursor:pointer;background:0 0;flex-shrink:0;justify-content:center;align-items:center;gap:7px;padding:8px 13px;font-size:12px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.trash-back-button:hover{background:var(--color-bg-hover);color:#fff;border-color:var(--color-border-hover)}.trash-security-notice{border:1px solid var(--color-border);border-radius:var(--radius-md);background:#161b21;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:11px;margin-bottom:18px;padding:13px 14px;display:grid}.trash-security-icon{color:#8198af;background:#202833;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;font-size:11px;display:flex}.trash-security-notice strong{color:var(--color-text-secondary);margin:1px 0 4px;font-size:12px;display:block}.trash-security-notice p{color:var(--color-text-dim);margin:0;font-size:11px;line-height:1.55}.trash-category-tabs{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:26px;padding:0 0 13px;display:flex}.trash-category-tab{min-height:32px;color:var(--color-text-dim);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 9px;font-size:11px;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.trash-category-tab:hover{background:var(--color-bg-hover-soft);color:var(--color-text-secondary)}.trash-category-tab.active{background:var(--color-bg-selected);color:#fff;border-color:var(--color-border-light)}.trash-category-icon{color:#8493a4;justify-content:center;align-items:center;width:15px;display:inline-flex}.trash-category-tab.active .trash-category-icon{color:#b9cadb}.trash-category-count{color:#8b96a3;background:#ffffff0d;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:9px;display:inline-flex}.trash-section{margin-top:26px}.trash-section:first-of-type{margin-top:0}.trash-section-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.trash-section-header h2{color:#d8dde4;margin:0;font-size:14px;font-weight:600}.trash-section-header span{color:var(--color-text-dim);font-size:10px}.trash-list{flex-direction:column;gap:8px;display:flex}.trash-item-card{background:var(--color-bg-panel);border:1px solid var(--color-border-panel);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;min-width:0;padding:13px 14px;transition:background .12s,border-color .12s;display:grid}.trash-item-card:hover{background:#1c2027;border-color:#39404b}.trash-item-icon{background:var(--color-bg-hover);border-radius:var(--radius-md);flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;display:flex}.trash-item-content{min-width:0}.trash-item-title-row{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.trash-item-title{min-width:0;color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.trash-item-type{color:#8793a2;background:#222831;border:1px solid #323a45;border-radius:4px;padding:2px 6px;font-size:9px;line-height:1.2}.trash-item-description{color:var(--color-text-dim);white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:11px;overflow:hidden}.trash-item-meta{color:#6f7885;flex-wrap:wrap;align-items:center;gap:5px 12px;margin-top:7px;font-size:10px;display:flex}.trash-expiration{color:#9d927e}.trash-expiration.soon{color:#c48b8b}.trash-restore-button{color:#a9c7e3;cursor:pointer;background:#243140;border:1px solid #40546a;border-radius:6px;flex-shrink:0;min-width:78px;min-height:33px;padding:7px 10px;font-size:11px;font-weight:600;transition:background .12s,border-color .12s,color .12s}.trash-restore-button:hover:not(:disabled){color:#d0e3f5;background:#2d3c4d;border-color:#56718c}.trash-restore-button:disabled{opacity:.45;cursor:wait}.trash-empty{width:min(100%,620px);color:var(--color-text-dim);text-align:center;margin:54px auto 0;padding:32px 24px}.trash-empty-icon{opacity:.48;margin-bottom:12px;font-size:28px}.trash-empty h2{color:#a8b0bb;margin:0 0 7px;font-size:17px;font-weight:600}.trash-empty p{max-width:520px;margin:0 auto;font-size:11px;line-height:1.6}.trash-type-empty{color:var(--color-text-dim);border:1px dashed var(--color-border);border-radius:var(--radius-md);text-align:center;padding:22px;font-size:11px}.trash-error{color:#d99b9b;background:#913c3c1f;border:1px solid #be5a5a3d;border-radius:6px;margin-bottom:16px;padding:9px 11px;font-size:11px}.workspace-main .trash-page--world{min-width:0}@media (width<=760px){.trash-account-main{padding:28px 16px 54px}.trash-page--world{padding:24px 14px 54px}.trash-header{flex-direction:column;gap:13px}.trash-back-button{align-self:flex-start}.trash-category-tabs{scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto}.trash-category-tab{flex-shrink:0}.trash-item-card{grid-template-columns:auto minmax(0,1fr);align-items:start}.trash-restore-button{grid-column:1/-1;width:100%;margin-top:2px}}.onboarding-root{z-index:100000;pointer-events:none;position:fixed;inset:0}.onboarding-welcome-backdrop,.onboarding-blocker{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);pointer-events:auto;background:#05080cd1;position:fixed}.onboarding-welcome-backdrop{inset:0}.onboarding-focus-area{z-index:100001;pointer-events:none;border:1px solid #6b8ba859;border-radius:10px;position:fixed;box-shadow:0 0 26px #476c8f14}.onboarding-spotlight{z-index:100002;pointer-events:none;border:2px solid #87bef0f2;border-radius:8px;animation:1.8s ease-in-out infinite onboarding-pulse;position:fixed;box-shadow:0 0 0 2px #598dbd29,0 0 26px #5c9bd56b}@keyframes onboarding-pulse{0%,to{box-shadow:0 0 0 2px #598dbd21,0 0 20px #5c9bd552}50%{box-shadow:0 0 0 4px #598dbd33,0 0 34px #5c9bd58c}}.onboarding-interaction-blocker{z-index:100003;pointer-events:auto;cursor:default;background:0 0;position:fixed}.onboarding-target-interaction{z-index:100004;cursor:pointer;pointer-events:auto;background:0 0;border:none;border-radius:8px;outline:none;margin:0;padding:0;position:fixed}.onboarding-target-interaction:hover{background:#78b7ee09}.onboarding-target-interaction:focus-visible{outline-offset:2px;outline:2px solid #8bc2f2e6}.onboarding-top-controls{z-index:100020;pointer-events:auto;align-items:center;gap:10px;display:flex;position:fixed;top:18px;right:20px}.onboarding-step-counter{color:#9ba7b5;background:#141920f5;border:1px solid #3a4552;border-radius:6px;padding:7px 10px;font-size:10px}.onboarding-skip-button{z-index:100020;color:#d6dce4;cursor:pointer;pointer-events:auto;background:#181d24fa;border:1px solid #485462;border-radius:6px;min-height:34px;padding:7px 13px;position:fixed;top:18px;right:20px}.onboarding-skip-button:hover{color:#fff;background:#252d37;border-color:#607185}.onboarding-skip-inline{position:static}.onboarding-welcome-card{z-index:100010;color:#edf2f7;pointer-events:auto;background:#191e25;border:1px solid #3c4857;border-radius:12px;width:min(520px,100vw - 36px);padding:32px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 28px 80px #00000080}.onboarding-beta-badge{color:#a9cdec;letter-spacing:.13em;background:#273c51;border:1px solid #3b5875;border-radius:5px;align-items:center;min-height:24px;margin-bottom:17px;padding:3px 9px;font-size:9px;font-weight:700;display:inline-flex}.onboarding-welcome-card h1{margin:0 0 12px;font-size:27px}.onboarding-welcome-card p{color:#9da8b5;margin:0;font-size:13px;line-height:1.75}.onboarding-welcome-actions{justify-content:flex-end;margin-top:26px;display:flex}.onboarding-coachmark{z-index:100010;box-sizing:border-box;color:#edf2f7;pointer-events:auto;background:#192028;border:1px solid #4a6075;border-radius:9px;min-width:0;max-width:none;padding:18px;position:fixed;overflow:visible;box-shadow:0 18px 48px #0000007a}.onboarding-coachmark:before{content:"";pointer-events:none;background:#192028;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.onboarding-coachmark--bottom:before{top:-6px;left:calc(var(--onboarding-arrow-x,30px) - 5px);border-top:1px solid #4a6075;border-left:1px solid #4a6075}.onboarding-coachmark--top:before{bottom:-6px;left:calc(var(--onboarding-arrow-x,30px) - 5px);border-bottom:1px solid #4a6075;border-right:1px solid #4a6075}.onboarding-coachmark--right:before{left:-6px;top:calc(var(--onboarding-arrow-y,30px) - 5px);border-bottom:1px solid #4a6075;border-left:1px solid #4a6075}.onboarding-coachmark--left:before{right:-6px;top:calc(var(--onboarding-arrow-y,30px) - 5px);border-top:1px solid #4a6075;border-right:1px solid #4a6075}.onboarding-coachmark-eyebrow{color:#7da8cf;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;font-size:9px;font-weight:700}.onboarding-coachmark h2{color:#eef3f8;margin:0 0 7px;font-size:15px}.onboarding-coachmark p{color:#9ca8b5;margin:0;font-size:11px;line-height:1.6}.onboarding-click-hint{color:#93badf;margin-top:14px;font-size:10px}.onboarding-primary-button,.onboarding-secondary-button{z-index:2;cursor:pointer;pointer-events:auto;border-radius:6px;justify-content:center;align-items:center;min-height:35px;padding:7px 14px;font-size:11px;font-weight:600;display:inline-flex;position:relative}.onboarding-primary-button{color:#17202a;background:#dce7f1;border:1px solid #dce7f1;box-shadow:0 0 18px #9ecbf22e}.onboarding-primary-button:hover{background:#f1f7fc;border-color:#f1f7fc}.onboarding-secondary-button{color:#a7b1bd;background:0 0;border:1px solid #3d4855}.onboarding-secondary-button:hover{color:#fff;background:#252c35}.onboarding-coachmark-actions{z-index:2;pointer-events:auto;justify-content:flex-end;align-items:center;gap:8px;margin-top:15px;display:flex;position:relative}.onboarding-loading-card{z-index:100010;color:#aeb9c5;pointer-events:auto;background:#191e25;border:1px solid #3c4857;border-radius:8px;padding:14px 18px;font-size:11px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.onboarding-debug-button{z-index:1000;color:#b8cce0;cursor:pointer;background:#26313d;border:1px solid #3f5266;border-radius:6px;padding:7px 10px;position:fixed;bottom:18px;right:18px}@media (width>=601px) and (width<=1000px){.onboarding-coachmark{padding:17px}.onboarding-coachmark h2{font-size:15px}.onboarding-coachmark p{font-size:11px}}@media (width<=600px){.onboarding-top-controls{gap:8px;top:10px;right:10px}.onboarding-step-counter{padding:6px 9px;font-size:9px}.onboarding-skip-button{min-height:32px;padding:6px 11px;top:10px;right:10px}.onboarding-welcome-card{width:calc(100vw - 24px);padding:24px 20px}.onboarding-welcome-card h1{font-size:22px}.onboarding-welcome-card p{font-size:12px}.onboarding-coachmark{box-sizing:border-box;overflow-wrap:anywhere;word-break:normal;border-radius:9px;width:auto;min-width:0;max-width:calc(100vw - 24px);padding:16px}.onboarding-coachmark h2{margin-bottom:9px;font-size:18px;line-height:1.3}.onboarding-coachmark p{font-size:14px;line-height:1.5}.onboarding-coachmark p,.onboarding-coachmark h2,.onboarding-click-hint{overflow-wrap:anywhere;max-width:100%}.onboarding-coachmark-eyebrow{font-size:9px}.onboarding-click-hint{font-size:10px}.onboarding-primary-button,.onboarding-secondary-button{min-height:38px;padding:8px 14px;font-size:12px}.onboarding-coachmark--bottom:before,.onboarding-coachmark--top:before{left:calc(var(--onboarding-arrow-x,28px) - 5px)}.onboarding-coachmark--left:before,.onboarding-coachmark--right:before{top:calc(var(--onboarding-arrow-y,28px) - 5px)}}.onboarding-skip-button:disabled{opacity:.55;cursor:wait;pointer-events:none}.onboarding-celebration{z-index:100200;pointer-events:none;position:fixed;inset:0;overflow:hidden}.onboarding-confetti-group{pointer-events:none;position:absolute;inset:0}.onboarding-confetti-piece{width:var(--confetti-width,7px);height:var(--confetti-height,14px);background:var(--confetti-color,#fff);opacity:0;animation:onboarding-confetti-launch var(--confetti-duration,1.6s) cubic-bezier(.18, .7, .2, 1) var(--confetti-delay,0s) forwards;border-radius:2px;position:absolute;bottom:-24px;box-shadow:0 0 5px #ffffff1f}.onboarding-confetti-group--left .onboarding-confetti-piece{left:-8px}.onboarding-confetti-group--right .onboarding-confetti-piece{right:-8px}.onboarding-confetti-group--mobile{display:none}.onboarding-confetti-group--mobile .onboarding-confetti-piece{left:50%}@keyframes onboarding-confetti-launch{0%{opacity:0;transform:translate(0)rotate(0)scale(.7)}8%{opacity:1}58%{opacity:1;transform:translate(var(--confetti-x), var(--confetti-apex-y)) rotate(var(--confetti-rotation)) scale(1)}to{opacity:0;transform:translate(var(--confetti-end-x), var(--confetti-end-y)) rotate(calc(var(--confetti-rotation) + 260deg)) scale(.9)}}@media (width<=760px){.onboarding-confetti-group--left,.onboarding-confetti-group--right{display:none}.onboarding-confetti-group--mobile{display:block}}@media (prefers-reduced-motion:reduce){.onboarding-confetti-piece{animation-duration:1ms}}
