#employeeAbsence{width:min(1180px,96vw);max-width:96vw;max-height:92dvh;padding:22px;box-sizing:border-box;overflow:auto}#employeeAbsence *{box-sizing:border-box}.ea-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.ea-head h2{margin:0}.ea-head p,.ea-note{color:#536c7b;margin:6px 0 16px}.ea-head button{font-size:24px;flex:none}.ea-controls{display:grid;grid-template-columns:1fr 1.7fr .65fr 1fr;gap:12px}.ea-controls label{display:flex;flex-direction:column;gap:5px;min-width:0}.ea-controls input,.ea-controls select{width:100%;min-width:0;font-size:16px}.ea-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.ea-counts{display:flex;flex-wrap:wrap;gap:8px}.ea-counts>span{padding:6px 9px;border-radius:9px;background:#f2f6f8;font-size:13px}.ea-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ea-month{border:1px solid #dce5eb;border-radius:14px;padding:10px;min-width:0;background:#fff}.ea-month-title{width:100%;text-align:left;font-weight:700;margin-bottom:8px;border:0!important}.ea-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ea-weekday{text-align:center;font-size:12px;color:#617989;padding:4px 0}#employeeAbsence .ea-day{min-width:0;padding:3px 1px;min-height:44px;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e4ebef;font-size:12px;background:#fff;color:#234557}.ea-day.ea-weekend{background:#f2f5f7!important}.ea-day.ea-today{outline:2px solid #1970ad;outline-offset:-2px}.ea-marks{display:flex;flex-wrap:wrap;justify-content:center;gap:1px;min-height:16px}.ea-marks .badge{font-size:10px;padding:0 3px;min-width:0;line-height:15px;border-radius:4px}.ea-single{grid-template-columns:1fr;max-width:740px;margin:auto}#employeeAbsence .ea-single .ea-day{min-height:62px;font-size:15px}.ea-single .ea-marks .badge{font-size:12px;line-height:20px;padding:0 6px}.ea-list>button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;margin:5px 0}.ea-list>button>span:first-child{flex:1}.ea-edit-label{font-size:12px}.ea-legend{margin-top:18px;color:#536c7b}.ea-legend summary{cursor:pointer}.ea-legend>div{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.ea-person-title{margin:12px 0}#eaStatus{font-size:14px;overflow-wrap:anywhere}#employeeAbsence button{touch-action:manipulation}#employeeAbsence [hidden]{display:none!important}@media(max-width:1000px){.ea-months{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-single{grid-template-columns:1fr}}@media(max-width:620px){#employeeAbsence{padding:12px;max-height:94dvh;width:96vw}.ea-controls{grid-template-columns:1fr 1fr}.ea-controls label:nth-child(-n+2){grid-column:1/-1}.ea-months{grid-template-columns:1fr}.ea-month{padding:8px}.ea-head h2{font-size:21px}.ea-head p{font-size:13px}.ea-actions button{flex:1;padding:8px;font-size:14px}.ea-counts>span{font-size:12px}.ea-list>button{font-size:13px}.ea-edit-label{display:none}}
.ea-head>div{min-width:0}.ea-head h2{overflow-wrap:anywhere}.ea-controls label{margin:0}.ea-marks .badge{min-height:15px}.ea-single .ea-marks .badge{min-height:20px}.ea-head button{padding:4px 10px;min-width:44px}.ea-note{font-size:14px}.ea-legend p{font-size:13px;line-height:1.5}
@media(max-width:620px){.ea-head h2{font-size:18px}.ea-head{gap:6px}.ea-controls{gap:10px}.ea-controls label{font-size:13px}.ea-counts .badge{min-width:22px;min-height:22px}}
