.hr-page{padding:0!important}
.hr-shell{min-height:100%;padding:20px 22px 34px;background:#f7f8fa;color:#252a31}
.hr-module-head{border-top:3px solid #D12244}
.hr-workspace-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hr-workspace-card{display:flex;align-items:center;gap:11px;min-height:74px;padding:12px 14px;border:1px solid #dfe4ea;border-radius:11px;background:#fff;color:#273243;text-align:right;cursor:pointer;transition:.15s ease}
.hr-workspace-card:hover{border-color:#c9d2dd;box-shadow:0 4px 16px rgba(24,36,52,.05)}
.hr-workspace-card.is-active{border-color:#e6a5b3;background:#fff7f9;box-shadow:inset 0 0 0 1px rgba(209,34,68,.08)}
.hr-workspace-icon{display:grid;place-items:center;width:42px;height:42px;min-width:42px;border-radius:10px;background:#f1f4f7;color:#526174;font-size:11px;font-weight:900}
.hr-workspace-card.is-active .hr-workspace-icon{background:#D12244;color:#fff}
.hr-workspace-card>span:last-child{display:grid;gap:3px;min-width:0}
.hr-workspace-card b{font-size:13px;color:#273243}
.hr-workspace-card small{font-size:10.5px;color:#7a8492;line-height:1.5}
.hr-section-tabs{margin-top:2px}
.hr-workspace-body{min-height:260px}
.hr-self-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid #e1e5ea;border-radius:12px;background:#fff;margin-bottom:14px}
.hr-self-hero>div:first-child>span{font-size:10px;color:#D12244;font-weight:850}
.hr-self-hero h2{margin:4px 0 3px;font-size:20px;color:#202934}
.hr-self-hero p{margin:0;color:#707b89;font-size:11px}
.hr-personnel-number{display:grid;gap:4px;text-align:left;padding:10px 14px;border-radius:9px;background:#f6f8fa}
.hr-personnel-number small{font-size:10px;color:#7a8492}
.hr-personnel-number b{font-size:14px;color:#2a3544}
.hr-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.hr-quick-card{display:grid;gap:4px;text-align:right;padding:14px;border:1px solid #e1e5ea;border-radius:10px;background:#fff;cursor:pointer}
.hr-quick-card:hover{border-color:#e4a6b3;background:#fffafb}
.hr-quick-card span{font-size:11px;color:#657183}
.hr-quick-card strong{font-size:21px;color:#D12244}
.hr-quick-card small{font-size:9.5px;color:#8a94a2}
.hr-stat small{display:block;margin-top:4px;color:#8a94a2;font-size:9px}
.hr-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hr-card-title h2{margin:0}
.hr-card-title p{margin:3px 0 0;color:#7a8492;font-size:10px}
.hr-team-note p,.hr-muted{margin:0;color:#6e7987;font-size:11px;line-height:1.9}
.hr-filter-bar{justify-content:flex-start}
.hr-filter-bar input{width:min(390px,100%)}
.hr-filter-bar select{width:180px}
.hr-action-bar>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hr-alert-list{display:grid;gap:10px}
.hr-alert{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 15px;border:1px solid #eadfbd;border-radius:10px;background:#fffaf0}
.hr-alert b{color:#5c4a18}
.hr-alert span{font-size:11px;color:#74694e}
.hr-alert button{border:0;background:transparent;color:#A71935;font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}
.hr-compact-table{min-width:540px}
.hr-workspace-body .module-card+.module-card{margin-top:12px}
.hr-workspace-body .module-detail-grid>div{min-width:0}
.hr-workspace-body .module-detail-grid b{overflow-wrap:anywhere}
.hr-base-rate-form{width:min(760px,100%);margin-top:10px}
.hr-base-rate-form .module-form-grid{grid-template-columns:repeat(6,minmax(84px,1fr));align-items:start;gap:10px}
.hr-base-rate-form label{min-width:0}
.hr-base-rate-form input,.hr-base-rate-form select{min-height:38px;font-size:12.5px}
.hr-base-rate-form .hr-base-year{grid-column:span 1}
.hr-base-rate-form .hr-base-date{grid-column:span 2}
.hr-base-rate-form .hr-base-status{grid-column:span 1}
.hr-base-rate-form .hr-base-status .day-select,.hr-base-rate-form .hr-base-status .day-select-button{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.hr-base-rate-form .hr-base-money{grid-column:span 2}
.hr-base-rate-form .hr-base-factor{grid-column:span 1}
.hr-base-rate-form .day-date-field{display:block;width:100%;min-width:0}
.hr-base-rate-form .day-date-control{width:100%;min-width:0;grid-template-columns:minmax(0,1fr) 34px;min-height:38px;border-radius:7px}
.hr-base-rate-form .day-date-text{min-width:0;height:38px;padding:7px 8px;font-size:12.5px;text-align:center}
.hr-base-rate-form .day-date-open{width:34px;min-width:34px;min-height:38px}
.hr-base-rate-form .hr-base-factor input{text-align:center}
.hr-base-rate-form footer{grid-column:1/-1}
@media(max-width:980px){
  .hr-workspace-switcher{grid-template-columns:1fr}
  .hr-workspace-card{min-height:62px}
  .hr-quick-grid{grid-template-columns:1fr}
}
@media(max-width:820px){
  .hr-shell{padding:14px 12px 26px}
  .hr-self-hero{align-items:flex-start;flex-direction:column}
  .hr-personnel-number{text-align:right;width:100%}
  .hr-alert{grid-template-columns:1fr}
  .hr-filter-bar{flex-direction:column;align-items:stretch}
  .hr-filter-bar select{width:100%}
  .hr-action-bar{align-items:stretch;flex-direction:column}
  .hr-action-bar>div:last-child{width:100%}
  .hr-base-rate-form .module-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hr-base-rate-form .hr-base-year,.hr-base-rate-form .hr-base-date,.hr-base-rate-form .hr-base-status,.hr-base-rate-form .hr-base-money,.hr-base-rate-form .hr-base-factor{grid-column:span 1}
}

/* 1.3.25: HR navigation belongs to the global sidebar */
.hr-workspace-switcher,.hr-section-tabs{display:none!important}

/* 1.3.27 contract workflow */
.contract-manager-results{display:grid;gap:4px;max-height:180px;overflow:auto;margin-top:5px}
.contract-manager-results button{display:grid;gap:2px;padding:8px 9px;border:1px solid #e1e5ea;border-radius:8px;background:#fff;text-align:right;cursor:pointer;font:inherit}
.contract-manager-results button:hover{border-color:#e4a6b3;background:#fffafb}
.contract-manager-results b{font-size:10.5px;color:#313c4b}
.contract-manager-results small{font-size:9px;color:#818b98}
.contract-inline-message{margin:10px 0 0}

/* DAY ERP 1.3.27 R4 - modern HR navigation icons */
.module-sidebar-module-icon svg{width:18px;height:18px;display:block}
.contract-legal-summary{border-inline-start:3px solid #D12244;background:#fff}

/* 1.3.31: HR contract form must feel like a real workflow surface, not a white sheet */
body.hr-modal-open{overflow:hidden}
.hr-modal-host{position:fixed;inset:0;z-index:1500;display:grid;align-items:center;justify-items:center;padding:24px clamp(16px,4vw,56px);background:rgba(22,31,45,.45);backdrop-filter:blur(4px);overflow:hidden}
.hr-modal-host>.module-loading,.hr-modal-host>.module-empty-state{width:min(720px,100%);margin-top:80px;background:#fff}
.hr-contract-form{width:min(1040px,100%);max-height:calc(100dvh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;border:1px solid #cfd8e5;border-radius:8px;background:#f6f8fb;box-shadow:0 26px 70px rgba(10,22,38,.26);overflow:hidden}
.hr-contract-form>header{align-items:center;padding:12px 14px;border-bottom:1px solid var(--module-line,#cad4e3);background:#fbf6f8;color:#25324a}
.hr-contract-title{display:flex;align-items:center;gap:12px;min-width:0}
.hr-contract-title-icon{display:grid;place-items:center;width:38px;height:38px;min-width:38px;border-radius:8px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#fff}
.hr-contract-title-icon svg,.hr-contract-section h4 svg{width:21px;height:21px;display:block}
.hr-contract-form>header h3{margin:0;font-size:20px;line-height:1.5;color:#25324a;font-weight:700}
.hr-contract-form>header p{margin:3px 0 0;color:var(--day-text-muted,#56657b);font-size:12px;line-height:1.7}
.hr-editor-close{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.34);border-radius:8px;background:rgba(255,255,255,.12);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.hr-editor-close:hover{background:#fff;color:#D12244}
.hr-contract-sections{display:grid;gap:20px;padding:16px 0;background:transparent;min-height:0}
.hr-contract-section{position:relative;border:0;border-bottom:1px solid var(--module-line,#cad4e3);border-radius:0;background:transparent;padding:0 0 18px;box-shadow:none}
.hr-contract-section:before{display:none}
.hr-contract-section.section-identity{background:transparent}
.hr-contract-section.section-identity:before{background:#D12244}
.hr-contract-section.section-org{background:transparent}
.hr-contract-section.section-org:before{background:#0f79b2}
.hr-contract-section.section-pay{background:transparent}
.hr-contract-section.section-pay:before{background:#b7791f}
.hr-contract-section h4{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding-inline:14px;color:#25324a}
.hr-contract-section h4>span{display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:8px;background:#fff;border:1px solid currentColor}
.section-identity h4>span{color:#D12244}.section-org h4>span{color:#0f79b2}.section-pay h4>span{color:#b7791f}
.hr-contract-section h4 b{font-size:14px;font-weight:900}
.hr-contract-section h4 small{font-size:12px;color:var(--day-text-muted,#56657b);font-weight:400;line-height:1.7}
.hr-contract-form .module-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.hr-contract-form label{display:grid;gap:6px;align-content:start;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:#394764;font-size:13px;font-weight:500}
.hr-contract-form label.span-2{grid-column:span 2}
.hr-contract-form input,.hr-contract-form select,.hr-contract-form textarea{width:100%;min-height:38px;border:1px solid #9cabb9;border-radius:6px;background:#fff;color:#25324a;font:inherit;font-size:14px;font-weight:400}
.hr-contract-form textarea{line-height:1.75;resize:vertical}
.hr-contract-form input[readonly]{background:#f4f7fb;color:#405069}
.hr-contract-form input:focus,.hr-contract-form select:focus,.hr-contract-form textarea:focus{outline:2px solid rgba(15,118,110,.18);border-color:#0f766e}
.hr-contract-form .day-date-field{display:block;width:100%;min-width:168px;max-width:none}
.hr-contract-form .day-date-control{width:100%;min-width:150px;min-height:38px;background:#fff;display:grid;grid-template-columns:minmax(86px,1fr) 36px;align-items:center;padding:0;overflow:hidden}
.hr-contract-form .day-date-control input,.hr-contract-form input[data-day-date]{min-height:38px;font-size:13px;letter-spacing:0}
.hr-contract-form .day-date-text{font-size:13px;font-weight:800;min-width:92px;text-align:center;padding-inline:8px}
.hr-contract-form .day-date-open{width:36px;min-width:36px}
.contract-national-picker{position:relative}
.contract-national-results{display:grid;gap:6px;margin-top:4px}
.contract-national-results button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;min-height:42px;padding:7px 9px;border:1px solid #d7e3ef;border-radius:8px;background:#fff;color:#1d2a3a;cursor:pointer;text-align:right}
.contract-national-results button:hover{border-color:#0f79b2;background:#f2f9ff}
.contract-national-results b{font-size:12px;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contract-national-results small{font-size:11px;color:#0f79b2;font-weight:850}
.contract-national-results span{grid-column:1 / -1;color:#6b7787;font-size:10px;font-weight:750}
.contract-manager-picker{position:relative}
.contract-manager-picker .field-caption{font-size:10.5px;color:#445164;font-weight:850}
.contract-manager-chip{display:inline-flex;align-items:center;justify-content:space-between;justify-self:start;width:max-content;max-width:100%;gap:8px;min-height:30px;margin-top:1px;padding:4px 8px;border:1px solid #9cc5df;border-radius:999px;background:#eaf6ff;color:#203149;font-size:10.5px;font-weight:800}
.contract-manager-chip[hidden]{display:none}
.contract-manager-chip button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;background:#fff;color:#D12244;cursor:pointer}
.contract-manager-results{position:relative;z-index:2}
.contract-manager-results button{grid-template-columns:1fr auto;align-items:center}
.contract-manager-results button span{font-size:9.5px;color:#D12244;font-weight:850}
.hr-contract-form label.tiny-field{grid-column:span 1}
.hr-contract-form label.compact-field{grid-column:span 1}
.hr-contract-form label.pay-field{min-height:0}
.hr-contract-form label.pay-primary{background:transparent}
.reference-picker{position:relative;grid-template-columns:minmax(0,1fr) 34px!important;align-items:end}
.reference-picker input{grid-column:1}
.reference-picker>button{grid-column:2;display:grid;place-items:center;width:34px;height:36px;border:1px solid #b8c7d8;border-radius:8px;background:#fff;color:#D12244;font:inherit;font-size:18px;font-weight:900;cursor:pointer}
.reference-picker>button:hover{background:#D12244;border-color:#D12244;color:#fff}
.reference-picker .contract-manager-results{grid-column:1 / -1}
.contract-inline-message{max-height:86px;overflow:auto;margin:0;padding:9px 14px;border-top:1px solid #d9e1ea;background:#fff}
.contract-inline-message[hidden]{display:none}
.contract-inline-message[data-kind="error"]{border-color:#f3b7c3;background:#fff4f6;color:#a71935}
.contract-inline-message[data-kind="ok"]{border-color:#b9dccb;background:#f3fbf7;color:#12623d}
.hr-contract-form footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid #d9e1ea;background:#fff;box-shadow:0 -10px 24px rgba(18,30,44,.07)}
.danger-action,.danger-link{border:1px solid #f0b7c3;background:#fff4f6;color:#A71935;border-radius:8px;font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.danger-action{min-height:38px;padding:0 12px}
.danger-link{padding:7px 9px}
.danger-action:hover,.danger-link:hover{background:#A71935;color:#fff;border-color:#A71935}

/* 1.3.37: shared DAY themed select; avoids native Windows-looking dropdowns */
.hr-modal-host>.hr-time-form{position:relative;inset:auto;transform:none;width:min(530px,100%);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 24px 64px rgba(22,31,45,.22);border-radius:8px}
.hr-time-form header h3{font-size:20px;font-weight:700;margin:0}
.hr-leave-form .module-form-grid{grid-template-columns:minmax(170px,220px) minmax(180px,240px);gap:16px}
.hr-leave-mode{border:0;padding:0;margin:0;min-width:0}
.hr-leave-mode legend{font-size:13px;font-weight:500;margin-bottom:7px}
.hr-leave-segments{display:flex;gap:4px;padding:4px;background:#f4f6f8;border:1px solid #d8e0e8;border-radius:8px}
.hr-leave-segments label{position:relative;flex:1;display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
.hr-leave-segments input{position:absolute;opacity:0;width:1px!important;height:1px!important}
.hr-leave-segments span{display:flex;align-items:center;justify-content:center;min-height:34px;border-radius:5px;font-size:14px;cursor:pointer}
.hr-leave-segments input:checked+span{background:#D12244;color:#fff;font-weight:600}
.hr-leave-segments input:focus-visible+span{outline:2px solid #1a7c8b;outline-offset:2px}
.hr-leave-period{grid-column:1/-1;display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;min-width:0}
.hr-leave-period>label{flex:0 1 190px;min-width:160px}
.hr-leave-period>label.hr-leave-clock{flex:0 1 100px;min-width:90px}
.hr-leave-form label{font-size:13px;font-weight:500}
.hr-leave-form input,.hr-leave-form textarea{font-size:14px;font-weight:400}
.hr-time-form input:not([type="radio"]),.hr-time-form textarea,.hr-time-form select{width:100%;min-width:0;border:1px solid #ccd6e3;border-radius:7px;background:#fff;color:#252a31;padding:8px 10px;font:inherit;font-size:14px;outline:none}
.hr-time-form input:not([type="radio"]):focus,.hr-time-form textarea:focus{border-color:#D12244;box-shadow:0 0 0 2px rgba(209,34,68,.1)}
.hr-leave-form .day-select{min-width:0;width:100%}
.hr-leave-form .day-select-button{font-size:14px;font-weight:400}
.hr-leave-form textarea{min-height:68px;resize:vertical}
.hr-leave-form footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hr-time-form footer .primary-action{width:auto;flex-shrink:0}
.hr-leave-summary{font-size:17px;font-weight:600;color:#176b58;min-height:26px;white-space:nowrap}
.hr-leave-mode-tag{display:block;font-size:12px;color:#176b58;font-weight:400}
.hr-leave-duration{white-space:nowrap}
@media(max-width:760px){.hr-leave-form .module-form-grid{grid-template-columns:minmax(0,1fr)}.hr-leave-form .span-2{grid-column:1}.hr-leave-period>label{flex-basis:190px;max-width:100%}}
.day-native-select{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important}
.day-select{position:relative;display:inline-grid;min-width:150px;vertical-align:middle;z-index:5}
.day-select-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:38px;padding:0 12px;border:1px solid #ccd6e3;border-radius:9px;background:linear-gradient(180deg,#fff,#f8fafc);color:#1f2937;font:inherit;font-size:12px;font-weight:850;line-height:1.4;cursor:pointer;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.day-select-button:after{content:"";width:8px;height:8px;border-inline-end:2px solid currentColor;border-block-end:2px solid currentColor;transform:rotate(45deg);opacity:.66;margin-inline-start:2px}
.day-select-button:hover{border-color:#b6c4d4;background:#fff}
.day-select-button:focus-visible{outline:2px solid rgba(209,34,68,.22);border-color:#D12244}
.day-select-menu{position:absolute;inset-block-start:calc(100% + 5px);inset-inline:0;display:none;max-height:240px;overflow:auto;padding:5px;border:1px solid #cad6e4;border-radius:10px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.18);z-index:3000}
.day-select.is-open{z-index:3100}
.day-select.is-open .day-select-menu{display:grid}
.day-select-menu button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:34px;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#263244;text-align:right;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.day-select-menu button:hover,.day-select-menu button:focus-visible{background:#fff4f6;color:#A71935;outline:0}
.day-select-menu button[aria-selected="true"]{background:#D12244;color:#fff}
.day-select-menu button:disabled{opacity:.45;cursor:not-allowed}
.hr-contract-form .day-select{width:100%;min-width:0}
@media(max-width:820px){
  .hr-modal-host{align-items:stretch;padding:10px}
  .hr-contract-form{max-height:calc(100dvh - 20px)}
  .hr-contract-form .module-form-grid{grid-template-columns:1fr}
  .hr-contract-form label.span-2{grid-column:auto}
  .hr-contract-section{padding:11px}
  .hr-contract-section h4{align-items:flex-start;flex-wrap:wrap}
  .hr-contract-form footer{position:relative;bottom:auto}
}
.hr-leave-workflow-backdrop { z-index: 1600; padding: 20px; display: grid; place-items: center; }
.hr-leave-workflow-dialog { background: #fff; border-radius: 8px; width: min(640px,100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 20px; box-shadow: 0 16px 48px #0003; direction: rtl; }
.hr-leave-workflow-dialog header,.hr-leave-request-head,.hr-leave-workflow-dialog footer { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.hr-leave-workflow-dialog header { border-bottom:2px solid #178b94; padding-bottom:12px; margin-bottom:16px; }
.hr-leave-workflow-dialog h3 { font-size:20px; font-weight:700; margin:0; }
.hr-leave-workflow-dialog h4 { font-size:17px; font-weight:600; margin:8px 0; }
.hr-leave-workflow-dialog [data-close] { flex:0 0 40px; width:40px; height:40px; border:1px solid #cbd6e3; border-radius:6px; background:#f5f9fa; color:#405a70; cursor:pointer; }
.hr-leave-facts,.hr-leave-edit-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
.hr-leave-facts { padding:12px 0; margin:8px 0; border-bottom:1px solid #dde5ed; }
.hr-leave-facts dt { font-size:12px; color:#5b687c; }
.hr-leave-facts dd { font-size:14px; margin:4px 0 0; }
.hr-leave-workflow-dialog label { display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:500; }
.hr-leave-workflow-dialog input,.hr-leave-workflow-dialog textarea,.hr-leave-workflow-dialog select { font:inherit; font-size:14px; min-height:40px; border:1px solid #cbd6e3; border-radius:6px; padding:8px 10px; max-width:100%; min-width:0; }
.hr-leave-workflow-dialog input:not([data-day-date]) { width:140px; }
.hr-leave-workflow-dialog textarea { width:100%; box-sizing:border-box; resize:vertical; }
.hr-leave-workflow-dialog .day-display-digits { font-family:DayVazirDigits,Vazir,sans-serif; }
.hr-leave-wide { grid-column:1/-1; }
.hr-leave-workflow-dialog form { border-top:1px solid #dde5ed; margin-top:16px; padding-top:16px; }
.hr-leave-workflow-dialog footer { justify-content:flex-start; margin-top:16px; }
.hr-leave-workflow-dialog footer button { width:auto; flex:0 0 auto; min-height:40px; max-width:100%; font-size:13px; }
.hr-leave-reason { font-size:14px; background:#f0f8f9; padding:10px 12px; border-inline-start:3px solid #178b94; }
.hr-leave-reason b { font-size:13px; font-weight:500; }
.hr-leave-reason p { margin:4px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.hr-leave-decision-note { margin-top:12px; }
.hr-leave-workflow-dialog [role=alert] { color:#b51d39; font-size:13px; }
.hr-leave-account-tools { margin:8px 0 12px; display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.hr-leave-balance-inline { font-weight:700; color:#742444; font-size:14px; }
.hr-leave-account-note { margin:12px 0 0; color:#405068; font-size:13px; line-height:1.7; }
.hr-leave-workflow-dialog [data-account-year] { display:flex; align-items:flex-end; gap:12px; border:0; padding:0; }
.hr-leave-workflow-dialog .module-table-wrap { margin-top:16px; }
@media(max-width:430px){ .hr-leave-workflow-backdrop{padding:8px;} .hr-leave-workflow-dialog{padding:14px;max-height:calc(100dvh - 16px);} .hr-leave-facts,.hr-leave-edit-grid{grid-template-columns:minmax(0,1fr);} }

.hr-contract-form>footer{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.hr-contract-print-style{display:grid;gap:4px;max-width:240px;font-weight:600}.hr-contract-form [data-contract-message]{scroll-margin-block:24px}.hr-contract-form [data-contract-message][data-kind="error"]{color:#9f1239;background:#fff1f2;padding:12px;border-radius:8px}

.hr-contract-route{padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.hr-contract-route ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.hr-contract-route li{font-size:12px;font-weight:600;padding:7px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155}.hr-contract-route li[aria-current="step"]{background:#881337;border-color:#881337;color:#fff}.hr-contract-route p{font-size:12px;color:#881337;margin:10px 0 0}@media(max-width:600px){.hr-contract-route{padding-inline:12px}.hr-contract-route ol{gap:6px}.hr-contract-route li{font-size:11px;padding:6px 8px}}

.hr-training-form>fieldset{border:0;border-top:1px solid var(--border-color,#d8e1ee);padding:16px 0;margin:16px 0 0;min-width:0}
.hr-training-form>fieldset>legend{font-weight:700;padding-inline-end:12px}
.hr-training-search{display:grid;gap:6px;max-width:420px;margin-bottom:12px}
.hr-training-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:280px;overflow:auto;padding:2px}
.hr-training-people>label{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d8e1ee;border-radius:7px;background:#fff;color:#24364c;font-size:13px;cursor:pointer}
.hr-training-people>label[hidden]{display:none}
.hr-training-people>label:has(input:checked){border-color:#a3204f;background:#fff1f5;color:#71173a}
.hr-training-people>label>span{flex:1;min-width:0;overflow-wrap:anywhere}
.hr-training-people>label>small{font-size:12px;color:#526277}
.hr-training-form input[type=checkbox],.hr-training-form input[type=radio]{width:18px;min-width:18px;height:18px;min-height:18px;flex:none;accent-color:#a3204f}
.hr-exam-question-list{display:grid;gap:16px;margin-block:16px}
.hr-training-form .hr-exam-question{display:grid;gap:12px;border:0;border-top:1px solid #d8e1ee;border-radius:0;box-shadow:none;padding:16px 0;background:transparent}
.hr-exam-question h4{margin:0;font-size:14px}
.hr-exam-question>label{max-width:100%}
.hr-exam-question>button{justify-self:start}
.hr-exam-answer{display:grid;gap:8px;border:0;border-top:1px solid #d8e1ee;padding:16px 0;min-width:0}
.hr-exam-answer>legend{font-weight:700;font-size:14px;line-height:1.9;max-width:100%;overflow-wrap:anywhere;padding-inline-end:12px}
.hr-exam-answer>label{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;line-height:1.8;padding:8px 10px;border-radius:6px;background:#f5f7fc;color:#24364c;cursor:pointer}
.hr-exam-clock{margin-block:8px;font-size:13px;color:#71173a}
.hr-exam-clock b{display:inline-block;direction:ltr;text-align:left;min-width:6ch;font-variant-numeric:tabular-nums}
.hr-learning-results .module-table-wrap{margin-block:16px}
@media(max-width:820px){.hr-training-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.hr-training-people{grid-template-columns:minmax(0,1fr)}.hr-training-form>.module-form-grid{grid-template-columns:minmax(0,1fr)}}

/* 261: education fills the workspace; short metadata no longer owns half a form. */
.erp-workspace .hr-learning-layout>.hr-learning-courses{grid-column:1/-1}
.erp-workspace .hr-learning-layout .hr-learning-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;margin:0}
.erp-workspace .hr-learning-card-head h2{margin:0;font-size:17px;font-weight:700;color:#183451}
.hr-learning-count{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 10px;border-radius:999px;background:#eaf0fb;color:#31528a;font-size:13px;font-weight:600}
.erp-workspace .hr-learning-table{width:100%;min-width:960px;table-layout:fixed}
.hr-learning-table col.hr-course-code{width:160px}.hr-learning-table col.hr-course-provider{width:120px}
.hr-learning-table col.hr-course-count{width:106px}.hr-learning-table col.hr-course-exams{width:68px}
.hr-learning-table col.hr-course-state{width:96px}.hr-learning-table col.hr-course-actions{width:198px}
.erp-workspace .hr-learning-table .hr-course-code-cell{white-space:nowrap;font-size:13px;color:#52647c}
.erp-workspace .hr-learning-table .hr-course-title-cell{min-width:236px;word-break:normal;overflow-wrap:break-word}
.erp-workspace .hr-learning-table .hr-course-title-cell strong{font-size:15px;font-weight:700;line-height:1.8;color:#24364c}
.hr-course-row-actions{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px}
.hr-course-row-actions>button{flex:0 0 auto;white-space:nowrap}
.hr-course-results-button{width:36px;height:38px;min-width:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.hr-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.erp-workspace .hr-training-form>.hr-learning-fields{display:flex!important;flex-wrap:wrap;gap:14px 16px!important;align-items:start}
.erp-workspace .hr-training-form .hr-learning-fields>label{display:grid;gap:6px;flex:1 1 240px;min-width:0;max-width:100%;font-size:14px;font-weight:600}
.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-title{flex:1 1 calc(100% - 208px);min-width:min(280px,100%)}
.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-code{flex:0 1 190px}
.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-date{flex:0 1 180px}
.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-short{flex:0 1 144px}
.erp-workspace .hr-training-form .hr-learning-fields>.span-2{flex:1 1 100%}
.erp-workspace .hr-training-form .hr-learning-field-code input{direction:ltr;text-align:left}
.erp-workspace .hr-training-form[data-learning-exam]>.hr-learning-fields>.hr-learning-field-title{flex:1 1 calc(100% - 480px)}
.erp-workspace .hr-training-form>.hr-learning-fields .day-date-control{width:100%;max-width:100%;min-width:0}
.erp-workspace .hr-training-form>fieldset{padding-block:14px;margin-top:16px;border-color:#d6e0ed}
.erp-workspace .hr-training-form>fieldset>legend{font-size:16px;color:#183451}
.erp-workspace .hr-training-form .hr-training-search{display:grid;gap:6px;max-width:360px;font-size:14px;margin-bottom:12px}
.erp-workspace .hr-training-form .hr-training-search input{font-size:15px;border-radius:10px;height:40px;border:1px solid #8192ab}
.erp-workspace .hr-training-people{gap:10px;max-height:300px;padding:2px;scrollbar-width:thin}
.erp-workspace .hr-training-people>label{border-radius:10px;min-height:44px;font-size:14px;padding:10px 12px;background:#f8faff;border-color:#d6e0ed}
.erp-workspace .hr-training-people>label:hover{background:#eef3fb;border-color:#8192ab}
.erp-workspace .hr-training-people>label:has(input:checked){background:#fff1f5;border-color:#a3204f;color:#71173a}
.erp-workspace .hr-training-people>label>small{font-size:13px;color:#52647c}
.erp-workspace .hr-training-form .hr-exam-question{padding:16px;border:1px solid #d6e0ed;border-radius:12px;background:#f8faff;box-shadow:none;gap:12px}
.erp-workspace .hr-training-form .hr-exam-question h4{font-size:16px;font-weight:700;color:#183451}
.erp-workspace .hr-exam-question>label{display:grid;gap:6px;font-size:14px;font-weight:600}
.erp-workspace .hr-exam-question>label.hr-learning-field-short{width:min(200px,100%)}
.erp-workspace .hr-exam-question>.hr-exam-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px!important}
.erp-workspace .hr-exam-question>.hr-exam-options>label{display:grid;gap:6px}
.erp-workspace .hr-exam-answer{border-top-color:#d6e0ed;padding-block:16px}
.erp-workspace .hr-exam-answer>legend{font-size:16px;line-height:1.9;color:#183451}
.erp-workspace .hr-exam-answer>label{min-height:44px;border:1px solid #d6e0ed;background:#f6f9ff;border-radius:10px;font-size:15px;padding:10px 12px}
.erp-workspace .hr-exam-answer>label:has(input:checked){border-color:#a3204f;background:#fff1f5}
@media(max-width:820px){.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-title{flex-basis:100%}.erp-workspace .hr-training-form[data-learning-exam]>.hr-learning-fields>.hr-learning-field-title{flex-basis:100%}.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-short{flex:1 1 120px}}
@media(max-width:760px){.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-date{flex:1 1 160px}.erp-workspace .hr-training-form .hr-learning-fields>.hr-learning-field-code{flex:0 1 180px}.erp-workspace .hr-training-people>label{min-height:48px}.erp-workspace .hr-course-row-actions>button{min-height:44px}}
@media(max-width:430px){.erp-workspace .hr-exam-question>.hr-exam-options{grid-template-columns:minmax(0,1fr)}.erp-workspace .hr-exam-answer>label{font-size:16px}.erp-workspace .hr-training-people{grid-template-columns:minmax(0,1fr)}}
