body { font-family: system-ui; padding: 20px; background: #fafafa; max-width: 1000px; margin: 0 auto; }
h1 { font-size: 20px; margin-bottom: 4px; }
.sub { color: #888; font-size: 12px; margin-bottom: 16px; }
.stats { display: flex; gap: 12px; margin-bottom: 16px; }
.stats span { padding: 4px 12px; border-radius: 8px; font-size: 14px; }
.stat-pass { background: #dcfce7; color: #166534; }
.stat-fail { background: #fef2f2; color: #991b1b; }
.upload { margin-bottom: 20px; padding: 16px; background: white; border: 1px solid #e5e7eb; border-radius: 12px; }
.upload-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.btn { padding: 8px 16px; border: none; border-radius: 8px; background: #10b981; color: white; cursor: pointer; font-size: 14px; }
.btn:hover { background: #059669; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.section { margin-bottom: 20px; }
.section-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; padding: 6px 10px; background: #e0f2fe; border-radius: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; background: white; }
.card h3 { font-size: 13px; margin-bottom: 4px; }
.card .fn { font-size: 11px; color: #6366f1; font-family: monospace; margin-bottom: 6px; }
.result { padding: 5px 8px; border-radius: 6px; font-size: 11px; font-family: monospace; word-break: break-all; }
.pass { background: #dcfce7; color: #166534; }
.fail { background: #fef2f2; color: #991b1b; }
.pending { background: #f3f4f6; color: #9ca3af; }
.preview { max-width: 180px; max-height: 120px; border: 1px solid #eee; border-radius: 6px; margin-top: 6px; display: none; }
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-size: 14px; font-family: system-ui; pointer-events: auto; transform: translateX(120%); transition: transform 0.3s ease; max-width: 360px; }
.toast-show { transform: translateX(0); }
.toast-success { border-left: 4px solid #10b981; }
.toast-error { border-left: 4px solid #ef4444; }
.toast-warning { border-left: 4px solid #f59e0b; }
.toast-icon { font-size: 16px; font-weight: bold; }
.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-warning .toast-icon { color: #f59e0b; }
.toast-msg { flex: 1; color: #1f2937; }
.toast-close { background: none; border: none; font-size: 18px; color: #9ca3af; cursor: pointer; padding: 0 4px; line-height: 1; }
.toast-close:hover { color: #4b5563; }
.dl-link { display: inline-block; margin-top: 8px; padding: 6px 12px; background: #10b981; color: white; text-decoration: none; border-radius: 6px; font-size: 12px; }
.dl-link:hover { background: #059669; }
