.unverified-banner{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 140px);text-align:center;padding:2rem 1.5rem;box-sizing:border-box}.unverified-banner__title{max-width:700px;line-height:1.25;margin:0}.unverified-banner__error,.unverified-banner__status-wrap{margin-top:.75rem}.unverified-banner__chip{font-size:.75rem;letter-spacing:.5px;text-transform:uppercase}.unverified-banner__subtitle{max-width:640px;margin-top:1.25rem}.unverified-banner__actions{margin-top:1.5rem;width:100%;max-width:420px}.unverified-banner__resend-btn{width:100%}.unverified-banner__resend-msg{margin-top:.75rem}.hero-visualization{display:flex;align-items:center;justify-content:center;width:100%;max-height:36vh;overflow:hidden}.network-graph{width:100%;max-width:100%;max-height:36vh;height:auto;filter:drop-shadow(0 4px 20px rgba(33,150,243,.15))}@media (max-width: 1024px) and (min-width: 768px){.hero-visualization,.network-graph{max-height:30vh}}@media (max-width: 767px){.hero-visualization{display:none}}.homepage{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}@media (max-width: 767px){.homepage{overflow-y:auto;overflow-x:hidden}}.hero-section{flex:none;height:40vh;position:relative;background:linear-gradient(to right,#e3f2fd,#bbdefb,#90caf9 70%,#64b5f6);display:flex;align-items:center;overflow:hidden;box-sizing:border-box;max-width:100%}.auth-page{height:100%;overflow:hidden;display:flex;flex-direction:column}.auth-page .hero-section{flex:1;height:auto;padding:0;justify-content:center}.auth-page .hero-container{flex:1;width:min(1600px,92%);padding:0 clamp(1.5rem,5vw,8rem);box-sizing:border-box}.hero-container{width:min(1800px,92%);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,3vw,6rem);align-items:center}.hero-content{position:relative;z-index:1;text-align:left}.hero-title{font-size:clamp(1.2rem,min(4vh,7vw),6rem);font-weight:700;color:#1e293b;margin:0 0 clamp(.25rem,.8vh,1.2rem);line-height:1.12;letter-spacing:-.02em;word-break:break-word;overflow-wrap:break-word}.hero-subtitle{font-size:clamp(.75rem,min(1.8vh,4vw),2rem);color:#475569;margin:0 0 clamp(.5rem,1.5vh,2rem);line-height:1.55;max-width:min(600px,100%)}.hero-buttons{display:flex;gap:clamp(.4rem,1vw,1.2rem);flex-wrap:wrap}.hero-button{padding:clamp(.35rem,.9vh,1.1rem) clamp(.8rem,1.8vw,2.5rem);border-radius:8px;text-decoration:none;font-weight:600;font-size:clamp(.72rem,1.5vh,1.6rem);transition:all .3s ease;text-align:center;display:inline-block;white-space:nowrap}.hero-button.primary{background-color:#2563eb;color:#fff;border:2px solid #2563eb}.hero-button.primary:hover{background-color:#1d4ed8;border-color:#1d4ed8;transform:translateY(-2px);box-shadow:0 6px 20px #2563eb66}.hero-button.secondary{background-color:#fff;color:#2563eb;border:2px solid #2563eb}.hero-button.secondary:hover{background-color:#f1f5f9;transform:translateY(-2px);box-shadow:0 6px 20px #2563eb33}@media (max-width: 767px){.hero-section{flex:none;height:auto;min-height:unset;padding:clamp(1.25rem,5vw,2rem) 0;overflow-x:hidden}.hero-container{grid-template-columns:1fr;width:100%;max-width:100%;padding:0 1.25rem;box-sizing:border-box;overflow-x:hidden}.hero-content{text-align:center;max-width:100%;overflow-x:hidden}.hero-title{font-size:clamp(1.4rem,6vw,2.2rem);word-break:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.hero-subtitle{font-size:clamp(.85rem,3.8vw,1.05rem);margin-left:auto;margin-right:auto}.hero-buttons{flex-direction:column;width:100%;align-items:stretch}.hero-button{width:100%;box-sizing:border-box;font-size:clamp(.85rem,3.5vw,1rem);padding:.75rem 1rem;text-align:center}}.features-section{flex:1;min-height:0;width:min(1800px,92%);margin:0 auto;padding:clamp(.6rem,2vh,3.5rem) 0 clamp(.4rem,1.5vh,2.5rem);display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(.5rem,1.5vw,2.5rem);align-content:start;overflow:hidden}.feature-card{background:#fff;padding:clamp(.75rem,1.5vh,2.5rem) clamp(.75rem,1.5vw,2.5rem);border-radius:16px;box-shadow:0 2px 12px #00000014;border:1px solid #e2e8f0;transition:transform .3s ease,box-shadow .3s ease;text-align:left;overflow:hidden}.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.feature-icon{width:clamp(32px,4.5vh,72px);height:clamp(32px,4.5vh,72px);background:#eff6ff;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:clamp(.3rem,.8vh,1rem);color:#2563eb;flex-shrink:0}.feature-icon svg{width:clamp(18px,2.5vh,40px);height:clamp(18px,2.5vh,40px)}.feature-card h3{color:#1e293b;margin:0 0 clamp(.2rem,.6vh,.75rem);font-size:clamp(.9rem,2.5vh,3.5rem);font-weight:700;line-height:1.15}.feature-card p{color:#64748b;margin:0;line-height:1.5;font-size:clamp(.72rem,1.8vh,2.6rem)}@media (max-width: 767px){.features-section{flex:none;grid-template-columns:1fr;width:100%;padding:clamp(.75rem,3vw,1.25rem) 6%;box-sizing:border-box;margin:0;overflow:visible;align-content:start}.feature-card p{font-size:clamp(.82rem,3.5vw,1rem);overflow:visible}}.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-error{background-color:#fef2f2;color:#991b1b;padding:.62rem .9rem;border-radius:8px;font-size:.85rem;margin-bottom:.75rem;text-align:left}.auth-success{background-color:#f0fdf4;color:#166534;padding:.62rem .9rem;border-radius:8px;font-size:.85rem}.auth-info{background-color:#eff6ff;color:#1e40af;padding:.56rem .85rem;border-radius:8px;font-size:.83rem;display:inline-block}.auth-warning{background-color:#fffbeb;color:#92400e;padding:.62rem .9rem;border-radius:8px;font-size:.85rem;margin-bottom:.75rem;text-align:left}.auth-switch-link{color:#2563eb;text-decoration:none;font-weight:500;transition:color .2s}.auth-switch-link:hover{color:#1d4ed8;text-decoration:underline}.auth-resend-btn{background:linear-gradient(90deg,#2563eb,#1d4ed8);border:none;color:#fff;padding:.75rem 1rem;border-radius:8px;font-weight:600;font-size:.85rem;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)}.status-chip{display:inline-flex;align-items:center;padding:.22em .75em;border-radius:999px;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;line-height:1.5}.status-completed{background:#dcfce7;color:#166534}.status-processing{background:#dbeafe;color:#1e40af}.spinner{width:32px;height:32px;border:4px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:spin .9s linear infinite;margin:0 auto}.dot-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2563eb;box-shadow:0 0 #2563ebb3;margin-right:6px;animation:pulse 1.5s infinite;vertical-align:middle}@keyframes pulse{0%{box-shadow:0 0 #2563ebb3}70%{box-shadow:0 0 0 10px #2563eb00}to{box-shadow:0 0 #2563eb00}}.auth-container{background:#fff;border-radius:16px;box-shadow:0 2px 12px #00000014;border:1px solid #e2e8f0;padding:1.5rem;width:100%;max-width:460px}.auth-container h2{color:#1e293b;font-size:1.25rem;font-weight:700;margin:0 0 .75rem;text-align:center}.auth-container>p{margin:.4rem 0 0;font-size:.85rem;color:#475569}.auth-hero-card{display:flex;align-items:center;justify-content:center;height:100%}.auth-hero-card .auth-container{width:100%;max-width:clamp(280px,26vw,600px);padding:clamp(1.2rem,2.5vh,4.5rem) clamp(1.2rem,2.5vh,4.5rem);background:#fffffff7;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.4);border-radius:clamp(14px,1.8vh,28px);box-shadow:0 8px 32px #0000001a,0 2px 16px #2196f31f;transition:transform .4s cubic-bezier(.4,0,.2,1),box-shadow .4s cubic-bezier(.4,0,.2,1)}.auth-hero-card .auth-container:hover{transform:translateY(-6px);box-shadow:0 20px 48px #00000021,0 4px 24px #2196f333}.auth-hero-card .auth-container h2{color:#1e293b;font-weight:700;line-height:1.15;text-align:center;margin:0 0 clamp(.5rem,1.5vh,2.5rem);font-size:clamp(1rem,3vh,5rem);background:linear-gradient(135deg,#1e293b,#2563eb);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.auth-hero-card .auth-form{display:flex;flex-direction:column;gap:clamp(.5rem,1.2vh,2rem)}.auth-hero-card .auth-form input{width:100%;box-sizing:border-box;background:#f8fafcd9;border:1.5px solid #e2e8f0;border-radius:clamp(8px,1vh,16px);padding:clamp(.5rem,1.2vh,1.8rem) clamp(.6rem,1.4vw,2rem);font-size:clamp(.78rem,1.8vh,2.2rem);color:#1e293b;transition:border-color .25s,box-shadow .25s,background .25s}.auth-hero-card .auth-form input:focus{outline:none;background:#fffffff2;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.auth-hero-card .auth-form input::placeholder{color:#94a3b8}.auth-hero-card .auth-submit,.auth-hero-card .auth-form button[type=submit]{width:100%;padding:clamp(.55rem,1.3vh,2rem) clamp(.8rem,1.5vw,2rem);font-size:clamp(.78rem,1.8vh,2.2rem);font-weight:600;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:clamp(8px,1vh,16px);cursor:pointer;transition:background .25s,transform .25s,box-shadow .25s;box-shadow:0 4px 14px #2563eb4d}.auth-hero-card .auth-submit:hover,.auth-hero-card .auth-form button[type=submit]:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-2px);box-shadow:0 6px 22px #2563eb61}.auth-hero-card .auth-submit:disabled,.auth-hero-card .auth-form button[type=submit]:disabled{opacity:.65;cursor:not-allowed;transform:none}.auth-hero-card .auth-container>p,.auth-hero-card .auth-container .auth-body-text{margin:clamp(.3rem,.8vh,1.2rem) 0 0;font-size:clamp(.72rem,1.5vh,1.8rem);color:#475569;line-height:1.5;text-align:center}.auth-hero-card .auth-link,.auth-hero-card .auth-switch-link{color:#2563eb;font-size:clamp(.72rem,1.5vh,1.8rem);font-weight:500;text-decoration:none;transition:color .2s}.auth-hero-card .auth-link:hover,.auth-hero-card .auth-switch-link:hover{color:#1d4ed8;text-decoration:underline}.auth-hero-card .auth-error,.auth-hero-card .auth-success,.auth-hero-card .auth-info{font-size:clamp(.72rem,1.5vh,1.6rem);padding:clamp(.4rem,.9vh,1.4rem) clamp(.6rem,1.2vw,1.8rem);border-radius:clamp(6px,.7vh,12px);margin-bottom:clamp(.3rem,.8vh,1.2rem)}.auth-hero-card .auth-resend-btn{width:100%;font-size:clamp(.78rem,1.8vh,2.2rem);padding:clamp(.55rem,1.3vh,2rem);border-radius:clamp(8px,1vh,16px)}.auth-hero-card .auth-status-wrap{margin:clamp(.4rem,1vh,1.5rem) 0;display:flex;justify-content:center}.auth-hero-card .auth-resend-wrap{margin:clamp(.5rem,1.2vh,2rem) 0 0;display:flex;flex-direction:column;gap:clamp(.3rem,.7vh,1rem)}.auth-hero-card .auth-verify-btn{width:100%;font-size:clamp(.78rem,1.8vh,2.2rem);padding:clamp(.55rem,1.3vh,2rem);font-weight:600;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:clamp(8px,1vh,16px);cursor:pointer;transition:background .25s,transform .25s,box-shadow .25s;box-shadow:0 4px 14px #2563eb4d;margin-bottom:clamp(.4rem,1vh,1.5rem)}.auth-hero-card .auth-verify-btn:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-2px)}.auth-hero-card .auth-verify-btn:disabled{opacity:.65;cursor:not-allowed;transform:none}.auth-hero-card .auth-loading{display:flex;flex-direction:column;align-items:center;gap:clamp(.5rem,1.2vh,2rem);padding:clamp(.5rem,1.5vh,2rem) 0}.auth-hero-card .auth-loading p{font-size:clamp(.78rem,1.8vh,2rem);color:#475569;margin:0}@media (max-width: 767px){.auth-hero-card{justify-content:center;padding:0 6%;box-sizing:border-box}.auth-hero-card .auth-container{max-width:100%}}.narrative-analysis-container{padding:2rem 0;width:100%}.results-stats-bar{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.results-stat-item{display:flex;flex-direction:column;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.6rem 1rem;min-width:90px;gap:.15rem}.results-stat-item.results-stat-highlight{background:#eff6ff;border-color:#bfdbfe}.results-stat-value{font-size:1.4rem;font-weight:700;color:#1e293b;line-height:1.1}.results-stat-item.results-stat-highlight .results-stat-value{color:#2563eb}.results-stat-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;text-align:center}.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}}@media (min-width:2560px){.narrative-analysis-container{padding:0 0 4rem;max-width:2400px;margin:0 auto}.narrative-analysis-title{font-size:3.5rem;margin:0 0 2rem}.narrative-meta-bar{font-size:1.3rem;gap:1.5rem;margin:0 0 2.5rem}.count-pill{padding:.6rem 1.2rem;font-size:1.1rem}.range-text{font-size:1.2rem}.narratives-list{gap:2.5rem}.narrative-item{padding:2.5rem 3rem;border-radius:24px;gap:2.5rem;border-width:2px}.narrative-header{gap:2rem;margin-bottom:1.8rem}.narrative-index-badge{width:80px;height:80px;font-size:1.6rem;border-radius:20px;box-shadow:0 6px 16px -4px #2563eb73}.narrative-content{gap:1.8rem}.narrative-name{font-size:2.2rem;line-height:1.4}.narrative-tags{gap:1.2rem;margin-bottom:1.2rem}.chip{font-size:1.2rem;padding:.7rem 1.3rem;border-radius:999px}.narrative-summary-text{font-size:1.6rem;line-height:1.7}.pagination{margin-top:4rem;gap:1.2rem}.pagination-arrow,.pagination-number{width:65px;height:65px;font-size:1.4rem;border-radius:14px;border-width:2px}}.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:row;align-items:center;flex-wrap:wrap;gap:.625rem;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}.data-acquisition-mobile .status-badge:before{display:none!important}.status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;box-shadow:none;border:none;aspect-ratio:1;position:relative}.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-initializing,.status-badge.status-queued{background:#3b82f61a;color:#3b82f6;border:1px solid rgba(59,130,246,.2)}.status-badge.status-initializing .status-dot,.status-badge.status-queued .status-dot{background:#3b82f6;animation:pulse-dot 2s infinite}.status-badge.status-planning{background:#6366f11a;color:#6366f1;border:1px solid rgba(99,102,241,.2)}.status-badge.status-planning .status-dot{background:#6366f1;animation:pulse-dot 2s infinite}.status-badge.status-discovering{background:#f59e0b1a;color:#d97706;border:1px solid rgba(245,158,11,.2)}.status-badge.status-discovering .status-dot{background:#d97706;animation:pulse-dot 2s infinite}.status-badge.status-ingesting{background:#ec48991a;color:#ec4899;border:1px solid rgba(236,72,153,.2)}.status-badge.status-ingesting .status-dot{background:#ec4899;animation:pulse-dot 2s infinite}.status-badge.status-analyzing{background:#a855f71a;color:#a855f7;border:1px solid rgba(168,85,247,.2)}.status-badge.status-analyzing .status-dot{background:#a855f7;animation:pulse-dot 2s infinite}.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;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:4.5em}.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:54%;left:54%;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;flex:1;display:flex;flex-direction:column}.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;transform:scale(1)}50%{opacity:.6;transform:scale(.95)}}@media (min-width: 640px) and (max-width: 899px){.data-acquisition-mobile{padding:1.5rem;gap:1.5rem}.mobile-project-header{padding:1.5rem}.project-name{font-size:1.5rem}.project-header-content{flex-direction:row;justify-content:space-between;align-items:center}.project-details{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.detail-grid{grid-template-columns:1fr}}@media (min-width: 900px){.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));align-items:stretch}}@media (min-width: 900px){.data-acquisition-mobile{max-width:clamp(1200px,100%,2600px);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}}@media (min-width: 1024px){.data-acquisition-mobile{width:100%;height:100%;min-height:0;padding:1.25rem 2.5rem;gap:1.25rem;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;grid-template-columns:1fr}.mobile-project-header{padding:1rem 1.75rem;border-radius:14px;grid-row:1;flex-shrink:0}.project-header-content{margin-bottom:.5rem}.project-name{font-size:1.5rem}.project-description{font-size:.85rem;-webkit-line-clamp:2;line-clamp:2;max-height:2.55em}.pipeline-progress-section{padding:1.25rem 2rem;border-radius:16px;grid-row:2;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;overflow:hidden}.stage-message{margin-bottom:.875rem;padding-bottom:.625rem;flex-shrink:0}.stage-title{font-size:1.4rem}.stage-subtitle{font-size:.95rem}.pipeline-steps{padding:.625rem 0;justify-content:center;max-width:100%;flex-shrink:0}.pipeline-step .step-indicator{width:46px;height:46px;min-width:46px;min-height:46px;font-size:.75rem}.step-connector{width:45px;height:2px;margin-top:23px}.step-label{font-size:.75rem}.step-stat{font-size:.65rem}.check-icon,.step-spinner{width:16px;height:16px}.live-stats{margin-top:.875rem;padding-top:.875rem;gap:1rem;justify-content:center;flex-shrink:0}.stat-item{min-width:90px;padding:.625rem 1rem;border-radius:10px}.stat-value{font-size:1.4rem}.stat-label{font-size:.7rem}.stat-icon{font-size:1.1rem}.project-details{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;grid-row:3;flex-shrink:0}.detail-card{padding:.875rem 1.25rem;border-radius:12px}.card-title{font-size:.9rem;margin:0 0 .625rem;font-weight:700}.detail-label{font-size:.7rem}.detail-value{font-size:.85rem}.range-date{font-size:.75rem;padding:.35rem .6rem}.tag{font-size:.75rem;padding:.3rem .6rem}}@media (min-width: 1440px){.data-acquisition-mobile{padding:2rem 4rem;gap:1.75rem}.mobile-project-header{padding:1.5rem 2.5rem;border-radius:18px}.project-name{font-size:1.9rem}.project-description{font-size:1.05rem}.pipeline-progress-section{padding:2rem 3.5rem;border-radius:20px}.stage-title{font-size:1.75rem}.stage-subtitle{font-size:1.1rem}.pipeline-step .step-indicator{width:58px;height:58px;min-width:58px;min-height:58px;font-size:.9rem}.step-connector{width:65px;height:3px;margin-top:29px}.step-label{font-size:.9rem}.step-stat{font-size:.75rem}.check-icon,.step-spinner{width:22px;height:22px}.live-stats{gap:1.5rem}.stat-item{min-width:115px;padding:.875rem 1.5rem;border-radius:14px}.stat-value{font-size:1.9rem}.stat-label{font-size:.8rem}.stat-icon{font-size:1.35rem}.project-details{gap:1.5rem}.detail-card{padding:1.25rem 2rem;border-radius:16px}.card-title{font-size:1.1rem;margin:0 0 1rem}.detail-label{font-size:.8rem}.detail-value{font-size:1rem}.range-date{font-size:.9rem;padding:.5rem .8rem}.tag{font-size:.9rem;padding:.4rem .8rem}}@media (min-width: 2560px){.data-acquisition-mobile{padding:2.5rem 4rem;gap:2rem}.mobile-project-header{padding:1.75rem 2.5rem;border-radius:18px}.project-name{font-size:2.4rem}.project-description{font-size:1.2rem}.live-indicator{font-size:.8rem;padding:.4rem .8rem}.live-dot{width:8px;height:8px}.pipeline-progress-section{padding:2rem 3rem;border-radius:20px}.stage-message{margin-bottom:1.25rem;padding-bottom:.875rem}.stage-title{font-size:2rem}.stage-subtitle{font-size:1.25rem}.pipeline-steps{padding:1rem 0}.pipeline-step .step-indicator{width:70px;height:70px;min-width:70px;min-height:70px;font-size:1.1rem;border-width:3px}.step-connector{width:85px;height:3px;margin-top:35px}.step-label{font-size:.95rem;margin-top:.375rem}.step-stat{font-size:.8rem;margin-top:.25rem}.check-icon{width:28px;height:28px;stroke-width:3}.step-spinner{width:28px;height:28px;border-width:3px}.live-stats{gap:1.75rem;margin-top:1.25rem;padding-top:1.25rem}.stat-item{min-width:140px;padding:1rem 1.75rem;border-radius:14px;border-width:2px}.stat-value{font-size:2.4rem;font-weight:800}.stat-label{font-size:.85rem;letter-spacing:.5px}.stat-icon{font-size:1.5rem}.project-details{gap:1.75rem}.detail-card{padding:1.75rem 2.25rem;border-radius:18px}.card-title{font-size:1.3rem;margin:0 0 1rem;font-weight:700}.detail-grid{gap:.875rem}.detail-label{font-size:.8rem;letter-spacing:.4px}.detail-value{font-size:1rem;font-weight:600}.range-date{font-size:.95rem;padding:.5rem .8rem;border-radius:8px}.range-arrow{font-size:.85rem}.tag{font-size:.85rem;padding:.4rem .8rem;border-radius:10px;border-width:1px}.tag-list{gap:.7rem}}.pipeline-progress-section{background:#fff;border-radius:16px;padding:1.5rem 1.25rem;box-shadow:0 2px 8px #0000000a;border:1px solid #e5e7eb;overflow:visible;display:flex;flex-direction:column;align-items:center}.stage-message{text-align:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #f3f4f6}.live-indicator{display:inline-flex;align-items:center;gap:.35rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#16a34a;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;padding:.2rem .6rem;flex-shrink:0}.live-dot{width:7px;height:7px;background:#22c55e;border-radius:50%;animation:livePulse 1.4s ease-in-out infinite}@keyframes livePulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.75)}}.stage-title{font-size:1.25rem;font-weight:700;color:#1f2937;margin:0 0 .375rem;animation:fadeIn .3s ease-out}.stage-subtitle{font-size:.9rem;color:#6b7280;margin:0;animation:fadeIn .3s ease-out .1s both}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.pipeline-hint{text-align:center;font-size:.85rem;color:#6b7280;margin:1rem 0 0;font-style:italic}.live-stats{display:flex;justify-content:center;gap:.75rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid #f3f4f6;flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem 1rem;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb;min-width:70px;transition:all .3s ease;opacity:.5}.stat-item.active{opacity:1;background:linear-gradient(135deg,#3b82f60d,#10b9810d);border-color:#3b82f633}.stat-icon{font-size:1.25rem}.stat-value{font-size:1.5rem;font-weight:700;color:#1f2937;line-height:1}.stat-item.active .stat-value{color:#2563eb}.stat-label{font-size:.7rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.step-stat{font-size:.65rem;color:#10b981;font-weight:600;margin-top:.25rem;white-space:nowrap}.pipeline-steps{display:flex;align-items:center;justify-content:center;gap:.25rem;padding:.75rem 1rem;flex-shrink:0;flex-wrap:nowrap;overflow:visible;width:100%;max-width:100%;box-sizing:border-box}.pipeline-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex-shrink:0}.pipeline-step .step-indicator{width:36px;height:36px;min-width:36px;min-height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;transition:all .3s ease;flex-shrink:0;box-sizing:border-box;aspect-ratio:1}.pipeline-step.pending .step-indicator{background:#f3f4f6;color:#9ca3af;border:2px solid #e5e7eb}.pipeline-step.active .step-indicator{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:2px solid #3b82f6;outline:4px solid rgba(59,130,246,.2);outline-offset:1px}.pipeline-step.completed .step-indicator{background:#10b981;color:#fff;border:2px solid #10b981}.step-number{font-size:.75rem}.check-icon{width:16px;height:16px}.step-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.step-label{font-size:.7rem;font-weight:500;color:#6b7280;text-align:center;white-space:nowrap}.pipeline-step.active .step-label{color:#3b82f6;font-weight:600}.pipeline-step.completed .step-label{color:#10b981}.step-connector{width:20px;height:2px;background:#e5e7eb;flex-shrink:0;align-self:flex-start;margin-top:18px;transition:background .3s ease}.step-connector.active{background:#10b981}@media (max-width: 899px){.pipeline-progress-section{padding:1rem .75rem}.stage-title{font-size:1.1rem}.stage-subtitle{font-size:.85rem}.stage-message{padding-bottom:.75rem}.desktop-only{display:none!important}.mobile-progress-wrapper{display:flex;flex-direction:column;gap:.75rem}.mobile-progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden;position:relative}.mobile-progress-fill{height:100%;background:linear-gradient(90deg,#10b981,#3b82f6);border-radius:999px;transition:width .5s ease-out;position:relative}.mobile-progress-fill:after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:12px;height:12px;background:#3b82f6;border-radius:50%;box-shadow:0 2px 8px #3b82f666}.mobile-progress-text{text-align:center;font-size:.85rem;font-weight:600;color:#3b82f6}}@media (min-width: 900px){.mobile-progress-wrapper{display:none}}@media (min-width: 900px){.pipeline-step{flex-shrink:0}.pipeline-step .step-indicator{width:44px;height:44px;min-width:44px;min-height:44px;aspect-ratio:1}.step-connector{margin-top:22px;width:30px}.step-label{font-size:.8rem}.stage-title{font-size:1.4rem}.stage-subtitle{font-size:1rem}.stat-item{min-width:80px;padding:.875rem 1.25rem}.stat-value{font-size:1.75rem}.stat-label{font-size:.75rem}}@media (min-width: 900px) and (max-width: 1023px){.pipeline-steps{gap:.5rem}.pipeline-step{flex-shrink:0}.pipeline-step .step-indicator{width:52px;height:52px;min-width:52px;min-height:52px;aspect-ratio:1}.step-connector{margin-top:26px;width:40px}.step-label{font-size:.875rem}.step-connector{width:60px}.stage-title{font-size:1.5rem}.live-stats{gap:1rem}.stat-item{min-width:90px;padding:1rem 1.5rem}.stat-value{font-size:2rem}}@media (min-width: 1024px){.data-acquisition-mobile{height:100%;min-height:0;overflow:hidden;padding:1.1rem 2.25rem;gap:1rem}.mobile-project-header{padding:.9rem 1.4rem;border-radius:14px}.project-name{font-size:1.45rem}.project-description{font-size:.84rem;-webkit-line-clamp:2;line-clamp:2;max-height:2.5em}.pipeline-progress-section{min-height:0;overflow:hidden;padding:1.15rem 1.9rem}.stage-message{margin-bottom:.75rem;padding-bottom:.55rem}.stage-title{font-size:1.35rem}.stage-subtitle{font-size:.92rem}.pipeline-step .step-indicator{width:44px;height:44px;min-width:44px;min-height:44px}.step-connector{width:44px;margin-top:22px}.step-label{font-size:.75rem}.live-stats{margin-top:.75rem;padding-top:.75rem;gap:.9rem}.stat-item{min-width:86px;padding:.55rem .95rem}.stat-value{font-size:1.35rem}.stat-label{font-size:.68rem}.project-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}.detail-card{padding:.85rem 1.1rem}.card-title{font-size:.9rem;margin-bottom:.55rem}.detail-label{font-size:.68rem}.detail-value{font-size:.84rem}.range-date{font-size:.74rem;padding:.3rem .58rem}.tag{font-size:.74rem;padding:.28rem .55rem}}@media (min-width: 1440px){.data-acquisition-mobile{padding:1.35rem 2.8rem;gap:1.2rem}.project-name{font-size:1.75rem}.pipeline-progress-section{padding:1.4rem 2.3rem}.stage-title{font-size:1.6rem}.stage-subtitle{font-size:1rem}.pipeline-step .step-indicator{width:52px;height:52px;min-width:52px;min-height:52px}.step-connector{width:56px;margin-top:26px}.step-label{font-size:.84rem}.stat-item{min-width:102px;padding:.7rem 1.2rem}.stat-value{font-size:1.7rem}.detail-card{padding:1.05rem 1.35rem}.card-title{font-size:.98rem}.detail-value{font-size:.9rem}}@media (min-width: 2560px){.data-acquisition-mobile{width:100%;max-width:100%;margin:0;padding:2.4rem 3.5rem;gap:2rem}.mobile-project-header{padding:1.75rem 2.6rem}.project-name{font-size:2.85rem}.project-description{font-size:1.3rem}.pipeline-progress-section{padding:2.5rem 3.8rem;border-radius:22px}.stage-title{font-size:2.75rem}.stage-subtitle{font-size:1.6rem}.pipeline-step .step-indicator{width:88px;height:88px;min-width:88px;min-height:88px;font-size:1.25rem}.step-connector{width:104px;height:4px;margin-top:44px}.step-label{font-size:1.15rem}.live-stats{gap:1.9rem;margin-top:1.4rem;padding-top:1.4rem}.stat-item{min-width:168px;padding:1.2rem 1.9rem;border-radius:16px}.stat-value{font-size:3rem}.stat-label{font-size:1.05rem}.project-details{gap:1.8rem}.detail-card{padding:1.8rem 2.3rem;border-radius:18px}.card-title{font-size:1.5rem}.detail-label{font-size:.92rem}.detail-value{font-size:1.2rem}.range-date{font-size:1.05rem;padding:.58rem .95rem}.tag{font-size:1rem;padding:.5rem .9rem}}.page-layout{max-width:clamp(1200px,90vw,2800px);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}}@media (min-width: 1600px){.page-layout{max-width:100%;padding-left:2.5vw;padding-right:2.5vw}.back-link{font-size:1.2vw}}@media (min-width: 1024px){.page-layout{height:100vh;max-height:100vh;overflow:hidden;display:flex;flex-direction:column}.page-header{flex-shrink:0}.page-content{flex:1;min-height:0;overflow:hidden}.page-layout.page-layout--page-scroll{height:auto;max-height:none;overflow:visible}.page-layout.page-layout--page-scroll .page-content{flex:initial;min-height:auto;overflow:visible}}.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}@media (min-width: 1024px){.project-page{max-width:100%;min-height:0;height:100%;overflow:hidden}}.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-content.is-failed{display:flex;align-items:center;justify-content:center;padding:1rem 0}.project-error{background:#fff;border:1px solid #fecaca;border-radius:16px;padding:clamp(1.25rem,2.5vw,2rem) clamp(1.25rem,3vw,2rem);margin:auto;max-width:680px;width:100%;box-sizing:border-box;box-shadow:0 4px 16px -4px #ef44441f,0 1px 3px #0000000a;display:flex;flex-direction:column;align-items:center;gap:.75rem}.error-icon-wrap{width:clamp(44px,5vw,60px);height:clamp(44px,5vw,60px);background:#fee2e2;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.error-svg{width:clamp(22px,2.5vw,30px);height:clamp(22px,2.5vw,30px);color:#ef4444}.project-error h3{font-size:clamp(1.15rem,2vw,1.5rem);font-weight:700;color:#111827;margin:0;text-align:center;letter-spacing:-.02em}.error-lead{color:#6b7280;font-size:clamp(.82rem,1.3vw,.95rem);line-height:1.6;margin:0;text-align:center;max-width:480px}.error-section{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.875rem 1rem;display:flex;flex-direction:column;gap:.4rem;text-align:left;box-sizing:border-box;margin-top:.25rem}.error-section:first-of-type{margin-top:0}.error-section-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.error-section-body{color:#374151;font-size:clamp(.8rem,1.2vw,.9rem);line-height:1.55;margin:0;word-break:break-word}.error-details-structured{display:flex;flex-direction:column;gap:.6rem}.error-detail-item{display:flex;flex-direction:column;gap:.2rem}.error-detail-label{font-size:.7rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.error-detail-value{color:#374151;font-size:clamp(.78rem,1.2vw,.875rem);line-height:1.5;word-break:break-word}.error-detail-json{color:#374151;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:clamp(.7rem,1.1vw,.8rem);line-height:1.5;margin:0;overflow-x:auto;white-space:pre-wrap;word-break:break-all}.error-timestamp{color:#9ca3af;font-size:.78rem;margin:.25rem 0 0;font-style:italic;text-align:center}@media (min-width: 1024px){.project-content.is-failed{min-height:calc(100vh - 160px);padding:0}}@media (min-width: 2560px){.project-content.is-failed{min-height:calc(100vh - 6vw)}.project-error{max-width:38vw;gap:1.2vw;padding:2.4vw 2.8vw;border-radius:1vw}.error-icon-wrap{width:5vw;height:5vw}.error-svg{width:2.4vw;height:2.4vw}.project-error h3{font-size:1.5vw}.error-lead{font-size:.9vw;max-width:24vw}.error-section{border-radius:.5vw;padding:.9vw 1.1vw;gap:.35vw}.error-section-label,.error-detail-label{font-size:.6vw}.error-section-body,.error-detail-value{font-size:.9vw}.error-detail-json,.error-timestamp{font-size:.72vw}}.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 1rem;margin:1rem auto;width:calc(100% - 2rem);max-width:none}.project-error{max-width:100%;border-radius:12px}}@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{height:100%;min-height:0;display:flex;flex-direction:column}.project-content:not(.is-failed){flex:1;min-height:0;overflow:visible}.project-error,.no-narratives{margin:auto}}@media (min-width: 2560px){.project-content:not(.is-failed){flex:1;min-height:0;overflow:visible}.no-narratives{max-width:1000px;padding:3.5rem;font-size:1.2rem}.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}}@media (min-width:2560px){.narrative-detail-page{max-width:2800px;width:90%;padding:3rem var(--page-pad-x) 5rem}.narrative-header-card{padding:3rem 3.5rem 3.5rem;border-radius:24px;box-shadow:0 6px 30px -8px #00000014,0 3px 6px #0000000d;border-width:2px}.header-grid{gap:3rem}.header-main h1{font-size:3.5rem;margin-bottom:1.8rem}.header-main .summary{font-size:1.6rem;margin-bottom:1.5rem;line-height:1.6}.back-navigation{margin-bottom:1rem}.back-link{font-size:1.3rem}.key-quote{font-size:1.8rem;margin-top:2rem;padding-left:2rem;border-left:8px solid #2563eb}.key-quote small{font-size:1.2rem}.chip-section{margin-top:2.5rem;gap:1.8rem}.chip-label{font-size:1rem;margin-bottom:.5rem}.theme-chips,.sentiment-chips{gap:1rem}.chip{font-size:1.1rem;padding:.7rem 1.2rem}.evidence-section{padding:3rem 3.5rem 4rem;border-radius:24px;border-width:2px}.evidence-section h3{font-size:2.4rem;margin-bottom:2rem}.evidence-list{gap:2.5rem}.evidence-list .q{font-size:1.6rem;margin-bottom:.8rem}.evidence-list .meta{font-size:1.1rem}.chart-full{padding:1.8rem 2rem 2.2rem;border-radius:24px;border-width:2px}.cf-head{margin-bottom:1.5rem}.full-chart{height:400px}.muted{font-size:1.2rem}.link-btn{font-size:1.1rem}}.persona-section{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:1.4rem 1.5rem 2rem;box-shadow:0 1px 2px #0000000d;margin-bottom:var(--between-card-gap)}.persona-section h3{margin:0 0 1.25rem;font-size:1.5rem;font-weight:700;color:#111827}.persona-card{display:flex;flex-direction:column;gap:1.5rem}.persona-header{border-bottom:2px solid #e5e7eb;padding-bottom:1rem}.persona-identity{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem}.persona-identity h4{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.persona-type-badge{padding:.25rem .75rem;border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.persona-type-badge.typical{background:#dbeafe;color:#1e40af}.persona-type-badge.edge_case{background:#fef3c7;color:#92400e}.persona-type-badge.extreme{background:#fee2e2;color:#991b1b}.persona-description{color:#4b5563;line-height:1.6;margin:0;font-size:.95rem}.persona-demographics,.persona-attributes,.persona-reasoning,.persona-opinion,.persona-queries{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem 1.25rem}.persona-demographics h5,.persona-attributes h5,.persona-reasoning h5,.persona-opinion h5,.persona-queries h5{margin:0 0 .75rem;font-size:1rem;font-weight:600;color:#374151}.demographics-grid,.attributes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.demo-item,.attr-item{display:flex;flex-direction:column;gap:.25rem}.demo-label,.attr-label{font-size:.7rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.demo-value,.attr-value{font-size:.9rem;color:#1f2937;font-weight:500}.reasoning-chain{display:flex;flex-direction:column;gap:1rem}.reasoning-step{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1rem}.step-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #f3f4f6}.step-number{font-size:.75rem;font-weight:700;color:#2563eb;text-transform:uppercase;letter-spacing:.5px}.step-confidence{font-size:.7rem;color:#6b7280;font-weight:500}.step-content{margin-bottom:.5rem;font-size:.9rem;line-height:1.5;color:#374151}.step-content:last-child{margin-bottom:0}.step-content strong{color:#1f2937;font-weight:600;margin-right:.5rem}.opinion-text{margin:0 0 .75rem;line-height:1.6;color:#1f2937;font-size:.95rem}.opinion-confidence{font-size:.85rem;color:#6b7280}.opinion-confidence strong{color:#2563eb;font-weight:600}.queries-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.query-item{padding:.5rem .75rem;background:#fff;border:1px solid #e5e7eb;border-radius:4px;font-size:.85rem;color:#374151;font-family:ui-monospace,monospace}.sources-section{background:#fff;border:1px solid #e5e7eb;border-radius:var(--card-radius);padding:1.4rem 1.5rem 2rem;box-shadow:0 1px 2px #0000000d;margin-bottom:var(--between-card-gap)}.sources-section h3{margin:0 0 1rem;font-size:1.5rem;font-weight:700;color:#111827}.sources-list{display:flex;flex-direction:column;gap:1rem}.sources-count{color:#6b7280;font-size:.9rem;margin:0}.sources-details{margin-top:.75rem}.sources-details summary{cursor:pointer;font-weight:600;color:#2563eb;font-size:.9rem;padding:.5rem;border-radius:4px;transition:background-color .2s}.sources-details summary:hover{background-color:#f3f4f6}.sources-urls{list-style:none;padding:1rem 0 0;margin:0;display:flex;flex-direction:column;gap:.5rem}.sources-urls li{padding:.5rem .75rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px}.sources-urls a{color:#2563eb;text-decoration:none;font-size:.85rem;word-break:break-all}.sources-urls a:hover{text-decoration:underline}.modal-overlay{position:fixed;inset:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);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:480px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:1px solid #e2e8f0;animation:slideIn .3s ease-out;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.75rem;border-bottom:1px solid #f1f5f9;background-color:#fff}.modal-title-container{display:flex;align-items:center;gap:.75rem}.modal-icon{color:#3b82f6;opacity:.9}.modal-header h2{margin:0;font-size:1.125rem;color:#0f172a;font-weight:600;letter-spacing:-.01em}.button-danger.delete-action{background-color:#ef4444}.modal-error{display:flex;align-items:center;gap:.75rem;background-color:#fef2f2;color:#b91c1c;padding:.875rem 1rem;border-radius:6px;margin:1.25rem 1.75rem 0;font-size:.875rem;border:1px solid #fecaca}.modal-error:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;background-color:#fee2e2;color:#b91c1c;border-radius:50%;font-weight:700;font-size:.75rem}.form-group{margin:1.5rem 1.75rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#64748b;font-size:.875rem;letter-spacing:.025em;text-transform:uppercase}.form-group .input-wrapper{position:relative}.form-group input,.form-group textarea{width:100%;box-sizing:border-box;padding:.75rem 1rem;border-radius:8px;border:1px solid #e2e8f0;font-size:.95rem;color:#334155;transition:all .2s ease;background-color:#f8fafc;resize:none}.form-group input:hover,.form-group textarea:hover{border-color:#cbd5e1;background-color:#fff}.form-group input:focus,.form-group textarea:focus{outline:none;background-color:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.char-count{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);font-size:.75rem;color:#94a3b8;pointer-events:none}.form-group textarea+.char-count{top:auto;bottom:.75rem;transform:none}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1.25rem 1.75rem;background-color:#f8fafc;border-top:1px solid #f1f5f9}.button-secondary{padding:.625rem 1.25rem;border:1px solid #cbd5e1;background-color:#fff;color:#475569;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s;font-size:.875rem}.button-secondary:hover:not(:disabled){background-color:#f1f5f9;border-color:#94a3b8;color:#334155}.button-primary{padding:.625rem 1.25rem;border:none;background-color:#2563eb;color:#fff;border-radius:6px;font-weight:500;cursor:pointer;box-shadow:0 1px 2px #0000000d;transition:all .2s;font-size:.875rem}.button-primary:hover:not(:disabled){background-color:#1d4ed8;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.button-danger{padding:.625rem 1rem;border:none;background-color:transparent;color:#ef4444;font-weight:500;cursor:pointer;margin-right:auto;font-size:.875rem;transition:color .2s}.button-danger:hover{color:#dc2626;text-decoration:underline;background-color:transparent;box-shadow:none;transform:none}.delete-confirmation{display:flex;align-items:center;margin-right:auto;gap:.5rem}.delete-confirmation span{font-size:.875rem;color:#64748b}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:scale(.97);opacity:0}to{transform:scale(1);opacity:1}}@media (max-width: 500px){.modal-content{margin:1rem;max-width:calc(100% - 2rem);border-radius:12px}.modal-header{padding:1rem 1.25rem}.form-group{margin:1.25rem}.modal-actions{padding:1rem 1.25rem;flex-wrap:wrap}.button-danger{margin-right:0;margin-bottom:.5rem;width:100%;text-align:center}.delete-confirmation{width:100%;justify-content:center;margin-bottom:.5rem}.button-secondary,.button-primary{flex:1;justify-content:center;display:flex;align-items:center}}.project-list-container{margin-top:.75rem;width:100%;margin-left:auto;margin-right:auto;padding:0;box-sizing:border-box;display:flex;flex-direction:column}@media (min-width: 1024px){.project-list-container{flex:1;min-height:0;overflow:hidden}}.projects-filters{display:grid;grid-template-columns:1fr;gap:.875rem;padding:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:1rem;box-sizing:border-box;max-width:100%;overflow:hidden}.filter-group{display:flex;flex-direction:column;gap:.5rem;box-sizing:border-box;max-width:100%}.mobile-sort-group{display:flex}.filter-label{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.filter-input{padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem;color:#1e293b;background:#fff;transition:all .2s ease;width:100%;max-width:100%;box-sizing:border-box}.filter-select{padding:.5rem 2rem .5rem .75rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem;color:#1e293b;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right .75rem center;background-size:12px;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:all .2s ease;width:100%;box-sizing:border-box}.filter-input:focus{outline:none;border-color:#4f94f9;box-shadow:0 0 0 3px #4f94f91a}.filter-select:focus{outline:none;border-color:#4f94f9;box-shadow:0 0 0 3px #4f94f91a}.filter-select:hover{border-color:#94a3b8}.filter-input::placeholder{color:#94a3b8}.clear-filters-btn{padding:.5rem 1rem;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem;font-weight:500;color:#475569;cursor:pointer;transition:all .2s ease;white-space:nowrap;box-sizing:border-box;justify-self:start;align-self:start;margin-top:.5rem}.clear-filters-btn:hover{background:#e2e8f0;border-color:#94a3b8}.projects-table-header{display:grid;grid-template-columns:2.5fr 1.1fr 1.3fr .9fr .8fr .5fr;gap:clamp(.5rem,1vw,1.5rem);padding:.5rem clamp(.75rem,1.5vw,2rem);background-color:transparent;border-bottom:2px solid #f1f5f9;color:#64748b;font-size:clamp(.65rem,.75vw,.95rem);font-weight:600;text-transform:uppercase;letter-spacing:.04em;align-items:center}.header-title,.header-status,.header-created,.header-stats,.header-sparkline,.header-actions{text-align:left}.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;display:flex;align-items:center;gap:.25rem;padding:.25rem 0;border-radius:4px}.sortable:hover,.sortable.sorted{color:#4f94f9}.sort-indicator{font-size:.875rem;font-weight:700}.header-sparkline,.header-actions{text-align:center}.projects-table-content{border:none;border-radius:0;display:flex;flex-direction:column;gap:1rem}@media (min-width: 1024px){.projects-table-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none}.projects-table-content::-webkit-scrollbar{display:none}.projects-filters,.projects-table-header,.pagination{flex-shrink:0}}.project-row{background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 1px 3px #0000000d;transition:all .2s ease;flex:none;position:relative;z-index:1}.project-row:has(.export-menu){z-index:200}.project-row:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border-color:#cbd5e1}.project-row-content{display:grid;grid-template-columns:2.5fr 1.1fr 1.3fr .9fr .8fr .5fr;gap:clamp(.5rem,1vw,1.5rem);padding:clamp(.75rem,1.5vh,1.75rem) clamp(.75rem,1.5vw,2rem);align-items:center}.project-link{text-decoration:none;color:inherit;display:flex;flex-direction:column;justify-content:center;height:100%}.project-title-cell{display:flex;flex-direction:column}.project-title{margin:0 0 .25rem;font-size:clamp(.9rem,1.1vw,1.4rem);font-weight:600;color:#1e293b;line-height:1.3}.project-link:hover .project-title{color:#4f94f9}.project-description{margin:0;color:#64748b;font-size:clamp(.75rem,.9vw,1.1rem);line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.project-status-cell{display:flex;justify-content:flex-start}.status-badge{display:inline-flex;align-items:center;padding:clamp(.3rem,.5vh,.6rem) clamp(.6rem,1vw,1.2rem);border-radius:9999px;font-size:clamp(.7rem,.85vw,1rem);font-weight:500;text-transform:capitalize;gap:.375rem}.status-badge:before{content:"";width:6px;height:6px;border-radius:50%;display:inline-block}.status-badge.status-pending{background-color:#fef3c7;color:#92400e}.status-badge.status-pending:before{background-color:#f59e0b}.status-badge.status-queued,.status-badge.status-initializing,.status-badge.status-planning,.status-badge.status-discovering,.status-badge.status-ingesting,.status-badge.status-analyzing{background-color:#dbeafe;color:#1e40af}.status-badge.status-queued:before,.status-badge.status-initializing:before,.status-badge.status-planning:before,.status-badge.status-discovering:before,.status-badge.status-ingesting:before,.status-badge.status-analyzing:before{background-color:#3b82f6}.status-badge.status-completed{background-color:#d1fae5;color:#065f46}.status-badge.status-completed:before{background-color:#10b981}.status-badge.status-failed{background-color:#fee2e2;color:#991b1b}.status-badge.status-failed:before{background-color:#ef4444}.project-created-cell{display:flex;flex-direction:column;gap:2px}.date-main{font-size:clamp(.8rem,.95vw,1.15rem);color:#334155;font-weight:500}.date-sub{font-size:clamp(.65rem,.75vw,.9rem);color:#94a3b8}.project-stats-cell{color:#475569;font-size:.9rem;font-weight:600}.sc-value{background:#f1f5f9;padding:2px 8px;border-radius:99px;font-feature-settings:"tnum"}.sc-placeholder{color:#cbd5e1;font-size:.8rem}.project-sparkline-cell{display:flex;justify-content:flex-start;align-items:center}.pipeline-stat-chips{display:flex;flex-wrap:wrap;gap:.3rem}.ps-chip{font-size:.72rem;font-weight:600;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:.2rem .45rem;white-space:nowrap}.project-actions-cell{display:flex;justify-content:center}.action-buttons{display:flex;gap:.5rem;align-items:center;justify-content:center}.action-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:4px;background-color:transparent;color:#94a3b8;cursor:pointer;transition:all .2s ease;padding:0}.action-button svg{width:18px;height:18px;stroke-width:2px}.action-button:hover{color:#475569;background-color:#00000008;transform:translateY(-1px)}.edit-button:hover{color:#3b82f6;background-color:#eff6ff}.export-button{background-color:transparent;color:#94a3b8}.export-button:hover:not(:disabled){background-color:#eff6ff;color:#3b82f6}.action-button:disabled{opacity:.5;cursor:not-allowed}.export-button .spinner{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-projects{text-align:center;padding:3rem;color:#64748b;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px}.pagination{display:flex;justify-content:center;gap:.35rem;margin-top:2rem;flex-wrap:wrap;padding:0 .5rem;align-items:center}.pagination-button{padding:.5rem .75rem;border:1px solid #e2e8f0;background-color:#fff;color:#374151;border-radius:6px;cursor:pointer;font-size:.875rem;transition:all .2s ease;min-width:40px;min-height:40px;display:flex;align-items:center;justify-content:center}.pagination-button:hover:not(:disabled){background-color:#f8fafc;border-color:#cbd5e1}.pagination-button.active{background-color:#4f94f9;border-color:#4f94f9;color:#fff}.pagination-button.pagination-arrow{font-size:1rem;font-weight:600;color:#475569}.pagination-button.pagination-arrow:disabled{opacity:.3;cursor:not-allowed}.pagination-ellipsis{display:flex;align-items:center;justify-content:center;min-width:32px;color:#94a3b8;font-size:.875rem;-webkit-user-select:none;user-select:none;padding-bottom:4px;letter-spacing:1px}.projects-loading{display:flex;align-items:center;justify-content:center;gap:1rem;padding:3rem;color:#64748b;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px}.loading-spinner{width:20px;height:20px;border:2px solid #e2e8f0;border-top:2px solid #4f94f9;border-radius:50%;animation:spin 1s linear infinite}.projects-error{padding:1.5rem;background-color:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;text-align:center}@media (max-width: 1200px){.projects-table-header,.project-row-content{grid-template-columns:2.5fr 1fr 1.5fr 1fr .5fr}.header-sparkline,.project-sparkline-cell{display:none}}@media (min-width: 1200px){.projects-filters{display:grid;grid-template-columns:2fr auto;gap:1rem;align-items:end}.mobile-sort-group{display:none}.clear-filters-btn{grid-column:1 / -1;justify-self:start;align-self:end}}@media (min-width: 1600px){.projects-filters{grid-template-columns:3fr auto;gap:1.5rem}.projects-table-header,.project-row-content{grid-template-columns:3fr 1.2fr 1.5fr 1fr 1fr .6fr;gap:clamp(.75rem,1.2vw,2rem);padding:clamp(1rem,1.5vh,2rem) clamp(1rem,1.5vw,2.5rem)}.filter-input,.filter-select{font-size:1rem;padding:.625rem 1rem}.clear-filters-btn{font-size:1rem;padding:.625rem 1.25rem}}@media (max-width: 1024px){.projects-table-header,.project-row-content{grid-template-columns:2.5fr 1fr 1.5fr .5fr}.header-stats,.project-stats-cell{display:none}}@media (max-width: 768px){.projects-filters{grid-template-columns:1fr;padding:1rem;gap:.875rem}.mobile-sort-group{display:flex}.filter-group{gap:.375rem}.filter-label{font-size:.7rem}.filter-input,.filter-select{width:100%;min-width:unset;padding:.625rem .875rem;font-size:.9375rem}.filter-select{padding-right:2.5rem;background-position:right .875rem center}.clear-filters-btn{width:100%;padding:.625rem 1rem;font-size:.9375rem;margin-top:.25rem}.projects-table-header{display:none}.project-row{flex:none}.project-row-content{display:flex;flex-direction:column;gap:.75rem;align-items:stretch;padding:1rem}.project-title-cell{order:1}.project-status-cell{order:2}.project-created-cell{order:3;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem}.project-stats-cell{display:flex!important;order:4;justify-content:space-between;align-items:center}.project-stats-cell:before{content:"Narratives:";font-size:.8rem;color:#64748b;font-weight:500}.project-actions-cell{order:5;display:flex;justify-content:flex-end;padding-top:.5rem;border-top:1px solid #f1f5f9;margin-top:.5rem}.action-button{padding:.625rem;min-width:44px;min-height:44px}.project-title{font-size:1rem}.project-description{font-size:.875rem}.status-badge{font-size:.8rem;padding:.5rem .875rem}}.projects-loading{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}@media (max-width: 600px){.project-list-container{margin-top:.5rem}.projects-filters{grid-template-columns:1fr;padding:.75rem;gap:.625rem;margin-bottom:.75rem}.filter-label{font-size:.65rem;margin-bottom:.125rem}.filter-input,.filter-select{padding:.625rem .75rem;font-size:.9375rem;border-radius:6px;width:100%;min-width:unset;max-width:100%;box-sizing:border-box}.filter-select{padding-right:2.5rem;background-size:12px;background-position:right .75rem center}.clear-filters-btn{padding:.625rem .875rem;font-size:.9375rem;border-radius:6px;margin-top:0}.project-row{border-radius:8px;flex:none}.project-row-content{padding:.75rem}.project-title{font-size:.9375rem}.project-description,.date-main{font-size:.8125rem}.date-sub{font-size:.75rem}.pagination-button{min-width:44px;min-height:44px;font-size:.9375rem}.pagination{gap:.375rem;margin-top:1.5rem}.empty-projects{padding:2rem 1rem;font-size:.9375rem}}@media (max-width: 375px){.projects-filters{padding:.625rem;border-radius:6px;gap:.5rem}.filter-label{font-size:.625rem}.filter-input,.filter-select{font-size:.875rem;padding:.5rem .625rem}.filter-select{padding-right:2.25rem;background-size:11px}.clear-filters-btn{font-size:.875rem;padding:.5rem .75rem}.project-row-content{padding:.75rem;gap:.625rem}.project-title{font-size:.875rem}.project-description{font-size:.75rem;line-height:1.4}.status-badge{font-size:.75rem;padding:.375rem .75rem}.project-stats-cell:before{font-size:.75rem}.pagination{gap:.25rem;margin-top:1.25rem}.pagination-button{min-width:40px;min-height:40px;padding:.5rem;font-size:.875rem}.empty-projects{padding:1.5rem .875rem;font-size:.875rem;border-radius:6px}}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem}.share-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:500px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.share-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0}.share-modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b}.close-button{background:none;border:none;padding:.25rem;cursor:pointer;color:#64748b;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.close-button:hover{color:#1e293b}.share-modal-body{padding:1.5rem;overflow-y:auto}.share-modal-description{margin:0 0 1.5rem;color:#475569;font-size:.9375rem;line-height:1.5}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:#334155}.form-group input{padding:.75rem 1rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.9375rem;transition:all .2s ease;font-family:inherit}.form-group input:focus{outline:none;border-color:#4f94f9;box-shadow:0 0 0 3px #4f94f91a}.share-modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid #e2e8f0;background:#f8fafc}.share-modal-footer button{padding:.625rem 1.25rem;border-radius:6px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:none}.cancel-button{background:#fff;color:#475569;border:1px solid #cbd5e1!important}.cancel-button:hover{background:#f8fafc;border-color:#94a3b8!important}.send-button{background:#4f94f9;color:#fff}.send-button:hover{background:#3b7dd6}.send-button:active{transform:scale(.98)}@media (max-width: 600px){.share-modal{max-width:100%;margin:0}.share-modal-header,.share-modal-body,.share-modal-footer{padding-left:1rem;padding-right:1rem}.share-modal-footer{flex-direction:column}.share-modal-footer button{width:100%}}.export-modal{background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;max-width:800px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.export-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc,#fff)}.export-modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b}.export-modal-body{padding:1.5rem;overflow-y:auto}.export-modal-description{margin:0 0 1.5rem;color:#475569;font-size:.9375rem;line-height:1.5;text-align:center}.export-format-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.export-format-card{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:1.25rem;display:flex;flex-direction:column;align-items:center;gap:.75rem;transition:all .2s ease}.export-format-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014}.format-icon{width:56px;height:56px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#3b82f6}.export-format-card h4{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.export-format-card p{margin:0;font-size:.8125rem;color:#64748b;text-align:center}.format-actions{display:flex;flex-direction:column;gap:.5rem;width:100%;margin-top:.5rem}.format-action-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.format-action-btn:hover{background:#f8fafc;border-color:#4f94f9;color:#4f94f9}.format-action-btn svg{flex-shrink:0}.format-action-btn:active{transform:scale(.98)}@media (max-width: 768px){.export-modal{max-width:100%;margin:0}.export-format-grid{grid-template-columns:1fr}.export-modal-body{padding:1rem}}@media (max-width: 600px){.export-format-card{padding:1rem}.format-icon{width:48px;height:48px}.format-icon svg{width:28px;height:28px}}.projects-page{max-width:100%;margin:0 auto;padding:clamp(.75rem,2vw,2rem) clamp(1rem,2.5vw,2.5rem);box-sizing:border-box;width:100%;display:flex;flex-direction:column}@media (min-width: 1024px){.projects-page{flex:1;min-height:0;overflow:hidden}.projects-header{flex-shrink:0}}.projects-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;width:100%;background:linear-gradient(to right,#e3f2fd,#bbdefb,#90caf9 70%,#64b5f6);padding:1rem 1.5rem;border-radius:12px;box-shadow:0 2px 4px #0000000d;box-sizing:border-box;position:relative;overflow:hidden}.projects-header:before,.projects-header:after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat;opacity:.8;z-index:0}.projects-header:before{top:0;right:160px;width:500px;height:100%;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L14.5 9.5L22 12L14.5 14.5L12 22L9.5 14.5L2 12L9.5 9.5L12 2Z' fill='%231e3a8a' opacity='0.15'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0L14.5 9.5L24 12L14.5 14.5L12 24L9.5 14.5L0 12L9.5 9.5L12 0Z' fill='%231e3a8a' opacity='0.1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='3' fill='%231e3a8a' opacity='0.1'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='0' width='9.9' height='9.9' transform='rotate(45 7 0)' fill='%231e3a8a' opacity='0.08'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L14.5 9.5L22 12L14.5 14.5L12 22L9.5 14.5L2 12L9.5 9.5L12 2Z' fill='%231e3a8a' opacity='0.12'/%3E%3C/svg%3E");background-position:85% 15%,65% 85%,15% 25%,5% 50%,50% 40%}.projects-header:after{top:50%;right:120px;width:180px;height:100%;transform:translateY(-50%);z-index:0;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='6' cy='6' r='4' fill='%231e3a8a' opacity='0.15'/%3E%3C/svg%3E");background-position:right 80px bottom 15px;background-repeat:no-repeat}.projects-header h1{margin:0;font-size:clamp(1.25rem,2vw,2.5rem);font-weight:700;color:#0f172a;letter-spacing:-.025em;position:relative;z-index:1}.create-project-link,.create-project-link.secondary{display:inline-flex;align-items:center;gap:.5rem;background-color:#2563eb!important;color:#fff!important;padding:clamp(.4rem,.8vh,.9rem) clamp(.75rem,1.5vw,1.5rem);border-radius:8px;font-weight:600;text-decoration:none;font-size:clamp(.8rem,1.2vw,1.25rem);transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px -1px #2563eb1a,0 2px 4px -1px #2563eb0f;border:1px solid transparent;height:auto;box-sizing:border-box;opacity:1!important;z-index:10}.create-project-link:hover,.create-project-link.secondary:hover{background-color:#1d4ed8!important;transform:translateY(-1px);box-shadow:0 6px 8px -1px #2563eb26,0 4px 6px -1px #2563eb1a;color:#fff!important}.create-project-link:active{background-color:#1e40af;transform:translateY(0)}@media (min-width: 1600px){.projects-page{padding:clamp(1rem,1.5vw,2.5rem) clamp(1.5rem,2vw,4rem)}.projects-header h1{font-size:clamp(2rem,2.5vw,3.5rem)}}@media (max-width: 600px){.projects-page{padding:.75rem;margin:0 auto;width:100%;max-width:100%}.projects-header{flex-direction:column;align-items:stretch;gap:1.25rem;padding:.875rem 1rem;border-radius:12px;margin-bottom:1rem}.projects-header h1{font-size:1.5rem;text-align:center}.create-project-link{width:100%;justify-content:center;padding:.8rem 1rem;font-size:.95rem;border-radius:8px;background-color:#fff;color:#2563eb;border:none;box-shadow:0 4px 6px -1px #0000001a}.create-project-link:hover{background-color:#f8fafc;transform:none}}@media (max-width: 380px){.projects-page{padding:.75rem;margin:0 auto;width:100%}.projects-header h1{font-size:1.45rem}.create-project-link{padding:.75rem .9rem .8rem;font-size:.87rem}}@media (max-width: 340px){.projects-page{padding:.75rem .5rem;margin:0 auto;width:100%}.create-project-link{padding:.7rem .75rem .75rem;font-size:.84rem;gap:.45rem}}.new-project-page{max-width:100%;margin:0 auto;padding:clamp(.5rem,2vw,2rem);box-sizing:border-box;width:100%;min-width:0;background-color:transparent;display:flex;flex-direction:column;min-height:100vh;overflow-x:visible}.new-project-page *,.new-project-page *:before,.new-project-page *:after{box-sizing:border-box}.new-project-page .projects-header{flex-shrink:0;margin-bottom:clamp(1rem,2vh,1.5rem);width:100%;box-sizing:border-box;padding:clamp(.875rem,1.5vw,1.5rem) clamp(1rem,2vw,1.5rem);background:linear-gradient(to right,#e3f2fd,#bbdefb,#90caf9 70%,#64b5f6);border-radius:.75rem;box-shadow:0 2px 4px #0000000d;display:flex;justify-content:space-between;align-items:center;gap:clamp(.5rem,2vw,1rem)}.new-project-page .projects-header h1{margin:0;font-size:clamp(1.25rem,2vw,2.5rem);font-weight:700;color:#0f172a;letter-spacing:-.025em}.new-project-container{display:flex;justify-content:center;align-items:flex-start;flex:1;width:100%;min-width:0}.centered-view{flex:1;display:flex;align-items:flex-start;justify-content:center;width:100%;min-width:0}.carousel-card{width:100%;max-width:720px;min-width:0;margin:0 auto;display:flex;flex-direction:column;background:transparent;border-radius:0;box-shadow:none;padding:0;border:none;overflow-x:visible}.new-project-form{display:flex;flex-direction:column;min-height:clamp(25rem,60vh,31.25rem);position:relative;min-width:0;width:100%;max-width:100%}.step-content-wrapper{flex:1;padding:0;margin:0;min-height:clamp(20rem,45vh,23.75rem);display:flex;flex-direction:column;align-items:center;min-width:0;width:100%;max-width:100%}.form-section{background:transparent;border-radius:0;padding:0;border:none;margin-bottom:0;flex:1;display:flex;flex-direction:column;width:100%;max-width:100%;min-width:0;overflow-x:visible}.form-section h3{margin:0 0 clamp(.375rem,1vh,.5rem) 0;font-size:clamp(1.125rem,2.5vw,1.5rem);font-weight:700;color:#0f172a;word-wrap:break-word;overflow-wrap:break-word}.section-desc{margin:0 0 clamp(1rem,2vh,1.5rem) 0;color:#64748b;font-size:clamp(.875rem,1.8vw,.95rem);line-height:1.5;word-wrap:break-word;overflow-wrap:break-word}.form-group{margin-bottom:clamp(1rem,2vh,1.25rem);width:100%;max-width:100%;min-width:0}.form-group:last-child{margin-bottom:0}.form-group label{display:block;font-weight:500;font-size:clamp(.875rem,1.8vw,.9rem);color:#334155;margin-bottom:clamp(.3rem,.5vh,.4rem)}.required{color:#ef4444;margin-left:2px}.form-input{width:100%;max-width:100%;min-width:0;display:block;margin:0;padding:clamp(.625rem,1.5vh,.75rem) clamp(.625rem,2vw,1rem);border:1.5px solid #cbd5e1;border-radius:.5rem;font-size:clamp(.875rem,2vw,1rem);color:#1e293b;transition:all .2s;box-sizing:border-box;font-family:inherit;line-height:1.5;background-color:#fff}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.form-input::placeholder{color:#94a3b8}textarea.form-input{resize:vertical;min-height:clamp(5rem,15vh,7.5rem);max-height:clamp(10rem,30vh,12.5rem)}input[type=date].form-input{cursor:pointer;min-height:clamp(2.75rem,8vh,3rem);padding-right:2.5rem;max-width:100%;overflow:hidden;background-color:#fff;box-shadow:0 1px 3px #0000000d}input[type=date].form-input:hover{border-color:#94a3b8;box-shadow:0 2px 6px #00000014}input[type=date].form-input::-webkit-calendar-picker-indicator{cursor:pointer;font-size:clamp(1.125rem,2.5vw,1.25rem);opacity:.6;transition:opacity .2s}input[type=date].form-input::-webkit-calendar-picker-indicator:hover{opacity:1}input[type=date].form-input::-moz-calendar-picker{opacity:.6;transition:opacity .2s}input[type=date].form-input::-moz-calendar-picker:hover{opacity:1}.form-divider{height:1px;background-color:#e2e8f0;width:100%;margin:.5rem 0}.form-row{display:flex;gap:clamp(1rem,2.5vw,1.5rem);align-items:flex-start;width:100%;max-width:100%}.date-inputs-row{margin-top:clamp(.5rem,1vh,.75rem);width:100%;max-width:100%}.date-inputs-row .form-group label{font-weight:600;font-size:clamp(.75rem,1.6vw,.8125rem);text-transform:uppercase;letter-spacing:.05em;color:#475569;margin-bottom:clamp(.5rem,1vh,.625rem)}.form-group.half{flex:1;min-width:0;max-width:100%}.keywords-input-container{display:flex;gap:clamp(.5rem,1.5vw,.75rem);align-items:stretch;width:100%;max-width:100%;box-sizing:border-box}.keywords-input-container .form-input{flex:1;min-width:0}.add-keyword-btn{padding:0 clamp(.75rem,3vw,1.5rem);background-color:#f1f5f9;color:#475569;border:1.5px solid #cbd5e1;border-radius:.5rem;font-weight:500;font-size:clamp(.8125rem,2vw,.9375rem);cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0}.add-keyword-btn:hover:not(:disabled){background-color:#e2e8f0;color:#1e293b;border-color:#94a3b8}.add-keyword-btn:disabled{opacity:.5;cursor:not-allowed}.keywords-list{display:flex;flex-wrap:wrap;gap:clamp(.375rem,1vw,.5rem);margin-top:clamp(.75rem,1.5vh,1rem);width:100%;max-height:200px;overflow-y:auto}.keyword-tag{display:inline-flex;align-items:center;gap:clamp(.25rem,.5vw,.375rem);background-color:#eff6ff;color:#1d4ed8;padding:clamp(.25rem,.5vh,.375rem) clamp(.625rem,1.5vw,.875rem);border-radius:9999px;font-size:clamp(.8125rem,1.7vw,.875rem);font-weight:500;border:1px solid #bfdbfe}.keyword-tag button{background:none;border:none;color:#1d4ed8;font-size:clamp(1rem,2vw,1.125rem);line-height:1;cursor:pointer;padding:0;margin-left:2px;opacity:.6;transition:opacity .2s}.keyword-tag button:hover{opacity:1}.input-hint{font-size:clamp(.75rem,1.6vw,.8125rem);color:#94a3b8;margin-top:clamp(.375rem,.8vh,.5rem);line-height:1.5;word-wrap:break-word;overflow-wrap:break-word}.radio-group{display:grid;grid-template-columns:1fr;gap:clamp(.5rem,2vw,1rem);width:100%;max-width:100%}.radio-option{display:flex;align-items:flex-start;gap:clamp(.5rem,2vw,.875rem);padding:clamp(.75rem,2vw,1.25rem);border:1.5px solid #e2e8f0;border-radius:.625rem;cursor:pointer;transition:all .2s;background-color:#fff;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.radio-option:hover{border-color:#cbd5e1;background-color:#f8fafc;transform:translateY(-1px);box-shadow:0 2px 8px #0000000d}.radio-option.selected{border-color:#3b82f6;background-color:#eff6ff;box-shadow:0 2px 12px #3b82f626}.radio-option input[type=radio]{display:none}.radio-option:before{content:"";display:block;flex-shrink:0;width:clamp(16px,3vw,18px);height:clamp(16px,3vw,18px);border-radius:50%;border:2px solid #cbd5e1;margin-top:.125rem;transition:border-color .2s,background-color .2s;box-sizing:border-box;background-color:#fff}.radio-option.selected:before{border-color:#3b82f6;background-color:#3b82f6;box-shadow:inset 0 0 0 3px #fff}.radio-label{display:flex;flex-direction:column;gap:clamp(.125rem,.5vh,.25rem);flex:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word}.radio-label strong{font-size:clamp(.9375rem,2vw,1rem);color:#0f172a;font-weight:600;word-wrap:break-word;overflow-wrap:break-word}.radio-desc{font-size:clamp(.8125rem,1.7vw,.875rem);color:#64748b;line-height:1.5;word-wrap:break-word;overflow-wrap:break-word}.form-actions{margin-top:auto;display:flex;justify-content:flex-end;padding-top:clamp(1.5rem,3vh,2rem)}.carousel-actions{display:flex;justify-content:space-between;align-items:center;margin-top:auto;width:100%;max-width:100%;padding-top:clamp(1.5rem,3vh,2rem);padding-bottom:clamp(.5rem,1vh,1rem);background:transparent;border:none;gap:clamp(.75rem,2vw,1rem)}.form-error{background-color:#fef2f2;border-left:4px solid #ef4444;color:#991b1b;padding:1rem;border-radius:4px;font-size:.875rem}.step-indicator{display:flex;justify-content:flex-start;align-items:center;margin-bottom:clamp(1.25rem,2.5vh,2rem);position:relative;width:100%;gap:clamp(.375rem,.8vw,.625rem)}.step-indicator:before{display:none}.step-dot{flex:1;height:clamp(5px,.8vh,8px);border-radius:4px;background-color:#e2e8f0;transition:all .3s ease;position:relative;z-index:1;border:none;box-shadow:none}.step-indicator .step-dot:first-child{margin-right:0}.step-indicator .step-dot:last-child{margin-left:0}.step-indicator .step-dot:nth-child(2){margin:0}.step-dot.active{background-color:#3b82f6;transform:scaleY(1.3);box-shadow:0 2px 8px #3b82f64d;border-color:transparent}.step-dot.completed{background-color:#10b981;box-shadow:none}.step-slide{animation:fadeIn .3s ease-out;height:100%;width:100%;max-width:100%;min-width:0;margin-inline:auto;display:flex;flex-direction:column}@keyframes fadeIn{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.nav-btn,.submit-btn{padding:clamp(.625rem,1.5vh,.75rem) clamp(1.5rem,3.5vw,2rem);border-radius:8px;font-weight:600;cursor:pointer;border:2px solid transparent;transition:all .2s ease;font-size:clamp(.9375rem,2vw,1rem);min-width:clamp(120px,20vw,160px);text-align:center;box-sizing:border-box;line-height:1.5;outline:none;-webkit-appearance:none;appearance:none;white-space:nowrap}.nav-btn:focus-visible,.submit-btn:focus-visible{box-shadow:0 0 0 3px #3b82f666}.nav-btn.next,.submit-btn{background-color:#3b82f6;color:#fff;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f633}.nav-btn.next:hover,.submit-btn:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px);box-shadow:0 6px 16px #3b82f64d}.nav-btn.next:active,.submit-btn:active:not(:disabled){transform:translateY(0)}.nav-btn:disabled,.submit-btn:disabled{opacity:.6;cursor:not-allowed;background-color:#cbd5e1;border-color:#cbd5e1;box-shadow:none}.nav-btn.back{background-color:#f8fafc;color:#475569;border-color:#e2e8f0;box-shadow:0 2px 4px #0000000d}.nav-btn.back:hover{background-color:#eff6ff;color:#2563eb;border-color:#3b82f6;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}.form-error-banner{background-color:#fee2e2;color:#991b1b;padding:clamp(.75rem,1.5vh,1rem);border-radius:8px;margin-bottom:clamp(1rem,2vh,1.5rem);font-size:clamp(.875rem,1.8vw,.9375rem);border:1.5px solid #fecaca;display:flex;align-items:center;line-height:1.5}.summary-preview{background-color:#f8fafc;padding:clamp(1rem,2.5vh,1.5rem);border-radius:10px;margin-top:clamp(1.5rem,3vh,2rem);border:1.5px solid #e2e8f0}.summary-preview h4{margin:0 0 clamp(.5rem,1vh,.625rem) 0;font-size:clamp(.8125rem,1.7vw,.9375rem);color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.summary-preview p{margin:clamp(.25rem,.5vh,.375rem) 0;color:#334155;font-size:clamp(.875rem,1.8vw,.9375rem);line-height:1.5}.summary-review{display:flex;flex-direction:column;gap:clamp(1rem,2vh,1.5rem);margin-top:clamp(.5rem,1vh,1rem)}.summary-section{background-color:#f8fafc;padding:clamp(1rem,2.5vh,1.5rem);border-radius:10px;border:1.5px solid #e2e8f0}.summary-section h4{margin:0 0 clamp(.75rem,1.5vh,1rem) 0;font-size:clamp(.8125rem,1.7vw,.875rem);color:#475569;font-weight:600;text-transform:uppercase;letter-spacing:.05em;border-bottom:1.5px solid #e2e8f0;padding-bottom:clamp(.375rem,1vh,.625rem)}.summary-item{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:clamp(.625rem,1.2vh,.875rem);gap:clamp(.75rem,2vw,1rem)}.summary-item:last-child{margin-bottom:0}.summary-label{font-weight:500;color:#64748b;font-size:clamp(.8125rem,1.7vw,.875rem);min-width:clamp(80px,15vw,100px);flex-shrink:0}.summary-value{color:#1e293b;font-size:clamp(.875rem,1.8vw,.9375rem);text-align:right;flex:1;min-width:0;overflow-wrap:break-word;word-break:break-word}.summary-value.empty{color:#94a3b8;font-style:italic}.summary-keywords{display:flex;flex-wrap:wrap;gap:clamp(.3125rem,.8vw,.5rem);justify-content:flex-end;max-width:100%;min-width:0}.summary-keyword-tag{background-color:#eff6ff;color:#1d4ed8;padding:clamp(.1875rem,.4vh,.25rem) clamp(.5rem,1.2vw,.625rem);border-radius:9999px;font-size:clamp(.75rem,1.6vw,.8125rem);font-weight:500;border:1px solid #bfdbfe;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.date-presets{margin-bottom:clamp(1rem,2vh,1.5rem);padding:clamp(.875rem,2vh,1.25rem);background-color:#f8fafc;border-radius:10px;border:1.5px solid #e2e8f0}.preset-label{font-size:clamp(.8125rem,1.7vw,.875rem);font-weight:500;color:#64748b;margin:0 0 clamp(.625rem,1.2vh,.875rem) 0}.preset-buttons{display:flex;gap:clamp(.5rem,1.2vw,.75rem);flex-wrap:wrap}.preset-btn{padding:clamp(.5rem,1.2vh,.625rem) clamp(.875rem,2vw,1.125rem);background-color:#fff;color:#475569;border:1.5px solid #cbd5e1;border-radius:8px;font-size:clamp(.8125rem,1.7vw,.875rem);font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex:1;min-width:fit-content}.preset-btn:hover{background-color:#f1f5f9;border-color:#94a3b8;color:#1e293b;transform:translateY(-1px);box-shadow:0 2px 8px #00000014}.preset-btn:active{background-color:#e2e8f0;transform:translateY(0)}.large-input{font-size:1.25rem!important;padding:1rem!important}.large-date{padding:.85rem!important;font-size:1.1rem}@media (max-width: 900px){.new-project-container,.centered-view{justify-content:center;align-items:stretch}.carousel-card{width:100%;max-width:min(46rem,100%);margin-inline:auto}.new-project-page{padding:clamp(.5rem,2vw,1.5rem)}.new-project-form{min-height:clamp(26rem,55vh,30rem)}.step-content-wrapper{min-height:clamp(20rem,42vh,22.5rem);width:100%;max-width:100%;align-items:center}.step-slide,.form-section{width:100%;max-width:min(100%,44rem);margin-inline:auto}.form-group,.form-input,.radio-group,.radio-option,.keywords-input-container,.date-inputs-row,.carousel-actions{width:100%;max-width:100%;min-width:0}}@media (min-width: 601px) and (max-width: 1024px){.new-project-page{padding-inline:clamp(.75rem,3vw,1.5rem)}.new-project-page .projects-header,.new-project-form{width:100%;max-width:100%}.form-section{padding-inline:.125rem}}@media (max-width: 768px){.new-project-container,.centered-view{justify-content:center;align-items:stretch}.carousel-card{margin:0 auto;width:100%;max-width:100%}.new-project-form,.step-content-wrapper,.carousel-actions{padding-inline:0}.new-project-page .projects-header{flex-direction:column;align-items:stretch;gap:.75rem;padding:.75rem;width:100%;max-width:100%}.new-project-page .projects-header h1{font-size:clamp(1.25rem,4vw,1.75rem);text-align:center}.new-project-page .create-project-link{width:100%;justify-content:center;padding:.75rem .875rem;font-size:.875rem;border-radius:.5rem;background-color:#fff;color:#2563eb;border:1.5px solid #e2e8f0;box-shadow:0 2px 6px #00000014;text-decoration:none;display:flex;align-items:center}.radio-group{grid-template-columns:1fr;gap:.625rem;width:100%}.form-section h3{font-size:clamp(1rem,4vw,1.375rem)}.section-desc{font-size:clamp(.875rem,2.5vw,.9375rem)}.radio-option{overflow:visible}}@media (max-width: 600px){.new-project-page{padding:.5rem;min-height:100vh;width:100%;max-width:100%}.new-project-page .projects-header{padding:.625rem;border-radius:.625rem;margin-bottom:.75rem;width:100%;max-width:100%}.new-project-page .projects-header h1{font-size:clamp(1.125rem,5vw,1.375rem)}.new-project-page .create-project-link{padding:.625rem .875rem;font-size:.875rem}.carousel-card{max-width:100%;width:100%;margin-inline:auto}.new-project-form{min-height:auto;width:100%}.step-content-wrapper{min-height:auto;width:100%;padding-inline:0}.form-section{width:100%;max-width:min(100%,40rem);margin-inline:auto;padding:0}.form-row{flex-direction:column;gap:1rem;width:100%;max-width:100%}.keywords-input-container{flex-wrap:wrap}.keywords-input-container .form-input{width:100%;flex:1 1 100%}.add-keyword-btn{width:100%;min-height:2.625rem}.date-inputs-row{gap:1.25rem}.radio-option,.nav-btn,.submit-btn,.form-input,.add-keyword-btn{max-width:100%}.date-inputs-row .form-group{width:100%;margin-bottom:0;max-width:100%;box-sizing:border-box}.date-inputs-row .form-group label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#475569;margin-bottom:.5rem}.keywords-input-container .form-input::placeholder{opacity:.5}.summary-item{flex-direction:column;gap:.375rem;align-items:flex-start}.summary-label{min-width:auto}.summary-value{text-align:left;max-width:100%}.summary-keywords{max-width:100%;justify-content:flex-start}.preset-buttons{gap:.5rem;width:100%;max-width:100%}.preset-btn{flex:1;min-width:0;font-size:.8125rem;padding:.5rem .625rem}.step-indicator{gap:.375rem;margin-bottom:1.25rem}.step-dot{height:6px}.form-input{font-size:1rem;padding:.625rem .75rem}textarea.form-input{min-height:clamp(5rem,12vh,6.25rem)}input[type=date].form-input{font-size:1rem;min-height:3rem;padding:.75rem 2rem .75rem .75rem;max-width:100%;overflow:hidden;background-color:#fff;box-shadow:0 1px 3px #0000000d}input[type=date].form-input:hover{border-color:#94a3b8;box-shadow:0 2px 6px #00000014}input[type=date].form-input::-webkit-calendar-picker-indicator{font-size:1.25rem}.date-inputs-row{gap:1rem;width:100%;max-width:100%}.form-group.half{width:100%;max-width:100%}.radio-option{padding:.875rem}.radio-label strong{font-size:.9375rem}.radio-desc{font-size:.8125rem}}@media (max-width: 480px){.new-project-page{padding:.375rem;width:100%;max-width:100%}.new-project-page .projects-header{width:100%;max-width:100%;padding:.5rem}.carousel-card{width:100%;max-width:100%}.new-project-form,.step-content-wrapper{min-height:auto;width:100%}.form-section{width:100%;padding:0}.preset-buttons{flex-direction:column;gap:.375rem;width:100%}.preset-btn{width:100%;text-align:center;font-size:.8125rem;padding:.625rem}.carousel-actions{flex-direction:column-reverse;gap:.625rem;padding-top:1rem}.nav-btn,.submit-btn{width:100%;min-width:auto;font-size:.875rem;padding:.625rem .875rem}.nav-btn.back{width:100%}.form-group{margin-bottom:.75rem;width:100%;max-width:100%;min-width:0;margin-inline:auto;padding-inline:.125rem}.form-group label{font-size:.8125rem;margin-bottom:.375rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;color:#475569}input[type=date].form-input{font-size:.9375rem;min-height:2.75rem;padding:.625rem 1.5rem .625rem .625rem;max-width:100%;overflow:hidden;background-color:#fff;box-shadow:0 1px 3px #0000000d}input[type=date].form-input:hover{border-color:#94a3b8;box-shadow:0 2px 6px #00000014}input[type=date].form-input::-webkit-calendar-picker-indicator{font-size:1.125rem}.section-desc{font-size:.8125rem;margin-bottom:.75rem}.form-section h3{font-size:1rem;margin-bottom:.375rem}.keywords-input-container{gap:.375rem;width:100%;max-width:100%}.add-keyword-btn{padding:0 .625rem;font-size:.8125rem}.keyword-tag{font-size:.75rem;padding:.1875rem .5rem}.summary-section{padding:.875rem}.summary-section h4{font-size:.75rem;margin-bottom:.625rem}.summary-keyword-tag{font-size:.75rem;padding:.1875rem .5rem}}@media (max-width: 380px){.new-project-page{padding:.25rem;width:100%;max-width:100%}.new-project-page .projects-header{padding:.5rem;width:100%;max-width:100%}.new-project-page .projects-header h1{font-size:clamp(1rem,5vw,1.25rem)}.new-project-page .create-project-link{padding:.5rem .75rem;font-size:.8125rem}.carousel-card{width:100%;max-width:100%}.form-section{width:100%;padding:0}.form-section h3{font-size:.9375rem}.section-desc{font-size:.75rem}.radio-option{padding:.625rem;gap:.375rem}.radio-label strong{font-size:.8125rem}.radio-label strong .form-group>.form-input,.radio-label strong .form-group>select.form-input,.radio-label strong .form-group>input.form-input,.radio-label strong .form-group>textarea.form-input,.radio-label strong .form-group>input[type=date].form-input{width:100%;max-width:100%;min-width:0;margin-inline:auto}.radio-desc{font-size:.6875rem}.nav-btn,.submit-btn{font-size:.8125rem;padding:.5rem .75rem}}@media (max-width: 340px){.new-project-page{padding:.25rem;width:100%;max-width:100%}.new-project-page .projects-header{padding:.375rem;width:100%;max-width:100%}.carousel-card{width:100%;max-width:100%}.form-section{width:100%;padding:0}.new-project-page .create-project-link{padding:.5rem .625rem;font-size:.75rem}.form-input{padding:.375rem .5rem;font-size:.875rem}.form-section h3{font-size:.875rem}}@media (min-width: 1024px){.carousel-card{max-width:min(50rem,90vw)}.new-project-form{min-height:clamp(30rem,55vh,34.375rem)}.step-content-wrapper{min-height:clamp(24rem,42vh,26.25rem)}.form-section h3{font-size:1.5rem}.section-desc{font-size:1rem}}@media (min-width: 1200px){.carousel-card{max-width:min(56.25rem,85vw)}.new-project-form{min-height:clamp(32rem,58vh,37.5rem)}.step-content-wrapper{min-height:clamp(26rem,46vh,28.75rem)}.new-project-page{padding:2rem 3rem}}@media (min-width: 1600px){.carousel-card{max-width:min(60vw,1200px)}.new-project-form{min-height:max(650px,50vh)}.step-content-wrapper{min-height:45vh}.new-project-page{padding:clamp(2rem,3vw,4rem) clamp(3rem,4vw,5rem)}.form-section h3{font-size:clamp(1.5rem,2vw,2rem)}.section-desc{font-size:clamp(1rem,1.2vw,1.25rem);margin-bottom:clamp(1.5rem,2vh,2rem)}.form-group label{font-size:clamp(.9375rem,1.1vw,1.125rem)}.form-input{font-size:clamp(1rem,1.15vw,1.125rem);padding:clamp(.75rem,1vh,.875rem) clamp(1rem,1.3vw,1.25rem)}.new-project-page .projects-header h1{font-size:clamp(2rem,2.5vw,2.75rem)}.new-project-page .projects-header{padding:clamp(1.5rem,2vw,2rem) clamp(1.5rem,2.5vw,2.5rem);margin-bottom:clamp(1.5rem,2.5vh,2.5rem)}.step-dot{height:clamp(6px,.6vh,10px)}.step-indicator{gap:clamp(.5rem,.7vw,.875rem);margin-bottom:clamp(2rem,2.5vh,2.5rem)}.nav-btn,.submit-btn{font-size:clamp(1rem,1.15vw,1.125rem);padding:clamp(.75rem,1vh,.875rem) clamp(2rem,3vw,2.5rem);min-width:clamp(160px,18vw,200px)}.carousel-actions{padding-top:clamp(2rem,3vh,2.5rem);gap:clamp(1rem,1.5vw,1.5rem)}.radio-label strong{font-size:clamp(1rem,1.15vw,1.125rem)}.radio-desc{font-size:clamp(.875rem,1vw,1rem)}.radio-option{padding:clamp(1.25rem,1.5vw,1.5rem);gap:clamp(.875rem,1.2vw,1.25rem);border-radius:12px}.radio-option:before{width:clamp(18px,1.3vw,20px);height:clamp(18px,1.3vw,20px)}.form-group{margin-bottom:clamp(1.25rem,2vh,1.75rem)}.summary-section{padding:clamp(1.5rem,2vh,2rem)}.summary-section h4{font-size:clamp(.875rem,1vw,1rem);margin-bottom:clamp(1rem,1.5vh,1.25rem)}.summary-label{font-size:clamp(.875rem,1vw,1rem);min-width:clamp(100px,12vw,120px)}.summary-value{font-size:clamp(.9375rem,1.05vw,1.0625rem)}.date-presets{padding:clamp(1.25rem,1.5vw,1.5rem)}.preset-label{font-size:clamp(.875rem,1vw,1rem)}.preset-btn{font-size:clamp(.875rem,1vw,1rem);padding:clamp(.625rem,.8vh,.75rem) clamp(1.125rem,1.5vw,1.375rem)}}.persona-count-badge{display:inline-block;margin-left:clamp(.375rem,1vw,.5rem);padding:clamp(.125rem,.3vh,.1875rem) clamp(.5rem,1.2vw,.625rem);background:#3b82f6;color:#fff;border-radius:999px;font-size:clamp(.75rem,1.6vw,.8125rem);font-weight:700;vertical-align:middle}.persona-range{width:100%;accent-color:#3b82f6;cursor:pointer;margin:clamp(.375rem,.8vh,.5rem) 0 clamp(.25rem,.5vh,.375rem);height:clamp(6px,1vh,8px)}.range-labels{display:flex;justify-content:space-between;font-size:clamp(.75rem,1.6vw,.8125rem);color:#94a3b8;font-weight:500}.persona-types-group{display:flex;flex-direction:column;gap:clamp(.5rem,1.2vh,.75rem)}.field-hint{display:block;font-size:clamp(.75rem,1.6vw,.8125rem);color:#64748b;margin-top:clamp(.375rem,.8vh,.5rem);line-height:1.5;word-wrap:break-word;overflow-wrap:break-word}.keywords-list::-webkit-scrollbar{width:6px;height:6px}.keywords-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.keywords-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.keywords-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}*:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.step-slide{animation:none}}.profile-page{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem;padding-bottom:3rem;min-height:100vh;overflow-y:auto}@media (min-width: 1024px){.profile-page{padding:0 1rem 3rem;height:auto;overflow-y:visible}}.profile-header-banner{display:flex;align-items:center;gap:1.5rem;padding:1.5rem 2rem;background:linear-gradient(to right,#e3f2fd,#bbdefb,#90caf9 70%,#64b5f6);border-radius:16px;box-shadow:0 2px 8px #0000000f;border:1px solid rgba(255,255,255,.6)}.profile-header-info{display:flex;flex-direction:column;gap:.2rem}.profile-display-name{margin:0;font-size:1.35rem;font-weight:700;color:#0f172a;line-height:1.2}.profile-display-email{margin:0;font-size:.875rem;color:#334155}.profile-member-since{margin:0;font-size:.775rem;color:#475569}.profile-sections{display:flex;flex-direction:column;gap:1.25rem}.profile-card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000a;overflow:hidden}.profile-card-header{padding:1.1rem 1.5rem .75rem;border-bottom:1px solid #f1f5f9}.profile-card-header h2{margin:0;font-size:.95rem;font-weight:600;color:#0f172a;letter-spacing:-.01em}.profile-form{padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.profile-field{display:flex;flex-direction:column;gap:.35rem}.profile-field label{font-size:.8rem;font-weight:500;color:#475569}.profile-input{width:100%;padding:.6rem .875rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.9rem;color:#1e293b;background:#fff;transition:border-color .2s,box-shadow .2s;box-sizing:border-box;font-family:inherit}.profile-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.profile-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.profile-hint{margin:0;font-size:.775rem;color:#64748b;line-height:1.5}.profile-checkbox-field{display:flex;flex-direction:column;gap:.35rem}.profile-checkbox-label{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;padding:.75rem;border-radius:8px;transition:background .15s}.profile-checkbox-label:hover{background:#f8fafc}.profile-checkbox{margin-top:.15rem;width:18px;height:18px;min-width:18px;cursor:pointer;accent-color:#2563eb}.profile-checkbox:disabled{cursor:not-allowed;opacity:.5}.profile-checkbox-text{display:flex;flex-direction:column;gap:.25rem;flex:1}.profile-checkbox-text strong{font-size:.875rem;font-weight:600;color:#0f172a}.profile-checkbox-desc{font-size:.775rem;color:#64748b;line-height:1.4}.profile-form-actions{display:flex;justify-content:flex-end;padding-top:.25rem}.profile-btn{padding:.55rem 1.25rem;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;border:none;transition:all .2s}.profile-btn.primary{background:#2563eb;color:#fff;box-shadow:0 1px 2px #0000001a}.profile-btn.primary:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 8px #2563eb33}.profile-btn.primary:disabled{background:#93c5fd;cursor:not-allowed;transform:none;box-shadow:none}.profile-btn-link{background:none;border:none;color:#ef4444;font-size:.775rem;font-weight:500;cursor:pointer;padding:.2rem .5rem;border-radius:4px;transition:background .15s}.profile-btn-link:hover{background:#ef444414}.profile-pending-email{display:flex;align-items:center;gap:.6rem;background:#fffbeb;border-bottom:1px solid #fde68a;padding:.75rem 1.5rem;font-size:.82rem;color:#92400e;flex-wrap:wrap}.pending-dot{width:8px;height:8px;min-width:8px;border-radius:50%;background:#f59e0b;animation:pulse-dot 2s infinite}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.5}}@media (max-width: 600px){.profile-header-banner{flex-direction:column;align-items:flex-start;gap:1rem;padding:1.25rem;border-radius:12px}.profile-card-header{padding:1rem 1.25rem .75rem}.profile-form{padding:1rem 1.25rem}.profile-display-name{font-size:1.2rem}}.admin-card-header{display:flex;align-items:center;gap:.6rem}.admin-badge{font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#7c3aed;color:#fff;padding:.15rem .55rem;border-radius:99px}.invite-codes-list{border-top:1px solid #f1f5f9;padding:.5rem 0 .75rem}.invite-codes-empty{padding:1rem 1.5rem;font-size:.82rem;color:#94a3b8;margin:0}.invite-code-item{display:flex;flex-direction:column;gap:.3rem;padding:.65rem 1.5rem;border-bottom:1px solid #f8fafc;transition:background .15s}.invite-code-item:last-child{border-bottom:none}.invite-code-item:hover{background:#f8fafc}.invite-code-item.used{opacity:.55}.invite-code-main{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.invite-code-value{font-family:ui-monospace,Fira Code,monospace;font-size:.82rem;background:#f1f5f9;padding:.2rem .5rem;border-radius:5px;color:#1e293b;letter-spacing:.03em;word-break:break-all}.invite-code-copy-btn{background:#e0f2fe;color:#0369a1;border:none;border-radius:5px;font-size:.72rem;font-weight:600;padding:.2rem .6rem;cursor:pointer;transition:background .15s}.invite-code-copy-btn:hover{background:#bae6fd}.invite-code-badge{font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.15rem .5rem;border-radius:99px}.invite-code-badge.active,.invite-code-badge.unused{background:#dcfce7;color:#15803d}.invite-code-badge.used{background:#f1f5f9;color:#64748b}.invite-code-meta{display:flex;align-items:center;gap:.75rem;font-size:.75rem;color:#64748b;flex-wrap:wrap}.privacy-page{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem;padding-bottom:3rem}.privacy-header-banner{padding:1.5rem 2rem;background:linear-gradient(to right,#e3f2fd,#bbdefb,#90caf9 70%,#64b5f6);border-radius:16px;box-shadow:0 2px 8px #0000000f;border:1px solid rgba(255,255,255,.6)}.privacy-header-content{display:flex;flex-direction:column;gap:.2rem}.privacy-last-updated{margin:0;font-size:.875rem;color:#334155;font-style:italic}.privacy-intro-card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000a;padding:1.5rem}.privacy-intro-card p{margin:0;font-size:1rem;line-height:1.6;color:#475569}.privacy-card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000a;overflow:hidden}.privacy-card-header{padding:1.1rem 1.5rem .75rem;border-bottom:1px solid #f1f5f9}.privacy-card-header h2{margin:0;font-size:1.1rem;font-weight:600;color:#0f172a}.privacy-card-content{padding:1.25rem 1.5rem}.privacy-card-content p{font-size:.95rem;line-height:1.6;color:#475569;margin:0 0 1rem}.privacy-card-content p:last-child{margin-bottom:0}.privacy-card-content ul{margin:.5rem 0;padding-left:1.5rem}.privacy-card-content li{font-size:.95rem;line-height:1.6;color:#475569;margin-bottom:.5rem}.privacy-card-content li strong{color:#0f172a;font-weight:600}.privacy-highlight{background-color:#f8fafc;border:1px solid #e2e8f0;border-left:3px solid #3b82f6;padding:1.25rem;border-radius:8px;margin:1rem 0 .5rem}.privacy-highlight h3{margin:0 0 .75rem;font-size:.95rem;font-weight:600;color:#0f172a}.privacy-highlight ul{margin:0;padding-left:1.5rem}.privacy-highlight li{margin-bottom:.4rem}.privacy-emphasis{font-weight:600;color:#0f172a;background-color:#f1f5f9;padding:.75rem 1rem;border-radius:8px;margin-top:1rem}.contact-info{margin:0}.contact-info>p{margin-bottom:1rem;font-weight:500;color:#0f172a}.contact-details{background-color:#f8fafc;padding:1.25rem;border-radius:8px;border:1px solid #e2e8f0}.contact-details h3{margin:0 0 .75rem;color:#0f172a;font-size:1rem;font-weight:600}.contact-details p{margin:.4rem 0;font-size:.9rem;color:#475569}.privacy-card-content a{color:#3b82f6;text-decoration:none;font-weight:500;transition:color .2s ease}.privacy-card-content a:hover{color:#2563eb;text-decoration:underline}@media (max-width: 768px){.privacy-page{padding-bottom:2rem}.privacy-header-banner{padding:1.25rem 1.5rem;border-radius:12px}.privacy-intro-card{padding:1.25rem}.privacy-card-header{padding:1rem 1.25rem .65rem}.privacy-card-content{padding:1rem 1.25rem}}@media (max-width: 480px){.privacy-header-banner{padding:1rem 1.25rem}.privacy-intro-card{padding:1rem}.privacy-card-header{padding:.9rem 1rem .6rem}.privacy-card-header h2{font-size:1rem}.privacy-card-content{padding:.9rem 1rem}.privacy-card-content p,.privacy-card-content li{font-size:.9rem}.privacy-highlight,.contact-details{padding:1rem}}.header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:0 2rem}.header-container{display:flex;justify-content:space-between;align-items:center;height:60px;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:.65rem 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:.3rem}.footer-content p{margin:0;font-size:.775rem}.footer-links{display:flex;gap:1.5rem}.footer-link{color:#6c757d;text-decoration:none;font-size:.775rem;font-weight:500;transition:color .2s ease}.footer-link:hover{color:#495057;text-decoration:underline}@media (max-width: 768px){.footer{padding:.65rem 1rem}.footer-content{gap:.35rem}.footer-content p{font-size:.75rem;text-align:center}.footer-link{font-size:.75rem}.university-name{display:block;margin-top:.25rem}}@media (max-width: 480px){.footer{padding:.6rem .75rem}.footer-content p,.footer-link{font-size:.7rem}}#root{width:100%;max-width:100%;margin:0;padding:0;text-align:left;overflow-x:hidden}.App{display:flex;flex-direction:column;background-color:#f8fafc;min-height:100vh}.App.auth-app{height:100vh;max-height:100vh;overflow:hidden}.main-content{flex:1;min-height:0;padding:0;background-color:#f8fafc;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.App.auth-app .main-content{overflow:hidden;min-height:0}@media (min-width: 1024px){.App.projects-list-app{height:100vh;max-height:100vh;overflow:hidden}.App.projects-list-app .main-content{overflow:hidden;min-height:0}}: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;background-color:#f8fafc;overflow-x:hidden;-webkit-overflow-scrolling:touch;overflow-scrolling:touch}#root{width:100%}.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}html,body,#root{overflow-x:hidden;width:100%}.App{min-height:auto}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}}
