.qe-photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #4b5967;
    font-size: 16px;
    cursor: pointer;
}

.qe-photo-btn:hover,
.qe-photo-btn:focus {
    background: #eef0f3;
    color: #1f2933;
    outline: none;
}

.qe-photo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 16px;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    background: #f7f8fa;
}

.qe-photo-img {
    display: block;
    max-width: 100%;
    max-height: 60vh;
    border-radius: 6px;
    object-fit: contain;
}

.qe-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding-right: 4px;
}

.qe-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(31, 41, 51, .18);
    background: rgba(255, 255, 255, .45);
    color: #1f2933;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.qe-menu-btn:hover,
.qe-menu-btn:focus {
    background: rgba(255, 255, 255, .8);
    color: #1f2933;
    text-decoration: none;
}

.qe-menu-btn-danger,
.qe-menu-btn-danger:hover,
.qe-menu-btn-danger:focus {
    color: #a61b12;
}

.qe-menu-btn-dark {
    background: #1f2933;
    border-color: #1f2933;
    color: #fff;
}

.qe-menu-btn-dark:hover,
.qe-menu-btn-dark:focus {
    background: #2b3640;
    color: #fff;
}

.content.qe-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #eef0f3;
    color: #1f2933;
}

.qe-card {
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
}

.qe-lbl {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #5f6b7a;
}

.qe-count {
    display: inline-block;
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #fbf1c4;
    color: #7a5d00;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.qe-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #c5ccd6;
    background: #fff;
    color: #2b3640;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.qe-btn:hover,
.qe-btn:focus {
    background: #f5f6f8;
    color: #1f2933;
    text-decoration: none;
}

.qe-btn-primary {
    background: #ecc946;
    border-color: #ecc946;
    color: #1f2933;
}

.qe-btn-primary:hover,
.qe-btn-primary:focus {
    background: #e2bd32;
    border-color: #e2bd32;
}

.qe-btn-info {
    height: 32px;
    border-color: #9fbbe3;
    color: #1d3f72;
}

.qe-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #4b5967;
    font-size: 18px;
}

.qe-icon-btn:hover,
.qe-icon-btn:focus {
    background: #eef0f3;
    color: #1f2933;
}

.qe-summary-wrap {
    flex: none;
    padding: 12px 16px 0 16px;
}

.qe-summary {
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .06), 0 8px 24px rgba(31, 41, 51, .06);
}

.qe-historic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 8px 16px;
    background: #e8f0fb;
    border-bottom: 1px solid #c8d9f2;
    color: #1d3f72;
    font-size: 14px;
}

.qe-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.qe-summary-status {
    flex: 1 1 420px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 20px;
    padding: 12px 16px;
    border-right: 1px solid #eef0f3;
}

.qe-status-current {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qe-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fbf1c4;
    border: 1px solid #ecc946;
    color: #5c4600;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.qe-status-since {
    min-height: 16px;
    font-size: 12px;
    color: #5f6b7a;
}

.qe-status-change {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 280px;
    padding-bottom: 20px;
}

.qe-summary-version {
    flex: 0 1 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-right: 1px solid #eef0f3;
}

.qe-version-number {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.qe-version-suffix {
    font-size: 14px;
    font-weight: 600;
    color: #5f6b7a;
}

.qe-version-doc {
    margin: 0;
    font-size: 13px;
    color: #4b5967;
}

.qe-version-doc strong {
    color: #1f2933;
}

.qe-summary-totals {
    flex: 2 1 440px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qe-total {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
}

.qe-total-value {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.qe-total-muted {
    color: #4b5967;
}

.qe-total-main {
    background: #1f2933;
}

.qe-total-main .qe-lbl {
    color: #c9d1db;
}

.qe-total-main .qe-total-value {
    font-size: 24px;
    font-weight: 700;
    color: #f3dd85;
}

.qe-facts {
    padding: 8px 16px;
    background: #f7f8fa;
    border-top: 1px solid #eef0f3;
}

.qe-facts .dx-field-item {
    padding-top: 2px;
    padding-bottom: 2px;
}

.qe-facts .dx-field-item-label {
    padding-bottom: 2px;
}

.qe-facts .dx-field-item-label-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #5f6b7a;
}

.qe-facts .dx-field-item-required-mark {
    display: none;
}

.qe-facts .dx-texteditor.dx-state-readonly {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.qe-facts .dx-texteditor.dx-state-readonly .dx-texteditor-input {
    padding-left: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2933;
    text-overflow: ellipsis;
}

.qe-facts .dx-texteditor.dx-state-readonly .dx-texteditor-buttons-container {
    display: none;
}

.qe-facts .dx-texteditor:not(.dx-state-readonly) {
    border-radius: 8px;
}

.qe-tabsbar {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 0 16px;
}

.qe-seg {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #e3e7ec;
}

.qe-seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 7px;
    color: #4b5967;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.qe-seg-btn:hover,
.qe-seg-btn:focus {
    color: #1f2933;
    text-decoration: none;
}

.qe-seg-btn.qe-active {
    background: #fff;
    color: #1f2933;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .14);
}

.qe-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 12px 16px 16px 16px;
}

.qe-main {
    flex: 1 1 auto;
    min-width: 0;
    overflow: auto;
}

.qe-detail {
    overflow: hidden;
}

.qe-detail-toolbar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef0f3;
}

.qe-grid-tabs {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.qe-grid-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border-radius: 7px;
    background: #f1f3f5;
    color: #4b5967;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.qe-grid-tab:hover,
.qe-grid-tab:focus {
    color: #1f2933;
    text-decoration: none;
}

.qe-grid-tab.qe-active {
    background: #1f2933;
    color: #fff;
}

.qe-detail-actions {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.qe-search {
    flex: 0 1 260px;
    min-width: 150px;
}

.qe-search.dx-texteditor {
    border-radius: 8px;
}

.qe-grid-host .dx-datagrid {
    color: #1f2933;
    font-size: 14px;
}

.qe-grid-host .dx-datagrid-headers {
    border-bottom: 1px solid #e3e7ec;
}

.qe-grid-host .dx-datagrid-headers .dx-header-row > td {
    padding-top: 11px;
    padding-bottom: 11px;
    background: #f7f8fa;
    color: #5f6b7a;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.qe-grid-host .dx-datagrid .dx-row > td {
    vertical-align: middle;
}

.qe-grid-host .dx-datagrid-rowsview .dx-data-row > td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f3;
}

.qe-grid-host .dx-datagrid-rowsview .dx-row.dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-edit-row) > td,
.qe-grid-host .dx-datagrid-rowsview .dx-row.dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-edit-row) > tr > td {
    background-color: #fdf8e4;
    color: #1f2933;
}

.qe-grid-host .dx-datagrid-rowsview .dx-selection.dx-row > td,
.qe-grid-host .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #fbf1c4;
    color: #1f2933;
}

.qe-grid-host .dx-datagrid-rowsview .dx-datagrid-content-fixed .dx-data-row > td.dx-col-fixed:first-of-type,
.qe-grid-host .dx-datagrid-headers .dx-datagrid-content-fixed .dx-header-row > td.dx-col-fixed:first-of-type {
    box-shadow: inset 1px 0 0 #e3e7ec;
}

.qe-grid-host .dx-datagrid-content-fixed .dx-datagrid-table {
    box-shadow: -6px 0 8px -6px rgba(31, 41, 51, .18);
}

.qe-grid-host .dx-command-edit .dx-link {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 7px;
    color: #4b5967;
    text-align: center;
}

.qe-grid-host .dx-command-edit .dx-link:hover {
    background: #eef0f3;
    color: #1f2933;
}

.qe-grid-host .dx-command-edit .dx-link-delete:hover {
    background: #fdecec;
    color: #b42318;
}

.qe-grid-host .dx-datagrid-total-footer {
    border-top: 1px solid #e3e7ec;
    background: #f7f8fa;
}

.qe-grid-host .dx-datagrid-total-footer .dx-row > td,
.qe-grid-host .dx-datagrid-total-footer .dx-datagrid-content-fixed .dx-datagrid-table {
    background: #f7f8fa;
}

.qe-grid-host .dx-datagrid-total-footer .dx-datagrid-summary-item {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.qe-grid-host .qe-summary-label {
    margin-right: 6px;
    color: #4b5967;
    font-size: 14px;
    font-weight: 400;
}

.qe-grid-host .qe-summary-value {
    color: #1f2933;
    font-size: 14px;
    font-weight: 700;
}

.qe-grid-host .qe-cell-strong {
    font-weight: 600;
}

.qe-unit {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: #eef0f3;
    color: #4b5967;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.qe-info .qe-form-group {
    margin-bottom: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 12px;
}

.qe-info .qe-form-group .dx-form-group-caption {
    font-size: 17px;
    font-weight: 700;
    color: #1f2933;
}

.qe-info .qe-form-group .dx-form-group-with-caption > .dx-form-group-content {
    border-top: 0;
    padding-top: 8px;
}

.qe-info .dx-field-item-label-text {
    font-size: 13px;
    font-weight: 600;
    color: #2b3640;
}

.qe-info .dx-texteditor {
    border-radius: 8px;
}

.qe-timeline {
    position: relative;
    flex: 0 0 360px;
    max-width: 400px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.qe-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 10px 16px;
    border-bottom: 1px solid #eef0f3;
}

.qe-timeline-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1f2933;
}

.qe-timeline-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    border-bottom: 1px solid #eef0f3;
}

.qe-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #d5dae1;
    background: #fff;
    color: #4b5967;
    font-size: 13px;
    font-weight: 600;
}

.qe-chip:hover,
.qe-chip:focus {
    color: #1f2933;
    text-decoration: none;
}

.qe-chip.qe-active {
    background: #1f2933;
    border-color: #1f2933;
    color: #fff;
}

.qe-timeline-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 16px 16px 8px 16px;
}

.qe-tl-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qe-tl-item {
    position: relative;
    padding: 0 0 18px 42px;
}

.qe-tl-item::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 34px;
    bottom: 4px;
    width: 2px;
    background: #e3e7ec;
}

.qe-tl-item:last-child::before {
    display: none;
}

.qe-tl-item.qe-tl-hidden {
    display: none;
}

.qe-tl-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.qe-tl-dot-version { background: #e6f1fb; color: #1d5fa8; }
.qe-tl-dot-state { background: #fdecec; color: #b42318; }
.qe-tl-dot-comment { background: #fff1e0; color: #a8590b; }
.qe-tl-dot-create { background: #e6f4ea; color: #1e7a3a; }

.qe-tl-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.qe-tl-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2933;
}

.qe-tl-date {
    font-size: 11px;
    color: #5f6b7a;
    white-space: nowrap;
}

.qe-tl-meta {
    margin-top: 2px;
    font-size: 13px;
    color: #4b5967;
}

.qe-tl-comment {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff8ec;
    font-size: 13px;
    white-space: pre-wrap;
}

.qe-tl-totals {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #eef0f3;
    background: #f7f8fa;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
    font-size: 13px;
}

.qe-tl-totals > span:nth-child(odd) {
    color: #5f6b7a;
}

.qe-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.qe-strong {
    font-weight: 700;
}

.qe-tl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.qe-tl-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 9px;
    border: 1px solid #d5dae1;
    background: #fff;
    color: #1f2933;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .10), 0 3px 8px rgba(31, 41, 51, .10);
    transition: transform .12s, box-shadow .12s, background .12s;
}

.qe-tl-btn:hover,
.qe-tl-btn:focus-visible {
    background: #fbf1c4;
    border-color: #ecc946;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(31, 41, 51, .12), 0 6px 14px rgba(31, 41, 51, .14);
    outline: none;
}

.qe-tl-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(31, 41, 51, .12);
}

.qe-tl-btn.qe-tl-btn-main {
    background: #ecc946;
    border-color: #d9b52f;
}

.qe-tl-btn.qe-tl-btn-main:hover,
.qe-tl-btn.qe-tl-btn-main:focus-visible {
    background: #e2bd32;
    border-color: #c9a227;
}

.qe-tl-btn::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 9px;
    border-radius: 6px;
    background: #1f2933;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s;
    z-index: 3;
}

.qe-tl-btn:hover::after,
.qe-tl-btn:focus-visible::after {
    opacity: 1;
}

.content-container a.qe-menu-btn,
.content-container a.qe-menu-btn:hover,
.content-container a.qe-menu-btn:focus { color: #1f2933; text-decoration: none; }
.content-container a.qe-menu-btn-danger,
.content-container a.qe-menu-btn-danger:hover,
.content-container a.qe-menu-btn-danger:focus { color: #a61b12; }
.content-container a.qe-menu-btn-dark,
.content-container a.qe-menu-btn-dark:hover,
.content-container a.qe-menu-btn-dark:focus { color: #fff; }
.content-container a.qe-btn,
.content-container a.qe-btn:hover,
.content-container a.qe-btn:focus { color: #2b3640; text-decoration: none; }
.content-container a.qe-btn-primary,
.content-container a.qe-btn-primary:hover,
.content-container a.qe-btn-primary:focus { color: #1f2933; }
.content-container a.qe-btn-info,
.content-container a.qe-btn-info:hover,
.content-container a.qe-btn-info:focus { color: #1d3f72; }
.content-container a.qe-icon-btn,
.content-container a.qe-seg-btn,
.content-container a.qe-grid-tab,
.content-container a.qe-chip { color: #4b5967; text-decoration: none; }
.content-container a.qe-icon-btn:hover,
.content-container a.qe-seg-btn:hover,
.content-container a.qe-seg-btn.qe-active,
.content-container a.qe-grid-tab:hover,
.content-container a.qe-chip:hover { color: #1f2933; text-decoration: none; }
.content-container a.qe-grid-tab.qe-active,
.content-container a.qe-chip.qe-active { color: #fff; }

.qe-info .qe-form-row > .dx-form-group-content,
.qe-info .qe-form-row {
    padding: 0;
    border: 0;
    background: transparent;
}

#frmQE .dx-field-item.qe-form-group {
    padding: 16px 20px;
}

#frmQE .qe-form-row .dx-field-item.qe-form-group {
    flex: 1 1 auto;
    align-self: stretch;
    margin-bottom: 16px;
}

#frmQE .qe-form-row .dx-field-item.qe-form-group:not(.dx-last-col) {
    margin-right: 10px;
}

#frmQE .qe-form-row .dx-field-item.qe-form-group:not(.dx-first-col) {
    margin-left: 10px;
}

.qe-signature-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.qe-signature-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2933;
}

.qe-signature-delete {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b5967;
    font-size: 16px;
    cursor: pointer;
}

.qe-signature-delete:hover,
.qe-signature-delete:focus {
    background: #fdecec;
    color: #b42318;
    outline: none;
}

.qe-signature-zone {
    width: 100%;
    min-height: 150px;
    box-sizing: border-box;
    padding: 16px;
    border: 2px dashed #c5ccd6;
    border-radius: 10px;
    background: #f7f8fa;
    color: #4b5967;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.qe-signature-zone:hover,
.qe-signature-zone:focus {
    border-color: #ecc946;
    background: #fdf8e4;
    outline: none;
}

.qe-signature-zone .fa {
    font-size: 20px;
    color: #4b5967;
}

.qe-signature-zone strong {
    color: #1f2933;
}

.qe-signature-zone.qe-signature-has-image {
    border-style: solid;
    border-color: #e3e7ec;
    background: #fff;
}

.qe-signature-zone img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.qe-signature-hint {
    font-size: 13px;
    color: #5f6b7a;
}

.qe-modal-overlay.dx-overlay-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .08), 0 24px 56px rgba(31, 41, 51, .28);
    overflow: hidden;
}

.qe-modal-overlay .dx-popup-content {
    padding: 0;
}

.qe-modal {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    color: #1f2933;
}

.qe-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px 18px 28px;
    border-bottom: 1px solid #e6e9ee;
}

.qe-modal-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #fbf1c4;
    color: #7a5d00;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qe-modal-heading {
    flex: 1;
    min-width: 0;
}

.qe-modal h2.qe-modal-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #1f2933;
}

.qe-modal p.qe-modal-subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #4b5967;
}

.qe-modal-subtitle strong {
    color: #1f2933;
}

.qe-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b5967;
    font-size: 18px;
    cursor: pointer;
}

.qe-modal-close:hover,
.qe-modal-close:focus {
    background: #eef0f3;
    color: #1f2933;
    outline: none;
}

.qe-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 28px 24px 28px;
}

.qe-modal-body .dx-field-item-label-text {
    font-size: 14px;
    font-weight: 600;
    color: #2b3640;
}

.qe-modal-body .dx-texteditor {
    border-radius: 8px;
}

.qe-modal-body .dx-texteditor.dx-state-focused {
    border-color: #c9a227;
    box-shadow: 0 0 0 3px #f3dd85;
}

.qe-modal-body .dx-field-item-help-text {
    font-size: 13px;
    font-style: normal;
    color: #5f6b7a;
}

.qe-modal-body .dx-switch-on-value .dx-switch-handle:before {
    background-color: #c9a227;
}

.qe-modal-body .dx-switch-on-value .dx-switch-container {
    border-color: #c9a227;
}

.qe-modal-body .dx-switch-on-value .dx-switch-container:before {
    background-color: #fbf1c4;
}

.qe-modal-body .qe-suffix.dx-button {
    border-left: 1px solid #dde1e7;
    border-radius: 0 7px 7px 0;
    background: #f5f6f8;
    cursor: default;
}

.qe-modal-body .qe-suffix .dx-button-text {
    font-weight: 700;
    color: #4b5967;
}

.qe-modal-body .qe-modal-box {
    margin: 4px 0;
    padding: 12px 16px;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    background: #f7f8fa;
}

.qe-uploader .dx-fileuploader-wrapper {
    padding: 0;
}

.qe-uploader .dx-fileuploader-input-wrapper {
    padding: 28px 16px;
    border: 2px dashed #c5ccd6;
    border-radius: 10px;
    background: #f7f8fa;
    text-align: center;
}

.qe-uploader.dx-fileuploader-dragover .dx-fileuploader-input-wrapper {
    border-color: #ecc946;
    background: #fdf8e4;
}

.qe-uploader .dx-fileuploader-input-wrapper .dx-fileuploader-button {
    float: none;
    border: 1px solid #ecc946;
    border-radius: 8px;
    background: #ecc946;
}

.qe-uploader .dx-fileuploader-input-wrapper .dx-fileuploader-button .dx-button-text {
    font-weight: 700;
    color: #1f2933;
    text-transform: none;
}

.qe-uploader .dx-fileuploader-input-container {
    display: block;
    width: auto;
    padding-top: 8px;
}

.qe-uploader .dx-fileuploader-input-label {
    padding: 0;
    font-size: 14px;
    color: #4b5967;
    text-align: center;
}

.qe-uploader .dx-fileuploader-files-container {
    padding-top: 12px;
}

.qe-modal-footer {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #f7f8fa;
    border-top: 1px solid #e6e9ee;
}

.qe-modal-cancel,
.qe-modal-confirm {
    height: 44px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.qe-modal-cancel {
    padding: 0 16px;
    border: 0;
    background: transparent;
    font-weight: 600;
    color: #4b5967;
}

.qe-modal-cancel:hover,
.qe-modal-cancel:focus {
    background: #eef0f3;
    color: #1f2933;
    outline: none;
}

.qe-modal-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid #ecc946;
    background: #ecc946;
    font-weight: 700;
    color: #1f2933;
}

.qe-modal-confirm:hover,
.qe-modal-confirm:focus {
    background: #e2bd32;
    border-color: #e2bd32;
    outline: none;
}

.qe-modal-header + .qe-modal-footer {
    border-top: 0;
}

.qe-modal-danger .qe-modal-icon {
    background: #fdecec;
    color: #b42318;
}

.qe-modal-danger .qe-modal-confirm {
    border-color: #b42318;
    background: #b42318;
    color: #ffffff;
}

.qe-modal-danger .qe-modal-confirm:hover,
.qe-modal-danger .qe-modal-confirm:focus {
    border-color: #912018;
    background: #912018;
}

.qe-modal-footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    font-size: 14px;
    font-weight: 600;
    color: #4b5967;
}

.qe-parts-picker {
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    overflow: hidden;
}

.qe-parts-picker .qe-detail-toolbar {
    background: #fff;
}

.qe-parts-picker button.qe-grid-tab {
    border: 0;
    cursor: pointer;
}

.qe-parts-picker button.qe-grid-tab:focus {
    outline: none;
    box-shadow: 0 0 0 3px #f3dd85;
}

.qe-parts-picker .qe-grid-tab.qe-active .qe-count {
    background: #ecc946;
    color: #1f2933;
}

.qe-parts-picker .dx-checkbox-checked .dx-checkbox-icon,
.qe-parts-picker .dx-checkbox-indeterminate .dx-checkbox-icon {
    border-color: #c9a227;
    background-color: #ecc946;
    color: #1f2933;
}

.qe-parts-picker .dx-master-detail-cell {
    padding: 12px 16px 16px 48px;
    background: #f7f8fa;
}

.qe-parts-picker .dx-master-detail-cell .dx-datagrid {
    border-radius: 8px;
    background: #fff;
}

@keyframes qe-sk-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.qe-skeleton {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #eef0f3;
    cursor: progress;
}

.qe-sk {
    display: block;
    flex-shrink: 0;
    height: 10px;
    border-radius: 6px;
    background-color: #e3e7ec;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: qe-sk-shimmer 1.4s ease-in-out infinite;
}

.qe-sk-tint { background-color: #f6eab8; }
.qe-sk-strong { background-color: #d5d9df; }
.qe-sk-white { background-color: #ffffff; }
.qe-sk-clear { background-color: transparent; }

.qe-sk-light {
    height: 34px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .38);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
}

.qe-sk-dark {
    background-color: rgba(255, 255, 255, .14);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, 0) 100%);
}

.qe-sk-dark.qe-sk-solid {
    height: 34px;
    border-radius: 8px;
    background-color: #1f2933;
}

.qe-sk-dark.qe-sk-gold { background-color: rgba(236, 201, 70, .35); }

.qe-sk-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.qe-sk-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qe-sk-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qe-sk-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.qe-sk-fill {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
}

.qe-sk-fill > .qe-sk { max-width: 100%; }

.qe-sk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 8px;
    background: #f7f8fa;
}

.qe-sk-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 8px;
    background: #ecc946;
}

.qe-sk-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px 0 16px;
}

.qe-sk-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .08);
    overflow: hidden;
}

.qe-sk-summary {
    display: flex;
    align-items: stretch;
}

.qe-sk-cell {
    padding: 16px 20px;
    border-right: 1px solid #eef0f3;
}

.qe-sk-status {
    flex: 0 0 auto;
    display: flex;
    gap: 24px;
}

.qe-sk-version { flex: 0 0 170px; }

.qe-sk-totals {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 48px;
    border-right: 0;
}

.qe-sk-main-total {
    flex: 0 0 286px;
    justify-content: center;
    gap: 12px;
    border-right: 0;
    background: #1f2933;
}

.qe-sk-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 14px 20px 16px 20px;
    border-top: 1px solid #eef0f3;
    background: #f7f8fa;
}

.qe-sk-tabsbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qe-sk-seg {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #e3e7ec;
}

.qe-sk-seg .qe-sk {
    height: 34px;
    border-radius: 7px;
}

.qe-sk-body {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 16px;
}

.qe-sk-detail {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 12px 12px 0 0;
}

.qe-sk-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef0f3;
}

.qe-sk-grid-head,
.qe-sk-grid-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 12px;
}

.qe-sk-grid-head {
    height: 40px;
    border-bottom: 1px solid #e3e7ec;
    background: #f7f8fa;
}

.qe-sk-grid-head .qe-sk { height: 9px; }

.qe-sk-grid-rows {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.qe-sk-grid-row {
    height: 41px;
    border-bottom: 1px solid #eef0f3;
}

.qe-sk-grid-row .qe-sk { height: 12px; }

.qe-sk-grid-row .qe-sk.qe-sk-chip {
    width: 56px;
    height: 20px;
    border-radius: 5px;
}

.qe-sk-cellr {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.qe-sk-grid-row .qe-sk-actions .qe-sk {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.qe-sk-timeline {
    flex: 0 0 360px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    border-radius: 12px 12px 0 0;
}

.qe-sk-tl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 14px 16px;
    border-bottom: 1px solid #eef0f3;
}

.qe-sk-tl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f3;
}

.qe-sk-tl-filters .qe-sk {
    height: 30px;
    border-radius: 999px;
}

.qe-sk-tl-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 16px;
}

.qe-sk-tl-item {
    display: flex;
    gap: 12px;
}

.qe-sk-tl-item .qe-sk-col { gap: 8px; }

.qe-sk.qe-sk-tl-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
}

.qe-sk-tl-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    background: #f7f8fa;
}

.qe-sk-tl-box .qe-sk { height: 9px; }

.qe-sk.qe-sk-tl-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.qe-sk-showhistory,
.qe-sk-nohistory .qe-sk-timeline {
    display: none;
}

.qe-sk-nohistory .qe-sk-showhistory {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .qe-sk { animation: none; }
}

@media (max-width: 1100px) {
    .qe-sk-timeline,
    .qe-sk-status > .qe-sk-col + .qe-sk-col,
    .qe-sk-version,
    .qe-sk-toolbar > .qe-sk-row > .qe-sk:not(:first-child) {
        display: none;
    }
}

@keyframes qe-progress-slide {
    0% { left: -35%; }
    100% { left: 100%; }
}

.qe-progress {
    position: relative;
    flex: 0 0 3px;
    height: 3px;
    margin-bottom: -3px;
    z-index: 2;
    overflow: hidden;
    background: rgba(31, 41, 51, .12);
}

.qe-progress > span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    border-radius: 3px;
    background: #1f2933;
    animation: qe-progress-slide 1.1s ease-in-out infinite;
}

.content-container a.qe-menu-btn-busy {
    background: rgba(255, 255, 255, .8);
    border-color: rgba(31, 41, 51, .35);
    pointer-events: none;
}

.qe-menu-btn-busy .fa-refresh {
    animation: fa-spin .9s linear infinite;
}

.content-container a.qe-menu-btn-muted {
    opacity: .5;
    pointer-events: none;
}

.qe-reloading .qe-status-change,
.qe-reloading .qe-facts .dx-selectbox:not(.dx-state-readonly),
.qe-reloading .qe-detail-toolbar,
.qe-reloading .qe-grid-host,
.qe-reloading .qe-info {
    opacity: .5;
    pointer-events: none;
    transition: opacity .2s ease;
}

.qe-reloading .qe-status-chip,
.qe-reloading .qe-status-since,
.qe-reloading .qe-version-number,
.qe-reloading .qe-version-doc,
.qe-reloading .qe-total-value {
    position: relative;
    width: fit-content;
    opacity: .4;
}

.qe-reloading .qe-status-chip::after,
.qe-reloading .qe-status-since::after,
.qe-reloading .qe-version-number::after,
.qe-reloading .qe-version-doc::after,
.qe-reloading .qe-total-value::after,
.qe-reloading .qe-grid-host::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -6px;
    bottom: -3px;
    left: -6px;
    border-radius: 6px;
    background-image: linear-gradient(90deg, rgba(227, 231, 236, 0) 0, rgba(227, 231, 236, .95) 50%, rgba(227, 231, 236, 0) 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: qe-sk-shimmer 1.4s ease-in-out infinite;
}

.qe-reloading .qe-total-main .qe-total-value::after {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 100%);
}

.qe-reloading .qe-grid-host {
    position: relative;
}

.qe-reloading .qe-grid-host::after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    border-radius: 0;
    background-image: linear-gradient(90deg, rgba(238, 240, 243, 0) 0, rgba(238, 240, 243, .85) 50%, rgba(238, 240, 243, 0) 100%);
}

.qe-tl-item.qe-tl-reloading .qe-tl-body {
    margin: -10px;
    padding: 10px;
    border: 1px solid #ecc946;
    border-radius: 10px;
    background: #fffbea;
    box-shadow: 0 0 0 3px #fbf1c4;
}

.qe-tl-item.qe-tl-reloading .qe-tl-actions {
    display: none;
}

.qe-tl-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 9px;
    background: #fbf1c4;
    color: #7a5d00;
    font-size: 13px;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .qe-progress > span,
    .qe-menu-btn-busy .fa-refresh,
    .qe-reloading .qe-status-chip::after,
    .qe-reloading .qe-status-since::after,
    .qe-reloading .qe-version-number::after,
    .qe-reloading .qe-version-doc::after,
    .qe-reloading .qe-total-value::after,
    .qe-reloading .qe-grid-host::after {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .content.qe-content {
        overflow: auto;
    }

    .qe-body {
        flex-wrap: wrap;
        flex: none;
    }

    .qe-main {
        flex: 1 1 100%;
        overflow: visible;
    }

    .qe-timeline {
        flex: 1 1 100%;
        max-width: none;
        max-height: 600px;
    }

    .qe-summary-status,
    .qe-summary-version {
        border-right: 0;
    }

    .qe-detail-toolbar,
    .qe-detail-actions {
        flex-wrap: wrap;
    }
}

.qe-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 38px;
    margin-left: auto;
    padding: 0 6px 0 12px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(31, 41, 51, .1), 0 4px 12px rgba(31, 41, 51, .08);
    white-space: nowrap;
}

.qe-mini .qe-status-chip.qe-mini-chip {
    height: 26px;
    padding: 0 10px;
    font-size: 13px;
    gap: 6px;
}

.qe-mini-item {
    font-size: 13px;
    color: #4b5967;
}

.qe-mini-item strong {
    color: #1f2933;
    font-variant-numeric: tabular-nums;
}

.qe-mini-sep {
    width: 1px;
    height: 22px;
    background: #e3e7ec;
}

.qe-mini-total {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 10px;
    border-radius: 7px;
    background: #1f2933;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #c9d1db;
}

.qe-mini-total strong {
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: #f3dd85;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1500px), (max-height: 860px) {
    .qe-summary-status {
        flex-wrap: nowrap;
        gap: 10px 16px;
        padding: 10px 14px;
    }

    .qe-status-change {
        flex: 1 1 200px;
        width: auto;
        min-width: 180px;
        max-width: 260px;
        padding-bottom: 18px;
    }

    .qe-status-chip {
        height: 30px;
        padding: 0 12px;
        font-size: 14px;
    }

    .qe-summary-version {
        flex: 0 1 120px;
        padding: 10px 14px;
    }

    .qe-version-number {
        font-size: 24px;
    }

    .qe-total {
        padding: 10px 14px;
    }

    .qe-total-value {
        font-size: 17px;
    }

    .qe-total-main .qe-total-value {
        font-size: 20px;
    }

    .qe-facts {
        padding: 4px 14px 6px 14px;
    }

    .qe-btn-collapsible {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .qe-btn-collapsible > span {
        display: none;
    }

    .qe-grid-host .dx-datagrid-total-footer .dx-datagrid-summary-item {
        white-space: normal;
        line-height: 1.25;
    }

    .qe-grid-host .qe-summary-label {
        display: block;
        margin-right: 0;
        font-size: 12px;
    }
}

@media (max-height: 860px) and (min-width: 1101px) {
    .content.qe-content {
        overflow-y: auto;
    }

    .qe-progress {
        position: sticky;
        top: 0;
    }

    .qe-tabsbar {
        position: sticky;
        top: 0;
        z-index: 4;
        min-height: 50px;
        box-sizing: border-box;
        padding: 4px 16px;
        background: #eef0f3;
    }

    .qe-body {
        flex: none;
        box-sizing: border-box;
        height: calc(100% - 50px);
        min-height: 380px;
        padding-top: 4px;
    }
}
