/* Focused workspace layout. Loaded after the legacy themes to keep these
   component styles together without changing payroll or print templates. */
body:has(#appView:not(.hidden)) {
  background: #f6f8fb !important;
}

body:has(#employeeEditorDialog[open]) { overflow-y: hidden; }

.shell:has(> #appView:not(.hidden)) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#appView {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  min-height: 100dvh !important;
  background: #f6f8fb !important;
}

#appView .side-rail {
  position: sticky !important;
  top: 0 !important;
  align-self: start;
  height: 100dvh !important;
  width: auto !important;
  margin: 0 !important;
  padding: 28px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  border: 0 !important;
  border-right: 1px solid #e5e9ef !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#appView .side-rail::before {
  display: block !important;
  content: "◆ Routes Payroll" !important;
  padding: 0 10px 26px !important;
  margin: 0 0 18px !important;
  border-bottom: 1px solid #eef0f4 !important;
  font-size: 18px !important;
  letter-spacing: -0.6px !important;
  font-weight: 750 !important;
  color: #172b40 !important;
  white-space: nowrap;
}

#appView .rail-btn {
  min-height: 44px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  color: #40546d !important;
  gap: 11px !important;
}

#appView .rail-btn::after { font-size: 13px !important; font-weight: 600 !important; }
#appView .rail-btn::before { width: 17px !important; height: 17px !important; flex-basis: 17px !important; }
#appView .rail-btn:hover { background: #f4f7fa !important; color: #172b40 !important; }
#appView .rail-btn.active { background: #eaf3f8 !important; border-color: transparent !important; color: #176281 !important; box-shadow: none !important; }
#appView .rail-btn.active::before { background: #176281 !important; }

#appView .app-main {
  min-width: 0;
  padding: 24px 32px 40px !important;
  background: #f6f8fb !important;
}

#appView .topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 0 0 22px !important;
  margin: 0 0 30px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e8ef !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#appView .workspace-brand { flex: 0 0 auto; }
#appView .topbar .eyebrow { margin: 0 0 3px !important; font-size: 10px !important; color: #52647a !important; font-weight: 600 !important; }
#appView .topbar h1 { font-size: 16px !important; font-weight: 650 !important; line-height: 1.4 !important; letter-spacing: -0.4px !important; color: #20334a !important; -webkit-text-fill-color: #20334a !important; }
#appView .toolbar { display: flex !important; flex-wrap: wrap !important; overflow: visible !important; padding: 0 !important; gap: 8px !important; justify-content: flex-end !important; align-items: center !important; }
#appView .toolbar .inline-field { min-width: 0 !important; min-height: 38px !important; width: auto !important; margin: 0 !important; padding: 0 10px !important; border: 1px solid #dfe5ed !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; }
#appView .toolbar .inline-field span { font-size: 10px !important; font-weight: 600 !important; color: #40546d !important; text-transform: none !important; letter-spacing: 0 !important; white-space: nowrap; }
#appView .toolbar .inline-field input,
#appView .toolbar .inline-field select { width: auto !important; max-width: 220px !important; min-width: 0 !important; min-height: 36px !important; height: 36px !important; margin: 0 !important; padding: 0 4px !important; border-radius: 4px !important; font-size: 12px !important; font-weight: 600 !important; }
#appView .toolbar > button,
#appView .toolbar .action-menu summary { min-height: 38px !important; padding: 8px 12px !important; width: auto !important; min-width: 0 !important; margin: 0 !important; border-radius: 8px !important; box-shadow: none !important; font-size: 11px !important; font-weight: 600 !important; }
#appView .toolbar .action-menu { width: auto !important; }
#appView .toolbar #logoutBtn { color: #40546d !important; background: transparent !important; border-color: transparent !important; }
#appView:has(#employeesSection:not(.hidden)) #addEmployeeBtn { display: none !important; }

#employeesSection .employee-page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 26px; }
#employeesSection .employee-eyebrow { margin: 0 0 6px; font-size: 10px; font-weight: 650; letter-spacing: 1.4px; color: #4b6078; }
#employeesSection .employee-page-head h2 { margin: 0 0 7px; font-size: 30px !important; font-weight: 700; letter-spacing: -1.1px; line-height: 1.2; color: #172b40; }
#employeesSection .employee-page-description { margin: 0; font-size: 14px; color: #4b6078; line-height: 1.6; }
#employeesSection #employeeAddBtn { min-height: 42px; padding: 0 18px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; border-radius: 8px !important; border-color: #183b50 !important; background: #183b50 !important; box-shadow: 0 2px 3px #162d4210 !important; font-weight: 600 !important; font-size: 12px; }
#employeesSection #employeeAddBtn span { font-size: 20px; font-weight: 400; }
#employeesSection #employeeAddBtn:hover { background: #23536b !important; }

#employeesSection .employee-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 28px; border: 1px solid #e2e7ee; border-radius: 12px; background: #fff; padding: 21px 0; }
#employeesSection .employee-stat { min-width: 0; padding: 0 24px; }
#employeesSection .employee-stat + .employee-stat { border-left: 1px solid #e9edf2; }
#employeesSection .employee-stat > span { display: flex; align-items: center; gap: 7px; color: #40546d; font-size: 12px; font-weight: 600; }
#employeesSection .employee-stat > strong { display: block; margin: 7px 0 5px; font-size: clamp(20px, 1.8vw, 28px); color: #20334a; font-weight: 650; line-height: 1.2; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#employeesSection .employee-stat > small { display: block; font-size: 11px; line-height: 1.6; font-weight: 500; color: #52647a; }
.employee-stat-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #269c77; }
.employee-stat-dot.leave { background: #d09b37; }

#employeesSection .employee-directory { overflow: hidden; border: 1px solid #e2e7ee; border-radius: 12px; background: #fff; box-shadow: 0 2px 4px #162d4203; }
#employeesSection .employee-directory-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px; }
#employeesSection .employee-directory-title { display: flex; align-items: center; gap: 10px; }
#employeesSection .employee-directory-title h3 { margin: 0; color: #20334a; font-size: 15px; font-weight: 650; }
#employeesSection .employee-filter-count { font-size: 10px; font-weight: 600; color: #52647a; background: #f1f4f8; border-radius: 5px; padding: 3px 7px; }
#employeesSection .employee-list-tools { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; padding: 0; background: transparent; border: 0; }
#employeesSection .employee-list-tools label { margin: 0; display: block; font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; }
#employeesSection .employee-search { position: relative; width: 245px; }
#employeesSection .employee-search svg { position: absolute; width: 16px; height: 16px; left: 11px; top: 11px; color: #52647a; pointer-events: none; }
#employeesSection .employee-list-tools input,
#employeesSection .employee-list-tools select { height: 38px !important; min-height: 38px !important; margin: 0 !important; border: 1px solid #dfe5ed !important; border-radius: 7px !important; background: #fff !important; font-size: 12px; color: #344b64 !important; }
#employeesSection #employeeSearchInput { padding: 0 10px 0 34px !important; }
#employeesSection #employeeStatusFilter { min-width: 136px; width: 136px; padding: 0 26px 0 11px !important; line-height: normal !important; }
#appView #companyPicker,
#employeesSection #employeeStatusFilter,
#employeeEditorDialog select { appearance: auto; }
#employeesSection input::placeholder { color: #607187; }

#employeesSection .employee-list-wrap { width: 100% !important; max-width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; scrollbar-gutter: auto; }
#employeesSection .employee-list-wrap table { width: 100% !important; min-width: 1000px !important; table-layout: auto; border-collapse: collapse; }
#employeesSection .employee-list-wrap th,
#employeesSection .employee-list-wrap td { min-width: 0 !important; padding: 13px 16px !important; text-align: left; white-space: normal !important; border-bottom: 1px solid #edf0f4 !important; font-size: 12px; font-weight: 400 !important; color: #344b64 !important; }
#employeesSection .employee-list-wrap th { height: 43px; padding-top: 11px !important; padding-bottom: 11px !important; background: #f8fafc !important; border-top: 1px solid #edf0f4 !important; color: #4b6078 !important; font-size: 10px !important; letter-spacing: 0.5px !important; font-weight: 700 !important; text-transform: uppercase; white-space: nowrap !important; }
#employeesSection .employee-list-wrap th:first-child,
#employeesSection .employee-list-wrap td:first-child { width: 23%; padding-left: 22px !important; }
#employeesSection .employee-list-wrap td:nth-child(2),
#employeesSection .employee-list-wrap td:nth-child(4) { white-space: nowrap !important; font-weight: 600 !important; font-size: 13px; color: #344b64; font-variant-numeric: tabular-nums; }
#employeesSection .employee-list-wrap th:last-child,
#employeesSection .employee-list-wrap td:last-child { padding-right: 20px !important; }
#employeesSection .employee-list-wrap tbody tr:last-child td { border-bottom: 0 !important; }
#employeesSection .employee-list-wrap tbody tr:hover td { background: #fafcfe !important; }
#employeesSection .employee-identity { display: flex; align-items: center; gap: 11px; }
#employeesSection .employee-avatar { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; color: #405c78; background: #edf3f8; border: 1px solid #e5edf4; border-radius: 50%; font-size: 11px; font-weight: 600; }
#employeesSection .emp-list-name { font-size: 13px; color: #172f48; font-weight: 700; }
#employeesSection .emp-list-sub,
#employeesSection .employee-code { color: #52647a; font-size: 11px; font-weight: 500; line-height: 1.6; }
#employeesSection .employee-code { display: inline; font-variant-numeric: tabular-nums; }
#employeesSection .employee-list-wrap .employee-increment-history { min-width: 170px !important; }
#employeesSection .employee-history { background: transparent; border: 0; box-shadow: none; }
#employeesSection .employee-history summary { cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1px 7px; padding: 0; border: 0; border-radius: 0; background: transparent !important; box-shadow: none !important; list-style: none; }
#employeesSection .employee-history summary::-webkit-details-marker { display: none; }
#employeesSection .employee-history summary::after { content: "⌄"; grid-column: 2; grid-row: 1; justify-self: end; color: #4b6078; font-size: 13px; line-height: 1; }
#employeesSection .employee-history[open] summary::after { content: "⌃"; }
#employeesSection .employee-history summary strong { display: block; grid-column: 1; grid-row: 1; color: #1f6b54; font-size: 12px; font-weight: 600; white-space: nowrap; }
#employeesSection .employee-history summary span { display: block; grid-column: 1; grid-row: 2; color: #52647a; font-size: 10px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
#employeesSection .employee-history summary small { grid-column: 2; grid-row: 2; color: #52647a; font-size: 9px; font-weight: 500; white-space: nowrap; }
#employeesSection .employee-history-list { margin-top: 10px; padding-top: 8px; border-top: 1px solid #e9edf2; }
#employeesSection .employee-increment-entry { padding: 5px 0; margin: 0; gap: 1px; border: 0; background: transparent; border-radius: 0; color: #1f6b54; font-size: 11px; }
#employeesSection .employee-increment-entry span { color: #52647a; font-size: 9px; font-weight: 500; }
#employeesSection .advance-remained-alert { color: #9d4c2c !important; font-weight: 600; }
#employeesSection .status-pill { min-height: 0 !important; padding: 3px 9px !important; border-radius: 5px !important; border: 1px solid #d7eee3 !important; background: #edf8f2 !important; color: #206343 !important; font-size: 10px !important; font-weight: 550; white-space: nowrap; }
#employeesSection .status-pill.leave { background: #fff8e9 !important; border-color: #f3e8c7 !important; color: #785815 !important; }
#employeesSection .status-pill.terminated { background: #f8eef0 !important; border-color: #f1dce0 !important; color: #8e3548 !important; }
#employeesSection .employee-dates { display: grid; gap: 3px; color: #4b6078; font-size: 11px; font-weight: 500; white-space: nowrap; }
#employeesSection .employee-tenure { color: #52647a; font-size: 10px; margin-top: 4px; font-weight: 500; padding: 0; border: 0; border-radius: 0; background: transparent; }
#employeesSection .employee-list-wrap .row-actions { display: flex !important; flex-direction: row !important; align-items: center; justify-content: flex-end; gap: 6px !important; }
#employeesSection .employee-list-wrap .mini { min-width: 0 !important; width: auto !important; min-height: 32px !important; padding: 0 9px !important; margin: 0 !important; border-radius: 5px !important; font-size: 11px !important; font-weight: 500 !important; box-shadow: none !important; }
#employeesSection .employee-list-wrap .mini.ghost { color: #365572 !important; border-color: #e2e8ef !important; background: #fff !important; }
#employeesSection .employee-list-wrap .mini.danger { color: #984255 !important; border-color: transparent !important; background: transparent !important; }
#employeesSection .employee-list-wrap .mini.danger:hover { color: #a43747 !important; background: #fff1f2 !important; }
#employeesSection .employee-directory-footer { display: flex; gap: 7px; align-items: center; padding: 13px 20px; border-top: 1px solid #edf0f4; font-size: 10px; color: #52647a; }
#employeesSection .employee-directory-footer svg { flex: 0 0 14px; width: 14px; height: 14px; }
#employeesSection .empty { padding: 44px 24px !important; color: #52647a; font-weight: 400; }
#employeesSection .status-msg:empty { display: none; }
#appView:has(#employeesSection:not(.hidden)) #appMessage:not(:empty) { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: min(430px, calc(100% - 32px)); min-height: 0; margin: 0; padding: 12px 18px; border: 1px solid #dce8e2; border-radius: 9px; background: #fff; box-shadow: 0 5px 24px #172b401a; font-size: 13px; }
.employee-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap !important; border: 0 !important; }

#employeeEditorDialog { width: min(680px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; border: 1px solid #e2e7ee; border-radius: 14px; color: #20334b; background: #fff; box-shadow: 0 24px 90px #172b4033; }
#employeeEditorDialog::backdrop { background: #182b4359; backdrop-filter: blur(3px); }
#employeeEditorDialog .employee-editor-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 25px 28px 20px; border-bottom: 1px solid #edf0f4; }
#employeeEditorDialog .employee-editor-head h2 { margin: 0 0 6px; font-size: 22px !important; font-weight: 650; letter-spacing: -0.6px; }
#employeeEditorDialog .employee-editor-head p { margin: 0; color: #52647a; font-size: 12px; line-height: 1.6; }
#employeeEditorDialog #employeeEditorCloseBtn { flex: 0 0 30px; min-width: 30px; min-height: 30px !important; padding: 0; border: 0; border-radius: 6px !important; font-size: 24px; line-height: 1; color: #52647a !important; background: #f5f7fa !important; }
#employeeEditorDialog .employee-form { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; padding: 24px 28px 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
#employeeEditorDialog .employee-fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
#employeeEditorDialog .employee-fieldset legend { padding: 0; margin: 0 0 15px; font-size: 12px; color: #344b64; font-weight: 650; }
#employeeEditorDialog .employee-form label { min-width: 0; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #40546d; }
#employeeEditorDialog .employee-field-optional { color: #607187; font-size: 10px; font-weight: 500; }
#employeeEditorDialog .employee-form input,
#employeeEditorDialog .employee-form select { height: 41px !important; min-height: 41px !important; min-width: 0; margin-top: 6px; padding: 0 12px !important; line-height: normal; border-radius: 7px !important; background: #fff !important; font-size: 14px !important; color: #344b64 !important; border-color: #dfe5ed !important; }
#employeeEditorDialog .employee-form input:disabled { background: #f5f7fa !important; color: #94a0b1 !important; }
#employeeEditorDialog .employee-status-fields { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 15px 18px !important; padding: 20px 0 0; border: 0; border-top: 1px solid #e7ecf2; border-radius: 0; background: #fff; }
#employeeEditorDialog .employee-status-fields.hidden { display: none !important; }
#employeeEditorDialog .employee-status-fields h3 { grid-column: 1 / -1; margin: 0; font-size: 12px !important; font-weight: 650; }
#employeeEditorDialog .employee-form-actions { display: flex !important; flex-direction: row !important; justify-content: flex-end; gap: 10px !important; padding: 18px 0; margin: 0; border-top: 1px solid #edf0f4; }
#employeeEditorDialog .employee-form-actions button { min-height: 39px !important; min-width: 90px; width: auto !important; padding: 0 16px; border-radius: 7px !important; box-shadow: none !important; font-size: 12px; font-weight: 600 !important; }
#employeeEditorDialog #employeeSaveBtn { background: #183b50 !important; border-color: #183b50 !important; }
#employeeEditorDialog #employeeEditorMessage { margin: 0; font-size: 12px; }
#employeeEditorDialog #employeeEditorMessage:empty { display: none; }
#employeesSection input:focus-visible,
#employeesSection select:focus-visible,
#employeesSection button:focus-visible,
#employeesSection summary:focus-visible,
#employeesSection .employee-list-wrap:focus-visible { outline: 2px solid #3984a5; outline-offset: 3px; }

@media (min-width: 1800px) {
  #appView .app-main { padding-left: 48px !important; padding-right: 48px !important; }
}

@media (min-width: 851px) and (max-width: 1180px) {
  #appView { grid-template-columns: 190px minmax(0, 1fr) !important; }
  #appView .side-rail { padding: 24px 10px !important; }
  #appView .side-rail::before { font-size: 16px !important; padding-left: 7px !important; }
  #appView .app-main { padding: 24px !important; }
  #appView .topbar .workspace-brand { display: none; }
  #appView .toolbar { justify-content: flex-start !important; }
  #employeesSection .employee-stat { padding: 0 16px; }
}

@media (max-width: 850px) {
  #appView { grid-template-columns: minmax(0, 1fr) !important; }
  #appView .app-main { padding: 18px 16px calc(94px + env(safe-area-inset-bottom)) !important; max-width: 100% !important; }
  #appView .side-rail { position: fixed !important; top: auto !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: calc(66px + env(safe-area-inset-bottom)) !important; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) !important; display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 2px !important; border: 0 !important; border-top: 1px solid #e2e7ee !important; z-index: 50 !important; }
  #appView .side-rail::before { display: none !important; }
  #appView .rail-btn { min-height: 48px !important; padding: 4px 0 !important; display: grid !important; grid-template-rows: 20px auto !important; justify-items: center !important; gap: 3px !important; border-radius: 6px !important; }
  #appView .rail-btn::before { display: block !important; width: 18px !important; height: 18px !important; }
  #appView .rail-btn::after { font-size: 8px !important; line-height: 1.1 !important; font-weight: 500 !important; }
  #appView .rail-btn[data-rail-action="verification"]::after { content: "Verify" !important; }
  #appView .rail-report-submenu { display: none !important; }
  #appView .topbar { display: block !important; margin-bottom: 24px !important; padding: 0 0 16px !important; }
  #appView .topbar .workspace-brand { display: none; }
  #appView .toolbar { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; justify-content: stretch !important; gap: 8px !important; }
  #appView .toolbar .inline-field { grid-column: auto !important; width: 100% !important; padding: 0 8px !important; gap: 5px !important; }
  #appView .toolbar .inline-field span { font-size: 9px !important; }
  #appView .toolbar .inline-field input,
  #appView .toolbar .inline-field select { width: 100% !important; max-width: 100% !important; padding: 0 !important; font-size: 10px !important; }
  #appView .toolbar > button,
  #appView .toolbar .action-menu { justify-self: start; }
  #appView .toolbar .menu-sheet { position: absolute !important; right: 0; width: 220px !important; background: #fff; box-shadow: 0 8px 24px #172b401a !important; }
  #employeesSection { width: 100% !important; }
  #employeesSection .employee-page-head { align-items: flex-start; margin-bottom: 22px; gap: 14px; }
  #employeesSection .employee-page-head h2 { font-size: 26px !important; }
  #employeesSection .employee-page-description { max-width: 320px; font-size: 11px; }
  #employeesSection #employeeAddBtn { padding: 0 12px; min-height: 38px !important; font-size: 11px; gap: 5px; }
  #employeesSection .employee-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin-bottom: 22px; }
  #employeesSection .employee-stat { padding: 16px; }
  #employeesSection .employee-stat:nth-child(3) { border-left: 0; }
  #employeesSection .employee-stat:nth-child(n+3) { border-top: 1px solid #e9edf2; }
  #employeesSection .employee-stat > strong { font-size: 24px; }
  #employeesSection .employee-stat > small { font-size: 9px; }
  #employeesSection .employee-directory-head { padding: 16px; gap: 14px; }
  #employeesSection .employee-list-tools { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  #employeesSection .employee-search { width: 100%; }
  #employeesSection #employeeStatusFilter { width: 116px; min-width: 116px; }
  #employeesSection .employee-list-wrap { width: 100% !important; max-width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
  #employeesSection .employee-list-wrap table { min-width: 1000px !important; }
  #employeesSection .employee-directory-footer { align-items: flex-start; padding: 12px 16px; font-size: 9px; }
  #appView:has(#employeesSection:not(.hidden)) #appMessage:not(:empty) { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  #employeeEditorDialog { max-height: calc(100dvh - 24px); }
  #employeeEditorDialog .employee-editor-head { padding: 20px; }
  #employeeEditorDialog .employee-form { padding: 20px 20px 0 !important; }
  #employeeEditorDialog .employee-form input,
  #employeeEditorDialog .employee-form select { font-size: 16px !important; min-height: 44px !important; }
}

@media (max-width: 420px) {
  #appView .toolbar .inline-field { flex-direction: column !important; align-items: flex-start !important; padding: 6px 9px !important; gap: 0 !important; }
  #appView .toolbar .inline-field input,
  #appView .toolbar .inline-field select { min-height: 27px !important; height: 27px !important; }
  #employeesSection .employee-page-head { flex-wrap: wrap; }
  #employeesSection .employee-page-description { max-width: none; }
  #employeesSection .employee-stat > strong { font-size: 22px; }
  #employeesSection .employee-stat > span { font-size: 10px; }
  #employeeEditorDialog .employee-fieldset,
  #employeeEditorDialog .employee-status-fields { grid-template-columns: minmax(0, 1fr) !important; }
}

@media print {
  #appView .side-rail, #appView .topbar { display: none !important; }
  #appView { display: block !important; }
  #appView .app-main { padding: 0 !important; }
}
