.set-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:5vh 24px;background:var(--color-bg-overlay);backdrop-filter:blur(6px)}.set-dialog{display:flex;flex-direction:column;width:min(960px,100%);height:min(720px,90vh);border-radius:14px;background:var(--surface);color:var(--text-primary);box-shadow:var(--shadow-modal-strong);overflow:hidden}.set-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:18px 22px}.set-title{margin:0;font-size:20px;font-weight:600;letter-spacing:-.01em}.set-close{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;border-radius:8px;background:none;color:var(--text-tertiary);cursor:pointer}.set-close:hover{background:var(--bg-hover);color:var(--text-primary)}.set-body{flex:1;min-height:0;display:flex}.set-nav{flex-shrink:0;width:232px;padding:8px 14px 16px;display:flex;flex-direction:column;gap:2px}.set-nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:none;border-radius:8px;background:none;font:inherit;font-size:14px;font-weight:400;color:var(--text-primary);cursor:pointer;text-align:left}.set-nav-item svg{flex-shrink:0;color:var(--text-secondary)}.set-nav-item:hover:not(.active){background:var(--bg-content)}.set-nav-item.active{background:var(--bg-hover);font-weight:600}.set-nav-item.active svg{color:var(--text-primary)}.set-pane{flex:1;min-width:0;display:flex;flex-direction:column;padding:8px 28px 24px;overflow-y:auto}.set-pane-title{margin:0 0 18px;font-size:18px;font-weight:600;letter-spacing:-.01em;line-height:1.2}.set-field{display:flex;align-items:center;gap:20px;min-height:52px;padding:10px 0;border-bottom:1px solid var(--border-subtle)}.set-field:last-child{border-bottom:none}.set-field-text{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:20px}.set-field-label{flex-shrink:0;font-size:14px;font-weight:400;color:var(--text-primary)}.set-field-value{font-size:14px;color:var(--text-secondary);text-align:right;user-select:text;word-break:break-all}.set-field-stack{display:flex;flex-direction:column;gap:3px;min-width:0}.set-field-desc{font-size:12px;line-height:1.45;color:var(--text-secondary)}.set-switch{position:relative;flex-shrink:0;width:40px;height:22px;padding:0;border:none;border-radius:11px;background:var(--bg-hover-strong);cursor:pointer;transition:background .15s ease}.set-switch:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-modal-strong);transition:left .15s ease}.set-switch[aria-checked=true]{background:var(--color-btn-primary)}.set-switch[aria-checked=true]:after{left:20px}.set-switch:disabled{opacity:.55;cursor:default}.set-select-wrap{position:relative;flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;cursor:pointer}.set-select-wrap:hover,.set-select-wrap:focus-within{background:var(--bg-hover)}.set-select-text{font-size:14px;color:var(--text-primary);white-space:nowrap}.set-select-wrap:after{content:"";flex-shrink:0;width:7px;height:7px;margin-top:-4px;border-right:1.5px solid var(--text-primary);border-bottom:1.5px solid var(--text-primary);transform:rotate(45deg)}.set-select{position:absolute;inset:0;opacity:0;font:inherit;cursor:pointer;color:var(--text-primary);background:var(--surface)}.set-select option{color:var(--text-primary);background:var(--surface)}.set-dd{flex-shrink:0}.set-dd .gs-dd-btn{height:auto;gap:6px;padding:4px 8px;border:none;border-radius:6px;background:none;font-size:14px;color:var(--text-primary)}.set-dd .gs-dd-btn:hover,.set-dd .gs-dd-btn:focus-visible{background:var(--bg-hover)}.set-dd .gs-dd-pop{min-width:180px}.set-dd .gs-dd-item{font-size:13px}.set-provider-logo{flex-shrink:0;display:inline-flex;width:16px;height:16px;margin-right:8px;color:var(--text-primary)}.set-provider-logo svg{width:100%;height:100%}.set-btn{flex-shrink:0;display:inline-flex;align-items:center;height:28px;padding:0 10px;border:none;border-radius:8px;background:var(--bg-hover);font:inherit;font-size:13px;font-weight:500;color:var(--text-primary);white-space:nowrap;cursor:pointer}.set-btn:hover{background:var(--bg-hover-strong)}.set-btn:disabled{opacity:.55;cursor:default}.set-btn.primary{border-color:var(--color-btn-primary);background:var(--color-btn-primary);color:var(--color-btn-primary-text)}.set-btn.primary:hover{background:var(--color-btn-primary-hover)}.set-btn.danger{color:var(--danger)}.set-pane-footer{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:flex-end;gap:8px}.set-input{flex-shrink:0;width:46%;min-width:200px;padding:6px 10px;border:1px solid var(--border-subtle);border-radius:6px;font:inherit;font-size:13px;color:var(--text-primary);background:var(--surface)}.set-input:focus{outline:none;border-color:var(--accent, var(--text-primary))}.set-input::placeholder{color:var(--text-tertiary, var(--text-secondary))}.set-ai-note{padding:8px 0 2px;line-height:1.5}.set-ai-status{display:inline-flex;align-items:center;gap:6px;min-width:0;margin-right:auto;padding:4px 10px 4px 8px;border:1px solid var(--border-subtle);border-radius:999px;font-size:12px;color:var(--text-secondary);background:var(--surface-subtle)}.set-ai-status.ok{color:var(--success);border-color:var(--success-border);background:var(--success-bg)}.set-ai-status.err{color:var(--danger);border-color:var(--danger-border);background:var(--danger-bg)}.set-ai-status-icon{flex-shrink:0}.set-ai-status-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.set-ai-spin{flex-shrink:0;width:12px;height:12px;border:2px solid var(--border-strong);border-top-color:var(--text-secondary);border-radius:50%;animation:set-ai-spin .8s linear infinite}@keyframes set-ai-spin{to{transform:rotate(360deg)}}:root{--surface: #ffffff;--surface-subtle: #f6f7f9;--chrome-bg: #ffffff;--canvas: #e6e6e6;--border: #e3e6ea;--border-subtle: #efefef;--border-strong: #d9d9d9;--border-hover: #d3d7dd;--text: #242424;--text-primary: #232425;--text-secondary: #606366;--text-tertiary: #909499;--text-muted: #878e96;--text-dim: #605e5c;--hover: #f5f5f5;--pressed: #edebe9;--active-bg: #eaeaea;--bg-hover: #f5f5f5;--bg-hover-subtle: #f0f2f5;--bg-hover-strong: #e8eaee;--bg-hover-accent: #e0e4ea;--bg-content: #fafafa;--icon-muted: #b9bfc7;--danger: #d13438;--danger-bg: #fdf3f3;--danger-border: #f0c8c9;--success: #107c41;--success-bg: #eaf7ef;--success-border: #c8e8d4;--color-bg-overlay: rgb(0 0 0 / 50%);--shadow-modal-strong: 0 20px 25px rgb(0 0 0 / 10%);--shadow-btn-hover: 0 2px 8px rgb(35 36 37 / 15%);--shadow-menu: 0 8px 24px rgb(0 0 0 / 18%);--gs-font-sans: "Arial", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--color-btn-primary: #232425;--color-btn-primary-hover: #393a3b;--color-btn-primary-text: #ffffff;--color-ai-action: #e8663f;--color-ai-action-hover: #d4552f;--color-ai-action-text: #ffffff;--color-brand-secondary: #0f7fff;--color-text-primary: #232425;--color-text-secondary: #606366;--color-text-tertiary: #909499;--color-bg-page: #ffffff;--color-bg-subtle: #f5f5f5;--color-border-default: #eaeaea;--color-border-strong: #d0d3d8;--color-border-brand: #0f7fff;--color-error: #ef4444;--color-error-hover: #dc2626;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-30: 30px;--transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--text-body-lg: 18px;--text-small: 14px;--text-caption: 12px;color-scheme:light}[data-theme=dark]{--surface: #1e1e1e;--surface-subtle: #2a2a2a;--chrome-bg: #252525;--canvas: #2b2b2b;--border: #3a3a3a;--border-subtle: #3a3a3a;--border-strong: #555;--border-hover: #555;--text: #e4e4e4;--text-primary: #e4e4e4;--text-secondary: #a0a0a0;--text-tertiary: #a0a0a0;--text-muted: #8a8a8a;--text-dim: #a0a0a0;--hover: #333;--pressed: #3c3c3c;--active-bg: #454545;--bg-hover: #333;--bg-hover-subtle: #333;--bg-hover-strong: #444;--bg-hover-accent: #444;--bg-content: #1a1a1a;--icon-muted: #666;--danger: #d13438;--danger-bg: #3a2020;--danger-border: #5a3030;--success: #52c082;--success-bg: #20342a;--success-border: #33543f;--color-bg-overlay: rgb(0 0 0 / 60%);--shadow-modal-strong: 0 20px 25px rgb(0 0 0 / 30%);--shadow-btn-hover: 0 2px 8px rgb(0 0 0 / 50%);--shadow-menu: 0 8px 24px rgb(0 0 0 / 55%);--color-btn-primary: #e4e4e4;--color-btn-primary-hover: #d0d0d0;--color-btn-primary-text: #1e1e1e;--color-ai-action: #e8663f;--color-ai-action-hover: #f07a55;--color-ai-action-text: #ffffff;--color-brand-secondary: #4a9eff;--color-text-primary: #e4e4e4;--color-text-secondary: #a0a0a0;--color-text-tertiary: #8a8a8a;--color-bg-page: #1e1e1e;--color-bg-subtle: #2a2a2a;--color-border-default: #3a3a3a;--color-border-strong: #555;--color-border-brand: #4a9eff;color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]){--surface: #1e1e1e;--surface-subtle: #2a2a2a;--chrome-bg: #252525;--canvas: #2b2b2b;--border: #3a3a3a;--border-subtle: #3a3a3a;--border-strong: #555;--border-hover: #555;--text: #e4e4e4;--text-primary: #e4e4e4;--text-secondary: #a0a0a0;--text-tertiary: #a0a0a0;--text-muted: #8a8a8a;--text-dim: #a0a0a0;--hover: #333;--pressed: #3c3c3c;--active-bg: #454545;--bg-hover: #333;--bg-hover-subtle: #333;--bg-hover-strong: #444;--bg-hover-accent: #444;--bg-content: #1a1a1a;--icon-muted: #666;--danger: #d13438;--danger-bg: #3a2020;--danger-border: #5a3030;--success: #52c082;--success-bg: #20342a;--success-border: #33543f;--color-bg-overlay: rgb(0 0 0 / 60%);--shadow-modal-strong: 0 20px 25px rgb(0 0 0 / 30%);--shadow-btn-hover: 0 2px 8px rgb(0 0 0 / 50%);--shadow-menu: 0 8px 24px rgb(0 0 0 / 55%);--color-btn-primary: #e4e4e4;--color-btn-primary-hover: #d0d0d0;--color-btn-primary-text: #1e1e1e;--color-ai-action: #e8663f;--color-ai-action-hover: #f07a55;--color-ai-action-text: #ffffff;--color-brand-secondary: #4a9eff;--color-text-primary: #e4e4e4;--color-text-secondary: #a0a0a0;--color-text-tertiary: #8a8a8a;--color-bg-page: #1e1e1e;--color-bg-subtle: #2a2a2a;--color-border-default: #3a3a3a;--color-border-strong: #555;--color-border-brand: #4a9eff;color-scheme:dark}}.ui-screentip{position:fixed;z-index:100000;max-width:280px;padding:5px 10px;border-radius:var(--radius-6);border:1px solid var(--border-strong);background:var(--surface);color:var(--text-primary);font:12px/1.45 var(--gs-font-sans);box-shadow:0 4px 14px #0000002e;pointer-events:none;visibility:hidden;white-space:pre-line}.ui-screentip-kbd{margin-left:6px;color:var(--text-tertiary)}.ui-screentip-detail{margin-top:2px;color:var(--text-secondary)}.gs-dd{position:relative;display:inline-flex;anchor-name:--gs-dd;anchor-scope:--gs-dd}.gs-dd-btn{box-sizing:border-box;display:flex;align-items:center;gap:6px;width:100%;min-width:0;height:26px;padding:0 5px 0 6px;border:1px solid var(--border-strong);border-radius:3px;background:var(--surface);color:var(--text);font-family:inherit;font-size:12px;text-align:left;cursor:pointer}.gs-dd-btn:focus-visible{border-color:var(--accent);outline:none}.gs-dd-btn:disabled{color:var(--text-dim);cursor:default}.gs-dd-value{flex:1;min-width:0;display:flex;align-items:center;overflow:hidden;white-space:nowrap}.gs-dd-caret{flex-shrink:0;display:flex;color:var(--text-dim)}.gs-dd-pop{position:fixed;position-anchor:--gs-dd;top:calc(anchor(bottom) + 2px);left:anchor(left);min-width:anchor-size(width);position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;position-visibility:anchors-visible;z-index:80;box-sizing:border-box;display:flex;flex-direction:column;gap:2px;max-height:320px;overflow-y:auto;padding:4px;background:var(--surface);border:1px solid var(--border-strong);border-radius:4px;box-shadow:var(--shadow-menu)}.gs-dd-item{display:flex;align-items:center;flex-shrink:0;border:none;background:none;color:var(--text);border-radius:3px;padding:5px 6px;font-family:inherit;font-size:12px;text-align:left;cursor:pointer}.gs-dd-item.active{background:var(--hover)}.gs-dd-item:disabled{color:var(--text-dim);cursor:default}.gs-dd-item.selected{background:var(--accent-soft)}:root{--accent: #0f7fff;--accent-hover: #0e72e5;--accent-soft: #eaf0fd;--modal-width-sm: 480px;--avatar-bg: #e8ebef;--badge-bg: #eaf0fd;--checkbox-bg: #ececec;--timeline-user-bg: #eef1f5;--timeline-user-text: #5a6170;--shadow-pill: 0 1px 2px rgb(0 0 0 / 8%);--logo-invert: 0}[data-theme=dark]{--accent: #3f99ff;--accent-hover: #5ba5ff;--accent-soft: #24354d;--avatar-bg: #333;--badge-bg: #2a3a4a;--checkbox-bg: #333;--timeline-user-bg: #2a2a3a;--timeline-user-text: #b0b0c0;--shadow-pill: 0 1px 2px rgb(0 0 0 / 40%);--logo-invert: 1}@media(prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]){--accent: #3f99ff;--accent-hover: #5ba5ff;--accent-soft: #24354d;--avatar-bg: #333;--badge-bg: #2a3a4a;--checkbox-bg: #333;--timeline-user-bg: #2a2a3a;--timeline-user-text: #b0b0c0;--shadow-pill: 0 1px 2px rgb(0 0 0 / 40%);--logo-invert: 1}}*{box-sizing:border-box}:root{--ui-cjk: "PingFang SC"}:root:lang(ja){--ui-cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo"}:root:lang(ko){--ui-cjk: "Apple SD Gothic Neo", "Malgun Gothic"}:root:lang(zh-TW){--ui-cjk: "PingFang TC", "Microsoft JhengHei"}body{margin:0;font-family:-apple-system,var(--ui-cjk),"Segoe UI","Microsoft YaHei",sans-serif;background:var(--surface);color:var(--text)}body.vib{background:transparent}body.vib .home{background:var(--surface)}.home{display:flex;height:calc(100vh - 40px)}.sidebar{display:flex;flex-direction:column;flex-shrink:0;width:232px;padding:18px 12px 16px;border-right:1px solid var(--border);overflow-y:auto}.sidebar-logo{display:flex;align-items:center;gap:9px;padding:0 8px;margin-bottom:20px}.logo-lockup{display:block;height:28px;width:auto;filter:invert(var(--logo-invert))}.sidebar-nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border:none;border-radius:8px;background:none;font:inherit;font-size:14px;color:var(--text);cursor:pointer;text-align:left}.nav-item:hover{background:var(--bg-hover)}.nav-item.active{background:var(--bg-hover);font-weight:600}.nav-item svg{flex-shrink:0;color:var(--text-primary)}.nav-label{flex-shrink:0}.nav-count{margin-left:auto;min-width:22px;text-align:center;font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.account-entry{position:relative;margin-top:auto;padding-top:12px;border-top:1px solid var(--border-subtle)}.account-btn{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:none;border-radius:10px;background:none;font:inherit;cursor:pointer;text-align:left}.account-btn:hover{background:var(--surface-subtle)}.account-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--avatar-bg);color:var(--text-muted);font-size:14px;font-weight:700}.account-avatar.logged-in{background:linear-gradient(135deg,#3d7ff5,#1b58cf);color:#fff}.account-avatar.waiting{color:var(--accent)}.account-spinner{animation:account-spin .9s linear infinite}@keyframes account-spin{to{transform:rotate(360deg)}}.account-text{display:flex;flex-direction:column;min-width:0;line-height:1.25;flex:1}.account-chevron{flex-shrink:0;margin-left:auto;color:var(--text-muted)}.account-name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-sub{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-sub.error{color:#b3261e}.login-hint{position:absolute;left:-8px;bottom:calc(100% + 4px);width:calc(100% + 16px);display:flex;align-items:center;gap:2px;padding:4px;border:1px solid var(--border-subtle);border-radius:10px;background:var(--surface);box-shadow:0 4px 20px #00000026;z-index:30}.login-hint button{border:none;background:none;font:inherit;cursor:pointer}.login-hint button:hover{background:var(--bg-hover)}.login-hint-open{flex:1;min-width:0;border-radius:7px;font-size:12.5px;line-height:17px;padding:4px 6px;color:var(--accent);text-align:start}.login-hint-copy{display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:center;width:25px;height:25px;padding:0;border-radius:7px;color:var(--text-muted)}.login-hint-copy:hover{color:var(--text-primary)}.login-hint-copy.copied{color:var(--accent)}.content{flex:1;min-width:0;padding:28px 36px 40px;overflow-y:auto;background:var(--bg-content)}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-label{font-size:14px;font-weight:600;letter-spacing:.02em;color:var(--text-tertiary)}.home-hero{margin:28px 0 20px}.hero-title{margin:0;font-size:28px;font-weight:700;letter-spacing:-.01em;line-height:1.3;color:var(--text-primary)}.hero-ask{display:block;margin-top:0;color:var(--text-primary);font-weight:500}.quick-cards{display:flex;align-items:stretch;gap:10px}.quick-card{position:relative;flex:1;min-width:0;max-width:280px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:18px 18px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font:inherit;text-align:left;cursor:pointer;transition:border-color .12s,box-shadow .12s}.quick-card:hover{border-color:var(--border-hover);box-shadow:0 3px 12px #00000014}.quick-card svg{flex-shrink:0}.quick-text{flex:1;min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.quick-title-row{max-width:100%;min-width:0;display:flex;align-items:center;gap:6px}.quick-title{min-width:0;overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.quick-sub{display:block;width:100%;overflow:hidden;font-size:12px;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.quick-folder{flex-shrink:0;width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;color:var(--text-muted)}.ai-chip{padding:1px 6px;border-radius:4px;background:var(--badge-bg);color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.03em}@media(max-width:1100px){.quick-cards{flex-wrap:wrap}.quick-card{flex:1 1 calc(50% - 5px);max-width:none}}.recents{margin-top:24px}.recents-toolbar{position:sticky;top:-28px;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:10px 0 14px;background:var(--bg-content)}.recents-heading{display:flex;align-items:baseline;gap:10px;transform:translateY(2px)}.file-count{font-size:14px;font-weight:600;color:var(--text-tertiary)}.filter-pills,.cloud-seg{display:flex;align-items:center;height:40px;padding:0 3px;border-radius:10px;background:var(--checkbox-bg);flex-shrink:0}.filter-pill,.cloud-seg button{padding:7px 15px;border:none;border-radius:8px;background:none;font:inherit;font-size:14px;color:var(--text-secondary);cursor:pointer;white-space:nowrap}.filter-pill:hover,.cloud-seg button:hover{color:var(--text)}.filter-pill.active,.cloud-seg button.active{background:var(--surface);color:var(--text);font-weight:600;box-shadow:var(--shadow-pill)}.empty{color:var(--text-muted);font-size:14px}.load-more{display:flex;justify-content:center;padding:14px 0}.load-more-spinner{width:16px;height:16px;border:2px solid var(--border);border-top-color:var(--text-muted);border-radius:50%;animation:load-more-spin .8s linear infinite}@keyframes load-more-spin{to{transform:rotate(360deg)}}.selection-bar{display:flex;align-items:center;gap:8px;min-height:40px}.selection-count{font-size:14px;color:var(--text);margin-right:4px}.selection-action{padding:5px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font:inherit;font-size:14px;cursor:pointer}.selection-action:hover{background:var(--surface-subtle)}.selection-action.danger{color:var(--danger);border-color:var(--danger-border)}.selection-action.danger:hover{background:var(--danger-bg)}.recent-table{border:1px solid var(--border);border-radius:12px;background:var(--surface)}.recent-columns,.recent-item{display:grid;grid-template-columns:18px 24px minmax(0,1fr) 110px 76px 24px 28px;align-items:center;gap:12px;padding:0 16px}.recent-columns{padding-top:11px;padding-bottom:11px;border-bottom:1px solid var(--border-subtle);font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--text-secondary)}.recent-columns .col-name{grid-column:2 / 4}.col-size{text-align:right}.recent-list{list-style:none;margin:0;padding:0}.recent-list li+li{border-top:1px solid var(--border-subtle)}.recent-item{width:100%;padding-top:14px;padding-bottom:14px;cursor:pointer;text-align:left}.recent-list li:last-child .recent-item{border-radius:0 0 12px 12px}.recent-row:hover .recent-item{background:var(--surface-subtle)}.recent-row:has(.row-check:checked) .recent-item{background:var(--bg-hover)}.recent-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.col-check{display:flex;align-items:center}.col-check input{width:14px;height:14px;margin:0;appearance:none;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);cursor:pointer}.col-check input:checked{border-color:var(--accent);background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat}.recent-item .row-check{opacity:1}.recent-icon{display:flex;align-items:center}.recent-name{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-item.missing .recent-name,.recent-item.missing .recent-path,.recent-item.missing .recent-icon{opacity:.55}.star-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:6px;background:none;color:var(--icon-muted);cursor:pointer}.star-btn:hover{background:var(--bg-hover-subtle)}.recent-item:hover .star-btn,.star-btn.starred{opacity:1}.star-btn:hover{color:#f5a623}.rename-input{min-width:0;padding:3px 7px;border:1.5px solid var(--accent);border-radius:6px;font:inherit;font-size:14px;outline:none;background:var(--surface)}.recent-path{font-size:12px;color:var(--text-tertiary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-time{font-size:12px;color:var(--text-tertiary);white-space:nowrap}.recent-size{font-size:12px;color:var(--text-tertiary);white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.recent-actions{position:relative;display:flex;justify-content:flex-end}.more-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:8px;background:none;color:var(--text-muted);cursor:pointer;transition:background .1s}.more-btn:hover,.more-btn[aria-expanded=true]{background:var(--bg-hover-strong);color:var(--text)}.row-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;min-width:160px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 28px #00000024;animation:menu-in .1s ease}@keyframes menu-in{0%{opacity:0;transform:translateY(-4px)}}.row-menu button{display:block;width:100%;padding:7px 10px;border:none;border-radius:6px;background:none;font:inherit;font-size:14px;text-align:left;cursor:pointer;white-space:nowrap}.row-menu button:hover{background:var(--surface-subtle)}.row-menu button.danger{color:var(--danger)}.row-menu button.danger:hover{background:var(--danger-bg)}.row-menu-divider{height:1px;margin:5px 6px;background:var(--border-subtle)}.btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:var(--radius-6);font:inherit;font-size:16px;font-weight:500;cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1)}.btn:active:not(:disabled){transform:scale(.98)}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px #23242533}.btn-secondary{background:var(--surface);border:1px solid var(--color-border-default);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--bg-hover);border-color:var(--border-hover)}.btn-danger{background:var(--color-error);border:none;color:#fff}.btn-danger:hover:not(:disabled){background:var(--color-error-hover)}.modal-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:var(--color-bg-overlay);backdrop-filter:blur(4px)}.modal{min-width:min(var(--modal-width-sm),90vw);max-width:500px;padding:24px;background:var(--surface);border-radius:var(--radius-8);box-shadow:var(--shadow-modal-strong);animation:menu-in .12s ease}.modal h3{margin:0 0 8px;font-size:16px}.modal p{margin:0;font-size:14px;line-height:1.6}.modal-file-list{margin:10px 0 0;padding:10px 12px;list-style:none;background:var(--surface-subtle);border-radius:8px;font-size:12px;color:var(--text-muted);max-height:150px;overflow-y:auto}.modal-file-list li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.8}.modal-buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.sidebar-divider{height:1px;margin:12px 0;background:var(--border-subtle)}.proj-panel{display:flex;flex-direction:column;min-height:0;flex:1}.proj-panel-head{display:flex;align-items:center;justify-content:space-between;padding:0 10px 6px}.proj-panel-title{font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--text-muted)}.proj-add-btn{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;border-radius:6px;background:none;color:var(--text-muted);cursor:pointer;transition:background .1s,color .1s}.proj-add-btn:hover{background:var(--surface-subtle);color:var(--text)}.proj-new-row{padding:0 8px 4px}.proj-rename-input{width:100%;padding:4px 8px;border:1.5px solid var(--accent);border-radius:6px;font:inherit;font-size:14px;outline:none;background:var(--surface)}.proj-rename-input.inline{flex:1;min-width:0;width:auto}.proj-list{list-style:none;margin:0;padding:0;overflow-y:auto}.proj-item{position:relative;display:flex;align-items:center;border-radius:8px;margin:0 2px 1px}.proj-item.active{background:var(--bg-hover)}.proj-item-main{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:8px 10px;cursor:pointer;border-radius:8px;user-select:none}.proj-item-main:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.proj-item:hover .proj-item-main{background:var(--bg-hover)}.proj-item.active .proj-item-main{background:none}.proj-item-icon{flex-shrink:0;color:var(--text-primary);display:flex;align-items:center}.proj-item-name{flex:1;min-width:0;font-size:14px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proj-item.active .proj-item-name{font-weight:600}.proj-item-meta{flex-shrink:0;display:flex;align-items:center;gap:4px}.proj-item-count{min-width:22px;text-align:center;font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.proj-menu-wrap{position:absolute;top:0;bottom:0;right:8px;display:flex;align-items:center;opacity:0;transition:opacity .1s}.proj-item:hover .proj-menu-wrap,.proj-menu-wrap:has([aria-expanded=true]){opacity:1}.proj-item:hover:has(.proj-menu-wrap) .proj-item-meta,.proj-item:has(.proj-more-btn[aria-expanded=true]) .proj-item-meta{opacity:0}.proj-more-btn{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;border-radius:6px;background:none;color:var(--text-muted);cursor:pointer;transition:background .1s,color .1s}.proj-more-btn:hover,.proj-more-btn[aria-expanded=true]{background:var(--bg-hover-accent);color:var(--text)}.proj-menu{position:fixed;z-index:30;min-width:140px;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #00000021;animation:menu-in .1s ease}.proj-menu button{display:block;width:100%;padding:6px 9px;border:none;border-radius:6px;background:none;font:inherit;font-size:14px;text-align:left;cursor:pointer;white-space:nowrap}.proj-menu button:hover{background:var(--surface-subtle)}.proj-menu button.danger{color:var(--danger)}.proj-menu button.danger:hover{background:var(--danger-bg)}.submenu-trigger{display:flex!important;align-items:center;width:100%}.move-menu-wrap{position:relative}.submenu{position:absolute;top:0;left:calc(100% + 4px);z-index:40;min-width:140px;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #00000021;animation:menu-in .1s ease}.submenu.submenu-left{left:auto;right:calc(100% + 4px)}.submenu button,.selection-move-menu button{display:block;width:100%;padding:6px 9px;border:none;border-radius:6px;background:none;font:inherit;font-size:14px;text-align:left;cursor:pointer;white-space:nowrap}.submenu button:hover,.selection-move-menu button:hover{background:var(--surface-subtle)}.selection-move-wrap{position:relative;display:inline-flex}.selection-move-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:40;min-width:140px;padding:5px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #00000021;animation:menu-in .1s ease}.content:has(.proj-empty){display:flex;flex-direction:column}.recents:has(.proj-empty){flex:1;display:flex;flex-direction:column}.proj-empty{flex:1;display:grid;place-content:center;justify-items:center;row-gap:14px;text-align:center;margin:0;padding-bottom:60px;color:var(--text-tertiary);line-height:1.7!important}.empty-hint{font-size:inherit;color:var(--text-secondary)}.timeline-section{margin-top:28px}.timeline-head{display:flex;align-items:center;gap:7px;width:100%;padding:0;border:none;background:none;font:inherit;cursor:pointer;margin-bottom:12px}.timeline-head:hover .section-label{color:var(--text)}.timeline-chevron{flex-shrink:0;color:var(--text-muted);transition:transform .15s;transform:rotate(-90deg)}.timeline-chevron.open{transform:rotate(0)}.timeline-count{margin-left:4px;font-size:12px;color:var(--text-muted);font-variant-numeric:tabular-nums}.timeline-empty{color:var(--text-muted);font-size:14px;padding-left:2px}.timeline-list{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.timeline-item{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;cursor:pointer;transition:background .1s}.timeline-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.timeline-list .timeline-item+.timeline-item{border-top:1px solid var(--border-subtle)}.timeline-item:hover{background:var(--surface-subtle)}.timeline-role{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;font-size:12px;font-weight:700;letter-spacing:-.01em}.timeline-role.user{background:var(--timeline-user-bg);color:var(--timeline-user-text)}.timeline-role.assistant{background:var(--badge-bg);color:var(--accent)}.timeline-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.timeline-filename{font-size:12px;font-weight:600;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-preview{font-size:14px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-ts{flex-shrink:0;font-size:12px;color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;padding-top:1px}.content:has(.cloud-projects){padding:40px 36px 0}.cloud-projects .proj-empty{flex:1}.cloud-hero{position:sticky;top:0;z-index:3;background:var(--bg-content);padding-bottom:12px}.cloud-hero:before{content:"";position:absolute;top:-40px;left:-36px;right:-36px;height:40px;background:var(--bg-content)}.cloud-hero-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.cloud-title{display:flex;align-items:center;gap:12px;margin:0;font-size:20px;font-weight:700;letter-spacing:-.01em;color:var(--text)}.cloud-subtitle{margin:8px 0 0;font-size:14px;color:var(--text-muted)}.cloud-sort-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:150px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0000001a;padding:4px;z-index:5}.cloud-sort-menu button{display:flex;align-items:center;gap:7px;width:100%;text-align:left;border:none;background:none;padding:8px 11px;font-size:13px;border-radius:7px;cursor:pointer;color:var(--text)}.cloud-sort-check{flex-shrink:0}.cloud-sort-menu button:hover{background:var(--surface-subtle)}.cloud-sort-menu button.active{font-weight:600}.cloud-controls{display:flex;align-items:center;gap:14px;margin-top:26px}.cloud-search{flex:1;max-width:520px;margin-left:auto;display:flex;align-items:center;gap:9px;height:40px;padding:0 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted)}.cloud-search:focus-within{border-color:var(--accent)}.cloud-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:14px;color:var(--text)}.cloud-search input::placeholder,.proj-rename-input::placeholder{color:var(--text-tertiary)}.cloud-scroll{margin-top:0}.cloud-table{border:1px solid var(--border);border-radius:12px;background:var(--surface)}.cloud-columns,.cloud-row{display:grid;grid-template-columns:24px minmax(0,1fr) 110px;align-items:center;gap:12px;padding:0 16px}.cloud-columns{padding-top:11px;padding-bottom:11px;border-bottom:1px solid var(--border-subtle);font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--text-secondary)}.cloud-columns .col-name{grid-column:1 / 3}.cloud-col-sort{position:relative;justify-self:start}.cloud-col-sort-btn{display:inline-flex;align-items:center;gap:4px;padding:2px 4px;margin:-2px -4px;border:none;border-radius:6px;background:none;font:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}.cloud-col-sort-btn:hover{color:var(--text-primary);background:var(--bg-hover)}.cloud-list{list-style:none;margin:0;padding:0}.cloud-list li+li{border-top:1px solid var(--border-subtle)}.cloud-row{width:100%;min-height:54px;padding-top:14px;padding-bottom:14px;border:none;background:none;cursor:pointer;text-align:left;font:inherit;color:var(--text)}.cloud-list li:last-child .cloud-row{border-radius:0 0 12px 12px}.cloud-row:hover{background:var(--surface-subtle)}.cloud-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.cloud-row-main{flex:1;min-width:0;display:flex;align-items:center;gap:11px}.cloud-row-title{flex:0 1 auto;min-width:0;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cloud-row-time{font-size:12px;color:var(--text-tertiary);white-space:nowrap;font-variant-numeric:tabular-nums}.cloud-row-external{flex-shrink:0;color:#c9ced4}.cloud-row:hover .cloud-row-external,.cloud-row:focus-visible .cloud-row-external{color:var(--text-secondary)}.nav-external{flex-shrink:0;margin-left:auto;margin-right:4px;color:var(--text-muted)}.cloud-refresh-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);background:var(--surface);border-radius:10px;color:var(--text);cursor:pointer}.cloud-refresh-btn:hover:not(:disabled){background:var(--surface-subtle)}.cloud-refresh-btn.syncing svg{animation:cloud-refresh-spin .9s linear infinite;color:var(--text-muted)}@keyframes cloud-refresh-spin{to{transform:rotate(360deg)}}.home-drop-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;background:var(--color-bg-overlay);pointer-events:none}.home-drop-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:36px 56px;background:var(--surface);border:2px dashed var(--accent);border-radius:var(--radius-16);box-shadow:var(--shadow-modal-strong);color:var(--accent);animation:menu-in .12s ease}.home-drop-card h2{margin:0;color:var(--text);font-size:17px;font-weight:600}.home-drop-card p{margin:0;color:var(--text-muted);font-size:12px;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:900px){.sidebar{width:200px}.content{padding:28px 20px 40px}.recents-toolbar{flex-wrap:wrap;gap:8px 12px}.recents-heading{white-space:nowrap}.recent-columns,.recent-item{grid-template-columns:18px 24px minmax(0,1fr) 110px 24px 28px}.recent-columns .col-path,.recent-columns .col-size,.recent-path,.recent-size{display:none}}html[data-host-mobile] .sidebar{display:none}html[data-host-mobile] .content{padding:28px 16px 40px}html[data-host-mobile] .filter-pills{flex-wrap:wrap;gap:2px;height:auto;min-height:40px;max-width:100%;padding:3px}html[data-host-mobile] .selection-bar{flex-wrap:wrap;row-gap:8px}html[data-host-mobile] .selection-action{white-space:nowrap}@media(max-width:480px){.recent-columns,.recent-item{grid-template-columns:18px 24px minmax(0,1fr) 24px 28px;gap:8px;padding:0 12px}.recent-columns .cloud-col-sort,.recent-time{display:none}}.quick-card-unavailable,.quick-card-unavailable:hover{border-color:#f3b4b4;background:#fff5f5;color:#4b2525;cursor:not-allowed;box-shadow:none;opacity:1}.quick-card-unavailable .quick-title-row{flex-wrap:wrap}.quick-card-unavailable .quick-sub{color:#785454}.unavailable-chip{flex-shrink:0;padding:3px 8px;border-radius:5px;background:#b42318;color:#fff;font-size:13px;font-weight:800;line-height:1.3;white-space:nowrap}.quick-unavailable-note{margin-top:5px;color:#b42318;font-size:13px;font-weight:700}.tab-bar{--tabstrip-bg: #ebebeb;--tabstrip-text: #454746;--tabstrip-text-active: #1f1f1f;--tab-separator: rgba(0, 0, 0, .22);position:fixed;top:0;left:0;right:0;height:40px;display:flex;align-items:stretch;background:var(--tabstrip-bg);-webkit-app-region:drag;z-index:10}html.genoffice-popover-open .tab-bar{-webkit-app-region:no-drag}.tab-bar-drag-spacer{width:0;flex-shrink:0}.tab-strip{display:flex;align-items:stretch;flex:1 1 auto;min-width:0;padding:0 10px 0 4px;overflow-x:auto;scrollbar-width:none}.tab-strip::-webkit-scrollbar{display:none}.tab-item{-webkit-app-region:no-drag;position:relative;display:flex;align-items:center;gap:8px;margin-top:6px;padding:0 8px 6px 12px;flex:0 1 240px;min-width:104px;border-radius:10px 10px 0 0;cursor:pointer;color:var(--tabstrip-text);font-size:12.5px;user-select:none}.tab-item.tab-home{flex:0 0 auto;min-width:0;gap:6px;padding-right:27px}.tab-item:not(.active):not(:first-child):before{content:"";position:absolute;left:0;top:calc(50% - 3px);width:1px;height:16px;transform:translateY(-50%);background:var(--tab-separator)}.tab-item:not(.active):hover:before,.tab-item:hover+.tab-item:not(.active):before,.tab-item.active+.tab-item:not(.active):before,.tab-item.drag-source+.tab-item:not(.active):before{opacity:0}.tab-new-btn:before{content:"";position:absolute;left:-2.5px;top:50%;width:1px;height:16px;transform:translateY(-50%);background:var(--tab-separator)}.tab-item.active+.tab-new-btn:before,.tab-item:hover+.tab-new-btn:before,.tab-item.drag-source+.tab-new-btn:before,.tab-new-btn:hover:before{opacity:0}.tab-plate{position:absolute;inset:0 3px 6px;border-radius:9px;z-index:-1;pointer-events:none}.tab-item:not(.active):hover .tab-plate{background:#ffffffd9}.tab-item.active{color:var(--tabstrip-text-active);z-index:1}.tab-item.active .tab-plate{inset:0 3px;border-radius:10px 10px 0 0;background:var(--surface)}.tab-item.active .tab-plate:before,.tab-item.active .tab-plate:after{content:"";position:absolute;bottom:0;width:10px;height:10px}.tab-item.active .tab-plate:before{left:-10px;background:radial-gradient(circle at 0 0,transparent 9.5px,var(--surface) 10px)}.tab-item.active .tab-plate:after{right:-10px;background:radial-gradient(circle at 100% 0,transparent 9.5px,var(--surface) 10px)}.tab-item.drag-source .tab-plate{box-shadow:0 1px 6px #0000002e}.tab-strip.dragging .tab-item{transition:transform .15s cubic-bezier(.4,0,.2,1)}.tab-strip.dragging .tab-item.drag-source{transition:none;z-index:2}.tab-icon{flex-shrink:0;display:flex;align-items:center}.tab-title{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab-close{-webkit-app-region:no-drag;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:none;border-radius:50%;background:transparent;color:inherit;font-size:13px;line-height:1;padding:0;cursor:pointer}.tab-close:hover{background:#0000001a}.tab-new-btn{margin-left:4px}.tab-overflow-btn{margin:0 8px 0 2px}.tab-overflow-btn:before{content:"";position:absolute;left:-6px;top:50%;width:1px;height:16px;transform:translateY(-50%);background:var(--tab-separator)}.tab-new-btn,.tab-overflow-btn{-webkit-app-region:no-drag;position:relative;flex-shrink:0;align-self:center;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:50%;background:transparent;color:var(--tabstrip-text);cursor:pointer}.tab-new-btn:hover,.tab-overflow-btn:hover{background:#00000014}.app-frame-content{padding-top:40px}[data-theme=dark] .tab-bar{--tabstrip-bg: #2a2a2a;--tabstrip-text: #b0b0b0;--tabstrip-text-active: #e4e4e4;--tab-separator: rgba(255, 255, 255, .15)}[data-theme=dark] .tab-item.active .tab-plate{background:var(--surface)}[data-theme=dark] .tab-item:not(.active):hover .tab-plate{background:#ffffff14}[data-theme=dark] .tab-close:hover{background:#ffffff1f}[data-theme=dark] .tab-new-btn:hover,[data-theme=dark] .tab-overflow-btn:hover{background:#ffffff1a}@media(prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]) .tab-bar{--tabstrip-bg: #2a2a2a;--tabstrip-text: #b0b0b0;--tabstrip-text-active: #e4e4e4;--tab-separator: rgba(255, 255, 255, .15)}:root:not([data-theme=light]):not([data-theme=dark]) .tab-item.active .tab-plate{background:var(--surface)}:root:not([data-theme=light]):not([data-theme=dark]) .tab-item:not(.active):hover .tab-plate{background:#ffffff14}:root:not([data-theme=light]):not([data-theme=dark]) .tab-close:hover{background:#ffffff1f}:root:not([data-theme=light]):not([data-theme=dark]) .tab-new-btn:hover,:root:not([data-theme=light]):not([data-theme=dark]) .tab-overflow-btn:hover{background:#ffffff1a}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.app-frame{display:flex;flex-direction:column;height:100dvh;padding-top:40px;overflow:hidden}.app-frame.app-frame-hosted{padding-top:0}.app-frame.app-frame-hosted .home{height:100vh}.app-frame-content{padding-top:0;flex:1;min-height:0;position:relative}.app-frame>iframe{display:block;flex:1;width:100%;min-height:0}
