:root{color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5;color:#1a1a1a;background:#f6f4f1}*{box-sizing:border-box}body{margin:0}#root{min-height:100vh}.app{max-width:720px;margin:0 auto;padding:2rem 1.25rem 3rem}header h1{margin:0 0 .25rem;font-size:1.75rem;font-weight:650}header p{margin:0 0 1.5rem;color:#5c5c5c}.card{background:#fff;border:1px solid #e4dfd6;border-radius:12px;padding:1.25rem;margin-bottom:1rem}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:.35rem}input[type=text],input[type=file]{width:100%}input[type=text]{padding:.6rem .75rem;border:1px solid #d4cec4;border-radius:8px;font:inherit}.file-meta{margin-top:.5rem;font-size:.875rem;color:#5c5c5c}.actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}button{font:inherit;border:none;border-radius:8px;padding:.65rem 1rem;cursor:pointer}button.primary{background:#1a1a1a;color:#fff}button.primary:disabled{opacity:.45;cursor:not-allowed}button.secondary{background:#ece7df;color:#1a1a1a}.status-badge{display:inline-block;padding:.2rem .55rem;border-radius:999px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.status-badge.pending,.status-badge.processing,.status-badge.embedding,.status-badge.describing,.status-badge.indexing{background:#e8f0ff;color:#1d4ed8}.status-badge.complete{background:#e7f7ed;color:#15803d}.status-badge.failed{background:#fdecec;color:#b91c1c}.error{margin-top:.75rem;padding:.75rem;border-radius:8px;background:#fdecec;color:#991b1b;font-size:.9rem}.step-list{margin:.75rem 0 0;padding-left:1.1rem;color:#444}.preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-top:1rem}.preview-grid figure{margin:0}.preview-grid img{width:100%;border-radius:8px;border:1px solid #e4dfd6;background:#faf9f7;aspect-ratio:1;object-fit:contain}.preview-grid figcaption{margin-top:.35rem;font-size:.8rem;color:#5c5c5c}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;word-break:break-all}
