.leave-content { display: grid; gap: 18px; min-width: 0; }
.leave-form { display: grid; gap: 16px; max-width: 760px; }
.leave-form input, .leave-form select { width: 100%; min-width: 0; min-height: 42px; }
.leave-form [hidden] { display: none !important; }
.leave-status:empty { display: none; }
.leave-status { padding: 12px; }
.leave-valid { color: #17633d; background: #e7f4ec; }
.leave-error { color: #9f222b; background: #fce9eb; }
.leave-status p { margin: 8px 0 0; }
.leave-status .config-command { max-width: 100%; white-space: normal; margin-top: 10px; }
.leave-status .config-command span { min-width: 0; overflow-wrap: anywhere; }
.leave-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #c6d4d1; }
.leave-tabs button { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 12px; color: #46514e; border-radius: 0; font-size: 14px; }
.leave-tabs button[aria-selected=true] { border-bottom-color: #008c78; color: #006658; font-weight: 700; }
.leave-table-region { overflow: auto; max-width: 100%; }
.leave-table-region table { border-collapse: collapse; min-width: 920px; width: 100%; font-size: 14px; }
.leave-table-region th, .leave-table-region td { text-align: left; padding: 10px; border-bottom: 1px solid #d5dfdd; vertical-align: top; }
.leave-table-region th { background: #eef3f2; }
.leave-table-region td .config-icon-button { margin: 2px; }
.leave-quota { font-size: 14px; color: #485953; }
@media(max-width:600px){
 .leave-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; min-width: 0; }
 .leave-tabs button { flex: 0 0 auto; white-space: nowrap; padding: 10px 12px; min-height: 44px; }
 .leave-form .configuration-form-actions { display: flex; flex-wrap: wrap; }
}


.leave-main-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; }
.leave-main-actions .config-command { width: 100%; min-width: 0; white-space: normal; }
.leave-main-actions .config-command span { min-width: 0; overflow-wrap: normal; }
.leave-request-list, .leave-card-list, .leave-history { display: grid; gap: 12px; min-width: 0; }
.leave-card-list > .config-command, .leave-history > .config-command { justify-self: start; }
.leave-history > h2, .leave-history > p { margin: 0; }
.leave-request, .leave-request-list > section { display: grid; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #ccd9d8; border-radius: 8px; }
.leave-request > p, .leave-request-list > section > p { margin: 0; }
.leave-request > .config-command { justify-self: start; max-width: 100%; white-space: normal; }
.leave-request > .config-command span { min-width: 0; }
.leave-request-list .leave-valid { color: #08764c; font-weight: 700; }
.leave-request-list .leave-error { color: #a12626; }


.leave-content [hidden]{display:none!important}.monitor-help summary{cursor:pointer;font-weight:700;color:#00757f}.monitor-help summary svg{width:20px;height:20px;vertical-align:middle}.monitor-help p{line-height:1.5}.leave-form fieldset{min-width:0;display:grid;gap:10px;border:1px solid #ccd9d8;border-radius:8px}

.monitor-help-section { margin-top: 18px; }
.monitor-help-section h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; color: #00757f; }
.monitor-help-section ul { margin: 0; padding-left: 22px; }
.monitor-help-section li { margin-bottom: 8px; line-height: 1.5; }
