.ai-dialog{width:min(760px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line,#dfe4ea);border-radius:20px;padding:28px}.ai-field{display:grid;gap:7px;margin:16px 0;font-weight:600;font-size:13px}.ai-field input,.ai-field textarea,.ai-field select{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid var(--line,#dfe4ea);border-radius:9px;background:var(--surface,#fff);font:inherit;color:inherit}.ai-field textarea{resize:vertical;line-height:1.7}.ai-output{border-top:1px solid var(--line,#dfe4ea);margin-top:22px;padding-top:8px}.ai-actions,.report-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.report-filters label{display:grid;gap:7px;font-size:13px;font-weight:600}.report-filters input,.report-filters select{padding:9px;border:1px solid var(--line,#dfe4ea);border-radius:8px;background:white;color:inherit}.report-prose{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}.report-evidence{border-top:1px solid var(--line,#dfe4ea);padding-top:10px;overflow-wrap:anywhere}.ai-settings{max-width:680px}.ai-dialog::backdrop{background:rgba(15,23,42,.45)}@media(max-width:600px){.ai-dialog{padding:18px}.report-filters{align-items:stretch}.report-filters label{flex:1 1 130px}}
@media(max-width:800px){.header-actions{flex:none}.header-actions button{white-space:nowrap;padding:7px 8px}#breadcrumb{min-width:0;overflow:hidden;white-space:nowrap}#breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis}#breadcrumb>button,#breadcrumb>span{flex-shrink:0}#breadcrumb>span:last-child{flex-shrink:1}}@media(max-width:440px){#breadcrumb>button,#breadcrumb>span:not(:last-child){display:none}#help{display:none}}

.alert-health{padding:16px 18px;border:1px solid var(--line,#dfe4ea);border-radius:12px;margin:12px 0 22px;background:var(--bg,#f7f9fc);overflow-wrap:anywhere}.alert-health p{margin:6px 0}.ai-actions button{max-width:100%;white-space:normal}
