.stariz-module-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}
.stariz-bulk-menu{position:relative}
.stariz-bulk-menu>summary{list-style:none;cursor:pointer;user-select:none}
.stariz-bulk-menu>summary::-webkit-details-marker{display:none}
.stariz-bulk-menu[open]>summary{border-color:var(--primary);color:var(--primary)}
.stariz-bulk-menu__panel{position:absolute;z-index:45;top:calc(100% + .55rem);right:0;width:min(25rem,calc(100vw - 2rem));padding:.45rem;border:1px solid var(--border-color,#dedfe8);border-radius:.9rem;background:var(--surface-color,#fff);box-shadow: none}
.stariz-bulk-menu__head{padding:.7rem .8rem .6rem;border-bottom:1px solid var(--border-color,#e7e7ee)}
.stariz-bulk-menu__head strong,.stariz-bulk-menu__head small{display:block}.stariz-bulk-menu__head small{margin-top:.15rem;color:var(--text-muted,#687086);font-size:var(--text-xs)}
.stariz-bulk-menu__panel a{display:grid;gap:.15rem;padding:.7rem .8rem;border-radius:.65rem;color:inherit;text-decoration:none}
.stariz-bulk-menu__panel a:hover{background:color-mix(in srgb,var(--primary) 7%,transparent)}
.stariz-bulk-menu__panel a strong{font-size:var(--text-sm)}.stariz-bulk-menu__panel a span{color:var(--text-muted,#687086);font-size:var(--text-xs);line-height:1.35}
.mass-ops-page{display:grid;gap:1rem}
.mass-ops-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;padding:1rem 1.1rem;border:1px solid var(--border-color,#dedfe8);border-radius:1rem;background:var(--surface-color,#fff)}
.mass-ops-page__header h1{margin:.1rem 0 .3rem;font-size:var(--text-2xl)}.mass-ops-page__header p:last-child{margin:0;color:var(--text-muted,#687086);font-size:var(--text-sm)}
.mass-ops-tabs{display:flex;gap:.35rem;overflow:auto;padding:.3rem;border:1px solid var(--border-color,#dedfe8);border-radius:.85rem;background:var(--surface-color,#fff)}
.mass-ops-tabs a{flex:0 0 auto;padding:.58rem .78rem;border-radius:.62rem;color:var(--text-muted,#687086);text-decoration:none;font-size:var(--text-xs);font-weight:var(--weight-bold)}
.mass-ops-tabs a:hover,.mass-ops-tabs a.active{background:color-mix(in srgb,var(--primary) 10%,transparent);color:var(--primary)}
.mass-ops-workspace{display:grid;grid-template-columns:minmax(17rem,22rem) minmax(0,1fr);gap:1rem;align-items:start}
.mass-ops-workspace--stacked{grid-template-columns:minmax(0,1fr)}
.mass-ops-panel{min-width:0;border:1px solid var(--border-color,#dedfe8);border-radius:1rem;background:var(--surface-color,#fff);overflow:hidden}
.mass-ops-panel--compact{max-width:62rem;width:100%;justify-self:center}
.mass-ops-panel>header{padding:.9rem 1rem;border-bottom:1px solid var(--border-color,#e7e7ee)}
.mass-ops-panel>header h2{margin:0;font-size:var(--text-lg)}.mass-ops-panel>header p{margin:.25rem 0 0;color:var(--text-muted,#687086);font-size:var(--text-xs)}
.mass-ops-panel__body{display:grid;gap:.8rem;padding:1rem}.mass-ops-panel__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;border-top:1px solid var(--border-color,#e7e7ee)}
.mass-ops-panel__footer>span{color:var(--text-muted,#687086);font-size:var(--text-xs)}
.mass-ops-form{grid-template-columns:repeat(2,minmax(0,1fr))}.mass-ops-form .field{display:grid;gap:.35rem}.mass-ops-form .field>span,.mass-ops-panel__body>.field>span{font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.035em;text-transform:uppercase;color:var(--text-muted,#687086)}
.mass-ops-panel input,.mass-ops-panel select,.mass-ops-panel textarea{width:100%;min-height:2.45rem;padding:.55rem .7rem;border:1px solid var(--border-color,#dcdde6);border-radius:.65rem;background:var(--surface-color,#fff);color:var(--text-color,#172033);outline:none}
.mass-ops-panel input:focus,.mass-ops-panel select:focus,.mass-ops-panel textarea:focus{border-color:var(--primary);box-shadow: none}
.mass-ops-form .field--full{grid-column:1/-1}.mass-ops-check{display:flex;align-items:center;gap:.5rem;padding:.55rem .7rem;border:1px solid var(--border-color,#e2e2e9);border-radius:.65rem;font-size:var(--text-xs)}.mass-ops-check input{width:auto;min-height:0;accent-color:var(--primary)}
.mass-ops-selection{display:grid;gap:.3rem;max-height:27rem;overflow:auto;padding-right:.15rem}.mass-ops-person{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;padding:.62rem .68rem;border-bottom:1px solid var(--border-color,#eeeeF3);cursor:pointer}.mass-ops-person:last-child{border-bottom:0}.mass-ops-person input{width:auto;min-height:0;accent-color:var(--primary)}.mass-ops-person strong,.mass-ops-person small{display:block}.mass-ops-person strong{font-size:var(--text-xs)}.mass-ops-person small{margin-top:.1rem;color:var(--text-muted,#687086);font-size:var(--text-2xs)}.mass-ops-count{margin:0;color:var(--text-muted,#687086);font-size:var(--text-xs)}
.mass-ops-workspace--stacked .mass-ops-workers{grid-template-columns:minmax(14rem,.7fr) minmax(18rem,1.2fr) auto;align-items:end}
.mass-ops-workspace--stacked .mass-ops-workers>.mass-ops-selection,.mass-ops-workspace--stacked .mass-ops-workers>.mass-ops-count{grid-column:1/-1}
.mass-ops-workspace--stacked .mass-ops-selection{grid-template-columns:repeat(3,minmax(0,1fr));max-height:18rem;gap:.45rem}
.mass-ops-workspace--stacked .mass-ops-person{border:1px solid var(--border-color,#eeeeF3);border-radius:.65rem}
.mass-ops-note{padding:.7rem .8rem;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border-color,#dedfe8));border-radius:.7rem;background:color-mix(in srgb,var(--primary) 5%,transparent);color:var(--text-muted,#687086);font-size:var(--text-xs);line-height:1.45}
.mass-ops-upload{display:grid;place-items:center;gap:.3rem;min-height:11rem;padding:1.5rem;border:1px dashed color-mix(in srgb,var(--primary) 45%,var(--border-color,#dedfe8));border-radius:.8rem;text-align:center;cursor:pointer}.mass-ops-upload strong{font-size:var(--text-md)}.mass-ops-upload span{color:var(--text-muted,#687086);font-size:var(--text-xs)}.mass-ops-upload input{width:auto;max-width:100%;border:0;padding:0}
.mass-ops-result{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .8rem;border:1px solid color-mix(in srgb,#187a56 28%,var(--border-color,#dedfe8));border-radius:.7rem;background:color-mix(in srgb,#187a56 6%,transparent)}.mass-ops-result strong{font-size:var(--text-sm)}.mass-ops-result span{color:var(--text-muted,#687086);font-size:var(--text-xs)}
.mass-ops-issue{display:grid;grid-template-columns:8rem minmax(0,1fr);gap:.7rem;padding:.55rem .7rem;border-bottom:1px solid var(--border-color,#ededf2);font-size:var(--text-xs)}.mass-ops-issue span{color:var(--text-muted,#687086)}
[data-theme="dark"] .stariz-bulk-menu__panel,[data-theme="dark"] .mass-ops-page__header,[data-theme="dark"] .mass-ops-tabs,[data-theme="dark"] .mass-ops-panel{background:var(--surface-color,#171822)}
@media(max-width:900px){.mass-ops-workspace{grid-template-columns:1fr}.mass-ops-workspace--stacked .mass-ops-workers{grid-template-columns:1fr 1fr}.mass-ops-workspace--stacked .mass-ops-workers>.stariz-registration-footer-actions{grid-column:1/-1}.mass-ops-workspace--stacked .mass-ops-selection{grid-template-columns:repeat(2,minmax(0,1fr))}.mass-ops-page__header{flex-direction:column}.mass-ops-panel__footer{align-items:flex-start;flex-direction:column}.mass-ops-panel__footer .btn,.mass-ops-panel__footer a.btn{width:100%}}
@media(max-width:640px){.mass-ops-workspace--stacked .mass-ops-workers,.mass-ops-workspace--stacked .mass-ops-selection,.mass-ops-form{grid-template-columns:1fr}.mass-ops-form .field--full{grid-column:auto}.mass-ops-tabs{padding:.2rem}.mass-ops-tabs a{padding:.52rem .62rem}.mass-ops-page__header{padding:.85rem}.mass-ops-issue{grid-template-columns:1fr}}

.stariz-bulk-menu>button{cursor:pointer;user-select:none}
.stariz-bulk-menu.is-open>button{border-color:var(--primary);color:var(--primary)}
.stariz-bulk-menu.is-open::after{content:"";position:absolute;z-index:44;top:100%;right:0;width:min(25rem,calc(100vw - 2rem));height:.6rem}
.mass-ops-page__header{align-items:center}
.mass-ops-page__header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}
.mass-ops-page__back{align-self:center}
.mass-ops-guidance{display:flex;align-items:center;gap:.55rem;overflow:auto;padding:.72rem .85rem;border:1px solid var(--border-color,#dedfe8);border-radius:.85rem;background:var(--surface-color,#fff);color:var(--text-muted,#687086);font-size:var(--text-xs);white-space:nowrap}
.mass-ops-guidance strong{color:var(--text-color,#172033);font-size:var(--text-xs)}
.mass-ops-guidance span{display:inline-flex;align-items:center;gap:.45rem}
.mass-ops-guidance span:not(:last-child)::after{content:"";width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;color:var(--primary);transform:rotate(45deg);flex:0 0 auto}
.mass-ops-filter-panel{width:100%}
.mass-ops-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}
.mass-ops-filter-grid .field{display:grid;gap:.35rem;min-width:0}
.mass-ops-filter-grid .field>span{font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.035em;text-transform:uppercase;color:var(--text-muted,#687086)}
.mass-ops-filter-grid .field--wide{grid-column:span 2}
.mass-ops-filter-grid .field--full{grid-column:1/-1}
.mass-ops-inline-actions,.mass-ops-selection-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}
.mass-ops-selection-actions{justify-content:flex-start;margin-bottom:.55rem}
.mass-ops-empty{margin:.5rem 0;padding:.75rem;border:1px dashed var(--border-color,#dedfe8);border-radius:.65rem;color:var(--text-muted,#687086);font-size:var(--text-xs);text-align:center}
.mass-ops-preview{display:grid;gap:.2rem;margin:0 1rem 1rem;padding:.75rem .85rem;border:1px solid var(--border-color,#dedfe8);border-radius:.75rem;background:color-mix(in srgb,var(--primary) 4%,transparent)}
.mass-ops-preview strong{font-size:var(--text-sm)}.mass-ops-preview span,.mass-ops-preview small{color:var(--text-muted,#687086);font-size:var(--text-xs)}
.mass-ops-preview.is-ready{border-color:color-mix(in srgb,#187a56 38%,var(--border-color,#dedfe8));background:color-mix(in srgb,#187a56 6%,transparent)}
.mass-ops-preview.is-stale{border-color:color-mix(in srgb,#a76500 38%,var(--border-color,#dedfe8));background:color-mix(in srgb,#a76500 6%,transparent)}
[data-theme="dark"] .mass-ops-guidance{background:var(--surface-color,#171822)}
@media(max-width:1100px){.mass-ops-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mass-ops-filter-grid .field--wide{grid-column:1/-1}}
@media(max-width:900px){.mass-ops-page__header-actions{width:100%;justify-content:flex-start}.mass-ops-page__back{align-self:auto}.mass-ops-guidance{align-items:flex-start;flex-direction:column;white-space:normal}.mass-ops-guidance span:not(:last-child)::after{content:""}}
@media(max-width:640px){.mass-ops-filter-grid{grid-template-columns:1fr}.mass-ops-filter-grid .field--wide,.mass-ops-filter-grid .field--full{grid-column:auto}.mass-ops-inline-actions{width:100%}.mass-ops-inline-actions .btn{flex:1}.stariz-bulk-menu__panel{right:auto;left:0}}

.stariz-bulk-menu__panel .stariz-bulk-menu__option{
  display:grid;
  width:100%;
  gap:.15rem;
  padding:.7rem .8rem;
  border:0;
  border-radius:.65rem;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.stariz-bulk-menu__panel .stariz-bulk-menu__option:hover{
  background:color-mix(in srgb,var(--primary) 7%,transparent);
}
.stariz-bulk-menu__panel .stariz-bulk-menu__option strong{font-size:var(--text-sm)}
.stariz-bulk-menu__panel .stariz-bulk-menu__option span{
  color:var(--text-muted,#687086);
  font-size:var(--text-xs);
  line-height:1.35;
}

.stariz-bulk-menu__trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.stariz-bulk-menu>summary.stariz-bulk-menu__trigger{
  list-style:none;
}
.stariz-bulk-menu>summary.stariz-bulk-menu__trigger::-webkit-details-marker{
  display:none;
}
.stariz-bulk-menu[open]>.stariz-bulk-menu__trigger,
.stariz-bulk-menu.is-open>.stariz-bulk-menu__trigger,
.stariz-bulk-menu__trigger[aria-expanded="true" i]{
  background:var(--ui-primary-soft);
  border-color:var(--ui-primary-border);
  color:var(--primary);
  box-shadow: none;
}
.stariz-bulk-menu__panel{
  padding:.55rem;
  border-color:var(--ui-primary-border);
  border-radius:var(--ui-radius-md);
  background:var(--ui-surface);
  box-shadow: none;
  overflow:hidden;
}
.stariz-bulk-menu__head{
  margin:-.55rem -.55rem .4rem;
  padding:.85rem 1rem .75rem;
  border-bottom:1px solid var(--ui-primary-border);
  background:color-mix(in srgb,var(--ui-surface) 88%,var(--primary) 12%);
}
.stariz-bulk-menu__head strong{
  color:var(--primary);
  font-size:var(--text-sm);
  letter-spacing:.005em;
}
.stariz-bulk-menu__head small{
  color:var(--ui-text-soft);
  line-height:1.4;
}
.stariz-bulk-menu__panel a,
.stariz-bulk-menu__panel .stariz-bulk-menu__option{
  position:relative;
  gap:.2rem;
  min-height:3.65rem;
  margin:.18rem 0;
  padding:.72rem .82rem .72rem 1rem;
  border:1px solid transparent;
  border-radius:var(--ui-radius-sm);
  background:transparent;
  color:var(--text);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.stariz-bulk-menu__panel a::before,
.stariz-bulk-menu__panel .stariz-bulk-menu__option::before{
  content:"";
  position:absolute;
  left:.42rem;
  top:.78rem;
  bottom:.78rem;
  width:3px;
  border-radius:999px;
  background:color-mix(in srgb,var(--primary) 55%,transparent);
  opacity:.45;
}
.stariz-bulk-menu__panel a:hover,
.stariz-bulk-menu__panel a:focus-visible,
.stariz-bulk-menu__panel .stariz-bulk-menu__option:hover,
.stariz-bulk-menu__panel .stariz-bulk-menu__option:focus-visible{
  background:var(--ui-primary-soft);
  border-color:var(--ui-primary-border);
  color:var(--primary);
  outline:none;
  transform:translateX(2px);
}
.stariz-bulk-menu__panel a:hover::before,
.stariz-bulk-menu__panel a:focus-visible::before,
.stariz-bulk-menu__panel .stariz-bulk-menu__option:hover::before,
.stariz-bulk-menu__panel .stariz-bulk-menu__option:focus-visible::before{
  opacity:1;
}
.stariz-bulk-menu__panel a strong,
.stariz-bulk-menu__panel .stariz-bulk-menu__option strong{
  color:inherit;
  font-size:var(--text-sm);
}
.stariz-bulk-menu__panel a span,
.stariz-bulk-menu__panel .stariz-bulk-menu__option span{
  color:var(--ui-text-soft);
}
.mass-ops-tabs a:hover,
.mass-ops-tabs a.active{
  background:var(--ui-primary-soft);
  color:var(--primary);
}
.mass-ops-note,
.mass-ops-preview{
  border-color:var(--ui-primary-border);
  background:color-mix(in srgb,var(--primary) 5%,var(--ui-surface));
}
.mass-ops-upload{
  border-color:color-mix(in srgb,var(--primary) 42%,var(--ui-border));
  background:color-mix(in srgb,var(--primary) 3%,var(--ui-surface));
}
html[data-theme="dark"] .stariz-bulk-menu__panel{
  background:var(--ui-surface);
}
body .page :is(.colaborador-table-page, .eventos-remunerativos-page)
    .stariz-module-header__actions {
    --stariz-header-action-width: 11.75rem;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

body .page :is(.colaborador-table-page, .eventos-remunerativos-page)
    .stariz-module-header__actions > .btn {
    flex: 0 0 var(--stariz-header-action-width);
    width: var(--stariz-header-action-width);
}

body .page :is(.colaborador-table-page, .eventos-remunerativos-page)
    .stariz-module-header__actions > .btn {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    min-width: 0;
    padding: 9px 17px;
    width: 100%;
}

body .page .stariz-crud-grid :is(.btn.small, .btn.ghost, button.btn),
body .stariz-popup-surface .stariz-crud-grid :is(.btn.small, .btn.ghost, button.btn) {
    border-radius: 999px;
    min-height: 34px;
    padding: 6px 13px;
}

body .page .stariz-grid-toolbar > :is(.btn, button):not(.stariz-crud-button):not([data-stariz-excel-managed]):not([data-stariz-excel-popup-managed]),
body .stariz-popup-surface .stariz-grid-toolbar > :is(.btn, button):not(.stariz-crud-button):not([data-stariz-excel-managed]):not([data-stariz-excel-popup-managed]) {
    border-radius: 999px;
    min-height: 42px;
    padding: 9px 17px;
}

body .stariz-excel-scope-menu {
    background: var(--ui-surface);
    border: 1px solid var(--ui-primary-border);
    border-radius: var(--ui-radius-md);
    box-shadow: none;
    color: var(--text);
    overflow: visible;
    padding: .55rem;
}

body .stariz-excel-scope-menu::before {
    background: var(--ui-surface);
    border-left-color: var(--ui-primary-border);
    border-top-color: var(--ui-primary-border);
}

body .stariz-excel-scope-menu--above::before {
    border-bottom-color: var(--ui-primary-border);
    border-right-color: var(--ui-primary-border);
}

body .stariz-excel-scope-menu__header {
    background: color-mix(in srgb, var(--ui-surface) 88%, var(--primary) 12%);
    border-bottom: 1px solid var(--ui-primary-border);
    border-radius: calc(var(--ui-radius-md) - 2px) calc(var(--ui-radius-md) - 2px) 0 0;
    gap: .68rem;
    margin: -.55rem -.55rem .4rem;
    padding: .85rem 1rem .75rem;
}

body .stariz-excel-scope-menu__excel-icon {
    background: color-mix(in srgb, var(--primary) 10%, var(--ui-surface));
    border: 1px solid var(--ui-primary-border);
    color: var(--primary);
}

body .stariz-excel-scope-menu__header strong {
    color: var(--primary);
    font-size: var(--text-sm);
    letter-spacing: .005em;
}

body .stariz-excel-scope-menu__header small,
body .stariz-excel-scope-menu__option small {
    color: var(--ui-text-soft);
}

body .stariz-excel-scope-menu__options {
    gap: .18rem;
}

body .stariz-excel-scope-menu__option {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--ui-radius-sm);
    color: var(--text);
    gap: .7rem;
    grid-template-columns: 32px minmax(0, 1fr);
    margin: .18rem 0;
    min-height: 3.65rem;
    padding: .72rem .82rem;
    position: relative;
    transition: background-color .16s ease, border-color .16s ease,
        color .16s ease, transform .16s ease;
}

body .stariz-excel-scope-menu__option::before {
    background: color-mix(in srgb, var(--primary) 55%, transparent);
    border-radius: 999px;
    bottom: .78rem;
    content: "";
    left: .34rem;
    opacity: .45;
    position: absolute;
    top: .78rem;
    width: 3px;
}

body .stariz-excel-scope-menu__option:hover,
body .stariz-excel-scope-menu__option:focus-visible {
    background: var(--ui-primary-soft);
    border-color: var(--ui-primary-border);
    color: var(--primary);
    outline: none;
    transform: translateX(2px);
}

body .stariz-excel-scope-menu__option:hover::before,
body .stariz-excel-scope-menu__option:focus-visible::before {
    opacity: 1;
}

body .stariz-excel-scope-menu__option-mark {
    background: color-mix(in srgb, var(--primary) 8%, var(--ui-surface));
    border: 1px solid var(--ui-primary-border);
    color: var(--primary);
}

body .stariz-excel-scope-menu__option-mark--select::before {
    background: currentColor;
    content: "";
    display: block;
    height: 15px;
    margin: auto;
    -webkit-mask: var(--stariz-icon-select) center / contain no-repeat;
    mask: var(--stariz-icon-select) center / contain no-repeat;
    width: 15px;
}

html[data-theme="dark"] body .stariz-excel-scope-menu {
    background: var(--ui-surface);
}

@media (max-width: 640px) {
    body .page :is(.colaborador-table-page, .eventos-remunerativos-page)
        .stariz-module-header__actions > :is(.stariz-bulk-menu, .btn) {
        flex-basis: 100%;
        width: 100%;
    }
}

.event-bulk-two-mode .mass-ops-page__header{
  width:100%;
}
.mass-ops-help-trigger{
  min-width:9.5rem;
}
.event-bulk-purpose{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
  width:100%;
}
.event-bulk-purpose article{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.75rem;
  align-items:start;
  padding:.95rem 1rem;
  border:1px solid var(--ui-border,var(--border-color,#dedfe8));
  border-radius:var(--ui-radius-md,1rem);
  background:var(--ui-surface,var(--surface-color,#fff));
}
.event-bulk-purpose__number{
  display:grid;
  place-items:center;
  width:1.85rem;
  height:1.85rem;
  border-radius:50%;
  background:var(--stariz-glass-primary);
  color:#fff;
  font-size:var(--text-xs);
  font-weight:var(--weight-bold);
}
.event-bulk-purpose strong{font-size:var(--text-md)}
.event-bulk-purpose p{margin:.18rem 0 0;color:var(--ui-text-soft,var(--text-muted,#687086));font-size:var(--text-xs);line-height:1.45}
.event-bulk-mode-tabs a{
  flex:1 1 0;
  text-align:center;
}
.event-bulk-import-layout,
.event-bulk-download-layout{
  display:grid;
  gap:1rem;
  align-items:start;
}
.event-bulk-import-layout{
  grid-template-columns:minmax(0,1.35fr) minmax(18rem,.65fr);
}
.event-bulk-download-layout{
  grid-template-columns:minmax(19rem,.8fr) minmax(0,1.2fr);
}
.event-bulk-upload{
  min-height:15rem;
  align-content:center;
  box-sizing:border-box;
  grid-template-rows:auto auto auto;
  justify-items:center;
  width:100%;
}
.event-bulk-upload__picker{
  align-items:center;
  background:var(--primary);
  border:1px solid var(--primary);
  border-radius:.65rem;
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  font-size:var(--text-xs);
  font-weight:var(--weight-bold);
  justify-content:center;
  margin-top:.7rem;
  min-height:2.45rem;
  min-width:12rem;
  overflow:hidden;
  padding:0 .95rem;
  position:relative;
}
.event-bulk-upload__picker:hover,
.event-bulk-upload__picker:focus-within{
  background:color-mix(in srgb,var(--primary) 88%,#000);
  border-color:color-mix(in srgb,var(--primary) 88%,#000);
}
.event-bulk-upload__picker.is-disabled{
  cursor:not-allowed;
  opacity:.58;
}
.event-bulk-upload__picker>span{
  color:inherit;
  font-size:inherit;
  pointer-events:none;
}
.mass-ops-panel .event-bulk-upload__picker input[type="file"]{
  cursor:pointer;
  height:100%;
  inset:0;
  margin:0;
  max-width:none;
  min-height:0;
  opacity:0;
  padding:0;
  position:absolute;
  width:100%;
}
.event-bulk-validation-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.65rem;
}
.event-bulk-validation-summary>div{
  padding:.75rem .8rem;
  border:1px solid var(--ui-border,var(--border-color,#dedfe8));
  border-radius:var(--ui-radius-sm,.7rem);
  background:color-mix(in srgb,var(--primary) 3%,var(--ui-surface,var(--surface-color,#fff)));
}
.event-bulk-validation-summary small,
.event-bulk-validation-summary strong{display:block}
.event-bulk-validation-summary small{color:var(--ui-text-soft,var(--text-muted,#687086));font-size:var(--text-2xs)}
.event-bulk-validation-summary strong{margin-top:.2rem;font-size:var(--text-lg)}
.event-bulk-process-list{
  display:grid;
  gap:.75rem;
  margin:0;
  padding:0;
  list-style:none;
}
.event-bulk-process-list li{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.65rem;
  align-items:start;
  padding:.7rem 0;
  border-bottom:1px solid var(--ui-border,var(--border-color,#ededf2));
}
.event-bulk-process-list li:last-child{border-bottom:0}
.event-bulk-process-list li>span{
  display:grid;
  place-items:center;
  width:1.7rem;
  height:1.7rem;
  border-radius:50%;
  background:var(--ui-primary-soft,color-mix(in srgb,var(--primary) 9%,transparent));
  color:var(--primary);
  font-size:var(--text-xs);
  font-weight:var(--weight-bold);
}
.event-bulk-process-list strong,
.event-bulk-process-list small{display:block}
.event-bulk-process-list strong{font-size:var(--text-sm)}
.event-bulk-process-list small{margin-top:.12rem;color:var(--ui-text-soft,var(--text-muted,#687086));font-size:var(--text-2xs);line-height:1.4}
.event-bulk-worker-search{display:grid;gap:.35rem;margin-bottom:.7rem}
.event-bulk-worker-search>span{font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.035em;text-transform:uppercase;color:var(--ui-text-soft,var(--text-muted,#687086))}
.event-bulk-worker-list{min-height:18rem;max-height:30rem;border:1px solid var(--ui-border,var(--border-color,#dedfe8));border-radius:.75rem;padding:.2rem}
.event-bulk-worker-list .mass-ops-person{border-radius:.55rem;border-bottom:0}
.event-bulk-worker-list .mass-ops-person:hover,
.event-bulk-worker-list .mass-ops-person.is-selected{background:var(--ui-primary-soft,color-mix(in srgb,var(--primary) 8%,transparent))}
.event-bulk-download-options{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
}
.event-bulk-download-option{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:.8rem;
  min-width:0;
  padding:1rem;
  border:1px solid var(--ui-border,var(--border-color,#dedfe8));
  border-radius:var(--ui-radius-md,1rem);
  background:color-mix(in srgb,var(--primary) 2.5%,var(--ui-surface,var(--surface-color,#fff)));
}
.event-bulk-download-option__mark{
  display:grid;
  place-items:center;
  width:2rem;
  height:2rem;
  border:1px solid var(--ui-primary-border,color-mix(in srgb,var(--primary) 28%,var(--border-color,#dedfe8)));
  border-radius:.65rem;
  background:var(--ui-primary-soft,color-mix(in srgb,var(--primary) 8%,transparent));
  color:var(--primary);
  font-weight:var(--weight-bold);
}
.event-bulk-download-option h3{margin:0;font-size:var(--text-lg)}
.event-bulk-download-option p{margin:.3rem 0;color:var(--ui-text-soft,var(--text-muted,#687086));font-size:var(--text-xs);line-height:1.45}
.event-bulk-download-option ul{margin:.65rem 0 0;padding-left:1.05rem;color:var(--ui-text-soft,var(--text-muted,#687086));font-size:var(--text-2xs)}
.event-bulk-download-option li{margin:.28rem 0}
.event-bulk-download-option>.btn{width:100%}
.event-bulk-download-option>.stariz-excel-export-button{justify-self:end}
.event-bulk-help-overlay{
  position:fixed;
  z-index:1300;
  inset:0;
  display:grid;
  place-items:center;
  padding:1.2rem;
  background:transparent;
  backdrop-filter:none;
}
.event-bulk-help-dialog{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  width:min(76rem,calc(100vw - 2rem));
  height:min(50rem,calc(100vh - 2rem));
  border:1px solid var(--ui-primary-border,color-mix(in srgb,var(--primary) 28%,var(--border-color,#dedfe8)));
  border-radius:1.15rem;
  background:var(--ui-surface,var(--surface-color,#fff));
  box-shadow: none;
  overflow:hidden;
}
.event-bulk-help-dialog>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.95rem 1.1rem;
  border-bottom:1px solid var(--ui-border,var(--border-color,#dedfe8));
  background:color-mix(in srgb,var(--ui-surface,var(--surface-color,#fff)) 88%,var(--primary) 12%);
}
.event-bulk-help-dialog h2{margin:0;font-size:var(--text-lg)}
.event-bulk-help-close{
  display:grid;
  place-items:center;
  width:2.3rem;
  height:2.3rem;
  border:1px solid var(--ui-border,var(--border-color,#dedfe8));
  border-radius:.65rem;
  background:var(--ui-surface,var(--surface-color,#fff));
  color:var(--text);
  font-size:var(--text-2xl);
  line-height:1;
}
.event-bulk-help-close:hover,
.event-bulk-help-close:focus-visible{border-color:var(--ui-primary-border);color:var(--primary);outline:none}
.event-bulk-help-dialog iframe{width:100%;height:100%;border:0;background:#f7f8fb}
html[data-theme="dark"] .event-bulk-purpose article,
html[data-theme="dark"] .event-bulk-download-option,
html[data-theme="dark"] .event-bulk-help-dialog{background:var(--ui-surface,var(--surface-color,#171822))}
@media(max-width:1050px){
  .event-bulk-import-layout,
  .event-bulk-download-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  .event-bulk-purpose,
  .event-bulk-download-options,
  .event-bulk-validation-summary{grid-template-columns:1fr}
  .event-bulk-mode-tabs{display:grid;grid-template-columns:1fr}
  .event-bulk-help-overlay{padding:0}
  .event-bulk-help-dialog{width:100vw;height:100vh;border-radius:0}
}

:root {
    --pro-surface: var(--panel);
    --pro-field: var(--field);
    --pro-border: var(--line);
    --pro-muted: var(--muted);
    --pro-hover: var(--surface-hover);
    --pro-soft: var(--surface-soft);
    --pro-radius: 12px;
    --pro-control-radius: 8px;
    --pro-gap: 14px;
}

html body :is(.page, .topbar) :is(
    [class*="card"], [class*="panel"], [class*="surface"], [class*="toolbar"],
    [class*="header"], [class*="heading"], .btn, button, input, select, textarea,
    table, thead, tbody, tr, th, td
) {
    box-shadow: none;
    text-shadow: none;
}

html body .page {
    background: var(--bg);
    padding: 16px var(--content-inline) 28px;
}
html body .page > * {
    width: min(100%, var(--page-content-max, var(--content-max)));
    max-width: var(--page-content-max, var(--content-max));
    margin-inline: auto;
    min-width: 0;
}
html body .page :is(
    .stariz-module-page, .hero-shell, .page-shell, .module-shell,
    .generic-table-page, .colaborador-table-page, .workspace-module,
    .employee-requests, .approval-shell, .vacation-account-page,
    .vacation-timeline-page, .process-index-page, .process-detail-page,
    .process-selection-page, .news-admin-page, .worker-groups-page
) {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
html body .page :is(.rrhh-adn-page, .rrhh-adn-custom-page, .generic-table-page, .workspace-module.rrhh-adn-page) {
    display: grid;
    gap: var(--pro-gap);
    align-content: start;
}

html body .page :is(.rrhh-adn-create-card, .rrhh-adn-message-card) {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
}
.rrhh-adn-create-card__header { display: flex; align-items: stretch; width: 100%; }
.rrhh-adn-create-card__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 70px;
    padding: 13px 16px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}
.rrhh-adn-create-card__toggle:hover:not(:disabled) { background: var(--pro-hover); }
.rrhh-adn-create-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary);
}
.rrhh-adn-create-card__copy { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.rrhh-adn-create-card__copy strong { color: var(--text); font-size: var(--text-md); font-weight: var(--weight-bold); line-height: 1.3; }
.rrhh-adn-create-card__copy > span:last-child { color: var(--pro-muted); font-size: var(--text-2xs); font-weight: var(--weight-regular); line-height: 1.4; }
.rrhh-adn-create-card__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-left: auto;
    color: var(--pro-muted);
    transition: transform .16s ease;
}
.rrhh-adn-create-card__chevron.is-open { transform: rotate(180deg); }
.rrhh-adn-create-card__icon svg,
.rrhh-adn-create-card__chevron svg,
.rrhh-adn-search__icon svg,
.rrhh-adn-search__clear svg,
.rrhh-adn-icon-action svg,
.rrhh-adn-page-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rrhh-adn-create-card__form,
.rrhh-adn-custom-editor,
.workspace-module__editor {
    padding: 20px 22px 22px;
    background: color-mix(in srgb, var(--bg) 44%, var(--panel));
    border-top: 1px solid var(--pro-border);
}
.rrhh-adn-create-card__form :is(.sliding-form-panel, .sliding-form-panel__body, [class*="editor-card"], [class*="form-card"]),
.rrhh-adn-custom-editor :is(.sliding-form-panel, .sliding-form-panel__body, [class*="editor-card"], [class*="form-card"]) {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
html body .page :is(.record-editor__grid, .stariz-form-grid, [class*="form-grid"]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    min-width: 0;
}
html body .page :is(.record-editor__grid, .stariz-form-grid, [class*="form-grid"]) > * { min-width: 0; }
html body .page :is(.record-editor__actions, [class*="editor-actions"], [class*="form-actions"]) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--pro-border);
}

html body .page :is(.rrhh-adn-crud-card, .workspace-module__crud-card) {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
}
html body .page :is(.stariz-grid-toolbar, .rrhh-adn-toolbar, .rrhh-adn-custom-toolbar) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 10px 13px;
    overflow: visible;
    background: var(--pro-surface);
    border: 0;
    border-bottom: 1px solid var(--pro-border);
    border-radius: 0;
}
html body .page :is(.stariz-grid-toolbar, .rrhh-adn-toolbar, .rrhh-adn-custom-toolbar) > * { min-width: 0; }
.rrhh-adn-search,
html body .page .stariz-grid-filter {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1 1 320px;
    width: min(100%, 430px);
    max-width: 480px;
    min-width: 220px;
    min-height: 34px;
    margin: 0;
    padding: 0 10px;
    background: var(--pro-soft);
    border: 1px solid transparent;
    border-radius: var(--pro-control-radius);
    color: var(--pro-muted);
}
.rrhh-adn-search:focus-within,
html body .page .stariz-grid-filter:focus-within { border-color: var(--primary-border); outline: 3px solid var(--focus-ring); outline-offset: 0; }
.rrhh-adn-search input,
html body .page .stariz-grid-filter input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: 0;
    font-size: var(--text-xs);
}
html body .page .stariz-grid-filter > span:not(.rrhh-adn-search__icon) { display: none; }
.rrhh-adn-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pro-muted);
    cursor: pointer;
}
.rrhh-adn-search__clear:hover:not(:disabled) { background: var(--pro-hover); color: var(--text); }
.rrhh-adn-toolbar__actions,
.stariz-grid-toolbar__actions,
.stariz-excel-export-host__actions,
[class*="toolbar__actions"] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    margin-left: auto;
    min-width: 0;
}

html body .page :is(.table-wrap, .stariz-crud-grid, .rrhh-adn-grid, .rrhh-adn-custom-grid) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-inline: contain;
    background: var(--pro-surface);
    border: 0;
    border-radius: 0;
}
html body .page table.stariz-data-grid,
html body .page .stariz-crud-grid table {
    width: 100%;
    min-width: 720px;
    border: 0;
    border-collapse: collapse;
    table-layout: auto;
    background: var(--pro-surface);
}
html body .page table.stariz-data-grid th,
html body .page .stariz-crud-grid th {
    padding: var(--grid-cell-block, 4px) var(--grid-cell-inline, 10px);
    border: 0;
    border-bottom: 1px solid var(--pro-border);
    background: var(--pro-surface);
    color: var(--pro-muted);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
html body .page table.stariz-data-grid td,
html body .page .stariz-crud-grid td {
    padding: var(--grid-cell-block, 4px) var(--grid-cell-inline, 10px);
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--pro-border) 72%, transparent);
    background: var(--pro-surface);
    color: var(--text);
    font-size: var(--text-xs);
    line-height: 1.35;
    vertical-align: middle;
}
html body .page table.stariz-data-grid tbody tr:last-child td,
html body .page .stariz-crud-grid tbody tr:last-child td { border-bottom: 0; }
html body .page table.stariz-data-grid tbody tr:hover td,
html body .page .stariz-crud-grid tbody tr:hover td,
html body .page .stariz-crud-grid tbody tr.is-selected td { background: var(--pro-hover); }
html body .page :is(.actions, .actions-header, [class*="action-cell"], [class*="action-header"]) { text-align: center; white-space: nowrap; }
html body .page :is(.table-row-actions, [class*="action-row"], [class*="row-actions"]) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row nowrap;
    gap: 6px;
    white-space: nowrap;
}
.rrhh-adn-empty-row,
html body .page :is([class*="empty-row"], .process-empty) { padding: 30px 16px; color: var(--pro-muted); text-align: center; }
.rrhh-adn-loading-state { min-height: 120px; display: grid; place-items: center; color: var(--pro-muted); font-size: var(--text-xs); }

html body .page :is(.rrhh-adn-pager, .rrhh-adn-custom-pager, .stariz-crud-pager, .pager) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 9px 13px;
    background: var(--pro-surface);
    border: 0;
    border-top: 1px solid var(--pro-border);
    border-radius: 0;
}
.rrhh-adn-pager__summary,
html body .page .stariz-crud-pager > span { color: var(--pro-muted); font-size: var(--text-2xs); font-weight: var(--weight-medium); }
.rrhh-adn-pager__nav { display: flex; align-items: center; gap: 3px; }
.rrhh-adn-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pro-muted);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    cursor: pointer;
}
.rrhh-adn-page-button:hover:not(:disabled) { background: var(--pro-hover); color: var(--text); }
.rrhh-adn-page-button.is-active { background: var(--primary); color: var(--primary-contrast); }
.rrhh-adn-page-button:disabled { opacity: .32; cursor: default; }

html body .page :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea:not([data-agente-ia-composer])),
html body .stariz-popup-surface :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea) {
    min-height: 38px;
    padding: 8px 10px;
    background: var(--pro-field);
    color: var(--text);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-control-radius);
    font-size: var(--text-xs);
    outline: 0;
}
html body .page :is(input, select, textarea:not([data-agente-ia-composer])):focus,
html body .stariz-popup-surface :is(input, select, textarea):focus { border-color: var(--primary); outline: 3px solid var(--focus-ring); outline-offset: 0; }
html body :is(.btn, button.btn, a.btn) {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: var(--pro-control-radius);
    font-size: var(--text-2xs);
    font-weight: var(--weight-semibold);
    line-height: 1.15;
    gap: 6px;
    transform: none;
}
html body :is(.btn.small, button.btn.small, a.btn.small) { min-height: 28px; padding: 5px 8px; border-radius: 7px; font-size: var(--text-2xs); }
html body :is(.btn, button.btn, a.btn):hover:not(:disabled) { transform: none; filter: brightness(.97); }

html body .page :is(.stariz-module-header, .page-heading, [class*="module-header"], [class$="__header"]) {
    min-width: 0;
}
html body .page :is(.rrhh-adn-custom-heading, .stariz-module-header.page-heading,
    .employee-requests__module-header, .approval-heading, .vacation-account-page__header,
    .vacation-timeline-page__header, .worker-groups-page > .stariz-module-header,
    .news-admin-page > .stariz-module-header, .process-detail-page > .stariz-module-header,
    .process-selection-page > .stariz-module-header) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 70px;
    margin: 0;
    padding: 13px 16px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
}
html body .page :is(.rrhh-adn-custom-heading, .stariz-module-header.page-heading) .eyebrow { display: none; }
html body .page :is(.rrhh-adn-custom-heading, .stariz-module-header.page-heading) h1 { margin: 0; font-size: var(--text-md); font-weight: var(--weight-bold); }
html body .page :is(.rrhh-adn-custom-heading, .stariz-module-header.page-heading) p:not(.eyebrow) { margin: 2px 0 0; color: var(--pro-muted); font-size: var(--text-2xs); }
html body .page .stariz-module-header__actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; margin-left: auto; }

html body .summary-dashboard { display: grid; gap: 16px; }
html body .summary-dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
html body .summary-dashboard-heading .eyebrow { display: none; }
html body .summary-dashboard-heading h1 { font-size: var(--text-lg); font-weight: var(--weight-bold); }
html body .summary-dashboard-heading p:not(.eyebrow) { color: var(--pro-muted); font-size: var(--text-xs); }
html body .summary-dashboard-period { background: transparent; border: 0; border-radius: 0; padding: 0; color: var(--pro-muted); }
html body .summary-kpi-grid,
html body .employee-operations__kpis,
html body .payroll-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
html body .page :is(.summary-kpi-card, .stariz-indicator-card, .dashboard-card,
    .payroll-chart-card, .hr-analytics-chart-card, .hr-analytics-context-card,
    .vacation-timeline-chart, [class*="chart-card"], [class*="quick-access"]) {
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    box-shadow: none;
    transform: none;
}
html body .summary-kpi-card { min-height: 92px; padding: 14px; }
html body .summary-kpi-card::before,
html body .summary-kpi-card::after { display: none; }
html body .summary-kpi-card:hover { animation: none; transform: none; border-color: color-mix(in srgb, var(--primary) 22%, var(--pro-border)); }
html body .summary-kpi-card__icon { background: var(--primary-soft); color: var(--primary); transform: none; transition: none; }
html body .summary-kpi-card > span:not(.summary-kpi-card__icon) { color: var(--pro-muted); font-size: var(--text-2xs); text-transform: none; letter-spacing: 0; }
html body .summary-kpi-card strong { font-size: var(--text-xl); transform: none; }
html body .summary-kpi-card small { font-size: var(--text-2xs); }
html body .home-analytics-section { margin-top: 16px; }

html body .page :is(.chart-grid, .employee-operations__charts, .payroll-chart-grid,
    .hr-analytics-grid, .vacation-timeline-page__charts) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
html body .page :is(.payroll-chart-card, .hr-analytics-chart-card, .vacation-timeline-chart, [class*="chart-card"]) { min-width: 0; padding: 16px; }
html body .page :is(svg, canvas) { max-width: 100%; }

html body .page :is(.employee-requests__filters, .employee-operations__filters, .payroll-filter-grid,
    .vacation-timeline-page__filters, .employee-self-filter-grid, .selection-filters,
    .worker-groups-filter, .eventos-remunerativos-page__bulk-filter-grid,
    .mass-ops-filter-grid, .portal-field-grid, .channels-form-grid, .denuncias-form-grid,
    .process-editor-grid, .eventos-remunerativos-page__editor-grid,
    .imputacion-editor__grid, .news-admin-form-grid, .approval-form-grid,
    [class*="filter-grid"], [class*="filters-grid"]) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 10px 12px;
    align-items: end;
    min-width: 0;
}

html body :is(.stariz-popup-surface, .approval-modal, .denuncias-modal-dialog,
    .employee-request-dialog__surface, .employee-request-delete-dialog__surface,
    .employee-accrual-dialog__surface, .employee-self-qr-dialog,
    .eventos-remunerativos-page__bulk-upload-dialog,
    .process-completion-dialog__card, .process-delete-dialog__surface,
    .vacation-account-dialog__surface, .vacation-chart-detail-dialog__surface,
    .payroll-detail-modal) {
    width: min(760px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: min(88dvh, 900px);
    overflow: auto;
    background: var(--pro-surface);
    color: var(--text);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    box-shadow: none;
}
html body :is(.approval-modal-backdrop, .denuncias-modal-backdrop,
    .employee-timeline-dialog-backdrop, .payroll-detail-backdrop) { background: transparent; backdrop-filter: none; }
html body .stariz-popup-surface :is([class*="card"], [class*="panel"], [class*="section"]) { box-shadow: none; }

html[data-theme="dark"] body .page :is(.rrhh-adn-create-card__form, .rrhh-adn-custom-editor, .workspace-module__editor) { background: color-mix(in srgb, var(--bg) 62%, var(--panel)); }

html, body { max-width: 100%; overflow-x: hidden; }
html body .page,
html body .page > *,
html body .page :is(.rrhh-adn-page, .rrhh-adn-custom-page, .generic-table-page, .workspace-module, .stariz-module-page) { min-width: 0; }
@media (max-width: 1080px) {
    html body .summary-kpi-grid,
    html body .employee-operations__kpis,
    html body .payroll-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    html body .page :is(.record-editor__grid, .stariz-form-grid, [class*="form-grid"]) { grid-template-columns: 1fr; }
    html body .page :is(.chart-grid, .employee-operations__charts, .payroll-chart-grid,
        .hr-analytics-grid, .vacation-timeline-page__charts) { grid-template-columns: 1fr; }
    html body .page table.stariz-data-grid,
    html body .page .stariz-crud-grid table { min-width: 660px; }
}
@media (max-width: 720px) {
    html body .page { padding: 14px 10px 24px; }
    html body .page :is(.stariz-grid-toolbar, .rrhh-adn-toolbar, .rrhh-adn-custom-toolbar) { align-items: stretch; flex-direction: column; }
    .rrhh-adn-search,
    html body .page .stariz-grid-filter { width: 100%; max-width: none; min-width: 0; }
    .rrhh-adn-toolbar__actions,
    .stariz-grid-toolbar__actions,
    .stariz-excel-export-host__actions,
    [class*="toolbar__actions"] { width: 100%; margin-left: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    html body .page :is(.rrhh-adn-create-card__form, .rrhh-adn-custom-editor, .workspace-module__editor) { padding: 16px 14px 18px; }
    html body .page :is(.rrhh-adn-custom-heading, .stariz-module-header.page-heading) { align-items: stretch; flex-direction: column; }
    html body .page .stariz-module-header__actions { width: 100%; justify-content: flex-start; margin-left: 0; }
    html body .page :is(.rrhh-adn-pager, .rrhh-adn-custom-pager, .stariz-crud-pager, .pager) { justify-content: space-between; }
}
@media (max-width: 520px) {
    html body .summary-kpi-grid,
    html body .employee-operations__kpis,
    html body .payroll-metric-grid { grid-template-columns: 1fr; }
    .rrhh-adn-create-card__toggle { min-height: 64px; padding: 11px 12px; gap: 9px; }
    .rrhh-adn-create-card__copy strong { font-size: var(--text-sm); }
    html body .page :is(.table-row-actions, [class*="action-row"], [class*="row-actions"]) .btn { min-width: 31px; min-height: 31px; padding-inline: 7px; }
    html body .page :is(.rrhh-adn-pager, .rrhh-adn-custom-pager, .stariz-crud-pager, .pager) { justify-content: center; }
    .rrhh-adn-pager__summary { flex-basis: 100%; text-align: center; }
}

html body .page :is(
    .channels-page, .process-index-page, .news-admin-page,
    .eventos-remunerativos-page, .denuncias-page, .imputaciones-contables-page
) > :is(.page-heading, .stariz-module-header, .rrhh-adn-custom-heading):has(+ :is(
    .channels-editor, .rrhh-adn-custom-editor, .news-admin-editor,
    .eventos-remunerativos-page__editor, .denuncias-editor, .imputacion-editor
)) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

html body .page :is(
    .channels-page, .process-index-page, .news-admin-page,
    .eventos-remunerativos-page, .denuncias-page, .imputaciones-contables-page
) > :is(
    .channels-editor, .rrhh-adn-custom-editor, .news-admin-editor,
    .eventos-remunerativos-page__editor, .denuncias-editor, .imputacion-editor
) {
    width: 100%;
    margin: -14px 0 0;
    padding: 16px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-top: 0;
    border-radius: 0 0 var(--pro-radius) var(--pro-radius);
    box-shadow: none;
}

html body .page :is(
    .channels-page, .process-index-page, .news-admin-page,
    .eventos-remunerativos-page, .denuncias-page, .imputaciones-contables-page
) > :is(
    .rrhh-adn-custom-grid--standalone, .news-admin-list,
    .eventos-remunerativos-page__table-card, .denuncias-list,
    .imputaciones-contables-page__grid
) {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    box-shadow: none;
}

html body .page :is(.rrhh-adn-custom-toolbar, .channels-toolbar, .news-admin-list__heading) {
    margin: 0;
    border: 1px solid var(--pro-border);
    border-bottom: 0;
    border-radius: var(--pro-radius) var(--pro-radius) 0 0;
}
html body .page :is(.rrhh-adn-custom-toolbar, .channels-toolbar, .news-admin-list__heading)
    + :is(.rrhh-adn-custom-grid, .channels-table-wrap, .stariz-crud-grid) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
}

html body .page .process-selection-page {
    display: grid;
    gap: 14px;
}
html body .page .process-selection-page > .selection-summary {
    margin: 0;
    padding: 12px 14px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-bottom: 0;
    border-radius: var(--pro-radius) var(--pro-radius) 0 0;
}
html body .page .process-selection-page > .selection-filters,
html body .page .process-selection-page > .selection-toolbar {
    margin: -14px 0 0;
    padding: 12px 14px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
}
html body .page .process-selection-page > .selection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
html body .page .process-selection-page > .stariz-crud-grid {
    margin: -14px 0 0;
    border-radius: 0 0 var(--pro-radius) var(--pro-radius);
    border-top: 0;
}

html body .page .process-detail-page {
    display: grid;
    gap: 14px;
}
html body .page .process-detail-page > .process-detail-card {
    margin: 0;
    padding: 16px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    box-shadow: none;
}
html body .page .process-detail-page > .process-detail-card:has(+ .process-documents-panel) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
html body .page .process-detail-page > .process-documents-panel {
    margin: -14px 0 0;
    padding: 16px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-top: 0;
    border-radius: 0 0 var(--pro-radius) var(--pro-radius);
    box-shadow: none;
}

html body .page :is(.worker-groups-page, .role-access-page, .portal-settings-page) {
    display: grid;
    gap: 14px;
}
html body .page :is(.worker-groups-filter, .role-access-selector, .portal-settings-form) {
    margin: 0;
    padding: 14px;
    background: var(--pro-surface);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    box-shadow: none;
}
html body .page :is(.role-access-matrix-group, .news-admin-section, .process-document-section) {
    background: transparent;
    box-shadow: none;
}

html body .page :is(
    .channels-editor__heading, .news-admin-editor__header,
    .eventos-remunerativos-page__editor-heading, .denuncias-editor__heading,
    .imputacion-editor__heading, .process-documents-panel__heading
) {
    margin: 0 0 14px;
    padding: 0 0 11px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--pro-border);
    border-radius: 0;
}

html body .page :is(.rrhh-adn-create-chevron, .stariz-module-header__actions > .btn.primary) {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: var(--pro-control-radius);
    white-space: nowrap;
}

html body .page :is(.stariz-module-header, .rrhh-adn-custom-heading, .page-heading) > * {
    min-width: 0;
}
html body .page :is(.stariz-module-header__actions, .selection-header-actions,
    .process-detail-actions, .news-admin-actions, .channels-editor__actions,
    .process-editor-actions) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    html body .page .process-selection-page > .selection-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    html body .page .process-selection-page > .selection-toolbar > div {
        display: flex;
        gap: 7px;
        overflow-x: auto;
    }
    html body .page :is(.process-documents-grid, .news-upload-grid) {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    html body .page :is(.stariz-module-header, .rrhh-adn-custom-heading, .page-heading) {
        align-items: stretch;
        flex-direction: column;
    }
    html body .page :is(.stariz-module-header__actions, .selection-header-actions,
        .process-detail-actions) {
        width: 100%;
        justify-content: flex-start;
    }
    html body .page :is(.stariz-module-header__actions, .selection-header-actions,
        .process-detail-actions) > .btn {
        flex: 1 1 auto;
    }
}

html body .dashboard-quick-access {
    display: grid;
    gap: 10px;
    margin: 0;
}
html body .dashboard-quick-access__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}
html body .dashboard-quick-access__heading h2 {
    margin: 0;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}
html body .dashboard-quick-access__heading p {
    margin: 2px 0 0;
    color: var(--pro-muted);
    font-size: var(--text-2xs);
}
html body .dashboard-quick-access__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
html body .dashboard-quick-access__card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 2px 10px;
    min-width: 0;
    min-height: 126px;
    padding: 14px;
    background: var(--pro-surface);
    color: var(--text);
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius);
    box-shadow: none;
    text-decoration: none;
}
html body .dashboard-quick-access__card:hover,
html body .dashboard-quick-access__card:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 28%, var(--pro-border));
    background: color-mix(in srgb, var(--primary) 3%, var(--pro-surface));
    outline: none;
}
html body .dashboard-quick-access__icon {
    grid-row: 1 / span 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary);
}
html body .dashboard-quick-access__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body .dashboard-quick-access__card strong {
    align-self: end;
    overflow: hidden;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-overflow: ellipsis;
    white-space: nowrap;
}
html body .dashboard-quick-access__card > span:not(.dashboard-quick-access__icon) {
    overflow: hidden;
    color: var(--pro-muted);
    font-size: var(--text-2xs);
    text-overflow: ellipsis;
    white-space: nowrap;
}
html body .dashboard-quick-access__card small {
    align-self: end;
    width: fit-content;
    padding: 3px 7px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    font-size: var(--text-2xs);
    font-weight: var(--weight-semibold);
}
@media (max-width: 1080px) {
    html body .dashboard-quick-access__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    html body .dashboard-quick-access__grid { grid-template-columns: 1fr; }
    html body .dashboard-quick-access__card { min-height: 104px; }
}

body .stariz-excel-scope-menu {
    box-sizing: border-box;
    display: block;
    max-height: calc(100vh - 24px);
    max-width: calc(100vw - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    width: min(28rem, calc(100vw - 24px));
    z-index: 2147481200;
}
body .stariz-excel-scope-menu__header {
    align-items: center;
    display: flex;
}
body .stariz-excel-scope-menu__header > span:last-child,
body .stariz-excel-scope-menu__option > span:last-child {
    display: grid;
    gap: .2rem;
    min-width: 0;
}
body .stariz-excel-scope-menu__header small,
body .stariz-excel-scope-menu__option small {
    line-height: 1.35;
    white-space: normal;
}
body .stariz-excel-scope-menu__options {
    display: grid;
}
body .stariz-excel-scope-menu__option {
    cursor: pointer;
    display: grid;
    text-align: left;
    width: 100%;
}
body .stariz-excel-scope-menu__option-mark,
body .stariz-excel-scope-menu__excel-icon {
    align-items: center;
    border-radius: 8px;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    width: 32px;
}
body .stariz-excel-export-spinner {
    animation: stariz-excel-spin .75s linear infinite;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    height: 14px;
    width: 14px;
}
body .stariz-excel-export-toolbar {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    width: 100%;
}
@keyframes stariz-excel-spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) {
    body .stariz-excel-scope-menu { width: calc(100vw - 24px); }
    body .stariz-excel-scope-menu__option { grid-template-columns: 30px minmax(0, 1fr); }
}
