.homepage{text-align:center;margin:0 auto;max-width:1200px;padding:0 1rem 3rem}.homepage h1{font-size:4rem;font-weight:700;color:#2c3e50;margin-bottom:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.homepage .subtitle{font-size:1.5rem;color:#6c757d;margin-bottom:3rem;line-height:1.6}.auth-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.auth-button{padding:.85rem 2rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:1rem;transition:all .3s ease;min-width:120px;text-align:center}.auth-button.primary{background-color:#007bff;color:#fff;border:2px solid #007bff}.auth-button.primary:hover{background-color:#0056b3;border-color:#0056b3;transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}.auth-button.secondary{background-color:transparent;color:#007bff;border:2px solid #007bff}.auth-button.secondary:hover{background-color:#007bff;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}.features{margin-top:5rem;margin-bottom:1rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2.5rem}.feature-card{background:#fff;padding:2.5rem;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #f0f0f0;transition:transform .3s ease,box-shadow .3s ease}.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px #0000001f}.feature-card h3{color:#2c3e50;margin-bottom:1rem;font-size:1.3rem}.feature-card p{color:#6c757d;line-height:1.6}@media (max-width: 600px){.homepage{padding:0 1.25rem 2.5rem}.homepage h1{font-size:2.4rem}.homepage .subtitle{font-size:1.05rem;margin-bottom:2.2rem}.features{gap:1.25rem}.feature-card{padding:1.4rem 1.25rem}}@media (max-width: 400px){.homepage{padding:0 1rem 2.25rem}.homepage h1{font-size:2.1rem}.homepage .subtitle{font-size:.95rem}.auth-buttons{gap:.6rem}.auth-button{flex:1 1 auto;min-width:0;padding:.75rem 1rem;font-size:.9rem}}@media (max-width: 340px){.homepage{padding:0 .75rem 2rem}.homepage h1{font-size:1.85rem}}@media (min-width: 1600px){.features{grid-template-columns:1fr;max-width:1600px;margin-left:auto;margin-right:auto}.feature-card{padding:3rem}}.toast-container{position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:.6rem;z-index:1000;align-items:center;pointer-events:none;width:100%;max-width:480px;padding:0 1rem}:root{--toast-success-color: #065f46;--toast-success-bg: #d1fae5;--toast-success-border: #a7f3d0;--toast-error-color: #991b1b;--toast-error-bg: #fee2e2;--toast-error-border: #fecaca;--toast-radius: 10px}.toast{background:#333;color:#fff;padding:.75rem 1rem;border-radius:var(--toast-radius);font-size:.9rem;box-shadow:0 4px 12px #00000040;animation:slideUp .28s ease-out;pointer-events:auto;width:100%;text-align:center;font-weight:500;letter-spacing:.25px}.toast-success{background:var(--toast-success-bg);color:var(--toast-success-color);border:1px solid var(--toast-success-border);box-shadow:0 4px 14px -2px #10b98140,0 2px 4px -1px #0000001f}.toast-error,.toast-info{background:var(--toast-error-bg);color:var(--toast-error-color);border:1px solid var(--toast-error-border);box-shadow:0 4px 14px -2px #ef444440,0 2px 4px -1px #0000001f}@keyframes slideUp{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.auth-container{padding:2rem 3rem;background-color:#fff;border-radius:8px;box-shadow:0 4px 20px #00000014;width:100%;max-width:420px;text-align:center}.auth-container h2{margin-bottom:2rem;color:#333;font-size:2rem;font-weight:600}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.auth-form input{padding:.85rem 1rem;border:1px solid #dcdcdc;border-radius:6px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.auth-form input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff33}.auth-form button{padding:.85rem;background-color:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:700;transition:background-color .2s}.auth-form button:hover{background-color:#0056b3}.auth-switch-link{margin-top:1.5rem;color:#007bff;text-decoration:none;font-weight:500}@media (min-width: 2560px){.auth-container{max-width:800px;padding:3rem 4rem}.auth-container h2{font-size:2.5rem;margin-bottom:2.5rem}.auth-form input,.auth-form button{padding:1.2rem 1.5rem;font-size:1.2rem}.auth-form{gap:1.75rem}.auth-switch-link{font-size:1.2rem;margin-top:2rem}}.auth-switch-link:hover{text-decoration:underline}.auth-error{background-color:#f8d7da;color:#721c24;padding:.75rem 1rem;margin-bottom:1.5rem;border-radius:4px;text-align:left;font-size:.9rem}.auth-success{background-color:#d1e7dd;color:#0f5132;padding:.75rem 1rem;border-radius:4px;font-size:.9rem;text-align:left}.auth-info{background-color:#e7f1ff;color:#084298;padding:.65rem .9rem;border-radius:4px;font-size:.85rem;display:inline-block}.auth-resend-btn{background:linear-gradient(90deg,#0d6efd,#0a58ca);border:none;color:#fff;padding:.85rem 1rem;border-radius:6px;font-weight:600;cursor:pointer;transition:opacity .2s,transform .15s}.auth-resend-btn:disabled{opacity:.6;cursor:not-allowed}.auth-resend-btn:not(:disabled):hover{opacity:.9}.auth-resend-btn:not(:disabled):active{transform:translateY(1px)}.spinner{width:32px;height:32px;border:4px solid #e0e0e0;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.dot-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#0d6efd;box-shadow:0 0 #0d6efdb3;margin-right:6px;animation:pulse 1.5s infinite;vertical-align:middle}@keyframes pulse{0%{box-shadow:0 0 #0d6efdb3}70%{box-shadow:0 0 0 12px #0d6efd00}to{box-shadow:0 0 #0d6efd00}}@media (max-width: 560px){.auth-container{padding:1.5rem 1.25rem 1.75rem;border-radius:12px;margin-left:1rem;margin-right:1rem}.auth-container h2{font-size:1.65rem}}@media (max-width: 420px){.auth-container{padding:1.5rem 1.25rem 1.75rem;margin-left:1rem;margin-right:1rem}.auth-container h2{font-size:1.5rem;margin-bottom:1.25rem}.auth-form{gap:1rem}.auth-form input{padding:.75rem .85rem;font-size:.95rem}.auth-form button{padding:.75rem;font-size:.95rem}.auth-switch-link{margin-top:1rem}}@media (max-width: 360px){.auth-container{padding:1.25rem 1rem 1.5rem}.auth-container h2{font-size:1.35rem}}.narrative-analysis-container{padding:2rem 0;width:100%}.narrative-analysis-title{font-size:2rem;font-weight:700;margin-bottom:.5rem;color:#333}.narrative-analysis-description{color:#666;margin-bottom:2rem;font-size:1rem;max-width:800px}.narrative-tabs{display:flex;border-bottom:1px solid #e0e0e0;margin-bottom:2rem}.narrative-tab{padding:1rem 1.5rem;background:transparent;border:none;font-weight:500;font-size:1rem;color:#666;cursor:pointer;position:relative}.narrative-tab.active{color:#2563eb;font-weight:600}.narrative-tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background-color:#2563eb}.narrative-summaries-title{font-size:1.5rem;font-weight:600;margin-bottom:.5rem}.narrative-date-range{color:#666;font-size:.9rem;margin-bottom:2rem}.narrative-item{display:flex;padding:1.5rem;border:1px solid #e0e0e0;border-radius:8px;transition:box-shadow .2s ease-in-out,transform .2s ease-in-out;background-color:#fff}.narrative-item:hover{box-shadow:0 5px 15px #0000000d;transform:translateY(-2px);cursor:pointer}.narrative-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:8px;margin-right:1rem;background-color:#2563eb1a;color:#2563eb}.narrative-content{flex:1}.narrative-name{font-size:1.25rem;font-weight:600;margin:0 0 .5rem;color:#333}.narrative-themes{margin-bottom:.5rem;font-size:.9rem;color:#2563eb;font-weight:500}.narrative-summary{color:#666;font-size:.95rem;line-height:1.5;display:flex;flex-direction:column;gap:.75rem}.narrative-strength{display:inline-block;font-size:.85rem;font-weight:600;margin-top:.75rem}.narrative-strength.high{color:#15803d}.narrative-strength.medium{color:#ca8a04}.narrative-strength.low{color:#b91c1c}.narrative-connections{font-size:.85rem;color:#4b5563;margin-top:.25rem}.connection-item{color:#2563eb}.pagination-arrow,.pagination-number{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;transition:all .2s}.pagination-number.active{background-color:#2563eb;color:#fff;border-color:#2563eb}.pagination-arrow:hover,.pagination-number:hover:not(.active){background-color:#f5f5f5}.pagination-ellipsis{display:flex;align-items:center;padding:0 .5rem}@media (max-width: 768px){.narrative-item{flex-direction:column}.narrative-icon{margin-right:0;margin-bottom:1rem}}.narrative-analysis-container{padding:0 0 2.2rem;width:100%}.narrative-analysis-title{font-size:2rem;font-weight:700;margin:0 0 1rem;color:#111827;letter-spacing:-.5px}.narrative-meta-bar{display:flex;align-items:center;gap:.75rem;margin:0 0 1.5rem;font-size:.8rem;color:#4b5563}.count-pill{background:#2563eb;color:#fff;font-weight:600;border-radius:999px;padding:.35rem .7rem;font-size:.7rem;letter-spacing:.5px}.range-text{font-size:.75rem;text-transform:uppercase;letter-spacing:.9px;font-weight:600;color:#6b7280}.narratives-list{display:flex;flex-direction:column;gap:1rem}.narrative-item{display:flex;align-items:flex-start;padding:1.25rem 1.5rem 1.35rem;border:1px solid #e5e7eb;border-radius:16px;transition:box-shadow .18s ease,transform .18s ease;background:#fff;gap:1.2rem}.narrative-item:hover{box-shadow:0 4px 14px -4px #0000001f;transform:translateY(-2px);cursor:pointer;border-color:#d1d5db}.narrative-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;width:100%}.narrative-index-badge{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:center;font-size:.9rem;box-shadow:0 4px 10px -2px #2563eb59;flex-shrink:0}.narrative-content{flex:1;display:flex;flex-direction:column;gap:.8rem;width:100%}.narrative-name{font-size:1.15rem;font-weight:600;margin:0;color:#111827;line-height:1.3}.narrative-tags{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-start;margin-bottom:.5rem}.chip{background:#eef2ff;color:#1e3a8a;font-size:.65rem;padding:.35rem .6rem;border-radius:999px;font-weight:600;letter-spacing:.25px;display:inline-flex;align-items:center}.chip.strength-chip{background:#f1f5f9;color:#334155}.chip.strength-chip.high{background:#ecfdf5;color:#065f46}.chip.strength-chip.medium{background:#fffbeb;color:#92400e}.chip.strength-chip.low{background:#fef2f2;color:#991b1b}.narrative-summary-text{color:#4b5563;font-size:.85rem;line-height:1.5;margin:0;text-align:left}.pagination{display:flex;justify-content:center;margin-top:2rem;gap:.5rem}.pagination-arrow,.pagination-number{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s;font-size:.75rem}.pagination-number.active{background:#2563eb;color:#fff;border-color:#2563eb}.pagination-arrow:hover,.pagination-number:hover:not(.active){background:#f5f5f5}.pagination-arrow:disabled{opacity:.5;cursor:not-allowed}@media (max-width:48rem){.narrative-item{gap:1rem;padding:1.1rem 1.25rem}.narrative-index-badge{width:40px;height:40px;font-size:.85rem}.narrative-analysis-title{font-size:1.65rem}.narrative-name{font-size:1.05rem}.narrative-summary-text{font-size:.8rem}}@media (max-width:480px){.narrative-analysis-container{padding:0 0 1.5rem}.narrative-analysis-title{font-size:1.35rem;margin:0 0 .75rem;letter-spacing:-.25px}.narrative-meta-bar{gap:.5rem;margin-bottom:1rem}.count-pill{padding:.3rem .55rem;font-size:.6rem}.range-text{font-size:.6rem;letter-spacing:.6px}.narratives-list{gap:.75rem}.narrative-item{flex-direction:column;padding:.9rem 1rem;border-radius:14px;gap:.8rem}.narrative-header{display:flex;align-items:center;gap:.8rem;margin-bottom:0}.narrative-index-badge{width:34px;height:34px;font-size:.75rem;border-radius:10px;box-shadow:0 3px 8px -2px #2563eb4d}.narrative-content{gap:.6rem}.narrative-name{font-size:.95rem}.narrative-tags{gap:.35rem}.chip{font-size:.55rem;padding:.3rem .5rem;letter-spacing:.2px}.narrative-summary-text{font-size:.75rem;line-height:1.4}.pagination{margin-top:1.25rem;gap:.4rem}.pagination-arrow,.pagination-number{width:30px;height:30px;font-size:.65rem;border-radius:6px}}@media (max-width:360px){.narrative-item{padding:.8rem .85rem;gap:.7rem}.narrative-header{gap:.7rem}.narrative-index-badge{width:30px;height:30px;font-size:.65rem}.chip{font-size:.5rem;padding:.26rem .45rem}.narrative-summary-text{font-size:.72rem}.pagination-arrow,.pagination-number{width:28px;height:28px;font-size:.6rem}}@media (min-width:600px) and (max-width:900px){.narrative-analysis-container{padding:0 0 2rem}.narratives-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}.narrative-item{flex-direction:column;padding:1rem 1.1rem 1.15rem;gap:.9rem}.narrative-header{display:flex;align-items:center;gap:.9rem;margin-bottom:0}.narrative-index-badge{width:38px;height:38px;font-size:.8rem}.narrative-content{gap:.6rem}.narrative-name{font-size:1rem}.narrative-summary-text{font-size:.78rem;line-height:1.4}.chip{font-size:.58rem}.pagination{grid-column:1 / -1}}.project-results-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:var(--card-pad-top) var(--card-pad-x) var(--card-pad-bottom);box-shadow:0 4px 24px -6px #0000000f,0 2px 4px #0000000a;margin-bottom:var(--between-card-gap)}@media (max-width: 640px){.project-results-card{padding:1.25rem}}.data-acquisition-mobile{width:100%;background:linear-gradient(135deg,#3b82f608,#10b98105);min-height:calc(100vh - 140px);padding:1rem;display:flex;flex-direction:column;gap:1.5rem;box-sizing:border-box}@media (max-width: 480px){.data-acquisition-mobile{padding:.75rem;gap:1rem}}@media (max-width: 360px){.data-acquisition-mobile{padding:.5rem}}.mobile-project-header{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 2px 8px #0000000a;border:1px solid #e5e7eb;box-sizing:border-box}.progress-section{background:#fff;border-radius:16px;padding:2rem 1.25rem;box-shadow:0 2px 8px #0000000a;border:1px solid #e5e7eb;text-align:center;box-sizing:border-box}.detail-card{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 2px 8px #0000000a;border:1px solid #e5e7eb;box-sizing:border-box}@media (max-width: 480px){.mobile-project-header{padding:1rem;border-radius:12px}.progress-section{padding:1.5rem 1rem;border-radius:12px}.detail-card{padding:1rem;border-radius:12px}}@media (max-width: 360px){.mobile-project-header{padding:.875rem}.progress-section{padding:1.25rem .875rem}.detail-card{padding:.875rem}}.project-header-content{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.project-name{font-size:1.25rem;font-weight:700;color:#111827;margin:0;line-height:1.3}.status-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:12px;font-size:.8rem;font-weight:600;width:fit-content;letter-spacing:.25px}.status-dot{width:8px;height:8px;border-radius:50%}.status-badge.status-pending{background:#f59e0b1a;color:#f59e0b;border:1px solid rgba(245,158,11,.2)}.status-badge.status-pending .status-dot{background:#f59e0b}.status-badge.status-processing{background:#fbbf241f;color:#d97706;border:1px solid rgba(251,191,36,.3)}.status-badge.status-processing .status-dot{background:#d97706;animation:pulse-dot 2s infinite}.project-description{color:#4b5563;font-size:.9rem;line-height:1.5;margin:0}.progress-section{background:#fff;border-radius:16px;padding:2rem 1.25rem;box-shadow:0 2px 8px #0000000a;border:1px solid #e5e7eb;text-align:center}.progress-content{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.progress-icon{display:flex;justify-content:center;align-items:center}.mobile-spinner{position:relative;width:80px;height:80px}.spin-ring{position:absolute;border:3px solid rgba(59,130,246,.1);border-radius:50%;animation:spin 3s linear infinite}.spin-ring:nth-child(1){width:80px;height:80px;border-top-color:#3b82f6;animation-duration:2.5s}.spin-ring:nth-child(2){width:60px;height:60px;top:10px;left:10px;border-top-color:#60a5fa;animation-duration:3.5s;animation-direction:reverse}.spin-core{position:absolute;top:50%;left:50%;width:12px;height:12px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:50%;transform:translate(-50%,-50%);animation:pulse-core 2s ease-in-out infinite}.progress-text{display:flex;flex-direction:column;gap:.75rem}.progress-title{font-size:1.35rem;font-weight:700;color:#2563eb;margin:0}.progress-message{font-size:1rem;color:#4b5563;margin:0;line-height:1.5}.progress-subtitle{font-size:.85rem;color:#6b7280;margin:0;font-style:italic}.project-details{display:flex;flex-direction:column;gap:1rem}.detail-card{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 2px 8px #0000000a;border:1px solid #e5e7eb}.card-title{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1rem}.detail-grid{display:grid;grid-template-columns:1fr;gap:.75rem}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-item.span-full{grid-column:1 / -1}.detail-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:.9rem;color:#111827;font-weight:500}.timeframe-range{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.range-date{background:#f3f4f6;padding:.4rem .75rem;border-radius:8px;font-size:.85rem;font-weight:500;color:#374151}.range-arrow{color:#9ca3af;font-weight:700}.tag-list{display:flex;flex-wrap:wrap;gap:.5rem}.tag{padding:.4rem .75rem;border-radius:12px;font-size:.8rem;font-weight:500;border:1px solid transparent}.tag.source-tag{background:#eef2ff;color:#4338ca;border-color:#4f46e533}.tag.source-tag.color-0{background:#eef2ff;color:#4338ca}.tag.source-tag.color-1{background:#fef3c7;color:#92400e}.tag.source-tag.color-2{background:#dcfce7;color:#065f46}.tag.source-tag.color-3{background:#fee2e2;color:#b91c1c}.tag.source-tag.color-4{background:#e0f2fe;color:#075985}.tag.source-tag.color-5{background:#f3e8ff;color:#6b21a8}.tag.keyword-tag{background:#f1f5f9;color:#334155;border-color:#33415533}@keyframes pulse-core{0%,to{transform:translate(-50%,-50%) scale(.8);opacity:.8}50%{transform:translate(-50%,-50%) scale(1.2);opacity:1}}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.5}}@media (min-width: 640px){.data-acquisition-mobile{padding:1.5rem;gap:2rem}.mobile-project-header{padding:1.5rem}.project-header-content{flex-direction:row;justify-content:space-between;align-items:flex-start}.project-name{font-size:1.5rem}.progress-section{padding:3rem 2rem}.progress-content{flex-direction:row;gap:2rem;text-align:left}.detail-grid{grid-template-columns:repeat(2,1fr)}.project-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media (min-width: 900px){.data-acquisition-mobile{max-width:1200px;margin:0 auto;padding:2rem}.progress-title{font-size:1.5rem}.mobile-spinner{width:100px;height:100px}.spin-ring:nth-child(1){width:100px;height:100px}.spin-ring:nth-child(2){width:75px;height:75px;top:12.5px;left:12.5px}}.page-layout{max-width:1200px;margin:0 auto;padding:var(--page-pad-top) var(--page-pad-x) var(--page-pad-bottom);box-sizing:border-box;display:flex;flex-direction:column}.page-header{margin-bottom:var(--between-card-gap)}.back-navigation{display:flex;align-items:center;margin-bottom:.5rem}.back-link{color:#2563eb;font-size:.92rem;font-weight:500;text-decoration:none;line-height:1;transition:color .18s}.page-title{font-size:2rem;font-weight:700;margin:0;color:#111827;letter-spacing:-.5px}@media (max-width: 600px){.page-layout{padding:var(--page-pad-top) 1rem var(--page-pad-bottom)}.page-title{font-size:1.65rem}}@media (max-width: 380px){.page-layout{padding:var(--page-pad-top) .75rem var(--page-pad-bottom)}.page-title{font-size:1.5rem}}.project-page{max-width:1200px;margin:0 auto;padding:var(--page-pad-top) var(--page-pad-x) var(--page-pad-bottom);min-height:calc(100vh - 100px);box-sizing:border-box;display:flex;flex-direction:column}.project-header{margin-bottom:2rem;border-bottom:1px solid #eee;padding-bottom:1.25rem}.project-title{margin:0 0 .5rem;color:#333;font-size:2.2rem;font-weight:700}.project-description{color:#555;font-size:1.1rem;margin-bottom:1.5rem;line-height:1.5;max-width:800px}.project-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.project-meta-item{display:flex;flex-direction:column;gap:.5rem}.meta-label{font-weight:600;color:#555;font-size:.9rem}.meta-value{color:#333}.project-keywords{display:flex;flex-wrap:wrap;gap:.5rem}.project-keyword{background-color:#2563eb1a;color:#2563eb;font-size:.85rem;padding:.25rem .75rem;border-radius:20px;border:1px solid rgba(37,99,235,.2);font-weight:500}@media (max-height: 700px){.project-page{padding:1.1rem 1.5rem}.project-content{margin-top:.75rem}}.back-link{color:#2563eb;font-size:.92rem;font-weight:500;text-decoration:none;line-height:1;padding:0;transition:color .18s}.back-link:hover{color:#1d4ed8;text-decoration:underline}.back-button{display:inline-flex;align-items:center;background-color:#2563eb;color:#fff;border:none;border-radius:4px;font-weight:500;cursor:pointer;text-decoration:none;transition:background-color .2s}.back-button:hover{background-color:#1d4ed8}.loading-container{display:flex;justify-content:center;align-items:center;min-height:calc(100vh - 350px);flex-direction:column;margin:auto}.loading-container p{margin-top:1rem;color:#666}.error-message{color:#d32f2f;background-color:#ffebee;padding:1.5rem;border-radius:8px;margin:auto;border:1px solid rgba(211,47,47,.2);max-width:600px;width:100%;box-sizing:border-box;text-align:center}.project-error{text-align:center;padding:2rem;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;margin:auto;max-width:600px;width:100%;box-sizing:border-box}.project-error h3{color:#d32f2f;margin-bottom:1rem}.no-narratives{text-align:center;padding:2rem;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;margin:auto;max-width:600px;width:100%;box-sizing:border-box}.no-narratives h3{color:#555;margin-bottom:1rem}@media (max-width: 600px){.project-page{padding:1.1rem 1rem 2.25rem}.project-title{font-size:1.9rem}.project-description{font-size:1rem;max-width:100%}.project-meta{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}.project-error,.no-narratives{padding:1.5rem;margin:1rem auto;width:calc(100% - 2rem);max-width:none}}@media (max-width: 400px){.project-page{padding:1rem .75rem 2rem}.project-title{font-size:1.65rem}.project-description{font-size:.95rem}.project-error,.no-narratives{padding:1.25rem .75rem;width:100%;margin:.75rem auto}}@media (min-width: 601px) and (max-width: 1023px){.project-error,.no-narratives{margin:1.5rem auto;width:90%;max-width:550px}}@media (min-width: 1024px){.project-content{min-height:calc(100vh - 350px);padding-bottom:1.5rem}.project-error,.no-narratives{margin:auto}}@media (min-width: 2560px){.project-content{min-height:calc(100vh - 400px);padding-bottom:2rem}.project-error,.no-narratives{max-width:1000px;padding:3.5rem;font-size:1.2rem}.project-error h3,.no-narratives h3{font-size:1.8rem}}.narrative-detail-page{max-width:1200px;margin:0 auto;padding:var(--page-pad-top) var(--page-pad-x) 3.5rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.narrative-header-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:var(--card-pad-top) var(--card-pad-x) calc(var(--card-pad-bottom) + .25rem);box-shadow:0 4px 24px -6px #0000000f,0 2px 4px #0000000a;margin-bottom:var(--between-card-gap)}.header-grid{display:flex;gap:clamp(.75rem,2vw,1.4rem);align-items:flex-start}.header-main{flex:1 1 55%}.header-main h1{font-size:2rem;margin:0 0 1rem;line-height:1.1;font-weight:700;letter-spacing:-.5px}.header-main .summary{color:#374151;line-height:1.5;font-size:.95rem;margin:0 0 .75rem}.header-chart{flex:1 1 45%;min-width:32rem}.back-navigation{display:flex;align-items:center;min-height:.375rem;margin-bottom:.375rem}.back-link{color:#2563eb;text-decoration:none;font-size:.92rem;font-weight:500;letter-spacing:.25px;line-height:1}.back-link:hover{text-decoration:underline}.key-quote{font-size:1.05rem;margin:1rem 0 0;padding-left:1rem;border-left:4px solid #2563eb;color:#111827;font-weight:500}.key-quote footer{margin-top:.35rem}.key-quote small{color:#4b5563;font-weight:400}.chip-section{margin-top:1.25rem;display:flex;flex-direction:column;gap:1rem}.chip-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.8px;color:#6b7280;margin:0 0 .25rem;font-weight:600}.theme-chips{display:flex;flex-wrap:wrap;gap:.5rem}.sentiment-block{display:flex;flex-direction:column;gap:.4rem}.sentiment-chips.breakdown{gap:.5rem;flex-wrap:wrap}.chip.neutral{background:#f1f5f9;color:#0f172a}.chip{background:#eef2ff;color:#1e3a8a;font-size:.65rem;padding:.4rem .65rem;border-radius:999px;font-weight:600;letter-spacing:.3px;display:inline-flex;align-items:center}.chip.overall.positive{background:#ecfdf5;color:#065f46}.chip.overall.negative{background:#fef2f2;color:#991b1b}.chip.overall.neutral{background:#eff6ff;color:#1e3a8a}.chip.pos{background:#ecfdf5;color:#047857}.chip.neg{background:#fef2f2;color:#b91c1c}.chip.empty{background:#f3f4f6;color:#6b7280}.sentiment-chips{display:flex;gap:.5rem}.evidence-section{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:1.4rem 1.5rem 2rem;box-shadow:0 1px 2px #0000000d}.evidence-section h3{margin:0 0 1.25rem}.evidence-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.25rem}.evidence-list .q{margin:0 0 .45rem;font-size:.95rem;font-weight:500;line-height:1.4}.evidence-list .meta{font-size:.65rem;color:#4b5563}.evidence-sentinel{width:100%;height:40px;margin-top:1rem;display:flex;align-items:center;justify-content:center}.end-of-list{margin-top:1.5rem;text-align:center}.chart-full{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:.85rem .95rem 1.1rem;box-shadow:0 1px 2px #0000000d;overflow:hidden}.chart-full.in-header.stretch{height:100%;display:flex;flex-direction:column;width:100%}.header-chart{display:flex;align-items:stretch}.cf-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.chart-body{width:100%}.full-chart{width:100%;height:230px;display:block}.muted{color:#6b7280;font-size:.75rem}.link-btn{background:none;border:none;padding:0;font-size:.7rem;color:#2563eb;cursor:pointer;font-weight:600}.link-btn:hover{text-decoration:underline}@media (max-width:62rem){.header-grid{flex-direction:column}.header-chart{width:100%;min-width:0}}@media (max-width:1020px){.header-grid{grid-template-columns:1fr}.header-chart{order:2}}@media (max-width:820px){.narrative-detail-page{padding:1.5rem 1.25rem 3rem}}@media (max-width:480px){.narrative-detail-page{padding:1.1rem .9rem 2.5rem}.header-main h1{font-size:1.6rem;margin-bottom:.75rem}.header-main .summary{font-size:.85rem}.key-quote{font-size:.9rem;margin-top:.75rem;padding-left:.75rem}.narrative-header-card{padding:1.1rem 1rem 1.4rem}.chart-full.in-header.stretch{min-height:200px}.full-chart{height:180px}.chip{font-size:.55rem;padding:.3rem .5rem}.chip-label{font-size:.55rem}.evidence-section{padding:1.1rem 1rem 1.5rem}.evidence-list .q{font-size:.9rem}.evidence-list .meta{font-size:.55rem}}@media (max-width:360px){.header-main h1{font-size:1.45rem}.header-chart{min-width:0}.chart-full.in-header.stretch{min-height:170px}.full-chart{height:160px}}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:550px;box-shadow:0 15px 30px #00000040;animation:slideIn .3s ease-out;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 3rem;border-bottom:1px solid #eaeaea;background-color:#f8f9fa}.modal-title-container{display:flex;align-items:center;gap:.75rem}.modal-icon{color:#0d6efd}.modal-header h2{margin:0;font-size:1.35rem;color:#1e293b;font-weight:600}.button-danger.delete-action{background-color:#dc3545}.modal-error{display:flex;align-items:center;gap:.75rem;background-color:#fef2f2;color:#ef4444;padding:1rem;border-radius:8px;margin:1.5rem 3rem 0;font-size:.925rem;border-left:4px solid #ef4444}.modal-error:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background-color:#fee2e2;color:#ef4444;border-radius:50%;font-weight:700}.form-group{margin:1.5rem 3rem}.form-group label{display:block;margin-bottom:.75rem;font-weight:600;color:#374151;font-size:.95rem}.form-group input,.form-group textarea{width:100%;box-sizing:border-box;padding:.9rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;transition:all .2s;background-color:#f9fafb;resize:none}.form-group input:hover,.form-group textarea:hover{border-color:#a3a8b8;background-color:#fff}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26;background-color:#fff}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem 3rem;border-top:1px solid #eaeaea;background-color:#f8f9fa}.modal-actions .action-btn{min-width:128px;text-align:center}.modal-actions .fixed-width{width:160px}.delete-confirmation{display:flex;align-items:center;font-size:.95rem;color:#dc3545;font-weight:500}.button-primary,.button-secondary,.button-danger{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;font-size:.95rem}.button-primary{background-color:#0d6efd;color:#fff;border:none;box-shadow:0 2px 5px #0d6efd33}.button-primary:hover{background-color:#0b5ed7;transform:translateY(-1px);box-shadow:0 4px 8px #0d6efd4d}.button-primary:disabled{background-color:#78a8ff;cursor:not-allowed;transform:none;box-shadow:none}.button-danger{background-color:#dc3545;color:#fff;border:none;box-shadow:0 2px 5px #dc354533}.button-danger:hover{background-color:#c82333;transform:translateY(-1px);box-shadow:0 4px 8px #dc35454d}.button-danger:disabled{background-color:#f1adb4;cursor:not-allowed;transform:none;box-shadow:none}.button-secondary{background-color:#fff;color:#4b5563;border:1px solid #d1d5db;box-shadow:0 1px 3px #0000000d}.button-secondary:hover{background-color:#f9fafb;color:#374151;border-color:#b0b7c9;transform:translateY(-1px)}.button-secondary:disabled{color:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 560px){.modal-content{max-width:100%;margin:0 1rem}.modal-header{padding:1.1rem 1.5rem}.modal-header h2{font-size:1.15rem}.form-group{margin:1rem 1.5rem}.modal-error{margin:1rem 1.5rem 0}.modal-actions{padding:1.1rem 1.5rem;flex-wrap:wrap;gap:.75rem}.modal-actions .action-btn{min-width:auto;flex:1}.modal-actions .fixed-width{width:auto}.button-primary,.button-secondary,.button-danger{padding:.75rem 1rem;font-size:.9rem;text-align:center}}@media (max-width: 400px){.modal-header{padding:.95rem 1rem}.form-group{margin:.85rem 1rem}.modal-actions{padding:.95rem 1rem;flex-direction:column;gap:.5rem}.modal-actions .action-btn,.button-primary,.button-secondary,.button-danger{width:100%}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-content{transform-origin:center top;animation:slideIn .3s cubic-bezier(.175,.885,.32,1.275)}.project-list-container{margin-top:1.5rem;width:100%;margin-left:auto;margin-right:auto;padding:0;box-sizing:border-box}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}@media (min-width: 768px) and (max-width: 1023px){.projects-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px) and (max-width: 1439px){.projects-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width: 1440px){.projects-grid{grid-template-columns:repeat(3,1fr);max-width:1400px;margin:0 auto}}.project-card{position:relative;background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000000d;transition:all .3s ease;overflow:hidden;border:1px solid #eaeaea;height:22rem;display:flex;flex-direction:column}.project-card:hover{box-shadow:0 10px 20px #00000014;transform:translateY(-3px)}.project-card-link{display:flex;flex-direction:column;flex:1;padding:1.2rem;padding-right:50px;padding-bottom:.5rem;text-decoration:none;color:inherit;height:100%}.project-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;height:3.8rem}.project-title{margin:0;font-size:1.4rem;font-weight:600;color:#1a1a1a;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;word-break:break-word;height:3.6rem;min-height:3.6rem;max-height:3.6rem}.project-status-indicator{position:absolute;top:12px;right:45px;width:12px;height:12px;border-radius:50%;box-shadow:0 0 4px #0003;display:none}.project-status-bar{position:absolute;top:0;left:0;height:3px;width:100%;background-color:#eaeaea}.status-pending,.project-status-bar.status-pending{background-color:#f8d9a4}.status-processing,.project-status-bar.status-processing{background-color:#fde68a;animation:pulse-amber 2s infinite}.status-completed,.project-status-bar.status-completed{background-color:#c6f1e0}.status-failed,.project-status-bar.status-failed{background-color:#fecaca}@keyframes pulse-amber{0%{box-shadow:0 0 #fbbf248c}70%{box-shadow:0 0 0 6px #fbbf2400}to{box-shadow:0 0 #fbbf2400}}.project-description{flex-grow:0;flex-shrink:0;margin-bottom:1rem;color:#555;font-size:.95rem;line-height:1.5;overflow:hidden;line-clamp:3;height:7.4rem;max-height:7.4rem;min-height:7.4rem;padding-right:5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.project-card-footer{margin-top:auto;border-top:1px solid #f0f0f0;padding-top:.5rem;height:5.5rem;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.project-metadata{display:flex;flex-direction:column;gap:.5rem;color:#666;font-size:.85rem;height:100%;justify-content:center}.project-date-container{display:flex;justify-content:center;margin-bottom:.5rem}.project-date{color:#2563eb;font-size:.875rem;font-weight:500;letter-spacing:.01em;background:#2563eb1a;margin:0;padding:.35rem .85rem;border-radius:16px;display:inline-flex;align-items:center;text-align:center;border:1px solid rgba(37,99,235,.2)}.project-status{font-size:.875rem;font-weight:500;text-align:center;margin-top:.5rem;display:flex;align-items:center;justify-content:center}.status-chip{padding:.35rem .85rem;border-radius:16px;font-size:.85rem;font-weight:500;display:inline-flex;align-items:center;gap:.25rem}.status-chip:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px}.status-chip.status-pending{background-color:#f59e0b1a;color:#f59e0b;border:1px solid rgba(245,158,11,.2)}.status-chip.status-pending:before{background-color:#f59e0b}.status-chip.status-processing{background-color:#fbbf241f;color:#d97706;border:1px solid rgba(251,191,36,.35)}.status-chip.status-processing:before{background-color:#d97706;animation:pulse-amber 2s infinite}.status-chip.status-completed{background-color:#10b9811a;color:#10b981;border:1px solid rgba(16,185,129,.2)}.status-chip.status-completed:before{background-color:#10b981}.status-chip.status-failed{background-color:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.2)}.status-chip.status-failed:before{background-color:#ef4444}.project-card-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.edit-project-button{position:absolute;top:17px;right:10px;padding:5px;background:transparent;border:none;border-radius:50%;cursor:pointer;z-index:10;opacity:.6;transition:opacity .2s,background-color .2s}.edit-project-button:hover{opacity:1;background-color:#0000000d}.edit-project-button svg{width:20px;height:20px;stroke:#555;display:block}.projects-loading,.projects-error{text-align:center;padding:3rem;font-size:1rem;color:#666;display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #0d6efd;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.narrative-count{background-color:#eef2ff;color:#4f46e5;padding:.35rem .85rem;border-radius:16px;font-size:.85rem;font-weight:500;display:inline-flex;align-items:center;gap:.25rem;border:1px solid rgba(79,70,229,.2)}.narrative-count:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#4f46e5}.projects-error{color:#dc3545;background-color:#f8d7da;border-radius:4px;padding:1rem}.pagination{display:flex;justify-content:center;margin-top:2.5rem;gap:.35rem}.pagination-button{width:2.75rem;height:2.75rem;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#4b5563;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:.95rem}.pagination-button:hover{background-color:#f9fafb;color:#0d6efd}.pagination-button.active{background-color:#0d6efd;color:#fff;border-color:#0d6efd;box-shadow:0 2px 5px #0d6efd40}.empty-projects{text-align:center;padding:4rem 1rem;background-color:#f9fafb;border-radius:12px;margin-top:1rem;border:1px dashed #d1d5db}.empty-projects p{margin-bottom:1.75rem;color:#6b7280;font-size:1.1rem}.create-project-button{display:inline-block;padding:.85rem 2rem;background-color:#0d6efd;color:#fff;text-decoration:none;border-radius:8px;font-weight:500;transition:all .2s;box-shadow:0 4px 6px #0d6efd1a}.create-project-button:hover{background-color:#0a58ca;transform:translateY(-2px);box-shadow:0 6px 8px #0d6efd33}.project-list .error-message{color:#d32f2f}.project-list .empty-message{padding:1.5rem;text-align:center;background-color:#f5f5f5;border-radius:4px;color:#666}.chips-container{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center;align-items:center;margin:0}.project-metadata>div{margin-bottom:0}@media (max-width: 600px){.project-list-container{margin-top:1rem;margin-left:auto;margin-right:auto;padding:0}.projects-grid{grid-template-columns:1fr;gap:1.1rem}.project-card{height:auto;min-height:18rem}.project-card-link{padding:1rem 1rem .75rem;padding-right:40px}.project-card-header{height:auto;margin-bottom:.65rem}.project-title{font-size:1.25rem;height:auto;min-height:0;max-height:none;-webkit-line-clamp:3;line-clamp:3}.project-description{font-size:.9rem;height:auto;max-height:none;min-height:0;-webkit-line-clamp:4;line-clamp:4;margin-bottom:.75rem}.project-card-footer{height:auto;padding-top:.65rem}.project-date{font-size:.8rem;padding:.3rem .7rem}.status-chip{font-size:.75rem;padding:.3rem .65rem}.edit-project-button{top:12px;right:8px}}@media (max-width: 430px){.project-card-link{padding:.85rem .85rem .65rem;padding-right:38px}.project-title{font-size:1.15rem}.project-description{-webkit-line-clamp:3;line-clamp:3}.chips-container{gap:.5rem}.project-date{font-size:.75rem}.status-chip{font-size:.7rem}}@media (max-width: 360px){.project-card-link{padding:.75rem .75rem .55rem;padding-right:36px}.project-title{font-size:1.05rem;-webkit-line-clamp:3;line-clamp:3}.project-description{font-size:.82rem;-webkit-line-clamp:3;line-clamp:3}.project-date{font-size:.7rem;padding:.25rem .55rem}.status-chip{font-size:.65rem;padding:.25rem .5rem}.pagination-button{width:2.25rem;height:2.25rem;font-size:.8rem}}@media (max-width: 600px){.project-list-container{overflow-x:hidden}}.projects-page{max-width:1600px;margin:0 auto;padding:2rem;box-sizing:border-box;width:100%}.projects-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;width:100%}.projects-header h1{margin:0;font-size:2rem;font-weight:600;color:#212529}.create-project-link{position:relative;display:inline-flex;align-items:center;gap:.65rem;background:#4f94f9;color:#fff;padding:.85rem 1.9rem .9rem 1.55rem;text-decoration:none;border-radius:14px;font-weight:600;font-size:.95rem;letter-spacing:.25px;line-height:1;box-shadow:0 4px 14px -2px #4f94f959,0 2px 4px #00000026;transition:transform .25s ease,box-shadow .35s ease;isolation:isolate;overflow:hidden;max-width:100%;box-sizing:border-box}.create-project-link:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.35),transparent 55%);mix-blend-mode:overlay;opacity:.85;pointer-events:none;transition:opacity .4s ease}.create-project-link:hover{background:#3a80e5;transform:translateY(-3px);box-shadow:0 10px 28px -4px #4f94f973,0 6px 12px -2px #00000040}.create-project-link:active{transform:translateY(-1px) scale(.97);box-shadow:0 4px 12px -2px #4f94f980,0 2px 6px #00000040}.create-project-link:focus-visible{outline:3px solid rgba(79,148,249,.5);outline-offset:3px}.create-project-link .plus-icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff26;border-radius:10px;font-size:1.15rem;font-weight:600;line-height:1;box-shadow:inset 0 0 0 1px #ffffff38,0 2px 4px #0000002e;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:background .35s ease}.create-project-link:hover .plus-icon{background:#ffffff40}.create-project-link:active .plus-icon{background:#ffffff4d}.plus-icon{font-size:1.2rem;font-weight:700}@media (max-width: 600px){.projects-page{padding:1.25rem 1rem 2.25rem;margin:0 auto;width:100%;max-width:100%}.projects-header{flex-direction:column;align-items:stretch;gap:.85rem}.projects-header h1{font-size:1.55rem}.create-project-link{width:100%;justify-content:center;padding:.8rem 1rem .85rem;font-size:.9rem;gap:.55rem;border-radius:12px;--grad: linear-gradient(100deg,#6366f1 0%,#3b82f6 55%,#0ea5e9 100%);box-shadow:0 4px 10px -2px #3b82f659,0 2px 4px #0000001f;max-width:100%;box-sizing:border-box}.create-project-link .plus-icon{width:24px;height:24px;font-size:.95rem;border-radius:8px;box-shadow:inset 0 0 0 1px #ffffff40}}@media (max-width: 380px){.projects-page{padding:1rem .75rem 2rem;margin:0 auto;width:100%}.projects-header h1{font-size:1.45rem}.create-project-link{padding:.75rem .9rem .8rem;font-size:.87rem}.create-project-link .plus-icon{width:22px;height:22px;font-size:.9rem}}@media (max-width: 340px){.projects-page{padding:.75rem .5rem 1.75rem;margin:0 auto;width:100%}.create-project-link{padding:.7rem .75rem .75rem;font-size:.84rem;gap:.45rem}.create-project-link .plus-icon{width:20px;height:20px;font-size:.85rem}}@media (max-width: 600px){body,html,.projects-page{overflow-x:hidden}}.new-project-page.compact-layout{--gap: 16px;padding:12px 20px 32px;display:flex;flex-direction:column;min-height:calc(100dvh - 64px);background:linear-gradient(135deg,#6366f10f,#10b9810f)}.np-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px;flex-wrap:wrap}.np-header-actions{display:flex;gap:8px;align-items:center}.np-surface{padding:18px 22px 22px;background:var(--mui-palette-background-paper, #fff);border:1px solid var(--mui-palette-divider, #e0e0e0);border-radius:18px;flex:1;display:flex;position:relative;overflow:hidden}.np-surface:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 85% 10%,rgba(99,102,241,.15),transparent 60%),radial-gradient(circle at 15% 90%,rgba(16,185,129,.18),transparent 65%);opacity:.55}form.np-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--gap);width:100%;align-content:start}.np-surface-inner{display:flex;gap:28px;width:100%}.np-surface-inner.two-pane{align-items:flex-start}.np-main-col,.np-main-stack{flex:1}.np-summary-col{width:300px;flex-shrink:0}@media (max-width: 1100px){.np-surface-inner.two-pane{flex-direction:column}.np-summary-col{width:100%}}.np-main-stack{display:flex;flex-direction:column;gap:20px;max-width:calc(100% - 332px)}@media (max-width: 1100px){.np-main-stack{max-width:100%}}@media (max-width: 640px){.np-main-stack{max-width:100%}}.np-main-col{flex:1;display:flex;flex-direction:column;gap:24px}.np-side-col{width:280px;flex-shrink:0}@media (max-width: 1100px){.np-surface-inner{flex-direction:column}.np-side-col{width:100%;order:-1}}.np-basics-row{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:stretch}@media (max-width: 1100px){.np-basics-row{grid-template-columns:1fr}}.basics-group,.np-basics-row .np-summary.flush-height{height:100%;display:flex;flex-direction:column}.np-two-col.equal-h{align-items:stretch}.np-two-col.equal-h .MuiTextField-root{height:100%;display:flex;flex-direction:column}.np-two-col.equal-h .MuiInputBase-root{flex:1}.np-two-col.equal-h .MuiTextField-root:first-child textarea{resize:vertical}.np-row-split{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}@media (max-width: 1100px){.np-row-split{grid-template-columns:1fr}}.datasource-group{align-self:start}.np-summary.flush-height{position:relative;top:auto}.keywords-ds-group{gap:12px}.np-key-ds-row{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}@media (max-width: 1200px){.np-key-ds-row{grid-template-columns:1fr}}.np-keywords-col{display:flex;flex-direction:column;gap:8px}.np-keywords-row.tight{gap:8px}.np-ds-col{background:#ffffff8c;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px 6px;display:flex;flex-direction:column;gap:2px}.np-ds-col.inline .MuiFormGroup-root{gap:2px}.np-ds-head{font-size:.6rem;letter-spacing:.5px;text-transform:uppercase;font-weight:600;opacity:.65}.np-radio-group.horiz{flex-direction:column}@media (min-width: 640px){.np-radio-group.horiz{flex-direction:column}}.np-field-group{background:#ffffffa6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid #e5e7eb;border-radius:16px;padding:16px 18px 14px;display:flex;flex-direction:column;gap:10px;position:relative}.tight-bottom{margin-bottom:-4px}.no-fill-height{align-self:stretch}.np-field-group:before{content:"";position:absolute;inset:0;border-radius:10px;background:linear-gradient(135deg,#6366f10f,#10b9810a);opacity:0;transition:opacity .35s;pointer-events:none}.np-field-group:hover:before{opacity:1}.np-group-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}.np-group-head h3{margin:0;font-size:.85rem;letter-spacing:.5px;text-transform:uppercase;font-weight:600;opacity:.75}.np-group-head.mini h4{margin:0;font-size:.7rem;letter-spacing:.5px;text-transform:uppercase;font-weight:600;opacity:.7}.np-group-accent{width:8px;height:24px;background:linear-gradient(180deg,#6366f1,#818cf8);border-radius:4px;box-shadow:0 0 0 1px #6366f166}.np-group-accent.alt{background:linear-gradient(180deg,#10b981,#34d399);box-shadow:0 0 0 1px #10b98166}.np-two-col{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.np-keywords-row{display:flex;gap:12px;align-items:flex-start}@media (max-width: 640px){.np-keywords-row{flex-direction:column}}.np-keywords-row .np-ai-btn.pill{align-self:stretch;display:flex;align-items:center;border-radius:999px;padding-inline:20px;font-weight:600;letter-spacing:.3px;background:linear-gradient(90deg,#6366f1,#10b981);color:#fff;box-shadow:0 2px 4px #0000001f;transition:box-shadow .25s,transform .25s}.np-keywords-row .np-ai-btn.pill:hover:not([disabled]){box-shadow:0 4px 10px -2px #00000040;transform:translateY(-1px)}.np-keywords-row .np-ai-btn.pill[disabled]{opacity:.6;box-shadow:none}.np-keywords-row .np-ai-btn.pill:after{display:none}.np-inline-hint{margin:2px 0 0;font-size:.62rem;color:#64748b}.np-quick-ranges{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.np-quick-ranges .MuiChip-root{background:#f1f5f9;border:1px solid #e2e8f0;font-size:.6rem;height:22px}.np-quick-ranges .MuiChip-root:hover{background:#e2e8f0}.np-main-col .MuiTextField-root textarea{font-size:.8rem;line-height:1.15rem}.np-summary{position:sticky;top:8px}.np-side-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.np-progress-bar-wrap{display:flex;align-items:center;gap:8px;margin:4px 0 8px}.np-progress-bar{flex:1;height:6px;background:#e2e8f0;border-radius:4px;position:relative;overflow:hidden}.np-progress-bar span{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#6366f1,#10b981);border-radius:4px;transition:width .4s cubic-bezier(.4,0,.2,1)}.np-progress-label{font-size:.55rem;font-weight:600;letter-spacing:.5px;color:#475569}form.np-form-grid,.np-span-2,.np-section{display:none}.np-span-2{grid-column:span 2}@media (max-width: 780px){.np-span-2{grid-column:span 1}}.np-section-header{font-size:.75rem;text-transform:uppercase;letter-spacing:.5px;font-weight:600;margin-bottom:4px;opacity:.75}.np-section{display:flex;flex-direction:column;gap:8px}.np-keywords-box{display:flex;flex-wrap:wrap;gap:6px;min-height:34px;padding:4px 6px;background:var(--mui-palette-background-default, #fafafa);border:1px dashed var(--mui-palette-divider,#d0d0d0);border-radius:6px;transition:background .3s,border-color .3s}.np-keywords-box:focus-within,.np-keywords-box:hover{background:#f5f8ff;border-color:#b4c6ff}.np-timeframe-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.np-actions-mobile{display:none;gap:8px}@media (max-width: 640px){.np-actions-mobile{display:flex}.np-header-actions{display:none}}@media (max-width: 640px){.np-summary-col,.np-summary{display:none!important}.np-surface{padding:14px 14px 18px}.new-project-page.compact-layout{padding:10px 14px 26px}.np-main-stack{gap:16px}}@media (max-width: 400px){.new-project-page.compact-layout{padding:8px 10px 22px}.np-surface{padding:12px 12px 16px}.np-field-group{padding:12px 12px 10px}.np-keywords-row .np-ai-btn.pill{padding-inline:14px}.np-two-col,.np-key-ds-row{grid-template-columns:1fr}.np-ds-col{padding:8px 10px 4px}.np-timeframe-row{grid-template-columns:1fr}.np-timeframe-row .MuiFormControl-root{width:100%}.MuiInputBase-input{font-size:.8rem}.np-keywords-row input::placeholder{font-size:.75rem}}@media (max-width: 480px){.new-project-page.compact-layout{padding:10px 14px 26px}.np-surface{padding:14px 16px 18px;border-radius:16px}.np-surface-inner{gap:20px}.np-summary-col{width:100%}.np-main-stack{gap:16px}.np-field-group{padding:14px 14px 12px;border-radius:14px}.np-group-head h3{font-size:.75rem}.np-keywords-row .np-ai-btn.pill{padding-inline:16px;font-size:.7rem}.np-summary{position:relative;top:auto}.np-summary{font-size:.7rem}.np-progress-label{font-size:.5rem}.np-quick-ranges .MuiChip-root{font-size:.55rem;height:20px}.np-key-ds-row{gap:18px}}@media (max-width: 380px){.new-project-page.compact-layout{padding:8px 10px 24px}.np-field-group{padding:12px 12px 10px}.np-keywords-row{gap:8px}.np-keywords-box{min-height:30px;padding:2px 4px}.np-keywords-box .MuiChip-root{height:22px}.np-actions-mobile button,.np-header-actions button{flex:1}}.np-keywords-box .MuiChip-root{font-size:.7rem;height:24px}.np-ai-btn[disabled]{position:relative}.np-ai-btn[disabled]:after{content:"";position:absolute;inset:-2px;border-radius:8px;background:linear-gradient(90deg,#6366f126,#10b98126);animation:npPulse 1.2s ease-in-out infinite}@keyframes npPulse{0%,to{opacity:.35}50%{opacity:.7}}.np-summary{display:flex;flex-direction:column;gap:6px;background:linear-gradient(145deg,#fff,#f2f6ff);border:1px solid #e2e8f0;border-radius:16px;padding:10px 14px 12px;font-size:.75rem;align-self:start;box-shadow:0 1px 1px #0000000a,0 2px 4px -2px #0000000f;position:relative}.np-summary:before{content:"";position:absolute;inset:0;border-radius:16px;padding:1px;background:linear-gradient(90deg,#6366f1,#10b981,#0ea5e9);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}.np-summary-header{display:flex;align-items:center;gap:4px;font-weight:600;font-size:.7rem;letter-spacing:.5px;text-transform:uppercase;opacity:.75}.np-summary-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.np-summary-list li{line-height:1.15rem}.np-muted{color:#94a3b8;font-style:italic}.np-progress-hints{display:flex;flex-direction:column;gap:2px;margin-top:4px}.np-hint{font-size:.65rem;color:#6366f1;background:#6366f114;padding:2px 6px;border-radius:4px;width:fit-content}.np-create-indicator{margin-top:6px;font-size:.65rem;font-weight:600;letter-spacing:.5px;padding:4px 8px;border-radius:4px;background:#10b981;color:#fff;box-shadow:0 0 0 1px #10b98166 inset}.np-create-indicator.disabled{background:#cbd5e1;color:#475569;box-shadow:none}.np-form-grid>*{animation:fadeSlide .35s ease}.profile-container{display:flex;justify-content:center;min-height:calc(100vh - 140px);padding-bottom:2rem}@media (min-width: 1440px){.profile-container{min-height:auto;padding-top:2rem;padding-bottom:4rem}}@media (min-width: 2560px){.profile-container{padding-top:4rem;padding-bottom:6rem}.profile-container .auth-container{max-width:600px!important}}.privacy-page{min-height:100vh;background-color:#fafbfc;padding:2rem 0}.privacy-container{max-width:800px;margin:0 auto;padding:0 2rem;background-color:#fff;border-radius:16px;box-shadow:0 4px 12px #0000000d;border:1px solid #e1e5e9}.privacy-header{text-align:center;padding:3rem 2rem 2rem;border-bottom:2px solid #f0f2f5;margin-bottom:2rem}.privacy-header h1{font-size:2.5rem;font-weight:700;color:#1a202c;margin:0 0 1rem;letter-spacing:-.5px}.last-updated{font-size:.95rem;color:#718096;font-style:italic;margin:0}.privacy-content{padding:0 2rem 3rem}.privacy-intro{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;border-radius:12px;margin-bottom:2.5rem;box-shadow:0 4px 14px #667eea33}.privacy-intro p{margin:0;font-size:1.1rem;line-height:1.6;font-weight:400}.privacy-section{margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.privacy-section:last-child{border-bottom:none;margin-bottom:0}.privacy-section h2{font-size:1.5rem;font-weight:600;color:#2d3748;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #4299e1;display:inline-block}.privacy-section h3{font-size:1.2rem;font-weight:600;color:#4a5568;margin:1rem 0 .75rem}.privacy-section p{font-size:1rem;line-height:1.7;color:#4a5568;margin:0 0 1rem}.privacy-section ul{margin:1rem 0;padding-left:1.5rem}.privacy-section li{font-size:1rem;line-height:1.6;color:#4a5568;margin-bottom:.5rem}.privacy-section li strong{color:#2d3748;font-weight:600}.privacy-highlight{background-color:#f7fafc;border:1px solid #e2e8f0;border-left:4px solid #4299e1;padding:1.5rem;border-radius:8px;margin:1.5rem 0}.privacy-highlight h3{margin-top:0;color:#2d3748}.privacy-emphasis{font-weight:600;color:#2d3748;background-color:#edf2f7;padding:.75rem 1rem;border-radius:6px;border-left:3px solid #4299e1}.contact-info{background-color:#f7fafc;padding:2rem;border-radius:12px;border:1px solid #e2e8f0}.contact-details{margin-top:1rem;padding:1.5rem;background-color:#fff;border-radius:8px;border:1px solid #e2e8f0}.contact-details h3{margin:0 0 1rem;color:#2d3748;font-size:1.3rem}.contact-details p{margin:.5rem 0;color:#4a5568}a{color:#4299e1;text-decoration:none;font-weight:500;transition:color .2s ease}a:hover{color:#3182ce;text-decoration:underline}@media (max-width: 768px){.privacy-page{padding:1rem 0}.privacy-container{margin:0 1rem;padding:0;border-radius:12px}.privacy-header{padding:2rem 1.5rem 1.5rem}.privacy-header h1{font-size:2rem;line-height:1.2}.last-updated{font-size:.9rem}.privacy-content{padding:0 1.5rem 2rem}.privacy-intro{padding:1.5rem;margin-bottom:2rem}.privacy-intro p{font-size:1rem}.privacy-section{margin-bottom:2rem}.privacy-section h2{font-size:1.3rem}.privacy-section h3{font-size:1.1rem}.privacy-section p,.privacy-section li{font-size:.95rem}.privacy-highlight{padding:1.25rem}.contact-info{padding:1.5rem}.contact-details{padding:1.25rem}.contact-details h3{font-size:1.2rem}}@media (max-width: 480px){.privacy-container{margin:0 .75rem}.privacy-header{padding:1.5rem 1rem 1.25rem}.privacy-header h1{font-size:1.75rem}.privacy-content{padding:0 1rem 1.5rem}.privacy-intro{padding:1.25rem;margin-bottom:1.5rem}.privacy-intro p{font-size:.95rem}.privacy-section{margin-bottom:1.5rem}.privacy-section h2{font-size:1.2rem}.privacy-section p,.privacy-section li{font-size:.9rem}.privacy-highlight{padding:1rem}.contact-info{padding:1.25rem}.contact-details{padding:1rem}}@media (max-width: 360px){.privacy-header h1{font-size:1.6rem}.privacy-section h2{font-size:1.15rem}.privacy-section p,.privacy-section li{font-size:.85rem}}.header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:0 2rem}.header-container{display:flex;justify-content:space-between;align-items:center;height:64px;max-width:1200px;margin:0 auto}.header-logo{font-weight:700;color:#333;text-decoration:none}.logo-container{display:flex;flex-direction:column}.main-logo{font-size:1.5rem;font-weight:700;line-height:1}.sub-logo{font-size:.9rem;color:#6c757d}nav{display:flex;align-items:center}.header-link{margin-left:1.5rem;color:#555;text-decoration:none;white-space:nowrap}.header-avatar{width:36px;height:36px;border-radius:50%;cursor:pointer;border:none;display:flex;align-items:center;justify-content:center;margin-left:1.5rem;transition:background-color .18s ease}.header-avatar,.header-avatar:focus,.header-avatar:focus-visible,.header-avatar:active{outline:none!important;box-shadow:none!important;border:none!important;-webkit-box-shadow:none!important;-moz-outline:none!important}.header-avatar:hover{background:#f2f4f7}.user-dropdown-container{position:relative;margin-left:1rem}.user-avatar-container{cursor:pointer;position:relative}.user-dropdown{position:absolute;top:45px;right:0;background-color:#fff;box-shadow:0 4px 12px #0000001a;border-radius:4px;width:220px;z-index:1000}.user-info{padding:10px 15px}.user-name{font-weight:700;margin:0 0 3px;color:#333}.user-email{margin:0;font-size:.8rem;color:#666}.dropdown-divider{height:1px;background-color:#e0e0e0;margin:5px 0}.dropdown-item{display:block;padding:10px 15px;color:#333;text-decoration:none;transition:background-color .2s}.dropdown-item:hover{background-color:#f5f5f5}.logout-button{width:100%;text-align:left;background:none;border:none;font-size:1rem;cursor:pointer;color:#d32f2f}.auth-links{display:flex;gap:15px}@media (max-width: 600px){.header{padding:0 1rem}.header-container{height:58px}.main-logo{font-size:1.25rem}.sub-logo{font-size:.65rem}nav{gap:.5rem}.header-link{margin-left:.75rem;font-size:.8rem}.header-avatar{width:32px;height:32px;margin-left:.5rem}}@media (max-width: 400px){.header-container{flex-wrap:nowrap;padding-top:4px;padding-bottom:4px;height:56px}nav{order:2;width:auto;justify-content:flex-end;flex-wrap:nowrap}.header-link{margin:0 .6rem 0 0}.user-dropdown-container{margin-left:.4rem}}@media (max-width: 425px){.header{padding:0 .75rem}.header-container{height:56px}.header-link{font-size:.8rem}.header-avatar{margin-left:.35rem;background:transparent}.user-dropdown.simple{position:absolute;top:100%;right:0;margin-top:6px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 8px 28px -6px #0000002e,0 2px 6px #00000014;padding:6px 4px;display:flex;flex-direction:column;min-width:170px;animation:fadeSlide .25s ease}.user-dropdown.simple .dropdown-item{background:none;border:none;text-align:left;width:100%;font-size:.8rem;padding:.55rem .9rem;border-radius:8px;cursor:pointer}.user-dropdown.simple .dropdown-item:hover{background:#f1f5f9}.user-avatar-btn{background:none;border:none;padding:0;cursor:pointer;display:inline-flex}.user-avatar-btn,.user-avatar-btn:focus,.user-avatar-btn:focus-visible,.user-avatar-btn:active{outline:none!important;box-shadow:none!important;-moz-outline:none!important;background:transparent!important;appearance:none;-webkit-appearance:none;border:none}.user-avatar-btn::-moz-focus-inner{border:0!important}.user-avatar-btn{-webkit-tap-highlight-color:transparent}.user-avatar-btn:focus,.user-avatar-btn:focus-visible{outline:none;box-shadow:none}.header-avatar:focus-visible{outline:2px solid transparent!important}.dropdown-divider{margin:4px 0}}.user-avatar-btn:focus,.user-avatar-btn:focus-visible{outline:none;box-shadow:none}@keyframes fadeSlide{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.footer{background-color:#f8f9fa;border-top:1px solid #e0e0e0;padding:1.5rem 2rem;text-align:center;color:#6c757d}.footer-container{max-width:1200px;margin:0 auto}.footer-content{display:flex;flex-direction:column;align-items:center;gap:.75rem}.footer-content p{margin:0;font-size:.9rem}.footer-links{display:flex;gap:1.5rem}.footer-link{color:#6c757d;text-decoration:none;font-size:.85rem;font-weight:500;transition:color .2s ease}.footer-link:hover{color:#495057;text-decoration:underline}@media (max-width: 768px){.footer{padding:1.25rem 1rem}.footer-content{gap:.5rem}.footer-content p{font-size:.8rem;text-align:center}.footer-link{font-size:.8rem}.university-name{display:block;margin-top:.25rem}}@media (max-width: 480px){.footer{padding:1rem .75rem}.footer-content p,.footer-link{font-size:.75rem}}#root{width:100%;margin:0;padding:0;text-align:left}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.App{display:flex;flex-direction:column;min-height:100vh;background-color:#f8fafc}.main-content{flex:1;padding:0;background-color:#f8fafc}:root{--page-pad-top: .875rem;--page-pad-x: 2rem;--page-pad-bottom: 1.75rem;--card-pad-top: 2rem;--card-pad-x: 2rem;--card-pad-bottom: 2rem;--card-radius: 1rem;--between-card-gap: 2rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#007bff;text-decoration:inherit}a:hover{color:#0056b3}body{margin:0;min-width:320px;min-height:100vh;background-color:#f8fafc}.content-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:var(--card-pad-top) var(--card-pad-x) var(--card-pad-bottom);box-shadow:0 4px 24px -6px #0000000f,0 2px 4px #0000000a}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#007bff;color:#fff;cursor:pointer;transition:all .25s}button:hover{background-color:#0056b3}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (max-width: 480px){:root{--page-pad-x: 1rem;--card-pad-x: 1.1rem;--card-pad-top: 1.25rem;--card-pad-bottom: 1.35rem;--between-card-gap: 1.25rem}h1{font-size:2rem}.content-card{padding:var(--card-pad-top) var(--card-pad-x) var(--card-pad-bottom)}}@media (max-width: 360px){:root{--page-pad-x: .75rem}h1{font-size:1.75rem}}
