.lw-new-section { margin: 14px 0 0; padding: 18px; border: 1px solid #dce9e1; border-radius: 12px; background: #f8fbf9; color: #1a4535; }
/* RXL_WORKFLOW_POLISH_20261008_V2 */
.lw-import-preview input, .lw-import-preview select { min-width: 120px; max-width: 240px; padding: 8px; border: 1px solid #d4e1d8; border-radius: 6px; font: inherit; }
.lw-import-preview td:last-child input { min-width: 240px; }
.lw-dialog input[type="file"] { max-width: 100%; margin-top: 8px; }
.lw-list article > small { display: block; margin: 8px 0; color: #60776a; }
.lw-list article button + button { margin-left: 8px; }
.lw-new-section h3 { margin: 0 0 5px; font-size: 15px; }
.lw-new-section > p { margin: 0 0 14px; color: #62796c; font-size: 12px; line-height: 1.55; }
.lw-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.lw-choices label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1px solid #d7e5da; border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; }
.lw-choices label:has(input:checked) { border-color: #2e795b; background: #eaf5ed; font-weight: 700; }
.lw-choices input { width: auto !important; margin: 0; accent-color: #21654e; }
.lw-new-fields { margin-top: 18px; }
.lw-new-fields[hidden] { display: none; }
.lw-new-section .lw-mode-hint { margin: 12px 0 0; }
.lw-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.lw-fields label { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: #315847; font-size: 13px; font-weight: 600; }
.lw-fields .lw-wide { grid-column: 1 / -1; }
.lw-fields input, .lw-fields select, .lw-fields textarea, .lw-review-note textarea { display: block; width: 100%; box-sizing: border-box; min-height: 38px; padding: 9px 11px; border: 1px solid #d4e1d8; border-radius: 8px; background: #fff; color: #193c2d; font: inherit; }
.lw-fields textarea { min-height: 100px; resize: vertical; }
.lw-fields small { color: #698075; font-weight: 400; }
.lw-section-label { margin-top: 4px; padding-top: 12px; border-top: 1px solid #e6eee8; font-weight: 700; }
.lw-section-label small { margin-left: 6px; }
.lw-form-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid #d2e5d7; border-radius: 10px; background: #f1f8f3; }
.lw-form-option strong { display: block; color: #194c37; font-size: 14px; }
.lw-form-option p { margin: 5px 0 0; color: #60776a; font-size: 12px; line-height: 1.55; }
.lw-form-option button { flex: 0 0 auto; border: 1px solid #27674b; border-radius: 8px; padding: 8px 12px; color: #fff; background: #27674b; cursor: pointer; }
.lw-overlay { position: fixed; inset: 0; z-index: 12500; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(13, 49, 37, .55); box-sizing: border-box; }
.lw-dialog { display: flex; flex-direction: column; width: min(900px, 100%); max-height: 94vh; border-radius: 14px; background: #fff; box-shadow: 0 18px 55px rgba(11, 45, 33, .22); color: #1a3b2d; }
.lw-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e1ebe4; }
.lw-dialog h2 { margin: 0; font-size: 18px; }
.lw-dialog header button, .lw-dialog .lw-content button { border: 1px solid #d6e4da; border-radius: 8px; padding: 8px 12px; background: #f3f8f4; color: #205942; cursor: pointer; font: inherit; }
.lw-dialog button:disabled { opacity: .55; cursor: wait; }
.lw-dialog button.lw-primary { background: #205d45; color: white; border-color: #205d45; font-weight: 700; }
.lw-dialog .lw-content { min-height: 0; overflow: auto; padding: 18px 20px 22px; }
.lw-muted { color: #647b6d; font-size: 12px; line-height: 1.55; }
.lw-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.lw-tabs button[aria-current="page"] { background: #205d45 !important; color: #fff !important; }
.lw-list { display: grid; gap: 10px; }
.lw-list article { padding: 14px; border: 1px solid #dfeae2; border-radius: 10px; background: #fbfdfb; }
.lw-list article p { margin: 7px 0; font-size: 13px; }
.lw-list-head { display: flex; justify-content: space-between; gap: 12px; }
.lw-list-head span { color: #667d6e; font-size: 12px; white-space: nowrap; }
.lw-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; color: #60776a; font-size: 12px; }
.lw-reason { color: #a44430; }
.lw-empty { padding: 28px; text-align: center; color: #6d8275; }
.lw-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lw-detail-grid > div { padding: 10px 12px; border: 1px solid #e4ece6; border-radius: 8px; overflow-wrap: anywhere; }
.lw-detail-grid small { color: #6d8475; }
.lw-import-preview { max-height: 55vh; overflow: auto; border: 1px solid #dfeae2; border-radius: 8px; }
.lw-import-preview table { width: 100%; border-collapse: collapse; font-size: 12px; }
.lw-import-preview th, .lw-import-preview td { padding: 9px; border-bottom: 1px solid #e7eee8; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.lw-import-preview th { position: sticky; top: 0; background: #f1f7f2; }
.lw-form-preview { margin-top: 16px; padding: 14px; border-radius: 8px; background: #edf7f0; overflow-wrap: anywhere; }
.lw-review-note { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.lw-review-note textarea { min-height: 70px; }
.lw-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
#manualLeadModal .cr-new-choice, #manualLeadModal .lead-editor-section:has(#mlSendTeacher) { display: none !important; }
@media (max-width: 640px) { .lw-fields, .lw-detail-grid { grid-template-columns: minmax(0, 1fr); } .lw-dialog { max-height: 100vh; border-radius: 0; } .lw-overlay { padding: 0; } .lw-list-head, .lw-form-option { flex-direction: column; align-items: stretch; gap: 8px; } }
