/* Employee surfaces use the CRM's shared Public Sans / teal palette. */
@layer property-lens {
 #strongholdApp #employeeDetail input[aria-invalid="true"] {border:2px solid #b42318 !important;outline:2px solid #b42318 !important;outline-offset:2px !important;}
 #strongholdApp #employeeDetail .ew-field-error {display:block !important;color:#b42318 !important;font-size:12px !important;line-height:1.4 !important;white-space:normal !important;}
 #strongholdApp #employeeDetail .ew-tabs [data-invalid="true"] {border-bottom:3px solid #b42318 !important;}
 #strongholdApp #employeeDetail [data-record-autosave-status][data-state="invalid"] {color:#b42318 !important;}
 #strongholdApp :is(#employeesView,#employeeDetailView,#employeeDialog) {color:#18383d !important;min-width:0 !important;}
 #strongholdApp :is(#employeesView,#employeeDetailView,#employeeDialog) :is(h2,h3,p,label,span,strong,small,button,input,legend,summary,textarea) {font-family:"Public Sans",Arial,sans-serif !important;text-transform:none !important;letter-spacing:normal !important;text-shadow:none !important;box-sizing:border-box !important;}
 #strongholdApp :is(#employeesView,#employeeDetailView) {background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;}
 #strongholdApp :is(#employeesView,#employeeDetail) > .section-heading {padding:0 !important;margin:0 0 22px !important;background:transparent !important;border:0 !important;box-shadow:none !important;align-items:center !important;}
 #strongholdApp :is(#employeesView,#employeeDetail) h2 {font-size:26px !important;font-weight:700 !important;line-height:1.25 !important;color:#18383d !important;margin:5px 0 !important;}
 #strongholdApp :is(#employeesView,#employeeDetail) .section-heading p {font-size:13px !important;color:#536970 !important;margin:6px 0 0 !important;}
 #strongholdApp :is(.ew-eyebrow,.employee-directory-eyebrow) {font-size:11px !important;font-weight:600 !important;color:#536970 !important;}
 #strongholdApp :is(#employeesView,#employeeDetailView,#employeeDialog) button {min-height:40px !important;height:auto !important;border-radius:6px !important;font-size:13px !important;font-weight:600 !important;box-shadow:none !important;white-space:normal !important;}
 #strongholdApp :is(#employeesView,#employeeDetailView,#employeeDialog) :is(button,input,summary,textarea):focus-visible {outline:3px solid #00726a !important;outline-offset:3px !important;}
 #strongholdApp :is(#openEmployeeBtn,[data-save-employee-detail],#saveEmployeeBtn) {background:#00726a !important;border:1px solid #00726a !important;color:white !important;padding:10px 18px !important;}
 #strongholdApp #employeesView .employee-directory-panel {padding:16px !important;background:white !important;border:1px solid #dde6e6 !important;border-radius:8px 8px 0 0 !important;margin:0 !important;box-shadow:none !important;}
 #strongholdApp #employeesView .employee-filter-bar {display:flex !important;align-items:end !important;gap:16px !important;flex-wrap:wrap !important;}
 #strongholdApp #employeesView .employee-directory-search {order:-1 !important;flex:1 1 260px !important;display:grid !important;gap:7px !important;margin:0 !important;}
 #strongholdApp #employeesView .employee-directory-search span {font-size:12px !important;color:#536970 !important;}
 #strongholdApp #employeesView .tabs {display:flex !important;gap:3px !important;background:#f4f7f7 !important;padding:3px !important;border:1px solid #dde6e6 !important;border-radius:7px !important;width:auto !important;margin:0 !important;}
 #strongholdApp #employeesView .tab {background:transparent !important;border:0 !important;color:#536970 !important;padding:8px 12px !important;min-height:36px !important;}
 #strongholdApp #employeesView .tab.active {background:white !important;color:#00726a !important;box-shadow:0 1px 3px #18383d1a !important;}
 #strongholdApp #employeesView .employee-directory-summary {display:flex !important;gap:18px !important;margin:13px 0 0 !important;padding:0 !important;border:0 !important;background:none !important;}
 #strongholdApp #employeesView .employee-directory-summary > span {display:flex !important;align-items:baseline !important;gap:5px !important;padding:0 !important;border:0 !important;background:none !important;min-width:0 !important;}
 #strongholdApp #employeesView .employee-directory-summary :is(b,small) {font-size:12px !important;color:#536970 !important;}
 #strongholdApp #employeeList {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:0 !important;border:1px solid #dde6e6 !important;border-top:0 !important;border-radius:0 0 8px 8px !important;background:white !important;overflow:hidden !important;}
 #strongholdApp #employeeList .employee-roster-card {display:grid !important;grid-template-columns:minmax(0,1fr) 150px auto !important;align-items:center !important;gap:20px !important;border:0 !important;border-bottom:1px solid #e6ecec !important;border-radius:0 !important;padding:18px 20px !important;margin:0 !important;background:white !important;box-shadow:none !important;min-height:112px !important;}
 #strongholdApp #employeeList .employee-roster-card:last-child {border-bottom:0 !important;}
 #strongholdApp #employeeList .employee-roster-card {grid-template-areas:none !important;grid-template-rows:auto !important;grid-auto-rows:auto !important;align-content:center !important;}
 #strongholdApp #employeeList .employee-card-title-row {justify-content:flex-start !important;}
 #strongholdApp #employeeList .employee-card-title-row h3 {flex:0 1 auto !important;}
 #strongholdApp #employeeList .employee-roster-workload > .employee-assignment-fact {display:none !important;}
 #strongholdApp #employeeList .employee-roster-workload > span {min-width:44px !important;flex:0 0 auto !important;}
 #strongholdApp #employeeList .employee-roster-workload small {text-overflow:clip !important;white-space:normal !important;overflow:visible !important;letter-spacing:normal !important;}
 #strongholdApp #employeeList .employee-roster-card::before {display:none !important;}
 #strongholdApp #employeeList :is(.employee-card-header,.employee-roster-workload,.employee-card-primary-actions) {grid-column:auto !important;grid-row:auto !important;width:auto !important;}
 #strongholdApp #employeeList .employee-card-identity {min-width:0 !important;display:block !important;}
 #strongholdApp #employeeList .employee-status-chip {margin-left:0 !important;}
 #strongholdApp #employeeList .employee-contact-preview span {flex:0 1 auto !important;border:0 !important;padding:0 !important;}
 #strongholdApp #employeeList .employee-roster-card:hover {background:#fbfdfc !important;}
 #strongholdApp #employeeList .employee-card-header {display:grid !important;grid-template-columns:46px minmax(0,1fr) !important;gap:14px !important;padding:0 !important;border:0 !important;background:none !important;align-items:center !important;}
 #strongholdApp #employeeList .employee-card-avatar,#strongholdApp #employeeList .employee-card-avatar :is(img,.employee-avatar-fallback) {width:46px !important;height:46px !important;min-width:46px !important;min-height:46px !important;border-radius:50% !important;}
 #strongholdApp #employeeList .employee-card-avatar .employee-avatar-fallback {display:grid !important;place-items:center !important;background:#e1eeeb !important;color:#00726a !important;font-size:15px !important;}
 #strongholdApp #employeeList .employee-card-title-row {display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:8px !important;}
 #strongholdApp #employeeList h3 {font-size:15px !important;font-weight:650 !important;line-height:1.35 !important;margin:0 !important;color:#18383d !important;white-space:normal !important;overflow-wrap:anywhere !important;}
 #strongholdApp #employeeList .employee-status-chip {font-size:10px !important;padding:2px 6px !important;border:0 !important;background:#eaf4ee !important;color:#266248 !important;}
 #strongholdApp #employeeList .employee-status-chip.prior {background:#f0f1f2 !important;color:#59656b !important;}
 #strongholdApp #employeeList .employee-card-job-title {font-size:12px !important;font-weight:400 !important;color:#536970 !important;margin:3px 0 !important;}
 #strongholdApp #employeeList .employee-role-preview {display:none !important;}
 #strongholdApp #employeeList .employee-contact-preview {display:flex !important;flex-wrap:wrap !important;gap:4px 12px !important;margin:4px 0 0 !important;font-size:12px !important;color:#536970 !important;}
 #strongholdApp #employeeList .employee-contact-preview span {white-space:normal !important;overflow-wrap:anywhere !important;}
 #strongholdApp #employeeList .employee-roster-workload {display:flex !important;gap:18px !important;border:0 !important;margin:0 !important;padding:0 !important;background:none !important;}
 #strongholdApp #employeeList .employee-roster-workload > span {display:grid !important;gap:4px !important;background:none !important;border:0 !important;padding:0 !important;text-align:left !important;}
 #strongholdApp #employeeList .employee-roster-workload b {font-size:15px !important;color:#18383d !important;}
 #strongholdApp #employeeList .employee-roster-workload small {font-size:11px !important;color:#536970 !important;}
 #strongholdApp #employeeList .employee-assignment-fact {display:none !important;}
 #strongholdApp #employeeList .employee-card-primary-actions {display:flex !important;gap:6px !important;padding:0 !important;margin:0 !important;border:0 !important;background:none !important;}
 #strongholdApp #employeeList .employee-action {background:white !important;border:1px solid #dde6e6 !important;color:#536970 !important;padding:8px 10px !important;}
 #strongholdApp #employeeList .employee-action.profile {color:#00726a !important;border-color:#bed5d0 !important;background:#f0f7f5 !important;}
 #strongholdApp #employeeList .employee-action img {width:15px !important;height:15px !important;}
 #strongholdApp #employeeList .employee-card-expanded {grid-column:1 / -1 !important;padding:20px !important;border:1px solid #dde6e6 !important;border-radius:8px !important;background:#f4f7f7 !important;}
 #strongholdApp #employeeDetail {max-width:1080px !important;margin:0 auto !important;}
 #strongholdApp .workspace:has(#employeeDetailView.active) > .workspace-topbar {display:none !important;}
 #strongholdApp .ew-return {margin:0 0 16px !important;padding:6px 0 !important;background:transparent !important;border:0 !important;color:#00726a !important;}
 #strongholdApp .employee-editor-card {display:block !important;padding:0 !important;background:white !important;border:1px solid #dde6e6 !important;border-radius:9px !important;box-shadow:none !important;overflow:visible !important;}
 #strongholdApp .ew-tabs {display:flex !important;gap:6px !important;padding:0 22px !important;border-bottom:1px solid #dde6e6 !important;overflow-x:auto !important;}
 #strongholdApp .ew-tabs button {flex:0 0 auto !important;white-space:nowrap !important;padding:16px 10px !important;border:0 !important;border-bottom:3px solid transparent !important;border-radius:0 !important;background:transparent !important;color:#536970 !important;}
 #strongholdApp .ew-tabs button[aria-selected="true"] {color:#00726a !important;border-bottom-color:#00726a !important;}
 #strongholdApp .ew-section {display:block !important;padding:28px !important;min-width:0 !important;}
 #strongholdApp .ew-section h3 {font-size:18px !important;color:#18383d !important;margin:0 0 7px !important;}
 #strongholdApp .ew-section > p {font-size:13px !important;color:#536970 !important;line-height:1.5 !important;margin:0 0 24px !important;}
 #strongholdApp .ew-fields {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:22px 24px !important;}
 #strongholdApp :is(.ew-fields,#employeeForm) label {display:grid !important;gap:8px !important;color:#365359 !important;font-size:12px !important;font-weight:600 !important;min-width:0 !important;margin:0 !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm,#employeeSearchInput) input:not([type="checkbox"]):not([type="range"]):not([type="color"]),#strongholdApp #employeeSearchInput {width:100% !important;min-width:0 !important;min-height:43px !important;padding:10px 12px !important;background:#fff !important;border:1px solid #cbd9d8 !important;border-radius:6px !important;font-size:14px !important;color:#18383d !important;box-shadow:none !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm) input:disabled {background:#f4f7f7 !important;color:#657a7e !important;}
 #strongholdApp .ew-savebar {position:sticky !important;bottom:0 !important;z-index:5 !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:16px !important;padding:16px 28px !important;border-top:1px solid #dde6e6 !important;border-radius:0 0 9px 9px !important;background:#fff !important;}
 #strongholdApp .ew-savebar > span {font-size:12px !important;color:#536970 !important;}
 #strongholdApp .ew-savebar button {flex:0 0 auto !important;}
 #strongholdApp #employeeDetail .employee-role-settings {margin:28px 0 0 !important;padding:20px !important;border:1px solid #dde6e6 !important;border-radius:7px !important;background:#f8faf9 !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm) .checkbox-grid {display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm) .check-row {display:flex !important;align-items:center !important;gap:9px !important;min-height:42px !important;padding:9px !important;border:1px solid #dde6e6 !important;border-radius:6px !important;background:white !important;font-size:12px !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm) .check-row:has(input:checked) {background:#edf6f2 !important;border-color:#83b1a4 !important;color:#00695e !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm) input[type="checkbox"] {width:16px !important;height:16px !important;min-height:16px !important;flex:0 0 16px !important;accent-color:#00726a !important;}
 #strongholdApp #employeeDetail .employee-role-settings .helper {font-size:12px !important;line-height:1.5 !important;color:#536970 !important;}
 #strongholdApp :is(.ew-account-actions,.ew-optional) {margin:24px 0 0 !important;border-top:1px solid #dde6e6 !important;padding-top:18px !important;}
 #strongholdApp :is(.ew-account-actions,.ew-optional) summary {font-size:13px !important;font-weight:600 !important;cursor:pointer !important;color:#536970 !important;min-height:32px !important;}
 #strongholdApp .ew-account-actions button {margin:12px 0 0 !important;}
 #strongholdApp #employeeDetail :is(.employee-photo-workbench,.employee-cursor-setting) {border:1px solid #dde6e6 !important;background:#f8faf9 !important;box-shadow:none !important;border-radius:8px !important;padding:20px !important;margin:0 0 20px !important;}
 #strongholdApp #employeeDetail .employee-photo-trigger {display:grid !important;place-items:center !important;width:96px !important;height:96px !important;min-height:96px !important;min-width:96px !important;padding:0 !important;background:transparent !important;border:0 !important;border-radius:10px !important;overflow:hidden !important;}
 #strongholdApp #employeeDetail .employee-profile-avatar {width:96px !important;height:96px !important;min-height:96px !important;border-radius:10px !important;}
 #strongholdApp #employeeDetail .employee-avatar-fallback {display:grid !important;place-items:center !important;background:#e1eeeb !important;color:#00726a !important;font-size:26px !important;box-shadow:none !important;}
 #strongholdApp #employeeDetail .employee-cursor-setting {grid-template-columns:minmax(0,1fr) auto !important;}
 #strongholdApp #employeeDetail .employee-cursor-color-controls {grid-column:1 / -1 !important;}
 #strongholdApp #employeeDetail .employee-photo-summary small,#strongholdApp #employeeDetail .employee-cursor-setting-copy small {font-size:12px !important;line-height:1.5 !important;color:#536970 !important;}
 #strongholdApp #ew-panel-notes .record-card {padding:0 !important;border:0 !important;box-shadow:none !important;background:none !important;}
 #strongholdApp #ew-panel-notes .record-card > h3 {font-size:15px !important;margin:0 0 12px !important;}
 #strongholdApp #ew-panel-notes textarea {display:block !important;width:100% !important;min-height:100px !important;padding:12px !important;border:1px solid #cbd9d8 !important;border-radius:6px !important;font-size:14px !important;}
 #strongholdApp #ew-panel-notes [data-add-employee-comment] {margin:12px 0 0 !important;color:#00726a !important;background:#f0f7f5 !important;border:1px solid #bed5d0 !important;}
 #strongholdApp #ew-panel-notes .folder-items {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:0 !important;margin-top:20px !important;}
 #strongholdApp #ew-panel-notes .folder-item {display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;gap:7px 16px !important;padding:16px 0 !important;border:0 !important;border-bottom:1px solid #dde6e6 !important;border-radius:0 !important;background:none !important;box-shadow:none !important;}
 #strongholdApp #ew-panel-notes .folder-item > span {font-size:14px !important;line-height:1.5 !important;overflow-wrap:anywhere !important;white-space:pre-wrap !important;}
 #strongholdApp #ew-panel-notes .folder-item > small {grid-column:1 !important;color:#536970 !important;font-size:12px !important;}
 #strongholdApp #ew-panel-notes .folder-item > button {grid-column:2 !important;grid-row:1 / 3 !important;align-self:center !important;background:transparent !important;border:1px solid #dde6e6 !important;color:#536970 !important;}
 #strongholdApp #ew-panel-notes .employee-official-panel {border:1px solid #dde6e6 !important;border-radius:7px !important;padding:16px !important;background:#f8faf9 !important;box-shadow:none !important;}
 #strongholdApp #ew-panel-notes .employee-card-official-grid {grid-template-columns:minmax(0,1fr) !important;}
 #strongholdApp .ew-note-actions {margin:24px 0 12px !important;}
 #strongholdApp .ew-note-save-hint {padding:12px !important;background:#f0f7f5 !important;border:1px solid #c4dbd4 !important;border-radius:6px !important;font-size:13px !important;color:#365359 !important;}
 #strongholdApp #employeeDialog {width:min(740px,calc(100vw - 28px)) !important;max-width:740px !important;max-height:calc(100dvh - 28px) !important;padding:0 !important;border:1px solid #dde6e6 !important;border-radius:10px !important;background:#fff !important;}
 #strongholdApp #employeeForm {display:block !important;padding:28px !important;width:100% !important;max-width:none !important;background:white !important;}
 #strongholdApp #employeeForm > h2 {font-size:24px !important;margin:6px 0 24px !important;color:#18383d !important;}
 #strongholdApp #employeeForm .close-x::before,#strongholdApp #employeeForm .close-x::after {display:none !important;}
 #strongholdApp #employeeForm .ew-section {padding:0 0 24px !important;}
 #strongholdApp #employeeForm .ew-section + .ew-section {padding-top:24px !important;border-top:1px solid #dde6e6 !important;}
 #strongholdApp #employeeForm .ew-section h3 {font-size:15px !important;}
 #strongholdApp #employeeForm .ew-section p {margin-bottom:18px !important;font-size:12px !important;}
 #strongholdApp #employeeForm .ew-optional {margin:0 !important;}
 #strongholdApp #employeeForm menu {display:flex !important;justify-content:flex-end !important;gap:10px !important;margin:24px 0 0 !important;padding:18px 0 0 !important;border-top:1px solid #dde6e6 !important;}
 #strongholdApp :is(#employeeDetail,#employeeForm) [hidden] {display:none !important;}
 @media(max-width:1100px) {
  #strongholdApp #employeeList .employee-roster-card {grid-template-columns:minmax(0,1fr) auto !important;gap:12px !important;}
  #strongholdApp #employeeList .employee-roster-workload {display:none !important;}
 }
 @media(max-width:600px) {
  #strongholdApp #employeesView > .section-heading {align-items:flex-start !important;gap:12px !important;}
  #strongholdApp #employeesView h2 {font-size:22px !important;}
  #strongholdApp #employeesView .section-heading p {display:none !important;}
  #strongholdApp #openEmployeeBtn {padding:9px 12px !important;font-size:12px !important;flex:0 0 auto !important;}
  #strongholdApp #employeesView .employee-filter-bar {gap:12px !important;}
  #strongholdApp #employeesView .employee-directory-summary {gap:12px !important;flex-wrap:wrap !important;}
  #strongholdApp #employeeList .employee-roster-card {grid-template-columns:minmax(0,1fr) !important;padding:18px 16px !important;gap:14px !important;}
  #strongholdApp #employeeList .employee-card-primary-actions {display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  #strongholdApp #employeeList .employee-action {font-size:12px !important;padding:8px 6px !important;min-height:44px !important;}
  #strongholdApp #employeeList .employee-card-expanded {padding:14px !important;}
  #strongholdApp .ew-tabs {padding:0 8px !important;gap:0 !important;}
  #strongholdApp .ew-tabs button {font-size:12px !important;padding:14px 10px !important;}
  #strongholdApp .ew-section {padding:22px 18px !important;}
  #strongholdApp .ew-fields {grid-template-columns:minmax(0,1fr) !important;gap:18px !important;}
  #strongholdApp :is(#employeeDetail,#employeeForm) .checkbox-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  #strongholdApp .ew-savebar {padding:14px 18px !important;gap:12px !important;}
  #strongholdApp .ew-savebar > span {font-size:11px !important;}
  #strongholdApp .ew-savebar button {min-height:44px !important;padding:10px 13px !important;}
  #strongholdApp #employeeDetail .employee-role-settings {padding:12px !important;}
  #strongholdApp #employeeDetail .employee-cursor-setting {grid-template-columns:minmax(0,1fr) !important;}
  #strongholdApp #employeeForm {padding:24px 18px !important;}
  #strongholdApp #ew-panel-notes .folder-item {grid-template-columns:minmax(0,1fr) !important;}
  #strongholdApp #ew-panel-notes .folder-item > button {grid-column:1 !important;grid-row:auto !important;justify-self:start !important;}
  #strongholdApp :is(#employeeDetail,#employeeForm) input:not([type="checkbox"]):not([type="range"]):not([type="color"]) {font-size:16px !important;}
 }
}
