html body .page .employee-requests {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 10px;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    position: relative;
}

html body .page .employee-requests.is-loading {
    opacity: .72;
    pointer-events: none;
}

html body .page .employee-requests.is-loading::before {
    animation: employee-requests-progress 1.05s ease-in-out infinite;
    background: var(--primary);
    border-radius: 10px;
    content: "";
    height: 2px;
    inset: -5px 0 auto;
    position: absolute;
    z-index: 3;
}

@keyframes employee-requests-progress {
    0% { transform: scaleX(.12); transform-origin: left; }
    50% { transform: scaleX(.72); transform-origin: center; }
    100% { transform: scaleX(.12); transform-origin: right; }
}

html body .page .employee-requests-access {
    max-width: 960px;
}

html body .page .employee-requests > .employee-requests__create-card {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
}

html body .page .employee-requests .rrhh-adn-create-card__header {
    align-items: stretch;
    display: flex;
    min-width: 0;
    padding: 0;
    background: transparent;
}

html body .page .employee-requests .rrhh-adn-create-card__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--text);
    display: grid;
    flex: 1 1 auto;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 28px;
    min-height: 58px;
    min-width: 0;
    padding: 10px 12px;
    text-align: left;
}

html body .page .employee-requests .rrhh-adn-create-card__toggle:hover:not(:disabled) {
    background: color-mix(in srgb, var(--text) 2.5%, transparent);
}

html body .page .employee-requests .rrhh-adn-create-card__copy {
    align-content: center;
    display: grid;
    gap: 2px;
    min-width: 0;
}

html body .page .employee-requests .rrhh-adn-create-card__copy strong {
    color: var(--text);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    line-height: 1.25;
}

html body .page .employee-requests .rrhh-adn-create-card__copy > span:last-child {
    color: var(--muted);
    font-size: var(--text-xs);
    line-height: 1.35;
}

html body .page .employee-requests .rrhh-adn-create-card__chevron {
    align-items: center;
    color: var(--muted);
    display: flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

html body .page .employee-requests .rrhh-adn-create-card__chevron svg {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .16s ease;
    width: 16px;
}

html body .page .employee-requests .rrhh-adn-create-card__chevron.is-open svg {
    transform: rotate(180deg);
}

html body .page .employee-requests .rrhh-adn-create-card__context-action,
html body .page .employee-requests .employee-requests__module-actions {
    align-items: center;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line);
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding: 8px 10px;
}

html body .page .employee-requests .employee-requests__role-switch {
    align-items: center;
    display: flex;
    gap: 2px;
}

html body .page .employee-requests .employee-requests__role-switch > span {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--muted);
    display: inline-flex;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    gap: 5px;
    min-height: 30px;
    padding: 5px 9px;
    white-space: nowrap;
}

html body .page .employee-requests .employee-requests__role-switch > span.is-active {
    border-color: var(--line);
    color: var(--text);
}

html body .page .employee-requests .employee-requests__role-switch b {
    align-items: center;
    background: var(--text);
    border-radius: 10px;
    color: var(--panel);
    display: inline-flex;
    font-size: var(--text-2xs);
    height: 17px;
    justify-content: center;
    min-width: 17px;
    padding-inline: 4px;
}

html body .page .employee-requests > .employee-requests__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

html body .page .employee-requests .employee-requests__toolbar {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 2px;
}

html body .page .employee-requests .employee-requests__scope-badge {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    display: inline-flex;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    gap: 6px;
    min-height: 0;
    padding: 0;
}

html body .page .employee-requests .employee-requests__info,
html body .page .employee-requests .employee-requests__warning,
html body .page .employee-requests > .employee-requests__workspace > .alert {
    border-left: 3px solid currentColor;
    border-radius: 0;
    font-size: var(--text-xs);
    margin: 0;
    padding: 9px 12px;
}

html body .page .employee-requests .employee-requests__filters {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    display: grid;
    gap: 10px 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 12px;
}

html body .page .employee-requests .employee-requests__filters-heading {
    align-items: center;
    border: 0;
    display: flex;
    gap: 12px;
    grid-column: 1 / -1;
    justify-content: space-between;
    padding: 0 0 2px;
}

html body .page .employee-requests .employee-requests__filters-heading > div:first-child {
    display: grid;
    gap: 1px;
}

html body .page .employee-requests .employee-requests__filters-heading strong {
    color: var(--text);
    font-size: var(--text-sm);
}

html body .page .employee-requests .employee-requests__filters-heading span {
    color: var(--muted);
    font-size: var(--text-2xs);
}

html body .page .employee-requests .employee-requests__filters-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

html body .page .employee-requests .employee-requests__filters-actions > span {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    padding: 0;
}

html body .page .employee-requests .employee-requests__field,
html body .page .employee-requests .employee-requests__identity {
    display: grid;
    gap: 4px;
    min-width: 0;
}

html body .page .employee-requests .employee-requests__field > span,
html body .page .employee-requests .employee-requests__identity > span {
    color: var(--muted);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    letter-spacing: .035em;
    line-height: 1;
    text-transform: uppercase;
}

html body .page .employee-requests .employee-requests__field select {
    background: var(--stariz-glass-field, var(--panel));
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    font-size: var(--text-xs);
    min-height: 36px;
    padding: 6px 9px;
    width: 100%;
}

html body .page .employee-requests .employee-requests__field select:focus {
    border-color: color-mix(in srgb, var(--primary) 46%, var(--line));
    outline: 2px solid color-mix(in srgb, var(--primary) 12%, transparent);
}

html body .page .employee-requests .employee-requests__identity {
    align-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 36px;
    padding: 6px 9px;
}

html body .page .employee-requests .employee-requests__identity strong {
    color: var(--text);
    font-size: var(--text-xs);
}

html body .page .employee-requests .employee-requests__identity small {
    color: var(--muted);
    font-size: var(--text-2xs);
}

html body .page .employee-requests .employee-requests__summary {
    background: transparent;
    border: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
}

html body .page .employee-requests .employee-requests__summary article,
html body .page .employee-requests .employee-requests__kpi,
html body .page .employee-requests .employee-requests__kpi--pending,
html body .page .employee-requests .employee-requests__kpi--approved,
html body .page .employee-requests .employee-requests__kpi--rejected {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    display: flex;
    gap: 10px;
    min-height: 68px;
    overflow: hidden;
    padding: 11px 12px;
    position: relative;
    transform: none;
}

html body .page .employee-requests .employee-requests__summary article + article {
    border-left: 1px solid var(--line);
}

html body .page .employee-requests .employee-requests__summary article::before,
html body .page .employee-requests .employee-requests__kpi-bar {
    display: none;
}

html body .page .employee-requests .employee-requests__kpi > div {
    align-items: baseline;
    display: flex;
    gap: 8px;
    min-width: 0;
}

html body .page .employee-requests .employee-requests__kpi strong {
    color: var(--text);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    letter-spacing: -.02em;
    line-height: 1;
}

html body .page .employee-requests .employee-requests__kpi div > span {
    color: var(--muted);
    font-size: var(--text-xs);
    line-height: 1.25;
}

html body .page .employee-requests .employee-requests__table-card,
html body .page .employee-requests .employee-requests__table-card.stariz-crud-surface,
html body .page .employee-requests [data-stariz-grid-surface="true"].employee-requests__table-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
}

html body .page .employee-requests .employee-requests__table-heading {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 0;
    min-height: 44px;
    padding: 8px 12px;
}

html body .page .employee-requests .employee-requests__table-heading .eyebrow {
    display: none;
}

html body .page .employee-requests .employee-requests__table-heading h2 {
    color: var(--text);
    font-size: var(--text-sm);
    margin: 0;
}

html body .page .employee-requests .employee-requests__table-heading > span {
    color: var(--muted);
    font-size: var(--text-2xs);
}

html body .page .employee-requests .employee-requests__table-card .table-wrap,
html body .page .employee-requests .employee-requests__table-card .stariz-crud-grid {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    overflow: auto;
}

html body .page .employee-requests .employee-requests__table-card table {
    border-collapse: collapse;
    min-width: 1180px;
    width: 100%;
}

html body .page .employee-requests .employee-requests__table-card th {
    background: color-mix(in srgb, var(--text) 3%, var(--panel));
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    line-height: 1.3;
    letter-spacing: .01em;
    padding: 8px 10px;
    text-transform: none;
}

html body .page .employee-requests .employee-requests__table-card td {
    border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    padding: 8px 10px;
    vertical-align: middle;
}

html body .page .employee-requests .employee-requests__table-card tbody tr:last-child td {
    border-bottom: 0;
}

html body .page .employee-requests .employee-requests__table-card tbody tr:hover {
    background: color-mix(in srgb, var(--text) 2%, transparent);
}

html body .page .employee-requests .employee-requests__person-cell,
html body .page .employee-requests .employee-requests__detail-cell,
html body .page .employee-requests .employee-requests__period-cell {
    display: grid;
    gap: 1px;
    min-width: 0;
}

html body .page .employee-requests .employee-requests__person-cell strong,
html body .page .employee-requests .employee-requests__detail-cell strong,
html body .page .employee-requests .employee-requests__period-cell strong {
    color: var(--text);
    font-size: var(--text-sm);
}

html body .page .employee-requests .employee-requests__person-cell small,
html body .page .employee-requests .employee-requests__detail-cell small,
html body .page .employee-requests .employee-requests__period-cell small {
    color: var(--muted);
    font-size: var(--text-2xs);
    line-height: 1.3;
}

html body .page .employee-requests .employee-requests__person-cell {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 28px minmax(0, 1fr);
}

html body .page .employee-requests .employee-requests__person-avatar {
    align-items: center;
    background: color-mix(in srgb, var(--text) 5%, var(--panel));
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    display: flex;
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    height: 28px;
    justify-content: center;
    width: 28px;
}

html body .page .employee-requests .employee-requests__type-badge,
html body .page .employee-requests .employee-requests__status {
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    padding: 3px 7px;
    white-space: nowrap;
}

html body .page .employee-requests .employee-requests__type-badge {
    background: color-mix(in srgb, var(--text) 3%, var(--panel));
    color: var(--text);
}

html body .page .employee-requests .employee-requests__status--approved {
    background: color-mix(in srgb, #16a34a 7%, var(--panel));
    color: color-mix(in srgb, #166534 86%, var(--text));
}

html body .page .employee-requests .employee-requests__status--pending {
    background: color-mix(in srgb, #d97706 7%, var(--panel));
    color: color-mix(in srgb, #92400e 86%, var(--text));
}

html body .page .employee-requests .employee-requests__status--rejected {
    background: color-mix(in srgb, #dc2626 6%, var(--panel));
    color: color-mix(in srgb, #991b1b 86%, var(--text));
}

html body .page .employee-requests .employee-requests__status--other {
    background: color-mix(in srgb, var(--text) 3%, var(--panel));
    color: var(--muted);
}

html body .page .employee-requests .employee-requests__actions-heading {
    min-width: 218px;
    text-align: right;
}

html body .page .employee-requests .employee-requests__row-actions {
    align-items: center;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    min-width: 212px;
}

html body .page .employee-requests .employee-requests__pagination {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: space-between;
    margin: 0;
    padding: 8px 12px;
}

html body .page .employee-requests .employee-requests__empty {
    background: transparent;
    color: var(--muted);
    padding: 0;
}

html body .page .employee-requests .employee-requests__empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    min-height: 190px;
    padding: 24px 12px;
    text-align: center;
}

html body .page .employee-requests .employee-requests__empty-icon {
    align-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    display: flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

@media (max-width: 980px) {
    html body .page .employee-requests .employee-requests__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body .page .employee-requests .rrhh-adn-create-card__header {
        flex-direction: column;
    }

    html body .page .employee-requests .rrhh-adn-create-card__context-action,
    html body .page .employee-requests .employee-requests__module-actions {
        border-left: 0;
        border-top: 1px solid var(--line);
        justify-content: space-between;
    }
}

@media (max-width: 680px) {
    html body .page .employee-requests .employee-requests__toolbar,
    html body .page .employee-requests .employee-requests__filters-heading {
        align-items: stretch;
        flex-direction: column;
    }

    html body .page .employee-requests .employee-requests__filters,
    html body .page .employee-requests .employee-requests__summary {
        grid-template-columns: 1fr;
    }

    html body .page .employee-requests .employee-requests__summary article + article {
        border-left: 1px solid var(--line);
        border-top: 1px solid var(--line);
    }

    html body .page .employee-requests .employee-requests__filters-actions,
    html body .page .employee-requests .employee-requests__module-actions {
        justify-content: flex-start;
    }

    html body .page .employee-requests .employee-requests__module-actions {
        align-items: stretch;
        flex-direction: column;
    }

    html body .page .employee-requests .employee-requests__role-switch {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .page .employee-requests.is-loading::before {
        animation: none;
    }
}

.employee-request-dialog h2, .employee-request-dialog h3{
    color: var(--text);
}

.employee-request-dialog__header p, .employee-request-dialog__aside-section p{
    color: var(--muted);
}

.employee-request-dialog__field{
    display: grid;
    gap: .38rem;
    min-width: 0;
}

.employee-request-dialog__field > span{
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: .04em;
    line-height: 1rem;
    text-transform: uppercase;
}

.employee-request-dialog__field input, .employee-request-dialog__field select, .employee-request-dialog__field textarea{
    width: 100%;
    min-height: 2.65rem;
    padding: .58rem .72rem;
    border: 1px solid var(--line);
    border-radius: .72rem;
    background: var(--stariz-glass-field);
    color: var(--text);
    font: inherit;
}

.employee-request-dialog__field textarea{
    min-height: 6.5rem;
    resize: vertical;
}

.employee-request-dialog__field input:focus, .employee-request-dialog__field select:focus, .employee-request-dialog__field textarea:focus{
    outline: 3px solid color-mix(in srgb, var(--primary) 16%, transparent);
    border-color: color-mix(in srgb, var(--primary) 55%, transparent);
}

.employee-request-dialog__tabs button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.5rem;
    padding: .52rem .78rem;
    border: 0;
    border-radius: .68rem;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    white-space: nowrap;
    cursor: pointer;
}

.employee-request-dialog__tabs button:hover{
    background: color-mix(in srgb, var(--primary) 6%, transparent);
    color: var(--text);
}

.employee-request-dialog__tabs button.is-active{
    background: color-mix(in srgb, var(--primary) 11%, var(--panel));
    color: var(--primary);
    box-shadow: none;
}

.employee-request-dialog{
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: transparent;
    backdrop-filter: none;
}

.employee-request-dialog__surface{
    display: grid;
    width: min(1180px, 96vw);
    max-height: 92vh;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--panel);
    color: var(--text);
    box-shadow: none;
    overflow: hidden;
}

.employee-request-dialog__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem .9rem;
}

.employee-request-dialog__header h2{
    margin: .12rem 0 .26rem;
    font-size: var(--text-3xl);
}

.employee-request-dialog__header p{
    margin: 0;
}

.employee-request-dialog__close{
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: var(--text-3xl);
    line-height: 1;
    cursor: pointer;
}

.employee-request-dialog__close:hover{
    border-color: var(--line);
    background: color-mix(in srgb, var(--muted) 8%, transparent);
}

.employee-request-dialog__tabs{
    display: flex;
    gap: .35rem;
    padding: 0 1.3rem .8rem;
    border-bottom: 1px solid var(--line);
}

.employee-request-dialog__body{
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
    min-height: 0;
    overflow: auto;
}

.employee-request-dialog__main, .employee-request-dialog__aside{
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
}

.employee-request-dialog__aside{
    border-left: 1px solid var(--line);
    background: color-mix(in srgb, var(--primary) 2.8%, var(--panel));
}

.employee-request-dialog__section, .employee-request-dialog__aside-section{
    display: grid;
    gap: .8rem;
}

.employee-request-dialog__section + .employee-request-dialog__section, .employee-request-dialog__aside-section + .employee-request-dialog__aside-section{
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.employee-request-dialog__section h3, .employee-request-dialog__aside-section h3{
    margin: 0;
    font-size: var(--text-md);
}

.employee-request-dialog__person{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: color-mix(in srgb, var(--primary) 3%, var(--panel));
}

.employee-request-dialog__avatar{
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 15%, var(--panel));
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}

.employee-request-dialog__person > div{
    display: grid;
    gap: .14rem;
}

.employee-request-dialog__person strong{
    color: var(--text);
}

.employee-request-dialog__person span, .employee-request-dialog__person small{
    color: var(--muted);
    font-size: var(--text-xs);
}

.employee-request-dialog__person > small{
    padding: .25rem .45rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--muted) 9%, transparent);
}

.employee-request-dialog__form-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .78rem;
}

.employee-request-dialog__field--wide{
    grid-column: 1 / -1;
}

.employee-request-dialog__switch{
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.65rem;
    padding: .55rem .7rem;
    border: 1px solid var(--line);
    border-radius: .72rem;
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}

.employee-request-dialog__switch input{
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--primary);
}

.employee-request-dialog__validation{
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
    padding: .9rem;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
    border-radius: .9rem;
    background: color-mix(in srgb, var(--primary) 7%, var(--panel));
}

.employee-request-dialog__validation-icon{
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: .75rem;
    background: color-mix(in srgb, var(--primary) 12%, var(--panel));
    color: var(--primary);
}

.employee-request-dialog__validation strong{
    color: var(--primary);
}

.employee-request-dialog__validation p{
    margin: .26rem 0 .55rem;
    color: var(--text);
    font-size: var(--text-sm);
    line-height: 1.45;
}

.employee-request-dialog__validation-state{
    display: inline-flex;
    padding: .25rem .48rem;
    border-radius: 10px;
    background: color-mix(in srgb, #16a34a 12%, transparent);
    color: color-mix(in srgb, #16a34a 88%, var(--text));
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
}

.employee-request-dialog__summary-list{
    display: grid;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: .85rem;
    overflow: hidden;
}

.employee-request-dialog__summary-list > div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .68rem .75rem;
    border-bottom: 1px solid var(--line);
}

.employee-request-dialog__summary-list > div:last-child{
    border-bottom: 0;
}

.employee-request-dialog__summary-list dt{
    color: var(--muted);
    font-size: var(--text-xs);
}

.employee-request-dialog__summary-list dd{
    margin: 0;
    color: var(--text);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-align: right;
}

.employee-request-dialog__error{
    margin: 0 1.25rem .85rem;
    padding: .72rem .85rem;
    border: 1px solid color-mix(in srgb, #dc2626 28%, transparent);
    border-radius: .78rem;
    background: color-mix(in srgb, #dc2626 8%, var(--panel));
    color: color-mix(in srgb, #dc2626 88%, var(--text));
    font-size: var(--text-sm);
}

.employee-request-dialog__footer{
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: .9rem 1.25rem;
    border-top: 1px solid var(--line);
    background: var(--panel);
}

@media (max-width: 900px) {
.employee-request-dialog__body{
        grid-template-columns: 1fr;
    }

.employee-request-dialog__aside{
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 620px) {
.employee-request-dialog__form-grid{
        grid-template-columns: 1fr;
    }

.employee-request-dialog{
        padding: 0;
    }

.employee-request-dialog__surface{
        width: 100vw;
        max-height: 100dvh;
        min-height: 100dvh;
        border-radius: 0;
    }

.employee-request-dialog__footer{
        position: sticky;
        bottom: 0;
    }

}

.employee-request-dialog{
    padding: 1.25rem;
    background: color-mix(in srgb, var(--primary-dark) 34%, transparent);
    backdrop-filter: none;
}

.employee-request-dialog__surface{
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1320px, calc(100vw - 2.5rem));
    max-height: calc(100dvh - 2.5rem);
    border-radius: var(--radius-xl);
}

.employee-request-dialog__header{
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid color-mix(in srgb, var(--primary-contrast) 16%, transparent);
    background: var(--primary-dark);
    color: var(--primary-contrast);
}

.employee-request-dialog__header h2,
.employee-request-dialog__header p,
.employee-request-dialog__header .eyebrow{
    color: var(--primary-contrast);
}

.employee-request-dialog__header .eyebrow,
.employee-request-dialog__header p{
    opacity: .78;
}

.employee-request-dialog__header .stariz-crud-button{
    border-color: color-mix(in srgb, var(--primary-contrast) 22%, transparent);
    background: color-mix(in srgb, var(--primary-contrast) 7%, transparent);
    color: var(--primary-contrast);
}

.employee-request-dialog__brand{
    display: flex;
    align-items: center;
    gap: .85rem;
}

.employee-request-dialog__brand-icon{
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    background: color-mix(in srgb, var(--primary-contrast) 12%, transparent);
    color: var(--primary-contrast);
}

.employee-request-dialog__content{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    min-height: 0;
    overflow: hidden;
}

.employee-request-dialog__main{
    align-content: start;
    gap: var(--space-3);
    min-width: 0;
    overflow-y: auto;
    padding: var(--space-4);
}

.employee-request-dialog__tabs{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: 0;
    border-bottom: 0;
}

.employee-request-dialog__tabs button{
    min-height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: var(--panel);
    font-size: var(--text-md);
}

.employee-request-dialog__tabs button.is-active{
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-contrast);
    box-shadow: none;
}

.employee-request-dialog__form-card{
    display: grid;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--panel);
}

.employee-request-dialog__section-title > div{
    display: flex;
    align-items: center;
    gap: .7rem;
}

.employee-request-dialog__section-title h3{
    margin: 0 0 .12rem;
    font-size: var(--text-lg);
}

.employee-request-dialog__section-title p{
    margin: 0;
    color: var(--muted);
    font-size: var(--text-xs);
}

.employee-request-dialog__step{
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: var(--stariz-glass-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
}

.employee-request-dialog__field > span{
    color: var(--text);
    font-size: var(--text-xs);
    letter-spacing: 0;
    text-transform: none;
}

.employee-request-dialog__field > span em{
    color: var(--muted);
    font-style: normal;
    font-weight: var(--weight-semibold);
}

.employee-request-dialog__field > small{
    color: var(--muted);
    font-size: var(--text-xs);
    line-height: 1.35;
}

.employee-request-dialog__field input, .employee-request-dialog__field select, .employee-request-dialog__field textarea{
    min-height: 2.9rem;
    border-radius: .8rem;
    font-size: var(--text-md);
}

.employee-request-dialog__field textarea{
    min-height: 4.5rem;
}

.employee-request-dialog__switch{
    align-items: flex-start;
    min-height: 3.4rem;
    padding: .72rem .8rem;
    border-radius: .82rem;
    background: color-mix(in srgb, var(--primary) 4%, var(--panel));
}

.employee-request-dialog__switch > span{
    display: grid;
    gap: .12rem;
}

.employee-request-dialog__switch strong{
    color: var(--text);
}

.employee-request-dialog__switch small{
    color: var(--muted);
    font-weight: var(--weight-medium);
}

.employee-request-dialog__aside{
    align-content: start;
    gap: var(--space-3);
    min-width: 0;
    overflow-y: auto;
    padding: var(--space-4);
    border-left: 1px solid var(--line);
    background: color-mix(in srgb, var(--primary) 2.2%, var(--panel));
}

.employee-request-dialog__quick-summary, .employee-request-dialog__help{
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--panel);
}

.employee-request-dialog__quick-summary h3{
    margin: 0;
    font-size: var(--text-lg);
}

.employee-request-dialog__summary-list{
    border: 0;
    border-radius: 0;
}

.employee-request-dialog__summary-list > div{
    padding: .72rem 0;
}

.employee-request-dialog__summary-accent{
    color: var(--primary);
    font-size: var(--text-lg);
}

.employee-request-dialog__summary-success{
    color: #16a34a;
    font-size: var(--text-lg);
}

.employee-request-dialog__validation{
    border-radius: 1rem;
}

.employee-request-dialog__help{
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    color: var(--muted);
}

.employee-request-dialog__help svg{
    color: var(--primary);
}

.employee-request-dialog__help strong{
    color: var(--text);
}

.employee-request-dialog__help p{
    margin: .25rem 0 0;
    font-size: var(--text-xs);
    line-height: 1.45;
}

.employee-request-dialog__footer{
    padding: .75rem 1.25rem;
}


@media (min-width: 1120px) {
.employee-request-dialog__form-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1119px) {
.employee-request-dialog__content{
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

.employee-request-dialog__main,
.employee-request-dialog__aside{
        overflow: visible;
    }

.employee-request-dialog__aside{
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 620px) {
.employee-request-dialog{
        padding: 0;
    }

.employee-request-dialog__surface{
        width: 100vw;
        max-height: 100dvh;
        min-height: 100dvh;
        border-radius: 0;
    }

.employee-request-dialog__brand-icon{
        display: none;
    }

.employee-request-dialog__tabs, .employee-request-dialog__form-grid{
        grid-template-columns: 1fr;
    }

.employee-request-dialog__footer{
        display: grid;
        grid-template-columns: 1fr;
    }

}

.employee-request-dialog__catalog-warning{
    padding: .8rem 1rem;
    border: 1px solid color-mix(in srgb, var(--warning, #d97706) 35%, transparent);
    border-radius: .8rem;
    background: color-mix(in srgb, var(--warning, #d97706) 9%, var(--panel));
    color: var(--text);
    font-size: var(--text-md);
}

.employee-request-delete-dialog__icon{ align-items: center; background: color-mix(in srgb, #dc2626 10%, var(--panel)); border-radius: .85rem; color: #dc2626; display: flex; height: 3rem; justify-content: center; width: 3rem; }

.employee-request-delete-dialog__surface h2{ color: var(--text); font-size: var(--text-xl); margin: .15rem 0 .45rem; }

.employee-request-delete-dialog__surface p:not(.eyebrow){ color: var(--text); font-size: var(--text-sm); line-height: 1.55; margin: 0; }

.employee-request-delete-dialog__surface small{ color: var(--muted); display: block; line-height: 1.45; margin-top: .55rem; }

.employee-request-delete-dialog__surface footer{ border-top: 1px solid var(--line); display: flex; gap: .65rem; grid-column: 1 / -1; justify-content: flex-end; padding-top: 1rem; }

@media (max-width: 960px) {
.employee-request-dialog__content{ grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
.employee-request-delete-dialog__surface{ grid-template-columns: 1fr; }

.employee-request-delete-dialog__surface footer{ grid-column: 1; flex-direction: column-reverse; }

}

.employee-request-dialog__field--projected input:disabled{
    background: color-mix(in srgb, var(--panel) 88%, var(--line));
    border-color: var(--line);
    color: var(--text);
    cursor: not-allowed;
    font-weight: var(--weight-bold);
    opacity: 1;
}

.employee-request-dialog__field--projected small{
    color: var(--muted);
    min-height: 1.1rem;
}

.stariz-registration-dialog--employee-request .stariz-dialog-header__title {
    color: var(--stariz-popup-header-text, var(--topbar-text, var(--primary-contrast)));
    opacity: 1;
}

.employee-request-date-picker {
    min-width: 0;
    position: relative;
    width: 100%;
}

.stariz-datepicker-field {
    display: block;
}

.employee-request-date-picker__trigger {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--stariz-registration-control-radius, 11px);
    color: var(--text);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: var(--text-xs);
    justify-content: space-between;
    min-height: 34px;
    padding: 6px 9px;
    text-align: left;
    width: 100%;
}

.employee-request-date-picker__trigger:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
}

.employee-request-date-picker__trigger:focus-visible {
    border-color: color-mix(in srgb, var(--primary) 58%, var(--line));
    outline: 2px solid color-mix(in srgb, var(--primary) 13%, transparent);
    outline-offset: 1px;
}

.employee-request-date-picker__trigger:disabled {
    cursor: default;
    opacity: .68;
}

.employee-request-date-picker__trigger svg {
    color: var(--muted);
    flex: 0 0 auto;
}

.employee-request-calendar {
    background: color-mix(in srgb, var(--panel) 94%, var(--primary) 6%);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: .75rem;
}

.stariz-request-datepicker-popover {
    box-sizing: border-box;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .2);
    height: auto;
    inset: auto;
    margin: 0;
    max-width: 208px;
    min-width: 208px;
    overflow: visible;
    padding: 8px;
    position: fixed;
    width: 208px;
    z-index: 1205;
}

.stariz-request-datepicker-popover:popover-open:not([data-stariz-positioned="true"]) {
    visibility: hidden;
}

.employee-request-calendar__header {
    align-items: center;
    display: grid;
    gap: 4px;
    grid-template-columns: 22px minmax(0, 1fr) 22px;
    margin-bottom: 7px;
    width: 100%;
}

.employee-request-calendar__header strong {
    color: var(--text);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    line-height: 22px;
    min-width: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}

.employee-request-calendar__header button {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    font-size: var(--text-md);
    height: 22px;
    justify-content: center;
    padding: 0;
    width: 22px;
}

.employee-request-calendar__header button:disabled {
    cursor: default;
    opacity: .5;
}

.employee-request-calendar__weekdays,
.stariz-request-datepicker-grid {
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
}

.employee-request-calendar__weekdays {
    margin-bottom: 3px;
}

.employee-request-calendar__weekdays span {
    color: var(--muted);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    line-height: 14px;
    min-width: 0;
    text-align: center;
}

.employee-request-calendar__day {
    align-content: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 5px;
    box-sizing: border-box;
    display: grid;
    height: 23px;
    justify-items: center;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.employee-request-calendar__day {
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.employee-request-calendar__day > span {
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    line-height: 1;
}

.employee-request-calendar__status-marker {
    background: currentColor;
    border: 1px solid var(--panel);
    border-radius: 10px;
    bottom: 2px;
    height: 4px;
    position: absolute;
    width: 4px;
}

.employee-request-calendar__day:not(:disabled):hover {
    border-color: var(--primary);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--primary) 14%, transparent);
    transform: translateY(-1px);
}

.employee-request-calendar__day.is-holiday:not(.is-nonworking) {
    background: color-mix(in srgb, #d97706 9%, var(--panel));
    border-color: color-mix(in srgb, #d97706 32%, var(--line));
    color: #b45309;
}

.employee-request-calendar__day.is-nonworking {
    background: color-mix(in srgb, #dc2626 9%, var(--panel));
    border-color: color-mix(in srgb, #dc2626 30%, var(--line));
    color: #b91c1c;
}

.employee-request-calendar__day.is-occupied {
    background: color-mix(in srgb, #7c3aed 11%, var(--panel));
    border-color: color-mix(in srgb, #7c3aed 35%, var(--line));
    color: #6d28d9;
    cursor: not-allowed;
}

.employee-request-calendar__day.has-shift {
    background: color-mix(in srgb, #059669 10%, var(--panel));
    border-color: color-mix(in srgb, #059669 38%, var(--line));
    color: #047857;
}

.employee-request-calendar__day.is-occupied.has-shift {
    background: color-mix(in srgb, #7c3aed 11%, var(--panel));
    border-color: color-mix(in srgb, #7c3aed 35%, var(--line));
    color: #6d28d9;
}

.employee-request-calendar__day.is-range:not(.is-occupied):not(.has-shift):not(.is-nonworking) {
    background: color-mix(in srgb, var(--primary) 14%, var(--panel));
    border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
    color: var(--primary);
}

.employee-request-calendar__day.is-start,
.employee-request-calendar__day.is-end {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary) 78%, transparent);
}

.employee-request-calendar__day:disabled:not(.is-occupied) {
    cursor: not-allowed;
    opacity: .78;
}

.employee-request-calendar__day.is-adjacent:disabled {
    background: var(--panel);
    border-color: var(--line);
    color: var(--text);
    cursor: default;
    opacity: 1;
}

.employee-request-calendar__day.is-adjacent > span {
    color: color-mix(in srgb, var(--muted) 58%, transparent);
}

.employee-request-calendar__legend {
    display: grid;
    gap: 4px 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 7px;
    min-width: 0;
}

.employee-request-calendar__legend span {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: var(--text-2xs);
    gap: 4px;
    min-width: 0;
    white-space: nowrap;
}

.employee-request-calendar__legend i {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: inline-block;
    flex: 0 0 auto;
    height: 7px;
    width: 7px;
}

.employee-request-calendar__legend i.is-holiday {
    background: #fef3c7;
    border-color: #d97706;
}

.employee-request-calendar__legend i.is-nonworking {
    background: #fee2e2;
    border-color: #dc2626;
}

.employee-request-calendar__legend i.is-projected {
    background: color-mix(in srgb, var(--primary) 18%, var(--panel));
    border-color: var(--primary);
}

.employee-request-calendar__legend i.is-occupied {
    background: #ede9fe;
    border-color: #7c3aed;
}

.employee-request-calendar__legend i.has-shift {
    background: #d1fae5;
    border-color: #059669;
}

.employee-request-calendar__warning {
    color: var(--muted);
    font-size: var(--text-2xs);
    line-height: 1.35;
    margin: 0;
}

.employee-request-calendar__warning {
    background: color-mix(in srgb, #d97706 9%, var(--panel));
    border: 1px solid color-mix(in srgb, #d97706 28%, var(--line));
    border-radius: 6px;
    color: #b45309;
    padding: 7px;
}

.employee-request-projection {
    align-items: center;
    background: color-mix(in srgb, var(--primary) 6%, var(--panel));
    border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
    border-radius: .75rem;
    display: grid;
    gap: .65rem;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 48px;
    padding: .55rem .7rem;
}

.employee-request-projection.is-invalid {
    background: color-mix(in srgb, #dc2626 7%, var(--panel));
    border-color: color-mix(in srgb, #dc2626 28%, var(--line));
}

.employee-request-projection__icon {
    align-items: center;
    background: color-mix(in srgb, var(--primary) 11%, var(--panel));
    border-radius: .6rem;
    color: var(--primary);
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.employee-request-projection.is-invalid .employee-request-projection__icon {
    background: color-mix(in srgb, #dc2626 11%, var(--panel));
    color: #b91c1c;
}

.employee-request-projection > div {
    display: grid;
    gap: .1rem;
    min-width: 0;
}

.employee-request-projection > div > span {
    color: var(--muted);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    letter-spacing: .025em;
    text-transform: uppercase;
}

.employee-request-projection strong {
    color: var(--text);
    font-size: var(--text-xs);
    line-height: 1.25;
}

.employee-request-projection small {
    color: var(--muted);
    font-size: var(--text-2xs);
    line-height: 1.3;
}

.employee-request-projection.is-invalid strong,
.employee-request-projection.is-invalid small {
    color: #b91c1c;
}

.employee-accrual-dialog{
    align-items: center;
    background: transparent;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 1200;
}

.employee-accrual-dialog__surface{
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    max-width: 1240px;
    overflow: hidden;
    width: min(1240px, 96vw);
}

.employee-accrual-dialog__content{
    display: grid;
    gap: 16px;
    min-height: 0;
    overflow: auto;
    padding: 18px 20px;
}

.employee-accrual-dialog__controls{
    align-items: end;
    background: color-mix(in srgb, var(--panel) 94%, var(--line));
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(190px, .9fr) minmax(230px, 1.25fr) minmax(190px, .9fr) minmax(220px, 1fr);
    padding: 16px;
}

.employee-accrual-dialog__selection-summary{
    align-self: stretch;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 76px;
    padding: 11px 13px;
}

.employee-accrual-dialog__selection-summary span, .employee-accrual-dialog__selection-summary small{
    color: var(--muted);
    font-size: var(--text-xs);
}

.employee-accrual-dialog__selection-summary strong{
    font-size: var(--text-lg);
    margin: 3px 0;
}

.employee-accrual-dialog__scope-note{
    align-items: flex-start;
    background: color-mix(in srgb, var(--primary) 6%, var(--panel));
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
    border-radius: 13px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr;
    padding: 13px 15px;
}

.employee-accrual-dialog__scope-note > svg{
    color: var(--primary);
    margin-top: 1px;
}

.employee-accrual-dialog__scope-note p{
    color: var(--muted);
    line-height: 1.5;
    margin: 4px 0 0;
}

.employee-accrual-dialog__scope-note code{
    color: var(--text);
    font-family: inherit;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
}

.employee-accrual-dialog__confirmation{
    align-items: center;
    background: color-mix(in srgb, #c97800 9%, var(--panel));
    border: 1px solid color-mix(in srgb, #c97800 34%, var(--line));
    border-radius: 13px;
    display: grid;
    gap: 13px;
    grid-template-columns: auto 1fr auto;
    padding: 13px 15px;
}

.employee-accrual-dialog__confirmation p{
    color: var(--muted);
    margin: 3px 0 0;
}

.employee-accrual-dialog__confirmation-actions{
    display: flex;
    gap: 8px;
}

.employee-accrual-dialog__result{
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.employee-accrual-dialog__result.is-simulation{
    border-color: color-mix(in srgb, #0f7f8f 38%, var(--line));
}

.employee-accrual-dialog__result.is-execution{
    border-color: color-mix(in srgb, #258347 38%, var(--line));
}

.employee-accrual-dialog__result-heading{
    align-items: center;
    background: color-mix(in srgb, var(--panel) 91%, var(--line));
    display: flex;
    justify-content: space-between;
    padding: 13px 15px;
}

.employee-accrual-dialog__result-heading div{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.employee-accrual-dialog__result-heading span{
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: .06em;
}

.employee-accrual-dialog__result-heading small{
    color: var(--muted);
}

.employee-accrual-dialog__metrics{
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(6, minmax(105px, 1fr));
}

.employee-accrual-dialog__metrics div{
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 14px;
}

.employee-accrual-dialog__metrics span{
    color: var(--muted);
    font-size: var(--text-xs);
}

.employee-accrual-dialog__metrics strong{
    font-size: var(--text-lg);
}

.employee-accrual-dialog__table-wrap{
    max-height: 350px;
    overflow: auto;
}

.employee-accrual-dialog__table-wrap table{
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1050px;
    width: 100%;
}

.employee-accrual-dialog__table-wrap th{
    background: color-mix(in srgb, var(--panel) 88%, var(--line));
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    padding: 10px 12px;
    position: sticky;
    text-align: left;
    top: 0;
    z-index: 1;
}

.employee-accrual-dialog__table-wrap td{
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    font-size: var(--text-sm);
    line-height: 1.35;
    padding: 10px 12px;
    vertical-align: top;
}

.employee-accrual-dialog__table-wrap tbody tr:last-child td{
    border-bottom: 0;
}

.employee-accrual-dialog__table-wrap td:first-child{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.employee-accrual-dialog__table-wrap td small{
    color: var(--muted);
}

.employee-accrual-dialog__action{
    background: color-mix(in srgb, var(--panel) 82%, var(--line));
    border: 1px solid var(--line);
    border-radius: 10px;
    display: inline-flex;
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    padding: 3px 7px;
}

@media (max-width: 1040px) {
.employee-accrual-dialog__controls{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
.employee-accrual-dialog{
        align-items: stretch;
        padding: 10px;
    }

.employee-accrual-dialog__surface{
        max-height: calc(100vh - 20px);
        width: 100%;
    }

.employee-accrual-dialog__controls, .employee-accrual-dialog__metrics{
        grid-template-columns: 1fr;
    }

.employee-accrual-dialog__confirmation{
        align-items: flex-start;
        grid-template-columns: auto 1fr;
    }

.employee-accrual-dialog__confirmation-actions{
        grid-column: 1 / -1;
        width: 100%;
    }

}


/* Solicitud personal de vacaciones/permisos.
   Versión minimalista aprobada: conserva reglas y componentes STARIZ,
   usando exclusivamente la paleta corporativa parametrizada. */
html body.stariz-app .stariz-registration-dialog--employee-request.stariz-self-request-dialog {
    width: min(580px, calc(100vw - 24px));
    max-width: min(580px, calc(100vw - 24px));
    height: auto;
    max-height: min(760px, calc(100dvh - 24px));
    border-radius: var(--radius-xl);
    background: var(--panel);
    color: var(--text);
}

html body.stariz-app .stariz-self-request-dialog .stariz-registration-header {
    min-height: 58px;
    padding: 13px 18px;
    border-bottom-color: var(--line);
    background: var(--panel);
}

html body.stariz-app .stariz-self-request-dialog .stariz-dialog-header__title {
    color: var(--text);
    font-size: var(--text-lg);
}

html body.stariz-app .stariz-self-request-fieldset {
    min-height: 0;
    overflow: hidden;
}

html body.stariz-app .stariz-self-request-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    flex: 0 0 auto;
    margin: 10px 18px 0;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

html body.stariz-app .stariz-self-request-tabs button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    cursor: pointer;
}

html body.stariz-app .stariz-self-request-tabs button:hover:not(:disabled) {
    background: color-mix(in srgb, var(--primary) 6%, var(--panel));
    color: var(--text);
}

html body.stariz-app .stariz-self-request-tabs button.is-active {
    background: var(--panel);
    color: var(--primary);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 10%, transparent);
}

html body.stariz-app .stariz-self-request-tabs button:focus-visible,
html body.stariz-app .stariz-self-request__mode button:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 1px;
}

html body.stariz-app .stariz-self-request-tabs button:disabled {
    cursor: default;
    opacity: .72;
}

html body.stariz-app .stariz-self-request {
    min-height: 0;
    padding: 14px 18px 18px;
    overflow: auto;
}

html body.stariz-app .stariz-self-request__message {
    margin-bottom: 12px;
    padding: 9px 11px;
    border: 1px solid var(--primary-border);
    border-radius: var(--radius);
    background: var(--primary-soft);
    color: var(--text);
    font-size: var(--text-xs);
    line-height: 1.4;
}

html body.stariz-app .stariz-self-request__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

html body.stariz-app .stariz-self-request__field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

html body.stariz-app .stariz-self-request__full {
    grid-column: 1 / -1;
}

html body.stariz-app .stariz-self-request__field > span:first-child,
html body.stariz-app .stariz-self-request__calculation > span:first-child {
    color: var(--text-soft);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    letter-spacing: .03em;
    text-transform: uppercase;
}

html body.stariz-app .stariz-self-request__field > span:first-child em {
    color: var(--danger);
    font-style: normal;
}

html body.stariz-app .stariz-self-request__field :is(input:not([type="checkbox"]), select, textarea) {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--field);
    color: var(--text);
    font: inherit;
    font-size: var(--text-sm);
    outline: none;
}

html body.stariz-app .stariz-self-request__field :is(input:not([type="checkbox"]), select) {
    min-height: 40px;
    padding: 8px 11px;
}

html body.stariz-app .stariz-self-request__field textarea {
    min-height: 70px;
    padding: 9px 11px;
    line-height: 1.4;
    resize: vertical;
}

html body.stariz-app .stariz-self-request__field :is(input, select, textarea):focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

html body.stariz-app .stariz-self-request__mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

html body.stariz-app .stariz-self-request__mode button {
    min-height: 32px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    cursor: pointer;
}

html body.stariz-app .stariz-self-request__mode button.is-active {
    background: var(--panel);
    color: var(--primary);
}

html body.stariz-app .stariz-self-request__mode button:disabled {
    cursor: default;
    opacity: .72;
}

html body.stariz-app .stariz-self-request__calculation {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

html body.stariz-app .stariz-self-request__calculation strong {
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}

html body.stariz-app .stariz-self-request__calculation small {
    color: var(--muted);
    font-size: var(--text-2xs);
}

html body.stariz-app .stariz-self-request__summary {
    display: grid;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

html body.stariz-app .stariz-self-request__summary-copy strong {
    display: block;
    color: var(--text);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
}

html body.stariz-app .stariz-self-request__summary-copy small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: var(--text-2xs);
    line-height: 1.4;
}

html body.stariz-app .stariz-self-request__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

html body.stariz-app .stariz-self-request__badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text-soft);
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
}

html body.stariz-app .stariz-self-request__badge.is-valid {
    border-color: color-mix(in srgb, var(--success) 28%, var(--line));
    background: color-mix(in srgb, var(--success) 7%, var(--panel));
    color: var(--success);
}

html body.stariz-app .stariz-self-request__badge.is-pending {
    border-color: color-mix(in srgb, var(--warning) 28%, var(--line));
    background: color-mix(in srgb, var(--warning) 7%, var(--panel));
    color: var(--warning);
}

html body.stariz-app .stariz-self-request-dialog .stariz-registration-error {
    margin: 0 18px 12px;
}

html body.stariz-app .stariz-self-request-dialog .stariz-registration-footer {
    min-height: 58px;
    padding: 11px 18px;
    border-top-color: var(--line);
    background: var(--panel);
}

html body.stariz-app .stariz-self-request-dialog .stariz-registration-footer-note {
    max-width: 320px;
    color: var(--muted);
    font-size: var(--text-2xs);
    line-height: 1.35;
}

@media (max-width: 620px) {
    html body.stariz-app .stariz-registration-dialog--employee-request.stariz-self-request-dialog {
        width: min(100%, calc(100vw - 16px));
        max-width: min(100%, calc(100vw - 16px));
        max-height: calc(100dvh - 16px);
    }

    html body.stariz-app .stariz-self-request-tabs {
        margin-inline: 14px;
    }

    html body.stariz-app .stariz-self-request {
        padding: 14px;
    }

    html body.stariz-app .stariz-self-request__grid {
        grid-template-columns: 1fr;
    }

    html body.stariz-app .stariz-self-request__full {
        grid-column: auto;
    }

    html body.stariz-app .stariz-self-request-dialog .stariz-registration-footer {
        align-items: stretch;
        flex-direction: column;
        padding-inline: 14px;
    }

    html body.stariz-app .stariz-self-request-dialog .stariz-registration-footer-note {
        max-width: none;
    }

    html body.stariz-app .stariz-self-request-dialog .stariz-registration-footer-actions {
        justify-content: flex-end;
    }
}
