:root{font-family:system-ui,-apple-system,Helvetica,Arial,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #0f1117;--surface: #1a1d27;--surface-2: #22263a;--border: #2e3350;--text: #e2e8f0;--text-muted:#8892a4;--accent: #6c8ef5;--accent-dim:#3b4f9e;--green: #4ade80;--green-bg: #14532d33;--red: #f87171;--red-bg: #7f1d1d33;--yellow: #fbbf24;--yellow-bg: #78350f33;--blue-bg: #1e3a5f33}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;padding:0;min-height:100vh;background-color:var(--bg);color:var(--text);text-align:left}h1,h2,h3{margin:0;color:var(--text)}h1{font-size:1.6rem}h2{font-size:1.1rem}a{color:var(--accent);text-decoration:none}a:hover{color:#a5b4fc;text-decoration:underline}button{border-radius:6px;border:1px solid var(--border);padding:.5em 1.2em;font-size:.9rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}button:hover{border-color:var(--accent)}button:disabled{opacity:.45;cursor:not-allowed}:root{--sidebar-w: 220px}.app-layout{display:flex;min-height:100vh;width:100%}.sidebar{width:var(--sidebar-w);min-height:100vh;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100}.sidebar-brand{padding:1.25rem 1.25rem 1rem;font-size:1.15rem;font-weight:700;letter-spacing:-.01em;border-bottom:1px solid var(--border);margin-bottom:.5rem}.brand-quant{color:var(--text)}.brand-signal{color:var(--accent);margin-left:.2em}.sidebar-nav{display:flex;flex-direction:column;gap:.15rem;padding:.25rem .6rem;flex:1}.nav-item{display:flex;align-items:center;gap:.65rem;padding:.55rem .75rem;border-radius:8px;color:var(--text-muted);text-decoration:none;font-size:.9rem;font-weight:500;transition:background .12s,color .12s}.nav-item:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.nav-item.active{background:var(--accent-dim);color:var(--accent)}.nav-icon{font-size:1rem;width:1.2rem;text-align:center}.nav-label{flex:1}.sidebar-user{padding:.75rem 1rem;border-top:1px solid var(--border)}.user-info{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem}.user-name{font-size:.82rem;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.role-badge{font-size:.65rem;font-weight:700;padding:.15em .45em;border-radius:8px;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.role-admin{background:#dc2626;color:#fff}.role-analyst{background:var(--accent-dim);color:var(--accent)}.role-viewer{background:var(--green-bg);color:var(--green)}.role-guest{background:var(--surface-2);color:var(--text-muted)}.logout-btn{width:100%;padding:.35rem .6rem;font-size:.78rem;font-weight:500;color:var(--text-muted);background:transparent;border:1px solid var(--border);border-radius:6px;cursor:pointer;transition:all .12s}.logout-btn:hover{border-color:var(--red);color:var(--red)}.sidebar-footer{padding:.85rem 1.25rem;border-top:1px solid var(--border)}.sidebar-model-badge{font-size:.72rem;color:var(--text-muted);background:var(--surface-2);border:1px solid var(--border);border-radius:20px;padding:.2rem .6rem}.content-area{margin-left:var(--sidebar-w);width:calc(100% - var(--sidebar-w));min-width:0;min-height:100vh;display:flex;flex-direction:column;box-sizing:border-box}.content-area .page{padding:2.5rem 3rem;width:100%;box-sizing:border-box}.chat-page{display:flex;flex-direction:column;height:100vh;background:var(--bg)}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0}.chat-header-title{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:600;color:var(--text-muted)}.chat-model-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 6px var(--green)}.chat-clear-btn{font-size:.8rem;padding:.3rem .8rem;background:var(--surface-2);border:1px solid var(--border);color:var(--text-muted);border-radius:6px;cursor:pointer}.chat-clear-btn:hover{color:var(--text);border-color:var(--accent)}.chat-messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.chat-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem 1rem;margin:auto;max-width:560px}.chat-empty-icon{font-size:2.5rem;margin-bottom:.75rem}.chat-empty h2{font-size:1.4rem;color:var(--text);margin-bottom:.5rem}.chat-empty p{color:var(--text-muted);font-size:.9rem;margin-bottom:1.5rem}.chat-suggestions{display:flex;flex-direction:column;gap:.5rem;width:100%}.suggestion-chip{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.6rem 1rem;color:var(--text-muted);font-size:.85rem;text-align:left;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.suggestion-chip:hover{background:var(--surface-2);border-color:var(--accent);color:var(--text)}.chat-message{display:flex;align-items:flex-start;gap:.75rem;max-width:820px;width:100%}.chat-message.user{flex-direction:row-reverse;margin-left:auto}.chat-message.assistant{margin-right:auto}.msg-avatar{width:32px;height:32px;border-radius:8px;background:var(--accent-dim);color:var(--accent);font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.msg-bubble{padding:.65rem 1rem;border-radius:12px;font-size:.9rem;line-height:1.65;max-width:100%;word-break:break-word;white-space:pre-wrap}.chat-message.user .msg-bubble{background:var(--accent-dim);color:var(--text);border-bottom-right-radius:4px}.chat-message.assistant .msg-bubble{background:var(--surface);color:var(--text);border-bottom-left-radius:4px;border:1px solid var(--border)}.stream-cursor{display:inline-block;width:2px;height:1em;background:var(--accent);margin-left:2px;vertical-align:text-bottom;border-radius:1px;animation:blink .8s step-end infinite}@keyframes blink{50%{opacity:0}}.chat-input-area{padding:1rem 1.5rem .75rem;border-top:1px solid var(--border);background:var(--bg);flex-shrink:0}.chat-input-box{display:flex;align-items:flex-end;gap:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:.5rem .5rem .5rem 1rem;transition:border-color .15s}.chat-input-box:focus-within{border-color:var(--accent)}.chat-textarea{flex:1;background:transparent;border:none;outline:none;resize:none;color:var(--text);font-family:inherit;font-size:.9rem;line-height:1.6;min-height:24px;max-height:180px;overflow-y:auto;padding:0}.chat-textarea::placeholder{color:var(--text-muted)}.chat-textarea:disabled{opacity:.5}.chat-send-btn{width:34px;height:34px;border-radius:8px;border:none;background:var(--accent);color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .12s,opacity .12s;padding:0}.chat-send-btn:disabled{background:var(--surface-2);opacity:.5;cursor:not-allowed}.chat-send-btn:not(:disabled):hover{background:#5a7de8}.send-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.chat-hint{font-size:.72rem;color:var(--text-muted);margin:.4rem 0 0;text-align:center}.page{padding:0}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.filters{display:flex;gap:.25rem;margin-bottom:1.25rem;flex-wrap:wrap}.filters a{padding:.3rem .8rem;border-radius:20px;font-size:.85rem;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);transition:all .15s}.filters a:hover{color:var(--text);text-decoration:none;border-color:var(--accent)}.filters a.active{background:var(--accent-dim);color:var(--text);border-color:var(--accent);font-weight:600}.table-wrap{overflow-x:auto;border-radius:8px;border:1px solid var(--border)}table{width:100%;border-collapse:collapse;font-size:.9rem}th{padding:.65rem .9rem;text-align:left;font-weight:600;color:var(--text-muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border)}td{padding:.6rem .9rem;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle}.source-cell{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);font-size:.82rem}.status{display:inline-block;font-size:.78rem;padding:.2em .6em;border-radius:12px;font-weight:600;letter-spacing:.02em}.direction-up{color:var(--green);font-weight:600}.direction-down{color:var(--red);font-weight:600}.total{margin-top:.75rem;color:var(--text-muted);font-size:.85rem}.btn{display:inline-block;padding:.45rem 1rem;border-radius:6px;font-size:.88rem;font-weight:500;text-decoration:none!important;transition:all .15s;border:1px solid transparent}.btn.primary{background:var(--accent);color:#fff}.btn.link{background:transparent;color:var(--accent);border-color:var(--border);padding:.3rem .7rem;font-size:.82rem}.btn.link:hover{border-color:var(--accent)}.error{color:var(--red)}.input-page h1{margin-bottom:.4rem}.input-page .subtitle{color:var(--text-muted);font-size:.9rem;margin-bottom:2rem}.input-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.5rem;margin-bottom:1.25rem}.input-card h2{font-size:.8rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:1rem}.url-row{display:flex;gap:.75rem;align-items:flex-start;flex-wrap:wrap}.url-input{flex:1;min-width:0;padding:.6rem .85rem;background:var(--bg);border:1px solid var(--border);border-radius:6px;color:var(--text);font-size:.9rem;font-family:inherit;outline:none;transition:border-color .15s}.url-input::placeholder{color:var(--text-muted)}.url-input:focus{border-color:var(--accent)}.file-row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.file-input{flex:1;font-size:.88rem;color:var(--text-muted)}.file-input::-webkit-file-upload-button{background:var(--surface-2);border:1px solid var(--border);color:var(--text);padding:.4rem .8rem;border-radius:5px;cursor:pointer;margin-right:.5rem}.btn{padding:.6rem 1.3rem;border-radius:6px;border:1px solid transparent;font-size:.9rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .15s}.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn.primary:hover{background:#7c9ef8}.btn.secondary{background:var(--surface-2);color:var(--text);border-color:var(--border)}.btn.secondary:hover{border-color:var(--accent)}.btn:disabled{opacity:.45;cursor:not-allowed}.status-box{margin-top:1.5rem;padding:1rem 1.25rem;border-radius:8px;font-size:.9rem;display:flex;align-items:center;gap:.75rem}.status-box.info{background:var(--blue-bg);border:1px solid #1e3a8a;color:#93c5fd}.status-box.success{background:var(--green-bg);border:1px solid #14532d;color:var(--green)}.status-box.error{background:var(--red-bg);border:1px solid #7f1d1d;color:var(--red)}.spinner{width:16px;height:16px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:spin .6s linear infinite;flex-shrink:0}.back-link{font-size:.9rem;margin-bottom:1rem;display:inline-block}.detail-title{font-size:1rem;color:var(--text-muted);font-weight:400;word-break:break-all;margin:.25rem 0 1.5rem}.detail-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem;margin-bottom:1.5rem}.detail-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.85rem 1rem}.detail-card .label{font-size:.72rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.3rem}.detail-card .value{font-size:1.1rem;font-weight:600;color:var(--text)}.status{display:inline-block;font-size:.78rem;padding:.2em .6em;border-radius:12px;font-weight:600}.status.pending,.status.processing{background:var(--blue-bg);color:#60a5fa}.direction-up{color:var(--green)}.direction-down{color:var(--red)}.direction-neutral{color:var(--text-muted)}.detail-section{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem 1.25rem;margin-bottom:1rem}.detail-section h2{font-size:.78rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.75rem}.sentiment-grid{display:grid;grid-template-columns:auto 1fr;gap:.3rem 1.25rem;font-size:.9rem}.sentiment-grid dt{color:var(--text-muted);font-weight:500;white-space:nowrap}.sentiment-grid dd{margin:0;color:var(--text);font-weight:600;word-break:break-word}.sentiment-json{margin:0;font-size:.78rem;color:var(--text-muted);white-space:pre-wrap;font-weight:400}.flags-list{list-style:none;padding:0;margin:0}.flags-list li{padding:.45rem 0;border-bottom:1px solid var(--border);font-size:.9rem;color:var(--text)}.flags-list li:last-child{border-bottom:none}.flag-name{color:var(--yellow);font-weight:600;margin-right:.5rem}.transcript-text{font-size:.9rem;line-height:1.75;color:var(--text);white-space:pre-wrap;max-height:380px;overflow-y:auto;padding-right:.5rem}.transcript-text::-webkit-scrollbar{width:6px}.transcript-text::-webkit-scrollbar-track{background:transparent}.transcript-text::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.reasoning-text{font-size:.9rem;line-height:1.7;color:var(--text);margin:0}.error-box{background:var(--red-bg);border:1px solid #7f1d1d;border-radius:6px;padding:.75rem 1rem;color:var(--red);font-size:.88rem}.btn-analyze{display:inline-block;margin-top:1rem;padding:.5rem 1.25rem;background:var(--accent);color:#fff;border:none;border-radius:6px;font-size:.9rem;cursor:pointer}.btn-analyze:hover{background:#7c9ef8}.btn-analyze:disabled{opacity:.5;cursor:not-allowed}.interp-form{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1rem 1.25rem;margin-bottom:1rem;display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem}.interp-form-fields{display:flex;gap:.75rem;flex-wrap:wrap;flex:1}.interp-field{display:flex;flex-direction:column;gap:.25rem;min-width:160px}.interp-field label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.interp-field input{background:var(--surface-2);border:1px solid var(--border);border-radius:5px;padding:.4rem .65rem;color:var(--text);font-size:.88rem;outline:none}.interp-field input:focus{border-color:var(--accent)}.interp-field-hint{font-size:.72rem;color:var(--text-muted);line-height:1.4}.interp-title-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.interp-title-row h2{margin:0}.interp-badges{display:flex;gap:.4rem;flex-wrap:wrap}.badge{font-size:.72rem;font-weight:600;padding:.2em .6em;border-radius:10px;white-space:nowrap}.badge-historical{background:var(--blue-bg);color:#60a5fa}.badge-corpus{background:var(--accent-dim);color:var(--accent)}.interp-auto-value{display:flex;flex-direction:column;gap:.25rem}.interp-video-title{font-size:.88rem;color:var(--text);font-weight:500;margin-bottom:.35rem;line-height:1.4}.interp-speaker{font-size:.82rem;color:var(--text-muted);font-style:italic;margin-bottom:.5rem}.subsection-label{font-size:.72rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin:1rem 0 .4rem}.ticker-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem}.ticker-card{flex:1;min-width:110px;background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:.7rem .9rem}.ticker-symbol{font-size:.72rem;font-weight:700;text-transform:uppercase;color:var(--text-muted);letter-spacing:.04em;margin-bottom:.2rem}.ticker-price{font-size:1.15rem;font-weight:700;color:var(--text)}.ticker-change{font-size:.82rem;font-weight:600;margin-top:.15rem}.ticker-change.ticker-up{color:var(--green)}.ticker-change.ticker-down{color:var(--red)}.ticker-change-label{font-weight:400;color:var(--text-muted);font-size:.75rem}.ticker-5d{font-size:.75rem;color:var(--text-muted);margin-top:.1rem}.ticker-error{font-size:.78rem;color:var(--red);margin-top:.25rem}.interp-summary{font-size:.95rem;line-height:1.65;color:var(--text);margin:.5rem 0 .75rem}.interp-context{background:var(--surface-2);border-left:3px solid var(--accent);padding:.6rem .9rem;border-radius:0 6px 6px 0;font-size:.88rem;color:var(--text);line-height:1.6;margin-bottom:.75rem}.interp-context-label{display:block;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--accent);margin-bottom:.3rem}.interp-meta{display:flex;gap:1.5rem;font-size:.9rem;color:var(--text-muted);margin-bottom:.75rem}.interp-meta strong{font-weight:700}.impact-table{margin-bottom:.75rem}.impact-row{display:flex;align-items:baseline;gap:.75rem;padding:.45rem 0;border-bottom:1px solid var(--border);font-size:.88rem}.impact-row:last-child{border-bottom:none}.impact-ticker{font-family:monospace;font-weight:700;color:var(--text);min-width:70px}.impact-dir{font-weight:700;min-width:80px;font-size:.83rem}.impact-mag{font-size:.78rem;color:var(--text-muted);min-width:36px}.impact-reasoning{color:var(--text-muted);flex:1;line-height:1.5}.historical-card{border-color:var(--green);border-opacity:.5}.outcome-note{font-size:.8rem;color:var(--text-muted);font-style:italic;margin:.4rem 0 .75rem;line-height:1.5}.signals-section{margin-bottom:.75rem}.signal-card{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:.6rem .85rem;margin-bottom:.5rem}.signal-header{display:flex;align-items:center;gap:.6rem;margin-bottom:.3rem;flex-wrap:wrap}.signal-category{font-size:.68rem;font-weight:700;padding:.15em .5em;border-radius:8px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.signal-phrase{font-size:.88rem;color:var(--text);font-style:italic;font-weight:500}.signal-implication{font-size:.85rem;color:var(--text);line-height:1.5}.signal-precedent{font-size:.8rem;color:var(--text-muted);margin-top:.25rem;line-height:1.5}.risk-list ul{margin:0;padding-left:1.2rem}.risk-list li{font-size:.88rem;color:var(--text-muted);line-height:1.6;padding:.15rem 0}.lp-page{padding:0}.lp-header{margin-bottom:1.5rem}.lp-header h1{margin:.25rem 0 .3rem}.lp-subtitle{color:var(--text-muted);font-size:.88rem;margin:0}.lp-subtitle code{background:var(--surface-2);padding:.1em .4em;border-radius:4px;font-size:.9em;color:var(--accent)}.back-link{font-size:.88rem;color:var(--text-muted);display:inline-block;margin-bottom:.25rem}.back-link:hover{color:var(--accent);text-decoration:none}.lp-pipeline{display:flex;align-items:flex-start;gap:0;margin-bottom:1.75rem;flex-wrap:wrap}.lp-pipeline-step{flex:1;min-width:220px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.25rem}.lp-pipeline-arrow{align-self:center;font-size:1.4rem;color:var(--text-muted);padding:0 .75rem;flex-shrink:0}.lp-step{display:flex;align-items:center;gap:.65rem;margin-bottom:.6rem}.lp-step-num{width:28px;height:28px;border-radius:50%;background:var(--accent-dim);border:2px solid var(--accent);color:var(--text);font-size:.85rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.lp-step.done .lp-step-num{background:var(--green-bg);border-color:var(--green);color:var(--green)}.lp-step-label{font-size:1rem;font-weight:700;color:var(--text)}.lp-step-desc{font-size:.85rem;color:var(--text-muted);margin:0 0 .9rem;line-height:1.5}.lp-step-desc em{font-style:normal;color:var(--yellow)}.btn-action{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;background:var(--accent);color:#fff;border:none;border-radius:7px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap}.btn-action:hover:not(:disabled){background:#7c9ef8}.btn-action:disabled{opacity:.45;cursor:not-allowed}.spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.lp-inline-result{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-top:.75rem;font-size:.85rem;font-weight:600}.lp-inline-result .ok{color:var(--green)}.lp-inline-result .dim{color:var(--text-muted);font-weight:400}.lp-inline-result .err{color:var(--red)}.lp-inline-result details{font-weight:400;color:var(--text-muted);font-size:.82rem}.lp-inline-result summary{cursor:pointer;color:var(--accent)}.lp-inline-result ul{margin:.3rem 0 0 1rem;padding:0;list-style:disc}.lp-inline-result li{padding:.1rem 0}.lp-inline-error{color:var(--red);font-size:.84rem;margin-top:.5rem}.lp-subfolder-row{margin-bottom:.6rem}.lp-subfolder-input{padding:.4rem .7rem;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:.85rem;width:160px;outline:none}.lp-subfolder-input:focus{border-color:var(--accent)}.lp-dropzone{border:2px dashed var(--border);border-radius:10px;padding:1.5rem;text-align:center;cursor:pointer;transition:all .15s;background:var(--bg)}.lp-dropzone:hover{border-color:var(--accent);background:var(--surface-2)}.lp-dropzone.drag-over{border-color:var(--accent);background:var(--accent-dim)}.lp-dropzone-text{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.88rem;color:var(--text-muted);font-weight:500}.lp-stat-row{display:flex;gap:.65rem;flex-wrap:wrap;margin-bottom:1.5rem}.lp-stat{flex:1;min-width:90px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.8rem 1rem}.lp-stat-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.25rem}.lp-stat-value{font-size:1.55rem;font-weight:700;color:var(--text)}.lp-stat.pending .lp-stat-value{color:var(--yellow)}.lp-stat.processing .lp-stat-value{color:#60a5fa}.lp-stat.completed .lp-stat-value{color:var(--green)}.lp-stat.failed .lp-stat-value{color:var(--red)}.progress-stat{min-width:140px}.lp-progress-bar{height:6px;background:var(--surface-2);border-radius:3px;margin-top:.5rem;overflow:hidden}.lp-progress-fill{height:100%;background:var(--green);border-radius:3px;transition:width .4s ease}.lp-table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;flex-wrap:wrap;gap:.5rem}.lp-table-header h2{font-size:1rem}.lp-filters{display:flex;gap:.3rem;flex-wrap:wrap}.lp-filter-btn{padding:.22rem .65rem;border-radius:12px;font-size:.78rem;font-weight:600;background:var(--surface);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;transition:all .15s}.lp-filter-btn:hover{border-color:var(--accent);color:var(--text)}.lp-filter-btn.active{background:var(--accent-dim);border-color:var(--accent);color:var(--text)}.lp-table-wrap{border:1px solid var(--border);border-radius:8px;overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.87rem}thead{background:var(--surface-2)}th{padding:.6rem .9rem;text-align:left;color:var(--text-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:.55rem .9rem;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle}tbody tr:last-child td{border-bottom:none}tbody tr:hover{background:var(--surface)}.lp-filename{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:monospace;font-size:.8rem;color:var(--text-muted)}.lp-date{color:var(--text-muted);font-size:.8rem;white-space:nowrap}.lp-empty{text-align:center;padding:2.5rem;color:var(--text-muted);font-size:.9rem}.status{display:inline-block;font-size:.74rem;padding:.18em .55em;border-radius:10px;font-weight:700;white-space:nowrap}.status.pending{background:var(--yellow-bg);color:var(--yellow)}.status.processing{background:var(--blue-bg);color:#60a5fa}.status.completed{background:var(--green-bg);color:var(--green)}.status.failed{background:var(--red-bg);color:var(--red)}.auth-page{display:flex;justify-content:center;align-items:center;min-height:100vh;background:var(--bg)}.auth-card{width:100%;max-width:380px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:2.5rem 2rem}.auth-card .auth-brand{font-size:1.15rem;font-weight:700;margin-bottom:1.5rem}.auth-card h2{font-size:1.25rem;margin:0 0 1.25rem;color:var(--text)}.auth-form{display:flex;flex-direction:column;gap:.75rem}.auth-form input{padding:.65rem .85rem;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--text);font-size:.9rem;outline:none;transition:border-color .15s}.auth-form input:focus{border-color:var(--accent)}.auth-error{color:var(--red);font-size:.84rem;margin:0}.auth-btn{padding:.65rem;border:1px solid var(--border);border-radius:7px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .15s}.auth-btn:disabled{opacity:.5;cursor:not-allowed}.auth-btn.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.auth-btn.primary:hover:not(:disabled){background:#7c9ef8}.auth-btn.sso{background:var(--surface-2);color:var(--text);width:100%}.auth-btn.sso:hover{border-color:var(--accent)}.auth-divider{display:flex;align-items:center;gap:.75rem;margin:1.25rem 0;color:var(--text-muted);font-size:.82rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.sso-buttons{display:flex;flex-direction:column;gap:.5rem}.auth-footer{text-align:center;font-size:.85rem;color:var(--text-muted);margin-top:1.25rem}.auth-footer a{color:var(--accent);text-decoration:none}.auth-footer a:hover{text-decoration:underline}.admin-page h1{margin:0 0 1rem}.admin-tabs{display:flex;gap:.25rem;margin-bottom:1.5rem;border-bottom:1px solid var(--border)}.admin-tab{padding:.5rem 1rem;font-size:.88rem;font-weight:600;color:var(--text-muted);text-decoration:none;border-bottom:2px solid transparent;transition:all .15s}.admin-tab:hover{color:var(--text)}.admin-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.admin-users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;gap:1rem}.admin-users-count{font-size:.88rem;color:var(--text-muted);font-weight:600}.admin-search{padding:.45rem .75rem;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--text);font-size:.85rem;width:240px;outline:none}.admin-search:focus{border-color:var(--accent)}.admin-table-wrap{border:1px solid var(--border);border-radius:8px;overflow-x:auto}.admin-email{font-family:monospace;font-size:.82rem}.admin-date{color:var(--text-muted);font-size:.8rem;white-space:nowrap}.admin-empty{text-align:center;padding:2rem;color:var(--text-muted)}tr.inactive td{opacity:.5}.provider-badge{font-size:.72rem;padding:.15em .45em;border-radius:6px;background:var(--surface-2);color:var(--text-muted);font-weight:600}.role-select{padding:.25rem .4rem;border:1px solid var(--border);border-radius:5px;background:var(--bg);color:var(--text);font-size:.82rem;cursor:pointer}.toggle-btn{padding:.2rem .55rem;border-radius:10px;font-size:.72rem;font-weight:700;border:none;cursor:pointer}.toggle-btn.on{background:var(--green-bg);color:var(--green)}.toggle-btn.off{background:var(--red-bg);color:var(--red)}.reset-pw-btn{padding:.2rem .55rem;border-radius:5px;font-size:.72rem;font-weight:600;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);cursor:pointer}.reset-pw-btn:hover{border-color:var(--accent);color:var(--accent)}.admin-system-loading,.admin-system-error{padding:2rem;text-align:center;color:var(--text-muted)}.sys-section{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.25rem;margin-bottom:1rem}.sys-section h3{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;font-size:1rem}.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.status-dot.ok{background:var(--green)}.status-dot.err{background:var(--red)}.sys-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem}.sys-stat{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:.75rem}.sys-stat-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:.25rem}.sys-stat-value{font-size:1.4rem;font-weight:700;color:var(--text)}.sys-detail{font-size:.88rem;margin-bottom:.5rem;color:var(--text)}.sys-label{color:var(--text-muted);font-weight:600}.sys-muted{color:var(--text-muted);font-style:italic}.model-tag{display:inline-block;margin:0 .3rem .2rem 0;padding:.15em .5em;background:var(--accent-dim);color:var(--accent);border-radius:6px;font-size:.82rem}
