.app-layout{display:flex;height:100vh;width:100vw;background:var(--theme-bg-base)}.sidebar{width:240px;background:var(--theme-bg-panel);border-right:1px solid var(--theme-border-subtle);display:flex;flex-direction:column;flex-shrink:0}.sidebar-header{height:56px;display:flex;align-items:center;padding:0 1.25rem;border-bottom:1px solid var(--theme-border-subtle)}.brand-logo{font-size:1.15rem;font-weight:700;color:var(--theme-primary);letter-spacing:.04em}.sidebar-nav{padding:.75rem .5rem;display:flex;flex-direction:column;gap:2px;flex:1}.nav-item{display:flex;align-items:center;gap:.65rem;padding:.55rem .75rem;text-decoration:none;color:var(--theme-text-secondary);border-radius:var(--theme-radius-md);font-size:.88rem;font-weight:500;transition:all .15s}.nav-item:hover{background:var(--theme-bg-surface);color:var(--theme-text-primary)}.nav-item.active{background:var(--theme-primary-bg);color:var(--theme-primary)}.nav-item.disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.nav-spacer{flex:1}.main-wrapper{flex:1;display:flex;flex-direction:column;overflow:hidden}.topbar{height:56px;background:var(--theme-bg-base);border-bottom:1px solid var(--theme-border-subtle);display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem;flex-shrink:0}.topbar-left{display:flex;align-items:center}.topbar-right{display:flex;align-items:center;gap:.75rem}.user-profile{display:flex;align-items:center;gap:.6rem;margin-left:.5rem}.user-info{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}.user-name{font-size:.85rem;font-weight:600;color:var(--theme-text-heading)}.user-role-badge{font-size:.7rem;color:var(--theme-text-secondary);text-transform:capitalize}.avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem;flex-shrink:0}.user-avatar{background:var(--theme-primary);color:#fff}.btn-icon{background:none;border:none;color:var(--theme-text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--theme-radius-md);transition:all .15s}.btn-icon:hover{background:var(--theme-bg-surface);color:var(--theme-text-primary)}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.landing-page{min-height:100vh;background:var(--theme-bg-base);display:flex;flex-direction:column}.landing-nav{position:sticky;top:0;z-index:100;background:var(--theme-bg-panel);border-bottom:1px solid var(--theme-border-subtle);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.landing-nav-inner{max-width:1120px;margin:0 auto;padding:0 2rem;height:56px;display:flex;align-items:center;justify-content:space-between}.landing-brand{font-size:1.15rem;font-weight:700;color:var(--theme-primary);letter-spacing:.04em}.landing-nav-links{display:flex;align-items:center;gap:1rem}.landing-link{font-size:.88rem;font-weight:500;color:var(--theme-text-secondary);text-decoration:none;transition:color .15s}.landing-link:hover{color:var(--theme-text-primary)}.landing-cta-small{display:inline-flex;align-items:center;gap:.3rem;font-size:.85rem;font-weight:600;color:#fff;background:var(--theme-primary);padding:.4rem .9rem;border-radius:var(--theme-radius-md);text-decoration:none;transition:background .15s}.landing-cta-small:hover{background:var(--theme-primary-hover)}.landing-hero{flex:1;display:flex;align-items:center;justify-content:center;padding:6rem 2rem 4rem}.hero-content{max-width:700px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.hero-badge{display:inline-flex;align-items:center;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--theme-primary);background:var(--theme-info-bg);padding:.35rem 1rem;border-radius:999px;border:1px solid rgba(79,193,255,.2)}.hero-title{font-size:2.8rem;font-weight:800;color:var(--theme-text-heading);line-height:1.15;letter-spacing:-.02em}.hero-accent{background:linear-gradient(135deg,var(--theme-primary),var(--theme-info));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-subtitle{font-size:1.1rem;color:var(--theme-text-secondary);line-height:1.65;max-width:600px}.hero-actions{display:flex;gap:.75rem;margin-top:.5rem}.landing-cta{display:inline-flex;align-items:center;gap:.4rem;font-size:.95rem;font-weight:600;color:#fff;background:var(--theme-primary);padding:.7rem 1.5rem;border-radius:var(--theme-radius-md);text-decoration:none;transition:background .15s}.landing-cta:hover{background:var(--theme-primary-hover)}.landing-cta-outline{display:inline-flex;align-items:center;gap:.4rem;font-size:.95rem;font-weight:600;color:var(--theme-text-primary);background:transparent;border:1px solid var(--theme-border-subtle);padding:.7rem 1.5rem;border-radius:var(--theme-radius-md);text-decoration:none;transition:all .15s}.landing-cta-outline:hover{background:var(--theme-bg-surface);border-color:var(--theme-text-secondary)}.hero-proof{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:var(--theme-text-secondary);margin-top:.5rem;flex-wrap:wrap;justify-content:center}.hero-proof svg{color:var(--theme-success)}.hero-proof .separator{color:var(--theme-border-subtle)}.landing-features{padding:4rem 2rem;max-width:1120px;margin:0 auto;width:100%}.features-title{text-align:center;font-size:1.6rem;font-weight:700;color:var(--theme-text-heading);margin-bottom:2.5rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem}.feature-card{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:1.5rem;transition:border-color .2s,transform .2s}.feature-card:hover{border-color:var(--theme-primary);transform:translateY(-2px)}.feature-icon{width:40px;height:40px;border-radius:var(--theme-radius-md);background:var(--theme-info-bg);color:var(--theme-info);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.feature-card h3{font-size:1rem;font-weight:600;color:var(--theme-text-heading);margin-bottom:.5rem}.feature-card p{font-size:.85rem;color:var(--theme-text-secondary);line-height:1.55}.landing-footer{border-top:1px solid var(--theme-border-subtle);padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto;width:100%}.landing-brand-small{font-size:.85rem;font-weight:700;color:var(--theme-primary);letter-spacing:.04em}.footer-text{font-size:.8rem;color:var(--theme-text-secondary)}.auth-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--theme-bg-base)}.auth-card{width:100%;max-width:420px;padding:2.5rem 2rem;background:var(--theme-bg-panel);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg)}.auth-header{text-align:center;margin-bottom:2rem}.auth-brand{font-size:1.8rem;font-weight:700;color:var(--theme-primary);margin-bottom:.25rem}.auth-subtitle{font-size:.9rem;color:var(--theme-text-secondary)}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.85rem;font-weight:600;color:var(--theme-text-primary)}.form-input{padding:.6rem .75rem;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);color:var(--theme-text-primary);font-size:.9rem;font-family:inherit;outline:none;transition:border-color .2s}.form-input:focus{border-color:var(--theme-border-focus)}.form-input::placeholder{color:var(--theme-text-secondary)}.auth-error{padding:.6rem .75rem;background:var(--theme-danger-bg);border:1px solid var(--theme-danger);border-radius:var(--theme-radius-md);color:var(--theme-danger);font-size:.85rem}.auth-submit{padding:.7rem 1rem;background:var(--theme-primary);color:#fff;border:none;border-radius:var(--theme-radius-md);font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s}.auth-submit:hover{background:var(--theme-primary-hover)}.auth-submit:active{background:var(--theme-primary-active)}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-footer{text-align:center;margin-top:1.5rem;font-size:.85rem;color:var(--theme-text-secondary)}.auth-footer a{color:var(--theme-primary);text-decoration:none;font-weight:600}.auth-footer a:hover{text-decoration:underline}.projects-container{display:flex;flex-direction:column;gap:24px;padding:24px;overflow-y:auto;height:100%}.page-header-row{display:flex;justify-content:space-between;align-items:flex-end}.page-title{font-size:1.8rem;font-weight:700;color:var(--theme-text-heading);margin-bottom:4px}.page-subtitle{color:var(--theme-text-secondary);font-size:.95rem}.projects-toolbar{display:flex;gap:16px;margin-top:16px}.search-box{display:flex;align-items:center;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);padding:0 12px;flex:1;max-width:400px;transition:border-color .15s ease-in-out}.search-box:focus-within{border-color:var(--theme-border-focus)}.search-box input{background:transparent;border:none;color:var(--theme-text-primary);padding:8px 0;width:100%;outline:none;font-size:.9rem}.search-box input::placeholder{color:var(--theme-text-secondary)}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;margin-top:16px}.project-card-rich{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:16px;display:flex;flex-direction:column;gap:16px;transition:transform .15s ease-in-out,box-shadow .15s ease-in-out,border-color .15s ease-in-out}.project-card-rich:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:var(--theme-primary)}.card-header{display:flex;justify-content:space-between;align-items:flex-start}.card-title-group{display:flex;align-items:center;gap:8px}.objective-icon.validation{color:var(--theme-info)}.objective-icon.creation{color:var(--theme-success)}.card-title{font-size:1.1rem;font-weight:600;color:var(--theme-text-heading)}.card-desc{color:var(--theme-text-secondary);font-size:.9rem;line-height:1.5;flex:1}.card-badges{display:flex;gap:8px;align-items:center}.badge-rich{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:var(--theme-radius-sm);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge-validation{background:var(--theme-info-bg);color:var(--theme-info)}.badge-dataset_creation{background:var(--theme-success-bg);color:var(--theme-success)}.badge-objective{background:var(--theme-info-bg);color:var(--theme-info)}.badge-objective.success{background:var(--theme-success-bg);color:var(--theme-success)}.badge-status-active,.badge-status-paused{display:inline-flex;align-items:center;padding:2px 6px;border-radius:var(--theme-radius-sm);font-size:.7rem;font-weight:700;letter-spacing:.5px;background:var(--theme-warning-bg);color:var(--theme-warning)}.badge-status-archived{display:inline-flex;align-items:center;padding:2px 6px;border-radius:var(--theme-radius-sm);font-size:.7rem;font-weight:700;letter-spacing:.5px;background:var(--theme-bg-panel);color:var(--theme-text-secondary);border:1px solid var(--theme-border-subtle)}.card-body h3{font-size:1rem;font-weight:600;color:var(--theme-text-heading);margin-bottom:4px}.card-body p{color:var(--theme-text-secondary);font-size:.875rem;line-height:1.5}.card-team-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid var(--theme-border-subtle)}.team-avatars{display:flex;align-items:center}.team-avatar{width:30px;height:30px;border:2px solid var(--theme-bg-surface);font-size:.75rem;color:#fff;margin-left:-10px;cursor:pointer;transition:transform .15s ease-in-out}.team-avatar:first-child{margin-left:0}.team-avatar:hover{transform:translateY(-2px);z-index:9}.overflow-avatar{background:var(--theme-bg-panel);color:var(--theme-text-secondary)}.last-updated-text{font-size:.8rem;color:var(--theme-text-secondary)}.card-footer{display:flex;gap:16px;align-items:center;background:var(--theme-bg-panel);padding:8px 16px;margin:0 -16px -16px;border-top:1px solid var(--theme-border-subtle);border-bottom-left-radius:var(--theme-radius-lg);border-bottom-right-radius:var(--theme-radius-lg)}.btn-link{color:var(--theme-primary);text-decoration:none;font-size:.875rem;font-weight:600;display:inline-flex;align-items:center;gap:4px;padding:4px 0;transition:color .15s ease-in-out;border-radius:var(--theme-radius-sm)}.btn-link:hover{color:var(--theme-primary-hover);text-decoration:underline}.btn-link:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.text-muted{color:var(--theme-text-secondary)}.btn-primary-action{background:var(--theme-primary);color:#fff;border:none;height:32px;padding:0 16px;border-radius:var(--theme-radius-md);font-weight:600;font-size:.875rem;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .15s ease-in-out}.btn-primary-action:hover{background:var(--theme-primary-hover)}.btn-primary-action:active{transform:scale(.98);background:var(--theme-primary-active)}.btn-primary-action:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.btn-primary-action:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--theme-bg-surface);color:var(--theme-text-primary);border:1px solid var(--theme-border-subtle);height:32px;padding:0 16px;border-radius:var(--theme-radius-md);font-weight:500;font-size:.875rem;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .15s ease-in-out}.btn-secondary:hover{background:var(--theme-bg-surface-hover);border-color:var(--theme-text-secondary)}.btn-secondary:active{background:var(--theme-bg-surface-hover);transform:scale(.98)}.btn-secondary:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.status-filters{display:flex;gap:8px}.filter-chip{height:32px;padding:0 12px;border-radius:var(--theme-radius-md);font-size:.8rem;font-weight:600;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);color:var(--theme-text-secondary);cursor:pointer;transition:all .15s ease-in-out;display:inline-flex;align-items:center}.filter-chip.active{background:var(--theme-primary);color:#fff;border-color:var(--theme-primary)}.filter-chip:hover:not(.active){border-color:var(--theme-primary);color:var(--theme-primary)}.filter-chip:active{transform:scale(.98)}.filter-chip:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.actions-dropdown-wrapper{position:relative}.actions-dropdown{position:absolute;top:100%;right:0;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);box-shadow:0 8px 24px #0003;min-width:160px;z-index:50;overflow:hidden}.actions-dropdown button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 16px;background:none;border:none;color:var(--theme-text-primary);font-size:.85rem;cursor:pointer;transition:background .15s ease-in-out}.actions-dropdown button:hover{background:var(--theme-bg-surface-hover)}.actions-dropdown button:focus-visible{outline:none;background:var(--theme-bg-surface-hover)}.actions-dropdown .danger-action{color:var(--theme-danger)}.actions-dropdown .danger-action:hover{background:var(--theme-danger-bg)}.wizard-modal{max-width:560px;width:100%}.wizard-steps{display:flex;justify-content:center;gap:32px;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--theme-border-subtle)}.wizard-step{display:flex;align-items:center;gap:8px;color:var(--theme-text-secondary);font-size:.85rem}.wizard-step.active{color:var(--theme-primary)}.wizard-step.completed{color:var(--theme-success)}.step-circle{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;background:var(--theme-bg-panel);border:2px solid var(--theme-border-subtle);flex-shrink:0}.wizard-step.active .step-circle{background:var(--theme-primary);border-color:var(--theme-primary);color:#fff}.wizard-step.completed .step-circle{background:var(--theme-success);border-color:var(--theme-success);color:#fff}.step-label{font-weight:600}.wizard-subtitle{color:var(--theme-text-secondary);font-size:.9rem;margin-bottom:24px}.objective-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.objective-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 16px;background:var(--theme-bg-panel);border:2px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);cursor:pointer;transition:all .15s ease-in-out;text-align:center;color:var(--theme-text-primary)}.objective-card:hover{border-color:var(--theme-primary)}.objective-card.selected{border-color:var(--theme-primary);background:var(--theme-primary-bg);box-shadow:0 0 0 3px var(--theme-primary-bg)}.objective-card:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.objective-card strong{font-size:1rem}.objective-card span{font-size:.8rem;color:var(--theme-text-secondary);line-height:1.4}.form-row{display:flex;gap:16px}.flex-1{flex:1}.flex-2{flex:2}.form-textarea{resize:vertical;min-height:64px;font-family:inherit}.form-error-message{color:var(--theme-danger);font-size:.85rem;margin-bottom:16px}.summary-card{background:var(--theme-bg-panel);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:16px;margin-bottom:24px}.summary-row{display:flex;justify-content:space-between;padding:8px 0}.summary-label{color:var(--theme-text-secondary);font-size:.85rem;font-weight:500}.summary-value{color:var(--theme-text-primary);font-weight:600;font-size:.85rem;text-align:right;max-width:60%;word-break:break-all}.summary-value.mono{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.8rem}.summary-divider{height:1px;background:var(--theme-border-subtle);margin:8px 0}.delete-modal-content{max-width:400px}.delete-modal-actions{margin-top:32px}.detail-container{display:flex;flex-direction:column;gap:16px;max-width:900px;margin:0 auto;padding:24px}.detail-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.detail-header-left{display:flex;align-items:center;gap:16px}.detail-title-group h1{font-size:1.6rem;font-weight:700;color:var(--theme-text-heading);margin-bottom:4px}.detail-badges,.detail-header-actions{display:flex;gap:8px}.detail-tabs{display:flex;gap:0;border-bottom:2px solid var(--theme-border-subtle)}.tab{display:flex;align-items:center;gap:4px;padding:8px 16px;border:none;background:none;color:var(--theme-text-secondary);font-weight:600;font-size:.9rem;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .15s ease-in-out}.tab.active{color:var(--theme-primary);border-bottom-color:var(--theme-primary)}.tab:hover:not(.active){color:var(--theme-text-primary)}.tab:focus-visible{outline:2px solid var(--theme-primary);outline-offset:-2px}.detail-content{display:flex;flex-direction:column;gap:32px;padding-top:16px}.detail-section{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:24px}.detail-section h3{display:flex;align-items:center;gap:8px;font-size:1rem;font-weight:700;color:var(--theme-text-heading);margin-bottom:16px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-header h3{margin-bottom:0}.detail-description{color:var(--theme-text-secondary);line-height:1.6;font-size:.95rem}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.config-item{display:flex;flex-direction:column;gap:4px}.config-label{font-size:.75rem;color:var(--theme-text-secondary);text-transform:uppercase;letter-spacing:.5px;font-weight:600}.config-value{font-size:.9rem;color:var(--theme-text-primary);word-break:break-all}.config-value.mono{font-family:JetBrains Mono,ui-monospace,monospace;font-size:.85rem}.form-actions-inline{display:flex;gap:8px;margin-top:16px;justify-content:flex-end}.detail-actions-row,.status-actions{display:flex;gap:8px}.danger-zone{border-color:var(--theme-danger-bg)}.danger-zone h3{color:var(--theme-danger)}.danger-zone p{color:var(--theme-text-secondary);font-size:.9rem;margin-bottom:16px}.btn-admin.danger.destructive{background:var(--theme-danger);color:#fff;border-color:var(--theme-danger)}.btn-admin.danger.destructive:hover{opacity:.9}.canvas-layout{display:flex;flex-direction:column;height:100vh;width:100vw;background:var(--theme-bg-base)}.canvas-header{height:60px;background:var(--theme-bg-panel);border-bottom:1px solid var(--theme-border-subtle);display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem;flex-shrink:0}.canvas-header-left,.canvas-header-right,.canvas-title-group{display:flex;align-items:center;gap:1rem}.canvas-title-group h2{font-size:1.2rem;margin:0;color:var(--theme-text-heading)}.canvas-header-center{flex:1;display:flex;justify-content:center;align-items:center}.canvas-workspace-split{display:flex;flex:1;overflow:hidden}.canvas-pane{display:flex;flex-direction:column;border-right:1px solid var(--theme-border-subtle);background:var(--theme-bg-base)}.conversations-pane{flex:0 0 280px;background:var(--theme-bg-panel)}.chat-pane{flex:1;min-width:400px}.right-pane{flex:0 0 380px;border-right:none;background:var(--theme-bg-panel)}.pane-header{height:48px;background:var(--theme-bg-surface);border-bottom:1px solid var(--theme-border-subtle);display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem;flex-shrink:0}.pane-header h3{font-size:.9rem;font-weight:600;color:var(--theme-text-secondary);display:flex;align-items:center;gap:.5rem;text-transform:uppercase;letter-spacing:.5px;margin:0}.pane-content{flex:1;display:flex;flex-direction:column;padding:1.5rem;overflow-y:auto}.conv-search-wrapper{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid var(--theme-border-subtle);color:var(--theme-text-muted)}.conv-search-input{flex:1;background:transparent;border:none;color:var(--theme-text-primary);font-size:.85rem;outline:none}.conv-list{flex:1;overflow-y:auto}.conv-empty{padding:2rem 1rem;text-align:center;color:var(--theme-text-muted);font-size:.9rem}.conv-empty p{margin-bottom:1rem}.conv-item{padding:.75rem 1rem;border-bottom:1px solid var(--theme-border-subtle);cursor:pointer;transition:background .15s}.conv-item:hover{background:var(--theme-bg-surface)}.conv-item.active{background:var(--theme-bg-surface);border-left:3px solid var(--theme-primary)}.conv-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.conv-item-title{font-size:.9rem;font-weight:600;color:var(--theme-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.conv-item-delete{background:none;border:none;color:var(--theme-text-muted);cursor:pointer;padding:.2rem;border-radius:4px;opacity:0;transition:opacity .15s,color .15s}.conv-item:hover .conv-item-delete{opacity:1}.conv-item-delete:hover{color:var(--theme-danger)}.conv-item-preview{font-size:.8rem;color:var(--theme-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 .35rem}.conv-item-meta{display:flex;justify-content:space-between;align-items:center}.conv-item-count{font-size:.75rem;color:var(--theme-text-muted)}.conv-item-users{display:flex;gap:-4px}.btn-icon-sm{background:none;border:none;color:var(--theme-text-secondary);cursor:pointer;padding:.25rem;border-radius:4px;display:flex;align-items:center}.btn-icon-sm:hover{color:var(--theme-primary);background:var(--theme-bg-surface)}.chat-feed{gap:1.5rem;scroll-behavior:smooth}.chat-empty,.chat-empty-full{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:var(--theme-text-muted);text-align:center;padding:3rem;flex:1}.chat-empty-full h3{margin:0;color:var(--theme-text-secondary)}.chat-block-wrapper{display:flex;flex-direction:column;margin-bottom:1.5rem}.chat-attribution{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.25rem;padding:0 24px 0 54px}.user-attribution{justify-content:flex-end;padding:0 54px 0 24px}.author-name{font-size:.8rem;font-weight:600;color:var(--theme-text-primary)}.chat-bubble-wrapper{display:flex;gap:1rem;max-width:85%}.chat-bubble-wrapper.user{align-self:flex-end;flex-direction:row-reverse}.chat-bubble-wrapper.model{align-self:flex-start;cursor:pointer}.chat-bubble-wrapper.model.selected .chat-bubble{border-color:var(--theme-primary);box-shadow:0 0 0 1px var(--theme-primary)}.avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex-shrink:0;color:#fff}.avatar.mini{width:24px;height:24px;font-size:.65rem;border:1.5px solid var(--theme-bg-panel)}.model-avatar{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);color:var(--theme-info)}.chat-bubble{background:var(--theme-bg-panel);border:1px solid var(--theme-border-subtle);padding:1rem;border-radius:var(--theme-radius-lg);color:var(--theme-text-primary);line-height:1.5;transition:all .2s;position:relative}.chat-bubble-wrapper.user .chat-bubble{background:var(--theme-bg-surface)}.bubble-grade-hint{position:absolute;bottom:-8px;right:8px;font-size:.7rem;background:var(--theme-warning);color:#fff;padding:0 .4rem;border-radius:8px;font-weight:700}.chat-input-area{padding:1.5rem;background:var(--theme-bg-base);border-top:1px solid var(--theme-border-subtle)}.input-wrapper{position:relative;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:.5rem;display:flex;flex-direction:column}.input-wrapper:focus-within{border-color:var(--theme-primary)}.chat-textarea{background:transparent;border:none;resize:none;padding:.5rem;color:var(--theme-text-primary);font-size:.95rem;outline:none}.input-actions{display:flex;justify-content:space-between;align-items:center;padding:.5rem .5rem 0}.input-actions-left{display:flex;align-items:center;gap:.5rem}.sending-hint{font-size:.8rem;color:var(--theme-primary);font-style:italic}.btn-execute{background:var(--theme-success);color:#fff;border:none;padding:.6rem 1.25rem;border-radius:var(--theme-radius-md);font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:opacity .2s}.btn-execute:hover{opacity:.9}.btn-execute:disabled{opacity:.5;cursor:not-allowed}.right-pane-tabs{display:flex;background:var(--theme-bg-surface);border-bottom:1px solid var(--theme-border-subtle);flex-shrink:0}.right-pane-tabs .tab-btn{flex:1;font-size:.8rem;padding:.85rem .5rem;display:flex;align-items:center;justify-content:center;gap:.4rem}.analysis-tabs{display:flex;background:var(--theme-bg-panel);border-bottom:1px solid var(--theme-border-subtle);padding:0 1rem;flex-shrink:0}.tab-btn{background:none;border:none;padding:1rem 1.25rem;color:var(--theme-text-secondary);font-size:.9rem;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s;white-space:nowrap}.tab-btn:hover{color:var(--theme-text-primary)}.tab-btn.active{color:var(--theme-primary);border-bottom-color:var(--theme-primary)}.tab-btn:disabled{opacity:.4;cursor:not-allowed}.tab-content{padding:1.5rem}.config-section{margin-bottom:1rem}.config-info-card{background:var(--theme-bg-base);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);padding:.75rem}.config-info-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0}.config-info-row:not(:last-child){border-bottom:1px solid var(--theme-border-subtle)}.config-info-key{font-size:.8rem;color:var(--theme-text-muted);font-weight:500}.config-info-value{font-size:.85rem;color:var(--theme-text-primary);font-weight:600;max-width:180px}.config-info-value.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.config-empty{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:2rem;text-align:center;color:var(--theme-text-muted)}.config-empty a{color:var(--theme-primary)}.input-label{font-size:.85rem;font-weight:600;color:var(--theme-text-secondary);margin-bottom:.5rem;display:block}.rich-textarea{background:var(--theme-bg-base);border:1px solid var(--theme-border-subtle);color:var(--theme-text-primary);border-radius:var(--theme-radius-md);padding:1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.9rem;line-height:1.6;resize:vertical;min-height:120px;transition:border-color .2s;width:100%;box-sizing:border-box}.rich-textarea:focus{outline:none;border-color:var(--theme-border-focus)}.rich-textarea.system-prompt{min-height:120px}.rich-textarea.output-editor{flex:0 0 auto;min-height:120px}.grading-footer{border-top:1px solid var(--theme-border-subtle);background:var(--theme-bg-surface);padding:1rem;flex-shrink:0}.validation-metrics{display:flex;flex-direction:column;gap:.75rem}.metric-box{background:var(--theme-bg-panel);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);padding:.75rem;display:flex;flex-direction:column;gap:.25rem}.metric-label{font-size:.8rem;color:var(--theme-text-secondary);text-transform:uppercase}.metric-value{font-size:1.5rem;font-weight:700}.metric-value.success{color:var(--theme-success)}.metric-value.failure{color:var(--theme-danger)}.metric-value.warning{color:var(--theme-warning)}.metric-sub{font-size:.75rem;color:var(--theme-text-muted)}.star-rating{font-size:1.5rem;color:var(--theme-warning);display:flex;gap:.25rem;cursor:pointer}.star-rating.mini{font-size:.85rem;gap:1px}.collaborative-grading-box{flex-direction:column!important;align-items:stretch!important;gap:.75rem}.consensus-header{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:.5rem;border-bottom:1px dashed var(--theme-border-subtle)}.consensus-value{display:flex;align-items:baseline;gap:.2rem}.consensus-max{font-size:.8rem;color:var(--theme-text-muted)}.individual-grades{display:flex;flex-direction:column;gap:.4rem}.grade-row{display:flex;justify-content:space-between;align-items:center}.grade-user{font-size:.8rem;color:var(--theme-text-secondary)}.my-grade-action{display:flex;justify-content:space-between;align-items:center;margin-top:.5rem;padding-top:.75rem;border-top:1px solid var(--theme-border-subtle)}.my-grade-action .grade-user{font-weight:600;color:var(--theme-text-primary)}.presence-indicator{display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;background:var(--theme-bg-surface);border-radius:20px;border:1px solid var(--theme-border-subtle);cursor:default}.active-pulse{width:8px;height:8px;background-color:var(--theme-success);border-radius:50%;box-shadow:0 0 #10b981b3;animation:pulse-green 2s infinite}@keyframes pulse-green{0%{transform:scale(.95);box-shadow:0 0 #10b981b3}70%{transform:scale(1);box-shadow:0 0 0 6px #10b98100}to{transform:scale(.95);box-shadow:0 0 #10b98100}}.team-avatars{display:flex;margin-left:-4px}.team-avatar{margin-left:-4px}.presence-overflow{font-size:.75rem;color:var(--theme-text-muted);font-weight:600}.mt-4{margin-top:1.5rem}.mt-2{margin-top:.5rem}.mb-2{margin-bottom:.5rem}.w-full{width:100%;justify-content:center}.text-muted{color:var(--theme-text-muted)}.text-danger{color:var(--theme-danger)}.helper-text{font-size:.85rem;color:var(--theme-text-secondary);font-style:italic}.expected-wrapper{display:flex;flex-direction:column;height:100%}.readonly-response{background:var(--theme-bg-base);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem;flex:1}.readonly-response.thought-process{font-style:italic;font-size:.95rem;color:var(--theme-text-secondary)}.readonly-response p{line-height:1.6;font-size:1rem;margin:0}.metrics-badge{font-size:.75rem;color:var(--theme-info);background:var(--theme-info-bg);padding:.2rem .5rem;border-radius:var(--theme-radius-sm)}.overall-metrics-panel{background:var(--theme-bg-surface);border-top:1px solid var(--theme-border-subtle);padding:1rem;flex-shrink:0}.overall-metrics-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.overall-metrics-panel h4{margin:0;font-size:.85rem;color:var(--theme-text-secondary);text-transform:uppercase;letter-spacing:.5px}.overall-metrics-panel .metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.overall-metrics-panel .metric-item{display:flex;flex-direction:column}.overall-metrics-panel .metric-item .metric-label{font-size:.7rem;color:var(--theme-text-muted)}.overall-metrics-panel .metric-item .metric-value{font-size:.95rem;font-weight:700;color:var(--theme-text-primary)}.top-nav-link{font-size:.85rem;color:var(--theme-primary);text-decoration:none;font-weight:500;margin-right:.5rem}.top-nav-link:hover{text-decoration:underline}.dashboard-container{display:flex;flex-direction:column;height:100vh;width:100vw;background:var(--theme-bg-base)}.dashboard-content{flex:1;padding:2rem;overflow-y:auto;display:flex;flex-direction:column;gap:2rem}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}.stat-card{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.stat-header{display:flex;align-items:center;gap:.75rem}.stat-header h4{font-size:.95rem;font-weight:600;color:var(--theme-text-secondary);text-transform:uppercase;letter-spacing:.5px}.stat-icon.info{color:var(--theme-info)}.stat-icon.warning{color:var(--theme-warning)}.stat-icon.success{color:var(--theme-success)}.stat-icon.primary{color:var(--theme-primary)}.stat-value{font-size:2.5rem;font-weight:700;color:var(--theme-text-heading);display:flex;align-items:baseline;gap:.25rem}.stat-value .unit{font-size:1rem;font-weight:600;color:var(--theme-text-secondary)}.charts-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;flex:1}.chart-card{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);display:flex;flex-direction:column;min-height:400px}.chart-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--theme-border-subtle)}.chart-header h3{font-size:1.1rem;font-weight:600;color:var(--theme-text-heading);margin:0}.chart-body{flex:1;padding:1.5rem;min-height:300px}.admin-container{padding:2rem;overflow-y:auto;height:100%}.admin-container .page-title{font-size:1.8rem;font-weight:700;color:var(--theme-text-heading);margin-bottom:.25rem}.admin-container .page-subtitle{font-size:.95rem;color:var(--theme-text-secondary);margin-bottom:1.5rem}.admin-container .page-title{display:flex;align-items:center;gap:.5rem}.admin-container .form-group{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}.admin-container .form-group label{font-size:.85rem;font-weight:600;color:var(--theme-text-primary)}.admin-container .form-input,.modal-content .form-input{padding:.6rem .75rem;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);color:var(--theme-text-primary);font-size:.9rem;font-family:inherit;outline:none;transition:border-color .2s;width:100%}.admin-container .form-input:focus,.modal-content .form-input:focus{border-color:var(--theme-border-focus)}.admin-container .form-input::placeholder,.modal-content .form-input::placeholder{color:var(--theme-text-secondary)}.admin-container select.form-input,.modal-content select.form-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23969696' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2rem;cursor:pointer}.modal-content .form-group{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}.modal-content .form-group label{font-size:.85rem;font-weight:600;color:var(--theme-text-primary)}.btn-admin:disabled{opacity:.5;cursor:not-allowed}.admin-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;margin-bottom:2rem}.admin-stat-card{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:1.25rem;display:flex;flex-direction:column;gap:.5rem}.admin-stat-card .stat-label{font-size:.8rem;color:var(--theme-text-secondary);text-transform:uppercase;letter-spacing:.04em}.admin-stat-card .stat-number{font-size:2rem;font-weight:700;color:var(--theme-text-heading)}.admin-stat-card .stat-number.primary{color:var(--theme-primary)}.admin-stat-card .stat-number.success{color:var(--theme-success)}.admin-stat-card .stat-number.warning{color:var(--theme-warning)}.admin-stat-card .stat-number.info{color:var(--theme-info)}.admin-table-wrapper{background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);overflow:hidden}.admin-table{width:100%;border-collapse:collapse;font-size:.9rem}.admin-table th{text-align:left;padding:.75rem 1rem;background:var(--theme-bg-panel);color:var(--theme-text-secondary);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--theme-border-subtle)}.admin-table td{padding:.75rem 1rem;color:var(--theme-text-primary);border-bottom:1px solid var(--theme-border-subtle)}.admin-table tr:last-child td{border-bottom:none}.admin-table tr:hover td{background:var(--theme-bg-surface-hover)}.badge{display:inline-flex;align-items:center;padding:.15rem .5rem;font-size:.75rem;font-weight:600;border-radius:999px;text-transform:capitalize}.badge-active{background:var(--theme-success-bg);color:var(--theme-success)}.badge-suspended{background:var(--theme-danger-bg);color:var(--theme-danger)}.badge-archived{background:var(--theme-warning-bg);color:var(--theme-warning)}.badge-role{background:var(--theme-info-bg);color:var(--theme-info)}.admin-toolbar{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.admin-toolbar .search-box{display:flex;align-items:center;gap:.5rem;background:var(--theme-bg-surface);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);padding:0 .75rem;flex:1;max-width:400px}.admin-toolbar .search-box input{background:transparent;border:none;outline:none;color:var(--theme-text-primary);font-size:.9rem;padding:.6rem 0;width:100%}.admin-toolbar .search-box input::placeholder{color:var(--theme-text-secondary)}.btn-admin{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-md);background:var(--theme-bg-surface);color:var(--theme-text-primary);font-size:.85rem;font-weight:500;cursor:pointer;transition:all .15s ease-in-out}.btn-admin:hover{background:var(--theme-bg-surface-hover)}.btn-admin:active{opacity:.85}.btn-admin:focus-visible{outline:2px solid var(--theme-primary);outline-offset:2px}.btn-admin.primary{background:var(--theme-primary);border-color:var(--theme-primary);color:#fff}.btn-admin.primary:hover{background:var(--theme-primary-hover)}.btn-admin.danger{color:var(--theme-danger)}.btn-admin.danger:hover{background:var(--theme-danger-bg)}.btn-admin.small{padding:.3rem .6rem;font-size:.8rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:100}.modal-content{background:var(--theme-bg-panel);border:1px solid var(--theme-border-subtle);border-radius:var(--theme-radius-lg);padding:2rem;width:100%;max-width:520px;max-height:80vh;overflow-y:auto}.modal-content::-webkit-scrollbar{width:8px}.modal-content::-webkit-scrollbar-track{background:var(--theme-bg-panel)}.modal-content::-webkit-scrollbar-thumb{background:var(--theme-border-subtle);border-radius:var(--theme-radius-sm)}.modal-content::-webkit-scrollbar-thumb:hover{background:var(--theme-text-secondary)}.modal-content h2{font-size:1.2rem;font-weight:700;color:var(--theme-text-heading);margin-bottom:1.5rem}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1.5rem}.detail-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.detail-header .back-link{display:inline-flex;align-items:center;gap:.4rem;color:var(--theme-text-secondary);text-decoration:none;font-size:.85rem}.detail-header .back-link:hover{color:var(--theme-text-primary)}.detail-tabs{display:flex;gap:0;border-bottom:1px solid var(--theme-border-subtle);margin-bottom:1.5rem}.detail-tab{padding:.75rem 1.25rem;background:none;border:none;border-bottom:2px solid transparent;color:var(--theme-text-secondary);font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.detail-tab:hover{color:var(--theme-text-primary)}.detail-tab.active{color:var(--theme-primary);border-bottom-color:var(--theme-primary)}.kv-grid{display:grid;grid-template-columns:160px 1fr;gap:.75rem 1.5rem;font-size:.9rem}.kv-grid .kv-label{color:var(--theme-text-secondary);font-weight:500}.kv-grid .kv-value{color:var(--theme-text-primary)}.audit-action{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;background:var(--theme-bg-panel);padding:.15rem .4rem;border-radius:var(--theme-radius-sm)}.loading-screen{display:flex;align-items:center;justify-content:center;height:100%;color:var(--theme-text-secondary);font-size:.95rem}.empty-state{text-align:center;padding:3rem 1rem;color:var(--theme-text-secondary)}.empty-state p{font-size:.95rem;margin-bottom:1rem}.nav-divider{height:1px;background:var(--theme-border-subtle);margin:.75rem 1rem}.nav-section-label{display:block;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--theme-text-secondary);padding:0 1.5rem;margin-bottom:.25rem}:root,[data-theme=dark]{--theme-bg-base: #1e1e1e;--theme-bg-panel: #252526;--theme-bg-surface: #2d2d30;--theme-bg-surface-hover: #37373d;--theme-border-subtle: #3c3c3c;--theme-border-focus: #007fd4;--theme-text-primary: #cccccc;--theme-text-secondary: #969696;--theme-text-heading: #e1e4eb;--theme-text-accent: #569cd6;--theme-primary: #0e639c;--theme-primary-hover: #1177bb;--theme-primary-active: #094771;--theme-success: #608b4e;--theme-success-bg: rgba(96, 139, 78, .15);--theme-warning: #d7ba7d;--theme-warning-bg: rgba(215, 186, 125, .15);--theme-danger: #f44747;--theme-danger-bg: rgba(244, 71, 71, .15);--theme-info: #4fc1ff;--theme-info-bg: rgba(79, 193, 255, .15);--theme-primary-bg: rgba(14, 99, 156, .15)}[data-theme=light]{--theme-bg-base: #ffffff;--theme-bg-panel: #f3f3f3;--theme-bg-surface: #ececec;--theme-bg-surface-hover: #e4e4e4;--theme-border-subtle: #cccccc;--theme-border-focus: #0090f1;--theme-text-primary: #333333;--theme-text-secondary: #666666;--theme-text-heading: #111111;--theme-text-accent: #0000ff;--theme-primary: #007acc;--theme-primary-hover: #0062a3;--theme-primary-active: #004d80;--theme-success: #098658;--theme-success-bg: rgba(9, 134, 88, .15);--theme-warning: #795e26;--theme-warning-bg: rgba(121, 94, 38, .15);--theme-danger: #a1260d;--theme-danger-bg: rgba(161, 38, 13, .15);--theme-info: #0451a5;--theme-info-bg: rgba(4, 81, 165, .15)}:root{--theme-radius-sm: 2px;--theme-radius-md: 4px;--theme-radius-lg: 6px;--color-bg: var(--theme-bg-base);--color-surface: var(--theme-bg-panel);--color-border: var(--theme-border-subtle);--color-text: var(--theme-text-primary);--color-text-muted: var(--theme-text-secondary);--color-primary: var(--theme-primary);--color-primary-hover: var(--theme-primary-hover);--color-success: var(--theme-success);--color-warning: var(--theme-warning);--color-danger: var(--theme-danger);--radius: var(--theme-radius-md)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--theme-bg-base);color:var(--theme-text-primary);line-height:1.6;-webkit-font-smoothing:antialiased}#root{height:100vh;width:100vw;overflow:hidden}input,textarea,button{font-family:inherit}
