.intake-mode{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0;padding:16px;background:var(--surface-soft,#f5f8fa);border-radius:8px}
.intake-mode label{display:flex;gap:8px;align-items:center}
.intake-property-list{display:grid;gap:10px;max-height:360px;overflow:auto;margin:16px 0}
.intake-property-card{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dce3e8;border-radius:8px;cursor:pointer;min-width:0}
.intake-property-card:has(input:checked){border-color:#007b83;background:#f2faf9}
.intake-property-card>span{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.intake-property-card input{margin-top:4px;flex-shrink:0}
.intake-review-position{padding:12px 16px;background:#eef7f7;border-left:3px solid #007b83;font-weight:600;margin-bottom:18px;overflow-wrap:anywhere}
.intake-add-summary{overflow-wrap:anywhere;line-height:1.7}
.candidate-choice{display:inline-block;white-space:normal!important;text-align:left;margin:4px 6px 4px 0;overflow-wrap:anywhere}
.historical-candidates{margin-top:20px}.historical-candidates summary{font-weight:600;cursor:pointer}
.historical-candidate-field{padding:14px 0;border-top:1px solid #e2e8ec;overflow-wrap:anywhere}
.historical-candidate-field>strong{display:block;margin-bottom:8px}.historical-candidate-field button{white-space:normal;text-align:left;height:auto;max-width:100%;overflow-wrap:anywhere}
.historical-candidate-field .hint{margin:5px 0 12px;white-space:pre-wrap}
.intake-unassigned{margin:14px 0}.intake-unassigned pre{max-height:200px;overflow:auto}
.saved-source-scenarios,.source-scenarios,.intake-scenarios,.intake-page-groups{padding:14px 0;margin:12px 0;border-block:1px solid #e2e8ec;overflow-wrap:anywhere}
.saved-source-scenarios button,.source-scenarios button,.intake-scenarios button{white-space:normal;text-align:left;max-width:100%;height:auto;margin:6px 8px 6px 0;overflow-wrap:anywhere}
.intake-page-groups input,.intake-page-groups textarea{max-width:100%;width:100%}
.import-source-note { margin: 18px 0 0; }
.import-modal .modal-header h2 { margin-bottom: 0; text-wrap: balance; }
@media(max-width:600px){
 .import-modal .modal-header h2 { font-size: 17px; line-height: 1.5; }
 .intake-mode{display:grid;padding:12px}.intake-property-card{padding:12px}.intake-mode label{align-items:flex-start}
 .candidate-table{display:block;min-width:0!important}.candidate-table thead{display:none}.candidate-table tbody{display:block}
 .candidate-table tr{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 10px;border-bottom:1px solid var(--line);padding:16px 0}
 .candidate-table td{display:block;width:auto!important;min-width:0;border:0;padding:0}
 .candidate-table td.candidate-selection{grid-column:1;grid-row:1;text-align:left;padding:0;align-self:start;line-height:1}
 .candidate-table td.candidate-value{grid-column:2;grid-row:1;padding:0}
 .candidate-table td.candidate-evidence{grid-column:2;grid-row:2;padding:8px 0 0}
 .candidate-table .candidate-selection input[type=checkbox]{display:block;width:20px;height:20px;min-height:0;margin:0;accent-color:var(--brand-teal)}
 .candidate-table .candidate-value > label{font-size:13px;line-height:20px;margin:0 0 8px}
 .candidate-table input:not([type=checkbox]),.candidate-table select,.candidate-table textarea{max-width:100%;width:100%;min-height:44px;font-size:14px}
 .candidate-table .evidence-button{font-size:12px;line-height:1.65}.candidate-choice{max-width:100%}
 .review-candidates > .hint{font-size:12px;margin-bottom:8px}
 .import-modal .modal-body{padding:16px}
}
