#ai-review:not(:empty){margin-top:20px}
.ai-review h3{font-size:1rem;margin:26px 0 10px}
.ai-review h4{font-size:.9rem;margin:16px 0 8px}
.ai-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.ai-head h2{margin:0 0 4px}
.ai-status:not(:empty){margin:14px 0;color:#8a3b2b;font-weight:600}
.ai-summary{font-size:1rem;margin:18px 0}
.ai-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.ai-tile{border:1px solid var(--line);border-radius:10px;padding:14px;display:grid;gap:4px;background:#fbfdfd}
.ai-tile span{font-size:.78rem;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.ai-tile strong{font-size:1.45rem;letter-spacing:-.02em;color:var(--ink)}
.ai-tile small{font-size:.8rem}
.ai-section{border-top:1px solid #e6edf0;padding:12px 0}
.ai-section summary{cursor:pointer;font-weight:650}
.ai-table{overflow-x:auto}
.ai-table table{width:100%;border-collapse:collapse;font-size:.88rem;margin-top:10px}
.ai-table th,.ai-table td{text-align:left;padding:8px;border-bottom:1px solid #e6edf0;white-space:nowrap}
.ai-group{margin-bottom:14px}
.ai-finding{border:1px solid var(--line);border-left:4px solid #9fb6bf;border-radius:9px;margin:8px 0;background:white}
.ai-finding.potential_noncompliance{border-left-color:#c0563b}
.ai-finding.insufficient_evidence,.ai-finding.source_conflict,.ai-finding.human_judgment_required{border-left-color:#c99a2e}
.ai-finding.appears_to_meet{border-left-color:#3e8e6b}
.ai-finding summary{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;cursor:pointer;list-style:none}
.ai-finding summary::-webkit-details-marker{display:none}
.ai-finding-title{display:grid;gap:2px;min-width:0}
.ai-finding-body{padding:0 14px 14px;font-size:.9rem}
.ai-finding-body p{margin:8px 0}
.ai-priority{font-size:.7rem;font-weight:700;text-transform:uppercase;border-radius:5px;padding:3px 7px;background:#e9f2f3;color:#356779;flex:none}
.ai-priority.high{background:#fbe9e4;color:#8a3b2b}
.ai-priority.medium{background:#fff4dc;color:#7a5b20}
.ai-cites{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.ai-cite{font-size:.85rem;border:1px solid #e6edf0;border-radius:8px;padding:9px 11px;overflow-wrap:anywhere}
.ai-quote{font-style:italic}
.ai-verify{display:inline-block;font-size:.7rem;font-weight:650;border-radius:5px;padding:2px 7px;margin:0 8px 4px 0}
.ai-verify.ok{background:#e5f3ec;color:#2f6b50}
.ai-verify.check{background:#eef1f8;color:#4a5785}
.ai-verify.warn{background:#fbe9e4;color:#8a3b2b}
@media (max-width:600px){.ai-review{padding:20px}.ai-head button{width:100%}}
.ai-start-confirmation{margin:18px 0;padding:20px;border:1px solid #dfc6aa;border-radius:12px;background:#fffaf4}.ai-start-confirmation h3{margin-top:0}.ai-packet-documents{margin:16px 0;padding-left:20px;max-height:280px;overflow:auto}.ai-packet-documents li{padding:8px 0;overflow-wrap:anywhere}.ai-start-confirmation .check{line-height:1.6}.ai-start-confirmation .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.ai-start-confirmation button{min-height:44px}@media(max-width:600px){.ai-start-confirmation{padding:16px}.ai-start-confirmation .actions button{flex:1}}
.ai-v3-documents{border:1px solid #e6edf0;border-radius:10px;padding:8px 14px 4px;margin:14px 0}
.ai-v3-documents legend{font-weight:650;font-size:.9rem;padding:0 6px}
.ai-v3-documents label{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-weight:400}
.ai-v3-documents label span{min-width:0;overflow-wrap:anywhere}
.ai-v3-documents input{display:inline-block;width:20px;height:20px;min-height:20px;padding:0;margin:1px 0 0;flex:0 0 20px}
.ai-decide{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
