.app{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.app-header{text-align:center;color:#fff;margin-bottom:3rem}.app-header h1{font-size:3rem;margin-bottom:.5rem;font-weight:700}.subtitle{font-size:1.2rem;opacity:.9}.main-content{max-width:900px;margin:0 auto}.search-form{display:flex;gap:1rem;margin-bottom:2rem}.search-input{flex:1;padding:1rem 1.5rem;font-size:1rem;border:none;border-radius:50px;box-shadow:0 4px 6px #0000001a;outline:none;transition:box-shadow .3s ease}.search-input:focus{box-shadow:0 6px 12px #00000026}.search-button{padding:1rem 2rem;font-size:1rem;font-weight:600;color:#fff;background-color:#4c51bf;border:none;border-radius:50px;cursor:pointer;transition:background-color .3s ease,transform .1s ease;box-shadow:0 4px 6px #0000001a}.search-button:hover{background-color:#434190;transform:translateY(-1px)}.search-button:active{transform:translateY(0)}.results-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 10px 25px #0000001a;min-height:300px}.placeholder-text{text-align:center;color:#718096;font-size:1.1rem;margin-top:4rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:600px;width:90%;max-height:80vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;font-size:1.5rem;color:#2d3748}.modal-close{background:none;border:none;font-size:2rem;color:#718096;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.modal-close:hover{background-color:#f7fafc}.modal-body{padding:1.5rem}.modal-footer{padding:1.5rem;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:.75rem}.markdown-upload-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#2d3748;font-size:.95rem}.file-input{padding:.75rem;border:2px dashed #cbd5e0;border-radius:8px;background-color:#f7fafc;cursor:pointer;transition:border-color .2s,background-color .2s}.file-input:hover{border-color:#4c51bf;background-color:#edf2f7}.selected-files{margin-top:1rem}.selected-files-title{font-size:1rem;color:#2d3748;margin-bottom:.75rem;font-weight:600}.file-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.file-list-item{padding:.75rem;background-color:#f7fafc;border-radius:6px;border:1px solid #e2e8f0;color:#2d3748;font-size:.9rem}.ingest-button{padding:.75rem 1.5rem;font-size:.95rem;font-weight:600;color:#fff;background-color:#4c51bf;border:none;border-radius:8px;cursor:pointer;transition:background-color .2s,transform .1s;box-shadow:0 2px 4px #0000001a}.ingest-button:hover{background-color:#434190;transform:translateY(-1px)}.ingest-button:active{transform:translateY(0)}.ingest-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.spinner{width:18px;height:18px;border:2px solid #e2e8f0;border-top-color:#4c51bf;border-radius:50%;display:inline-block;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.ingestion-page{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem}.ingestion-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.ingestion-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 16px #0000000d}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:.75rem;border-bottom:1px solid #e2e8f0;text-align:left}.table-title{font-weight:600;color:#1a202c}.table-subtitle{font-size:.85rem;color:#718096}.table-actions{display:flex;gap:.5rem;justify-content:flex-end}.status-badge{display:inline-flex;align-items:center;padding:.1rem .75rem;border-radius:999px;font-size:.8rem;background:#edf2f7;color:#2d3748;text-transform:capitalize}.status-badge.success{background:#c6f6d5;color:#22543d}.status-badge.muted{background:#e2e8f0;color:#4a5568}.status-badge.status-running{background:#c3dafe;color:#1a365d}.status-badge.status-failed{background:#fed7d7;color:#742a2a}.secondary-button{padding:.6rem 1rem;border:1px solid #cbd5f5;background:#fff;border-radius:8px;cursor:pointer}.secondary-button:hover{background:#f7fafc}.ingestion-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.toggle-row{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.button-row{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}.ingestion-form{display:flex;flex-direction:column;gap:1rem}.ingestion-form input,.ingestion-form select{padding:.65rem;border-radius:8px;border:1px solid #cbd5e0}.form-hint{font-size:.8rem;color:#718096}.checkbox-label{display:inline-flex;align-items:center;gap:.4rem;font-weight:500}.error-text{color:#c53030;font-weight:600}.ingestion-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1rem;align-items:end}.ingestion-filters label{display:flex;flex-direction:column;gap:.3rem;font-weight:600}.filter-summary{margin-top:-.5rem;margin-bottom:1rem;color:#4a5568}.content-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.content-card{border:1px solid #edf2f7;border-radius:12px;padding:1rem;display:flex;flex-direction:column;gap:.5rem}.content-meta{font-size:.85rem;color:#718096}.content-body{color:#2d3748;line-height:1.4}.content-card header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.content-card footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto}.quality-chip{background:#ebf8ff;color:#2c5282;padding:.15rem .5rem;border-radius:999px;font-size:.8rem}.layout-shell{display:flex;min-height:100vh;background:#0a0a0a;color:#e0e0e0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.layout-sidebar{width:240px;background:#1a1a1a;border-right:1px solid #2a2a2a;padding:1.5rem 0;flex-shrink:0}.layout-main{flex:1;display:flex;flex-direction:column;overflow-x:hidden}.layout-toolbar{padding:1rem 2rem;border-bottom:1px solid #2a2a2a}.layout-content{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%}.layout-footer{padding:2rem;border-top:1px solid #2a2a2a}.sidebar-nav{padding:0}.sidebar-nav-list{list-style:none;margin:0;padding:0}.sidebar-nav-item{margin:0}.sidebar-nav-button{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1.25rem;background:transparent;border:none;color:#a0a0a0;font-size:.85rem;text-align:left;cursor:pointer;transition:all .2s ease;border-left:3px solid transparent}.sidebar-nav-button:hover{background:#222;color:#fff}.sidebar-nav-button.active{background:#2a2a2a;color:#fff;border-left-color:#6366f1}.sidebar-nav-icon{font-size:1.25rem}.sidebar-nav-label{font-weight:500}.top-toolbar{display:flex;gap:.5rem;justify-content:center;align-items:center}.toolbar-button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:8px;color:#a0a0a0;cursor:pointer;transition:all .2s ease}.toolbar-button:hover{background:#2a2a2a;border-color:#3a3a3a;color:#fff;transform:translateY(-2px)}.toolbar-icon{font-size:1.25rem}.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:3rem}@media(max-width:1023px){.card-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.card-grid{grid-template-columns:1fr}}.promo-card{background:linear-gradient(135deg,#1a1a2e,#16213e);border:1px solid #2a2a3e;border-radius:16px;padding:2rem;display:flex;flex-direction:column;align-items:center;gap:1.5rem;transition:transform .2s ease,box-shadow .2s ease}.promo-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #6366f126}.promo-card-validity{font-size:.875rem;color:#a0a0a0;text-align:center}.promo-card-chip{background:#0a0a0a;border:2px solid #2a2a3e;border-radius:12px;padding:2rem 2.5rem;text-align:center}.promo-card-units{font-size:2.5rem;font-weight:700;color:#fff;line-height:1;margin-bottom:.5rem}.promo-card-units-label{font-size:.875rem;color:#a0a0a0;text-transform:uppercase;letter-spacing:.05em}.promo-card-button{width:100%;padding:.875rem 1.5rem;background:#6366f1;border:none;border-radius:8px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.promo-card-button:hover{background:#5558e3;transform:translateY(-2px);box-shadow:0 6px 12px #6366f14d}.promo-card-button:active{transform:translateY(0)}.stats-bar{display:flex;justify-content:space-around;align-items:center;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:2rem;margin-bottom:3rem;flex-wrap:wrap;gap:2rem}.stat-item{text-align:center;flex:1;min-width:120px}.stat-value{font-size:2rem;font-weight:700;color:#fff;line-height:1;margin-bottom:.5rem}.stat-label{font-size:.875rem;color:#a0a0a0;margin-bottom:.25rem}.stat-sublabel{font-size:.75rem;color:#707070}.info-section{background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;padding:2.5rem;margin-bottom:3rem}.info-section-title{font-size:1.5rem;font-weight:700;color:#fff;margin:0 0 1rem}.info-section-body{font-size:1rem;line-height:1.6;color:silver;margin:0}.info-section-link{color:#6366f1;text-decoration:none;font-weight:500;transition:color .2s ease}.info-section-link:hover{color:#8183f4;text-decoration:underline}.footer-brand{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;color:#707070;font-size:.875rem}.footer-brand-logo{display:flex;align-items:center;gap:.5rem}.footer-brand-icon{font-size:1.25rem;color:#6366f1}.footer-brand-name{font-weight:600;color:#fff}.footer-brand-curated{font-size:.875rem}@media(max-width:1023px){.layout-sidebar{width:200px}.layout-content{padding:1.5rem}.stats-bar{gap:1.5rem}}@media(max-width:767px){.layout-shell{flex-direction:column}.layout-sidebar{width:100%;border-right:none;border-bottom:1px solid #2a2a2a}.sidebar-nav-button{padding:.75rem 1rem}.layout-content{padding:1rem}.top-toolbar{flex-wrap:wrap}.stats-bar{flex-direction:column;gap:1.5rem}.footer-brand{flex-direction:column;gap:1rem;text-align:center}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
