:root{font-family:Manrope,system-ui,-apple-system,Segoe UI,sans-serif;color:#0f172a;background:radial-gradient(circle at 20% 20%,#eef2ff 0,transparent 35%),radial-gradient(circle at 80% 10%,#e0f2fe 0,transparent 40%),#f8fafc;min-height:100%}*{box-sizing:border-box}body{margin:0}.app-shell{max-width:1200px;margin:0 auto;padding:32px 20px 48px}.hero{padding:12px 8px 24px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:#6366f1;margin:0 0 4px}h1{margin:0 0 8px;font-size:clamp(28px,4vw,36px)}.subhead{margin:0;color:#475569;max-width:640px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;box-shadow:0 12px 40px #0f172a14}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.label{margin:0;font-weight:700}.muted{margin:2px 0 0;color:#64748b;font-size:14px}.upload-box{display:flex;flex-direction:column;gap:10px}.upload-box input[type=file]{border:1px dashed #cbd5e1;padding:12px;border-radius:10px;background:#f8fafc}button{background:linear-gradient(120deg,#6366f1,#0ea5e9);color:#fff;border:none;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}button:disabled{opacity:.6;cursor:not-allowed;transform:none}button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 10px 24px #6366f14d}.status{font-size:13px}.chat{display:flex;flex-direction:column;gap:12px}.chat-window{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px;min-height:280px;max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.message{padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 20px #0f172a0f}.message.user{border-color:#c7d2fe}.message.assistant{border-color:#bae6fd;background:#f8fdff}.message-role{font-weight:700;font-size:13px;margin-bottom:4px;color:#475569}.message p{margin:0;white-space:pre-wrap}.input-row{display:flex;gap:10px}.input-row input{flex:1;padding:12px;border-radius:10px;border:1px solid #cbd5e1;background:#fff}.error{color:#b91c1c;margin:0}details{margin-top:8px;font-size:13px}details summary{cursor:pointer;color:#0ea5e9}@media (max-width: 640px){.input-row{flex-direction:column}button{width:100%}}
