.consistency-dialog{width:min(920px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #d8e3db;border-radius:16px;background:#fff;color:#234638;box-shadow:0 24px 80px #18392b29;overflow:hidden}.consistency-dialog[open]{display:flex;flex-direction:column}.consistency-dialog::backdrop{background:#163d2e66}.consistency-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e0e9e2;background:#f7faf7;flex:none}.consistency-heading h2{margin:0;font-size:21px}.consistency-heading>button{flex:none}.consistency-body{min-height:0;overflow:auto;padding:22px 24px;scrollbar-gutter:stable}.consistency-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #dfe8e1;background:#fafcf9;flex:none}.consistency-footer p{margin:0 auto 0 0;font-size:12px;max-width:340px}.plan-item-dialog .plan-task-edit{padding:0;border:0;box-shadow:none}.plan-item-dialog .plan-task-body{padding:0}.profile-candidate-dialog{width:min(760px,calc(100vw - 40px))}.profile-candidate-dialog .profile-review-item{padding:18px;margin:14px 0;border:1px solid #dce5dd;border-radius:10px}.profile-candidate-dialog .profile-review-item strong,.profile-review-evidence{overflow-wrap:anywhere;white-space:pre-wrap}.profile-source-references{max-height:24vh;overflow:auto;margin-bottom:14px}.profile-source-reference{border-left:3px solid #b7d0c0;padding:0 10px;margin:10px 0}.profile-source-reference [aria-pressed=true]{font-weight:700;color:#245b40}.profile-source-reference p{margin:5px 0;font-size:12px;line-height:1.7}.profile-review-open{padding-left:0}@media(max-width:700px){.consistency-dialog,.profile-candidate-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.consistency-heading,.consistency-body{padding:16px}.consistency-footer{padding:14px 16px;flex-wrap:wrap}.consistency-footer p{order:-1;max-width:none;width:100%}.consistency-dialog .plan-fields{grid-template-columns:1fr}}
