.hr-departure-page{display:grid;gap:20px;min-width:0;color:#143569}
.hr-departure-top,.hr-departure-card{background:#fff;border:1px solid #dce8f9;border-radius:16px;padding:22px 24px;box-shadow:0 8px 28px rgba(21,76,154,.06)}
.hr-departure-top{background:linear-gradient(118deg,#f3f8ff,#fff 74%)}
.hr-departure-top-line{display:flex;align-items:center;gap:18px}
.hr-departure-top-line>button,.hr-departure-card button,.hr-departure-dialog button{border:1px solid #bfd5f4;border-radius:9px;background:#fff;color:#1762cc;padding:9px 15px;cursor:pointer;font:inherit}
.hr-departure-top-line>button:hover,.hr-departure-card button:hover,.hr-departure-dialog button:hover{border-color:#2981ef;background:#f2f8ff}
.hr-departure-top h1{font-size:24px;margin:0 0 5px}
.hr-departure-top p,.hr-departure-card-head p{color:#6a83a6;margin:0;font-size:13px}
.hr-departure-entry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1160px;width:100%;margin:0 auto}
.hr-departure-entry-card{position:relative;min-height:158px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;text-align:left;border:1px solid #cde0fa;border-radius:16px;padding:24px 26px;background:linear-gradient(145deg,#fff,#edf6ff);color:#103a79;box-shadow:0 8px 24px rgba(23,94,192,.09);cursor:pointer;font:inherit;transition:transform .16s,box-shadow .16s,border-color .16s}
.hr-departure-entry-card:hover:not(:disabled){transform:translateY(-3px);border-color:#4089ed;box-shadow:0 13px 28px rgba(23,94,192,.16)}
.hr-departure-entry-card:disabled{cursor:not-allowed;opacity:.56}
.hr-departure-entry-card strong{font-size:22px;line-height:1.3}
.hr-departure-entry-card small{font-size:13px;color:#6884ac}
.hr-departure-entry-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#1d72e8;color:#fff;box-shadow:0 4px 12px #1d72e84d}
.hr-departure-entry-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hr-departure-entry-card.adjustment .hr-departure-entry-icon{background:#2786d8}
.hr-departure-entry-card.departure .hr-departure-entry-icon{background:#4978cb}
.hr-departure-entry-arrow{position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:25px;color:#4f8cda}
.hr-departure-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.hr-departure-card-head h2{font-size:18px;margin:0 0 5px}
.hr-departure-card-head h2 small{font-size:13px;color:#6681ab}
.hr-departure-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.hr-departure-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 17px}
.hr-departure-filters button{padding:7px 16px}
.hr-departure-filters button[aria-pressed="true"]{background:#176bea;color:#fff;border-color:#176bea}
.hr-departure-card button.primary,.hr-departure-dialog button.primary{background:#176bea;color:#fff;border-color:#176bea}
.hr-departure-card button.primary:hover,.hr-departure-dialog button.primary:hover{background:#0c57cc}
.hr-departure-empty{color:#758caf;text-align:center;padding:34px 12px}
.hr-departure-list{display:grid;gap:12px}
.hr-departure-application{border:1px solid #dce7f7;border-radius:11px;overflow:hidden}
.hr-departure-application summary{display:grid;grid-template-columns:minmax(104px,.85fr) minmax(90px,.8fr) minmax(90px,.85fr) minmax(165px,1.2fr) minmax(110px,.9fr) minmax(160px,1fr);align-items:center;gap:10px;padding:15px 17px;cursor:pointer;list-style:none;background:#f8fbff;font-size:13px}
.hr-departure-application summary:hover{background:#f0f7ff}
.hr-departure-application summary::-webkit-details-marker{display:none}
.hr-departure-application summary strong{font-size:14px}
.hr-departure-type{width:max-content;padding:5px 9px;border-radius:7px;background:#e8f1ff;color:#145fc5;font-weight:700}
.hr-departure-type.adjustment{background:#e3f5ff;color:#0879b3}
.hr-departure-type.departure{background:#eef0ff;color:#4c61b6}
.hr-departure-created{font-size:12px;color:#7088aa;text-align:right}
.hr-departure-status{border-radius:20px;padding:5px 10px;font-size:12px;white-space:nowrap;justify-self:start}
.hr-departure-status.pending{background:#fff2df;color:#9a570b}
.hr-departure-status.approved{background:#e3f7ea;color:#168045}
.hr-departure-status.rejected{background:#ffeaea;color:#bd3540}
.hr-departure-application-body{border-top:1px solid #e1eaf7;padding:18px}
.hr-departure-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:19px}
.hr-departure-progress span{padding:8px;text-align:center;background:#f1f5fa;color:#8294ac;border-radius:7px;font-size:12px}
.hr-departure-progress span.current{background:#e5f0ff;color:#1264d2;font-weight:700}
.hr-departure-progress span.done{background:#e4f8ec;color:#167a48}
.hr-departure-application dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0}
.hr-departure-application dl .wide{grid-column:1/-1}
.hr-departure-application dt{font-size:12px;color:#7188a7;margin-bottom:5px}
.hr-departure-application dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.hr-departure-application h3{font-size:14px;margin:20px 0 8px}
.hr-departure-history{padding-left:20px;margin:0;color:#456184;font-size:13px}
.hr-departure-history li{padding:4px 0}
.hr-departure-history time{margin-left:10px;color:#8295b1}
.hr-departure-history p{margin:5px 0 8px;white-space:pre-wrap}
.hr-departure-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}
.hr-departure-table-wrap{max-width:100%;overflow:auto;border:1px solid #dce6f5;border-radius:9px}
.hr-departure-table{width:100%;border-collapse:collapse;min-width:920px}
.hr-departure-table th,.hr-departure-table td{padding:11px 12px;text-align:center;border-bottom:1px solid #e2eaf6;font-size:13px}
.hr-departure-table th{background:#eef5ff;font-weight:700}
.hr-departure-table tr:last-child td{border-bottom:0}
.hr-departure-dialog{border:0;border-radius:15px;padding:0;width:min(760px,calc(100vw - 30px));max-height:90vh;box-shadow:0 24px 75px rgba(0,29,75,.27);color:#153363}
.hr-departure-dialog::backdrop{background:rgba(5,27,58,.48)}
.hr-departure-dialog form{display:grid;max-height:90vh}
.hr-departure-dialog header,.hr-departure-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid #e2eaf7}
.hr-departure-dialog header h2{font-size:19px;margin:0}
.hr-departure-dialog header button{font-size:22px;line-height:1;padding:3px 9px}
.hr-departure-dialog footer{justify-content:flex-end;border-top:1px solid #e2eaf7;border-bottom:0}
.hr-departure-dialog-body{overflow:auto;padding:21px 22px;display:grid;gap:16px}
.hr-departure-hint{background:#ecf5ff;color:#42679a;border-radius:8px;padding:11px 13px;margin:0;font-size:13px}
.hr-departure-complete-hint{margin-top:18px}
.hr-departure-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.hr-departure-field{display:grid;gap:7px;min-width:0;font-size:13px;font-weight:600}
.hr-departure-field input,.hr-departure-field select,.hr-departure-field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c7d8ef;border-radius:8px;padding:10px 11px;color:#153363;background:#fff;font:inherit;font-weight:400}
.hr-departure-field textarea{resize:vertical}
.hr-departure-conditional{display:grid;gap:12px;padding:15px;border:1px solid #dce8f7;border-radius:10px;background:#f9fcff}
.hr-departure-conditional h3{font-size:14px;margin:0}
.hr-departure-dialog [hidden]{display:none!important}
.hr-departure-dialog .form-status{margin:0;color:#c72a39;font-size:13px}
.hr-departure-dialog .form-status:empty{display:none}
@media(max-width:1100px){.hr-departure-entry{gap:11px}.hr-departure-entry-card{min-height:145px;padding:20px}.hr-departure-application summary{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-departure-created{text-align:left}}
@media(max-width:700px){.hr-departure-entry{grid-template-columns:1fr}.hr-departure-entry-card{min-height:105px}.hr-departure-form-grid,.hr-departure-application dl{grid-template-columns:1fr}.hr-departure-progress{grid-template-columns:1fr 1fr}.hr-departure-application summary{grid-template-columns:1fr 1fr}}
