:root {
    --bg: #090a0c;
    --panel: #15181d;
    --panel2: #1b1f25;
    --panel3: #222730;
    --line: #303640;
    --line2: #454d59;
    --text: #f5f7fa;
    --soft: #c7cdd6;
    --muted: #8f98a6;
    --file-viewer-font-size: 12pt;
    --file-viewer-height: max(360px, calc(100vh - 180px));
    --orange: #ff5800;
    --orange2: #ff7130;
    --orangeSoft: rgba(255,88,0,.14);
    --orangeLine: rgba(255,88,0,.42);
    --green: #5ed59a;
    --greenSoft: rgba(94,213,154,.12);
    --yellow: #f3c969;
    --yellowSoft: rgba(243,201,105,.12);
    --red: #ff7a84;
    --redSoft: rgba(255,122,132,.12);
    --blue: #76b7ff;
    --blueSoft: rgba(118,183,255,.12);
    --shadow: 0 18px 50px rgba(0,0,0,.28);
    --radius: 16px;
    --topbar: rgba(9, 10, 12, 0.94);
    --floatingPanel: rgba(21, 24, 29, 0.96);
    --cardHighlight: rgba(255, 255, 255, 0.018);
    --tableStripe: rgba(255, 255, 255, 0.015);
    --screenOverlay: rgba(9, 10, 12, 0.72);
    --log-bg: #101317;
    --log-text: #d7dde7;
    --log-muted: #778291;
    --log-time: #9aa6b8;
    --log-module: #b9c2cf;
    --log-info: #7cc7ff;
    --log-debug: #9ed8a5;
    --log-warn: #ffd36e;
    --log-error: #ff8d98;
    --log-fatal: #ffb07c;
    --krl-motion: #ffb07c;
    --krl-directive: #ff8d98;
    --krl-control: #d5b3ff;
    --krl-type: #7cc7ff;
    --krl-builtin: #9ed8a5;
    --krl-system: #76b7ff;
    --krl-literal: #f3c969;
    --krl-string: #d7dde7;
    --krl-number: #ff9ec4;
}
:root[data-theme="light"] {
    --bg: #edf1f5;
    --panel: #ffffff;
    --panel2: #f7f9fb;
    --panel3: #e8edf3;
    --line: #c9d2dc;
    --line2: #aebbc8;
    --text: #17212b;
    --soft: #344250;
    --muted: #647383;
    --orange: #c94700;
    --orange2: #a83c00;
    --orangeSoft: rgba(201, 71, 0, .12);
    --orangeLine: rgba(201, 71, 0, .42);
    --green: #247a51;
    --greenSoft: rgba(36, 122, 81, .12);
    --yellow: #8c6200;
    --yellowSoft: rgba(140, 98, 0, .12);
    --red: #bd3443;
    --redSoft: rgba(189, 52, 67, .12);
    --blue: #1867a8;
    --blueSoft: rgba(24, 103, 168, .12);
    --shadow: 0 12px 30px rgba(30, 48, 66, .14);
    --topbar: rgba(255, 255, 255, 0.94);
    --floatingPanel: rgba(255, 255, 255, 0.96);
    --cardHighlight: rgba(23, 33, 43, 0.025);
    --tableStripe: rgba(23, 33, 43, 0.025);
    --screenOverlay: rgba(23, 33, 43, 0.58);
    --log-bg: #f3f6f9;
    --log-text: #1f2d3a;
    --log-muted: #647383;
    --log-time: #4d6275;
    --log-module: #344b5e;
    --log-info: #1769aa;
    --log-debug: #247a51;
    --log-warn: #895f00;
    --log-error: #b72f3e;
    --log-fatal: #a14200;
    --krl-motion: #9a3d00;
    --krl-directive: #b72f3e;
    --krl-control: #704097;
    --krl-type: #1769aa;
    --krl-builtin: #247a51;
    --krl-system: #1769aa;
    --krl-literal: #895f00;
    --krl-string: #344250;
    --krl-number: #9b2761;
}
body{
    background: radial-gradient(circle at 90% 0%, rgba(255,88,0,.08), transparent 30rem), var(--bg);
    color: var(--soft);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    line-height: 1.55;
}
button,
input,
textarea,
select {
    font: inherit;
}
::selection {
    background: var(--orange);
    color: white;
}
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
a {
    color: var(--orange);
}
a:hover,
a:focus {
    color: var(--orange2);
}
h3 {
    color: var(--text);
    font-size: 11pt;
    font-weight: bold;
}
td {
    min-width: 130px;
}
.qac-mobile-topbar {
    align-items: center;
    background: var(--topbar);
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 12px;
    height: 58px;
    left: 0;
    padding: 0 14px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 120;
}
.qac-menu-button {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--soft);
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.qac-menu-button:hover,
.qac-menu-button:focus {
    background: var(--orangeSoft);
    color: var(--orange2);
}
.qac-mobile-title {
    color: var(--orange);
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    font-size: 13pt;
    font-style: italic;
    font-weight: bold;
    line-height: 1.2;
    min-width: 0;
}
.qac-mobile-open-file-name,
[data-qac-version] {
    color: var(--muted);
    font-size: 8.5pt;
    font-style: normal;
    font-weight: normal;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qac-mobile-overlay {
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 58px;
    z-index: 105;
}
body.qac-menu-open .qac-mobile-overlay {
    display: block;
}
#navi {
    position: fixed;
    overflow-y: auto;
    background-color: var(--panel);
    width: 240px;
    height: 100vh;
    z-index:15;
    left: 0;
    top: 0;
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
}
#navBarRow {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 14px 12px;
}
.qac-menu-brand {
    align-items: center;
    color: var(--orange);
    display: flex;
    font-size: 13pt;
    font-style: italic;
    font-weight: bold;
    gap: 10px;
    padding: 4px 4px 10px;
}
.qac-menu-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.qac-start-brand {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 50px;
    justify-content: center;
    padding-inline: 50px;
}
.qac-start-brand [data-qac-version] {
    display: inline-block;
}
.qac-open-file-name {
    color: var(--muted);
    font-size: 8.5pt;
    font-style: normal;
    font-weight: normal;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.qac-snapshot-dir-debug {
    color: var(--muted);
    font-size: 8pt;
    font-style: normal;
    font-weight: normal;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
#navTabs {
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: 0;
    gap: 4px;
}
.qac-menu-tools-list {
    background-color: var(--panel);
    border-bottom: 0;
    bottom: 0;
    flex: 0 0 auto;
    gap: 4px;
    margin: 0;
    min-width: 0;
    padding: 10px 0 0;
    position: sticky;
}
.qac-theme-control .nav-link {
    cursor: pointer;
}
.qac-theme-control input {
    appearance: none;
    background: var(--panel3);
    border: 1px solid var(--line2);
    border-radius: 999px;
    cursor: pointer;
    height: 20px;
    margin-left: auto;
    position: relative;
    transition: background-color .16s ease, border-color .16s ease;
    width: 34px;
}
.qac-theme-control input::after {
    background: var(--soft);
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: background-color .16s ease, transform .16s ease;
    width: 14px;
}
.qac-theme-control input:checked {
    background: var(--orange);
    border-color: var(--orange);
}
.qac-theme-control input:checked::after {
    background: #fff;
    transform: translateX(14px);
}
.qac-theme-control input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
#navi.qac-empty .requires-diagnostics {
    display: none;
}
#navTabs .nav-link,
#navTabs .dropdown-item,
.qac-menu-tools-list .nav-link {
    align-items: center;
    border: 0;
    border-radius: 4px;
    color: var(--soft);
    display: flex;
    gap: 8px;
    font-size: inherit;
    line-height: 1.5;
    min-height: 32px;
    padding: 6px 10px;
    width: 100%;
}
#navTabs .nav-link:hover,
#navTabs .nav-link:focus,
#navTabs .dropdown-item:hover,
#navTabs .dropdown-item:focus,
#navTabs .nav-link.active,
#navTabs .dropdown-item.active,
.qac-menu-tools-list .nav-link:hover,
.qac-menu-tools-list .nav-link:focus {
    background-color: var(--orangeSoft);
    color: var(--orange2);
}
.qac-menu-toggle::after {
    content: "\f107";
    font-family: FontAwesome;
    margin-left: auto;
}
#navi.qac-empty .qac-menu-toggle::after {
    content: none;
}
.qac-menu-toggle[aria-expanded="false"]::after {
    content: "\f105";
}
.qac-submenu {
    list-style: none;
    margin: 2px 0 6px;
    padding-left: 14px;
}
#navTabs .qac-submenu .dropdown-item {
    font-size: 9pt;
    min-height: 28px;
    padding-left: 12px;
}
#globalSearchBar {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 6px;
    flex: 0 0 auto;
    justify-content: flex-start;
    color: var(--orange);
}
#globalSearchFilters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
}
.search-filter-option {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 9pt;
    white-space: nowrap;
    color: var(--muted);
}
.search-filter-option input {
    margin: 0;
    accent-color: var(--orange);
}
#searchProgressWrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 2px 0 12px;
}
#searchProgressBar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: var(--panel3);
    overflow: hidden;
    flex: 0 0 auto;
}
#searchProgressFill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange2) 100%);
    transition: width 0.12s ease-out;
}
#searchProgressText {
    color: var(--muted);
    font-size: 9pt;
    white-space: normal;
}
#globalSearchQuery,
#krlSearch {
    padding: 4px 8px;
    border: 1px solid var(--line2);
    border-radius: 4px;
    background: var(--panel2);
    color: var(--text);
    outline-color: var(--orange);
}
#globalSearchButton {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
#globalSearchButton:hover,
#globalSearchButton:focus {
    background-color: var(--orange2);
    border-color: var(--orange2);
    color: #fff;
}
#fileConts, #fileTreeBrowser, #searchResults, #searchPreview {
    height: var(--file-viewer-height);
    overflow-y: auto;
}
#fileConts,
#searchPreview,
#errEcatPos,
#btLogRaw {
    overscroll-behavior: contain;
}
.qac-file-text-viewer {
    cursor: text;
    user-select: text;
}
.qac-file-text-size-button {
    align-items: center;
    background: var(--floatingPanel);
    border: 1px solid var(--line2);
    border-radius: 6px;
    color: var(--soft);
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    padding: 0;
    width: 28px;
}
.qac-file-text-size-button:hover,
.qac-file-text-size-button:focus {
    background: var(--orangeSoft);
    border-color: var(--orangeLine);
    color: var(--orange2);
}
.qac-file-text-size-button:disabled {
    color: var(--muted);
    cursor: default;
    opacity: .55;
}
.qac-file-text-size-control {
    align-items: center;
    color: var(--soft);
    display: flex;
    gap: 8px;
    min-height: 32px;
    padding: 6px 10px;
}
.qac-file-text-size-control-local {
    margin-left: auto;
    min-height: 28px;
    padding: 0;
}
.qac-file-text-size-label,
.qac-file-text-size-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}
.qac-file-text-size-actions {
    margin-left: auto;
}
#fileRow {
    --content-max-width: 1440px;
}
.qac-file-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(280px, .42fr) minmax(420px, 1fr);
    margin-left: 0;
    margin-right: 0;
}
.qac-file-grid.qac-primary-log-view {
    grid-template-columns: minmax(0, 1fr);
}
.qac-primary-log-view .qac-file-tree-card {
    display: none;
}
.qac-file-instance-card {
    margin-bottom: 16px;
}
.qac-file-instance-card span {
    color: var(--soft);
    display: block;
    font-size: 9pt;
    margin-bottom: 4px;
}
.qac-file-instance-card strong {
    color: var(--orange2);
    overflow-wrap: anywhere;
}
.qac-file-tree-card,
.qac-file-content-card,
.qac-search-results-card,
.qac-search-preview-card {
    overflow: hidden;
}
#fileTreeBrowser,
#fileConts,
#searchResults {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 10px 12px;
    scrollbar-color: var(--muted) var(--panel2);
}
#fileConts {
    overflow-x: auto;
}
#contents, #krlContents {
    padding: 4px 0 12px 0;
}
.file-tree {
    list-style: none;
    margin: 0;
    padding-left: 18px;
}
.file-tree-root {
    padding-left: 0;
}
.file-tree-item {
    margin: 0;
}
.file-tree-node {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: var(--soft);
    display: flex;
    gap: 7px;
    min-height: 26px;
    padding: 3px 6px;
    text-align: left;
    width: 100%;
}
.file-tree-node:hover,
.file-tree-node:focus,
.file-tree-active {
    background-color: var(--orangeSoft);
    color: var(--orange2);
    outline: none;
}
.file-tree-file-label {
    background: transparent;
    cursor: pointer;
    font: inherit;
}
.file-tree-folder-label {
    cursor: pointer;
    font-weight: bold;
}
.file-tree-folder-label::marker,
.file-tree-folder-label::-webkit-details-marker {
    display: none;
}
.file-tree-icon {
    flex: 0 0 16px;
    text-align: center;
}
.file-tree-folder-open {
    display: none;
}
.file-tree-folder details[open] > .file-tree-folder-label .file-tree-folder-closed {
    display: none;
}
.file-tree-folder details[open] > .file-tree-folder-label .file-tree-folder-open {
    display: inline-block;
}
#fileInner {
    max-width: inherit;
    overflow-x: auto;
}
#fileInner,
.qac-file-plain {
    color: var(--text);
    display: block;
    font-family: Consolas, Monaco, monospace;
    font-size: var(--file-viewer-font-size);
    line-height: 1.45;
    min-width: max-content;
    user-select: text;
    white-space: pre;
}
.qac-file-search-bar {
    align-items: center;
    background: var(--floatingPanel);
    border: 1px solid var(--line2);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
    box-sizing: border-box;
    gap: 6px;
    margin-bottom: 8px;
    max-width: min(100%, 430px);
    padding: 6px;
    position: sticky;
    top: 0;
    white-space: normal;
    z-index: 5;
}
.qac-file-search-bar input {
    background: var(--panel3);
    border: 1px solid var(--line2);
    border-radius: 6px;
    color: var(--text);
    min-width: 140px;
    padding: 4px 8px;
    width: 180px;
}
.container .qac-file-search-status {
    color: var(--muted);
    min-width: 48px;
    text-align: center;
    white-space: nowrap;
}
.qac-file-search-button {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--soft);
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}
.qac-file-search-button:hover,
.qac-file-search-button:focus {
    background: var(--orangeSoft);
    border-color: var(--orangeLine);
    color: var(--orange2);
}
.container .qac-file-search-match {
    background: var(--yellowSoft);
    color: var(--yellow);
    outline: 1px solid rgba(243,201,105,.35);
}
.container .qac-file-search-current {
    background: var(--orange);
    color: #fff;
    outline-color: rgba(255,255,255,.55);
}
.krl-search-panel {
    margin-bottom: 10px;
}
.krl-search-panel input {
    min-width: 0;
    width: 100%;
}
.file-tree-panel {
    margin-bottom: 10px;
}
.file-tree-panel h3 {
    margin: 0 0 4px 0;
}
#searchPreviewShell {
    display: flex;
    align-items: stretch;
    gap: 8px;
    height: var(--file-viewer-height);
    overflow: hidden;
}
#searchPreview {
    flex: 1 1 auto;
    max-width: none;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    padding: 8px 10px;
}
#searchPreviewMap {
    position: relative;
    flex: 0 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--panel2) 0%, var(--panel3) 100%);
    overflow: hidden;
}
#searchPreviewMarkers,
#searchPreviewViewport {
    position: absolute;
    left: 0;
    right: 0;
}
#searchPreviewMarkers {
    top: 0;
    bottom: 0;
}
#searchPreviewViewport {
    border: 1px solid var(--line2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    min-height: 18px;
    pointer-events: none;
}
.search-preview-marker {
    position: absolute;
    left: 2px;
    right: 2px;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
    cursor: pointer;
    opacity: 0.9;
}
.search-preview-marker:hover {
    background: var(--orange2);
}
.container {
    --content-max-width: 1360px;
    max-width: min(calc(100% - 350px), var(--content-max-width));
    width: auto;
    margin-left: 260px;
    margin-right: 90px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 24px;
}
.container h2,
.container h3,
.modal-title {
    color: var(--text);
}
.container table,
.container p,
.container span,
.container small,
.container label {
    color: var(--soft);
}
.container hr {
    border-color: var(--line);
    opacity: 1;
}
.container select,
.container input,
.container textarea,
.modal-content {
    background-color: var(--panel2);
    border-color: var(--line2);
    color: var(--text);
}
.modal-content {
    box-shadow: var(--shadow);
}
.modal-header,
.modal-footer {
    border-color: var(--line);
}
.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--orange2);
    border-color: var(--orange2);
}
#dropArea,
#spinLoad,
#printArea {
    margin-left: 260px;
    margin-right: 90px;
}
#viewRow,
#procRow {
    --content-max-width: 1240px;
}
#hardwareRow {
    margin-right: 0;
    max-width: calc(100% - 260px);
}
#viewRow {
    max-width: min(calc(100% - 310px), var(--content-max-width));
    margin-right: 50px;
}
.qac-card {
    background: linear-gradient(180deg, var(--cardHighlight), transparent), var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 0;
    overflow: auto;
    padding: 18px 20px;
}
.qac-card h2:first-child,
.qac-card h3:first-child {
    margin-top: 0;
}
.qac-card-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}
.qac-card-heading h2 {
    margin: 0;
}
.qac-overview-card-heading {
    min-height: 34px;
}
.qac-overview-card-actions {
    display: inline-flex;
    gap: 8px;
}
.qac-overview-drag-handle {
    cursor: grab;
    touch-action: none;
}
.qac-overview-drag-handle:active {
    cursor: grabbing;
}
.qac-overview-card-dragging {
    opacity: .45;
}
.qac-icon-button {
    align-items: center;
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--soft);
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}
.qac-icon-button:hover,
.qac-icon-button:focus {
    background: var(--orangeSoft);
    border-color: var(--orangeLine);
    color: var(--orange2);
}
.qac-card table {
    max-width: 100%;
}
#temperatureInfo table {
    width: 100%;
}
#temperatureInfo th:last-child,
#temperatureInfo td:last-child {
    white-space: nowrap;
    width: 35%;
}
.qac-help-card {
    max-width: 1120px;
}
.qac-help-feature-table td:first-child {
    color: var(--orange2);
    font-weight: bold;
    min-width: 170px;
    padding-right: 18px;
    vertical-align: top;
}
.qac-help-feature-table td:first-child .fa {
    margin-right: 6px;
}
.qac-help-feature-table td:nth-child(2) {
    width: 100%;
}
.qac-help-availability {
    display: inline-flex;
    gap: 4px;
    min-width: 120px;
    padding-left: 18px;
    white-space: nowrap;
}
.qac-help-badge {
    background: var(--greenSoft);
    border: 1px solid rgba(94,213,154,.35);
    border-radius: 999px;
    color: var(--green);
    font-size: 7.5pt;
    font-weight: bold;
    line-height: 1.2;
    padding: 2px 6px;
}
.qac-help-badge-os2 {
    background: var(--blueSoft);
    border-color: rgba(118,183,255,.35);
    color: var(--blue);
}
.qac-help-feature-table td:last-child {
    padding-bottom: 8px;
}
#viewRow .qac-overview-grid,
#hardwareRow .qac-hardware-grid,
#procRow .qac-process-grid,
.qac-ecat-summary-grid,
.qac-ecat-log-row,
.qac-ecat-detail-grid,
.qac-project-summary-grid,
.qac-project-krl-grid,
.qac-load-summary-grid,
.qac-load-table-row {
    display: grid;
    gap: 16px;
    margin-left: 0;
    margin-right: 0;
}
#viewRow .qac-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 370px), 1fr));
}
#hardwareRow .qac-hardware-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 370px), 1fr));
}
#pcComponentsInfo h5 {
    color: var(--text);
    font-size: 10pt;
    margin: 14px 0 5px;
}
#controllerComponentsInfo h5 {
    color: var(--text);
    font-size: 10pt;
    margin: 14px 0 5px;
}
#pcComponentsInfo h5:first-child {
    margin-top: 2px;
}
#controllerComponentsInfo h5:first-child {
    margin-top: 2px;
}
#pcComponentsInfo h5:not(:first-child) {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 12px;
}
#controllerComponentsInfo h5:not(:first-child) {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 12px;
}
#pcComponentsInfo table {
    margin-bottom: 0;
}
.qac-partition-usage-chart-shell {
    height: 100px;
    position: relative;
    width: 100px;
}
.qac-partition-usage-chart-shell .qac-partition-usage-chart {
    display: block;
    height: 100% !important;
    max-width: none !important;
    width: 100% !important;
}
#controllerComponentsInfo table {
    margin-bottom: 0;
}
.qac-controller-device-table {
    width: 100%;
}
.qac-controller-device-table td:last-child {
    text-align: right;
    white-space: nowrap;
}
.qac-controller-device-table small {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.8em;
    opacity: 0.7;
}
.qac-controller-device-table .qac-controller-device-hardware-version {
    display: block;
    margin-left: 0;
}
#procRow .qac-process-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
}
#ecatRow {
    --content-max-width: 1480px;
}
.qac-ecat-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.qac-ecat-log-row {
    grid-template-columns: 1fr;
}
.qac-log-timeline-row {
    display: grid;
    gap: 10px;
    width: 100%;
}
#timelineRow {
    margin-left: 260px;
    margin-right: 20px;
    max-width: calc(100% - 280px);
    width: auto;
}
#logTimelineTimestampWarning {
    background: var(--panel2);
    border-color: var(--yellow);
    color: var(--yellow);
}
.qac-log-timeline-panel {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
}
.qac-log-timeline-controls {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}
#logTimelineExport {
    white-space: nowrap;
}
.qac-log-timeline-content {
    position: relative;
}
.qac-log-timeline-loading {
    display: none;
}
#timelineRow[aria-busy="true"] .qac-log-timeline-table-wrap {
    min-height: min(260px, 40vh);
    position: relative;
}
#timelineRow[aria-busy="true"] .qac-log-timeline-loading {
    align-items: center;
    background: var(--floatingPanel);
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 18px;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: absolute;
    text-align: center;
    z-index: 4;
}
.qac-log-timeline-loading i {
    color: var(--orange);
    font-size: 48px;
}
.qac-log-timeline-loading strong {
    font-size: 1.125rem;
}
@media (prefers-reduced-motion: reduce) {
    .qac-log-timeline-loading .fa-spin {
        animation: none;
    }
}
#logTimelineSearchBar {
    margin: 0;
    max-width: calc(100% - 28px);
    position: absolute;
    right: 14px;
    top: 14px;
}
#logTimelineSearchBar input {
    flex: 1 1 100px;
    min-width: 0;
    width: auto;
}
#logTimelineSearchBar .qac-file-search-button {
    flex: 0 0 28px;
}
.qac-log-time-fields label {
    color: var(--text);
    display: grid;
    font-weight: 600;
    gap: 5px;
}
.qac-log-timeline-summary {
    margin: 0;
}
.qac-log-time-overview { min-width: 0; }
.qac-log-time-fields {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px;
    margin-bottom: 6px;
}
.qac-log-time-fields input { min-width: 0; width: 100%; }
.qac-log-time-fields button { height: 38px; padding: 0; width: 38px; }
.qac-log-time-brush {
    cursor: crosshair;
    height: 28px;
    margin: 0 7px;
    position: relative;
    touch-action: none;
    user-select: none;
}
.qac-log-time-brush[aria-disabled="true"] { cursor: default; }
.qac-log-time-brush::before {
    background: var(--line);
    border-radius: 3px;
    content: '';
    height: 14px;
    left: 0;
    position: absolute;
    right: 0;
    top: 7px;
}
.qac-log-time-activity { height: 14px; position: absolute; top: 7px; width: 100%; pointer-events: none; }
.qac-log-time-activity span { background: var(--blue); height: 100%; position: absolute; }
.qac-log-time-selection {
    background: color-mix(in srgb, var(--blue) 20%, transparent);
    border-radius: 3px;
    cursor: grab;
    height: 14px;
    position: absolute;
    top: 7px;
    box-shadow: inset 0 0 0 1px var(--blue);
}
.qac-log-time-selection::before { content: ''; position: absolute; inset: -11px 0; }
.qac-log-time-selection:active { cursor: grabbing; }
.qac-log-time-handle {
    background: var(--blue);
    border: 2px solid var(--panel2);
    border-radius: 3px;
    cursor: ew-resize;
    height: 24px;
    position: absolute;
    top: 2px;
    transform: translateX(-50%);
    width: 14px;
}
.qac-log-time-handle::before { content: ''; position: absolute; inset: -3px -7px; }
.qac-log-time-handle::after { background: #fff; content: ''; height: 10px; left: 4px; position: absolute; top: 5px; width: 2px; }
.qac-log-time-handle:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.qac-log-time-axis { color: var(--soft); display: flex; font-size: 0.75rem; gap: 12px; justify-content: space-between; margin-top: 6px; }
.qac-log-time-axis span { min-width: 0; overflow-wrap: anywhere; }
.qac-log-time-axis span:last-child { text-align: right; }
.qac-log-timeline-filter-context-menu[hidden],
.qac-log-time-selection[hidden],
.qac-log-time-handle[hidden] { display: none; }
@media (max-width: 600px) {
    .qac-log-time-fields { grid-template-columns: minmax(0, 1fr) 38px; }
    .qac-log-time-fields label { grid-column: 1; }
    .qac-log-time-fields button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.qac-log-timeline-content {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}
.qac-log-timeline-filter-options {
    display: grid;
    gap: 6px;
    max-height: min(340px, calc(100dvh - 110px));
    overflow-y: auto;
}
.qac-log-timeline-filter-options label {
    align-items: center;
    display: flex;
    font-weight: 400;
    gap: 6px;
    white-space: nowrap;
}
#logTimelineSourceFilters label {
    align-items: flex-start;
    overflow-wrap: anywhere;
    white-space: normal;
}
#logTimelineSourceFilters input {
    flex-shrink: 0;
    margin-top: 4px;
}
#logTimelineLanguageControl {
    margin: 4px 0 0 20px;
    min-width: 0;
}
#logTimelineLanguage {
    font-size: 0.75rem;
    min-width: 0;
    width: 100%;
}
.qac-log-timeline-filter-popout {
    background: var(--panel2);
    border: 1px solid var(--line);
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
    display: grid;
    gap: 8px;
    max-height: calc(100dvh - 16px);
    overflow: auto;
    padding: 10px;
    position: fixed;
    width: min(260px, calc(100vw - 16px));
    z-index: 20;
}
.qac-log-timeline-filter-popout[hidden] { display: none; }
.qac-log-timeline-time-popout { width: min(460px, calc(100vw - 16px)); }
.qac-log-timeline-filter-actions { display: flex; gap: 8px; }
.qac-log-timeline-filter-actions button {
    background: transparent;
    border: 0;
    color: var(--blue);
    padding: 2px 4px;
}
.qac-log-timeline-filter-actions button:hover { text-decoration: underline; }
.qac-log-timeline-filter-actions button:focus-visible { outline: 2px solid var(--blue); }
.qac-log-timeline-table-wrap {
    grid-column: 1;
    grid-row: 1;
    max-height: max(260px, calc(100dvh - 235px));
    min-width: 0;
    overflow: auto;
}
.qac-log-timeline-detail {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
    grid-column: 1;
    grid-row: 2;
    max-height: 110px;
    min-height: 110px;
    overflow: auto;
    padding-top: 10px;
}
@media (min-width: 761px) and (min-height: 850px) {
    .qac-log-timeline-table-wrap { max-height: max(260px, calc(100dvh - 260px)); }
    .qac-log-timeline-detail { max-height: none; overflow: visible; }
}
@media (min-width: 761px) {
    #logTimelineTimestampWarning:not([hidden]) + .qac-log-timeline-row .qac-log-timeline-table-wrap {
        max-height: max(260px, calc(100dvh - 285px));
    }
}
@media (min-width: 761px) and (min-height: 850px) {
    #logTimelineTimestampWarning:not([hidden]) + .qac-log-timeline-row .qac-log-timeline-table-wrap {
        max-height: max(260px, calc(100dvh - 310px));
    }
}
.qac-log-timeline-detail dl {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}
.qac-log-timeline-detail dl > div {
    min-width: 0;
}
.qac-log-timeline-detail dt {
    color: var(--soft);
    font-size: 0.8rem;
    font-weight: 600;
}
.qac-log-timeline-detail dd {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qac-log-timeline-detail pre {
    font: inherit;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.qac-log-timeline-table {
    border-collapse: collapse;
    min-width: 0;
    table-layout: fixed;
    width: 100%;
}
.qac-log-timeline-table {
    --log-timeline-time-width: 18%;
    --log-timeline-severity-width: 12%;
    --log-timeline-source-width: 16%;
    --log-timeline-message-width: 54%;
}
.qac-log-timeline-time-column { width: var(--log-timeline-time-width); }
.qac-log-timeline-severity-column { width: var(--log-timeline-severity-width); }
.qac-log-timeline-source-column { width: var(--log-timeline-source-width); }
.qac-log-timeline-message-column { width: var(--log-timeline-message-width); }
.qac-log-timeline-table th,
.qac-log-timeline-table td {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 7px 9px;
    text-align: left;
    text-overflow: ellipsis;
    vertical-align: top;
    white-space: nowrap;
}
.qac-log-timeline-table tbody tr:not(.qac-log-timeline-virtual-spacer) {
    cursor: pointer;
    height: 36px;
}
.qac-log-timeline-table tbody tr.qac-log-timeline-critical {
    background: var(--redSoft);
}
.qac-log-timeline-table tbody tr.qac-log-timeline-search-match {
    background: var(--yellowSoft);
}
.qac-log-timeline-table tbody tr.qac-log-timeline-search-current {
    background: var(--orangeSoft);
}
.qac-log-timeline-table tbody tr.qac-log-timeline-search-current td:first-child {
    box-shadow: inset 3px 0 var(--orange);
}
.qac-log-timeline-table tbody tr:not(.qac-log-timeline-virtual-spacer):hover,
.qac-log-timeline-table tbody tr.qac-log-timeline-selected {
    background: color-mix(in srgb, var(--blue) 18%, transparent);
}
.qac-log-timeline-table tbody tr:not(.qac-log-timeline-virtual-spacer):focus {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}
.qac-log-timeline-virtual-spacer td {
    border: 0;
    padding: 0;
}
.qac-log-timeline-table th {
    background: var(--panel2);
    position: sticky;
    top: 0;
}
.qac-log-timeline-table th[data-log-timeline-column] {
    position: sticky;
}
#logTimelineMessageFilter {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px;
    box-sizing: border-box;
    color: var(--text);
    font: inherit;
    font-weight: 400;
    height: 27px;
    max-width: calc(100% - 110px);
    min-width: 0;
    padding: 2px 6px;
    vertical-align: middle;
    width: 220px;
}
#logTimelineMessageFilter:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.qac-log-timeline-message-filter-icon {
    color: var(--soft);
    margin-left: 5px;
}
.qac-log-timeline-filter-button {
    background: transparent;
    border: 0;
    color: var(--soft);
    cursor: pointer;
    font: inherit;
    padding: 1px 4px;
}
.qac-log-timeline-filter-button:hover,
.qac-log-timeline-filter-button[aria-expanded="true"] { color: var(--blue); }
.qac-log-timeline-filter-button.qac-log-timeline-filter-active,
#logTimelineMessageFilter.qac-log-timeline-filter-active + .qac-log-timeline-message-filter-icon {
    animation: qac-log-filter-glow 2.4s ease-in-out infinite;
    color: var(--orange);
    text-shadow: 0 0 4px var(--orange);
}
@keyframes qac-log-filter-glow {
    50% { text-shadow: 0 0 10px var(--orange), 0 0 5px var(--orange); }
}
@media (prefers-reduced-motion: reduce) {
    .qac-log-timeline-filter-button.qac-log-timeline-filter-active,
    #logTimelineMessageFilter.qac-log-timeline-filter-active + .qac-log-timeline-message-filter-icon { animation: none; }
}
.qac-log-timeline-filter-button:focus-visible { outline: 2px solid var(--blue); }
.qac-log-timeline-column-resizer {
    bottom: 0;
    cursor: col-resize;
    position: absolute;
    right: -4px;
    top: 0;
    touch-action: none;
    width: 8px;
    z-index: 2;
}
.qac-log-timeline-column-resizer::after {
    background: var(--line2);
    bottom: 5px;
    content: '';
    left: 3px;
    position: absolute;
    top: 5px;
    width: 2px;
}
.qac-log-timeline-column-resizer:hover,
.qac-log-timeline-column-resizer:focus {
    background: var(--blueSoft);
    outline: none;
}
.qac-log-timeline-column-resizer:hover::after,
.qac-log-timeline-column-resizer:focus::after { background: var(--blue); }
.qac-log-cross-icon {
    margin-right: 6px;
}
.qac-log-timeline-message {
    min-width: 0;
}
.qac-log-timeline-warning td:nth-child(2) { color: #9a6a00; }
.qac-log-timeline-error td:nth-child(2),
.qac-log-timeline-critical td:nth-child(2) { color: #b3261e; }
.qac-ecat-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    margin-top: 18px;
}
.qac-ecat-summary-grid > [class*="col-"],
.qac-ecat-log-row > [class*="col-"],
.qac-ecat-detail-grid > [class*="col-"],
#viewRow .qac-overview-grid > [class*="col-"],
#hardwareRow .qac-hardware-grid > [class*="col-"],
#procRow .qac-process-grid > [class*="col-"],
.qac-load-summary-grid > [class*="col-"],
.qac-load-table-row > [class*="col-"] {
    flex: none;
    max-width: none;
    width: auto;
}
.qac-ecat-log-panel {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-sizing: border-box;
    min-width: 0;
    overflow: auto;
    padding: 14px 16px 16px;
}
.qac-ecat-log-panel h3:first-child {
    margin-top: 0;
}
@media (max-width: 760px) {
    #timelineRow {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        width: 100%;
    }
    .qac-log-timeline-controls {
        grid-template-columns: 1fr;
    }
    #logTimelineExport {
        justify-self: start;
    }
    .qac-log-timeline-content {
        grid-template-columns: 1fr;
    }
    .qac-log-timeline-table-wrap,
    .qac-log-timeline-detail {
        grid-column: 1;
        grid-row: auto;
    }
    .qac-log-timeline-table-wrap {
        max-height: max(220px, calc(100dvh - 345px));
    }
}
.qac-log-view {
    --qac-log-bg: var(--log-bg);
    --qac-log-text: var(--log-text);
    --qac-log-muted: var(--log-muted);
    --qac-log-time: var(--log-time);
    --qac-log-module: var(--log-module);
    --qac-log-basic: var(--log-text);
    --qac-log-info: var(--log-info);
    --qac-log-debug: var(--log-debug);
    --qac-log-warn: var(--log-warn);
    --qac-log-error: var(--log-error);
    --qac-log-fatal: var(--log-fatal);
    background: var(--qac-log-bg);
    color: var(--qac-log-text);
    font-family: Consolas, Monaco, monospace;
    font-size: var(--file-viewer-font-size);
    line-height: 1.45;
}
.qac-log-view.krl_plain {
    color: var(--qac-log-text);
    font-family: Consolas, Monaco, monospace;
}
.container .qac-log-view .qac-log-line-number {
    color: var(--qac-log-muted);
    display: inline-block;
    margin-right: 10px;
    text-align: right;
}
.container .qac-log-row {
    display: inline-block;
    min-width: 100%;
}
.container .qac-log-search-line {
    background: rgba(243,201,105,.08);
}
.container .qac-log-view .qac-log-time {
    color: var(--qac-log-time);
}
.container .qac-log-view .qac-log-module {
    color: var(--qac-log-module);
}
.container .qac-log-view .qac-log-message {
    color: var(--qac-log-text);
}
.container .qac-log-view .qac-log-level {
    font-weight: bold;
}
.container .qac-log-view .qac-log-level-basic {
    color: var(--qac-log-basic);
}
.container .qac-log-view .qac-log-level-info {
    color: var(--qac-log-info);
}
.container .qac-log-view .qac-log-level-debug {
    color: var(--qac-log-debug);
}
.container .qac-log-view .qac-log-level-warn {
    color: var(--qac-log-warn);
}
.container .qac-log-view .qac-log-level-error {
    color: var(--qac-log-error);
}
.container .qac-log-view .qac-log-level-fatal {
    color: var(--qac-log-fatal);
}
.qac-wide-select {
    background: var(--panel2);
    border: 1px solid var(--line2);
    border-radius: 8px;
    color: var(--text);
    max-width: 100%;
    min-width: min(100%, 600px);
    padding: 7px 10px;
}
.qac-data-table,
.qac-ecat-slave-table {
    border-collapse: separate;
    border-spacing: 0;
    color: var(--soft);
    font-size: 8.5pt;
    width: 100%;
}
.qac-data-table th,
.qac-data-table td,
.qac-ecat-slave-table th,
.qac-ecat-slave-table td {
    border-bottom: 1px solid var(--line);
    min-width: 0;
    padding: 7px 9px;
    vertical-align: top;
}
.qac-data-table th,
.qac-ecat-slave-table th {
    color: var(--text);
    font-weight: bold;
    text-align: left;
}
.qac-ecat-legend {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin: 12px 0 16px;
}
.qac-ecat-legend span {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    display: flex;
    min-width: 0;
    padding: 7px 9px;
}
.qac-ecat-slave-table {
    table-layout: fixed;
}
.qac-ecat-slave-table th {
    background: var(--panel2);
    border-top: 1px solid var(--line);
}
.qac-ecat-slave {
    border-left: 1px solid var(--line);
    color: var(--text);
    font-family: Consolas, Monaco, monospace;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.qac-ecat-slave + .qac-ecat-slave,
.qac-ecat-slave-table th + th {
    border-left: 1px solid var(--line2);
}
.qac-ecat-state-ok {
    background: rgba(245, 247, 250, .08);
}
.qac-ecat-state-vendor {
    background: rgba(42, 177, 192, .28);
}
.qac-ecat-state-hotconnect {
    background: rgba(255, 160, 122, .28);
}
.qac-ecat-state-missing {
    background: rgba(255, 122, 132, .25);
}
.qac-ecat-state-product {
    background: rgba(218, 165, 32, .28);
}
.qac-ecat-state-revision {
    background: rgba(143, 152, 166, .26);
}
.qac-ecat-state-beckhoff {
    background: rgba(255, 88, 0, .3);
}
.qac-ecat-details {
    color: var(--soft);
    font-size: 8.5pt;
    margin: 0;
}
#ecatErrDetails_001 {
    color: var(--red);
    font-size: 10pt;
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
}
.qac-chart-card {
    overflow: hidden;
}
.qac-chart-shell {
    height: clamp(280px, 42vw, 520px);
    min-height: 0;
    position: relative;
    width: 100%;
}
.qac-chart-shell canvas,
.qac-load-chart-shell canvas {
    height: 100% !important;
    width: 100% !important;
}
.qac-chart-shell canvas {
    max-width: 100%;
}
#accuRow {
    --content-max-width: 1240px;
}
.qac-accu-card {
    min-height: 360px;
}
.qac-accu-chart-shell {
    height: clamp(320px, 46vw, 560px);
}
#brakeRow {
    --content-max-width: 1240px;
}
.qac-brake-overview-card,
.qac-brake-log-card {
    margin-bottom: 16px;
}
.qac-brake-overview-card p {
    margin-bottom: 12px;
}
.qac-brake-overview-grid {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(210px, 0.55fr) minmax(360px, 1fr);
}
.qac-brake-legend-panel,
.qac-brake-legend {
    display: grid;
    gap: 8px;
}
.qac-brake-legend {
    grid-template-columns: 1fr;
}
.qac-brake-legend span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}
.qac-brake-dot {
    background-color: gray;
    border: 1px solid var(--line);
    border-radius: 7px;
    display: inline-block;
    height: 18px;
    width: 18px;
}
.qac-brake-last-card {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}
.qac-brake-last-card h3,
.qac-brake-log-card h3 {
    font-size: 10pt;
    margin-bottom: 8px;
}
.qac-brake-last-card table {
    text-align: center;
    width: 100%;
}
.qac-brake-last-card th,
.qac-brake-last-card td {
    min-width: 40px;
    padding: 4px 6px;
}
.qac-brake-results-panel {
    overflow: auto;
}
.qac-brake-results-panel h3 {
    font-size: 10pt;
    margin-bottom: 4px;
}
.qac-brake-results-table {
    border-collapse: separate;
    border-spacing: 0 3px;
    table-layout: fixed;
    width: 100%;
}
.qac-brake-results-table th {
    color: var(--soft);
    font-size: 9pt;
    font-weight: 600;
    line-height: 1.15;
    padding: 2px 3px;
    text-align: center;
}
.qac-brake-results-table th:first-child {
    color: var(--text);
    text-align: left;
    width: 112px;
}
.qac-brake-results-table th span {
    display: block;
}
.qac-brake-log-control {
    margin-bottom: 14px;
    max-width: 720px;
}
.qac-brake-log-content #btLogRaw {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 8px;
    max-height: none;
    overflow: auto;
    padding: 12px;
}
.qac-brake-log-content code {
    color: var(--text);
    display: block;
    font-size: 9pt;
    white-space: pre-wrap;
}
#poslRow {
    --content-max-width: 1480px;
}
.qac-poslog-summary-card {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(260px, 0.85fr) minmax(260px, 1.05fr) minmax(300px, 1.2fr);
    padding-bottom: 14px;
    padding-top: 14px;
}
.qac-poslog-summary-card h3 {
    font-size: 10pt;
    margin-bottom: 6px;
}
.qac-poslog-file-control {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}
.qac-poslog-file-control h3 {
    grid-column: 1 / -1;
}
.qac-poslog-file-control .qac-wide-select {
    min-width: 0;
    width: 100%;
}
.qac-poslog-export-status {
    color: var(--muted);
    font-size: 0.82rem;
    grid-column: 1 / -1;
    min-height: 1.2em;
}
.qac-poslog-summary-section {
    min-width: 0;
}
.qac-poslog-preview-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}
.qac-poslog-table {
    width: 100%;
}
.qac-poslog-table td {
    border-bottom: 1px solid rgba(69, 77, 89, 0.52);
    font-size: 9pt;
    line-height: 1.25;
    min-width: 0;
    padding: 3px 8px 3px 0;
    vertical-align: top;
}
.qac-poslog-table td:nth-child(odd) {
    color: var(--muted);
    white-space: nowrap;
    width: 1%;
}
.qac-poslog-table td:nth-child(even) {
    color: var(--soft);
    overflow-wrap: anywhere;
}
.qac-poslog-table tr:last-child td {
    border-bottom: 0;
}
.qac-poslog-panel h3 {
    margin-bottom: 10px;
}
.qac-poslog-text-frame {
    background: var(--log-bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    width: 100%;
}
.qac-poslog-scene {
    background: #f4f6fb;
    border: 1px solid rgba(216, 222, 234, 0.8);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.qac-poslog-scene canvas {
    display: block;
    width: 100%;
}
.qac-poslog-scene-controls {
    align-items: center;
    background: var(--floatingPanel);
    border: 1px solid rgba(255, 88, 0, 0.28);
    border-radius: 10px;
    bottom: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-wrap: nowrap;
    font-size: 0.9rem;
    gap: 8px;
    left: 12px;
    overflow: hidden;
    padding: 8px 10px;
    position: absolute;
    right: 12px;
}
.qac-poslog-scene-controls input[type="range"] {
    flex: 1 1 auto;
    min-width: 120px;
    width: 180px;
}
.qac-poslog-scene-controls span,
.qac-poslog-scene-controls label {
    color: var(--text);
    flex: 0 0 auto;
    font-size: 0.88rem;
    margin-bottom: 0;
    white-space: nowrap;
}
.qac-poslog-scene-controls label {
    align-items: center;
    display: inline-flex;
    gap: 5px;
}
.qac-poslog-manual,
.qac-poslog-chart-shell {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.qac-poslog-manual {
    margin-top: 10px;
    padding: 10px 12px;
}
.qac-poslog-manual-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 8px;
}
.qac-poslog-manual-heading strong {
    color: var(--text);
    font-size: 0.95rem;
}
.qac-poslog-manual-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.qac-poslog-manual-grid {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}
.qac-poslog-manual-grid label {
    align-items: center;
    display: grid;
    font-size: 0.88rem;
    gap: 8px;
    grid-template-columns: 28px 1fr 76px;
    margin: 0;
}
.qac-poslog-manual-grid input[type="number"] {
    font-variant-numeric: tabular-nums;
    text-align: right;
    width: 76px;
}
.qac-poslog-axis-card {
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding-top: 16px;
}
.qac-poslog-chart-shell {
    padding: 10px 12px 4px;
}
.qac-poslog-chart-shell canvas {
    max-width: 100%;
}
.qac-process-table-card {
    max-height: min(72vh, 620px);
    overflow-x: hidden;
    overflow-y: auto;
}
#cust_process_list {
    overflow-x: hidden;
}
#HMI_screenshot img {
    height: auto;
    max-width: 100% !important;
}
#HMI_screenshot {
    text-align: center;
}
#HMI_screenshot .qac-card-heading {
    text-align: left;
}
#viewRow .qac-card {
    overflow: visible;
}
#viewRow .qac-card table {
    width: 100%;
}
#viewRow .qac-card th,
#viewRow .qac-card td {
    min-width: 0;
}
#wvsRow {
    --content-max-width: 1240px;
}
.qac-project-title,
.qac-project-section-title {
    margin-bottom: 12px;
}
.qac-project-section-title {
    margin-top: 18px;
}
.qac-project-summary-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, .62fr);
}
.qac-project-krl-grid {
    grid-template-columns: minmax(360px, 1.35fr) minmax(260px, .65fr);
}
.qac-project-check-card {
    grid-column: 1 / -1;
}
.qac-project-facts,
.qac-project-metrics,
.qac-project-actions {
    display: grid;
    gap: 10px;
}
.qac-project-fact,
.qac-project-metric {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}
.qac-project-fact span,
.qac-project-metric span {
    color: var(--soft);
    font-size: 9pt;
}
.qac-project-fact strong,
.qac-project-metric strong {
    color: var(--text);
    font-size: 14pt;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.qac-project-actions .btn {
    justify-self: start;
    white-space: normal;
}
.qac-project-krl-chart-shell {
    height: clamp(300px, 34vw, 460px);
    margin-top: 14px;
}
.qac-project-motion-chart-shell {
    height: clamp(220px, 24vw, 320px);
    margin-top: 14px;
}
#loadRow {
    --content-max-width: 1440px;
}
.qac-load-title {
    margin-bottom: 2px;
}
.qac-load-summary-grid {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
}
.qac-load-overview-card,
.qac-supplementary-card,
.qac-load-table-card {
    overflow: hidden;
}
.qac-load-count {
    align-items: center;
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin: 10px 0 14px;
    padding: 10px 12px;
}
.qac-load-count span {
    color: var(--muted);
}
.qac-load-count strong {
    color: var(--text);
    font-size: 18pt;
    line-height: 1;
}
.qac-load-chart-shell {
    height: 210px;
    position: relative;
}
.qac-supplementary-list {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.qac-supplementary-item {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 56px minmax(0, 1fr);
    min-width: 0;
    padding: 12px 14px;
}
.qac-supplementary-item + .qac-supplementary-item {
    border-top: 1px solid var(--line);
}
.qac-supplementary-item h4 {
    color: var(--text);
    font-size: 11pt;
    font-weight: bold;
    margin: 0;
}
.qac-supplementary-item .frame_table {
    table-layout: fixed;
}
.qac-supplementary-item .frame_table td {
    padding-right: 14px;
}
.qac-supplementary-item .frame_table td:nth-child(odd) {
    width: 48px;
}
.qac-supplementary-item .frame_table td:nth-child(even) {
    width: 34%;
}
.frame_table {
    color: var(--soft);
    font-size: 9pt;
    line-height: 1.35;
    width: 100%;
}
.frame_table td {
    min-width: 0;
    padding: 2px 8px 2px 0;
    white-space: nowrap;
}
.frame_table td:nth-child(odd) {
    color: var(--muted);
    font-weight: bold;
    width: 34px;
}
.frame_table td:nth-child(even) {
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.frame_table_mass td {
    border-bottom: 1px solid var(--line);
    color: var(--text) !important;
    font-weight: bold;
    padding-bottom: 6px;
}
.frame_table .frame_table_section td {
    border-top: 1px solid var(--line);
    color: var(--text);
    font-weight: bold;
    padding-top: 6px;
}
.frame_table .frame_table_mass + .frame_table_section td {
    border-top: 0;
}
.frame_table_section span {
    color: var(--soft);
    font-weight: normal;
}
.frame_table_load {
    table-layout: auto;
    width: auto;
}
.table_warn {
    background-color: rgba(255, 122, 132, .16);
    border-left: 3px solid var(--red);
    border-radius: 8px;
    color: var(--text);
    padding: 7px 8px;
}
.qac-load-table-heading {
    align-items: flex-start;
    margin-bottom: 14px;
}
.qac-load-switch {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 999px;
    margin: 0;
    padding: 7px 12px 7px 38px;
}
.qac-load-switch .form-check-input {
    background-color: var(--panel3);
    border-color: var(--line2);
    margin-left: -26px;
}
.qac-load-switch .form-check-input:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}
.qac-load-switch label {
    color: var(--soft);
    line-height: 1.2;
}
.qac-load-table-wrap {
    overflow: auto;
}
.qac-load-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 980px;
    width: 100%;
}
.qac-load-table > tbody > tr > th,
.qac-load-table > tbody > tr > td {
    border-bottom: 1px solid var(--line);
    min-width: 0;
    padding: 12px 14px;
    vertical-align: middle;
}
.qac-load-table > tbody > tr > th {
    background: var(--panel);
    color: var(--muted);
    font-size: 9pt;
    font-weight: bold;
    position: sticky;
    text-align: left;
    top: 0;
    z-index: 1;
}
.qac-load-table > tbody > tr:not(:first-child) > td {
    background: var(--tableStripe);
}
.qac-load-table > tbody > tr:not(:first-child):hover > td {
    background: var(--orangeSoft);
}
.qac-load-table > tbody > tr > :nth-child(-n + 5) {
    white-space: nowrap;
}
.qac-load-table > tbody > tr > td:first-child {
    color: var(--text);
    font-weight: bold;
}
.qac-load-table > tbody > tr > td:nth-child(2) {
    color: var(--text);
    font-weight: bold;
}
.qac-load-table > tbody > tr > td:nth-child(5) {
    text-align: center;
}
.qac-load-table > tbody > tr > :nth-child(6) {
    min-width: 140px;
}
.qac-load-table > tbody > tr > td.scrollable-td {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 8px;
    max-height: 82px;
    overflow: auto !important;
    padding: 7px 9px;
    white-space: nowrap;
}
.qac-load-action {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}
.qac-load-compact-table {
    margin-top: 12px;
}
#diskInfo th:first-child {
    padding-right: 24px !important;
}
#partitionInfo td {
    width: 50%;
}
.qac-os2-partition-usage-table {
    margin-top: 8px;
    table-layout: fixed;
    width: 100%;
}
.qac-os2-partition-usage-table th,
.qac-os2-partition-usage-table td {
    text-align: center;
    white-space: nowrap;
    width: auto;
}
.qac-os2-partition-usage-table th:first-child,
.qac-os2-partition-usage-table td:first-child {
    text-align: left;
    width: 120px;
}
#partitionInfo .qac-os2-partition-usage-table td {
    width: auto;
}
#partitionInfo canvas:not(.qac-partition-usage-chart) {
    height: auto !important;
    max-width: 150px !important;
    width: 100% !important;
}
#swInfo {
    overflow-wrap: normal;
    white-space: normal;
    word-break: normal;
}
.qac-screenshot-thumb[src=""] {
    display: none;
}
.qac-screenshot-thumb {
    cursor: zoom-in;
}
.qac-screenshot-overlay {
    align-items: center;
    background: var(--screenOverlay);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 240px;
    padding: 24px;
    position: fixed;
    right: 70px;
    top: 0;
    z-index: 200;
}
.qac-screenshot-overlay.is-open {
    display: flex;
}
.qac-screenshot-popup {
    background: var(--panel);
    border: 1px solid var(--line2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 900px);
    max-width: 100%;
    overflow: hidden;
    width: fit-content;
}
.qac-screenshot-toolbar {
    align-items: center;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    color: var(--text);
    display: flex;
    flex: 0 0 auto;
    font-weight: bold;
    justify-content: space-between;
    min-height: 56px;
    padding: 10px 16px;
}
.qac-screenshot-full-scroll {
    flex: 1 1 auto;
    overflow: auto;
    padding: 16px;
    width: fit-content;
}
.qac-screenshot-full-scroll img {
    display: block;
    height: auto;
    max-height: calc(92vh - 90px);
    max-width: calc(100vw - 380px) !important;
}

@media (max-width: 900px) {
    .qac-mobile-topbar {
        display: flex;
    }
    #navi {
        bottom: 0;
        height: auto;
        top: 58px;
        transform: translateX(-100%);
        transition: transform 180ms ease;
        width: 260px;
        z-index: 110;
    }
    body.qac-menu-open #navi {
        transform: none;
    }
    .qac-screenshot-overlay {
        left: 0;
        padding: 16px;
        right: 0;
        top: 58px;
    }
    .qac-screenshot-full-scroll img {
        max-width: calc(100vw - 64px) !important;
    }
    #navBarRow {
        gap: 6px;
        padding: 10px 8px;
    }
    #navTabs .nav-link,
    .qac-menu-tools-list .nav-link {
        padding: 6px 8px;
    }
    #globalSearchBar {
        justify-content: flex-start;
        padding-left: 6px;
    }
    #globalSearchQuery {
        flex: 1 1 180px;
        min-width: 0;
    }
    .container {
        max-width: calc(100% - 80px);
        margin-left: 0;
        margin-right: 80px;
        padding-top: 74px;
    }
    #viewRow {
        max-width: calc(100% - 80px);
        margin-right: 80px;
    }
    #procRow .qac-process-grid {
        grid-template-columns: 1fr;
    }
    .qac-poslog-summary-card,
    .qac-poslog-preview-grid {
        grid-template-columns: 1fr;
    }
    .qac-ecat-summary-grid,
    .qac-ecat-log-row,
    .qac-ecat-detail-grid {
        grid-template-columns: 1fr;
    }
    .qac-load-summary-grid {
        grid-template-columns: 1fr;
    }
    .qac-project-summary-grid,
    .qac-project-krl-grid {
        grid-template-columns: 1fr;
    }
    .qac-file-grid {
        grid-template-columns: 1fr;
    }
    .qac-analysis-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .qac-chart-shell {
        height: clamp(260px, 58vw, 440px);
    }
    #dropArea,
    #spinLoad,
    #printArea {
        margin-left: 0;
        margin-right: 80px;
        padding-top: 58px;
    }
}

@media (max-width: 1200px) {
    .qac-load-summary-grid {
        grid-template-columns: 1fr;
    }
    .qac-load-chart-shell {
        height: 240px;
    }
}

@media (min-width: 1400px) {
    #viewRow .qac-overview-grid,
    #hardwareRow .qac-hardware-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    #globalSearchBar {
        flex: 1 1 100%;
    }
    #globalSearchFilters {
        flex-wrap: wrap;
        gap: 6px;
    }
    .container {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-top: 74px;
    }
    #viewRow {
        max-width: 100%;
        margin-right: 0;
    }
    .qac-card {
        border-radius: 12px;
        padding: 14px;
    }
    .qac-poslog-file-control {
        grid-template-columns: 1fr;
    }
    .qac-poslog-file-control > * {
        grid-column: 1 / -1;
    }
    .qac-poslog-manual-grid {
        grid-template-columns: 1fr;
    }
    .qac-poslog-scene-controls {
        align-items: stretch;
        flex-wrap: wrap;
    }
    .qac-poslog-scene-controls input[type="range"] {
        flex-basis: 100%;
        order: 2;
        width: 100%;
    }
    .qac-load-table-heading {
        display: block;
    }
    .qac-load-switch {
        margin-top: 10px;
    }
    .qac-load-chart-shell {
        height: 190px;
    }
    .qac-supplementary-item {
        align-items: start;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .qac-chart-shell {
        height: 280px;
    }
    #dropArea,
    #spinLoad,
    #printArea {
        margin-left: 0;
        margin-right: 0;
        padding-top: 58px;
    }
}
.row {
    margin-top: 10px;
}
.customView {
    padding: 10px;
    height: 250px;
    overflow-y: auto;
}
.customViewSelect {
    margin-bottom: 10px;
}
.krl_plain {
    font-family: monospace;
    font-size: var(--file-viewer-font-size);
    color: var(--text);
    user-select: text;
}
.xml_plain,
.json_plain,
.ini_plain {
    font-family: monospace;
    font-size: var(--file-viewer-font-size);
    color: var(--text);
    user-select: text;
}
#fileInner.xml_plain,
#fileInner.json_plain,
#fileInner.ini_plain,
#searchPreviewInner.xml_plain,
#searchPreviewInner.json_plain,
#searchPreviewInner.ini_plain,
#searchPreviewInner.xml_plain .search-match-line,
#searchPreviewInner.json_plain .search-match-line,
#searchPreviewInner.ini_plain .search-match-line {
    line-height: 1.45;
}
.qac-source-line {
    display: block;
    line-height: 1.45;
    min-height: 1.45em;
}
.container .krl_line_number {
    color: var(--muted);
    display: inline-block;
    margin-right: 10px;
    text-align: right;
}
.container .krl_keyword,
.container .krl_keyword2 {
    color: var(--krl-type);
}
.container .krl_keyword3 {
    color: var(--krl-control);
    font-weight: bold;
}
.container .krl_comment,
.container .krl_comment > * {
    color: var(--krl-builtin);
}
.container .krl_motion { color: var(--krl-motion); font-weight: bold; }
.container .krl_directive { color: var(--krl-directive); font-weight: bold; }
.container .krl_structure { color: var(--krl-type); font-weight: bold; }
.container .krl_control { color: var(--krl-control); font-weight: bold; }
.container .krl_type { color: var(--krl-type); font-weight: bold; }
.container .krl_builtin { color: var(--krl-builtin); }
.container .krl_system { color: var(--krl-system); }
.container .krl_literal { color: var(--krl-literal); font-weight: bold; }
.container .krl_string { color: var(--krl-string); }
.container .krl_number { color: var(--krl-number); }
.container .krl_operator { color: var(--red); }
.container .xml-tag {
    color: var(--muted);
}
.container .xml-element {
    color: var(--blue);
}
.container .xml-attribute {
    color: var(--yellow);
}
.container .xml-value {
    color: var(--green);
}
.container .xml-comment {
    color: #9ed8a5;
}
.container .xml-declaration {
    color: var(--orange2);
}
.container .xml-cdata {
    color: #d5b3ff;
}
.container .json-key {
    color: var(--blue);
}
.container .json-string {
    color: var(--green);
}
.container .json-number {
    color: var(--yellow);
}
.container .json-literal {
    color: #d5b3ff;
}
.container .ini-section {
    color: var(--blue);
    font-weight: bold;
}
.container .ini-key {
    color: var(--yellow);
}
.container .ini-value {
    color: var(--green);
}
.container .ini-comment {
    color: #9ed8a5;
}
.fa-battery-full {
    color: darkgreen;
}
.fa-battery-half {
    color: darkorange;
}
.fa-battery-empty {
    color: red;
}
.bt_table td {
    background-color: transparent;
    height: 22px;
    line-height: 1;
    min-width: 20px;
    padding: 3px 2px;
    text-align: center;
    width: auto;
}
.bt_table td::before {
    background-color: gray;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 1px var(--line);
    content: "";
    display: inline-block;
    height: 12px;
    vertical-align: middle;
    width: 12px;
}
.bt_table td.bt_good,
.bt_table td.bt_warn,
.bt_table td.bt_fail {
    background-color: transparent !important;
}
.bt_good {
    background-color: lime !important;
}
.bt_table td.bt_good::before {
    background-color: lime;
}
.bt_warn {
    background-color: yellow !important;
}
.bt_table td.bt_warn::before {
    background-color: yellow;
}
.bt_fail {
    background-color: red !important;
}
.bt_table td.bt_fail::before {
    background-color: red;
}
.checkbox-group {
    display: flex;
    gap: 20px; 
    align-items: center;
}
.tr-noLoad-none {
    display: none;
}
.link-disabled {
    pointer-events: none;
    color: lightgray;
    text-decoration: none;
    font-style: italic;
}
.msgTable > tr > td {
    min-width: 50px;
    max-width: 350px;
}
.scrollable-td {
    font-size: 9pt;
    overflow-y: auto !important;
}
#errEcatPos, #btLogRaw {
    height: max(360px, calc(100vh - 280px));
    overflow-y: auto;
}
.sideNav {
    position: fixed;
    right: 0;
    top: 150px;
    width: 50px;
    color: var(--text);
    background-color: var(--panel);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: width 0.3s;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 5px 0 0 5px;
    box-shadow: var(--shadow);
    z-index: 99;
}

.sideNavItem:hover,
.sideNavItem:focus {
    background: var(--orangeSoft);
    color: var(--orange2);
}

.sideNav:hover {
    width: 200px;
}

.sideNavItem {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.sideNavItem i {
    width: 30px;
    height: 30px;
    margin-top: 10px;
    margin-left: 10px;
}

.qac-analysis-badge {
    align-items: center;
    background: var(--line2);
    border-radius: 10px;
    color: var(--text);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: bold;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    min-width: 20px;
    padding: 3px 5px;
}
.qac-analysis-badge-warning {
    background: #ffc107;
    color: #201b08;
}
.qac-analysis-badge-error {
    background: #c94141;
    color: #fff;
}
.qac-analysis-badge-pass {
    background: #3f9b63;
    color: #fff;
}
.qac-analysis-card {
    max-width: 980px;
}
.qac-analysis-heading {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}
.qac-analysis-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.qac-analysis-filter {
    background: var(--panel3);
    border-color: var(--line2);
    color: var(--soft);
}
.qac-analysis-filter:hover,
.qac-analysis-filter:focus {
    background: var(--orangeSoft);
    border-color: var(--orangeLine);
    color: var(--text);
}
.qac-analysis-filter.active {
    background: var(--orange2);
    border-color: var(--orange2);
    color: #fff;
}
.qac-analysis-result {
    background: var(--panel2);
    border-left: 4px solid var(--line2);
    margin: 10px 0;
    padding: 10px 14px;
}
.qac-analysis-result summary {
    cursor: pointer;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}
.qac-analysis-result-meta {
    color: var(--soft);
    font-size: 0.82rem;
    text-transform: capitalize;
}
.qac-analysis-error,
.qac-analysis-failed {
    border-left-color: #c94141;
}
.qac-analysis-warning {
    border-left-color: #ffc107;
}
.qac-analysis-pass {
    border-left-color: #3f9b63;
}
.qac-analysis-remediation {
    font-weight: bold;
}
.qac-temperature-toggle {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
}
.qac-temperature-mainboard-sensor td:first-child {
    padding-left: 22px;
}
.qac-temperature-out-of-range td {
    color: var(--red);
}
.qac-temperature-warning-icon {
    margin-left: 6px;
}
.qac-temperature-out-of-range .qac-temperature-toggle {
    color: var(--red);
    font-weight: bold;
}
.qac-analysis-navigation {
    margin-bottom: 12px;
}
.qac-analysis-evidence {
    margin-bottom: 0;
}

.sideNavText {
    display: none;
    margin-left: 10px;
    color: var(--soft);
    font-weight: bold;
}

.sideNav:hover .sideNavText {
    display: inline;
}
.modal_core_sm {
    min-width: 25px;
    padding-right: 20px;
}
.modal_pad_l {
    padding-left: 60px;
}
.search-result-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-result-list-item {
    margin: 0;
}
.search-result-path {
    flex: 1 1 auto;
    font-weight: normal;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-count {
    color: var(--muted);
    flex: 0 0 auto;
    font-size: 8pt;
}
.search-result-item:hover .search-result-path,
.search-result-item:focus .search-result-path,
.search-result-item.file-tree-active .search-result-path,
.search-result-item:hover .search-result-count,
.search-result-item:focus .search-result-count,
.search-result-item.file-tree-active .search-result-count {
    color: var(--orange2);
}
.search-match-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    white-space: nowrap;
    line-height: 1.45;
    margin: 0;
    min-width: max-content;
}
.search-line-number {
    display: inline-block;
    min-width: 52px;
    flex: 0 0 52px;
    color: var(--muted);
    user-select: none;
    font-size: 8pt;
}
.search-line-content {
    display: inline-block;
    white-space: pre;
}
#searchPreviewInner {
    display: block;
    font-family: Consolas, Monaco, monospace;
    font-size: 9pt;
    line-height: 1.45;
    white-space: nowrap;
    min-width: max-content;
}
