:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#1f2933;background:#f6f7f9;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:16px}*{box-sizing:border-box}body{background:#f6f7f9;min-height:100vh;margin:0}a{color:#2563eb;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}.app-shell{max-width:720px;min-height:100vh;margin:0 auto;padding:24px 20px 56px}.page-header{justify-content:space-between;align-items:center;padding:12px 4px 20px;display:flex}.brand{color:#2563eb;font-size:20px;font-weight:700}.back-link{color:#2563eb;background:0 0;border:0;padding:6px 10px;font-size:14px}.back-link:hover{text-decoration:underline}.page-title{color:#111827;margin:0 0 8px;font-size:28px;font-weight:700}.page-subtitle{color:#5b6472;margin:0 0 20px;font-size:14px;line-height:1.55}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin:16px 0;padding:20px}.card .section-title{color:#111827;margin:0 0 12px;font-size:16px;font-weight:700}.muted{color:#667085;font-size:14px;line-height:1.55}.stack{flex-direction:column;gap:12px;display:flex}.row{align-items:center;gap:10px;display:flex}.btn{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-size:15px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.btn.primary{color:#fff;background:#2563eb;border-color:#2563eb}.btn.primary:hover:not(:disabled){background:#1d4ed8}.btn.secondary{color:#1f2933;background:#fff;border-color:#cbd5e1}.btn.secondary:hover:not(:disabled){background:#f3f4f6}.btn.danger{color:#fff;background:#dc2626;border-color:#dc2626}.btn.full{width:100%}.btn-link.danger{color:#b42318;background:0 0;border:0;border-radius:6px;padding:6px 10px;font-size:14px}.btn-link.danger:hover:not(:disabled){background:#fef3f2}.error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:8px;margin:12px 0;padding:12px 14px;font-size:14px;line-height:1.5}.hint{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin:12px 0;padding:12px 14px;font-size:14px}.dropzone{text-align:center;color:#475569;cursor:pointer;background:#fff;border:2px dashed #cbd5e1;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px 16px;transition:border-color .15s,background .15s;display:flex}.dropzone.dragging,.dropzone:hover{background:#eff6ff;border-color:#2563eb}.dropzone input[type=file]{display:none}.preview{background:#f6f7f9;border:1px solid #e5e7eb;border-radius:12px;max-width:100%;max-height:320px;margin-top:16px}.consent-row{color:#1f2933;align-items:flex-start;gap:10px;font-size:14px;display:flex}.consent-row input{margin-top:3px}.score-box{align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.score-value{color:#2563eb;font-size:56px;font-weight:800;line-height:1}.score-label{color:#5b6472;font-size:14px}.confidence{color:#475569;margin-top:6px;font-size:13px}.observation-item{border-top:1px solid #eef2f7;padding:14px 0}.observation-item:first-of-type{border-top:0}.observation-title{margin-bottom:6px;font-weight:700}.bullet{margin:0;padding:0;list-style:none}.bullet li{color:#4b5563;padding:6px 0 6px 18px;font-size:14px;line-height:1.55;position:relative}.bullet li:before{content:"";background:#2563eb;border-radius:50%;width:6px;height:6px;position:absolute;top:14px;left:0}.card.risk{background:#fff7ed;border-color:#fed7aa}.history-row{cursor:pointer;border-top:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.history-row:first-of-type{border-top:0}.history-row .meta{flex:1}.history-row .status{font-weight:700}.history-row .time{color:#667085;margin-top:2px;font-size:13px}.spinner{border:2px solid;border-bottom-color:#0000;border-radius:50%;width:18px;height:18px;animation:1s linear infinite rotate;display:inline-block}@keyframes rotate{to{transform:rotate(360deg)}}@media (width>=920px){.app-shell{padding-top:40px}}
