.candidate-evidence-tool{padding:1.2rem;border:1px solid #c1cdd7;background:#edf3f8;border-radius:.5rem;min-width:0;overflow-wrap:anywhere}
.candidate-evidence-tool [hidden]{display:none!important}
.ce-start{display:inline-flex;align-items:center;min-height:44px;padding:.65rem .9rem;background:#173248;color:#fff!important;border-radius:.3rem;font-weight:700;text-decoration:none!important;margin:.7rem 0}
.candidate-evidence-tool label{display:flex;flex-direction:column;gap:.4rem;margin:.9rem 0;font-size:.9rem;font-weight:700;line-height:1.5;color:#183247;min-width:0}
.candidate-evidence-tool input:not([type="checkbox"]),.candidate-evidence-tool textarea,.candidate-evidence-tool select{width:100%;min-width:0;min-height:44px;border:1px solid #7f93a6;border-radius:.25rem;padding:.55rem .65rem;background:#fff;color:#14253c;font:inherit;font-weight:400}
.candidate-evidence-tool textarea{resize:vertical;line-height:1.6}
.candidate-evidence-tool .ce-check{display:grid;grid-template-columns:22px minmax(0,1fr);gap:.6rem;align-items:start;font-weight:500}
.candidate-evidence-tool input[type="checkbox"]{width:20px;height:20px;margin:.15rem 0}
.candidate-evidence-tool button{min-height:44px;padding:.65rem .85rem;border:1px solid #173248;border-radius:.3rem;background:#173248;color:#fff;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;white-space:normal;text-align:center;max-width:100%}
.candidate-evidence-tool button.ce-secondary{background:#fff;color:#173248}
.candidate-evidence-tool button:disabled{opacity:.55;cursor:default}
.ce-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin:1.1rem 0}
.ce-privacy,.ce-demo{padding:.85rem 1rem;background:#fff;border-left:3px solid #376c9c;font-size:.9rem!important;line-height:1.6!important}
.ce-demo{border-color:#a66814;background:#fff7e8;font-weight:600}
.ce-small{font-size:.85rem!important;line-height:1.65!important;margin:.6rem 0!important}
.ce-context-fields{padding:.2rem .85rem .7rem;border:1px solid #c5d1dd;background:#f9fbfd}
.ce-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start;margin-top:1rem;min-width:0}
.ce-candidate{min-width:0;margin:0;padding:.8rem;border:1px solid #aebdcb;border-radius:.35rem;background:#fff}
.ce-candidate legend{font-size:1.1rem;font-weight:800;padding:0 .4rem}
.ce-details,.ce-citation{border:1px solid #c9d3df;border-radius:.25rem;padding:0;margin:.9rem 0;min-width:0}
.ce-details>summary,.ce-citation>summary{padding:.75rem;font-size:.9rem;min-height:44px;cursor:pointer;overflow-wrap:anywhere}
.ce-detail-body{padding:0 .75rem .75rem;min-width:0}
.candidate-evidence-tool .ce-sources-heading{font-size:1rem;margin:1.3rem 0 .5rem;line-height:1.5}
.candidate-evidence-tool .ce-remove{border-color:#9c5b49;color:#7c3925;background:#fff6f2;width:100%}
.ce-context-check{padding:.9rem;border:1px solid #becbda;background:#fff}
.ce-results{margin-top:1.5rem;border-top:2px solid #9eb3c4;padding-top:1.2rem;min-width:0}
.ce-results>h3{font-size:1.5rem;line-height:1.35}
.ce-context-summary{margin:1rem 0;padding:.8rem;background:#fff;border:1px solid #c5d1dd}
.ce-context-summary>div{padding:.5rem 0;border-bottom:1px solid #e1e6ed}
.ce-context-summary>div:last-child{border:0}
.ce-context-summary dt{font-size:.82rem;font-weight:700;color:#435a71}
.ce-context-summary dd{margin:.25rem 0 0;font-size:.95rem;white-space:pre-wrap;overflow-wrap:anywhere}
.ce-comparison-row{margin:1.4rem 0}
.ce-comparison-row>h4{font-size:1.1rem;margin:.7rem 0}
.ce-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:.75rem}
.ce-report-card{background:#fff;border:1px solid #bdccd8;border-radius:.3rem;padding:.8rem;min-width:0}
.ce-report-card h5,.ce-source-result h5{font-size:.9rem;line-height:1.5;margin:0 0 .6rem;font-weight:800}
.ce-report-card p,.ce-source-result p{font-size:.9rem;line-height:1.65;margin:.5rem 0!important}
.ce-preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.ce-evidence-state{font-weight:650;color:#38576e;background:#edf2f6;padding:.4rem .55rem;font-size:.8rem!important}
.ce-source-group{margin:.9rem 0 1.5rem}
.ce-source-group h4{font-size:1.05rem;line-height:1.5}
.ce-source-result{padding:.8rem;margin:.7rem 0;border:1px solid #bdccd8;background:#fff;min-width:0}
.ce-source-result a{font-size:.9rem;font-weight:650;overflow-wrap:anywhere}
.ce-errors,.ce-followup{padding:.9rem 1rem;margin:1.2rem 0;border:1px solid #bdccd8;background:#fff;min-width:0}
.ce-errors{background:#fff1ed;border-color:#a45239;color:#74351f}
.ce-errors h4,.ce-followup h4{font-size:1.1rem;line-height:1.5;margin:0 0 .6rem}
.ce-errors ul,.ce-followup ul{padding-left:1.1rem}
.candidate-evidence-tool .ce-errors button,.candidate-evidence-tool .ce-followup button{border:0;background:none;color:inherit;text-align:left;padding:.2rem 0;font-size:.88rem;font-weight:500;text-decoration:underline;line-height:1.6;min-height:44px;overflow-wrap:anywhere}
.candidate-evidence-tool [aria-invalid="true"]{border:2px solid #a45239!important}
.candidate-evidence-tool :is(input,textarea,select,button):focus-visible{outline:3px solid #2364d8;outline-offset:3px}
#worksheet,#ce-results{scroll-margin-top:1rem}
@media(max-width:760px){.ce-candidate-grid{grid-template-columns:minmax(0,1fr)}.candidate-evidence-tool{padding:.9rem}.candidate-evidence-tool input,.candidate-evidence-tool textarea,.candidate-evidence-tool select{font-size:16px!important}.ce-report-grid{grid-template-columns:minmax(0,1fr)}.ce-actions button{width:100%}.ce-candidate{padding:.75rem}}
@media print{.ce-actions,.ce-context-fields,.ce-candidate-grid,.ce-context-check,#ce-status,#ce-demo-note{display:none!important}.candidate-evidence-tool{border:0;background:#fff;padding:0}.ce-report-grid{display:block}.ce-report-card,.ce-source-result{break-inside:avoid;margin:.7rem 0}.ce-results{border:0}.ce-source-disclosure>.ce-detail-body{display:block!important}.ce-source-disclosure>summary{display:none}.candidate-evidence-tool textarea[readonly]{min-height:30rem;border:0}}
