/* Chairside: rem values converted to px at the kit's 10px root, as in kendo-theme.css. */
:root {
    --nx-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    --nx-font-size: 13px;
    --nx-line-height: 19.5px;
    --nx-height: 29px;
    --nx-text: #333333;
    --nx-muted: #777777;
    --nx-bg: #ffffff;
    --nx-border: rgba(33, 37, 41, 0.13);
    --nx-input-border: rgba(33, 37, 41, 0.2);
    --nx-focus-border: #669bc9;
    --nx-radius: 3.75px;
    --nx-primary: #337ab7;
    --nx-on-primary: #ffffff;
    --nx-hover: #ececec;
    --nx-disabled-opacity: .65;
    --nx-popup-shadow: 0 6px 13px 0 rgba(0, 0, 0, 0.125);
    --nx-padding-y: 3.75px;
    --nx-padding-x: 7.5px;
    --nx-item-padding: 2.5px 15px;
    --nx-popup-z: 20000;
}

.nx-textbox {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: var(--nx-height);
    padding: var(--nx-padding-y) var(--nx-padding-x);
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background-color: var(--nx-bg);
    border: 1px solid var(--nx-input-border);
    border-radius: var(--nx-radius);
    outline: 0;
    transition: border-color .15s ease-in-out;
}

.nx-textbox:focus {
    border-color: var(--nx-focus-border);
}

.nx-textbox::placeholder {
    color: var(--nx-muted);
    opacity: 1;
}

.nx-textbox:disabled {
    opacity: var(--nx-disabled-opacity);
    filter: grayscale(.1);
    cursor: default;
}

select.nx-dropdownlist:not([data-nx-ready]) {
    box-sizing: border-box;
    height: var(--nx-height);
    font-size: var(--nx-font-size);
    color: transparent;
    background-color: var(--nx-bg);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    -webkit-appearance: none;
    appearance: none;
}

.ts-wrapper.nx-picker {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    min-height: 0;
    width: 100%;
    min-width: 0;
    vertical-align: middle;
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
}

.ts-wrapper.nx-picker .ts-control {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    box-sizing: border-box;
    height: var(--nx-height);
    min-height: var(--nx-height);
    padding: var(--nx-padding-y) calc(var(--nx-padding-x) + 24px) var(--nx-padding-y) var(--nx-padding-x);
    overflow: hidden;
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background-color: var(--nx-bg);
    background-image: none;
    border: 1px solid var(--nx-input-border);
    border-radius: var(--nx-radius);
    box-shadow: none;
    outline: 0;
    cursor: pointer;
}

.ts-wrapper.nx-picker .ts-control::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 0;
    height: 0;
    margin-top: -2px;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: var(--nx-text) transparent transparent transparent;
    pointer-events: none;
}

.ts-wrapper.nx-picker.focus .ts-control,
.ts-wrapper.nx-picker.dropdown-active .ts-control {
    border-color: var(--nx-focus-border);
    box-shadow: none;
}

.ts-wrapper.nx-picker .ts-control > .item {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ts-wrapper.nx-picker .ts-control > input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
}

.ts-wrapper.nx-picker.has-items .ts-control > input {
    position: absolute;
    left: -10000px;
    opacity: 0;
}

.ts-wrapper.nx-picker.disabled .ts-control,
.ts-wrapper.nx-picker.nx-disabled .ts-control {
    opacity: var(--nx-disabled-opacity);
    filter: grayscale(.1);
    cursor: default;
}

.ts-wrapper.nx-picker.disabled,
.ts-wrapper.nx-picker.nx-disabled {
    opacity: 1;
}

.ts-wrapper.nx-picker.locked .ts-control {
    cursor: default;
}

.ts-dropdown.nx-popup {
    z-index: var(--nx-popup-z);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background: var(--nx-bg);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-popup-shadow);
}

.ts-dropdown.nx-popup.nx-autowidth {
    width: auto !important;
    max-width: 90vw;
}

.ts-dropdown.nx-popup.nx-autowidth .option {
    white-space: nowrap;
}

.ts-dropdown.nx-popup .ts-dropdown-content {
    max-height: 200px;
    padding: 0;
}

.ts-dropdown.nx-popup .option,
.ts-dropdown.nx-popup .no-results {
    padding: var(--nx-item-padding);
    color: var(--nx-text);
    cursor: pointer;
}

.ts-dropdown.nx-popup .no-results {
    padding: 8px 15px;
    color: var(--nx-muted);
    text-align: center;
    cursor: default;
}

.ts-dropdown.nx-popup .option.nx-option-label {
    color: var(--nx-muted);
}

.ts-dropdown.nx-popup .option.nx-hidden {
    display: none;
}

.ts-dropdown.nx-popup .option.active {
    color: var(--nx-text);
    background-color: var(--nx-hover);
}

.ts-dropdown.nx-popup .option.selected,
.ts-dropdown.nx-popup .option.selected.active {
    color: var(--nx-on-primary);
    background-color: var(--nx-primary);
}

.ts-dropdown.nx-popup .dropdown-input-wrap {
    padding: 8px 8px 6px;
}

.ts-dropdown.nx-popup .dropdown-input {
    box-sizing: border-box;
    width: 100%;
    height: var(--nx-height);
    padding: var(--nx-padding-y) var(--nx-padding-x) var(--nx-padding-y) 26px;
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background: var(--nx-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23777777' d='M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3L365.3 320zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192z'/%3E%3C/svg%3E") no-repeat 8px center / 13px 13px;
    border: 1px solid var(--nx-input-border);
    border-radius: var(--nx-radius);
    outline: 0;
    box-shadow: none;
}

.ts-dropdown.nx-popup .dropdown-input:focus {
    border-color: var(--nx-focus-border);
}

.ts-dropdown.nx-popup .nx-loading {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--nx-primary), transparent);
    background-size: 200% 100%;
    animation: nx-loading 1s linear infinite;
}

@keyframes nx-loading {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

[dir="rtl"] .ts-wrapper.nx-picker .ts-control {
    padding: var(--nx-padding-y) var(--nx-padding-x) var(--nx-padding-y) calc(var(--nx-padding-x) + 24px);
}

[dir="rtl"] .ts-wrapper.nx-picker .ts-control::after {
    right: auto;
    left: 8px;
}

.nx-input {
    display: inline-flex;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: var(--nx-height);
    vertical-align: middle;
    align-items: stretch;
    overflow: hidden;
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background-color: var(--nx-bg);
    border: 1px solid var(--nx-input-border);
    border-radius: var(--nx-radius);
    transition: border-color .15s ease-in-out;
}

.nx-input:focus-within,
.nx-input.nx-open {
    border-color: var(--nx-focus-border);
}

.nx-input > .nx-input-inner {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: var(--nx-padding-y) var(--nx-padding-x);
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
}

.nx-input > .nx-input-inner::placeholder {
    color: var(--nx-muted);
    opacity: 1;
}

.nx-input .nx-input-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 22px;
    height: calc(var(--nx-height) - 8px);
    margin: 0 3px 0 0;
    padding: 0;
    color: var(--nx-muted);
    background: transparent;
    border: 0;
    border-radius: var(--nx-radius);
    cursor: pointer;
}

.nx-input .nx-input-button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.nx-input .nx-input-button:hover {
    background-color: var(--nx-hover);
}

.nx-input .nx-spinner {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: 22px;
    border-left: 1px solid var(--nx-border);
}

.nx-input .nx-spinner button {
    position: relative;
    flex: 1 1 50%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.nx-input .nx-spinner button + button {
    border-top: 1px solid var(--nx-border);
}

.nx-input .nx-spinner button:hover {
    background-color: var(--nx-hover);
}

.nx-input .nx-spinner button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    margin: -2px 0 0 -4px;
    border-style: solid;
    border-color: transparent;
}

.nx-input .nx-spinner .nx-spin-up::after {
    border-width: 0 4px 4px 4px;
    border-bottom-color: var(--nx-text);
}

.nx-input .nx-spinner .nx-spin-down::after {
    border-width: 4px 4px 0 4px;
    border-top-color: var(--nx-text);
}

.nx-input.nx-disabled {
    opacity: var(--nx-disabled-opacity);
    filter: grayscale(.1);
}

.nx-input.nx-disabled .nx-input-button,
.nx-input.nx-disabled .nx-spinner button,
.nx-input.nx-readonly .nx-spinner button {
    cursor: default;
    pointer-events: none;
}

.nx-input .nx-datepicker-anchor {
    display: none;
}

.flatpickr-calendar.nx-calendar {
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    color: var(--nx-text);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-popup-shadow);
}

.flatpickr-calendar.nx-calendar.arrowTop::before,
.flatpickr-calendar.nx-calendar.arrowTop::after,
.flatpickr-calendar.nx-calendar.arrowBottom::before,
.flatpickr-calendar.nx-calendar.arrowBottom::after {
    display: none;
}

.flatpickr-calendar.nx-calendar .flatpickr-day.today {
    border-color: var(--nx-focus-border);
}

.flatpickr-calendar.nx-calendar .flatpickr-day.selected,
.flatpickr-calendar.nx-calendar .flatpickr-day.selected:hover,
.flatpickr-calendar.nx-calendar .flatpickr-day.selected:focus,
.flatpickr-calendar.nx-calendar .flatpickr-monthSelect-month.selected,
.flatpickr-calendar.nx-calendar .flatpickr-monthSelect-month.selected:hover {
    color: var(--nx-on-primary);
    background: var(--nx-primary);
    border-color: var(--nx-primary);
}

.flatpickr-calendar.nx-calendar .flatpickr-day:hover,
.flatpickr-calendar.nx-calendar .flatpickr-monthSelect-month:hover {
    background: var(--nx-hover);
    border-color: var(--nx-hover);
}

.flatpickr-calendar.nx-calendar .flatpickr-current-month {
    font-size: 14px;
}

.nx-textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: var(--nx-padding-y) var(--nx-padding-x);
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background-color: var(--nx-bg);
    border: 1px solid var(--nx-input-border);
    border-radius: var(--nx-radius);
    outline: 0;
    resize: vertical;
    transition: border-color .15s ease-in-out;
}

.nx-textarea:focus {
    border-color: var(--nx-focus-border);
}

.nx-textarea:disabled {
    opacity: var(--nx-disabled-opacity);
    filter: grayscale(.1);
}

.nx-textarea::placeholder {
    color: var(--nx-muted);
    opacity: 1;
}

.nx-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
    vertical-align: middle;
    accent-color: var(--nx-primary);
    cursor: pointer;
}

.nx-checkbox:disabled {
    opacity: var(--nx-disabled-opacity);
    cursor: default;
}

.ts-wrapper.nx-combobox .ts-control {
    cursor: text;
}

.ts-wrapper.nx-combobox .ts-control > input {
    position: static;
    opacity: 1;
}

.ts-wrapper.nx-combobox.has-items:not(.focus) .ts-control > input,
.ts-wrapper.nx-combobox.has-items.input-hidden .ts-control > input {
    position: absolute;
    left: -10000px;
    opacity: 0;
}

.ts-wrapper.nx-combobox .clear-button {
    position: absolute;
    top: 50%;
    right: 26px;
    width: 16px;
    margin-top: -9px;
    transform: none;
    font-size: 16px;
    line-height: 18px;
    color: var(--nx-muted);
    text-align: center;
    background: transparent;
    cursor: pointer;
    opacity: 0;
}

.ts-wrapper.nx-combobox.has-items:hover .clear-button,
.ts-wrapper.nx-combobox.has-items.focus .clear-button {
    opacity: 1;
}

.ts-dropdown.nx-popup.nx-columns {
    width: var(--nx-columns-width) !important;
    max-width: 95vw;
}

.ts-dropdown.nx-popup .nx-columns-header {
    display: flex;
    padding: 4px 15px;
    font-weight: 600;
    color: var(--nx-text);
    background: var(--app-surface-2, #f8f9fa);
    border-bottom: 1px solid var(--nx-border);
}

.ts-dropdown.nx-popup .nx-columns-row {
    display: flex;
}

.ts-dropdown.nx-popup .nx-cell {
    flex: 0 0 auto;
    box-sizing: border-box;
    padding-right: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nx-button {
    --nx-c: #ffffff;
    --nx-on: #333333;
    --nx-h: #ececec;
    --nx-s: #333333;
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: var(--nx-padding-y) var(--nx-padding-x);
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    font-weight: normal;
    line-height: var(--nx-line-height);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    color: var(--nx-fg);
    background: var(--nx-fill);
    border: 1px solid var(--nx-edge);
    border-radius: var(--nx-radius);
    outline: 0;
    cursor: pointer;
    user-select: none;
    transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.nx-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(51, 122, 183, .25);
}

.nx-button:disabled,
.nx-button.nx-disabled {
    opacity: var(--nx-disabled-opacity);
    filter: grayscale(.1);
    cursor: default;
    pointer-events: none;
}

.nx-button-icon {
    display: inline-block;
    width: 1em;
    text-align: center;
}

.nx-button-icon-only {
    padding-left: var(--nx-padding-y);
    padding-right: var(--nx-padding-y);
}

.nx-button-solid {
    --nx-fg: var(--nx-on);
    --nx-fill: var(--nx-c);
    --nx-edge: var(--nx-c);
}

.nx-button-solid:hover {
    --nx-fill: var(--nx-h);
    --nx-edge: var(--nx-h);
}

.nx-button-solid.nx-button-solid-base,
.nx-button-solid.nx-button-solid-base:hover {
    --nx-edge: #c9c9c9;
}

.nx-button-outline {
    --nx-fg: var(--nx-s);
    --nx-fill: transparent;
    --nx-edge: currentColor;
}

.nx-button-outline:hover {
    --nx-fg: var(--nx-on);
    --nx-fill: var(--nx-c);
    --nx-edge: var(--nx-c);
}

.nx-button-flat,
.nx-button-clear,
.nx-button-link,
.nx-button-none {
    --nx-fg: var(--nx-s);
    --nx-fill: transparent;
    --nx-edge: transparent;
}

.nx-button-flat:hover,
.nx-button-clear:hover {
    --nx-fill: rgba(0, 0, 0, .06);
}

.nx-button-link:hover {
    text-decoration: underline;
}

.nx-button-solid-primary, .nx-button-outline-primary, .nx-button-flat-primary, .nx-button-clear-primary, .nx-button-link-primary { --nx-c: #337ab7; --nx-on: #ffffff; --nx-h: #2b6699; --nx-s: #265c89; }
.nx-button-solid-secondary, .nx-button-outline-secondary, .nx-button-flat-secondary, .nx-button-clear-secondary, .nx-button-link-secondary { --nx-c: #f8f8f8; --nx-on: #000000; --nx-h: #e5e5e5; --nx-s: #bababa; }
.nx-button-solid-tertiary, .nx-button-outline-tertiary, .nx-button-flat-tertiary, .nx-button-clear-tertiary, .nx-button-link-tertiary { --nx-c: #7f4daf; --nx-on: #ffffff; --nx-h: #59359a; --nx-s: #7e58c6; }
.nx-button-solid-info, .nx-button-outline-info, .nx-button-flat-info, .nx-button-clear-info, .nx-button-link-info { --nx-c: #0a8ea5; --nx-on: #ffffff; --nx-h: #3bb4d8; --nx-s: #4490a7; }
.nx-button-solid-success, .nx-button-outline-success, .nx-button-flat-success, .nx-button-clear-success, .nx-button-link-success { --nx-c: #5b8e7d; --nx-on: #ffffff; --nx-h: #48a648; --nx-s: #458a45; }
.nx-button-solid-warning, .nx-button-outline-warning, .nx-button-flat-warning, .nx-button-clear-warning, .nx-button-link-warning { --nx-c: #ca822f; --nx-on: #ffffff; --nx-h: #ed9d2b; --nx-s: #b4823b; }
.nx-button-solid-error, .nx-button-outline-error, .nx-button-flat-error, .nx-button-clear-error, .nx-button-link-error { --nx-c: #bc4b51; --nx-on: #ffffff; --nx-h: #d23430; --nx-s: #a33e3b; }
.nx-button-solid-dark, .nx-button-outline-dark, .nx-button-flat-dark, .nx-button-clear-dark, .nx-button-link-dark { --nx-c: #212529; --nx-on: #ffffff; --nx-h: #424649; --nx-s: #212529; }
.nx-button-solid-light, .nx-button-outline-light, .nx-button-flat-light, .nx-button-clear-light, .nx-button-link-light { --nx-c: #f8f9fa; --nx-on: #000000; --nx-h: #d3d4d5; --nx-s: #f8f9fa; }
.nx-button-solid-inverse, .nx-button-outline-inverse, .nx-button-flat-inverse, .nx-button-clear-inverse, .nx-button-link-inverse { --nx-c: #212529; --nx-on: #ffffff; --nx-h: #343a40; --nx-s: #212529; }

.ts-dropdown.nx-popup .create {
    display: none;
}

.nx-progress-mask {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .6);
}

.nx-progress-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--nx-border);
    border-top-color: var(--nx-primary);
    border-radius: 50%;
    animation: nx-spin .8s linear infinite;
}

@keyframes nx-spin {
    to { transform: rotate(360deg); }
}

.nx-window {
    position: absolute;
    z-index: 10002;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 90px;
    min-height: 50px;
    padding: 0;
    overflow: hidden;
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    line-height: var(--nx-line-height);
    color: var(--nx-text);
    background-color: var(--nx-bg);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: none;
    outline: 0;
}

.nx-window.nx-resizable {
    resize: both;
}

.nx-window-titlebar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--nx-border);
    cursor: move;
    user-select: none;
}

.nx-window-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 18.75px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nx-window-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
    margin: -6px -8px -6px 8px;
}

.nx-window-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    color: var(--nx-text);
    background: transparent;
    border: 0;
    border-radius: var(--nx-radius);
    cursor: pointer;
}

.nx-window-action:hover {
    background-color: var(--nx-hover);
}

.nx-window-action svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.nx-window-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    padding: 15px;
    overflow: auto;
}

.nx-window-content.nx-window-noscroll {
    overflow: hidden;
}

.nx-window-content.nx-window-framed {
    padding: 0;
    overflow: hidden;
}

.nx-window-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.nx-window.nx-window-loading .nx-window-titlebar {
    background-image: linear-gradient(90deg, transparent, var(--nx-primary), transparent);
    background-size: 200% 2px;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    animation: nx-loading 1s linear infinite;
}

.nx-window.nx-maximized {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0;
    resize: none;
}

.nx-window.nx-minimized {
    height: auto !important;
    min-height: 0 !important;
    resize: none;
}

.nx-window.nx-minimized .nx-window-content {
    display: none;
}

.nx-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background-color: #212529;
    opacity: .5;
}

.nx-dialog {
    position: fixed;
    max-width: 90vw;
    max-height: 90vh;
}

.nx-dialog .nx-window-titlebar {
    cursor: default;
}

.nx-dialog-content {
    overflow: auto;
}

.nx-dialog-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 5px;
    padding: 7.5px;
    border-top: 1px solid var(--nx-border);
}

.nx-dialog-actions.nx-dialog-actions-stretched > .nx-button {
    flex: 1 1 0;
}

.nx-dialog-actions:not(.nx-dialog-actions-stretched) {
    justify-content: flex-end;
}

.nx-dialog-actions:not(.nx-dialog-actions-stretched) > .nx-button {
    min-width: 90px;
}

.nx-prompt-field {
    margin-top: 10px;
}

.nx-progressbar {
    position: relative;
    display: block;
    box-sizing: border-box;
    height: 15px;
    overflow: hidden;
    font-size: 7.5px;
    line-height: 1;
    color: var(--nx-text);
    background-color: #e9ecef;
    border-radius: var(--nx-radius);
}

.nx-progressbar-value {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    color: var(--nx-on-primary);
    background-color: var(--nx-primary);
    transition: width .2s ease;
}

.nx-progressbar-vertical .nx-progressbar-value {
    top: auto;
    bottom: 0;
    width: 100%;
}

.nx-progress-status-wrap {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 5px;
    white-space: nowrap;
}

.nx-progressbar-indeterminate .nx-progressbar-value {
    width: 100% !important;
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    background-size: 200% 100%;
    animation: nx-loading 1.2s linear infinite;
}

.nx-progressbar.nx-disabled {
    opacity: var(--nx-disabled-opacity);
}

.nx-loader {
    display: inline-block;
    color: var(--nx-primary);
    line-height: 0;
    vertical-align: middle;
}

.nx-loader-primary { color: #265c89; }
.nx-loader-secondary { color: #bababa; }
.nx-loader-info { color: #4490a7; }
.nx-loader-success { color: #458a45; }
.nx-loader-warning { color: #b4823b; }
.nx-loader-error { color: #a33e3b; }
.nx-loader-dark { color: #212529; }
.nx-loader-light { color: #f8f9fa; }

.nx-loader-canvas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nx-loader-segment {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 50%;
    animation: nx-pulse 1s ease-in-out infinite;
}

.nx-loader-segment:nth-child(2) { animation-delay: .25s; }
.nx-loader-segment:nth-child(3) { animation-delay: .5s; }
.nx-loader-segment:nth-child(4) { animation-delay: .75s; }

.nx-loader-small .nx-loader-segment { width: 4px; height: 4px; }
.nx-loader-large .nx-loader-segment { width: 15px; height: 15px; }
.nx-loader-large .nx-loader-canvas { gap: 15px; }

@keyframes nx-pulse {
    0%, 100% { transform: scale(.4); opacity: .4; }
    50% { transform: scale(1); opacity: 1; }
}

.nx-tooltip {
    position: absolute;
    display: none;
    box-sizing: border-box;
    max-width: 90vw;
    padding: 2.5px 5px;
    font-family: var(--nx-font-family);
    font-size: 8.75px;
    line-height: 1.5;
    color: #ffffff;
    background-color: #212529;
    border-radius: var(--nx-radius);
    word-wrap: break-word;
}

.nx-tooltip.nx-tooltip-closable {
    padding-right: 17.5px;
}

.nx-tooltip-close {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nx-tooltip-close svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.nx-callout {
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
}

.nx-callout-bottom { top: -12px; margin-left: -6px; border-bottom-color: #212529; }
.nx-callout-top { bottom: -12px; margin-left: -6px; border-top-color: #212529; }
.nx-callout-left { top: 50%; right: -12px; margin-top: -6px; border-left-color: #212529; }
.nx-callout-right { top: 50%; left: -12px; margin-top: -6px; border-right-color: #212529; }

.nx-notifications {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nx-notification {
    box-sizing: border-box;
    min-width: 200px;
    max-width: 400px;
    padding: 10px 14px;
    font-family: var(--nx-font-family);
    font-size: var(--nx-font-size);
    border: 1px solid;
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-popup-shadow);
    cursor: pointer;
}

.nx-notification-info { color: #31708f; background-color: #def2f8; border-color: #bce8f1; }
.nx-notification-success { color: #3c763d; background-color: #def1de; border-color: #d6e9c6; }
.nx-notification-warning { color: #8a6d3b; background-color: #fcefdc; border-color: #faebcc; }
.nx-notification-error { color: #a94442; background-color: #f7dddc; border-color: #ebccd1; }

.k-pager-sizes .nx-picker.nx-pager-sizes-picker { width: 5.2em; min-width: 5.2em; margin-right: .5em; }
.k-pager-sizes .nx-pager-sizes-picker .ts-control { min-height: 0; }
.k-pager-input .k-numerictextbox { width: 4em; margin: 0 .5em; }
.nx-grid-filter-container .k-filter-menu-container > .nx-picker,
.nx-grid-filter-container .k-filter-menu-container > .nx-input { width: 100%; }
.nx-grid-filter-container .k-filter-menu-container > label { display: flex; align-items: center; gap: 6px; margin: 0; }

.nx-reorder-cue { width: 2px; background: var(--nx-primary, #337ab7); box-shadow: 0 0 0 1px rgba(51, 122, 183, .25); }
.nx-column-menu > .k-menu { min-width: 190px; }
.nx-column-submenu { min-width: 180px; max-height: 360px; overflow-y: auto; }
.nx-column-menu .k-menu-link, .nx-column-submenu .k-menu-link, .nx-toolbar-popup .k-menu-link { cursor: pointer; }
.nx-column-menu .k-menu-expand-arrow { margin-left: auto; }
.nx-drag-clue { padding: 4px 10px; border: 1px solid var(--nx-border, var(--app-border, #dee2e6)); border-radius: 4px; background: var(--app-surface, #fff); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.nx-drag-clue.k-drag-status-add { border-color: var(--nx-primary, #337ab7); }
input.k-textbox:not(.k-input-inner), input.k-input:not(.k-input-inner) { box-sizing: border-box; height: var(--nx-height); min-height: var(--nx-height); padding: var(--nx-padding-y) var(--nx-padding-x); font: inherit; font-size: var(--nx-font-size); color: var(--nx-text); background-color: var(--nx-bg); border: 1px solid var(--nx-input-border); border-radius: var(--nx-radius); outline: 0; box-shadow: none; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; }
input.k-textbox:not(.k-input-inner):focus, input.k-input:not(.k-input-inner):focus { border-color: var(--nx-focus-border); box-shadow: none; }
.input-group > input.k-textbox:not(.k-input-inner):not(:last-child), .input-group > input.k-input:not(.k-input-inner):not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.k-pager .k-pager-sizes .k-picker, .k-pager .k-pager-input .k-input { border-radius: var(--kendo-border-radius-md, 3.75px); }
.k-pager .k-pager-sizes .k-picker *, .k-pager .k-pager-sizes .k-picker *::before, .k-pager .k-pager-sizes .k-picker *::after, .k-pager .k-pager-input .k-input *, .k-pager .k-pager-input .k-input *::before, .k-pager .k-pager-input .k-input *::after { border-radius: 0; }
.nx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 16px; }
.nx-stat { display: flex; align-items: center; justify-content: space-between; min-width: 0; background: var(--app-surface, #fff); border: 1px solid var(--app-border, #e4e5e7); border-radius: 4px; padding: 16px 18px; }
.nx-stat-body { min-width: 0; }
.nx-stat-value { font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--app-heading, #4a4c4f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-stat-label { margin-top: 6px; font-size: 13px; color: var(--app-muted, #8a8d91); }
.nx-stat-icon { flex: 0 0 48px; width: 48px; height: 48px; margin-left: 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.nx-stat-icon { background: color-mix(in srgb, currentColor 14%, transparent); }
.nx-stat-icon.nx-blue { color: #0a8ea5; }
.nx-stat-icon.nx-green { color: #5b8e7d; }
.nx-stat-icon.nx-purple { color: #7f4daf; }
.nx-stat-icon.nx-teal { color: #3c8d8d; }
.nx-stat-icon.nx-red { color: #bc4b51; }
.nx-stat-icon.nx-orange { color: #ca822f; }
.nx-stat-icon.nx-yellow { color: #b39b2f; }
.k-tabstrip-content.nx-tabstrip-loading { min-height: 80px; opacity: .6; }
.k-window .k-edit-buttons, .k-popup-edit-form .k-edit-buttons, .k-edit-form-container .k-edit-buttons, .k-window .k-actions:has(> .k-grid-update), .k-window .k-actions:has(> [ref-update-button]) { justify-content: flex-end; }
.k-window { max-width: calc(100vw - 16px); }
body.nx-resizing-col, body.nx-resizing-col * { cursor: col-resize !important; user-select: none !important; }
body.nx-resizing-row, body.nx-resizing-row * { cursor: row-resize !important; user-select: none !important; }
.k-stepper { position: relative; margin-bottom: 16px; padding: 14px 0 10px; background: var(--app-surface, #fff); border: 1px solid var(--app-border, #e4e5e7); border-radius: 4px; }
.ts-wrapper.form-control { height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.k-svg-icon[class*="k-i-"] { width: 16px; height: 16px; vertical-align: middle; }
.k-svg-icon[class*="k-i-"] > svg { width: 100%; height: 100%; fill: currentColor; }
.btn > .k-svg-icon { margin-top: -2px; }
.k-svg-icon[class*="k-i-"]::before, .k-svg-icon[class*="k-i-"]::after { content: none !important; display: none !important; }
.nx-pivot { border: 1px solid var(--app-border, #e4e5e7); background: var(--app-surface, #fff); color: var(--app-text, #6a6c6f); font-size: 12px; }
.nx-pivot-fields, .nx-pivot-config-zones { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-bottom: 1px solid var(--app-border, #e4e5e7); background: var(--app-surface-2, #fafbfc); }
.nx-pivot-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; flex: 1 1 220px; min-height: 30px; padding: 3px 6px; border: 1px dashed var(--app-border, #d5d8dc); border-radius: 4px; background: var(--app-surface, #fff); }
.nx-pivot-zone.nx-drop { border-color: #0a8ea5; background: color-mix(in srgb, #0a8ea5 10%, var(--app-surface, #fff)); }
.nx-pivot-zone-label { font-weight: 600; color: var(--app-text, #6a6c6f); margin-right: 4px; font-size: 11px; text-transform: uppercase; }
.nx-pivot-zone-hint { color: var(--app-muted, #aaa); font-style: italic; }
.nx-pivot-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 12px; background: color-mix(in srgb, var(--app-text, #6a6c6f) 14%, var(--app-surface, #fff)); color: var(--app-heading, #34495e); cursor: grab; user-select: none; }
.nx-pivot-chip-sort, .nx-pivot-chip-filter, .nx-pivot-chip-remove { cursor: pointer; color: var(--app-muted, #7f8c8d); font-size: 10px; }
.nx-pivot-chip-remove { font-size: 14px; line-height: 1; }
.nx-pivot-chip-filter.nx-active { color: #0a8ea5; }
.nx-pivot-scroll { overflow: auto; position: relative; }
.nx-pivot-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; }
.nx-pivot-table th, .nx-pivot-table td { border-right: 1px solid var(--app-border, #e4e5e7); border-bottom: 1px solid var(--app-border, #e4e5e7); padding: 5px 8px; white-space: nowrap; }
.nx-pivot-table thead th { position: sticky; top: 0; z-index: 2; background: var(--app-surface-2, #f5f6f7); color: var(--app-heading, #34495e); font-weight: 600; text-align: center; }
.nx-pivot-table thead tr:nth-child(2) th { top: 28px; }
.nx-pivot-table thead tr:nth-child(3) th { top: 56px; }
.nx-pivot-table .nx-pivot-corner, .nx-pivot-table .nx-pivot-row-head { position: sticky; left: 0; z-index: 1; background: var(--app-surface-2, #f9fafb); color: var(--app-heading, #34495e); text-align: left; font-weight: 600; }
.nx-pivot-table .nx-pivot-corner { z-index: 3; }
.nx-pivot-table td { text-align: right; }
.nx-pivot-table .nx-pivot-total, .nx-pivot-table .nx-pivot-parent td, .nx-pivot-table .nx-pivot-grand td, .nx-pivot-table .nx-pivot-grand th { background: var(--app-surface-2, #f5f8fa); color: var(--app-heading, #34495e); font-weight: 600; }
.nx-pivot-toggle { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-right: 4px; border: 1px solid var(--app-border, #b6bcc2); border-radius: 2px; font-size: 11px; line-height: 1; cursor: pointer; background: var(--app-surface, #fff); }
.nx-pivot-toggle-space { display: inline-block; width: 18px; }
.nx-pivot-empty { padding: 30px; text-align: center; color: var(--app-muted, #999); }
.nx-pivot-filter-popup { background: var(--app-surface, #fff); color: var(--app-text, #6a6c6f); border: 1px solid var(--app-border, #d5d8dc); border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); padding: 6px; min-width: 200px; }
.nx-pivot-filter-list { max-height: 260px; overflow: auto; }
.nx-pivot-filter-list label { display: flex; align-items: center; gap: 6px; padding: 2px 4px; font-weight: normal; margin: 0; }
.nx-pivot-filter-actions { display: flex; gap: 6px; justify-content: flex-end; padding-top: 6px; border-top: 1px solid var(--app-border, #eee); margin-top: 6px; }
.nx-pivot-config { border: 1px solid var(--app-border, #e4e5e7); background: var(--app-surface, #fff); font-size: 12px; }
.nx-pivot-config-body { display: flex; }
.nx-pivot-config-fields { flex: 0 0 220px; border-right: 1px solid var(--app-border, #e4e5e7); padding: 6px; max-height: 320px; overflow: auto; }
.nx-pivot-config-title { font-weight: 600; color: var(--app-text, #6a6c6f); font-size: 11px; text-transform: uppercase; margin: 6px 0 4px; }
.nx-pivot-field { display: flex; align-items: center; gap: 6px; padding: 3px 6px; border-radius: 3px; cursor: grab; font-weight: normal; margin: 0; }
.nx-pivot-field:hover { background: var(--app-hover, #f2f5f8); }
.nx-pivot-field.nx-used { color: #0a8ea5; }
.nx-pivot-config-zones { flex: 1 1 auto; flex-direction: column; border-bottom: 0; }
.nx-pivot-config-zones .nx-pivot-zone { flex: 0 0 auto; }
.nx-pivot-config-fields { max-height: none; }
.nx-pivot-config { height: auto !important; overflow: visible; margin-bottom: 10px; }

.nx-checkbox + .k-checkbox-label { margin-left: 6px; vertical-align: middle; }
.ts-wrapper.nx-multiselect .ts-control { min-height: 30px; cursor: pointer; }
.ts-wrapper.nx-multiselect .ts-control > .item { margin: 1px 4px 1px 0; padding: 0 6px; border-radius: 3px; background: #ebebeb; border: 1px solid var(--app-border, #ddd); }
.ts-wrapper.nx-multiselect-single .ts-control > .item { display: none; }
.ts-wrapper.nx-multiselect-single .nx-multiselect-summary:not(:empty) { display: inline-block; padding: 0 6px; border-radius: 3px; background: #ebebeb; border: 1px solid var(--app-border, #ddd); margin-right: 4px; white-space: nowrap; }
.ts-wrapper.nx-multiselect-single.nx-has-items .ts-control > input:not(:focus) { width: 0; min-width: 0; }
.ts-dropdown.nx-multiselect-popup .option.selected:not(.active) { background: transparent; color: inherit; }
.nx-multiselect-header { border-bottom: 1px solid var(--app-border, #eee); }

.nx-window.nx-window-has-footer > .nx-window-content { display: flex; flex-direction: column; overflow: hidden; padding: 0 !important; }
.nx-window-has-footer > .nx-window-content > .nx-window-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 15px; }
.nx-window-has-footer > .nx-window-content > .nx-window-footer { position: static !important; flex: none; display: flex; justify-content: flex-end; align-items: center; gap: var(--kendo-spacing-2, 5px); width: auto; margin: 0 !important; padding: var(--kendo-spacing-2, 5px); border: 0; border-top: 1px solid var(--app-border, var(--nx-border)); text-align: right; clear: both; z-index: auto; }
.nx-window-has-footer > .nx-window-content > .nx-window-footer > .k-button { margin: 0; }

input.k-checkbox:not(.k-checkbox-sm):not(.k-checkbox-md):not(.k-checkbox-lg) { width: 14px; height: 14px; border-radius: 2px; vertical-align: middle; }
input.k-checkbox:not(.k-checkbox-sm):not(.k-checkbox-md):not(.k-checkbox-lg)::before { width: 10px; height: 10px; }
input[type="checkbox"]:focus:not(:focus-visible), input[type="radio"]:focus:not(:focus-visible) { outline: none; }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid color-mix(in srgb, var(--app-accent, #337ab7) 45%, transparent); outline-offset: 2px; }

.k-grid td .k-button.k-button-solid-base:not(.k-icon-button) { border-color: #ced4da; background-color: var(--app-surface-2, #f8f9fa); }
.k-grid td .k-button.k-button-solid-base:not(.k-icon-button):hover { background-color: #e9ecef; border-color: #adb5bd; }

.nx-stat { container-type: inline-size; }
@container (max-width: 230px) { .nx-stat-icon { display: none; } .nx-stat-value { font-size: 18px; } }
@container (max-width: 170px) { .nx-stat-value { font-size: 16px; } }

.k-filter-menu-multi .k-filter-menu-container { min-width: 230px; max-width: 320px; }
.nx-multi-search { display: flex; margin-bottom: 6px; width: 100%; }
.nx-multi-list { max-height: 260px; overflow-y: auto; margin: 0 0 6px; padding: 0; list-style: none; }
.nx-multi-list .nx-multi-row { padding: 3px 2px; }
.nx-multi-list .k-checkbox-label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: normal; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-multi-list .nx-multi-row:first-child { border-bottom: 1px solid var(--app-border, #eee); margin-bottom: 2px; font-weight: 600; }
.nx-multi-count { font-size: 12px; color: var(--app-muted, #8a8d91); margin-bottom: 6px; }
.nx-filter-ui { display: block; }

.nx-grid td.k-dirty-cell {
    position: relative;
}

.nx-grid td.k-dirty-cell > .k-dirty {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0;
    border-width: 5px;
    border-style: solid;
    border-color: #f31700 transparent transparent #f31700;
}

.nx-grid td.k-edit-cell {
    padding-top: 2px;
    padding-bottom: 2px;
}

.nx-grid td.k-edit-cell .k-input,
.nx-grid td.k-edit-cell .ts-wrapper,
.nx-grid td.k-edit-cell .k-picker {
    width: 100%;
}

.nx-grid td.k-edit-cell input.text-box {
    width: 100%;
    height: 28px;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.nx-grid .k-grid-toolbar .k-button .fa {
    margin-right: 4px;
}

.k-svg-icon > .nx-font-icon {
    font-size: 14px;
    line-height: 1;
}

.nx-pdfviewer {
    position: relative;
    display: block;
    min-height: 200px;
}

.nx-pdfviewer-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.nx-pdfviewer-loading::after {
    content: "Loading...";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--app-muted, #8a8d91);
    font-size: 13px;
}

.nx-pdfviewer-error {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    color: #a33f45;
    font-size: 13px;
}

.ts-wrapper.nx-picker.nx-busy .ts-control::after {
    right: 7px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    box-sizing: border-box;
    border: 2px solid var(--nx-border);
    border-top-color: var(--nx-primary);
    border-radius: 50%;
    animation: nx-spin .7s linear infinite;
}

[dir="rtl"] .ts-wrapper.nx-picker.nx-busy .ts-control::after {
    right: auto;
    left: 7px;
}

.ts-wrapper.nx-picker.form-control {
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.ts-wrapper.nx-picker {
    --ts-pr-min: calc(var(--nx-padding-x) + 24px);
    --ts-pr-caret: 0px;
    --ts-pr-clear-button: 0px;
}

.ts-wrapper.nx-picker.input-active .ts-control,
.ts-wrapper.nx-picker.single.input-active .ts-control {
    background-color: var(--nx-bg);
    color: var(--nx-text);
}
