:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color-scheme:light;color:#131523;background-color:#f6f7fb}body{margin:0;min-height:100vh}.app-shell{display:flex;flex-direction:column;min-height:100vh}.top-nav{align-items:center;background-color:#131523;color:#fff;display:flex;gap:1rem;justify-content:space-between;padding:1rem 2rem}.top-nav .brand{font-weight:600;letter-spacing:.08em}.top-nav ul{list-style:none;display:flex;gap:1rem;margin:0;padding:0}.top-nav a{color:inherit;text-decoration:none}.top-nav .tenant-badge{align-items:center;display:flex;gap:.75rem;font-size:.875rem}.top-nav .tenant-badge button{background:transparent;border:1px solid rgba(255,255,255,.5);border-radius:.25rem;color:inherit;cursor:pointer;padding:.35rem .75rem}.top-nav .tenant-badge button:hover{background:#ffffff1a}.auth-gate{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:100vh;padding:2rem;text-align:center}.auth-gate h2{margin:0}.auth-gate p{margin:0;color:#3f4255}.page-content{padding:2rem;max-width:1200px;margin:0 auto}.card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.75rem;box-shadow:0 1px 2px #0f172a0d;margin-bottom:1.5rem}.card h2{margin-top:0;margin-bottom:.75rem;font-size:1.25rem;font-weight:600;color:#111827}.card p{margin-top:.25rem;color:#4b5563;line-height:1.5}.card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.card-header h2{margin:0}.status-pill{background:#eef2ff;color:#312e81;border-radius:999px;padding:.35rem .9rem;font-size:.85rem;font-weight:600}.success-banner{padding:.75rem 1rem;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:.5rem;color:#065f46;font-weight:600;margin-bottom:1rem}.alert-warning{background:#fffbeb;border:1px solid #fcd34d;color:#92400e}.muted{color:#6b7280;font-size:.9375rem}.question-actions{display:flex;align-items:center;gap:1rem;margin-top:1.5rem}.pillar-summary{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-direction:column;gap:.75rem}.pillar-summary li{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.1rem;border-radius:.5rem;border:1px solid #e5e7eb;background:#f9fafb}.strategy-workspace{padding:2rem}.page-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:600}.page-description{margin:0;color:#6b7280;font-size:1rem}.workflow-progress{display:flex;align-items:center;justify-content:center;gap:2rem;margin:2rem 0;padding:1.5rem;background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.progress-step{display:flex;align-items:center;gap:.5rem;opacity:.4}.progress-step.active{opacity:1;font-weight:600}.progress-step.completed{opacity:.7}.step-icon{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:#e5e7eb;color:#6b7280;font-weight:600;font-size:.875rem}.progress-step.active .step-icon{background:#2563eb;color:#fff}.progress-step.completed .step-icon{background:#10b981;color:#fff}.step-label{font-size:.875rem}.alert{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:.5rem;margin-bottom:1.5rem}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.alert .btn-close{margin-left:auto;background:none;border:none;font-size:1.5rem;cursor:pointer;color:inherit;padding:0;width:2rem;height:2rem}.workflow-section{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:2rem;margin-bottom:2rem}.document-upload{max-width:600px}.upload-container h2{margin:0 0 .5rem;font-size:1.5rem}.upload-description{margin:0 0 1.5rem;color:#6b7280}.file-input-wrapper{margin-bottom:1rem;position:relative}.file-input-wrapper input[type=file]{display:none}.file-input-label{display:inline-block;padding:.75rem 1.5rem;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:.5rem;cursor:pointer;transition:all .2s}.file-input-label:hover{background:#eef2ff;border-color:#2563eb}.upload-dropzone:focus-within{outline:2px solid #2563eb;outline-offset:2px}.upload-button{width:100%}.upload-card{border:1px dashed #cbd5e1;border-radius:12px;padding:1.25rem;background:#f8fafc}.upload-card:hover{border-color:#2563eb;background:#f1f5f9}.upload-dropzone{position:relative;display:flex;align-items:center;gap:.75rem;padding:1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer}.upload-dropzone .icon-circle{width:40px;height:40px;border-radius:999px;background:#e0e7ff;color:#1d4ed8;display:grid;place-items:center;font-weight:700}.upload-dropzone .upload-texts{display:flex;flex-direction:column;gap:.1rem}.upload-dropzone .upload-title{font-weight:600;color:#0f172a}.upload-dropzone .upload-subtitle{color:#475569;font-size:.925rem}.file-chip{display:inline-flex;align-items:center;gap:.5rem;background:#e0f2fe;color:#0b5394;border-radius:999px;padding:.4rem .75rem;font-size:.925rem;margin-top:.75rem}.file-chip .chip-label{font-weight:600}.status-message{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:.5rem;background:#f9fafb;margin-top:1rem}.status-message.success{background:#f0fdf4;color:#166534}.status-message.error{background:#fef2f2;color:#991b1b;flex-direction:column;align-items:flex-start}.spinner{width:1.25rem;height:1.25rem;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin .7s linear infinite}.spinner-small{width:1rem;height:1rem;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-bar{width:100%;height:.5rem;background:#e5e7eb;border-radius:.25rem;overflow:hidden}.progress-fill{height:100%;background:#2563eb;transition:width .3s ease}.progress-stack{display:flex;flex-direction:column;gap:.35rem}.progress-header{display:flex;align-items:center;justify-content:space-between;color:#4b5563;font-size:.875rem}.icon-success,.icon-error{width:1.5rem;height:1.5rem;flex-shrink:0}.document-status{background:#fff;padding:2rem;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d}.document-status h3{margin:0 0 1.5rem;font-size:1.5rem;font-weight:700;color:#111827}.status-pipeline{display:flex;flex-direction:column;gap:1.5rem}.status-stage{padding:1.5rem;background:#f9fafb;border-radius:12px;border:2px solid #e5e7eb;transition:all .3s ease}.status-stage[data-status=extracting],.status-stage[data-status=extracting_pillars]{background:#eff6ff;border-color:#3b82f6;animation:pulse-border 2s ease-in-out infinite}@keyframes pulse-border{0%,to{border-color:#3b82f6;box-shadow:0 0 #3b82f666}50%{border-color:#60a5fa;box-shadow:0 0 0 4px #3b82f61a}}.status-stage[data-status=extracted],.status-stage[data-status=extraction_completed]{background:#f0fdf4;border-color:#10b981}.status-stage[data-status=extraction_failed],.status-stage[data-status=extraction_failed_permanent]{background:#fef2f2;border-color:#ef4444}.stage-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.stage-header-left{display:flex;align-items:center;gap:.75rem}.stage-header h4{margin:0;font-size:1.125rem;font-weight:600;color:#111827}.stage-timer{font-size:.875rem;color:#6b7280;font-weight:500}.stage-description{margin:0 0 1rem;color:#4b5563;font-size:.9375rem;line-height:1.5}.stage-progress{margin-top:1rem}.stage-progress-bar{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden;margin-bottom:.5rem}.stage-progress-fill{height:100%;background:#3b82f6;transition:width .5s ease;animation:shimmer 2s ease-in-out infinite}@keyframes shimmer{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.stage-progress-fill.complete{background:#10b981;animation:none;opacity:1}.stage-progress-text{font-size:.75rem;color:#6b7280;font-weight:500}.ingestion-inline-panel{margin-top:1rem;border:1px solid #e5e7eb;border-radius:12px;padding:1rem;background:linear-gradient(135deg,#0b1222,#0f172a);color:#e2e8f0;box-shadow:0 6px 20px #0f172a33}.ingestion-inline-header{display:flex;align-items:center;gap:.75rem;justify-content:space-between;flex-wrap:wrap}.ingestion-inline-meta{display:flex;flex-direction:column;gap:.1rem;min-width:140px}.ingestion-inline-label{font-weight:600;color:#e2e8f0}.ingestion-file-name{font-size:.875rem;color:#cbd5e1}.ingestion-percent{font-weight:700;color:#22d3ee;font-variant-numeric:tabular-nums}.ingestion-progress{margin-top:.75rem;display:flex;flex-direction:column;gap:.5rem}.ingestion-progress-bar{height:10px;background:#ffffff1a;border-radius:999px;overflow:hidden;border:1px solid rgba(255,255,255,.15)}.ingestion-progress-fill{height:100%;background:linear-gradient(90deg,#22d3ee,#2563eb);transition:width .4s ease}.ingestion-progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem}.ingestion-progress-grid .label{color:#cbd5e1;font-size:.85rem}.ingestion-progress-grid .metric{color:#e2e8f0;font-weight:700}.status-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:999px;font-weight:600;font-size:.9rem;letter-spacing:.01em}.status-badge.processing{background:#22d3ee26;color:#22d3ee;border:1px solid rgba(34,211,238,.35)}.status-badge.success{background:#10b98126;color:#34d399;border:1px solid rgba(16,185,129,.35)}.status-badge.failed{background:#ef444426;color:#f87171;border:1px solid rgba(239,68,68,.35)}.ingestion-status-card{margin-top:1.5rem;border:1px solid #e2e8f0;border-radius:16px;padding:1.25rem 1.5rem;background:#0b1222;color:#e2e8f0;box-shadow:0 10px 40px #0f172a4d}.ingestion-status-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}.ingestion-subtitle{margin:.25rem 0 0;color:#cbd5e1;font-size:.95rem}.ingestion-status-body{margin-top:1rem;display:grid;gap:1rem}.ingestion-stepper{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem}.ingestion-step{display:flex;align-items:center;gap:.5rem;padding:.65rem .75rem;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff05}.ingestion-step.active{border-color:#22d3ee66;background:#22d3ee14}.ingestion-step.done{border-color:#10b98166;background:#10b98114}.ingestion-step.failed{border-color:#ef444480;background:#ef444414}.step-dot{width:10px;height:10px;border-radius:999px;background:#94a3b8;flex-shrink:0}.ingestion-step.done .step-dot{background:#22c55e}.ingestion-step.active .step-dot{background:#22d3ee}.ingestion-step.failed .step-dot{background:#ef4444}.step-label{color:#e2e8f0;font-weight:600;font-size:.95rem}.metadata{margin-top:1rem;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb;font-size:.875rem}.metadata p{margin:.375rem 0;color:#374151}.metadata p:first-child{margin-top:0}.metadata p:last-child{margin-bottom:0}.completion-message{margin-top:1.5rem;padding:1.25rem 1.5rem;border-radius:12px;display:flex;align-items:center;gap:1rem;font-weight:500}.completion-message.success{background:#f0fdf4;color:#166534;border:2px solid #10b981}.completion-message.error{background:#fef2f2;color:#991b1b;border:2px solid #ef4444}.icon-success,.icon-error,.icon-in-progress,.icon-pending{width:24px;height:24px;flex-shrink:0}.icon-success{color:#10b981}.icon-error{color:#ef4444}.icon-in-progress{color:#3b82f6;animation:spin 1.5s linear infinite}.icon-pending{color:#9ca3af}.pillar-review h3{margin:0 0 .5rem;font-size:1.5rem}.pillar-review-header{margin-bottom:2rem}.pillar-review-header .description{color:#6b7280;margin:.5rem 0 0}.no-pillars{text-align:center;padding:3rem 1rem;color:#6b7280}.pillar-list{display:flex;flex-direction:column;gap:1rem}.pillar-card{padding:1.5rem;background:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb}.pillar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.pillar-title{margin:0;font-size:1.125rem;font-weight:600}.confidence-badge{display:inline-block;padding:.25rem .75rem;background:#dbeafe;color:#1e40af;border-radius:1rem;font-size:.75rem;font-weight:600}.pillar-description{margin:.75rem 0;color:#374151;line-height:1.6}.pillar-rationale{margin:.75rem 0;padding:.75rem;background:#fffbeb;border-left:3px solid #f59e0b;border-radius:.25rem;font-size:.875rem;color:#92400e}.pillar-metadata{margin-top:.75rem;font-size:.75rem;color:#9ca3af}.pillar-actions{display:flex;gap:.75rem;margin-top:1rem}.pillar-card-modern{padding:2rem;background:#fff;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;transition:all .2s ease}.pillar-card-modern:hover{box-shadow:0 4px 12px #00000014;border-color:#d1d5db}.pillar-card-header{margin-bottom:1.5rem}.pillar-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.pillar-title-large{margin:0;font-size:1.5rem;font-weight:700;color:#111827;line-height:1.3;letter-spacing:-.01em}.pillar-description-preview{margin:.75rem 0 0;color:#6b7280;font-size:.9375rem;line-height:1.6}.pillar-card-metrics{display:flex;gap:1.5rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.pillar-metric{display:flex;flex-direction:column;gap:.5rem;flex:1}.pillar-metric-placeholder{opacity:.6}.metric-label{font-size:.875rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.metric-value{font-size:2rem;font-weight:700;color:#3b82f6;line-height:1}.metric-value-placeholder{color:#9ca3af}.metric-hint{font-size:.75rem;color:#9ca3af;font-style:italic;margin-top:.25rem}.pillars-overview{display:grid;gap:1.5rem;margin-top:2rem}.page-header{margin-bottom:2rem}.version-badge{margin:.5rem 0 0;color:#6b7280;font-size:.9375rem}.empty-state{padding:3rem;text-align:center;background:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb;margin-top:2rem}.empty-state p{margin:0;color:#6b7280;font-size:1rem}.analysis-loading{display:flex;align-items:center;gap:1rem}.analysis-pillars-questions{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}.analysis-pillars-questions .muted{margin:0}.action-buttons{display:flex;gap:1rem;flex-wrap:wrap}.action-buttons .btn{min-width:200px;justify-content:center}.analysis-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}.analysis-meta-item{padding:1rem;border-radius:.75rem;border:1px solid #e5e7eb;background:#f9fafb}.analysis-meta-label{font-size:.75rem;font-weight:600;color:#6b7280;letter-spacing:.05em;text-transform:uppercase}.analysis-meta-value{display:block;margin-top:.3rem;font-size:1.35rem;font-weight:600;color:#111827}.analysis-summary h3{margin-top:0;font-size:1.1rem;color:#111827}.analysis-empty{text-align:center}.analysis-empty h2{margin-top:0}.analysis-empty .btn{margin-top:1rem}@media(max-width:768px){.analysis-pillars-questions{flex-direction:column;align-items:flex-start}.action-buttons,.action-buttons .btn{width:100%}}.generation-progress{display:flex;flex-direction:column;gap:.75rem}.generation-progress-bar{width:100%;height:8px;border-radius:999px;background:#e5e7eb;overflow:hidden}.generation-progress-fill{height:100%;border-radius:inherit;transition:width .8s ease,background .3s ease}.generation-progress-fill.state-pending{background:#c7d2fe}.generation-progress-fill.state-generating{background:#60a5fa}.generation-progress-fill.state-completed{background:#10b981}.generation-progress-fill.state-failed{background:#ef4444}.generation-updated{font-size:.85rem;color:#6b7280;margin:.25rem 0 0}.generation-actions{margin-top:.5rem}.pillar-group{padding:0;overflow:hidden}.pillar-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem .5rem;border-bottom:1px solid #e5e7eb;margin-bottom:1rem}.pillar-toggle{background:none;border:none;padding:0;margin:0;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex:1;text-align:left;cursor:pointer;color:#0f172a}.pillar-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:6px}.pillar-header-text{display:flex;flex-direction:column;gap:.2rem}.pillar-eyebrow{margin:0;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#6b7280;font-weight:600}.pillar-title{margin:0;font-size:1.125rem;font-weight:600;color:#0f172a}.pillar-toggle-icon{font-size:1.5rem;color:#9ca3af;line-height:1}.pillar-weight{align-self:flex-start;background:#f3f4f6;color:#111827;font-weight:600}.pillar-description{margin:0 1.5rem 1.25rem;color:#4b5563;line-height:1.55}.pillar-panel{padding:0 1.5rem 1.5rem}.pillar-group .question-list{margin:0;padding-left:1.25rem;list-style:decimal;list-style-position:outside;display:flex;flex-direction:column;gap:.9rem;color:#1f2937}.pillar-group .question-list li{line-height:1.55}.pillar-header-transparency{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb;margin-bottom:1rem}.pillar-header-main{flex:1}.pillar-header-transparency .pillar-toggle{width:100%;justify-content:space-between}.pillar-metric-inline{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;flex-shrink:0}.pillar-metric-inline .metric-label{font-size:.75rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.pillar-metric-inline .metric-value{font-size:1.5rem;font-weight:700;color:#3b82f6;line-height:1}.pillar-section-heading{margin:1.5rem 0 1rem;padding-top:1.5rem;font-size:1.0625rem;font-weight:600;color:#111827;text-transform:none;letter-spacing:0;padding-bottom:1rem;border-top:2px solid #e5e7eb}@media(max-width:640px){.pillar-header{flex-direction:column}.pillar-weight{width:100%;text-align:left}}.btn-reject-icon{width:32px;height:32px;min-width:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid #e5e7eb;border-radius:6px;font-size:1.125rem;color:#6b7280;cursor:pointer;transition:all .2s ease;padding:0}.btn-reject-icon:hover:not(:disabled){background:#fee2e2;border-color:#ef4444;color:#dc2626}.btn-reject-icon:disabled{opacity:.5;cursor:not-allowed}.confidence-badge-modern{display:inline-block;padding:.375rem .875rem;background:#ecfdf5;color:#059669;border-radius:6px;font-size:.8125rem;font-weight:600;letter-spacing:.01em}.pillar-content-editable{margin-bottom:1.5rem;padding:0 1.25rem}.pillar-description-rich{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:1rem;line-height:1.6;color:#374151;resize:vertical;min-height:90px;transition:all .2s ease;box-sizing:border-box}.pillar-description-rich:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a;background:#fafbfc}.pillar-description-rich::placeholder{color:#9ca3af;font-style:italic}.pillar-weight-control{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;margin-bottom:1.5rem}.weight-input-unified{display:flex;align-items:center;gap:.75rem}.weight-label-inline{font-size:.875rem;font-weight:600;color:#374151;margin:0}.weight-percent-input{width:70px;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-family:inherit;font-size:1rem;font-weight:600;text-align:right;color:#111827;transition:all .2s ease}.weight-percent-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.weight-percent-symbol{font-size:1rem;font-weight:600;color:#6b7280}.weight-slider{width:100%;height:8px;border-radius:4px;background:#e5e7eb;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.weight-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#2563eb;cursor:pointer;box-shadow:0 2px 4px #0000001a;transition:all .2s ease}.weight-slider::-webkit-slider-thumb:hover{background:#1d4ed8;transform:scale(1.1)}.weight-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#2563eb;cursor:pointer;border:none;box-shadow:0 2px 4px #0000001a;transition:all .2s ease}.weight-slider::-moz-range-thumb:hover{background:#1d4ed8;transform:scale(1.1)}.weight-progress-fill.over-allocated{background:#dc2626}.weight-tracker{background:#fff;padding:1.5rem;border-radius:12px;border:1px solid #e5e7eb;margin-bottom:2rem}.weight-tracker-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.weight-label{font-weight:600;color:#374151;font-size:.875rem}.weight-value{font-size:1.5rem;font-weight:700;color:#2563eb;transition:color .2s ease}.weight-value.over-allocated{color:#dc2626}.weight-progress-bar{height:12px;background:#e5e7eb;border-radius:6px;overflow:hidden;margin-bottom:.5rem}.weight-progress-fill{height:100%;background:#2563eb;transition:all .3s ease}.weight-progress-fill.complete{background:#10b981}.weight-hint{display:block;color:#6b7280;font-size:.875rem}.pillar-rationale-collapsible{margin-bottom:1rem;padding:.875rem 1rem;background:#fffbeb;border-left:3px solid #f59e0b;border-radius:6px}.pillar-rationale-collapsible summary{font-size:.875rem;font-weight:600;color:#92400e;cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem}.pillar-rationale-collapsible summary::-webkit-details-marker{display:none}.pillar-rationale-collapsible summary:before{content:"▸";display:inline-block;transition:transform .2s ease}.pillar-rationale-collapsible[open] summary:before{transform:rotate(90deg)}.pillar-rationale-collapsible p{margin:.75rem 0 0;font-size:.875rem;color:#78350f;line-height:1.6}.pillar-metadata-modern{font-size:.75rem;color:#9ca3af;border-top:1px solid #e5e7eb;padding-top:1rem}.add-pillar-form{margin-top:2rem;padding:1.5rem;background:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb}.add-pillar-form h4{margin:0 0 1rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.375rem;font-weight:500;font-size:.875rem}.form-group .required{color:#dc2626}.form-group input,.form-group textarea{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-family:inherit;font-size:.875rem}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group small{display:block;margin-top:.25rem;color:#6b7280;font-size:.75rem}.form-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem}.btn{padding:.625rem 1.25rem;border:none;border-radius:.375rem;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary{background:#e5e7eb;color:#374151}.btn-secondary:hover:not(:disabled){background:#d1d5db}.btn-success{background:#10b981;color:#fff}.btn-success:hover:not(:disabled){background:#059669}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.help-section{margin-top:2rem;padding:1.5rem;background:#f0f9ff;border-radius:.5rem;border:1px solid #bae6fd}.help-section h3{margin:0 0 1rem;font-size:1rem;color:#0c4a6e}.help-section ul{margin:0;padding-left:1.5rem}.help-section li{margin:.5rem 0;color:#0c4a6e;font-size:.875rem;line-height:1.6}.processing-actions,.review-actions{display:flex;gap:1rem;justify-content:space-between;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.error-banner{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:.375rem;color:#991b1b;margin-top:1rem;font-size:.875rem}@media(max-width:768px){.page-content{padding:1rem}.workflow-progress{flex-direction:column;gap:1rem}.pillar-header{flex-direction:column;align-items:flex-start;gap:.5rem}.pillar-actions{flex-direction:column}.pillar-actions .btn{width:100%}.processing-actions,.review-actions{flex-direction:column}}@media(max-width:320px){.page-header h1{font-size:1.5rem}.top-nav{padding:.75rem 1rem}}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#f6f7fb;padding:2rem}.login-container{width:100%;max-width:400px;background:#fff;border-radius:.5rem;box-shadow:0 4px 6px #0000001a;padding:2rem}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:600;letter-spacing:.08em;color:#131523}.login-header p{margin:0;color:#6b7280;font-size:.875rem}.auth-container{margin:1.5rem 0}.loading-message{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 0;text-align:center}.loading-message p{margin:0;color:#6b7280}.login-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;text-align:center}.help-text{margin:0;font-size:.875rem;color:#374151;line-height:1.6}.help-text a{color:#1d4ed8;text-decoration:underline;font-weight:500}.help-text a:hover{color:#1e40af}.firebaseui-idp-password{background-color:#c53030!important}@media(max-width:480px){.login-container{padding:1.5rem}.login-header h1{font-size:1.75rem}}.app-body{display:flex;min-height:calc(100vh - 60px)}.sidebar{width:250px;background:#1f2937;color:#fff;flex-shrink:0}.sidebar-nav{padding:1rem 0}.nav-list{list-style:none;margin:0;padding:0}.nav-list li{margin:0}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;color:#9ca3af;text-decoration:none;transition:all .2s;position:relative}.nav-link:hover{background:#ffffff0d;color:#fff}.nav-link.active{background:#2563eb1a;color:#60a5fa;border-left:3px solid #2563eb}.nav-icon{width:20px;height:20px;flex-shrink:0}.nav-label{flex:1;font-size:.9375rem;font-weight:500;letter-spacing:.01em}.badge{padding:.125rem .5rem;border-radius:.25rem;font-size:.625rem;font-weight:600;text-transform:uppercase}.badge-coming-soon{background:#fbbf241a;color:#fbbf24}.main-content{flex:1;overflow-y:auto}.coming-soon-container{max-width:600px;margin:4rem auto;text-align:center;padding:2rem}.coming-soon-icon{font-size:4rem;margin-bottom:1.5rem}.coming-soon-title{margin:0 0 1rem;font-size:2rem;font-weight:600;color:#111827}.coming-soon-description{margin:0 0 2rem;font-size:1.125rem;color:#6b7280;line-height:1.6}.coming-soon-details{background:#f9fafb;border-radius:.5rem;padding:1.5rem;text-align:left}.coming-soon-details p{margin:0 0 1rem;color:#374151;font-weight:500}.coming-soon-details ul{margin:0;padding-left:1.5rem;color:#6b7280}.coming-soon-details li{margin:.5rem 0;line-height:1.6}.coming-soon-details a{color:#2563eb;text-decoration:none;font-weight:500}.coming-soon-details a:hover{text-decoration:underline}@media(max-width:768px){.app-body{flex-direction:column}.sidebar{width:100%;order:2}.main-content{order:1}.nav-link{padding:.625rem 1rem}}.onboarding-wizard{max-width:900px;margin:0 auto;padding:2rem 1rem}.wizard-steps{display:flex;justify-content:space-between;margin-bottom:3rem;position:relative}.wizard-steps:before{content:"";position:absolute;top:20px;left:10%;right:10%;height:2px;background:#e5e7eb;z-index:0}.wizard-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1;position:relative;z-index:1}.step-number{width:40px;height:40px;border-radius:50%;background:#e5e7eb;color:#6b7280;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;transition:all .3s}.wizard-step.active .step-number{background:#2563eb;color:#fff;box-shadow:0 0 0 4px #2563eb1a}.wizard-step.completed .step-number{background:#10b981;color:#fff}.wizard-step.completed .step-number:after{content:"✓";font-size:1.2rem}.step-label{font-size:.875rem;color:#6b7280;font-weight:500;text-align:center}.wizard-step.active .step-label{color:#2563eb;font-weight:600}.wizard-step.completed .step-label{color:#10b981}.wizard-content{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 1px 3px #0000001a}.wizard-header{margin-bottom:2rem;text-align:center}.wizard-header h2{font-size:1.75rem;font-weight:700;color:#111827;margin-bottom:.5rem}.wizard-header p{font-size:1rem;color:#6b7280;max-width:600px;margin:0 auto}.wizard-actions{margin-top:2rem;display:flex;justify-content:center;gap:1rem}.data-sources-preview{margin:2rem 0}.data-sources-preview ul{list-style:none;padding:0;max-width:500px;margin:0 auto}.data-sources-preview li{padding:1rem;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:.75rem;background:#f9fafb}.data-sources-preview strong{color:#111827;font-weight:600;display:block;margin-bottom:.25rem}@media(max-width:768px){.wizard-steps:before{display:none}.wizard-steps{flex-direction:column;gap:1rem;align-items:stretch}.wizard-step{flex-direction:row;justify-content:flex-start;gap:1rem}.step-label{text-align:left}.wizard-content{padding:1.5rem}.wizard-actions{flex-direction:column}.wizard-actions button{width:100%}}@media(max-width:480px){.onboarding-wizard{padding:1rem .5rem}.wizard-header h2{font-size:1.5rem}.step-number{width:35px;height:35px;font-size:.875rem}}
