.employee-discipline-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 28px));max-height:min(90dvh,820px);overflow-x:hidden;overflow-y:auto}
.employee-discipline-card{padding:18px 20px}
.employee-discipline-dialog .card-head{align-items:center;margin-bottom:12px}
.employee-discipline-dialog .card-head>div{flex:1;min-width:0}
.employee-discipline-dialog .card-head p{margin:3px 0 0;color:var(--muted);font-size:12px}
.employee-discipline-form{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.4fr);align-items:end;gap:0 12px;padding:12px;border:1px solid #dce7eb;border-radius:10px;background:#f8fbfc}
.employee-discipline-form .field{min-width:0;margin-bottom:8px}
.employee-discipline-form .field small{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}
.employee-discipline-form input[type=file]{height:auto;min-height:36px;padding:5px;font-size:11px}
.employee-discipline-form .actions{grid-column:1/-1;justify-content:flex-end;margin-top:2px}
.employee-discipline-history-title{margin:16px 0 8px;color:var(--navy);font-size:13px}
.employee-discipline-history{display:grid;gap:7px;max-height:36vh;overflow:auto;overscroll-behavior:contain}
.employee-discipline-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;padding:10px 12px;border:1px solid #e0e9ed;border-radius:9px;background:#fff;min-width:0;max-width:100%;box-sizing:border-box}
.employee-discipline-info{min-width:0;overflow-wrap:anywhere}
.employee-discipline-row strong{display:block;color:#24485a;font-size:12px;overflow-wrap:anywhere}
.employee-discipline-row small{display:block;margin-top:3px;color:var(--muted);font-size:10px;overflow-wrap:anywhere;word-break:break-word}
.employee-discipline-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}
.employee-discipline-actions .btn{min-width:0;max-width:100%;white-space:normal;text-align:center}
.employee-discipline-empty{padding:14px;border-radius:8px;background:#f5f8f9;color:var(--muted);font-size:12px;text-align:center}
.employee-discipline-error{margin:0 0 10px;padding:9px 11px}
.employee-discipline-dialog .btn-danger{border:1px solid #f0c7c5;background:#fff;color:#a33f40}
.employee-discipline-dialog .btn-danger:hover{background:#fff3f2}
.employee-discipline-footer{justify-content:flex-end;margin-top:12px}
.employee-discipline-count{display:inline-grid;min-width:19px;height:19px;margin-left:3px;padding:0 5px;place-items:center;border-radius:999px;background:#fce9e6;color:#9b4a3a;font-size:10px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
@media(max-width:600px){.employee-discipline-card{padding:14px}.employee-discipline-form{grid-template-columns:minmax(0,1fr)}.employee-discipline-form .actions{grid-column:auto}.employee-discipline-history{max-height:42vh}.employee-discipline-row{grid-template-columns:minmax(0,1fr);padding:9px}.employee-discipline-actions{justify-content:flex-start}.employee-discipline-actions .btn{flex:1 1 auto}}
