.ec-dialog { width:min(980px,calc(100vw - 28px)); }
.ec-dialog form { margin:0; }
.ec-dialog form > footer { display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #dbe3ec;background:#f8fafc; }
.ec-body { display:grid;gap:18px;max-height:68dvh;overflow:auto; }
.ec-body section { border:1px solid #dbe3ec;border-radius:12px;padding:18px;background:#fff; }
.ec-body section h3 { margin:0 0 14px;font-size:16px;color:#193b2f; }
.ec-body section > p { margin:0 0 12px;line-height:1.6;color:#475569; }
.ec-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px; }
.ec-fields .field { display:grid;gap:7px;min-width:0; }
.ec-fields .field > span { font-size:13px;font-weight:600;color:#334155; }
.ec-fields input,.ec-fields select,.ec-fields textarea { width:100%;min-width:0;font-family:inherit;font-size:14px;min-height:42px; }
.ec-fields input:disabled { background:#f1f5f9;color:#526174; }
.ec-full { grid-column:1/-1; }
.ec-classification,.ec-category { font-size:13px;line-height:1.6;color:#526174;margin:0; }
.ec-category { margin-top:12px; }
.ec-confirm { display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.6; }
.ec-confirm input { width:18px;height:18px;flex-shrink:0;margin-top:3px; }
.ec-dialog [hidden] { display:none!important; }
.ec-log-table { width:100%;min-width:1000px;border-collapse:collapse; }
.ec-log-table th,.ec-log-table td { padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;font-size:13px;line-height:1.6;overflow-wrap:anywhere;white-space:normal; }
.ec-log-table th { background:#f1f5f9;color:#334155;font-weight:700; }
.ec-log-table td small,.ec-log-change span { display:block;color:#526174; }
.ec-log-change + .ec-log-change { margin-top:10px; }
.ec-log-table th:nth-child(1) { width:155px; }.ec-log-table th:nth-child(2) { width:185px; }.ec-log-table th:nth-child(3) { width:290px; }.ec-log-table th:nth-child(5) { width:160px; }
.ec-log-table tbody tr:nth-child(even) { background:#f8fafc; }
@media(max-width:650px) { .ec-fields { grid-template-columns:1fr; }.ec-body { padding:16px; }.ec-body section { padding:14px; }.ec-dialog form > footer { flex-wrap:wrap;padding:14px; }.ec-dialog > header { padding:16px; } }
@media print { #employment-correction-dialog,[data-employment-correction],[data-ec-log-filters],.ec-log-table { display:none!important; } }
