body{font-family:ui-sans-serif,system-ui,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";background:#f7f7fb;color:#111}
.container{max-width:1000px;margin:0 auto;padding:24px}
.header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.badge{font-size:12px;padding:4px 8px;border-radius:999px;background:#e7e7ff;color:#4b48ff}
.card{background:white;border:1px solid #e5e7eb;border-radius:10px;padding:16px;margin:12px 0;box-shadow:0 1px 2px rgba(0,0,0,0.04)}
.btn{background:#4b48ff;color:#fff;border:none;border-radius:8px;padding:10px 14px;cursor:pointer}
.btn:disabled{opacity:.6;cursor:not-allowed}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.analysis-card{background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);border:1px solid #cbd5e1;padding:16px;border-radius:8px;margin:8px 0}
.metric{display:inline-block;background:#e7e7ff;color:#4b48ff;padding:4px 8px;border-radius:4px;margin:2px 4px;font-size:14px;font-weight:500}
textarea{width:100%;min-height:90px;padding:8px;border:1px solid #e5e7eb;border-radius:8px}
input[type=file]{display:block;margin-top:6px}
pre{white-space:pre-wrap;background:#0b1020;color:#d7e7ff;padding:12px;border-radius:8px;overflow:auto;font-family:ui-monospace,Consolas,'Liberation Mono',monospace;line-height:1.5}
canvas{max-width:100%;background:white;border:1px solid #e5e7eb;border-radius:8px}
