@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}


.no-border {
    border: 0 !important;
    box-shadow: none;
}

.btn-circle {
    width: 50px;
    height: 50px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

.no-border {
    border: 0 !important;
    box-shadow: none;
    background-color: transparent;
}


.last-dropdown {
    transform: translateX(-90%);
    z-index: 20000;
}

.btn-circle {
    width: 40px;
    height: 40px;
    padding: 6px 0px;
    border-radius: 20px;
    text-align: center;
    font-size: 15px;
    line-height: 1.42857;
}
/* SR-62980 Inspection Dashboard - everything is scoped under .idb so nothing leaks into other pages. */

.idb {
    --idb-ink: #1f2a37;
    --idb-muted: #6b7280;
    --idb-line: #e5e7eb;
    --idb-soft: #f6f8fb;
    --idb-accent: #0b6e99;
    --idb-accent-soft: #e6f2f8;
    --idb-ok: #15803d;
    --idb-ok-soft: #e8f6ec;
    --idb-warn: #b45309;
    --idb-warn-soft: #fdf3e2;
    --idb-danger: #b91c1c;
    color: var(--idb-ink);
    display: flex;
    flex-direction: column;
    grid-gap: 12px;
    gap: 12px;
    padding: 4px 4px 0 4px;
    min-height: 480px;
}

/* ---------- header ---------- */

.idb-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    grid-gap: 12px;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--idb-line);
}

.idb-title h3 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 600;
}

.idb-title small {
    color: var(--idb-muted);
}

.idb-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    grid-gap: 10px;
    gap: 10px;
}

.idb-field label {
    display: block;
    margin: 0 0 2px 2px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--idb-muted);
}

/* ---------- body ---------- */

.idb-body {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    grid-gap: 14px;
    gap: 14px;
    flex: 1 1;
    min-height: 0;
}

.idb-panel {
    background: #fff;
    border: 1px solid var(--idb-line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.idb-panel-head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--idb-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 8px;
    gap: 8px;
}

.idb-panel-head h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.idb-count {
    font-size: 0.75rem;
    color: var(--idb-muted);
}

/* ---------- facility tree ---------- */

.idb-search {
    padding: 10px 12px 6px 12px;
}

.idb-tree {
    overflow-y: auto;
    padding: 4px 6px 10px 6px;
    flex: 1 1;
}

/* ---------- detail ---------- */

.idb-detail {
    display: flex;
    flex-direction: column;
    grid-gap: 12px;
    gap: 12px;
    min-width: 0;
    min-height: 0;
}

/* The activity panel takes whatever height is left under the KPI tiles */
.idb-fill {
    flex: 1 1;
    min-height: 0;
}

.idb-crumbs {
    font-size: 0.8rem;
    color: var(--idb-muted);
}

.idb-crumbs span + span::before {
    content: "\203A";
    margin: 0 6px;
}

.idb-selected-name {
    margin: 2px 0 0 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.idb-level-chip {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
    color: var(--idb-accent);
    background: var(--idb-accent-soft);
    border-radius: 10px;
    padding: 2px 8px;
}

.idb-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: 10px;
    gap: 10px;
}

.idb-kpi {
    background: #fff;
    border: 1px solid var(--idb-line);
    border-radius: 8px;
    padding: 10px 14px;
}

.idb-kpi-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--idb-muted);
}

.idb-kpi-value {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
}

.idb-kpi.warn .idb-kpi-value { color: var(--idb-warn); }
.idb-kpi.ok .idb-kpi-value { color: var(--idb-ok); }
.idb-kpi.danger .idb-kpi-value { color: var(--idb-danger); }

.idb-kpi.clickable {
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.idb-kpi.clickable:hover {
    border-color: var(--idb-accent);
}

.idb-kpi.active {
    border-color: var(--idb-accent);
    box-shadow: inset 0 -3px 0 var(--idb-accent);
}

.idb-filter-bar {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    gap: 10px;
    padding: 0 12px 8px 12px;
}

.idb-filter-bar .idb-pill i {
    margin-right: 4px;
}

.idb-kpi-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--idb-muted);
}

/* ---------- missing inspections ---------- */

.idb-missing {
    flex: 1 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 10px 12px 12px 12px;
    grid-gap: 10px;
    gap: 10px;
}

.idb-missing-note {
    font-size: 0.8rem;
    color: var(--idb-muted);
}

.idb-missing-grid {
    flex: 1 1;
    min-height: 0;
}

.idb-coverage {
    display: flex;
    align-items: center;
    grid-gap: 8px;
    gap: 8px;
}

.idb-coverage-bar {
    flex: 1 1;
    height: 6px;
    border-radius: 3px;
    background: var(--idb-line);
    overflow: hidden;
}

.idb-coverage-bar > span {
    display: block;
    height: 100%;
    border-radius: 3px;
}

.idb-coverage-pct {
    width: 38px;
    text-align: right;
    font-size: 0.8rem;
}

.idb-missing-count {
    font-weight: 600;
    color: var(--idb-danger);
}

.idb-missing-count.zero {
    color: var(--idb-ok);
}

.idb-feed-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 10px;
    gap: 10px;
    padding: 10px 12px;
}

.idb-feed {
    overflow-y: auto;
    padding: 0 12px 12px 12px;
    display: flex;
    flex-direction: column;
    grid-gap: 10px;
    gap: 10px;
    flex: 1 1;
    min-height: 0;
}

/* ---------- comment card ---------- */

.idb-card {
    display: flex;
    grid-gap: 12px;
    gap: 12px;
    border: 1px solid var(--idb-line);
    border-left: 4px solid var(--idb-line);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

.idb-card.is-note { border-left-color: var(--idb-accent); }
.idb-card.is-inspection { border-left-color: #94a3b8; }
.idb-card.is-complete { border-left-color: var(--idb-ok); }
.idb-card.is-review { border-left-color: var(--idb-warn); }

.idb-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--idb-accent-soft);
    color: var(--idb-accent);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.idb-card-main {
    flex: 1 1;
    min-width: 0;
}

.idb-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 6px 10px;
    gap: 6px 10px;
    font-size: 0.82rem;
}

.idb-card-author {
    font-weight: 600;
}

.idb-card-date {
    color: var(--idb-muted);
}

.idb-card-where {
    color: var(--idb-muted);
}

.idb-card-where i {
    margin-right: 4px;
}

.idb-pill {
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 1px 8px;
    background: var(--idb-soft);
    color: var(--idb-muted);
}

.idb-pill.ok { background: var(--idb-ok-soft); color: var(--idb-ok); }
.idb-pill.warn { background: var(--idb-warn-soft); color: var(--idb-warn); }
.idb-pill.note { background: var(--idb-accent-soft); color: var(--idb-accent); }
.idb-pill.danger { background: #fdecec; color: var(--idb-danger); }

.idb-card-actions {
    margin-left: auto;
    display: flex;
    grid-gap: 2px;
    gap: 2px;
}

.idb-icon-btn {
    border: 0;
    background: transparent;
    color: var(--idb-muted);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.82rem;
    cursor: pointer;
}

.idb-icon-btn:hover {
    background: var(--idb-soft);
    color: var(--idb-ink);
}

.idb-icon-btn.danger:hover {
    color: var(--idb-danger);
}

.idb-icon-btn.link {
    color: var(--idb-accent);
    font-weight: 600;
}

.idb-card-text {
    margin-top: 6px;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---------- Syncfusion tweaks ---------- */

.idb-treeview .e-list-item .e-fullrow {
    border-radius: 6px;
}

.idb-tv-node {
    display: flex;
    align-items: center;
    grid-gap: 6px;
    gap: 6px;
    min-width: 0;
    padding-right: 6px;
}

.idb-tv-node .idb-node-icon {
    width: 16px;
    flex: 0 0 16px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--idb-muted);
}

.idb-tv-node .idb-node-label {
    flex: 1 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.86rem;
}

.idb-node-count {
    font-size: 0.72rem;
    color: var(--idb-muted);
    background: var(--idb-soft);
    border-radius: 10px;
    padding: 0 7px;
}

.idb-treeview .e-list-item.e-active > .e-text-content .idb-node-icon {
    color: var(--idb-accent);
}

.idb-sf-tabs .e-tab-header {
    padding: 0 8px;
}

.idb-sf-tabs .e-content {
    display: none;
}

.idb-dialog-body {
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
    gap: 16px;
}

.idb-dialog-body textarea {
    min-height: 140px;
}

.idb-dialog-footer {
    display: flex;
    justify-content: flex-end;
    grid-gap: 8px;
    gap: 8px;
    margin-top: 18px;
}

.idb-dialog-error {
    color: var(--idb-danger);
    font-size: 0.85rem;
}

/* ---------- empty / loading ---------- */

.idb-empty {
    text-align: center;
    color: var(--idb-muted);
    padding: 40px 16px;
    font-size: 0.9rem;
}

.idb-empty i {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

.idb-skeleton {
    height: 70px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f3f6 25%, #e7eaef 37%, #f1f3f6 63%);
    background-size: 400% 100%;
    animation: idb-shimmer 1.3s ease infinite;
}

@keyframes idb-shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@media (max-width: 991px) {
    .idb-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 320px minmax(0, 1fr); }
    .idb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Facility Inspection page ---------- */

.idb-chips {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 8px;
    gap: 8px;
}

.idb-chip {
    display: inline-flex;
    align-items: center;
    grid-gap: 6px;
    gap: 6px;
    border: 1px solid var(--idb-line);
    background: #fff;
    border-radius: 16px;
    padding: 4px 6px 4px 12px;
    font-size: 0.85rem;
    color: var(--idb-ink);
    cursor: pointer;
}

.idb-chip:hover {
    border-color: var(--idb-accent);
}

.idb-chip.active {
    border-color: var(--idb-accent);
    background: var(--idb-accent-soft);
    color: var(--idb-accent);
    font-weight: 600;
}

.idb-grid-host {
    flex: 1 1;
    min-height: 0;
    padding: 8px;
}

.idb-grid-link {
    color: var(--idb-accent);
    font-weight: 600;
}

/* Single-row header used by Facility Inspection */
.idb-header.idb-header-compact {
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 8px 16px;
    gap: 8px 16px;
    padding-bottom: 8px;
}

.idb-compact-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

.idb-header-compact .idb-chips {
    flex: 1 1;
    min-width: 0;
}

.idb-header-compact .idb-toolbar {
    align-items: center;
    grid-gap: 8px;
    gap: 8px;
}

.idb-header-compact .idb-chip {
    padding: 2px 6px 2px 10px;
    font-size: 0.82rem;
}

/* Right-side inspection details panel (Facility Inspection) */
.idb-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.25);
    z-index: 1040;
}

.idb-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(960px, 58vw);
    min-width: 420px;
    background: #fff;
    box-shadow: -8px 0 24px rgba(17, 24, 39, 0.18);
    z-index: 1041;
    display: flex;
    flex-direction: column;
    animation: idb-slide-in 0.18s ease-out;
}

@keyframes idb-slide-in {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.idb-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--idb-line);
}

.idb-drawer-head h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.idb-drawer-head h5 i {
    margin-right: 6px;
    color: var(--idb-accent);
}

.idb-drawer-body {
    flex: 1 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 16px;
}

/* The details form was built for a full page; let it use the panel width */
.idb-drawer-body .container {
    max-width: none;
    padding: 0;
}

@media (max-width: 991px) {
    .idb-drawer { width: 100vw; min-width: 0; }
}

/* Inspection number at the start of a dashboard card */
.idb-insp-no {
    display: inline-flex;
    align-items: center;
    grid-gap: 4px;
    gap: 4px;
    font-weight: 600;
    color: var(--idb-accent);
    background: var(--idb-accent-soft);
    border-radius: 6px;
    padding: 1px 8px;
}

.idb-insp-no:hover {
    color: #fff;
    background: var(--idb-accent);
    text-decoration: none;
}

/* ---------- Inspection Details (InspectionDetail.js / InspectionItem.js) ---------- */

.ii-page {
    padding-bottom: 16px;
}

.ii-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    grid-gap: 8px 16px;
    gap: 8px 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--idb-line);
}

.ii-head-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 6px 14px;
    gap: 6px 14px;
}

.ii-meta {
    font-size: 0.85rem;
    color: var(--idb-muted);
}

.ii-meta i {
    margin-right: 4px;
}

.ii-actions {
    align-items: center;
    grid-gap: 8px;
    gap: 8px;
}

.ii-saved {
    font-size: 0.8rem;
    color: var(--idb-ok);
}

.ii-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
}

.ii-dot.ok { background: var(--idb-ok); }
.ii-dot.issue { background: var(--idb-danger); }

.ii-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 12px;
    gap: 12px;
}

.ii-field {
    display: flex;
    flex-direction: column;
    grid-gap: 3px;
    gap: 3px;
    margin: 0;
    min-width: 0;
}

.ii-field > span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--idb-muted);
}

.ii-field textarea.e-input,
.ii-field input.e-input {
    width: 100%;
    border: 1px solid var(--idb-line);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.88rem;
    background: #fff;
}

.ii-field textarea.e-input[readonly] {
    background: var(--idb-soft);
}

.ii-field-value {
    font-size: 0.88rem;
    padding: 2px 0;
    word-break: break-word;
}

.ii-sections {
    display: flex;
    flex-direction: column;
    grid-gap: 12px;
    gap: 12px;
}

.ii-section {
    border: 1px solid var(--idb-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.ii-section-head {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    gap: 10px;
    padding: 8px 12px;
    background: var(--idb-soft);
    border-bottom: 1px solid var(--idb-line);
}

.ii-section-head h6 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

.ii-line {
    padding: 10px 12px;
    border-bottom: 1px solid var(--idb-line);
}

.ii-line:last-child {
    border-bottom: 0;
}

.ii-line-head {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    gap: 10px;
}

.ii-line-desc {
    flex: 1 1;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.ii-line-tools {
    display: flex;
    grid-gap: 6px;
    gap: 6px;
}

.ii-line-tools .btn {
    padding: 2px 10px;
    font-size: 0.78rem;
}

.ii-line-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 8px 12px;
    gap: 8px 12px;
    margin-top: 8px;
    padding-left: 2px;
}

.ii-field.wide {
    grid-column: 1 / -1;
}

.ii-state {
    display: inline-flex;
    flex: 0 0 auto;
    border: 1px solid var(--idb-line);
    border-radius: 6px;
    overflow: hidden;
}

.ii-state-btn {
    border: 0;
    background: #fff;
    color: var(--idb-muted);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 9px;
    cursor: pointer;
}

.ii-state-btn + .ii-state-btn {
    border-left: 1px solid var(--idb-line);
}

.ii-state-btn.active.none { background: #e5e7eb; color: var(--idb-ink); }
.ii-state-btn.active.ok { background: var(--idb-ok); color: #fff; }
.ii-state-btn.active.issue { background: var(--idb-danger); color: #fff; }

.ii-state.readonly .ii-state-btn { cursor: default; }
.ii-state.readonly .ii-state-btn:disabled { opacity: 0.45; }

/* Inactive facilities: still counted, but visibly set apart */
.idb-inactive-tag {
    flex: 0 0 auto;
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    background: #eceef1;
    border: 1px dashed #c4c8cf;
    border-radius: 8px;
    padding: 0 6px;
    margin-left: 6px;
}

.idb-tv-node.inactive .idb-node-label,
.idb-tv-node.inactive .idb-node-icon {
    color: #9ca3af;
    font-style: italic;
}

.idb-fac-cell {
    white-space: nowrap;
}

.idb-fac-cell .idb-inactive-tag {
    display: inline-block;
    vertical-align: 1px;
}

/* Muted, but still easy to read */
.e-grid .e-row.idb-row-inactive .e-rowcell {
    background: #f6f7f9;
    color: #4b5563;
}

.e-grid .e-rowcell .idb-cell-link {
    cursor: pointer;
    border-bottom: 1px dotted currentColor;
}

.e-grid .e-rowcell .idb-cell-link:hover,
.e-grid .e-rowcell .idb-cell-link:focus {
    color: var(--idb-accent);
    outline: none;
}

/* Missing dates popup: MM/dd/yyyy with weekday, three per row */
.idb-popup-dates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 6px;
    gap: 6px;
    max-height: 340px;
    overflow-y: auto;
}

.idb-popup-date {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    grid-gap: 6px;
    gap: 6px;
    border: 1px solid #f3c2c2;
    background: #fdecec;
    color: var(--idb-danger);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.idb-popup-date small {
    font-size: 0.7rem;
    font-weight: 500;
    color: #9b5c5c;
}

.idb-kpi-note {
    color: #8b919a;
}

/* Provide sufficient contrast against white background. */
a {
    color: #0366d6;
  }

  
  code {
    color: #E01A76;
  }

.column2{
  column-count: 2 ;
  /* border-style: ridge  */
}

.column2 .property-row {
  page-break-inside: avoid;
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 0.75rem;
}
  
  .btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
  }
  
  .btn-no-border {
      border: 0 !important;
      box-shadow: none;
      background-color: transparent;    
  }
  
  .btn-no-border:focus {
    border: 0 !important;
    box-shadow: none;
    /* background-color: transparent;     */
}
  .alway-on-top {
      z-index: 20000;
  }
  .alway-on-top-more {
    z-index: 25000;
}
.alway-on-top-more-more {
  z-index: 30000;
}
.alway-on-top-fiix {
  z-index: 10000;
}
  .alway-on-bottom {
    z-index: -1;
}
.alway-on-bottom-more{
  z-index: -100;
}

.alway-in-between {
  z-index: 200;
}
.alway-in-between-more{
  z-index: 300;
}

/*#SR-50006. Added by BN 2/25/26. Modern work order counter pill (My Work Orders) */
.wo-counter-pill {
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.wo-counter-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(183, 28, 28, 0.4);
}
.alway-in-between-more-more{
  z-index: 400;
}


.alway-in-between2 {
  z-index: 270;
}

.alway-in-between3 {
  z-index: 290;
}
  .max-div-width {
    max-width: 80vw;
  }

  .max-txt-width {
    max-width: 300px;
  }

  .float-left{
    float: left;
  }

  .float-right{
    float: right;
  }

  .marginRow{
    margin:0px !important; 
  }

  .row-bottom-margin { margin-bottom:2px; }

  .custom-modal-style {
    width: 80vw;
    left: -25vw
    /* height: 802px; */
  }

  .eventDetail-modal-style {
    width: 40vw;
    left: -5vw
    /* height: 802px; */
  }

  .costDetail-modal-style {
    width: 40vw;
    left: -5vw
    /* height: 802px; */
  }

  
  .oilTicketDetail-modal-style {
    width: 40vw;
    left: -5vw;
    /* height: calc(100vh - 10px) */
    /* height: 50px;  */
    /* height: 802px; */
  }

  .userGroupDetail-modal-style {
    width: 25vw;
    left: -5vw;
    
    /* height: 802px; */
  }

  .safetyObsDetail-modal-style {
    width: 60vw;
    left: -18vw
    /* height: 802px; */
  }
  .safetyObsDetail-modal-mobile-style {
    width: 100%;
    /* left: -18vw */
    /* height: 802px; */
  }

  .modal-header.primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
  }
  
  .modal-header.approve {
    color: #fff;
    background-color: #61a066;
    border-color: #61a066;
  }

  .modal-header.submit {
    color: #fff;
    background-color: #b6a065;
    border-color: #b6a065;
  }

  .modal-header.reject {
    color: #fff;
    background-color: #ad5f55;
    border-color: #ad5f55;
  }

  .modal-header.incomplete {
    color: #fff;
    background-color: transparent;
    border-color: #ad5f55;
  }
 
  .modal-header.closeoutRequested {
    /* color: #FFDDAF; */
    background-color: #FFDDAF;
    border-color: #FFDDAF;
  }


  .form-error {
    border-radius: 4px;
    border: 1px solid #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}
  .floatButtonCancel{
    float:right;
    margin-top: 15px;
    
  }

  .floatButtonAdd{
    float:right;
    margin-top: 15px;
    margin-right: 10px;
  }

.greenColor{
    pointer-events:none;
    background-color: #61a066;
}

.greenColorPass{
  background-color: #61a066;
}
.redColor{
    pointer-events:none;
    background-color: #ad5f55;
}
.redColorFail{
  background-color: #ad5f55;
}
.defaultColor{
  background-Color: white
}
.defaultColorDisable{
  pointer-events:none;
  /* background-Color:rgba(128, 128, 128, 0.144) */
  background-Color:rgba(19, 198, 211, 0.089)

}

/* Browsers render <select>/<input> as native OS-themed widgets that desaturate/gray the text
   regardless of author color (worse when disabled), which washes out bg-success/bg-danger to a
   low-contrast color (silver text on green/red). Strip native theming so the color override sticks,
   in both the enabled (editable) and disabled state. */
select.bg-success, input.bg-success,
select.bg-danger, input.bg-danger,
select.bg-warning, input.bg-warning {
  opacity: 1;
  appearance: none;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.selectBorderLess {
  border:0px;
  outline:0px;
  background-color: transparent;   
}
select:disabled {
  background: transparent;
}


/* .alert {
  display:inline-block;
} */

 .alert-shown {
  opacity: 1;
  transition: all 250ms linear;
}
.alert-shown2 {
  opacity: 1;
  transition: all 250ms linear;
  margin-left: 30px
}

.alert-hidden {
  opacity: 0;
  transition: all 250ms linear 1s;
} 

.full-screen-modal {
  width: 100vw;
  height: 100vh;
}


.full-screen-modal2 {
  width: 100vw;
  height: 150vh;
}

.report-style-class {
  height: 80vh;
  width: 100%;
}
.App {
  text-align: center;
}

.custom-modal {
  max-width: 1400px; /* Set your desired width */
}

/* #SR-56011 Customer Invoice Upload — right-align the date text inside the Syncfusion date pickers */
.civ-date-input input {
  text-align: right;
}

/* #SR-56011 detail grid toolbar — smaller Export/Columns/Search and vertically centered
   (the Export text was rendering slightly above the Columns button). Broad + !important so the
   Syncfusion theme can't win: shrink every text node in the toolbar, then bump icons back up. */
.civ-grid-wrap .e-toolbar,
.civ-grid-wrap .e-toolbar * {
  font-size: 12px !important;
  line-height: 1 !important;
}
.civ-grid-wrap .e-toolbar .e-icons,
.civ-grid-wrap .e-toolbar [class*="e-icon"] {
  font-size: 13px !important;
}
/* vertical alignment of Export / Columns / Search */
.civ-grid-wrap .e-toolbar .e-toolbar-items {
  display: flex !important;
  align-items: center !important;
}
.civ-grid-wrap .e-toolbar .e-toolbar-item {
  vertical-align: middle !important;
}
.civ-grid-wrap .e-toolbar .e-tbar-btn {
  display: inline-flex !important;
  align-items: center !important;
}
/* .tohover{
  border: none;
  width: 32px;
  height: 32px;
  background-color: #eee;
  transition: all ease-in-out 0.2s;
  cursor: pointer; 
} */
/* .tohover:hover {
	content: attr(title);
	position: absolute;
 
	bottom: -1px;
	padding: 1px;
	background: #000;
	color: #fff;
	font-size: 10px;
	white-space: pre;
  z-index: 20000;
} */



/* input[type="select"]:disabled{
  background-color:transparent;
} */


.text-danger {
  color: #dc3545;
  font-size: 0.875rem;
}

.form-control-feedback {
  display: block;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}


.form-container {
  display: flex;
  flex-direction: column;
  min-height: 150px;  /* Adjust based on your needs */
}

.footer-buttons {
  margin-top: auto;   /* Pushes it to the bottom */
}

.tab-content-container {
  min-height: 110px;  /* Adjust based on your needs */
}

.react-select__value-container--is-disabled {
  pointer-events: auto !important;
}


.centered-text {
  text-align: center;
  margin: 0 auto;
}

.compact-tabs .nav-item .nav-link {
  padding: .5rem .75rem; /* adjust as necessary */
}

.cost-group {
  background-color: #f7f7f7; /* Light grey background */
  padding: 15px;
  border-radius: 5px; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Fixed height for Issue Summary, Work Instructions, OOS Equip tabs so modal doesn't jump when switching */
.tab-content-fixed-height {
  height: 200px;
  min-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.tab-content-fixed-height .tab-pane {
  min-height: 100%;
}

/* Edit modal: tab area height for OOS Equip (grid + buttons) */
.tab-content-fixed-height-edit.tab-content-fixed-height {
  height: 260px;
  min-height: 260px;
  overflow-y: hidden;
  overflow-x: hidden;
}

.custom-label {
  margin-bottom: 0.5rem; /* adjust as needed, this reduces the default margin */
}

.custom-input {
  margin-top: 0.5rem;  /* adjust as needed, this reduces the default margin */
}

.field-group {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* takes full width */
}

.field-label {
  text-align: right;
  margin-bottom: 4px; /* adjust as needed */
}

/* .scrollable-grid {
  width: 100%;
  overflow-x: auto;
} */

.bold-summary {
  font-weight: bold;
  font-size: 1.2em;  /* optional: make the font a bit larger */
}



.custom-modal-workorder {
  max-width: 1200px; /* Set your desired width */
  min-height: 10px;
}

.custom-modal-workorder-create{
  max-width: 600px;
  min-height: 10px;
}


.modalBody {
  padding-bottom: 60px;
}


.scrollable-container {
  width: 100%; 
  max-width: 100%; 
  overflow-x: auto;
  white-space: nowrap;
}

.scrollable-container {
  width: 100%; 
  max-width: 100%; 
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid #ced4da; /* Style to match the input fields */
  padding: 0.375rem 0.75rem; /* Style to match the input fields */
  border-radius: 0.25rem; /* Style to match the input fields */
  background-color: #e6e6e6; /* Style to match the input fields */
}

/* WORequest Assigned To: readonly input scrolls; e-disabled on wrapper = Syncfusion Material disabled styling */
.wo-assigned-to-scroll.e-disabled input.e-input {
  overflow-x: auto;
  text-overflow: clip;
  white-space: nowrap;
}


.ml-6 {
  margin-left: 3.5rem; /* or whatever value you determine is the next step in your spacing scale */
}

/* To specify height and font size */
.e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input {
  height: 30px;
  font-size: 14px;
}

/*Reactsrap Input CSS*/
.my-custom-reactstrap-input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  float: right;
}

.button-container {
  display: flex;
  justify-content: flex-end; /* Aligns items to the right */
  align-items: center; /* Centers items vertically */
  grid-gap:8px;
  gap:8px; /* Adds space between items */
}


.e-input:not(:valid), .e-input:valid, .e-float-input.e-control-wrapper input:not(:valid), .e-float-input.e-control-wrapper input:valid, .e-float-input input:not(:valid), .e-float-input input:valid, .e-input-group input:not(:valid), .e-input-group input:valid, .e-input-group.e-control-wrapper input:not(:valid), .e-input-group.e-control-wrapper input:valid, .e-float-input.e-control-wrapper textarea:not(:valid), .e-float-input.e-control-wrapper textarea:valid, .e-float-input textarea:not(:valid), .e-float-input textarea:valid, .e-input-group.e-control-wrapper textarea:not(:valid), .e-input-group.e-control-wrapper textarea:valid, .e-input-group textarea:not(:valid), .e-input-group textarea:valid {
  font-size: 14px;
  height: 25px;
  
}

.e-ddl.e-input-group.e-control-wrapper .e-input {
  font-size: 14px;
}

input:disabled {
  color: black;
}

.header-tabs-container {
  display: flex;
  align-items: center;
  padding: 0 20px;
  background-color: white; /* Ensure background color matches */
  border-bottom: 1px solid #dee2e6; /* Optional border for separation */
  height: 60px; /* Adjust height as needed */
}

.tabs-container {
  display: flex;
  align-items: center;
  flex: 1 1;
}

.header-container {
  display: flex;
  justify-content: center;
  flex: 2 1;
  text-align: center;
}

.header-icon {
  height: 30px;
  width: 30px; /* Adjust as needed */
  margin-right: 10px; /* Adjust as needed */
}

.spacer {
  flex: 1 1;
}

.custom-fileUploader {
  height: 50px;
  border: #1861ac;
}

.disabled-div {
  pointer-events: none;
  opacity: 0.5;
  /* Optional: Add additional styles to convey disabled state */
  background-color: #f2f2f2;
  color: #999;
  cursor: not-allowed;
} 

.form-error-multiselect {
  border: 1px solid #e74c3c;
}

/* Remove faded/disabled opacity */
.combo-enabled-look.e-disabled {
  opacity: 1 !important;
  pointer-events: none; /* Still disabled but visually active */
}

/* Make input text look normal */
.combo-enabled-look.e-disabled .e-input {
  color: #000 !important;
  font-weight: 400;
  font-size: 14px;
  font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, -apple-system, BlinkMacSystemFont;
  background-color: transparent !important;
  cursor: default !important;
}

/* WORequest form labels – match Syncfusion control font */
.wo-request-form label {
  font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, -apple-system, BlinkMacSystemFont;
  font-size: 14px;
}

/* WO edit/create modal – same label font inside the modal */
.custom-modal-workorder label,
.custom-modal-workorder-create label {
  font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, -apple-system, BlinkMacSystemFont;
  font-size: 14px;
}

/* WO modal header (New WO / WO number) – match Syncfusion font */
.custom-modal-workorder .modal-header,
.custom-modal-workorder-create .modal-header {
  font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, -apple-system, BlinkMacSystemFont;
  font-size: 14px;
}

/* Bell/actions on the right of the work order modal header */
.custom-modal-workorder .modal-header.modal-header-wo-actions .modal-title,
.custom-modal-workorder-create .modal-header.modal-header-wo-actions .modal-title {
  display: flex;
  width: 100%;
  align-items: center;
}

/* WO request tabs (Issue Summary, OOS Equip., etc.) – match Syncfusion font */
.wo-request-form .nav-link,
.custom-modal-workorder .nav-link,
.custom-modal-workorder-create .nav-link {
  font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, -apple-system, BlinkMacSystemFont;
  font-size: 14px;
}

/*by Hn 08/09/2025 - Schedule Compnoent*/

.quick-info-header {
  background-color: white;
  padding: 8px 18px;
}

.quick-info-header-content {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  padding: 5px 10px 5px;
}

.quick-info-title {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.48px;
  height: 20px;
}

.duration-text {
  font-size: 11px;
  letter-spacing: 0.33px;
  height: 14px;
}

.content-area {
  margin: 0;
  padding: 10px;
  width: auto;
}

.event-content {
  height: 180px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 5px;
}

.meeting-type-wrap,
.meeting-subject-wrap,
.notes-wrap {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.33px;
  height: 24px;
  padding: 2px;
}

.event-content div label {
  display: inline-block;
  min-width: 95px;
  color: #666;
}

.event-content div span {
  font-size: 12px;
  color: #151515;
  letter-spacing: 0.33px;
  line-height: 14px;
  padding-left: 8px;
}

.cell-footer .e-btn {
  background-color: #ffffff;
  border-color: #878787;
  color: #878787;
}

.cell-footer {
  padding-top: 10px;
}

.e-quick-popup-wrapper .e-cell-popup .e-popup-content {
  padding: 0 14px;
}

.e-quick-popup-wrapper .e-event-popup .e-popup-footer {
  display: block;
}

.e-quick-popup-wrapper .e-popup-footer button:first-child {
  margin-right: 5px;
}

/* Issue Summary / Work Instructions: fill tab space with visible multiline textarea */
.issue-summary-multiline textarea,
.issue-summary-multiline .e-input-group textarea,
.issue-summary-multiline textarea.e-input,
.tab-content-fixed-height .issue-summary-multiline textarea,
.tab-content-fixed-height .issue-summary-multiline .e-input-group textarea,
.tab-content-fixed-height .issue-summary-multiline textarea.e-input {
  min-height: 180px !important;
  height: 180px !important;
  resize: vertical;
  display: block;
}

/* Edit modal: taller Issue Summary / Work Instructions to fill space above buttons */
.tab-content-fixed-height-edit .issue-summary-multiline textarea,
.tab-content-fixed-height-edit .issue-summary-multiline .e-input-group textarea,
.tab-content-fixed-height-edit .issue-summary-multiline textarea.e-input {
  min-height: 230px !important;
  height: 230px !important;
}

.basin-dropdown .e-dropdownbase .e-list-item {
    color: black !important;
}
/*end*/

/* SyncFusion disabled components with black text */
.e-disabled-black.e-ddl.e-input-group.e-disabled .e-input,
.e-disabled-black.e-ddl.e-input-group.e-disabled input,
.e-disabled-black.e-input-group.e-disabled .e-input {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
}

/*BN 3/25/26. Push work order changes back to dev and test environments*/
/*Modified: 2026-05-12 , BY: Alejandro Perez , Ticket# SR-55116 - Updated to Sync Fusion*/

/* Green active state for all SyncFusion toggle switches */
.e-switch-wrapper .e-switch-inner.e-switch-active .e-switch-on,
.e-css.e-switch-wrapper .e-switch-inner.e-switch-active .e-switch-on {
    background-color: #28a745 !important;
}
.e-switch-wrapper .e-switch-handle.e-switch-active,
.e-css.e-switch-wrapper .e-switch-handle.e-switch-active {
    background-color: #28a745 !important;
}

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

/* #SR-59007 Material Movement detail — make the Syncfusion date picker read as a
   bordered box like the reactstrap Input beside it.

   Without this the header row mixes two visual languages: Syncfusion's default
   is an underline that sits on a different baseline and a different height from
   a Bootstrap form-control, which is what made "Accounting Date / Journal Entry
   Memo / Save Header" look misaligned no matter how the columns were sized.

   Scoped to .mm-boxed-date so no other date picker in the portal is affected. */
.mm-boxed-date.e-input-group,
.mm-boxed-date.e-input-group.e-control-wrapper {
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    padding-left: 6px;
    background: #fff;
}

/* Syncfusion draws its underline with ::before/::after on the wrapper. */
.mm-boxed-date.e-input-group::before,
.mm-boxed-date.e-input-group::after,
.mm-boxed-date.e-input-group.e-control-wrapper::before,
.mm-boxed-date.e-input-group.e-control-wrapper::after {
    display: none;
}

.mm-boxed-date.e-input-group input.e-input {
    /* Left-aligned here, unlike .civ-date-input's right alignment — this one is
       read alongside a left-aligned text field, not in a column of figures. */
    text-align: left;
    padding-left: 0;
}

.mm-boxed-date.e-input-group.e-disabled,
.mm-boxed-date.e-input-group.e-control-wrapper.e-disabled {
    background: #e9ecef;   /* matches a disabled Bootstrap form-control */
}

/* #SR-59007 — keep the editable-cell tint while a batch edit is open. The input
   Syncfusion swaps in would otherwise render white and the column would appear
   to lose its highlight exactly when it matters most. */
.civ-grid-wrap .e-gridcontent .e-rowcell.e-editedbatchcell,
.civ-grid-wrap .e-gridcontent .e-rowcell.e-updatedtd {
    background-color: #fef08a !important;
}

.pager-root {
    height: 50px;
    padding: 5px 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.26);
    background: #f4f4f4;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

    .pager-root > * {
        margin: 0px 5px;
    }

.pager-text {
    width: 80px;
    text-align: center;
}

.icon-button {
    display: flex;
    -webkit-user-select: none;
            user-select: none;
    cursor: pointer;
}

.icon-button-disable {
    cursor: default;
    pointer-events: none;
    color: rgba(0, 0, 0, 0.26);
}

/* Note these styles are shared between all samples */


body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}


/* {RepositoryWarning} */
/* {RepositoryUrl}/tree/master/templates/sample/src/index.css */


#root, html, body, main {
    background: transparent;
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.igGridColumnChooserContainer {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    margin-top: 2px;
    margin-right: 20px;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 5px;
    padding-top: 10px;
    border: 1px gray;
    border-radius: 10px;
    box-shadow: 1px 1px 2px 2px rgba(50, 50, 50, 0.25);
}



.igContainer,
.igContainer-horizontal,
.igContainer-vertical,
.igContainer-full-size {
    background: white;
    display: flex;
    flex-flow: column;
    flex-wrap: nowrap; /* nowrap | wrap | wrap-reverse; */
    /* justify-content: flex-start; */
    /* justify-items: center; */
    /* align-items: center; */
    position: relative;
    overflow-y: hidden;
    min-width: 200px;
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    height:-webkit-calc(100% - 100px);
    padding: 2.5px;
    margin: 0px;
}

.igContainer-full-size {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

.igContainer-vertical {
    flex-flow: column;
}

.igContainer-horizontal {
    flex-flow: row;
}

/* Used by gauges */
.igContainer-center {
    background: white;
    height: calc(100% - 1rem);
    width: calc(100% - 1rem);
    padding: 0.5rem;
    margin: 0px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* used to overlay multiple components, e.g. RadialGaugeTypeDirection */
.igContainer-relative {
    background: white;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    padding: 5px;
    margin: 0px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    position: relative
}

.igContainer-relative-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.igTitle {
    text-align: center;
    display: block;
}

.igComponent {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.igOptions,
.igOptions-horizontal,
.igOptions-vertical {
    /* background: rgb(112, 112, 111); */
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 5px;
    padding-right: 0rem;
    padding-left: 0rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Titillium Web';
    display: inline-block;
    color: #585858;
}

.igOptions-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.igOptions-vertical {
    display: flex;
    flex-direction: column;
}


.igOptions > label,
.igOptions > div {
    font-family: 'Titillium Web';
}

.igOptions-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    /* font-family: Arial, Verdana, Helvetica, "Times New Roman", Times, serif; */
    display: inline-block;
    vertical-align: center;
}

.igOptions-label {
    margin-top: 0px;
    margin-left: 0.5rem;
    margin-right: 1rem;
    margin-bottom: 5px;
    /* font-size: 11pt; */
    /* font-family: Arial, Verdana, Helvetica, "Times New Roman", Times, serif; */
    /* vertical-align: top; */
    vertical-align: center;
    padding: 0px;
    display: inline-block;
    white-space: nowrap;
    /* background: orange; */
}

.igOptions-value {
    margin-top: 0px;
    margin-left: 10px;
    margin-bottom: 5px;
    margin-right: 5px;
    /* font-size: 11pt; */
    display: inline-block;
    /* vertical-align: top; */
    width: 40px;
    padding: 0px;
    /* background-color: lime; */
}

.igOptions > slider,
.igOptions-slider {
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 20px;
    vertical-align: bottom;
    padding-top: 0px;
    min-width: 60px;
    display: inline-block;
}

.igOptions-button {
    vertical-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}

.igOptions > text,
.igOptions-input-text {
    margin-left: 10px;
    width: 150px;
    display: inline-block;
    vertical-align: center;
}

.igOptions > select,
.igOptions-input-select {
    font-size: 11pt;
    /* font-family: Arial, Verdana, Helvetica, "Times New Roman", Times, serif; */
    margin-top: 0px;
    margin-bottom: 5px;
    margin-left: 5px;
    vertical-align: center;
    padding: 4px;
    display: inline-block;
    /* background: green; */
}

.igLegend {
    --legend-item-overflow: hidden;
    width: calc(100% - 1rem);
    font-size: 0.75rem;
    /* font-family: Arial, Verdana, Helvetica, "Times New Roman", Times, serif; */
    margin-top: 0.25rem;
    /* margin-bottom: 0.25rem; */
    margin-left: 1rem;
    padding: 0px;
    display: inline-block;
    vertical-align: top;
}

.igLegend-title {
    /* margin-top: 0.7rem; */
    margin-left: 1rem;
    margin-right: 0.25rem;
    /* margin-bottom: 0.25rem; */
    padding-top: 0px;
    padding-bottom: 0px;
    padding: 0px;
    vertical-align: center;
    display: inline-block;
    white-space: nowrap;
    font-size: 15px;
}

.igFlex {
    display: flex;
    flex-direction: column; /* row | row-reverse | column | column-reverse*/
    flex-wrap: nowrap; /* nowrap | wrap | wrap-reverse; */
    /* justify-content: flex-start; */
    /* justify-items: center; */
    /* align-items: center; */
    height: calc(100% - 0px);
    width: calc(100% - 0px);
    margin: 0px;
    padding: 0px;
    position: relative;
    overflow-y: hidden;
}

/* ==================================================================================== */
/* igOverlay styles used to overlay elements in front of sample container */
/* ==================================================================================== */

.igOverlay-top-left,
.igOverlay-top-right,
.igOverlay-top-center,
.igOverlay-center,
.igOverlay-bottom-left,
.igOverlay-bottom-center,
.igOverlay-bottom-right {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    font-family: 'Titillium Web';
    border-radius: 5px;
    border: 1px solid gray;
    padding: 0.5rem;
    color: black;
    /* background: rgba(228, 227, 227, 0.548); */
    background: rgba(148, 148, 148, 0.5);
    /* background: white; */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */ /* Konqueror HTML */ /* Firefox */ /* Internet Explorer/Edge */
    -o-user-select: none;
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.igOverlay-top-left {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.igOverlay-top-right {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

.igOverlay-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.igOverlay-center-label {
    display: block;
    font-size: 3rem;
}

.igOverlay-top-center {
    position: absolute;
    top: 0.25rem;
    left: 50%;
    transform: translate(-50%, 0%);
}

.igOverlay-bottom-center {
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translate(-50%, 0%);
}

.igOverlay-bottom-left {
    position: absolute;
    bottom: 0.25rem;
    left: 0.25rem;
}

.igOverlay-bottom-right {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
}


.igOverlay-row {
    /* background: red; */
    font-family: 'Titillium Web';
    /* margin-left: 0px;
    display: block;
    white-space: pre; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.igOverlay-label {
    display: block;
    font-family: 'Titillium Web';
    font-weight: 600;
}

.igOverlay-field {
    /* display: inline-block; */
    /* font-family: Lato, Helvetica, sans-serif; */
    text-align: left;
    width: 5rem;
}

.igOverlay-value {
    /* background: yellowgreen; */
    text-align: end;
    /* display: inline-block; */
    /* font-family: Lato, Helvetica, sans-serif; */
    /* width: 75px; */
    /* white-space: pre; */
}

.igOverlay-title {
    color: black;
    display: block;
    font-family: 'Titillium Web';
    font-weight: 600;
    padding-bottom: 0.5rem;
}

/* ==================================================================================== */
/* tooltip styles used in custom tooltips of charts and maps components */
/* ==================================================================================== */

.tooltipBox {
    font-size: 0.75rem;
    font-weight: normal;
    color: "Black";
    font-family: 'Titillium Web';
}

.tooltipTitle {
    display: block;
    color: "Black";
    font-weight: bold;
    font-size: 0.75rem;
    font-family: 'Titillium Web';
    margin-left: 0px;
}

.tooltipTable {
    display: table;
    margin: 0px;
    width: 100%;
    height: 100%;
    border-spacing: 5px;
    font-size: 0.75rem;
}

.tooltipHorizontal {
    display: flex;
    flex-direction: row;
}

.tooltipVertical {
    display: flex;
    flex-direction: column;
}

.tooltipRow {
    display: table-row;
}

.tooltipVal {
    display: table-cell;
    text-align: "right";
    font-weight: bold;
    font-family: 'Titillium Web';
    padding-left: 5px;
}

.tooltipLbl {
    display: table-cell;
    text-align: "left";
    font-family: 'Titillium Web';
}

.tooltipFlagImage {
    display: inline-block;
    object-fit: fill;
    height: 50px;
    width: 70px;
    margin-right: 5px;
}

.tooltipFlagBoarder {
    display: inline-block;
    padding: 0px;
    border-width: 0.5;
    border-color: rgb(177, 177, 177);
    border-style: solid;
    height: 50px;
    width: 70px;
}


@font-face {
    font-family: 'Socialicons';
    src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMv1tCfsAAAEoAAAAVmNtYXCnKKeOAAABrAAAAEhnbHlml19XagAAAgwAABhQaGVhZA8dCeEAAADQAAAANmhoZWEIUQQMAAAArAAAACRobXR4LAAAAAAAAYAAAAAsbG9jYR3AIwwAAAH0AAAAGG1heHABIAIAAAABCAAAACBuYW1l0X1q/wAAGlwAAAJVcG9zdGX5D00AABy0AAAAkwABAAAEAAAAAFwEAAAAAAAD9AABAAAAAAAAAAAAAAAAAAAACwABAAAAAQAA+iTiP18PPPUACwQAAAAAANYFYngAAAAA1gVieAAAAAAD9AP0AAAACAACAAAAAAAAAAEAAAALAfQACwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQQAAZAABQAAAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABApwCnCQQAAAAAXAQAAAAAAAABAAAAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADQAAAAEAAQAAQAApwn//wAApwD//wAAAAEABAAAAAEAAgADAAQABQAGAAcACAAJAAoAAAAAAiQCzgOMBU4F/gZYB9QIcAo+DCgABAAAAAAD0gPzAFUA4gF3AfMAAAEzHwYHFQ8EFR8IPwUfBRUPCCMvFj0BPwoXNw8fHQEfDhUPAT8CHwkzPyA9Ai8iDwIFHwcPIysBLwYjDwI/AS8PNT8oHx4BDxAdAR8PHQEHPwE7AR8EMz8dNS8kIw8FAYkFEgQDAyQDAQECAyIBAQMSEgkUCw4vBQQFChsGBQdqAgIBAwMDCAoMDA0NBgYPEA8PFxYVFBQTEhITEREPDgwKCQQEBQICBAQFChMJBQUFBTURDxAPDw8ODg4NDQwMDAsLCgkJCQgHBwcFBQUEAwICAQEDAgQEBgYHBwkJCgsOAgEmiwMEBAQUFRQVFRQVFRQVFRUVFBUVDw4ODg0NDAwLCwoKCQkICAcGBgUEBAQCAgICAgMEBAYGBgcICQkJCgsLCwwNDQ0ODg4PDw8QEBAQEBEREREQEQHcBgUEBAICAQEBAQEDAwQFBQYHCAgICgoLCwwNDQ4ODxAREhISEhMTExMUExQUFRQVGxsaGgcIBwfXNgEBAQ8KCgoIBwcGBQUDAwIBAQECAwMDBQUFBgcHCAgICgkKCwsMDAwNDg0ODw8PEBAQEhISEhISEhIREREREREQERAQDw8PDw8ODQ0NDQwLDAoKCgkJCAcH/aAQEB0cGhgWFBIRDgwLCAcEAwICAwMFBQYHBwgJCgoLAgE9+AYFBSMeHx4fIB8fFhQUFBQSExIRERAQEA8ODhAQDQ0LCQgHBgQCAgICBAQEBgYGCAgJCQoLCwwMDQ4ODg8PEBAREBESEhISExITGBcZGRgZGBgXAu4CAgMEXAkFBAQFBCQCAwMGGhcKFQkMIwIBAwoYAwIBKQECBSgFBgULCgkHBgMBAQEDAwcICgwMDg8PEhITFBUWGBgSEyYJCAgIBwcHDBEGAgEBAagEBAQGBgYHCAgJCgkLCwsMDAwNDQ4ODg8PDw8QEBAQERITEhESEREREBEPEA8QDhMEBASFNgEBAQEJCAcGBQMCAQEDAwUGCAgHCAgJCQoKCwsMDA0NDQ4ODg8ODxAPEA8QEBAREBAQEBIQERAQDw8ODg0NDQwMCwoKCQkICAcGBgUFAwMDAQEBAQEC6RISExISExISEhMSEhESERERERAQEA8QDg8NDg0MDAwLCwoJCQcHBgUEAwICAgIEBggJAwECVNcFBAQVEBEREhESEhITExMTFBMUEhEREBEQEBAPDw8PDg4ODQ0MDAwLCwoKCgkICAcHBwUGBQQDAgIBAQEBAgIDBAQFBQcGCAgICQoKCgsMDA0NDQ4PDw8QEBEBBwgIEhMUFhcYGRscHR8fIiIjFBMTEhMSEhIREhEREBEQEAMEAwT1YQINCAYEAgIEBAUGBggICQoKDAwNDg8PERUVFhcWGBcYGBkZGRkaGxoTEhISEhEREBAQDw8ODg4MDQwLCgoKCQgHBwYFBQMDAwEBAgMFBQgIAAAAAAEAAAAAAzoD9ACWAAATDwYVERUfHTsBPw49AS8OIy8PNSEzPw4vDyE9AS8ODwblCAYFBAQCAgECAwMEBQUGBwgICQoKCwwMDA0NDQ0ODg4PDw8QEBDQCgsKCQkJCAgHBwUEBAICAgIEBAUHBwgICQkJCgsK0QoKCgoJCAgIBwcFBAMDAQEBKQoJCggJCAgHBwUFBAQCAQEBAQIEBAUFBwgHCAkJCQkK/tcCAgMFBQYHCAkICQoJCwoLCwoJCQkIA9AJCgsKDAwMDf4LExMTEhESEREQEBAPDw4PDQ4MDAoKCQgIBgYEBAMCAgEBAwQFBwcJCQoKCwsMDA0NDAsMCwoKCQkHBwUEAwEBAQEDBAUGCAgJCgoLCwwMDVgCAwMFBgcICQkJCgsLCwwLDAsKCgoJCAgHBgUEAgIBtQ0MDAsLCgoJCQcHBQQDAQEBAQMEBQYIAAABAAAAAAP0A90AqAAAAT8DMx8MHQEPDSsBLxoPCBc/Ah8LEx8PMz8dLw8jDw4CSAoTEhIRCAcGBwUFBQQDAwICAgEDBQoPExYWFAsLCgQFBAUFBAUFBQUJCQkJCyQEBQUGBwcICAkKCgsLDQwODQ8RERQfI5IvNRMGBwYGBwYGBgYGDAsMWAcICAgICQkJCQkKCgoLCgsJExITFBQVFRYWFiMkJTEWFRQREQ8NDAsJBwYFAwEBAQEDBAUHBwkJCwwNDhAQEgsYGBYWFBQSEhAQDg4MCwsC2wQGBQIBAgICAwQEBQUHBgcICBMSDxEdIiUoIxsOCgcCAQIEBAYICBUbHyU37xQTERAPDQwKCQgGBQMCAQEDBggLDhofkUInCwIBAgQEBwcJCwscISf+pBYUExIQDg4LCwkIBgUDAgEDBAcJDA0REhQXJysxRiEhIB4eHRwbGhkZFxcVFRoXFhQTERAODQwKCAcGBAMBAQMFBwkMDQ8RExUXGhsdAAUAAAAAA/ED9ABCAKoA6wESAYQAAAEdAQ8NKwEvDjU/EB8OJR0BHw8hPw8TLwMhHwUVDxEvEzU/CSchDwMFFR8PPw8vDw8OAR8HFQ8JIy8GPQI/BjMlHQEPBC8DNS8DDwMVDwIjLwM9Ai8BIw8EFQ8DIy8CNw8KFxUfASUzPwgzHwkhPwI1LxAlDwICkAMDBQcHCQkKDAwMDQ4ODwwMCwsLCgoJDwsJCAYFAgECAwQGBgcICQkKCwsMDA0LCw8ODg4MDAsKCQkHBgQEAv1/AQMFBgkJDAwODwgRERITEwJpExMSEhEQDw4MDAUJBwYEAgEBAgEF/uYOCwkGBAICBAYHCQsMDg8QERETExQTFRQVFBQUFBMTEhAPDg0LCQgGBAMCAgEBAwMEBQYHCAkC/uoFAgEBASwBAwUGCQoLDQ0PERESEhQUFBQTEhEQEA4MDAkJBgUDAQEDBQcICgsNDg8QERISFBQUFBMSERAQDgwMCggHBAMCPAYGBgQEAwEBAQEBAwMEBAQFBmgHBgYEBAMCAwMEBQUFBjX90AECBAUUBQEBAQEBAgIRAgIBAQIFEAkDAwECBAQEBQQDAwICAwUWAwIBAQQQDwwLCQgFAwEBAQEEATEEBBYUFRYWFxcYFxcXFxYVFBgFBQYBJwYCAgICBAYHCQoLDA4ODxAIERIR/d8FAQIB9wcHDg0NDAwLCgkIBwYFBAICAgQEBQYGDQwODg8REBINDQwMCwsKCgkIBwcGBAQCAQEBAgQFBggICgoLDQ0NDg9929sUExISERAPDgwMBQkHBgQCAQMFBgkJDAwODwgQERITEwHBBgMBARYXFxcXFxcWFhUUFBMREQ8ODAsJCAYEAwIBAgQFBwkKDA0PDxERExQPEA8PDw8PDw8ODw4ODg4OAQEBAQKPCgoUEhIREBANDQsKCAcFAwEBAwUHCAoLDQ4PEBESExQUFBMTEhEQDw4NCwoIBwUDAQEDBQcICgsNDg8QEhITEwGSAQICBAUFBgdsBQQFBAQDAgIBAQECAgQFBQYHawcHBgUDAgEBR2h1CAMCAQEBAgIF5wMCAQEBAQED6gUCAQEDAwbbBQICAQIDAwMG0ggEAQICAgTKAQ0OEBASEhQVEiRdAgIBAQITDg0JCAYDAQQFBwoMDhQCAQEBAQNuJBIRERAPDg4NCwoJCAMFBAEBAQIEAAAAAAMAAAAAA/QD3QADAFcAlwAANzMRIwUVIzc1IxEzET8OHw8RMxEvGw8MAR8PPw41Lw8PDhnW1gIjAQHW1gIDBQgKCwcHBwgJCQoKCw4NDAsKCAgHBwUEBAICAQHWAQICAgQDBQUFBgYHBwcJCAkJCgoKCwsLDBgZGhQUEREPDg0MCwoJCQ79xAEBAwMFBgYHCAkKCwsMDA4PDQwLCwoJCQcGBgUDAwIBAQMEBAYGCAgJCgoLDQwODQ0MDAoKCQkHBwYEBAMBIgKFWwICW/17AXcUDA0ODgwGBQUEBAMCAQEBAgMFBQcICgoLDA0NDw8Q/qcBhBIREBAPDw4NDQwMCwoKCQkICAcGBgUFBAMGAwEBAgMEBgYHCAgICQkSARIMCwsKCgkICAgGBQUEAwEBAQEDBAUFBggICAkKCgsLDAsLCwsJCggIBwYGBAQDAQEBAQMEBAYGBwgICgkLCwsAAAABAAAAAAPuA/QARgAAExEVHwYhESM1MzU/DzMVIw8GFTMVIxEhPwYRLwYhDwYSAgQFBwgKCgHPb24BAwMGBggJCgsMDQ0ODwgPlUcLCwkIBgQDe3sBBQoKCAcFBAICBAUHCAoK/IUKCgkHBwQDA7v8igYLCgkIBgQDAZuFUBAQDw4ODQwLCgkIBwUEAgGFAwQHCAkKDDOF/mUDBAYICQoLA4ILCgkIBgQDAQQFBwgKCwAAAAAGAAAAAAP0A/QAOABEAIABBQEqAUwAAAEPCR0BHw07AT8NPQEvCCMPASUVMxUjFSM1IzUzNSUPBRUfDTsBPww1Lw4jDwU3ByMfCA8PHw4dAQ8OLw8/DS8FPwIHIy8NPQE/DwEVHw8hPw8RITchLw8hDw4BCgMTCwsFBAQEAgICAwQGBgcICgoLDAwODg8NDQwLCgkICAYGBQQDAwEBAQIDBAgMDiYRNw0B9nR0TXNz/kAFAwMDAQIBAgMDBAQGBgcICQkKDAsIBwcHBwYFBQYFAwMBAQECAwMEBQYGBwgJCQoLDAcIBwcHBwX+MTAQDggIAwICAQEBAQEDAwMICgsMDAsGAgEBAQECAwYiGQoFCQcDAgIBAwQFCAgLDA0PERITFRYYFRISEA8NDAsKCAcGBAMCAQEBAwUHCQsOERMUFB0xCAcDAwEBAQIFGQ4ODQ0LCgoICAcFBQQCAgMDBgcICgwICBESEhESEBD+pwEDBQYJCgsNDg8IEBISExQCahQTExIREA8ODQsGCQcGBAL8GAED5gIDBgcICgsNDg4QCBIRExP9lhMTExEREA4ODQsKCAcGAwFKAQkHCAYGBggICQkKCgkICAgHBgYFBQMDAgIBAgMDBAUFBgYHBwcICQgHBwYGBgYLCwwcBQPYck9yck5zZwYGBwcHDxELCgwLCwsKCgkJBwUFAwECAwMDBAUHBwcIBw0QCwwLDAsMCgoKCAcGBAMBAgIDAwQFLRkQDwwPCAgJCgoLCQkICAgNDAsKCQwJBQYGBQYEBAcbFQsGDA4HCAgJCQ4NDQwNCwwKCggIBgYDAwEBAgMDBQYGBwgJCAoJCgsKCwUMDAwMDAsKCQYFBQUKDAYHCAgJBw0BAgQEBQcHCAkJCgoKCwsLDQ4NDQ0MDAsGBgkIBQQCAQH+EAoKExMSERAQDQ0LBgkHBgQCAQMFBgkKCw0NEAgQEhITFAJHKxQSEhIQDw8NDAsJBQcFBAIBAwQHCAkLDA0PDxASEhIAAAAAAgAAAAAD7gP0AEAAhAAAARUzFSMRHws/BxUPAy8OESM1Pw8lER8OMyEzPw4RLw4jISMPDQIbysoDBgUICgYHCAgJCgsLDQ4PEBESE0QtICIiEREQDw8ODQwKCgcHBANuGBkVDw4ODgYFBgUEBAMCAv5fAQECAwQEBQUGBwcHCAgJCAM0CAkICAcHBwYFBQQEAwIBAQEBAgMEBAUFBgcHBwgICQj8zAgJCAgHBwcGBQUEBAMCAQON0H/+9BIMCAkHBAMDAgEBAQEBAgMDBQYHeA4GAwEBAgIDBAUFBwgJCwsNDxABVGwKDxANDxEUCwwMDQ0ODxAQEvzCCQgICAcHBwYGBAUDAwICAgIDAwUEBgYHBwcICAgJAz4JCAgIBwcHBgYEBQMDAgICAgMDBQQGBgcHBwgICAAAAgAAAAAD7APzAPgBqAAAAR8LFQ8MIy8QKwEPDh8bHQEPFi8WPQE/DTMfEjM/Di8ePQE/Fh8CBR8HDwMfHjsBPwIfBzM/HTUvBz8CPQEvHiMPAi8HIw8dAnALFhMSDw4LCQgFBAIBAgIDAwgFBgUGBgcGCAwLCQgHChQLCwsHBwkJCgsNDQwMCwsJCggIBwYFBAMDAQEBAgMEBQcHCRMTdxojFhQTEA8OCwUFAwQCAwEBAgIEBQUHCAgKCgwMDg4PEBEREhMTFBUZGBYWFRMSEgsLCwoJCQgIBwYFBQMCAgECAgMDBAUFBQYGBgYHCAsLCgkIBwcMBwcHBwoKDAcPERMZDQ0MDAsKCQgHBgUEAwEBAQICAgMEBAsMDQ8bTSIfGxkMCwsKCQgIBwYFBQMCAgICBAQGBggICQoLDA0NDw8PERERExIUHxwb/bsBAgMEBQcHCQUDAQEBAQMFBQYICAkLCwwNDg8QEBESEhMUFBUWFRcWGBcYGBYWFRUPDxAQEBEREQ4ODg0NDQ0MDAwMCwoLCgkJCQgHBwcGBgQFAwMDAgEBAQIDBAUGBgQEAgIDBAUHBwkJCgwMDQ4PDxERERMTFBQVFRYWFxcYGBgUFRQTEBESEhITFBMODg4NDQ0NDA0LDAsKCwoJCQkIBwcHBgYEBQMDAwIBAzcECAoLDAwNDQ4NDg0NBgYGBQYKBQQDAwICAQECBAUHDSEODQoEBAMCAgIBAQICAwMEBQUFBQYGBgYGCAcHBgYFBQUIBx0GDAgJCgsNDg8JCAkKCgsLCwwPDg0ODQwMDAsLCgoICAgHBgUEBAMCAQEBAgIEBQYICAYIBwkJCQoKCwsLCgsLCgoHBgYGBQUFBQQEAwMCAQEBAgUGCAkLGg0LCgkICAYDBAMCAQIDBAQFBgYGBwcIBwkIDQcFBgUEBQgIBgYHEgkJCgoHBgcICAkJCgoLDAwMDg0NDQ0MDAsLCgoKCQgIBwYGBQQEAwMBAQEBAwRbEhMSEREREBAXFxgYGBgYFxcWFhUVFBQTExEREQ8PDg0MDAoKCAcHBQQDAgICAwcGBgUDAwEBAQIDAwMFBAYGBwcHCAkJCQoLCgsMDAwMDQ0NDQ4ODhAQEA8PDw4OGBoZGhgYFxgWFxUWFRQUExISERAQDw4NDAsLCQkHBgUFAwEBAgIDCggHBgUDAgEBAgMDAwUEBgYGCAcICQkJCgoLCwwLDQwNDQ0NDg4AAAAACwAAAAAD8wOYABEAMwBbAKYAywDTARcBOQFjAZgBoQAAAQ8DMzcvBisBDwEnDwIdAh8FOwE/BjUvBisBDwEnFwcfBDM/Bic1MxUnNw8GIy8HNyclHwsVIxUfBjsBPwY1MxcVDw0vCzU/CycVPwMfCR0CDwgjLwQPAREjFSMVIzUjNTcPCxUfDyE/DzUvDiMhIw8BJR8DFQ8GKwEvBjU/Bx8DFR8KPwUHMzUjFQ8GKwEvBjUjDwcdAR8LOwE/CTUvDg8DFTM1NyMHJyMDIgQDAgJCAgECAwQFBQYGCgUG2QQDAgIDBAUFBQYGBQYEBQICAQECAgUEBgUGBgUF6wEBAwUCAwMEBwgEAgEBAQFFOQEDBAYMDhAQDwgGBgYFAgIEAQECHQoLCgkJCAcFBAMCAXcBAQMDBQQFBhAGBQQEAgIBMwMBAQMCBAQMBwcICAgIDxAPDg8HBgYEAwMBAQECAgQGBggJCQkJC+UQDg4NDQUGBwcFBAQCAgIDAwUGBgcICQoLBQwNFAQ50VJFRyAPDQ0LCwkJBwMFAwIBAgQGBwkJCwsNDQ8PDxARAqAQEQ8PDw0NCwsKCAcDBQMCAQIEBgcICgsLDQ0PDxAQEP1gERAPAYoEAgIBAQICBAUGBQYGBgUFBAICAQECAwQFBQUGBgUGdgEEAgQEBQQGBwgIBwcGBgoKAUw7AQEDAwQEBQUFBQQEAwIBAUC+CggGBgMCAgICBAMECgYHCQsLCwwMCwoSBwcHCAUEAgEBAgIEAwQHBwgJCgsMDg8NDMpKVlAuLVEBbAMEBB8bBQMEAwICAQECCAMDAwOAAwMDAgICAQECAgIDAwOAAwMDAwICAQECF4kgBQUCAQECBAQEAQIDCJrYARsEBAMHBQQCAQICAwQEBRoPmw0BAQIDAwQFBgYMDBgvMgYEAwIDAQEBAQMCAwQEGREGBgUFBQQECQQEAwICAQEBAwYHBQYGBwgJCgpDDwwLCggHBgYDAwMBQFQHBQQBAQICAwUFBQYHBwhwCgkJCAgGBQQDAQEBBAULEgEBIib+/yVJBQUGBwcICQkFCgsK9gsLCgoJCQgHBwYFBQMDAQEBAQMDBQUGBwcICQkFCgoL9woLCgoJCQgHBwYFBQMDAgID9wQEBAV3BAUDBAMCAQECAwQEBAR3BQQEBAMCAQEBAQJ3GAwRBAUEAwMDAQEBAQEBAwcKEuCvAwMDAgMBAQEBAwIDAwOvAgUHCAoKDA0OQxgOBwcGCgQEAgMCAQICBQQFBwsKDxZTCgkHBgYGBQYFBQMDAgEBAQIEPayslG9vAAAAABIA3gABAAAAAAAAAAEAAAABAAAAAAABAAsAAQABAAAAAAACAAcADAABAAAAAAADAAsAEwABAAAAAAAEAAsAHgABAAAAAAAFAAsAKQABAAAAAAAGAAsANAABAAAAAAAKACwAPwABAAAAAAALABIAawADAAEECQAAAAIAfQADAAEECQABABYAfwADAAEECQACAA4AlQADAAEECQADABYAowADAAEECQAEABYAuQADAAEECQAFABYAzwADAAEECQAGABYA5QADAAEECQAKAFgA+wADAAEECQALACQBUyBTb2NpYWxpY29uc1JlZ3VsYXJTb2NpYWxpY29uc1NvY2lhbGljb25zVmVyc2lvbiAxLjBTb2NpYWxpY29uc0ZvbnQgZ2VuZXJhdGVkIHVzaW5nIFN5bmNmdXNpb24gTWV0cm8gU3R1ZGlvd3d3LnN5bmNmdXNpb24uY29tACAAUwBvAGMAaQBhAGwAaQBjAG8AbgBzAFIAZQBnAHUAbABhAHIAUwBvAGMAaQBhAGwAaQBjAG8AbgBzAFMAbwBjAGkAYQBsAGkAYwBvAG4AcwBWAGUAcgBzAGkAbwBuACAAMQAuADAAUwBvAGMAaQBhAGwAaQBjAG8AbgBzAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAHUAcwBpAG4AZwAgAFMAeQBuAGMAZgB1AHMAaQBvAG4AIABNAGUAdAByAG8AIABTAHQAdQBkAGkAbwB3AHcAdwAuAHMAeQBuAGMAZgB1AHMAaQBvAG4ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAAh3aGF0c2FwcAd0d2l0dGVyBXZpbWVvCWluc3RhZ3JhbQhsaW5rZWRpbghmYWNlYm9vawtnb29nbGUtcGx1cwZ0dW1ibHIIc2t5cGUtMDEIeW91dHViZTEAAAA=) format('truetype');
    font-weight: normal;
    font-style: normal;
}
#defaultTab .e-tab-icon {
    font-family: 'Socialicons' !important;
}
#defaultTab .e-icons.e-tab-icon {
    position: relative;
    top: 1px;
}
.e-twitter:before {
    content: '\a701';
}
.e-facebook:before {
    content: '\a705';
}
.e-whatsapp:before {
    content: '\a700';
}
/* SR-63230 — Reliability Tracker.
   Ported from the reliability-tracker_16.html prototype. Every rule is scoped
   under .rlt (page) or .rlt-drawer / .rlt-toast (portalled to <body>) so none of
   it leaks into the rest of the portal, and none of the portal's bootstrap
   table/label/section rules leak in. */

.rlt, .rlt-drawer, .rlt-toast, .rlt-scrim {
  --paper:#F3F5F6; --panel:#FFFFFF; --ink:#16232E; --steel:#5A6A77; --line:#D6DDE2; --line-soft:#E7ECEF;
  --flow:#1E6A86; --flow-soft:#DCEBF1; --amber:#B97D0E; --amber-soft:#F8EDD5;
  --red:#B03D2B; --red-soft:#F6E1DC; --green:#38784B; --green-soft:#DDEDE1;
  font: 14px/1.45 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
}
.rlt *, .rlt-drawer * { box-sizing: border-box; }
.rlt button, .rlt input, .rlt select, .rlt textarea,
.rlt-drawer button, .rlt-drawer input, .rlt-drawer select, .rlt-drawer textarea { font: inherit; color: inherit; }

/* margin cancels the 15px gutter of Layout's <Container fluid>, so the grey page
   runs edge to edge and the grids get the full width; 12px keeps a small gutter. */
.rlt { background: var(--paper); padding: 16px 12px 24px; margin: 0 -15px; min-height: calc(100vh - 60px); }
.rlt header.rlt-head { display:flex; align-items:flex-end; justify-content:space-between; grid-gap:16px; gap:16px; flex-wrap:wrap; margin-bottom:18px; }
.rlt h1 { font-weight:600; font-size:26px; line-height:1.15; margin:0; letter-spacing:-.2px; color:var(--ink); }
.rlt header.rlt-head p { margin:6px 0 0; color:var(--steel); }

.rlt .btn, .rlt-drawer .btn { border:1px solid var(--line); background:var(--panel); padding:8px 14px; border-radius:6px; cursor:pointer; line-height:1.3; }
.rlt .btn:hover, .rlt-drawer .btn:hover { border-color:var(--steel); }
.rlt .btn:disabled, .rlt-drawer .btn:disabled { opacity:.55; cursor:default; }
.rlt-drawer .btn.primary { background:var(--flow); border-color:var(--flow); color:#fff; font-weight:600; }
.rlt-drawer .btn.danger { color:var(--red); }
.rlt .btn.small, .rlt-drawer .btn.small { padding:4px 10px; font-size:13px; }
.rlt .newbtn { display:inline-flex; align-items:center; grid-gap:8px; gap:8px; background:#2F8C67; color:#fff; border:0; border-radius:6px; padding:9px 18px; font-weight:500; cursor:pointer; box-shadow:0 1px 2px rgba(22,35,46,.12); }
.rlt .newbtn:hover { background:#277657; }
.rlt .newbtn .plus { font-size:18px; line-height:1; margin-top:-1px; }

/* tabs */
.rlt .tabs { display:flex; grid-gap:2px; gap:2px; border-bottom:1px solid var(--line); margin:0 0 18px; }
.rlt .tab { border:0; background:none; padding:10px 18px 9px; font-weight:500; font-size:15px; color:var(--steel); border-bottom:3px solid transparent; margin-bottom:-1px; cursor:pointer; display:flex; grid-gap:8px; gap:8px; align-items:center; }
.rlt .tab:hover { color:var(--ink); }
.rlt .tab.on { color:var(--ink); font-weight:600; border-bottom-color:var(--flow); }
.rlt .tab .n { font-weight:600; font-size:11px; background:var(--line-soft); color:var(--steel); border-radius:9px; padding:1px 7px; }
.rlt .tab.on .n { background:var(--flow-soft); color:var(--flow); }

/* top band */
.rlt .band { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); grid-gap:16px; gap:16px; margin-bottom:16px; }
.rlt .stats { display:grid; grid-template-columns:repeat(2,1fr); background:var(--panel); border:1px solid var(--line); border-radius:8px; }
.rlt .stats.s3 { grid-template-columns:repeat(3,1fr); }
.rlt .stat { padding:16px 18px; border-right:1px solid var(--line-soft); }
.rlt .stat:last-child { border-right:0; }
.rlt .stat b { display:block; font-weight:600; font-size:28px; line-height:1.1; margin-bottom:2px; }
.rlt .stat span { color:var(--steel); font-size:13px; }
.rlt .pareto { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:12px 16px; }
.rlt .pareto h2 { font-weight:600; font-size:14px; margin:0 0 8px; }
.rlt .prow { display:grid; grid-template-columns:140px 1fr 82px; grid-gap:10px; gap:10px; align-items:center; font-size:13px; margin:4px 0; }
.rlt .prow > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rlt .pbar { height:12px; background:var(--line-soft); border-radius:2px; overflow:hidden; }
.rlt .pbar i { display:block; height:100%; background:var(--flow); }
.rlt .prow.tail .pbar i { background:#9FB3BF; }
.rlt .prow em { font-style:normal; text-align:right; color:var(--steel); font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.rlt .plabel, .rlt-drawer .plabel { font-size:12px; color:var(--steel); margin-top:4px; }

/* filters */
.rlt .filters { display:flex; grid-gap:10px; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:10px; }
.rlt .filters input[type=search] { border:1px solid var(--line); background:var(--panel); border-radius:6px; padding:7px 10px; min-width:280px; }
.rlt .filters .count { margin-left:auto; color:var(--steel); font-size:13px; }
.rlt h2.sect { font-weight:600; font-size:16px; margin:26px 0 10px; }

/* table */
.rlt .tablebox { background:var(--panel); border:1px solid #E3E8EC; border-radius:6px; overflow:auto; max-height:72vh; }
.rlt .tablebox.short { max-height:none; }
.rlt .tablebox table { border-collapse:collapse; width:100%; margin:0; }
.rlt .tablebox thead { position:sticky; top:0; z-index:3; background:#fff; }
.rlt .tablebox th { text-align:left; font-weight:500; font-size:12px; line-height:1.3; color:#6B7785; padding:12px 10px 6px; background:#fff; white-space:nowrap; border:0; vertical-align:bottom; }
.rlt .tablebox th.num { text-align:right; }
.rlt .tablebox tr.frow th { padding:2px 6px 10px; border-bottom:1px solid #E3E8EC; }
.rlt .tablebox td { padding:9px 10px; border:0; border-bottom:1px solid #ECEFF2; vertical-align:middle; font-size:13px; line-height:1.35; white-space:nowrap; }
.rlt .tablebox td.num { text-align:right; font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.rlt .tablebox td.wrap { white-space:normal; }
.rlt .tablebox tbody tr { cursor:pointer; }
.rlt .tablebox tbody tr:hover, .rlt .tablebox tbody tr:hover .stick { background:#F8FAFB; }
.rlt .tablebox tbody tr.sel, .rlt .tablebox tbody tr.sel .stick { background:var(--flow-soft); }
.rlt .stick { position:sticky; left:0; background:var(--panel); z-index:1; box-shadow:1px 0 0 var(--line); }
.rlt thead th.stick { z-index:4; background:#fff; }
.rlt .empty { padding:40px; text-align:center; color:var(--steel); white-space:normal !important; cursor:default; }
.rlt .sorth { border:0; background:none; padding:0; font:inherit; color:inherit; cursor:pointer; text-align:left; white-space:nowrap; }
.rlt .sorth:hover, .rlt .sorth.on { color:var(--ink); }
.rlt th.num .sorth { width:100%; text-align:right; }
.rlt .sorth .arr { color:var(--flow); font-weight:700; }
.rlt .fi { width:100%; min-width:84px; height:30px; border:1px solid #CFD6DC; border-radius:4px; background:#fff; font-size:12.5px; color:var(--ink); padding:3px 8px; }
.rlt .fi::placeholder { color:#9AA5AE; }
.rlt .fi.on { border-color:var(--flow); box-shadow:0 0 0 1px var(--flow); background:#F7FBFC; }
.rlt .fi:focus { outline:none; border-color:var(--flow); box-shadow:0 0 0 2px var(--flow-soft); }
.rlt .pri { font-weight:600; color:var(--ink); }
.rlt .sub, .rlt-drawer .sub { display:block; font-size:12px; color:#7A8792; margin-top:1px; }
.rlt .ca { max-width:260px; }
.rlt .catext { display:block; overflow:hidden; text-overflow:ellipsis; }
.rlt .rlt-title { font-weight:600; white-space:normal; min-width:220px; display:block; }
.rlt .overdue, .rlt-drawer .overdue { color:var(--red); font-weight:600; }
.rlt td input[type=checkbox] { width:16px; height:16px; cursor:pointer; vertical-align:middle; }

/* pills */
.rlt .prio, .rlt-drawer .prio { display:inline-block; font-weight:700; font-size:9.5px; line-height:1; letter-spacing:.5px; text-transform:uppercase; padding:4px 9px; border-radius:999px; }
.rlt .prio-H { background:#FDE7E4; color:#B42318; }
.rlt .prio-M { background:#FDF1D9; color:#946200; }
.rlt .prio-L { background:#EEF1F4; color:#5A6A77; }
.rlt .prio-repeat { background:#FDF1D9; color:#946200; margin-left:8px; vertical-align:1px; }
.rlt .trade, .rlt-drawer .trade { display:inline-block; font-weight:700; font-size:9.5px; line-height:1; letter-spacing:.4px; text-transform:uppercase; padding:4px 9px; border-radius:999px; background:#EEF1F4; color:#4F5E6A; margin:1px 3px 1px 0; }
.rlt .spill, .rlt-drawer .spill { display:inline-block; min-width:104px; text-align:center; font-weight:600; font-size:11px; line-height:1; padding:5px 11px; border-radius:999px; white-space:nowrap; }
.rlt .frac { display:block; font-size:11px; color:#7A8792; margin-top:4px; padding-left:4px; }
.rlt .sp-rca-1 { background:#E7EDF2; color:#3F5868; }
.rlt .sp-rca-2 { background:#E0EBF7; color:#2D5D8A; }
.rlt .sp-rca-3 { background:#FDE9D7; color:#9A4A0B; }
.rlt .sp-rca-4 { background:#FBF0D2; color:#7A5B00; }
.rlt .sp-rca-5 { background:#DCEFEE; color:#1F6A66; }
.rlt .sp-rca-6 { background:#DFF0E3; color:#2F6B3F; }
.rlt .sp-ini-1 { background:#E7EDF2; color:#3F5868; }
.rlt .sp-ini-2 { background:#E0EBF7; color:#2D5D8A; }
.rlt .sp-ini-3 { background:#FBF0D2; color:#7A5B00; }
.rlt .sp-ini-4 { background:#F6E3F1; color:#8A2D6E; }
.rlt .sp-ini-5 { background:#DFF0E3; color:#2F6B3F; }
.rlt .sp-open { background:#FBF0D2; color:#7A5B00; min-width:80px; }
.rlt .sp-done { background:#DFF0E3; color:#2F6B3F; min-width:80px; }
.rlt .dec-PND { background:#E7EDF2; color:#3F5868; min-width:80px; }
.rlt .dec-ADP, .rlt .dec-EXP { background:#DFF0E3; color:#2F6B3F; min-width:80px; }
.rlt .dec-REV { background:#FBF0D2; color:#7A5B00; min-width:80px; }
.rlt .dec-RJT { background:#FDE7E4; color:#B42318; min-width:80px; }
.rlt .tier-CNF, .rlt-drawer .tier-CNF { background:#FDE7E4; color:#B42318; min-width:96px; }
.rlt .tier-PRB, .rlt-drawer .tier-PRB { background:#FDE9D7; color:#9A4A0B; min-width:96px; }
.rlt .tier-POS, .rlt-drawer .tier-POS { background:#FBF0D2; color:#7A5B00; min-width:96px; }
.rlt .tier-MON, .rlt-drawer .tier-MON { background:#E7EDF2; color:#3F5868; min-width:96px; }
.rlt .tb-CNF, .rlt-drawer .tb-CNF { background:#C2412D; }
.rlt .tb-PRB, .rlt-drawer .tb-PRB { background:#DB7A2E; }
.rlt .tb-POS, .rlt-drawer .tb-POS { background:#E3B341; }
.rlt .tb-MON, .rlt-drawer .tb-MON { background:#A9BAC5; }
.rlt .tc-CNF { color:#B42318; }

/* budget bar */
.rlt .bud { width:110px; height:6px; background:var(--line-soft); border-radius:3px; overflow:hidden; margin-top:5px; }
.rlt .bud i { display:block; height:100%; background:var(--flow); }
.rlt .bud.over i { background:var(--red); }

/* lightning weekly chart */
.rlt .wk { display:flex; align-items:flex-end; grid-gap:10px; gap:10px; height:120px; padding-top:16px; }
.rlt .wkcol { flex:1 1; display:flex; flex-direction:column; align-items:center; height:100%; justify-content:flex-end; min-width:0; }
.rlt .wkbar { width:100%; max-width:38px; display:flex; flex-direction:column-reverse; border-radius:2px 2px 0 0; overflow:hidden; }
.rlt .wkbar i { display:block; }
.rlt .wkcol b { font-weight:600; font-size:11px; color:var(--steel); margin-bottom:2px; }
.rlt .wkcol span { font-size:11px; color:var(--steel); margin-top:4px; white-space:nowrap; }
.rlt .legend { display:flex; grid-gap:14px; gap:14px; font-size:12px; color:var(--steel); margin-top:6px; }
.rlt .legend i { display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:5px; vertical-align:-1px; }

.rlt .denied { max-width:560px; margin:60px auto; background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:28px 32px; }
.rlt .denied h2 { font-weight:600; font-size:20px; margin:0 0 8px; }
.rlt .denied p { color:var(--steel); margin:0; }
.rlt .loadline { padding:40px; text-align:center; color:var(--steel); }
.rlt .errline { background:var(--red-soft); color:var(--red); border-radius:6px; padding:10px 14px; margin-bottom:12px; }

/* ---------- drawer (portalled to body) ---------- */
.rlt-scrim { position:fixed; inset:0; z-index:1040; background:rgba(22,35,46,.28); }
.rlt-drawer { position:fixed; top:0; right:0; height:100%; width:min(960px,94vw); background:var(--panel); border-left:1px solid var(--line); display:flex; flex-direction:column; z-index:1041; box-shadow:-8px 0 30px rgba(22,35,46,.12); animation:rltIn .22s ease; }
@keyframes rltIn { from { transform:translateX(100%); } to { transform:none; } }
@media (prefers-reduced-motion:reduce) { .rlt-drawer { animation:none; } }
.rlt-drawer .dhead { padding:18px 28px 14px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; grid-gap:12px; gap:12px; align-items:flex-start; }
.rlt-drawer .dhead h2 { margin:0; font-weight:600; font-size:21px; line-height:1.2; }
.rlt-drawer .dbody { overflow:auto; padding:4px 28px 30px; flex:1 1; }
.rlt-drawer section { padding:16px 0; border-bottom:1px solid var(--line-soft); }
.rlt-drawer section:last-child { border-bottom:0; }
.rlt-drawer section h3 { font-weight:600; font-size:15px; margin:0 0 10px; }
.rlt-drawer .grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); grid-gap:10px 16px; gap:10px 16px; }
.rlt-drawer .grid .full { grid-column:1/-1; }
.rlt-drawer label { display:block; font-size:13px; color:var(--steel); margin:0; font-weight:400; }
.rlt-drawer label input, .rlt-drawer label select, .rlt-drawer label textarea { display:block; width:100%; margin-top:3px; border:1px solid var(--line); border-radius:6px; padding:7px 9px; background:#fff; color:var(--ink); }
.rlt-drawer label input:disabled, .rlt-drawer label select:disabled, .rlt-drawer label textarea:disabled { background:var(--paper); }
.rlt-drawer label textarea { min-height:64px; resize:vertical; }
.rlt-drawer .hint { font-size:12px; color:var(--steel); margin-top:3px; }
.rlt-drawer .hint button { border:0; background:none; color:var(--flow); padding:0; font-weight:600; cursor:pointer; }
.rlt-drawer .steps { display:flex; grid-gap:4px; gap:4px; margin-bottom:12px; }
.rlt-drawer .steps button { flex:1 1; border:1px solid var(--line); background:#fff; padding:8px 4px; font-size:12px; line-height:1.2; border-radius:4px; cursor:pointer; }
.rlt-drawer .steps button:disabled { cursor:default; }
.rlt-drawer .steps button.done { background:var(--flow-soft); border-color:#B7D3DE; }
.rlt-drawer .steps button.cur { background:var(--flow); border-color:var(--flow); color:#fff; font-weight:600; }
.rlt-drawer .steps.closed button { background:var(--green-soft); border-color:#BFD9C6; }
.rlt-drawer .steps.closed button.cur { background:var(--green); border-color:var(--green); color:#fff; }
.rlt-drawer .note { font-size:13px; color:var(--red); margin:-4px 0 10px; }
.rlt-drawer .costsum { display:grid; grid-template-columns:repeat(3,1fr); grid-gap:8px; gap:8px; margin-top:12px; }
.rlt-drawer .costsum div { background:var(--paper); border-radius:6px; padding:8px 10px; }
.rlt-drawer .costsum b { display:block; font-weight:600; font-size:18px; }
.rlt-drawer .costsum span { font-size:12px; color:var(--steel); }
.rlt-drawer .costsum .total { background:var(--ink); color:#fff; }
.rlt-drawer .costsum .total span { color:#B9C6CF; }
.rlt-drawer .item { display:grid; grid-template-columns:22px 1fr auto; grid-gap:8px; gap:8px; align-items:start; padding:8px 0; border-bottom:1px dashed var(--line-soft); }
.rlt-drawer .item:last-child { border-bottom:0; }
.rlt-drawer .item.doc { grid-template-columns:22px 1fr auto; }
.rlt-drawer .item.ev { grid-template-columns:1fr auto; }
.rlt-drawer .item.done .txt { text-decoration:line-through; color:var(--steel); }
.rlt-drawer .item .meta { font-size:12px; color:var(--steel); }
.rlt-drawer .item input[type=checkbox] { width:16px; height:16px; margin-top:2px; }
.rlt-drawer .x { border:0; background:none; color:var(--steel); cursor:pointer; font-size:18px; line-height:1; padding:2px 6px; }
.rlt-drawer .x:hover { color:var(--red); }
.rlt-drawer .addrow { display:grid; grid-gap:6px; gap:6px; margin-top:10px; }
.rlt-drawer .addrow input, .rlt-drawer .addrow select { border:1px solid var(--line); border-radius:6px; padding:6px 8px; min-width:0; background:#fff; }
.rlt-drawer .doc a, .rlt-drawer .doc button.linkish { color:var(--flow); font-weight:600; text-decoration:none; word-break:break-all; border:0; background:none; padding:0; cursor:pointer; text-align:left; }
.rlt-drawer .doc a:hover, .rlt-drawer .doc button.linkish:hover { text-decoration:underline; }
.rlt-drawer .dfoot { display:flex; justify-content:space-between; grid-gap:8px; gap:8px; padding:12px 28px; border-top:1px solid var(--line); }
.rlt-drawer .evgroup { margin-bottom:14px; }
.rlt-drawer .evhead { display:flex; align-items:center; grid-gap:10px; gap:10px; margin:6px 0 2px; }
.rlt-drawer .evmeta { color:var(--steel); font-size:12.5px; margin-left:6px; }
.rlt-drawer .evtier { border:1px solid var(--line); border-radius:5px; font-size:12px; padding:3px 4px; background:#fff; }
.rlt-drawer .drop { display:flex; flex-direction:column; align-items:center; justify-content:center; grid-gap:4px; gap:4px; border:2px dashed #B9C6CF; border-radius:10px; padding:38px 20px; text-align:center; cursor:pointer; background:#FAFCFD; color:var(--steel); }
.rlt-drawer .drop:hover, .rlt-drawer .drop.over { border-color:#2F8C67; background:#F1F8F4; }
.rlt-drawer .drop b { color:var(--ink); font-size:15px; }
.rlt-drawer .drop.busy { opacity:.55; pointer-events:none; }
.rlt-drawer .dropicon { font-size:28px; color:#2F8C67; line-height:1; }
.rlt-drawer .upstat { display:flex; grid-gap:12px; gap:12px; align-items:flex-start; margin-top:14px; padding:14px 16px; border-radius:8px; background:var(--flow-soft); }
.rlt-drawer .upstat b { display:block; color:var(--ink); }
.rlt-drawer .upstat span { color:var(--steel); font-size:13px; }
.rlt-drawer .upstat.err { background:var(--red-soft); }
.rlt-drawer .spin { width:18px; height:18px; border:2.5px solid #B7D3DE; border-top-color:var(--flow); border-radius:50%; animation:rltSpin .8s linear infinite; flex:none; margin-top:2px; }
@keyframes rltSpin { to { transform:rotate(360deg); } }
.rlt-drawer .picklist { border:1px solid var(--line); border-radius:6px; max-height:220px; overflow:auto; margin-top:4px; background:#fff; }
.rlt-drawer .picklist button { display:block; width:100%; text-align:left; border:0; border-bottom:1px solid var(--line-soft); background:none; padding:7px 10px; cursor:pointer; }
.rlt-drawer .picklist button:hover { background:var(--flow-soft); }
.rlt-drawer .picklist .sub { margin:0; }
/* asset combobox */
.rlt-drawer .combo { position:relative; }
.rlt-drawer .combo-box { position:relative; margin-top:3px; }
.rlt-drawer .combo-box input { display:block; width:100%; border:1px solid var(--line); border-radius:6px; padding:7px 28px 7px 9px; background:#fff; color:var(--ink); cursor:pointer; }
.rlt-drawer .combo-box input:focus { outline:none; border-color:var(--flow); box-shadow:0 0 0 2px var(--flow-soft); cursor:text; }
.rlt-drawer .combo-box input:disabled { background:var(--paper); cursor:default; }
.rlt-drawer .combo-caret { position:absolute; right:10px; top:50%; transform:translateY(-50%); color:var(--steel); pointer-events:none; font-size:12px; }
.rlt-drawer .combo-list { position:absolute; left:0; right:0; z-index:5; max-height:320px; box-shadow:0 10px 28px rgba(22,35,46,.16); }
.rlt-drawer .combo-list button.hi { background:var(--flow-soft); }
.rlt-drawer .chips { display:flex; flex-wrap:wrap; grid-gap:6px; gap:6px; margin-top:6px; }
.rlt-drawer .chip { display:inline-flex; align-items:center; grid-gap:4px; gap:4px; background:var(--flow-soft); color:var(--flow); border-radius:999px; padding:3px 4px 3px 10px; font-size:12.5px; font-weight:600; }
.rlt-drawer .chip button { border:0; background:none; color:inherit; cursor:pointer; padding:0 4px; font-size:14px; line-height:1; }
.rlt-drawer .saving { font-size:12px; color:var(--steel); }

.rlt-toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:var(--ink); color:#fff; padding:9px 16px; border-radius:6px; font-size:14px; z-index:1060; max-width:80vw; }

@media (max-width:900px) { .rlt .band { grid-template-columns:1fr; } .rlt { padding:12px 8px; } .rlt-drawer { width:100%; } }

/* SR-63273 — AR Ticket OCR review: colour tokens, page layout and the shared
   classes (pills, flags, certainty, notes, buttons, section heads, toast, modal).
   Every rule is scoped under .art (page), .art-modal (reactstrap modal, portalled
   to <body>) or .art-toast, so nothing leaks into the rest of the portal. The
   group stylesheets (artOcrScan / artOcrFields / artOcrPanels.css) only add
   their own classes and never redefine these. */

.art, .art-modal, .art-toast {
  /* #SR-63273 — Modified by HN 11/04/26. Palette, type and buttons follow the EngBomReq form (BOMRequestForm):
     navy / slate / brass tokens, Libre Franklin body, Archivo uppercase headings, Syncfusion small buttons. */
  --paper:#F5F7FA; --panel:#FFFFFF; --ink:#0F172A; --body:#334155; --steel:#64748B; --line:#CBD5E1; --line-soft:#E2E8F0;
  --navy:#052042; --gold:#A8895C;
  --flow:#1B7AC0; --flow-soft:#E3F0FA; --amber:#92400E; --amber-soft:#FEF3C7;
  --red:#B91C1C; --red-soft:#FEE2E2; --green:#166534; --green-soft:#DCFCE7;
  --purple:#6B3FA0; --purple-soft:#EDE4F7;
  --sf-primary:#e3165b;
  --display-font: Archivo, 'Segoe UI', system-ui, sans-serif;
  font: 13px/1.45 'Libre Franklin', 'Segoe UI', system-ui, sans-serif;
  color: var(--body);
}
.art *, .art-modal * { box-sizing: border-box; }
.art button, .art input, .art select, .art textarea,
.art-modal button, .art-modal input, .art-modal select, .art-modal textarea { font: inherit; color: inherit; }

/* margin cancels the 15px gutter of Layout's <Container fluid> (Reliability precedent);
   bottom padding leaves room for the sticky action bar */
.art { background: var(--paper); padding: 12px 12px 0; margin: 0 -15px; min-height: calc(100vh - 60px); }
.art .art-loadline { color: var(--steel); padding: 24px 4px; }
.art .art-errline { color: var(--red); padding: 24px 4px 8px; }
.art .alert { margin-bottom: 12px; }

/* ------------------------------------------------------------------ layout */
.art .art-body { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); grid-gap: 12px; gap: 12px; align-items: start; }
.art .art-left { position: sticky; top: 8px; max-height: calc(100vh - 80px); overflow-y: auto; display: flex; flex-direction: column; grid-gap: 10px; gap: 10px; min-width: 0; }
.art .art-right { display: flex; flex-direction: column; grid-gap: 12px; gap: 12px; min-width: 0; padding-bottom: 12px; }
@media (max-width: 1199px) {
  .art .art-body { grid-template-columns: minmax(0, 1fr); }
  .art .art-left { position: static; max-height: none; overflow: visible; }
}

/* ----------------------------------------------------------------- buttons */
/* #SR-63273 — Modified by HN 11/04/26. Syncfusion Material small buttons, as on EngBomReq:
   .btn = e-outline, .btn.primary = e-primary, .btn.danger = the red outline of Reject / Delete */
/* #SR-63273 — Modified by HN 11/04/26 (round 2). Buttons: the small Syncfusion shape of EngBomReq (upper case, Roboto 500),
   softened: slate outline, 4px corners, a filled primary that stays coloured (lighter) when disabled. */
.art .btn, .art-modal .btn { -webkit-font-smoothing: antialiased; display: inline-flex; align-items: center; justify-content: center; grid-gap: 6px; gap: 6px;
  border: 1px solid var(--line); background: var(--panel); color: var(--navy); border-radius: 4px; padding: 5px 14px;
  font-family: Roboto, 'Segoe UI', sans-serif; font-size: 13px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .03em;
  cursor: pointer; white-space: nowrap; box-shadow: 0 1px 1px rgba(2,32,66,.04); transition: background .15s, border-color .15s, box-shadow .15s; }
.art .btn:hover, .art-modal .btn:hover { background: var(--paper); border-color: var(--steel); }
.art .btn:focus-visible, .art-modal .btn:focus-visible { outline: 2px solid var(--flow); outline-offset: 1px; }
.art .btn:disabled, .art-modal .btn:disabled { opacity: .5; cursor: default; background: var(--panel); border-color: var(--line); }
.art .btn.primary, .art-modal .btn.primary { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; box-shadow: 0 1px 3px rgba(227,22,91,.3); }
.art .btn.primary:hover, .art-modal .btn.primary:hover { background: #c81250; border-color: #c81250; }
.art .btn.primary:disabled, .art-modal .btn.primary:disabled { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; opacity: .4; box-shadow: none; }
.art .btn.danger, .art-modal .btn.danger { color: var(--red); border-color: #FCA5A5; }
.art .btn.danger:hover, .art-modal .btn.danger:hover { background: var(--red-soft); border-color: var(--red); }
.art .btn.small, .art-modal .btn.small { padding: 3px 11px; font-size: 11.5px; min-height: 26px; }

/* checkboxes and radios: the page's blue, a little larger */
.art input[type="checkbox"], .art input[type="radio"], .art-modal input[type="checkbox"], .art-modal input[type="radio"] {
  accent-color: var(--flow); width: 15px; height: 15px; margin: 0; vertical-align: middle; cursor: pointer; }
.art input[type="checkbox"]:disabled, .art-modal input[type="checkbox"]:disabled { cursor: not-allowed; opacity: .4; }

/* inputs and labels as on EngBomReq: slate border, 4px corners; labels small, upper case, muted */
.art select, .art input[type="text"], .art input[type="number"], .art input[type="date"], .art textarea,
.art-modal select, .art-modal input[type="text"], .art-modal input[type="number"], .art-modal input[type="date"], .art-modal textarea {
  border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--ink); font-size: 13px; }
.art select:focus, .art input[type="text"]:focus, .art textarea:focus,
.art-modal select:focus, .art-modal input[type="text"]:focus, .art-modal textarea:focus { outline: 2px solid var(--flow-soft); border-color: var(--flow); }
.art .art-label, .art-modal .art-label { font-size: 11px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: .04em; }

/* --------------------------------------------------------- section heading */
.art .art-sec-head { display: flex; align-items: center; grid-gap: 8px; gap: 8px; font-family: var(--display-font); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.art .art-sec-title { min-width: 0; }
.art .art-sec-count { font-size: 11px; font-weight: 600; background: var(--line-soft); color: var(--steel); border-radius: 9px; padding: 1px 7px; }
.art .art-sec-right { margin-left: auto; display: inline-flex; align-items: center; grid-gap: 6px; gap: 6px; font-family: 'Libre Franklin', 'Segoe UI', system-ui, sans-serif;
  font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.art .art-empty, .art-modal .art-empty { color: var(--steel); font-style: italic; padding: 8px 2px; }

/* ------------------------------------------------------------------- pills */
.art .art-pill, .art-modal .art-pill { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.5; border-radius: 9px; padding: 0 8px; white-space: nowrap; }
.art .art-pill-grey, .art-modal .art-pill-grey { background: var(--line-soft); color: var(--steel); }
.art .art-pill-blue, .art-modal .art-pill-blue { background: var(--flow-soft); color: var(--flow); }
.art .art-pill-amber, .art-modal .art-pill-amber { background: var(--amber-soft); color: var(--amber); }
.art .art-pill-green, .art-modal .art-pill-green { background: var(--green-soft); color: var(--green); }
.art .art-pill-red, .art-modal .art-pill-red { background: var(--red-soft); color: var(--red); }

/* ------------------------------------------------------------------- flags */
.art .art-flags { display: inline-flex; flex-wrap: wrap; grid-gap: 4px; gap: 4px; }
.art .art-flag { display: inline-block; font-size: 11.5px; line-height: 1.5; border-radius: 4px; padding: 0 6px; border: 1px solid transparent; white-space: nowrap; }
.art .art-flag-red { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.art .art-flag-amber { background: var(--amber-soft); color: var(--amber); }
.art .art-flag-purple { background: var(--purple-soft); color: var(--purple); border-style: dashed; border-color: var(--purple); }
.art .art-flag-grey { background: var(--line-soft); color: var(--steel); }

/* --------------------------------------------------------------- certainty */
.art .art-cert { display: inline-block; font-size: 11.5px; line-height: 1.5; border-radius: 4px; padding: 0 6px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.art .art-cert-none { background: var(--line-soft); color: var(--steel); }
.art .art-cert-low { background: var(--red-soft); color: var(--red); font-weight: 600; }
.art .art-cert-mid { background: var(--amber-soft); color: var(--amber); }
.art .art-cert-high { background: var(--green-soft); color: var(--green); }

/* -------------------------------------------------------------- notes, kbd */
.art .art-note { background: var(--line-soft); color: var(--steel); border-radius: 6px; padding: 4px 8px; margin-top: 4px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.art .art-note b { font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .3px; margin-right: 4px; }
.art .art-kbd, .art-modal .art-kbd { display: inline-block; font: 12px/1.4 Consolas, 'Courier New', monospace; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; }

/* --------------------------------------------------------------- action bar */
.art .art-actions { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; grid-gap: 8px 16px; gap: 8px 16px;
  background: var(--panel); border-top: 1px solid var(--line); margin: 12px -12px 0; padding: 10px 16px; box-shadow: 0 -2px 8px rgba(22, 35, 46, .08); }
.art .art-actions-info { display: flex; align-items: center; grid-gap: 12px; gap: 12px; flex-wrap: wrap; color: var(--steel); font-size: 13px; }
.art .art-actions-ok { color: var(--green); font-weight: 600; }
.art .art-actions-fix { border: 0; background: none; padding: 0; color: var(--red); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; grid-gap: 6px; gap: 6px; }
.art .art-actions-fix:hover { text-decoration: underline; }
.art .art-actions-warn { color: var(--red); }
.art .art-actions-btns { display: flex; grid-gap: 8px; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.art .art-actions-none { color: var(--steel); font-size: 13px; }

/* -------------------------------------------------------------------- modal */
.art-modal .modal-content { border-radius: 6px; border-color: var(--line-soft); box-shadow: 0 10px 30px rgba(2,32,66,.18); }
.art-modal .modal-header { padding: 12px 16px; border-bottom-color: var(--line-soft); }
.art-modal .modal-title { font-family: var(--display-font); font-size: 16px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.art-modal .modal-footer { border-top-color: var(--line-soft); padding: 8px 16px; }
.art-modal .art-modal-label { display: block; font-weight: 600; font-size: 11px; color: var(--steel); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 3px; }
.art-modal .art-modal-select { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-weight: 400; background: var(--panel); }
.art-modal .art-modal-text { display: block; width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; resize: vertical; }
.art-modal .art-modal-text:focus, .art-modal .art-modal-select:focus { outline: 2px solid var(--flow); outline-offset: 0; }
.art-modal .art-modal-hint { color: var(--steel); font-size: 12px; margin-top: 4px; }
.art-modal .art-modal-err { color: var(--red); background: var(--red-soft); border-radius: 6px; padding: 6px 8px; margin-top: 8px; overflow-wrap: anywhere; }
.art-modal .art-modal-extra { margin-bottom: 4px; }
/* Can't confirm yet (ConfirmChecklist) */
.art-modal .art-check-intro { margin: 0 0 10px; color: var(--steel); }
.art-modal .art-check-list { list-style: none; margin: 0; padding: 0; }
.art-modal .art-check-item { border: 1px solid var(--line-soft); border-left: 4px solid var(--red); border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; }
.art-modal .art-check-head { display: flex; align-items: center; grid-gap: 8px; gap: 8px; }
.art-modal .art-check-icon { color: var(--red); flex-shrink: 0; }
.art-modal .art-check-text { flex: 1 1; min-width: 0; overflow-wrap: anywhere; }
.art-modal .art-check-cells { display: flex; flex-wrap: wrap; grid-gap: 6px; gap: 6px; margin: 6px 0 0 24px; }
.art-modal .art-check-cell { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 1px 10px; font-size: 13px; cursor: pointer; color: var(--flow); }
.art-modal .art-check-cell:hover { border-color: var(--flow); text-decoration: underline; }
.art-modal .art-check-cell:focus-visible { outline: 2px solid var(--flow); outline-offset: 1px; }
.art-modal .art-check-more { font-size: 12px; color: var(--steel); align-self: center; }

/* -------------------------------------------------------------------- toast */
.art-toast { position: fixed; bottom: 72px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 6px; font-size: 14px; z-index: 1060; max-width: 80vw; }

/* ---------------------------------------------------- grids (ArtGrid / AppGrid) */
/* #SR-63273 — Modified by HN 11/04/26. AppGrid card with EngBomReq's thin slate border; a grid inside a
   flex column (the start page) fills the rest of it */
.art .art-grid { display: flex; flex-direction: column; min-height: 0; min-width: 0; max-width: 100%; }
.art .art-grid .ag-wrap, .art .art-grid .ag-grid { min-width: 0; max-width: 100%; }
/* one line per cell (rows are 30px): a cell's caption (site price, written hauler, line count) follows its value */
.art .art-grid .e-rowcell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art .art-grid .e-rowcell .art-home-sub { display: inline; margin-left: 6px; }
.art .art-grid .e-rowcell .art-pill { margin-left: 4px; vertical-align: 1px; }
.art .art-grid .ag-wrap { border-color: var(--line-soft); border-radius: 6px; box-shadow: 0 1px 2px rgba(2,32,66,.05); }
.art .art-grid .ag-toolbar { border-radius: 6px 6px 0 0; }
.art .art-grid .e-grid .e-rowcell { font-size: 12.5px; color: var(--body); }
.art .art-grid .e-grid .e-headercell { background: var(--paper); }
/* #SR-63273 — Modified by HN 11/04/26. A cell's second line (a <div> caption such as the lookup type, the last-hit date,
   "n d · retired") follows its value on the same line: rows are one line high, so a block would be drawn over it. */
.art .art-grid .e-rowcell div:not(.e-checkbox-wrapper):not(.e-frame) { display: inline; }
.art .art-grid .e-rowcell span > div:not(:empty)::before { content: '·'; margin: 0 5px; color: var(--line); }
.art .art-grid .e-rowcell .art-adm-muted, .art .art-grid .e-rowcell .art-home-sub { font-size: 12px; color: var(--steel); }
.art .art-grid .e-rowcell .art-home-sub::before { content: none; }
.art .art-grid .e-rowcell .btn + .btn { margin-left: 6px; }

/* SR-63273 — AR Ticket OCR review: scan pane, page tabs, header, duplicate banner
   and the History / Runs tabs. Tokens and shared classes (.art-pill, .art-flag,
   .art-empty, .art .btn ...) live in artOcr.css; this file only adds its own. */

/* ------------------------------------------------------------------ header */
.art .art-head { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:10px 14px; margin-bottom:12px; }
.art .art-head-main { display:flex; align-items:center; grid-gap:12px; gap:12px; flex-wrap:wrap; }
.art .art-head-nav { display:flex; grid-gap:4px; gap:4px; }
.art .art-head-title { flex:1 1 320px; min-width:0; }
.art .art-head h1 { font-size:22px; font-weight:600; margin:0; line-height:1.2; overflow-wrap:anywhere; }
.art .art-head-sub { display:flex; flex-wrap:wrap; align-items:center; grid-gap:8px; gap:8px; color:var(--steel); margin-top:2px; }
.art .art-head-muted { color:var(--steel); }
.art .art-head-mode { font-size:12px; font-weight:600; border:1px solid var(--line); border-radius:9px; padding:0 8px; }
.art .art-head-mode-clerk { color:var(--flow); border-color:var(--flow); }
.art .art-head-mode-approver { color:var(--green); border-color:var(--green); }
.art .art-head-mode-readonly { color:var(--steel); }
.art .art-head-tools { display:flex; align-items:center; grid-gap:8px; gap:8px; margin-left:auto; }
.art .art-head-mock { display:flex; align-items:center; grid-gap:6px; gap:6px; }
.art .art-head-mock select { border:1px solid var(--line); border-radius:6px; padding:3px 6px; background:var(--panel); max-width:260px; }
.art .art-head-facts { display:flex; flex-wrap:wrap; grid-gap:6px 16px; gap:6px 16px; margin-top:8px; font-size:13px; }
.art .art-head-lock { color:var(--steel); }
.art .art-head-lock.other { color:var(--red); font-weight:600; }
.art .art-head-gate { font-weight:600; color:var(--red); cursor:help; }
.art .art-head-gate.ok { color:var(--green); }

/* keyboard help (a <details> popover) */
.art .art-head-keys { position:relative; }
.art .art-head-keys > summary { list-style:none; cursor:pointer; border:1px solid var(--line); border-radius:6px; padding:3px 8px; display:flex; align-items:center; grid-gap:4px; gap:4px; }
.art .art-head-keys > summary::-webkit-details-marker { display:none; }
.art .art-head-keylist { position:absolute; right:0; top:calc(100% + 4px); z-index:30; width:340px; max-width:calc(100vw - 32px); margin:0;
    background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:8px 12px; box-shadow:0 6px 18px rgba(22,35,46,.15); }
.art .art-head-keylist > div { display:flex; grid-gap:10px; gap:10px; padding:2px 0; }
.art .art-head-keylist dt { flex:0 0 150px; font-weight:400; }
.art .art-head-keylist dd { margin:0; color:var(--steel); }

/* -------------------------------------------------------- duplicate banner */
.art .art-dup { background:var(--red-soft); border:1px solid var(--red); border-radius:8px; padding:10px 14px; margin-bottom:12px; }
.art .art-dup-head { display:flex; grid-gap:8px; gap:8px; align-items:baseline; flex-wrap:wrap; color:var(--red); }
.art .art-dup-head span { color:var(--ink); }
.art .art-dup-head code { color:var(--ink); background:rgba(255,255,255,.6); padding:0 3px; border-radius:3px; font-size:12px; }
.art .art-dup-row { display:flex; align-items:center; grid-gap:10px; gap:10px; margin-top:8px; flex-wrap:wrap; }
.art .art-dup-thumb { width:48px; height:64px; object-fit:cover; border:1px solid var(--line); border-radius:4px; background:var(--panel); }
.art .art-dup-actions { display:flex; grid-gap:6px; gap:6px; margin-left:auto; }

.art .art-scan-link { border:0; background:none; padding:0; color:var(--flow); text-decoration:underline; cursor:pointer; font-weight:600; }
.art .art-scan-link:hover { color:var(--ink); }

/* ------------------------------------------------------------- page tabs */
.art .art-strip { display:flex; flex-wrap:wrap; align-items:flex-end; grid-gap:4px; gap:4px; border-bottom:1px solid var(--line); margin-bottom:8px; }
.art .art-strip-tabs { display:flex; flex-wrap:wrap; grid-gap:2px; gap:2px; }
.art .art-strip-tab { border:1px solid transparent; border-bottom:0; background:none; padding:6px 12px; border-radius:6px 6px 0 0; color:var(--steel);
    cursor:pointer; display:flex; align-items:center; grid-gap:6px; gap:6px; margin-bottom:-1px; }
.art .art-strip-tab:hover { color:var(--ink); }
.art .art-strip-tab.on { background:var(--panel); border-color:var(--line); color:var(--ink); font-weight:600; }
.art .art-strip-tab:focus-visible { outline:2px solid var(--flow); outline-offset:-2px; }
.art .art-strip-sub { font-weight:400; font-size:12px; color:var(--steel); }
.art .art-strip-dot { width:8px; height:8px; border-radius:50%; background:var(--amber); display:inline-block; }
.art .art-strip-chip { font-size:11px; font-weight:600; background:var(--amber-soft); color:var(--amber); border-radius:9px; padding:0 7px; }

.art .art-strip-missing { position:relative; }
.art .art-strip-missing > summary { list-style:none; cursor:pointer; padding:6px 12px; border:1px dashed var(--red); border-bottom:0; border-radius:6px 6px 0 0;
    background:var(--red-soft); color:var(--red); font-weight:600; }
.art .art-strip-missing > summary::-webkit-details-marker { display:none; }
.art .art-strip-menu { position:absolute; left:0; top:100%; z-index:20; min-width:240px; display:flex; flex-direction:column; grid-gap:6px; gap:6px;
    background:var(--panel); border:1px solid var(--line); border-radius:0 8px 8px 8px; padding:8px; box-shadow:0 6px 18px rgba(22,35,46,.15); }
.art .art-strip-cand { display:flex; align-items:center; grid-gap:8px; gap:8px; flex-wrap:wrap; border-bottom:1px solid var(--line-soft); padding-bottom:6px; }
.art .art-strip-cand img { width:40px; height:52px; object-fit:cover; border:1px solid var(--line); border-radius:3px; }

/* ------------------------------------------------------------- scan pane */
.art .art-scan { background:var(--panel); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.art .art-scan-tools { display:flex; flex-wrap:wrap; align-items:center; grid-gap:4px; gap:4px; padding:6px 8px; border-bottom:1px solid var(--line-soft); }
.art .art-scan-tools .btn.small { padding:4px 8px; display:inline-flex; align-items:center; }
.art .art-scan-tools .btn.on { background:var(--flow-soft); border-color:var(--flow); color:var(--flow); }
.art .art-scan-zoom { min-width:44px; text-align:right; font-size:12px; color:var(--steel); font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.art .art-scan-sep { width:1px; height:20px; background:var(--line); margin:0 4px; }
.art .art-scan-label { margin-left:auto; font-size:12px; color:var(--steel); }
.art .art-scan-note { padding:6px 10px; font-size:12px; background:var(--amber-soft); color:var(--ink); }

.art .art-scan-view { position:relative; height:calc(100vh - 260px); min-height:420px; overflow:hidden; background:#6E7A84; cursor:grab;
    -webkit-user-select:none;
            user-select:none; touch-action:none; }
.art .art-scan-view:active { cursor:grabbing; }
.art .art-scan-view:focus-visible { outline:3px solid var(--flow); outline-offset:-3px; }
.art .art-scan-view > .art-empty { color:#fff; padding-top:40px; }
.art .art-scan-stage { position:absolute; left:0; top:0; transform-origin:center center; box-shadow:0 2px 10px rgba(0,0,0,.35); background:#fff; }
.art .art-scan-stage img { display:block; width:100%; height:100%; pointer-events:none; }
.art .art-scan-svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }

/* evidence boxes: normalized 0..1 coordinates, so strokes are drawn in screen pixels */
.art .art-box { fill:transparent; stroke-width:2px; vector-effect:non-scaling-stroke; cursor:pointer; }
.art .art-box-normal { stroke:var(--flow); }
.art .art-box-purple { stroke:var(--purple); stroke-dasharray:5 3; }
.art .art-box-amber { stroke:var(--amber); }
.art .art-box-focus { stroke:var(--red); stroke-width:3.5px; fill:rgba(176,61,43,.15); }
.art .art-box:hover { fill:rgba(30,106,134,.12); }
.art .art-crop { fill:none; stroke:var(--amber); stroke-width:2px; stroke-dasharray:8 4; vector-effect:non-scaling-stroke; pointer-events:none; }

/* ---------------------------------------------------------- side tabs */
.art .art-side { background:var(--panel); border:1px solid var(--line); border-radius:8px; margin-top:12px; padding:0 12px 12px; }
.art .art-side-tabs { display:flex; grid-gap:2px; gap:2px; border-bottom:1px solid var(--line); margin:0 -12px 10px; padding:0 8px; }
.art .art-side-tab { border:0; background:none; padding:9px 14px 8px; color:var(--steel); font-weight:500; border-bottom:3px solid transparent; margin-bottom:-1px;
    cursor:pointer; display:flex; align-items:center; grid-gap:6px; gap:6px; }
.art .art-side-tab:hover { color:var(--ink); }
.art .art-side-tab.on { color:var(--ink); font-weight:600; border-bottom-color:var(--flow); }
.art .art-side-n { font-size:11px; font-weight:600; background:var(--line-soft); color:var(--steel); border-radius:9px; padding:0 7px; }
.art .art-side-filter { font-size:13px; color:var(--steel); margin-bottom:8px; display:inline-block; }
.art .art-side-filter select { border:1px solid var(--line); border-radius:6px; padding:2px 6px; background:var(--panel); color:var(--ink); }

.art .art-hist { width:100%; border-collapse:collapse; font-size:13px; }
.art .art-hist th { text-align:left; font-weight:600; color:var(--steel); border-bottom:1px solid var(--line); padding:4px 6px; }
.art .art-hist td { border-bottom:1px solid var(--line-soft); padding:4px 6px; vertical-align:top; }
.art .art-hist-when { white-space:nowrap; }
.art .art-hist-link:hover td { background:var(--flow-soft); }
.art .art-hist-cell { font-size:12px; color:var(--steel); }
.art .art-hist-detail { white-space:pre-wrap; overflow-wrap:anywhere; }
.art .art-hist-stale { margin-top:10px; font-size:13px; }
.art .art-hist-stale ul { margin:4px 0 0; padding-left:18px; color:var(--steel); }

.art .art-run { border:1px solid var(--line-soft); border-radius:6px; padding:8px 10px; margin-bottom:8px; }
.art .art-run-head { display:flex; flex-wrap:wrap; align-items:center; grid-gap:6px; gap:6px; margin-bottom:6px; }
.art .art-run-body { display:flex; grid-gap:12px; gap:12px; align-items:flex-start; }
.art .art-run-facts { flex:1 1; display:grid; grid-template-columns:max-content 1fr; grid-gap:2px 10px; gap:2px 10px; margin:0; font-size:13px; }
.art .art-run-facts dt { color:var(--steel); font-weight:400; }
.art .art-run-facts dd { margin:0; overflow-wrap:anywhere; }
.art .art-run-err { color:var(--red); white-space:pre-wrap; }
.art .art-run-img { display:flex; flex-direction:column; align-items:center; grid-gap:2px; gap:2px; font-size:12px; color:var(--flow); text-decoration:none; }
.art .art-run-img img { width:72px; height:96px; object-fit:cover; border:1px solid var(--line); border-radius:4px; }

@media (max-width: 700px) {
    .art .art-scan-view { height:60vh; min-height:300px; }
    .art .art-head-tools { margin-left:0; }
    .art .art-run-body { flex-direction:column; }
    .art .art-head-keylist dt { flex-basis:120px; }
}

/* AppGrid.css — look of wbi-ace-ui's AceGrid (Work Orders), ported from its App.css.
   The wrapper is the white rounded card; the toolbar sits on top; the Syncfusion grid fills the rest.
   #SR-62270 — Copied from apticket2 by HN 10/28/26 (classes ag-* / cf-* only). */

.ag-wrap {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  /* #SR-62270 visible, not hidden: page dropdowns in the toolbar (reactstrap / Popper) may flip upward,
     out of the card. The corners need no clipping: the toolbar rounds its own top, the grid is inset. */
  overflow: visible;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 10px;
}

/* ── toolbar ── */
.ag-toolbar {
  display: flex;
  align-items: center; /* #SR-62270 was flex-end (count stacked over the search box) */
  grid-gap: 12px;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
  padding: 6px 12px; /* #SR-62270 the row count moved to the group drop area: one toolbar line */
  border-bottom: 1px solid #dce3eb;
  background: #fcfcfb;
  border-radius: 10px 10px 0 0;
}
/* #SR-62270 — Modified by HN 10/28/26. toolbarLeft / toolbarRight groups */
.ag-left { display: flex; align-items: center; grid-gap: 6px; gap: 6px; flex-wrap: wrap; }
.ag-count { font-size: 11px; color: #8b98a3; white-space: nowrap; padding-left: 10px; align-self: center; }
/* the row count at the right end of the group drop area, the strip above the column headers */
.ag-count-head {
  position: absolute;
  top: 0;
  right: 20px;
  z-index: 2;
  height: 34px;
  display: flex;
  align-items: center;
  pointer-events: none;
  font-weight: 600;
}
.ag-ic { display: inline-flex; align-items: center; }
.ag-excel img { width: 16px; height: 16px; }
.ag-filters { display: flex; align-items: center; grid-gap: 12px; gap: 12px; }
.ag-search { position: relative; display: flex; align-items: center; }
.ag-search input {
  font: inherit;
  font-size: 12.5px;
  width: 260px;
  padding: 4px 26px;
  border: 1px solid #d6dee7;
  border-radius: 16px;
  background: #fff;
  outline: none;
}
.ag-search input:focus { border-color: #25395a; }
.ag-search-ic { position: absolute; left: 9px; color: #8b98a3; font-size: 13px; pointer-events: none; }
.ag-search-x { position: absolute; right: 6px; border: none; background: none; color: #8b98a3; cursor: pointer; font-size: 11px; }
.ag-clear {
  display: flex;
  align-items: center;
  grid-gap: 4px;
  gap: 4px;
  border: none;
  background: none;
  color: #a5654a;
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 4px;
}
.ag-clear:hover { text-decoration: underline; }
.ag-actions { margin-left: auto; display: flex; align-items: center; grid-gap: 8px; gap: 8px; }
.ag-btn {
  display: inline-flex;
  align-items: center;
  grid-gap: 5px;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 14px;
  border: 1px solid #d6dee7;
  background: #fff;
  color: #1b2430;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.ag-btn:hover { border-color: #25395a; }
.ag-btn:disabled { opacity: 0.6; cursor: progress; }
/* Refresh is the main action: the green fill Export to Excel used to have */
.ag-refresh { background: #f1f9f5; border-color: #bfd9c9; color: #1d6f42; }
.ag-refresh:hover { background: #e5f3ed; border-color: #1d6f42; }
.ag-btn .ag-spin { display: inline-block; animation: ag-spin 0.8s linear infinite; }
.ag-excel {
  display: inline-flex;
  align-items: center;
  grid-gap: 6px;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 14px;
  border: 1px solid #bfd9c9;
  background: #fff;
  color: #1d6f42;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  flex: none;
}
.ag-excel:hover { border-color: #1d6f42; background: #f1f9f5; }
.ag-excel:disabled { opacity: 0.45; cursor: not-allowed; }

.ag-note { font-size: 11.5px; color: #2e7d4f; }

/* Layout menu */
.ag-menu-wrap { position: relative; }
.ag-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  min-width: 230px;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(27, 36, 48, 0.12);
  padding: 4px;
  display: flex;
  flex-direction: column;
}
.ag-menu button {
  border: none;
  background: none;
  text-align: left;
  padding: 7px 10px;
  border-radius: 6px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  color: #1b2430;
}
.ag-menu button:hover:not(:disabled) { background: #f1f5f9; }
.ag-menu button:disabled { color: #a9b4bf; cursor: not-allowed; }
.ag-menu button.on { font-weight: 600; color: #25395a; }
.ag-check { display: inline-block; width: 16px; color: #2e7d4f; }
.ag-menu-sep {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b98a3;
  padding: 6px 10px 2px;
}
.ag-menu-sep:empty { padding: 0; margin: 4px 0; border-top: 1px solid #eef2f6; }
.ag-menu-hint { font-size: 11px; color: #8b98a3; padding: 6px 10px 4px; border-top: 1px solid #eef2f6; margin-top: 4px; }
.ag-src {
  margin-left: 4px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e7d4f;
  background: #e6f4ec;
  border-radius: 8px;
  padding: 0 5px;
}

/* ── grid ── */
.ag-grid { position: relative; flex: 1 1; min-height: 0; display: flex; flex-direction: column; padding: 0 8px 8px; }
.ag-grid .e-grid { flex: 1 1; border: none; font-size: 12px; }
.ag-grid.ag-clickable .e-grid .e-row { cursor: pointer; }
.ag-grid .e-grid .e-groupdroparea {
  font-size: 12px;
  color: #8b98a3;
  background: #f7f9fb;
  border-bottom: 1px solid #e6ecf3;
  min-height: 34px;
}
/* #SR-62270 each chip in the group drop area stays an inline pill so its ✕ (ungroup) is reachable
   (carried over from Assetv2's scoped override) */
.ag-grid .e-grid .e-groupdroparea .e-groupheadercell { display: inline-flex !important; align-items: center; visibility: visible !important; }
/* #SR-62270 Syncfusion 22.2 has no emptyRecordTemplate: hide its "No records to display" and show the
   wrapper's --ag-empty text instead (no template = nothing for the grid to reload) */
.ag-grid .e-grid .e-emptyrow td { font-size: 0 !important; padding: 28px !important; text-align: center; color: #8b98a3; }
.ag-grid .e-grid .e-emptyrow td::before { content: var(--ag-empty); font-size: 12.5px; }
.ag-muted { color: #8b98a3; }
/* page actions passed in through `actions` (wbr-portal: icon + label) */
.ag-btn img { width: 16px; height: 16px; }
.ag-btn.dropdown-toggle::after { margin-left: 2px; }
.ag-btn:disabled:not(.ag-refresh) { cursor: not-allowed; }

/* header cell: title + ⋮ + filter textbox */
.ag-grid .e-grid .e-headercell { padding: 4px 6px 6px !important; height: auto !important; vertical-align: top; }
.ag-grid .e-grid .e-headercelldiv { height: auto !important; line-height: normal !important; padding: 0 !important; margin: 0 !important; }
.ag-h { display: flex; flex-direction: column; grid-gap: 4px; gap: 4px; width: 100%; }
.ag-h-top { display: flex; align-items: center; grid-gap: 4px; gap: 4px; min-width: 0; }
.ag-h-text {
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: #3a4654;
}
.ag-h-menu {
  flex: none;
  border: none;
  background: none;
  cursor: pointer;
  color: #8b98a3;
  font-size: 14px;
  line-height: 1;
  padding: 0 3px;
  border-radius: 4px;
}
.ag-h-menu:hover { background: #eef2f6; color: #1b2430; }
.ag-h-menu.on { color: #fff; background: #25395a; }
.ag-h-input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
  padding: 3px 6px;
  border: 1px solid #d6dee7;
  border-radius: 4px;
  background: #fff;
  color: #1b2430;
  outline: none;
}
.ag-h-input:focus { border-color: #25395a; }
.ag-h-input::placeholder { color: #a9b4bf; font-style: italic; }

/* loading */
@keyframes ag-spin { to { transform: rotate(360deg); } }
.ag-spinner {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid #d6dee7;
  border-top-color: #25395a;
  border-radius: 50%;
  animation: ag-spin 0.8s linear infinite;
}
.ag-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 72px;
  background: rgba(255, 255, 255, 0.62);
  cursor: progress;
}
.ag-loading-box {
  display: inline-flex;
  align-items: center;
  grid-gap: 9px;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d6dee7;
  box-shadow: 0 4px 14px rgba(27, 36, 48, 0.12);
  font-size: 12.5px;
  font-weight: 600;
  color: #25395a;
}

/* ── Excel-style column popover (ColumnFilterPopover) ── */
.cf-pop {
  position: fixed;
  z-index: 1000;
  width: 300px;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(27, 36, 48, 0.18);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  grid-gap: 6px;
  gap: 6px;
  font-size: 12.5px;
}
.cf-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 4px; }
.cf-title { font-weight: 700; color: #1b2430; font-size: 13.5px; }
.cf-head-icons button { border: none; background: none; cursor: pointer; color: #6e7e8c; font-size: 14px; padding: 2px 5px; border-radius: 4px; }
.cf-head-icons button:hover { background: #eef2f6; color: #1b2430; }
.cf-row { display: grid; grid-template-columns: 70px 1fr 1fr; align-items: center; grid-gap: 4px; gap: 4px; }
.cf-row-label { color: #6e7e8c; }
.cf-mini {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #3a4654;
  padding: 4px;
  border-radius: 4px;
}
.cf-mini:hover:not(:disabled) { background: #eef2f6; }
.cf-mini.on { color: #25395a; background: #e8eef7; }
.cf-mini:disabled { color: #c3cbd4; cursor: not-allowed; }
.cf-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: none;
  font: inherit;
  font-size: 12.5px;
  color: #1b2430;
  cursor: pointer;
  padding: 5px 4px;
  border-radius: 4px;
  text-align: left;
}
.cf-line:hover:not(:disabled) { background: #f1f5f9; }
.cf-line:disabled { color: #b6c0ca; cursor: not-allowed; }
.cf-caret { display: inline-block; transition: transform 0.15s; font-size: 15px; }
.cf-caret.open { transform: rotate(90deg); }
.cf-cond { display: flex; flex-direction: column; grid-gap: 5px; gap: 5px; padding: 2px 4px 6px; }
.cf-cond select,
.cf-cond input { font: inherit; font-size: 12.5px; padding: 5px 7px; border: 1px solid #d6dee7; border-radius: 5px; }
.cf-search { display: flex; align-items: center; grid-gap: 6px; gap: 6px; border-bottom: 1px solid #25395a; padding: 4px 2px; background: #f7f9fb; }
.cf-search span { color: #8b98a3; }
.cf-search input { flex: 1 1; border: none; background: transparent; outline: none; font: inherit; font-size: 13px; }
.cf-list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; padding: 4px 0; }
.cf-item { display: flex; align-items: center; grid-gap: 8px; gap: 8px; padding: 4px; cursor: pointer; border-radius: 4px; margin: 0; }
.cf-item:hover { background: #f7f9fb; }
.cf-item input { accent-color: #3f51b5; width: 15px; height: 15px; }
.cf-item span:nth-child(2) { flex: 1 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-all { font-weight: 600; }
.cf-count { font-size: 11px; color: #a9b4bf; }
.cf-more { padding: 6px 4px; font-size: 11.5px; }
.cf-foot { display: flex; justify-content: space-between; grid-gap: 10px; gap: 10px; padding-top: 6px; }
.cf-cancel { flex: 1 1; border: none; background: none; font: inherit; font-size: 13px; color: #3a4654; cursor: pointer; padding: 7px; border-radius: 16px; }
.cf-cancel:hover { background: #f1f5f9; }
.cf-apply {
  flex: 1 1;
  border: none;
  background: #3f51b5;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 7px;
  border-radius: 16px;
}
.cf-apply:hover { background: #33449a; }

/* ── Columns panel (ColumnPanel) ── #SR-62270 — Modified by HN 10/30/26. Shares the cf-* head / search / foot */
.cp-pop {
  position: fixed;
  z-index: 1000;
  width: 340px;
  max-height: calc(100vh - 16px);
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(27, 36, 48, 0.18);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  grid-gap: 6px;
  gap: 6px;
  font-size: 12.5px;
}
.cp-count { font-size: 11px; color: #8b98a3; }
.cp-hint { font-size: 11px; color: #8b98a3; line-height: 1.35; }
.cp-list { flex: 1 1; min-height: 80px; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; padding: 2px 0; }
.cp-sep {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b98a3;
  padding: 6px 4px 2px;
}
.cp-item {
  display: flex;
  align-items: center;
  grid-gap: 4px;
  gap: 4px;
  padding: 2px 2px;
  border-radius: 4px;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}
.cp-item:hover { background: #f7f9fb; }
.cp-item.dragging { opacity: 0.45; }
.cp-item.drop-before { border-top-color: #3f51b5; }
.cp-item.drop-after { border-bottom-color: #3f51b5; }
.cp-grip { flex: none; width: 14px; text-align: center; color: #a9b4bf; cursor: grab; -webkit-user-select: none; user-select: none; }
.cp-item[draggable="false"] .cp-grip { cursor: default; color: #dce3eb; }
.cp-label { flex: 1 1; min-width: 0; display: flex; align-items: center; grid-gap: 7px; gap: 7px; margin: 0; cursor: pointer; padding: 3px 0; }
.cp-label input { flex: none; accent-color: #3f51b5; width: 15px; height: 15px; }
.cp-text { flex: 1 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-item.off .cp-text { color: #8b98a3; }
.cp-pin { flex: none; font-size: 11px; }
.cp-moves { flex: none; display: flex; visibility: hidden; }
.cp-item:hover .cp-moves,
.cp-item:focus-within .cp-moves { visibility: visible; }
.cp-moves button {
  border: none;
  background: none;
  cursor: pointer;
  color: #3a4654;
  font-size: 13px;
  line-height: 1;
  width: 22px;
  padding: 3px 0;
  border-radius: 4px;
}
.cp-moves button:hover:not(:disabled) { background: #eef2f6; }
.cp-moves button:disabled { color: #d6dee7; cursor: default; }
.cf-cancel:disabled { color: #b6c0ca; cursor: default; background: none; }

/* SR-63273 — AR Ticket OCR review: lookup, price check, approver summary and
   guided-step panels. Tokens and the shared classes (.art-pill, .art-flag,
   .art-sec-head, .art-empty, .btn ...) come from artOcr.css; nothing here
   redefines them. */

/* ---- lookup panels ---- */
.art .art-lk-group { display:flex; flex-direction:column; grid-gap:12px; gap:12px; margin-bottom:16px; }
.art .art-lk { background:var(--panel); border:1px solid var(--line); border-left:4px solid var(--line); border-radius:8px; padding:12px 14px; outline:none; }
.art .art-lk.art-lk-todo { border-left-color:var(--red); }
.art .art-lk.art-lk-done { border-left-color:var(--green); }
.art .art-lk.art-lk-focused, .art .art-lk:focus-within { box-shadow:0 0 0 2px var(--flow-soft); border-color:var(--flow); }
.art .art-lk-head { display:flex; align-items:center; justify-content:space-between; grid-gap:8px; gap:8px; margin-bottom:6px; }
.art .art-lk-head .art-sec-head { margin:0; }
.art .art-lk-hand { display:flex; grid-gap:10px; gap:10px; align-items:baseline; margin:2px 0; }
.art .art-lk-k { flex:0 0 120px; font-size:12px; color:var(--steel); }
.art .art-hand { font-family:'Segoe Print', 'Bradley Hand', cursive; font-size:15px; background:var(--paper); padding:0 6px; border-radius:4px; white-space:pre-wrap; }
.art .art-lk-id { font-size:12px; color:var(--steel); font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.art .art-lk-score { font-size:12px; color:var(--steel); font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; text-align:right; }
.art .art-lk-sugg { margin:8px 0; padding:8px 10px; background:var(--flow-soft); border-radius:6px; }
.art .art-lk-alias { font-size:12px; color:var(--steel); margin-top:4px; }
.art .art-lk-list { margin:8px 0; border:1px solid var(--line-soft); border-radius:6px; }
.art .art-lk-sub { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.4px; color:var(--steel); padding:6px 10px 2px; }
.art .art-lk-opt { display:grid; grid-template-columns:18px minmax(0,1fr) auto auto auto; grid-gap:8px; gap:8px; align-items:center; margin:0; padding:5px 10px; cursor:pointer; border-top:1px solid var(--line-soft); }
.art .art-lk-opt:first-child, .art .art-lk-sub + .art-lk-opt { border-top:0; }
.art .art-lk-opt.on { background:var(--flow-soft); }
.art .art-lk-opt input { margin:0; }
.art .art-lk-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.art .art-lk-opt .art-lk-id { grid-column:2 / -1; margin-top:-4px; }
.art .art-lk-extra { font-size:12px; color:var(--steel); }
.art .art-lk-search { display:flex; align-items:center; grid-gap:8px; gap:8px; margin:6px 0; }
.art .art-lk-search input { flex:1 1; min-width:0; border:1px solid var(--line); border-radius:6px; padding:5px 8px; }
.art .art-lk-search .art-lk-k { flex:none; }
.art .art-lk-picked { font-size:12px; color:var(--steel); margin:6px 0; }
.art .art-lk-foot { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; grid-gap:8px; gap:8px; margin-top:8px; }
.art .art-lk-remember { margin:0; font-size:13px; }
.art .art-lk-actions { display:flex; grid-gap:8px; gap:8px; }

/* ---- price check ---- */
.art .art-price { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:12px 14px; margin-bottom:16px; outline:none; }
.art .art-price:focus-within, .art .art-price:focus { border-color:var(--flow); }
.art .art-price-info { display:flex; grid-gap:6px; gap:6px; align-items:center; background:var(--line-soft); border-radius:6px; padding:6px 10px; margin:6px 0; font-size:13px; }
.art .art-price-basis, .art .art-price-run, .art .art-price-dim { font-size:12px; color:var(--steel); margin:4px 0; }
.art .art-price-warn { font-size:13px; color:var(--amber); background:var(--amber-soft); border-radius:6px; padding:6px 10px; margin:6px 0; }
.art .art-price-row { border:1px solid var(--line-soft); border-left:4px solid var(--line); border-radius:6px; padding:8px 10px; margin:8px 0; }
.art .art-price-row.art-price-green { border-left-color:var(--green); }
.art .art-price-row.art-price-amber { border-left-color:var(--amber); }
.art .art-price-row.art-price-red { border-left-color:var(--red); }
.art .art-price-row.art-price-blocks { background:var(--red-soft); }
.art .art-price-top { display:flex; align-items:center; grid-gap:8px; gap:8px; }
.art .art-price-flag { font-size:12px; color:var(--red); font-weight:600; }
.art .art-price-bills { font-size:13px; margin:2px 0; }
.art .art-price-stop { font-size:13px; color:var(--red); font-weight:600; margin:2px 0; }
.art .art-price-why { font-size:13px; color:var(--steel); margin:2px 0 6px; }
.art .art-price-grid { display:grid; grid-template-columns:120px minmax(0,1fr); grid-gap:2px 10px; gap:2px 10px; margin:0; font-size:13px; }
.art .art-price-grid dt { font-weight:400; color:var(--steel); }
.art .art-price-grid dd { margin:0; font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.art .art-price-res { margin-top:6px; font-size:13px; background:var(--paper); border-radius:6px; padding:6px 8px; }
.art .art-price-reason { white-space:pre-wrap; color:var(--ink); font-size:13px; }
.art .art-price-acts { display:flex; flex-wrap:wrap; grid-gap:6px; gap:6px; margin-top:8px; }

/* ---- approver summary ---- */
.art .art-sum { background:var(--panel); border:1px solid var(--flow); border-radius:8px; padding:12px 14px; margin-bottom:16px; }
.art .art-sum-alert { margin:6px 0 10px; }
.art .art-sum-h { font-size:13px; font-weight:600; margin:12px 0 4px; color:var(--ink); }
.art .art-sum-table { width:100%; border-collapse:collapse; font-size:13px; }
.art .art-sum-table th { font-weight:600; color:var(--steel); text-align:left; border-bottom:1px solid var(--line); padding:4px 6px; }
.art .art-sum-table td { border-bottom:1px solid var(--line-soft); padding:4px 6px; vertical-align:top; overflow-wrap:anywhere; }
.art .art-sum-old { color:var(--steel); text-decoration:line-through; }
.art .art-sum-list { list-style:none; margin:0; padding:0; font-size:13px; }
.art .art-sum-list li { padding:5px 0; border-bottom:1px solid var(--line-soft); }
.art .art-sum-list li:last-child { border-bottom:0; }
.art .art-sum-dim { font-size:12px; color:var(--steel); }
.art .art-sum-fe { font-size:13px; }
.art .art-linkbtn { border:0; background:none; padding:0; color:var(--flow); text-decoration:underline; cursor:pointer; }

/* ---- guided steps ---- */
.art .art-steps { display:flex; grid-gap:4px; gap:4px; list-style:none; margin:0 0 16px; padding:0; flex-wrap:wrap; }
.art .art-step { flex:1 1; min-width:110px; }
.art .art-step button { width:100%; display:flex; align-items:center; grid-gap:6px; gap:6px; border:1px solid var(--line); background:var(--panel); border-radius:6px; padding:6px 10px; cursor:pointer; text-align:left; }
.art .art-step-no { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; font-size:12px; font-weight:600; background:var(--line-soft); color:var(--steel); flex:none; }
.art .art-step-label { flex:1 1; font-weight:500; }
.art .art-step-count { font-size:12px; color:var(--steel); font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.art .art-step-done button { border-color:var(--green); }
.art .art-step-done .art-step-no { background:none; color:var(--green); }
.art .art-step-current button { border-color:var(--flow); background:var(--flow-soft); }
.art .art-step-current .art-step-no { background:var(--flow); color:#fff; }
.art .art-step-locked button { color:var(--steel); }
.art .art-step-locked .art-step-no { background:none; }
.art .art-step-active button { box-shadow:0 0 0 2px var(--flow); }

/* price choice (2026-11-03): the two choice buttons, the switch link, "No site price for ... in ..." */
.art .art-price-choose { display: flex; flex-wrap: wrap; grid-gap: 6px; gap: 6px; margin: 4px 0; }
.art .art-price-switch {
  background: none; border: 0; padding: 0; margin-left: 8px; color: var(--flow); text-decoration: underline; cursor: pointer; font-size: 12px;
}
.art .art-price-nosite { font-size: 12px; color: var(--steel); margin: 2px 0; }
.art .art-price-nosite a { margin-left: 6px; font-weight: 600; }

/* SR-63273 — AR Ticket OCR Review: field rows, ticket / reviewer block, form
   sections, audit section and the line-items grid. Scoped under .art; colours
   come from the tokens in artOcr.css. Shared classes (.art-flag, .art-cert-*,
   .art-note, .art-sec-head, .btn) are defined there, not here. */

/* ------------------------------------------------------------- field row */
.art .art-cell { position:relative; background:var(--panel); border:1px solid var(--line-soft); border-left:4px solid var(--line-soft);
  border-radius:6px; padding:8px 10px; margin:0 0 6px; outline:none; }
.art .art-cell:focus-visible, .art .art-cell-focused { box-shadow:0 0 0 2px var(--flow); border-color:var(--flow); }
.art .art-cell-blocking { border-left-color:var(--red); }
.art .art-cell-todo { border-left-color:var(--amber); }
.art .art-cell-done { border-left-color:var(--green); }
.art .art-cell-audit { border-left-color:var(--amber-soft); }
.art .art-cell-plain { border-left-color:var(--line); }
.art .art-cell-empty { background:var(--paper); color:var(--steel); }

.art .art-cell-head { display:flex; justify-content:space-between; align-items:baseline; grid-gap:8px; gap:8px; }
.art .art-cell-label { font-size:12px; font-weight:600; color:var(--steel); text-transform:none; }
.art .art-cell-warn { color:var(--red); margin-right:4px; vertical-align:-1px; }
.art .art-req { color:var(--red); }
.art .art-cell-tag { margin-left:6px; font-size:11px; font-weight:500; color:var(--amber); background:var(--amber-soft); border-radius:8px; padding:0 6px; }
.art .art-cell-src { margin-left:6px; font-size:11px; font-weight:400; color:var(--steel); }

.art .art-state { font-size:11px; border-radius:8px; padding:0 7px; white-space:nowrap; background:var(--line-soft); color:var(--steel); }
.art .art-state-confirmed { background:var(--green-soft); color:var(--green); }
.art .art-state-corrected { background:var(--flow-soft); color:var(--flow); }
.art .art-state-unreviewed { background:var(--amber-soft); color:var(--amber); }

.art .art-cell-main { display:flex; align-items:center; grid-gap:8px; gap:8px; min-height:30px; }
.art .art-cell-value { flex:1 1; min-width:0; display:flex; align-items:center; grid-gap:8px; gap:8px; flex-wrap:wrap; font-size:15px; overflow-wrap:anywhere; white-space:pre-wrap; }
.art .art-cell-blank { color:var(--steel); font-style:italic; }
.art .art-cell-input { width:100%; max-width:420px; border:1px solid var(--steel); border-radius:4px; padding:4px 8px; background:var(--panel); }
.art textarea.art-cell-input { max-width:none; resize:vertical; }
.art .art-cell-input[aria-invalid="true"] { border-color:var(--red); background:var(--red-soft); }
.art .art-cell-check { display:inline-flex; align-items:center; grid-gap:6px; gap:6px; margin:0; font-weight:400; }
.art .art-cell-err { color:var(--red); font-size:12px; margin-top:2px; }

.art .art-cell-btns { display:flex; grid-gap:4px; gap:4px; flex-shrink:0; }
.art .art-iconbtn { border:1px solid var(--line); background:var(--panel); border-radius:4px; width:30px; height:28px;
  display:inline-flex; align-items:center; justify-content:center; padding:0; cursor:pointer; color:var(--steel); }
.art .art-iconbtn:hover { border-color:var(--steel); color:var(--ink); }
.art .art-iconbtn:focus-visible { outline:2px solid var(--flow); outline-offset:1px; }
.art .art-iconbtn-ok { color:var(--green); }
.art .art-iconbtn-ok:hover { background:var(--green-soft); color:var(--green); }

.art .art-cell-meta { display:flex; flex-wrap:wrap; align-items:center; grid-gap:6px; gap:6px; margin-top:4px; font-size:12px; color:var(--steel); }
.art .art-fld-raw { font-family:'Segoe Print', 'Bradley Hand', cursive; background:var(--paper); padding:0 6px; border-radius:4px; white-space:pre-wrap; color:var(--ink); }
.art .art-cited { font-style:italic; }
.art .art-cell .art-note { margin-top:6px; }

/* compact: audit list and line grid */
.art .art-cell-compact { padding:5px 8px; margin-bottom:4px; }
.art .art-cell-compact .art-cell-value { font-size:14px; }
.art .art-cell-compact .art-cell-main { min-height:26px; }

/* -------------------------------------------------- ticket / reviewer block */
.art .art-tf, .art .art-ffs, .art .art-audit { margin:0 0 16px; }
.art .art-roll { margin:0 0 12px; background:var(--panel); border:1px solid var(--line-soft); border-radius:6px; }
.art .art-roll-row { display:grid; grid-template-columns:minmax(110px, 38%) 1fr; grid-gap:8px; gap:8px; padding:5px 10px; border-bottom:1px solid var(--line-soft); }
.art .art-roll-row:last-child { border-bottom:0; }
.art .art-roll dt { font-size:12px; font-weight:600; color:var(--steel); margin:0; padding-top:2px; }
.art .art-roll dd { margin:0; display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; grid-gap:4px 8px; gap:4px 8px; overflow-wrap:anywhere; }
/* Ticket rows: value + evidence + source + state, then edit / confirm on the right; the editor opens under it */
.art .art-roll-row { align-items:center; border-left:3px solid transparent; }
.art .art-roll-todo { border-left-color:var(--amber); }
.art .art-roll-blocking { border-left-color:var(--red); }
.art .art-roll-done { border-left-color:var(--green); }
.art .art-roll-open { background:var(--flow-soft); }
.art .art-roll-focused { box-shadow:inset 0 0 0 2px var(--flow); outline:none; }
.art .art-roll-single { margin:0 0 6px; }
.art .art-roll-val { display:flex; flex-wrap:wrap; align-items:baseline; grid-gap:4px 8px; gap:4px 8px; min-width:0; }
.art .art-roll-btns { display:flex; grid-gap:4px; gap:4px; align-items:center; }
.art .art-roll-btn-gap { display:inline-block; width:30px; }
.art .art-roll-editor { grid-column:1 / -1; }
.art .art-roll-editor .art-cell { margin:2px 0 4px; }
.art .art-iconbtn.on { border-color:var(--flow); color:var(--flow); }
.art.art-roll-popup { margin:0; padding:0; min-height:0; background:none; }
.art .art-fld-link { border:0; background:none; padding:0; font-size:12px; color:var(--flow); text-decoration:underline; cursor:pointer; }

.art .art-linkrow { display:flex; align-items:center; grid-gap:10px; gap:10px; flex-wrap:wrap; background:var(--paper); border:1px dashed var(--line);
  border-radius:6px; padding:6px 10px; margin:0 0 6px; outline:none; }
.art .art-linkrow > span:nth-child(2) { flex:1 1; min-width:0; overflow-wrap:anywhere; }

/* ---------------------------------------------------------- form section */
.art .art-progress { font-size:12px; font-weight:500; color:var(--amber); background:var(--amber-soft); border-radius:9px; padding:1px 8px; }
.art .art-progress-done { color:var(--green); background:var(--green-soft); }
.art .art-ffs-state { color:var(--red); background:var(--red-soft); border-radius:6px; padding:6px 10px; margin-bottom:8px; }

/* --------------------------------------------------------------- audit */
.art .art-audit-head { margin-bottom:2px; }
.art .art-audit-toggle { display:inline-flex; align-items:center; grid-gap:8px; gap:8px; border:0; background:none; padding:0; font:inherit; font-weight:600; color:var(--ink); cursor:pointer; }
.art .art-audit-badge { font-size:12px; font-weight:500; color:var(--amber); background:var(--amber-soft); border-radius:9px; padding:1px 8px; }
.art .art-audit-note { font-size:12px; color:var(--steel); margin:0 0 8px; display:flex; align-items:center; justify-content:space-between; grid-gap:8px; gap:8px; flex-wrap:wrap; }

/* ----------------------------------------------------------- line items */
.art .art-lines-wrap { overflow-x:auto; margin-top:8px; border:1px solid var(--line-soft); border-radius:6px; background:var(--panel); }
/* Each line renders as a card whose fields wrap in a grid: 9 table columns of field cards do not fit the
   45% field pane. The table markup stays for screen readers; the field cards carry their own labels. */
.art .art-lines, .art .art-lines tbody { display:block; width:100%; font-size:13px; }
.art .art-lines thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.art .art-lines tr { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); grid-gap:6px 10px; gap:6px 10px;
  padding:8px 10px 6px; border-bottom:1px solid var(--line-soft); }
.art .art-lines th, .art .art-lines td { display:block; padding:0; text-align:left; min-width:0; }
.art .art-lines .art-line-no { grid-column:1 / -1; font-weight:600; font-size:12px; color:var(--steel); }
.art .art-lines .art-line-no::before { content:'Line '; }
.art .art-lines td[data-label]::before { content:attr(data-label); display:block; font-size:11px; font-weight:500; color:var(--steel); margin-bottom:2px; }
.art .art-lines .art-line-conv { font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; }
.art .art-lines .art-cell { margin-bottom:4px; }
.art .art-lines .art-cell-label { font-size:11px; font-weight:500; }
.art .art-lines tr.art-line-focused { background:var(--flow-soft); }
/* "Not a line": the excluded line collapses to one grey row with the reason and Restore line */
.art .art-lines .art-line-actions { grid-column:1 / -1; display:flex; justify-content:flex-end; }
.art .art-lines tr.art-line-excluded { background:var(--paper); color:var(--steel); }
.art .art-lines tr.art-line-excluded .art-line-excl { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; grid-gap:6px 10px; gap:6px 10px; }
.art .art-line-excl-reason { font-style:italic; overflow-wrap:anywhere; white-space:pre-wrap; color:var(--ink); }
.art .art-line-excl-meta { font-size:12px; color:var(--steel); }
.art .art-line-excl .btn { margin-left:auto; }
.art .art-lines-alert, .art-modal .art-lines-alert { color:var(--red); background:var(--red-soft); border-radius:6px; padding:6px 10px; margin-top:8px; }
.art .art-uompick { display:flex; grid-gap:6px; gap:6px; align-items:center; margin-top:4px; }
.art .art-uompick select { border:1px solid var(--steel); border-radius:4px; padding:3px 6px; background:var(--panel); max-width:160px; }

.art .art-fld-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* SR-63273 — quick review (ArtQuickReview / QuickFields) and the Quick / Full view switch in the
   review header. Scoped under .art like the other review stylesheets; colour tokens from artOcr.css. */

.art .art-body.art-body-quick { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }

.art .art-head-views { display: inline-flex; }
.art .art-head-views .btn { border-radius: 0; }
.art .art-head-views .btn:first-child { border-radius: 6px 0 0 6px; }
.art .art-head-views .btn:last-child { border-radius: 0 6px 6px 0; margin-left: -1px; }
.art .art-head-views .btn[aria-pressed="true"] { background: var(--flow); border-color: var(--flow); color: #fff; cursor: default; }

.art .art-quick-fields { display: flex; flex-direction: column; grid-gap: 6px; gap: 6px; }
.art .art-quick-row {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; grid-gap: 10px; gap: 10px; align-items: start;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 6px; padding: 8px 10px;
}
.art .art-quick-row:focus { outline: 2px solid var(--flow); outline-offset: 1px; }
.art .art-quick-focused { box-shadow: 0 0 0 2px var(--flow-soft); }
.art .art-quick-blocking { border-left-color: var(--red); }
.art .art-quick-todo { border-left-color: var(--amber); }
.art .art-quick-done { border-left-color: var(--green); }
.art .art-quick-label { font-weight: 600; color: var(--steel); padding-top: 3px; }
.art .art-quick-value { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 6px 10px; gap: 6px 10px; min-width: 0; }
.art .art-quick-val { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.art .art-quick-sug { font-weight: 400; }
.art .art-quick-cap { flex-basis: 100%; font-size: 12px; color: var(--steel); overflow-wrap: anywhere; }
.art .art-quick-item { flex-basis: 100%; font-size: 12px; color: var(--steel); overflow-wrap: anywhere; }
.art .art-quick-item-name { color: inherit; font-weight: 600; }
.art .art-quick-meta { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; grid-gap: 4px 6px; gap: 4px 6px; }
.art .art-quick-btns { display: flex; align-items: center; grid-gap: 6px; gap: 6px; }
.art .art-quick-edit { display: inline-flex; align-items: center; grid-gap: 6px; gap: 6px; }
.art .art-quick-input, .art .art-quick-unit {
  border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; background: var(--panel); max-width: 180px;
}
.art .art-quick-input[aria-invalid="true"] { border-color: var(--red); }
.art .art-quick-err { color: var(--red); font-size: 12px; }
.art .art-quick-all { display: flex; justify-content: flex-end; margin-top: 4px; }
/* a price that bills without a choice: one quiet read-only line */
.art .art-quick-price-info {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); grid-gap: 10px; gap: 10px; align-items: baseline;
  padding: 4px 10px 4px 14px; font-size: 13px; color: var(--steel); overflow-wrap: anywhere;
}
.art .art-quick-price-info .art-quick-label { padding-top: 0; }
.art .art-quick-nosite { flex-basis: 100%; font-size: 12px; color: var(--steel); }
.art .art-quick-addprice { margin-left: 6px; font-weight: 600; }
.art .art-quick-other {
  background: var(--amber-soft); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 6px; padding: 8px 10px;
}
.art .art-quick-other ul { margin: 4px 0 8px 18px; padding: 0; }

@media (max-width: 1199px) {
  .art .art-body.art-body-quick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .art .art-quick-row, .art .art-quick-price-info { grid-template-columns: minmax(0, 1fr); }
}

/* Pick popup (customer / site / item) from Quick view: fits the window. The candidate list has its
   own scroll (capped height) so the search box and the Pick / Confirm buttons under it stay on
   screen; the body scrolls too, as a fallback on a very short window (2026-11-04) */
.art-modal .art-pick-pop { margin-top: 1rem; margin-bottom: 1rem; }
.art-modal .art-pick-pop .modal-content { max-height: calc(100vh - 2rem); display: flex; flex-direction: column; overflow: hidden; }
.art-modal .art-pick-pop .modal-header { flex: 0 0 auto; padding: 8px 16px; }
.art-modal .art-pick-pop .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 12px; }
.art-modal .art-pick-pop .art-lk-list { max-height: max(160px, calc(100vh - 420px)); overflow-y: auto; }

/* SR-63273 — the ticket list's right side panel (ArtTicketPanel): the quick review of one ticket over the
   right of the list. Fixed to the window under the portal header (60px, as .art), not modal: the list on the
   left stays clickable and scrollable. Inside, the scan and the quick fields side by side, 50/50, at every
   desktop width (the panel is 72% of the window, 80% under 1200px, so each half stays usable); stacked, full
   width, on narrow screens (< 900px). Colour tokens from artOcr.css. */

.art.art-drawer {
  position: fixed; top: var(--art-top, 60px); right: 0; bottom: 0; width: 72vw; z-index: 1040;
  margin: 0; padding: 0; min-height: 0; display: flex; flex-direction: column;
  background: var(--paper); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(22, 35, 46, 0.18);
}
.art.art-drawer:focus { outline: none; }
.art .art-drawer-head {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; grid-gap: 6px 12px; gap: 6px 12px;
  padding: 8px 12px; background: var(--panel); border-bottom: 1px solid var(--line);
}
.art .art-drawer-title { display: flex; align-items: center; grid-gap: 8px; gap: 8px; min-width: 0; }
.art .art-drawer-title h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art .art-drawer-tag { font-size: 12px; color: var(--steel); white-space: nowrap; }
.art .art-drawer-tools { display: inline-flex; align-items: center; grid-gap: 6px; gap: 6px; }
.art .art-drawer-body { flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.art .art-drawer-done { padding: 32px 16px; text-align: center; color: var(--steel); }

/* the quick review inside fills the panel exactly, with no panel scrollbar: a flex column of a compact header,
   the banners, the scan | fields body (takes the rest; 50/50, wins over the page's 40/60 and its one-column
   breakpoint in artOcrQuick.css) and the action bar. The scan fills its half's height (the image zooms / pans
   inside the scan view); only the fields column scrolls when it has more than fits, with Confirm all stuck at
   its bottom. */
.art-drawer .art.art-quick {
  margin: 0; min-height: 0; padding: 6px 10px 0; background: transparent;
  flex: 1 1 auto; display: flex; flex-direction: column; overflow: hidden;
}
.art-drawer .art.art-quick > * { flex: none; }
.art-drawer .art.art-quick .art-head { padding: 4px 10px; margin-bottom: 6px; }
.art-drawer .art.art-quick .art-head-facts { margin-top: 2px; font-size: 12px; grid-gap: 2px 12px; gap: 2px 12px; }
.art-drawer .art.art-quick .art-dup { padding: 6px 10px; margin-bottom: 6px; }
.art-drawer .art.art-quick .alert { margin-bottom: 6px; padding: 6px 12px; }
.art-drawer .art .art-body.art-body-quick.art-body-split {
  flex: 1 1 auto; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr); align-items: stretch; grid-gap: 10px; gap: 10px;
}
.art-drawer .art .art-body-split > .art-left {
  position: static; max-height: none; min-height: 0; overflow: hidden; display: flex; flex-direction: column;
}
.art-drawer .art .art-body-split .art-scan { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.art-drawer .art .art-body-split .art-scan-tools, .art-drawer .art .art-body-split .art-scan-note { flex: none; }
.art-drawer .art .art-body-split .art-scan-view { flex: 1 1 auto; height: auto; min-height: 0; }
.art-drawer .art .art-body-split > .art-right { min-height: 0; overflow-y: auto; grid-gap: 8px; gap: 8px; padding-bottom: 0; }
.art-drawer .art .art-body-split .art-quick-all {
  position: sticky; bottom: 0; z-index: 2; margin-top: auto; padding: 6px 0; background: var(--paper);
}
.art-drawer .art.art-quick .art-actions { margin: 6px -10px 0; padding: 6px 14px; }

/* tighter field cards: 4 fields, the item, a price line and Confirm all fit a ~900px window */
.art-drawer .art .art-quick-fields { grid-gap: 4px; gap: 4px; }
.art-drawer .art .art-quick-row { padding: 4px 8px; }
.art-drawer .art .art-quick-label { padding-top: 2px; }
.art-drawer .art .art-quick-value { grid-gap: 2px 8px; gap: 2px 8px; }
.art-drawer .art .art-quick-val { font-size: 14px; }
.art-drawer .art .art-quick-meta { grid-gap: 2px 6px; gap: 2px 6px; }
.art-drawer .art .art-quick-price-info { padding: 2px 8px 2px 12px; }
.art-drawer .art .art-quick-other { padding: 6px 8px; }

/* a half panel is narrower than the page's field column: a slimmer label column */
@media (min-width: 900px) {
  .art-drawer .art .art-quick-row { grid-template-columns: 90px minmax(0, 1fr) auto; grid-gap: 8px; gap: 8px; }
  .art-drawer .art .art-quick-price-info { grid-template-columns: 90px minmax(0, 1fr); grid-gap: 8px; gap: 8px; }
}
@media (max-width: 1199px) {
  .art.art-drawer { width: 80vw; }
}
/* narrow / mobile: the panel takes the window, scan above the fields */
@media (max-width: 899px) {
  .art.art-drawer { width: 100vw; border-left: 0; }
  .art .art-drawer-body { overflow-y: auto; display: block; }
  .art-drawer .art.art-quick { display: block; overflow: visible; }
  .art-drawer .art .art-body.art-body-quick.art-body-split { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-items: start; }
  .art-drawer .art .art-body-split > .art-left { display: block; overflow: visible; }
  .art-drawer .art .art-body-split .art-scan { display: block; }
  .art-drawer .art .art-body-split .art-scan-view { height: 60vh; min-height: 300px; }
  .art-drawer .art .art-body-split > .art-right { overflow: visible; }
}

/* SR-63273 — /artOcr start page (upload + ticket list). Colours come from artOcr.css. */
/* The page is exactly one screen high: header and upload row at their natural height, the ticket
   card takes the rest and scrolls inside itself (sticky column headers), so the page has no scrollbar. */
.art.art-home { display: flex; flex-direction: column; height: calc(100vh - 60px); min-height: 0; padding-bottom: 10px; overflow: hidden; }
.art .art-home-title { margin: 0; font-family: var(--display-font); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; color: var(--navy); }
.art .art-home-title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 5px; }
.art .art-home-top { display: flex; align-items: baseline; justify-content: space-between; grid-gap: 12px; gap: 12px; margin-bottom: 8px; flex: none; }
.art .art-home-links { display: inline-flex; grid-gap: 16px; gap: 16px; }
.art .art-home-link { font-size: 13px; }
.art .art-home-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(2,32,66,.05); }
.art .art-home-upload { flex: none; }
.art .art-home-fill { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-bottom: 0; }
.art .art-home-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; margin-top: 4px; }
.art .art-home-uploads { max-height: 150px; overflow: auto; }
.art .art-home-sticky { margin-top: 0; }
.art .art-home-sticky thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.art .art-up-form.art-up-row { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 8px 14px; gap: 8px 14px; max-width: none; }
.art .art-up-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-right: 2px; }
.art .art-up-row select { min-width: 260px; }
.art .art-up-row input[type="file"] { font-size: 13px; max-width: 320px; }
.art .art-up-row .art-up-note { width: 220px; height: 30px; padding: 0 8px; }
.art .art-up-form { display: grid; grid-gap: 10px; gap: 10px; max-width: 560px; }
.art .art-up-form label { display: grid; grid-gap: 4px; gap: 4px; font-size: 13px; color: var(--steel); }
.art .art-up-form select, .art .art-up-form input[type="text"] { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--panel); }
.art .art-up-form .art-up-check { display: flex; align-items: center; grid-gap: 6px; gap: 6px; color: var(--ink); }
.art .art-sec-right select { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); font-size: 13px; }
.art .art-home-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.art .art-home-table th { text-align: left; font-weight: 600; color: var(--steel); border-bottom: 1px solid var(--line); padding: 4px 6px; white-space: nowrap; }
.art .art-home-table td { border-bottom: 1px solid var(--line-soft); padding: 5px 6px; vertical-align: top; }
.art .art-home-table .num { text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.art .art-home-tkt { display: inline-flex; align-items: center; grid-gap: 4px; gap: 4px; margin-right: 10px; }
.art .art-home-err { color: var(--red); }
.art .art-home-warn { color: var(--amber); }
.art .art-home-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.art .art-home-tab { border: 0; background: var(--panel); color: var(--steel); font-size: 14px; font-weight: 600; padding: 3px 12px; cursor: pointer; }
.art .art-home-tab + .art-home-tab { border-left: 1px solid var(--line); }
.art .art-home-tab.on { background: var(--flow-soft); color: var(--flow); }
.art .art-home-chip { display: inline-flex; align-items: center; grid-gap: 4px; gap: 4px; font-size: 12px; font-weight: 600; background: var(--flow-soft); color: var(--flow); border-radius: 10px; padding: 1px 4px 1px 9px; }
.art .art-home-chip button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 3px; }
.art .art-home-note { font-size: 13px; padding: 4px 8px; border-radius: 6px; margin: 2px 0 4px; }
.art .art-home-note-ok { background: var(--green-soft); color: var(--green); }
.art .art-home-note-warn { background: var(--amber-soft); color: var(--amber); }
.art .art-home-note-err { background: var(--red-soft); color: var(--red); }
.art .art-batch-file { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art .art-batch-sub { font-size: 12px; color: var(--steel); }
.art .art-batch-err { font-size: 12px; max-width: 420px; }
.art .art-batch-acts { white-space: nowrap; text-align: right; }
.art .art-batch-acts .btn + .btn { margin-left: 6px; }
.art .art-linkbtn { border: 0; background: none; padding: 0; color: var(--flow); text-decoration: underline; cursor: pointer; font: inherit; }
.art-modal .art-batch-reject { display: flex; align-items: center; grid-gap: 6px; gap: 6px; font-size: 13px; margin-top: 6px; }
/* (quick review) Hauler / Qty / Price captions, selection and the bulk bar + dialogs */
.art .art-home-sub { font-size: 12px; color: var(--steel); }
.art .art-home-noprice { font-size: 12px; color: var(--red); white-space: nowrap; }
.art .art-home-table .art-home-sel { width: 28px; text-align: center; }
.art .art-home-table tr.art-home-on > td { background: var(--flow-soft); }
.art .art-home-bulk { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 6px 8px; gap: 6px 8px; background: var(--flow-soft); border-radius: 6px; padding: 5px 10px; margin-top: 6px; flex: none; }
.art .art-home-bulk-n { font-size: 13px; font-weight: 600; color: var(--flow); margin-right: 4px; }
.art .art-home-bulk-run { font-size: 13px; color: var(--steel); }
.art-modal .art-home-check { display: flex; align-items: center; grid-gap: 6px; gap: 6px; font-size: 13px; margin: 0 0 6px; }
.art-modal .art-home-sitelist { list-style: none; margin: 6px 0 0; padding: 0; max-height: 200px; overflow: auto; border: 1px solid var(--line-soft); border-radius: 6px; }
.art-modal .art-home-sitelist li { padding: 3px 8px; border-bottom: 1px solid var(--line-soft); }
.art-modal .art-home-sitelist .art-linkbtn { border: 0; background: none; padding: 0; color: var(--flow); cursor: pointer; text-align: left; }
.art-modal .art-home-sitelist .art-linkbtn.on { font-weight: 600; text-decoration: underline; }
.art-modal .art-home-sitelist .art-batch-sub { font-size: 12px; color: var(--steel); margin-left: 4px; }
.art-modal .art-home-picked { font-size: 13px; color: var(--green); margin-top: 6px; }
.art-modal .art-home-qty { max-width: 160px; display: block; margin-top: 4px; }
.art-modal .art-home-bulk-count { font-weight: 600; margin: 0 0 6px; }
.art-modal .art-home-bulk-res { margin: 0; padding-left: 18px; max-height: 360px; overflow: auto; font-size: 13px; overflow-wrap: anywhere; }
.art-modal .art-home-bulk-res li.bad { color: var(--red); }
.art-modal .art-home-bulk-res li.ok { color: var(--green); }
/* (side panel) a row opens the ticket in ArtTicketPanel; the open row is marked; while the panel is open
   the ticket card keeps to the left 40% and scrolls sideways instead of hiding under the panel */
.art .art-home-table tr.art-home-row { cursor: pointer; }
.art .art-home-table tr.art-home-row:hover > td { background: var(--line-soft); }
.art .art-home-table tr.art-home-open > td, .art .art-home-table tr.art-home-open:hover > td { background: var(--flow-soft); box-shadow: inset 0 -1px 0 var(--flow); }
.art .art-home-table tr.art-home-open > td:first-child { box-shadow: inset 3px -1px 0 var(--flow); }
@media (min-width: 900px) {
    .art.art-home.art-home-paneled .art-home-fill { margin-right: calc(60vw - 15px); }
    .art.art-home.art-home-paneled .art-home-sticky { min-width: 760px; }
}
@media (max-width: 760px) {
    .art.art-home { height: auto; overflow: visible; }
    .art .art-home-table { display: block; overflow-x: auto; }
    .art .art-up-row select { min-width: 0; width: 100%; }
}

/* #SR-63273 — Modified by HN 11/04/26. Tickets and Batches are ArtGrids that fill the rest of the card; the upload
   row sits on the Batches tab, with per-file progress; each batch has a progress column and a detail row. */
.art .art-home-fill > .art-home-gridfill { flex: 1 1 auto; min-height: 0; }
.art .art-home-fill .art-up-card { flex: none; padding: 8px 10px; margin-bottom: 8px; background: var(--paper); box-shadow: none; }
.art .art-home-all { display: inline-flex; align-items: center; grid-gap: 4px; gap: 4px; font-size: 12px; color: var(--steel); margin-right: 4px; }
.art .ag-filters select { padding: 3px 6px; font-size: 12.5px; }
.art .art-home-sel input { cursor: pointer; }
.art .art-grid .e-grid tr.art-home-on td { background: var(--flow-soft); }
.art .art-grid .e-grid tr.art-home-open td { background: var(--flow-soft); box-shadow: inset 0 -1px 0 var(--flow); }
.art .art-grid .e-grid tr.art-home-open td:first-child { box-shadow: inset 3px -1px 0 var(--flow); }
.art .art-home-sub { line-height: 1.25; }

.art .art-up-row .art-up-field { display: inline-flex; flex-direction: column; grid-gap: 2px; gap: 2px; }
/* nothing in the page may push it wider than the window (the header links stay on screen) */
.art.art-home > *, .art .art-home-fill > * { min-width: 0; max-width: 100%; }
.art .art-home-top { padding-right: 4px; }
.art .art-home-link { font-weight: 600; color: var(--flow); padding: 3px 10px; border-radius: 4px; }
.art .art-home-link:hover { background: var(--flow-soft); text-decoration: none; }
/* upload row: fields with their labels above, the toggles and the button on the same bottom line */
.art .art-up-form.art-up-row { align-items: flex-end; grid-gap: 8px 16px; gap: 8px 16px; }
.art .art-up-row select { height: 30px; }
.art .art-up-pick { display: inline-flex; align-items: center; grid-gap: 8px; gap: 8px; height: 30px; }
.art .art-up-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.art .art-up-file:focus-visible + label { outline: 2px solid var(--flow); outline-offset: 1px; }
.art .art-up-chosen { font-size: 12.5px; color: var(--steel); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art .art-up-form .art-up-check { display: inline-flex; align-items: center; grid-gap: 6px; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 15px; background: var(--panel); color: var(--body); font-size: 12.5px; cursor: pointer; -webkit-user-select: none; user-select: none; }
.art .art-up-form .art-up-check:hover { border-color: var(--steel); }
.art .art-up-form .art-up-check.on { background: var(--flow-soft); border-color: var(--flow); color: var(--flow); font-weight: 600; }
.art .art-up-row .btn.primary { height: 30px; padding: 0 18px; }
.art .art-home-all { padding: 0 8px; height: 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.art .art-up-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 132px; overflow: auto; display: grid; grid-gap: 3px; gap: 3px; }
.art .art-up-item { display: grid; grid-template-columns: minmax(0, 280px) 70px minmax(80px, 200px) minmax(0, 1fr); align-items: center; grid-gap: 10px; gap: 10px; font-size: 12.5px; }
.art .art-up-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.art .art-up-state { min-width: 0; overflow-wrap: anywhere; }
.art .art-up-done .art-up-state { color: var(--green); font-weight: 600; }
.art .art-up-item:not(.art-up-uploading):not(.art-up-waiting) .art-up-state { grid-column: 3 / 5; }

.art .art-bdet-bar { display: inline-block; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; vertical-align: middle; min-width: 80px; }
.art .art-bdet-bar > span { display: block; height: 100%; background: var(--flow); transition: width .3s; }
.art .art-bprog { display: flex; align-items: center; grid-gap: 8px; gap: 8px; min-width: 0; width: 100%; }
.art .art-bprog-bar { display: inline-flex; grid-gap: 2px; gap: 2px; flex: none; }
.art .art-bprog-bar > span { width: 16px; height: 6px; border-radius: 2px; background: var(--line-soft); }
.art .art-bprog-blue > span.on { background: var(--flow); }
.art .art-bprog-green > span.on { background: var(--green); }
.art .art-bprog-amber > span.on { background: #D97706; }
.art .art-bprog-red > span.on { background: var(--red); }
.art .art-bprog-grey > span.on { background: var(--steel); }
.art .art-bprog-text { flex: 1 1 auto; min-width: 0; font-size: 12px; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art .art-batch-live { font-style: italic; }

.art .art-bdet { padding: 8px 6px 10px 28px; display: grid; grid-gap: 8px; gap: 8px; white-space: normal; }
.art .art-bdet-file { display: flex; flex-wrap: wrap; grid-gap: 6px 22px; gap: 6px 22px; margin: 0; }
.art .art-bdet-fact { min-width: 0; max-width: 320px; }
.art .art-bdet-fact dd { margin: 0; font-size: 12.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art .art-bdet-prog { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 8px 24px; gap: 8px 24px; }
.art .art-bdet-steps { list-style: none; display: flex; flex-wrap: wrap; grid-gap: 6px; gap: 6px; margin: 0; padding: 0; }
.art .art-bdet-steps li { display: flex; flex-direction: column; grid-gap: 2px; gap: 2px; border: 1px solid var(--line-soft); border-top: 3px solid var(--line); border-radius: 4px; padding: 4px 10px; font-size: 12.5px; min-width: 170px; background: var(--panel); }
.art .art-bdet-steps li.done { border-top-color: var(--green); }
.art .art-bdet-steps li.now { border-top-color: var(--flow); }
.art .art-bdet-steps li.stop { border-top-color: var(--red); }
.art .art-bdet-counts { display: flex; flex-wrap: wrap; grid-gap: 10px; gap: 10px; font-size: 12.5px; }
.art .art-bdet-tkts { display: flex; flex-wrap: wrap; grid-gap: 6px; gap: 6px; }
.art .art-bdet-tkt { display: inline-flex; align-items: center; grid-gap: 4px; gap: 4px; border: 1px solid var(--line-soft); background: var(--panel); border-radius: 12px; padding: 1px 4px 1px 10px; font-size: 12.5px; color: var(--flow); cursor: pointer; }
.art .art-bdet-tkt:hover { border-color: var(--flow); }
.art .art-bdet-err { font-size: 12.5px; overflow-wrap: anywhere; }
.art .art-grid .e-grid .e-detailrowexpand, .art .art-grid .e-grid .e-detailrowcollapse { cursor: pointer; }
.art .art-grid .e-grid .e-detailcell { background: var(--paper); }
@media (max-width: 760px) {
    .art .art-up-item { grid-template-columns: minmax(0, 1fr) 60px; }
}

/* #SR-63273 — Modified by HN 11/04/26 (round 3). Batches tab alignment: every upload control is 32px high and they
   share one bottom line; field labels sit above. The grids keep the page inside the window: their column widths
   must not count towards the page's own width (contain: inline-size), they scroll sideways inside the card. */
.art.art-home, .art .art-home-fill, .art .art-grid { contain: inline-size; }
.art .art-up-card .art-up-form.art-up-row { display: flex; flex-wrap: wrap; align-items: flex-end; grid-gap: 8px 14px; gap: 8px 14px; }
.art .art-up-card .art-up-form.art-up-row > * { margin: 0; }
.art .art-up-card .art-up-title { line-height: 32px; font-family: var(--display-font); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.art .art-up-card .art-up-field { display: flex; flex-direction: column; grid-gap: 3px; gap: 3px; }
.art .art-up-card .art-up-field .art-label { line-height: 14px; }
.art .art-up-card select, .art .art-up-card .art-up-note { height: 32px; padding: 0 8px; box-sizing: border-box; }
.art .art-up-card .art-up-pick { height: 32px; }
.art .art-up-card .art-up-pick .btn { height: 32px; }
.art .art-up-card .art-up-check { height: 32px; box-sizing: border-box; display: inline-flex; grid-gap: 6px; gap: 6px; }
.art .art-up-card .btn.primary { height: 32px; min-width: 96px; }
.art .art-bprog-text { flex: none; overflow: visible; text-overflow: clip; }

/* SR-63273 — /artAdmin config admin page. Layout from artOcrHome.css, colours from artOcr.css. */
.art .art-adm-hint, .art-modal .art-adm-hint { color: var(--steel); font-size: 13px; margin: 0 0 6px; }
.art .art-adm-mock { background: var(--amber-soft); color: var(--amber); border-radius: 6px; padding: 6px 10px; margin-bottom: 12px; font-size: 13px; }
.art .art-adm-result { font-size: 13px; color: var(--ink); margin-top: 6px; }
.art .art-adm-muted { color: var(--steel); }
.art .art-adm-path { overflow-wrap: anywhere; max-width: 320px; }
.art .art-adm-test > td { background: var(--paper); }
.art .art-adm-test-head { display: flex; align-items: center; grid-gap: 8px; gap: 8px; font-weight: 600; color: var(--steel); margin-bottom: 6px; }
.art .art-adm-test-head .btn { margin-left: auto; }
.art .art-adm-dl { display: grid; grid-template-columns: max-content 1fr; grid-gap: 2px 12px; gap: 2px 12px; margin: 0; font-size: 13px; }
.art .art-adm-dl dt { font-weight: 600; color: var(--steel); }
.art .art-adm-dl dd { margin: 0; overflow-wrap: anywhere; }
.art .art-adm-dl .art-adm-dl { padding-left: 8px; border-left: 2px solid var(--line-soft); }
.art .art-home-table.art-adm-sub { margin-top: 2px; font-size: 12px; }
@media (max-width: 760px) {
    .art .art-adm-dl { grid-template-columns: 1fr; }
}

/* SR-63273 (0.6) — /artAdmin configuration admin (tabs, publish bar, grids, field editor,
   TryMap trace, config-log diff). Colours are the tokens of artOcr.css; everything is
   scoped under .art (page) or .art-modal (reactstrap modals, portalled to <body>). */

/* the admin page grows with its content (the start page is one fixed screen) */
.art.art-home.art-adm-page { height: auto; min-height: calc(100vh - 60px); overflow: visible; padding-bottom: 16px; }
.art .art-adm-body { display: flex; flex-direction: column; grid-gap: 0; gap: 0; }

/* ------------------------------------------------------------------ tabs */
.art .art-adm-tabs { display: flex; flex-wrap: wrap; grid-gap: 2px; gap: 2px; border-bottom: 1px solid var(--line); margin: 8px 0 12px; }
.art .art-adm-tab { border: 1px solid transparent; border-bottom: 0; background: none; padding: 7px 14px; border-radius: 6px 6px 0 0; color: var(--steel); cursor: pointer; font-weight: 600; margin-bottom: -1px; }
.art .art-adm-tab:hover { color: var(--ink); }
.art .art-adm-tab.on { background: var(--panel); border-color: var(--line); color: var(--flow); }
.art .art-adm-tab:focus-visible { outline: 3px solid var(--flow-soft); outline-offset: 1px; }
.art .art-adm-subtabs { margin: 8px 0 0; }
.art .art-adm-subtabs .art-adm-tab { padding: 5px 12px; font-size: 13px; }
.art .art-adm-tab-badge { margin-left: 6px; }

/* ------------------------------------------------------------------ detail head + publish bar */
.art .art-adm-detail { display: flex; flex-direction: column; }
.art .art-adm-dhead { position: sticky; top: 0; z-index: 15; background: var(--paper); padding: 4px 0 0; margin-bottom: 10px; }
.art .art-adm-dtitle { display: flex; align-items: center; flex-wrap: wrap; grid-gap: 8px 12px; gap: 8px 12px; margin-bottom: 6px; }
.art .art-adm-dtitle h5 { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.art .art-adm-pubbar { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.art .art-adm-pubbar.compact { margin-top: 6px; }
.art .art-adm-publine { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; grid-gap: 6px 12px; gap: 6px 12px; font-size: 13px; color: var(--steel); }
.art .art-adm-pubbtns { display: inline-flex; grid-gap: 6px; gap: 6px; flex-wrap: wrap; }
.art .art-adm-pubfor { display: flex; align-items: center; grid-gap: 10px; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.art .art-adm-amber { color: var(--amber); }
.art .art-adm-valid, .art-modal .art-adm-valid { margin-top: 8px; border-radius: 6px; padding: 6px 10px; font-size: 13px; }
.art .art-adm-valid.ok, .art-modal .art-adm-valid.ok { background: var(--green-soft); color: var(--green); }
.art .art-adm-valid.info { background: var(--line-soft); color: var(--steel); }
.art .art-adm-valid.bad, .art-modal .art-adm-valid.bad { background: var(--red-soft); color: var(--red); }
.art .art-adm-valid ul { margin: 4px 0 0; padding-left: 18px; }
.art .art-adm-valid .btn { margin-left: 8px; }
.art .art-adm-link { border: 0; background: none; padding: 0; color: var(--flow); text-decoration: underline; cursor: pointer; font-size: 12px; }
.art .art-adm-alert { display: flex; align-items: center; grid-gap: 10px; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ notes, chips, misc */
.art .art-adm-note-amber, .art-modal .art-adm-note-amber { background: var(--amber-soft); color: var(--amber); border-radius: 6px; padding: 6px 10px; margin: 0 0 10px; font-size: 13px; overflow-wrap: anywhere; }
.art .art-adm-note-amber ul { margin: 4px 0 0; padding-left: 18px; }
.art .art-adm-note-amber summary { cursor: pointer; font-weight: 600; }
.art .art-adm-chip, .art-modal .art-adm-chip { display: inline-flex; align-items: center; grid-gap: 3px; gap: 3px; background: var(--line-soft); color: var(--steel); border-radius: 4px; padding: 0 6px; margin: 1px 3px 1px 0; font-size: 11.5px; white-space: nowrap; }
.art .art-adm-chip button { border: 0; background: none; padding: 0 2px; cursor: pointer; color: var(--steel); }
.art .art-adm-chips { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 4px; gap: 4px; }
.art .art-adm-wrap { overflow-wrap: anywhere; }
.art .art-adm-nowrap { white-space: nowrap; }
.art .art-adm-small { font-size: 12px; margin-top: 6px; }
.art .art-adm-scroll { overflow-x: auto; }
.art .art-adm-click { cursor: pointer; }
.art .art-adm-click:hover > td { background: var(--paper); }
.art .art-adm-click:focus-visible { outline: 2px solid var(--flow); outline-offset: -2px; }
/* #SR-63273 — Modified by HN 11/04/26. ArtGrid lists: the open button of the first column, the panel under a
   grid (log diff, source Test result; was an expanded row), the grid rows open a record on click */
.art .art-adm-open { text-align: left; text-decoration: none; font-size: 12.5px; color: var(--flow); }
.art .art-adm-open:hover, .art .art-adm-open:focus-visible { text-decoration: underline; }
.art div.art-adm-test { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 6px; padding: 8px 10px; margin-top: 8px; overflow-x: auto; }
.art .art-adm-log .art-grid .e-row, .art #art-adm-ticket-types .e-row, .art #art-adm-form-types .e-row, .art #art-adm-prompts .e-row { cursor: pointer; }
.art .mono, .art-modal .mono { font-family: Consolas, 'Courier New', monospace; font-size: 12.5px; }
.art .art-adm-pre, .art-modal .art-adm-pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 6px; padding: 8px; font: 12px/1.45 Consolas, 'Courier New', monospace; max-height: 420px; overflow: auto; margin: 4px 0 10px; }
.art .art-adm-mine { margin-bottom: 10px; font-size: 13px; }
.art .art-adm-mine summary { cursor: pointer; color: var(--steel); }
.art .art-adm-pattern { margin-top: 8px; font-size: 13px; overflow-wrap: anywhere; }
.art .art-adm-sub-head { display: flex; align-items: center; grid-gap: 8px; gap: 8px; font-weight: 600; color: var(--steel); margin: 4px 0 6px; font-size: 13px; }
.art .art-adm-more { margin-top: 8px; }
.art .art-adm-ok, .art-modal .art-adm-ok { color: var(--green); font-size: 13px; }
.art .art-adm-err, .art-modal .art-adm-err { color: var(--red); font-size: 12.5px; margin-top: 2px; overflow-wrap: anywhere; }
.art-modal .art-adm-preview, .art .art-adm-preview { background: var(--flow-soft); color: var(--flow); border-radius: 6px; padding: 6px 10px; margin-top: 8px; font-size: 13px; }
.art-modal .art-adm-muted { color: var(--steel); }
.art-modal .art-adm-hint { color: var(--steel); font-size: 13px; }

/* ------------------------------------------------------------------ inputs */
.art .art-adm-in, .art-modal .art-adm-in { border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; background: var(--panel); color: var(--ink); font-size: 13px; max-width: 100%; }
.art .art-adm-in:focus, .art-modal .art-adm-in:focus { outline: 2px solid var(--flow); outline-offset: 0; }
.art .art-adm-in:disabled, .art-modal .art-adm-in:disabled { background: var(--paper); color: var(--steel); }
.art .art-adm-in.bad, .art-modal .art-adm-in.bad, .art input[type="checkbox"].bad { outline: 2px solid var(--red); outline-offset: 0; }
.art .w-num, .art-modal .w-num { width: 64px; }
.art .w-code { width: 90px; }
.art .w-id { width: 170px; }
.art .w-name { width: 160px; }
.art .w-wide { width: 220px; }
.art .w-full, .art-modal .w-full { width: 100%; }
.art .art-adm-filters { display: flex; flex-wrap: wrap; grid-gap: 6px; gap: 6px; align-items: center; margin-bottom: 8px; }
.art .art-adm-filters select, .art .art-sec-right .art-adm-in { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); font-size: 13px; }

/* two-column label / control forms */
.art .art-adm-form2, .art-modal .art-adm-form2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); grid-gap: 10px 16px; gap: 10px 16px; }
.art .art-adm-form2 fieldset, .art-modal .art-adm-form2 fieldset { border: 1px solid var(--line-soft); border-radius: 6px; padding: 6px 10px 8px; margin: 0; min-width: 0; }
.art .art-adm-form2 legend, .art-modal .art-adm-form2 legend { font-size: 12px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: .3px; width: auto; padding: 0 4px; margin: 0; }
.art .art-adm-frow, .art-modal .art-adm-frow { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-gap: 4px 10px; gap: 4px 10px; align-items: start; margin: 5px 0; }
.art .art-adm-frow > label, .art-modal .art-adm-frow > label { font-size: 13px; color: var(--steel); padding-top: 3px; margin: 0; }
.art .art-adm-frow.bad .art-adm-in, .art-modal .art-adm-frow.bad .art-adm-in { outline: 2px solid var(--red); }
.art .art-adm-formbtns { display: flex; justify-content: flex-end; grid-gap: 8px; gap: 8px; margin-top: 10px; }
.art .art-adm-check, .art-modal .art-adm-check { display: inline-flex; align-items: center; grid-gap: 5px; gap: 5px; font-size: 13px; margin: 0 10px 2px 0; }
.art .art-adm-checklist, .art-modal .art-adm-checklist { display: flex; flex-wrap: wrap; grid-gap: 0 4px; gap: 0 4px; max-height: 140px; overflow: auto; }
.art .art-adm-radios, .art-modal .art-adm-radios { display: flex; flex-wrap: wrap; grid-gap: 4px 16px; gap: 4px 16px; font-size: 13px; margin: 4px 0 8px; }
.art .art-adm-radios label, .art-modal .art-adm-radios label { display: inline-flex; align-items: center; grid-gap: 5px; gap: 5px; margin: 0; }
.art .art-adm-pairin { display: inline-flex; grid-gap: 6px; gap: 6px; }

/* ------------------------------------------------------------------ grids */
.art .art-adm-grid td { vertical-align: middle; }
.art .art-adm-grid tr.dirty > td:first-child { box-shadow: inset 4px 0 0 var(--amber); }
.art .art-adm-grid tr.removed > td, .art tr.removed > td { text-decoration: line-through; color: var(--steel); }
.art .art-adm-grid tr.removed > td .btn { text-decoration: none; }
.art tr.removed-soft > td { color: var(--steel); }
.art .art-adm-grid tr.open > td { background: var(--flow-soft); }
.art tr.hl > td { background: var(--amber-soft); }
.art .art-adm-errrow > td { color: var(--red); background: var(--red-soft); font-size: 12.5px; padding: 3px 8px; }
.art .art-adm-editor-row > td { background: var(--paper); padding: 10px; }
.art .art-adm-lock { margin-left: 4px; font-size: 12px; }
.art .art-adm-grid .btn + .btn { margin-left: 4px; }

/* field editor: two columns, TryMap on the right */
.art .art-adm-editor { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-gap: 14px; gap: 14px; }
.art .art-adm-editor-left { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-gap: 6px 14px; gap: 6px 14px; align-content: start; }
.art .art-adm-ed, .art-modal .art-adm-ed { display: flex; flex-direction: column; grid-gap: 2px; gap: 2px; font-size: 13px; margin: 0; }
.art .art-adm-ed > span:first-child { color: var(--steel); font-size: 12px; }
.art .art-adm-ed.bad .art-adm-in { outline: 2px solid var(--red); }
.art .art-adm-ed-check { flex-direction: row; align-items: center; grid-gap: 6px; gap: 6px; }
.art .art-adm-ed-pair { display: flex; grid-gap: 10px; gap: 10px; align-items: flex-end; }
.art .art-adm-unit { grid-column: 1 / -1; border: 1px solid var(--line-soft); border-radius: 6px; padding: 6px 10px; margin: 4px 0 0; }
.art .art-adm-unit legend { font-size: 12px; font-weight: 600; color: var(--steel); width: auto; padding: 0 4px; margin: 0; }
.art .art-adm-try { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; grid-gap: 6px; gap: 6px; }
.art .art-adm-try-head { font-weight: 600; display: flex; grid-gap: 8px; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.art .art-adm-trace { border-top: 1px solid var(--line-soft); padding-top: 6px; font-size: 13px; display: flex; flex-direction: column; grid-gap: 3px; gap: 3px; overflow-wrap: anywhere; }
.art .art-adm-trace code { font-size: 12.5px; color: var(--ink); background: var(--paper); border-radius: 3px; padding: 0 3px; }
.art .art-adm-trace .art-pill { margin-right: 4px; }
.art .art-adm-report { margin-top: 10px; border: 1px solid var(--line-soft); border-radius: 6px; padding: 8px 10px; font-size: 13px; display: flex; flex-direction: column; grid-gap: 3px; gap: 3px; }

/* ------------------------------------------------------------------ config log diff */
.art .art-adm-diff { width: 100%; border-collapse: collapse; font: 12px/1.4 Consolas, 'Courier New', monospace; table-layout: fixed; }
.art .art-adm-diff th { text-align: left; color: var(--steel); font-family: inherit; border-bottom: 1px solid var(--line); padding: 2px 6px; }
.art .art-adm-diff td { border-bottom: 1px solid var(--line-soft); padding: 2px 6px; vertical-align: top; overflow-wrap: anywhere; white-space: pre-wrap; }
.art .art-adm-diff th:first-child, .art .art-adm-diff td:first-child { width: 200px; }
.art .art-adm-diff tr.chg > td { background: var(--amber-soft); }

/* ------------------------------------------------------------------ site prices (quick review) */
.art .art-adm-prices .art-adm-hint { margin: 0 0 6px; }
.art .art-adm-prices tr.dirty > td:first-child { box-shadow: inset 4px 0 0 var(--amber); }
.art .art-adm-prices .art-adm-price-in { width: 90px; margin-right: 4px; text-align: right; }
.art-modal .art-adm-link { border: 0; background: none; padding: 0; color: var(--flow); text-decoration: underline; cursor: pointer; font-size: 13px; text-align: left; }
.art-modal .art-adm-link.on { font-weight: 600; }
.art-modal .art-adm-picklist { list-style: none; margin: 4px 0 0; padding: 0; max-height: 160px; overflow: auto; border: 1px solid var(--line-soft); border-radius: 6px; }
.art-modal .art-adm-picklist li { padding: 2px 8px; border-bottom: 1px solid var(--line-soft); }

@media (max-width: 760px) {
    .art .art-adm-editor { grid-template-columns: minmax(0, 1fr); }
    .art .art-adm-frow, .art-modal .art-adm-frow { grid-template-columns: minmax(0, 1fr); }
    .art .art-adm-form2, .art-modal .art-adm-form2 { grid-template-columns: minmax(0, 1fr); }
    .art .art-adm-dhead { position: static; }
    .art .art-adm-diff th:first-child, .art .art-adm-diff td:first-child { width: 110px; }
}

/* Site prices: the month a price bills, made obvious (2026-11-03) */
.art .art-adm-periodbar { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 6px 8px; gap: 6px 8px; margin: 4px 0 2px; }
.art .art-adm-period { font-size: 18px; font-weight: 700; margin: 0 8px 0 0; }
.art .art-adm-period-hint { font-weight: 600; }
.art-modal .art-adm-ro { display: inline-block; padding: 3px 0; font-weight: 600; }

/* #SR-63273 — Modified by HN 11/04/26. The admin page fills the window (useFitViewport sets its height): no page
   scrollbar. Title, mock note and section tabs keep their height; the tab's content scrolls inside .art-adm-body
   (the sticky detail head / publish bar sticks to the top of that box). */
.art.art-home.art-adm-page.art-adm-fit { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding-bottom: 0; }
.art.art-adm-fit > * { flex: none; min-width: 0; }
.art.art-adm-fit > .art-adm-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 2px 12px; }
.art.art-adm-fit > .art-adm-tabs { margin-bottom: 8px; }

/* SR-63273 — /artOcr/billing (bill lines, totals, export). Colours come from artOcr.css; tables and cards from artOcrHome.css. */
.art .art-bill-top { display: flex; align-items: baseline; justify-content: space-between; grid-gap: 12px; gap: 12px; flex-wrap: wrap; }
.art .art-bill-back { font-size: 13px; }
.art .art-bill-note { margin: -6px 0 12px; color: var(--steel); font-size: 13px; }
.art .art-bill-filters { display: flex; flex-wrap: wrap; align-items: flex-end; grid-gap: 10px 14px; gap: 10px 14px; }
.art .art-bill-filters label { display: grid; grid-gap: 4px; gap: 4px; font-size: 13px; color: var(--steel); margin: 0; }
.art .art-bill-filters select, .art .art-bill-filters input { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--panel); font-size: 13px; }
.art .art-bill-search input { width: 230px; }
.art .art-bill-actions { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 8px; gap: 8px; margin-left: auto; }
.art .art-bill-msg { margin-top: 8px; font-size: 13px; color: var(--green); }
.art .art-bill-msg.art-home-err { color: var(--red); }
.art .art-bill-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.art .art-bill-totals { display: flex; flex-wrap: wrap; grid-gap: 8px; gap: 8px; margin-bottom: 12px; }
.art .art-bill-totals > div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; min-width: 110px; display: grid; }
.art .art-bill-totals span { font-size: 12px; color: var(--steel); }
.art .art-bill-totals b { font-size: 16px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; color: var(--ink); }
.art .art-bill-totals .art-bill-ok b { color: var(--green); }
.art .art-bill-totals .art-bill-bad b { color: var(--red); }
.art .art-bill-totals .art-bill-qty { flex: 1 1 220px; }
.art .art-bill-id, .art .art-bill-sub { color: var(--steel); font-size: 12px; }
/* #SR-63273 — Modified by HN 11/04/26. The lists are ArtGrid grids: the page filters sit in the bill lines grid's
   toolbar, the Total Bbls total is a line under the Total Hauled grid (AppGrid has no aggregate footer). */
.art.art-bill .art-grid .art-pill { margin-right: 4px; }
.art.art-bill .art-grid .e-rowcell { line-height: 1.3; }
.art.art-bill .art-bill-filters { grid-gap: 6px 12px; gap: 6px 12px; }
.art.art-bill .art-bill-actions { margin-left: 0; }
.art.art-bill .art-bill-msg { margin: 0 0 8px; }
.art .art-bill-foot { display: flex; justify-content: flex-end; align-items: baseline; grid-gap: 10px; gap: 10px; padding: 8px 12px 0; font-size: 13px; color: var(--steel); }
.art .art-bill-foot b { font-size: 15px; color: var(--ink); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.art .art-bill-foot-k { font-weight: 600; }
@media (max-width: 760px) {
    .art .art-bill-actions { margin-left: 0; }
    .art .art-bill-search input { width: 100%; }
}

/* #SR-63273 — Modified by HN 11/04/26 (round 2). Export / bill run on the heading line; the filters as on EngBomReq:
   small upper-case labels above 30px controls, one bottom line. */
.art.art-bill .art-sec-head .art-bill-actions { margin-left: 0; flex-wrap: nowrap; }
.art.art-bill .art-sec-head .btn { text-transform: uppercase; }
.art.art-bill .art-bill-filters { align-items: flex-end; grid-gap: 6px 12px; gap: 6px 12px; padding: 2px 0; }
.art.art-bill .art-bill-filters label { grid-gap: 3px; gap: 3px; font-size: 11px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: .04em; }
.art.art-bill .art-bill-filters select, .art.art-bill .art-bill-filters input { height: 30px; padding: 0 8px; border-radius: 4px; border-color: var(--line);
  font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; box-sizing: border-box; }
.art.art-bill .art-bill-filters select { min-width: 140px; }
.art.art-bill .ag-toolbar { align-items: flex-end; }

/* #SR-63273 — Modified by HN 11/04/26 (round 3). Refresh, Columns and the search box share the filters' bottom line */
.art.art-bill .ag-toolbar .ag-left, .art.art-bill .ag-toolbar .ag-actions { align-items: flex-end; }
.art.art-bill .ag-toolbar .ag-btn, .art.art-bill .ag-toolbar .ag-search input { height: 30px; box-sizing: border-box; }
.art.art-bill .ag-toolbar .ag-count { align-self: flex-end; line-height: 30px; }
.art.art-bill .art-bill-searchbox input { width: 260px; }

/* #SR-63273 — Modified by HN 11/04/26 (round 4). The page fills the window (useFitViewport sets its height): header,
   note and totals keep their height, the bill lines card takes the rest and its grid fills the card. */
.art.art-home.art-bill.art-bill-fit { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding-bottom: 8px; }
.art.art-bill-fit > :not(.art-drawer) { flex: none; min-width: 0; }
.art.art-bill-fit > .art-bill-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-bottom: 0; }
.art.art-bill-fit .art-bill-main > * { flex: none; }
.art.art-bill-fit .art-bill-main > .art-bill-grid { flex: 1 1 auto; min-height: 0; }
.art.art-bill-fit .art-bill-totals { margin-bottom: 8px; }

/* #SR-63273 — Modified by HN 11/04/26 (round 5). The side panel lies over the right of the page; the page keeps its
   layout (filters, header) when it opens. */
.art.art-bill .art-grid .e-row { cursor: pointer; }
/* #SR-63273 — Modified by HN 11/04/26. Room above the title and between its gold rule and the note under it */
.art.art-bill .art-bill-top { padding-top: 4px; }
.art.art-bill .art-bill-note { margin: 8px 0 12px; }

/* #SR-63273 — Modified by HN 11/04/26 (round 6). Invoice selection: the All box in the filters, the action bar */
.art.art-bill .art-bill-all { align-self: flex-end; height: 30px; display: inline-flex; align-items: center; grid-gap: 4px; gap: 4px;
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; }
.art.art-bill .art-bill-bulk { margin: 0 0 8px; }



.print-preview-button {
    @media print {
      display: none;
    }
  }
  
  .print-component {
    display: none;
    @media print {
      display: table;
      .table-footer > tr > td{
        text-align: center;
        background-color: grey;
        color: white;
      }
    }
  }

  .temp-class-for-height {
      @media not print {
      width: 720px;
      visibility: hidden;
      display: table;
      }
    }

    @page {
      size: auto;
      margin: 10mm;
    }
/* Represents the styles for loader */
/* #loader {
  color: #008cff;
  height: 40px;
  left: 45%;
  position: absolute;
  top: 45%;
  width: 30%;
} */

.content-timeline {
  position: relative;
  width: 100%;
  margin-left: 20px;
  /* box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px; 
  background-color: ghostwhite;  */
}

/* .content-timeline::before {
  content: '';
  position: absolute;
  left: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid silver;
} */

.content-timeline .title {
  font-size: 16px;
}

.content-timeline .description {
  margin-top: -10px;
  color: #757272;
  font-size: 13px;
}

.content-timeline .info {
  color: #999999;
  font-size: 10px;
}




    /* HTML marker styles */
.circle-red {
    width: 10px;
    height: 10px;
    background: coral;
    border-radius: 50%;

    border-color: rgb(14, 13, 13);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
  }

  .circle-green {
    width: 10px;
    height: 10px;
    background: rgb(73, 223, 118);
    border-radius: 50%;

     border-color: rgb(14, 13, 13);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
  }

  /* .circle-blue { */
.meter{    
    width: 10px;
    height: 10px;
    background: lightblue;
    border-radius: 50%;
    border-color: white;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
  }
  
  /* .rectangle-blue { */
 .pond{   
    width: 20px;
    height: 12px;
    background: lightskyblue;
    border-color: blue;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-radius: 20%;
  }

/* .star { */
.facility{    
    position: relative;
    
    display: inline-block;
    width: 0;
    height: 0;
    
    margin-left: .9em;
    margin-right: .9em;
    margin-bottom: 1.2em;
    
    border-right:  .3em solid transparent;
    border-bottom: .7em  solid #FC0;
    border-left:   .3em solid transparent;
  
    /* Controlls the size of the stars. */
    font-size: 8px;
    
    &:before, &:after {
      content: '';
      
      display: block;
      width: 0;
      height: 0;
      
      position: absolute;
      top: .6em;
      left: -1em;
    
      border-right:  1em solid transparent;
      border-bottom: .7em  solid #FC0;
      border-left:   1em solid transparent;
    
      transform: rotate(-35deg);
    }
    
    &:after {  
      transform: rotate(35deg);
    }
  }

.marker {
    /* Set the marker size here */
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 1.5rem;
    /* Set the marker color here */
    background: #aa3300;

    display: inline-block;
    border-bottom-right-radius: 0;
    position: relative;
    transform: rotate(45deg);

    /* optional fanciness */
    border: 1px solid #881100;
}

.wbpinactive {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #aa3300;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #881100;
}


.wbpactive {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #4ba814;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #4ba814;
}

.wbpundrill {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #e0d864;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #e0d864;
}

.wbpplugged {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #cf9414;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #cf9414;
}

/* inner circle (optional if you don't need the central dot) */
.wbpinactive::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.wbpinactive::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}



/* inner circle (optional if you don't need the central dot) */
.wbpundrill::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.wbpundrill::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

/* inner circle (optional if you don't need the central dot) */
.wbpplugged::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.wbpplugged::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}


/* inner circle (optional if you don't need the central dot) */
.wbpactive::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.wbpactive::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

/* inner circle (optional if you don't need the central dot) */
.marker::before {
    content: "";
    background: white;
    width: 50%;
    height: 50%;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    /* optional fanciness */
    box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.marker::after {
    content: "";
    background: rgba(128, 128, 128, 0.2);
    width: 75%;
    height: 75%;
    border-radius: 100%;
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

.asset-title{
  font-size:small;
  color: black;
  outline-color: white;
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
  position: absolute;
  padding: 15px 15px;
}



.bsdtakeaway {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #f37b48;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #f37b48;
}
/* inner circle (optional if you don't need the central dot) */
.bsdtakeaway::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdtakeaway::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}




.bsdreuse {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #f277f7;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #f277f7;
}
/* inner circle (optional if you don't need the central dot) */
.bsdreuse::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdreuse::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}




/*bsdpreliminaryanalysis*/
.bsdpreliminaryanalysis {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #a0dff2;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #a0dff2;
}
/* inner circle (optional if you don't need the central dot) */
.bsdpreliminaryanalysis::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdpreliminaryanalysis::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}



/*Internal Development*/
.bsdinternaldevelopment {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #2fbfeb;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #2fbfeb;
}
/* inner circle (optional if you don't need the central dot) */
.bsdinternaldevelopment::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdinternaldevelopment::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}


/*Negotiating*/
.bsdnegotiating {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #c9f5b0;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #c9f5b0;
}
/* inner circle (optional if you don't need the central dot) */
.bsdnegotiating::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdnegotiating::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

/*Contract Generation*/
.bsdcontractgeneration {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #adf584;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #adf584;
}
/* inner circle (optional if you don't need the central dot) */
.bsdcontractgeneration::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdcontractgeneration::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}


/*Complete*/
.bsdcomplete {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #ee692b;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #ee692b;
}
/* inner circle (optional if you don't need the central dot) */
.bsdcomplete::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdcomplete::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}



/*Declined*/
.bsddeclined {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #ee692b;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #ee692b;
}
/* inner circle (optional if you don't need the central dot) */
.bsddeclined::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsddeclined::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}


/* .star { */
.redStar{    
    position: relative;
    
    display: inline-block;
    width: 0;
    height: 0;
    
    margin-left: .9em;
    margin-right: .9em;
    margin-bottom: 1.2em;
    
    border-right:  .3em solid transparent;
    border-bottom: .7em  solid rgb(230, 95, 106);
    border-left:   .3em solid transparent;
  
    /* Controlls the size of the stars. */
    font-size: 8px;
    
    &:before, &:after {
      content: '';
      
      display: block;
      width: 0;
      height: 0;
      
      position: absolute;
      top: .6em;
      left: -1em;
    
      border-right:  1em solid transparent;
      border-bottom: .7em  solid rgb(230, 95, 106);
      border-left:   1em solid transparent;
    
      transform: rotate(-35deg);
    }
    
    &:after {  
      transform: rotate(35deg);
    }
  }

  .greenStar{    
    position: relative;
    
    display: inline-block;
    width: 0;
    height: 0;
    
    margin-left: .9em;
    margin-right: .9em;
    margin-bottom: 1.2em;
    
    border-right:  .3em solid transparent;
    border-bottom: .7em  solid rgb(75, 199, 71);
    border-left:   .3em solid transparent;
  
    /* Controlls the size of the stars. */
    font-size: 8px;
    
    &:before, &:after {
      content: '';
      
      display: block;
      width: 0;
      height: 0;
      
      position: absolute;
      top: .6em;
      left: -1em;
    
      border-right:  1em solid transparent;
      border-bottom: .7em  solid rgb(75, 199, 71);
      border-left:   1em solid transparent;
    
      transform: rotate(-35deg);
    }
    
    &:after {  
      transform: rotate(35deg);
    }
  }


/*Cancelled*/
.bsdcancelled {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #ee2b2b;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #ee2b2b;
}
/* inner circle (optional if you don't need the central dot) */
.bsdcancelled::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdcancelled::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

.bsdcordev {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #a6f777;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #a6f777;
}
/* inner circle (optional if you don't need the central dot) */
.bsdcordev::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdcordev::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

.bsdcorsuface {
  /* Set the marker size here */
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 1.5rem;
  /* Set the marker color here */
  background: #f5df7e;

  display: inline-block;
  border-bottom-right-radius: 0;
  position: relative;
  transform: rotate(45deg);

  /* optional fanciness */
  border: 1px solid #f5df7e;
}
/* inner circle (optional if you don't need the central dot) */
.bsdcorsuface::before {
  content: "";
  background: white;
  width: 50%;
  height: 50%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* optional fanciness */
  box-shadow: 0.1rem 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
/* shadow (optional if you don't need a shadow) */
.bsdcorsuface::after {
  content: "";
  background: rgba(128, 128, 128, 0.2);
  width: 75%;
  height: 75%;
  border-radius: 100%;
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(0.5);
}

.title {
  padding: 0.5em 1em;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 0.5em;
  background-color: rgb(66, 133, 244);
  color: white;
  width: 100%;
}

.button {
  font-size: 1.2em;
  margin: 1em;
  background-color: rgb(66, 133, 244);
  color: white;
  padding: 0.5em;
  border-radius: 8px;
}

#legend #container {
  margin: 0.5em 1em;
  display: flex;
}

#legend div .box {
  display: flex;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  border: 3px solid;
}

#legend div .legend {
  display: flex;
  padding: 0.5em;
}

#legend,
#dataset,
#counter {
  background-color: #e5e5e5;
  width: 18em;
  margin-top: 2em;
  margin-left: 1em;
  border-radius: 8px;
  font-family: Roboto;
  overflow: hidden;
}



/* SR-63162 - IT ticket KPI page. Everything is scoped under .kpi-page. */

.kpi-page { padding: 8px 16px 6px; color: #263238; }

.kpi-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; grid-gap: 8px; gap: 8px; margin-bottom: 8px; }
.kpi-header h4 { margin: 0; font-weight: 600; }
.kpi-header-controls { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 8px; gap: 8px; }
.kpi-header-controls label, .kpi-filters label { margin: 0; font-size: 13px; color: #546e7a; }
.kpi-asof { font-size: 13px; color: #546e7a; }
.kpi-pbi-link { font-size: 12px; }

.kpi-alert { margin: 6px 0; padding: 6px 12px; font-size: 13px; }
.kpi-loading { font-size: 13px; color: #78909c; padding: 4px 0; }
.kpi-empty { font-size: 13px; color: #90a4ae; padding: 16px 0; text-align: center; }

.kpi-tabs { margin-top: 4px; }
.kpi-tabs .nav-link { background: none; border: 1px solid transparent; cursor: pointer; font-size: 14px; }
.kpi-tabs .nav-link.active { border-color: #dee2e6 #dee2e6 #fff; font-weight: 600; }
.kpi-body { padding-top: 10px; }
.kpi-tabs { align-items: flex-end; }
.kpi-tabs .kpi-scope { margin-left: auto; align-self: center; font-size: 12px; color: #78909c; padding: 0 4px;
    max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-grid-wrap { min-width: 0; }

.kpi-filters { display: flex; flex-wrap: wrap; align-items: center; grid-gap: 8px; gap: 8px; margin-bottom: 10px; }
.kpi-date { width: 150px; }
.kpi-select { width: 130px; }
.kpi-presets button { border: 1px solid #cfd8dc; background: #fff; border-radius: 3px; font-size: 12px; padding: 2px 8px; margin-right: 4px; }
.kpi-presets button:hover { background: #eceff1; }

.kpi-cards { display: flex; flex-wrap: wrap; grid-gap: 10px; gap: 10px; margin-bottom: 12px; }
.kpi-card { flex: 1 1 140px; min-width: 130px; background: #fff; border: 1px solid #e0e6ea; border-left: 4px solid #1f6fb2; border-radius: 4px; padding: 10px 12px; }
.kpi-card-warn { border-left-color: #e07b24; }
.kpi-card-value { font-size: 26px; font-weight: 600; line-height: 1.1; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.kpi-card-value small { font-size: 13px; font-weight: 400; color: #78909c; }
.kpi-card-label { font-size: 12px; color: #607d8b; margin-top: 2px; }

.kpi-row { display: flex; flex-wrap: wrap; grid-gap: 12px; gap: 12px; }
.kpi-w50 { flex: 1 1 420px; min-width: 0; }
.kpi-panel { background: #fff; border: 1px solid #e0e6ea; border-radius: 4px; padding: 10px 12px; margin-bottom: 12px; }
.kpi-panel-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.kpi-panel-hint { font-weight: 400; font-size: 12px; color: #90a4ae; margin-left: 8px; }
.kpi-panel-actions { float: right; font-weight: 400; }
.kpi-export-btn { border: 1px solid #cfd8dc; background: #fff; border-radius: 3px; font-size: 12px; padding: 1px 8px; color: #1f6fb2; }
.kpi-export-btn:hover { background: #eceff1; }
.kpi-link-btn { border: none; background: none; color: #1f6fb2; font-size: 12px; padding: 0; margin-bottom: 6px; text-decoration: underline; }

/* Horizontal bars */
.kpi-hbar-row { display: flex; align-items: center; grid-gap: 8px; gap: 8px; padding: 2px 0; }
.kpi-hbar-row.clickable { cursor: pointer; }
.kpi-hbar-row.clickable:hover .kpi-hbar-label { text-decoration: underline; }
.kpi-hbar-row.dim { opacity: 0.4; }
.kpi-hbar-label { flex: 0 0 150px; font-size: 12px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-hbar-track { flex: 1 1; display: flex; align-items: center; grid-gap: 6px; gap: 6px; min-width: 0; }
.kpi-hbar-bar { height: 16px; border-radius: 0 3px 3px 0; min-width: 2px; }
.kpi-hbar-value { font-size: 12px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; color: #455a64; }

/* Columns */
.kpi-cols { display: flex; align-items: flex-end; grid-gap: 10px; gap: 10px; height: 240px; padding-top: 8px; }
.kpi-col { flex: 1 1; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.kpi-col.clickable { cursor: pointer; }
.kpi-col.clickable:hover .kpi-col-label { text-decoration: underline; }
.kpi-col.clickable:hover .kpi-col-bar { filter: brightness(1.12); }
.kpi-col.dim { opacity: 0.4; }
.kpi-col-area { flex: 1 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.kpi-col-bar { width: 70%; max-width: 70px; border-radius: 3px 3px 0 0; min-height: 2px; }
.kpi-col-value { font-size: 12px; color: #455a64; margin-bottom: 2px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.kpi-col-label { font-size: 12px; text-align: center; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Line */
.kpi-line { position: relative; }
.kpi-line svg { width: 100%; height: 260px; display: block; }
.kpi-grid { stroke: #eceff1; stroke-width: 1; }
.kpi-axis { font-size: 11px; fill: #78909c; }
.kpi-crosshair { stroke: #b0bec5; stroke-dasharray: 3 3; }
.kpi-line.clickable svg rect { cursor: pointer; }
.kpi-line.clickable svg rect:hover { fill: rgba(31, 111, 178, 0.06); }
.kpi-legend { display: flex; grid-gap: 14px; gap: 14px; font-size: 12px; margin-bottom: 4px; }
.kpi-legend i, .kpi-tooltip i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.kpi-tooltip { position: absolute; top: 0; right: 0; background: #fff; border: 1px solid #cfd8dc; border-radius: 3px; padding: 4px 8px; font-size: 12px; display: flex; grid-gap: 10px; gap: 10px; }

/* Matrix */
.kpi-matrix-wrap { overflow-x: auto; }
.kpi-matrix { width: 100%; font-size: 13px; border-collapse: collapse; }
.kpi-matrix th, .kpi-matrix td { padding: 4px 8px; border-bottom: 1px solid #eceff1; text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.kpi-matrix th:first-child, .kpi-matrix td:first-child { text-align: left; }
.kpi-matrix thead th { color: #607d8b; font-weight: 600; }
.kpi-matrix tfoot td { font-weight: 600; border-top: 2px solid #cfd8dc; }

/* Clickable cards / matrix cells (Overview opens the ticket popout) */
.kpi-card.clickable { cursor: pointer; }
.kpi-card.clickable:hover { background: #f5f9fc; }
.kpi-matrix td.clickable { cursor: pointer; }
.kpi-matrix td.clickable:hover { background: #eef5fb; text-decoration: underline; }
.kpi-matrix td.kpi-member { color: #1f6fb2; }
.kpi-w60 { flex: 3 1 520px; min-width: 0; }
.kpi-w40 { flex: 2 1 320px; min-width: 0; }

/* Right-hand ticket popout */
.kpi-flyout-backdrop { position: fixed; inset: 0; background: rgba(38, 50, 56, 0.25); z-index: 1040; }
.kpi-flyout {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(1100px, 94vw); z-index: 1045;
    background: #fff; box-shadow: -6px 0 18px rgba(0, 0, 0, 0.18); display: flex; flex-direction: column;
    animation: kpi-slide-in 0.18s ease-out;
}
@keyframes kpi-slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.kpi-flyout-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 12px 16px 8px; border-bottom: 1px solid #e0e6ea; }
.kpi-flyout-title { font-size: 17px; font-weight: 600; }
.kpi-flyout-sub { font-size: 12px; color: #78909c; }
.kpi-flyout-close { border: none; background: none; font-size: 26px; line-height: 1; color: #607d8b; padding: 0 4px; }
.kpi-flyout-close:hover { color: #263238; }
.kpi-flyout-body { flex: 1 1; padding: 8px 12px; min-height: 0; }
.kpi-flyout .kpi-alert { margin: 8px 12px 0; }

@media (max-width: 640px) {
    .kpi-page { padding: 8px; }
    .kpi-hbar-label { flex-basis: 100px; }
}

