:root{--accent: #BE5A3C;--accent-hover: #A8431F;--accent-light: #F6E4DC;--accent-rgb: 190, 90, 60;--bg: #F3EFE8;--surface: #FFFFFF;--surface-2: #EAE4D9;--border: #C8BFAC;--text: #1A1816;--text-muted: #5C564B;--card-bg: #fff;--card-border: #e8e2d4;--input-border: #d8d2c4;--btn-border: #d0c8b8;--readonly-bg: #f8f5ee;--progress-bg: #ece6d8;--soft-text: #1a1a1a;--soft-muted: #888;--soft-muted-2: #6b6b6b;--soft-muted-3: #555;--accent-flat: #c0533a;--accent-flat-h: #a0442f;--accent-tint-1: #fdf2ee;--accent-tint-2: #fdf6f3;--accent-tint-bd: #f0c9bc;--success-bg: #d4f4e2;--success-border: #a8e0bd;--success-text: #1a7a3e;--history-bg: #ede8e0;--history-accent: var(--accent-flat);--history-accent-hover: var(--accent-flat-h);--history-surface: #ffffff;--history-surface-warm: #f7f4f0;--history-border: #d4cfc4;--history-text: #2d2d2d;--history-text-muted: var(--soft-muted-2);--history-success: #10a37f;--history-neutral: #8b8b8b;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 12px rgba(0, 0, 0, .1);--shadow-lg: 0 12px 36px rgba(0, 0, 0, .18);--header-h: 56px;--sidebar-w: 80px;--right-bar-w: 80px;--box-h: calc((100vh - var(--header-h) - 2rem) * .95);--box-top: calc(var(--header-h) + (100vh - var(--header-h) - var(--box-h)) / 2);--right-panel-w: max(280px, calc(50vw - 440px) );--slider-w: calc(100vw - var(--sidebar-w) - var(--right-bar-w));--slider-min: 360px}html,body,#root{margin:0;padding:0;background:var(--bg);color:var(--text);height:100vh;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5}html.has-legal-page,html.has-legal-page body,html.has-legal-page #root,html.has-admin-page,html.has-admin-page body,html.has-admin-page #root{height:auto;overflow:auto}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover);text-decoration:underline}button{font:inherit;color:inherit;cursor:pointer}.app-shell{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr) var(--right-bar-w);grid-template-rows:var(--header-h) minmax(0,1fr);grid-template-areas:"header header header" "left   main   right";height:100vh;overflow:hidden}.app-header{grid-area:header}.sidebar{grid-area:left}.main-area{grid-area:main}.right-sidebar{grid-area:right}.auth-error{padding:3rem;font-family:inherit}.app-header{display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem;background:var(--surface);border-bottom:1px solid var(--border);z-index:50}.app-brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--accent)}.app-brand:hover{text-decoration:none}.app-brand-logo{display:block;height:16px;width:auto}.app-header-controls{display:flex;align-items:center;gap:.6rem}.header-username{font-size:.81rem;font-weight:600;color:var(--text-muted);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credit-chip{font-size:.78rem;font-weight:600;color:var(--accent);background:var(--accent-light);border:1px solid rgba(var(--accent-rgb),.3);border-radius:999px;padding:.25rem .7rem;cursor:pointer;font-family:inherit;position:relative;transition:background .15s ease,border-color .15s ease}.credit-chip:hover{background:rgba(var(--accent-rgb),.18);border-color:var(--accent)}.credit-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.credit-chip[data-tooltip]:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);padding:5px 10px;background:var(--soft-text);color:#fff;font-size:.72rem;font-weight:500;white-space:nowrap;border-radius:4px;box-shadow:0 2px 8px #0000002e;opacity:0;pointer-events:none;transition:opacity .12s ease;z-index:100}.credit-chip[data-tooltip]:hover:after,.credit-chip[data-tooltip]:focus-visible:after{opacity:1}.header-icon-btn{width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s ease,border-color .15s ease,background .15s ease;padding:0}.header-icon-btn:hover{color:var(--accent);border-color:var(--accent);background:var(--accent-light)}.header-icon-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sidebar{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.25rem 0;height:var(--box-h);box-sizing:border-box;align-self:center;margin:0 0 0 1rem;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-sm);overflow-y:auto}.sidebar-btn{position:relative;width:64px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:none;background:transparent;border-radius:10px;color:var(--text-muted);transition:background .15s ease,color .15s ease}.sidebar-btn:hover{background:var(--accent-light);color:var(--accent)}.sidebar-btn.active{background:rgba(var(--accent-rgb),.12);color:var(--accent);border:1px solid rgba(var(--accent-rgb),.3);box-shadow:0 1px 3px rgba(var(--accent-rgb),.15)}.sidebar-label{font-size:11px;font-weight:500;line-height:1}.sidebar-label--stacked{line-height:1.15;text-align:center}.main-area{display:flex;align-items:center;justify-content:center;height:calc(100vh - var(--header-h));min-height:0;padding:1rem 1.25rem;overflow:hidden;box-sizing:border-box}.copilot{width:100%;max-width:720px;display:flex;flex-direction:column;background:transparent;border:none;border-radius:0;overflow:hidden;height:var(--box-h);min-height:0;box-sizing:border-box}.long-context-banner{display:flex;align-items:center;gap:.6rem;padding:8px 12px;margin:0 0 8px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.35);border-radius:8px;color:#92560b;font-size:13px;line-height:1.4}.long-context-banner-icon{flex-shrink:0;color:#b45309}.long-context-banner-text{flex:1}.long-context-banner-action{flex-shrink:0;padding:4px 10px;border:1px solid rgba(245,158,11,.6);border-radius:6px;background:#fff;color:#92560b;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s ease}.long-context-banner-action:hover{background:#f59e0b1f}.long-context-banner-dismiss{flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;border-radius:4px;opacity:.6}.long-context-banner-dismiss:hover{opacity:1}[data-theme=dark] .long-context-banner{background:#f59e0b1f;border-color:#f59e0b73;color:#fcd34d}[data-theme=dark] .long-context-banner-icon{color:#fbbf24}[data-theme=dark] .long-context-banner-action{background:#ffffff0d;border-color:#f59e0b80;color:#fcd34d}[data-theme=dark] .long-context-banner-action:hover{background:#f59e0b2e}.chat-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text-muted);padding:2rem}.chat-state-error{color:#9b2c2c}.chat-empty-title{font-size:1.05rem;color:var(--text);margin:0 0 .25rem}.chat-empty-hint{margin:0;font-size:.92em;opacity:.85}.chat-list{flex:1;min-height:0;display:flex;flex-direction:column;gap:.75rem;overflow-y:auto;padding:1rem 1.25rem}.chat-bubble{max-width:96%;border-radius:14px;padding:.7rem 1rem;line-height:1.5;font-size:.95rem;box-shadow:var(--shadow-sm)}.chat-bubble-user{max-width:min(72ch,90%)}.chat-bubble-user{align-self:flex-end;background:var(--bg);color:var(--text);border-bottom-right-radius:6px;white-space:pre-wrap}.chat-bubble-bot{align-self:flex-start;background:var(--surface);border:1px solid var(--border);color:var(--text);border-bottom-left-radius:6px}.chat-bubble-bot .chat-bubble-body p:first-child{margin-top:0}.chat-bubble-bot .chat-bubble-body p:last-child{margin-bottom:0}.chat-bubble-bot .chat-bubble-body code{background:rgba(var(--accent-rgb),.12);padding:.1em .35em;border-radius:4px;font-size:.9em}.chat-bubble-bot .chat-bubble-body pre{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:.75rem;overflow-x:auto}.chat-bubble-bot .chat-bubble-body pre code{background:transparent;padding:0}.chat-bubble-body table{width:100%;border-collapse:collapse;margin:.75rem 0;font-size:.9em;border:1px solid var(--border);border-radius:6px;overflow:hidden}.chat-bubble-body th{background:var(--surface-warm);font-weight:600;text-align:left;padding:8px 12px;border-bottom:2px solid var(--border);color:var(--text-strong)}.chat-bubble-body td{padding:8px 12px;border-bottom:1px solid var(--border);vertical-align:top}.chat-bubble-body tbody tr:last-child td{border-bottom:none}.chat-bubble-body tbody tr:nth-child(2n){background:var(--surface)}.chat-thinking{font-style:italic;color:var(--text-muted)}.chat-thinking-text{letter-spacing:.005em}.chat-thinking-dots{display:inline-block;margin-left:.25rem;animation:chat-think-dots 1.4s steps(4,end) infinite;width:1.5em}.task-chip-wrapper,.chat-task-chip-slot{align-self:flex-start;max-width:min(72ch,90%);width:100%}.task-chip{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:.7rem .9rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:.55rem}.task-chip-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.task-chip-name{font-weight:500;flex:1;min-width:0}.task-chip-id{font-size:.78rem;color:var(--text-muted);background:var(--surface-2);padding:.1rem .45rem;border-radius:999px;font-family:var(--font-mono, monospace)}.task-chip-status{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;font-weight:600;padding:.18rem .55rem;border-radius:999px}.task-chip-status-good{background:#2e8b6b26;color:#2e8b6b}.task-chip-status-bad{background:#9b2c2c1f;color:#9b2c2c}.task-chip-status-neutral{background:var(--surface-2);color:var(--text-muted)}.task-chip-elapsed{font-size:.78rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.task-chip-stop{display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;font-weight:600;padding:.25rem .55rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);transition:background .15s ease,border-color .15s ease,color .15s ease}.task-chip-stop:hover:not(:disabled){background:#9b2c2c1a;border-color:#9b2c2c;color:#9b2c2c}.task-chip-stop:disabled{opacity:.6;cursor:not-allowed}.reasoning-accordion{width:100%;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-top:.4rem;overflow:hidden}.reasoning-header{display:flex;align-items:center;gap:.5rem;width:100%;background:transparent;border:none;padding:.55rem .85rem;text-align:left;cursor:pointer;color:var(--text-muted);font-size:.85rem;font-style:italic;transition:background .15s ease,color .15s ease}.reasoning-header:hover{background:var(--accent-light);color:var(--accent)}.reasoning-chevron{font-family:monospace;width:1em;display:inline-block}.reasoning-content{padding:.4rem .85rem .7rem;border-top:1px solid var(--border);background:var(--bg);display:flex;flex-direction:column;gap:.25rem;max-height:320px;overflow-y:auto}.reasoning-line{margin:0;font-size:.85rem;color:var(--text);white-space:pre-wrap;word-break:break-word;border-left:2px solid var(--border);padding:.15rem 0 .15rem .6rem}.task-chip-progress{height:6px;background:#c8bfac66;border-radius:999px;overflow:hidden}.task-chip-progress-fill{height:100%;background:var(--text-muted);border-radius:999px;transition:width .4s ease;background-image:linear-gradient(90deg,var(--text-muted) 0%,var(--border) 50%,var(--text-muted) 100%);background-size:200% 100%;animation:chip-progress-shimmer 2.4s linear infinite}@keyframes chip-progress-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes chat-think-dots{0%{content:"";opacity:.4}40%{content:".";opacity:.7}60%{content:"..";opacity:.85}80%{content:"...";opacity:1}to{content:"...";opacity:.4}}.chat-input{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:.75rem 1rem .85rem;gap:.4rem;transition:border-color .15s ease}.chat-input:focus-within{border-color:var(--text-muted)}.copilot-welcome{align-items:center;justify-content:center}.welcome-hero{width:100%;max-width:720px;display:flex;flex-direction:column;align-items:stretch;gap:1.4rem;padding:0 1.25rem}.welcome-hero .welcome-greeting{text-align:center;font-size:1.6rem;margin:0 0 .5rem}.welcome-input-wrap{background:transparent}.chat-input--large{padding:1rem 1.1rem;gap:.6rem}.chat-input--large .chat-textarea{font-size:1.05rem;min-height:2.6em;max-height:14em}.chat-input--large .chat-send-btn{width:40px;height:40px}.chat-input--large .chat-attach-btn{width:38px;height:38px}.welcome-hero .welcome-prompts{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;width:100%;max-width:560px;margin:0 auto}.welcome-hero .welcome-prompt-chip{min-height:56px;font-size:.88rem}.chat-textarea{width:100%;border:none;outline:none;box-shadow:none;resize:none;background:transparent;color:var(--text);font:inherit;font-size:.95rem;line-height:1.5;min-height:1.5em;max-height:12em}.chat-textarea:focus,.chat-textarea:focus-visible{outline:none;box-shadow:none;border:none}.chat-input-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.chat-attach-btn,.chat-send-btn{border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;transition:background .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}.chat-attach-btn{width:36px;height:36px;background:transparent;color:var(--text-muted)}.chat-attach-btn:hover:not(:disabled){background:var(--accent-light);color:var(--accent)}.chat-send-btn{width:36px;height:36px;background:var(--accent);color:#fff}.chat-send-btn:hover:not(:disabled){background:var(--accent-hover)}.chat-send-btn:disabled,.chat-attach-btn:disabled{opacity:.4;cursor:not-allowed}.chat-stop-btn{background:var(--text-muted);color:#fff;cursor:pointer}.chat-stop-btn:hover{background:var(--text)}.job-rail{display:flex;align-items:stretch;gap:.4rem;margin:0 0 .4rem;padding:0 .1rem .4rem;overflow-x:auto;border-bottom:1px dashed var(--border);scrollbar-width:thin}.job-rail::-webkit-scrollbar{height:4px}.job-rail::-webkit-scrollbar-thumb{background:#00000026;border-radius:2px}.job-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:.45rem;position:relative;padding:.3rem .65rem .4rem .55rem;background:var(--surface);border:1px solid var(--border);border-radius:999px;font-size:.78rem;font-family:inherit;color:var(--text);cursor:pointer;max-width:240px;transition:border-color .12s ease,background .12s ease}.job-pill:hover{border-color:var(--accent);background:var(--accent-light)}.job-pill.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}.job-pill-dot{width:8px;height:8px;border-radius:999px;background:var(--accent);flex-shrink:0;box-shadow:0 0 rgba(var(--accent-rgb),.55);animation:rs-dot-pulse 1.4s ease-out infinite}.job-pill.pending .job-pill-dot{background:var(--soft-muted);animation:none}.job-pill-label{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.job-pill-elapsed{font-size:.72rem;color:var(--text-muted);font-variant-numeric:tabular-nums;flex-shrink:0}.job-pill-bar{position:absolute;left:8px;right:8px;bottom:2px;height:2px;border-radius:1px;overflow:hidden;background:rgba(var(--accent-rgb),.15)}.job-pill-bar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(var(--accent-rgb),0) 0%,var(--accent) 50%,rgba(var(--accent-rgb),0) 100%);animation:job-pill-sweep 1.6s linear infinite}.job-pill.pending .job-pill-bar:after{animation:none;background:#78787866}@keyframes job-pill-sweep{0%{transform:translate(-100%)}to{transform:translate(100%)}}.chat-upload-pills{list-style:none;margin:0 0 .4rem;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}.chat-upload-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .55rem;background:var(--accent-light);border:1px solid rgba(var(--accent-rgb),.3);color:var(--accent);border-radius:999px;font-size:.78rem;max-width:320px}.chat-upload-pending{opacity:.92}.chat-upload-pct{font-variant-numeric:tabular-nums;font-weight:600;font-size:.72rem;color:var(--accent);flex-shrink:0}.chat-upload-progress{display:inline-block;flex:0 0 80px;height:4px;background:rgba(var(--accent-rgb),.18);border-radius:2px;overflow:hidden}.chat-upload-progress-fill{display:block;height:100%;background:var(--accent);border-radius:2px;transition:width 80ms linear;will-change:width}.chat-upload-error{background:#9b2c2c1a;border-color:#9b2c2c59;color:#9b2c2c}.chat-upload-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-upload-spinner{font-weight:700;letter-spacing:1px;animation:chat-think-dots 1.4s steps(4,end) infinite}.chat-upload-close{border:none;background:transparent;color:inherit;font-size:1rem;line-height:1;padding:0;cursor:pointer;opacity:.6}.chat-upload-close:hover{opacity:1}.slider-backdrop{position:fixed;top:var(--header-h);left:var(--sidebar-w);right:0;bottom:0;background:#14100c0f;z-index:200;animation:backdrop-fade-in .18s cubic-bezier(.32,.72,0,1) both}@keyframes backdrop-fade-in{0%{opacity:0}to{opacity:1}}.slider{position:fixed;top:var(--box-top);height:var(--box-h);left:var(--sidebar-w);width:var(--slider-w);min-width:var(--slider-min);max-width:calc(100vw - var(--sidebar-w) - var(--right-bar-w));box-sizing:border-box;z-index:201;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:0 1px #ffffffb3 inset,0 -1px #14100c0a inset,0 0 0 1px #14100c0a,0 18px 50px -12px #14100c2e,0 4px 16px #14100c0f;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;animation:slider-in .28s cubic-bezier(.32,.72,0,1) both;will-change:transform,opacity;transform:translateZ(0);isolation:isolate;contain:layout style paint}.slider .history-split-container,.slider .history-right-panel,.slider .data-pane,.slider .profile-page{background:transparent}.slider .history-left-panel{background:var(--history-surface-warm);border-right:1px solid var(--history-border)}@keyframes slider-in{0%{transform:translate3d(-100%,0,0);opacity:0}to{transform:translateZ(0);opacity:1}}.slider-resize-handle{position:absolute;top:0;bottom:0;right:0;width:4px;pointer-events:none;background:var(--border)}.slider-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid rgba(200,191,172,.4);background:var(--surface-2)}.slider-title{margin:0;font-size:1.05rem;font-weight:600;color:var(--text);transition:opacity .1s ease}.slider-title.transitioning{opacity:.5}.slider-close{width:32px;height:32px;border:1px solid transparent;background:transparent;border-radius:8px;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center}.slider-close:hover{background:var(--accent-light);color:var(--accent);border-color:rgba(var(--accent-rgb),.3)}.slider-body{padding:1.25rem;flex:1;overflow-x:hidden;overflow-y:auto;min-width:0;transition:opacity .25s ease,transform .25s ease}.slider-body.transitioning{opacity:0;transform:translate(-20px)}.placeholder-pane{color:var(--text-muted);padding:1rem;border:1px dashed var(--border);border-radius:12px;background:var(--surface)}.placeholder-hint{font-size:.9em;margin-top:.5rem;opacity:.85}.data-loading,.data-error,.data-empty{padding:2rem;text-align:center;color:var(--text-muted)}.data-empty-hint{margin-top:.5rem;font-size:.9em;opacity:.8}.data-pane{display:flex;flex-direction:column;gap:1rem;contain:layout paint style;min-width:0}.data-loose-section{display:flex;flex-direction:column;gap:.4rem}.data-loose-banner{display:flex;align-items:center;gap:.5rem;padding:.5rem .7rem;background:var(--accent-tint-2);border:1px solid rgba(var(--accent-rgb),.18);border-radius:8px;font-size:.78rem;font-weight:600;color:var(--accent);letter-spacing:.02em;width:100%;cursor:pointer;font-family:inherit;text-align:left}.data-loose-section.expanded>.data-loose-banner{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}.data-loose-section.expanded>.data-loose-list{border:1px solid rgba(var(--accent-rgb),.18);border-top:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px;padding:.25rem .4rem .4rem}.data-loose-banner-label{text-transform:uppercase;font-size:.7rem}.data-loose-banner-count{margin-left:auto;background:var(--accent);color:#fff;font-size:.68rem;font-weight:700;padding:0 .5rem;border-radius:999px;min-width:1.4rem;text-align:center;line-height:1.4rem}.data-loose-list{margin:0;padding:0}.tree-folder.is-banner{margin-top:.5rem}.tree-folder-row.is-banner{padding:.5rem .7rem;background:var(--accent-tint-2);border:1px solid rgba(var(--accent-rgb),.18);border-radius:8px;font-size:.78rem;font-weight:600;color:var(--accent);letter-spacing:.02em;grid-template-columns:1fr}.tree-folder-row.is-banner .tree-folder-header{display:flex;align-items:center;gap:.5rem;padding:0}.tree-folder-row.is-banner .tree-folder-name{text-transform:uppercase;font-size:.7rem;letter-spacing:.04em;color:var(--accent);font-weight:700}.tree-folder-row.is-banner .data-chevron{color:var(--accent);font-size:.72rem}.tree-folder.is-banner.expanded .tree-folder-row.is-banner{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}.tree-folder.is-banner.expanded>.tree-folder-body{border:1px solid rgba(var(--accent-rgb),.18);border-top:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px;padding:.25rem .4rem .4rem}.data-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(200,191,172,.6)}.data-counts{color:var(--text-muted);font-size:.9em}.data-refresh{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.4rem .85rem;color:var(--text);font-size:.85em;transition:background .15s ease,border-color .15s ease,color .15s ease}.data-refresh:hover:not(:disabled){background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.data-refresh:disabled{opacity:.6;cursor:not-allowed}.data-error-inline{background:#9b2c2c14;color:#9b2c2c;border:1px solid rgba(155,44,44,.25);border-radius:8px;padding:.5rem .75rem;font-size:.85em}.data-warning-inline{background:#f59e0b1a;color:#d97706;border:1px solid rgba(245,158,11,.3);border-radius:8px;padding:.5rem .75rem;font-size:.85em}.task-id-copy{background:transparent;border:1px solid var(--border);border-radius:4px;padding:2px 6px;font-family:SF Mono,Monaco,monospace;font-size:.8em;color:var(--text);cursor:pointer;transition:all .15s ease;position:relative;margin-left:2px}.task-id-copy:hover{background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.copy-feedback{color:#22c55e;font-weight:600;margin-left:4px;font-size:.9em}.data-section{display:flex;flex-direction:column;gap:.5rem}.data-section-title{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin:0}.data-file-list,.data-task-list,.data-folder-list,.data-nested-files{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.data-file-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:.5rem .75rem;border-radius:8px;transition:background .12s ease}.data-file-row:hover{background:var(--surface-2)}.data-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92em}.data-file-subdir{color:var(--text-muted);font-size:.85em}.data-file-meta{font-size:.8em;color:var(--text-muted);white-space:nowrap}.data-download{font-size:.8em;padding:.25rem .6rem;border-radius:6px;background:var(--surface);border:1px solid var(--border);color:var(--text);text-decoration:none;transition:background .12s ease,border-color .12s ease,color .12s ease}.data-download:hover{background:var(--accent-light);border-color:var(--accent);color:var(--accent);text-decoration:none}.data-task-row,.data-folder-row{border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.data-task-row.expanded,.data-folder-row.expanded{background:var(--surface);border-color:rgba(var(--accent-rgb),.35)}.data-task-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:.75rem;padding:.6rem .85rem;background:transparent;border:none;width:100%;box-sizing:border-box;text-align:left;cursor:pointer;color:var(--text)}.data-task-header:hover{background:var(--surface-2)}.data-chevron{font-size:.85em;color:var(--text-muted);transition:transform .18s ease;display:inline-block}.data-chevron.down{transform:rotate(90deg)}.data-task-name{font-weight:500;font-size:.92em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-status{font-size:.72em;text-transform:uppercase;letter-spacing:.04em;padding:.15rem .5rem;border-radius:999px;font-weight:600}.data-status-good{background:#2e8b6b26;color:#2e8b6b}.data-status-bad{background:#9b2c2c1f;color:#9b2c2c}.data-status-neutral{background:#a8431f1a;color:var(--accent)}.data-task-meta{font-size:.8em;color:var(--text-muted)}.data-task-body{padding:.5rem .85rem .85rem;border-top:1px solid rgba(200,191,172,.5)}.data-loading-line,.data-empty-line{font-size:.85em;color:var(--text-muted);padding:.5rem 0}.data-warning{font-size:.82em;color:var(--accent);background:rgba(var(--accent-rgb),.08);border:1px solid rgba(var(--accent-rgb),.25);border-radius:6px;padding:.4rem .6rem;margin-bottom:.5rem}.data-load-more{align-self:center;margin-top:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.5rem 1rem;color:var(--text);transition:background .15s ease,border-color .15s ease,color .15s ease}.data-load-more:hover:not(:disabled){background:var(--accent-light);border-color:var(--accent);color:var(--accent)}.data-load-more:disabled{opacity:.6;cursor:not-allowed}.history-row-actions{display:flex;gap:.5rem}.jobs-progress{height:6px;background:#c8bfac66;border-radius:999px;overflow:hidden}.jobs-progress-fill{height:100%;background:var(--accent);border-radius:999px;transition:width .4s ease}@media (max-width: 768px){.app-shell{grid-template-columns:1fr;grid-template-rows:var(--header-h) 1fr auto;grid-template-areas:"header" "main" "left"}.sidebar{flex-direction:row;justify-content:space-around;align-items:center;padding:.5rem;border-right:none;border-top:1px solid var(--border);height:auto;align-self:stretch;margin:0}.main-area{height:auto;min-height:0}.copilot{height:100%;max-height:100%}.sidebar-btn{width:56px;height:48px}.right-sidebar{display:none!important}.slider{left:0;width:100vw;max-width:100vw;min-width:0;border-right:none;resize:none}.credit-chip,.header-username{display:none}}.right-sidebar{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.25rem 0;height:var(--box-h);box-sizing:border-box;align-self:center;margin:0 1rem 0 0;background:transparent;border:none;border-radius:0;overflow-y:auto}.right-sidebar-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:999px;background:var(--accent);box-shadow:0 0 rgba(var(--accent-rgb),.55);animation:rs-dot-pulse 1.4s ease-out infinite}.right-sidebar-badge{position:absolute;top:4px;right:4px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;box-shadow:0 0 0 2px var(--bg)}@keyframes rs-dot-pulse{0%{box-shadow:0 0 rgba(var(--accent-rgb),.55)}70%{box-shadow:0 0 0 10px rgba(var(--accent-rgb),0)}to{box-shadow:0 0 rgba(var(--accent-rgb),0)}}.right-panel{position:fixed;top:var(--box-top);height:var(--box-h);right:var(--right-bar-w);width:var(--right-panel-w);min-width:280px;max-width:calc(100vw - var(--sidebar-w) - var(--right-bar-w));box-sizing:border-box;z-index:201;border-radius:18px;background:var(--surface);border:1px solid var(--border);box-shadow:0 1px #ffffffb3 inset,0 -1px #14100c0a inset,0 0 0 1px #14100c0a,0 18px 50px -12px #14100c2e,0 4px 16px #14100c0f;display:flex;flex-direction:column;overflow:hidden;animation:right-panel-in .28s cubic-bezier(.32,.72,0,1) both;will-change:transform,opacity;transform:translateZ(0);isolation:isolate;contain:layout style paint}.right-panel-resize{position:absolute;top:0;bottom:0;left:0;width:6px;cursor:ew-resize;background:transparent;z-index:1}.right-panel-resize:after{content:"";position:absolute;top:50%;left:1px;width:4px;height:56px;margin-top:-28px;border-radius:2px;background:rgba(var(--accent-rgb),.35);transition:background .15s}.right-panel-resize:hover:after,.right-panel-resize.dragging:after{background:var(--accent)}@keyframes right-panel-in{0%{transform:translate3d(100%,0,0);opacity:0}to{transform:translateZ(0);opacity:1}}.right-panel-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border);background:var(--surface-2)}.right-panel-title{margin:0;font-size:1rem;font-weight:600}.right-panel-body{padding:1rem 1.25rem;flex:1;overflow-x:hidden;overflow-y:auto;min-width:0}.right-panel-empty{color:var(--text-muted);font-size:.9rem;padding:.5rem .75rem;border:1px dashed var(--border);border-radius:8px;background:var(--bg)}.progress-logs{display:flex;flex-direction:column;gap:.25rem;font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-size:.78rem;line-height:1.45;color:var(--text)}.progress-log-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:.5rem;padding:.25rem .35rem;border-radius:4px}.progress-log-line:hover{background:var(--surface-2)}.progress-log-ts{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:0 0 auto}.progress-log-step{color:var(--text-muted);font-weight:600;white-space:nowrap;flex:0 0 auto;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;background:var(--surface-2);padding:.1em .5em;border-radius:999px}.progress-log-text{flex:1 1 100%;min-width:0;word-break:break-word;white-space:pre-wrap}.progress-log-error .progress-log-text{color:#9b2c2c}.progress-log-warn .progress-log-text{color:#a86a14}.progress-log-fail .progress-log-text{color:#9b2c2c}.progress-stream{margin:.5rem 0 0;padding:.5rem .6rem;background:var(--surface-2);border:1px solid var(--border);border-radius:6px;font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-size:.78rem;white-space:pre-wrap;overflow-x:auto;max-height:50vh;overflow-y:auto}[data-theme=dark]{--bg: #1a1a1a;--surface: #242424;--surface-2: #2a2a2a;--border: #353535;--text: #9E9E9E;--text-muted: #9E9E9E;--accent: #D97758;--accent-hover: #C56548;--accent-light: rgba(217, 119, 88, .1);--accent-rgb: 217, 119, 88;--card-bg: #242424;--card-border: #353535;--input-border: #353535;--btn-border: #353535;--readonly-bg: #1a1a1a;--progress-bg: #353535;--soft-text: #9E9E9E;--soft-muted: #9E9E9E;--soft-muted-2: #9E9E9E;--soft-muted-3: #9E9E9E;--accent-flat: #D97758;--accent-flat-h: #C56548;--accent-tint-1: rgba(217, 119, 88, .1);--accent-tint-2: rgba(217, 119, 88, .06);--accent-tint-bd: rgba(217, 119, 88, .35);--success-bg: rgba(78, 195, 154, .18);--success-border: rgba(78, 195, 154, .35);--success-text: #6dd6ad;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .3), 0 2px 4px -1px rgba(0, 0, 0, .2);--shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, .4);--history-bg: #1a1a1a;--history-accent: #D97758;--history-accent-hover: #C56548;--history-surface: #242424;--history-surface-warm: #2a2a2a;--history-border: #353535;--history-text: #9E9E9E;--history-text-muted: #9E9E9E;--history-success: #22c55e;--history-neutral: #9E9E9E}[data-theme=dark] body{color-scheme:dark}[data-theme=dark] .profile-name,[data-theme=dark] .stat-number,[data-theme=dark] .credits-large,[data-theme=dark] .used-number,[data-theme=dark] .buy-title,[data-theme=dark] .card-name,[data-theme=dark] .card-credits-num,[data-theme=dark] .card-price,[data-theme=dark] .bottom-title,[data-theme=dark] .data-loose-banner-label{color:var(--text)}[data-theme=dark] .profile-email,[data-theme=dark] .stat-label,[data-theme=dark] .credits-label,[data-theme=dark] .credits-unit,[data-theme=dark] .used-label,[data-theme=dark] .used-unit,[data-theme=dark] .breakdown-item,[data-theme=dark] .progress-labels,[data-theme=dark] .buy-subtitle,[data-theme=dark] .card-credits-label,[data-theme=dark] .card-per-credit,[data-theme=dark] .lab-note,[data-theme=dark] .muted-line,[data-theme=dark] .resend-msg,[data-theme=dark] .forgot-link,[data-theme=dark] .running-task-elapsed,[data-theme=dark] .running-task-meta{color:var(--text-muted)}[data-theme=dark] .profile-header-card,[data-theme=dark] .credits-card,[data-theme=dark] .buy-credits-card,[data-theme=dark] .price-card,[data-theme=dark] .bottom-card,[data-theme=dark] .running-task-row{background:var(--surface);border-color:var(--border)}[data-theme=dark] .price-card.featured{background:rgba(var(--accent-rgb),.08)}[data-theme=dark] .badge.verified{background:#4ec39a2e;color:#6dd6ad;border-color:#4ec39a59}[data-theme=dark] .badge.academic{background:rgba(var(--accent-rgb),.2);color:var(--accent);border-color:rgba(var(--accent-rgb),.45)}[data-theme=dark] .stat-divider,[data-theme=dark] .progress-line{background:var(--border)}[data-theme=dark] .academic-notice{background:rgba(var(--accent-rgb),.1);border-color:rgba(var(--accent-rgb),.35)}[data-theme=dark] .academic-notice strong,[data-theme=dark] .academic-notice,[data-theme=dark] .card-bonus{color:var(--accent)}[data-theme=dark] .card-btn.outline{background:var(--surface);border-color:var(--border);color:var(--text)}[data-theme=dark] .card-btn.outline:hover{border-color:var(--accent);color:var(--accent)}[data-theme=dark] .data-loose-banner,[data-theme=dark] .tree-folder-row.is-banner{background:rgba(var(--accent-rgb),.12);border-color:rgba(var(--accent-rgb),.35);color:var(--accent)}[data-theme=dark] .data-loose-banner-label,[data-theme=dark] .tree-folder-row.is-banner .tree-folder-name,[data-theme=dark] .tree-folder-row.is-banner .data-chevron{color:var(--accent)}[data-theme=dark] .tree-folder.is-banner.expanded>.tree-folder-body,[data-theme=dark] .data-loose-section.expanded>.data-loose-list{border-color:rgba(var(--accent-rgb),.35)}[data-theme=dark] .history-table th{color:var(--text-muted)}[data-theme=dark] .history-table td{color:var(--text)}[data-theme=dark] .history-table th,[data-theme=dark] .history-table td{border-color:var(--border)}[data-theme=dark] .settings-form .field span{color:var(--text-muted)}[data-theme=dark] .settings-form .field input{background:var(--surface);border-color:var(--border);color:var(--text)}[data-theme=dark] .settings-form .field input:read-only{background:var(--surface-2);color:var(--text)}[data-theme=dark] .settings-form .field input:focus{border-color:var(--accent)}[data-theme=dark] .settings-warning{background:#f59e0b1f;border-color:#f59e0b59;color:#f5c068}[data-theme=dark] .settings-success{background:#4ec39a1f;border-color:#4ec39a59;color:#6dd6ad}[data-theme=dark] .link-btn{color:var(--accent)}[data-theme=dark] .link-btn:hover,[data-theme=dark] .forgot-link:hover{color:var(--accent-hover)}[data-theme=dark] .card-btn.filled,[data-theme=dark] .btn-save,[data-theme=dark] .lab-btn,[data-theme=dark] .popular-badge,[data-theme=dark] .progress-fill{background:var(--accent);border-color:var(--accent)}[data-theme=dark] .card-btn.filled:hover,[data-theme=dark] .btn-save:hover:not(:disabled),[data-theme=dark] .lab-btn:hover{background:var(--accent-hover);border-color:var(--accent-hover)}[data-theme=dark] .price-card.featured{border-color:var(--accent)}[data-theme=dark] .dot.red{background:var(--accent)}[data-theme=dark] .collapse-card[open]>summary{border-color:var(--border)}[data-theme=dark] .slider,[data-theme=dark] .right-panel{background:var(--surface);border-color:var(--border);box-shadow:0 18px 50px -12px #000000a6,0 4px 16px #0006}[data-theme=dark] .slider-header,[data-theme=dark] .right-panel-header{background:var(--surface-2);border-bottom-color:var(--border)}[data-theme=dark] .slider-backdrop{background:#00000080}[data-theme=dark] .slider .history-left-panel{background:var(--history-surface-warm);border-right-color:var(--history-border)}[data-theme=dark] .job-rail{border-bottom-color:var(--border)}[data-theme=dark] .job-pill{background:var(--surface);border-color:var(--border);color:var(--text)}[data-theme=dark] .job-pill:hover{background:var(--accent-light);border-color:var(--accent)}[data-theme=dark] .job-pill-elapsed{color:var(--text-muted)}[data-theme=dark] input[type=text],[data-theme=dark] input[type=email],[data-theme=dark] input[type=password],[data-theme=dark] input[type=search],[data-theme=dark] textarea,[data-theme=dark] select{background:var(--surface);border-color:var(--border);color:var(--text)}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:var(--text-muted)}[data-theme=dark] .notif-item{color:var(--text);border-color:var(--border)}[data-theme=dark] .credit-chip{color:var(--accent);background:var(--accent-light);border-color:rgba(var(--accent-rgb),.35)}[data-theme=dark] .credit-chip:hover{background:rgba(var(--accent-rgb),.28);border-color:var(--accent)}[data-theme=dark] .credit-chip[data-tooltip]:after{background:var(--surface-2);color:var(--text)}.header-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);cursor:pointer;transition:background .15s,border-color .15s}.header-icon-btn:hover{background:var(--surface-2);border-color:var(--border)}.notif-wrap{position:relative}.notif-badge{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;background:var(--accent);color:#fff;font-size:10px;font-weight:600;line-height:16px;text-align:center;border-radius:999px;box-shadow:0 0 0 2px var(--surface)}.notif-dropdown{position:absolute;top:calc(100% + 6px);right:0;width:360px;max-height:480px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 32px #0000002e;z-index:200;overflow:hidden}.notif-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border);font-weight:600;font-size:.85rem;background:var(--surface-2)}.notif-mark-all{border:none;background:transparent;color:var(--accent);cursor:pointer;font-size:.78rem}.notif-mark-all:disabled{color:var(--text-muted);cursor:not-allowed}.notif-list{flex:1;overflow-y:auto}.notif-empty{padding:16px;text-align:center;color:var(--text-muted);font-size:.85rem}.notif-item{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 8px;width:100%;padding:10px 12px;border:none;background:var(--surface);border-bottom:1px solid var(--border);text-align:left;cursor:pointer;font-family:inherit}.notif-item:hover{background:var(--surface-2)}.notif-item.unread{background:var(--accent-light)}.notif-item.unread:hover{background:rgba(var(--accent-rgb),.18)}.notif-title{font-size:.85rem;font-weight:600;color:var(--text);grid-column:1}.notif-time{font-size:.72rem;color:var(--text-muted);grid-column:2;align-self:start}.notif-msg{font-size:.8rem;color:var(--text-muted);grid-column:1 / span 2}.tree-root,.tree-children{list-style:none;margin:0;padding:0}.tree-folder{border-bottom:1px solid var(--border)}.tree-folder:last-child{border-bottom:none}.tree-folder-header{display:grid;grid-template-columns:18px 1fr auto auto;align-items:center;gap:.5rem;width:100%;padding:.5rem .6rem;border:none;background:transparent;text-align:left;cursor:pointer;font-family:inherit;color:var(--text)}.tree-folder:hover{background:rgba(var(--accent-rgb),.1)}.tree-folder-name{font-size:.88rem;font-weight:500;min-width:0;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-folder-meta{font-size:.75rem;color:var(--text-muted)}.tree-folder-body{padding:.25rem 0 .5rem}.tree-file{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.5rem;padding:.35rem .6rem;font-size:.82rem}.tree-file:hover{background:rgba(var(--accent-rgb),.2)}.tree-file-name{min-width:0;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-file-meta{font-size:.74rem;color:var(--text-muted);min-width:0;white-space:nowrap}.tree-file>*,.tree-folder-row>*{min-width:0}.tree-download{font-size:.75rem;color:var(--accent);text-decoration:none;padding:.15rem .4rem;border-radius:4px}.tree-download:hover{background:var(--accent-light)}.auth-form{display:flex;flex-direction:column;gap:.75rem;width:360px;max-width:90vw;padding:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-md)}.auth-form h1{margin:0 0 .25rem;font-size:1.25rem}.auth-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;color:var(--text)}.auth-form label span{color:var(--text-muted);font-size:.78rem}.auth-form input{padding:.5rem .65rem;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:.9rem}.auth-form input:focus{outline:2px solid var(--accent);outline-offset:-1px}.auth-form button[type=submit]{margin-top:.5rem;padding:.55rem .75rem;background:var(--accent);color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer}.auth-form button[type=submit]:hover:not(:disabled){background:var(--accent-hover)}.auth-form button[type=submit]:disabled{opacity:.5;cursor:not-allowed}.auth-form-error{padding:.5rem .65rem;background:#9b2c2c1a;border:1px solid rgba(155,44,44,.35);border-radius:6px;color:#9b2c2c;font-size:.8rem}.auth-subtle{margin:0;font-size:.78rem;color:var(--text-muted)}.files-section{margin:.5rem 0 1rem}.files-section-title{margin:0 0 .4rem;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.files-thumb-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.6rem;width:100%;box-sizing:border-box}.files-thumb{display:flex;flex-direction:column;gap:.25rem;min-width:0}.files-thumb-btn{display:block;width:100%;padding:0;border:1px solid var(--border);border-radius:6px;background:var(--surface);cursor:pointer;overflow:hidden}.files-thumb-btn:hover{border-color:var(--accent)}.files-thumb-btn img{display:block;width:100%;height:110px;object-fit:cover;background:var(--surface-2)}.files-thumb-meta{display:flex;align-items:center;gap:.4rem;font-size:.74rem;color:var(--text-muted);min-width:0}.files-thumb-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;background:#000000c7;display:flex;align-items:center;justify-content:center;padding:2rem;cursor:zoom-out}.files-lightbox img{max-width:90vw;max-height:86vh;background:var(--card-bg);border-radius:8px;cursor:default;box-shadow:0 16px 48px #0006}.files-lightbox-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border:none;border-radius:50%;background:#ffffffe6;color:#000;font-size:1.4rem;cursor:pointer}.file-preview{position:relative;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;width:min(90vw,960px);max-height:86vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 16px 48px #0006;cursor:default}.file-preview--image{background:transparent;border:none;box-shadow:none;width:auto}.file-preview-header{display:flex;align-items:center;gap:.6rem;padding:.65rem .9rem;border-bottom:1px solid var(--border);background:var(--surface-2)}.file-preview--image .file-preview-header{background:#0000008c;border-bottom:none;position:absolute;top:0;left:0;right:0;z-index:1;color:#fff}.file-preview-title{flex:1;font-weight:600;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-preview-download{color:var(--text-muted);text-decoration:none;font-size:1.1rem;padding:.2rem .4rem;border-radius:6px}.file-preview-download:hover{background:var(--surface);color:var(--text)}.file-preview-close{position:static;width:28px;height:28px;font-size:1.1rem;background:transparent;color:var(--text-muted)}.file-preview-close:hover{color:var(--text);background:var(--surface)}.file-preview--image .file-preview-close{background:#ffffffe6;color:#000}.file-preview-body{flex:1;overflow:auto;padding:.85rem 1rem;min-height:0}.file-preview--image .file-preview-body{padding:0;display:flex;align-items:center;justify-content:center}.file-preview--image .file-preview-body img{max-width:90vw;max-height:86vh;border-radius:6px}.file-preview-empty{color:var(--text-muted);font-size:.9rem;padding:1.5rem 0;text-align:center}.file-preview-error{color:#9b2c2c}.file-preview-pre{margin:0;font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-size:.82rem;line-height:1.45;white-space:pre;color:var(--text)}.file-preview-markdown{font-size:.9rem;line-height:1.55}.file-preview-markdown h1,.file-preview-markdown h2,.file-preview-markdown h3{margin-top:1.2em}.file-preview-markdown pre{background:var(--surface-2);padding:.6rem .8rem;border-radius:6px;overflow-x:auto;font-size:.82rem}.file-preview-markdown code{background:var(--surface-2);padding:.1em .35em;border-radius:4px;font-size:.88em}.file-preview-table-wrap{overflow:auto;max-height:100%}.file-preview-table{border-collapse:collapse;font-size:.82rem;font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace)}.file-preview-table th,.file-preview-table td{border:1px solid var(--border);padding:.3rem .55rem;text-align:left;white-space:nowrap}.file-preview-table thead th{background:var(--surface-2);position:sticky;top:0}.file-preview-footer{padding:.5rem .9rem;border-top:1px solid var(--border);background:var(--surface-2);font-size:.8rem;color:var(--text-muted)}.chat-bubble-body img,.history-bundle img{max-width:100%;height:auto;border-radius:6px;margin:.4rem 0}.history-detail{display:flex;flex-direction:column;gap:.75rem;padding:.5rem 0}.history-detail-section{margin-top:.25rem}.history-detail-title{margin:0 0 .4rem;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.history-transcript{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.history-msg{display:flex;flex-direction:column;gap:.15rem;padding:.5rem .7rem;border-radius:8px;font-size:.85rem}.history-msg-user{background:var(--accent-light);align-self:flex-end;max-width:90%}.history-msg-bot{background:var(--surface-2);align-self:flex-start;max-width:95%}.history-msg-body{white-space:pre-wrap;word-break:break-word}.history-msg-body p{margin:0 0 .35rem}.history-msg-body p:last-child{margin-bottom:0}.history-msg-time{font-size:.7rem;color:var(--text-muted)}.history-bundle{padding:.6rem .8rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;font-size:.85rem}.history-bundle+.history-bundle{margin-top:.5rem}.history-bundle p{margin:0 0 .5rem}.history-bundle h2,.history-bundle h3{margin:.6rem 0 .4rem;font-size:.95rem}.history-figs-block{margin-top:.6rem}.history-figs-block+.history-figs-block{margin-top:1rem}.history-figs-header{font-size:.75rem;color:var(--text-muted);margin-bottom:.4rem}.data-search{flex:0 1 200px;min-width:120px;padding:.35rem .55rem;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font:inherit;font-size:.82rem}.data-search:focus{outline:2px solid var(--accent);outline-offset:-1px}.data-error-dismiss{margin-left:.5rem;border:none;background:transparent;color:inherit;cursor:pointer;font-size:1rem}.data-busy{padding:.4rem .6rem;margin:.4rem 0;background:var(--accent-light);color:var(--accent);border-radius:6px;font-size:.8rem}.tree-folder-row{display:grid;grid-template-columns:auto 1fr 80px;align-items:center;gap:.4rem;width:100%}.tree-folder-row .tree-folder-header{padding:.45rem .5rem;display:grid;grid-template-columns:18px 1fr auto auto;gap:.5rem;min-width:0;align-items:center}.tree-row-actions{display:inline-flex;align-items:center;gap:.1rem;padding:0 .2rem;opacity:.55;transition:opacity .12s}.tree-folder:hover>.tree-folder-row>.tree-row-actions,.tree-file:hover .tree-row-actions{opacity:1}.tree-action{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:4px;padding:1px 4px;font-size:.7rem;text-decoration:none;cursor:pointer;line-height:1.2}.tree-action:hover{background:var(--surface-2);border-color:var(--accent);color:var(--accent)}.tree-action-danger:hover{border-color:#9b2c2c;color:#9b2c2c}.tree-check{margin:0 .25rem;cursor:pointer}.tree-rename-input{width:100%;padding:.15rem .35rem;border:1px solid var(--accent);border-radius:4px;background:var(--surface);color:var(--text);font:inherit;font-size:.88rem}.data-bulk-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;margin:.5rem -.75rem -.5rem;background:var(--surface);border-top:1px solid var(--border);font-size:.85rem;box-shadow:0 -2px 8px #0000000f}.data-bulk-bar>span{flex:1;font-weight:500}.data-bulk-delete{padding:.35rem .7rem;border:1px solid #9B2C2C;background:#9b2c2c;color:#fff;border-radius:6px;cursor:pointer;font-weight:600}.data-bulk-delete:hover{background:#7b1f1f}.data-bulk-clear{padding:.35rem .7rem;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:6px;cursor:pointer}.data-bulk-clear:hover{background:var(--surface-2)}.tree-file{display:grid;grid-template-columns:auto 1fr auto 80px;align-items:center;gap:.5rem;padding:.35rem .6rem;font-size:.82rem}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{display:block;background:linear-gradient(90deg,var(--surface-2) 0%,rgba(255,255,255,.5) 50%,var(--surface-2) 100%);background-size:200% 100%;animation:skeleton-shimmer 1.4s ease-in-out infinite;border-radius:6px}.skeleton-line{height:12px;width:100%;margin:.4rem 0}.skeleton-line.short{width:60%}.skeleton-line.medium{width:80%}.skeleton-row{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:.6rem .4rem;border-bottom:1px solid var(--border);align-items:center}.skeleton-thumb{height:110px;width:100%}.skeleton-thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.6rem;margin-top:.5rem}@media (max-width: 900px){:root{--sidebar-w: 56px;--right-bar-w: 56px;--right-panel-w: min(80vw, 380px);--slider-w: calc(100vw - var(--sidebar-w) - var(--right-bar-w))}.sidebar{padding:.75rem 0;gap:.25rem;margin:.5rem 0 .5rem .5rem}.sidebar-btn{width:44px;height:44px}.sidebar-label{display:none}.main-area{padding:.5rem}.copilot{border-radius:12px}}@media (max-width: 600px){:root{--right-bar-w: 0px;--slider-w: calc(100vw - var(--sidebar-w));--right-panel-w: 100vw}.right-sidebar,.credit-chip,.header-username{display:none}.header-icon-btn{width:32px;height:32px}.header-icon-btn svg{width:16px;height:16px}.app-brand-logo{height:14px}.app-header{padding:0 .6rem}.app-header-controls{gap:.35rem}.right-panel{right:0;width:100vw;max-width:100vw;border-left:none}.data-toolbar{flex-wrap:wrap;gap:.4rem}.data-search{flex:1 1 100%}.files-thumb-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.files-thumb-btn img{height:90px}.notif-dropdown{position:fixed;top:var(--header-h);right:.5rem;left:.5rem;width:auto;max-height:70vh}}@media (max-width: 380px){:root{--sidebar-w: 48px;--slider-w: 100vw}.sidebar-btn{width:40px;height:40px}.copilot{border-radius:8px}.main-area{padding:.25rem}}@media (max-width: 600px){.history-figs-block .files-thumb-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}}.sidebar-spacer{flex:1 0 auto;min-height:.5rem}.sidebar-popover-wrap{position:relative;display:flex;flex-direction:column;align-items:center}.sidebar-popover{position:fixed;width:320px;max-height:min(70vh,460px);overflow-y:auto;padding:1rem 1.1rem;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);z-index:240;font-size:.85rem;color:var(--text)}.sidebar-popover h4{margin:0 0 .5rem;font-size:.95rem;color:var(--accent)}.sidebar-popover ul{margin:0;padding-left:1.1rem}.sidebar-popover li{margin-bottom:.4rem}.sidebar-popover li:last-child{margin-bottom:0}.sidebar-popover strong,.sidebar-popover em{color:var(--accent)}.feedback-form{display:flex;flex-direction:column;gap:.5rem}.feedback-form label{font-size:.78rem}.feedback-form textarea{resize:vertical;min-height:70px;padding:.4rem .6rem;font:inherit;font-size:.85rem;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px}.feedback-form textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}.feedback-form button[type=submit]{align-self:flex-end;padding:.4rem .9rem;background:var(--accent);color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer}.feedback-form button[type=submit]:disabled{opacity:.5;cursor:not-allowed}.tree-file-preview-btn{width:36px;height:36px;padding:0;border:1px solid var(--border);background:var(--surface-2);border-radius:4px;cursor:pointer;overflow:hidden}.tree-file-preview-btn:hover{border-color:var(--accent)}.tree-file-preview-btn img{width:100%;height:100%;object-fit:cover;display:block}.tree-file-icon{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;font-size:1rem;color:var(--text-muted)}.tree-file{grid-template-columns:auto 1fr auto auto}.tree-file-icon,.tree-file-thumb,.tree-file-name{cursor:pointer}.tree-file-thumb{width:36px;height:36px;border:1px solid var(--border);background:var(--surface-2);border-radius:4px;overflow:hidden;display:block;padding:0}.tree-file-thumb img{width:100%;height:100%;object-fit:cover;display:block}@media (max-width: 600px){.sidebar-popover{left:0;top:calc(100% + 8px);width:min(90vw,320px)}}.welcome-screen{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 1.5rem;gap:.75rem}.welcome-greeting{font-size:1.5rem;font-weight:600;margin:0;color:var(--text)}.welcome-brand{color:var(--accent)}.welcome-cta{margin:0 0 .5rem;color:var(--text-muted);font-size:.92rem;max-width:520px}.welcome-prompts{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:560px}.welcome-prompt-chip{display:flex;align-items:center;gap:.75rem;width:100%;min-height:48px;padding:.65rem .9rem .65rem .85rem;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--text);cursor:pointer;font-size:.92rem;line-height:1.35;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .05s ease}.welcome-prompt-label{flex:1;min-width:0}.welcome-prompt-icon{flex-shrink:0;color:var(--accent);opacity:.85}.welcome-prompt-arrow{flex-shrink:0;color:var(--text-muted);opacity:.55;transition:transform .15s ease,color .15s ease,opacity .15s ease}.welcome-prompt-chip:hover{border-color:rgba(var(--accent-rgb),.5);background:var(--accent-tint-2);box-shadow:0 1px 2px rgba(var(--accent-rgb),.08)}.welcome-prompt-chip:hover .welcome-prompt-icon{opacity:1}.welcome-prompt-chip:hover .welcome-prompt-arrow{color:var(--accent);opacity:1;transform:translate(3px)}.welcome-prompt-chip:active{transform:translateY(1px)}.welcome-prompt-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.workspace-setup-block{margin:.5rem 0 .75rem;padding:1rem 1.1rem;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:.55rem;font-size:.9rem}.workspace-setup-title{font-weight:600;color:var(--accent)}.workspace-setup-progress{width:100%;height:6px;background:var(--surface-2);border-radius:999px;overflow:hidden}.workspace-setup-progress-bar{height:100%;background:var(--accent);width:0%;transition:width .6s ease}.workspace-setup-phase{font-size:.82rem;color:var(--text-muted);font-style:italic}.workspace-tip{margin-top:.4rem;padding:.6rem .75rem;background:var(--accent-light);border:1px solid rgba(var(--accent-rgb),.25);border-radius:8px;display:grid;grid-template-columns:1fr;gap:.25rem;opacity:0;transition:opacity .35s ease}.workspace-tip.visible{opacity:1}.workspace-tip-label{font-size:.65rem;font-weight:700;letter-spacing:.08em;color:var(--accent)}.workspace-tip-title{font-weight:600;color:var(--text);font-size:.88rem}.workspace-tip-body{color:var(--text-muted);font-size:.84rem;line-height:1.4}.lit-hypothesis{margin:.5rem 0;padding:.6rem .75rem;background:var(--bg);border-radius:8px}.lit-hypothesis p{margin:.3rem 0}.lit-hypothesis p:last-child{margin-bottom:0}.lit-suggestions{display:grid;gap:.5rem}.lit-suggestion-card{padding:.6rem .8rem;background:var(--accent-light);border:1px solid rgba(var(--accent-rgb),.3);border-radius:8px;cursor:pointer;transition:border-color .15s,transform .05s}.lit-suggestion-card:hover{border-color:var(--accent);background:rgba(var(--accent-rgb),.16)}.lit-suggestion-card:active{transform:translateY(1px)}.lit-suggestion-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.lit-suggestion-name{font-weight:600;color:var(--accent);margin-bottom:.25rem}.lit-suggestion-rationale{font-size:.85rem;color:var(--text-muted);margin-bottom:.4rem}.lit-suggestion-prompt{font-size:.82rem;font-style:italic;color:var(--text);border-left:3px solid var(--accent);padding-left:.5rem}.lit-papers{margin:.4rem 0 0;padding-left:1.1rem}.lit-papers li{margin-bottom:.5rem}.lit-paper-relevance{font-size:.84rem;color:var(--text-muted)}.view-files-row{text-align:right;margin:.4rem 0 0}.view-files-link{font-weight:600;font-size:.86rem;color:var(--accent);text-decoration:none;padding:.2rem .5rem;border-radius:6px;transition:background .15s}.view-files-link:hover{background:var(--accent-light);text-decoration:none}.tree-action.tree-action-format{font-size:.66rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:1px 6px}.history-right-panel *{max-width:100%;box-sizing:border-box}.history-split-container{display:flex;height:100%;background:var(--history-bg);font-family:DM Sans,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--history-text);overflow:hidden}.history-left-panel{width:280px;flex-shrink:0;background:var(--history-surface-warm);border-right:1px solid var(--history-border);display:flex;flex-direction:column;overflow:hidden;box-shadow:inset -1px 0 #ffffff80}.history-search{padding:20px 20px 16px;border-bottom:1px solid var(--history-border);background:var(--history-surface-warm);flex-shrink:0;position:relative;min-height:88px;box-sizing:border-box}.history-search-input{width:100%;padding:14px 16px 14px 44px;border:2px solid var(--history-border);border-radius:12px;background:var(--history-surface);color:var(--history-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:15px;font-weight:500;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;position:relative}.history-search:before{content:"🔍";position:absolute;left:32px;top:50%;transform:translateY(-50%);font-size:16px;color:var(--history-text-muted);z-index:1}.history-search-input:focus{outline:none;border-color:var(--history-accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12),0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-1px)}.history-search-input:hover{border-color:var(--history-accent-hover);box-shadow:0 2px 4px #0000001a,0 1px 2px #0000000f}.history-search-input::placeholder{color:var(--history-text-muted);font-weight:400}.history-session-groups{flex:1;overflow-y:auto;padding:0}.history-session-group{margin-bottom:24px}.history-group-title{margin:0;padding:16px 16px 8px;font-size:13px;font-weight:600;color:var(--history-text-muted);text-transform:uppercase;letter-spacing:.5px}.history-session-list{display:flex;flex-direction:column;gap:2px;padding:0}.history-session-row{padding:12px 16px;border-radius:6px;cursor:pointer;transition:all .15s ease;position:relative}.history-session-row:hover{background:var(--history-surface-warm)}.history-session-row.active{background:rgba(var(--accent-rgb),.08)}.history-session-title{font-size:14px;font-weight:500;color:var(--history-text);margin-bottom:6px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.history-session-meta{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.history-status-badge{font-size:11px;font-weight:600;padding:2px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.3px}.history-status-badge.open{background:#10a37f26;color:var(--history-success)}.history-status-badge.ended{background:#8b8b8b26;color:var(--history-neutral)}.history-session-chips{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.history-chip{font-size:11px;color:var(--history-text-muted);font-weight:400}.history-load-more{padding:16px;text-align:center}.history-load-more-btn{padding:8px 16px;background:var(--history-surface-warm);border:1px solid var(--history-border);border-radius:6px;color:var(--history-text);font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;font-family:inherit}.history-load-more-btn:hover:not(:disabled){background:var(--history-accent);color:#fff;border-color:var(--history-accent)}.history-load-more-btn:disabled{opacity:.6;cursor:not-allowed}.history-right-panel{flex:1;background:var(--history-surface);display:flex;flex-direction:column;overflow:hidden}.history-right-empty{flex:1;display:flex;align-items:center;justify-content:center;color:var(--history-text-muted);font-size:16px}.history-detail-view{height:100%;display:flex;flex-direction:column;overflow:hidden}.history-detail-header{flex-shrink:0;padding:20px 0 16px;border-bottom:1px solid var(--history-border);background:transparent;position:sticky;top:0;z-index:10;min-height:88px;box-sizing:border-box;max-width:800px;margin:0 auto;width:100%}.history-detail-header-content{max-width:800px!important;margin:0 auto!important;padding:0 24px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.history-detail-title-section{flex:1;min-width:0}.history-detail-title{margin:0 0 8px;font-size:20px;font-weight:600;color:var(--history-text);line-height:1.2;text-transform:none;letter-spacing:normal}.history-detail-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.history-detail-actions{flex-shrink:0;display:flex;gap:8px}.history-action-btn{padding:8px 16px;border-radius:6px;font-family:inherit;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;border:1px solid}.history-action-btn.primary{background:var(--history-accent);border-color:var(--history-accent);color:#fff}.history-action-btn.primary:hover:not(:disabled){background:var(--history-accent-hover);border-color:var(--history-accent-hover)}.history-action-btn.secondary{background:var(--history-surface);border-color:var(--history-border);color:var(--history-text)}.history-action-btn.secondary:hover:not(:disabled){background:var(--history-surface-warm);border-color:var(--history-accent)}.history-action-btn:disabled{opacity:.6;cursor:not-allowed}.history-detail-content{flex:1;overflow-y:auto;padding:0 24px 24px;max-width:800px!important;margin:0 auto!important}.history-detail-section{margin-bottom:32px}.history-detail-section:last-child{margin-bottom:0}.history-section-title{margin:24px 0 12px;font-size:16px;font-weight:600;color:var(--history-text)}.history-section-title:first-child{margin-top:16px}.history-running-jobs{display:flex;flex-direction:column;gap:12px}.history-running-job{padding:12px;background:var(--history-surface-warm);border:1px solid var(--history-border);border-radius:6px}.history-job-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.history-job-name{font-size:14px;font-weight:500;color:var(--history-text)}.history-job-progress{font-size:12px;font-weight:600;color:var(--history-accent);font-family:DM Mono,monospace}.history-progress-bar{height:4px;background:#8b8b8b26;border-radius:2px;overflow:hidden}.history-progress-fill{height:100%;background:var(--history-accent);border-radius:2px;transition:width .3s ease}.history-empty-state{padding:24px;text-align:center;color:var(--history-text-muted);background:var(--history-surface-warm);border:1px solid var(--history-border);border-radius:6px;font-size:14px}.history-summary{font-size:15px;line-height:1.5;color:var(--history-text);margin:0}.history-key-findings{list-style:none;padding:0;margin:0}.history-finding-item{padding:8px 0;font-size:14px;line-height:1.4;color:var(--history-text);border-bottom:1px solid rgba(139,139,139,.1)}.history-finding-item:last-child{border-bottom:none}.history-output-files{background:var(--history-surface-warm);border:1px solid var(--history-border);border-radius:6px;overflow:hidden}.history-file-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(139,139,139,.1)}.history-file-row:last-child{border-bottom:none}.history-filename{font-family:DM Mono,monospace;font-size:13px;color:var(--history-text);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-download-icon{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--history-accent);text-decoration:none;border-radius:4px;transition:background-color .15s ease;font-weight:700}.history-download-icon:hover{background:rgba(var(--accent-rgb),.1)}.history-chat-messages{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.history-chat-list{display:flex;flex-direction:column;gap:16px;margin-bottom:24px;max-width:800px!important;margin-left:auto!important;margin-right:auto!important;padding:0 20px}.history-message{display:flex;flex-direction:column;gap:4px}.history-message.user{align-items:flex-end}.history-message.assistant{align-items:flex-start}.history-message-content{max-width:85%;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.5}.history-message.user .history-message-content{background:var(--history-accent);color:#fff;border-bottom-right-radius:4px}.history-message.assistant .history-message-content{background:var(--history-surface-warm);border:1px solid var(--history-border);color:var(--history-text);border-bottom-left-radius:4px}.history-message-content p{margin:0 0 8px}.history-message-content p:last-child{margin-bottom:0}.history-message-time{font-size:11px;color:var(--history-text-muted);margin:0 8px;font-family:DM Mono,monospace}.history-completion-reports{margin:24px 0}.history-bundle{background:var(--history-surface);border:1px solid var(--history-border);border-radius:8px;padding:16px 20px;margin-bottom:16px;font-size:14px;line-height:1.6;max-width:100%!important;box-sizing:border-box}.history-bundle:last-child{margin-bottom:0}.history-bundle h1,.history-bundle h2,.history-bundle h3{color:var(--history-text);margin-top:16px;margin-bottom:8px}.history-bundle h1:first-child,.history-bundle h2:first-child,.history-bundle h3:first-child{margin-top:0}.history-bundle p{margin:0 0 12px}.history-bundle p:last-child{margin-bottom:0}.history-bundle ul,.history-bundle ol{margin:8px 0;padding-left:20px}.history-bundle li{margin-bottom:4px}.history-bundle table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.9em;border:1px solid var(--history-border);border-radius:6px;overflow:hidden}.history-bundle th{background:var(--history-surface-warm);font-weight:600;text-align:left;padding:8px 12px;border-bottom:2px solid var(--history-border);color:var(--history-text)}.history-bundle td{padding:8px 12px;border-bottom:1px solid var(--history-border);vertical-align:top;color:var(--history-text)}.history-bundle tbody tr:last-child td{border-bottom:none}.history-bundle tbody tr:nth-child(2n){background:var(--history-surface-warm)}.history-outputs-missing-banner{background:#fef7e0;border:1px solid #f5d563;border-radius:6px;padding:12px 16px;margin-bottom:16px;color:#744210;font-size:14px;line-height:1.5}.history-outputs-missing-banner strong{color:#5a3309}.history-figures-section{margin:24px 0}.history-figs-block{margin-bottom:24px;background:var(--history-surface);border:1px solid var(--history-border);border-radius:8px;overflow:hidden}.history-figs-header{background:var(--history-surface-warm);padding:12px 16px;border-bottom:1px solid var(--history-border);font-size:12px;color:var(--history-text-muted);font-weight:500;font-family:DM Mono,monospace}.history-thumb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;padding:16px}.history-thumb{display:flex;flex-direction:column;gap:8px}.history-thumb-btn{position:relative;border:1px solid var(--history-border);border-radius:6px;overflow:hidden;cursor:pointer;transition:all .15s ease;padding:0;background:none}.history-thumb-btn:hover{border-color:var(--history-accent);transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.history-thumb-btn img{width:100%;height:140px;object-fit:cover;display:block}.history-thumb-meta{display:flex;justify-content:space-between;align-items:center;gap:8px}.history-thumb-name{font-size:12px;color:var(--history-text-muted);font-family:DM Mono,monospace;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-thumb-download{font-size:11px;color:var(--history-accent);text-decoration:none;font-weight:500;padding:2px 6px;border-radius:4px;transition:background-color .15s ease}.history-thumb-download:hover{background:rgba(var(--accent-rgb),.1);text-decoration:none}.history-output-notice{margin:24px 0;padding:16px;background:var(--history-surface-warm);border:1px solid var(--history-border);border-radius:8px}.history-output-notice p{margin:0 0 8px;font-size:14px;color:var(--history-text)}.history-output-notice p:last-child{margin-bottom:0}.history-output-hint{font-size:13px!important;color:var(--history-text-muted)!important}.history-data-link{background:none;border:none;padding:0;font:inherit;color:var(--history-accent);text-decoration:underline;cursor:pointer;font-weight:600;transition:color .15s ease}.history-data-link:hover{color:var(--history-accent-hover)}.history-warning{background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);color:#d97706;padding:12px 16px;border-radius:6px;font-size:13px;margin-bottom:16px}.history-detail-loading{padding:24px;display:flex;flex-direction:column;gap:16px}.history-detail-error,.history-error{padding:24px;color:#dc2626;background:#dc26261a;border:1px solid rgba(220,38,38,.2);border-radius:6px;margin:16px}.history-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--history-text-muted);gap:8px;padding:48px 24px}.history-error-inline{background:#dc26261a;border:1px solid rgba(220,38,38,.2);color:#dc2626;padding:8px 12px;border-radius:4px;font-size:13px;margin:8px 0}@media (max-width: 768px){.history-left-panel{width:260px}.history-search{padding:20px 16px}.history-search-input{padding:12px 14px 12px 40px;font-size:14px}.history-search:before{left:28px;font-size:15px}.history-detail-header{flex-direction:column;align-items:stretch;gap:12px}.history-detail-actions{flex-direction:column}.history-action-btn{width:100%;text-align:center}}@media (max-width: 600px){.history-split-container{flex-direction:column}.history-left-panel{width:100%;height:200px;border-right:none;border-bottom:1px solid var(--history-border);background:var(--history-surface-warm)}.history-search{padding:16px}.history-search-input{padding:10px 12px 10px 36px;font-size:14px;border-radius:10px}.history-search:before{left:24px;font-size:14px}.history-session-groups{flex-direction:row;overflow-x:auto;overflow-y:visible;gap:16px;padding:8px}.history-session-group{flex-shrink:0;margin-bottom:0;min-width:180px}.history-session-list{padding:0}}.profile-page{max-width:900px;margin:0 auto;padding:24px 28px;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;display:flex;flex-direction:column;gap:16px}.profile-header{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 8px}.profile-info{display:flex;align-items:center;gap:12px}.profile-avatar{width:36px;height:36px;background:#8b5cf6;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:15px}.profile-details{display:flex;flex-direction:column;gap:2px}.profile-name-row{display:flex;align-items:center;gap:8px}.profile-name{font-size:15px;font-weight:600;color:var(--soft-text)}.badge{padding:2px 8px;border-radius:4px;font-size:10px;font-weight:600;letter-spacing:.02em}.badge.verified{background:var(--success-bg);color:var(--success-text);border:1px solid var(--success-border)}.badge.academic{background:#fde4dc;color:var(--accent-flat);border:1px solid #f5c4b5}.profile-email{font-size:12px;color:var(--soft-muted-2)}.profile-stats{display:flex;align-items:center;gap:20px}.stat-item{text-align:center;display:flex;flex-direction:column;align-items:center}.stat-number{font-size:22px;font-weight:700;color:var(--soft-text);line-height:1}.stat-label{font-size:11px;color:var(--soft-muted);margin-top:4px}.stat-divider{width:1px;height:32px;background:var(--btn-border)}.credits-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;padding:22px 24px;box-shadow:0 1px 2px #0000000a}.credits-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.credits-left{display:flex;flex-direction:column}.credits-label{font-size:10px;font-weight:600;color:var(--soft-muted);letter-spacing:.08em;margin-bottom:6px}.credits-display{display:flex;align-items:baseline;gap:6px}.credits-large{font-size:30px;font-weight:700;color:var(--soft-text);line-height:1;letter-spacing:-.01em}.credits-unit{font-size:13px;color:var(--soft-muted);font-weight:500}.credits-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.used-label{font-size:11px;color:var(--soft-muted)}.used-number{font-size:22px;font-weight:700;color:var(--soft-text);line-height:1.1;margin-top:2px}.used-unit{font-size:11px;color:var(--soft-muted)}.credits-breakdown{display:flex;gap:24px;margin-bottom:10px}.breakdown-item{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--soft-muted-3)}.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;display:inline-block}.dot.red{background:var(--accent-flat)}.dot.green{background:#2da75c}.progress-section{margin-bottom:14px}.progress-line{height:4px;background:var(--progress-bg);border-radius:2px;overflow:hidden;margin-bottom:6px}.progress-fill{height:100%;background:var(--accent-flat);border-radius:2px}.progress-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--soft-muted)}.academic-notice{background:var(--accent-tint-1);border:1px solid var(--accent-tint-bd);border-radius:8px;padding:10px 14px;font-size:13px;color:var(--accent-flat);display:flex;align-items:center;gap:8px;line-height:1.4}.academic-icon{font-size:16px;flex-shrink:0}.academic-notice strong{font-weight:700;color:var(--accent-flat)}.buy-credits-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;padding:22px 24px;box-shadow:0 1px 2px #0000000a}.buy-credits-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:18px}.buy-title{font-size:16px;font-weight:700;color:var(--soft-text)}.buy-subtitle{font-size:12px;color:var(--soft-muted)}.pricing-cards{display:flex;gap:14px}.price-card{flex:1;background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:18px;text-align:left;position:relative;display:flex;flex-direction:column}.price-card.featured{border:2px solid var(--accent-flat);background:var(--accent-tint-2)}.popular-badge{position:absolute;top:-10px;left:50%;transform:translate(-50%);background:var(--accent-flat);color:#fff;padding:3px 12px;border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.card-name{font-size:11px;font-weight:700;color:var(--soft-text);letter-spacing:.08em;margin-bottom:10px}.card-credits-row{display:flex;align-items:baseline;gap:5px;margin-bottom:4px}.card-credits-num{font-size:24px;font-weight:700;color:var(--soft-text);line-height:1}.card-credits-label{font-size:13px;color:var(--soft-muted)}.card-bonus{font-size:11px;color:var(--accent-flat);margin-bottom:14px}.card-price{font-size:28px;font-weight:700;color:var(--soft-text);line-height:1;margin-bottom:2px}.card-per-credit{font-size:11px;color:var(--soft-muted);margin-bottom:14px}.card-btn{width:100%;padding:9px 16px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease;margin-top:auto}.card-btn.outline{background:var(--card-bg);border:1px solid var(--btn-border);color:var(--soft-text)}.card-btn.outline:hover{border-color:var(--accent-flat);color:var(--accent-flat)}.card-btn.filled{background:var(--accent-flat);border:1px solid var(--accent-flat);color:#fff}.card-btn.filled:hover{background:var(--accent-flat-h)}.card-btn:disabled{opacity:.6;cursor:not-allowed}.pricing-cards-loading{flex:1;text-align:center;font-size:13px;color:var(--soft-muted);padding:32px 0}.lab-card{background:#1f1f1f;border-radius:12px;padding:22px 26px;color:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.lab-info{flex:1}.lab-badge{background:#2e2e2e;color:#c8c8c8;padding:5px 11px;border-radius:6px;font-size:11px;font-weight:500;display:inline-flex;align-items:center;gap:6px;margin-bottom:14px;line-height:1}.lab-badge svg{flex-shrink:0}.lab-title{font-size:22px;font-weight:700;margin-bottom:6px;color:#fff;letter-spacing:-.01em}.lab-subtitle{font-size:13px;color:#a8a8a8;margin-bottom:18px}.lab-features{display:flex;gap:36px}.features-col{flex:1;display:flex;flex-direction:column;gap:7px}.feature-item{font-size:12px;color:#d0d0d0;line-height:1.4;position:relative;padding-left:14px}.feature-item:before{content:"•";position:absolute;left:0;color:var(--soft-muted);font-size:14px;line-height:1}.lab-pricing{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:130px}.lab-price{font-size:30px;font-weight:700;color:#fff;line-height:1}.lab-price-unit{font-size:14px;font-weight:500;color:#a8a8a8;margin-left:2px}.lab-note{font-size:11px;color:var(--soft-muted);margin-bottom:4px}.lab-btn{background:var(--accent-flat);border:1px solid var(--accent-flat);color:#fff;padding:9px 18px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s ease}.lab-btn:hover{background:var(--accent-flat-h)}.bottom-sections{display:flex;align-items:flex-start;gap:14px}.bottom-card{flex:1;background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;padding:18px 22px;box-shadow:0 1px 2px #0000000a}.bottom-title{font-size:14px;font-weight:700;color:var(--soft-text);margin:0}.collapse-card{padding:0}.collapse-card>summary{list-style:none;cursor:pointer;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none}.collapse-card>summary::-webkit-details-marker{display:none}.collapse-card>summary:after{content:"+";font-size:18px;color:var(--soft-muted);font-weight:400;line-height:1}.collapse-card[open]>summary:after{content:"−"}.collapse-card[open]>summary{border-bottom:1px solid var(--card-border)}.collapse-body{padding:16px 22px 20px}.muted-line{font-size:13px;color:var(--soft-muted)}.history-table{width:100%;border-collapse:collapse;font-size:13px}.history-table th,.history-table td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--card-border)}.history-table th{font-size:11px;font-weight:600;color:var(--soft-muted);text-transform:uppercase;letter-spacing:.04em}.history-table tbody tr:last-child td{border-bottom:none}.history-table td{color:var(--soft-text)}.settings-form{display:flex;flex-direction:column;gap:14px}.settings-warning{background:#fff5e6;border:1px solid #f1d4a3;border-radius:6px;padding:8px 12px;font-size:12px;color:#8a5a18;margin-bottom:14px}.resend-msg{color:var(--soft-muted-2)}.link-btn{background:none;border:none;color:var(--accent-flat);text-decoration:underline;cursor:pointer;padding:0;font:inherit}.link-btn:hover{color:var(--accent-flat-h)}.settings-form .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.settings-form .field{display:flex;flex-direction:column;gap:4px}.settings-form .field span{font-size:11px;font-weight:600;color:var(--soft-muted-3);letter-spacing:.02em}.settings-form .field input{padding:8px 10px;border:1px solid var(--input-border);border-radius:6px;background:var(--card-bg);font:inherit;font-size:13px;color:var(--soft-text)}.settings-form .field input:focus{outline:none;border-color:var(--accent-flat)}.settings-form .field input:read-only{background:var(--readonly-bg);color:var(--soft-text);cursor:default}.settings-form .field input:read-only:focus{border-color:var(--input-border)}.settings-success{background:#e8f5ed;border:1px solid #b5dcc3;border-radius:6px;padding:8px 12px;font-size:12px;color:var(--success-text)}.form-actions{display:flex;align-items:center;gap:16px;padding-top:4px}.btn-save{padding:8px 18px;background:var(--accent-flat);color:#fff;border:1px solid var(--accent-flat);border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}.btn-save:hover:not(:disabled){background:var(--accent-flat-h)}.btn-save:disabled{opacity:.6;cursor:not-allowed}.forgot-link{font-size:12px;color:var(--soft-muted);text-decoration:none}.forgot-link:hover{color:var(--accent-flat);text-decoration:underline}@media (max-width: 768px){.profile-page{padding:16px}.profile-header{flex-direction:column;gap:12px;text-align:center;align-items:center}.credits-top{flex-direction:column;gap:12px}.credits-right{align-items:flex-start;text-align:left}.pricing-cards{flex-direction:column}.lab-card{flex-direction:column;gap:16px}.lab-pricing{align-items:flex-start;text-align:left}.bottom-sections{flex-direction:column}}.legal-page{--lp-bg: #1a1a1a;--lp-text: #D4D4D4;--lp-bright: #FFFFFF;--lp-muted: #9E9E9E;--lp-accent: #D97758;--lp-border: rgba(255, 255, 255, .08);--lp-border-2: rgba(255, 255, 255, .12);--lp-glass: rgba(36, 36, 36, .55);position:relative;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,sans-serif;color:var(--lp-text);background:var(--lp-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.legal-page .legal-bg{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(ellipse 80% 60% at 20% 0%,rgba(217,119,88,.18),transparent 60%),radial-gradient(ellipse 70% 50% at 85% 15%,rgba(217,119,88,.1),transparent 55%),radial-gradient(ellipse 60% 40% at 50% 100%,rgba(217,119,88,.08),transparent 60%);z-index:0}.legal-page .legal-container{position:relative;z-index:1;max-width:780px;margin:0 auto;padding:4rem 1.5rem 6rem}.legal-page .legal-top-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.legal-page .legal-brand{font-size:1rem;font-weight:600;color:var(--lp-bright);text-decoration:none}.legal-page .legal-brand:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--lp-accent);margin-right:10px;vertical-align:2px;box-shadow:0 0 14px #d9775899}.legal-page .legal-back-link{font-size:.85rem;color:var(--lp-muted);text-decoration:none;transition:color .2s ease}.legal-page .legal-back-link:hover{color:var(--lp-accent)}.legal-page .legal-glass{position:relative;background:var(--lp-glass);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);border:1px solid var(--lp-border-2);border-radius:20px;padding:2.75rem 3rem;box-shadow:0 1px #ffffff0f inset,0 20px 60px #0006,0 4px 20px #00000040;overflow:hidden}.legal-page .legal-glass:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.01) 40%,transparent 100%);pointer-events:none;border-radius:inherit}.legal-page .legal-glass>*{position:relative}.legal-page .legal-eyebrow{display:inline-block;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.14em;color:var(--lp-accent);margin-bottom:.75rem}.legal-page .legal-h1{margin:0 0 .4rem;font-size:2rem;font-weight:700;color:var(--lp-bright);letter-spacing:-.02em}.legal-page .legal-meta{color:var(--lp-muted);font-size:.85rem;margin-bottom:2rem;padding-bottom:1.25rem;border-bottom:1px solid var(--lp-border)}.legal-page .legal-intro{font-size:1rem;line-height:1.7;color:var(--lp-text);margin-bottom:1rem}.legal-page .legal-h2{margin:2.25rem 0 .75rem;font-size:1.05rem;font-weight:600;color:var(--lp-bright);letter-spacing:-.005em}.legal-page .legal-h2-num{display:inline-block;width:1.5rem;color:var(--lp-accent);font-variant-numeric:tabular-nums}.legal-page p,.legal-page li{font-size:.94rem;line-height:1.65;color:var(--lp-text)}.legal-page p{margin:0 0 .85rem}.legal-page ul{padding-left:1.2rem;margin:0 0 .85rem}.legal-page li{margin-bottom:.3rem}.legal-page strong{color:var(--lp-bright);font-weight:600}.legal-page a{color:var(--lp-accent);text-decoration:none;border-bottom:1px solid rgba(217,119,88,.3)}.legal-page a:hover{border-bottom-color:var(--lp-accent)}.legal-page .legal-callout{margin:1.25rem 0;padding:.9rem 1.15rem;background:#d9775814;border:1px solid rgba(217,119,88,.2);border-radius:12px;font-size:.9rem}.legal-page .legal-callout strong{color:var(--lp-accent)}.legal-page .legal-data-table{width:100%;border-collapse:collapse;margin:1rem 0 1.25rem;font-size:.88rem}.legal-page .legal-data-table th,.legal-page .legal-data-table td{padding:.65rem .75rem;border-bottom:1px solid var(--lp-border);text-align:left;vertical-align:top}.legal-page .legal-data-table th{font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--lp-accent)}.legal-page .legal-data-table td:first-child{color:var(--lp-bright);font-weight:500;white-space:nowrap}.legal-page .legal-footer{margin-top:2.5rem;text-align:center;color:var(--lp-muted);font-size:.8rem}.legal-page .legal-footer a{color:var(--lp-muted);border:none}.legal-page .legal-footer a:hover{color:var(--lp-accent)}@media (max-width: 640px){.legal-page .legal-container{padding:2rem 1rem 3rem}.legal-page .legal-glass{padding:1.75rem 1.5rem;border-radius:16px}.legal-page .legal-h1{font-size:1.6rem}.legal-page .legal-data-table{font-size:.82rem}.legal-page .legal-data-table th,.legal-page .legal-data-table td{padding:.5rem}}.auth-page{--ap-bg: #1a1a1a;--ap-text: #D4D4D4;--ap-bright: #FFFFFF;--ap-muted: #9E9E9E;--ap-accent: #D97758;--ap-accent-h: #C56548;--ap-border: rgba(255, 255, 255, .08);--ap-border-2: rgba(255, 255, 255, .12);--ap-glass: rgba(36, 36, 36, .55);--ap-input-bg: rgba(255, 255, 255, .04);position:relative;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,sans-serif;color:var(--ap-text);background:var(--ap-bg);-webkit-font-smoothing:antialiased}.auth-page .auth-bg{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(ellipse 80% 60% at 20% 0%,rgba(217,119,88,.18),transparent 60%),radial-gradient(ellipse 70% 50% at 85% 15%,rgba(217,119,88,.1),transparent 55%),radial-gradient(ellipse 60% 40% at 50% 100%,rgba(217,119,88,.08),transparent 60%);z-index:0}.auth-page .auth-container{position:relative;z-index:1;max-width:440px;margin:0 auto;padding:3rem 1.5rem 4rem}.auth-page .auth-top-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.auth-page .auth-brand{font-size:1rem;font-weight:600;color:var(--ap-bright);text-decoration:none}.auth-page .auth-brand:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ap-accent);margin-right:10px;vertical-align:2px;box-shadow:0 0 14px #d9775899}.auth-page .auth-back-link{font-size:.85rem;color:var(--ap-muted);text-decoration:none;transition:color .2s ease}.auth-page .auth-back-link:hover{color:var(--ap-accent)}.auth-page .auth-card{position:relative;background:var(--ap-glass);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);border:1px solid var(--ap-border-2);border-radius:18px;padding:2.25rem 2.25rem 2rem;box-shadow:0 1px #ffffff0f inset,0 20px 60px #0006,0 4px 20px #00000040;overflow:hidden}.auth-page .auth-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.01) 40%,transparent 100%);pointer-events:none;border-radius:inherit}.auth-page .auth-card>*{position:relative}.auth-page .auth-h1{margin:0 0 .4rem;font-size:1.6rem;font-weight:700;color:var(--ap-bright);letter-spacing:-.01em}.auth-page .auth-subtitle{margin:0 0 1.5rem;font-size:.9rem;color:var(--ap-muted);line-height:1.5}.auth-page .auth-subtitle strong{color:var(--ap-bright);font-weight:600}.auth-page a{color:var(--ap-accent);text-decoration:none;border-bottom:1px solid rgba(217,119,88,.3)}.auth-page a:hover{border-bottom-color:var(--ap-accent);color:var(--ap-accent-h)}.auth-page .ap-form{display:flex;flex-direction:column;gap:1rem;width:auto;max-width:none;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.auth-page .auth-field{display:flex;flex-direction:column;gap:.4rem;font-size:.85rem;color:var(--ap-muted)}.auth-page .auth-field input{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;padding:.65rem .85rem;font-size:.95rem;font-family:inherit;color:var(--ap-bright);background:var(--ap-input-bg);border:1px solid var(--ap-border-2);border-radius:10px;outline:none;transition:border-color .15s ease,background .15s ease}.auth-page .auth-field input:focus{border-color:#d9775899;background:#ffffff0f}.auth-page .auth-field input::placeholder{color:var(--ap-muted)}.auth-page .auth-hint{font-size:.75rem;color:var(--ap-muted);margin-top:.1rem}.auth-page .auth-submit{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;margin-top:.5rem;padding:.75rem 1rem;font-size:.95rem;font-weight:600;font-family:inherit;color:var(--ap-bright);background:var(--ap-accent);border:none;border-radius:10px;cursor:pointer;transition:background .15s ease,transform .05s ease,opacity .15s ease}.auth-page .auth-submit:hover{background:var(--ap-accent-h)}.auth-page .auth-submit:active{transform:translateY(1px)}.auth-page .auth-submit:disabled{opacity:.55;cursor:not-allowed}.auth-page .auth-banner{margin-bottom:1rem;padding:.75rem .9rem;border-radius:10px;font-size:.88rem;line-height:1.4}.auth-page .auth-banner-error{color:#ffb4a0;background:#d977581a;border:1px solid rgba(217,119,88,.35)}.auth-page .auth-banner-success{color:#a7e2c4;background:#4ec39a1a;border:1px solid rgba(78,195,154,.3)}.auth-page .auth-link-btn{display:inline-block;margin-top:.4rem;background:none;border:none;padding:0;color:var(--ap-accent);font:inherit;font-size:.85rem;text-align:left;cursor:pointer;text-decoration:underline}.auth-page .auth-link-btn:disabled{opacity:.55;cursor:not-allowed}.auth-page .auth-muted{color:var(--ap-muted);font-size:.88rem;line-height:1.55;margin:0}.auth-page .auth-fineprint{margin:.5rem 0 0;font-size:.78rem;line-height:1.5;color:var(--ap-muted)}.auth-page .auth-footer{margin-top:1.5rem;text-align:center;font-size:.85rem;color:var(--ap-muted);display:flex;flex-direction:column;gap:.4rem}.auth-page .auth-footer a{color:var(--ap-text)}.auth-page .auth-footer a:hover{color:var(--ap-accent)}.auth-page .auth-footer-quiet{font-size:.8rem;opacity:.85}.auth-page .auth-turnstile{margin:.25rem 0}@media (max-width: 480px){.auth-page .auth-container{padding:2rem 1rem 3rem}.auth-page .auth-card{padding:1.75rem 1.5rem 1.5rem;border-radius:14px}.auth-page .auth-h1{font-size:1.4rem}}.prog-panel{display:flex;flex-direction:column;width:100%;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.prog-empty{padding:1.5rem 1rem;color:var(--text-muted);font-size:.9rem}.prog-multitask{display:flex;flex-wrap:wrap;gap:.4rem;padding:.5rem .75rem .6rem;border-bottom:1px solid var(--border)}.prog-multitask-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .55rem;background:transparent;border:1px solid var(--border);border-radius:999px;color:var(--text-muted);font-size:.78rem;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.prog-multitask-pill:hover{border-color:var(--accent);color:var(--accent)}.prog-multitask-pill.active{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.prog-multitask-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.prog-header{flex:0 0 auto;padding:.85rem 1rem .65rem;border-bottom:1px solid var(--border)}.prog-task-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.2rem .7rem;border:1.5px solid var(--accent);border-radius:20px;background:transparent;font-size:.82rem;color:var(--text)}.prog-task-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:prog-task-dot 1.4s ease-in-out infinite}@keyframes prog-task-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}.prog-task-hash{font-weight:600;font-size:.83rem}.prog-task-elapsed{color:var(--text-muted);font-size:.78rem;font-variant-numeric:tabular-nums}.prog-divider{margin:.55rem 0 .7rem;border-top:1px dashed var(--border)}.prog-track{display:flex;align-items:flex-start;gap:0}.prog-track-cell{flex:1 1 0;display:flex;flex-direction:column;align-items:stretch;min-width:0}.prog-track-node-wrap{display:flex;align-items:center;width:100%}.prog-track-node{position:relative;flex:0 0 auto;width:16px;height:16px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--border);background:var(--surface);color:transparent}.prog-track-done{background:var(--accent);border-color:var(--accent);color:#fff}.prog-track-running{background:var(--accent);border-color:var(--accent)}.prog-track-running:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:1.5px solid var(--accent);animation:prog-ring-pulse 1.4s ease-in-out infinite}@keyframes prog-ring-pulse{0%{transform:scale(1);opacity:.8}to{transform:scale(1.55);opacity:0}}.prog-track-pulse{width:4px;height:4px;border-radius:50%;background:#fff}.prog-track-pending{background:transparent;border-color:var(--border);opacity:.55}.prog-track-error{background:#9b2c2c2e;border-color:#9b2c2c8c}.prog-track-line{flex:1 1 auto;height:2px;margin:0 2px;background:var(--border)}.prog-track-line-done{background:var(--accent)}.prog-track-line-half{background:linear-gradient(to right,var(--accent),var(--border))}.prog-track-line-pending{background:var(--border);opacity:.5}.prog-track-label{margin-top:.35rem;font-size:.66rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prog-track-label-running{color:var(--accent);font-weight:600}.prog-track-label-done{color:var(--text)}.prog-track-label-error{color:#9b2c2cd9;font-weight:600}.prog-body{max-height:360px;min-height:0;overflow-y:auto;padding:.6rem .85rem 1rem;display:flex;flex-direction:column;gap:.45rem}.prog-row{display:flex;align-items:center;gap:.55rem;padding:.4rem .25rem;border-bottom:1px solid var(--border);font-size:.83rem;animation:prog-row-in .2s ease}.prog-row:last-child{border-bottom:none}@keyframes prog-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.prog-row-icon{flex:0 0 auto;width:14px;height:14px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--border)}.prog-row-icon-done{background:var(--accent);border-color:var(--accent);color:#fff}.prog-row-icon-pending{background:transparent;border-color:var(--border)}.prog-row-label{flex:0 0 auto;color:var(--text);font-weight:500}.prog-row-detail{flex:1 1 auto;text-align:right;color:var(--text-muted);font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prog-row-pending{opacity:.5;border-bottom-style:dashed}.prog-active-card{display:flex;flex-direction:column;gap:.5rem;padding:.7rem .8rem .75rem;background:var(--surface);border:1.5px solid var(--accent);border-radius:10px;box-shadow:var(--shadow-sm);animation:prog-card-in .25s ease}@keyframes prog-card-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.prog-active-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.prog-active-badge{display:inline-block;padding:.15rem .45rem;background:var(--accent-light);color:var(--accent);font-size:.66rem;font-weight:700;letter-spacing:.06em;border-radius:4px}.prog-active-elapsed{color:var(--text-muted);font-size:.78rem;font-variant-numeric:tabular-nums}.prog-active-bar{width:100%;height:3px;background:var(--border);border-radius:2px;overflow:hidden}.prog-active-bar-fill{height:100%;background:var(--accent);transition:width .4s cubic-bezier(.4,0,.2,1)}.prog-active-bar-fill.indeterminate{width:30%;animation:prog-bar-indeterminate 30s ease-in-out infinite}@keyframes prog-bar-indeterminate{0%{width:12%}50%{width:90%}to{width:12%}}.prog-active-logs{display:flex;flex-direction:column;gap:.35rem;margin-top:.15rem}.prog-log{display:flex;gap:.5rem;font-size:.78rem;line-height:1.45;animation:prog-row-in .2s ease}.prog-log-ts{flex:0 0 auto;color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;font-variant-numeric:tabular-nums;padding-top:1px}.prog-log-text{flex:1 1 auto;color:var(--text-muted);word-break:break-word}.prog-toolcall{display:flex;flex-direction:column;gap:.2rem;padding:.4rem .55rem;border-left:2px solid var(--accent);background:var(--accent-light);border-radius:0 6px 6px 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;animation:prog-row-in .2s ease}.prog-toolcall-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,sans-serif;font-size:.62rem;font-weight:700;letter-spacing:.08em;color:var(--accent);text-transform:uppercase}.prog-toolcall-name{font-size:.78rem;color:var(--text);word-break:break-word}.prog-active-spinner{display:inline-flex;align-items:center;gap:.4rem;margin-top:.15rem;color:var(--accent);font-style:italic;font-size:.78rem}.prog-active-spinner svg{animation:prog-spin .8s linear infinite}@keyframes prog-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.prog-collapsed{display:inline-flex;align-items:center;gap:.55rem;padding:.45rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:999px;cursor:pointer;font:inherit;font-size:.82rem;color:var(--text);transition:border-color .15s ease,background .15s ease;align-self:flex-start}.prog-collapsed:hover{border-color:var(--accent)}.prog-collapsed.is-error{border-color:#9b2c2c73}.prog-collapsed-icon{width:16px;height:16px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff}.prog-collapsed-icon.is-error{background:#9b2c2cd9}.prog-collapsed-summary{font-weight:500}.prog-collapsed-hash{color:var(--text-muted);font-size:.78rem;font-variant-numeric:tabular-nums}.prog-collapsed-chevron{color:var(--text-muted);font-size:.75rem}[data-theme=dark] .prog-task-pill{border-color:#ffffffa6;color:#ffffffeb}[data-theme=dark] .prog-task-dot{background:#ffffffd9}[data-theme=dark] .prog-track-done,[data-theme=dark] .prog-track-running{background:#ffffffd9;border-color:#ffffffd9;color:#1a1a1a}[data-theme=dark] .prog-track-running:after{border-color:#ffffff8c}[data-theme=dark] .prog-track-pulse{background:#1a1a1a}[data-theme=dark] .prog-track-line-done{background:#ffffffbf}[data-theme=dark] .prog-track-line-half{background:linear-gradient(to right,rgba(255,255,255,.75),var(--border))}[data-theme=dark] .prog-track-label-running{color:#ffffffeb}[data-theme=dark] .prog-row-icon-done{background:#ffffffd9;border-color:#ffffffd9;color:#1a1a1a}[data-theme=dark] .prog-active-card{border-color:#ffffff8c}[data-theme=dark] .prog-active-badge{background:#ffffff1a;color:#ffffffeb}[data-theme=dark] .prog-active-bar-fill{background:#ffffffd9}[data-theme=dark] .prog-toolcall{border-left-color:#ffffff8c;background:#ffffff0f}[data-theme=dark] .prog-toolcall-label,[data-theme=dark] .prog-active-spinner{color:#ffffffd9}[data-theme=dark] .prog-collapsed-icon{background:#ffffffd9;color:#1a1a1a}[data-theme=dark] .prog-collapsed-icon.is-error{background:#dc5046e6;color:#fff}[data-theme=dark] .prog-collapsed:hover{border-color:#ffffff8c}.tasks-slider{display:flex;flex-direction:column;gap:.75rem;padding:.75rem .85rem 1rem}.tasks-pills{display:flex;flex-wrap:wrap;gap:.4rem;padding-bottom:.5rem;border-bottom:1px dashed var(--border)}.tasks-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .65rem;background:transparent;border:1px solid var(--border);border-radius:999px;color:var(--text-muted);font-size:.78rem;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.tasks-pill:hover{border-color:var(--accent);color:var(--accent)}.tasks-pill.active{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.tasks-pill-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0;animation:prog-task-dot 1.4s ease-in-out infinite}.tasks-pill-label{font-weight:500;color:var(--text)}.tasks-pill.active .tasks-pill-label{color:var(--accent)}.tasks-pill-elapsed{color:var(--text-muted);font-size:.74rem;font-variant-numeric:tabular-nums}.tasks-slider-caption{margin:0 0 .6rem;font-size:.78rem;line-height:1.4;color:var(--text-muted)}.tasks-pill-stop{display:inline-flex;align-items:center;justify-content:center;margin-left:.25rem;padding:2px 6px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--text-muted);cursor:pointer;line-height:1;transition:color .15s ease,background .15s ease,border-color .15s ease}.tasks-pill-stop:hover:not(:disabled){color:#d44;border-color:#d44;background:#dc444414}.tasks-pill-stop:disabled{opacity:.55;cursor:default}.tasks-pill-stop-label{font-size:.7rem;font-weight:500}[data-theme=dark] .tasks-pill-stop{color:#fff9}[data-theme=dark] .tasks-pill-stop:hover:not(:disabled){color:#ff7a7a;border-color:#ff7a7a;background:#ff7a7a1f}.tasks-progress{display:flex;flex-direction:column}[data-theme=dark] .tasks-pill.active{border-color:#ffffff8c;background:#ffffff0f;color:#ffffffeb}[data-theme=dark] .tasks-pill.active .tasks-pill-label{color:#ffffffeb}[data-theme=dark] .tasks-pill-dot{background:#ffffffd9}.maintenance-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#1a1a1aeb;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:1.5rem;animation:maintenance-fade-in .2s ease}@keyframes maintenance-fade-in{0%{opacity:0}to{opacity:1}}.maintenance-panel{max-width:460px;width:100%;padding:2rem 2.25rem;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);text-align:center;color:var(--text)}.maintenance-panel svg{display:block;margin:0 auto .75rem;color:var(--accent)}.maintenance-title{margin:0 0 .5rem;font-size:1.4rem;font-weight:600;letter-spacing:-.005em;color:var(--text)}.maintenance-message{margin:0;font-size:.95rem;line-height:1.5;color:var(--text-muted)}.feedback-stars{display:flex;align-items:center;gap:10px;margin:10px 0 18px;padding:8px 12px;font-size:13px;color:var(--text-muted);opacity:.75;transition:opacity .15s ease}.feedback-stars:hover{opacity:1}.feedback-prompt{white-space:nowrap}.feedback-stars .stars{display:inline-flex;gap:2px}.feedback-stars .star{background:none;border:none;cursor:pointer;font-size:18px;line-height:1;color:var(--text-muted);padding:2px 3px;transition:color .1s ease,transform .1s ease}.feedback-stars .star:hover{transform:scale(1.1)}.feedback-stars .star.filled{color:#f5a623}.feedback-comment{display:flex;gap:6px;margin-left:8px;align-items:center}.feedback-comment input{flex:1;min-width:220px;padding:4px 8px;font-size:13px;border:1px solid var(--border-color, #444);background:var(--bg-secondary, transparent);color:var(--text-primary, inherit);border-radius:4px}.feedback-comment button{padding:4px 10px;font-size:12px;border:1px solid var(--border-color, #444);background:transparent;color:var(--text-muted);border-radius:4px;cursor:pointer}.feedback-comment button:hover{color:var(--text-primary, inherit)}.feedback-comment .feedback-send{border-color:#f5a623;color:#f5a623}.feedback-thanks{margin:10px 0 18px;padding:6px 12px;font-size:12px;color:var(--text-muted);opacity:.6}.chat-bubble-plan{max-width:100%}.chat-bubble-body--plan-preamble{margin-bottom:12px;opacity:.78;font-size:13px}.plan-card{border:1px solid var(--accent-tint-bd, #f0c9bc);background:var(--accent-tint-2, #fdf6f3);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:18px;max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word}.chat-bubble-plan{min-width:0}.plan-card-header{display:flex;flex-direction:column;gap:8px}.plan-card-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}.plan-card-title{margin:0;font-size:16px;font-weight:600;line-height:1.4;color:var(--text)}.plan-card-files-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px}.plan-card-files-label{color:var(--text-muted);font-weight:600}.plan-card-file{padding:2px 8px;background:var(--card-bg);border:1px solid var(--accent-tint-bd, #f0c9bc);border-radius:999px;font-size:12px;color:var(--text);max-width:100%;word-break:break-all;overflow-wrap:anywhere}.plan-card-steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:14px;counter-reset:plan-step}.plan-card-step{display:flex;flex-direction:column;gap:4px}.plan-card-step-name{font-size:14px;font-weight:600;color:var(--text);line-height:1.4}.plan-card-step-rationale{margin:0;font-size:12.5px;color:var(--text-muted);line-height:1.45}.plan-card-params{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:12px;row-gap:4px;margin:4px 0 0;padding:0;font-size:12.5px;min-width:0}.plan-card-param{display:contents}.plan-card-param-key{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--text-muted)}.plan-card-param-val{margin:0;display:flex;align-items:baseline;gap:8px;color:var(--text);min-width:0;flex-wrap:wrap}.plan-card-param-val code{background:rgba(var(--accent-rgb),.12);padding:1px 6px;border-radius:4px;font-size:12.5px;color:var(--text);max-width:100%;white-space:normal;word-break:break-all;overflow-wrap:anywhere}.plan-card-param-inferred-tag{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#f5c451;color:#5a3d00;font-size:10px;font-weight:700;cursor:help}.plan-card-skipped,.plan-card-assumptions{display:flex;flex-direction:column;gap:6px}.plan-card-section-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.plan-card-skipped ul,.plan-card-assumptions ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--text)}.plan-card-skipped-item{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}.plan-card-skipped-name{font-weight:600;color:var(--text)}.plan-card-skipped-quote{font-style:italic;color:var(--text-muted)}.plan-card-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:10px;border-top:1px dashed var(--accent-tint-bd, #f0c9bc)}.plan-card-btn{padding:8px 16px;border-radius:8px;border:1px solid transparent;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .12s,border-color .12s,color .12s}.plan-card-btn:disabled{cursor:not-allowed;opacity:.55}.plan-card-btn-approve{background:var(--accent);color:#fff}.plan-card-btn-approve:hover:not(:disabled){background:var(--accent-hover)}.plan-card-btn-reject{background:transparent;color:var(--accent);border-color:var(--accent-tint-bd, #f0c9bc)}.plan-card-btn-reject:hover:not(:disabled){background:rgba(var(--accent-rgb),.08);border-color:var(--accent)}.plan-card-btn-cancel{background:transparent;color:var(--text-muted);border-color:transparent}.plan-card-btn-cancel:hover:not(:disabled){color:var(--text);background:rgba(var(--accent-rgb),.08)}.plan-card-hint{margin:0 0 0 auto;font-size:11px;color:var(--text-muted)}.plan-card-resolved{margin-top:10px;padding:6px 10px;border-top:1px dashed var(--accent-tint-bd, #f0c9bc);font-size:11px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:var(--text-muted)}.plan-card-resolved--approved{color:#2f8a4a}.plan-card-resolved--rejected{color:#b04a2a}.plan-card-resolved--superseded{color:var(--text-muted)}[data-theme=dark] .plan-card-resolved--approved{color:#6fcb89}[data-theme=dark] .plan-card-resolved--rejected{color:#ff9a73}.plan-card-reject-feedback{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px dashed var(--accent-tint-bd, #f0c9bc)}.plan-card-reject-feedback-label{font-size:12px;font-weight:600;color:var(--text-muted)}.plan-card-reject-feedback-textarea{width:100%;resize:vertical;padding:8px 10px;border:1px solid var(--accent-tint-bd, #f0c9bc);border-radius:8px;font-family:inherit;font-size:13px;line-height:1.4;background:var(--card-bg);color:var(--text)}.plan-card-reject-feedback-textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.18)}.plan-card-reject-feedback-actions{display:flex;flex-wrap:wrap;gap:8px}.chat-bubble-picker .chat-bubble-body--picker-preamble{margin-bottom:12px}.input-picker-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px;font-size:13px;color:var(--text)}.input-picker-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.input-picker-title{font-size:14px;font-weight:600;color:var(--text)}.input-picker-query{font-size:12px;color:var(--text-muted);margin-top:4px;font-style:italic}.input-picker-empty{background:var(--accent-light, #fff8e1);border:1px solid var(--accent);color:var(--text);padding:10px 12px;border-radius:6px;font-size:12px}.input-picker-search input{width:100%;padding:7px 10px;font-size:13px;border-radius:6px;border:1px solid var(--border);background:var(--bg);color:var(--text)}.input-picker-section{display:flex;flex-direction:column;gap:6px}.input-picker-section-title{font-size:11px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:var(--text-muted)}.input-picker-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}.input-picker-row{padding:4px 0}.input-picker-row-main{display:flex;align-items:center;gap:8px}.input-picker-checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer;flex:1 1 auto}.input-picker-checkbox input[type=checkbox]{cursor:pointer}.input-picker-label{font-weight:500;color:var(--text)}.input-picker-size{font-size:11px;color:var(--text-muted);margin-left:4px}.input-picker-kind-hint{font-size:11px;color:var(--text-muted);margin-left:4px;font-style:italic}.input-picker-task-id{font-size:11px;color:var(--text-muted);margin-left:4px;font-family:ui-monospace,monospace}.input-picker-expand{background:transparent;border:1px solid var(--border);color:var(--text);border-radius:4px;padding:3px 8px;font-size:11px;font-weight:500;cursor:pointer;line-height:1;display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap}.input-picker-expand:hover{background:var(--surface-2);border-color:var(--accent);color:var(--text)}.input-picker-children{list-style:none;padding:4px 0 4px 22px;display:flex;flex-direction:column;gap:2px;border-left:1px dashed var(--border);margin:0 0 0 8px}.input-picker-child-row{padding:2px 0}.input-picker-loading,.input-picker-error{font-size:11px;color:var(--text-muted);padding:2px 0}.input-picker-error{color:#b54708}.input-picker-footer{display:flex;justify-content:space-between;align-items:center;margin-top:4px;gap:12px}.input-picker-count,.input-picker-resolved{font-size:12px;color:var(--text-muted)}.input-picker-submit{background:var(--accent);color:#fff;border:none;border-radius:6px;padding:7px 14px;font-size:13px;font-weight:500;cursor:pointer}.input-picker-submit:disabled{opacity:.5;cursor:not-allowed}.input-picker-submit:not(:disabled):hover{filter:brightness(.95)}.chat-change-inputs-slot{display:flex;justify-content:center;margin-top:6px}.chat-change-inputs-link{background:transparent;border:none;color:var(--text-muted);font-size:12px;text-decoration:underline;cursor:pointer;padding:4px 8px}.chat-change-inputs-link:hover{color:var(--text)}
