/* consistent schedule copy form, clean single focus outline for search */
.week-copy-settings-variant{margin:16px 18px;padding:0!important;display:block!important;overflow:hidden;border:1px solid #dbe8e1!important;background:#fff!important;border-radius:15px!important;box-shadow:none!important}
.week-copy-settings-variant .week-copy-settings-header{display:flex;gap:12px;align-items:flex-start;padding:17px 19px;background:#f5faf7;border-bottom:1px solid #e1eae5}
.week-copy-settings-variant .week-copy-settings-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#e4f4eb;color:#16815b}
.week-copy-settings-variant .week-copy-settings-header h5{margin:0 0 5px!important;line-height:1.4;font-size:15px!important;color:#174e3a}
.week-copy-settings-variant .week-copy-settings-header p{margin:0;color:#6c8177;font-size:12px;line-height:1.55}
.week-copy-settings-variant .week-copy-settings-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px;padding:20px 19px}
.week-copy-settings-variant .week-copy-setting-block{display:flex;flex-direction:column;gap:7px;min-width:0}
.week-copy-settings-variant .week-copy-field-title{display:block!important;font-weight:650!important;font-size:12px!important;color:#355c4b!important;margin:0!important;line-height:1.5}
.week-copy-settings-variant .week-copy-setting-block select,.week-copy-settings-variant .week-copy-setting-block .hris-date{width:100%!important;min-width:0;min-height:42px;max-width:100%;border-radius:10px}
.week-copy-settings-variant .week-copy-field-help{font-size:11px;line-height:1.55;color:#778b80}
.week-copy-settings-variant .week-copy-holiday-variant{grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;margin:0!important;padding:13px 14px!important;border:1px solid #dcebe2;border-radius:11px;background:#f8fcf9;cursor:pointer}
.week-copy-settings-variant .week-copy-holiday-variant input{flex:none!important;width:17px!important;height:17px!important;margin:0!important}
.week-copy-settings-variant .week-copy-holiday-variant span{display:flex;flex-direction:column;gap:3px;min-width:0}
.week-copy-settings-variant .week-copy-holiday-variant strong{font-size:12px;color:#2e5943}
.week-copy-settings-variant .week-copy-holiday-variant small{font-size:11px;color:#788b80;line-height:1.5}
.week-copy-settings-variant .week-copy-actions-variant{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0!important;padding:14px 19px;border-top:1px solid #e5eee8;background:#fbfdfb;flex-wrap:wrap}
/* Search focus: both inner field and parent share a single border. No nested glow. */
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field,.search-input):is(:hover,:focus,:focus-within),
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field,.search-input):is(:hover,:focus,:focus-within)::before,
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field,.search-input):is(:hover,:focus,:focus-within)::after{box-shadow:none!important;outline:0!important;filter:none!important}
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field,.search-input) :is(input,.p-inputtext):is(:hover,:focus,:focus-visible),
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field,.search-input) :is(input,.p-inputtext){border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-width:0}
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field):focus-within{border-color:#a9cfb9!important}
:is(.app-shell,.workspace,.modal-card) :is(.searchbox,.legacy-search,.search-box,.search-wrap,.search-field) :is(.p-inputwrapper,.p-inputwrapper-focus,.p-focus):is(:hover,:focus,:focus-within){box-shadow:none!important;outline:0!important;border-color:transparent!important}
@media(max-width:680px){.week-copy-settings-variant{margin:12px 8px}.week-copy-settings-variant .week-copy-settings-body{grid-template-columns:1fr;padding:15px;gap:14px}.week-copy-settings-variant .week-copy-settings-header{padding:14px 15px}.week-copy-settings-variant .week-copy-actions-variant{padding:12px 15px}.week-copy-settings-variant .week-copy-actions-variant .btn{flex:1}}

/* compact copy settings; keep the original copy workflow intact. */
.week-copy-settings-variant3{margin:12px 16px!important;padding:0!important;display:block!important;border:1px solid #e1eae5!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
.week-copy-settings-variant3 .week-copy-settings-header{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;background:#f7fbf9!important;border-bottom:1px solid #e7eee9!important}
.week-copy-settings-variant3 .week-copy-settings-icon{width:30px!important;height:30px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:#e9f6ef!important;color:#16815b!important}
.week-copy-settings-variant3 .week-copy-settings-header h5{font-size:13px!important;font-weight:700!important;line-height:1.35!important;margin:0 0 2px!important}
.week-copy-settings-variant3 .week-copy-settings-header p{font-size:11px!important;line-height:1.4!important;margin:0!important;color:#788a80!important}
.week-copy-settings-variant3 .week-copy-settings-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important;padding:14px!important}
.week-copy-settings-variant3 .week-copy-setting-block{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;margin:0!important}
.week-copy-settings-variant3 .week-copy-field-title{font-size:11px!important;font-weight:650!important;line-height:1.4!important;margin:0!important;color:#355b4a!important}
.week-copy-settings-variant3 .week-copy-setting-block select{height:38px!important;min-height:38px!important;width:100%!important;font-size:12px!important;padding:0 30px 0 10px!important;border-radius:9px!important;box-shadow:none!important}
.week-copy-settings-variant3 .week-copy-holiday{grid-column:1/-1!important;display:flex!important;align-items:center!important;flex-direction:row!important;gap:8px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;font-size:12px!important;font-weight:550!important}
.week-copy-settings-variant3 .week-copy-holiday input{height:16px!important;width:16px!important;margin:0!important;flex:none!important}
.week-copy-settings-variant3 .week-copy-conflict-note{grid-column:1/-1!important;font-size:11px!important;line-height:1.5!important;color:#697e73!important;margin:0!important}
.week-copy-settings-variant3 .week-copy-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;padding:10px 14px!important;margin:0!important;border-top:1px solid #e7eee9!important;background:#fff!important}
.week-copy-settings-variant3 .week-copy-actions .btn{height:35px!important;font-size:11px!important}
/* The Employee Schedule search owns the ONLY visible focus border. */
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border:hover,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border:focus-within{position:relative!important;border:1px solid #cbded4!important;outline:none!important;box-shadow:none!important;filter:none!important;background:#fff!important}
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border:focus-within{border-color:#9bcdb3!important}
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border input,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border input:hover,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border input:focus,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border input:focus-visible{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;appearance:none!important;-webkit-appearance:none!important}
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border::before,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border::after,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border input::before,
.app-shell .workspace .schedule-filter-tools .schedule-search-single-border input::after{content:none!important;display:none!important;box-shadow:none!important}
@media(max-width:680px){.week-copy-settings-variant3{margin:10px 6px!important}.week-copy-settings-variant3 .week-copy-settings-body{grid-template-columns:1fr!important;padding:12px!important}.week-copy-settings-variant3 .week-copy-actions{padding:10px 12px!important}}

/* compact and consistent daily schedule modal. */
.modal-card.modal-temp-schedule form.schedule-override-form{row-gap:14px!important;column-gap:14px!important}
.modal-card.modal-temp-schedule .schedule-override-employee{display:flex!important;align-items:center!important;grid-template-columns:none!important;padding:10px 14px!important;margin:0!important;min-height:55px!important;background:#f7fafb!important;border:1px solid #e1e9ee!important}
.modal-card.modal-temp-schedule .schedule-override-employee span{display:flex!important;flex-direction:column!important;gap:3px!important}
.modal-card.modal-temp-schedule .schedule-override-employee small{font-size:10px!important;letter-spacing:.03em!important;color:#718398!important}
.modal-card.modal-temp-schedule .schedule-override-employee b{font-size:13px!important;line-height:1.4!important;margin:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.modal-card.modal-temp-schedule .schedule-override-timetable{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;font-size:12px!important;font-weight:600!important;min-width:0!important}
.modal-card.modal-temp-schedule .schedule-override-timetable select{margin:0!important;min-height:43px!important;font-size:13px!important;font-weight:500!important}
.modal-card.modal-temp-schedule .schedule-override-date-range{gap:14px!important;margin:0!important;align-items:start!important}
.modal-card.modal-temp-schedule .schedule-override-date-range>label{gap:7px!important;font-size:12px!important;font-weight:600!important}
.modal-card.modal-temp-schedule .schedule-override-date-range hris-date{margin:0!important}
.modal-card.modal-temp-schedule .schedule-ot-option{margin:0!important;min-width:0!important}
.modal-card.modal-temp-schedule .schedule-ot-checkbox{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 14px!important;min-height:64px!important}
.modal-card.modal-temp-schedule .schedule-ot-checkbox>input{margin:0!important;flex:0 0 17px!important}
.modal-card.modal-temp-schedule .schedule-ot-icon{flex:0 0 34px!important;width:34px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.modal-card.modal-temp-schedule .schedule-ot-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.modal-card.modal-temp-schedule .schedule-ot-copy strong{font-size:12px!important;line-height:1.35!important}
.modal-card.modal-temp-schedule .schedule-ot-copy small{font-size:11px!important;line-height:1.4!important}
/* Bulk list: stable three-column rows and one-line toolbar. */
.modal-card.modal-temp-schedule .temp-schedule-bulk-toolbar{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:12px!important;padding:11px 16px!important;min-height:54px!important}
.modal-card.modal-temp-schedule .temp-select-all{margin:0!important;white-space:nowrap!important;font-size:12px!important}
.modal-card.modal-temp-schedule .temp-selection-count{justify-self:start!important;font-size:11px!important}
.modal-card.modal-temp-schedule .temp-bulk-delete{margin:0!important;justify-self:end!important;font-size:11px!important;padding:8px 10px!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list{padding:0 12px!important;max-height:310px!important;overflow-y:auto!important;overflow-x:hidden!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list .temp-schedule-existing-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) 38px!important;align-items:center!important;gap:12px!important;min-height:63px!important;padding:10px 8px!important;border-bottom:1px solid #e8eeeb!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record{min-width:0!important;align-items:flex-start!important;gap:4px!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record b{font-size:12px!important;font-weight:650!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record small{font-size:11px!important;color:#71847a!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .icon-btn{width:34px!important;height:34px!important;min-width:34px!important}
@media(max-width:640px){.modal-card.modal-temp-schedule .temp-schedule-bulk-toolbar{grid-template-columns:auto 1fr!important;gap:8px!important}.modal-card.modal-temp-schedule .temp-bulk-delete{grid-column:1/-1!important;justify-self:end!important}.modal-card.modal-temp-schedule .schedule-override-date-range{gap:9px!important}.modal-card.modal-temp-schedule .schedule-ot-checkbox{padding:10px!important;gap:9px!important}}

/* separate field captions from controls in daily schedule override. */
.modal-card.modal-temp-schedule .schedule-override-form .schedule-override-timetable,
.modal-card.modal-temp-schedule .schedule-override-form .schedule-override-date-range > label {
  display:flex!important; flex-direction:column!important; align-items:stretch!important;
  justify-content:flex-start!important; gap:0!important; line-height:1.45!important;
}
.modal-card.modal-temp-schedule .schedule-override-form .schedule-override-field-label {
  display:block!important; position:static!important; float:none!important;
  margin:0 0 9px 0!important; padding:0!important; min-height:0!important;
  font-size:12px!important; line-height:18px!important; font-weight:600!important;
  color:#4c6b5c!important; letter-spacing:0!important;
}
.modal-card.modal-temp-schedule .schedule-override-form .schedule-override-timetable > select,
.modal-card.modal-temp-schedule .schedule-override-form .schedule-override-date-range > label > hris-date {
  display:block!important; margin:0!important; flex-shrink:0!important;
}
.modal-card.modal-temp-schedule .schedule-override-form .schedule-override-date-range {row-gap:16px!important}

/* compact contract decisions, clean HRD note and centered history. */
.employee-profile-panel .hris-profile-decision{padding:15px 16px!important;gap:12px!important}
.employee-profile-panel .hris-profile-decision>h3{font-size:13px!important;line-height:1.45!important;margin:0!important}
.employee-profile-panel .hris-decision-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%}
.employee-profile-panel .hris-decision-options label{display:flex!important;align-items:center!important;gap:9px!important;padding:9px 11px!important;min-height:39px!important;font-size:11.5px!important;line-height:1.35!important;border-radius:9px!important;white-space:normal!important}
.employee-profile-panel .hris-decision-options input[type="radio"]{width:15px!important;height:15px!important;min-width:15px!important;flex-shrink:0;margin:0!important;accent-color:#089e74}
.employee-profile-panel .hris-note-field{display:flex!important;flex-direction:column!important;gap:7px!important;width:100%!important;font-size:12px!important;font-weight:600!important;color:#416052!important;line-height:1.4!important}
.employee-profile-panel .hris-note-label{display:block;margin:0!important}
.employee-profile-panel .hris-note-field select,.employee-profile-panel .hris-note-field textarea{display:block!important;width:100%!important;max-width:100%!important;min-height:38px!important;margin:0!important;font-size:12px!important;font-weight:400!important;color:#263e34!important;border-radius:9px!important}
.employee-profile-panel .hris-note-field textarea{min-height:65px!important;padding:9px 11px!important;resize:vertical}
.employee-profile-panel .hris-note-field select+textarea{margin-top:3px!important}
.employee-profile-panel .hris-decision-history-table th:nth-child(n/**/+3),.employee-profile-panel .hris-decision-history-table td:nth-child(n/**/+3){text-align:center!important}
.employee-profile-panel .hris-decision-history-table td.hris-contract-history-user{text-align:center!important}
.employee-profile-panel .hris-decision-history-table .hris-contract-user-name,.employee-profile-panel .hris-decision-history-table .hris-contract-user-timestamp{text-align:center!important}
.employee-profile-panel .hris-decision-history-table th,.employee-profile-panel .hris-decision-history-table td{padding-left:12px!important;padding-right:12px!important}
.employee-profile-panel .hris-decision-history-table th:first-child,.employee-profile-panel .hris-decision-history-table td:first-child{padding-left:4px!important;padding-right:4px!important}
@media(min-width:1100px){.employee-profile-panel .hris-decision-options{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:650px){.employee-profile-panel .hris-decision-options{grid-template-columns:1fr!important}.employee-profile-panel .hris-profile-decision{padding:13px!important}.employee-profile-panel .hris-decision-history-table th,.employee-profile-panel .hris-decision-history-table td{padding-left:9px!important;padding-right:9px!important}}

/* compact permanent appointment, profile identity, and balanced No column. */
.employee-profile-panel .hris-decision-history-table th:first-child,
.employee-profile-panel .hris-decision-history-table td:first-child{box-sizing:border-box!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:9px 8px!important;text-align:center!important;white-space:nowrap!important}
.employee-profile-panel .hris-profile-header-variant{display:flex!important;align-items:center!important;gap:14px!important}
.employee-profile-panel .hris-profile-details{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.employee-profile-panel .hris-profile-details h3{margin:0!important;font-size:18px!important;line-height:1.3!important;overflow-wrap:anywhere}
.employee-profile-panel .hris-profile-meta{display:flex!important;align-items:center;flex-wrap:wrap;gap:3px 8px;margin:0!important;font-size:11.5px!important;line-height:1.5!important}
.employee-profile-panel .hris-profile-meta span+span::before{content:"·";margin-right:8px;color:#93a79d}
.employee-profile-panel .hris-profile-badges{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px}
.employee-profile-panel .hris-profile-badges .tag{margin:0!important;line-height:1.4!important}
/* Match the existing renewal preview dimensions, without changing appointment logic. */
.employee-profile-panel .hris-permanent-appointment{gap:10px!important;padding:12px!important;border-radius:10px!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-heading{gap:8px!important;padding-bottom:9px!important;font-size:12px!important;line-height:1.4!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-heading i{font-size:13px!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-date{gap:7px!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-date>label{font-size:11.5px!important;line-height:1.4!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-date .hris-date-field{min-height:38px!important;max-height:42px!important;font-size:12px!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-date input{min-height:38px!important;max-height:42px!important;font-size:12px!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-adjust{padding:8px 10px!important;min-height:38px!important;align-items:center!important;gap:8px!important;font-size:11.5px!important;line-height:1.4!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-adjust input{margin:0!important;width:15px!important;height:15px!important}
.employee-profile-panel .hris-permanent-appointment .hris-permanent-hint{gap:7px!important;font-size:10.5px!important;line-height:1.45!important}
@media(max-width:650px){.employee-profile-panel .hris-profile-header-variant{gap:10px!important}.employee-profile-panel .hris-profile-details h3{font-size:16px!important}.employee-profile-panel .hris-profile-meta{font-size:11px!important}.employee-profile-panel .hris-permanent-appointment{padding:11px!important}}

/* compact balanced employee identity, readable contract notification identity. */
.hris-profile-header-variant3{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(420px,1.45fr);align-items:center!important;gap:24px!important;padding:20px 24px!important;min-height:0!important}
.hris-profile-top{display:flex;align-items:center;gap:15px;min-width:0}
.hris-profile-identity{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.hris-profile-identity h3{margin:0!important;line-height:1.25;font-size:19px;overflow-wrap:anywhere}
.hris-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.hris-profile-fact{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:12px 14px;background:rgba(255,255,255,.58);border:1px solid #d8e5e1;border-radius:11px}
.hris-profile-fact small{font-size:11px;color:#6d8580;font-weight:500}
.hris-profile-fact strong{font-size:13px;color:#24483e;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.hris-notify-name{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:5px;row-gap:2px;line-height:1.4}
.hris-notify-name b{font-size:14px;line-height:1.4}
.hris-notify-role{font-size:12px;font-weight:500;color:#6d817a;overflow-wrap:anywhere}
@media(max-width:1050px){.hris-profile-header-variant3{grid-template-columns:1fr;gap:14px!important}.hris-profile-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.hris-profile-header-variant3{padding:15px!important}.hris-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hris-profile-fact:last-child{grid-column:1/-1}.hris-profile-fact{padding:10px 12px}.hris-profile-identity h3{font-size:17px}}

/* balanced decision cards and top-aligned profile facts. */
.hris-profile-facts-variant{align-items:stretch!important;grid-auto-rows:1fr!important}
.hris-profile-facts-variant .hris-profile-fact{justify-content:flex-start!important;align-items:flex-start!important;gap:7px!important;min-height:86px!important;box-sizing:border-box!important}
.hris-profile-facts-variant .hris-profile-fact small{display:block!important;line-height:1.4!important;margin:0!important}
.hris-profile-facts-variant .hris-profile-fact strong{display:block!important;margin:0!important;line-height:1.45!important}
.hris-decision-options-variant{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;align-items:stretch!important}
.hris-decision-options-variant>label{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:9px!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;line-height:1.35!important;border:1px solid #dbe8e2!important;border-radius:10px!important;background:#fff!important;cursor:pointer!important;font-size:12px!important;font-weight:500!important}
.hris-decision-options-variant>label:has(input:checked){background:#eef8f2!important;border-color:#89c9aa!important;color:#086c4c!important}
.hris-decision-options-variant>label input[type=radio]{flex:0 0 auto!important;margin:0!important;accent-color:#009f73}
@media(max-width:1000px){.hris-decision-options-variant{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){.hris-decision-options-variant{grid-template-columns:1fr!important}.hris-profile-facts-variant .hris-profile-fact{min-height:70px!important}}



/* Global visual refinement — DomaiNesia-inspired clarity, HRIS green identity retained.
   Presentational only; no menu markup, logic, dimensions, or data changes. */
:root{
  --hris-ui-font:"Open Sans","Segoe UI",Arial,sans-serif;
  --hris-ui-ease:cubic-bezier(.22,.72,.24,1);
  --hris-ui-duration:240ms;
}
html,body,#app,.app-shell,.app-shell button,.app-shell input,.app-shell select,
.app-shell textarea,.app-shell .p-component,.app-shell .p-inputtext,
.app-shell .p-dropdown,.app-shell .p-dialog,.app-shell .p-datatable{
  font-family:var(--hris-ui-font)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.app-shell{font-synthesis:none}
/* Stable sidebar geometry: color changes smoothly without lateral movement. */





/* Consistent lightweight transitions for the rest of the interface. */
.app-shell .menu-bar button,.app-shell .icon-btn,.app-shell .btn,
.app-shell .workspace :is(.report-tabs button,.leave-tabs button,.pager-number,.pager-nav),
.app-shell .workspace :is(.action-tile,.panel,.toolbar-card),
.app-shell .p-button,.app-shell .p-dropdown,
.app-shell .p-inputtext{
  transition-property:background-color,border-color,color,box-shadow,opacity!important;
  transition-duration:var(--hris-ui-duration)!important;
  transition-timing-function:var(--hris-ui-ease)!important;
}
.app-shell .menu-bar button:hover,
.app-shell .icon-btn:hover{transform:none!important}
.app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) tbody td{
  transition:background-color 190ms var(--hris-ui-ease)!important;
}
.app-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus-visible{
  outline-offset:1px;
}
/* Avoid animated UI for assistive preferences and keep navigation responsive. */



/* HRIS shared design system — final interface polish.
   Cross-page primitives belong here; sidebar remains owned only by app.css.
   Specialized table column widths and business-specific modal layouts are untouched. */
:root{
  --hris-surface:#ffffff;
  --hris-canvas:#f5faf7;
  --hris-border:#dfebe4;
  --hris-border-soft:#edf3ef;
  --hris-ink:#173f32;
  --hris-ink-soft:#54776a;
  --hris-accent:#079c72;
  --hris-accent-soft:#e7f7ef;
  --hris-radius-sm:10px;
  --hris-radius-md:13px;
  --hris-radius-lg:17px;
  --hris-shadow-soft:0 5px 20px rgba(23,91,62,.045);
  --hris-control-height:42px;
}
/* Typographic rhythm applies to authenticated pages only. */
.app-shell .workspace,
.app-shell .topbar,
.app-shell .modal-card,
.app-shell .p-dialog{
  color:var(--hris-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.app-shell .workspace:not(:has(.department-panel)) :is(h1,h2,h3,h4){
  color:var(--hris-ink);
  letter-spacing:-.017em;
  line-height:1.3;
}
.app-shell .workspace :is(p,small,.muted,.hint){line-height:1.52}
/* Shared surfaces: restrained borders and one consistent elevation. */
.app-shell .workspace :is(.panel,.toolbar-card,.report-hero),
.app-shell .workspace :is(.action-tile),
.app-shell :is(.modal-card,.p-dialog){
  border-color:var(--hris-border);
  box-shadow:var(--hris-shadow-soft);
}
.app-shell .workspace :is(.panel,.toolbar-card,.report-hero){border-radius:var(--hris-radius-lg)}
.app-shell .workspace :is(.action-tile){border-radius:var(--hris-radius-md)}
.app-shell .workspace .workspace-head{gap:16px}
.app-shell .workspace .toolbar-card{padding:clamp(12px,1.15vw,18px)}
.app-shell .workspace :is(.head-actions,.toolbar-actions,.filter-actions){gap:10px}
/* Unified form control treatment; search containers keep their own input composition. */
.app-shell .workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),
.app-shell :is(.modal-card,.p-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea),
.app-shell .workspace :is(.p-inputtext,.p-dropdown,.p-multiselect,.p-calendar){
  border-color:#d6e7dd;
  border-radius:var(--hris-radius-sm);
  color:var(--hris-ink);
  transition:background-color 220ms ease,border-color 220ms ease,box-shadow 220ms ease,color 220ms ease;
}
.app-shell .workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not(:disabled):focus-visible,
.app-shell :is(.modal-card,.p-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not(:disabled):focus-visible{
  border-color:#7bc9a6;
  box-shadow:0 0 0 3px rgba(22,154,107,.10);
}
.app-shell .workspace :is(input,select,textarea)::placeholder,
.app-shell :is(.modal-card,.p-dialog) :is(input,textarea)::placeholder{color:#8ba599;opacity:1}
/* Soft click targets without size changes; keep existing intent and color variants. */
.app-shell .workspace :is(.btn,.icon-btn,.p-button),
.app-shell :is(.modal-card,.p-dialog) :is(.btn,.icon-btn,.p-button){
  border-radius:var(--hris-radius-sm);
  transition:background-color 220ms ease,border-color 220ms ease,color 220ms ease,box-shadow 220ms ease,opacity 220ms ease;
}
.app-shell .workspace :is(.btn,.icon-btn,.p-button):hover:not(:disabled),
.app-shell :is(.modal-card,.p-dialog) :is(.btn,.icon-btn,.p-button):hover:not(:disabled){transform:none}
.app-shell .workspace :is(.btn,.icon-btn,.p-button):focus-visible,
.app-shell :is(.modal-card,.p-dialog) :is(.btn,.icon-btn,.p-button):focus-visible{
  outline:2px solid #78c7a2;
  outline-offset:2px;
}
/* Consistent readable table density without overriding per-page colgroup widths. */
.app-shell .workspace :is(.data-table,.simple-data-table,.legacy-report-table,.schedule-data-table) :is(th,td){vertical-align:middle}
.app-shell .workspace :is(.data-table,.simple-data-table,.legacy-report-table,.schedule-data-table) thead th{
  color:#315f4c;
  border-color:#e0ebe5;
  letter-spacing:.018em;
}
.app-shell .workspace :is(.data-table,.simple-data-table,.legacy-report-table,.schedule-data-table) tbody td{border-color:var(--hris-border-soft)}
.app-shell .workspace :is(.data-table,.simple-data-table,.legacy-report-table,.schedule-data-table) tbody tr:hover td{
  background-color:rgba(224,247,235,.28);
}
/* Subtle accent for informational tiles and buttons already marked as primary. */
.app-shell .workspace :is(.action-tile,.toolbar-card,.panel) :is(.pi,.lucide){vertical-align:middle}
.app-shell .workspace :is(.btn.primary,.p-button-success):not(:disabled){box-shadow:0 4px 11px rgba(8,142,101,.095)}
.app-shell .workspace :is(.btn.primary,.p-button-success):hover:not(:disabled){box-shadow:0 6px 14px rgba(8,142,101,.14)}
/* Modal legibility is uniform without changing special forms or dialog dimensions. */
.app-shell :is(.modal-card,.p-dialog){border-radius:var(--hris-radius-lg)}
.app-shell :is(.modal-card,.p-dialog) :is(label,.field-label){line-height:1.45}
.app-shell :is(.modal-card,.p-dialog) :is(.form-grid,.modal-actions){row-gap:12px}
/* Motion should never be required to understand a control. */
@media (prefers-reduced-motion:reduce){
  .app-shell .workspace :is(.btn,.icon-btn,.p-button,input,select,textarea,.p-inputtext,.p-dropdown,.p-multiselect),
  .app-shell :is(.modal-card,.p-dialog) :is(.btn,.icon-btn,.p-button,input,select,textarea){transition-duration:.01ms!important}
}
@media (max-width:720px){
  .app-shell .workspace .workspace-head{gap:10px}
  .app-shell .workspace .toolbar-card{padding:12px}
  .app-shell .workspace :is(.head-actions,.toolbar-actions,.filter-actions){gap:7px}
}
/* Dashboard-inspired icon accents for neutral action tiles across workspaces. */
.app-shell .workspace .action-tile:not(.primary):not(.danger):nth-child(5n + 1)>i{background:#e3f6ed;color:#07976c}
.app-shell .workspace .action-tile:not(.primary):not(.danger):nth-child(5n + 2)>i{background:#e7f2ff;color:#247ec5}
.app-shell .workspace .action-tile:not(.primary):not(.danger):nth-child(5n + 3)>i{background:#f1e9ff;color:#8d5dd2}
.app-shell .workspace .action-tile:not(.primary):not(.danger):nth-child(5n + 4)>i{background:#fff2e0;color:#c6801e}
.app-shell .workspace .action-tile:not(.primary):not(.danger):nth-child(5n)>i{background:#ffeaf0;color:#c95b7c}
