/* R188: compact HR employee 4-step modal. Scope: modal only; no API/permissions changes. */
.hr186-wizard.hr188-compact{
 width:min(1220px,calc(100vw - 28px))!important;
 max-width:min(1220px,calc(100vw - 28px))!important;
 max-height:min(96vh,920px)!important;
 border-radius:14px!important;
}
.hr188-compact .hr184-dialog{max-height:min(96vh,920px)!important;}
.hr188-compact .hr184-modal-head{padding:9px 16px!important;min-height:48px;gap:11px}
.hr188-compact .hr184-modal-icon{width:34px;height:34px;border-radius:9px;flex:0 0 34px}
.hr188-compact .hr184-modal-icon svg{height:19px;width:19px}
.hr188-compact .hr184-modal-head h2{font-size:18px!important;margin:0 0 1px!important;line-height:1.15}
.hr188-compact .hr184-modal-head p{font-size:11px;line-height:1.2}
.hr188-compact .hr184-steps{padding:7px 20px!important;gap:6px}
.hr188-compact .hr184-step{font-size:11px;min-height:29px;gap:6px}
.hr188-compact .hr184-step span{width:24px;height:24px;font-size:11px}
.hr188-compact .hr184-body{grid-template-columns:160px minmax(0,1fr)!important;gap:8px!important;padding:8px 10px!important}
.hr188-compact .hr184-summary{padding:9px 9px!important;overflow-y:auto;scrollbar-width:none;min-height:0;border-radius:10px}
.hr188-compact .hr184-summary::-webkit-scrollbar{display:none}
.hr188-compact .hr184-id-art{height:60px!important;max-height:60px}
.hr188-compact .hr184-id-art svg{width:58px!important;height:58px!important}
.hr188-compact .hr186-photo-upload{height:24px;width:24px;bottom:0;right:20px}
.hr188-compact .hr186-photo-upload svg{height:13px!important;width:13px!important}
.hr188-compact .hr186-photo-filename{font-size:9px;min-height:12px;margin:1px 0 4px}
.hr188-compact .hr184-summary h3{font-size:13px!important;margin:2px 0 6px!important}
.hr188-compact .hr184-summary dl{gap:2px}
.hr188-compact .hr184-summary dt{margin-top:4px!important;font-size:10px;line-height:1.15}
.hr188-compact .hr184-summary dd{font-size:11px;line-height:1.2}
.hr188-compact .hr186-sidebar-note{font-size:10px;line-height:1.25;padding:7px!important;border-radius:7px;margin-top:9px}
.hr188-compact .hr184-green-tip{font-size:10px!important;line-height:1.3!important;padding:7px 6px!important;margin-top:7px!important}
.hr188-compact .hr184-content{padding:7px 12px 9px!important;overflow-y:auto;min-height:0;scrollbar-width:thin}
.hr188-compact .hr184-panel h3{font-size:15px!important;line-height:1.15;margin:0 0 2px!important;gap:6px}
.hr188-compact .hr184-panel h3 svg{width:17px!important;height:17px!important}
.hr188-compact .hr184-panel>p{font-size:10.5px;margin:0 0 8px!important;line-height:1.3}
.hr188-compact .hr184-grid{column-gap:9px!important;row-gap:6px!important}
.hr188-compact .hr186-grid4{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row;align-content:start}
.hr188-compact .hr186-grid4>.hr184-field:nth-child(5){grid-column:span 2}
.hr188-compact .hr186-grid4>.hr184-field:nth-child(6){grid-column:span 2}
.hr188-compact .hr186-grid4>.hr184-field:nth-child(7){grid-column:auto}
.hr188-compact .hr186-grid4>.hr184-field:nth-child(11){grid-column:1/span 2;grid-row:4}
.hr188-compact .hr186-grid4>.hr184-field:nth-child(13){grid-column:3/span 2;grid-row:4}
.hr188-compact .hr186-grid4>.hr188-address-same{grid-column:1/-1;grid-row:5;min-height:16px}
.hr188-compact .hr186-grid4>.hr184-field:nth-child(14){grid-column:auto;grid-row:6}
.hr188-compact .hr184-field{gap:2px!important;font-size:11px!important;line-height:1.15;min-height:0}
.hr188-compact .hr184-field>span{font-size:10.8px;line-height:1.2;min-height:13px}
.hr188-compact .hr184-field input,.hr188-compact .hr184-field select{height:32px!important;min-height:32px!important;font-size:12px!important;padding:5px 9px!important;border-radius:7px!important}
.hr188-compact .hr184-field textarea{min-height:42px!important;height:42px!important;font-size:11.5px!important;padding:5px 8px!important;line-height:1.25!important;resize:vertical}
.hr188-compact .hr186-checkline{font-size:10.5px;gap:6px;padding:0!important;line-height:1.15;min-height:17px}
.hr188-compact .hr186-checkline input{width:14px;height:14px}
.hr188-compact .hr186-subsection{padding:10px 11px;margin:8px 0 9px;border-radius:9px}
.hr188-compact .hr186-subsection h4{font-size:13px;margin:0 0 4px}
.hr188-compact .hr186-subsection p{margin:0 0 7px;line-height:1.3}
.hr188-compact .hr186-info-inline{padding:6px 9px!important;margin:6px 0 2px!important;font-size:10.5px!important;line-height:1.35!important}
.hr188-compact .hr184-footer{padding:7px 12px!important;min-height:40px}
.hr188-compact .hr184-footer button{min-height:33px;padding:6px 12px;font-size:12px}
/* Attachments remain available on demand; collapse by default so the first step fits in one viewport. */
.hr188-compact .hr188-documents{margin:8px 0 0;padding:0;border:1px solid #cfebdd;border-radius:9px;background:#f4fbf8}
.hr188-compact .hr188-documents-summary{display:flex;align-items:center;gap:7px;padding:7px 10px;cursor:pointer;list-style:none;min-height:26px;color:#076e4d;font-size:11px}
.hr188-compact .hr188-documents-summary::-webkit-details-marker{display:none}
.hr188-compact .hr188-documents-summary strong{font-size:11.5px}
.hr188-compact .hr188-documents-summary>span{color:#608375;font-size:10.5px}
.hr188-compact .hr188-documents-summary svg{width:16px;height:16px;flex:0 0 16px}
.hr188-compact .hr188-documents-summary .hr188-documents-arrow{margin-left:auto;transition:transform .15s}
.hr188-compact .hr188-documents[open] .hr188-documents-arrow{transform:rotate(180deg)}
.hr188-compact .hr188-documents-inside{padding:5px 10px 10px}
.hr188-compact .hr188-documents-inside p{margin:0 0 5px!important;font-size:10px}
.hr188-compact .hr186-document-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.hr188-compact .hr186-document-card{min-height:63px;padding:5px 3px;gap:1px;font-size:10px;border-radius:6px}
.hr188-compact .hr186-document-card svg{height:17px;width:17px}
.hr188-compact .hr186-document-card small{font-size:9px}
@media(max-width:1100px){
 .hr186-wizard.hr188-compact{width:min(1010px,calc(100vw - 16px))!important}
 .hr188-compact .hr184-body{grid-template-columns:135px minmax(0,1fr)!important}
 .hr188-compact .hr186-grid4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .hr188-compact .hr186-grid4>.hr184-field:nth-child(n){grid-column:auto;grid-row:auto}
 .hr188-compact .hr186-grid4>.hr188-address-home,.hr188-compact .hr186-grid4>.hr188-address-current{grid-column:span 3}
 .hr188-compact .hr186-grid4>.hr188-address-same{grid-column:span 3}
}
@media(max-width:760px){
 .hr186-wizard.hr188-compact{width:calc(100vw - 10px)!important;max-width:calc(100vw - 10px)!important;max-height:96vh!important}
 .hr188-compact .hr184-dialog{max-height:96vh!important}
 .hr188-compact .hr184-body{display:block!important;padding:4px 6px!important}
 .hr188-compact .hr184-summary{display:none!important}
 .hr188-compact .hr184-content{padding:9px 6px!important}
 .hr188-compact .hr186-grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .hr188-compact .hr186-grid4>.hr188-address-home,.hr188-compact .hr186-grid4>.hr188-address-current,.hr188-compact .hr186-grid4>.hr188-address-same{grid-column:span 2}
 .hr188-compact .hr184-steps{padding:5px 3px!important;gap:2px}
 .hr188-compact .hr184-step{font-size:9px}
 .hr188-compact .hr184-modal-head{padding:8px!important}
 .hr188-compact .hr184-field input,.hr188-compact .hr184-field select{font-size:12px}
 .hr188-compact .hr186-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){
 .hr188-compact .hr186-grid4{grid-template-columns:1fr!important}
 .hr188-compact .hr186-grid4>.hr188-address-home,.hr188-compact .hr186-grid4>.hr188-address-current,.hr188-compact .hr186-grid4>.hr188-address-same{grid-column:auto}
}
@media(max-height:760px) and (min-width:761px){
 .hr186-wizard.hr188-compact{max-height:97vh!important}
 .hr188-compact .hr184-dialog{max-height:97vh!important}
 .hr188-compact .hr184-modal-head{padding:7px 14px!important}
 .hr188-compact .hr184-steps{padding:4px 15px!important}
 .hr188-compact .hr184-body{padding:5px 8px!important}
 .hr188-compact .hr184-content{padding:5px 9px!important}
 .hr188-compact .hr184-grid{row-gap:4px!important}
 .hr188-compact .hr184-field input,.hr188-compact .hr184-field select{height:29px!important;min-height:29px!important}
 .hr188-compact .hr184-field textarea{height:37px!important;min-height:37px!important}
}
