
/*

DEPRECATED CSS CLASSES:

(These exist in older form templates that used to have a table-like layout, with labels positioned to the left of fields)
.esp-formTable
.esp-formTableRow
.esp-antiFormTable
.esp-rightLabels
.esp-leftLabels
.esp-rightFields
.esp-leftFields

(This was added to a ton of client form templates by mistake, so it has been replaced with "esp-checkbox")
.esp-checkboxField

*/


/*----------
SYSTEM
----------*/

/* GENERAL STUFF */

html, body {
    font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    float: left;
    clear: both;
    box-sizing: border-box;
    color: var(--color, #444);
}

pre {
    white-space: pre-wrap; /* I want <pre> tags to wrap */
}

.showAsNew {
    font-weight: bold !important;
}

.flag-duplicate {
    background-color:#ffc6c6 !important;
}
.flag-successful {
    background-color:#c6ffc6 !important;
}
.flag-system {
    background-color:#fff0a0 !important;
}
.flag-failed {
    color:red !important;
}
.dc-flagged {
    background-color:#d5d5ff !important;
}

.deleted {
    color: red !important;
    text-decoration: line-through !important;
}

.showOverFlow > div {
    overflow-y: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.x-scroller {
    pointer-events: all;
}

.clickable {
    cursor: pointer !important;
    text-decoration: underline;
    pointer-events: all !important;
}

.esp-clickable-subtle {
    cursor: pointer !important;
    color:hsl(216deg 60% 40%);
    text-decoration: none;
}

i.clickable {
    text-decoration: none;
}

.esp-treeNode-unselectable {
    opacity: 0.6;
    filter: alpha(opacity = 60);
}

.x-tree-icon-leaf.esp-tree-no-options:before {
    content: '!';
    color: #aa3333;
    position: relative;
    top: -2px;
}

i.clickable.fa-times-circle {
    color:#aa3333;
}

i.clickable.fa-gear {
    color:#66aa66;
}

i.clickable.fa-question-circle {
    color:#6666aa;
}

i.clickable.fa-search {
    color:var(--base-color, #196eb3);
}

i.clickable.fa-commenting {
    color:var(--base-color, #196eb3);
}

.clickable-image {
    cursor: pointer !important;
}

.not-clickable {
    cursor: default !important;
    text-decoration: none;
}

.x-masked *,
.esp-no-animations * {
    transition: none !important;
}

.esp-show-data-before:before {
    content: attr(esp-data-val);
    font: Inter, sans-serif;
}

/* SCROLLBARS */
/* To change the field scrollbars, you also need to update ESP.overrides.form.field.HtmlEditor--getDocMarkup */

.x-desktop ::-webkit-scrollbar-track {
    background: transparent;
    cursor: default;
}

.x-desktop ::-webkit-scrollbar{
    background: transparent;
    width: 16px !important;
    height: 16px !important;
}

.x-desktop ::-webkit-scrollbar-thumb{
    border-radius: 99px !important;
    background-color: var(--border-color-2, #dadada) !important;
    border: 4px solid transparent;
    background-clip: padding-box;
    cursor: default;
}

/* WINDOW SNAPPING */

#ESP_SnapPreview {
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    position: fixed;
    z-index: 999999999;
    background: #ffffff33;
    opacity: 0;
    transform: scale(0.75);
}

#ESP_SnapPreview.esp-animateSnapPreview {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* TEXT EDITING */

.x-form-checkbox-default {
    display: inline-block;
}
.xmleditor-table td {
    text-align:left;
    border-bottom: 1px solid #eeeeee;
    padding-top:2px;
}
.xmleditor-table td:nth-child(2) {
    text-align:right;
}
.xmleditor-table td .CodeMirror {
    text-align: left;
}
.xmlEditorToolbar .x-btn-inner {
    max-width: 250px;
    white-space: normal;
    text-align: center;
}
.esp-fullscreen {
    position: fixed !important;
    transform: none !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    z-index: 999999;
}
.esp-parent-fullscreen {
    transform: none !important;
    overflow: hidden !important;
}
.esp-fieldContainer--fullscreen .esp-fieldMenuBtn {
    display: none !important;
}

/* FONT AWESOME CORRECTIONS */

.fa.fa-external-link:before {
    font-size: 0.88em;
    position: relative;
    top: -1px;
}

/* FONT AWESOME COMBINATIONS */

.esp-fa-plus:after {
    content: '\f067';
    font-size: 0.65em;
    margin-left: 0.1em;
    vertical-align: top;
}


/* ICONS */

.esp-icon-panelTitle {
    padding-right: 3px;
}

.start-help, .start-info, .start-lock, .start-logout, .start-refresh, .start-key, .start-view, .start-settings, .tab-view, .desktop-view, .start-start, .mobile-view {
    height:auto;
}
.start-help:before, .start-info:before, .start-lock:before, .start-logout:before, .start-refresh:before, .start-key:before, .start-view:before, .start-settings:before, .tab-view:before, .desktop-view:before, .start-start:before, .mobile-view:before {
    font-family: "Font Awesome 5 Free";
}
.start-help:before {
    content: "\f059";
}
.start-info:before {
    content: "\f05a";
}
.start-lock:before {
    content: "\f023";
}
.start-logout:before {
    content: "\f011";
}
.start-start:before {
    content: "\f1ce";
}
.start-refresh:before {
    content: "\f021";
}
.start-key:before {
    content: "\f084";
}
.start-view:before {
    content:"\f002";
}
.classic-view {
    background-image:url(../images/General/classicView16.png) !important;
}
.start-settings:before {
    content:"\f013";
}
.tab-view:before {
    content: "\f0ca";
}
.mobile-view:before {
    content: "\f10b";
}
.desktop-view:before {
    content: "\f108";
}

.upload, .edit, .sc, .refresh, .export, .view, .add, .modify, .delete, .save, .copy, .mark-read, .mark-unread, .createDiagram,.paintBrush {
    height: auto;
}
.upload:before, .edit:before, .sc:before, .refresh:before, .export:before, .view:before, .add:before, .modify:before, .delete:before, .save:before, .copy:before, .mark-read:before, .mark-unread:before, .createDiagram:before, .paintBrush:before {
    font-family: 'Font Awesome 5 Free';
}
.error {
    background-image:url(../images/General/delete16.png) !important;
}
.success {
    /* TODO find something outside of an app folder */
    background-image:url(../images/comCenter/Complete16.gif) !important;
}
.delete:before {
    content: "\f00d";
}
.add:before {
    content: "\f067";
}
.modify:before {
    content: "\f303";
}
.copy:before {
    content: "\f0c5";
}
.save:before {
    content: "\f0c7";
}
.view:before {
    content: "\f002";
}
.edit:before {
    content: "\f303";
}
.createDiagram:before{
    content: "\f542";
}
.paintBrush:before{
    content: "\f1fc";
}
.refresh:before {
    content: "\f021";
}
.upload:before {
    content: "\f062";
}
.export:before {
    content: "\f063";
}
.sc:before {
    content: "\f1e5";
}
.mark-read:before {
    content: "\f0e0";
}
.mark-unread:before {
    content: "\f0e0";
}

.start-notify:before {
    font-family: "Font Awesome 5 Free";
    content: '\f0f3';
}

.icon-help, .icon-info, .icon-view, .icon-refresh, .icon-lock, .icon-key, .icon-refreshNow, .icon-clock, .icon-table, .icon-hierarchy {
    height: auto;
    width: auto !important;
}
.icon-help:before, .icon-info:before, .icon-view:before, .icon-refresh:before, .icon-lock:before, .icon-key:before, .icon-refreshNow:before, .icon-clock:before, .icon-table:before, .icon-hierarchy:before {
    font: 16px 'Font Awesome 5 Free';
}
.icon-help:before {
    content: "\f059";
}
.icon-info:before {
    content: "\f05a";
}
.icon-lock:before {
    content: "\f023";
}
.icon-refresh:before {
    content: "\f021";
}
.icon-refreshNow:before {
    content: "\f021";
    color:#FF0000;
}
.icon-refreshNow {
    color:#FF0000;
}
.icon-clock:before {
    content:"\f017";
}
.icon-table:before {
    content:"\f0ce";
}
.icon-hierarchy:before {
    content:"\f0e8";
}
.icon-key:before {
    content: "\f084";
}
.icon-view:before {
    content: "\f002";
}
.empty-icon {
    background-image:url(../images/s.gif) ! important;
}

.esp-dot-indicator,
.esp_timeTrack_tree .x-tree-view .x-tree-icon.esp-dot-indicator {
    margin-right: 0.33em !important;
    color: transparent;
    font-size: 1em;
    width: auto;
    min-width: 0px;
    font-style: normal;
    transform: scale(0.85);
    transform-origin: center center;
}

.esp-dot-indicator:before {
    content: '\f111' !important;
    color: inherit !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

/*---------------
 BREADCRUMBS
-----------------*/

/* Top bar with breadcrumbs */

.esp-breadcrumbBar {
    border-bottom: 1px solid var(--border-color-1) !important;
}

.esp-breadcrumbBar .x-toolbar {
    background: white;
}

.esp-breadcrumbBar__hist {
    padding-left: 25px !important;
    padding-right: 0px !important;
}

.esp-breadcrumbBar__hist .fa-history {
    font-size: 15px;
    width: 1em;
    height: 1em;
}

.esp-breadcrumbBar__nav {
    padding-left: 0px !important;
    padding-right: 10px !important;
}

.esp-breadcrumbBar__nav .x-toolbar-item {
    margin: 0 !important;
}

.esp-breadcrumbBar__menu {
    padding-left: 30px;
}

.esp-breadcrumbBar__menu .x-toolbar-item {
    margin: 0 !important;
}

/* Breadcrumbs display */

.esp-breadcrumbs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    height: 100%;
    padding: 0px 5px;
    cursor: default;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--medium-color);
}

.esp-breadcrumbs__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-breadcrumbs__active {
    display: inline-block;
    position: relative;
    padding: 5px;
}

.esp-breadcrumbs__active--clickable {
    cursor: pointer;
}

.esp-breadcrumbs__active--clickable:hover {
    text-decoration: underline;
}

.esp-breadcrumbMenu__item b {
    font-weight: bold;
}

.esp-breadcrumbs__active b,
.esp-breadcrumbMenu--history b {
    font-weight: inherit;
}

.esp-breadcrumbs:not(.esp-breadcrumbs--collapsing) .esp-breadcrumbs__active:last-child:not(.esp-breadcrumbs__active--collapsed) {
    min-width: 0px;
}

.esp-breadcrumbs__active,
.esp-breadcrumbMenu__item {
    user-select: none;
}

.esp-breadcrumbs__main-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    border-radius: inherit;
}

.esp-breadcrumbs__sub-title {
    display: block;
    color: var(--light-color);
    font-size: 13px;
}

.x-keyboard-mode .esp-breadcrumbMenu__item.x-view-item-focused {
    outline: none !important;
}

.esp-breadcrumbMenu__item--selected:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    border-radius: 6px;
    border: 3px solid var(--border-color-5);
}

.esp-breadcrumbs__active:not(:first-child) {
    margin-left: 24px;
}

.esp-breadcrumbs__active:not(:first-child):before {
    content: '';
    pointer-events: none;
    position: absolute;
    display: inline-block;
    transform: rotate(45deg) scale(1.5);
    border: 1px solid var(--medium-color);
    border-bottom: none;
    border-left: none;
    width: 3px;
    height: 3px;
    left: -15px;
    bottom: 50%;
    margin-bottom: -1px;
}

.esp-breadcrumbs__active--collapsed .esp-breadcrumbs__text {
    color: transparent;
    font-size: 0;
    max-width: 15px;
}

.esp-breadcrumbs__active--collapsed .esp-breadcrumbs__text:before {
    content: '...';
    color: var(--color);
    font-size: 14px;
}

.esp-breadcrumbs__active--collapsed .esp-breadcrumbs__icon {
    display: none !important;
}

.esp-breadcrumbs__active--collapsed + .esp-breadcrumbs__active--collapsed {
    display: none !important;
}

.esp-breadcrumbs__icon {
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.esp-breadcrumbMenu:has(.esp-breadcrumbs__icon) :is(.esp-breadcrumbs__parents, .esp-breadcrumbs__sub-title, .esp-breadcrumbs__text:first-child) {
    margin-left: 30px;
}

.esp-breadcrumbs .esp-breadcrumbs__icon,
.esp-breadcrumbs .esp-breadcrumbs__text i,
.esp-breadcrumbMenu--history .esp-breadcrumbs__text i,
.esp-breadcrumbs__dirty-warning .esp-breadcrumbs__text i,
.esp-breadcrumbs .esp-breadcrumbs__text .ai-assistant-icon-container,
.esp-breadcrumbMenu--history .ai-assistant-icon-container,
.esp-breadcrumbs br {
    display: none !important;
}

.esp-breadcrumbs__parents {
    padding-right: 5px;
    color: var(--light-color);
    font-size: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.esp-breadcrumbs__parents > span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.esp-breadcrumbs__parents i {
    display: none !important;
}

.esp-breadcrumbs__parent,
.esp-breadcrumbs__parent:before {
    color: var(--light-color);
    border-color: var(--light-color);
}

.esp-breadcrumbMenu__item--active .esp-breadcrumbs__parent,
.esp-breadcrumbMenu__item--active .esp-breadcrumbs__parent:before {
    color: var(--base-color);
    border-color: var(--base-color);
}

.esp-breadcrumbs__parent {
    font-weight: 400;
}

.esp-breadcrumbs__text span,
.esp-breadcrumbs__parent {
    position: relative;
}

.esp-breadcrumbs__text span + span,
.esp-breadcrumbs__parent:not(:first-child) {
    padding-left: 19px;
}

.esp-breadcrumbs__text span + span:before,
.esp-breadcrumbs__parent:not(:first-child):before {
    content: '';
    pointer-events: none;
    position: absolute;
    display: inline-block;
    transform: rotate(45deg);
    border: 1px solid;
    border-bottom: none;
    border-left: none;
    width: 4px;
    height: 4px;
    left: 6px;
    top: 0.5em;
    margin-bottom: -3px;
}

.esp-breadcrumbs__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esp-breadcrumbs .esp-breadcrumbs__text,
.esp-breadcrumbMenu:not(.esp-breadcrumbMenu--history) .esp-breadcrumbs__text {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-breadcrumbs:not(.esp-breadcrumbs--collapsing) .esp-breadcrumbs__text {
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.5em;
    white-space: nowrap;
}

:is(.esp-breadcrumbs__active, .esp-breadcrumbMenu__item):not(:hover) .esp-breadcrumbs__close {
    opacity: 0;
}

.esp-breadcrumbs__close {
    color: var(--status-red-dark);
}

.esp-breadcrumbs__active .esp-breadcrumbs__close {
    margin-left: 5px;
    display: none;
}

.esp-breadcrumbs__dirty-warning {
    line-height: 1.3;
}

.esp-breadcrumbs__dirty-warning-header {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--color);
}

.esp-breadcrumbs__dirty-warning .esp-breadcrumbs__main-title {
    display: inline !important;
}

.esp-breadcrumbs__dirty-warning .esp-breadcrumbs__text {
    white-space: break-spaces !important;
}

.esp-breadcrumbs__dirty-warning .esp-breadcrumbs__parents > span {
    white-space: break-spaces !important;
}

/* Breadcrumb menu */

.esp-breadcrumbMenu {
    color: var(--color);
    background: white;
    border-radius: 12px;
    padding: 5px;
    border: 1px solid var(--border-color-4);
    box-shadow: var(--shadow-medium);
    cursor: default;
}

.esp-breadcrumbMenu__search {
    padding: 0px !important;
    margin-bottom: 5px;
}

.esp-breadcrumbMenu__search > div {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 5%);
    min-height: 36px !important;
    height: 36px !important;
}

.esp-breadcrumbMenu__search .x-form-trigger-wrap {
    max-height: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
}

.esp-breadcrumbMenu__search .x-form-text-wrap {
    margin-left: 25px;
    width: calc(100% - 25px);
}

.esp-breadcrumbMenu__search input.x-form-text {
    font-size: 14px;
}

.esp-breadcrumbMenu__search .x-form-trigger.at-x-mark {
    color: var(--medium-color);
    font-size: 14px;
    margin-top: 0px;
}

.esp-breadcrumbMenu__search .x-form-text-wrap:has(.x-form-empty-field) + .x-form-trigger.at-x-mark {
    display: none !important;
}

.esp-breadcrumbMenu__search .x-form-trigger.at-magnifying-glass {
    font-size: 14px;
    position: absolute;
    left: 6px;
    top: 8px;
    color: var(--medium-color);
}

.esp-breadcrumbMenu__items {
    max-height: calc(100vh - 100px);
    overflow: auto;
}

.esp-breadcrumbMenu__item:not(.esp-breadcrumbMenu__divider) {
    line-height: 1.3;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5%;
    position: relative;
    padding: 9px 13px;
}

.esp-breadcrumbMenu__item:hover {
    background: #f2f2f2;
}

.esp-breadcrumbMenu__item--active .esp-breadcrumbs__text {
    font-weight: 600;
}

.esp-breadcrumbMenu__item--active,
.esp-breadcrumbMenu__item--active i:not(.fa-times),
.esp-breadcrumbMenu__item--active .esp-breadcrumbs__main-title {
    color: var(--base-color-vibrant) !important;
}

.esp-breadcrumbMenu__item--active .esp-breadcrumbs__sub-title {
    color: var(--base-color) !important;
    font-weight: normal !important;
}

.esp-breadcrumbMenu__open .esp-breadcrumbMenu__item {
    color: var(--medium-color);
}

.esp-breadcrumbMenu__item .esp-breadcrumbs__close {
    position: absolute;
    font-size: 12px;
    line-height: 1;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #00000008;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
}

.esp-breadcrumbMenu__item--hasClose {
    padding-right: 45px !important;
}

.esp-breadcrumbMenu--hasChildren .esp-breadcrumbMenu__item {
    margin-right: 30px !important;
}

.esp-breadcrumbMenu__itemArrow {
    display: none;
}

.esp-breadcrumbMenu__item--hasChildren .esp-breadcrumbMenu__itemArrow {
    color: var(--divider-color);
    position: absolute;
    font-size: 10px;
    line-height: 1;
    right: -30px;
    top: 0;
    bottom: 0;
    width: 30px;
    padding-left: 5px;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.esp-breadcrumbMenu__item--childrenShowing .esp-breadcrumbMenu__itemArrow {
    color: var(--medium-color);
}

.esp-breadcrumbMenu__item--childrenShowing.esp-breadcrumbMenu__item--active .esp-breadcrumbMenu__itemArrow {
    color: var(--base-color);
}

.esp-breadcrumbMenu__actions .esp-breadcrumbMenu__item {
    color: var(--medium-color);
}

.esp-breadcrumbMenu__actions .esp-breadcrumbMenu__item:not(.esp-breadcrumbMenu__item--active) .esp-breadcrumbs__icon {
    color: var(--medium-color);
}

.esp-breadcrumbMenu__divider {
    display: block;
    overflow: visible;
    pointer-events: none;
    position: relative;
}

.esp-breadcrumbMenu__divider,
.esp-breadcrumbMenu--hasItems .esp-breadcrumbMenu__open:not(:empty) + .esp-breadcrumbMenu__actions:not(:empty) {
    padding-top: 11px;
}

.esp-breadcrumbMenu__divider:before,
.esp-breadcrumbMenu--hasItems .esp-breadcrumbMenu__open:not(:empty) + .esp-breadcrumbMenu__actions:not(:empty):before {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: var(--border-color-4);
}

/* Breadcrumb Toolbar */

.esp-breadcrumbBar__menu .x-btn-icon-el {
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 15px;
}

.esp-breadcrumbBar__userBtn {
    padding-top: 8px;
    padding-bottom: 8px;
}

.esp-breadcrumbBar__user {
    line-height: 15px;
    max-width: 218px;
    padding-left: 34px;
    padding-top: 1px;
}

.esp-breadcrumbBar__userImage {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 99px;
    background: var(--status-blue-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -1%;
    line-height: 1em;
    color: var(--status-blue-dark);
}

.esp-breadcrumbBar__userName {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -1%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    line-height: 1;
}

.esp-breadcrumbBar__userName:last-child {
    margin-top: 7px;
    margin-bottom: 7px;
}

.esp-breadcrumbBar__emailAddress {
    color: var(--medium-color);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    line-height: 1;
}

/*----------------
 CODEMIRROR OVERRIDES
-----------------*/

.esp-CodeMirrorMerge-fullscreen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.esp-CodeMirrorMerge-fullscreen .CodeMirror-merge-pane {
    height: 100%;
}

.esp-CodeMirrorMerge.x-form-trigger-wrap {
    display: block;
    border: none;
}

.esp-CodeMirrorMerge .CodeMirror-merge {
    border: 0;
}

.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
    background-color: transparent !important; /* The little square between H and V scrollbars */
}

.CodeMirror-linenumber {
    padding: 0 5px 0 5px !important;
    background: white;
}

.CodeMirror-merge-scrolllock {
    color: var(--base-color) !important;
    margin-bottom: 4px;
}

.CodeMirror-merge-scrolllock:after {
    content: "\f3c1" !important;
    font-family: 'Font Awesome 5 Free';
    margin-left: 4px;
}

.CodeMirror-merge-scrolllock.CodeMirror-merge-scrolllock-enabled:after {
    content: "\f023" !important;
    font-family: 'Font Awesome 5 Free';
    margin-left: 0px;
}

.CodeMirror-merge-copy,
.CodeMirror-merge-copy-reverse {
    color: var(--base-color) !important;
    font-size: 14px;
    font-family: 'Font Awesome 5 Free';
    margin: 2px 5px;
}

.CodeMirror-merge-copy {
    font-size: 0px;
}

.CodeMirror-merge-copy:before {
    content: '\f061';
    font-size: 14px;
}

.CodeMirror-merge-copy-reverse:before {
    content: '\f060';
}

.CodeMirror-merge-gap ~ .CodeMirror-merge-gap .CodeMirror-merge-copy:before {
    content: '\f060';
}

.CodeMirror-merge-gap ~ .CodeMirror-merge-gap .CodeMirror-merge-copy-reverse:before {
    content: '\f061';
}

.CodeMirror-scroll {
    cursor: text;
}

/*----------------
 EXTJS OVERRIDES
-----------------*/

.x-boundlist-item {
    border-bottom: 1px solid #eee;
}

.x-toolbar-default .x-tool-tool-el {
    color: #000;
    opacity: 0.5;
}

/* REMOVE DEAD SPACE IN TABS - MAKES TEXT SHOW UP UNDER THE CLOSE 'X' */

body.x-desktop:not([theme=datava]) .x-tab {
    padding: 12px 5px 1px 5px;
}
body:not([theme=datava]) .x-tab-closable.x-tab-default .x-tab-button {
    padding: 0px;
}
.x-tab-inner {
    text-overflow: clip;
    font-weight: normal;
}

/* handle tab wrapping */
.esp-tab-wrap-normal .x-tab-inner {
    overflow-wrap: normal;
    white-space: normal;
    max-height: 9vh;
}

.esp-tab-wrap-aggressive .x-tab-inner {
    overflow-wrap: break-word;
    white-space: normal;
    max-height: 9vh;
}

/* handle column header wrapping */
.esp-column-header-wrap-normal .x-column-header-text-inner {
    overflow-wrap: normal;
    white-space: normal;
}

.esp-column-header-wrap-aggressive .x-column-header-text-inner {
    overflow-wrap: break-word;
    white-space: normal;
}

/* IF THERE ARE LOTS OF TABS, MAKE THEM SMALLER */

.esp-tab-small.x-tab {
    padding: 12px 5px 1px 5px;
}
.esp-tab-small .x-tab-inner {
    font-size: .85em;
    font-weight: normal;
    line-height: 1em;
}
.esp-tab-small.x-tab .x-tab-button {
    padding: 0px;
}

/* Popout add-on for tab. */
.x-tab .esp-tab-popout {
    position: absolute;
    width: 0px;
    height: 12px;
    font-family: 'Font Awesome 5 Free';
    line-height: 1;
    /*color: #888;*/
}
.x-tab:not(.esp-tab-small) .esp-tab-popout {
    top: 8px;
    font-size: 12px;
}
.x-tab.x-tab-closable:not(.esp-tab-small) .esp-tab-popout {
    right: 5px;
}
.x-tab:not(.esp-tab-small):not(.x-tab-closable) .esp-tab-popout {
    right: 10px;
}
.x-tab:not(.esp-tab-small):not(.x-tab-closable):hover .esp-tab-popout + .x-tab-wrap {
    padding-right: 17px;
}
.x-tab.esp-tab-small .esp-tab-popout {
    top: 2px;
    left: 5px;
    font-size: 10px;
}

.x-tab:hover .esp-tab-popout {
    width: 12px;
}

.x-tab.x-tab-closable:hover .esp-tab-popout {
    right: 24px;
}


.x-tab:hover .esp-tab-popout:before {
    display: block;
    line-height: 12px;
    text-align: center;
    content: '\f35d';
    width: 12px;
}
.x-tab:not(.esp-tab-small):hover .esp-tab-poppable-btnWrap {
    padding-right: 12px;
    /* transition: 0.25s; */
}

.x-tab.x-tab-closable:not(.esp-tab-small):hover .esp-tab-poppable-btnWrap {
    padding-right: 20px;
}

.esp-win-popin {
    font: 12px/1 'Font Awesome 5 Free';
    transform: rotate(180deg);
    top: -14px !important;
    text-align: right;
}

.esp-win-popin:before {
    content: '\f35d';
}

/* LOADING MASK */

.esp-mask--opaque {
    background-color: #e7e7e7;
}

.esp-form-container > .x-mask {
    /* This tries to make the form loading so it hides it until it's really ready because things move around quite a bit, as the form hides/shows fields. */
    background-color: #fafafa;
/* The animation freezes so don't do it. I like the idea, but the framerate is low.
   animation-name: esp-animate-panel-load;
   animation-duration: 5s;*/
}
/*
@keyframes esp-animate-panel-load {
    0% {background-color: #fafafa;}
    25% {background-color: #d5d5ff;}
    50% {background-color: #fafafa;}
    75% {background-color: #d5d5ff;}
    100% {background-color: #fafafa;}
}
*/

/*---------------------------
 Responsive 12-column layout
----------------------------*/

.esp-row {
    display: flex;
}
.esp-row > .esp-span1,
.esp-row > .esp-span2,
.esp-row > .esp-span3,
.esp-row > .esp-span4,
.esp-row > .esp-span5,
.esp-row > .esp-span6,
.esp-row > .esp-span7,
.esp-row > .esp-span8,
.esp-row > .esp-span9,
.esp-row > .esp-span10,
.esp-row > .esp-span11,
.esp-row > .esp-span12 {
    float: left;
    overflow-x: auto;
}
.esp-row > .esp-span1  { width:   8.333333%; }
.esp-row > .esp-span2  { width:  16.666666%; }
.esp-row > .esp-span3  { width:  25.000000%; }
.esp-row > .esp-span4  { width:  33.333333%; }
.esp-row > .esp-span5  { width:  41.666666%; }
.esp-row > .esp-span6  { width:  50.000000%; }
.esp-row > .esp-span7  { width:  58.333333%; }
.esp-row > .esp-span8  { width:  66.666666%; }
.esp-row > .esp-span9  { width:  75.000000%; }
.esp-row > .esp-span10 { width:  83.333333%; }
.esp-row > .esp-span11 { width:  91.666666%; }
.esp-row > .esp-span12 { width: 100.000000%; }

/*------------------
MULTI-ROWS
------------------*/

.esp-multiRow {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.esp-multiCol {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* STACK COLUMNS FOR SMALL WINDOWS */

.esp-antiMultiRow.esp-multiRow,
.esp-antiMultiRow.esp-multiRow > .esp-multiCol,
.esp-antiCenteredWrapper.esp-centeredWrapper {
    display: block;
}

.esp-antiMultiRow {
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(100% - 20px);
}

.esp-antiMultiRow .esp-multiRow,
.esp-antiMultiRow .esp-multiCol {
    margin-left: 0px;
    margin-right: 0px;
    max-width: 100%;
}

/* OPTIONS FOR COLUMN SPACING */

.esp-multiRow.esp-fill{
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.esp-multiRow.esp-fill > .esp-multiCol {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.esp-multiRow.esp-center{
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.esp-multiRow.esp-center-v {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.esp-multiRow.esp-start{
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.esp-multiRow.esp-end{
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.esp-multiRow.esp-equalSpace {
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
}

.esp-fitContent { display: table; }

/*----------
RULES
----------*/

.esp-thinRule,
.esp-midRule,
.esp-thickRule,
.esp-thinGrayRule,
.esp-midGrayRule,
.esp-thickGrayRule {
    margin-top: 5px;
    margin-bottom: 5px;
}

.esp-thinRule {
    height: 1px;
    background-color: var(--base-dark-color, #223975);
}

.esp-midRule {
    height: 3px;
    background-color: var(--base-dark-color, #223975);
}

.esp-thickRule {
    height: 5px;
    background-color: var(--base-dark-color, #223975);
}

.esp-thinGrayRule {
    height: 1px;
    background-color: var(--border-color-3, #eee);
}

.esp-midGrayRule {
    height: 3px;
    background-color: var(--border-color-3, #eee);
}

.esp-thickGrayRule {
    height: 5px;
    background-color: var(--border-color-3, #eee);
}

/*--------------------
PANELS
--------------------*/

.esp-reportTitle {
    border-radius: 10px;
    padding: 0.5em;
    margin: 0.5em;
    flex-grow: 0;
}

.esp-reportTitle > * {
    margin: 0 !important;
    padding: 0 !important;
}

.esp-reportTitle:first-child {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.esp-reportTitle:last-child {
    margin-left: auto;
}

.esp-bg {
    background-color: white !important;
}
.esp-bgdiv {
    background-color: #ececef;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    overflow:auto;
}

.esp-topdiv {
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 2px 0px 0px 2px;
    font-size: 13px;
    font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
}

.esp-panel {
    background-color: white;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light, 0 1px 4px 0 rgba(0, 0, 0, 0.04), 0 4px 12px 0 rgba(3, 45, 50, 0.06));
    border: 1px solid var(--border-color-1, #eaebed);
}

.esp-panel .esp-panel {
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.esp-panel--outlined {
    border: 1px solid var(--panel-outline-color,#444);
}

/*--------------------
TAB PANELS
-----------------------*/

.esp-tabPanel {
    background-color: var(--alt-background-color, #f5f5f5);
    box-sizing: border-box;
    padding: 15px !important;
    overflow: hidden;
    max-width: 100%;
}

.esp-tabPanel--inverted,
.esp-tabPanel .esp-tabPanel {
    background-color: white;
    padding: 0px !important;
}

.esp-tabHolder.esp-touchTabHolder{
    /* touch tab holders should render a little differently. */
    overflow-x: auto;
    overflow-y: hidden;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.esp-tabPanel--inverted > .esp-tabHolder > div:not(.esp-currentTab),
.esp-tabPanel .esp-tabPanel > .esp-tabHolder > div:not(.esp-currentTab) {
    background-color: white;
}

.esp-panelTitle {
    background-color: #fff;
    color: var(--color, #444);
    padding: 0 0.5em 0.5em;
    border-radius: 10px;
    letter-spacing: 0.5px;
    line-height: 1.25;
    font-weight: 515;
    position: relative;
    z-index: 8;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
}
.esp-panelTitle,
.esp-panelTitle > .esp-fieldHead * {
    font-size: 15px;
}
.esp-panelTitle a {
    color: hsl(216deg 60% 40%);
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
    font-weight: 400;
}
.esp-panelTitle .esp-panelTitle__right {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: right;
}
.esp-panelSubtitle a {
    display: inline-block;
    margin-left: 5px;
}
@media print {
    .esp-panelTitle a,
    .esp-panelSubtitle a {
	display: none;
    }
}
.esp-panel--outlined > .esp-panelTitle {
    border-bottom-color: var(--panel-outline-color,#444);
}
.esp-panel--outlined > .esp-panelTitle,
.esp-panel--outlined > .esp-panelTitle .esp-fieldHeadText {
    color: var(--panel-outline-color,#444);
}
.esp-panel > :not(.esp-panelTitle),
.esp-panelContent {
    padding-top: 5px 0 0 0;
    background-color: white;
}
@media print {
    .esp-panel > :not(.esp-panelTitle),
    .esp-panelContent {
	max-height: none !important;
    }
}
.esp-panelTitle + table {
    background-color: white;
    border-top: 0px;
}
.esp-tabPanel:not(.esp-tabPanel--inverted) .esp-tabContent .esp-panel > :not(.esp-panelTitle),
.esp-tabPanel:not(.esp-tabPanel--inverted) .esp-tabContent .esp-panelContent {
    padding: 0px;
}

.esp-tabHolder {
    width: 100%;
    float: left;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.esp-sticky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0px 1px 3px #00000017;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.esp-alwaysSticky {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.esp-sticky > .esp-tabHolder {
    background-color: white;
    padding-top: 5px;
    padding-bottom: 5px;
}

.esp-sticky > .esp-tabHolder + .esp-tabHolder {
    border-top: 1px solid #ccc;
}
.esp-sticky > .esp-tabHolder > div {
    padding-top: 5px;
    padding-bottom: 5px;
}
.esp-tabHolder > div {
    position: relative;
    margin-right: 0px;
    letter-spacing: 0.5px;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
    display: inline-block;
    float: left;
}
.esp-tabViewToggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.esp-tabHolder > div:not(.esp-tabViewToggle) {
    padding: 8px 12px;
}
.esp-sticky > .esp-tabHolder > .esp-tabViewToggle {
    padding: 8px 8px 8px 15px;
}
*:not(.esp-sticky) > .esp-tabHolder > .esp-tabViewToggle {
    padding: 8px 10px 8px 8px;
}

.esp-tabHolder > div:last-child {
    margin-right: 20px;
}
.esp-tabContent {
    position: relative;
    float: left;
    clear: both;
    padding: 10px;
    width: 100%;
    background-color: white !important;
    box-shadow: var(--shadow-extra-light, 0 1px 4px 0 rgba(0, 0, 0, 0.04), 0 4px 12px 0 rgba(3, 45, 50, 0.06));
}
.esp-tabContent .esp-tabContent {
    box-shadow: none;
}

/*-----------------------
STACKING & PRINTING
------------------------*/

/* STANDARD TABBED LAYOUT */

@media screen {
    .esp-tabPanel:not(.esp-stacked) > .esp-tabContent {
	border-radius: 8px;
    }
    body.x-desktop .esp-tabPanel--inverted:not(.esp-stacked) > .esp-tabContent,
    body.x-desktop .esp-tabPanel .esp-tabPanel:not(.esp-stacked) > .esp-tabContent {
	background-color: var(--alt-background-color, #f5f5f5) !important;
    }
    body:not(.x-desktop) .esp-tabPanel--inverted:not(.esp-stacked) > .esp-tabContent,
    body:not(.x-desktop) .esp-tabPanel .esp-tabPanel:not(.esp-stacked) > .esp-tabContent {
	padding: 0px !important;
    }
    .esp-tabPanel--inverted:not(.esp-stacked) > .esp-tabContent {
	padding: 0px;
    }
    .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > .esp-currentTab {
	color: var(--color, #444) !important;
	font-weight: 400;
	box-shadow: var(--shadow-extra-light, 0 1px 4px 0 rgba(0, 0, 0, 0.04), 0 4px 12px 0 rgba(3, 45, 50, 0.06));
    }
    .esp-tabPanel:not(.esp-stacked):not(.esp-tabPanel--inverted) > .esp-tabHolder > .esp-currentTab {
	background-color: white;
	position: relative;
    }
    .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > .esp-currentTab:not(.esp-tabHolder__detached) {
	border-radius: 8px 8px 0px 0px;
    }
    .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > .esp-currentTab.esp-tabHolder__detached {
	border-radius: 8px;
    }
    body:not(.x-desktop) .esp-tabPanel .esp-tabPanel .esp-tabHolder .esp-currentTab {
	border-radius: 8px;
    }
    .esp-tabPanel:not(.esp-tabPanel--inverted) {
	--tab-content-bg: white;
    }
    .esp-tabPanel .esp-tabPanel,
    .esp-tabPanel.esp-tabPanel--inverted {
	--tab-content-bg: var(--alt-background-color, #f5f5f5);
    }
    .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > .esp-currentTab:not(.esp-tabHolder__detached):before {
	pointer-events: none;
	content: '';
	position: absolute;
	display: block;
	width: 16px;
	height: 16px;
	right: calc(100% - 1px);
	bottom: -1px;
	background: radial-gradient(transparent 60%, var(--tab-content-bg) 0%);
	mask: linear-gradient(-45deg, black 30%, transparent 30%);
    }
    .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > .esp-currentTab:not(.esp-tabHolder__detached):after {
	pointer-events: none;
	content: '';
	position: absolute;
	display: block;
	width: 16px;
	height: 16px;
	left: calc(100% - 1px);
	bottom: -1px;
	background: radial-gradient(transparent 60%, var(--tab-content-bg) 0%);
	mask: linear-gradient(45deg, black 30%, transparent 30%);
    }
    body:not(.x-desktop) .esp-tabPanel .esp-tabPanel .esp-currentTab:before,
    body:not(.x-desktop) .esp-tabPanel .esp-tabPanel .esp-currentTab:after {
	display: none !important;
    }
    .esp-tabHolder {
	padding-left: 31px;
    }
    .esp-tabHolder > :first-child {
	margin-left: -31px;
    }
    .esp-sticky .esp-tabHolder {
	padding-left: 38px;
    }
    .esp-sticky .esp-tabHolder > :first-child {
	margin-left: -38px;
    }
    .esp-tabPanel:not(.esp-stacked).esp-tabPanel--inverted > .esp-tabHolder > .esp-currentTab,
    .esp-tabPanel .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > .esp-currentTab {
	background-color: var(--alt-background-color, #f5f5f5);
    }
    .esp-tabPanel--inverted:not(.esp-stacked) > .esp-tabHolder > div.esp-currentTab,
    .esp-tabPanel .esp-tabPanel:not(.esp-stacked) > .esp-tabHolder > div.esp-currentTab {
	z-index: 1;
	box-shadow: none;
    }
    .esp-tabContent:not(.esp-currentTabContent) {
	display: none;
    }
    .esp-tabPrintTitle{
	display: none;
    }
}

/* STACKED LAYOUT -- When making changes here, copy them into the print styles below w/ .esp-stacked removed */

.esp-tabPanel.esp-stacked > .esp-tabContent {
    padding: 0px;
}

.esp-tabPanel--inverted.esp-stacked > .esp-tabContent,
.esp-tabPanel .esp-tabPanel.esp-stacked > .esp-tabContent {
    padding: 0px;
}

.esp-tabPanel--inverted.esp-stacked > .esp-tabContent:nth-of-type(2),
.esp-tabPanel .esp-tabPanel.esp-stacked > .esp-tabContent:nth-of-type(2) {
    border-top: 1px solid #ccc;
}

.esp-tabPanel.esp-stacked > .esp-tabContent:not(.esp-forceHide),
.esp-tabPanel.esp-stacked > .esp-tabContent > .esp-tabPrintTitle{
    display: block !important;
    visibility: visible !important;
}
.esp-sticky > .esp-tabHolder > div,
.esp-tabPanel--inverted.esp-stacked > .esp-tabHolder > div,
.esp-tabPanel .esp-tabPanel.esp-stacked > .esp-tabHolder > div {
    background-color: white !important;
}
.esp-tabPanel.esp-stacked > .esp-tabContent > .esp-tabPrintTitle {
    font-size: 14px;
    color: var(--color, #444);
    letter-spacing: 0.5px;
    border-bottom: 1px solid #ccc;
    padding: 10px 15px;
}
.esp-tabPanel:not(.esp-tabPanel--inverted).esp-stacked > .esp-tabContent > .esp-tabPrintTitle + * {
    padding: 5px;
}
.esp-tabPanel.esp-stacked > .esp-tabContent:not(:nth-of-type(2)) > .esp-tabPrintTitle {
    border-top: 1px solid #ccc;
}
.esp-tabPanel.esp-stacked > .esp-tabHolder > div,
.esp-sticky .esp-tabHolder > div,
.esp-tabHolder > div:not(.esp-currentTab) {
    color: var(--light-color, #888);
    background-color: transparent;
    font-weight: 400;
    box-shadow: 0px 0px 0px transparent;
}
.esp-stackAll .esp-stackAllHide {
    display: none !important;
}

/* PRINTING STYLES */

@media print{

    /* DON'T ALLOW PAGE-BREAKS INSIDE IMAGES */

    img {
	page-break-inside: avoid;
    }

    /* KEEP DASHBOARD SECTIONS WHOLE ACROSS PAGE BREAKS */
    /* A panel/card/metric/grid cell should move to the next page rather than
       be sliced in half by a page break. Note: this can only relocate content
       that actually fits on a page; a section taller than one page will still
       break (see the fit-to-width scaling in the PDF converter). */
    .esp-dashboard-header,
    .esp-metric {
	break-inside: avoid;
	page-break-inside: avoid;
    }

    /* Don't strand a panel/section title at the bottom of a page. */
    .esp-panelTitle,
    .esp-panelSubtitle {
	break-after: avoid;
	page-break-after: avoid;
    }

    /* HIDE TAB HEADERS WHEN PRINTING */

    .esp-tabHolder {
	display:none;
    }

    /* STACK TABS -- Same as stacked css from above, with .esp-stacked removed */

    .esp-tabPanel > .esp-tabContent {
	padding: 0px;
    }

    .esp-tabPanel--inverted > .esp-tabContent:nth-of-type(2),
    .esp-tabPanel .esp-tabPanel > .esp-tabContent:nth-of-type(2) {
	border-top: 1px solid #ccc;
    }

    .esp-tabPanel--inverted > .esp-tabContent:last-of-type,
    .esp-tabPanel .esp-tabPanel > .esp-tabContent:last-of-type {
	border-bottom: 1px solid #ccc;
    }
    .esp-tabPanel > .esp-tabContent:not(.esp-forceHide),
    .esp-tabPanel > .esp-tabContent > .esp-tabPrintTitle{
	display: block !important;
	visibility: visible !important;
    }
    .esp-sticky > .esp-tabHolder > div,
    .esp-tabPanel--inverted > .esp-tabHolder > div,
    .esp-tabPanel .esp-tabPanel > .esp-tabHolder > div {
	background-color: white !important;
    }
    .esp-tabPanel > .esp-tabContent > .esp-tabPrintTitle {
	font-size: 14px;
	color: var(--color, #444);
	letter-spacing: 0.5px;
	border-bottom: 1px solid #ccc;
	padding: 10px 15px;
    }
    .esp-tabPanel:not(.esp-tabPanel--inverted) > .esp-tabContent > .esp-tabPrintTitle + * {
	padding: 5px;
    }
    .esp-tabPanel > .esp-tabContent:not(:nth-of-type(2)) > .esp-tabPrintTitle {
	border-top: 1px solid #ccc;
    }
    .esp-tabPanel > .esp-tabHolder > div,
    .esp-sticky .esp-tabHolder > div,
    .esp-tabHolder > div:not(.esp-currentTab) {
	color: var(--light-color, #888);
	background-color: transparent;
	font-weight: 400;
	box-shadow: 0px 0px 0px transparent;
    }

    .esp-tabPanel--inverted > .esp-tabHolder > div.esp-currentTab,
    .esp-tabPanel .esp-tabPanel > .esp-tabHolder > div.esp-currentTab {
	border-bottom: 1px solid #ccc;
    }
}

/*-----------------------------------
TOGGLE CONTAINERS
-----------------------------------*/

@keyframes esp-slideUp {
    from {}
    to {
	height: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	border-top-width: 0px;
	border-bottom-width: 0px;
    }
}

.esp-slideUp {
    animation-name: esp-slideUp;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    overflow: hidden;
}

@keyframes esp-slideDown {
    to {}
    from {
	height: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	border-top-width: 0px;
	border-bottom-width: 0px;
    }
}

.esp-slideDown {
    animation-name: esp-slideDown;
    animation-duration: 0.5s;
    overflow: hidden;
}

@keyframes esp-pointUp {
    from { transform: rotate(0); }
    to { transform: rotate(-180deg); }
}

.esp-pointUp:after {
    animation-name: esp-pointUp;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes esp-pointDown {
    from { transform: rotate(-180deg); }
    to { transform: rotate(0deg); }
}

.esp-pointDown:after {
    animation-name: esp-pointDown;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

/*
.esp-toggleSection{
    background-color: #ececef;
    margin: 2px;
}

.esp-toggleContainerToggle{
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}
*/

.esp-toggleSection {

}
.esp-toggleContainerToggle {
    background-color: #fff;
    color: var(--color, #444);
    padding: 8px 40px 8px 15px;
    border-bottom: 1px solid #ccc;
    letter-spacing: 0.5px;
    line-height: 1.25;
    font-size: 15px;
    cursor: pointer;
    position: relative;
}
@media screen {
    .esp-toggleContainerToggle:after {
	content: '\f107';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	right: 15px;
	top: 50%;
	margin-top: -10px;
	font-size: 16px;
    }
    .esp-toggleSection.esp-toggleOn > .esp-toggleContainerToggle:after {
	transform: rotate(-180deg);
    }
}
.esp-toggleContainerToggle > * {
    display: inline-block;
}
.esp-toggleContainerToggle a {
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
    font-weight: 400;
}
@media print {
    .esp-toggleContainerToggle a {
	display: none;
    }
}
.esp-toggleContent {
    background-color: white;
    padding: 15px;
}
@media screen {
    .esp-toggleSection:not(.esp-toggleOn) > .esp-toggleContent {
	border-bottom: none !important;
	padding-top: 0px;
	padding-bottom: 0px;
	height: 0px !important;
	min-height: 0px !important;
	max-height: 0px !important;
	overflow: hidden;
    }
}
@media print {
    .esp-toggleContent {
	height: auto !important;
	min-height: none !important;
	max-height: none !important;
    }
}

/*---------------------
ACCORDION GROUPS
---------------------*/

.esp-accordionGroup {
    background: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.esp-accordionGroup .esp-toggleSection {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.esp-accordionGroup .esp-toggleSection.esp-toggleOn {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    overflow: auto;
}

.esp-accordionGroup .esp-toggleSection:not(:last-child) .esp-toggleContent {
    border-bottom: 1px solid #ccc;
}

/*---------------------
FIELD/INPUT STYLING
--------------------*/

/* LEGACY <table> LAYOUTS */

table.esp-form {
    border-collapse: separate;
    border-spacing: 0px 6px;
    padding-left: 6px;
    padding-right: 6px;
}
table.esp-form td:first-child {
    text-align: left;
    color: #777;
}

table.esp-form > tbody > tr > td {
    padding: 5px;
    background-color: #fff;
}

/* GENERAL FORM LAYOUT */

.esp-fieldDisplay {
    display: inline-block;
}

.x-border-region-slide-in {
    z-index: 10;
}

.formBuilderXml div.esp-spacer{
    padding:5px;
    background-color: #c6c6c6;
    position: relative;
    z-index: 9;
}
.formBuilderXml div:not(.esp-multiRow) > div.esp-spacer {
    margin-top:2px;
    margin-bottom:2px;
}
.formBuilderXml div.esp-spacerToRemove{
    background-color: #c6c6c6;
}

.esp-spacerToRemove {
    position: relative;
    border: 2px dashed rgba(46, 204, 113);;
    border-radius: 8px;
    padding: 20px;
    background-color: rgba(46, 204, 113, 0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: #333;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formBuilderXml div.esp-dropAllowed {
    background-color: rgba(46, 204, 113, 0.3);
}

.formBuilderXml div.esp-highlight {
    background-color: rgba(39, 174, 96, 0.3) !important;
}

.esp-formBuilderDragDiv {
    position: fixed;
    left: -5000px;
    border: solid #c6c6c6 2px;
}

.esp-autoPageGrid td.esp-highlight {
    background-color: #eee;
}

.esp-autoPageGrid td.esp-grid-cell-invalid {
    border: 1px solid #c62828;
}

.emptySecondHeader:last-child {
    display: none;
}

/* SAME-WIDTH FIELDS */

.x-desktop .esp-fieldContainer .esp-fieldListContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-transition: height 0.2s ease;
    -o-transition: height 0.2s ease;
    transition: height 0.2s ease;
    min-width: 100%;
}

.x-desktop .esp-fieldContainer:not(.esp-checkbox) .esp-fieldListContainer {
    -webkit-box-pack: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch;
}

.x-desktop .esp-fieldContainer:not(.esp-checkbox) .x-form-item {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.x-desktop .esp-fieldContainer:not(.esp-checkbox) .x-form-item:not(.x-form-fieldcontainer) {
    min-width: 100%;    
}

.x-desktop .esp-fieldContainer .esp-fieldListContainer > :is(.x-form-checkboxgroup, .x-form-radio-group){
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.x-desktop .esp-fieldContainer .x-form-item-body {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-transition: width 0.2s ease;
    -o-transition: width 0.2s ease;
    transition: width 0.2s ease;
}

.x-desktop .esp-fieldContainer .x-form-field-wrap:has(> table),
.x-desktop .esp-fieldContainer .x-form-field-wrap > table {
    width: 100% !important;
}

/* FIELD & LABEL POSITIONING */

.esp-form-container form {
    background: white;
}

.x-desktop .esp-fieldContainerWrap {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 5px 0px;
}

.x-desktop :is(.esp-panel, .esp-tabPanel) .esp-fieldContainerWrap {
    padding: 0px;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--clockInOut) {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    min-height: 42px;
    padding: 0px 12px 5px 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: 3px 6px;
    width: auto !important;
    height: auto !important;
    gap: 0px !important; /* Fixes grid layouts in some legacy forms */
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--fullscreen) {
    z-index: 6;
}

.x-desktop .esp-fieldContainer:has(.esp-fieldListContainer:empty:first-child:last-child) {
    opacity: 0;
    position: absolute;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

.x-desktop .esp-fieldContainer--multiTree,
.x-desktop .esp-fieldContainer--searchItemSelector,
.x-desktop .esp-fieldContainer:not(.esp-checklistField):has(.x-form-textarea, .x-html-editor-container, .esp-fileField, .esp-expandableListField) {
    padding-bottom: 0px !important;
}

.x-desktop .esp-fieldContainer:has(.esp-fileField) {
    width: auto !important;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.x-desktop .esp-fieldContainer .esp-fieldHead {
    text-align: left;
    color: var(--color, #444);
    font-size: 12px;
    line-height: 1.1em;
    letter-spacing: 0.25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    transition: all 0.2s ease;
}

.x-desktop .esp-fieldContainer .esp-fieldHead .clickable-image {
    margin-left: 5px;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--list).esp-checkbox .esp-fieldHead {
    padding-right: 40px !important;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--list) .esp-fieldHead,
.x-desktop .esp-fieldContainer :is(.x-form-type-text, .x-form-type-password) input {
    padding-right: calc((var(--esp-trigger-count, 0) * 20px) + 12px) !important;
}

.x-desktop .esp-fieldContainer--list .esp-cbDisplayHtml {
    padding-right: calc((var(--esp-trigger-count, 0) * 14px) + 12px) !important;
}

.x-desktop .esp-fieldContainer:has(.x-form-trigger.x-form-arrow-trigger):has(.x-form-trigger.fa-search, .clickable.fa-search) .esp-expandable-list__row :is(.x-form-type-text, .x-form-type-password) input {
    margin-left: 18px !important;
    max-width: calc(100% - 18px);
}

.x-desktop .esp-fieldContainer:has(.x-form-trigger.x-form-arrow-trigger):has(.x-form-trigger.fa-search, .clickable.fa-search):has(.esp-del-trigger) .esp-expandable-list__row :is(.x-form-type-text, .x-form-type-password) input {
    padding-right: 50px !important;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--list):has(.x-form-trigger.fa-globe, .x-form-date-trigger) .esp-fieldHead {
    padding-right: 22px!important;
}

.x-desktop .esp-fieldContainer:has(.x-form-trigger.fa-globe, .x-form-date-trigger) :is(.x-form-type-text input, .x-form-type-password input) {
    padding-right: 34px!important;
}

.x-desktop .esp-fieldContainer--datetime > .esp-field:first-child:last-child:not(:has(.ux-datetime-date)) .x-form-trigger {
    margin-top: 13px !important;
}

.x-desktop .esp-fieldContainer--datetime > .esp-field:first-child:last-child .ux-datetime-date .x-form-trigger {
    margin-top: 1px !important;
}

@media print {
    .esp-fieldContainer .x-form-trigger,
    .esp-fieldContainer .fa.fa-search,
    .esp-fieldContainer .x-tool-tool-el {
	display: none !important;
    }
}

.x-desktop .esp-fieldContainer:has(.x-form-type-text textarea.x-form-text-default) .esp-fieldHead {
    width: calc(100% - 4px);
    padding-bottom: 2px;
    position: relative;
    z-index: 1;
}

.x-desktop .esp-fieldContainer:has(.x-form-type-text textarea.x-form-text-default):has(.esp-fieldHeadText:empty, .esp-fieldHead.esp-forceHide) .esp-fieldHead {
    display: none;
}

.x-desktop .esp-fieldContainer:is(:not(.esp-checkbox), :has(.x-form-check-group, .x-form-radio-group)) .esp-fieldHead {
    /* move label up */
    padding-top: 6px;
    margin-bottom: -6px;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--focused):not(.esp-fieldContainer--codeMirror):not(.esp-checklistField):not(:has(input[placeholder], .esp-multiTree, .x-form-check-group, .x-form-radio-group)):is(:has(.x-field:not(.not-empty)):has(.esp-fieldListContainer > :is(.x-field.x-form-type-text, .x-form-type-password))) .esp-fieldHead {
    /* move label down */
    padding-top: 14px;
    margin-bottom: -14px;
}

.x-desktop .esp-fieldContainer.esp-checkbox:not(:has(.x-form-check-group, .x-form-radio-group)) .esp-fieldHead {
    margin-bottom: 0px;
    padding-top: 13px;
    padding-bottom: 13px;
}

.x-desktop .esp-fieldContainer.esp-checkbox:has(.esp-fieldListContainer > .esp-expandableListField) .esp-fieldHead {
    padding-top: 6px;
    margin-bottom: -6px;
    padding-bottom: 0px;
}

.x-desktop .esp-fieldContainer.esp-checkbox:has(.esp-fieldListContainer > .esp-expandableListField) .esp-field {
    margin-top: 6px;
    margin-bottom: 0px;
}

.x-desktop .esp-fieldContainer .esp-field {
    color: var(--color, #444);
    width: 100%;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--fullscreen) .esp-field {
    z-index: 10;
}

.x-desktop .esp-fieldContainer:is(:not(.esp-checkbox), :has(.x-form-check-group, .x-form-radio-group)) .esp-field {
    margin-top: 6px;
    margin-bottom: -6px;
}

.x-desktop .esp-fieldContainer:is(:not(.esp-checkbox), :has(.x-form-check-group, .x-form-radio-group)) .esp-field:first-child {
    margin-top: 12px;
}

.x-desktop .esp-fieldContainer.esp-checklistField .esp-field:first-child {
    margin-top: 8px;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--confirmation):not(.esp-fieldContainer--codeMirror):not(.esp-fieldContainer--datetime):not(:has(.x-form-textarea)):is(:has(.esp-checklist, .esp-multiTree), :not(.esp-checkbox, :has(.esp-fieldDisplay, .esp-fieldListContainer > :is(.x-field.x-form-type-text, .x-form-type-password)))) .esp-field {
    margin-top: 10px;
    margin-bottom: 0px;
}

.x-desktop .esp-fieldContainer--confirmation .esp-field {
    margin-bottom: 0px !important;
}

.x-desktop .esp-fieldContainer--confirmation .esp-expandable-list__row:last-child input {
    padding-bottom: 6px;
}

.x-desktop .esp-fieldContainer--codeMirror .esp-field {
    margin-top: 6px;
    margin-bottom: 0px;
}

.x-desktop .esp-fieldContainer.esp-fieldContainer--datetime .esp-field,
.x-desktop .esp-fieldContainer .esp-field:has(.x-form-textarea) {
    margin-top: 4px;
    margin-bottom: 0px;
}

.x-desktop .esp-fieldContainer.esp-fieldContainer--datetime .esp-field:first-child:last-child:has(.ux-datetime-date) {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.x-desktop .esp-fieldContainer--list .esp-field {
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}

.x-desktop .esp-fieldContainer--list .esp-fieldHead {
    padding-bottom: 0px !important;
    width: 100% !important;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--codeMirror) > .esp-field > .esp-fieldListContainer > .x-field > .x-form-item-body > .x-form-trigger-wrap:has(> .x-form-text-wrap > :is(input:not([type="hidden"]), textarea:not([type="hidden"]))),
.x-desktop .esp-fieldContainer.esp-fieldContainer--datetime td .x-field .x-form-item-body .x-form-trigger-wrap:has(> .x-form-text-wrap > :is(input:not([type="hidden"]), textarea:not([type="hidden"]))),
.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--codeMirror) .esp-expandableListField:not(.gettingHeights) .esp-expandable-list__row > div > div > .x-field > .x-form-item-body > .x-form-trigger-wrap:has(> .x-form-text-wrap > :is(input:not([type="hidden"]), textarea:not([type="hidden"]))),
.x-desktop .esp-fieldContainer.esp-fieldContainer--datetime .esp-expandableListField:not(.gettingHeights) .esp-expandable-list__row td .x-field .x-form-item-body .x-form-trigger-wrap:has(> .x-form-text-wrap > :is(input:not([type="hidden"]), textarea:not([type="hidden"]))){
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-right: -4px;
}

.x-desktop .esp-fieldContainer > .esp-field > .esp-fieldListContainer > .x-field > .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap:has(> input:not([type="hidden"]), > textarea:not([type="hidden"]):not([style*="none"])),
.x-desktop .esp-fieldContainer > .esp-field > .esp-fieldListContainer > .x-field > .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap > input:not([type="hidden"]),
.x-desktop .esp-fieldContainer > .esp-field > .esp-fieldListContainer > .x-field > .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap > textarea:not([type="hidden"]),
.x-desktop .esp-fieldContainer .esp-expandableListField:not(.gettingHeights) .esp-expandable-list__row > div > div > .x-field > .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap:has(> input:not([type="hidden"]), > textarea:not([type="hidden"]):not([style*="none"])),
.x-desktop .esp-fieldContainer .esp-expandableListField:not(.gettingHeights) .esp-expandable-list__row > div > div > .x-field > .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap > input:not([type="hidden"]),
.x-desktop .esp-fieldContainer .esp-expandableListField:not(.gettingHeights) .esp-expandable-list__row > div > div > .x-field > .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap > textarea:not([type="hidden"]) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.x-desktop .esp-fieldContainer.esp-fieldContainer--datetime td .x-field {
    min-height: 18px;
}

.x-desktop .esp-fieldContainer.esp-fieldContainer--datetime td .x-form-item-body {
    min-height: 0px;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-date .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap,
.x-desktop .esp-fieldContainer--datetime .ux-datetime-date .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-date .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap {
    bottom: 22px;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-date .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap input {
    bottom: 0px;
    padding-left: 12px;
    padding-top: 21px;
    padding-bottom: 0px;
    height: 17px;
    box-sizing: content-box !important;
    max-width: calc(100% - 46px);
}

.multi-select-subField-dateTime {
    padding-top: unset !important;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-time .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap,
.x-desktop .esp-fieldContainer--datetime .ux-datetime-time .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap input {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-time .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap {
    bottom: 0px;
    height: 22px;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-time .x-field .x-form-item-body .x-form-trigger-wrap .x-form-text-wrap input {
    padding-top: 4px;
    padding-left: 12px;
    padding-bottom: 5px;
}

.x-desktop .esp-fieldContainer .x-form-trigger-wrap > :not(.x-form-trigger) + .x-form-trigger:not(.esp-multiTree-trigger, :has(.x-btn)) {
    margin-left: 8px;
}

.x-desktop .esp-fieldContainer .x-form-trigger:not(.esp-multiTree-trigger):last-child {
    margin-right: -5px;
}

.x-desktop .esp-fieldContainer .x-form-trigger {
    position: relative;
    white-space: normal;
    font-size: 14px !important;
    margin-bottom: -2px;
    overflow: visible;
    height: 20px;
}

.x-desktop .esp-fieldContainer .x-form-trigger-spinner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    top: -17px;
    height: 32px;
    margin-bottom: -32px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.fa-search:not(:last-child) {
    margin-right: 1px;
}

.x-desktop .esp-fieldContainer .esp-colorPicker .x-form-trigger-default {
    top: -8px;
}

.x-desktop .esp-fieldContainer .esp-field > :not([esp-listmastercolumn]) .x-form-trigger.x-form-arrow-trigger {
    top: -9px;
    padding-left: 2px;
}

.x-desktop .esp-fieldContainer .esp-field > :not([esp-listmastercolumn]) .x-field:not(.hasDisplayCard) .x-form-trigger.x-form-arrow-trigger {
    font-size: 16px !important;
}

.x-desktop .esp-fieldContainer .esp-field > [esp-listmastercolumn] .x-form-trigger.x-form-arrow-trigger {
    top: 0px;
}

.x-desktop .esp-fieldContainer .esp-field > :not([esp-listmastercolumn]) .x-form-trigger.x-form-time-trigger {
    top: -9px;
}

.x-desktop .esp-fieldContainer--datetime .esp-field > :not([esp-listmastercolumn]) .ux-datetime-time .x-form-trigger.x-form-time-trigger {
    top: 0px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.fa-search {
    top: -9px;
    padding-top: 3px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.fa-plus {
    top: -9px;
    padding-top: 3px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.fa-globe {
    top: -11px;
    padding-top: 4px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.fa-times {
    top: -9px;
    padding-top: 3px;
    color: #ccc;
}

.x-desktop .esp-fieldContainer .x-form-trigger.x-form-date-trigger {
    top: -9px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.esp-del-trigger {
    top: -9px;
}

.x-desktop .esp-fieldContainer--datetime .esp-field:nth-child(2) .ux-datetime-date .x-form-trigger.x-form-date-trigger {
    top: 0px;
}

.x-desktop .esp-fieldContainer--datetime .esp-field:first-child .ux-datetime-date .x-form-trigger.x-form-date-trigger {
    top: 3px;
}

.x-desktop .esp-fieldContainer--datetime .ux-datetime-time .x-form-trigger.x-form-time-trigger {
    top: 0px;
}

.x-desktop .esp-fieldContainer .esp-expandable-list__row .x-form-trigger {
    top: 0px;
}

.x-desktop .esp-fieldContainer .x-form-trigger.esp-sensitivedata-toggle {
    top: -9px
}

.x-desktop .esp-fieldContainer .x-form-trigger.paintBrush {
    top: -9px
}

.x-desktop .esp-fieldContainer .x-form-trigger.map-trigger {
    top: -9px
}

.x-desktop .esp-fieldContainer:not(:has(.esp-fieldHead)) .x-form-trigger {
    margin-top: 7px;
}

.x-desktop .esp-fieldContainer:has(.esp-fieldHead.esp-forceHide) .x-form-trigger {
    margin-top: 13px;
}

.x-desktop .esp-fieldContainer .x-form-spinner {
    color: inherit;
    height: 12px;
    overflow: hidden;
    background: transparent;
    font-size: 16px;
    padding-left: 3px;
}

.x-desktop .esp-fieldContainer .x-field:not(.not-empty) .x-form-trigger.fa-times {
    display: none;
}

.esp-fieldContainer--comboBox .x-field:not(.not-empty) .x-form-trigger.fa-search {
    display: none;
}

.x-field:not(.not-empty) .x-form-trigger.fa-globe {
    pointer-events: none;
}

.x-desktop .esp-checkbox .esp-field {
    margin-top: -5px;
}

/* FOCUSED/REQUIRED/DISABLED STYLING */

/* Normal */

.x-desktop .esp-fieldContainer:not(:has(.esp_timeTrack_clockInOut)) {
    transition: border 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color-2, #d1d8e0);
    box-shadow: 0px 0px 4px #aaaaaa00;
}

.x-desktop .esp-fieldContainer .x-form-trigger {
    color: var(--base-color, #196eb3);
    transition: all 0.3s ease;
}

.x-desktop .esp-fieldContainer .esp-fieldHead {
    color: var(--base-dark-color, #2d5e86);
}

.x-desktop .esp-fieldContainer:not(.esp-checkbox):not(.esp-fieldContainer--codeMirror):not(.esp-checklistField):not(:has(input[placeholder], .esp-multiTree, .x-form-check-group, .x-form-radio-group)):has(.x-field:not(.not-empty)):not(.esp-fieldContainer--focused):has(.esp-fieldListContainer > :is(.x-field.x-form-type-text, .x-form-type-password)) .esp-fieldHead {
    color: var(--light-color, #919191);
}

/* Focused */

.x-desktop .esp-checklistField:has(textarea:focus, input:focus),
.x-desktop .esp-fieldContainer--focused:not(:has(.x-form-check-group, .x-form-radio-group)) {
    border: 1px solid var(--base-color, #0570C7);
    box-shadow: 0px 0px 3px var(--base-medium-color, rgba(23,161,207,75%));
}

.x-desktop .esp-checkbox .esp-fieldListContainer .x-field.x-form-type-checkbox:not(.x-checkboxgroup-form-item):not(.esp-expandableListField) :not(label) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin: 0px;
    line-height: 24px !important;
    min-width: 40px;
    min-height: 40px;
}

.x-desktop .esp-checkbox .esp-fieldListContainer > .x-field .x-form-checkbox:before {
    position: absolute;
    margin-top: -6px;
}

.x-desktop .esp-checkbox .x-field.x-form-cb-checked .x-form-checkbox:before {
    right: 12px;
}

.x-desktop .esp-checkbox .x-field:not(.x-form-cb-checked) .x-form-checkbox:before {
    left: 12px;
}

.x-desktop .esp-checkbox .x-field input:not([disabled]):not([readonly]) {
    cursor: pointer;
}

.x-desktop .x-form-checkbox-focus,
.x-desktop .x-form-checkbox-focus:before {
    border: none !important;
    outline: none !important;
}

/* Required */

.x-desktop .esp-fieldContainer--invalid {
    border: 1px solid var(--status-red-dark) !important;
}

.x-desktop .esp-fieldContainer--invalid :is(.x-form-trigger, .x-tool-tool-el) {
    color: var(--status-red-dark) !important;
}

.x-desktop .esp-fieldContainer--invalid .esp-fieldHeadText:before {
    content: '* ';
}

.esp-fieldContainer .esp-expandable-list__row--invalid:before {
    background: #ffefef !important;
}

/* Required and Focused */

.x-desktop .esp-fieldContainer--focused.esp-fieldContainer--invalid:not(:has(.x-form-check-group, .x-form-radio-group)) {
    box-shadow: 0px 0px 3px var(--status-red-vibrant);
}

.x-desktop .esp-fieldContainer--invalid .esp-fieldHead {
    color: var(--status-red-dark) !important;
}

/* Disabled */

.x-desktop .esp-fieldContainer:has(.esp-fieldValue),
.x-desktop .esp-fieldContainer--disabled {
    box-shadow: none !important;
    border: 1px solid #dddddd;
    position: relative;
}

.x-desktop .esp-fieldContainer:has(.esp-fieldValue):before,
.x-desktop .esp-fieldContainer--disabled:not(.esp-fieldContainer--allRowsDisabled):before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: var(--faded-color, #ddd);
    opacity: 0.25;
    z-index: 12;
}

.x-desktop .esp-fieldContainer--allRowsDisabled,
.x-desktop .esp-fieldContainer--allRowsDisabled .esp-expandable-list__row:before {
    background: #f6f6f6 !important;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--allRowsDisabled) .esp-expandable-list__row--disabled:before,
.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--allRowsDisabled):has(.esp-expandable-list__row--disabled):before {
    background: var(--faded-color, #ddd) !important;
    opacity: 0.35;
}

.x-desktop .esp-fieldContainer:has(.esp-fieldValue) .esp-fieldHead,
.x-desktop .esp-fieldContainer--disabled .esp-fieldHead {
    z-index: 13 !important;
}

.x-desktop .esp-fieldContainer--disabled :is(.x-form-trigger, .x-tool-tool-el):not(.fa.fa-search),
.x-desktop .esp-expandable-list__row--disabled :is(.x-form-trigger, .x-tool-tool-el):not(.fa.fa-search),
.x-desktop .esp-fieldContainer--disabled .x-tool:has(.fa-pencil, .fa-plus),
.x-desktop .x-field:not(.not-empty) .x-form-trigger.fa-globe:before {
    color: var(--light-color, #919191);
    cursor: default;
    pointer-events: none;
}

.esp-fieldContainer--disabled .x-form-trigger.fa.fa-search {
    pointer-events: all !important;
    cursor: pointer !important;
    color: var(--base-color, hsl(210 100% 32% / 1));
}

.x-desktop .esp-fieldContainer :is(input, textarea):is([disabled], [readonly]) {
    cursor: default;
}

.esp-fieldContainer--disabled .CodeMirror-cursor {
    display: none;
}

.x-desktop .x-item-disabled {
    opacity: 1 !important;
}

/* Rich Text Editors */

.x-desktop .esp-fieldContainer .x-html-editor-wrap .x-mask {
    display: none !important;
}

.x-desktop .esp-fieldContainer .x-html-editor-wrap > div {
    border: none !important;
}

.x-desktop .esp-fieldContainer .x-html-editor-wrap .x-toolbar {
    padding: 0px 0px 0px 10px !important;
}

.x-desktop .esp-fieldContainer .x-html-editor-wrap:not(.esp-fullscreen) .x-toolbar {
    border-radius: 99px;
}

.x-desktop .esp-fieldContainer .x-toolbar select {
    background: none;
    border: none;
}

.x-desktop .esp-fieldContainer .x-html-editor-tb .x-btn-icon-el {
    font-size: 14px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.x-desktop .x-html-editor-tb .x-edit-bold:before,
.x-desktop .x-html-editor-tb .x-edit-italic:before,
.x-desktop .x-html-editor-tb .x-edit-createlink:before {
    margin-top: -4px;
}

.x-desktop .x-html-editor-tb .x-edit-underline:before {
    margin-top: -3px;
}

.x-desktop .x-html-editor-tb .x-edit-increasefontsize:before {
    margin-top: -1px;
    font-size: 15px;
}

.x-desktop .x-html-editor-tb .x-edit-justifyleft:before,
.x-desktop .x-html-editor-tb .x-edit-justifycenter:before,
.x-desktop .x-html-editor-tb .x-edit-justifyright:before,
.x-desktop .x-html-editor-tb .x-edit-insertorderedlist:before,
.x-desktop .x-html-editor-tb .x-edit-insertunorderedlist:before {
    margin-top: -2px;
}

.x-desktop .x-html-editor-tb .x-toolbar-more-icon:before {
    margin-top: -1px;
}

.x-desktop .x-html-editor-tb .x-btn-wrap:after {
    color: var(--light-color, #919191);
}

.x-desktop .x-html-editor-tb .x-btn.x-btn-pressed:not(.x-btn-over) {
    background: none;
}

.x-desktop .x-html-editor-tb .x-btn.x-btn-pressed.x-btn-over {
    background: #dadada;
}

.x-desktop .x-html-editor-tb .x-btn.x-btn-pressed span,
.x-desktop .x-html-editor-tb .x-btn.x-btn-pressed span:before {
    color: var(--base-color, #196eb3);
    text-shadow: 1px 1px 1px rgb(0 9 65 / 22%);
}

/* Search Item Selectors */

.x-desktop .esp-field.esp-field--popout .esp-searchItemSelector {
    border-top: 1px solid #ddd;
}

.x-desktop .esp-field.esp-field--popout .esp-searchItemSelector .x-tool:has(.fa-plus) {
    left: 50px !important;
}

.x-desktop .esp-searchItemSelector .x-panel-header {
    background: white;
    padding: 5px 12px;
}

.x-desktop .esp-field--popout .esp-searchItemSelector .x-panel-header {
    padding: 5px 12px;
}

.x-desktop .esp-field:not(.esp-field--popout) .esp-searchItemSelector .x-panel-header {
    padding: 20px 12px 5px 12px;
}

.x-desktop .esp-searchItemSelector .x-title-text {
    color: var(--light-color, #666);
    font-size: 12px;
}

.x-desktop .esp-searchItemSelector .x-tool-tool-el {
    opacity: 1;
}

.x-desktop .esp-searchItemSelector .x-panel-header {
    position: absolute !important;
    top: 0;
    right: 0;
}

.x-desktop .esp-searchItemSelector .x-panel-header-default .x-tool-tool-el {
    background: white;
    color: var(--base-color, #196eb3);
    font-weight: 400;
    margin-left: 5px !important;
}

.x-desktop .esp-searchItemSelector .x-panel-header-default .x-tool-tool-el.fa-plus {
    margin-left: -7px;
    font-size: 14px;
}

.x-desktop .esp-searchItemSelector .x-panel-header-default .x-tool-tool-el.fa-pencil {
    margin-left: -7px;
    font-size: 15px;
}

.x-desktop .esp-searchItemSelector .x-toolbar {
    border-radius: 12px;
    margin: 0px 12px 5px;
    padding: 1px 7px;
}

.x-desktop .esp-searchItemSelector .x-toolbar .x-field {
    min-width: calc(100% - 7px);
}

.x-desktop .esp-searchItemSelector .x-toolbar input {
    border-bottom: none;
}

.x-desktop .esp-searchItemSelector .x-toolbar input.x-form-field.x-form-text {
    padding: 0px 4px !important;
    height: 24px;
}

.x-desktop .esp-searchItemSelector .x-form-trigger-wrap {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.x-desktop .esp-searchItemSelector .x-container:has(.x-btn) {
    display: none;
}

.x-desktop .esp-searchItemSelector .x-container:has(.x-btn) .x-box-target {
    background: var(--alt-background-color, #f5f5f5);
    border-radius: 12px;
    margin-top: 32px;
    overflow: hidden;
    padding: 8px 0px;
}

.x-desktop .esp-searchItemSelector .x-container + .x-container + .x-container {
    margin-left: 10px;
}

.x-desktop .esp-field:not(.esp-field--popout) .esp-searchItemSelector .x-container:nth-child(3):before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 0;
    width: 1px;
    z-index: 5;
    background: linear-gradient(
	0deg,
	rgba(209 216 224 / 0%),
	rgba(209 216 224 / 75%),rgba(209 216 224 / 75%),rgba(209 216 224 / 75%),
	rgba(209 216 224 / 0%)
    );
}

.x-desktop .esp-field--popout .esp-searchItemSelector .x-container:nth-child(3) {
    box-shadow: rgba(0, 0, 0, 0.067) 0px 0px 15px, rgba(0, 0, 0, 0.133) 0px 0px 10px;
}

.x-desktop .esp-searchItemSelector li.x-boundlist-item {
    padding: 5px 12px;
    line-height: 1.25;
    border: none !important;
    outline: none !important;
}

.esp-fieldContainer--disabled.esp-fieldContainer--searchItemSelector li.x-boundlist-item {
    cursor: default !important;
}

.x-desktop .esp-searchItemSelector li.x-boundlist-item-over:not(.x-boundlist-selected) {
    background: white;
}

.x-desktop .esp-searchItemSelector li.x-boundlist-item.x-boundlist-selected {
    background: var(--base-highlight-color);
    color: var(--color);
}

.x-desktop .esp-searchItemSelector .x-container:has(.x-btn) .x-box-target .x-btn {
    padding: 4px !important;
    position: unset !important;
}

.x-desktop .esp-searchItemSelector .x-container:has(.x-btn) .x-box-target .x-btn.x-btn-over {
    background-color: transparent;
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-top,
.x-desktop .esp-searchItemSelector .x-form-itemselector-up,
.x-desktop .esp-searchItemSelector .x-form-itemselector-add,
.x-desktop .esp-searchItemSelector .x-form-itemselector-remove,
.x-desktop .esp-searchItemSelector .x-form-itemselector-down,
.x-desktop .esp-searchItemSelector .x-form-itemselector-bottom {
    background-image: none;
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-top:before,
.x-desktop .esp-searchItemSelector .x-form-itemselector-up:before,
.x-desktop .esp-searchItemSelector .x-form-itemselector-add:before,
.x-desktop .esp-searchItemSelector .x-form-itemselector-remove:before,
.x-desktop .esp-searchItemSelector .x-form-itemselector-down:before,
.x-desktop .esp-searchItemSelector .x-form-itemselector-bottom:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--base-color, #196eb3);
    transition: color 0.2s ease;
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-top:before {
    content: '\f102';
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-up:before {
    content: '\f106';
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-add:before {
    content: '\f105';
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-remove:before {
    content: '\f104';
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-down:before {
    content: '\f107';
}

.x-desktop .esp-searchItemSelector .x-form-itemselector-bottom:before {
    content: '\f103';
}

/* Multi-Tree Selectors */

.x-desktop .esp-fieldContainer .esp-field:has(.esp-multiTree) {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
}

.x-desktop .esp-field--popout .esp-multiTree {
    border-top: 1px solid #ddd !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel + .x-panel {
    box-shadow: rgba(0, 0, 0, 0.067) 0px 0px 15px, rgba(0, 0, 0, 0.133) 0px 0px 10px;
}

.x-desktop .esp-field--popout .esp-multiTree .x-grid-body {
    padding-right: 10px !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header {
    background: transparent;
    padding: 8px 12px;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target > * {
    position: initial !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target > .x-title {
    width: auto !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target > .x-tool {
    margin-left: 5px !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target > .x-tool .x-tool-tool-el {
    opacity: 1 !important;
    background: white !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target > .x-tool .x-tool-tool-el:before {
    color: var(--base-color, #196eb3) !important;
    font-size: 14px !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header > .x-box-inner > .x-box-target > .x-tool .x-tool-refresh:before {
    margin-top: -3px !important;
    font-size: 13px !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-panel-header .x-title-text {
    color: #666;
    font-size: 13px;
    font-weight: 400 !important;
}

.x-desktop .esp-field--popout .esp-multiTree .x-field.x-docked {
    background: var(--alt-background-color, #f5f5f5);
    border-radius: 15px;
    overflow: hidden;
    margin: 0px 12px 6px;
}

.x-desktop .esp-field--popout .esp-multiTree .x-field.x-docked input {
    border-bottom: none;
    padding: 6px 12px;
}

.x-desktop .esp-field--popout .esp-multiTree .x-field.x-docked .x-form-trigger {
    border-bottom: none;
    width: 30px;
    padding-top: 4px;
}

/* File Upload Fields */

.x-desktop .esp-fileField {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
    width: calc(100% + 24px);
    border: none;
}

.x-desktop .esp-fileField .x-panel-bodyWrap,
.x-desktop .esp-fileField .x-panel-body {
    width: 100% !important;
}

.x-desktop .esp-fileDropEl {
    text-align: center;
    font-size: 1.2em;
    padding: 12px;
    color: var(--base-dark-color, #2d5e86);
}

.x-desktop .esp-fileDropEl.esp-empty {
    font-weight: bold;
    background-color: white;
}

.x-desktop .esp-fileDropEl.esp-hasFile {
    font-size: 0.9em;
}

.x-desktop .esp-fileDropEl:before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 1px;
    bottom: 3px;
    left: 3px;
    right: 3px;
    border: 2px dashed #ccc;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.x-desktop .esp-fileDropEl.esp-hover:before {
    opacity: 1;
}

.x-desktop .esp-fileField tr:last-child {
    background: var(--alt-background-color, #f5f5f5) !important;
}

.x-desktop .esp-fileField tr:last-child td {
    vertical-align: middle !important;
}

.x-desktop .esp-fileField tr:last-child td > * {
    display: block;
}

.x-desktop .esp-fileField td .x-field {
    margin: 0px !important;
}

.x-desktop .esp-fileField td .x-btn {
    margin: 2px !important;
    background: transparent !important;
    border-radius: 10px;
}

.x-desktop .esp-fileField .x-form-trigger {
    height: auto !important;
}

.x-desktop .esp-fileField tr:last-child td:first-child {
    width: 50%;
}

.x-desktop .esp-fileField tr:last-child td:first-child > div {
    margin: 0px 0px 0px auto !important;
}

.x-desktop .esp-fileField tr:last-child td:nth-child(2) > div {
    margin: 0px auto !important;
}

.x-desktop .esp-fileField tr:last-child td:last-child {
    width: 50%;
}

.x-desktop .esp-fileField tr:last-child td:last-child > div {
    margin: 0px auto 0px 0px !important;
}

.x-desktop .esp-fileField .x-btn:not(.x-btn-disabled) .x-btn-inner > * {
    color: var(--color, #444);
}

.x-desktop .esp-fileField .x-btn.x-btn-disabled .x-btn-inner > * {
    color: #bfbfbf;
}

.x-desktop .esp-fileField .x-btn-inner > .fa-folder-open {
    margin-bottom: 1px !important;
}

.x-desktop .esp-fileField .x-btn-inner > .fa-trash {
    margin-bottom: 4px !important;
}

.x-desktop .esp-fileField .x-btn-inner > .fa-download {
    margin-bottom: 3px !important;
}

.x-desktop .esp-fileField .x-btn-inner > div {
    margin-top: 0px !important;
    letter-spacing: 0.1px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* Multi-File Upload Fields */

.x-desktop .esp-multiFileField {
    padding: 5px 0 12px 0;
    max-width: 400px;
}

.esp-multiFileField > .x-panel-bodyWrap,
.esp-multiFileField > .x-panel-bodyWrap > .x-panel-body {
    overflow: visible !important;
}

.esp-multiFileField.x-item-disabled,
.esp-multiFileField.x-item-disabled * {
    background: transparent !important;
    opacity: 1 !important;
}

/* Keep non-disabled buttons (e.g. download) clickable above the disabled overlay (z-index: 12) */
.esp-fieldContainer--disabled .esp-multiFileField .x-btn:not(.x-btn-disabled) {
    position: relative;
    z-index: 13;
    pointer-events: all !important;
}

.x-desktop .esp-multiFileField__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 4px;
    overflow: hidden;
}

.esp-multiFileField__slot .esp-fileField {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
    width: 100% !important;
    max-width: 100%;
}

.esp-multiFileField__slot .esp-fileField .x-panel-bodyWrap,
.esp-multiFileField__slot .esp-fileField .x-panel-body {
    width: 100% !important;
    max-width: 100%;
}

/* Fixes a bug in Chrome where the 'Browse' button was too far right */
.x-desktop .esp-multiFileField__slot .esp-fileField tr:last-child td:first-child [id$="trigger-filebutton"] {
    display: block !important;
}

.x-desktop .esp-multiFileField__removeBtn {
    font-size: 12px;
    cursor: pointer;
    margin-top: 4px;
}

.x-desktop .esp-multiFileField__addBtn {
    margin-top: 5px;
    margin-left: 8px;
    font-size: 12px;
}

/* Multi-File Grid Cell */

.esp-multiFileGrid__file {
    margin-bottom: 2px;
}

.esp-multiFileGrid__file:hover {
    background-color: var(--selected-background-color);
    border-radius: 3px;
}

.esp-multiFileGrid__icon {
    display: inline-block;
    margin-right: 3px;
}

/* Textarea Fields */

.x-desktop .esp-fieldContainer--textArea:not(.esp-fieldContainer--disabled) {
    cursor: text;
}

.x-desktop .esp-fieldContainer > .esp-field > .esp-fieldListContainer > .x-field:has(> .x-form-item-body > .x-form-trigger-wrap > .x-form-text-wrap > textarea:not([type="hidden"])) {
    min-height: 63px;
}

/* CodeMirror Fields */

.x-desktop .CodeMirror {
    min-width: 100%;
}

.x-desktop .esp-fieldContainer--codeMirror .esp-field {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
}

.x-desktop .esp-fieldContainer--codeMirror .esp-field:first-child {
    margin-top: 0px !important;
}

.x-desktop .esp-fieldContainer--codeMirror .esp-fieldListContainer,
.x-desktop .esp-fieldContainer--codeMirror .esp-fieldListContainer > .x-field {
    width: auto !important;
    height: auto !important;
}

.x-desktop .CodeMirror-gutters {
    background: none;
    border: none;
}

/* "Write Your Own SQL" (js/tableManager/AnalystViewForm.js): a hand-built form, so its code field
   has none of the entry form's field-container chrome -- the outline the CodeMirror editor
   gets everywhere else comes from that wrapper. Drawn here instead. */
.espAnalystViewCodeLabel {
    margin: 10px 0 0 0;
}

.espAnalystViewCodeLabel .x-form-item-body {
    display: none;
}

.espAnalystViewCode .CodeMirror {
    border: 1px solid var(--border-color-1, #eaebed);
    border-radius: 6px;
}

.espFieldHint {
    font-size: 12px;
    color: var(--text-color-muted, #6b7280);
    margin: 2px 0 6px 0;
    line-height: 1.4;
}

/* "Write Your Own SQL" on the Data Set builder's source tree: tinted with the colour the builder
   gives its pressed toggle, so it stands apart from the Data panel's background (user 2026-10-20).
   A standard compact button otherwise -- the theme's own size, hover and focus (user 2026-10-21).
   The button only; its row and the tree keep their own colours. */
.x-btn.espWriteSqlBtn {
    background-color: var(--alt-highlight-color);
}

/* Its row: the background the theme gives a toolbar, so the row reads as part of the Data panel. */
.espWriteSqlBar {
    background-color: var(--alt-background-color);
}

/* The Write Your Own SQL form's fields carry placeholders. The theme floats a label only while
   the field is focused or has a value; otherwise the label rests INSIDE the input, where it is
   the placeholder -- so once a field has been typed in and emptied, the label landed on top of
   the placeholder text (user 2026-10-21). A field with a placeholder keeps its label floated. */
.espAnalystViewWindow .x-field:has(input[placeholder], textarea[placeholder]) .x-form-item-label {
    font-size: 12px;
    transform: translateY(8px);
}

/* Color Picker Fields (ESP.core.form.ColorFieldPicker) — the whole field is the
   swatch: the component paints color-over-checkerboard onto .x-form-trigger-wrap
   inline (JS owns the color; CSS owns the shape/typography), the hex code sits
   centered in a contrast-aware label, and a click anywhere opens the picker. */

.esp-colorfield .x-form-trigger-wrap {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.esp-colorfield:hover .x-form-trigger-wrap {
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.18); /* fallback: no color-mix() */
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--base-color, #2f6fa7) 18%, transparent);
}

.esp-colorfield input.x-form-field {
    background: transparent;
    cursor: pointer;
    text-align: center;
    font-family: 'SF Mono', ui-monospace, Consolas, Menlo, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #64748b; /* blank state; --set/--dark below override */
}

.esp-colorfield--set input.x-form-field {
    color: #1f2937;
}

.esp-colorfield--dark input.x-form-field {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* The clear-✕: part of the swatch (transparent, contrast follows the label). */
.esp-colorfield .x-form-trigger.esp-colorfield-clear {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 22px;
}

.esp-colorfield .x-form-trigger.esp-colorfield-clear:before {
    content: '\2715';
    display: block;
    line-height: 22px;
    text-align: center;
    font-size: 11px;
    color: #64748b;
    opacity: 0.65;
}

.esp-colorfield--dark .x-form-trigger.esp-colorfield-clear:before {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.esp-colorfield .x-form-trigger.esp-colorfield-clear:hover:before {
    opacity: 1;
}

/* Smaller fields (These appear embedded in toolbars) */

.esp-fieldContainer--miniLabel {
    margin-top: 3px;
    margin-bottom: 3px;
}

.esp-fieldContainer--mini {
    padding-top: 3px;
    padding-bottom: 3px;
}

.esp-fieldContainer--mini > div {
    box-sizing: content-box;
    border: 1px solid var(--border-color-5);
    background: white;
    border-radius: 8px;
    height: 28px;
    min-height: 28px;
    margin: 0px !important;
    box-sizing: border-box;
}

.esp-fieldContainer--mini input.x-form-text {
    padding-left: 8px;
    padding-right: 0px;
    min-height: 100%;
    max-height: 100%;
}

.esp-fieldContainer--mini input,
.esp-fieldContainer--mini .x-form-trigger,
.esp-fieldContainer--mini .x-form-trigger:before {
    border: none !important;
    height: 26px !important;
    max-height: 26px;
}

.esp-fieldContainer--mini .x-form-trigger,
.esp-fieldContainer--mini .x-form-trigger:before {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.esp-fieldContainer--mini .x-form-trigger-wrap {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}

.esp-fieldContainer--mini .x-form-trigger-wrap > :not(.x-form-trigger) {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-fieldContainer--mini .x-form-trigger {
    color: var(--base-color);
    font-size: 14px;
    min-width: 25px;
    margin-top: -2px;
}

.esp-fieldContainer--mini .x-form-arrow-trigger:before {
    margin-top: -2px;
}

.x-toolbar .x-btn + .esp-fieldContainer--mini {
    margin-left: 10px;
}

.esp-fieldContainer--miniLabel--focus,
.esp-fieldContainer--mini--focus > div {
    border-color: var(--base-color) !important;
}

.esp-fieldContainer--miniLabel {
    background: white;
    padding: 0px 1px 0px 8px;
    border: 1px solid var(--border-color-2);
    border-right: none;
    font-weight: 600;
    color: var(--light-color, #999);
    border-radius: 8px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 28px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-top: 1px;
    box-sizing: border-box;
}

.esp-fieldContainer--miniLabel + .esp-fieldContainer--mini > div {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-left: none;
    margin-left: -1px !important;
}

.esp-fieldContainer--mini.tristate-checkbox input,
.esp-fieldContainer--miniLabel--forTristate {
    cursor: pointer;
}

.esp-fieldContainer--miniLabel--forText {
    cursor: text;
}

.esp-fieldContainer--mini.tristate-checkbox > div {
    width: 40px;
}

.esp-fieldContainer--mini.tristate-checkbox .x-form-cb {
    width: 40px;
    height: 28px;
    margin-top: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* MISC. HELPER CLASSES */

.esp-stretchedFields .x-field.x-form-text-heighted {
    width: 100% !important;
}

.esp-stackedField {
    float: left;
}
.esp-stackedSeperator {
    clear: both;
    height: 5px;
    width: 100%;
}
.esp-stackedField > div {
    padding: 5px;
}

.esp-big {
    font-size: 1.3em;
}

.esp-textAreaValue {
    white-space: normal;
}

.esp-printTable th{
    background-color: var(--alt-background-color, #f5f5f5);
    border: 1px solid #ededed;
}

.esp-printTable td{
    border: 1px solid #ededed;
}

.esp-printAltRow td{
    background-color: #fafafa;
}

.esp-tiphighlight {
    border: 1px solid red !important;
    border-collapse: collapse !important;
    transition: border 0.6s linear !important;
}

.esp-showdesc {
    word-wrap: break-word;
}

/* Field Menus */

.esp-fieldMenuBtn {
    opacity: 0;
    display: inline-block;
    text-align: center;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.esp-fieldMenuBtn--hide,
.esp-fieldContainer--resizing .esp-fieldMenuBtn {
    display: none
}

.esp-fieldMenuBtn--forceShow,
.esp-showFieldMenuBtn .esp-fieldMenuBtn {
    opacity: 1;
}

.esp-fieldMenu__subtext {
    font-size: 13px;
    color: var(--light-color);
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: -8px;
    margin-bottom: 6px;
}

body.x-desktop .esp-fieldHeadText {
    display: inline-block;
    position: relative;
    padding: 2px;
    margin: -2px;
}

body.x-desktop .esp-fieldMenuBtn {
    z-index: 999;
}

body.x-desktop .esp-fieldMenuBtn:before {
    font-size: 17px;
    transition: all 0.4s ease;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

body.x-desktop .esp-fieldMenuBtn:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    border-radius: 50%;
}

body.x-desktop .esp-fieldMenuBtn:not(.esp-fieldMenuBtn--forceShow):before {
    color: #ffffff;
    box-shadow: 1px 1px 2px #00002222;
}

body.x-desktop .esp-fieldMenuBtn:not(.esp-fieldMenuBtn--forceShow):after {
    background: #666;
}

body.x-desktop .esp-fieldMenuBtn--forceShow:before {
    color: #e2ebf8;
    box-shadow: 1px 1px 2px #0000ff44;
}

body.x-desktop .esp-fieldMenuBtn--forceShow:after {
    background: var(--base-dark-color, #2d5e86);
}

body.x-desktop .esp-fieldMenuBtn {
    position: fixed;
    margin: -5px 0px 0px -6px;
}

body:not(.x-desktop) .esp-fieldMenuBtn {
    z-index: 9;
}

body:not(.x-desktop) .esp-fieldMenuBtn {
    width: 28px;
    height: 20px;
    font-size: 17px;
    position: relative;
    background: white;
    top: -2px;
    margin-right: -5px;
    margin-bottom: -6px;
    color: var(--light-color, #919191);
}

body:not(.x-desktop) .esp-fieldMenuBtn:before {
    width: 12px;
    height: 10px;
    line-height: 12px;
    position: absolute;
    top: 5px;
    left: 4px;
}

/* COMBOBOX DISPLAYHTML */

.esp-cbDisplayHtml {
    word-break: break-word;
    overflow-x: auto;
    padding-bottom: 5px;
}

.esp-expandable-list__row .esp-cbDisplayHtml {
    padding-right: 20px;
}

.esp-cbDisplayHtml > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.esp-cbDisplayHtml > div > div > i.clickable {
    margin-right: 4px;
}

.esp-cbDisplayHtml > div:not(:last-child) {
    margin-bottom: 5px;
}

.esp-cbDisplayHtml .card-hide {
    display: none;
}

.x-field.hasDisplayCard .x-form-trigger {
    margin-top: -8px;
}

.esp-expandable-list__row .x-field.hasDisplayCard  .x-form-trigger {
    margin-top: 0px;
}

.x-field.hasDisplayCard .x-form-trigger.x-form-arrow-trigger:before {
    content: '\f303';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.x-field.hasDisplayCard .x-form-trigger-wrap {
    height: 20px !important;
    margin-bottom: -18px;
}

.x-field.hasDisplayCard .x-form-text-wrap {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* LIST FIELDS */

.esp-listSubfield {
    display: flex;
}

.esp-listSubfield div[data-ref="bodyEl"] {
    flex-grow: 1;
    min-width: 100px;
}

.esp-listSubfield .clickable {
    z-index: 99;
}

.esp-listSubfield i.fa-search {
    position: relative;
    top: 5px;
    margin: 0 2px;
}

tr:last-of-type .esp-listSubfield i.fa-search,
.esp-expandable-list__blank-row i.fa-search {
    visibility: hidden;
    pointer-events: none;
}

.esp-fieldListContainer table {
    border-spacing: 0px;
}

.esp-fieldListContainer td {
    padding: 0px;
    vertical-align: top !important;
}

.esp-alternatingExpand .esp-expandable-list__row:nth-child(odd) {
    background-color: var(--alt-background-color, #f5f5f5);
}

.esp-del-trigger.x-form-trigger {
    background-image: none;
    vertical-align: middle;
}

.esp-del-trigger:before {
    content: "\f00d";
}

/* The table view field's "Choose from table..." trigger (ESP.core.form.TableViewField):
   a table glyph among the field's other triggers. */
.esp-tableViewField__chooserTrigger.x-form-trigger {
    background-image: none;
    vertical-align: middle;
}
.esp-tableViewField__chooserTrigger:before {
    /* Font Awesome's own glyph metrics (line-height 1, block): the + beside it is
       the .fa class on the trigger itself; a pseudo inheriting the trigger's line
       height drew the glyph lower (user screenshots 2026-09-18, twice). */
    font: normal normal 900 14px/1 'Font Awesome 5 Free';
    display: block;
    content: "\f0ce";
}
/* Lifted the way the theme lifts the + and the clear x (top -9px with 3px of padding);
   without it the table glyph rode 6px below its neighbours (user screenshot 2026-09-18). */
.x-desktop .esp-fieldContainer .x-form-trigger.esp-tableViewField__chooserTrigger {
    top: -9px;
    padding-top: 3px;
}
.esp-tableViewField__chooser .esp-tableViewField__count { padding: 0 8px; color: var(--medium-color, #555); }
/* Dashboard builder v2 (docs/DASHBOARD-BUILDER-V2-CONTRACT.md): the Drafts node's age
   note in the organizer tree, and the Layout bar's Save. */
.esp-draftAge { color: var(--lighter-color, #888); font-size: 0.85em; margin-left: 4px; }
.espdoc-editor .ee-btn--save { font-weight: 600; } /* in the row with the others, not pushed right (user 2026-09-18) */

.esp-multiTree .x-field {
    margin-top: 0px;
}

.x-form-trigger.esp-multiTree-trigger {
    position: relative;
}

.esp-multiTree-trigger-popout:before {
    font: 14px 'Font Awesome 5 Free';
    content: '\f35d';
    color: #000;
    opacity: 0.6;
    position: absolute;
}

.esp-multiTree-trigger-popout {
    height: 30px;
    width: 100%;
    background-image: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.esp-multiTree-trigger-picker {
    /* position: absolute; */
    /* top: 30px; */
    /* bottom: 0; */
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.esp-multiTree-trigger-add {
    padding-right: 5px;
}

/*-------------------
FORM BUILDER
-------------------*/

.esp-formBuilderWithBorders div,
.esp-formBuilderWithBorders td {
    border: 1px dashed lightblue;
    padding-top: 3px;
    padding-bottom: 3px;
}
.esp-tooltipHolder {
    position:absolute;
    left: 0px;
    top:0px;
    z-index:99999999999;
    background-color:white;
    border-radius:5px;
    margin:0px;
    border:1px solid #ccc !important;
    box-shadow: 1px 1px 5px #ccc !important;
    padding: 5px !important;
}
.esp-tooltipHolder div,
.esp-tooltipHolder td {
    border: none !important;
    margin: initial !important;
    padding: initial !important;
}
.esp-tooltipLabel {
    font-weight: bold;
    font-size: 0.85em;
}

.esp-dragdropWrapper {
    display: inline-block;
    position: relative;
}

.esp-button {
    margin: 5px;
    padding: 5px;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid #126daf;
    cursor: pointer;
    display: inline-block;
    color: white;
    background-color: #3892d3;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.esp-smallButton,a.esp-smallButton,a.esp-smallButton:link {
    margin: 1px;
    padding: 1px;
    border-radius: 1px;
    border: 1px solid #126daf;
    cursor: pointer;
    display: inline-block;
    color: white;
    background-color: #3892d3;
    user-select: none;
}


.esp-button:hover,.esp-smallButton:hover,a.esp-smallButton:hover {
    background-color: #1064a1;
}

.esp-button:active,.esp-smallButton:active,a.esp-smallButton:active {
    background-color: #0d5183;
}

.formBuilderXml .esp-field {
    pointer-events: none;
}

/*----------------------
GENERAL HELPERS
------------------------*/

/* TEXT */

.esp-no-wrap {
    white-space: nowrap;
}

/* FONT */

.esp-error   { color: red; }
.esp-warning { color: orange; }
.esp-green   { color: green; }
.esp-yellow  { color: yellow; }
.esp-red     { color: red; }

.esp-centerText { text-align: center; }
.esp-leftText   { text-align: left; }

.esp-2x  { font-size: 2em; }
.esp-3x  { font-size: 3em; }
.esp-4x  { font-size: 4em; }
.esp-5x  { font-size: 5em; }
.esp-6x  { font-size: 6em; }
.esp-7x  { font-size: 7em; }
.esp-8x  { font-size: 8em; }
.esp-9x  { font-size: 9em; }
.esp-10x { font-size: 10em; }

.esp-h1,
.esp-h2,
.esp-h3,
.esp-h4,
.esp-h5,
.esp-h6 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.15em;
}

.esp-h1 { font-size: 24px; }
.esp-h2 { font-size: 20px; }
.esp-h3 { font-size: 18px; }
.esp-h4 { font-size: 16px; }
.esp-h5 { font-size: 14px; }
.esp-h6 { font-size: 12px; }

/* JUSTIFICATION AND ALIGNMENT */

.esp-centerChildren > div {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.esp-centeredWrapper {
    display: table !important;
    margin-left: auto;
    margin-right: auto;
}

.esp-flexRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row; }
.esp-flexColumn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }

.esp-flexJustifyStart {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start; }
.esp-flexJustifyEnd {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end; }
.esp-flexJustifyCenter {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; }
.esp-flexJustifyBetween {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }
.esp-flexJustifyAround {
    -ms-flex-pack: distribute;
    justify-content: space-around;}

.esp-flexAlignStart {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start; }
.esp-flexAlignEnd {
    -webkit-box-align: end;
    -ms-flex-align: end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end; }
.esp-flexAlignCenter {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center; }

.esp-flexWrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; }
.esp-flexNoWrap {
    -ms-flex-wrap: no-wrap;
    flex-wrap: no-wrap; }

.esp-flexGrow, .esp-flexGrowAll > *:not(.esp-spacer) {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1; }

/* SPACING BETWEEN ELEMENTS */

.esp-spacing0     { margin: 0px 0px 0px 0px !important; }
.esp-spacing0 > * { margin: 0px 0px 0px 0px !important; }

.esp-forceNoSpacing,
.esp-forceNoSpacing * {
    padding: 0px !important;
    margin: 0px !important;
    border-spacing: 0px !important;
}

/* HIDING SHOWING */

.esp-forceHide {
    display: none !important;
}

@media print {
    .esp-printHide {
	display: none !important;
    }
}

/*-----------------
ANIMATION HELPERS
------------------*/

/* GROWING BAR */
@media screen {
    .esp-grow-width {
        -webkit-animation-duration: 1.2s;
        animation-duration: 1.2s;
        -webkit-animation-name: esp-grow-width;
        animation-name: esp-grow-width;
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        max-width: 0%;
    }

    @-webkit-keyframes esp-grow-width {
        from {
        width: 0%;
        }
        to {
        max-width: 100%;
        /* Final width is set inline */
        }
    }

    @keyframes esp-grow-width {
        from {
        width: 0%;
        }
        to {
        max-width: 100%;
        /* Final width is set inline */
        }
    }
}

/* LEFT NAVIGATION MENU SETTINGS. */
.navigation-panel,
.navigation-panel .x-box-inner,
.navigation-panel .x-menu-body-default,
.navigation-panel .x-panel-body-default,
.navigation-button,
.x-btn-over.navigation-button,
.x-btn-pressed.navigation-button,
.x-btn-menu-active.navigation-button,
.x-btn-focus.navigation-button {
    background-color: transparent !important;
}
.navigation-panel > .x-scroller,
.navigation-panel > .x-scroller > .x-box-inner,
.navigation-panel > .x-scroller > .x-box-inner > .x-box-target,
.navigation-panel > .x-scroller > .x-box-inner > .x-box-target,
.navigation-menu,
.navigation-menu > div > .x-menu-body,
.navigation-menu > div > .x-menu-body > .x-box-inner,
.navigation-menu > div > .x-menu-body > .x-box-inner > .x-box-target,
.navigation-menu > div > .x-menu-body > .x-box-inner > .x-box-target > .x-menu-item {
    max-width: 100%;
    min-width: 100%;
}
.navigation-panel-ctr {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.66) 25.48%, #FFFFFF 100%) !important;
    background-color: var(--alt-background-color) !important;
}
.navigation-panel-ctr:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 24px;
    pointer-events: none;
    background: linear-gradient(to left, var(--shadow-color-03), var(--shadow-color-01) 20%, #00000000 50%);
}
.navigation-panel > .x-scroller {
    overflow: hidden !important;
}
.navigation-panel > .x-scroller > div,
.navigation-panel > .x-scroller > div > div,
.navigation-panel > .x-scroller > div > div > .navigation-menu,
.navigation-panel > .x-scroller > div > div > .navigation-menu > .x-menu-bodyWrap,
.navigation-panel > .x-scroller > div > div > .navigation-menu > .x-menu-bodyWrap > .x-menu-body,
.navigation-panel > .x-scroller > div > div > .navigation-menu > .x-menu-bodyWrap > .x-menu-body > .x-box-inner {
    height: 100% !important;
}
.navigation-panel > .x-scroller > div > div > .navigation-menu > .x-menu-bodyWrap > .x-menu-body > .x-box-inner {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
.navigation-panel > .x-scroller > div > div > .navigation-menu > .x-menu-bodyWrap > .x-menu-body > .x-box-inner > .x-box-target {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto !important;
}
.navigation-panel > .x-scroller > div > div > .navigation-menu > .x-menu-bodyWrap > .x-menu-body > .x-box-inner > .x-box-target > .x-menu-item {
    position: relative !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}
.navigation-collapse-btn {
    overflow: visible;
}
.navigation-collapse-btn:before {
    content: '';
    position: absolute;
    border-radius: 999px;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}
.navigation-panel-ctr--animating ~ .navigation-collapse-btn,
.navigation-panel-ctr:not(:hover) ~ .navigation-collapse-btn {
    opacity: 0;
}
.navigation-panel-ctr:not(.navigation-panel-ctr--animating) ~ .navigation-collapse-btn:hover {
    opacity: 1;
}
.navigation-panel-ctr .x-resizable-handle {
    min-width: 6px;
}
.navigation-panel-ctr .x-resizable-handle:before {
    content: '';
    position: absolute;
    top: 0;
    right: 3px;
    bottom: 0;
    width: 1px;
    border-right: 1px dashed var(--border-color-3);
}
.navigation-panel {
    padding-right: 3px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.navigation-panel > :not(.x-resizable-handle) {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}
.navigation-panel > .x-scroller {
    flex-grow: 1;
}
.navigation-panel-ctr--collapsed .navigation-panel {
    padding-right: 0px;
}
.navigation-panel-ctr--collapsed .navigation-panel__header {
    max-width: 61px;
    overflow: hidden;
    transform: translateX(-5px);
}
.navigation-panel__header svg > g > :not(:first-child) {
    pointer-events: none;
}
.navigation-panel-ctr--collapsed .x-resizable-handle {
    display: none !important;
}
.navigation-panel .x-menu-item a {
    position: relative;
}
.navigation-menu.x-menu {
    padding-top: 12px;
    box-shadow: none;
    border: none;
}
.navigation-menu .x-menu-item-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.navigation-menu .x-menu-item-default {
    background: transparent !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
}
.navigation-panel-ctr--collapsed .navigation-menu .x-menu-item-default {
    max-width: 64px;
}
.navigation-menu .x-menu-body {
    padding: 0px;
}
.navigation-menu :is(.x-scroller, .x-menu-body) {
    overflow: visible !important;
}
.navigation-menu .x-menu-item-default:last-child {
    margin-bottom: 10px !important;
}
.navigation-menu .x-menu-item:not(.navigation-menu__subMenu) .x-menu-item-link,
.navigation-menu__subItem {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 12px;
    border-radius: 99px;
}
.navigation-panel-ctr--expanded .navigation-menu .x-menu-item:not(.navigation-menu__subMenu) .x-menu-item-link,
.navigation-panel-ctr--expanded .navigation-menu__subItem {
    margin: 0px 12px;
}
.navigation-panel-ctr--collapsed .navigation-menu .x-menu-item:not(.navigation-menu__subMenu) .x-menu-item-link,
.navigation-panel-ctr--collapsed .navigation-menu__subItem {
    margin: 0px 4px;
    max-width: 56px;
}
.navigation-menu .navigation-panel__active.x-menu-item a,
.navigation-menu .navigation-panel__active.navigation-menu__subItem {
    background-color: var(--alt-highlight-color) !important;
}
.navigation-menu .x-menu-item:not(.navigation-panel__active):not(.navigation-menu__subMenu) a:hover:not(:has(> .x-menu-item-arrow:hover)),
.navigation-menu__subItem:not(.navigation-panel__active):hover {
    background-color: #f5f5f5;
}
/* Name the link's children explicitly; do not collapse these back into "> *".
   A universal subject behind this :has() made every forced style recalc cost ~15ms
   instead of ~1ms in a busy desktop, so Ext layouts (which read styles between writes)
   took ~1s each and long sessions ground to a halt. */
.navigation-menu .x-menu-item:not(.navigation-panel__active) a:hover:not(:has(> .x-menu-item-arrow:hover)) > .x-menu-item-text,
.navigation-menu .x-menu-item:not(.navigation-panel__active) a:hover:not(:has(> .x-menu-item-arrow:hover)) > .x-menu-item-icon,
.navigation-menu .x-menu-item:not(.navigation-panel__active) a:hover:not(:has(> .x-menu-item-arrow:hover)) > .x-menu-item-arrow,
.navigation-menu__subItem:not(.navigation-panel__active):hover > * {
    color: var(--dark-color) !important;
}
.navigation-panel__active.x-menu-item a > *,
.navigation-panel__active.navigation-menu__subItem > * {
    color: var(--base-color) !important;
}
.x-menu.x-layer .navigation-panel__active.x-menu-item .x-menu-item-text {
    font-weight: bold !important;
}
.navigation-panel-ctr--expanded .navigation-menu__hasSubMenu > a {
    padding-right: 55px !important;
}
.navigation-menu__subItemText,
.navigation-menu .x-menu-item-text-default,
.navigation-menu .x-menu-item-text-default.x-menu-item-indent {
    color: var(--medium-color);
    font-weight: 500;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin-left: 0px;
    margin-right: 0px;
    text-align: left;
    font-size: 14px;
    line-height: 1.25em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.navigation-panel-ctr--collapsed .x-menu-item-arrow,
.navigation-panel-ctr--collapsed .navigation-menu__subItemText,
.navigation-panel-ctr--collapsed .navigation-menu .x-menu-item-text-default {
    display: none !important;
}
.navigation-menu :is(.x-menu-item-icon-default, .navigation-menu__subItemIcon) {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
    color: var(--medium-color);
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    line-height: 1em;
    min-width: 30px;
    font-size: 16px !important;
}
.navigation-panel-ctr--expanded .navigation-menu :is(.x-menu-item-icon-default, .navigation-menu__subItemIcon) {
    margin: 0px 9px 0px 0px !important;
}
.navigation-panel-ctr--collapsed .navigation-menu :is(.x-menu-item-icon-default, .navigation-menu__subItemIcon) {
    margin: 0px !important;
}
.navigation-menu .x-menu-item-arrow-default,
.navigation-menu .x-menu-item-focus .x-menu-item-arrow-default,
.navigation-menu .x-menu-item-active .x-menu-item-arrow-default {
    color: var(--medium-color);
    right: 0px;
    top: 0px !important;
    height: 40px;
    width: 40px;
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 99px;
}
.navigation-menu .x-menu-item-arrow-default:before {
    font-family: 'atlas-custom';
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
}
.navigation-menu .x-menu-item-arrow-default:before {
    content: 'chevron-right';
}
.navigation-menu .navigation-menu__subMenuExpanded .x-menu-item-arrow-default:before {
    content: 'chevron-down';
}
.navigation-menu .x-menu-item .x-menu-item-arrow-default:hover {
    background: #ebebeb;
}
.navigation-menu .x-menu-item.navigation-panel__active .x-menu-item-arrow-default:hover {
    background: #0000000b;
}
.navigation-menu__subMenu {
    position: relative;
    margin-left: 38px !important;
    max-width: calc(100% - 38px) !important;
    min-width: calc(100% - 38px) !important;
}
.navigation-panel-ctr--collapsed .navigation-menu__subMenu {
    display: none !important;
}
.navigation-menu__subMenu::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 2px;
    background: var(--border-color-4);
}
.navigation-menu__subMenu .x-menu-item-link > * {
    width: 100%;
}
.navigation-menu__subMenu {
    transition: height var(--nav-animation-duration) ease;
}
.navigation-menu.esp-collapse-down .x-scroller > .x-box-target {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    bottom: 0 !important;
    transition: bottom var(--nav-animation-duration) ease;
}
.navigation-collapse-btn {
    box-shadow: var(--shadow-light) !important;
    border: 1px solid var(--border-color-4) !important;
    background: white !important;
}
.navigation-collapse-btn .x-btn-icon-el {
    color: var(--medium-color) !important;
    font-size: 9px;
    width: 1em;
    height: 1em;
}

#Navbar_Card_Full:not(:empty) {
    padding: 35px 12px 12px 12px;
}

#Navbar_Card_Mini:not(:empty) {
    padding: 15px 12px 12px 12px;
}

#Navbar_Card_CloseBtn {
    display: none;
    position: absolute;
    top: 5px;
    right: 12px;
    width: 25px;
    height: 25px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 99px;
    cursor: pointer;
    background: var(--faded-color);
    color: var(--light-color);
    line-height: 1em;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.navigation-panel-ctr--expanded #Navbar_Card_Full:not(:empty) ~ #Navbar_Card_CloseBtn {
    display: flex;
}

#Navbar_Card_Mini {
    cursor: pointer;
}

/*--------------
DASHBOARD
---------------*/

/* Dashboard Backgrounds */

.esp-absolute-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

.x-desktop form > :not(.esp-absolute-bg) {
    position: relative;
}

.esp-bg--white {
    background: white;
}

.esp-bg--grey {
    background: var(--alt-background-color, #f5f5f5);
}

/* Dashboard Container */

.esp-dashboard {
    background-color: var(--alt-background-color, #f5f5f5);
    padding: 15px;
    color: var(--color, #444);
    font-size: 11px;
    line-height: 1.15;
    position: relative;
}

/* Dashboard Header */

.esp-dashboard-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 15px 0px;
    margin-bottom: -5px;
}

.esp-dashboard-header__title {
    font-size: 28px;
    text-shadow: 1px 1px 2px #00000022;
    letter-spacing: 0.5px;
    margin-right: 30px;
}

.esp-dashboard-header__values {
    margin: -5px -15px;
    padding: 5px 0px;
}

.esp-dashboard-header__values,
.esp-dashboard-header__value-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.esp-dashboard-header__value {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    margin: 5px 15px;
}

.esp-dashboard-header__value > span:first-child {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
    opacity:0.5;
}

.esp-dashboard-header__value > span:last-child {
    font-size: 16px;
}

/* Dashboard panels */

.esp-dashboard .esp-panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.esp-dashboard .esp-panelTitle--tab {
    display: inline-block;
}

.esp-dashboard .esp-panelSubtitle {
    font-size: 12px;
    color: var(--color, #444);
    letter-spacing: 0.5px;
}

.esp-dashboard .esp-panelSubtitle:not(:first-child) {
    margin-top: 15px;
}

.esp-dashboard .esp-panelSubtitle {
    margin-bottom: 5px;
}

.esp-dashboard .esp-panelTitle,
.esp-dashboard .esp-toggleContainerToggle {
    box-sizing: border-box;
    width: 100%;
}

.esp-dashboard .esp-panelContent,
.esp-dashboard .esp-toggleContent {
    padding: 0px 10px 10px 10px;
    width: calc(100% - 20px);
    box-sizing: content-box;
    overflow-x: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.esp-dashboard .esp-panelTitle {
    margin-bottom: 10px;
}

.esp-dashboard .esp-panelContent {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-dashboard .esp-toggleContent:not(.esp-slideUp):not(.esp-slideDown) {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-dashboard .esp-panelContent > .esp-metric,
.esp-dashboard .esp-panelContent > .esp-grid,
.esp-dashboard .esp-toggleContent > .esp-metric,
.esp-dashboard .esp-toggleContent > .esp-grid {
    -webkit-box-flex:1;
    -ms-flex-positive:1;
    flex-grow:1;
}

/* Dashboard tables */

.esp-dashboard table {
    width: 100%;
}

/* Dashboard Accordions */

.esp-dashboard .esp-toggleSection,
.esp-dashboard .esp-accordionGroup {
    box-shadow: 0px 0px 10px #00000015,
		0px 0px 3px #00000010,
		0px 1px 2px #00000022;
}

.esp-dashboard .esp-accordionGroup > .esp-toggleSection {
    box-shadow: none;
}

@media screen {
    .esp-dashboard .esp-accordionGroup > .esp-toggleSection:last-child:not(.esp-toggleOn) .esp-toggleContainerToggle,
    .esp-dashboard *:not(.esp-accordionGroup) > .esp-toggleSection:not(.esp-toggleOn) .esp-toggleContainerToggle {
	border-bottom: none;
    }
}

/*-------------
GRID LAYOUTS
--------------*/

/* General */

.esp-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.esp-grid:not(.esp-grid--no-wrap) {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.esp-grid.esp-grid--no-wrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.esp-grid--full-columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.esp-grid__cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.esp-grid__cell:not(.esp-grid__cell--narrow) {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-grid__cell--break {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin: 0px !important;
}

.esp-grid__cell--full {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.esp-grid__cell > * {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

/* Spacing Options */

.esp-grid .esp-panel,
.esp-grid .esp-tabPanel {
    margin: 0px 0px 10px 0px !important;
}

.esp-grid:not(.esp-grid--small-spacing):not(.esp-grid--medium-spacing):not(.esp-grid--large-spacing) > .esp-grid__cell {
    max-width: 100%;
}

.esp-grid--small-spacing {

}

.esp-grid--small-spacing > .esp-grid__cell {
    position: relative;
}

.esp-grid--small-spacing > .esp-grid__cell:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    right: 0;
    display: block;
    background-color: white;
    z-index: 5
}

.esp-grid--small-spacing > .esp-grid__cell:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    display: block;
    background-color: white;
    z-index: 5
}

.esp-grid--medium-spacing {
    margin: 0px -10px -10px 0px;
}

.esp-grid--medium-spacing > .esp-grid__cell {
    margin: 0px 10px 10px 0px;
    max-width: calc(100% - 10px);
}

.esp-grid--large-spacing {
    margin: 0px -20px -20px 0px;
}

.esp-grid--large-spacing > .esp-grid__cell {
    margin: 0px 20px 20px 0px;
    max-width: calc(100% - 20px);
}

/* Add borders between cells */

.esp-grid--borders {
    overflow: hidden;
}

.esp-grid--borders .esp-grid__cell {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 1px -1px -1px 1px;
    padding: 15px;
}

/* Grid helpers */

.esp-flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.esp-flex-center--h {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.esp-flex-center--v {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.esp-flex-center--v > * {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-align-start {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.esp-align-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.esp-justify-start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.esp-justify-end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.esp-flex-grow-0 {
    -webkit-box-flex: 0 !important;
    -ms-flex-positive: 0 !important;
    flex-grow: 0 !important;
}

/*-------------
METRICS
--------------*/

/* General/Styles for all Metrics */

.esp-metric {
	transition: all 0.2s ease;
    position: relative;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 10px;
    margin: 5px;
}

.esp-metric:link,
[onclick].esp-metric:not([onclick=""]) {
	cursor: pointer;
}

.esp-metric .esp-metric__overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0;
    transition: all 0.2s ease;
    border-radius: 10px;
}

.esp-metric > * {
    position: relative;
    z-index: 2;
}

.esp-metric__label {
    letter-spacing: 0.5px;
    line-height: 1.25em;
    display: block;
}

.esp-metric__label--bottom,
.esp-metric__label--right,
.esp-metric__label:not(.esp-metric__label--top):not(.esp-metric__label--left) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.esp-metric__label--bottom,
.esp-metric__label:not(.esp-metric__label--top):not(.esp-metric__label--left):not(.esp-metric__label--right) {
    padding-bottom: 0.25em;
}

.esp-metric__label--top {
    padding-bottom: 0.25em;
}

.esp-metric__label--top,
.esp-metric__label--left {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

.esp-metric__value {
    font-weight: 600;
    line-height: normal;
    display: block;
}

.esp-metric__label--bottom + .esp-metric__value,
.esp-metric__label:not(.esp-metric__label--top) + .esp-metric__value {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

.esp-metric__label--top + .esp-metric__value {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.esp-metric__value .esp-metric__unit {
    font-size: 0.75em;
    font-weight: 400;
}

/* Default (Colored Tile) */

.esp-metric--bg {
	background-color: #444;
	border-color: transparent !important;
}

.esp-metric--bg:link:hover .esp-metric__overlay,
[onclick].esp-metric--bg:not([onclick=""]):hover .esp-metric__overlay {
    opacity: 0.15;
}

.esp-metric--bg .esp-metric__label {
    color: white !important;
}

.esp-metric--bg .esp-metric__value {
    color: white !important;
}

@media screen {
    .esp-metric--bg span[style*=red] {
	color: hsl(0 100% 90% / 1) !important;
    }
}

/* Light Tile w/ Border */

.esp-metric--left {
	border-left: 8px solid;
    border-radius: 5px;
	background-color: white !important;
	border-color: #444;
}

.esp-metric--left .esp-metric__overlay {
    border-radius: 0 10px 10px 0;
}

.esp-metric--left:link:hover .esp-metric__overlay,
[onclick].esp-metric--left:not([onclick=""]):hover .esp-metric__overlay {
    opacity: 0.08;
}

.esp-metric--left .esp-metric__label {
    color: #444 !important;
}

.esp-metric--left .esp-metric__value {
    color: #444 !important;
}

/* Light Tile w/ Colored Text */

.esp-metric--text {
	background-color: transparent !important;
	border-color: transparent !important;
}

.esp-metric--text:link:hover .esp-metric__overlay,
[onclick].esp-metric--text:not([onclick=""]):hover .esp-metric__overlay {
    opacity: 0.08;
}

.esp-metric--text .esp-metric__label {
    color: #444 !important;
}

.esp-metric--text .esp-metric__value {
    color: #444;
}

/* Default/Non-compact tile sizing */

.esp-metric--full,
.esp-metric:not(.esp-metric--compact) {
	padding: 15px 20px;
}

.esp-metric--full .esp-metric__label,
.esp-metric:not(.esp-metric--compact) .esp-metric__label {
    font-size: 12px;
}

.esp-metric--full .esp-metric__value,
.esp-metric:not(.esp-metric--compact) .esp-metric__value {
    font-size: 32px;
}

/* Horizontal metrics (label to side of value) */

.esp-metric--h {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.esp-metric--h.esp-metric--compact .esp-metric__label--left {
    padding-right: 0.5em;
}

.esp-metric--h.esp-metric--compact .esp-metric__label--right {
    padding-left: 0.5em;
}

.esp-metric--h:not(.esp-metric--compact) .esp-metric__label--left {
    padding-right: 0.75em;
}

.esp-metric--h:not(.esp-metric--compact) .esp-metric__label--right {
    padding-left: 0.75em;
}

/* Make any tile more compact */

.esp-metric--compact {
	padding: 8px 15px;
}

.esp-metric--compact .esp-metric__label {
    font-size: 12px;
}

.esp-metric--compact .esp-metric__value {
    font-size: 22px;
}

@media print {
    /* Metrics */
    .esp-metric {

    }
    .esp-metric--bg {

    }
    .esp-metric--bg .esp-metric__overlay {
        background-color: white !important;
        opacity: 0.85 !important;
	border-radius: 0px !important;
    }

    .esp-metric--bg .esp-metric__label {
        color: #444 !important;
    }

    .esp-metric--bg .esp-metric__value {
        color: #444 !important;
    }
}


/* GAUGES */
.esp-reportViewer-gauge-value
{
    font-weight: 600;
    text-align: center;
    color: #5f7ba5;
    font-family: inter, sans-serif;
    margin-top: -1.4em;
}
.esp-reportViewer-gauge-label
{
    font-size: 0.8em;
    cursor: pointer !important;
    color: #5f7ba5;
    font-weight: 400;
    font-family: inter, sans-serif;
    text-align: center;
}

/* POINTER WHEN SOMETHING IS LOADING. */
.esp-waiting
{
    cursor: wait;
}

.esp-waiting .x-unselectable
{
    cursor: wait;
}

/* ReCaptcha */
.esp-recaptchaCtr {
    padding: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* EXPANDABLE LIST FIELD CLOSE ROW */

.esp-expandable-list__delete-row-btn-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    font-size: 13px;
    padding-top: 1px;
}

/* DRAGGABLE EXPANDABLE LIST FIELD STUFF */

.esp-expandableListWrap {
    width: 100%;
}

.esp-expandable-list__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

.x-desktop .esp-expandable-list__row {
    margin: 0px -12px;
    padding: 0px 12px;
}

.x-desktop .esp-fieldContainer:not(.esp-fieldContainer--confirmation) .esp-expandable-list__row:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -12px;
    right: -12px;
    background: white;
    pointer-events: none;
    z-index: 0;
}

.esp-fieldContainer:not(.esp-fieldContainer--confirmation) .esp-expandable-list__row:nth-child(odd):not(:first-child:last-child):before {
    background: var(--alt-background-color, #f0f6ff);
}

.esp-fieldContainer--allRowsDisabled:not(.esp-fieldContainer--confirmation) .esp-expandable-list__row:nth-child(odd):not(:first-child:last-child):before {
    background: #ececec !important;
}

.esp-expandable-list__row > :last-child {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.esp-expandable-list__row > * {
    position: relative;
    z-index: 1;
}

.esp-expandable-list__row > div > div {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.x-desktop .esp-expandable-list__row > div > div {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
}

.esp-expandable-list__row .x-form-text-wrap {
    position: unset !important;
}

.esp-expandableListField {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.x-desktop .esp-fieldContainer--list .esp-fieldHead {
    z-index: 13 !important;
}

body:not(.x-desktop) .esp-fieldContainer--list .esp-fieldHead {
    z-index: 2 !important;
}

.esp-expandableListField.gettingHeights .esp-expandable-list__row > div > div {
    height: auto !important;
}

.esp-fieldContainer.esp-checkbox .esp-expandableListField.gettingHeights .esp-expandable-list__row .x-field {
    min-height: 40px !important;
}

.esp-expandable-list__delete-row-btn {
    color: var(--status-red-dark);
}

.esp-expandable-list__row .x-form-arrow-trigger {
    display: block !important;
}

.esp-expandable-list__blank-row .esp-expandable-list__delete-row-btn-container,
.esp-expandable-list__blank-row .esp-expandable-list__drag-handle-container {
    opacity: 0.4;
}

.esp-expandable-list__blank-row .esp-expandable-list__delete-row-btn-container,
.esp-expandable-list__blank-row .esp-expandable-list__delete-row-btn-container *,
.esp-expandable-list__blank-row .esp-expandable-list__drag-handle-container,
.esp-expandable-list__blank-row .esp-expandable-list__drag-handle-container * {
    pointer-events: none !important;
    cursor: default !important;
}

.esp-expandable-list__row:not(:first-child) {
    margin-top: 1px;
}

.esp-antiMultiRow .esp-expandable-list__row > div > div {
    height: auto !important;
}

.esp-expandable-list__row div[id$="_imageDiv"] {
    width: 21px;
}

.esp-expandable-list {
    border: 1px solid #ccc;
    border-collapse: collapse;
    position: relative;
}

.esp-expandable-list__drag-handle-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
    width: 15px;
    font-size: 16px;
    margin-left: -3px;
}

.esp-expandable-list__drag-handle {
    color: #aaa;
    cursor: grab;
}

.esp-expandable-list__dragging {
    position: absolute;
    opacity: 0.85;
    background: white;
    box-shadow: 0 0 12px lightgrey;
    border-radius: 5px;
    z-index: 999;
    overflow: hidden;
}
.esp-expandable-list__dropping {
    position: absolute;
    background: white;
    z-index: 999;
}

.esp-expandable-list__drag-handle:active,
.esp-expandable-list__dragging {
    cursor: grabbing;
}

.esp-expandable-list__drag-ghost {
    background-color: var(--base-medium-color);
    border-radius: 5px;
    border: 2px dotted var(--base-pressed-color);
    opacity: 0.25;
    box-sizing: border-box;
}

.esp-expandable-list__order-container {
    visibility: hidden;
}

/* Form Differ */
.esp-diff-table__btn-col {
    width: 4rem;
}

.form-differ__orig,
.form-differ__current {
    display: flex;
    width: fit-content;
}

.form-differ__orig .esp-expandable-list__delete-row-btn,
.form-differ__orig .esp-expandable-list__drag-handle-container {
    display: none;
}

.form-differ__col-names {
    display: flex;
    flex-direction: column;
}

/* Groupable View */

.esp-kanbanPanel,
.esp-kanbanPanel .x-panel-body,
.esp-kanbanPanel .x-box-inner,
.esp-kanbanPanel .x-box-item,
.esp-kanbanColumn {
    background: white;
}

.esp-kanbanColumn {
    position: relative;
    margin: 0px 5px 0px 5px;
}

.esp-kanbanColumn .x-panel-header {
    background: inherit;
    margin-bottom: 5px;
    padding: 0px;
}

.esp-kanbanColumn:not(.esp-kanbanColumn--empty) > .x-panel-header .x-title-text > div:first-child:last-child,
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) > .x-panel-header .x-title-text > span:first-child:last-child {
    width: calc(100% + 8px) !important;
    max-width: calc(100% + 8px) !important;
}

.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-header .x-title-text > div:first-child:last-child,
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-header .x-title-text > span:first-child:last-child {
    margin: -4px -4px -4px !important;
}

.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-header .x-title-text > div:first-child:last-child,
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-header .x-title-text > span:first-child:last-child,
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-header .x-title-text {
    padding: 4px 4px 4px !important;
    border-radius: 0px 0px 4px 4px !important;
}

.esp-kanbanColumn--empty > .x-panel-header {
    position: absolute !important;
    top: 0px !important;
    margin-left: 22px !important;
    transform-origin: top left;
    transform: rotate(90deg);
}

.esp-kanbanColumn--empty .x-panel-header {
    margin: 0px 0px 5px 0px;
}

.esp-kanbanColumn--empty > .x-panel-header * {
    width: 100% !important;
}

.esp-kanbanColumn--empty > .x-panel-header .x-title-text > div:first-child:last-child,
.esp-kanbanColumn--empty > .x-panel-header .x-title-text > span:first-child:last-child {
    width: calc(100% + 12px) !important;
    min-width: calc(100% + 12px) !important;
    max-width: calc(100% + 12px) !important;
}

.esp-kanbanColumn--empty > .x-panel-header .x-title-text > *:not(div:first-child:last-child),
.esp-kanbanColumn--empty > .x-panel-header .x-title-text > div:first-child:last-child *,
.esp-kanbanColumn--empty > .x-panel-header .x-title-text > *:not(span:first-child:last-child),
.esp-kanbanColumn--empty > .x-panel-header .x-title-text > span:first-child:last-child * {
    width: auto !important;
}

.esp-kanbanColumn.esp-kanbanColumn--empty .x-panel-header .x-title-text > div:first-child:last-child,
.esp-kanbanColumn.esp-kanbanColumn--empty .x-panel-header .x-title-text > span:first-child:last-child {
    margin: -3px -6px !important;
}

.esp-kanbanColumn--empty > .x-panel-header .x-title-text,
.esp-kanbanColumn--empty > .x-panel-header .x-title-text > div:first-child:last-child,
.esp-kanbanColumn--empty > .x-panel-header .x-title-text > span:first-child:last-child {
    border-radius: 0px;
    padding: 3px 6px !important;
}

.esp-kanbanColumn--empty > .x-panel-header .x-title-text,
.esp-kanbanColumn--empty > .x-panel-header .x-title-text * {
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.esp-kanbanColumn .x-panel-header .x-title-text {
    color: black;
    font-weight: 600;
    font-size: 14px;
}

.esp-kanbanColumn:not(.esp-kanbanColumn--empty),
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-header,
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-bodyWrap,
.esp-kanbanColumn:not(.esp-kanbanColumn--empty) .x-panel-body {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
}

.esp-kanbanColumn .x-panel-header *,
.esp-kanbanColumn .x-panel-body * {
    max-width: 100%;
}

.esp-kanbanItem,
#esp-kanbanDragPreview.esp-kanbanDraggingMore:after {
    max-width: 100%;
    background: white;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    overflow-wrap: break-word;
    border-radius: 4px;
    position: relative;
}

.esp-kanbanColumn--scrolling .esp-kanbanItem {
    margin-right: 3px;
}

.esp-kanbanItem.x-view-item-focused {
    outline-color: #888 !important;
}

.esp-kanbanItem:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    pointer-events: none;
    -webkit-transition: 0.1s ease-in-out;
    -o-transition: 0.1s ease-in-out;
    transition: 0.1s ease-in-out;
}

.esp-kanbanItem.dragging:before {
    background: hsl(216deg 90% 50%);
}

.esp-selectedKanbanItem:before {
    background: hsl(40deg 100% 50%);
}

.esp-kanbanItem:not(.dragging):not(.esp-selectedKanbanItem):before {
    opacity: 0;
}

.esp-kanbanItem.dragging:before,
.esp-selectedKanbanItem:before {
    opacity: 0.12;
}

.esp-kanbanColumn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsl(216deg 90% 50%);
    pointer-events: none;
    z-index: 999;
    -webkit-transition: 0.17s ease-in-out;
    -o-transition: 0.17s ease-in-out;
    transition: 0.17s ease-in-out;
}

.esp-kanbanColumn:not(.dropping):before {
    opacity: 0;
    transform: scale(0.90);
}

.esp-kanbanColumn.dropping:before {
    opacity: 0.1;
    transform: scale(1);
}

#esp-kanbanDragPreview {
    position: absolute;
    top: 100%;
    left: 100%;
    width: 250px;
}

#esp-kanbanDragPreview.esp-kanbanDraggingMore:after {
    content: attr(data-esp-msg);
    padding-top: 5px;
    padding-bottom: 5px;
    top: 5px;
}

.esp-kanbanCard {
    border-radius: 4px;
    border: 1.5px solid #d1d5db;
    overflow: hidden;
    margin: -11px;
    max-width: calc(100% + 22px) !important;
}

.esp-kanbanCardHeader {
    background: #dbeafe;
    padding: 8px 12px;
}

.esp-kanbanCardLineId {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    opacity: 0.6;
    margin-bottom: 4px;
}

.esp-kanbanCardTitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.esp-kanbanCardBody {
    background: #f3f4f6;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.esp-kanbanCardRow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px;
}

.esp-kanbanCardLabel {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.5;
    flex-shrink: 0;
}

.esp-kanbanCardValue {
    font-size: 12px;
    text-align: right;
}

.esp-sensitivedata-toggle[data-revealed]:before {
    content: "\f06e";
}

.esp-sensitivedata-toggle:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f070";
}

.esp-sensitivedata-toggle[data-revealed]:before {
    content: "\f06e";
}

/*--------------------
AMChart Customizations
--------------------*/

.amcharts--allowVerticalScrollbars[style*=width][style*=height] .amChartsLegend {
    max-height: 100%;
    overflow-y: auto !important;
}

/*-------------------
Resize Handles
--------------------*/

.x-grid-cell .esp-resize__drag-handle {
    display: none;
}

.esp-resize__drag-handle {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    overflow: hidden;
    z-index: 9;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-right: -5px;
    margin-bottom: -5px;
    cursor: nwse-resize;
}

.esp-fieldContainer--codeMirror .x-field:has(.CodeMirror-vscrollbar[style*="block"]) .esp-resize__drag-handle {
    right: 16px;
}

.esp-fieldContainer--codeMirror .x-field:has(.CodeMirror-hscrollbar[style*="block"]) .esp-resize__drag-handle {
    bottom: 16px;
}

.esp-resize__drag-handle:before {
    content: '\f0c9' !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #dadada;
    transform: rotate(-45deg) scale(2, 1);
    display: inline-block;
    position: absolute;
    bottom: -5px;
    right: -5px;
    pointer-events: none;
}

/*-------------------
Markdown Rendering
--------------------*/

/* Markdown rendered content in grid cells and forms */
.esp-markdown-rendered {
    font-size: 12px;
    line-height: 1.5;
    word-wrap: break-word;
}

.esp-markdown-rendered h1,
.esp-markdown-rendered h2,
.esp-markdown-rendered h3,
.esp-markdown-rendered h4,
.esp-markdown-rendered h5,
.esp-markdown-rendered h6 {
    margin: 0.3em 0 0.2em 0;
    font-weight: 600;
    line-height: 1.3;
}

.esp-markdown-rendered h1 { font-size: 1.4em; }
.esp-markdown-rendered h2 { font-size: 1.2em; }
.esp-markdown-rendered h3 { font-size: 1.1em; }
.esp-markdown-rendered h4 { font-size: 1em; }
.esp-markdown-rendered h5 { font-size: 0.9em; }
.esp-markdown-rendered h6 { font-size: 0.85em; }

.esp-markdown-rendered p {
    margin: 0.3em 0;
}

.esp-markdown-rendered code {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 1px 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.esp-markdown-rendered pre {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    overflow-x: auto;
    margin: 0.4em 0;
}

.esp-markdown-rendered pre code {
    background: none;
    border: none;
    padding: 0;
}

.esp-markdown-rendered blockquote {
    border-left: 3px solid #ccc;
    margin: 0.4em 0;
    padding: 0.2em 0.8em;
    color: #666;
}

.esp-markdown-rendered ul,
.esp-markdown-rendered ol {
    margin: 0.3em 0;
    padding-left: 1.5em;
}

.esp-markdown-rendered li {
    margin: 0.1em 0;
}

.esp-markdown-rendered a {
    color: #196eb3;
    text-decoration: underline;
}

.esp-markdown-rendered hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0.5em 0;
}

.esp-markdown-rendered img {
    max-width: 100%;
    height: auto;
}

.esp-markdown-rendered table {
    border-collapse: collapse;
    margin: 0.4em 0;
    font-size: 12px;
}

.esp-markdown-rendered table th,
.esp-markdown-rendered table td {
    border: 1px solid #ddd;
    padding: 4px 8px;
    text-align: left;
}

.esp-markdown-rendered table th {
    background: #f4f4f4;
    font-weight: 600;
}

.esp-markdown-rendered table tr:nth-child(even) {
    background: #fafafa;
}

/* Grid cell for markdown content — let the cell's natural scroll handle it */
.x-grid-cell .esp-markdown-rendered {
    overflow: visible;
}

/*-------------------
Checklist Fields
--------------------*/

/* Display checklists */

body.x-desktop .x-grid-cell-inner > .esp-checklist-display {
    height: 100%;
    overflow: auto;
}

body.x-desktop .esp-checklist-display {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

body.x-desktop .esp-checklist-display__buttons {
    margin-right: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

body.x-desktop .esp-checklist-display__buttons > *:not(:first-child) {
    margin-top: 3px;
}

.esp-checklist-display__items {

}

.esp-checklist-display__item {
    padding-left: calc(20px * var(--esp-checklist-item-level,0));
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.esp-checklist-display__item:not(:first-child) {
    margin-top: 4px;
}

.esp-checklist-display__item i {
    height: 0px;
    overflow: visible;
}

body.x-desktop .esp-checklist-display__item i:before {
    font-family: 'Material Icons';
}

body:not(.x-desktop) .esp-checklist-display__item i:before {
    font-family: 'FA 5 Free';
}

.esp-checklist-display__item i:before {
    font-style: normal;
    line-height: 14px;
}

body.x-desktop .esp-checklist-display__item i:before {
    font-size: 15px;
}

body:not(.x-desktop) .esp-checklist-display__item i:before {
    font-size: 16px;
    position: relative;
    top: -1px;
}

.esp-checklist-display__item span {
    text-wrap: wrap;
    word-break: break-word;
    line-height: 1.1;
}

body.x-desktop .esp-checklist-display__item span {
    padding-left: 3px;
}

body:not(.x-desktop) .esp-checklist-display__item span {
    padding-left: 6px;
}

body.x-desktop .esp-checklist-display__item--checked i:before {
    content: 'check_box';
}

body:not(.x-desktop) .esp-checklist-display__item--checked i:before {
    content: '\f14a';
}

.esp-checklist-display__item--checked i:before {
    color: var(--status-green-vibrant);
}

body.x-desktop .esp-checklist-display__item:not(.esp-checklist-display__item--checked) i:before {
    content: 'check_box_outline_blank';
}

body:not(.x-desktop) .esp-checklist-display__item:not(.esp-checklist-display__item--checked) i:before {
    content: '\f0c8';
}

.esp-checklist-display__item:not(.esp-checklist-display__item--checked) i:before {
    color: var(--status-red-dark);
}

.esp-checklist-display__item--checked span {
    color: var(--status-green-vibrant);
}

.esp-checklist-display__item:not(.esp-checklist-display__item--checked) span {
    color: var(--status-red-dark);
}

/* Interactive checklists */

.esp-checklist {
    background: white;
    border: 2px solid white;
    overflow: hidden;
}

.esp-checklist__scroller {
    overflow: auto;
    min-width: 100%;
}

.esp-checklist__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding-left: 3px;
    margin-left: calc(20px * var(--esp-checklist-item-level,0));
    position: relative;
    background: white;
}

body:not(.x-desktop) .esp-checklist__item:not(:first-child) {
    border-top: 5px solid white;
}

.esp-checklist__item:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -999999vw;
    z-index: 0;
}

.esp-checklist__item.esp-checklist__item--has-children:after {
    content: '';
    position: absolute;
    background:#eaeaea;
    height: 999999vh;
    width: 2px;
}

body.x-desktop .esp-checklist__item.esp-checklist__item--has-children:after {
    top: 22px;
    left: 11px;
}

body:not(.x-desktop) .esp-checklist__item.esp-checklist__item--has-children:after {
    top: 30px;
    left: 12px;
}

.esp-checklist__item--dropping-before {

}

.esp-checklist__item--dropping-after {

}

.esp-checklist__item--dropping-on {

}

.esp-checklist__buttons {
    margin-right: calc(20px * var(--esp-checklist-item-level,0));
    text-wrap: nowrap;
    position: absolute;
    right: 100%;
}

.esp-fieldContainer--disabled .esp-checklist__buttons {
    display: none !important;
}

body:not(.x-desktop) .esp-checklist__item:not(:focus-within) .esp-checklist__buttons,
body.x-desktop .esp-checklist__item:not(:hover) .esp-checklist__buttons {
    opacity: 0;
}

body:not(.x-desktop) .esp-checklist__item:focus-within .esp-checklist__buttons,
body.x-desktop .esp-checklist__item:hover .esp-checklist__buttons {
    opacity: 1;
}

.esp-checklist__buttons > * {
    font-family: 'Font Awesome 5 Free';
    display: inline-block;
}

.body.x-desktop .esp-checklist__buttons > *:not(:last-child) {
    margin-right: 5px;
}

body:not(.x-desktop) .esp-checklist__buttons > * {
    margin-right: 6px;
}

.esp-checklist__delete-btn {
    color: var(--status-red-dark);
    cursor: pointer;
    position: relative;
}

body.x-desktop .esp-chdcklist__delete-btn {
    font-size: 14px;
}

body:not(.x-desktop) .esp-checklist__delete-btn {
    font-size: 20px;
}

body.x-desktop .esp-checklist__delete-btn {
    font-size: 14px;
    top: 2px;
}

body:not(.x-desktop) .esp-checklist__delete-btn {
    font-size: 20px;
}

.esp-checklist__item:first-child:last-child:not(.esp-checklist__item--dragging) input:disabled ~ .esp-checklist__delete-btn {
    display: none !important;
}

.esp-checklist__delete-btn:before {
    content: '\f056';
}

.esp-checklist__drag-handle {
    color: var(--light-color, #919191);
    font-size: 18px;
    cursor: grab;
    position: relative;
    top: 3px;
}

.esp-checklist__drag-handle:before {
    content: '\f0dc';
}

.esp-checklist input {
    width: 0px;
    height: 0px;
    position: relative;
    z-index: 1;
    top: 1px;
}

.esp-checklist input[type="checkbox"] {
    position: relative;
    z-index: 1;
    top: 1px;

    /*There is a custom checkbox displayed with ::before. We were previously hiding it by making the width and height 0, 
    however, in firefox, this was also hiding the ::before, making neither the default of custom checkbox visible. 
    The appearance none solution allows us to hide the default checkbox, while still displaying the custom ::before in both Chrome and Firefox*/
    appearance: none;
    -webkit-appearance: none; /* For Chrome, Safari */
    -moz-appearance: none; /* For Firefox */
}

/*Keep everything else as it previously was*/
.esp-checklist input:not([type="checkbox"]) {
    width: 0px;
    height: 0px;
    position: relative;
    z-index: 1;
    top: 1px;
}

body.x-desktop .esp-checklist input {
    margin: 9px;
}

body:not(.x-desktop) .esp-checklist input {
    margin: 20px 14px 8px 14px;
}

.esp-checklist input:not(:disabled) {
    cursor: pointer;
}

.esp-checklist input:before {
    position: absolute;
}

body.x-desktop .esp-checklist input:before {
    font-size: 18px;
    top: -9px;
    left: -9px;
}

body:not(.x-desktop) .esp-checklist input:before {
    font-size: 28px;
    top: -23px;
    left: -14px;
}

body.x-desktop .esp-checklist input:not(:checked):before {
    font-family: 'Material Icons';
    content: 'check_box_outline_blank';
}

body:not(.x-desktop) .esp-checklist input:not(:checked):before {
    font-family: 'FA 5 Free';
    content: '\f0c8';
}

.esp-checklist input:disabled:before {
    color: #ccc;
}

.esp-checklist input:not(:disabled):not(:checked):before {
    color: var(--status-red-dark);
}

.esp-checklist input:checked:before {
    color: var(--status-green-vibrant, #66aa66);
}

body.x-desktop .esp-checklist input:checked:before {
    font-family: 'Material Icons';
    content: 'check_box';
}

body:not(.x-desktop) .esp-checklist input:checked:before {
    font-family: 'FA 5 Free';
    content: '\f14a';
}

.esp-checklist textarea {
    resize: none;
    overflow: hidden;
    width: 100%;
    padding: 3px;
    border: 0px;
    line-height: 1.15em;
    height: 1.15em;
	box-sizing: content-box;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
    outline: none;
    border: none;
    box-shadow: none;
}

body.x-desktop .esp-checklist textarea {
    font-size: 13px;
}

body:not(.x-desktop) .esp-checklist textarea {
    font-size: 15px;
}

.esp-checklist input:not(:checked) ~ textarea {
    color: var(--status-red-dark);
}

.esp-checklist input:checked ~ textarea {
    color: var(--status-green-vibrant);
}

/* Tri-state checkbox for filtering boolean fields */

.tristate-checkbox-off .x-form-checkbox-default:before,
.tristate-checkbox-unchecked .x-form-checkbox-default:before,
.tristate-checkbox-checked .x-form-checkbox-default:before {
    font-family: "Font Awesome 5 Free";
    content: '\f205';
    font-size: 23px;
    margin-top: -2px;
}

.tristate-checkbox-off .x-form-checkbox-default:before {
    color: #dcdcdc;
}

.tristate-checkbox-unchecked .x-form-checkbox-default:before {
    color: var(--status-red-vibrant);
}

.tristate-checkbox-checked .x-form-checkbox-default:before {
    color: var(--status-green-vibrant);
}

.tristate-checkbox-unchecked .x-form-checkbox-default {
    transform: scaleX(-1);
}

.x-form-checkbox:has(input:focus),
.x-form-radio:has(input:focus) {
    outline: 2px solid var(--base-focused-color);
    outline-offset: 1px;
}

.x-form-radio {
    border-radius: 50%;
}

.x-portal-column .x-portlet {
    border-radius: 10px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
}

.modern-title .x-panel-header-horizontal:hover,
.modern-sub-title .x-panel-header-horizontal:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.flex-modifier {
    display: flex;
    white-space: pre-wrap;  
}
@-moz-document url-prefix() {
    .flex-modifier {
        display: block;
        white-space: preserve-breaks;
    }
    .flex-modifier br {
        display: none;
    }
}

.x-tab .x-tab-inner,
.x-tab .x-tab-inner-default {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dashboards page tabs (every one closable, every one with an icon): a long title ran under the
   close x (UAT 2026-10-27). Two causes, both fixed here and scoped to that page:
   - the rule above overrides the theme's allowance for the icon (12px plus a 6px margin), so the
     title took the icon's room too. `.x-tab-icon-left` is on the tab's inner BUTTON, the parent of
     `.x-tab-inner`, not on `.x-tab` (a first attempt keyed on `.x-tab.x-tab-icon-left`, 2026-10-28,
     matched nothing);
   - the theme pads a closable tab's button 12px on the right while the x spans 5px-17px from the
     edge, so even the theme's own sizing overlapped by 5px. 22px clears it with a 5px gap. */
.esp-dashboards-panel .x-tab-closable .x-tab-button {
    padding-right: 22px;
}
.esp-dashboards-panel .x-tab-icon-left > .x-tab-inner,
.esp-dashboards-panel .x-tab-icon-left > .x-tab-inner-default {
    max-width: calc(100% - 18px);
}

.callreport-help .note a:hover {
    color: #5f7ba5; /* same blue as regular links */
    text-decoration: none; /* remove underline on hover */
}

.x-tab.enable-multi-line .x-tab-inner,
.x-tab.enable-multi-line .x-tab-inner-default {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}


.modern-tooltip {
    background-color: var(--alt-background-color);
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    border-radius: 12px !important;
    margin: 0;
}

.modern-tooltip .x-tip-body {
    padding: 0 !important;
    margin: 0 !important;
}

.modern-tooltip .tooltip-image {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: auto;
    padding: 8px;
}

.modern-tooltip .tooltip-header {
    background-color: var(--alt-background-color);
    font-size: 1.2em;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    border-radius: 12px !important;
    margin: 0;
}

.modern-tooltip.with-image .tooltip-header{
    border-bottom: 2px solid #007BFF;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.tab-dock {
    background: var(--faded-color);
    min-height: 31px;
}

.tab-dock:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    pointer-events: none;
    background: var(--alt-background-color);
}

a.menu-tab {
    width: 24px !important;
    height: 24px !important;
    top: 4px !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
    padding-top: 4px !important;
}

a.menu-tab span {
    color: var(--light-color);
}

a.search-tab {
    background-color: var(--faded-color) !important;
    border-top: 3px solid var(--faded-color) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--alt-background-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px 10px 0px 0px;
    margin-left: 4px !important;
    margin-right: 4px !important;
    width: 31px !important;
    padding-top: 6px !important;
    padding-left: 4px !important;
    overflow: visible !important;
    z-index: 1;
}

a.search-tab:before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: -15px;
    width: 16px;
    height: 16px;
    pointer-events: none;

    mask: linear-gradient(-45deg, black 30%, transparent 30%);
}

a.search-tab:after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: -15px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    mask: linear-gradient(45deg, black 30%, transparent 30%);
}

a.search-tab--active:before,
a.search-tab--active:after {
    background: radial-gradient(transparent 60%, var(--alt-background-color) 0%);
}

a.search-tab span {
    overflow: visible;
    color: var(--light-color) !important;
}

a.search-tab .fa-search {
    font-size: 1em;
    line-height: 1em;
    vertical-align: middle;
}

a.search-tab--active,
a.search-tab--active:hover {
    background-color: var(--alt-background-color, #f5f5f5) !important;
}

a.search-tab:hover span,
a.search-tab--active span {
    color: var(--color, #444) !important;
}

.x-tab:not(.x-tab-closable):not(.esp-tab-small)[style*="width: 1px;"] {
    display: none !important; 
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* SearchTab Grid */

.app-grid {
    overflow-y: auto;
    max-width: 1224px;
    margin: auto;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 288px);
    justify-content: center;
    gap: 16px;
}

.app-grid:empty {
    background-image: url(../images/core/at-no-dashboards.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 150px;
    height: 175px;
    margin-top: 200px
}

.esp-search-tab-banner--compact + div .app-grid:empty {
    margin-top: 100px;
}

.app-grid:empty:after {
    content: var(--empty-text);
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -1%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.app-item {
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: 16px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    justify-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 164px;
    position: relative;
    transition: transform 0.2s ease;
    transform: translateY(0);
}

.app-grid--no-filters .app-item {
    min-height: 126px;
}

.x-keyboard-mode .app-item.x-view-item-focused {
    outline: none !important;
}

.app-item:before {
    content: '';
    background: var(--border-color-1);
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    z-index: 0;
    border-radius: 16px;
}

.app-item:after {
    content: '';
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 15px;
}

.app-item:hover {
    transform: translateY(-8px);
}

.app-item:hover:before {
    background: linear-gradient(var(--app-icon-bg-color, var(--faded-color)), var(--border-color-1));
}

.app-item:hover:after {
    background: linear-gradient(var(--app-hover-bg-color, var(--alt-background-color)), white);
}

.app-item > * {
    z-index: 2;
}

.app-item > :not(:first-child) {
    margin-top: 12px;
}

.app-icon {
    width: 36px;
    height: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    color: var(--app-icon-color, var(--color));
    background: var(--app-icon-bg-color, var(--border-color-1));
}

.app-icon span {
    font-size: 18px;
}

.app-title {
    color: var(--color);
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: -1%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.app-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-filter {
    display: inline-block;
    border: 1px solid var(--border-color-2);
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.25%;
    font-weight: 500;
    color: var(--light-color);
}

/* SearchTab top section */

.esp-search-tab {
    overflow-x: hidden !important;
}

.esp-search-tab:not(.esp-search-tab--overflow) :is(.esp-search-tab-banner > div, .esp-search-tab-dataview) {
    scrollbar-gutter: stable;
    overflow-y: auto;
}

.esp-search-tab-banner {
    padding: 30px 12px 125px;
    position: relative;
    margin-bottom: -105px;
    background: linear-gradient(var(--base-color), var(--base-dark-color));
}

.esp-search-tab-banner--compact {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin-bottom: 10px !important;
}

.esp-search-tab-banner--compact:before {
    background-image: none !important;
    opacity: 0.5 !important;
    background: var(--base-color) !important;
}

.esp-search-tab-banner:before {
    content: '';
    background-image: url(../images/backgrounds/morse-code-corner-bl.svg);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.12;
    pointer-events: none;
}

.esp-search-tab-banner:after {
    content: '';
    background-image: url(../images/backgrounds/morse-code-corner-tr.svg);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.12;
    pointer-events: none;
}

.esp-search-tab-banner .x-panel-body {
    background: transparent;
    max-width: 100%;
}

.esp-search-tab-banner-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 288px);
    justify-content: center;
    gap: 16px;
}

.esp-search-tab-banner-inner > * {
    overflow: visible !important;
    grid-column: 1/-1;
}

.esp-search-tab-header .x-panel-body {
    color: white;
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -1%;
    position: relative;
    padding-bottom: 30px;
    padding-top: 60px;
}

.esp-search-tab-header .x-panel-body:after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 42px;
    height: 6px;
    background: var(--base-light-color);
    border-radius: 999px;
}

.esp-search-tab-field-container,
.esp-search-tab-field-container :is(.x-panel-body, .x-box-inner, .x-box-target, .x-field, .x-form-item-body) {
    max-width: 100%;
}

.esp-search-tab-field-input input {
    background: white !important;
    border-radius: 999px;
    border: 1px solid var(--border-color-2) !important;
    padding: 0px 50px 0px 47px !important;
    font-size: 14px !important;
}

.esp-search-tab-field-input input::placeholder{
    color: var(--light-color);
}

.esp-search-tab-field-input:before {
    font-family: 'atlas-basic-ui' !important;
    content: "magnifying-glass";
    position: absolute;
    left: 24px;
    top: 18px;
    color: var(--light-color);
    z-index: 1;
    font-size: 16px !important;
}

.esp-search-tab-field-input.x-field-focus input {
    border-color: var(--accent-color) !important;
}

.esp-search-tab-field-input.x-field-focus:before {
    color: var(--accent-color);
}

.esp-search-tab-field-input.x-field-focus input {
    border-width: 2px !important;
    padding: 0px 49px 0px 46px !important;
}

.esp-search-tab-field-input .x-form-trigger {
    border: none !important;
    position: absolute;
    top: 19px;
    right: 20px;
    display: none;
    font-size: 12px;
    color: var(--color);
}

.esp-search-tab-field-input.not-empty .x-form-trigger {
    display: block;
}

.esp-search-tab-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.esp-search-tab-filters:empty {
    display: none !important;
}

.esp-search-tab-filter {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px 5px 8px;
    color: white;
    font-weight: 300;
    font-size: 14px;
    line-height: 16px;
    border: 1px solid var(--border-color-2);
    border-radius: 999px;
    cursor: pointer;
}

.x-keyboard-mode .esp-search-tab-filter.x-view-item-focused {
    outline: none !important;
}

.esp-search-tab-filter-count {
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 3%;
    background: rgba(255, 255, 255, 20%);
    border-radius: 999px;
    padding: 2px 6px;
    margin-right: 7px;
}

.esp-search-tab-filter--active {
    background: white;
    color: var(--color);
    font-weight: 500;
}

.esp-search-tab-filter--active .esp-search-tab-filter-count {
    color: var(--color);
    background: rgba(0, 0, 0, 12%);
}

.esp-search-tab-filter .esp-search-tab-filter-close {
    display: none;
    color: var(--light-color);
    margin-left: 10px;
    font-size: 15px;
    transition: color 0.2s ease;
}

.esp-search-tab-filter--active .esp-search-tab-filter-close {
    display: inline-block;
}

.esp-search-tab-filter--active:hover .esp-search-tab-filter-close {
    color: var(--color);
}

.esp-search-tab-filter--clear {
    border: none !important;
    padding: 5px 16px;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s ease;
    display: none;
}

.esp-search-tab-filter--active ~ .esp-search-tab-filter--clear {
    display: inline-flex;
}

.esp-search-tab-filter--clear:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Modern tree */

.modern-tree-list-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 3px 0;
    background-color: #fafafa;
    flex: 1;
    box-sizing: border-box;
}

.modern-tree-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.modern-tree-text {
    margin-left: 10px;
    flex-grow: 1;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.modern-tree-folder {
    font-size: 14px;
    font-weight: 600;
}

.data-load-failed-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 16px;
    z-index: 1000;
    padding: 30px;
    text-align: center;
    line-height: 1.5;
}

/*LOGO LOADING SCREEN*/
.modern-spinner-mask-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modern-spinner-orbit-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modern-spinner-rotate 1s linear infinite;
    margin-bottom: 10px;
}
  
.modern-svg-spinner-container {
    position: absolute;
    display: inline-block;
}

.fixed-spinner {
    width: 48px;
    height: 48px;
}
  
.modern-spinner-half1 .modern-spinner-svg {
    transform-origin: center;
}
  
.modern-spinner-half1 .modern-spinner-path {
    fill: #1b3a5e;
}
  
.modern-spinner-half2 {
    transform: rotate(180deg);
}
  
.modern-spinner-half2 .modern-spinner-svg {
    transform-origin: center;
}
  
.modern-spinner-half2 .modern-spinner-path {
    fill: #00a7e0;
}
  
@keyframes modern-spinner-rotate {
    100% {
        transform: rotate(360deg);
    }
}

.custom-mask-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--alt-background-color, rgba(255, 255, 255, 0.8));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modern-loading-text {
    margin-top: 30px;
    font-weight: bold;
    color: #333;
    font-size: 20px;
}

/* Table edit mode */

.esp-addTableRowBtn {
    background: var(--base-color);
    border-radius: 50%;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 18px;
    text-align: center;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
}

.esp-addTableRowBtn.x-masked {
    color: transparent;
    text-shadow: none;
}

.esp-addTableRowBtn .x-mask {
    opacity: 0 !important;
}

.esp-addTableRowBtnSpinner {
    position: absolute;
    top: 10px;
    left: 10px;
    background: transparent !important;
}

.esp-addTableRowBtnSpinner .fixed-spinner {
    max-width: 14px;
    max-height: 14px;
}

.esp-addTableRowBtnSpinner path {
    fill: white !important;
}

/* Table Report Panel */

.esp-reportViewer-tableReportPanel-info-tab-section {
    padding: 10px;
    width: 1000px;
}

.esp-reportViewer-tableReportPanel-info-tab-subsection {
    margin-left: 40px;
}

.esp-tableSummaryReport-tree-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--border-color-1, #e3e7eb);
    border-radius: 8px;
    /* No pinned 330px (that made the horizontal scrollbar); the tree injects this into an
       inline node, so alignment comes from a min-width and long names grow within reason. */
    width: auto;
    min-width: 290px;
    max-width: 380px;
    margin: 4px 6px 4px 2px;
    background-color: var(--background-color, #fff);
    box-sizing: border-box;
    cursor: pointer;
    min-width: 0;
    transition: border-color 120ms ease, background-color 120ms ease;
}
.x-grid-item-over .esp-tableSummaryReport-tree-list-item {
    background-color: var(--hovered-background-color, #f6fafd);
    border-color: var(--border-color-2, #c8d8e6);
}
.x-grid-item-selected .esp-tableSummaryReport-tree-list-item {
    border-color: var(--base-color, #2f6fa7);
    box-shadow: inset 3px 0 0 var(--base-color, #2f6fa7);
}

.esp-tableSummaryReport-tree-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: var(--alt-background-color, #f0f0f0);
    border-radius: 8px;
    flex-shrink: 0;
}

.esp-tableSummaryReport-tree-icon {
    color: var(--base-dark-color, #003366);
    font-size: 16px;
}

.esp-tableSummaryReport-tree-text-wrapper {
    flex: 1;
    color: #333;
    text-align: left;
    padding: 0;
    /* min-width 0 is what lets the ellipses below actually happen inside a flex row. */
    min-width: 0;
}

.esp-tableSummaryReport-tree-text-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color, #1f2937);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.esp-tableSummaryReport-tree-text-extra {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    padding: 2px 5px 0px 20px;
}

.esp-tableSummaryReport-tree-text-extra-sourceTable-text,
.esp-tableSummaryReport-tree-text-extra-creator-text {
    color: var(--base-dark-color, #003366);
    font-style: italic;
}
/* §8.20 Report Elements tree: the glyph badge is the element's FROZEN chart family, tinted per
   family so the tree reads at a glance. The meta line replaces the stacked Creator/Source rows. */
.esp-tableSummaryReport-tree-text-meta {
    font-size: 11px;
    color: var(--light-color, #8a93a0);
    padding-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
[class*="esp-reglyph-"] .esp-tableSummaryReport-tree-icon {
    box-shadow: none;
    font-size: 16px;
    color: inherit;
}
.esp-reglyph-bar { background-color: #e8f1f8; color: #2f6fa7; }
.esp-reglyph-line { background-color: #e9f5ee; color: #2e8b57; }
.esp-reglyph-area { background-color: #e6f4f3; color: #22867a; }
.esp-reglyph-pie { background-color: #f9efe4; color: #b0722e; }
.esp-reglyph-gauge { background-color: #f3ecf8; color: #7d4fa7; }
.esp-reglyph-table { background-color: #eef0f2; color: #5a6570; }
.esp-reglyph-legacy { background-color: #f4f4f4; color: #98a0a8; }
.esp-detailReport-tree-list-item {
    display: flex;
    align-items: center;
    padding: 0px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 3px 0;
    background-color: #fafafa;
    width: 350px;
    flex: 1;
    box-sizing: border-box;
    cursor: pointer;
}

.esp-detailReport-tree-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.esp-detailReport-tree-icon {
    color: var(--base-dark-color, #003366);
    font-size: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.esp-detailReport-tree-icon-default {
    color: #888;
    font-size: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.esp-detailReport-tree-text-wrapper {
    margin-left: 10px;
    flex-grow: 1;
    color: #333;
    text-align: left;
    padding: 10px 0px 5px;
}

.esp-detailReport-tree-text-name {
    font-size: 14px;
    font-weight: bold;
}

.esp-detailReport-tree-text-extra {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    padding: 2px 5px 0px 20px;
}

.esp-detailReport-tree-text-extra-sourceTable-text,
.esp-detailReport-tree-text-extra-creator-text {
    color: var(--base-dark-color, #003366);
    font-style: italic;
}

.esp-detailReport-curatedTableFolder {
    padding: 0 2px 2px 2px;
    display: flex;
    flex-direction: row;
}

.esp-detailReport-curatedTableFolder-icon {
    color: var(--base-dark-color, #003366);
    font-size: 14px;
}

.esp-detailReport-curatedTableFolder-name {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 600;
}

.esp-auto-page-grid-view-dirty-icon .x-tab-icon-el {
    color: goldenrod !important;
}

.esp-auto-page-grid-view-dirty-icon .x-tab-icon-el {
    color: goldenrod !important;
}

.callreport-help {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color, #2e2e2e);
    padding: 20px;
    background-color: #ffffff;
    overflow-y: auto;
    max-height: 100%;
    max-width: 1000px;
    margin: auto;
}

.callreport-help :is(p,ul,ol,.help-title,.help-body,.note) {
    margin-top: 0px;
    margin-bottom: 20px;
}

.callreport-help .help-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color, #5f7ba5);
    padding-top: 15px;
}

.callreport-help .help-body {
    color: var(--color, #3a3a3a);
}

.callreport-help .help-body:last-child {
    margin-bottom: 0;
}

.callreport-help a {
    color: var(--base-color, #5f7ba5);
    text-decoration: none;
    font-weight: 500;
}

.callreport-help a:hover {
    text-decoration: underline;
    color: var(--base-color, #4a6183);
}

.callreport-help .link-like {
    color: var(--base-color, #5f7ba5);
    cursor: pointer;
    text-decoration: underline;
}

.callreport-help .link-like:hover {
    color: var(--base-color, #4a6183);
}

.callreport-help .tab-ref {
    font-weight: 600;
    color: var(--color, #2e2e2e);
}

/* Main title */
.callreport-help .help-main-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color, #2e2e2e);
}

.callreport-help .note {
    background-color: var(--alt-background-color, #fff8e1); /* soft yellow highlight */
    padding: 20px 25px;
    border-radius: 4px;
    color: var(--color, #4a3f2d); /* darker text for readability */
}

.callreport-help .note i {
    margin-right: 6px; /* tiny spacing after the ? icon */
}

.callreport-help .note .help-icon-inline {
    margin-right: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Panel container & body */
.comchat-panel .x-panel-body {
    background: #f0f2f5;
    padding: 12px;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.comchat-panel *:focus,
.comchat-panel *:focus-visible,
.comchat-panel .x-focus,
.comchat-panel .x-btn-focus,
.comchat-panel .x-item-focus,
.comchat-panel .x-grid-item-focused,
.comchat-panel .x-view-item-focused {
    outline: none !important;
    box-shadow: none !important;
}


.comchat-item {
    padding: 20px 10px 10px 10px;
    clear: both;
    user-select: 'text';
    pointer-events: 'auto';
}

.comchat-item-without-header {
    padding: 0px 10px 10px 10px;
    clear: both;
    user-select: 'text';
    pointer-events: 'auto';
}

.comchat-item:hover {
  background-color: #f4f4f4;
}

.comchat-item-without-header:hover {
  background-color: #f4f4f4;
}
  
.chat-from {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    font-weight: bold;
}
  
.chat-text {
    font-size: 16px;
    line-height: 1.4;
    padding: 18px 10px;
    user-select: text;
    cursor: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.chat-text-internal {
    font-size: 20px;
    line-height: 1.4;
    color: #cf201d;
}

.modern-messaging-text-coms {
    color: #000000;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(7, 7, 7, 0.1);
    font-size: 1rem;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.75rem;
    text-align: left;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.chat-header {
    gap: 0.5rem;
    display: flex;
    margin-left: 20px;
}
.chat-header-currentUser {
    gap: 0.5rem;
    display: flex;
    margin-right: 20px;
    text-align: right;
    justify-content: flex-end;
}
  
.chat-duration {
    margin-left: 0.5em;
    font-size: 0.85em;
    color: #888;
}
.chat-timestamp {
    margin-left: 0.5em;
    font-size: 16px;
    color: #888;
}
.chat-duration .fa {
    margin-right: 0.2em;
}


.status-change-boxes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 20px 20px 20px;
}
  
.status-box {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 40px;
    border-radius: 20px;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    white-space: nowrap;
    min-width: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 30%;
}
.status-arrow::before {
  content: "➔";
  color: #aaa;
  font-size: 1.2em;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

.callreport-help .note a:hover {
    color: #5f7ba5; /* same blue as regular links */
    text-decoration: none; /* remove underline on hover */
}

.changelog-dropdown summary {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #057186;
    width: 100%;
    text-align: left;
}

.changelog-dropdown[open] summary {
    border: none;
}

.changelog-dropdown div {
    padding: 10px;
    border-radius: 6px;
    line-height: 1.5;
    background-color: rgba(0, 0, 0, 0.06);
    user-select: text;
    cursor: auto;
}

.changelog-dropdown[open] {
    border-radius: 6px;
    padding-bottom: 10px;
}

.dropdown-details {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 42px;
  cursor: pointer;
  font-family: Roboto, sans-serif;
  padding: 0px 12px 0px 12px;
  border: 1px solid var(--border-color-2, #d1d8e0);
  border-radius: 10px;
  margin: 3px 6px;
  gap: 0px;
  transform: translateY(0px);
}

.dropdown-details summary::-webkit-details-marker,
.dropdown-details summary::marker {
  display: none;
  content: "";
}

.dropdown-details summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: normal;
  height: fit-content;
  gap: 0.4em;
  min-height: 42px;
  font-weight: 400;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  color: var(--base-dark-color, #2d5e86);
  margin: 0;
}

.dropdown-details summary::before {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  color: var(--base-dark-color, #2d5e86);
  transform: rotate(-90deg);
  transition: transform 0.25s ease, color 0.25s ease;
}

.dropdown-details[open] summary::before {
  display: inline-flex;
  align-items: center;
  color: var(--base-dark-color, #2d5e86);
  transform: rotate(0deg);
}

.dropdown-details p {
  margin: 10px 0px 10px 0px;
  line-height: 1.5;
  font-size: 13px;
  transition: all 0.3s ease;
  color: var(--panel-outline-color,#444);
}

.panel-no-styling {
    background: rgba(0, 0, 0, 0.0);
}

.modern-messaging-text {
    color: #000000;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(7, 7, 7, 0.1);
    font-size: 1rem;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.75rem;
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: left;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.modern-messaging-text-received-modifier {
    background-color: #ececed;
    margin-right: 15%;
    margin-left: 20px;
}

.modern-messaging-text-received-modifier-typing {
    width: 100px;
    align-self: flex-start;
    flex-grow: 0; 
    display: flex;
}

.modern-messaging-text-sent-modifier {
    background-color: #c8d9fe;
    margin-left: 15%;
    margin-right: 20px;
}

.tableColumn-row-clamp {
    max-width: 100px;
    padding: 10px 12px;
    white-space: normal;      /* allow multi-line */
}
  
.tableColumn-row-clamp summary::-webkit-details-marker,
.tableColumn-row-clamp summary::marker {
    display: none;
    content: "";
}

.tableColumn-row-clamp summary {
    cursor: pointer;
    user-select: none;

    /* collapsed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 40px; 
}

.tableColumn-row-clamp summary::before {
    content: "\f27a";
    font-family: 'FontAwesome';
    font-weight: 900;
    display: inline-block;
    margin-right: 0.5em;
    color: var(--base-color, #196eb3);
}

/* expanded state */
.tableColumn-row-clamp[open] summary {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-height: none;
}

.esp-toast.x-window-default,
.esp-toast .x-window-body-default {
    background: rgba(255, 255, 255, 0.5);
}

.esp-toast-row {
    padding: 0px 5px;
    background: transparent;
}

.esp-toast-row-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

.esp-toast-icon {
    font-size: 18px;
    color: #00383F;
}

.esp-toast-icon.fa-check {
    color: #2F7F18;
}

.esp-toast-icon.fa-times {
    color: #BA1A1A;
}

.esp-toast-icon.fa-exclamation-triangle {
    color: #FFD65C;
}

.esp-toast-text {
    display: flex;
    flex-direction: column;
}

.esp-toast-title {
    font-weight: 600;
    font-size: 14px;
}

.esp-toast-msg {
    font-size: 12px;
}

.esp-toast.x-window-default,
.esp-toast .x-window-body-default {
    background: rgba(255, 255, 255, 0.5);
}

.esp-toast-row {
    padding: 0px 5px;
    background: transparent;
}

.esp-toast-row-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

.esp-toast-icon {
    font-size: 18px;
    color: #00383F;
}

.esp-toast-icon.fa-check {
    color: #2F7F18;
}

.esp-toast-icon.fa-times {
    color: #BA1A1A;
}

.esp-toast-icon.fa-exclamation-triangle {
    color: #FFD65C;
}

.esp-toast-text {
    display: flex;
    flex-direction: column;
}

.esp-toast-title {
    font-weight: 600;
    font-size: 14px;
}

.esp-toast-msg {
    font-size: 12px;
}

/* Empty-state placeholder — used when a panel has no content to display */
.esp-emptyState {
    font-family: arial, sans-serif;
    font-size: 13px;
    color: #555;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.esp-emptyState__icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: #999;
}

.esp-emptyState__title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.esp-emptyState__body {
    line-height: 1.5;
}

.esp-emptyState__footer {
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}

/*--------------------
ESP-L LAYOUT LIBRARY (layout editor v2)
Contract: docs/DRAGDROP-EDITOR-CONTRACT.md section 11. Container-intrinsic
responsiveness: no media queries and no JS relayout — auto-fit/minmax makes a
template lay out correctly at ANY width its container happens to have (full page,
editor canvas, or an embed inside a form panel). Enumerated knobs are classes;
numeric knobs are CSS custom properties the editor sets inline. Lives in esp.css
(not a separate file) because esp.css is the one stylesheet every render path —
app pages, report web/print heads, the pure-v2 head, PDF generation — already
loads; a separate file would need a wiring point in each of those.
-----------------------*/

:root {
    --esp-l-space-s: 8px;
    --esp-l-space-m: 16px;
    --esp-l-space-l: 24px;
}

/* page — the centered wrapper, kept: content centered, width-capped on big screens.
   Replaces .esp-centeredWrapper (a display:table shrink-to-fit hack with no width
   knob); the old class stays recognized by the editor but is no longer inserted. */
.esp-l-page {
    max-width: var(--esp-l-page-max, 1200px);
    /* Min Width (user 2026-10-01): below it the page stops shrinking and the
       report's frame scrolls sideways, rather than every grid rewrapping into a
       column too slim to read. Unset = no minimum. min-width beats max-width in
       CSS, so a min above the max simply wins. */
    min-width: var(--esp-l-page-min, 0px);
    margin-left: auto;
    margin-right: auto;
    padding: var(--esp-l-space-m);
    box-sizing: border-box;
}
.esp-l-page-bg {
    background-color: var(--alt-background-color, #f5f5f5);
    border-radius: 10px;
}

/* Vertical rhythm BETWEEN stacked layout blocks — owned by the context, never the
   block (user question 2026-09-04; the Every Layout "Stack" idiom). A margin built
   into grids would double-space inside gap-managed containers and leak constraints
   into custom designs; this fires only between ADJACENT esp-l siblings whose parent
   does not already own a gap (grid/row/stack do), adds no first/last edge space,
   and :where() keeps it at zero specificity so any author rule overrides it. */
:where(:not(.esp-l-grid, .esp-l-row, .esp-l-stack))
  > :where(.esp-l-grid, .esp-l-page, .esp-l-card, .esp-l-row, .esp-l-stack,
           esp-chart, esp-metriccard, esp-table)
  + :where(.esp-l-grid, .esp-l-page, .esp-l-card, .esp-l-row, .esp-l-stack,
           esp-chart, esp-metriccard, esp-table) {
    margin-block-start: var(--esp-l-space-m);
}
/* The data elements joined the rhythm 2026-09-08 (user screenshot: a chart tile
   directly under a grid sat flush against it) — a chart/card at page level is a
   tile like any layout block, and its siblings deserve the same breathing room.
   esp-table rides along for draft 2. Inside gap-managed containers the parent
   guard above keeps this inert, exactly as for the layout blocks. */
.esp-l-pad-none { padding: 0; }
.esp-l-pad-s { padding: var(--esp-l-space-s); }
.esp-l-pad-l { padding: var(--esp-l-space-l); }

/* grid — DIRECT children are the cells; no cell wrapper element. The browser owns
   wrapping: columns = as many min-cell-width tracks as fit, cells fill whole tracks,
   so edges land flush and spans align to shared grid lines (no snap-sizing needed).
   min(var,100%) keeps a wide min-cell-width from overflowing a narrow container. */
.esp-l-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(var(--esp-l-min, 320px), 100%), 1fr));
    /* A span wider than the fitted track count creates implicit tracks; keeping them
       zero-width makes a too-wide span degrade to "as wide as fits" (usually the full
       row) instead of overflowing the container (contract 11.2 span note). Measured:
       a span-2 card in a 360px grid overflowed to 560px with min-sized implicit
       tracks; with 0px it renders full-width. */
    grid-auto-columns: 0px;
    gap: var(--esp-l-space-m);
    /* stretch (2026-09-08, was start): cells equalize to the row's tallest item so
       mixed-height cards share top AND bottom edges — the standard BI-dashboard
       row look. Metric cards fill the stretched cell and bottom-anchor their
       sparkline (espdoc-runtime's card rules); charts carry explicit heights, and
       plain fields' containers are transparent, so nothing else changes visibly. */
    align-items: stretch;
}
/* fill-mode: auto-fit (default) lets a LONE item grow across the row, and the
   runtime's fillGridRows stamps a short last row's trailing item to absorb the
   leftover columns (CSS can't: auto-fit only collapses tracks NO row uses, and
   a full first row pins the count — user 2026-09-10). esp-l-fill (Keep empty
   tracks) is the strict-columns opt-out: auto-fill, holes allowed. */
.esp-l-grid.esp-l-fill {
    grid-template-columns: repeat(auto-fill, minmax(min(var(--esp-l-min, 320px), 100%), 1fr));
}
/* Metric-card floor (user 2026-10-01): a grid with a metric card ANYWHERE inside
   never makes tracks narrower than 220px, whatever Min Cell Width says. Anywhere,
   not just as a direct child: the grid that sizes a card is usually several levels
   up (a 15% outer grid of stacks of panels gave ~100px cards at an 800px window,
   and a child-only :has() never saw them). 220 is the TRACK; a card nested in a
   panel sits ~40px inside it, and a width sweep of a real nested dashboard
   (700-1500px) kept every card at >= 180px with 220 (180 still dipped to ~140).
   A grid whose cells ARE the cards (directly, or one stack down) has no chrome
   between track and card, so it floors at 180 -- 220 there stacked a panel's
   cards one-up at widths where two 180px cards fit.
   The floor sits on the tracks so the grid drops a column instead of squeezing.
   It HOLDS below the container, too (user 2026-10-01, the Filters splitter dragged
   until the report was ~90px wide: cards went to 40px, one letter per line): the
   track is min(...,100%) as usual -- an author's wide Min Cell Width still shrinks
   to a narrower container -- but never under the floor, so a container narrower
   than one card overflows and the report's frame scrolls sideways, the same as a
   wide table. The card element carries the matching 180px min-width for the cells
   no grid sizes (espdoc-runtime). Edge case: a card-holding grid INSIDE a panel
   inside a floored track (panel > grid > panel > card) floors at 220 within ~180
   and pokes ~40px past the outer panel, only once the report is scrolling anyway.
   Specificity: the :has() outranks .esp-l-fill alone, so fill-mode needs its own
   rule. fillGridRows only ever narrows the track COUNT from the computed one, so
   it never undercuts the floor. */
.esp-l-grid:has(esp-metriccard) {
    --esp-l-card-floor: 220px;
    grid-template-columns: repeat(auto-fit, minmax(max(min(max(var(--esp-l-min, 320px), var(--esp-l-card-floor)), 100%), var(--esp-l-card-floor)), 1fr));
}
.esp-l-grid.esp-l-fill:has(esp-metriccard) {
    grid-template-columns: repeat(auto-fill, minmax(max(min(max(var(--esp-l-min, 320px), var(--esp-l-card-floor)), 100%), var(--esp-l-card-floor)), 1fr));
}
.esp-l-grid:has(> esp-metriccard, > .esp-l-stack > esp-metriccard) {
    --esp-l-card-floor: 180px;
}
/* Metric cards in a ROW stack rather than scroll (D6, accepted 2026-10-06 on the condition
   that stacking always comes before a sideways scroll, which is fine only once a single card
   cannot fit). A row never wraps, and with the 180px card floor four cards in a row scrolled
   sideways below ~800px while one card per line would have fit (measured: grids wrapped
   correctly at every width; the row overflowed at 600px and under). A row holding cards --
   directly, or one stack down, the grid floor's own selector -- wraps, and each card (or
   stack of cards) starts at the floor and shares the line, so a wide row looks as it did
   (equal cards across) and a narrow one stacks them. */
.esp-l-row:has(> esp-metriccard, > .esp-l-stack > esp-metriccard) {
    flex-wrap: wrap;
}
.esp-l-row > esp-metriccard,
.esp-l-row > .esp-l-stack:has(> esp-metriccard) {
    flex: 1 1 180px;
}
.esp-l-gap-s { gap: var(--esp-l-space-s); }
.esp-l-gap-l { gap: var(--esp-l-space-l); }

/* span — on any direct grid child. Spans collapse gracefully: auto-fit never makes
   more tracks than fit, and -1 always means "to the last line". */
.esp-l-span-2 { grid-column: span 2; }
.esp-l-span-3 { grid-column: span 3; }
.esp-l-span-4 { grid-column: span 4; }
.esp-l-span-full { grid-column: 1 / -1; }
/* When the grid is too narrow for two minimum tracks, a numeric span still creates
   an IMPLICIT second column — zero-width by grid-auto-columns above — and grid
   auto-placement then parks later span-1 siblings IN it, where their content
   min-width paints past the container (user repro 2026-09-08: a narrow canvas put
   the second metric card half off-screen behind a horizontal scrollbar). Below two
   tracks every numeric span degrades to full-row, so implicit columns never arise.
   669px = 2 × 320px minimum tracks + the default 16px gap + rounding margin; a
   custom --esp-l-min drifts from this breakpoint, which errs on the safe (stacked)
   side for larger minimums. */
.esp-l-grid { container-type: inline-size; }
@container (max-width: 669px) {
    .esp-l-span-2, .esp-l-span-3, .esp-l-span-4 { grid-column: 1 / -1; }
}
/* In a one-track grid a numeric span would force implicit tracks; when the container
   is narrower than two minimum cells could ever be, grid items simply wrap — authors
   should prefer span-full for must-be-wide content (contract 11.2). */

/* stack — a margin/padding-free vertical group: stacks several short items into one
   grid cell (or anywhere) without a card's chrome or the page's framing. The old
   multiCol columns map onto this (Modernize converts them). */
.esp-l-stack {
    display: flex;
    flex-direction: column;
    gap: var(--esp-l-space-s);
    min-width: 0;
}
.esp-l-gap-m { gap: var(--esp-l-space-m); }

/* row — flex, for genuinely one-dimensional strips with alignment semantics
   (a title with right-aligned actions). Replaces the five legacy row variants. */
.esp-l-row {
    display: flex;
    align-items: center;
    gap: var(--esp-l-space-m);
    min-width: 0;
}
.esp-l-row.esp-l-wrap { flex-wrap: wrap; }
.esp-l-justify-center { justify-content: center; }
.esp-l-justify-end { justify-content: flex-end; }
.esp-l-justify-between { justify-content: space-between; }
.esp-l-align-start { align-items: flex-start; }
.esp-l-align-end { align-items: flex-end; }
.esp-l-align-stretch { align-items: stretch; }

/* card — panel-with-title; reuses the existing .esp-panel/.esp-panelTitle CSS
   verbatim (the esp-l-card class is the v2 identity marker, and scopes the parts).
   The content area is the drop target; the title is edited in place. */
.esp-l-card > .esp-panelContent {
    padding-top: var(--esp-l-space-s);
}
.esp-l-card.esp-l-notitle > .esp-panelTitle {
    display: none;
}
/* Cards sit flush inside grid/page spacing; the legacy 10px outer margin would
   double up with grid gap. */
.esp-l-grid > .esp-l-card,
.esp-l-page > .esp-l-card,
.esp-l-row > .esp-l-card {
    margin: 0;
}

/* Live-form integration: the modern field chrome shrink-wraps its container
   (width: auto !important, 3px 6px margins — the inline-flex flow look). Inside an
   esp-l container the CELL owns sizing and the gap owns spacing, so a field box
   fills its cell flush — matching what the editor canvas shows. (addFieldClasses
   also skips tagging esp-l parents with esp-fieldContainerWrap, whose inline-flex
   out-specifies and silently kills display:grid.) */
.x-desktop .esp-l-grid > .esp-fieldContainer,
.x-desktop .esp-l-stack > .esp-fieldContainer,
.x-desktop .esp-l-row > .esp-fieldContainer {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/*-------------------------------
 REPORT TABLE ENHANCEMENTS
 Reusable classes for espDoc report tables with scroll, sticky columns,
 zebra striping, collapsible sections, and refined styling.
---------------------------------*/

/* Scroll wrapper - provides horizontal scroll and visual framing */
.esp-report-scroll {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

/* Enhanced table base */
.esp-report-scroll table.esp-report-table {
    width: 100%;
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    table-layout: auto;
}

/* Zebra striping */
.esp-report-scroll table.esp-report-table tbody tr:nth-child(even) td {
    background-color: #f7f9fc;
}
.esp-report-scroll table.esp-report-table tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

/* Hover - overrides zebra */
.esp-report-scroll table.esp-report-table tbody tr:hover td {
    background-color: #e8f0fe !important;
}

/* Sticky first column */
.esp-report-scroll table.esp-report-table--sticky-col th:first-child,
.esp-report-scroll table.esp-report-table--sticky-col td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    min-width: 160px;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 2px solid #cbd5e0;
}
/* Sticky col needs explicit bg so scrolled content doesn't show through */
.esp-report-scroll table.esp-report-table--sticky-col tbody tr:nth-child(even) td:first-child {
    background-color: #f7f9fc;
}
.esp-report-scroll table.esp-report-table--sticky-col tbody tr:nth-child(odd) td:first-child {
    background-color: #ffffff;
}
.esp-report-scroll table.esp-report-table--sticky-col tbody tr:hover td:first-child {
    background-color: #e8f0fe !important;
}

/* Sticky header row */
.esp-report-scroll table.esp-report-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f0f2f5;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #4a5568;
    border-bottom: 2px solid #cbd5e0;
    white-space: nowrap;
}
/* Sticky header + sticky col corner cell */
.esp-report-scroll table.esp-report-table--sticky-col thead th:first-child {
    z-index: 15;
    background-color: #f0f2f5;
}

/* Data cells */
.esp-report-scroll table.esp-report-table td {
    padding: 6px 12px;
    white-space: nowrap;
    border-bottom: 1px solid #e8ecf0;
}

/* Metric columns - reasonable min-width */
.esp-report-scroll table.esp-report-table td:not(:first-child) {
    min-width: 130px;
}

/* Grand/sub total rows */
.esp-report-scroll table.esp-report-table tr.grand td,
.esp-report-scroll table.esp-report-table tr.sub td {
    background-color: #edf2f7 !important;
    font-weight: 600;
}
.esp-report-scroll table.esp-report-table--sticky-col tr.grand td:first-child,
.esp-report-scroll table.esp-report-table--sticky-col tr.sub td:first-child {
    background-color: #edf2f7 !important;
}

/* Sortable header hover hint */
.esp-report-scroll table.esp-report-table thead th.sortable-numeric {
    cursor: pointer;
}
.esp-report-scroll table.esp-report-table thead th.sortable-numeric:hover {
    background-color: #e2e8f0;
}

/* Collapsible section headers (cascade h3 tags inside scroll wrapper) */
.esp-report-scroll h3.esp-report-section {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    padding: 10px 12px;
    margin: 0;
    background: linear-gradient(to right, #edf2f7, #f7fafc);
    border-top: 1px solid #e2e8f0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s;
    position: sticky;
    left: 0;
}
.esp-report-scroll h3.esp-report-section:hover {
    background: linear-gradient(to right, #e2e8f0, #edf2f7);
}
.esp-report-scroll h3.esp-report-section:first-child {
    border-top: none;
    border-radius: 5px 5px 0 0;
}

/* Collapse chevron indicator */
.esp-report-scroll h3.esp-report-section::before {
    content: '\25BC';
    display: inline-block;
    margin-right: 8px;
    font-size: 9px;
    transition: transform 0.2s;
    color: #718096;
}
.esp-report-scroll h3.esp-report-section.collapsed::before {
    transform: rotate(-90deg);
}

/* Collapsed table */
.esp-report-scroll table.esp-report-table.collapsed {
    display: none;
}

/* Centered wrapper override for reports with wide scrollable tables.
   The default esp-centeredWrapper uses display:table which shrink-wraps content.
   This modifier switches to block layout while keeping the centering. */
.esp-centeredWrapper.esp-centeredWrapper--block {
    display: block !important;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Allow overflow on panels that contain scrollable report tables */
.esp-centeredWrapper--block .esp-panel {
    overflow: visible;
}

/* The v2 build-status strip HTMLPanel docks under a report preview — the status
   itself rides the document out-of-flow (.espdoc-status, hidden when success). */
.espdoc-statusbar {
    padding: 4px 12px;
    font-size: 12px;
    border-top: 1px solid var(--border-color-1, #e2e8f0);
    background: var(--alt-background-color, #f8fafc);
}
.espdoc-statusbar-ok { color: var(--status-green-dark, #15803d); }
.espdoc-statusbar-error { color: var(--status-red-dark, #b91c1c); font-weight: 600; }

/* Inline multi-select (ESP.core.form.InlineMultiSelect, esp_format.inlineMultiSelect):
   chips inside the standard bordered field container. The theme's chip rule is
   `.x-form-text-default .x-tagfield-item` and loads after this file, so a two-class
   selector would lose the tie; these pair the field's own class with the framework's
   to win on specificity rather than reaching for !important.
   - The box never exceeds its container (the format's pixel width is dropped in the
     field; this is the belt to those suspenders) and the text cell fills the trigger
     table, so the + and the arrow sit together at the right edge instead of the +
     hugging an 80px cell (user screenshots 2026-09-16).
   - Chip spacing is minimal (user 2026-09-16); the theme's 8px above and below every
     chip read as a gap the size of a chip once they wrapped.
   - Ext caps the wrapper with max-height (growMax, set in the field); the wrapper
     scrolls past it rather than the box growing forever.
   - The close x is centered on the chip whatever its height, instead of the theme's
     top:0 tuned for a 24px chip. */
.esp-inlineMultiSelect.x-field {
    max-width: 100%;
}
/* The trigger row as flex: the text cell takes the remainder and each trigger
   keeps its 20px. Ext lays this row out as a table, and neither table mode fits a
   chip list: auto layout sized the text cell to its tiny content and parked the +
   beside an 80px cell; a percentage on the text cell starved the arrow to 9px;
   fixed layout split the width down the middle. */
.esp-inlineMultiSelect.x-field .x-form-trigger-wrap {
    display: flex;
    align-items: stretch;
}
.esp-inlineMultiSelect.x-field .x-form-text-wrap {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}
.esp-inlineMultiSelect.x-field .x-form-trigger {
    display: block;
    flex: 0 0 20px;
}
.esp-inlineMultiSelect.x-field .x-tagfield {
    overflow-y: auto;
    overflow-x: hidden;
}
/* The clear trigger has nothing to clear on an empty field. */
.x-desktop .esp-fieldContainer .esp-inlineMultiSelect.x-field:not(.not-empty) .x-form-trigger.esp-del-trigger {
    display: none;
}
/* One row is exactly one input row tall, so an empty field neither scrolls by a
   pixel nor renders taller than a text field. */
.esp-inlineMultiSelect.x-field .x-tagfield-list {
    min-height: 22px;
    line-height: 22px;
}
.esp-inlineMultiSelect.x-field .x-tagfield-input {
    height: 22px;
    vertical-align: top;
}
.esp-inlineMultiSelect.x-field .x-tagfield-item {
    margin: 1px 3px 1px 0;
    height: 20px;
    line-height: 18px;
    padding: 0 22px 0 7px;
    /* A chip is one line. Wider than the field, it clips with an ellipsis rather
       than folding its label onto a second line inside a 20px chip (user
       screenshot 2026-09-16, "Oak Park / Branch" stacked inside one chip). */
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}
/* The label clips at the chip's CONTENT edge, with an ellipsis, so it can never
   run into the right padding where the x sits (user screenshot 2026-09-16, the x
   over the last letters of "Share Secured"). overflow:hidden on the chip alone
   clips at the padding box, which is exactly where the x is. */
.esp-inlineMultiSelect.x-field .x-tagfield-item-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}
.esp-inlineMultiSelect.x-field .x-tagfield-item-close {
    top: 50%;
    margin-top: -6px;
    right: 6px;
}
.esp-inlineMultiSelect.x-field .x-tagfield-input {
    margin: 1px 0;
}
.esp-inlineMultiSelect.x-field .x-tagfield-input-field {
    height: 20px;
    line-height: 18px;
}

/* Date range field (ESP.core.form.DateRange, daterange validation): a mode
   combobox with, below it, either a from/to pair or a "Last N periods" row, and a
   one-line hint of the resolved dates. Compact enough for a dashboard's settings
   card, where every dashboard date control is one of these. */
/* Ext's auto layout wraps its items in a table/table-cell pair, against which a
   percentage min-width means nothing: the mode combobox shrinkwrapped to its
   text (104px of a 217px card, "Any tim" -- user screenshot 2026-09-17). Plain
   blocks the card's width, and the combobox fills it like every other field. */
.esp-dateRange .x-autocontainer-outerCt,
.esp-dateRange .x-autocontainer-innerCt {
    display: block;
    width: 100%;
}
.x-desktop .esp-fieldContainer .esp-dateRange .esp-dateRange__mode {
    width: 100%;
}
/* The form's rule for a field with a date trigger pads EVERY text input in the
   container 34px on the right (the pickers below are in this container, hidden or
   not), which clipped the mode text under its own chevron. The chevron here is a
   table cell of its own, so the text keeps the row. */
.x-desktop .esp-fieldContainer.esp-fieldContainer--dateRange .esp-dateRange .esp-dateRange__mode.x-field input {
    padding-right: 7px!important;
}
/* The form lifts every trigger 9px because its own inputs are laid over the
   head + body; these parts are in flow, one row each, so their triggers stay on
   their row (the chevron and the calendars floated a line above their inputs). */
.x-desktop .esp-fieldContainer--dateRange .esp-dateRange .x-field .x-form-item-body .x-form-trigger-wrap .x-form-trigger {
    top: 0;
}
/* The clear trigger shows only while a range is set (the field toggles the class). */
.x-desktop .esp-fieldContainer .esp-dateRange:not(.esp-dateRange--set) .x-form-trigger.esp-del-trigger {
    display: none;
}
.esp-dateRange .esp-dateRange__row {
    margin-top: 4px;
}
/* The rows lay their parts out with flex; the form's own rule gives every
   field min-width:100%, which is right for the mode combobox and wrong for two
   pickers side by side, so the parts inside a row get a share instead. */
.esp-dateRange .esp-dateRange__row .x-autocontainer-innerCt,
.esp-dateRange .esp-dateRange__row .x-autocontainer-outerCt {
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.x-desktop .esp-fieldContainer .esp-dateRange .esp-dateRange__row .x-form-item {
    min-width: 0;
    flex: 1 1 0;
    display: block;
}
.x-desktop .esp-fieldContainer .esp-dateRange .esp-dateRange__row .esp-dateRange__back {
    flex: 0 0 100px;
}
/* The form lays a spinner out as a 32px flex column pulled up over its overlaid
   input; in this row the number is in flow, and a flex box inside Ext's trigger
   TABLE becomes an anonymous row of its own -- the spinner sat under the row,
   centered (user screenshot 2026-09-17). Back to a cell beside the number, the
   two arrows sharing the row's 22px. */
.x-desktop .esp-fieldContainer .esp-dateRange .esp-dateRange__back .x-form-trigger-spinner {
    display: table-cell;
    top: 0;
    height: 22px;
    margin-bottom: 0;
    vertical-align: middle;
}
.x-desktop .esp-fieldContainer .esp-dateRange .esp-dateRange__back .x-form-spinner {
    display: block; /* inline-block arrows kept a line gap between them: a 36px row */
    height: 11px;
    line-height: 11px;
    font-size: 12px;
    padding-left: 0;
    overflow: hidden;
}
/* The form pads a date field's input 34px on the right to clear the container's
   own date trigger; two pickers sharing a row have no room for that and their
   triggers are their own, so the text gets the width back ("2024-01" was
   clipping to "2024-0" at card width). */
.x-desktop .esp-fieldContainer .esp-dateRange .esp-dateRange__row .x-form-type-text input {
    padding-right: 4px!important;
}
.esp-dateRange .esp-dateRange__dash {
    padding: 0 6px;
    line-height: 22px;
    color: var(--light-color, #64748b);
}
.esp-dateRange .esp-dateRange__unit {
    line-height: 22px;
    padding: 0 6px;
    color: var(--light-color, #64748b);
    font-size: 12px;
    white-space: nowrap;
}
.esp-dateRange .esp-dateRange__unit:first-child {
    padding-left: 0;
}
.esp-dateRange .esp-dateRange__hint {
    font-size: 11px;
    color: var(--light-color, #64748b);
    margin-top: 3px;
}

/* ESP.core.form.FieldConfigField -- esp_format.fieldConfig's editor: a Configure
   button, a one-line summary of what differs from the defaults, and the raw JSON
   behind an "Edit JSON" link (docs/FIELD-TYPES-AND-CONFIG.md). */
.esp-fieldConfig .x-autocontainer-outerCt,
.esp-fieldConfig .x-autocontainer-innerCt { display: block; width: 100%; }
.esp-fieldConfig__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.esp-fieldConfig__row .x-autocontainer-outerCt,
.esp-fieldConfig__row .x-autocontainer-innerCt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: auto; }
.esp-fieldConfig__summary { color: var(--light-color, #666); font-size: 12px; line-height: 1.4; flex: 1 1 120px; min-width: 0; }
.esp-fieldConfig--invalid .esp-fieldConfig__summary { color: var(--status-red-dark, #b00020); }
.esp-fieldConfig__rawLink { font-size: 11px; white-space: nowrap; }
.esp-fieldConfig__rawLink a { color: var(--lighter-color, #888); }
.esp-fieldConfig__raw { display: none; margin-top: 6px; }
.esp-fieldConfig--raw .esp-fieldConfig__raw { display: block; }
.esp-fieldConfig__raw textarea { font-family: monospace; font-size: 12px; }
.esp-fieldConfig__help { color: var(--light-color, #777); font-size: 11px; line-height: 1.35; margin: 2px 0 8px; }
.esp-fieldConfig__form .x-form-item { margin-bottom: 8px; }

/* The Filters card's empty-state banner (ReportContainer.onLiveEmptyState):
   every element a control filters is empty; the recovery is each field's own
   clear trigger, so the note only points there. */
.esp-filtersBanner { padding: 8px 12px; background: var(--status-yellow-light, #fff7e6); border-bottom: 1px solid var(--status-yellow-medium, #f0d9a8); color: var(--status-yellow-dark, #6b4e00); font-size: 12px; line-height: 1.45; }
.esp-filtersBanner__lead { font-weight: 600; margin-right: 4px; }
.esp-filtersBanner__sep { color: var(--status-yellow-vibrant, #c9a75a); margin: 0 2px; }
/* The Filters card while every filtered element is empty: the banner is docked on
   the card, so a FOLDED card (the "Filters (n)" placeholder bar) carries the same
   amber on its header and placeholder instead (controls contract section 2b). */
.esp-filtersCard--empty > .x-panel-header, .x-region-collapsed-placeholder.esp-filtersCard--empty { background-color: var(--status-yellow-light, #fff7e6) !important; }
.esp-filtersCard--empty > .x-panel-header .x-title-text, .x-region-collapsed-placeholder.esp-filtersCard--empty .x-title-text { color: var(--status-yellow-dark, #6b4e00) !important; }
.esp-filtersBanner__hint { display: block; color: var(--status-yellow-dark, #8a6d1f); margin-top: 2px; }

/* ESP.core.form.PeriodField's picker (Ext.picker.Month): a year grain has no
   month to pick, so only the year column shows. */
.esp-periodPicker--y .x-monthpicker-months { display: none; }
.esp-periodPicker--y .x-monthpicker-years { width: 100%; }


/* Window titles: room for descenders (2026-09-24). The theme sets the title to 14px Inter in a
   16px line box, with overflow:hidden on the text (for its ellipsis). That leaves exactly 3px
   below the baseline, which is all a g/j/p/q/y needs -- so anti-aliasing cut the bottom off
   every such glyph, in every window: "Use an Existing Data Set", every Ext.Msg box, and any title
   built from a user's own names. Measured in Chromium against the served Inter webfont.
   The header is 28px with 6px free below the title, so the fix spends that space instead of
   growing anything: the text cell's clip box extends 4px down (padding-bottom), and the title
   component gives the same 4px back (margin-bottom), so the header height and the text's
   position are both unchanged. Top headers only: a side-placed header rotates its title, and a
   bottom margin there would act sideways. Here, not in theme-datava-all.css, which is compiled
   in the theme's own repository and would be overwritten by its next build. */
.x-window-header-default-top .x-window-header-title-default > .x-title-text {
    padding-bottom: 4px;
}
.x-window-header-default-top .x-window-header-title-default {
    margin-bottom: -4px;
}

/* A number field's spinner, stacked to fit a toolbar's 22px trigger (opt in with cls
   espStackedSpinner; js/tableManager/GalaxyPanel.js Hops). The theme draws each arrow as a white
   20 x 8.5px inline box holding a 16px glyph, two to a 40px cell: once they wrap, the down arrow's
   box covers the up arrow and the cell clips the down arrow (user 2026-10-22). Block rows that
   share the trigger's height cannot wrap, and nothing is painted behind them. */
.espStackedSpinner .x-form-spinner {
    display: block;
    width: 100%;
    height: 10px;
    line-height: 10px;
    font-size: 14px;
    text-align: center;
    background-color: transparent;
}
