
/* ===== everprime-tailwind-offline-v201 ===== */
/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
@layer properties;
:root, :host {
  --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
  --color-red-500: oklch(63.7% 0.237 25.331);
  --color-red-600: oklch(57.7% 0.245 27.325);
  --color-orange-500: oklch(70.5% 0.213 47.604);
  --color-orange-600: oklch(64.6% 0.222 41.116);
  --color-green-500: oklch(72.4% 0.219 149.579);
  --color-green-600: oklch(62.7% 0.194 149.214);
  --color-blue-300: oklch(80.9% 0.105 251.813);
  --color-blue-500: oklch(62.4% 0.214 259.815);
  --color-blue-600: oklch(54.6% 0.245 262.981);
  --color-slate-700: oklch(37.2% 0.044 257.287);
  --color-gray-200: oklch(92.9% 0.006 264.531);
  --color-gray-400: oklch(70.7% 0.022 261.325);
  --color-gray-700: oklch(37.3% 0.034 259.733);
  --color-black: #000;
  --color-white: #fff;
  --spacing: 0.25rem;
  --container-md: 28rem;
  --text-xs: 0.75rem;
  --text-xs--line-height: calc(1 / 0.75);
  --text-sm: 0.875rem;
  --text-sm--line-height: calc(1.25 / 0.875);
  --text-base: 1rem;
  --text-base--line-height: calc(1.5 / 1);
  --text-lg: 1.125rem;
  --text-lg--line-height: calc(1.75 / 1.125);
  --text-xl: 1.25rem;
  --text-xl--line-height: calc(1.75 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl--line-height: calc(2 / 1.5);
  --text-3xl: 1.875rem;
  --text-3xl--line-height: calc(2.45 / 1.875);
  --text-4xl: 2.45rem;
  --text-4xl--line-height: calc(2.7 / 2.45);
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  --tracking-wider: 0.05em;
  --radius-xl: 0.75rem;
  --radius-3xl: 1.5rem;
  --blur-md: 12px;
  --default-transition-duration: 150ms;
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);
}
*, ::after, ::before, ::backdrop, ::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
  font-feature-settings: var(--default-font-feature-settings, normal);
  font-variation-settings: var(--default-font-variation-settings, normal);
  -webkit-tap-highlight-color: transparent;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
  font-feature-settings: var(--default-mono-font-feature-settings, normal);
  font-variation-settings: var(--default-mono-font-variation-settings, normal);
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
:-moz-focusring {
  outline: auto;
}
progress {
  vertical-align: baseline;
}
summary {
  display: list-item;
}
ol, ul, menu {
  list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}
::file-selector-button {
  margin-inline-end: 4px;
}
::placeholder {
  opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
  ::placeholder {
    color: currentcolor;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }
}
textarea {
  resize: vertical;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}
::-webkit-datetime-edit {
  display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}
:-moz-ui-invalid {
  box-shadow: none;
}
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
  appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: calc(var(--spacing) * 0);
}
.top-1\/2 {
  top: calc(1/2 * 100%);
}
.left-4 {
  left: calc(var(--spacing) * 4);
}
.z-10 {
  z-index: 10;
}
.mt-0\.5 {
  margin-top: calc(var(--spacing) * 0.5);
}
.mt-1 {
  margin-top: calc(var(--spacing) * 1);
}
.mt-2 {
  margin-top: calc(var(--spacing) * 2);
}
.mt-3 {
  margin-top: calc(var(--spacing) * 3);
}
.mt-4 {
  margin-top: calc(var(--spacing) * 4);
}
.mr-1 {
  margin-right: calc(var(--spacing) * 1);
}
.mr-2 {
  margin-right: calc(var(--spacing) * 2);
}
.mb-1 {
  margin-bottom: calc(var(--spacing) * 1);
}
.mb-2 {
  margin-bottom: calc(var(--spacing) * 2);
}
.mb-3 {
  margin-bottom: calc(var(--spacing) * 3);
}
.mb-4 {
  margin-bottom: calc(var(--spacing) * 4);
}
.mb-5 {
  margin-bottom: calc(var(--spacing) * 5);
}
.mb-6 {
  margin-bottom: calc(var(--spacing) * 6);
}
.mb-10 {
  margin-bottom: calc(var(--spacing) * 10);
}
.ml-2 {
  margin-left: calc(var(--spacing) * 2);
}
.ml-4 {
  margin-left: calc(var(--spacing) * 4);
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-8 {
  height: calc(var(--spacing) * 8);
}
.h-9 {
  height: calc(var(--spacing) * 9);
}
.h-\[340px\] {
  height: 340px;
}
.w-1\/2 {
  width: calc(1/2 * 100%);
}
.w-1\/3 {
  width: calc(1/3 * 100%);
}
.w-4 {
  width: calc(var(--spacing) * 4);
}
.w-8 {
  width: calc(var(--spacing) * 8);
}
.w-9 {
  width: calc(var(--spacing) * 9);
}
.w-20 {
  width: calc(var(--spacing) * 20);
}
.w-40 {
  width: calc(var(--spacing) * 40);
}
.w-44 {
  width: calc(var(--spacing) * 44);
}
.w-full {
  width: 100%;
}
.max-w-md {
  max-width: var(--container-md);
}
.min-w-\[180px\] {
  min-width: 180px;
}
.min-w-\[200px\] {
  min-width: 200px;
}
.min-w-\[220px\] {
  min-width: 220px;
}
.flex-1 {
  flex: 1;
}
.-translate-y-1\/2 {
  --tw-translate-y: calc(calc(1/2 * 100%) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.cursor-pointer {
  cursor: pointer;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.gap-0 {
  gap: calc(var(--spacing) * 0);
}
.gap-1 {
  gap: calc(var(--spacing) * 1);
}
.gap-2 {
  gap: calc(var(--spacing) * 2);
}
.gap-3 {
  gap: calc(var(--spacing) * 3);
}
.gap-4 {
  gap: calc(var(--spacing) * 4);
}
.space-y-1 {
  :where(& > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
  }
}
.space-y-3 {
  :where(& > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
}
.space-y-6 {
  :where(& > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }
}
.overflow-hidden {
  overflow: hidden;
}
.rounded-3xl {
  border-radius: var(--radius-3xl);
}
.rounded-\[14px\] {
  border-radius: 14px;
}
.rounded-full {
  border-radius: calc(infinity * 1px);
}
.rounded-xl {
  border-radius: var(--radius-xl);
}
.border {
  border-style: var(--tw-border-style);
  border-width: 1px;
}
.border-2 {
  border-style: var(--tw-border-style);
  border-width: 2px;
}
.border-t-2 {
  border-top-style: var(--tw-border-style);
  border-top-width: 2px;
}
.border-b {
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 2px;
}
.border-\[\#c99a4c\]\/20 {
  border-color: color-mix(in oklab, #c99a4c 20%, transparent);
}
.border-black\/5 {
  border-color: color-mix(in srgb, #000 5%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-black) 5%, transparent);
  }
}
.border-black\/10 {
  border-color: color-mix(in srgb, #000 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-black) 10%, transparent);
  }
}
.border-black\/20 {
  border-color: color-mix(in srgb, #000 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-black) 20%, transparent);
  }
}
.border-orange-500\/20 {
  border-color: color-mix(in srgb, oklch(70.5% 0.213 47.604) 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-orange-500) 20%, transparent);
  }
}
.border-red-500\/20 {
  border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
  }
}
.bg-\[\#c99a4c\] {
  background-color: #c99a4c;
}
.bg-black\/5 {
  background-color: color-mix(in srgb, #000 5%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-black) 5%, transparent);
  }
}
.bg-blue-500 {
  background-color: var(--color-blue-500);
}
.bg-blue-500\/10 {
  background-color: color-mix(in srgb, oklch(62.4% 0.214 259.815) 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);
  }
}
.bg-gray-200 {
  background-color: var(--color-gray-200);
}
.bg-gray-400 {
  background-color: var(--color-gray-400);
}
.bg-green-600 {
  background-color: var(--color-green-600);
}
.bg-red-500\/10 {
  background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
  }
}
.bg-slate-700 {
  background-color: var(--color-slate-700);
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  background-color: var(--color-white);
}
.bg-white\/50 {
  background-color: color-mix(in srgb, #fff 50%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-white) 50%, transparent);
  }
}
.bg-white\/60 {
  background-color: color-mix(in srgb, #fff 60%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-white) 60%, transparent);
  }
}
.bg-white\/80 {
  background-color: color-mix(in srgb, #fff 80%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in oklab, var(--color-white) 80%, transparent);
  }
}
.\!p-3 {
  padding: calc(var(--spacing) * 3) !important;
}
.p-4 {
  padding: calc(var(--spacing) * 4);
}
.p-5 {
  padding: calc(var(--spacing) * 5);
}
.p-8 {
  padding: calc(var(--spacing) * 8);
}
.\!px-2 {
  padding-inline: calc(var(--spacing) * 2) !important;
}
.\!px-3 {
  padding-inline: calc(var(--spacing) * 3) !important;
}
.px-1 {
  padding-inline: calc(var(--spacing) * 1);
}
.px-3 {
  padding-inline: calc(var(--spacing) * 3);
}
.px-4 {
  padding-inline: calc(var(--spacing) * 4);
}
.px-6 {
  padding-inline: calc(var(--spacing) * 6);
}
.\!py-1 {
  padding-block: calc(var(--spacing) * 1) !important;
}
.\!py-2 {
  padding-block: calc(var(--spacing) * 2) !important;
}
.py-1\.5 {
  padding-block: calc(var(--spacing) * 1.5);
}
.py-2 {
  padding-block: calc(var(--spacing) * 2);
}
.py-2\.5 {
  padding-block: calc(var(--spacing) * 2.7);
}
.py-3 {
  padding-block: calc(var(--spacing) * 3);
}
.py-4 {
  padding-block: calc(var(--spacing) * 4);
}
.py-10 {
  padding-block: calc(var(--spacing) * 10);
}
.pt-2 {
  padding-top: calc(var(--spacing) * 2);
}
.pt-3 {
  padding-top: calc(var(--spacing) * 3);
}
.pr-4 {
  padding-right: calc(var(--spacing) * 4);
}
.pl-11 {
  padding-left: calc(var(--spacing) * 11);
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.\!text-sm {
  font-size: var(--text-sm) !important;
  line-height: var(--tw-leading, var(--text-sm--line-height)) !important;
}
.\!text-xs {
  font-size: var(--text-xs) !important;
  line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
}
.text-2xl {
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
}
.text-3xl {
  font-size: var(--text-3xl);
  line-height: var(--tw-leading, var(--text-3xl--line-height));
}
.text-4xl {
  font-size: var(--text-4xl);
  line-height: var(--tw-leading, var(--text-4xl--line-height));
}
.text-base {
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
}
.text-lg {
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
}
.text-sm {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
}
.text-xl {
  font-size: var(--text-xl);
  line-height: var(--tw-leading, var(--text-xl--line-height));
}
.text-xs {
  font-size: var(--text-xs);
  line-height: var(--tw-leading, var(--text-xs--line-height));
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[16px\] {
  font-size: 16px;
}
.font-black {
  --tw-font-weight: var(--font-weight-black);
  font-weight: var(--font-weight-black);
}
.font-bold {
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
}
.font-semibold {
  --tw-font-weight: var(--font-weight-semibold);
  font-weight: var(--font-weight-semibold);
}
.tracking-wider {
  --tw-tracking: var(--tracking-wider);
  letter-spacing: var(--tracking-wider);
}
.text-\[\#9b6d2c\] {
  color: #9b6d2c;
}
.text-\[\#c99a4c\] {
  color: #c99a4c;
}
.text-black {
  color: var(--color-black);
}
.text-blue-500 {
  color: var(--color-blue-500);
}
.text-blue-600 {
  color: var(--color-blue-600);
}
.text-green-500 {
  color: var(--color-green-500);
}
.text-green-600 {
  color: var(--color-green-600);
}
.text-orange-600 {
  color: var(--color-orange-600);
}
.text-red-500 {
  color: var(--color-red-500);
}
.text-red-600 {
  color: var(--color-red-600);
}
.text-white {
  color: var(--color-white);
}
.uppercase {
  text-transform: uppercase;
}
.opacity-50 {
  opacity: 50%;
}
.opacity-55 {
  opacity: 55%;
}
.opacity-60 {
  opacity: 60%;
}
.opacity-65 {
  opacity: 65%;
}
.opacity-70 {
  opacity: 70%;
}
.opacity-75 {
  opacity: 75%;
}
.opacity-80 {
  opacity: 80%;
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.backdrop-blur-md {
  --tw-backdrop-blur: blur(var(--blur-md));
  -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
}
.transition {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-all {
  transition-property: all;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.duration-500 {
  --tw-duration: 500ms;
  transition-duration: 500ms;
}
.outline-none {
  --tw-outline-style: none;
  outline-style: none;
}
.hover\:bg-orange-500 {
  &:hover {
    @media (hover: hover) {
      background-color: var(--color-orange-500);
    }
  }
}
.hover\:bg-red-500 {
  &:hover {
    @media (hover: hover) {
      background-color: var(--color-red-500);
    }
  }
}
.hover\:text-white {
  &:hover {
    @media (hover: hover) {
      color: var(--color-white);
    }
  }
}
.hover\:underline {
  &:hover {
    @media (hover: hover) {
      text-decoration-line: underline;
    }
  }
}
.focus\:border-\[\#c99a4c\] {
  &:focus {
    border-color: #c99a4c;
  }
}
.md\:grid-cols-2 {
  @media (width >= 48rem) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.dark\:border-white\/10 {
  &:where(.dark, .dark *) {
    border-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
}
.dark\:border-white\/20 {
  &:where(.dark, .dark *) {
    border-color: color-mix(in srgb, #fff 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 20%, transparent);
    }
  }
}
.dark\:bg-black\/30 {
  &:where(.dark, .dark *) {
    background-color: color-mix(in srgb, #000 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 30%, transparent);
    }
  }
}
.dark\:bg-black\/50 {
  &:where(.dark, .dark *) {
    background-color: color-mix(in srgb, #000 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
    }
  }
}
.dark\:bg-black\/60 {
  &:where(.dark, .dark *) {
    background-color: color-mix(in srgb, #000 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
    }
  }
}
.dark\:bg-gray-700 {
  &:where(.dark, .dark *) {
    background-color: var(--color-gray-700);
  }
}
.dark\:bg-white\/10 {
  &:where(.dark, .dark *) {
    background-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
}
.dark\:text-\[\#e3bc70\] {
  &:where(.dark, .dark *) {
    color: #e3bc70;
  }
}
.dark\:text-blue-300 {
  &:where(.dark, .dark *) {
    color: var(--color-blue-300);
  }
}
.dark\:text-white {
  &:where(.dark, .dark *) {
    color: var(--color-white);
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
    }
  }
}

/* ===== head-style-2 ===== */
body {
            font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
            margin: 0;
            overflow: hidden;
            background-color: #000;
            color: #000000;
            font-weight: 900;
        }
        body.dark-mode {
            color: #ffffff;
        }

        .icloud-bg {
            position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
            background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fdfaf1 25%, #f0e3c4 50%, #e3bc70 75%, #c99a4c 100%);
            background-size: 400% 400%;
            animation: gradientMove 20s ease-in-out infinite alternate;
            z-index: -1; filter: blur(60px);
        }
        .dark-mode .icloud-bg {
            background: radial-gradient(circle at 50% 50%, #173f68 0%, #102942 25%, #0d2339 50%, #081a2b 75%, #000000 100%);
        }
        @keyframes gradientMove {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-5%, 5%) scale(1.1); }
            100% { transform: translate(5%, -5%) scale(1); }
        }

        .glass-panel {
            background: rgba(255, 255, 255, 0.65);
            backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
        }
        .dark-mode .glass-panel {
            background: rgba(30, 30, 30, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.1); color: white;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .glass-list-item {
            display: flex; align-items: center; justify-content: space-between;
            padding: 16px 20px; position: relative;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }
        .glass-list-item:last-child { border-bottom: none; }
        .dark-mode .glass-list-item { border-bottom-color: rgba(255,255,255,0.1); }
        .glass-list-item:hover { background: rgba(0,0,0,0.02); }
        .dark-mode .glass-list-item:hover { background: rgba(255,255,255,0.02); }

        .apple-input-container { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
        .apple-input {
            width: 100%; padding: 16px; background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(0,0,0,0.2); border-radius: 12px; font-size: 17px; font-weight: bold; color: #000; outline: none; transition: all 0.3s;
        }
        .dark-mode .apple-input { background: rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.4); color: white; }
        .apple-input:focus { border-color: #e3bc70; box-shadow: 0 0 0 3px rgba(227,188,112, 0.3); background: #fff; }
        .dark-mode .apple-input:focus { background: #000; }
        
        .apple-btn-arrow {
            position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
            border-radius: 50%; background: #e3e3e3; display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: background 0.2s; color: #888;
        }
        .apple-input:valid + .apple-btn-arrow { background: #c99a4c; color: white; }

        .ios-switch {
            position: relative; width: 51px; height: 31px; appearance: none; background: rgba(0,0,0,0.1);
            border-radius: 15.5px; outline: none; cursor: pointer; transition: background 0.3s; flex-shrink: 0;
            border: 1px solid rgba(0,0,0,0.05);
        }
        .dark-mode .ios-switch { background: rgba(255,255,255,0.1); }
        .ios-switch::after {
            content: ''; position: absolute; top: 2px; left: 2px; width: 25px; height: 25px; background: #FFFFFF;
            border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: transform 0.3s;
        }
        .ios-switch:checked { background: #34C759; }
        .ios-switch:checked::after { transform: translateX(20px); }

        .native-picker { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 10; }
        .encrypted-data { filter: blur(5px); user-select: none; transition: filter 0.3s; font-family: monospace; }
        .encrypted-data.revealed { filter: blur(0); color: #e30000; }
        
        /* Điều khiển ẩn/hiện Số thứ tự (STT) */
        .item-stt { display: none; }
        body.show-stt .item-stt { display: inline-block; }

        .ui-id {
            font-size: 10px; font-weight: bold; font-family: monospace; background: rgba(201,154,76, 0.2);
            color: #c99a4c; padding: 3px 6px; border-radius: 6px; display: none; vertical-align: middle;
        }
        body.show-ui-id .ui-id { display: none; }

        /* Lớp số thứ tự giao diện phục vụ nhận diện và chỉnh sửa */
        #ui-marker-layer {
            position: fixed; inset: 0; z-index: 9997; pointer-events: none; overflow: hidden; display: none;
        }
        body.show-ui-id #ui-marker-layer { display: block; }
        .ui-marker-badge {
            position: fixed; min-width: 44px; height: 17px; padding: 0 5px; border-radius: 5px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(201,154,76, 0.96); color: #fff; border: 1px solid rgba(255,255,255,0.75);
            box-shadow: 0 2px 8px rgba(0,0,0,0.28); font: 800 9px/1 monospace; letter-spacing: 0.2px;
            white-space: nowrap; transform: translateY(-2px);
        }
        body.show-ui-id [data-ui-code].ui-numbered-target {
            outline: 1px dashed rgba(201,154,76, 0.48); outline-offset: 2px;
        }

        /* Nút nổi kiểu AssistiveTouch / nút Home trên điện thoại */
        #ui-assistive-button {
            position: fixed; z-index: 10001; width: 60px; height: 60px; border-radius: 50%; border: 0;
            display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px;
            color: #fff; background: rgba(36, 36, 36, 0.78); backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px); box-shadow: 0 5px 18px rgba(0,0,0,0.38), inset 0 0 0 2px rgba(255,255,255,0.22);
            cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
            transition: background 0.2s, box-shadow 0.2s, transform 0.12s, opacity 0.2s;
        }
        #ui-assistive-button:active { cursor: grabbing; transform: scale(0.96); }
        #ui-assistive-button.ui-enabled {
            background: rgba(52, 199, 89, 0.9);
            box-shadow: 0 5px 18px rgba(0,0,0,0.32), 0 0 0 3px rgba(52,199,89,0.2), inset 0 0 0 2px rgba(255,255,255,0.46);
        }
        #ui-assistive-button .assistive-home-icon { font-size: 18px; line-height: 1; pointer-events: none; }
        #ui-assistive-button .assistive-state { font: 900 9px/1 monospace; pointer-events: none; }
        #ui-assistive-button .assistive-grip {
            position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,0.34); border-radius: 50%; pointer-events: none;
        }
        body.hide-ui-assistive #ui-assistive-button { display: none; }

        .screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s; overflow: hidden; }
        .screen.active { opacity: 1; visibility: visible; }
        .app-section { display: none; animation: fadeIn 0.4s ease; }
        .app-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .animate-fade-in { animation: fadeIn 0.3s ease forwards; }

        #toast { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); z-index: 9999; transition: top 0.4s; }
        #toast.show { top: 20px; }
        .brand-login-logo {
            display: block;
            width: min(70vw, 238px);
            aspect-ratio: 1 / 1;
            height: auto;
            margin: 0 auto 18px;
            object-fit: contain;
            object-position: center;
            background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(241, 229, 210, 0.94));
            padding: 12px;
            border-radius: 32px;
            border: 1px solid rgba(155,109,44, 0.28);
            outline: 1px solid rgba(227,188,112, 0.40);
            outline-offset: -6px;
            box-shadow: 0 22px 48px rgba(7,27,49, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78), inset 0 -8px 18px rgba(201,154,76, 0.08);
        }
        .dark-mode .brand-login-logo {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(155,109,44, 0.08));
            border-color: rgba(227,188,112, 0.24);
            outline-color: rgba(227,188,112, 0.18);
            box-shadow: 0 20px 42px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.10);
        }
        #auth-title {
            letter-spacing: -0.02em;
            color: #173f68;
            text-shadow: 0 1px 0 rgba(255,255,255,0.35);
        }
        .dark-mode #auth-title {
            color: #ecd7ad;
            text-shadow: none;
        }
        .brand-auth-subtitle {
            margin: -8px 0 24px;
            font-size: 12px;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(23,63,104, 0.76);
            font-weight: 800;
        }
        .dark-mode .brand-auth-subtitle { color: rgba(237, 210, 160, 0.78); }
        .brand-nav-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
            padding: 7px 14px 7px 8px;
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 240, 229, 0.66));
            border: 1px solid rgba(201,154,76, 0.18);
            box-shadow: 0 10px 28px rgba(68, 49, 16, 0.07), inset 0 1px 0 rgba(255,255,255,0.8);
            backdrop-filter: blur(10px);
        }
        .dark-mode .brand-nav-wrap {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(201,154,76, 0.08));
            border-color: rgba(227,188,112, 0.20);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
        }
        .brand-nav-logo {
            width: 50px;
            height: 50px;
            object-fit: contain;
            object-position: center;
            background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(241, 229, 210, 0.94));
            padding: 5px;
            border-radius: 16px;
            border: 1px solid rgba(201,154,76, 0.22);
            box-shadow: 0 8px 18px rgba(7,27,49, 0.10), inset 0 1px 0 rgba(255,255,255,0.78);
            flex-shrink: 0;
        }
        .dark-mode .brand-nav-logo {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(201,154,76, 0.07));
            border-color: rgba(227,188,112, 0.22);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
        }
        .brand-nav-text {
            display: flex;
            flex-direction: column;
            min-width: 0;
            line-height: 1.05;
            gap: 4px;
        }
        #nav-company-title {
            color: #173f68;
            letter-spacing: -0.02em;
        }
        .dark-mode #nav-company-title { color: #f0deba; }
        .brand-nav-caption {
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: rgba(23,63,104, 0.72);
            margin-top: 1px;
        }
        .dark-mode .brand-nav-caption { color: rgba(237, 210, 160, 0.72); }


        /* ===== TNPFurniture CORPORATE THEME ===== */
        :root {
            --ep-ink: #162a3d;
            --ep-brown: #173f68;
            --ep-brown-deep: #3d2810;
            --ep-gold: #c99a4c;
            --ep-gold-dark: #9b6d2c;
            --ep-gold-light: #e3bc70;
            --ep-cream: #fbf7ef;
            --ep-cream-2: #f2e7d3;
            --ep-line: rgba(14,43,74, 0.18);
            --ep-panel: rgba(255, 252, 247, 0.78);
            --ep-shadow: 0 18px 44px rgba(7,27,49, 0.10);
        }

        body {
            letter-spacing: -0.005em;
            background: #f3eee7;
        }
        body:not(.dark-mode) .icloud-bg {
            background:
                radial-gradient(circle at 18% 15%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.30) 24%, transparent 42%),
                radial-gradient(circle at 82% 18%, rgba(227,188,112,0.55) 0%, rgba(227,188,112,0.16) 30%, transparent 50%),
                radial-gradient(circle at 55% 78%, rgba(201,154,76,0.34) 0%, rgba(240,227,196,0.30) 34%, transparent 58%),
                linear-gradient(135deg, #fffdf9 0%, #f6ecda 54%, #d4b478 100%);
            filter: blur(70px) saturate(0.95);
        }
        .dark-mode .icloud-bg {
            background:
                radial-gradient(circle at 16% 16%, rgba(23,63,104,0.34) 0%, transparent 40%),
                radial-gradient(circle at 80% 22%, rgba(201,154,76,0.20) 0%, transparent 44%),
                linear-gradient(135deg, #061321 0%, #081a2b 54%, #061321 100%);
            filter: blur(62px);
        }

        .glass-panel {
            background: var(--ep-panel);
            border: 1px solid rgba(201,154,76,0.20);
            box-shadow: var(--ep-shadow), inset 0 1px 0 rgba(255,255,255,0.72);
            backdrop-filter: blur(24px) saturate(1.08);
            -webkit-backdrop-filter: blur(24px) saturate(1.08);
        }
        .dark-mode .glass-panel {
            background: rgba(13,35,57,0.78);
            border-color: rgba(227,188,112,0.16);
            box-shadow: 0 18px 44px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.05);
        }

        #main-header {
            background: rgba(255,252,247,0.82);
            border-bottom: 1px solid rgba(201,154,76,0.18) !important;
            box-shadow: 0 8px 26px rgba(7,27,49,0.06);
        }
        .dark-mode #main-header {
            background: rgba(13,35,57,0.86);
            border-bottom-color: rgba(227,188,112,0.14) !important;
        }
        #user-menu-button {
            background: rgba(201,154,76,0.10) !important;
            border: 1px solid rgba(201,154,76,0.16);
            transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
        }
        #user-menu-button:hover {
            background: rgba(201,154,76,0.16) !important;
            transform: translateY(-1px);
            box-shadow: 0 7px 16px rgba(7,27,49,0.08);
        }
        #user-menu-button .fa-user-circle { color: var(--ep-gold) !important; }

        #navigation-panel {
            padding: 10px !important;
            border-radius: 26px !important;
        }
        .sidebar-item {
            position: relative;
            overflow: hidden;
            border: 1px solid transparent;
            background: transparent !important;
            color: var(--ep-ink);
            transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
        }
        .sidebar-item:hover {
            background: rgba(201,154,76,0.09) !important;
            border-color: rgba(201,154,76,0.12);
            transform: translateX(2px);
        }
        .sidebar-item.is-active {
            background: linear-gradient(135deg, rgba(201,154,76,0.20), rgba(227,188,112,0.12)) !important;
            border-color: rgba(201,154,76,0.28);
            box-shadow: 0 9px 22px rgba(7,27,49,0.08), inset 3px 0 0 var(--ep-gold);
        }
        .sidebar-item .fa-users,
        .sidebar-item .fa-gear {
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: rgba(201,154,76,0.11);
            color: var(--ep-gold-dark) !important;
        }
        .dark-mode .sidebar-item { color: #f7ead1; }
        .dark-mode .sidebar-item:hover { background: rgba(227,188,112,0.08) !important; }
        .dark-mode .sidebar-item.is-active {
            background: linear-gradient(135deg, rgba(201,154,76,0.22), rgba(227,188,112,0.07)) !important;
            border-color: rgba(227,188,112,0.20);
        }

        #employee-title, #settings-title {
            color: var(--ep-brown) !important;
            letter-spacing: -0.035em;
            text-shadow: 0 1px 0 rgba(255,255,255,0.36);
        }
        .dark-mode #employee-title, .dark-mode #settings-title {
            color: #ead4aa !important;
            text-shadow: none;
        }
        #employee-toolbar > div:first-child > p,
        #settings-header > div:first-child > p {
            color: rgba(73,55,31,0.70) !important;
        }
        .dark-mode #employee-toolbar > div:first-child > p,
        .dark-mode #settings-header > div:first-child > p {
            color: rgba(245,230,202,0.68) !important;
        }

        #add-employee-button,
        #import-excel-button,
        #export-excel-button {
            border-radius: 14px !important;
            min-height: 42px;
            font-weight: 800 !important;
            border: 1px solid transparent;
            box-shadow: 0 9px 20px rgba(7,27,49,0.10) !important;
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
        }
        #add-employee-button:hover,
        #import-excel-button:hover,
        #export-excel-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 13px 26px rgba(7,27,49,0.15) !important;
            filter: brightness(1.02);
        }
        #add-employee-button {
            background: linear-gradient(135deg, #9b6d2c, #c99a4c) !important;
            color: white !important;
        }
        #import-excel-button {
            background: linear-gradient(135deg, #c99a4c, #d3b476) !important;
            color: #fff !important;
        }
        #export-excel-button {
            background: rgba(255,252,247,0.78) !important;
            color: var(--ep-brown) !important;
            border-color: rgba(201,154,76,0.28) !important;
        }
        .dark-mode #export-excel-button {
            background: rgba(201,154,76,0.10) !important;
            color: #ecd8b4 !important;
        }

        #employee-search-box {
            filter: drop-shadow(0 7px 18px rgba(7,27,49,0.05));
        }
        #emp-search-input {
            background: rgba(255,252,247,0.82) !important;
            border: 1px solid rgba(201,154,76,0.24) !important;
            border-radius: 16px !important;
            color: var(--ep-ink) !important;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.74);
        }
        #emp-search-input:focus {
            border-color: var(--ep-gold) !important;
            box-shadow: 0 0 0 4px rgba(201,154,76,0.12), inset 0 1px 0 rgba(255,255,255,0.72);
        }
        .dark-mode #emp-search-input {
            background: rgba(20,15,9,0.74) !important;
            color: #f7ead1 !important;
            border-color: rgba(227,188,112,0.18) !important;
        }
        #employee-search-box .fa-magnifying-glass { color: var(--ep-gold-dark) !important; opacity: .72 !important; }

        #employee-list-container > .glass-panel {
            border-radius: 26px !important;
            border-color: rgba(201,154,76,0.20);
            box-shadow: 0 16px 38px rgba(7,27,49,0.08), inset 0 1px 0 rgba(255,255,255,0.72) !important;
            transition: transform .18s ease, box-shadow .18s ease;
        }
        #employee-list-container > .glass-panel:hover {
            transform: translateY(-2px);
            box-shadow: 0 20px 44px rgba(7,27,49,0.12), inset 0 1px 0 rgba(255,255,255,0.78) !important;
        }
        #employee-list-container [data-ui-name="Đầu thẻ nhân viên"],
        #employee-list-container [data-ui-name="Khối sửa thông tin nhân viên"] {
            background: linear-gradient(135deg, rgba(255,252,247,0.94), rgba(233,215,183,0.62)) !important;
            border-bottom: 1px solid rgba(201,154,76,0.18) !important;
        }
        .dark-mode #employee-list-container [data-ui-name="Đầu thẻ nhân viên"],
        .dark-mode #employee-list-container [data-ui-name="Khối sửa thông tin nhân viên"] {
            background: linear-gradient(135deg, rgba(42,31,18,0.94), rgba(92,62,25,0.32)) !important;
            border-bottom-color: rgba(227,188,112,0.14) !important;
        }
        #employee-list-container h3 {
            color: var(--ep-brown) !important;
            letter-spacing: -0.025em;
        }
        .dark-mode #employee-list-container h3 { color: #f0dbb3 !important; }
        .item-stt {
            color: var(--ep-gold-dark) !important;
            background: rgba(201,154,76,0.10);
            border: 1px solid rgba(201,154,76,0.16);
            border-radius: 9px;
            padding: 2px 7px;
            font-size: .62em;
            vertical-align: middle;
        }

        .glass-list-item {
            border-bottom: 1px solid rgba(201,154,76,0.12);
            transition: background .18s ease;
        }
        .glass-list-item:hover { background: rgba(201,154,76,0.045); }
        .dark-mode .glass-list-item { border-bottom-color: rgba(227,188,112,0.09); }
        .dark-mode .glass-list-item:hover { background: rgba(227,188,112,0.045); }

        .apple-input {
            background: rgba(255,253,249,0.92);
            border: 1px solid rgba(201,154,76,0.25);
            border-radius: 14px;
            color: var(--ep-ink);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
        }
        .apple-input:focus {
            border-color: var(--ep-gold);
            box-shadow: 0 0 0 4px rgba(201,154,76,0.12), inset 0 1px 0 rgba(255,255,255,0.78);
            background: #fffdf9;
        }
        .dark-mode .apple-input {
            background: rgba(20,15,9,0.76);
            border-color: rgba(227,188,112,0.20);
            color: #f7ead1;
        }
        .dark-mode .apple-input:focus { background: rgba(22,16,9,0.95); }
        .apple-btn-arrow { background: rgba(201,154,76,0.12); color: var(--ep-gold-dark); }
        .apple-input:valid + .apple-btn-arrow {
            background: linear-gradient(135deg, var(--ep-gold-dark), var(--ep-gold));
            color: white;
            box-shadow: 0 5px 12px rgba(7,27,49,0.18);
        }

        .ios-switch {
            background: rgba(82,63,38,0.16);
            border-color: rgba(201,154,76,0.13);
        }
        .ios-switch:checked {
            background: linear-gradient(90deg, var(--ep-gold-dark), var(--ep-gold));
            box-shadow: 0 0 0 3px rgba(201,154,76,0.10);
        }
        .dark-mode .ios-switch { background: rgba(255,255,255,0.10); }

        #brand-section-title, #display-section-title {
            color: var(--ep-gold-dark) !important;
            opacity: 1 !important;
            letter-spacing: .15em;
        }
        .dark-mode #brand-section-title, .dark-mode #display-section-title { color: #d9bd86 !important; }
        #brand-settings-panel, #display-settings-panel {
            border-radius: 26px !important;
        }
        #brand-settings-panel input[type="text"] {
            border: 1px solid rgba(201,154,76,0.15);
            background: rgba(255,255,255,0.42) !important;
            border-radius: 10px;
            padding: 7px 10px;
        }
        .dark-mode #brand-settings-panel input[type="text"] {
            background: rgba(255,255,255,0.05) !important;
            border-color: rgba(227,188,112,0.12);
        }
        #set-company, #set-employee-term { color: var(--ep-gold-dark) !important; }

        #reset-data-button, #logout-button {
            border-radius: 20px !important;
            background: rgba(255,252,247,0.66) !important;
            box-shadow: 0 10px 24px rgba(7,27,49,0.06) !important;
        }
        #reset-data-button {
            color: #9a6b27 !important;
            border-color: rgba(201,154,76,0.24) !important;
        }
        #reset-data-button:hover {
            background: linear-gradient(135deg, #a77936, #c49c5a) !important;
            color: white !important;
        }
        #logout-button {
            color: #9a4137 !important;
            border-color: rgba(154,65,55,0.18) !important;
        }
        #logout-button:hover { background: #9a4137 !important; color: white !important; }
        .dark-mode #reset-data-button, .dark-mode #logout-button { background: rgba(255,255,255,0.05) !important; }

        #toast {
            border-color: rgba(201,154,76,0.24);
            box-shadow: 0 12px 30px rgba(7,27,49,0.16);
        }
        #toast .fa-circle-info { color: var(--ep-gold) !important; }
        .encrypted-data.revealed { color: #9b6d2c; }
        .dark-mode .encrypted-data.revealed { color: #e0c48d; }

        #employee-list-container [data-ui-name*="Nút sửa"] {
            background: rgba(201,154,76,0.12) !important;
            color: var(--ep-gold-dark) !important;
        }
        #employee-list-container [data-ui-name*="Nút sửa"]:hover { background: rgba(201,154,76,0.20) !important; }
        #employee-list-container [data-ui-name="Nút lưu thông tin nhân viên"],
        #employee-list-container [data-ui-name="Nút lưu mức lương"] {
            background: linear-gradient(135deg, var(--ep-gold-dark), var(--ep-gold)) !important;
            color: white !important;
        }
        #employee-list-container [data-ui-name="Nút khóa hoặc mở mức lương"] {
            background: rgba(82,63,38,0.09) !important;
        }

        .ui-marker-badge {
            background: linear-gradient(135deg, #9b6d2c, #c99a4c);
            border-color: rgba(255,250,240,0.78);
            box-shadow: 0 3px 10px rgba(7,27,49,0.28);
        }
        body.show-ui-id [data-ui-code].ui-numbered-target { outline-color: rgba(143,104,47,0.54); }
        #ui-assistive-button {
            background: rgba(55,43,27,0.82);
            box-shadow: 0 6px 20px rgba(43,30,14,0.34), inset 0 0 0 2px rgba(255,255,255,0.18);
        }
        #ui-assistive-button.ui-enabled {
            background: linear-gradient(145deg, #9b6d2c, #c09a5a);
            box-shadow: 0 7px 22px rgba(7,27,49,0.32), 0 0 0 3px rgba(201,154,76,0.18), inset 0 0 0 2px rgba(255,255,255,0.36);
        }

        .dark-mode .text-black { color: #f7ead1 !important; }
        .dark-mode .text-gray-500, .dark-mode .text-gray-600, .dark-mode .text-gray-700 { color: #c9b791 !important; }
        .app-version-badge {
            display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 7px; border-radius: 999px;
            font-size: 9px; line-height: 1; letter-spacing: .04em; color: #9b6d2c;
            background: rgba(201,154,76,.12); border: 1px solid rgba(201,154,76,.18); vertical-align: middle;
        }
        .dark-mode .app-version-badge { color: #e8cca0; background: rgba(227,188,112,.08); border-color: rgba(227,188,112,.16); }
        .ui-recovery-button {
            min-height: 34px; padding: 7px 11px; border-radius: 11px; border: 1px solid rgba(201,154,76,.22);
            background: rgba(255,252,247,.72); color: #9b6d2c; font-size: 11px; font-weight: 900;
            box-shadow: 0 5px 14px rgba(7,27,49,.06); transition: transform .15s ease, background .15s ease;
        }
        .ui-recovery-button:hover { transform: translateY(-1px); background: rgba(201,154,76,.12); }
        .ui-recovery-primary { background: linear-gradient(135deg,#9b6d2c,#c99a4c); color: #fff; border-color: transparent; }
        .ui-recovery-primary:hover { background: linear-gradient(135deg,#9b6d2c,#c99a4c); }
        .dark-mode .ui-recovery-button { background: rgba(255,255,255,.05); color: #e8cca0; border-color: rgba(227,188,112,.18); }
        .dark-mode .ui-recovery-primary { background: linear-gradient(135deg,#9b6d2c,#c99a4c); color: #fff; }
        #ui-assistive-button { pointer-events: auto !important; opacity: 1; }
        #ui-assistive-button:focus-visible { outline: 3px solid rgba(201,154,76,.35); outline-offset: 3px; }

        ::selection { background: rgba(201,154,76,0.25); color: var(--ep-brown-deep); }
        ::-webkit-scrollbar-thumb { background: rgba(143,104,47,0.34); }
        .dark-mode ::-webkit-scrollbar-thumb { background: rgba(227,188,112,0.26); }

        @media (max-width: 767px) {
            #main-header { padding-left: 12px !important; padding-right: 12px !important; }
            .brand-nav-wrap { padding-right: 9px; gap: 8px; }
            .brand-nav-logo { width: 42px; height: 42px; border-radius: 14px; }
            #nav-company-title { font-size: 14px !important; }
            .brand-nav-caption { display: none; }
            #user-menu-button { padding-left: 9px !important; padding-right: 9px !important; }
            #nav-username { display: none; }

            #navigation-panel {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .sidebar-item { min-height: 56px; }
            .sidebar-item:hover { transform: none; }
            .sidebar-item > div { font-size: 14px !important; }
            .sidebar-item .fa-users, .sidebar-item .fa-gear { width: 28px; height: 28px; }

            #employee-toolbar, #settings-header {
                align-items: stretch !important;
                flex-direction: column !important;
                gap: 14px;
            }
            #employee-title, #settings-title { font-size: 30px !important; }
            #employee-toolbar > div:last-child {
                width: 100%;
                display: grid !important;
                grid-template-columns: repeat(3, minmax(0,1fr));
                gap: 8px !important;
            }
            #add-employee-button, #import-excel-button, #export-excel-button {
                justify-content: center;
                padding-left: 10px !important;
                padding-right: 10px !important;
                font-size: 12px !important;
            }
            #employee-list-container [data-ui-name="Đầu thẻ nhân viên"] { padding: 16px !important; }
            #employee-list-container h3 { font-size: 20px !important; }
            .glass-list-item { padding: 14px 16px; }
            #brand-settings-panel .glass-list-item { align-items: flex-start; gap: 12px; }
            #brand-settings-panel input[type="text"] { width: 48% !important; font-size: 12px; }
        }


        /* ===== v1.3: Tiền tệ & quản lý tài khoản ===== */
        .money-value{display:inline-flex;align-items:center;min-width:118px;justify-content:flex-end;font-variant-numeric:tabular-nums;transition:filter .2s ease,opacity .2s ease}.money-blurred{filter:blur(7px);user-select:none;opacity:.72}.money-action{width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;transition:transform .18s ease,background .18s ease}.money-action:hover{transform:translateY(-1px)}.money-eye{background:rgba(201,154,76,.13);color:#9b6d2c}.money-edit{background:rgba(59,130,246,.12);color:#2563eb}.dark-mode .money-eye{background:rgba(227,188,112,.14);color:#e3bc70}.dark-mode .money-edit{background:rgba(96,165,250,.14);color:#93c5fd}.permission-denied{opacity:.38;cursor:not-allowed!important}.admin-only-note{font-size:10px;font-weight:800;color:rgba(23,63,104,.72)}.dark-mode .admin-only-note{color:rgba(237,210,160,.72)}
        .account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.account-card{padding:16px;border-radius:22px;background:rgba(255,255,255,.52);border:1px solid rgba(201,154,76,.16);box-shadow:0 10px 26px rgba(7,27,49,.06)}.dark-mode .account-card{background:rgba(255,255,255,.055);border-color:rgba(227,188,112,.15)}.role-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;background:rgba(201,154,76,.12);color:#78501f}.dark-mode .role-badge{color:#efd6a6;background:rgba(227,188,112,.12)}.permission-chip{display:inline-flex;gap:6px;align-items:center;font-size:11px;font-weight:800;padding:5px 8px;border-radius:10px;background:rgba(0,0,0,.045)}.dark-mode .permission-chip{background:rgba(255,255,255,.07)}
        .modal-backdrop{position:fixed;inset:0;z-index:10020;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(20,15,8,.38);backdrop-filter:blur(10px)}.modal-backdrop.active{display:flex}.modal-card{width:min(520px,100%);max-height:90vh;overflow-y:auto;border-radius:30px;padding:24px;background:rgba(255,252,247,.96);border:1px solid rgba(201,154,76,.24);box-shadow:0 28px 80px rgba(47,31,8,.24)}.dark-mode .modal-card{background:rgba(25,22,18,.96);border-color:rgba(227,188,112,.20)}.account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-form-grid .span-2{grid-column:span 2}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.permission-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(0,0,0,.035)}.dark-mode .permission-toggle-row{background:rgba(255,255,255,.055)}@media(max-width:640px){.account-form-grid,.permission-grid{grid-template-columns:1fr}.account-form-grid .span-2{grid-column:span 1}}

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }
        .dark-mode ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }

        /* ===== TNPFurniture v1.4 - Operations Suite ===== */
        .ops-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
        .ops-kpi { padding:16px; border-radius:22px; background:rgba(255,255,255,.55); border:1px solid rgba(201,154,76,.16); box-shadow:0 10px 28px rgba(7,27,49,.05); backdrop-filter:blur(10px); }
        .dark-mode .ops-kpi { background:rgba(255,255,255,.07); border-color:rgba(227,188,112,.16); }
        .ops-kpi-label { font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.12em; opacity:.58; }
        .ops-kpi-value { font-size:25px; line-height:1.1; font-weight:900; margin-top:6px; color:#173f68; }
        .dark-mode .ops-kpi-value { color:#eed6a5; }
        .ops-toolbar { display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; margin-bottom:16px; }
        .ops-toolbar-group { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
        .ops-button { border-radius:14px; padding:10px 14px; font-size:12px; font-weight:900; display:inline-flex; align-items:center; gap:7px; border:1px solid rgba(201,154,76,.18); background:rgba(255,255,255,.65); color:#173f68; box-shadow:0 6px 16px rgba(7,27,49,.04); }
        .dark-mode .ops-button { background:rgba(255,255,255,.08); color:#ecd5aa; border-color:rgba(227,188,112,.17); }
        .ops-button-primary { background:linear-gradient(135deg,#9d7438,#c49a58); color:white; border-color:transparent; }
        .ops-button-danger { color:#c23e3e; border-color:rgba(220,38,38,.18); }
        .ops-input { background:rgba(255,255,255,.68); border:1px solid rgba(201,154,76,.20); border-radius:13px; padding:9px 11px; outline:none; font-weight:800; color:#162a3d; }
        .dark-mode .ops-input { background:rgba(0,0,0,.24); border-color:rgba(227,188,112,.17); color:#f5ead8; }
        .ops-table-wrap { overflow:auto; border-radius:24px; border:1px solid rgba(201,154,76,.15); background:rgba(255,255,255,.48); backdrop-filter:blur(10px); }
        .dark-mode .ops-table-wrap { background:rgba(255,255,255,.055); border-color:rgba(227,188,112,.14); }
        .ops-table { width:100%; min-width:850px; border-collapse:separate; border-spacing:0; }
        .ops-table th { position:sticky; top:0; z-index:2; padding:12px 10px; text-align:left; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:900; background:rgba(244,235,221,.96); color:#173f68; border-bottom:1px solid rgba(201,154,76,.16); }
        .dark-mode .ops-table th { background:rgba(36,29,22,.97); color:#e9c98f; }
        .ops-table td { padding:11px 10px; font-size:12px; font-weight:700; border-bottom:1px solid rgba(201,154,76,.10); vertical-align:middle; }
        .ops-table tr:last-child td { border-bottom:0; }
        .ops-table tbody tr:hover { background:rgba(201,154,76,.055); }
        .ops-number-input { width:82px; padding:7px 8px; border-radius:10px; background:rgba(255,255,255,.72); border:1px solid rgba(201,154,76,.18); font-weight:900; outline:none; }
        .dark-mode .ops-number-input { background:rgba(0,0,0,.28); border-color:rgba(227,188,112,.16); color:#fff; }
        .ops-note-input { min-width:170px; width:100%; padding:7px 8px; border-radius:10px; background:rgba(255,255,255,.72); border:1px solid rgba(201,154,76,.18); font-weight:700; outline:none; }
        .dark-mode .ops-note-input { background:rgba(0,0,0,.28); border-color:rgba(227,188,112,.16); color:#fff; }
        .audit-list { display:flex; flex-direction:column; gap:10px; }
        .audit-row { display:grid; grid-template-columns:165px 130px 145px 1fr; gap:12px; padding:13px 15px; align-items:start; border-radius:16px; border:1px solid rgba(201,154,76,.13); background:rgba(255,255,255,.52); }
        .dark-mode .audit-row { background:rgba(255,255,255,.055); border-color:rgba(227,188,112,.14); }
        .audit-time { font-size:11px; font-weight:800; opacity:.58; }
        .audit-user { font-size:12px; font-weight:900; }
        .audit-category { font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; color:#946b31; }
        .audit-detail { font-size:12px; font-weight:700; line-height:1.45; }
        .backup-card { padding:14px 16px; border-radius:18px; border:1px solid rgba(201,154,76,.14); background:rgba(255,255,255,.52); display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; }
        .dark-mode .backup-card { background:rgba(255,255,255,.055); border-color:rgba(227,188,112,.14); }
        .sync-status { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; font-size:10px; font-weight:900; background:rgba(100,116,139,.12); }
        .sync-status.ok { background:rgba(22,163,74,.12); color:#16813d; }
        .sync-status.warn { background:rgba(234,88,12,.12); color:#c35417; }
        .payroll-money { display:inline-block; min-width:92px; font-weight:900; color:#173f68; transition:filter .18s,opacity .18s; }
        .dark-mode .payroll-money { color:#edd4a4; }
        .payroll-money.masked { filter:blur(7px); user-select:none; opacity:.76; }
        .payroll-actions { display:inline-flex; gap:5px; margin-left:5px; }
        .payroll-icon-btn { width:28px; height:28px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; background:rgba(201,154,76,.11); color:#7a5424; }
        .dark-mode .payroll-icon-btn { color:#e6c98f; background:rgba(227,188,112,.10); }
        .status-draft { background:rgba(234,88,12,.12); color:#c35417; }
        .status-approved { background:rgba(22,163,74,.12); color:#16813d; }
        @media (max-width: 800px) {
            .ops-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
            .audit-row { grid-template-columns:1fr 1fr; }
            .audit-detail { grid-column:1/-1; }
        }

/* ===== everprime-v170-layout ===== */
:root{--ep-primary-w:84px;--ep-secondary-w:272px;--ep-topbar-h:72px;--ep-shell-left:356px;--ep-line:rgba(201,154,76,.18);--ep-panel:rgba(255,252,247,.82);--ep-panel-strong:rgba(255,252,247,.96);--ep-muted:#7b6a51;--ep-text:#332515}
.dark-mode{--ep-line:rgba(227,188,112,.15);--ep-panel:rgba(29,25,20,.88);--ep-panel-strong:rgba(25,22,18,.98);--ep-muted:#baa98c;--ep-text:#f5e9d3}
#screen-mainapp{min-height:100vh;overflow:visible!important;background:transparent}
#screen-mainapp.active{display:block!important}
.ep-primary-sidebar{position:fixed;inset:0 auto 0 0;width:var(--ep-primary-w);z-index:80;background:linear-gradient(180deg,rgba(49,35,20,.98),rgba(67,45,20,.96));border-right:1px solid rgba(227,188,112,.18);display:flex;flex-direction:column;align-items:center;padding:10px 8px;box-shadow:12px 0 36px rgba(52,33,10,.12)}
.ep-brand-button{width:58px;height:58px;border:0;background:rgba(255,255,255,.08);border-radius:18px;display:grid;place-items:center;margin:2px 0 18px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.ep-primary-logo{width:50px;height:50px;object-fit:cover;border-radius:15px}
.ep-primary-nav{width:100%;display:grid;gap:7px}.ep-primary-footer{width:100%;margin-top:auto;display:grid;gap:7px}
.ep-primary-item{border:0;background:transparent;color:#d7c7aa;width:100%;min-height:65px;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:7px 3px;font-size:10px;font-weight:900;line-height:1.05;transition:.18s}
.ep-primary-item i{font-size:20px}.ep-primary-item:hover{background:rgba(255,255,255,.08);color:#fff}.ep-primary-item.active{background:linear-gradient(145deg,#9b6d2c,#c99a4c);color:#fff;box-shadow:0 10px 22px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.2)}
.ep-secondary-sidebar{position:fixed;top:0;bottom:0;left:var(--ep-primary-w);width:var(--ep-secondary-w);z-index:70;background:var(--ep-panel-strong);border-right:1px solid var(--ep-line);backdrop-filter:blur(24px);display:flex;flex-direction:column;box-shadow:10px 0 30px rgba(66,45,15,.06)}
.ep-secondary-brand{height:72px;flex:none;display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--ep-line)}.ep-secondary-brand-copy{min-width:0}.ep-secondary-brand-copy strong{display:block;color:var(--ep-text);font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-secondary-brand-copy small{display:flex;align-items:center;gap:5px;margin-top:2px;color:var(--ep-muted);font-size:9px;font-weight:800;white-space:nowrap}.ep-secondary-close{display:none;margin-left:auto;width:34px;height:34px;border:1px solid var(--ep-line);background:transparent;color:var(--ep-text);border-radius:10px}
.ep-secondary-heading{display:flex;align-items:flex-start;gap:11px;padding:18px 16px 12px}.ep-secondary-heading h2{margin:1px 0 3px;font-size:17px;font-weight:950;color:var(--ep-text)}.ep-secondary-heading p{margin:0;color:var(--ep-muted);font-size:11px;line-height:1.45;font-weight:700}.ep-secondary-group-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(201,154,76,.12);color:#9b6d2c;flex:none}.dark-mode .ep-secondary-group-icon{color:#e4c58d;background:rgba(227,188,112,.1)}
.ep-secondary-list{padding:2px 10px 92px;overflow-y:auto;flex:1}#navigation-panel.ep-secondary-list{display:block!important;grid-template-columns:none!important;gap:0!important;padding:2px 10px 92px!important;border-radius:0!important}.ep-secondary-section-label{padding:12px 10px 6px;color:var(--ep-muted);font-size:9px;font-weight:950;letter-spacing:.13em;text-transform:uppercase}.ep-secondary-item.sidebar-item{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;width:100%;padding:9px 10px!important;margin:2px 0!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--ep-text)!important;text-align:left;min-height:48px;box-shadow:none!important;transform:none!important}.ep-secondary-item:hover{background:rgba(201,154,76,.08)!important}.ep-secondary-item.is-active{background:rgba(201,154,76,.14)!important;color:#80591f!important}.dark-mode .ep-secondary-item.is-active{color:#f0d8aa!important;background:rgba(227,188,112,.1)!important}.ep-secondary-item .ep-secondary-icon{width:32px;height:32px;border-radius:10px;background:rgba(201,154,76,.1);color:#9b6d2c;display:grid;place-items:center;flex:none}.dark-mode .ep-secondary-item .ep-secondary-icon{color:#e3bc70;background:rgba(227,188,112,.08)}.ep-secondary-item .ep-secondary-copy{min-width:0;display:block}.ep-secondary-item .ep-secondary-copy b{display:block;font-size:12px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-secondary-item .ep-secondary-copy small{display:block;margin-top:2px;color:var(--ep-muted);font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ep-secondary-item.is-active .ep-secondary-icon{background:linear-gradient(145deg,#9b6d2c,#c99a4c);color:#fff}
.ep-secondary-status{position:absolute;left:10px;right:10px;bottom:10px;min-height:64px;border:1px solid var(--ep-line);border-radius:14px;background:var(--ep-panel);display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--ep-text);backdrop-filter:blur(14px)}.ep-secondary-status>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(22,163,74,.11);color:#16813d}.ep-secondary-status b{display:block;font-size:11px}.ep-secondary-status small{display:block;color:var(--ep-muted);font-size:9px;margin-top:2px}
.ep-topbar{position:fixed!important;top:0!important;left:var(--ep-shell-left)!important;right:0!important;height:var(--ep-topbar-h)!important;z-index:60!important;border-radius:0!important;border:0!important;border-bottom:1px solid var(--ep-line)!important;background:var(--ep-panel-strong)!important;backdrop-filter:blur(24px)!important;display:flex!important;align-items:center!important;gap:14px!important;padding:0 20px!important;box-shadow:none!important}.ep-topbar-left{display:flex;align-items:center;gap:10px;min-width:210px}.ep-breadcrumb{display:flex;align-items:center;gap:8px;color:var(--ep-muted);font-size:11px;font-weight:850;white-space:nowrap}.ep-breadcrumb i{font-size:8px;opacity:.6}.ep-breadcrumb strong{color:var(--ep-text);font-size:13px}.ep-topbar-search{margin-left:auto;width:min(430px,34vw);position:relative}.ep-topbar-search>i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--ep-muted);font-size:12px}.ep-topbar-search input{width:100%;height:39px;border:1px solid var(--ep-line);border-radius:12px;background:rgba(201,154,76,.045);padding:0 13px 0 36px;color:var(--ep-text);outline:none;font-size:12px;font-weight:750}.ep-topbar-search input:focus{border-color:rgba(201,154,76,.48);box-shadow:0 0 0 3px rgba(201,154,76,.08)}.ep-topbar-actions{display:flex;align-items:center;gap:7px}.ep-topbar-icon{width:39px;height:39px;border-radius:11px;border:1px solid var(--ep-line);background:transparent;color:var(--ep-text);display:grid;place-items:center}.ep-topbar-icon:hover{background:rgba(201,154,76,.08)}.ep-logout-icon{color:#a14d42}.ep-user-chip{height:42px;display:flex;align-items:center;gap:9px;padding:4px 10px 4px 5px;border:1px solid var(--ep-line);border-radius:13px;cursor:pointer;min-width:142px;color:var(--ep-text)}.ep-user-avatar{width:31px;height:31px;border-radius:10px;background:linear-gradient(145deg,#9b6d2c,#c99a4c);color:#fff;display:grid;place-items:center}.ep-user-chip span{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:950}.ep-user-chip small{display:block;color:var(--ep-muted);font-size:8px;margin-top:1px}.ep-mobile-menu-button{display:none}
.ep-main-content{margin-left:var(--ep-shell-left);padding:94px 22px 40px;min-height:100vh;overflow:visible!important;position:relative;z-index:10}.ep-main-content>.app-section{max-width:1480px;margin:0 auto}.ep-main-content #employee-toolbar,.ep-main-content #settings-header{gap:16px;flex-wrap:wrap}.ep-main-content #employee-title,.ep-main-content #settings-title,.ep-main-content .ops-toolbar h2{font-size:30px!important;line-height:1.15}
.ep-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.ep-page-head h2{font-size:30px;line-height:1.15;margin:2px 0 5px;font-weight:950;color:var(--ep-text)}.ep-page-head p{margin:0;color:var(--ep-muted);font-size:12px;font-weight:750}.ep-eyebrow{font-size:9px;font-weight:950;letter-spacing:.14em;color:#0e2b4a}.dark-mode .ep-eyebrow{color:#e0c28b}.ep-page-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.ep-dashboard-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:14px}.ep-dashboard-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ep-stat-card{border:1px solid var(--ep-line);background:var(--ep-panel);border-radius:16px;padding:15px;display:flex;align-items:center;gap:11px;min-height:86px;backdrop-filter:blur(16px)}.ep-stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(201,154,76,.11);color:#9b6d2c;font-size:17px;flex:none}.dark-mode .ep-stat-icon{color:#e6c890;background:rgba(227,188,112,.09)}.ep-stat-card b{display:block;color:var(--ep-text);font-size:20px;font-weight:950;line-height:1}.ep-stat-card small{display:block;color:var(--ep-muted);font-size:9px;margin-top:6px;font-weight:800}.ep-dashboard-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:13px}.ep-panel,.ep-list-card{border:1px solid var(--ep-line);background:var(--ep-panel);border-radius:17px;overflow:hidden;backdrop-filter:blur(16px)}.ep-panel-head{padding:14px 16px;border-bottom:1px solid var(--ep-line);display:flex;align-items:center;justify-content:space-between;gap:10px}.ep-panel-head h3{font-size:13px;margin:0;color:var(--ep-text);font-weight:950}.ep-panel-head p{font-size:9px;margin:3px 0 0;color:var(--ep-muted);font-weight:700}.ep-panel-body{padding:14px 16px}.ep-breakdown-row{display:grid;grid-template-columns:minmax(100px,160px) 1fr 40px;gap:10px;align-items:center;margin:9px 0;color:var(--ep-text);font-size:10px;font-weight:800}.ep-breakdown-track{height:8px;background:rgba(201,154,76,.08);border-radius:999px;overflow:hidden}.ep-breakdown-track i{display:block;height:100%;background:linear-gradient(90deg,#9b6d2c,#c09a5a);border-radius:999px}.ep-activity-row{display:flex;gap:9px;padding:9px 0;border-bottom:1px solid var(--ep-line)}.ep-activity-row:last-child{border-bottom:0}.ep-activity-dot{width:29px;height:29px;border-radius:9px;background:rgba(201,154,76,.1);color:#9b6d2c;display:grid;place-items:center;flex:none}.ep-activity-row b{display:block;font-size:10px;color:var(--ep-text)}.ep-activity-row small{display:block;margin-top:2px;font-size:8px;color:var(--ep-muted)}
.ep-list-toolbar{min-height:58px;padding:10px 13px;border-bottom:1px solid var(--ep-line);display:flex;align-items:center;gap:10px;justify-content:space-between}.ep-list-toolbar strong{display:block;font-size:12px;color:var(--ep-text)}.ep-list-toolbar small{display:block;font-size:9px;color:var(--ep-muted);margin-top:2px}.ep-list-toolbar .ops-input{width:min(360px,45vw)}.ep-table-scroll{overflow:auto;max-height:calc(100vh - 290px)}.ep-data-table{width:100%;min-width:980px;border-collapse:collapse}.ep-data-table th,.ep-data-table td{padding:10px 12px;border-bottom:1px solid var(--ep-line);font-size:10px;text-align:left;vertical-align:middle;color:var(--ep-text)}.ep-data-table th{position:sticky;top:0;z-index:2;background:var(--ep-panel-strong);color:var(--ep-muted);font-size:8px;text-transform:uppercase;letter-spacing:.07em}.ep-data-table tbody tr:hover td{background:rgba(201,154,76,.035)}.ep-status-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:8px;font-weight:950;background:rgba(100,116,139,.11);color:var(--ep-muted)}.ep-status-pill.ok{background:rgba(22,163,74,.11);color:#16813d}.ep-status-pill.warn{background:rgba(234,88,12,.11);color:#c35417}.ep-empty-state{padding:42px 18px;text-align:center;color:var(--ep-muted);font-size:11px;font-weight:800}.ep-mobile-overlay{display:none}
@media(max-width:1180px){.ep-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-dashboard-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.ep-dashboard-split{grid-template-columns:1fr}.ep-user-chip{min-width:0}.ep-user-chip>div:last-child{display:none}.ep-topbar-search{width:min(320px,30vw)}}
@media(max-width:900px){:root{--ep-shell-left:0px}.ep-primary-sidebar,.ep-secondary-sidebar{transform:translateX(-110%);transition:transform .22s ease}.ep-secondary-sidebar{left:var(--ep-primary-w)}body.ep-nav-open .ep-primary-sidebar,body.ep-nav-open .ep-secondary-sidebar{transform:translateX(0)}.ep-secondary-close{display:grid;place-items:center}.ep-topbar{left:0!important;padding:0 12px!important}.ep-main-content{margin-left:0;padding:88px 12px 32px}.ep-mobile-menu-button{display:grid}.ep-mobile-overlay{position:fixed;z-index:65;inset:0;background:rgba(13,35,57,.45);backdrop-filter:blur(3px)}body.ep-nav-open .ep-mobile-overlay{display:block}.ep-topbar-left{min-width:auto}.ep-breadcrumb #topbar-group-label,.ep-breadcrumb>i{display:none}.ep-topbar-search{width:min(330px,42vw)}}
@media(max-width:620px){:root{--ep-primary-w:70px;--ep-secondary-w:min(280px,calc(100vw - 70px))}.ep-topbar-search{display:none}.ep-topbar-actions>.ep-topbar-icon:nth-child(1){display:none}.ep-user-chip{display:none}.ep-dashboard-grid,.ep-dashboard-grid-4{grid-template-columns:1fr}.ep-page-head{flex-direction:column}.ep-page-actions{width:100%;justify-content:flex-start}.ep-page-actions .ops-button{flex:1}.ep-main-content #employee-toolbar>div:last-child{width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}.ep-list-toolbar{align-items:stretch;flex-direction:column}.ep-list-toolbar .ops-input{width:100%}.ep-primary-item{min-height:58px}.ep-primary-item span{font-size:8px}.ep-secondary-heading{padding-top:14px}}
@media print{.ep-primary-sidebar,.ep-secondary-sidebar,.ep-topbar,.ep-mobile-overlay,#ui-assistive-button,#ui-marker-layer{display:none!important}.ep-main-content{margin:0!important;padding:0!important}.app-section{display:none!important}.app-section.active{display:block!important}}

/* ===== everprime-v204-readable-import-scroll-style ===== */
/* ===== v2.0.4 — readable 1.6x typography / one-click filters / stable wheel ===== */
#screen-mainapp{font-weight:700;font-variant-numeric:tabular-nums}
#screen-mainapp :where(button,input,select,textarea){font-size:16px!important;font-weight:800!important;line-height:1.25}
#screen-mainapp :where(.ep-primary-item span,.ep-user-chip small,.ep-activity-row small,.ep-search-language-v202,.ep-column-filter-status-v203){font-size:13px!important;font-weight:800!important}
#screen-mainapp :where(.ep-secondary-item .ep-secondary-copy b,.ep-user-chip span,.ep-activity-row b,.ep-breakdown-row,.ep-list-toolbar strong,.ops-kpi-label,.ep-list-caption){font-size:16px!important;font-weight:850!important}
#screen-mainapp :where(.ep-secondary-item .ep-secondary-copy small,.ep-secondary-section-label,.ep-stat-card small,.ep-panel-head p,.timepay-person-meta,.ep-list-toolbar small,.linked-roster-toolbar-v195 small,.timepay-scroll-note,.timepay-stability-status-v196){font-size:13px!important;font-weight:750!important;line-height:1.35}
#screen-mainapp :where(.ep-breadcrumb,.ep-topbar-search input,.ep-search-suggestion-v202 b,.ep-search-suggestion-v202 small){font-size:16px!important;font-weight:800!important}
#screen-mainapp .ep-breadcrumb strong{font-size:19px!important;font-weight:900!important}
#screen-mainapp :where(.ep-page-head h2,#employee-title,#settings-title,.ops-toolbar h2){font-size:clamp(34px,3vw,42px)!important;font-weight:950!important}
#screen-mainapp :where(.ep-page-head p,.ops-toolbar p,#employee-toolbar>div:first-child>p){font-size:17px!important;font-weight:750!important;line-height:1.4}
#screen-mainapp :where(.ep-stat-card b,.ops-kpi-value){font-size:29px!important;font-weight:950!important}
#screen-mainapp :where(.ep-employee-list-table,.ep-list-edit,.ep-list-readonly,.ep-list-contract select){font-size:16px!important;font-weight:800!important}
#screen-mainapp :where(.ep-employee-list-table th,.pp-table th,.ep-insurance-v200 th,.ops-table th,.attendance-summary-table th){font-size:13px!important;font-weight:950!important;line-height:1.25;white-space:normal!important}
#screen-mainapp :where(.ep-employee-list-table td,.pp-table td,.pp-input,.pp-select,.pp-readonly,.ep-insurance-v200 td,.ep-insurance-v200 input,.ep-insurance-v200 select,.ops-table td,.ops-number-input,.ops-note-input,.attendance-summary-table td){font-size:14.5px!important;font-weight:750!important;line-height:1.3}
#screen-mainapp :where(.employee-tab-v198,.ops-button,.ep-page-actions button,.ops-toolbar-group button){font-size:16px!important;font-weight:900!important}
#screen-mainapp :where(.employee-tab-v198 .count,.role-badge,.ep-status-pill){font-size:13px!important;font-weight:950!important}

/* Không dùng combobox trong bộ lọc: mỗi giá trị là một nút áp dụng bằng một click. */
.ep-column-filter-menu-v203{width:min(340px,calc(100vw - 18px))!important}
.ep-column-filter-menu-v203 h4{font-size:18px!important;font-weight:950!important}.ep-column-filter-menu-v203>small{font-size:13px!important;line-height:1.35}
.ep-column-filter-menu-v203 input{font-size:16px!important;font-weight:800!important;padding:9px 10px!important}
.ep-column-filter-values-v204{display:grid;grid-template-columns:1fr 1fr;gap:4px;max-height:190px;overflow:auto;margin:2px 0 7px;padding:2px}
.ep-column-filter-value-v204{min-width:0;border:1px solid var(--ep-line);border-radius:8px;padding:7px 8px;background:rgba(201,154,76,.07);color:var(--ep-text);text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px!important;font-weight:850!important}
.ep-column-filter-value-v204:hover,.ep-column-filter-value-v204.active{background:#c99a4c;color:#fff;border-color:#c99a4c}
.ep-column-filter-actions-v203 button{font-size:14px!important;font-weight:900!important;padding:8px!important}
.ep-column-filter-button-v203{width:28px!important;height:28px!important;font-size:13px!important}
th.ep-filterable-v203{padding-right:34px!important}

/* Con lăn dọc được phép đi tiếp ra trang; Shift + con lăn do một handler duy nhất xử lý ngang. */
:where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll,#attendance-table.timepay-scroll-wrap,#payroll-table.timepay-scroll-wrap){overscroll-behavior:auto!important;scroll-behavior:auto!important;touch-action:pan-x pan-y;scrollbar-gutter:auto!important}
.ep-wheel-ready-v204{outline:none}.ep-wheel-ready-v204:focus-visible{box-shadow:inset 0 0 0 2px rgba(201,154,76,.45)}

#payroll-global-eye-v204[aria-pressed="true"]{background:linear-gradient(135deg,#855b25,#b98945)!important;color:#fff!important;border-color:transparent!important}
#screen-payroll:not(.payroll-money-visible-v204) #payroll-kpis .ops-kpi:nth-child(3) .ops-kpi-value,
#screen-payroll:not(.payroll-money-visible-v204) #payroll-kpis .ops-kpi:nth-child(4) .ops-kpi-value{filter:blur(7px);user-select:none;opacity:.76}

@media(max-width:700px){
  #screen-mainapp :where(button,input,select,textarea){font-size:15px!important}
  #screen-mainapp :where(.ep-page-head h2,#employee-title,#settings-title,.ops-toolbar h2){font-size:31px!important}
  .ep-column-filter-values-v204{grid-template-columns:1fr}
}
/* ===== /v2.0.4 ===== */

/* ===== everPrimeHrV180Style ===== */
/* TNPFurniture v1.8.1 — HR sample test data, contracts, direct BHXH edit, due-date alerts */
.ep-alert-topbar-button{position:relative}.ep-alert-badge{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:900;border:2px solid var(--ep-panel,#201a14)}
.ep-alert-badge.hidden{display:none!important}.ep-contract-block{display:grid;gap:10px;width:100%}.ep-contract-grid{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(2,minmax(150px,.8fr));gap:10px;width:100%;align-items:end}.ep-contract-field{display:grid;gap:5px}.ep-contract-field label{font-size:10px;font-weight:900;opacity:.62;text-transform:uppercase;letter-spacing:.04em}.ep-contract-field .apple-input,.ep-contract-field select{width:100%;min-width:0}
.ep-contract-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ep-contract-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;background:rgba(148,163,184,.12);border:1px solid rgba(148,163,184,.22)}.ep-contract-pill.ok{color:#16a34a;background:rgba(22,163,74,.10)}.ep-contract-pill.warn{color:#d97706;background:rgba(217,119,6,.10)}.ep-contract-pill.danger{color:#dc2626;background:rgba(220,38,38,.10)}
.ep-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;width:100%}.ep-profile-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;border-bottom:1px solid rgba(201,154,76,.10)}.ep-profile-row label{font-size:11px;font-weight:800;opacity:.64}.ep-profile-row .apple-input{max-width:180px;padding:6px 9px!important;font-size:12px!important;text-align:right}
.ep-card-warning{display:flex;align-items:flex-start;gap:9px;margin:10px 14px 14px;padding:10px 12px;border:1px solid rgba(217,119,6,.25);border-radius:12px;background:rgba(217,119,6,.08);font-size:11px}.ep-card-warning.danger{border-color:rgba(220,38,38,.28);background:rgba(220,38,38,.08)}.ep-card-warning button{margin-left:auto;flex:none;border:0;background:transparent;color:#c99a4c;font-weight:900}
.ep-insurance-edit-table{min-width:1540px}.ep-insurance-edit-table input,.ep-insurance-edit-table select{min-width:120px;border:1px solid rgba(201,154,76,.22);background:rgba(255,255,255,.045);color:inherit;border-radius:8px;padding:7px 8px;font-size:11px;font-weight:700;outline:none}.ep-insurance-edit-table input[type=date]{min-width:138px}.ep-insurance-edit-table .ep-ins-money{min-width:125px;text-align:right}.ep-insurance-edit-table input:disabled,.ep-insurance-edit-table select:disabled{opacity:.7;cursor:not-allowed}.ep-insurance-edit-table .ep-readonly-money{display:inline-block;min-width:110px;text-align:right;font-weight:900}
.ep-alert-toolbar{align-items:flex-end}.ep-alert-filters{display:flex;gap:8px;flex-wrap:wrap}.ep-alert-filters .ops-input{min-width:190px}.ep-alert-list{display:grid;gap:10px;padding:12px}.ep-alert-row{display:grid;grid-template-columns:110px minmax(180px,.85fr) minmax(170px,.7fr) minmax(210px,1fr) minmax(260px,1.25fr) auto;gap:12px;align-items:center;border:1px solid rgba(201,154,76,.16);border-radius:14px;padding:12px 14px;background:rgba(255,255,255,.025)}.ep-alert-row.overdue{border-left:4px solid #dc2626}.ep-alert-row.due{border-left:4px solid #d97706}.ep-alert-row.incomplete{border-left:4px solid #2563eb}.ep-alert-severity{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;white-space:nowrap}.ep-alert-severity.overdue{background:rgba(220,38,38,.12);color:#ef4444}.ep-alert-severity.due{background:rgba(217,119,6,.12);color:#f59e0b}.ep-alert-severity.incomplete{background:rgba(37,99,235,.12);color:#60a5fa}.ep-alert-cell b{display:block;font-size:12px}.ep-alert-cell small{display:block;opacity:.62;font-weight:700;margin-top:3px;line-height:1.35}.ep-alert-action{border:1px solid rgba(201,154,76,.35);background:rgba(201,154,76,.10);color:#c79b52;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:900;white-space:nowrap}.ep-alert-empty{padding:42px 18px;text-align:center;opacity:.65;font-weight:800}
@media(max-width:1200px){.ep-alert-row{grid-template-columns:100px 1fr 1fr}.ep-alert-row .ep-alert-cell:nth-child(4),.ep-alert-row .ep-alert-cell:nth-child(5){grid-column:span 1}.ep-alert-action{justify-self:start}.ep-contract-grid{grid-template-columns:1fr 1fr}.ep-contract-field:first-child{grid-column:1/-1}}
@media(max-width:720px){.ep-contract-grid,.ep-profile-grid{grid-template-columns:1fr}.ep-alert-row{grid-template-columns:1fr}.ep-alert-filters{width:100%}.ep-alert-filters .ops-input{width:100%;min-width:0}.ep-card-warning{margin-left:8px;margin-right:8px}}

/* ===== ui020ListV182Style ===== */
/* TNPFurniture v1.8.3 — UI-020 employee list */
#employee-list-container{display:block!important;overflow:visible}
.ep-employee-list-shell{overflow:auto;border:1px solid rgba(201,154,76,.24);border-radius:18px;background:rgba(255,255,255,.70);box-shadow:0 12px 34px rgba(77,53,24,.08)}
.dark-mode .ep-employee-list-shell{background:rgba(17,17,17,.72);border-color:rgba(240,219,179,.18)}
.ep-employee-list-table{width:100%;min-width:1540px;border-collapse:separate;border-spacing:0;font-size:12px}
.ep-employee-list-table th{position:sticky;top:0;z-index:3;padding:11px 10px;background:#f4ead9;color:#5a3c18;border-bottom:1px solid rgba(201,154,76,.32);text-align:left;font-size:10px;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.dark-mode .ep-employee-list-table th{background:#162a3d;color:#f0dbb3;border-bottom-color:rgba(240,219,179,.18)}
.ep-employee-list-table td{padding:8px 10px;border-bottom:1px solid rgba(201,154,76,.12);vertical-align:middle;background:rgba(255,255,255,.34)}
.dark-mode .ep-employee-list-table td{background:rgba(0,0,0,.16);border-bottom-color:rgba(255,255,255,.07)}
.ep-employee-list-table tbody tr:hover td{background:rgba(201,154,76,.07)}
.dark-mode .ep-employee-list-table tbody tr:hover td{background:rgba(240,219,179,.055)}
.ep-employee-list-table tbody tr:last-child td{border-bottom:0}
.ep-list-stt{width:42px;text-align:center!important;font-weight:900;color:#c99a4c}
.ep-list-edit{width:100%;min-width:110px;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;padding:7px 8px;font-weight:800;outline:none;transition:.16s}
.ep-list-edit:hover{border-color:rgba(201,154,76,.24);background:rgba(201,154,76,.05)}
.ep-list-edit:focus{border-color:#c99a4c;background:rgba(255,255,255,.85);box-shadow:0 0 0 3px rgba(201,154,76,.10)}
.dark-mode .ep-list-edit:focus{background:rgba(0,0,0,.55)}
.ep-list-readonly{display:block;min-width:105px;font-weight:800;color:inherit}
.ep-list-contract{min-width:210px}
.ep-list-contract select{width:100%;min-width:205px;border:1px solid rgba(201,154,76,.24);border-radius:10px;background:rgba(255,255,255,.72);color:inherit;padding:8px 9px;font-size:11px;font-weight:800;outline:none}
.dark-mode .ep-list-contract select{background:#17130f;border-color:rgba(240,219,179,.18)}
.ep-list-contract small{display:flex;align-items:center;gap:5px;margin-top:5px;font-weight:800;white-space:nowrap}
.ep-list-contract small.ok{color:#16885d}.ep-list-contract small.warn{color:#b7791f}.ep-list-contract small.danger{color:#d14343}
.ep-list-money-cell{min-width:185px}.ep-list-money-view,.ep-list-money-edit{display:flex;align-items:center;gap:5px;white-space:nowrap}
.ep-list-money-view .money-value{min-width:95px;text-align:right;font-size:12px}.ep-list-money-edit input{width:112px;border:1px solid #c99a4c;border-radius:8px;padding:6px 7px;background:rgba(255,255,255,.8);color:inherit;text-align:right;font-weight:900}.dark-mode .ep-list-money-edit input{background:#15110d}
.ep-list-money-cell .money-action{width:27px;height:27px;font-size:10px}.ep-list-alert{min-width:250px;max-width:330px}.ep-list-alert-main{display:flex;align-items:flex-start;gap:7px}.ep-list-alert-main i{margin-top:2px;color:#b7791f}.ep-list-alert-main.danger i{color:#d14343}.ep-list-alert-main b{display:block;font-size:11px}.ep-list-alert-main small{display:block;margin-top:2px;opacity:.68;line-height:1.35}.ep-list-alert button{margin-top:5px;border:0;background:transparent;color:#9a6b2b;font-weight:900;font-size:10px;padding:0}
.ep-list-actions{display:flex;align-items:center;justify-content:center;gap:5px;min-width:76px}.ep-list-action{width:30px;height:30px;border-radius:9px;border:1px solid rgba(201,154,76,.18);background:rgba(201,154,76,.07);display:grid;place-items:center;color:#8c6a3b}.ep-list-action.delete{color:#d14343;background:rgba(209,67,67,.07);border-color:rgba(209,67,67,.15)}
.ep-list-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border-bottom:1px solid rgba(201,154,76,.14);font-size:11px;font-weight:800;opacity:.76}
@media(max-width:900px){.ep-employee-list-shell{border-radius:14px}.ep-list-caption{align-items:flex-start;flex-direction:column}.ep-employee-list-table{min-width:1480px}}

/* ===== scrollStabilityV183Style ===== */
/* TNPFurniture v1.8.3 — global scroll & viewport stability */
html{min-height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth}
body{min-height:100%;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto}
#screen-mainapp{height:auto!important;min-height:100vh;overflow:visible!important}
.ep-main-content{height:auto!important;min-height:100vh;overflow:visible!important}
.app-section.active{overflow:visible!important}
.ep-employee-list-shell,.ep-table-scroll,.ops-table-wrap{overscroll-behavior:contain;scrollbar-gutter:stable}
.ep-employee-list-shell{overflow-x:auto!important;overflow-y:visible!important;max-width:100%;-webkit-overflow-scrolling:touch}
@media(max-width:900px){
  body{overflow-y:auto!important}
  .ep-main-content{padding-bottom:80px!important}
  .ep-secondary-sidebar{transform:translateX(calc(-100% - var(--ep-primary-w)))!important}
  body.ep-nav-open .ep-secondary-sidebar{transform:translateX(0)!important}
}

/* ===== ui020ScrollV191Style ===== */
/* TNPFurniture v1.9.1 — vùng cuộn riêng cho danh sách UI-020 */
.ep-employee-list-panel{max-width:100%;border:1px solid rgba(201,154,76,.24);border-radius:18px;background:rgba(255,255,255,.70);box-shadow:0 12px 34px rgba(77,53,24,.08);overflow:hidden}
.dark-mode .ep-employee-list-panel{background:rgba(17,17,17,.72);border-color:rgba(240,219,179,.18)}
.ep-employee-list-panel>.ep-list-caption{margin:0;border-bottom:1px solid rgba(201,154,76,.18);background:rgba(248,241,230,.96);opacity:1;position:relative;z-index:8;flex-wrap:wrap}
.dark-mode .ep-employee-list-panel>.ep-list-caption{background:rgba(35,29,22,.97);border-bottom-color:rgba(240,219,179,.12)}
.ep-list-caption>span:nth-child(2){flex:1;min-width:260px;color:var(--ep-muted)}
.ep-list-scroll-controls{display:flex;align-items:center;gap:5px;margin-left:auto;flex:none}
.ep-list-scroll-controls button{width:32px;height:30px;border:1px solid rgba(201,154,76,.24);border-radius:9px;background:rgba(201,154,76,.08);color:var(--ep-text);display:grid;place-items:center;font-size:11px;transition:.15s}
.ep-list-scroll-controls button:hover{background:rgba(201,154,76,.18);transform:translateY(-1px)}
.ep-list-scroll-hint{font-size:9px;font-weight:800;color:var(--ep-muted);white-space:nowrap;margin-right:3px}
.ep-employee-list-panel>.ep-employee-list-shell{display:block!important;max-width:100%!important;max-height:clamp(320px,calc(100dvh - 300px),720px)!important;overflow:auto!important;overscroll-behavior:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;scrollbar-gutter:stable both-edges;scroll-behavior:auto;-webkit-overflow-scrolling:touch}
.ep-employee-list-shell{scrollbar-width:auto;scrollbar-color:#c99a4c rgba(201,154,76,.12)}
.ep-employee-list-shell::-webkit-scrollbar{width:14px;height:14px}
.ep-employee-list-shell::-webkit-scrollbar-track{background:rgba(201,154,76,.08)}
.ep-employee-list-shell::-webkit-scrollbar-thumb{background:linear-gradient(145deg,#9b7437,#c49a52);border:3px solid transparent;background-clip:padding-box;border-radius:999px;min-height:44px;min-width:44px}
.ep-employee-list-shell::-webkit-scrollbar-corner{background:rgba(201,154,76,.08)}
.ep-employee-list-table th{top:0!important;z-index:6!important}
/* Giữ STT + Tên ở bên trái để vẫn biết đang sửa nhân viên nào khi cuộn ngang. */
.ep-employee-list-table th:nth-child(1),.ep-employee-list-table td:nth-child(1){position:sticky;left:0;min-width:46px;width:46px;max-width:46px;z-index:7}
.ep-employee-list-table th:nth-child(2),.ep-employee-list-table td:nth-child(2){position:sticky;left:46px;min-width:190px;width:190px;z-index:5}
.ep-employee-list-table th:nth-child(1),.ep-employee-list-table th:nth-child(2){z-index:10!important;background:#f4ead9!important}
.dark-mode .ep-employee-list-table th:nth-child(1),.dark-mode .ep-employee-list-table th:nth-child(2){background:#162a3d!important}
.ep-employee-list-table td:nth-child(1),.ep-employee-list-table td:nth-child(2){background:rgba(252,248,242,.98)!important;box-shadow:1px 0 0 rgba(201,154,76,.10)}
.dark-mode .ep-employee-list-table td:nth-child(1),.dark-mode .ep-employee-list-table td:nth-child(2){background:rgba(24,21,18,.98)!important;box-shadow:1px 0 0 rgba(255,255,255,.06)}
.ep-employee-list-table tbody tr:hover td:nth-child(1),.ep-employee-list-table tbody tr:hover td:nth-child(2){background:#f3e8d6!important}
.dark-mode .ep-employee-list-table tbody tr:hover td:nth-child(1),.dark-mode .ep-employee-list-table tbody tr:hover td:nth-child(2){background:#30271e!important}
.ep-employee-list-shell:focus-within{outline:2px solid rgba(201,154,76,.30);outline-offset:-2px}
@media(max-width:900px){
  .ep-employee-list-panel{border-radius:14px}
  .ep-employee-list-panel>.ep-employee-list-shell{max-height:clamp(300px,calc(100dvh - 350px),620px)!important}
  .ep-list-scroll-hint{display:none}
}
@media(max-width:620px){
  .ep-list-caption>span:nth-child(2){min-width:100%}
  .ep-list-scroll-controls{margin-left:0}
  .ep-employee-list-table th:nth-child(2),.ep-employee-list-table td:nth-child(2){position:static;left:auto}
}

/* ===== v192TimePayStyle ===== */
/* ===== v1.9.2 — Công & Lương: cuộn, đồng bộ roster, OT Chủ nhật ===== */
#attendance-table.timepay-scroll-wrap,#payroll-table.timepay-scroll-wrap{overflow:auto!important;max-height:clamp(360px,58vh,720px);min-height:260px;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;scroll-behavior:auto;position:relative}
#attendance-table .ops-table{min-width:1540px}
#payroll-table .ops-table{min-width:2360px}
.timepay-scroll-wrap::-webkit-scrollbar{width:12px;height:12px}.timepay-scroll-wrap::-webkit-scrollbar-track{background:rgba(201,154,76,.08);border-radius:999px}.timepay-scroll-wrap::-webkit-scrollbar-thumb{background:rgba(157,116,56,.55);border-radius:999px;border:2px solid transparent;background-clip:padding-box}.dark-mode .timepay-scroll-wrap::-webkit-scrollbar-thumb{background:rgba(227,188,112,.42);border:2px solid transparent;background-clip:padding-box}
.timepay-scroll-note{display:flex;align-items:center;gap:8px;margin:0 2px 8px;padding:8px 11px;border-radius:12px;background:rgba(201,154,76,.09);color:#765323;font-size:11px;font-weight:900}.dark-mode .timepay-scroll-note{color:#e8cca0;background:rgba(227,188,112,.08)}
.timepay-formula-panel{margin-bottom:14px}.timepay-formula-card{border:1px solid rgba(201,154,76,.18);background:rgba(255,255,255,.54);border-radius:22px;padding:15px;box-shadow:0 9px 24px rgba(55,36,10,.04)}.dark-mode .timepay-formula-card{background:rgba(255,255,255,.055);border-color:rgba(227,188,112,.15)}
.timepay-formula-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}.timepay-formula-head h3{font-size:15px;font-weight:950;color:#5e401e;margin:0}.dark-mode .timepay-formula-head h3{color:#edd1a0}.timepay-formula-head p{font-size:11px;font-weight:750;opacity:.62;margin:4px 0 0}.timepay-formula-grid{display:grid;grid-template-columns:repeat(5,minmax(125px,1fr));gap:10px;margin-top:12px}.timepay-formula-field{display:grid;gap:5px}.timepay-formula-field label{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;opacity:.58}.timepay-formula-field input{width:100%;border:1px solid rgba(201,154,76,.2);background:rgba(255,255,255,.7);border-radius:11px;padding:8px 9px;font-size:12px;font-weight:900;outline:none}.dark-mode .timepay-formula-field input{background:rgba(0,0,0,.24);border-color:rgba(227,188,112,.17);color:#fff}.timepay-formula-preview{margin-top:10px;padding:9px 11px;border-radius:12px;background:rgba(201,154,76,.08);font-size:11px;font-weight:800;line-height:1.5}.timepay-formula-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.ops-table .tp-sticky{position:sticky!important;z-index:4!important;background:rgba(250,246,239,.98)!important}.dark-mode .ops-table .tp-sticky{background:rgba(31,26,20,.98)!important}.ops-table thead .tp-sticky{z-index:7!important}.ops-table .tp-sticky-1{left:0;min-width:46px;width:46px}.ops-table .tp-sticky-2{left:46px;min-width:190px;width:190px}.ops-table .tp-sticky-3{left:236px;min-width:118px;width:118px;box-shadow:5px 0 9px rgba(69,48,17,.06)}
.timepay-person-name{font-weight:950;font-size:12px}.timepay-person-meta{opacity:.55;font-size:10px;margin-top:2px}.timepay-zero{opacity:.5}.timepay-sunday{color:#b15a32;font-weight:900}.dark-mode .timepay-sunday{color:#f1aa81}.timepay-formula-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:rgba(201,154,76,.1);font-size:9px;font-weight:900;white-space:nowrap}
#attendance-kpis.ops-kpi-grid,#payroll-kpis.ops-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
@media(max-width:900px){#attendance-table.timepay-scroll-wrap,#payroll-table.timepay-scroll-wrap{max-height:60vh}.timepay-formula-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-table .tp-sticky-3{position:static!important;box-shadow:none}.ops-table .tp-sticky-2{box-shadow:5px 0 9px rgba(69,48,17,.06)}}
@media(max-width:560px){.timepay-formula-grid{grid-template-columns:1fr}.timepay-scroll-note{align-items:flex-start}.ops-table .tp-sticky-2{left:42px;min-width:165px;width:165px}.ops-table .tp-sticky-1{min-width:42px;width:42px}}

/* ===== attendanceV193Style ===== */
.attendance-year-control{display:flex;align-items:center;gap:7px;padding:4px 8px;border:1px solid rgba(201,154,76,.25);border-radius:12px;background:rgba(201,154,76,.07);font-size:11px;font-weight:900;white-space:nowrap}
.attendance-year-control span{opacity:.7}.attendance-year-control .ops-input{width:92px;padding:8px 9px}
.attendance-year-summary{display:grid;gap:14px;margin-top:16px}.attendance-summary-card{background:var(--panel,#fff);border:1px solid rgba(201,154,76,.22);border-radius:22px;overflow:hidden;box-shadow:0 10px 28px rgba(69,48,17,.05)}
.attendance-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid rgba(201,154,76,.18);background:linear-gradient(135deg,rgba(201,154,76,.10),rgba(201,154,76,.02))}.attendance-summary-head h3{font-weight:1000;font-size:16px}.attendance-summary-head p{font-size:11px;font-weight:700;opacity:.62;margin-top:2px}
.attendance-summary-scroll{overflow:auto;max-height:520px;scrollbar-gutter:stable both-edges;overscroll-behavior:contain}.attendance-summary-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;font-size:12px}.attendance-summary-table th,.attendance-summary-table td{padding:9px 10px;border-right:1px solid rgba(201,154,76,.13);border-bottom:1px solid rgba(201,154,76,.13);text-align:right;white-space:nowrap}.attendance-summary-table th{position:sticky;top:0;z-index:4;background:#173f68;color:white;font-size:10px;text-transform:uppercase;letter-spacing:.025em}.dark .attendance-summary-table th{background:#4b3218}.attendance-summary-table th:first-child,.attendance-summary-table td:first-child,.attendance-summary-table th:nth-child(2),.attendance-summary-table td:nth-child(2){text-align:left}.attendance-summary-table tbody tr:hover td{background:rgba(201,154,76,.055)}.attendance-summary-table .annual-total td{font-weight:1000;background:rgba(201,154,76,.12);border-top:2px solid rgba(201,154,76,.38)}
.attendance-month-total{font-weight:1000;background:rgba(201,154,76,.13)!important}.attendance-month-total td{border-top:2px solid rgba(201,154,76,.35)}.attendance-live-hint{padding:10px 14px;border-radius:14px;background:rgba(58,155,89,.09);border:1px solid rgba(58,155,89,.18);font-size:11px;font-weight:800;color:#28713d}.dark .attendance-live-hint{color:#9fe2ad}.attendance-summary-number{font-variant-numeric:tabular-nums;font-weight:900}.attendance-summary-zero{opacity:.32}.attendance-year-empty{padding:28px;text-align:center;font-size:12px;font-weight:800;opacity:.55}
@media(max-width:900px){.attendance-year-control{width:100%;justify-content:space-between}.attendance-year-control .ops-input{width:120px}.attendance-summary-scroll{max-height:58vh}.attendance-year-summary{margin-top:12px}}

/* ===== personnelProfileV194Style ===== */
/* TNPFurniture v1.9.4 — UI-096 Lý lịch nhân viên + dữ liệu nhạy cảm */
    .pp-sensitive-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:0 0 14px;border:1px solid rgba(201,154,76,.32);border-radius:16px;background:linear-gradient(135deg,rgba(201,154,76,.12),rgba(255,255,255,.04));font-size:12px;font-weight:700}.pp-sensitive-note>i{font-size:20px;color:#c99a4c;margin-top:2px}.pp-sensitive-note b,.pp-sensitive-note span{display:block}.pp-sensitive-note span{opacity:.68;margin-top:3px;line-height:1.45}
    .pp-scroll-hint{padding:9px 14px;border-bottom:1px solid rgba(201,154,76,.18);font-size:11px;font-weight:800;opacity:.68}.pp-scroll-hint i{color:#c99a4c;margin-right:6px}
    .pp-table-scroll{overflow:auto;max-height:calc(100vh - 310px);min-height:260px;overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:0 0 18px 18px}.pp-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:11px}.pp-table th,.pp-table td{border-right:1px solid rgba(201,154,76,.16);border-bottom:1px solid rgba(201,154,76,.14);padding:7px 8px;vertical-align:middle;white-space:nowrap}.pp-table th{position:sticky;top:0;z-index:4;background:#0e2b4a;color:#fff;font-size:10px;text-transform:uppercase;letter-spacing:.02em}.dark .pp-table th{background:#173f68}.pp-table tbody tr:hover td{background:rgba(201,154,76,.07)}.pp-table td:first-child,.pp-table th:first-child{position:sticky;left:0;z-index:3;text-align:center;background:var(--ep-panel,#fff)}.pp-table th:first-child{z-index:6;background:#0e2b4a}.dark .pp-table td:first-child{background:#0d2339}.dark .pp-table th:first-child{background:#173f68}.pp-input,.pp-select{width:100%;min-width:110px;border:1px solid rgba(201,154,76,.28);border-radius:8px;padding:7px 8px;background:rgba(255,255,255,.72);color:inherit;font-size:11px;font-weight:700;outline:none}.dark .pp-input,.dark .pp-select{background:rgba(0,0,0,.28)}.pp-input:focus,.pp-select:focus{border-color:#c99a4c;box-shadow:0 0 0 2px rgba(201,154,76,.15)}.pp-input.pp-wide{min-width:230px}.pp-input.pp-mid{min-width:165px}.pp-readonly{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;font-weight:700}.pp-permission-warning{padding:34px;text-align:center;font-weight:900;color:#b36a10}.pp-id-cell{font-weight:900;color:#9b6d2c}.pp-lock-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;background:rgba(201,154,76,.12);color:#9b6d2c;font-size:10px;font-weight:900}
    @media(max-width:900px){.pp-table-scroll{max-height:calc(100vh - 280px)}.pp-table td:first-child,.pp-table th:first-child{position:static}.pp-table th{position:sticky;top:0}.pp-sensitive-note{margin-top:6px}}

/* ===== everprime-v195-roster-sync-style ===== */
.linked-roster-toolbar-v195{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:11px 13px;border:1px solid rgba(201,154,76,.22);border-radius:16px;background:rgba(201,154,76,.07)}
.linked-roster-source-v195{display:flex;align-items:center;gap:10px;min-width:230px}.linked-roster-source-v195>i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#c99a4c;color:white}.linked-roster-source-v195 b{display:block;font-size:12px}.linked-roster-source-v195 small{display:block;font-size:10px;opacity:.65;margin-top:2px}
.linked-roster-search-v195{display:flex;align-items:center;gap:7px;flex:1;justify-content:flex-end}.linked-roster-search-v195>i{opacity:.55}.linked-roster-search-v195 input{width:min(420px,100%)}
.roster-linked-row-v195{transition:box-shadow .18s,background .18s}.roster-linked-row-v195.roster-selected-v195 td{background:rgba(201,154,76,.11)!important}.roster-link-btn-v195{border:1px solid rgba(201,154,76,.28);background:rgba(201,154,76,.09);color:#815b24;border-radius:9px;width:31px;height:31px;display:inline-grid;place-items:center;margin-left:4px}.dark-mode .roster-link-btn-v195{color:#e7c98f;background:rgba(227,188,112,.09)}
.roster-link-grid-v195{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.roster-link-card-v195{padding:11px 12px;border-radius:13px;background:rgba(0,0,0,.035);border:1px solid rgba(0,0,0,.06)}.dark-mode .roster-link-card-v195{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.08)}.roster-link-card-v195 b{display:block;font-size:12px}.roster-link-card-v195 small{display:block;opacity:.62;margin-top:3px;font-size:10px}.roster-hub-actions-v195{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.roster-hub-actions-v195 button{flex:1 1 135px}
.roster-integrity-ok-v195{color:#178f56;font-weight:900}.roster-integrity-warn-v195{color:#c76425;font-weight:900}
@media(max-width:700px){.linked-roster-search-v195{width:100%;justify-content:stretch}.linked-roster-search-v195 input{width:100%;flex:1}.roster-link-grid-v195{grid-template-columns:1fr}}

/* ===== everprime-v196-stability-style ===== */
/* ===== v1.9.6 — Stability / TimePay / Theme QA ===== */
body:not(.dark-mode){background:#f3eee7!important;color:#162a3d!important}
body.dark-mode{background:#100c08!important;color:#f5ead8!important}
#screen-mainapp{background:transparent!important}
#screen-mainapp .app-section{color:var(--ep-text)}
.ops-toolbar h2,.ops-toolbar p,.ops-kpi,.ops-table-wrap,.timepay-formula-card,.linked-roster-toolbar-v195,.attendance-summary-card{color:var(--ep-text)}
.ops-table td{color:var(--ep-text)}
.ops-table tbody tr:hover td{background:rgba(201,154,76,.045)}
.dark-mode .ops-table tbody tr:hover td{background:rgba(227,188,112,.045)}
.dark-mode .ops-table td{border-bottom-color:rgba(227,188,112,.10)}
.timepay-scroll-wrap{color:var(--ep-text);background:var(--ep-panel)!important;border-color:var(--ep-line)!important}
.timepay-formula-card{background:var(--ep-panel)!important;border-color:var(--ep-line)!important}
.linked-roster-toolbar-v195{background:var(--ep-panel)!important;border-color:var(--ep-line)!important}
.attendance-summary-card{background:var(--ep-panel)!important;border-color:var(--ep-line)!important}
.attendance-summary-table td{color:var(--ep-text)}
.attendance-summary-table th{background:#173f68;color:#fff}
.dark-mode .attendance-summary-table th{background:#3d2a18;color:#f5e9d3}
.attendance-summary-table .annual-total td,.attendance-month-total td{color:var(--ep-text)}
.timepay-formula-field input,.ops-number-input,.ops-note-input,.ops-input{color:var(--ep-text)}
.timepay-formula-field input:focus,.ops-number-input:focus,.ops-note-input:focus,.ops-input:focus{border-color:#c99a4c!important;box-shadow:0 0 0 3px rgba(201,154,76,.12);outline:none}
.dark-mode .timepay-formula-field input:focus,.dark-mode .ops-number-input:focus,.dark-mode .ops-note-input:focus,.dark-mode .ops-input:focus{box-shadow:0 0 0 3px rgba(227,188,112,.10)}
#attendance-table.timepay-scroll-wrap,#payroll-table.timepay-scroll-wrap{max-height:min(64vh,720px);min-height:300px}
#attendance-table .ops-table,#payroll-table .ops-table{table-layout:auto}
#attendance-table tbody tr[hidden],#payroll-table tbody tr[hidden]{display:none!important}
.timepay-stability-status-v196{display:flex;align-items:center;gap:8px;padding:8px 11px;margin:-2px 2px 10px;border:1px solid rgba(22,163,74,.16);border-radius:12px;background:rgba(22,163,74,.07);color:#216b3b;font-size:10px;font-weight:850}
.dark-mode .timepay-stability-status-v196{color:#a9dfb8;background:rgba(34,197,94,.07);border-color:rgba(74,222,128,.14)}
@media(max-width:900px){#attendance-table.timepay-scroll-wrap,#payroll-table.timepay-scroll-wrap{max-height:62vh;min-height:280px}}
/* ===== /v1.9.6 ===== */

/* ===== everprime-v197-global-scroll-attendance-style ===== */
/* ===== v1.9.7 — Global wheel scrolling + UI-068 non-white palette ===== */
html,body{min-height:100%;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:auto!important}
#screen-mainapp,.ep-main-content,.app-section.active{overflow:visible!important;min-width:0}

/* Scroll containers across the ERP: vertical wheel natively; Shift+wheel is handled by JS for horizontal. */
:where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll,.ep-secondary-list,.modal-card,.account-grid,.audit-list){scrollbar-gutter:stable;scroll-behavior:auto}
:where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll){overflow:auto!important;overscroll-behavior:contain}
:where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll)::-webkit-scrollbar{width:12px;height:12px}
:where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll)::-webkit-scrollbar-track{background:rgba(14,43,74,.10);border-radius:999px}
:where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll)::-webkit-scrollbar-thumb{background:rgba(155,109,44,.58);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
.dark-mode :where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll)::-webkit-scrollbar-track{background:rgba(227,188,112,.07)}
.dark-mode :where(.ops-table-wrap,.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,.attendance-summary-scroll)::-webkit-scrollbar-thumb{background:rgba(227,188,112,.40);border:2px solid transparent;background-clip:padding-box}

/* UI-068 must never look like a white sheet. Light = ivory/bronze; Dark = wood-black. */
#screen-attendance{
  --att-bg:#dfc8a4;--att-bg-2:#ead8bb;--att-panel:#e5d1b1;--att-panel-alt:#ddc49d;
  --att-panel-strong:#d1ad78;--att-input:#ecd9bb;--att-hover:#d7b98d;--att-line:rgba(108,73,29,.22);--att-text:#342514;
  background-color:#dfc8a4!important;background-image:linear-gradient(145deg,#e4cfad 0%,#d9bb90 48%,#ead9bd 100%)!important;
  border:1px solid rgba(122,82,30,.22);border-radius:24px;padding:18px;box-shadow:0 18px 45px rgba(69,45,16,.09)
}
.dark-mode #screen-attendance{
  --att-bg:#17110b;--att-bg-2:#1d150d;--att-panel:#162a3d;--att-panel-alt:#281b11;
  --att-panel-strong:#332317;--att-input:#2a1d12;--att-hover:#38271a;--att-line:rgba(227,188,112,.15);--att-text:#f4e7d1;
  background-color:#17110b!important;background-image:linear-gradient(145deg,#130e09 0%,#1a120b 48%,#162a3d 100%)!important;
  border-color:rgba(227,188,112,.13);box-shadow:0 20px 50px rgba(0,0,0,.26)
}
#screen-attendance,#screen-attendance .ops-toolbar h2,#screen-attendance .ops-toolbar p,#screen-attendance .timepay-person-name,#screen-attendance .timepay-person-meta{color:var(--att-text)!important}
#screen-attendance .ops-kpi,#screen-attendance .linked-roster-toolbar-v195,#screen-attendance .timepay-formula-card,#screen-attendance .attendance-summary-card,#screen-attendance .timepay-stability-status-v196{
  background:var(--att-panel)!important;border-color:var(--att-line)!important;color:var(--att-text)!important;box-shadow:0 8px 22px rgba(76,48,15,.06)
}
.dark-mode #screen-attendance .ops-kpi,.dark-mode #screen-attendance .linked-roster-toolbar-v195,.dark-mode #screen-attendance .timepay-formula-card,.dark-mode #screen-attendance .attendance-summary-card,.dark-mode #screen-attendance .timepay-stability-status-v196{box-shadow:none}
#screen-attendance .timepay-scroll-note,#screen-attendance .attendance-year-control,#screen-attendance .attendance-live-hint{
  background:var(--att-panel-strong)!important;border-color:var(--att-line)!important;color:var(--att-text)!important
}
#screen-attendance #attendance-table.timepay-scroll-wrap{background:var(--att-panel)!important;border-color:var(--att-line)!important;color:var(--att-text)!important}
#screen-attendance .ops-table th{background:#173f68!important;color:#fff!important;border-color:rgba(255,255,255,.10)!important}
.dark-mode #screen-attendance .ops-table th{background:#3d2918!important;color:#f6ead6!important;border-color:rgba(227,188,112,.12)!important}
#screen-attendance .ops-table tbody td{background:var(--att-panel)!important;color:var(--att-text)!important;border-bottom-color:var(--att-line)!important}
#screen-attendance .ops-table tbody tr:nth-child(even) td{background:var(--att-panel-alt)!important}
#screen-attendance .ops-table tbody tr:hover td{background:var(--att-hover)!important}
#screen-attendance .ops-table .tp-sticky{background:var(--att-panel-strong)!important;color:var(--att-text)!important}
#screen-attendance .ops-table thead .tp-sticky{background:#173f68!important;color:#fff!important}
.dark-mode #screen-attendance .ops-table thead .tp-sticky{background:#3d2918!important;color:#f6ead6!important}
#screen-attendance .ops-number-input,#screen-attendance .ops-note-input,#screen-attendance .ops-input,#screen-attendance .timepay-formula-field input{
  background:var(--att-input)!important;color:var(--att-text)!important;border-color:rgba(115,76,29,.28)!important
}
.dark-mode #screen-attendance .ops-number-input,.dark-mode #screen-attendance .ops-note-input,.dark-mode #screen-attendance .ops-input,.dark-mode #screen-attendance .timepay-formula-field input{border-color:rgba(227,188,112,.18)!important}
#screen-attendance .ops-button{background:#dcc39d!important;color:#513716!important;border-color:rgba(112,75,29,.24)!important}
#screen-attendance .ops-button:hover{background:#d0ae78!important}
#screen-attendance .ops-button-primary{background:linear-gradient(135deg,#855b25,#b98945)!important;color:#fff!important;border-color:transparent!important}
.dark-mode #screen-attendance .ops-button{background:#2b1e13!important;color:#ecd4a8!important;border-color:rgba(227,188,112,.16)!important}
.dark-mode #screen-attendance .ops-button:hover{background:#392719!important}
#screen-attendance .attendance-summary-head{background:linear-gradient(135deg,#d0ae79,#dfc7a2)!important;border-color:var(--att-line)!important;color:var(--att-text)!important}
.dark-mode #screen-attendance .attendance-summary-head{background:linear-gradient(135deg,#302115,#162a3d)!important}
#screen-attendance .attendance-summary-table td{background:var(--att-panel)!important;color:var(--att-text)!important;border-color:var(--att-line)!important}
#screen-attendance .attendance-summary-table tbody tr:nth-child(even) td{background:var(--att-panel-alt)!important}
#screen-attendance .attendance-summary-table tbody tr:hover td{background:var(--att-hover)!important}
#screen-attendance .attendance-summary-table .annual-total td,#screen-attendance .attendance-month-total td{background:var(--att-panel-strong)!important;color:var(--att-text)!important}
#screen-attendance .timepay-sunday{color:#8d3f21!important}.dark-mode #screen-attendance .timepay-sunday{color:#f0a77e!important}

@media(max-width:900px){#screen-attendance{padding:12px;border-radius:18px}}
/* ===== /v1.9.7 ===== */

/* ===== everprime-v198-spell-termination-style ===== */
/* ===== v1.9.8 — Excel Vietnamese spell-check + employee termination archive ===== */
.ui019-excel-zone-v198{padding:9px 10px 5px}.ui019-excel-zone-v198 button{width:100%;display:flex;align-items:center;gap:10px;border:1px solid rgba(201,154,76,.28);background:linear-gradient(135deg,rgba(201,154,76,.14),rgba(201,154,76,.06));color:var(--ep-text);border-radius:13px;padding:10px 11px;text-align:left}.ui019-excel-zone-v198 button:hover{border-color:#c99a4c;transform:translateY(-1px)}.ui019-excel-zone-v198 i{color:#c99a4c;font-size:17px}.ui019-excel-zone-v198 b,.ui019-excel-zone-v198 small{display:block}.ui019-excel-zone-v198 b{font-size:12px}.ui019-excel-zone-v198 small{font-size:9px;opacity:.65;margin-top:2px}
.employee-tabs-v198{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:5px;border:1px solid var(--ep-line);background:var(--ep-panel);border-radius:15px;width:max-content;max-width:100%;overflow:auto}.employee-tab-v198{border:0;border-radius:11px;background:transparent;color:var(--ep-text);padding:9px 13px;font-size:12px;font-weight:900;white-space:nowrap}.employee-tab-v198.active{background:linear-gradient(135deg,#9b6d2c,#c99a4c);color:#fff;box-shadow:0 5px 14px rgba(83,54,18,.18)}.employee-tab-v198 .count{margin-left:6px;min-width:20px;display:inline-grid;place-items:center;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.18)}
.terminated-banner-v198{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:13px;border:1px solid rgba(180,83,9,.22);background:rgba(180,83,9,.08);font-size:11px;font-weight:800;margin-bottom:10px}.terminated-badge-v198{display:inline-flex;align-items:center;gap:5px;color:#b45309;font-size:10px;font-weight:950}.dark-mode .terminated-badge-v198{color:#f2b66f}.terminated-table-v198 th{white-space:nowrap}.terminated-table-v198 td{vertical-align:middle}.terminated-actions-v198{display:flex;gap:6px;flex-wrap:wrap}.terminated-actions-v198 button{border:1px solid var(--ep-line);border-radius:9px;background:var(--ep-panel,rgba(255,255,255,.08));color:var(--ep-text);padding:6px 8px;font-size:10px;font-weight:900}.terminated-actions-v198 button.restore{color:#15803d}.archive-grid-v198{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.archive-card-v198{border:1px solid var(--ep-line);background:var(--ep-panel,rgba(255,255,255,.08));border-radius:13px;padding:11px}.archive-card-v198 h4{margin:0 0 7px;font-size:12px}.archive-card-v198 small{display:block;font-size:10px;opacity:.72;line-height:1.55}.archive-table-v198{width:100%;border-collapse:collapse;font-size:10px}.archive-table-v198 th,.archive-table-v198 td{border-bottom:1px solid var(--ep-line);padding:6px;text-align:left}.archive-scroll-v198{max-height:260px;overflow:auto;border:1px solid var(--ep-line);border-radius:10px}.archive-sensitive-v198{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.archive-sensitive-v198 div{border-bottom:1px dashed var(--ep-line);padding:5px 0}.archive-sensitive-v198 b{display:block;font-size:9px;opacity:.6}.archive-sensitive-v198 span{font-size:10px;font-weight:800}
.excel-center-grid-v198{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.excel-center-card-v198{border:1px solid var(--ep-line);background:var(--ep-panel,rgba(255,255,255,.08));border-radius:14px;padding:13px;text-align:left;color:var(--ep-text)}.excel-center-card-v198:hover:not(:disabled){border-color:#c99a4c;box-shadow:0 5px 16px rgba(7,27,49,.10)}.excel-center-card-v198:disabled{opacity:.42;cursor:not-allowed}.excel-center-card-v198 i{color:#c99a4c;margin-right:6px}.excel-center-card-v198 b{display:block;font-size:12px}.excel-center-card-v198 small{display:block;font-size:9px;opacity:.65;margin-top:4px;line-height:1.5}
.spellcheck-summary-v198{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.spell-chip-v198{border:1px solid var(--ep-line);background:var(--ep-panel,rgba(255,255,255,.08));border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.spell-list-v198{max-height:42vh;overflow:auto;border:1px solid var(--ep-line);border-radius:12px}.spell-list-v198 table{width:100%;border-collapse:collapse;min-width:720px;font-size:10px}.spell-list-v198 th,.spell-list-v198 td{padding:7px 8px;border-bottom:1px solid var(--ep-line);text-align:left;vertical-align:top}.spell-list-v198 th{position:sticky;top:0;background:#173f68;color:#fff;z-index:1}.spell-old-v198{color:#b91c1c;font-weight:850}.spell-new-v198{color:#15803d;font-weight:850}.dark-mode .spell-old-v198{color:#fca5a5}.dark-mode .spell-new-v198{color:#86efac}.spell-actions-v198{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:13px}
@media(max-width:700px){.archive-grid-v198,.excel-center-grid-v198,.archive-sensitive-v198{grid-template-columns:1fr}.employee-tabs-v198{width:100%}}
/* ===== /v1.9.8 ===== */

/* ===== bhxhSimplifyV199Style ===== */
.ep-insurance-v199{min-width:2600px!important}
.ep-insurance-v199 th,.ep-insurance-v199 td{white-space:nowrap}
.ep-insurance-v199 .bh-keep-green-v199{background:rgba(132,204,22,.24)!important;box-shadow:inset 0 0 0 1px rgba(101,163,13,.18)}
.dark-mode .ep-insurance-v199 .bh-keep-green-v199{background:rgba(101,163,13,.18)!important}
.ep-insurance-v199 input,.ep-insurance-v199 select{min-width:120px}
.ep-insurance-v199 th:nth-child(3),.ep-insurance-v199 td:nth-child(3){min-width:170px}

/* ===== everprime-v200-insurance-style ===== */
/* ===== v2.0.0 — UI-094 editable grid / dark select / sticky identity columns ===== */
#screen-insurance{--ins-panel:#ead9bc;--ins-panel-alt:#e2caa5;--ins-line:rgba(103,69,27,.22);--ins-text:#352615;--ins-input:#f1e2c9;--ins-head:#173f68}
.dark-mode #screen-insurance{--ins-panel:#162a3d;--ins-panel-alt:#281b11;--ins-line:rgba(227,188,112,.16);--ins-text:#f5e8d3;--ins-input:#2c1e13;--ins-head:#3b2818}
#screen-insurance .ep-list-card,#screen-insurance .ep-list-toolbar,#screen-insurance #insurance-table{background:var(--ins-panel)!important;color:var(--ins-text)!important;border-color:var(--ins-line)!important}
#screen-insurance #insurance-table{max-height:min(70vh,790px);overflow:auto!important;position:relative;scrollbar-gutter:stable}
#screen-insurance .ep-insurance-v200{min-width:2820px!important;border-collapse:separate;border-spacing:0;background:var(--ins-panel)!important;color:var(--ins-text)!important}
#screen-insurance .ep-insurance-v200 th,#screen-insurance .ep-insurance-v200 td{white-space:nowrap;border-color:var(--ins-line)!important;background:var(--ins-panel)!important;color:var(--ins-text)!important;vertical-align:middle}
#screen-insurance .ep-insurance-v200 tbody tr:nth-child(even) td{background:var(--ins-panel-alt)!important}
#screen-insurance .ep-insurance-v200 th{position:sticky;top:0;z-index:5;background:var(--ins-head)!important;color:#fff!important}
.dark-mode #screen-insurance .ep-insurance-v200 th{color:#f8ead3!important}
/* Only Mã NV + Họ và tên stay fixed while horizontal scrolling. */
#screen-insurance .ep-insurance-v200 th:nth-child(2),#screen-insurance .ep-insurance-v200 td:nth-child(2){position:sticky;left:0;min-width:132px;width:132px;max-width:132px;z-index:3;box-shadow:2px 0 0 var(--ins-line)}
#screen-insurance .ep-insurance-v200 th:nth-child(3),#screen-insurance .ep-insurance-v200 td:nth-child(3){position:sticky;left:132px;min-width:190px;width:190px;max-width:190px;z-index:3;box-shadow:2px 0 0 var(--ins-line)}
#screen-insurance .ep-insurance-v200 thead th:nth-child(2),#screen-insurance .ep-insurance-v200 thead th:nth-child(3){z-index:8;background:var(--ins-head)!important}
#screen-insurance .ep-insurance-v200 tbody tr:nth-child(odd) td:nth-child(2),#screen-insurance .ep-insurance-v200 tbody tr:nth-child(odd) td:nth-child(3){background:var(--ins-panel)!important}
#screen-insurance .ep-insurance-v200 tbody tr:nth-child(even) td:nth-child(2),#screen-insurance .ep-insurance-v200 tbody tr:nth-child(even) td:nth-child(3){background:var(--ins-panel-alt)!important}
/* v1.9.9 green emphasis is intentionally neutralized. */
#screen-insurance .ep-insurance-v200 .bh-keep-green-v199,#screen-insurance .ep-insurance-v200 .bh-keep-green-v200{background:inherit!important;box-shadow:none!important}
#screen-insurance .ep-insurance-v200 input,#screen-insurance .ep-insurance-v200 select{min-width:126px;max-width:220px;border:1px solid var(--ins-line)!important;background:var(--ins-input)!important;color:var(--ins-text)!important;border-radius:8px;padding:7px 8px;font-size:11px;font-weight:800;outline:none;box-shadow:none!important}
#screen-insurance .ep-insurance-v200 select{min-width:150px;color-scheme:light}
.dark-mode #screen-insurance .ep-insurance-v200 select{color-scheme:dark}
#screen-insurance .ep-insurance-v200 select option{background:#f1e2c9;color:#352615}
.dark-mode #screen-insurance .ep-insurance-v200 select option{background:#2c1e13;color:#f5e8d3}
#screen-insurance .ep-insurance-v200 input:focus,#screen-insurance .ep-insurance-v200 select:focus{border-color:#c99a4c!important;box-shadow:0 0 0 3px rgba(201,154,76,.16)!important}
#screen-insurance .ep-insurance-v200 input:disabled,#screen-insurance .ep-insurance-v200 select:disabled{opacity:.68;cursor:not-allowed}
#screen-insurance .ep-insurance-v200 .ins-money-v200{min-width:135px;text-align:right}
#screen-insurance .ep-insurance-v200 .ins-locked-v200{opacity:.72;font-weight:850}
#screen-insurance .ep-insurance-v200 th:nth-child(3),#screen-insurance .ep-insurance-v200 td:nth-child(3){overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){#screen-insurance #insurance-table{max-height:66vh}.ep-insurance-v200{min-width:2760px!important}}
@media print{#screen-insurance .ep-page-actions,#screen-insurance .ep-list-toolbar,#insurance-kpis{display:none!important}}
/* ===== /v2.0.0 ===== */

/* ===== everprime-v202-adaptive-search-style ===== */
/* ===== v2.0.2 — auto-hide sidebar / multilingual fuzzy search / adaptive density ===== */
@media (min-width:901px){
  .ep-primary-sidebar,.ep-secondary-sidebar,.ep-topbar,.ep-main-content{transition:transform .24s ease,left .24s ease,margin-left .24s ease,padding .24s ease}
  body.ep-sidebar-collapsed{--ep-shell-left:0px}
  body.ep-sidebar-collapsed .ep-primary-sidebar{transform:translateX(-110%)}
  body.ep-sidebar-collapsed .ep-secondary-sidebar{transform:translateX(calc(-100% - var(--ep-primary-w)))}
  #ep-sidebar-hotzone-v202{position:fixed;inset:0 auto 0 0;width:16px;z-index:79;display:block;cursor:e-resize}
  #ep-sidebar-hotzone-v202::after{content:'›';position:absolute;left:2px;top:50%;transform:translateY(-50%);width:10px;height:54px;border-radius:0 9px 9px 0;display:grid;place-items:center;background:rgba(201,154,76,.34);color:#fff;font-size:15px;opacity:.25;transition:opacity .18s,background .18s}
  body.ep-sidebar-collapsed #ep-sidebar-hotzone-v202::after{opacity:.92;background:linear-gradient(180deg,#9b6d2c,#c99a4c)}
  #ep-sidebar-hotzone-v202:hover::after{opacity:1}
}
@media (max-width:900px){#ep-sidebar-hotzone-v202{display:none}}

.ep-topbar-search{z-index:95}
.ep-search-suggestions-v202{position:absolute;top:calc(100% + 7px);left:0;right:0;display:none;max-height:min(440px,62vh);overflow:auto;border:1px solid var(--ep-line);border-radius:15px;background:var(--ep-panel-strong);box-shadow:0 22px 55px rgba(48,31,10,.22);padding:6px;backdrop-filter:blur(24px)}
.ep-search-suggestions-v202.open{display:block}
.ep-search-suggestion-v202{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;border:0;border-radius:11px;background:transparent;color:var(--ep-text);text-align:left}
.ep-search-suggestion-v202:hover,.ep-search-suggestion-v202.selected{background:rgba(201,154,76,.13)}
.ep-search-suggestion-v202>i{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:rgba(201,154,76,.12);color:#a47737}
.ep-search-suggestion-v202 b,.ep-search-suggestion-v202 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ep-search-suggestion-v202 b{font-size:11px}.ep-search-suggestion-v202 small{margin-top:2px;color:var(--ep-muted);font-size:9px}
.ep-search-suggestion-v202 em{font-style:normal;font-size:8px;font-weight:900;color:#9b6d2c;border:1px solid rgba(201,154,76,.22);border-radius:999px;padding:3px 6px;white-space:nowrap}
.dark-mode .ep-search-suggestion-v202 em{color:#e5c78f}
.ep-search-empty-v202{padding:16px 12px;text-align:center;color:var(--ep-muted);font-size:10px;font-weight:800;line-height:1.5}
.ep-search-language-v202{display:flex;justify-content:space-between;gap:8px;padding:5px 8px 7px;color:var(--ep-muted);font-size:8px;font-weight:850;border-bottom:1px solid var(--ep-line)}

/* Giảm khoảng trống giữa các tab/nhóm điều hướng khoảng 1/3. */
.ep-primary-nav,.ep-primary-footer{gap:5px}
.ep-primary-item{min-height:56px;gap:4px;padding:5px 3px}
#navigation-panel.ep-secondary-list{padding-top:1px!important}
.ep-secondary-section-label{padding:8px 8px 4px}
.ep-secondary-item.sidebar-item{gap:7px!important;padding:6px 8px!important;margin:1px 0!important;min-height:40px}
.ep-secondary-item .ep-secondary-copy small{margin-top:1px}
.employee-tabs-v198{gap:5px!important;margin-bottom:9px!important;padding:3px!important;border-radius:12px!important}
.employee-tab-v198{padding:6px 9px!important;border-radius:9px!important}
.ep-page-actions,.ops-toolbar-group,.ep-alert-filters{gap:5px!important}
.ep-page-head,.ops-toolbar{margin-bottom:11px!important}
.ep-dashboard-grid{gap:8px;margin-bottom:10px}
.ep-list-toolbar{min-height:48px;padding:7px 10px}

/* Co giãn theo desktop, tablet và mobile; các bảng rộng tiếp tục cuộn trong vùng riêng. */
.ep-main-content{padding-left:clamp(10px,1.55vw,22px);padding-right:clamp(10px,1.55vw,22px)}
.ep-main-content>.app-section{width:100%;min-width:0}
.ep-page-head h2,.ep-main-content #employee-title,.ep-main-content #settings-title,.ep-main-content .ops-toolbar h2{font-size:clamp(23px,2.15vw,30px)!important}
.ep-page-actions,.ops-toolbar-group{max-width:100%}
.ops-toolbar-group{display:flex;flex-wrap:wrap;align-items:center}
.ep-list-card,.glass-panel,.ep-panel{max-width:100%;min-width:0}
@media (max-width:1100px){
  .ep-topbar-left{min-width:160px}.ep-topbar-search{width:min(360px,36vw)}
  .ep-main-content #employee-toolbar>div:last-child{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:min(520px,100%)}
  .ep-main-content #employee-toolbar>div:last-child .hidden{display:none!important}
}
@media (max-width:760px){
  .ep-main-content{padding-left:9px;padding-right:9px}
  .ep-page-head,.ops-toolbar,#employee-toolbar{align-items:stretch!important;gap:10px!important}
  .ep-page-actions,.ops-toolbar-group{width:100%;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-page-actions .ops-button,.ops-toolbar-group .ops-button,.ops-toolbar-group .ops-input{width:100%;min-width:0;justify-content:center}
  .ep-dashboard-grid,.ep-dashboard-grid-4{gap:7px}
  .ep-stat-card{min-height:72px;padding:11px}
  .ep-list-caption{padding:7px 9px;gap:6px}
}
@media (max-width:620px){
  :root{--ep-topbar-h:112px}
  .ep-topbar{height:var(--ep-topbar-h)!important;flex-wrap:wrap!important;align-content:center!important;gap:4px 8px!important;padding:4px 9px!important}
  .ep-topbar-left{height:42px;flex:1}.ep-topbar-actions{height:42px;margin-left:auto}
  .ep-topbar-search{display:block!important;order:3;flex:0 0 100%;width:100%;margin:0 0 5px}
  .ep-topbar-search input{height:36px;font-size:12px}
  .ep-search-suggestions-v202{top:calc(100% + 4px);max-height:54vh}
  .ep-main-content{padding-top:122px;padding-bottom:22px}
  .ep-main-content #employee-toolbar>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ep-main-content #employee-toolbar>div:last-child button{justify-content:center;min-width:0;padding-left:8px;padding-right:8px}
  .ep-page-actions,.ops-toolbar-group{grid-template-columns:1fr 1fr}
  .employee-tabs-v198{width:100%}.employee-tab-v198{flex:1}
  .pp-table-scroll,.ep-table-scroll,.ops-table-wrap,.ep-employee-list-shell{max-width:calc(100vw - 18px)}
}
@media (max-width:420px){
  .ep-topbar-actions .ep-topbar-icon:not(.ep-mobile-menu-button):not(.ep-logout-icon):not(.ep-alert-topbar-button){display:none}
  .ep-page-actions,.ops-toolbar-group{grid-template-columns:1fr}
  .ep-main-content #employee-toolbar>div:last-child{grid-template-columns:1fr!important}
  .ep-search-suggestion-v202{grid-template-columns:30px minmax(0,1fr)}.ep-search-suggestion-v202 em{display:none}
}
/* ===== /v2.0.2 ===== */

/* ===== everprime-v203-compact-filter-style ===== */
/* ===== v2.0.3 — primary sidebar fixed / secondary auto-hide / compact tables / column filters ===== */
@media (min-width:901px){
  :root{--ep-topbar-h:64px}
  body.ep-sidebar-collapsed{--ep-shell-left:var(--ep-primary-w)}
  body.ep-sidebar-collapsed .ep-primary-sidebar{transform:none!important}
  body.ep-sidebar-collapsed .ep-secondary-sidebar{transform:translateX(-110%)!important}
  #ep-sidebar-hotzone-v202{inset:0 auto 0 var(--ep-primary-w)!important;width:13px!important;cursor:e-resize}
  #ep-sidebar-hotzone-v202::after{left:0!important;width:9px!important;height:48px!important}
  .ep-main-content{padding-top:74px!important}
}

/* Mở toàn bộ bề ngang khả dụng và gom UI-022 cùng hàng với cụm UI-025/026. */
.ep-main-content>.app-section{max-width:none!important;width:100%!important}
#screen-employees.active{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,520px);grid-template-areas:"header header" "tabs search" "list list";column-gap:10px;row-gap:5px;align-items:start}
#employee-toolbar{grid-area:header;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start!important;gap:8px!important;margin:0!important}
#employee-toolbar>div:first-child{min-width:0}
#employee-toolbar>div:first-child>p{margin-top:2px!important;font-size:11px!important;line-height:1.35}
#employee-toolbar>div:last-child{display:flex!important;align-items:center!important;justify-content:flex-end;flex-wrap:wrap;gap:3px!important;width:auto!important;max-width:620px}
#employee-toolbar>div:last-child button{min-height:34px!important;padding:6px 9px!important;border-radius:10px!important;font-size:10px!important;gap:4px!important;box-shadow:none!important}
#employee-tabs-v198{grid-area:tabs;align-self:end;margin:0!important}
#employee-search-box{grid-area:search;justify-self:end;align-self:end;width:min(360px,100%);margin:0!important;filter:none!important}
#emp-search-input{height:34px!important;border-radius:10px!important;padding:6px 9px 6px 31px!important;font-size:11px!important}
#employee-search-box .fa-magnifying-glass{left:10px!important;font-size:11px}
#employee-list-container{grid-area:list;min-width:0;margin:0!important}

/* Khoảng trống tab/toolbar được nén thêm. */
.ep-primary-nav,.ep-primary-footer{gap:2px!important}
.ep-primary-item{min-height:49px!important;gap:2px!important;padding:3px 2px!important;border-radius:11px!important}
.ep-primary-item i{font-size:17px}.ep-primary-item span{font-size:8px}
.ep-secondary-heading{padding:10px 11px 6px!important}.ep-secondary-heading p{font-size:9px!important;line-height:1.25}
.ep-secondary-section-label{padding:5px 7px 2px!important}
.ep-secondary-item.sidebar-item{min-height:34px!important;gap:5px!important;padding:4px 6px!important;margin:0!important;border-radius:8px!important}
.ep-secondary-item .ep-secondary-icon{width:27px;height:27px;border-radius:8px}.ep-secondary-item .ep-secondary-copy b{font-size:10px}.ep-secondary-item .ep-secondary-copy small{font-size:8px;margin-top:0}
.employee-tabs-v198{gap:2px!important;padding:2px!important;border-radius:9px!important}.employee-tab-v198{padding:5px 7px!important;font-size:10px!important}.employee-tab-v198 .count{margin-left:3px;min-width:17px;padding:0 4px}
.ep-page-head,.ops-toolbar{gap:7px!important;margin-bottom:7px!important}.ep-page-actions,.ops-toolbar-group,.ep-alert-filters{gap:3px!important}
.ops-button{padding:7px 9px!important;border-radius:10px!important;font-size:10px!important;gap:4px!important;box-shadow:none!important}
.ops-input{padding:6px 8px!important;border-radius:9px!important;font-size:10px!important}
.ep-list-toolbar{min-height:40px!important;padding:5px 7px!important;gap:5px!important}.ep-list-toolbar strong{font-size:10px}.ep-list-toolbar small{font-size:8px}
.ep-dashboard-grid,.ops-kpi-grid{gap:5px!important;margin-bottom:7px!important}.ep-stat-card,.ops-kpi{min-height:62px!important;padding:8px!important;border-radius:11px!important}.ep-stat-icon{width:34px;height:34px}.ops-kpi-value{font-size:18px;margin-top:3px}
.linked-roster-toolbar-v195{padding:6px 8px!important;margin-bottom:6px!important;gap:6px!important;border-radius:10px!important}
.timepay-scroll-note,.timepay-stability-status-v196{padding:5px 7px!important;margin-bottom:5px!important;font-size:9px!important}
.timepay-formula-panel{margin-bottom:7px!important}.timepay-formula-card{padding:8px!important;border-radius:12px!important}.timepay-formula-grid{gap:5px!important;margin-top:6px!important}.timepay-formula-actions{gap:3px!important;margin-top:5px!important}

/* Bảng nghiệp vụ nén chiều ngang, vẫn giữ scroll nội bộ khi viewport thật sự nhỏ. */
.ep-employee-list-table{min-width:1180px!important;font-size:10px!important}.ep-employee-list-table th,.ep-employee-list-table td{padding:5px 6px!important}.ep-employee-list-table th{font-size:8px!important}
.ep-employee-list-table th:nth-child(1),.ep-employee-list-table td:nth-child(1){min-width:38px!important;width:38px!important;max-width:38px!important}
.ep-employee-list-table th:nth-child(2),.ep-employee-list-table td:nth-child(2){left:38px!important;min-width:150px!important;width:150px!important;max-width:150px!important}
.ep-employee-list-table td:nth-child(3){min-width:96px}.ep-employee-list-table td:nth-child(4){min-width:102px}.ep-employee-list-table td:nth-child(5){min-width:112px}
.ep-list-edit,.ep-list-readonly{min-width:0!important;width:100%!important;padding:4px 5px!important;font-size:10px!important}.ep-list-contract{min-width:158px!important}.ep-list-contract select{min-width:152px!important;padding:5px 6px!important;font-size:9px!important}.ep-list-contract small{margin-top:2px!important;font-size:8px}
.ep-list-money-cell{min-width:136px!important}.ep-list-money-view .money-value{min-width:72px!important;font-size:9px!important}.ep-list-money-cell .money-action{width:23px!important;height:23px!important}.ep-list-alert{min-width:185px!important;max-width:210px!important}.ep-list-alert-main b{font-size:9px!important}.ep-list-alert-main small{font-size:8px!important}.ep-list-actions{min-width:62px!important;gap:2px!important}.ep-list-action,.roster-link-btn-v195{width:25px!important;height:25px!important}
.ep-list-caption{padding:5px 7px!important;gap:5px!important;font-size:9px!important}

.pp-table th,.pp-table td{padding:4px 5px!important;font-size:9px!important}.pp-table th{font-size:8px!important}.pp-input,.pp-select{min-width:76px!important;padding:4px 5px!important;font-size:9px!important}.pp-input.pp-mid{min-width:105px!important}.pp-input.pp-wide{min-width:140px!important}.pp-readonly{max-width:170px!important;font-size:9px}
#screen-insurance .ep-insurance-v200{min-width:1880px!important}.ep-insurance-v200 th,.ep-insurance-v200 td{padding:5px 6px!important;font-size:9px!important}
#screen-insurance .ep-insurance-v200 th:nth-child(2),#screen-insurance .ep-insurance-v200 td:nth-child(2){min-width:105px!important;width:105px!important;max-width:105px!important}
#screen-insurance .ep-insurance-v200 th:nth-child(3),#screen-insurance .ep-insurance-v200 td:nth-child(3){left:105px!important;min-width:150px!important;width:150px!important;max-width:150px!important}
#screen-insurance .ep-insurance-v200 input,#screen-insurance .ep-insurance-v200 select{min-width:88px!important;max-width:145px!important;padding:4px 5px!important;font-size:9px!important}#screen-insurance .ep-insurance-v200 select{min-width:102px!important}.ins-money-v200{min-width:94px!important}
#attendance-table .ops-table{min-width:1120px!important}#payroll-table .ops-table{min-width:1740px!important}.ops-table th,.ops-table td{padding:5px 6px!important;font-size:9px!important}.ops-table th{font-size:8px!important;letter-spacing:.025em!important}.ops-number-input{width:61px!important;padding:4px!important;font-size:9px}.ops-note-input{min-width:110px!important;padding:4px!important;font-size:9px}
.ops-table .tp-sticky-1{min-width:38px!important;width:38px!important}.ops-table .tp-sticky-2{left:38px!important;min-width:150px!important;width:150px!important}.ops-table .tp-sticky-3{left:188px!important;min-width:98px!important;width:98px!important}.timepay-person-name{font-size:10px}.timepay-person-meta{font-size:8px}
.attendance-summary-table{min-width:900px!important;font-size:9px!important}.attendance-summary-table th,.attendance-summary-table td{padding:5px 6px!important}

/* Bộ lọc/chọn lọc theo từng cột. */
th.ep-filterable-v203{padding-right:27px!important}
.ep-column-filter-button-v203{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:1px solid rgba(201,154,76,.25);border-radius:6px;background:rgba(201,154,76,.10);color:inherit;display:grid;place-items:center;font-size:8px;z-index:12}
.ep-column-filter-button-v203:hover,.ep-column-filter-button-v203.active{background:#c99a4c;color:#fff;border-color:#c99a4c}
.ep-column-filter-menu-v203{position:fixed;z-index:10040;width:min(275px,calc(100vw - 18px));max-height:min(430px,72vh);overflow:auto;border:1px solid var(--ep-line);border-radius:12px;padding:8px;background:var(--ep-panel-strong);color:var(--ep-text);box-shadow:0 20px 55px rgba(33,22,8,.30);backdrop-filter:blur(22px)}
.ep-column-filter-menu-v203 h4{margin:0 0 6px;font-size:11px}.ep-column-filter-menu-v203 small{display:block;color:var(--ep-muted);font-size:8px;margin-bottom:6px}.ep-column-filter-menu-v203 input,.ep-column-filter-menu-v203 select{width:100%;border:1px solid var(--ep-line);border-radius:8px;background:var(--ep-panel);color:var(--ep-text);padding:6px 7px;font-size:10px;font-weight:800;margin-bottom:5px;outline:none}.ep-column-filter-actions-v203{display:grid;grid-template-columns:1fr 1fr;gap:4px}.ep-column-filter-actions-v203 button{border:1px solid var(--ep-line);border-radius:8px;padding:6px;background:rgba(201,154,76,.08);color:var(--ep-text);font-size:9px;font-weight:900}.ep-column-filter-actions-v203 button:hover{background:rgba(201,154,76,.18)}.ep-column-filter-status-v203{margin-top:5px;padding:5px 6px;border-radius:7px;background:rgba(201,154,76,.08);font-size:8px;font-weight:850;color:var(--ep-muted)}
tr.ep-column-filtered-v203{display:none!important}

@media(max-width:900px){
  #screen-employees.active{grid-template-columns:minmax(0,1fr) minmax(240px,42vw)}
  #employee-toolbar{grid-template-columns:1fr!important}#employee-toolbar>div:last-child{justify-content:flex-start!important;max-width:none!important}
  #screen-insurance .ep-insurance-v200{min-width:1880px!important}
}
@media(max-width:700px){
  #screen-employees.active{grid-template-columns:1fr;grid-template-areas:"header" "tabs" "search" "list";row-gap:5px}
  #employee-search-box{width:100%;justify-self:stretch}
  #employee-toolbar>div:last-child{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  .ep-primary-item{min-height:46px!important}
}
@media(max-width:420px){#employee-toolbar>div:last-child{grid-template-columns:1fr 1fr!important}.ep-column-filter-menu-v203{left:9px!important;right:9px!important;width:auto!important}}
/* ===== /v2.0.3 ===== */

/* ===== everprime-v205-balanced-filters-formula-style ===== */
/* ===== v2.0.5 — balanced typography / scoped filters / compact formulas ===== */
#screen-mainapp{
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.35;
  font-variant-numeric:tabular-nums lining-nums;
}
#screen-mainapp :where(button,input,select,textarea){font-size:14px!important;font-weight:750!important;line-height:1.3!important}
#screen-mainapp :where(.ep-primary-item span,.ep-secondary-section-label,.ep-user-chip small,.ep-search-language-v202,.ep-column-filter-status-v203,.ep-status-pill,.role-badge){font-size:12px!important;font-weight:800!important}
#screen-mainapp :where(.ep-secondary-item .ep-secondary-copy b,.ep-user-chip span,.ep-activity-row b,.ep-breakdown-row,.ep-list-toolbar strong,.ops-kpi-label,.ep-list-caption,.employee-tab-v198){font-size:14px!important;font-weight:800!important}
#screen-mainapp :where(.ep-breadcrumb,.ep-topbar-search input,.ep-search-suggestion-v202 b,.ep-search-suggestion-v202 small,.ep-page-head p,.ops-toolbar p,#employee-toolbar>div:first-child>p){font-size:14px!important;font-weight:750!important;line-height:1.35!important}
#screen-mainapp .ep-breadcrumb strong{font-size:15px!important;font-weight:850!important}
#screen-mainapp :where(.ep-page-head h2,#employee-title,#settings-title,.ops-toolbar h2){font-size:clamp(26px,2.45vw,32px)!important;font-weight:900!important}
#screen-mainapp :where(.ep-stat-card b,.ops-kpi-value){font-size:22px!important;font-weight:900!important}
#screen-mainapp :where(.ep-employee-list-table,.ep-list-edit,.ep-list-readonly,.ep-list-contract select,.pp-table,.pp-input,.pp-select,.pp-readonly,.ep-insurance-v200,.ops-table,.ops-number-input,.ops-note-input,.attendance-summary-table){font-size:13.5px!important;font-weight:750!important;line-height:1.3!important}
#screen-mainapp :where(.ep-employee-list-table th,.pp-table th,.ep-insurance-v200 th,.ops-table th,.attendance-summary-table th){font-size:12.5px!important;font-weight:850!important;line-height:1.25!important}
#screen-mainapp :where(.ep-employee-list-table td,.pp-table td,.ep-insurance-v200 td,.ops-table td,.attendance-summary-table td,.timepay-person-name){font-size:13.5px!important;font-weight:750!important;line-height:1.3!important}
#screen-mainapp :where(.employee-tab-v198,.ops-button,.ep-page-actions button,.ops-toolbar-group button){font-size:14px!important;font-weight:800!important}

/* Mỗi mục sidebar phụ chỉ giữ một dòng nội dung chính. */
#secondary-sidebar .ep-secondary-item .ep-secondary-copy small{display:none!important}
#secondary-sidebar .ep-secondary-item.sidebar-item{min-height:38px!important;padding:5px 7px!important}
#secondary-sidebar .ep-secondary-item .ep-secondary-copy b{white-space:normal!important;line-height:1.25!important}

/* Dòng phụ dưới tên nhân viên không còn xuất hiện ở Chấm công/Bảng lương. */
#attendance-table .timepay-person-meta,#payroll-table .timepay-person-meta{display:none!important}

/* Công thức mặc định được thu gọn và dùng một công tắc duy nhất cho mỗi màn hình. */
.timepay-formula-toggle-v205{display:inline-flex!important;align-items:center!important;justify-content:center;gap:6px;margin:0 0 6px auto!important;min-height:32px!important;padding:6px 10px!important;border:1px solid var(--ep-line)!important;border-radius:9px!important;background:rgba(201,154,76,.09)!important;color:var(--ep-text)!important;box-shadow:none!important;font-size:13px!important;font-weight:850!important}
.timepay-formula-toggle-v205:hover,.timepay-formula-toggle-v205[aria-expanded="true"]{background:rgba(201,154,76,.18)!important;border-color:rgba(201,154,76,.42)!important}
.timepay-formula-toggle-v205 i{width:14px;text-align:center}
.timepay-formula-panel[hidden]{display:none!important}
.timepay-formula-panel.ep-formula-visible-v205{display:block!important}

/* Nút lọc giữ kích thước cân bằng với chữ/số trong tiêu đề cột. */
.ep-column-filter-button-v203{width:24px!important;height:24px!important;font-size:11px!important}
th.ep-filterable-v203{padding-right:31px!important}
@media(max-width:700px){
  #screen-mainapp{font-size:13.5px!important}
  #screen-mainapp :where(.ep-employee-list-table,.pp-table,.ep-insurance-v200,.ops-table,.attendance-summary-table){font-size:13px!important}
  .timepay-formula-toggle-v205{margin-left:0!important}
}
/* ===== /v2.0.5 ===== */

/* ===== everprime-v206-quick-filter-no-overlap-collapse-style ===== */
/* ===== v2.0.6 — one-click equal filters / anti-overlap / screen toggles ===== */

/* Không cho tiêu đề, cảnh báo, KPI, toolbar và dữ liệu bảng chồng lên nhau. */
#screen-mainapp :where(.app-section,.ep-screen-body-v206,.ep-page-head,.ops-toolbar,.ops-toolbar-group,.ep-page-actions,.ep-dashboard-grid,.ops-kpi-grid,.ep-dashboard-split,.ep-panel,.ep-list-card,.ep-list-toolbar,.ep-alert-toolbar,.ep-alert-filters,.ep-alert-row,.audit-row,.audit-detail,.linked-roster-toolbar-v195,.linked-roster-source-v195,.linked-roster-search-v195,.ep-stat-card,.ops-kpi){min-width:0!important;max-width:100%}
#screen-mainapp :where(.ep-page-head,.ops-toolbar,.ops-toolbar-group,.ep-page-actions,.ep-list-toolbar,.ep-alert-toolbar,.ep-alert-filters,.linked-roster-toolbar-v195){flex-wrap:wrap!important}
#screen-mainapp :where(h1,h2,h3,h4,p,b,strong,small,label,.ep-alert-main,.audit-detail,.ep-panel-head,.ep-stat-card,.ops-kpi,.role-badge,.ep-status-pill){max-width:100%;overflow-wrap:anywhere!important;word-break:normal!important}
#screen-mainapp .ops-button{white-space:normal!important;overflow-wrap:anywhere!important}
#screen-mainapp :where(input,select,textarea,.ops-input){min-width:0!important;max-width:100%!important}
#screen-mainapp :where(.ep-employee-list-table th,.ep-employee-list-table td,.pp-table th,.pp-table td,.ep-insurance-v200 th,.ep-insurance-v200 td,.ops-table th,.ops-table td,.attendance-summary-table th,.attendance-summary-table td){white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;vertical-align:middle!important}
#screen-mainapp :where(.ep-alert-row,.audit-row,.ep-activity-row)>*{min-width:0!important;overflow-wrap:anywhere!important}
#screen-mainapp :where(.ep-alert-main,.audit-detail,.ep-panel-head>div,.ep-secondary-copy){min-width:0!important}

/* Mọi menu filter cột chỉ dùng nút giá trị giống nhau; tuyệt đối không hiện combobox. */
.ep-column-filter-menu-v203 select{display:none!important}
.ep-column-filter-menu-v203[data-equal-filter-v206="1"] .ep-column-filter-values-v204{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
.ep-column-filter-menu-v203[data-equal-filter-v206="1"] .ep-column-filter-value-v204{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important}
.ep-column-filter-button-v203[data-equal-filter-v206="1"]{cursor:pointer}

/* Thu gọn toàn bộ nội dung năm màn hình theo cùng mẫu công tắc công thức. */
.ep-screen-body-v206[hidden]{display:none!important}
.ep-screen-toggle-v206{margin:0!important;min-height:32px!important;padding:6px 10px!important;flex:none!important}
.ep-screen-toggle-v206[aria-expanded="true"]{background:rgba(201,154,76,.18)!important;border-color:rgba(201,154,76,.42)!important}
.ep-screen-collapsed-v206>.ep-page-head,.ep-screen-collapsed-v206>.ops-toolbar{margin-bottom:0!important}
@media(max-width:700px){
  #screen-mainapp :where(.ep-page-head,.ops-toolbar){align-items:stretch!important}
  #screen-mainapp :where(.ep-page-head>div:first-child,.ops-toolbar>div:first-child){width:100%!important}
  #screen-mainapp :where(.ops-toolbar-group,.ep-page-actions){width:100%!important;justify-content:flex-start!important}
  .ep-column-filter-menu-v203[data-equal-filter-v206="1"] .ep-column-filter-values-v204{grid-template-columns:1fr!important}
}
/* ===== /v2.0.6 ===== */

/* ===== everprime-v207-layout-hotfix-style ===== */
/* ===== v2.0.7 — layout hotfix: preserve icon sizes and original screen structure ===== */
#screen-mainapp .ep-topbar-icon{min-width:38px;min-height:38px}
#screen-mainapp .ep-mobile-menu-button{width:39px!important;height:39px!important}
#screen-mainapp .ep-secondary-close{width:34px!important;height:34px!important;padding:0!important}
#screen-mainapp .payroll-icon-btn{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important}
#screen-mainapp .ep-column-filter-button-v203{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;white-space:nowrap!important}
#screen-mainapp :where(.ep-list-action,.roster-link-btn-v195){width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;padding:0!important}
#screen-mainapp :where(.ep-page-head,.ops-toolbar)>div:first-child{min-width:0!important;flex:1 1 260px}
#screen-mainapp :where(.ops-toolbar-group,.ep-page-actions){flex:0 1 auto!important;max-width:100%!important}
#screen-mainapp :where(.ep-alert-row,.audit-row,.ep-stat-card,.ops-kpi){overflow:hidden}

/* Không bọc lại DOM màn hình. Nội dung hiển thị bình thường; người dùng chủ động thu gọn. */
#screen-attendance.ep-screen-collapsed-v207>:not(#attendance-header),
#screen-payroll.ep-screen-collapsed-v207>:not(#payroll-header),
#screen-audit.ep-screen-collapsed-v207>:not(#audit-header),
#screen-hr-overview.ep-screen-collapsed-v207>:not(#hr-overview-header),
#screen-insurance.ep-screen-collapsed-v207>:not(#insurance-header){display:none!important}
.ep-screen-toggle-v206{height:32px!important;min-height:32px!important;max-width:100%!important;white-space:nowrap!important}
@media(max-width:700px){
  #screen-mainapp .ep-topbar-icon{min-width:36px;min-height:36px}
  .ep-screen-toggle-v206{width:auto!important}
}
/* ===== /v2.0.7 ===== */

/* ===== everprime-v209-tab-ui-numbering-style ===== */
/* ===== v2.0.9 — visible interface numbers inside every navigation tab ===== */
.ep-primary-item{position:relative}
.ep-primary-item>.ep-tab-sequence-v209{
  position:absolute;top:3px;right:4px;min-width:19px;height:15px;padding:0 4px;border-radius:5px;
  display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);color:#ead7b5;font:900 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;
  letter-spacing:.02em;pointer-events:none
}
.ep-primary-item.active>.ep-tab-sequence-v209{background:rgba(43,28,11,.24);border-color:rgba(255,255,255,.3);color:#fff}
#secondary-sidebar .ep-secondary-item .ep-secondary-copy b{display:flex!important;align-items:center;gap:6px;min-width:0}
#secondary-sidebar .ep-secondary-item .ep-secondary-copy .ep-tab-label-v209{min-width:0;overflow-wrap:anywhere}
.ep-tab-ui-code-v209{
  flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:45px;height:20px;padding:0 5px;
  border-radius:6px;background:rgba(201,154,76,.13);border:1px solid rgba(201,154,76,.26);color:#9b6d2c;
  font:900 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.01em;white-space:nowrap
}
.dark-mode .ep-tab-ui-code-v209{background:rgba(227,188,112,.1);border-color:rgba(227,188,112,.22);color:#efd9af}
.ep-secondary-item.is-active .ep-tab-ui-code-v209{background:#9b6d2c;border-color:#9b6d2c;color:#fff}
#topbar-page-title.ep-topbar-numbered-v209{display:inline-flex;align-items:center;gap:6px;min-width:0}
#topbar-page-title .ep-tab-ui-code-v209{height:19px;min-width:44px;font-size:9px!important}
#topbar-page-title .ep-tab-label-v209{min-width:0;overflow:hidden;text-overflow:ellipsis}
.employee-tab-v198>.ep-subtab-sequence-v209{
  display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;margin-right:5px;padding:0 4px;
  border-radius:5px;background:rgba(201,154,76,.13);border:1px solid rgba(201,154,76,.24);color:#9b6d2c;
  font:900 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;vertical-align:middle
}
.employee-tab-v198.active>.ep-subtab-sequence-v209{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.32);color:#fff}
@media(max-width:620px){
  .ep-primary-item>.ep-tab-sequence-v209{top:2px;right:2px;min-width:17px;height:14px;padding:0 3px;font-size:8px!important}
  #secondary-sidebar .ep-secondary-item .ep-secondary-copy b{gap:5px}
  .ep-tab-ui-code-v209{min-width:42px;height:19px;padding:0 4px;font-size:9px!important}
  #topbar-page-title.ep-topbar-numbered-v209{max-width:calc(100vw - 210px)}
}
/* ===== /v2.0.9 ===== */

/* ===== everprime-v2010-unified-ui-numbering-style ===== */
/* ===== v2.0.10 — Home controls one unified UI-numbering layer ===== */

/* Mã trong tab v2.0.9 nay tuân theo cùng công tắc Home/showUiId. */
body:not(.show-ui-id) :where(.ep-tab-sequence-v209,.ep-tab-ui-code-v209,.ep-subtab-sequence-v209){display:none!important}
body.show-ui-id :where(.ep-tab-sequence-v209,.ep-tab-ui-code-v209,.ep-subtab-sequence-v209){display:inline-flex!important}

/* Mã cột dùng pseudo-element nên không làm thay đổi textContent/filter label. */
.ep-unified-column-v210{min-width:0;overflow-wrap:anywhere!important}
.ep-unified-column-v210::before{display:none;content:attr(data-ui-code)}
body.show-ui-id .ep-unified-column-v210::before{
  width:max-content;max-width:100%;min-height:18px;margin:0 auto 4px;padding:3px 5px;border-radius:5px;
  display:flex;align-items:center;justify-content:center;background:rgba(201,154,76,.17);border:1px solid rgba(201,154,76,.3);
  color:#704a18;font:900 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.01em;white-space:nowrap
}
.dark-mode body.show-ui-id .ep-unified-column-v210::before,.dark-mode.show-ui-id .ep-unified-column-v210::before{background:rgba(227,188,112,.12);border-color:rgba(227,188,112,.25);color:#f0d9ad}

/* Mỗi khung/panel có mã ở góc riêng và chừa khoảng phía trên khi bật. */
.ep-unified-frame-v210{position:relative!important;min-width:0!important}
.ep-unified-frame-v210::before{display:none;content:attr(data-ui-code)}
body.show-ui-id .ep-unified-frame-v210{padding-top:max(28px,var(--ep-frame-original-top-v210,0px))!important}
body.show-ui-id .ep-unified-frame-v210::before{
  position:absolute;z-index:4;top:5px;right:7px;min-height:18px;padding:3px 6px;border-radius:5px;
  display:flex;align-items:center;justify-content:center;background:rgba(126,82,27,.92);border:1px solid rgba(255,255,255,.5);
  color:#fff;font:900 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 2px 7px rgba(45,28,9,.18);pointer-events:none
}
.dark-mode.show-ui-id .ep-unified-frame-v210::before{background:rgba(201,154,76,.94);color:#fff}

/* Nút Home luôn rõ trạng thái lớp mã UI chung. */
#ui-assistive-button{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important}
#ui-assistive-button .assistive-state{font-size:8px!important;letter-spacing:.02em;white-space:nowrap}
#ui-assistive-button[data-mode="off"]{background:rgba(48,48,48,.8)!important}

@media(max-width:620px){
  body.show-ui-id .ep-unified-frame-v210{padding-top:max(25px,var(--ep-frame-original-top-v210,0px))!important}
  body.show-ui-id .ep-unified-frame-v210::before{top:4px;right:5px;min-height:16px;padding:2px 4px;font-size:8px}
  body.show-ui-id .ep-unified-column-v210::before{min-height:16px;padding:2px 4px;font-size:8px}
  #ui-assistive-button{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important}
}
@media print{
  .ep-unified-column-v210::before,.ep-unified-frame-v210::before,
  .ep-tab-sequence-v209,.ep-tab-ui-code-v209,.ep-subtab-sequence-v209{display:none!important}
  .ep-unified-frame-v210{padding-top:initial!important}
}
/* ===== /v2.0.10 ===== */

/* ===== everprime-v2011-responsive-search-alert-filter-style ===== */
/* ===== v2.0.11 — responsive type / stable search spaces / compact equal filters ===== */
:root{
  --ep-type-body-v211:clamp(12px,calc(10.9px + .16vw),14px);
  --ep-type-control-v211:clamp(12px,calc(10.8px + .18vw),14px);
  --ep-type-table-v211:clamp(11.5px,calc(10.7px + .14vw),13.25px);
  --ep-type-head-v211:clamp(23px,calc(19px + .62vw),31px)
}
#screen-mainapp{font-size:var(--ep-type-body-v211)!important;line-height:1.38}
#screen-mainapp :where(button,input,select,textarea){font-size:var(--ep-type-control-v211)!important;line-height:1.3!important}
#screen-mainapp :where(.ep-primary-item span,.ep-user-chip small,.ep-activity-row small,.ep-search-language-v202,.ep-column-filter-status-v203){font-size:clamp(10px,calc(9.4px + .12vw),12px)!important}
#screen-mainapp :where(.ep-secondary-item .ep-secondary-copy b,.ep-user-chip span,.ep-activity-row b,.ep-breakdown-row,.ep-list-toolbar strong,.ops-kpi-label,.ep-list-caption){font-size:clamp(11.5px,calc(10.7px + .15vw),13.5px)!important}
#screen-mainapp :where(.ep-secondary-section-label,.ep-stat-card small,.ep-panel-head p,.ep-list-toolbar small,.linked-roster-toolbar-v195 small,.timepay-scroll-note,.timepay-stability-status-v196){font-size:clamp(10px,calc(9.4px + .12vw),12px)!important;line-height:1.35!important}
#screen-mainapp :where(.ep-breadcrumb,.ep-topbar-search input,.ep-search-suggestion-v202 b,.ep-search-suggestion-v202 small){font-size:clamp(11.5px,calc(10.8px + .15vw),13.5px)!important}
#screen-mainapp .ep-breadcrumb strong{font-size:clamp(13px,calc(12px + .18vw),15px)!important}
#screen-mainapp :where(.ep-page-head h2,#employee-title,#settings-title,.ops-toolbar h2){font-size:var(--ep-type-head-v211)!important;line-height:1.16!important}
#screen-mainapp :where(.ep-page-head p,.ops-toolbar p,#employee-toolbar>div:first-child>p){font-size:clamp(11.5px,calc(10.5px + .17vw),13.5px)!important;line-height:1.4!important}
#screen-mainapp :where(.ep-stat-card b,.ops-kpi-value){font-size:clamp(20px,calc(17px + .45vw),26px)!important}
#screen-mainapp :where(.ep-employee-list-table,.ep-list-edit,.ep-list-readonly,.ep-list-contract select){font-size:var(--ep-type-table-v211)!important}
#screen-mainapp :where(.ep-employee-list-table th,.pp-table th,.ep-insurance-v200 th,.ops-table th,.attendance-summary-table th){font-size:clamp(10px,calc(9.2px + .12vw),11.5px)!important;line-height:1.25!important}
#screen-mainapp :where(.ep-employee-list-table td,.pp-table td,.pp-input,.pp-select,.pp-readonly,.ep-insurance-v200 td,.ep-insurance-v200 input,.ep-insurance-v200 select,.ops-table td,.ops-number-input,.ops-note-input,.attendance-summary-table td){font-size:var(--ep-type-table-v211)!important;line-height:1.32!important}
#screen-mainapp :where(.employee-tab-v198,.ops-button,.ep-page-actions button,.ops-toolbar-group button){font-size:clamp(11.5px,calc(10.5px + .17vw),13.5px)!important}
#screen-mainapp :where(.employee-tab-v198 .count,.role-badge,.ep-status-pill){font-size:clamp(10px,calc(9.2px + .12vw),11.5px)!important}

/* Người dùng không sử dụng công tắc thu gọn toàn màn hình UI-069/073/077/093/094. */
.ep-screen-toggle-v206{display:none!important}
#screen-attendance.ep-screen-collapsed-v207>:not(#attendance-header),
#screen-payroll.ep-screen-collapsed-v207>:not(#payroll-header),
#screen-audit.ep-screen-collapsed-v207>:not(#audit-header),
#screen-hr-overview.ep-screen-collapsed-v207>:not(#hr-overview-header),
#screen-insurance.ep-screen-collapsed-v207>:not(#insurance-header){display:revert!important}

/* UI-100: ba cột tự xuống hàng; nhãn mức độ không thể đè lên tên nhân viên. */
#screen-mainapp .ep-alert-row{
  grid-template-columns:minmax(155px,.72fr) minmax(180px,1fr) minmax(180px,1fr)!important;
  align-items:start!important;column-gap:12px!important;row-gap:10px!important;overflow:visible!important
}
#screen-mainapp .ep-alert-row>*{min-width:0!important;max-width:100%!important}
#screen-mainapp .ep-alert-severity{width:100%;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center;line-height:1.25!important}
#screen-mainapp .ep-alert-cell :where(b,small){white-space:normal!important;overflow-wrap:anywhere!important}
#screen-mainapp .ep-alert-action{justify-self:start;align-self:start;white-space:normal!important}

/* Filter gọn: tự nhóm giá trị giống nhau, hiển thị số dòng và không dùng combobox/ô tìm phụ. */
.ep-column-filter-menu-v203[data-compact-filter-v211="1"]{width:min(286px,calc(100vw - 18px))!important;padding:10px!important}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-filter-title-v211{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-filter-title-v211 h4{min-width:0;margin:0;font-size:clamp(12px,calc(11px + .15vw),14px)!important;overflow-wrap:anywhere}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-filter-title-v211 span{flex:none;padding:3px 6px;border-radius:999px;background:rgba(201,154,76,.13);font-size:10px;font-weight:900}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-values-v204{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;max-height:min(248px,46vh)!important;margin:0 0 6px!important;padding:0!important}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-value-v204{display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:31px!important;padding:5px 7px!important;font-size:clamp(11px,calc(10.2px + .13vw),12.5px)!important;line-height:1.2!important}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-filter-value-label-v211{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-value-v204::after{content:attr(data-filter-count-v211);flex:none;min-width:24px;padding:2px 5px;border-radius:999px;background:rgba(0,0,0,.07);text-align:center;font-size:10px;font-weight:950}
.dark-mode .ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-value-v204::after{background:rgba(255,255,255,.1)}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-actions-v203{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px!important}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-actions-v203 button{min-width:0!important;padding:6px 3px!important;font-size:10.5px!important;white-space:nowrap!important}
.ep-column-filter-menu-v203[data-compact-filter-v211="1"] .ep-column-filter-status-v203{margin-top:6px;font-size:10px!important}

@media(max-width:900px){
  #screen-mainapp .ep-alert-row{grid-template-columns:minmax(145px,.7fr) minmax(0,1fr)!important}
}
@media(max-width:620px){
  :root{--ep-type-body-v211:12px;--ep-type-control-v211:12.5px;--ep-type-table-v211:11.5px;--ep-type-head-v211:23px}
  #screen-mainapp :where(input,select,textarea){font-size:16px!important} /* tránh trình duyệt di động tự zoom */
  #screen-mainapp .ep-alert-row{grid-template-columns:1fr!important;padding:10px!important}
  #screen-mainapp .ep-alert-severity{width:auto;justify-self:start;text-align:left}
  #screen-mainapp .ep-alert-action{width:100%;justify-content:center}
}
/* ===== /v2.0.11 ===== */

/* ===== everprime-v2012-profile-smart-excel-style ===== */
/* ===== v2.0.12 — UI-096 smart Excel profile import ===== */
.pp-import-status-v212{display:flex;align-items:flex-start;gap:9px;margin:0 0 10px;padding:9px 11px;border:1px solid rgba(201,154,76,.34);border-radius:12px;background:rgba(201,154,76,.09);font-size:clamp(10.5px,calc(9.8px + .12vw),12px);font-weight:800;line-height:1.4}
.pp-import-status-v212[hidden]{display:none!important}.pp-import-status-v212 i{margin-top:2px;color:#c99a4c}.pp-import-status-v212 b{display:block;color:#7b5725}.dark-mode .pp-import-status-v212 b{color:#e6c987}
.pp-import-preview-v212{width:min(920px,100%)}
.pp-import-summary-v212{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}
.pp-import-summary-v212 span{min-width:0;padding:8px;border:1px solid var(--ep-line);border-radius:11px;background:rgba(201,154,76,.08);font-size:11px;font-weight:900;text-align:center;overflow-wrap:anywhere}
.pp-import-summary-v212 b{display:block;margin-bottom:2px;font-size:clamp(15px,calc(13px + .3vw),19px);color:#8b622a}
.dark-mode .pp-import-summary-v212 b{color:#e6c987}
.pp-import-mapping-v212{max-height:38vh;overflow:auto;border:1px solid var(--ep-line);border-radius:12px}
.pp-import-mapping-v212 table{width:100%;min-width:570px;border-collapse:collapse;font-size:11px}
.pp-import-mapping-v212 th,.pp-import-mapping-v212 td{padding:7px 9px;border-bottom:1px solid var(--ep-line);text-align:left;vertical-align:top}
.pp-import-mapping-v212 th{position:sticky;top:0;z-index:1;background:#173f68;color:#fff}.pp-import-mapping-v212 td:first-child{font-weight:900}
.pp-import-warning-v212{margin-top:9px;padding:8px 10px;border-radius:10px;background:rgba(217,119,6,.1);font-size:10.5px;font-weight:800;line-height:1.4}
@media(max-width:720px){.pp-import-summary-v212{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-import-preview-v212{max-height:92vh;overflow:auto}}
/* ===== /v2.0.12 ===== */

/* ===== everprime-v2013-attendance-archive-style ===== */
/* ===== v2.0.13 — employee monthly/yearly attendance archives ===== */
.attendance-person-total-v213{min-width:132px;vertical-align:middle!important}.attendance-person-total-stack-v213{display:grid;gap:3px;min-width:116px}
.attendance-person-total-stack-v213 span{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:3px 6px;border:1px solid rgba(201,154,76,.2);border-radius:8px;background:rgba(201,154,76,.08);font-size:10px;font-weight:850;line-height:1.2;white-space:nowrap}
.attendance-person-total-stack-v213 b{font-variant-numeric:tabular-nums;font-weight:1000}.attendance-person-total-stack-v213 .leave{color:#9a5b12}.attendance-person-total-stack-v213 .ot{color:#8d3f21}.dark-mode .attendance-person-total-stack-v213 .leave{color:#efbd72}.dark-mode .attendance-person-total-stack-v213 .ot{color:#f0a77e}
.attendance-actions-v213{min-width:116px}.attendance-actions-v213 .attendance-row-actions-v213{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.attendance-actions-v213 .attendance-archive-button-v213{white-space:nowrap;background:rgba(201,154,76,.13)!important;border-color:rgba(201,154,76,.32)!important}
.attendance-year-archive-cell-v213{text-align:center!important;min-width:112px}.attendance-year-archive-button-v213{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:96px;padding:6px 8px;border:1px solid rgba(201,154,76,.32);border-radius:9px;background:rgba(201,154,76,.12);color:inherit;font-size:10px;font-weight:950;white-space:nowrap}
.attendance-year-archive-button-v213:hover,.attendance-archive-button-v213:hover{background:rgba(201,154,76,.22)!important}.attendance-summary-table[data-archive-buttons-v213="1"]{min-width:1040px!important}
.attendance-archive-modal-v213{width:min(1040px,100%);max-height:92vh;overflow:auto}.attendance-archive-identity-v213{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:12px 0;padding:11px 13px;border:1px solid var(--ep-line);border-radius:13px;background:rgba(201,154,76,.08)}
.attendance-archive-identity-v213 h4{margin:0;font-size:16px;font-weight:1000}.attendance-archive-identity-v213 p{margin:3px 0 0;font-size:11px;font-weight:750;opacity:.68}.attendance-archive-period-v213{flex:none;padding:5px 8px;border-radius:999px;background:#173f68;color:#fff;font-size:10px;font-weight:950;white-space:nowrap}.dark-mode .attendance-archive-period-v213{background:#c99a4c;color:#24170d}
.attendance-archive-summary-v213{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:11px}.attendance-archive-summary-v213 div{min-width:0;padding:9px;border:1px solid var(--ep-line);border-radius:12px;background:var(--ep-panel,rgba(255,255,255,.07));text-align:center}.attendance-archive-summary-v213 small{display:block;font-size:9px;font-weight:850;opacity:.62}.attendance-archive-summary-v213 b{display:block;margin-top:2px;color:#80581f;font-size:18px;font-weight:1000;font-variant-numeric:tabular-nums}.dark-mode .attendance-archive-summary-v213 b{color:#e6c987}
.attendance-archive-table-wrap-v213{overflow:auto;max-height:48vh;border:1px solid var(--ep-line);border-radius:12px;scrollbar-gutter:stable}.attendance-archive-table-v213{width:100%;min-width:760px;border-collapse:collapse;font-size:11px}.attendance-archive-table-v213 th,.attendance-archive-table-v213 td{padding:7px 8px;border-bottom:1px solid var(--ep-line);text-align:right;white-space:nowrap}.attendance-archive-table-v213 th{position:sticky;top:0;z-index:1;background:#173f68;color:#fff;font-size:10px}.attendance-archive-table-v213 th:first-child,.attendance-archive-table-v213 td:first-child{text-align:left}.attendance-archive-table-v213 td{font-variant-numeric:tabular-nums;font-weight:800}.attendance-archive-table-v213 tr.has-record-v213 td{background:rgba(58,155,89,.045)}
.attendance-archive-note-v213{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:10px;padding:9px 11px;border:1px solid var(--ep-line);border-radius:11px;font-size:10.5px;font-weight:750;line-height:1.45}.attendance-archive-note-v213 b{display:block;margin-bottom:2px}.attendance-archive-note-v213 time{white-space:nowrap;opacity:.65}.attendance-archive-empty-v213{opacity:.48}
@media(max-width:700px){.attendance-archive-summary-v213{grid-template-columns:1fr}.attendance-archive-identity-v213{flex-direction:column}.attendance-archive-note-v213{grid-template-columns:1fr}.attendance-archive-modal-v213{max-height:95vh}.attendance-person-total-stack-v213{min-width:106px}}
/* ===== /v2.0.13 ===== */

/* ===== everprime-v2014-attendance-notes-navigation-style ===== */
/* ===== v2.0.14 — notes live in archives / duplicate group headings removed ===== */
#attendance-table .ops-table{min-width:1000px!important}
.attendance-archive-note-editor-v214{display:grid;gap:7px;min-width:0}.attendance-archive-note-editor-v214 label{font-size:10.5px;font-weight:950}
.attendance-archive-note-editor-v214 textarea{width:100%;min-height:78px;resize:vertical;border:1px solid var(--ep-line);border-radius:10px;background:rgba(201,154,76,.055);color:inherit;padding:9px 10px;font:inherit;font-weight:750;line-height:1.45;outline:none}.attendance-archive-note-editor-v214 textarea:focus{border-color:rgba(201,154,76,.58);box-shadow:0 0 0 3px rgba(201,154,76,.09)}
.attendance-archive-note-editor-v214 .attendance-archive-note-actions-v214{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.attendance-archive-note-editor-v214 .attendance-archive-note-actions-v214 small{opacity:.62;font-weight:750}
.ep-breadcrumb{gap:0!important}.ep-breadcrumb #topbar-page-title{margin:0}.ep-primary-item>i{margin-bottom:0!important}
@media(max-width:700px){.attendance-archive-note-editor-v214 textarea{min-height:94px}.attendance-archive-note-editor-v214 .ops-button{width:100%;justify-content:center}}
/* ===== /v2.0.14 ===== */

/* ===== v2.0.15 — deep stability / terminated attendance archives ===== */
.terminated-attendance-years-v215{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 8px}.terminated-attendance-years-v215>span{font-size:9.5px;font-weight:950;opacity:.66}.terminated-attendance-years-v215 button,.terminated-attendance-month-button-v215{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(201,154,76,.32);border-radius:8px;background:rgba(201,154,76,.08);color:inherit;padding:5px 7px;font-size:9.5px;font-weight:900;white-space:nowrap}.terminated-attendance-years-v215 button:hover,.terminated-attendance-month-button-v215:hover{border-color:rgba(201,154,76,.65);background:rgba(201,154,76,.15)}.archive-table-v198 .archive-note-cell-v215{min-width:150px;max-width:260px;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.archive-table-v198 .archive-action-cell-v215{text-align:center}.terminated-attendance-card-v215{grid-column:1/-1}
@media(max-width:700px){.terminated-attendance-years-v215 button{flex:1 1 auto}.archive-table-v198 .archive-note-cell-v215{min-width:130px}.terminated-attendance-card-v215{grid-column:auto}}
@media(pointer:coarse){button,[role="button"],input,select,textarea{min-height:36px}.column-filter-trigger-v203{min-width:32px;min-height:32px}}
/* ===== /v2.0.15 ===== */

/* ===== v2.0.16 — compact UI-096 / per-employee archived profile ===== */
.pp-main-table-v216{width:100%!important;min-width:1040px!important}.pp-main-table-v216 th:last-child,.pp-main-table-v216 th:nth-last-child(2),.pp-main-table-v216 td:last-child,.pp-main-table-v216 td:nth-last-child(2){text-align:center}.pp-main-table-v216 tr.has-profile-draft-v216 td{background:rgba(201,154,76,.10)}
.pp-row-button-v216{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:82px;border:1px solid rgba(201,154,76,.34);border-radius:9px;background:rgba(201,154,76,.09);color:inherit;padding:7px 9px;font-size:10.5px;font-weight:950;white-space:nowrap}.pp-row-button-v216:hover{border-color:rgba(201,154,76,.68);background:rgba(201,154,76,.16)}.pp-row-button-v216.save{background:#9b6d2c;color:#fff;border-color:#9b6d2c}.pp-row-button-v216.save.pending{box-shadow:0 0 0 3px rgba(201,154,76,.16)}.pp-row-button-v216:disabled{opacity:.45;cursor:not-allowed}
.pp-archive-modal-v216{width:min(940px,100%);max-height:92vh;overflow:auto}.pp-archive-identity-v216{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid rgba(201,154,76,.22);border-radius:13px;background:rgba(201,154,76,.07);padding:11px 13px;margin:13px 0}.pp-archive-identity-v216 h4{margin:0;font-size:16px;font-weight:950}.pp-archive-identity-v216 p{margin:3px 0 0;font-size:10.5px;font-weight:750;opacity:.68}.pp-archive-identity-v216 span{border-radius:999px;background:rgba(201,154,76,.14);padding:5px 8px;font-size:9.5px;font-weight:950;white-space:nowrap}
.pp-archive-groups-v216{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pp-archive-group-v216{min-width:0;border:1px solid var(--ep-line);border-radius:13px;background:var(--ep-panel,rgba(255,255,255,.05));padding:11px}.pp-archive-group-v216:last-child{grid-column:1/-1}.pp-archive-group-v216 h4{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:12px;font-weight:950}.pp-archive-fields-v216{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pp-archive-field-v216{display:grid;gap:5px;min-width:0}.pp-archive-field-v216.wide{grid-column:1/-1}.pp-archive-field-v216 label{font-size:9.5px;font-weight:900;opacity:.7}.pp-archive-field-v216 .pp-input,.pp-archive-field-v216 .pp-select{min-width:0!important;width:100%!important}.pp-archive-field-v216 .pp-readonly{max-width:none!important;min-height:35px;border:1px solid rgba(201,154,76,.18);border-radius:8px;padding:8px;white-space:normal!important;overflow-wrap:anywhere}.pp-archive-footer-v216{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}.pp-archive-footer-v216 small{max-width:620px;line-height:1.45;font-weight:750;opacity:.65}
@media(max-width:700px){.pp-main-table-v216{min-width:900px!important}.pp-archive-groups-v216,.pp-archive-fields-v216{grid-template-columns:1fr}.pp-archive-group-v216:last-child,.pp-archive-field-v216.wide{grid-column:auto}.pp-archive-identity-v216{align-items:stretch;flex-direction:column}.pp-archive-footer-v216 .ops-button{width:100%;justify-content:center}}
/* ===== /v2.0.16 ===== */

/* ===== v2.0.17 — UI-096 portrait / balanced typography / reliable toast ===== */
#toast{top:max(14px,env(safe-area-inset-top))!important;z-index:10120!important;width:max-content;max-width:min(620px,calc(100vw - 24px));min-height:48px;padding:10px 15px!important;border-radius:15px!important;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-18px)!important;transition:opacity .22s ease,transform .22s ease,visibility .22s ease!important;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
#toast.show{top:max(14px,env(safe-area-inset-top))!important;opacity:1;visibility:visible;transform:translate(-50%,0)!important}
#toast .ep-toast-icon-v217{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:9px;background:rgba(201,154,76,.12);font-size:14px!important}
#toast #toast-msg{min-width:0;font-size:clamp(11.5px,calc(11px + .12vw),13px);font-weight:850;letter-spacing:.005em;font-variant-numeric:tabular-nums}
#toast.toast-success-v217{border-color:rgba(22,163,74,.38);background:rgba(245,253,247,.97)!important;color:#155c31!important}#toast.toast-success-v217 .ep-toast-icon-v217{color:#16813d!important;background:rgba(22,163,74,.12)}
#toast.toast-error-v217{border-color:rgba(185,28,28,.38);background:rgba(255,247,247,.98)!important;color:#8f2020!important}#toast.toast-error-v217 .ep-toast-icon-v217{color:#b91c1c!important;background:rgba(185,28,28,.11)}
.dark-mode #toast.toast-success-v217{background:rgba(20,47,31,.98)!important;color:#b7f7cb!important}.dark-mode #toast.toast-error-v217{background:rgba(60,24,24,.98)!important;color:#fecaca!important}.dark-mode #toast.toast-info-v217{background:rgba(38,31,22,.98)!important;color:#f3e4c7!important}
.pp-archive-modal-v216,.pp-archive-modal-v216 input,.pp-archive-modal-v216 select,.pp-archive-modal-v216 button{font-family:Inter,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1}
.pp-archive-modal-v216{font-size:clamp(12px,calc(11.5px + .12vw),13px);font-weight:750;letter-spacing:.004em}.pp-archive-modal-v216 h3{font-size:clamp(20px,calc(18px + .45vw),25px)!important;line-height:1.2}.pp-archive-identity-v216 h4{font-size:clamp(16px,calc(15px + .22vw),18px);font-weight:900;line-height:1.28}.pp-archive-identity-v216 p{font-size:clamp(11px,calc(10.5px + .12vw),12px);font-weight:750;line-height:1.45}.pp-archive-group-v216 h4{font-size:clamp(12px,calc(11.5px + .12vw),13px);font-weight:900}.pp-archive-field-v216 label{font-size:clamp(10.5px,calc(10px + .1vw),11.5px);font-weight:800}.pp-archive-field-v216 .pp-input,.pp-archive-field-v216 .pp-select,.pp-archive-field-v216 .pp-readonly{font-size:clamp(11.5px,calc(11px + .1vw),12.5px);font-weight:750;line-height:1.35}.pp-archive-footer-v216 small{font-size:clamp(10.5px,calc(10px + .1vw),11.5px);font-weight:750}
.pp-archive-identity-v216{display:grid;grid-template-columns:132px minmax(0,1fr) auto;align-items:center}.pp-profile-photo-v217{display:grid;gap:7px;min-width:0}.pp-profile-photo-frame-v217{position:relative;display:grid;place-items:center;width:120px;aspect-ratio:3/4;overflow:hidden;border:1px solid rgba(201,154,76,.42);border-radius:15px;background:linear-gradient(145deg,rgba(201,154,76,.15),rgba(201,154,76,.035));box-shadow:inset 0 0 0 4px rgba(255,255,255,.18);color:#9b6d2c}.pp-profile-photo-frame-v217.editable{cursor:pointer}.pp-profile-photo-frame-v217.editable:hover{border-color:#c99a4c;box-shadow:0 0 0 3px rgba(201,154,76,.12),inset 0 0 0 4px rgba(255,255,255,.18)}.pp-profile-photo-frame-v217 img{width:100%;height:100%;object-fit:cover;object-position:center}.pp-profile-photo-placeholder-v217{display:grid;place-items:center;gap:6px;padding:10px;text-align:center}.pp-profile-photo-placeholder-v217 i{font-size:30px;opacity:.72}.pp-profile-photo-placeholder-v217 small{font-size:9.5px;font-weight:850;line-height:1.3}.pp-profile-photo-actions-v217{display:flex;align-items:center;gap:5px;flex-wrap:wrap;width:120px}.pp-profile-photo-actions-v217 button{flex:1;min-width:0;min-height:29px;padding:5px 7px;border:1px solid rgba(201,154,76,.3);border-radius:8px;background:rgba(201,154,76,.08);color:inherit;font-size:9.5px;font-weight:850;white-space:nowrap}.pp-profile-photo-actions-v217 button:hover{background:rgba(201,154,76,.16)}.pp-profile-photo-actions-v217 .remove{color:#a33b35}.pp-archive-person-copy-v217{min-width:0}.pp-archive-state-v217{align-self:start}
@media(max-width:700px){#toast{max-width:calc(100vw - 18px);width:calc(100vw - 18px)}.pp-archive-identity-v216{grid-template-columns:104px minmax(0,1fr);align-items:center}.pp-profile-photo-frame-v217{width:94px}.pp-profile-photo-actions-v217{width:94px}.pp-archive-state-v217{grid-column:1/-1;justify-self:start}.pp-archive-modal-v216{font-size:12px}}
/* ===== /v2.0.17 ===== */

/* ===== v2.0.18 — UI-096 identity beside portrait / 150% archive typography ===== */
.pp-archive-modal-v216{width:min(1120px,100%);font-size:clamp(18px,calc(17.25px + .18vw),19.5px);line-height:1.45}
.pp-archive-modal-v216 h3{font-size:clamp(30px,calc(27px + .675vw),37.5px)!important;line-height:1.18}
.pp-archive-modal-v216 #personnel-profile-archive-sub-v216{font-size:clamp(16.5px,calc(15.75px + .18vw),18px)!important;line-height:1.45;overflow-wrap:anywhere}
.pp-archive-identity-v216.pp-profile-top-v218{display:grid;grid-template-columns:154px minmax(0,1fr);align-items:start;gap:18px;padding:15px 17px;margin:15px 0}
.pp-profile-right-v218{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 13px;min-width:0}
.pp-profile-right-v218>.pp-archive-person-copy-v217{grid-column:1;min-width:0}.pp-profile-right-v218>.pp-archive-state-v217{grid-column:2;grid-row:1;align-self:start;justify-self:end}
.pp-profile-right-v218>.pp-profile-identity-docs-v218{grid-column:1/-1;width:100%;margin:0;min-width:0}
.pp-archive-identity-v216 h4{font-size:clamp(24px,calc(22.5px + .33vw),27px);line-height:1.28}.pp-archive-identity-v216 p{font-size:clamp(16.5px,calc(15.75px + .18vw),18px);line-height:1.45;overflow-wrap:anywhere}.pp-archive-identity-v216 .pp-archive-state-v217{padding:7.5px 12px;font-size:14.25px;line-height:1.3}
.pp-archive-group-v216{padding:14px}.pp-archive-group-v216 h4{font-size:clamp(18px,calc(17.25px + .18vw),19.5px);line-height:1.3;margin-bottom:12px}.pp-archive-field-v216 label{font-size:clamp(15.75px,calc(15px + .15vw),17.25px);line-height:1.35}.pp-archive-field-v216 .pp-input,.pp-archive-field-v216 .pp-select,.pp-archive-field-v216 .pp-readonly{font-size:clamp(17.25px,calc(16.5px + .15vw),18.75px);line-height:1.35;min-height:47px;padding:10px 11px}
.pp-archive-groups-v216.pp-profile-lower-v218{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pp-archive-groups-v216.pp-profile-lower-v218>.pp-archive-group-v216:last-child{grid-column:auto}
.pp-profile-photo-v217{gap:10px}.pp-profile-photo-frame-v217{width:138px}.pp-profile-photo-placeholder-v217{padding:12px}.pp-profile-photo-placeholder-v217 i{font-size:45px}.pp-profile-photo-placeholder-v217 small{font-size:14.25px;line-height:1.3}.pp-profile-photo-actions-v217{gap:7px;width:138px}.pp-profile-photo-actions-v217 button{min-height:44px;padding:7.5px 10.5px;font-size:14.25px;line-height:1.25;white-space:normal}.pp-archive-footer-v216{gap:14px;margin-top:15px}.pp-archive-footer-v216 small{max-width:780px;font-size:clamp(15.75px,calc(15px + .15vw),17.25px);line-height:1.45}.pp-archive-footer-v216 .ops-button{min-height:46px;padding:10px 16px;font-size:clamp(15.75px,calc(15px + .15vw),17.25px)}
@media(max-width:760px){.pp-archive-modal-v216{width:min(100%,720px)}.pp-archive-identity-v216.pp-profile-top-v218{grid-template-columns:128px minmax(0,1fr);gap:14px;padding:13px}.pp-profile-photo-frame-v217,.pp-profile-photo-actions-v217{width:116px}.pp-profile-photo-placeholder-v217 i{font-size:39px}.pp-profile-right-v218{grid-template-columns:minmax(0,1fr)}.pp-profile-right-v218>.pp-archive-state-v217{grid-column:1;grid-row:auto;justify-self:start}.pp-profile-right-v218>.pp-profile-identity-docs-v218{grid-column:1}.pp-archive-fields-v216{grid-template-columns:1fr}.pp-archive-field-v216.wide{grid-column:auto}.pp-archive-groups-v216.pp-profile-lower-v218{grid-template-columns:1fr}.pp-archive-groups-v216.pp-profile-lower-v218>.pp-archive-group-v216:last-child{grid-column:auto}}
@media(max-width:560px){.pp-archive-modal-v216{max-height:calc(100dvh - 12px);padding:16px!important}.pp-archive-identity-v216.pp-profile-top-v218{grid-template-columns:1fr}.pp-profile-photo-v217{justify-items:center}.pp-profile-photo-frame-v217,.pp-profile-photo-actions-v217{width:138px}.pp-profile-right-v218{width:100%}.pp-archive-footer-v216 .ops-button{width:100%;justify-content:center}}
/* ===== /v2.0.18 ===== */

/* ===== v2.0.19 — synchronized larger typography for UI-096 profile groups ===== */
.pp-profile-type-sync-v219{padding:16px}
.pp-profile-type-sync-v219 h4{min-height:36px;margin-bottom:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(24px,calc(23px + .25vw),27px);font-weight:900;line-height:1.25;letter-spacing:.004em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1;white-space:normal;overflow-wrap:anywhere}
.pp-profile-type-sync-v219 h4 i{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.15em;width:1.15em;font-size:1em;line-height:1}
.pp-profile-type-sync-v219 .pp-archive-fields-v216{gap:11px 10px}
.pp-profile-type-sync-v219 .pp-archive-field-v216{gap:7px}
.pp-profile-type-sync-v219 .pp-archive-field-v216 label,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-input,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-select,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(19px,calc(18.5px + .15vw),20.5px);line-height:1.4;letter-spacing:.004em;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1}
.pp-profile-type-sync-v219 .pp-archive-field-v216 label{font-weight:850;opacity:.82}.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-input,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-select,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{min-height:52px;padding:11px 12px;font-weight:780;overflow-wrap:anywhere}
@media(max-width:560px){.pp-profile-type-sync-v219{padding:14px}.pp-profile-type-sync-v219 h4{min-height:0;font-size:clamp(23px,calc(22.5px + .35vw),25px)}.pp-profile-type-sync-v219 .pp-archive-field-v216 label,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-input,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-select,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{font-size:clamp(18px,calc(17.5px + .2vw),19.5px)}}
/* ===== /v2.0.19 ===== */

/* ===== v2.0.20 — deep UI-096 typography cascade repair ===== */
.pp-archive-modal-v216{--pp-096-group-heading-v220:clamp(24px,calc(23px + .25vw),27px);--pp-096-field-type-v220:clamp(19px,calc(18.5px + .15vw),20.5px)}
.pp-profile-type-sync-v219{box-sizing:border-box;padding:16px}
.pp-profile-type-sync-v219 h4{min-height:0;margin:0 0 14px;font-size:var(--pp-096-group-heading-v220)!important;font-weight:900!important;line-height:1.25!important;letter-spacing:.004em;white-space:normal;overflow-wrap:anywhere}
.pp-profile-type-sync-v219 .pp-archive-fields-v216{align-items:start;gap:12px 10px}
.pp-profile-type-sync-v219 .pp-archive-field-v216{min-width:0;gap:7px}
.pp-profile-type-sync-v219 .pp-archive-field-v216 label,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-input,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-select,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{box-sizing:border-box;min-width:0!important;width:100%!important;max-width:none!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:var(--pp-096-field-type-v220)!important;line-height:1.4!important;letter-spacing:.004em!important;font-variant-numeric:tabular-nums!important;font-feature-settings:"tnum" 1,"lnum" 1!important}
.pp-profile-type-sync-v219 .pp-archive-field-v216 label{display:block;font-weight:850!important;opacity:.82;white-space:normal;overflow-wrap:anywhere}
.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-input,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-select,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{min-height:54px!important;padding:11px 12px!important;border-radius:9px!important;font-weight:800!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{display:flex;align-items:center;background:rgba(255,255,255,.58)}.dark-mode .pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{background:rgba(0,0,0,.28)}
.pp-profile-type-sync-v219 .pp-input[type="date"]{min-width:0!important;color-scheme:light dark}
.pp-profile-type-sync-v219 h4 i{display:none!important}.pp-profile-type-sync-v219 h4::before{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border:1px solid rgba(201,154,76,.34);border-radius:9px;background:rgba(201,154,76,.11);color:#c99a4c;font-size:11px;font-weight:950;line-height:1;letter-spacing:.02em}.pp-profile-type-sync-v219[data-ui-code="UI-096.M02.F01"] h4::before{content:"ID"}.pp-profile-type-sync-v219[data-ui-code="UI-096.M02.F02"] h4::before{content:"CN"}.pp-profile-type-sync-v219[data-ui-code="UI-096.M02.F03"] h4::before{content:"NH"}
.pp-profile-photo-symbol-v220{width:46px;height:46px;color:#a57835;opacity:.82}.pp-archive-close-v220{display:grid;place-items:center;flex:none;font-size:30px!important;font-weight:500!important;line-height:1!important}.pp-archive-close-v220 span{display:block;transform:translateY(-1px)}
@media(max-width:900px){.pp-archive-groups-v216.pp-profile-lower-v218{grid-template-columns:1fr!important}.pp-archive-groups-v216.pp-profile-lower-v218>.pp-archive-group-v216:last-child{grid-column:auto!important}}
@media(max-width:760px){.pp-profile-type-sync-v219 .pp-archive-fields-v216{grid-template-columns:1fr!important}.pp-profile-type-sync-v219 .pp-archive-field-v216.wide{grid-column:auto!important}}
@media(max-width:560px){.pp-archive-modal-v216{--pp-096-group-heading-v220:clamp(23px,calc(22.5px + .35vw),25px);--pp-096-field-type-v220:clamp(18px,calc(17.5px + .2vw),19.5px)}.pp-profile-type-sync-v219{padding:14px}.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-input,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-select,.pp-profile-type-sync-v219 .pp-archive-field-v216 .pp-readonly{min-height:52px!important;padding:10px 11px!important}}
/* ===== /v2.0.20 ===== */

/* ===== everprime-v2021-folder-history-lazy-style ===== */
/* ===== v2.0.21 — folder data / photo pan / undo-redo / histories / lazy render ===== */
.ep-topbar-icon.ep-v2021-action{position:relative}
.ep-topbar-icon.ep-v2021-action:disabled{opacity:.34;cursor:not-allowed;filter:grayscale(.55)}
.ep-topbar-icon.ep-v2021-action.connected{box-shadow:inset 0 0 0 1px rgba(22,163,74,.35)}
.ep-topbar-icon.ep-v2021-action .ep-action-dot-v2021{position:absolute;right:4px;top:4px;width:7px;height:7px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 2px var(--ep-panel-strong)}

.ep-history-overlay-v2021{position:fixed;inset:0;z-index:10240;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(20,15,10,.58);backdrop-filter:blur(7px)}
.ep-history-overlay-v2021.active{display:flex}
.ep-history-modal-v2021{width:min(980px,100%);max-height:min(780px,92dvh);display:flex;flex-direction:column;border:1px solid var(--ep-line);border-radius:20px;background:var(--ep-panel-strong);color:var(--ep-text);box-shadow:0 24px 80px rgba(0,0,0,.28);overflow:hidden}
.ep-history-head-v2021{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border-bottom:1px solid var(--ep-line)}
.ep-history-head-v2021 h3{margin:0;font-size:20px;font-weight:950}.ep-history-head-v2021 p{margin:3px 0 0;color:var(--ep-muted);font-size:12px;font-weight:750}
.ep-history-close-v2021{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--ep-line);border-radius:11px;color:inherit}
.ep-history-tabs-v2021{display:flex;gap:7px;padding:11px 15px;border-bottom:1px solid var(--ep-line);overflow-x:auto}
.ep-history-tab-v2021{min-height:36px;padding:7px 12px;border:1px solid var(--ep-line);border-radius:10px;font-size:12px;font-weight:900;white-space:nowrap;color:inherit}
.ep-history-tab-v2021.active{background:rgba(201,154,76,.16);border-color:rgba(201,154,76,.45)}
.ep-history-body-v2021{overflow:auto;padding:12px 15px 18px}
.ep-history-list-v2021{display:grid;gap:8px}
.ep-history-row-v2021{display:grid;grid-template-columns:155px 145px minmax(0,1fr);gap:12px;align-items:start;padding:11px 12px;border:1px solid var(--ep-line);border-radius:13px;background:rgba(201,154,76,.035)}
.ep-history-row-v2021 time,.ep-history-row-v2021 small{color:var(--ep-muted);font-size:11px;font-weight:750;line-height:1.45}.ep-history-row-v2021 b{font-size:12px;font-weight:950}.ep-history-row-v2021 p{margin:3px 0 0;font-size:11px;font-weight:750;line-height:1.45;overflow-wrap:anywhere}
.ep-history-pill-v2021{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:rgba(100,116,139,.12);font-size:10px;font-weight:950}.ep-history-pill-v2021.ok{background:rgba(22,163,74,.12);color:#16813d}.ep-history-pill-v2021.bad{background:rgba(185,28,28,.12);color:#b91c1c}.ep-history-pill-v2021.undo{background:rgba(37,99,235,.11);color:#2563eb}
.ep-history-empty-v2021{padding:42px 18px;text-align:center;color:var(--ep-muted);font-size:13px;font-weight:850}
.ep-history-foot-v2021{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border-top:1px solid var(--ep-line);font-size:11px;color:var(--ep-muted);font-weight:750;flex-wrap:wrap}

/* Chỉ màn hình đang chọn mới tham gia layout/paint; vùng bảng dài dùng content-visibility. */
#screen-mainapp .app-section:not(.active){content-visibility:hidden!important;contain:layout style paint!important}
#screen-mainapp .app-section.active :where(.ep-employee-list-table tbody tr,.pp-table tbody tr,.ops-table tbody tr,.ep-insurance-v200 tbody tr,.attendance-summary-table tbody tr){content-visibility:auto;contain-intrinsic-size:54px}
#screen-mainapp .app-section.active :where(.ep-panel,.ep-list-card,.glass-panel,.archive-card-v198){content-visibility:auto;contain-intrinsic-size:auto 160px}

/* Ảnh hồ sơ: kéo trực tiếp để chọn phần ảnh nằm trong khung. */
.pp-profile-photo-frame-v217 img[data-photo-pan-v2021]{width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:none;cursor:grab;will-change:object-position}
.pp-profile-photo-frame-v217.dragging-v2021 img[data-photo-pan-v2021]{cursor:grabbing}
.pp-profile-photo-frame-v217 .ep-photo-pan-hint-v2021{position:absolute;left:6px;right:6px;bottom:6px;pointer-events:none;padding:4px 6px;border-radius:8px;background:rgba(0,0,0,.56);color:#fff;font-size:9px;font-weight:850;text-align:center;opacity:0;transform:translateY(3px);transition:.18s}
.pp-profile-photo-frame-v217.editable:hover .ep-photo-pan-hint-v2021,.pp-profile-photo-frame-v217.dragging-v2021 .ep-photo-pan-hint-v2021{opacity:1;transform:none}

@media(max-width:1180px){.ep-history-row-v2021{grid-template-columns:135px 125px minmax(0,1fr)}}
@media(max-width:700px){.ep-history-overlay-v2021{padding:6px}.ep-history-modal-v2021{max-height:calc(100dvh - 12px);border-radius:15px}.ep-history-row-v2021{grid-template-columns:1fr;gap:5px}.ep-history-head-v2021 h3{font-size:18px}}
/* ===== /v2.0.21 ===== */

/* ===== v2.7 — UI-018 visible labels / UI-094 compact profile workflow ===== */
@media(min-width:901px){
  :root{--ep-primary-w:92px}
  .ep-primary-nav{gap:5px}
  #main-sidebar .ep-primary-item{min-height:72px;padding:16px 4px 7px;gap:6px}
}
#main-sidebar .ep-primary-item>.ep-primary-label-v2024{
  display:block!important;width:100%;max-width:84px;margin:0!important;padding:0 2px!important;
  color:inherit!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:11.5px!important;font-weight:900!important;line-height:1.18!important;
  letter-spacing:.005em!important;text-align:center!important;white-space:normal!important;
  overflow-wrap:anywhere!important;text-transform:none!important;opacity:1!important
}
#main-sidebar .ep-primary-item i{flex:none}

.ui094-main-table-v2024{width:100%;min-width:1080px;table-layout:fixed}
.ui094-main-table-v2024 th,.ui094-main-table-v2024 td{box-sizing:border-box;padding:8px 7px!important;vertical-align:middle}
.ui094-main-table-v2024 th:nth-child(1){width:48px}.ui094-main-table-v2024 th:nth-child(2){width:104px}.ui094-main-table-v2024 th:nth-child(3){width:158px}.ui094-main-table-v2024 th:nth-child(4){width:122px}.ui094-main-table-v2024 th:nth-child(5){width:132px}.ui094-main-table-v2024 th:nth-child(6),.ui094-main-table-v2024 th:nth-child(7){width:126px}.ui094-main-table-v2024 th:nth-child(8){width:170px}.ui094-main-table-v2024 th:nth-child(9){width:92px}.ui094-main-table-v2024 th:nth-child(10){width:82px}
.ui094-main-table-v2024 td:nth-child(2),.ui094-main-table-v2024 td:nth-child(3){font-weight:900}
@media(min-width:761px){.ui094-main-table-v2024 th:nth-child(2),.ui094-main-table-v2024 td:nth-child(2){position:sticky;left:0;z-index:3;background:var(--ins-panel)!important}.ui094-main-table-v2024 th:nth-child(3),.ui094-main-table-v2024 td:nth-child(3){position:sticky;left:104px;z-index:3;background:var(--ins-panel)!important;box-shadow:7px 0 10px rgba(66,45,15,.05)}.ui094-main-table-v2024 th:nth-child(2),.ui094-main-table-v2024 th:nth-child(3){z-index:5;background:var(--ins-head)!important;color:#fff!important}}
.ui094-main-table-v2024 .ui094-control-v2024,.ui094-main-table-v2024 .ui094-readonly-v2024{min-height:38px}
.ui094-control-v2024,.ui094-readonly-v2024{
  box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;border:1px solid var(--ins-line);
  border-radius:9px;background:var(--ins-input);color:var(--ins-text);padding:8px 9px;
  font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(12px,calc(11.6px + .1vw),13px);
  font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1;
  overflow-wrap:anywhere;white-space:normal
}
select.ui094-control-v2024{display:block}.ui094-readonly-v2024{background:rgba(255,255,255,.42)}.dark-mode .ui094-readonly-v2024{background:rgba(0,0,0,.22)}
.ui094-money-locked-v2024{gap:6px;letter-spacing:.05em}.ui094-row-button-v2024{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:37px;padding:7px 8px;border:1px solid var(--ins-line);border-radius:9px;background:rgba(201,154,76,.1);color:var(--ins-text);font-size:11px;font-weight:900;white-space:nowrap}.ui094-row-button-v2024.profile{background:rgba(37,99,235,.1);color:#285db8}.dark-mode .ui094-row-button-v2024.profile{color:#9bbcff}.ui094-row-button-v2024.pending{background:#c99a4c;color:#fff;border-color:#c99a4c;box-shadow:0 0 0 3px rgba(201,154,76,.13)}.ui094-row-button-v2024:disabled{opacity:.45;cursor:not-allowed}.ui094-main-table-v2024 tr.has-ui094-draft-v2024 td{background:rgba(201,154,76,.045)}

.ui094-modal-v2024{width:min(1120px,100%);max-height:min(920px,calc(100dvh - 28px));overflow:auto;padding:22px!important;color:var(--ins-text);background:var(--ins-panel)!important}
.ui094-modal-head-v2024{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.ui094-modal-head-v2024 h3{display:flex;align-items:center;gap:9px;margin:0;font-size:clamp(22px,calc(21px + .35vw),27px);font-weight:950;line-height:1.25}.ui094-modal-head-v2024 h3 i{color:#c99a4c}.ui094-modal-head-v2024 p{margin:5px 0 0;color:var(--ep-muted);font-size:13px;font-weight:800}.ui094-close-v2024{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--ins-line);border-radius:12px;color:inherit;font-size:29px;font-weight:500;line-height:1}.ui094-close-v2024 span{transform:translateY(-1px)}
.ui094-profile-identity-v2024{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:15px 0;padding:14px 16px;border:1px solid var(--ins-line);border-radius:14px;background:var(--ins-panel-alt)}.ui094-profile-identity-v2024 h4{margin:0;font-size:21px;font-weight:950}.ui094-profile-identity-v2024 p{margin:4px 0 0;font-size:13px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}.ui094-profile-identity-v2024>span{flex:none;padding:6px 10px;border-radius:999px;background:rgba(201,154,76,.14);font-size:11px;font-weight:900}
.ui094-profile-groups-v2024{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}.ui094-profile-group-v2024{min-width:0;padding:15px;border:1px solid var(--ins-line);border-radius:14px;background:var(--ins-panel-alt)}.ui094-profile-group-v2024:last-child{grid-column:1/-1}.ui094-profile-group-v2024 h4{margin:0 0 12px;font-size:clamp(18px,calc(17px + .25vw),21px);font-weight:950;line-height:1.3}.ui094-profile-fields-v2024{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ui094-profile-field-v2024{display:grid;align-content:start;gap:6px;min-width:0}.ui094-profile-field-v2024.wide{grid-column:1/-1}.ui094-profile-field-v2024 label{font-size:13px;font-weight:900;line-height:1.3}.ui094-profile-field-v2024 .ui094-control-v2024,.ui094-profile-field-v2024 .ui094-readonly-v2024{min-height:48px;padding:10px 11px;font-size:clamp(14px,calc(13.5px + .15vw),15.5px)}
.ui094-modal-foot-v2024{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:13px;border-top:1px solid var(--ins-line)}.ui094-modal-foot-v2024 small{font-size:12px;font-weight:800;line-height:1.45}.ui094-modal-foot-v2024 .ops-button{flex:none}
@media(max-width:900px){.ui094-profile-groups-v2024{grid-template-columns:1fr}.ui094-profile-group-v2024:last-child{grid-column:auto}}
@media(max-width:760px){
  #main-sidebar .ep-primary-item>.ep-primary-label-v2024{max-width:66px;font-size:9.5px!important}
  .ui094-main-table-v2024{display:block;min-width:0!important;width:100%}.ui094-main-table-v2024 thead{display:none}.ui094-main-table-v2024 tbody{display:grid;gap:10px;padding:10px}.ui094-main-table-v2024 tr{display:block;border:1px solid var(--ins-line);border-radius:13px;overflow:hidden;background:var(--ins-panel-alt)}.ui094-main-table-v2024 td{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:9px;width:100%!important;min-width:0!important;border-bottom:1px solid var(--ins-line)!important}.ui094-main-table-v2024 td:last-child{border-bottom:0!important}.ui094-main-table-v2024 td::before{content:attr(data-label);font-size:10px;font-weight:950;color:var(--ep-muted);text-transform:uppercase;letter-spacing:.04em}.ui094-main-table-v2024 .ui094-row-button-v2024{width:max-content;min-width:108px}.ui094-profile-fields-v2024{grid-template-columns:1fr}.ui094-profile-field-v2024.wide{grid-column:auto}.ui094-modal-v2024{padding:15px!important;max-height:calc(100dvh - 12px)}.ui094-profile-identity-v2024,.ui094-modal-foot-v2024{align-items:flex-start;flex-direction:column}.ui094-modal-foot-v2024 .ops-button{width:100%;justify-content:center}
}
/* ===== /v2.7 ===== */


/* ===== v2.7 — cân cột thích ứng / giảm tải vẽ khi cuộn ===== */
:root{
  --ep-type-body-v27:clamp(12px,calc(11.2px + .12vw),14px);
  --ep-type-table-v27:clamp(11px,calc(10.35px + .11vw),12.75px);
  --ep-type-table-head-v27:clamp(10px,calc(9.5px + .09vw),11.5px)
}
#screen-mainapp{font-size:var(--ep-type-body-v27)!important;font-variant-numeric:tabular-nums lining-nums}
#screen-mainapp :where(.ep-employee-list-table,.pp-table,.ui094-main-table-v2024,.ops-table,.attendance-summary-table){font-size:var(--ep-type-table-v27)!important}
#screen-mainapp :where(.ep-employee-list-table th,.pp-table th,.ui094-main-table-v2024 th,.ops-table th,.attendance-summary-table th){font-size:var(--ep-type-table-head-v27)!important;font-weight:900!important;line-height:1.22!important}
#screen-mainapp :where(.ep-employee-list-table td,.pp-table td,.ui094-main-table-v2024 td,.ops-table td,.attendance-summary-table td){font-size:var(--ep-type-table-v27)!important;line-height:1.28!important}

/* Những bề mặt lặp nhiều lần không dùng blur GPU; topbar/sidebar/modal vẫn giữ nhận diện hiện tại. */
#screen-mainapp :where(.ep-panel,.ep-list-card,.ep-stat-card,.ops-kpi,.ops-table-wrap,.ep-table-scroll,.ep-employee-list-panel,.attendance-summary-card,.archive-card-v198){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#screen-mainapp :where(.ep-table-scroll,.ep-employee-list-shell,.pp-table-scroll,#attendance-table,#payroll-table,.attendance-summary-scroll){contain:layout paint;scroll-behavior:auto!important}
#screen-mainapp :where(table tbody tr,table tbody td){transition:none!important}

/* UI-020: vừa vùng làm việc PC thông dụng, không ép chiều ngang dư thừa. */
#employee-list-container .ep-employee-list-table{width:100%!important;min-width:1000px!important;table-layout:fixed!important}
#employee-list-container .ep-employee-list-table :where(th,td){min-width:0!important;max-width:none!important;padding:5px 6px!important}
#employee-list-container .ep-employee-list-table :where(input,select,.ep-list-edit,.ep-list-readonly){width:100%!important;min-width:0!important;max-width:100%!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(1){width:38px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(2){width:140px!important;left:38px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(3){width:94px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(4){width:94px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(5){width:104px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(6){width:132px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(7),#employee-list-container .ep-employee-list-table :is(th,td):nth-child(8){width:104px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(9){width:125px!important}
#employee-list-container .ep-employee-list-table :is(th,td):nth-child(10){width:66px!important}
#employee-list-container .ep-list-contract,#employee-list-container .ep-list-money-cell,#employee-list-container .ep-list-alert{min-width:0!important;max-width:none!important}
#employee-list-container .ep-list-alert-main{min-width:0!important;display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;gap:4px!important}
#employee-list-container .ep-list-alert-main :where(b,small){overflow-wrap:anywhere!important}

/* UI-096 và UI-094: chiều rộng cột được phân bổ theo nội dung chính. */
.pp-main-table-v216{width:100%!important;min-width:900px!important;table-layout:fixed!important}
.pp-main-table-v216 :where(th,td){min-width:0!important;max-width:none!important;padding:5px 6px!important}
.pp-main-table-v216 :where(input,select,.pp-input,.pp-select,.pp-readonly){width:100%!important;min-width:0!important;max-width:100%!important}
.pp-main-table-v216 :is(th,td):nth-child(1){width:40px}.pp-main-table-v216 :is(th,td):nth-child(2){width:84px}.pp-main-table-v216 :is(th,td):nth-child(3){width:108px}.pp-main-table-v216 :is(th,td):nth-child(4){width:134px}.pp-main-table-v216 :is(th,td):nth-child(5){width:110px}.pp-main-table-v216 :is(th,td):nth-child(6){width:90px}.pp-main-table-v216 :is(th,td):nth-child(7){width:106px}.pp-main-table-v216 :is(th,td):nth-child(8){width:92px}.pp-main-table-v216 :is(th,td):nth-child(9){width:76px}.pp-main-table-v216 :is(th,td):nth-child(10),.pp-main-table-v216 :is(th,td):nth-child(11){width:72px}
.ui094-main-table-v2024{width:100%!important;min-width:960px!important;table-layout:fixed!important}
.ui094-main-table-v2024 :where(th,td){min-width:0!important;max-width:none!important;padding:5px 6px!important}
.ui094-main-table-v2024 :where(input,select,.ui094-control-v2024,.ui094-readonly-v2024){width:100%!important;min-width:0!important;max-width:100%!important}
.ui094-main-table-v2024 :is(th,td):nth-child(1){width:40px}.ui094-main-table-v2024 :is(th,td):nth-child(2){width:92px}.ui094-main-table-v2024 :is(th,td):nth-child(3){width:142px}.ui094-main-table-v2024 :is(th,td):nth-child(4){width:105px}.ui094-main-table-v2024 :is(th,td):nth-child(5){width:112px}.ui094-main-table-v2024 :is(th,td):nth-child(6),.ui094-main-table-v2024 :is(th,td):nth-child(7){width:108px}.ui094-main-table-v2024 :is(th,td):nth-child(8){width:140px}.ui094-main-table-v2024 :is(th,td):nth-child(9),.ui094-main-table-v2024 :is(th,td):nth-child(10){width:72px}
@media(min-width:761px){.ui094-main-table-v2024 :is(th,td):nth-child(3){left:92px!important}}

/* Công/Lương có nhiều số liệu: chỉ cuộn trong bảng, giảm gần 20% chiều rộng cũ. */
#attendance-table .ops-table{width:100%!important;min-width:940px!important;table-layout:fixed!important}
#payroll-table .ops-table{width:100%!important;min-width:1440px!important;table-layout:fixed!important}
#attendance-table .ops-table :where(th,td),#payroll-table .ops-table :where(th,td){min-width:0!important;padding:5px!important}
#attendance-table .ops-number-input{width:100%!important;min-width:44px!important;max-width:66px!important}
#attendance-table .ops-table .tp-sticky-1{width:36px!important;min-width:36px!important}
#attendance-table .ops-table .tp-sticky-2{left:36px!important;width:132px!important;min-width:132px!important}
#attendance-table .ops-table .tp-sticky-3{left:168px!important;width:84px!important;min-width:84px!important}
#payroll-table .ops-table .tp-sticky-1{width:36px!important;min-width:36px!important}
#payroll-table .ops-table .tp-sticky-2{left:36px!important;width:132px!important;min-width:132px!important}
#payroll-table .ops-table .tp-sticky-3{left:168px!important;width:84px!important;min-width:84px!important}

/* Cảnh báo: tách mức độ, tên và thao tác thành các vùng không thể chồng chữ. */
#hr-alert-list .ep-alert-row{display:grid!important;grid-template-columns:minmax(130px,.72fr) minmax(150px,1fr) minmax(150px,1fr) minmax(125px,.85fr) minmax(160px,1.15fr) minmax(96px,auto)!important;align-items:center!important;gap:clamp(6px,.65vw,10px)!important}
#hr-alert-list .ep-alert-row>*{position:relative!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
#hr-alert-list :where(.ep-alert-severity,.ep-alert-cell b,.ep-alert-cell small,.ep-alert-action){white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
#hr-alert-list .ep-alert-severity{display:inline-flex!important;align-items:flex-start!important;line-height:1.25!important}

@media(max-width:1100px){
  #employee-list-container .ep-employee-list-table{min-width:940px!important}
  .pp-main-table-v216{min-width:850px!important}.ui094-main-table-v2024{min-width:900px!important}
  #attendance-table .ops-table{min-width:900px!important}#payroll-table .ops-table{min-width:1360px!important}
  #hr-alert-list .ep-alert-row{grid-template-columns:minmax(125px,.8fr) minmax(140px,1fr) minmax(140px,1fr) minmax(150px,1.1fr)!important}
  #hr-alert-list .ep-alert-row>.ep-alert-cell:nth-of-type(3){grid-column:2/4}#hr-alert-list .ep-alert-action{justify-self:start}
}

@media(max-width:760px){
  /* Hàng tiêu đề trở thành dải nút lọc; dữ liệu thành thẻ để không phải kéo ngang. */
  #employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important}
  #employee-list-container .ep-employee-list-table thead,.pp-main-table-v216 thead,.ui094-main-table-v2024 thead{display:block!important;padding:5px!important;border-bottom:1px solid var(--ep-line);overflow-x:auto!important}
  #employee-list-container .ep-employee-list-table thead tr,.pp-main-table-v216 thead tr,.ui094-main-table-v2024 thead tr{display:flex!important;gap:4px!important;width:max-content!important}
  #employee-list-container .ep-employee-list-table thead th,.pp-main-table-v216 thead th,.ui094-main-table-v2024 thead th{position:relative!important;left:auto!important;top:auto!important;display:flex!important;align-items:center!important;width:auto!important;min-width:82px!important;max-width:145px!important;min-height:34px!important;padding:5px 29px 5px 7px!important;border:1px solid var(--ep-line)!important;border-radius:8px!important;white-space:normal!important}
  #employee-list-container .ep-employee-list-table tbody,.pp-main-table-v216 tbody,.ui094-main-table-v2024 tbody{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:7px!important}
  #employee-list-container .ep-employee-list-table tbody tr,.pp-main-table-v216 tbody tr,.ui094-main-table-v2024 tbody tr{display:block!important;border:1px solid var(--ep-line)!important;border-radius:12px!important;overflow:hidden!important;background:var(--ep-panel)!important}
  #employee-list-container .ep-employee-list-table tbody td,.pp-main-table-v216 tbody td,.ui094-main-table-v2024 tbody td{position:static!important;left:auto!important;display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:none!important;padding:6px 8px!important;border-bottom:1px solid var(--ep-line)!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
  #employee-list-container .ep-employee-list-table tbody td:last-child,.pp-main-table-v216 tbody td:last-child,.ui094-main-table-v2024 tbody td:last-child{border-bottom:0!important}
  #employee-list-container .ep-employee-list-table tbody td::before,.pp-main-table-v216 tbody td::before,.ui094-main-table-v2024 tbody td::before{font-size:10px;font-weight:900;color:var(--ep-muted);line-height:1.2;text-transform:uppercase;letter-spacing:.025em}
  #employee-list-container .ep-employee-list-table tbody td:nth-child(1)::before{content:'STT'}#employee-list-container .ep-employee-list-table tbody td:nth-child(2)::before{content:'Tên'}#employee-list-container .ep-employee-list-table tbody td:nth-child(3)::before{content:'Mã NV'}#employee-list-container .ep-employee-list-table tbody td:nth-child(4)::before{content:'Bộ phận'}#employee-list-container .ep-employee-list-table tbody td:nth-child(5)::before{content:'Chức vụ'}#employee-list-container .ep-employee-list-table tbody td:nth-child(6)::before{content:'HĐLĐ'}#employee-list-container .ep-employee-list-table tbody td:nth-child(7)::before{content:'Lương CB'}#employee-list-container .ep-employee-list-table tbody td:nth-child(8)::before{content:'Tổng lương'}#employee-list-container .ep-employee-list-table tbody td:nth-child(9)::before{content:'Cảnh báo'}#employee-list-container .ep-employee-list-table tbody td:nth-child(10)::before{content:'Thao tác'}
  .pp-main-table-v216 tbody td:nth-child(1)::before{content:'STT'}.pp-main-table-v216 tbody td:nth-child(2)::before{content:'Số thẻ'}.pp-main-table-v216 tbody td:nth-child(3)::before{content:'Ngày vào xưởng'}.pp-main-table-v216 tbody td:nth-child(4)::before{content:'Họ tên'}.pp-main-table-v216 tbody td:nth-child(5)::before{content:'Chức vụ'}.pp-main-table-v216 tbody td:nth-child(6)::before{content:'Mã NV'}.pp-main-table-v216 tbody td:nth-child(7)::before{content:'Bộ phận'}.pp-main-table-v216 tbody td:nth-child(8)::before{content:'Năm sinh'}.pp-main-table-v216 tbody td:nth-child(9)::before{content:'Giới tính'}.pp-main-table-v216 tbody td:nth-child(10)::before{content:'Hồ sơ'}.pp-main-table-v216 tbody td:nth-child(11)::before{content:'Lưu'}
  .ui094-main-table-v2024 tbody td::before{content:attr(data-label)!important}
  #employee-list-container .ep-list-actions{justify-content:flex-start!important}.pp-main-table-v216 .pp-row-button-v216,.ui094-main-table-v2024 .ui094-row-button-v2024{width:100%!important;max-width:180px!important}
  #attendance-table .ops-table{min-width:860px!important}#payroll-table .ops-table{min-width:1280px!important}
  #hr-alert-list .ep-alert-row{grid-template-columns:1fr!important;gap:6px!important;padding:10px!important}#hr-alert-list .ep-alert-row>.ep-alert-cell:nth-of-type(3){grid-column:auto}#hr-alert-list .ep-alert-action{width:100%!important;justify-content:center!important}
}

@media(max-width:430px){
  #screen-mainapp .ep-main-content{padding-left:4px!important;padding-right:4px!important}
  #employee-list-container .ep-employee-list-table tbody td,.pp-main-table-v216 tbody td,.ui094-main-table-v2024 tbody td{grid-template-columns:92px minmax(0,1fr)!important;padding:6px!important}
  #attendance-table .ops-table{min-width:820px!important}#payroll-table .ops-table{min-width:1220px!important}
}
/* ===== /v2.7 — cân cột thích ứng / giảm tải vẽ khi cuộn ===== */

/* ===== v2.7 — UI-020 global money eye / UI-094 opaque dark-theme repair ===== */
#ui020-global-money-eye-v27{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;
  border:1px solid rgba(201,154,76,.42);border-radius:10px;background:rgba(201,154,76,.11);
  color:var(--ep-text);font:900 12px/1.2 Inter,"Segoe UI",Arial,sans-serif;white-space:nowrap;
  transition:background .18s,border-color .18s,box-shadow .18s,transform .18s
}
#ui020-global-money-eye-v27:hover:not(:disabled){background:rgba(201,154,76,.18);border-color:rgba(201,154,76,.7)}
#ui020-global-money-eye-v27:active:not(:disabled){transform:translateY(1px)}
#ui020-global-money-eye-v27[aria-pressed="true"]{background:linear-gradient(135deg,#a97934,#c29a59);border-color:#d0aa69;color:#fff;box-shadow:0 7px 19px rgba(92,58,20,.2)}
#ui020-global-money-eye-v27:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(210,164,92,.25)}
#ui020-global-money-eye-v27:disabled{opacity:.43;cursor:not-allowed}
body.dark-mode #ui020-global-money-eye-v27{border-color:rgba(226,185,116,.42);background:rgba(210,164,92,.12);color:#f4e6ce}
body.dark-mode #ui020-global-money-eye-v27[aria-pressed="true"]{background:linear-gradient(135deg,#7d5527,#b48745);border-color:#ddb66d;color:#fff7e7}

/* Modal hồ sơ UI-094 nằm trực tiếp dưới body. Khai báo biến cho cả màn hình và modal
   để modal không rơi về nền trong suốt khi bật giao diện tối. */
#screen-insurance,#insurance-profile-modal-v2024{
  --ins-canvas:#eadbc2;--ins-panel:#f7ecda;--ins-panel-alt:#ead6b6;--ins-row:#f8eedf;--ins-row-alt:#efdfc5;
  --ins-line:rgba(94,61,25,.27);--ins-text:#302216;--ins-muted:#725b41;--ins-input:#fff9ef;
  --ins-head:#694721;--ins-accent:#a97731;--ins-focus:#b9853c;--ins-shadow:0 16px 42px rgba(76,48,18,.18);
  color-scheme:light
}
body.dark-mode #screen-insurance,body.dark-mode #insurance-profile-modal-v2024{
  --ins-canvas:#0e0905;--ins-panel:#18110b;--ins-panel-alt:#162a3d;--ins-row:#1a120c;--ins-row-alt:#162a3d;
  --ins-line:rgba(232,199,139,.22);--ins-text:#f4e6ce;--ins-muted:#bda98b;--ins-input:#2b1d12;
  --ins-head:#4b321c;--ins-accent:#d2a45c;--ins-focus:#e0b66f;--ins-shadow:0 22px 62px rgba(0,0,0,.48);
  color-scheme:dark
}

#screen-insurance{background:var(--ins-canvas);color:var(--ins-text)}
#screen-insurance .ep-section-head h2,#screen-insurance .ep-section-head h3{color:var(--ins-text)}
#screen-insurance .ep-section-head p,#screen-insurance .eyebrow{color:var(--ins-muted)}
#screen-insurance .ep-stat-card{border-color:var(--ins-line);background:linear-gradient(145deg,var(--ins-panel),var(--ins-panel-alt));color:var(--ins-text);box-shadow:0 7px 21px rgba(53,34,14,.09)}
#screen-insurance .ep-stat-card small,#screen-insurance .ep-stat-card span{color:var(--ins-muted)}
#screen-insurance .ep-list-card,#screen-insurance .ops-toolbar,#screen-insurance .table-wrap{border-color:var(--ins-line);background:var(--ins-panel);color:var(--ins-text);box-shadow:var(--ins-shadow)}
#screen-insurance .ops-toolbar{box-shadow:none}
#screen-insurance .ops-input{border-color:var(--ins-line);background:var(--ins-input);color:var(--ins-text);color-scheme:inherit}
#screen-insurance .ops-input::placeholder{color:var(--ins-muted);opacity:.9}
#screen-insurance .ops-input:focus{outline:0;border-color:var(--ins-focus);box-shadow:0 0 0 3px rgba(185,133,60,.2)}
#screen-insurance .ops-button{border-color:var(--ins-line);background:var(--ins-panel-alt);color:var(--ins-text)}
#screen-insurance .ops-table{background:var(--ins-panel);color:var(--ins-text)}
#screen-insurance .ops-table thead th{border-color:var(--ins-line);background:var(--ins-head);color:#fff6e7}
#screen-insurance .ops-table tbody tr:nth-child(odd) td{background:var(--ins-row)}
#screen-insurance .ops-table tbody tr:nth-child(even) td{background:var(--ins-row-alt)}
#screen-insurance .ops-table td{border-color:var(--ins-line);color:var(--ins-text)}
#screen-insurance .ui094-main-table-v2024 th:nth-child(2),#screen-insurance .ui094-main-table-v2024 td:nth-child(2),#screen-insurance .ui094-main-table-v2024 th:nth-child(3),#screen-insurance .ui094-main-table-v2024 td:nth-child(3){background:var(--ins-row)!important}
#screen-insurance .ui094-main-table-v2024 th:nth-child(2),#screen-insurance .ui094-main-table-v2024 th:nth-child(3){background:var(--ins-head)!important;color:#fff6e7!important}
#screen-insurance .ui094-control-v2024,#screen-insurance .ui094-readonly-v2024{border-color:var(--ins-line);background:var(--ins-input);color:var(--ins-text);color-scheme:inherit}
#screen-insurance select.ui094-control-v2024 option{background:var(--ins-input);color:var(--ins-text)}
#screen-insurance .ui094-control-v2024:focus{outline:0;border-color:var(--ins-focus);box-shadow:0 0 0 3px rgba(185,133,60,.2)}
#screen-insurance .ui094-readonly-v2024{background:var(--ins-panel-alt)}
#screen-insurance .ui094-row-button-v2024{border-color:var(--ins-line);background:var(--ins-panel-alt);color:var(--ins-text)}
#screen-insurance .ui094-row-button-v2024.profile{background:rgba(65,111,186,.17);color:var(--ins-text)}
#screen-insurance .ui094-row-button-v2024.pending{background:var(--ins-accent);border-color:var(--ins-accent);color:#fff}

#insurance-profile-modal-v2024{background:rgba(14,9,5,.78)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#insurance-profile-modal-v2024 .ui094-modal-v2024{border:1px solid var(--ins-line);background:var(--ins-panel)!important;color:var(--ins-text);box-shadow:var(--ins-shadow)}
#insurance-profile-modal-v2024 .ui094-modal-head-v2024 h3,#insurance-profile-modal-v2024 .ui094-profile-identity-v2024 h4,#insurance-profile-modal-v2024 .ui094-profile-group-v2024 h4{color:var(--ins-text)}
#insurance-profile-modal-v2024 .ui094-modal-head-v2024 p,#insurance-profile-modal-v2024 .ui094-modal-foot-v2024 small{color:var(--ins-muted)}
#insurance-profile-modal-v2024 .ui094-modal-head-v2024 h3 i{color:var(--ins-accent)}
#insurance-profile-modal-v2024 .ui094-close-v2024{border-color:var(--ins-line);background:var(--ins-panel-alt);color:var(--ins-text)}
#insurance-profile-modal-v2024 .ui094-profile-identity-v2024,#insurance-profile-modal-v2024 .ui094-profile-group-v2024{border-color:var(--ins-line);background:var(--ins-panel-alt);color:var(--ins-text)}
#insurance-profile-modal-v2024 .ui094-profile-identity-v2024>span{background:rgba(201,154,76,.18);color:var(--ins-text)}
#insurance-profile-modal-v2024 .ui094-profile-field-v2024 label{color:var(--ins-text)}
#insurance-profile-modal-v2024 .ui094-control-v2024,#insurance-profile-modal-v2024 .ui094-readonly-v2024{border-color:var(--ins-line);background:var(--ins-input);color:var(--ins-text);color-scheme:inherit}
#insurance-profile-modal-v2024 select.ui094-control-v2024 option{background:var(--ins-input);color:var(--ins-text)}
#insurance-profile-modal-v2024 .ui094-control-v2024:focus{outline:0;border-color:var(--ins-focus);box-shadow:0 0 0 3px rgba(224,182,111,.2)}
#insurance-profile-modal-v2024 .ui094-readonly-v2024{background:var(--ins-panel)}
#insurance-profile-modal-v2024 .ui094-modal-foot-v2024{border-color:var(--ins-line)}
#insurance-profile-modal-v2024 .ui094-modal-foot-v2024 .ops-button{border-color:var(--ins-accent);background:var(--ins-accent);color:#fff}

@media(max-width:760px){
  #ui020-global-money-eye-v27{min-height:36px;padding:7px 9px;font-size:11px}
  #ui020-global-money-eye-v27 span{display:none}
  #screen-insurance .ui094-main-table-v2024 tbody{background:var(--ins-canvas)}
  #screen-insurance .ui094-main-table-v2024 tr{border-color:var(--ins-line);background:var(--ins-panel)}
  #screen-insurance .ui094-main-table-v2024 td,#screen-insurance .ui094-main-table-v2024 td:nth-child(2),#screen-insurance .ui094-main-table-v2024 td:nth-child(3){background:var(--ins-panel)!important;color:var(--ins-text)}
  #screen-insurance .ui094-main-table-v2024 td:nth-child(even){background:var(--ins-panel-alt)!important}
}
/* ===== /v2.7 UI-020/UI-094 repair ===== */

/* ===== v2.7 — reliable top toast / balanced UI-020 roster ===== */
#toast{
  position:fixed!important;
  z-index:2147483000!important;
  top:max(12px,env(safe-area-inset-top))!important;
  left:50%!important;
  right:auto!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  isolation:isolate;
  transform:translate(-50%,0)!important;
  transition:opacity .18s ease,visibility .18s ease!important;
  box-shadow:0 18px 48px rgba(30,20,9,.24),0 0 0 1px rgba(255,255,255,.28) inset!important;
}
#toast.show{top:max(12px,env(safe-area-inset-top))!important;pointer-events:auto!important}
#toast.toast-info-v217{border-color:rgba(201,154,76,.42);background:rgba(255,251,244,.98)!important;color:#5f431f!important}
#toast.toast-info-v217 .ep-toast-icon-v217{color:#8d642c!important;background:rgba(201,154,76,.14)!important}
.dark-mode #toast{box-shadow:0 18px 52px rgba(0,0,0,.56),0 0 0 1px rgba(255,255,255,.08) inset!important}

#employee-list-container .ep-employee-list-table{
  min-width:1090px!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-variant-numeric:tabular-nums lining-nums;
}
#employee-list-container .ep-employee-list-table :where(th,td,input,select,button,.ep-list-readonly,.money-value){
  font-family:inherit!important;
  font-variant-numeric:inherit;
  text-rendering:optimizeLegibility;
}
#employee-list-container .ep-employee-list-table td,
#employee-list-container .ep-employee-list-table :where(.ep-list-edit,.ep-list-readonly,.ep-list-contract select,.money-value){
  font-size:var(--ep-type-table-v211)!important;
  line-height:1.35!important;
  font-weight:760!important;
}
#employee-list-container .ep-employee-list-table th{line-height:1.3!important;font-weight:900!important;letter-spacing:.025em!important}
#employee-list-container .ep-list-edit,
#employee-list-container .ep-list-contract select{min-height:34px!important}
#employee-list-container .ep-list-money-cell{min-width:118px!important}
#employee-list-container .ep-list-money-view{width:100%;justify-content:space-between;gap:7px}
#employee-list-container .ep-list-money-view .money-value{min-width:0!important;flex:1;text-align:right;white-space:nowrap}
#employee-list-container .ep-list-money-cell .money-eye{display:none!important}
#employee-list-container .ep-list-money-cell .money-edit{flex:none;width:27px!important;height:27px!important}
#employee-list-container .ep-list-alert{min-width:175px!important;max-width:230px!important}
@media(max-width:700px){
  #toast{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;top:max(8px,env(safe-area-inset-top))!important}
  #toast.show{top:max(8px,env(safe-area-inset-top))!important}
  #employee-list-container .ep-employee-list-table{min-width:1040px!important}
}
/* ===== /v2.7 ===== */

/* Deep-QA v2.7: thanh tìm Master Roster trong Công/Lương không được đẩy
   nút xóa ra ngoài viewport hẹp. */
@media(max-width:700px){
  #screen-mainapp .linked-roster-search-v195{
    display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;width:100%!important;min-width:0!important;box-sizing:border-box!important
  }
  #screen-mainapp .linked-roster-search-v195 input{
    width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important
  }
  #screen-mainapp .linked-roster-search-v195>.ops-button{min-width:0!important;max-width:38px!important;padding-left:7px!important;padding-right:7px!important}
}

/* ===== v2.7 — hệ biểu tượng SVG cục bộ, không phụ thuộc CDN/webfont ===== */
:root{
  --ep-icon-dot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E");
  --ep-icon-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4%2021a8%208%200%200%201%2016%200'/%3E%3C/svg%3E");
  --ep-icon-users:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.7'/%3E%3Cpath d='M3%2021a6%206%200%200%201%2012%200M14%2016a5%205%200%200%201%207%205'/%3E%3C/svg%3E");
  --ep-icon-calendar:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M8%202v4M16%202v4M3%2010h18M8%2015l2%202%204-4'/%3E%3C/svg%3E");
  --ep-icon-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010zM9%2012l2%202%204-4'/%3E%3C/svg%3E");
  --ep-icon-gear:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12%202v3M12%2019v3M2%2012h3M19%2012h3M4.9%204.9L7%207M17%2017l2.1%202.1M19.1%204.9L17%207M7%2017l-2.1%202.1'/%3E%3C/svg%3E");
  --ep-icon-card:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Ccircle cx='8' cy='10' r='2'/%3E%3Cpath d='M5%2016c.7-2%205.3-2%206%200M14%209h5M14%2013h5'/%3E%3C/svg%3E");
  --ep-icon-chart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4%2020V10M10%2020V4M16%2020v-7M22%2020H2'/%3E%3C/svg%3E");
  --ep-icon-money:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6%209H5v2M18%2015h1v-2'/%3E%3C/svg%3E");
  --ep-icon-database:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4%205v6c0%201.7%203.6%203%208%203s8-1.3%208-3V5M4%2011v6c0%201.7%203.6%203%208%203s8-1.3%208-3v-6'/%3E%3C/svg%3E");
  --ep-icon-home:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3%2011l9-8%209%208v9a1%201%200%200%201-1%201h-5v-7H9v7H4a1%201%200%200%201-1-1z'/%3E%3C/svg%3E");
  --ep-icon-file:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6%202h8l4%204v16H6zM14%202v5h5M9%2012h6M9%2016h6'/%3E%3C/svg%3E");
  --ep-icon-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5%2015.5L21%2021'/%3E%3C/svg%3E");
  --ep-icon-alert:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18%208a6%206%200%200%200-12%200c0%207-3%207-3%209h18c0-2-3-2-3-9M10%2021h4'/%3E%3C/svg%3E");
  --ep-icon-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4%2012l5%205L20%206'/%3E%3C/svg%3E");
  --ep-icon-edit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4%2020h4L20%208l-4-4L4%2016zM14%206l4%204'/%3E%3C/svg%3E");
  --ep-icon-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --ep-icon-eye-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3%203l18%2018M10.6%205.2A10.5%2010.5%200%200%201%2012%205c6%200%2010%207%2010%207a18%2018%200%200%201-2.1%203M6.6%206.6C3.8%208.5%202%2012%202%2012s4%207%2010%207a9.7%209.7%200%200%200%203.4-.6'/%3E%3C/svg%3E");
  --ep-icon-close:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round'%3E%3Cpath d='M5%205l14%2014M19%205L5%2019'/%3E%3C/svg%3E");
  --ep-icon-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4%2012h16M14%206l6%206-6%206'/%3E%3C/svg%3E");
  --ep-icon-list:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9%206h11M9%2012h11M9%2018h11M4%206h.01M4%2012h.01M4%2018h.01'/%3E%3C/svg%3E");
  --ep-icon-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8%2010V7a4%204%200%200%201%208%200v3M12%2014v3'/%3E%3C/svg%3E");
  --ep-icon-link:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10%2013a5%205%200%200%200%207%200l3-3a5%205%200%200%200-7-7l-2%202M14%2011a5%205%200%200%200-7%200l-3%203a5%205%200%200%200%207%207l2-2'/%3E%3C/svg%3E");
  --ep-icon-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12%207v5l3%202'/%3E%3C/svg%3E");
  --ep-icon-folder:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3%206h7l2%202h9v11H3z'/%3E%3C/svg%3E");
  --ep-icon-trash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4%207h16M9%207V4h6v3M7%207l1%2014h8l1-14M10%2011v6M14%2011v6'/%3E%3C/svg%3E");
  --ep-icon-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='M21%2015l-5-5L5%2021'/%3E%3C/svg%3E");
  --ep-icon-theme:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12%203a9%209%200%200%200%200%2018z' fill='black'/%3E%3C/svg%3E");
  --ep-icon-filter:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3%205h18l-7%208v6l-4%202v-8z'/%3E%3C/svg%3E");
  --ep-icon-key:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11%2012l9-9M17%206l2%202M14%209l2%202'/%3E%3C/svg%3E");
  --ep-icon-key-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3%203l18%2018M10.5%2011.5A4%204%200%201%200%2012%2017M13%2010l7-7M17%206l2%202'/%3E%3C/svg%3E");
  --ep-icon-spinner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12%203a9%209%200%201%201-8%204.9'/%3E%3C/svg%3E");
  --ep-icon-bolt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M13%202L4%2014h7l-1%208%209-13h-7z'/%3E%3C/svg%3E");
  --ep-icon-envelope:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M4%207l8%206%208-6'/%3E%3C/svg%3E");
  --ep-icon-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6%203l4%204-2%203c2%204%203%205%207%207l3-2%204%204-2%202c-2%202-8-1-12-5S1%206%203%204z'/%3E%3C/svg%3E");
  --ep-icon-medical:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5%203v7a5%205%200%200%200%2010%200V3M3%203h4M13%203h4M10%2018a4%204%200%201%200%208%200v-3'/%3E%3Ccircle cx='18' cy='13' r='2'/%3E%3C/svg%3E");
  --ep-icon-wand:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4%2020L16%208M14%206l4%204M19%202v4M17%204h4M7%203v3M5.5%204.5h3'/%3E%3C/svg%3E");
  --ep-icon-crown:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3%207l5%204%204-7%204%207%205-4-2%2012H5zM6%2019h12'/%3E%3C/svg%3E");
  --ep-icon-undo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9%2014L4%209l5-5'/%3E%3Cpath d='M4%209h10.5a5.5%205.5%200%200%201%200%2011H11'/%3E%3C/svg%3E");
  --ep-icon-redo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15%2014l5-5-5-5'/%3E%3Cpath d='M20%209H9.5a5.5%205.5%200%200%200%200%2011H13'/%3E%3C/svg%3E");
  --ep-icon-history:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3%2012a9%209%200%201%200%203-6.7L3%208'/%3E%3Cpath d='M3%203v5h5'/%3E%3Cpath d='M12%207v5l3%202'/%3E%3C/svg%3E");
  --ep-icon-bars-staggered:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round'%3E%3Cpath d='M4%206h16M4%2012h11M4%2018h16'/%3E%3C/svg%3E");
  --ep-icon-moon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21%2012.8A9%209%200%201%201%2011.2%203a7%207%200%200%200%209.8%209.8z'/%3E%3C/svg%3E");
  --ep-icon-server:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='6' rx='2'/%3E%3Crect x='3' y='14' width='18' height='6' rx='2'/%3E%3Cpath d='M7%207h.01M7%2017h.01'/%3E%3C/svg%3E");
  --ep-icon-logout:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4'/%3E%3Cpath d='M16%2017l5-5-5-5'/%3E%3Cpath d='M21%2012H9'/%3E%3C/svg%3E");
}
.fa-solid,.fa-regular{display:inline-grid;place-items:center;flex:none;font-family:inherit!important;font-style:normal;font-weight:400;line-height:1;vertical-align:-.12em}
.fa-solid::before,.fa-regular::before{content:"";display:block;width:1em;height:1em;background:currentColor;-webkit-mask:var(--ep-icon-mask,var(--ep-icon-dot)) center/contain no-repeat;mask:var(--ep-icon-mask,var(--ep-icon-dot)) center/contain no-repeat}
.fa-user,.fa-user-check,.fa-user-clock,.fa-user-plus{--ep-icon-mask:var(--ep-icon-user)}
.fa-user-shield{--ep-icon-mask:var(--ep-icon-shield)}.fa-crown{--ep-icon-mask:var(--ep-icon-crown)}
.fa-users{--ep-icon-mask:var(--ep-icon-users)}
.fa-calendar-check,.fa-calendar-day,.fa-calendar-days{--ep-icon-mask:var(--ep-icon-calendar)}
.fa-shield-check,.fa-shield-halved,.fa-shield-heart{--ep-icon-mask:var(--ep-icon-shield)}
.fa-gears,.fa-sliders{--ep-icon-mask:var(--ep-icon-gear)}
.fa-address-card,.fa-id-card,.fa-id-card-clip{--ep-icon-mask:var(--ep-icon-card)}
.fa-chart-column,.fa-chart-pie,.fa-chart-simple{--ep-icon-mask:var(--ep-icon-chart)}
.fa-coins,.fa-money-check-dollar,.fa-calculator,.fa-function{--ep-icon-mask:var(--ep-icon-money)}
.fa-database{--ep-icon-mask:var(--ep-icon-database)}
.fa-house,.fa-building,.fa-building-columns{--ep-icon-mask:var(--ep-icon-home)}
.fa-file-arrow-down,.fa-file-arrow-up,.fa-file-circle-check,.fa-file-excel,.fa-file-export,.fa-file-import,.fa-file-pdf,.fa-file-signature,.fa-floppy-disk,.fa-print{--ep-icon-mask:var(--ep-icon-file)}
.fa-magnifying-glass,.fa-magnifying-glass-minus{--ep-icon-mask:var(--ep-icon-search)}.fa-filter{--ep-icon-mask:var(--ep-icon-filter)}
.fa-bell,.fa-circle-exclamation,.fa-circle-info,.fa-triangle-exclamation{--ep-icon-mask:var(--ep-icon-alert)}
.fa-check,.fa-check-double,.fa-circle-check,.fa-folder-circle-check,.fa-list-check,.fa-plug-circle-check{--ep-icon-mask:var(--ep-icon-check)}
.fa-pen,.fa-pen-to-square{--ep-icon-mask:var(--ep-icon-edit)}
.fa-eye{--ep-icon-mask:var(--ep-icon-eye)}.fa-eye-slash{--ep-icon-mask:var(--ep-icon-eye-off)}
.fa-ban,.fa-circle-xmark,.fa-minus,.fa-xmark{--ep-icon-mask:var(--ep-icon-close)}
.fa-arrow-right,.fa-arrow-up-right-from-square,.fa-arrows-left-right,.fa-arrows-up-down-left-right,.fa-chevron-down,.fa-chevron-left,.fa-chevron-right,.fa-chevron-up,.fa-circle-chevron-left,.fa-cloud-arrow-down,.fa-cloud-arrow-up,.fa-download,.fa-right-to-bracket{--ep-icon-mask:var(--ep-icon-arrow)}
.fa-arrow-right-from-bracket{--ep-icon-mask:var(--ep-icon-logout)}
.fa-bars,.fa-code,.fa-list,.fa-table-list{--ep-icon-mask:var(--ep-icon-list)}
.fa-bars-staggered{--ep-icon-mask:var(--ep-icon-bars-staggered)}
.fa-key{--ep-icon-mask:var(--ep-icon-key)}.fa-key-slash{--ep-icon-mask:var(--ep-icon-key-off)}.fa-lock{--ep-icon-mask:var(--ep-icon-lock)}
.fa-link{--ep-icon-mask:var(--ep-icon-link)}
.fa-rotate-left{--ep-icon-mask:var(--ep-icon-undo)}
.fa-rotate-right{--ep-icon-mask:var(--ep-icon-redo)}
.fa-clock-rotate-left,.fa-rotate{--ep-icon-mask:var(--ep-icon-history)}
.fa-clock,.fa-clock-digital,.fa-hourglass-half{--ep-icon-mask:var(--ep-icon-clock)}
.fa-moon{--ep-icon-mask:var(--ep-icon-moon)}
.fa-server{--ep-icon-mask:var(--ep-icon-server)}
.fa-box-archive,.fa-folder-open{--ep-icon-mask:var(--ep-icon-folder)}
.fa-trash,.fa-trash-can{--ep-icon-mask:var(--ep-icon-trash)}
.fa-image{--ep-icon-mask:var(--ep-icon-image)}
.fa-circle-half-stroke,.fa-toggle-off,.fa-toggle-on{--ep-icon-mask:var(--ep-icon-theme)}
.fa-spinner{--ep-icon-mask:var(--ep-icon-spinner)}.fa-bolt{--ep-icon-mask:var(--ep-icon-bolt)}.fa-envelope{--ep-icon-mask:var(--ep-icon-envelope)}.fa-phone{--ep-icon-mask:var(--ep-icon-phone)}.fa-stethoscope{--ep-icon-mask:var(--ep-icon-medical)}.fa-wand-magic-sparkles{--ep-icon-mask:var(--ep-icon-wand)}.fa-flask{--ep-icon-mask:var(--ep-icon-dot)}
.fa-chevron-left,.fa-circle-chevron-left{transform:rotate(180deg)}.fa-chevron-up{transform:rotate(-90deg)}.fa-chevron-down{transform:rotate(90deg)}
.fa-cloud-arrow-down,.fa-download,.fa-file-arrow-down{transform:rotate(90deg)}.fa-cloud-arrow-up,.fa-file-arrow-up{transform:rotate(-90deg)}
@keyframes ep-icon-spin-v27{to{transform:rotate(360deg)}}
.fa-spin{animation:ep-icon-spin-v27 .9s linear infinite;transform-origin:center}
@media(prefers-reduced-motion:reduce){.fa-spin{animation-duration:1.8s}}

/* ===== v2.7 — mật độ giao diện co giãn, khoảng cách làm việc tối đa khoảng 0,5 cm ===== */
:root{--ep-gap-05cm:18px;--ep-gap-section:clamp(5px,.55vw,9px);--ep-gap-control:clamp(4px,.4vw,7px)}
#screen-mainapp .ep-main-content{padding:82px clamp(7px,1vw,14px) 16px!important}
#screen-mainapp .ep-main-content>.app-section{max-width:none!important;width:100%;margin:0 auto!important}
#screen-mainapp :where(#employee-toolbar,#settings-header,.ops-toolbar,.ep-page-head,.ep-list-toolbar,.ep-alert-toolbar){gap:var(--ep-gap-section)!important;margin-top:0!important;margin-bottom:var(--ep-gap-section)!important}
#screen-mainapp :where(.employee-tabs-v198,.ops-kpi-grid,.ep-dashboard-grid,.ep-dashboard-split,.ep-list-card,.glass-panel,.ops-table-wrap,.linked-roster-toolbar-v195,.timepay-formula-panel,.attendance-year-summary,.audit-list){margin-top:0!important;margin-bottom:var(--ep-gap-section)!important}
#screen-mainapp :where(.ep-dashboard-grid,.ep-dashboard-split,.ops-kpi-grid,.audit-list,.archive-grid-v198,.ui094-profile-groups-v2024,.ui094-profile-fields-v2024){gap:var(--ep-gap-section)!important}
#screen-mainapp :where(.ep-page-actions,.ops-toolbar-group,.ep-topbar-actions,.ep-alert-filters,.payroll-actions,.terminated-actions-v198,.spell-actions-v198){gap:var(--ep-gap-control)!important}
#screen-mainapp :where(.mb-8,.mb-6){margin-bottom:var(--ep-gap-05cm)!important}
#screen-mainapp :where(.mt-8,.mt-6){margin-top:var(--ep-gap-05cm)!important}
#screen-mainapp :where(.mb-5,.mb-4,.mb-3,.mb-2){margin-bottom:var(--ep-gap-section)!important}
#screen-mainapp :where(.mt-5,.mt-4,.mt-3,.mt-2){margin-top:var(--ep-gap-section)!important}
#screen-mainapp :where(.gap-8,.gap-6){gap:12px!important}
#screen-mainapp :where(.gap-5,.gap-4){gap:8px!important}
#screen-mainapp :where(.gap-3,.gap-2){gap:var(--ep-gap-control)!important}
#screen-mainapp .space-y-6>:not([hidden])~:not([hidden]){margin-top:12px!important}
#screen-mainapp :where(.space-y-5,.space-y-4,.space-y-3)>:not([hidden])~:not([hidden]){margin-top:var(--ep-gap-section)!important}
#screen-mainapp .p-8{padding:18px!important}#screen-mainapp .p-6{padding:14px!important}#screen-mainapp .p-5{padding:12px!important}#screen-mainapp .p-4{padding:10px!important}
#screen-mainapp :where(.px-8,.px-6){padding-left:18px!important;padding-right:18px!important}
#screen-mainapp :where(.py-8,.py-6){padding-top:14px!important;padding-bottom:14px!important}
#screen-mainapp .ep-primary-nav,#screen-mainapp .ep-primary-footer{gap:4px!important}
#screen-mainapp .ep-brand-button{margin:1px 0 9px!important}
#screen-mainapp .ep-primary-item{min-height:56px!important;gap:4px!important;padding:5px 2px!important}
#screen-mainapp .ep-secondary-heading{gap:8px!important;padding:10px 10px 7px!important}
#screen-mainapp .ep-secondary-group-icon{width:34px!important;height:34px!important;border-radius:10px!important}
#screen-mainapp .ep-secondary-list,#screen-mainapp #navigation-panel.ep-secondary-list{padding:2px 7px 78px!important}
#screen-mainapp .ep-secondary-section-label{padding:6px 7px 3px!important}
#screen-mainapp .ep-secondary-item.sidebar-item{min-height:40px!important;gap:7px!important;padding:5px 7px!important;margin:1px 0!important}
#screen-mainapp .ep-secondary-item .ep-secondary-icon{width:28px!important;height:28px!important;border-radius:8px!important}
#screen-mainapp .ep-secondary-status{left:7px!important;right:7px!important;bottom:7px!important;min-height:54px!important;gap:7px!important;padding:7px 9px!important}
#screen-mainapp .employee-tabs-v198{gap:3px!important;margin-bottom:var(--ep-gap-section)!important;padding:2px!important}
#screen-mainapp .employee-tab-v198{padding:5px 8px!important}
#screen-mainapp :where(.ep-stat-card,.ops-kpi,.ep-panel-head,.ep-panel-body,.archive-card-v198,.ui094-profile-group-v2024){padding:clamp(8px,.75vw,12px)!important}
#screen-mainapp :where(.ep-data-table,.ops-table,.pp-table,.attendance-summary-table,.archive-table-v198) th{padding:6px 7px!important}
#screen-mainapp :where(.ep-data-table,.ops-table,.pp-table,.attendance-summary-table,.archive-table-v198) td{padding:5px 7px!important}
#screen-mainapp :where(.ops-button,.employee-tab-v198,.ep-topbar-icon,.money-action,.payroll-icon-btn){min-height:34px}
@media(max-width:900px){
  #screen-mainapp .ep-main-content{padding:78px 6px 12px!important}
  #screen-mainapp :where(.ep-page-head,.ops-toolbar,#employee-toolbar,#settings-header){margin-bottom:6px!important}
}
@media(max-width:620px){
  :root{--ep-gap-section:5px;--ep-gap-control:4px}
  #screen-mainapp .ep-primary-item{min-height:52px!important}
  #screen-mainapp .ep-secondary-item.sidebar-item{min-height:42px!important}
  #screen-mainapp :where(.ops-button,.employee-tab-v198,.ep-topbar-icon,.money-action,.payroll-icon-btn){min-height:40px}
  #screen-mainapp :where(.ep-stat-card,.ops-kpi,.ep-panel-head,.ep-panel-body,.archive-card-v198,.ui094-profile-group-v2024){padding:8px!important}
}
/* ===== /v2.7 ===== */

/* ===== v2.7 — FINAL RESPONSIVE SOURCE OF TRUTH =====
   Khối cuối duy nhất quyết định chiều rộng bảng ở bản 2.7. Nó sửa dứt điểm
   cascade cũ từng ép UI-020 rộng lại sau breakpoint điện thoại. */
#screen-mainapp .ep-main-content,
#screen-mainapp .app-section,
#screen-mainapp :where(.ep-list-card,.ops-table-wrap,.ep-table-scroll,.ep-employee-list-panel,.ep-employee-list-shell,.pp-table-scroll,#attendance-table,#payroll-table,.attendance-summary-scroll){
  box-sizing:border-box;min-width:0;max-width:100%
}
#screen-mainapp :where(.employee-tabs-v198,.ep-history-tabs-v2021,.ep-page-actions,.ops-toolbar-group){
  max-width:100%;gap:var(--ep-gap-control)!important
}
#screen-mainapp :where(.employee-tabs-v198,.ep-history-tabs-v2021){overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}

#employee-list-container .ep-employee-list-table{width:100%!important;min-width:1000px!important;table-layout:fixed!important}
.pp-main-table-v216{width:100%!important;min-width:900px!important;table-layout:fixed!important}
.ui094-main-table-v2024{width:100%!important;min-width:960px!important;table-layout:fixed!important}
#attendance-table .ops-table{width:100%!important;min-width:940px!important;table-layout:fixed!important}
#payroll-table .ops-table{width:100%!important;min-width:1440px!important;table-layout:fixed!important}
#screen-mainapp :where(.ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table) :where(th,td){
  box-sizing:border-box;min-width:0;max-width:none
}

@media(max-width:1100px) and (min-width:761px){
  #employee-list-container .ep-employee-list-table{min-width:940px!important}
  .pp-main-table-v216{min-width:850px!important}
  .ui094-main-table-v2024{min-width:900px!important}
  #attendance-table .ops-table{min-width:900px!important}
  #payroll-table .ops-table{min-width:1360px!important}
}

@media(max-width:760px){
  #screen-mainapp .ep-main-content{overflow-x:clip!important}
  #screen-mainapp :where(.ep-page-head,.ops-toolbar,#employee-toolbar,#settings-header){align-items:stretch!important}
  #screen-mainapp :where(.ep-page-actions,.ops-toolbar-group){width:100%;flex-wrap:wrap}

  /* Năm bảng nghiệp vụ chính dùng cùng một mô hình: dải tiêu đề/lọc ở trên,
     mỗi bản ghi là một thẻ dọc. Không còn chiều rộng tối thiểu gây tràn body. */
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table){
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>thead{
    display:block!important;max-width:100%;padding:5px!important;border-bottom:1px solid var(--ep-line);overflow-x:auto!important;overscroll-behavior-inline:contain
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>thead>tr{
    display:flex!important;gap:4px!important;width:max-content!important;min-width:100%
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>thead>tr>th{
    position:relative!important;left:auto!important;top:auto!important;display:flex!important;align-items:center!important;
    width:auto!important;min-width:82px!important;max-width:150px!important;min-height:34px!important;
    padding:5px 29px 5px 7px!important;border:1px solid var(--ep-line)!important;border-radius:8px!important;white-space:normal!important
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody{
    display:grid!important;grid-template-columns:1fr!important;gap:7px!important;width:100%!important;padding:7px!important
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody>tr{
    display:block!important;width:100%!important;min-width:0!important;border:1px solid var(--ep-line)!important;border-radius:12px!important;
    overflow:hidden!important;background:var(--ep-panel)!important;contain:layout paint;content-visibility:auto;contain-intrinsic-size:auto 440px
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody>tr[hidden]{display:none!important}
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody>tr>td{
    position:static!important;left:auto!important;display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;align-items:center!important;
    gap:7px!important;width:100%!important;min-width:0!important;max-width:none!important;padding:6px 8px!important;
    border-bottom:1px solid var(--ep-line)!important;background:transparent!important;box-shadow:none!important;text-align:left!important
  }
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody>tr>td:last-child{border-bottom:0!important}
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody>tr>td::before{
    align-self:center;font-size:10px;font-weight:900;color:var(--ep-muted);line-height:1.2;text-transform:uppercase;letter-spacing:.025em;overflow-wrap:anywhere
  }
  #screen-mainapp :where(#attendance-table,#payroll-table) :where(.tp-sticky,.tp-sticky-1,.tp-sticky-2,.tp-sticky-3){position:static!important;left:auto!important;top:auto!important}
  #attendance-table .ops-number-input{width:100%!important;min-width:0!important;max-width:180px!important}
  #screen-mainapp :where(#attendance-table,#payroll-table) .payroll-actions,
  #screen-mainapp :where(#attendance-table,#payroll-table) .attendance-row-actions-v213{justify-content:flex-start!important;flex-wrap:wrap}

  #attendance-table .ops-table>tbody>tr>td:nth-child(1)::before{content:'STT'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(2)::before{content:'Nhân viên'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(3)::before{content:'Mã NV'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(4)::before{content:'Bộ phận'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(5)::before{content:'Chức vụ'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(6)::before{content:'Công thường'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(7)::before{content:'Công CN'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(8)::before{content:'Nghỉ phép'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(9)::before{content:'Nghỉ không phép'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(10)::before{content:'OT thường'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(11)::before{content:'OT CN'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(12)::before{content:'Tổng tháng'}
  #attendance-table .ops-table>tbody>tr>td:nth-child(13)::before{content:'Thao tác'}

  #payroll-table .ops-table>tbody>tr>td:nth-child(1)::before{content:'STT'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(2)::before{content:'Nhân viên'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(3)::before{content:'Mã NV'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(4)::before{content:'Bộ phận'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(5)::before{content:'Chức vụ'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(6)::before{content:'Công thường'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(7)::before{content:'Công CN'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(8)::before{content:'OT thường'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(9)::before{content:'OT CN'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(10)::before{content:'Lương CB'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(11)::before{content:'Lương công'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(12)::before{content:'Tiền công CN'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(13)::before{content:'Tiền OT'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(14)::before{content:'Phụ cấp + Thưởng'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(15)::before{content:'Khấu trừ khác'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(16)::before{content:'Tổng thu nhập'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(17)::before{content:'Thực nhận'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(18)::before{content:'Trạng thái'}
  #payroll-table .ops-table>tbody>tr>td:nth-child(19)::before{content:'Thao tác'}

  #attendance-table .ops-table>tfoot{display:block!important;padding:0 7px 7px}
  #attendance-table .ops-table>tfoot>tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px;border:1px solid var(--ep-line);border-radius:10px;background:var(--ep-panel-alt)}
  #attendance-table .ops-table>tfoot>tr>td{position:static!important;display:block!important;width:auto!important;min-width:0!important;padding:5px!important;border:0!important;text-align:left!important}
}

@media(max-width:430px){
  #screen-mainapp :where(#employee-list-container .ep-employee-list-table,.pp-main-table-v216,.ui094-main-table-v2024,#attendance-table .ops-table,#payroll-table .ops-table)>tbody>tr>td{
    grid-template-columns:92px minmax(0,1fr)!important;padding:6px!important
  }
}
/* ===== /v2.7 — FINAL RESPONSIVE SOURCE OF TRUTH ===== */

/* ===== v2.9 — Admin-only UI/UX numbering and interface tooltips ===== */
#ui-assistive-button,#ui-assistive-setting-row,#reset-home-button{display:none!important}
.admin-only-uiux-v28[hidden]{display:none!important}
[data-ep-inline-uiux-v28][hidden]{display:none!important}
body:not(.show-uiux-v28) :where(.ui-marker-badge,.ep-tab-sequence-v209,.ep-tab-ui-code-v209,.ep-subtab-sequence-v209){display:none!important}
body.show-uiux-v28 :where(.ep-tab-sequence-v209,.ep-tab-ui-code-v209,.ep-subtab-sequence-v209){display:inline-flex!important;width:auto;max-width:min(210px,42vw);padding-inline:5px;white-space:nowrap}
body.show-uiux-v28 .ep-primary-item>.ep-tab-sequence-v209{left:3px;right:3px;top:2px;justify-content:center;font-size:6.7px!important;letter-spacing:-.02em}
body.show-uiux-v28 .ep-primary-item{padding-top:20px!important}
body.show-uiux-v28 .ep-unified-column-v210::before{content:attr(data-ui-code);font-size:8.5px;font-weight:900;max-width:100%;overflow-wrap:anywhere;white-space:normal;text-align:center}
body.show-uiux-v28 .ep-unified-frame-v210::before{content:attr(data-ui-code);font-size:8.5px;font-weight:900;max-width:calc(100% - 14px);overflow:hidden;text-overflow:ellipsis}
.ep-uiux-marker-v28{min-width:70px;max-width:min(180px,calc(100vw - 8px));height:auto;min-height:18px;padding:2px 5px;font-size:8px!important;font-weight:900!important;line-height:1.15;white-space:normal;text-align:center;overflow-wrap:anywhere}
@media(max-width:620px){
  body.show-uiux-v28 .ep-primary-item>.ep-tab-sequence-v209{font-size:6px!important}
  body.show-uiux-v28 .ep-primary-item{padding-top:18px!important}
  .ep-uiux-marker-v28{min-width:104px;font-size:6.8px!important}
}
@media print{.ep-uiux-marker-v28,.ep-tab-sequence-v209,.ep-tab-ui-code-v209,.ep-subtab-sequence-v209{display:none!important}}
/* ===== /v2.9 ===== */

/* ===== v2.9 maintenance — hồ sơ gọn, Home UI/UX và hiệu năng ===== */
body #ui-assistive-button.ep-ui-home-v30{
  position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;bottom:max(18px,env(safe-area-inset-bottom))!important;left:auto!important;top:auto!important;
  z-index:10180!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;
  width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;border:1px solid rgba(201,154,76,.62)!important;border-radius:50%!important;
  background:linear-gradient(145deg,rgba(43,35,25,.96),rgba(13,12,11,.94))!important;color:#f4dfb5!important;box-shadow:0 12px 34px rgba(0,0,0,.34),inset 0 0 0 2px rgba(255,255,255,.05)!important;
  cursor:pointer!important;user-select:none!important;touch-action:manipulation!important;opacity:1!important;visibility:visible!important;transform:none!important;
}
body #ui-assistive-button.ep-ui-home-v30:hover{border-color:#e4bd78!important;box-shadow:0 14px 38px rgba(0,0,0,.4),0 0 0 4px rgba(201,154,76,.13)!important}
body #ui-assistive-button.ep-ui-home-v30.ui-enabled{background:linear-gradient(145deg,#c99a4c,#76501d)!important;color:#fff!important}
body #ui-assistive-button.ep-ui-home-v30[hidden]{display:none!important}
.ep-ui-home-v30 .ep-home-symbol-v30{font-size:18px;line-height:1}.ep-ui-home-v30 .assistive-state{font:900 8px/1.05 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.03em}

#employee-list-container .ep-employee-list-table.ep-contract-compact-v30{min-width:760px!important;table-layout:fixed!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(1){width:48px!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(2){width:180px!important;left:48px!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(3){width:112px!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(4){width:145px!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(5){width:190px!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(6){width:98px!important;text-align:center!important}
#employee-list-container .ep-contract-compact-v30 :is(th,td):nth-child(7){width:126px!important;text-align:center!important}
.ep-profile-button-v30{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;width:100%;padding:7px 10px;border:1px solid rgba(201,154,76,.38);border-radius:10px;background:rgba(201,154,76,.1);color:inherit;font-size:11px;font-weight:900;white-space:nowrap}
.ep-profile-button-v30:hover{border-color:#c99a4c;background:rgba(201,154,76,.18)}

.ep-contract-profile-modal-v30{width:min(820px,100%);max-height:92dvh;overflow:auto}
.ep-contract-profile-head-v30{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.ep-contract-profile-head-v30 h3{margin:0;font-size:24px;font-weight:950}.ep-contract-profile-head-v30 p{margin:4px 0 0;font-size:12px;font-weight:750;opacity:.68}
.ep-contract-profile-grid-v30{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ep-contract-profile-field-v30{display:grid;align-content:start;gap:6px;min-width:0;padding:11px;border:1px solid var(--ep-line);border-radius:13px;background:rgba(201,154,76,.055)}.ep-contract-profile-field-v30.wide{grid-column:1/-1}.ep-contract-profile-field-v30 label{font-size:11px;font-weight:900;opacity:.72}.ep-contract-profile-field-v30 input,.ep-contract-profile-field-v30 select,.ep-contract-profile-readonly-v30{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:9px 10px;border:1px solid rgba(201,154,76,.28);border-radius:9px;background:var(--ep-panel-strong,rgba(255,255,255,.75));color:inherit;font-size:13px;font-weight:850;outline:none}.dark-mode .ep-contract-profile-field-v30 input,.dark-mode .ep-contract-profile-field-v30 select,.dark-mode .ep-contract-profile-readonly-v30{background:rgba(0,0,0,.28)}.ep-contract-profile-field-v30 input:focus,.ep-contract-profile-field-v30 select:focus{border-color:#c99a4c;box-shadow:0 0 0 3px rgba(201,154,76,.12)}.ep-contract-profile-readonly-v30{display:flex;align-items:center}.ep-contract-profile-readonly-v30.money{justify-content:flex-end;font-variant-numeric:tabular-nums}.ep-contract-profile-actions-v30{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:15px;padding-top:13px;border-top:1px solid var(--ep-line)}.ep-contract-profile-actions-v30>div{display:flex;gap:8px;flex-wrap:wrap}.ep-contract-profile-actions-v30 button{min-height:38px;padding:8px 13px;border:1px solid var(--ep-line);border-radius:10px;font-size:12px;font-weight:900}.ep-contract-profile-actions-v30 .save{border-color:#9b6d2c;background:#9b6d2c;color:#fff}.ep-contract-profile-actions-v30 .terminate{border-color:rgba(185,28,28,.3);color:#b91c1c;background:rgba(185,28,28,.07)}

.pp-main-table-v216.pp-main-compact-v30{min-width:690px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(1){width:46px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(2){width:96px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(3){width:180px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(4){width:140px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(5){width:110px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(6){width:145px!important}.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(7),.pp-main-table-v216.pp-main-compact-v30 :is(th,td):nth-child(8){width:88px!important;text-align:center!important}
.pp-profile-basic-v30{grid-column:1/-1!important}.pp-profile-basic-v30 .pp-archive-fields-v216{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pp-profile-basic-v30 h4::before{content:"CB"!important}

#sample-data-panel-v30 .glass-list-item{min-height:86px}#load-sample-data-v30{flex:none;min-height:40px;padding:9px 14px}

@media(max-width:700px){
  body #ui-assistive-button.ep-ui-home-v30{right:12px!important;bottom:12px!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important}
  .ep-contract-profile-grid-v30{grid-template-columns:1fr}.ep-contract-profile-field-v30.wide{grid-column:auto}.ep-contract-profile-actions-v30>button,.ep-contract-profile-actions-v30>div,.ep-contract-profile-actions-v30>div>button{width:100%}
  .pp-profile-basic-v30 .pp-archive-fields-v216{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(1)::before{content:'STT'}
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(2)::before{content:'Tên'}
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(3)::before{content:'Mã NV'}
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(4)::before{content:'Bộ phận'}
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(5)::before{content:'Cảnh báo'}
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(6)::before{content:'Hồ sơ'}
  #employee-list-container .ep-contract-compact-v30 tbody td:nth-child(7)::before{content:'Thao tác'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(1)::before{content:'STT'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(2)::before{content:'Số thẻ'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(3)::before{content:'Họ tên'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(4)::before{content:'Chức vụ'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(5)::before{content:'Mã NV'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(6)::before{content:'Bộ phận'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(7)::before{content:'Hồ sơ'}
  .pp-main-table-v216.pp-main-compact-v30 tbody td:nth-child(8)::before{content:'Lưu'}
}
@media print{.ep-ui-home-v30{display:none!important}}
/* ===== /v2.9 maintenance ===== */

