[data-bs-theme=light] {
    /* --bs-app-bg-color: #f4f4f4;
    --bs-app-blank-bg-color: #f4f4f4; */
    .alert-success {
        color: #17C653;
        border-color: rgba(23, 198, 83, 0.25);
        background-color: rgba(23, 198, 83, 0.080);
    }
}

.badge-light-primary {
    color:#006AE6 !important;
}

.merchant-health-card {
    border: 1px solid #eef1f4;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(28, 35, 43, 0.06);
}

.merchant-health-ring {
    --score: 0;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: conic-gradient(#22c55e calc(var(--score) * 1%), #e9edf2 0);
    padding: 5px;
    display: grid;
    place-items: center;
}

.merchant-health-ring__inner {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.merchant-health-ring__value {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.merchant-health-ring__label {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.merchant-health-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    display: inline-block;
}

.merchant-history-card {
    border: 1px solid #eef1f4;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(28, 35, 43, 0.06);
}

.merchant-history-progress {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.merchant-history-progress__bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--progress, 0%);
    background: #111827;
    border-radius: 999px;
}

.merchant-history-stat {
    flex: 1 1 0;
    background: #f8fafc;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    padding: 12px 14px;
}

.merchant-history-stat__label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 700;
}

.merchant-history-stat__value {
    font-size: 14px;
    color: #111827;
    font-weight: 700;
    margin-top: 4px;
}

.merchant-financial-card {
    border: 1px solid #eef1f4;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(28, 35, 43, 0.06);
}

.merchant-financial-divider {
    height: 1px;
    background: #eef1f4;
    margin: 16px 0;
}

.merchant-sparkline {
    width: 86px;
    height: 28px;
    display: block;
}

.merchant-notes-card {
    border: 1px solid #eef1f4;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(28, 35, 43, 0.06);
}

.merchant-note-card {
    border: 1px solid #f6e8b1;
    background: #fff9e6;
    border-radius: 12px;
    padding: 16px;
    min-height: 100%;
}

.merchant-note-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b45309;
    font-weight: 700;
}

.merchant-action-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 11px;
    color: #111827;
}

.merchant-action-card__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: #fff;
}

.merchant-action-card__label {
    font-size: 11px;
}

.compliance-card {
    border: 1px solid #eef1f4;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(28, 35, 43, 0.06);
}

.compliance-shield {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #94a3b8;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.compliance-pill {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 999px;
}

.compliance-pill--success {
    background: #e7f7ec;
    color: #15803d;
}

.compliance-pill--warning {
    background: #fff4e5;
    color: #c2410c;
}

.compliance-pill--danger {
    background: #fde8e8;
    color: #b91c1c;
}

.compliance-score-ring {
    --score: 0;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: conic-gradient(#22c55e calc(var(--score) * 1%), #e9edf2 0);
    padding: 8px;
    display: grid;
    place-items: center;
}

.compliance-score-ring__inner {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.compliance-score-ring__value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.compliance-score-ring__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 700;
}

.compliance-progress {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.compliance-progress__bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--progress, 0%);
    background: #22c55e;
    border-radius: 999px;
}

.compliance-progress--blue .compliance-progress__bar {
    background: #2563eb;
}

.compliance-doc-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eef1f4;
    flex-wrap: wrap;
}

.compliance-doc-row:last-child {
    border-bottom: 0;
}

.compliance-doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.doc-icon-blue {
    background: #e8f1ff;
    color: #2563eb;
}

.doc-icon-amber {
    background: #fff4e5;
    color: #d97706;
}

.doc-icon-red {
    background: #fde8e8;
    color: #dc2626;
}

.compliance-assessment-card {
    border: 1px solid #eef1f4;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.compliance-note-card {
    border: 1px solid #eef1f4;
    border-radius: 12px;
    padding: 16px 16px 16px 20px;
    background: #f8fafc;
    position: relative;
}

.compliance-note-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: #111827;
}

.compliance-note-input {
    position: relative;
}

.compliance-note-textarea {
    padding-right: 56px;
    border-radius: 12px;
    border: 1px solid #eef1f4;
}

.compliance-note-send {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    display: grid;
    place-items: center;
    padding: 0;
}

.framework-toolbar-tabs, 
.select2,  
.form-control, 
.jetbrains-mono {
    font-family: "JetBrains Mono", SFMono-Regular, Menlo, monospace;
    /* font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum", "zero";
    letter-spacing: 0.06em; */
}

/* iOS 15.2++ */
body {
  padding-top: env(safe-area-inset-top);
}

.pricing-requests-panel {
    --pricing-requests-border: var(--bs-border-color);
    --pricing-requests-muted-bg: var(--bs-gray-100);
    --pricing-requests-progress-bg: var(--bs-gray-200);
    --pricing-requests-progress-value: var(--bs-primary);
}

.pricing-requests-summary {
    flex: 1 1 520px;
    max-width: 760px;
    border: 1px solid var(--pricing-requests-border);
    border-radius: 8px;
    background: var(--bs-body-bg);
}

.pricing-requests-stat {
    flex: 1 1 170px;
    padding: 10px 22px;
    min-height: 58px;
}

.pricing-requests-stat + .pricing-requests-stat {
    border-left: 1px solid var(--pricing-requests-border);
}

.pricing-request-row {
    cursor: pointer;
}

.pricing-request-row.active > td {
    background: var(--bs-primary-light);
}

.pricing-request-selector-label {
    width: 18px;
    height: 18px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pricing-request-selector-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-request-selector {
    width: 18px;
    height: 18px;
    border: 2px solid var(--bs-gray-300);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
}

.pricing-request-selector::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.pricing-request-selector-input:checked + .pricing-request-selector {
    border-color: var(--bs-primary);
}

.pricing-request-selector-input:checked + .pricing-request-selector::after {
    background: var(--bs-primary);
}

.pricing-request-detail {
    background: var(--bs-body-bg);
}

.pricing-request-detail-section {
    padding: 14px 20px;
    min-height: 190px;
}

.pricing-request-detail-section + .pricing-request-detail-section {
    border-left: 1px solid var(--pricing-requests-border);
}

@media (max-width: 1199.98px) {
    .pricing-request-detail-section:nth-child(odd) {
        border-left: 0;
    }

    .pricing-request-detail-section:nth-child(n+3) {
        border-top: 1px solid var(--pricing-requests-border);
    }
}

@media (max-width: 767.98px) {
    .pricing-requests-summary {
        max-width: none;
    }

    .pricing-requests-stat + .pricing-requests-stat {
        border-left: 0;
        border-top: 1px solid var(--pricing-requests-border);
    }

    .pricing-request-detail-section {
        border-left: 0 !important;
        border-top: 1px solid var(--pricing-requests-border);
    }

    .pricing-request-detail-section:first-child {
        border-top: 0;
    }
}

.portal-pricing-request-page {
    min-height: 100vh;
    background: var(--bs-gray-100);
}

.portal-pricing-request-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.portal-pricing-request-header-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: 35px;
    object-fit: contain;
}

.portal-pricing-request-header-supplier {
    max-width: 190px;
}

.portal-pricing-request-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.portal-pricing-request-card {
    overflow: hidden;
}

.portal-pricing-request-overview {
    overflow: hidden;
}

.portal-pricing-request-overview-supplier {
    border-left: 1px solid var(--bs-border-color);
}

.portal-pricing-request-help {
    position: sticky;
    top: 32px;
}

.portal-pricing-request-code {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
    max-width: 700px;
}

.portal-pricing-request-code-input {
    width: 100%;
    height: 64px;
    min-width: 0;
    text-transform: uppercase;
}

.portal-pricing-request-code-input::placeholder {
    color: var(--bs-gray-500);
}

.portal-pricing-request-summary-item {
    min-width: 0;
    padding-right: 32px;
    padding-left: 32px;
}

.portal-pricing-request-summary-item:first-child {
    padding-left: 0;
}

.portal-pricing-request-summary-item + .portal-pricing-request-summary-item {
    border-left: 1px solid var(--bs-border-color);
}

.portal-pricing-request-submission-shell {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.portal-pricing-request-submission-title {
    box-shadow: 0 1px 0 var(--bs-border-color);
}

.portal-pricing-request-submission-card {
    border: 1px solid var(--bs-border-color);
    box-shadow: none;
}

.portal-pricing-request-submission-table thead th {
    background: var(--bs-gray-100);
    border-bottom: 1px solid var(--bs-border-color);
    padding-top: 16px;
    padding-bottom: 16px;
}

.portal-pricing-request-submission-table tbody td {
    vertical-align: middle;
    border-bottom: 1px solid var(--bs-border-color);
    padding-top: 18px;
    padding-bottom: 18px;
}

.portal-pricing-request-submission-table .portal-pricing-request-variant-column {
    width: 300px;
    max-width: 300px;
    min-width: 300px;
}

.portal-pricing-request-line-notes {
    min-height: 92px;
    resize: vertical;
}

.portal-pricing-request-overall-notes {
    min-height: 105px;
    resize: vertical;
}

.portal-pricing-request-attachment-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-gray-100);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--bs-gray-700);
    font-weight: 600;
    font-size: 12px;
    word-break: break-word;
}

.portal-pricing-request-attachment-chip a {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.portal-pricing-request-attachment-chip .btn {
    flex: 0 0 auto;
}

.portal-pricing-request-attachment-chip + .portal-pricing-request-attachment-chip {
    margin-top: 8px;
}

.portal-pricing-request-progress-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 5px solid var(--bs-gray-200);
    display: grid;
    place-items: center;
    color: var(--bs-gray-900);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .portal-pricing-request-shell {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .portal-pricing-request-access,
    .portal-pricing-request-summary,
    .portal-pricing-request-actions {
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    .portal-pricing-request-code {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 6px;
    }

    .portal-pricing-request-code-input {
        width: 100%;
        height: 46px;
        padding-right: 0.25rem;
        padding-left: 0.25rem;
        font-size: 1.15rem !important;
    }

    .portal-pricing-request-header-logo {
        max-width: 130px;
    }

    .portal-pricing-request-header-supplier {
        max-width: 120px;
    }

    .portal-pricing-request-overview-supplier {
        border-left: 0;
        border-top: 1px solid var(--bs-border-color);
    }

    .portal-pricing-request-help {
        position: static;
    }

    .portal-pricing-request-summary-item {
        padding-right: 0;
        padding-left: 0;
    }

    .portal-pricing-request-summary-item + .portal-pricing-request-summary-item {
        border-left: 0;
        border-top: 1px solid var(--bs-border-color);
        padding-top: 24px;
    }
}

@media (max-width: 374.98px) {
    .portal-pricing-request-access,
    .portal-pricing-request-summary,
    .portal-pricing-request-actions {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .portal-pricing-request-code {
        gap: 4px;
    }

    .portal-pricing-request-code-input {
        height: 42px;
        font-size: 1rem !important;
    }
}

.order-create-modal .order-lines-scroll {
    overflow-anchor: none;
}

.order-create-modal #salespersonGuid + .select2 .select2-selection--single {
    min-height: 54px;
}

#orderOverviewSalespersonGuid + .select2 .select2-selection--single {
    min-height: 54px;
}

.order-create-modal #salespersonGuid + .select2 .select2-selection--single .select2-selection__rendered {
    align-items: center;
    display: flex;
    line-height: 1.2;
    min-height: 52px;
    padding-bottom: 6px;
    padding-top: 6px;
}

#orderOverviewSalespersonGuid + .select2 .select2-selection--single .select2-selection__rendered {
    align-items: center;
    display: flex;
    line-height: 1.2;
    min-height: 52px;
    padding-bottom: 6px;
    padding-top: 6px;
}

.order-create-modal #salespersonGuid + .select2 .select2-selection--single .select2-selection__arrow {
    min-height: 52px;
}

#orderOverviewSalespersonGuid + .select2 .select2-selection--single .select2-selection__arrow {
    min-height: 52px;
}

.framework-datatable .dtfc-fixed-start,
.framework-datatable .dtfc-fixed-left {
    border-right: 1px solid var(--bs-border-color);
    box-shadow: 4px 0 0 0 var(--bs-body-bg);
}

.framework-datatable .dtfc-fixed-end,
.framework-datatable .dtfc-fixed-right {
    border-left: 1px solid var(--bs-border-color);
    box-shadow: -4px 0 0 0 var(--bs-body-bg);
}

.framework-datatable .dtfc-fixed-start,
.framework-datatable .dtfc-fixed-end,
.framework-datatable .dtfc-fixed-left,
.framework-datatable .dtfc-fixed-right {
    z-index: 1;
    overflow: visible !important;
    position: relative;
    background-color: var(--bs-body-bg) !important;
    background-clip: padding-box;
}

.framework-datatable .dtfc-menu-open {
    z-index: 9999 !important;
}

.framework-datatable .dtfc-menu-open .menu.menu-sub {
    z-index: 10000 !important;
}

.menu.menu-sub[data-kt-menu="true"] {
    z-index: 50000 !important;
}

body.modal-open .menu.menu-sub[data-kt-menu="true"] {
    z-index: 1040 !important;
}

body.modal-open .framework-datatable .dtfc-fixed-start,
body.modal-open .framework-datatable .dtfc-fixed-end,
body.modal-open .framework-datatable .dtfc-fixed-left,
body.modal-open .framework-datatable .dtfc-fixed-right,
body.modal-open .framework-datatable .dtfc-menu-open {
    z-index: 0 !important;
}

.dtfc-right-top-blocker,
.dtfc-right-bottom-blocker,
.dtfc-left-top-blocker,
.dtfc-left-bottom-blocker {
    overflow: visible !important;
    z-index: 0 !important;
    background: transparent !important;
}

.table-no-wrap th,
.table-no-wrap td {
    white-space: nowrap;
}

.outbound-orders-kanban .kanban-fixed-height,
.inbound-orders-kanban .kanban-fixed-height {
    min-height: 420px;
    height: min(62vh, 680px);
}

#outboundOrdersCard.framework-card-viewport-expanded.outbound-orders-card-kanban-active .card-body,
#inboundRecentOrdersCard.framework-card-viewport-expanded.inbound-orders-card-kanban-active .card-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#outboundOrdersCard.framework-card-viewport-expanded.outbound-orders-card-kanban-active [data-outbound-orders-panel="kanban"],
#outboundOrdersCard.framework-card-viewport-expanded.outbound-orders-card-kanban-active .outbound-orders-kanban,
#inboundRecentOrdersCard.framework-card-viewport-expanded.inbound-orders-card-kanban-active [data-inbound-orders-panel="kanban"],
#inboundRecentOrdersCard.framework-card-viewport-expanded.inbound-orders-card-kanban-active .inbound-orders-kanban {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

#outboundOrdersCard.framework-card-viewport-expanded.outbound-orders-card-kanban-active .outbound-orders-kanban,
#inboundRecentOrdersCard.framework-card-viewport-expanded.inbound-orders-card-kanban-active .inbound-orders-kanban {
    height: 100%;
    box-sizing: border-box;
}

#outboundOrdersCard.framework-card-viewport-expanded.outbound-orders-card-kanban-active .kanban-fixed-height,
#inboundRecentOrdersCard.framework-card-viewport-expanded.inbound-orders-card-kanban-active .kanban-fixed-height {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

#outboundOrdersCard.framework-card-viewport-expanded.outbound-orders-card-kanban-active #outbound_orders_kanban_board .kanban-drag,
#inboundRecentOrdersCard.framework-card-viewport-expanded.inbound-orders-card-kanban-active #inbound_orders_kanban_board .kanban-drag {
    min-height: 0 !important;
}

#outbound_orders_kanban_board,
#inbound_orders_kanban_board {
    height: 100%;
}

#outbound_orders_kanban_board.kanban-scroll,
#inbound_orders_kanban_board.kanban-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 4px 16px;
}

#outbound_orders_kanban_board .kanban-container,
#inbound_orders_kanban_board .kanban-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    padding: 4px 4px 12px;
    width: max-content !important;
    min-width: max-content !important;
    height: 100% !important;
    align-items: stretch !important;
    overflow: visible !important;
}

#outbound_orders_kanban_board .kanban-board,
#inbound_orders_kanban_board .kanban-board {
    float: none !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: 100% !important;
    display: flex !important;
    flex: 0 0 320px !important;
    flex-direction: column !important;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
}

#outbound_orders_kanban_board .kanban-board-header,
#inbound_orders_kanban_board .kanban-board-header {
    background: var(--bs-gray-100) !important;
    border-bottom: 1px solid var(--bs-border-color);
}

#outbound_orders_kanban_board .kanban-title-board,
#inbound_orders_kanban_board .kanban-title-board {
    padding: 1rem;
    width: 100%;
}

#outbound_orders_kanban_board .kanban-drag,
#inbound_orders_kanban_board .kanban-drag {
    flex: 1 1 auto !important;
    min-height: 300px !important;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
}

#outbound_orders_kanban_board .kanban-item,
#inbound_orders_kanban_board .kanban-item {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    background: var(--bs-body-bg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

#outbound_orders_kanban_board .kanban-item:hover,
#inbound_orders_kanban_board .kanban-item:hover {
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

#outbound_orders_kanban_board .kanban-item:last-child,
#inbound_orders_kanban_board .kanban-item:last-child {
    margin-bottom: 0;
}

.crm-kanban-stage-color {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--bs-primary);
    flex: 0 0 10px;
}

.crm-kanban-card-accent {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 3px;
    margin-bottom: 10px;
}

.crm-kanban-card-accent span {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--bs-primary);
}

.crm-kanban-card-accent span:nth-child(2) {
    background: var(--bs-info);
}

.crm-kanban-card-accent span:nth-child(3) {
    background: var(--bs-gray-300);
    width: 20px;
}

.outbound-kanban-stage-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 3px;
    margin-bottom: 10px;
}

.outbound-kanban-stage-pill {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
}

.crm-kanban-meta-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bs-gray-600);
    font-size: 0.78rem;
    line-height: 1;
}

.crm-kanban-deal-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
    align-items: start;
}

.crm-kanban-rep-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.crm-kanban-rep-avatar .symbol-label {
    width: 24px;
    height: 24px;
    font-size: 0.68rem;
}

.outbound-kanban-order-card .crm-kanban-meta-icon {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.outbound-kanban-order-card,
.outbound-kanban-order-card > *,
.outbound-kanban-order-card .min-w-0 {
    min-width: 0;
}

.outbound-kanban-truncate {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .outbound-orders-kanban,
    .inbound-orders-kanban {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .outbound-orders-kanban .kanban-fixed-height,
    .inbound-orders-kanban .kanban-fixed-height {
        min-height: 520px;
        height: calc(100vh - 290px);
        max-height: 720px;
        overflow: hidden;
    }

    #outbound_orders_kanban_board.kanban-scroll,
    #inbound_orders_kanban_board.kanban-scroll {
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        padding: 8px 0 16px;
        touch-action: pan-y;
    }

    #outbound_orders_kanban_board .kanban-container,
    #inbound_orders_kanban_board .kanban-container {
        gap: 0;
        padding-left: 0;
        padding-right: 0;
        transition: transform 0.24s ease;
        will-change: transform;
    }

    #outbound_orders_kanban_board .kanban-board,
    #inbound_orders_kanban_board .kanban-board {
        border-radius: 8px;
    }

    #outbound_orders_kanban_board .kanban-drag,
    #inbound_orders_kanban_board .kanban-drag {
        min-height: 380px !important;
    }
}

.activity-home-tabs {
    height: 50px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.activity-home-tabs::-webkit-scrollbar {
    display: none;
}

.activity-home-list-card,
.activity-home-calendar-card {
    border: 1px solid var(--bs-border-color);
}

.activity-home-list {
    min-height: 420px;
}

.activity-home-row {
    display: grid;
    grid-template-columns: 24px 40px minmax(0, 1fr) minmax(90px, auto) 32px;
    gap: 16px;
    align-items: center;
    padding: 18px 24px;
    border-top: 1px solid var(--bs-border-color);
}

.activity-home-row:hover {
    background: var(--bs-light);
}

.activity-home-check {
    justify-content: center;
}

.activity-home-main {
    display: block;
    min-width: 0;
}

.activity-home-main:hover .text-gray-900 {
    color: var(--bs-primary) !important;
}

.activity-home-time {
    min-width: 92px;
}

.activity-home-empty {
    border-top: 1px solid var(--bs-border-color);
}

.activity-home-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.activity-home-calendar-head {
    margin-bottom: 8px;
}

.activity-home-calendar-weekday {
    color: var(--bs-gray-600);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.activity-home-calendar-day {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--bs-gray-800);
    font-weight: 700;
}

.activity-home-calendar-day:hover {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.activity-home-calendar-day.is-muted {
    color: var(--bs-gray-500);
}

.activity-home-calendar-day.is-selected {
    background: var(--bs-primary);
    color: var(--bs-primary-inverse);
}

.activity-home-calendar-day.is-today:not(.is-selected) {
    color: var(--bs-primary);
}

.activity-home-calendar-day i {
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    transform: translateX(-50%);
}

.activity-home-agenda,
.activity-home-later {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-home-agenda-item {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 12px 12px 12px 16px;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    color: inherit;
}

.activity-home-agenda-item:hover {
    border-color: var(--bs-primary);
    background: var(--bs-light);
}

.activity-home-agenda-accent {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 767.98px) {
    .activity-home-row {
        grid-template-columns: 24px 40px minmax(0, 1fr);
    }

    .activity-home-time,
    .activity-home-row > .symbol:last-child {
        display: none;
    }
}

.reports-toolbar-search {
    width: min(100%, 360px);
}

.reports-toolbar-search .form-control {
    padding-right: 72px;
}

.reports-shortcut-hint {
    position: absolute;
    right: 16px;
    font-size: 11px;
    pointer-events: none;
}

.reports-control-search {
    width: min(100%, 300px);
}

.reports-category-card,
.reports-recent-card,
.reports-insight-card,
.reports-list-link {
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.reports-category-card:hover,
.reports-recent-card:hover,
.reports-insight-card:hover {
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}

.reports-category-card:hover .reports-card-action,
.reports-recent-card:hover .text-gray-900,
.reports-list-link:hover .text-gray-800 {
    color: var(--bs-primary) !important;
}

.reports-card-description {
    min-height: 38px;
}

.reports-sparkline {
    width: 100%;
    height: 48px;
    color: var(--bs-primary);
}

.reports-sparkline svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.reports-sparkline path {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reports-sparkline rect {
    fill: currentColor;
    opacity: 0.55;
}

.reports-sparkline--line-success {
    color: var(--bs-success);
}

.reports-sparkline--line-warning,
.reports-sparkline--bars-orange {
    color: var(--bs-warning);
}

.reports-sparkline--line-info {
    color: var(--bs-info);
}

.reports-sparkline--bars-blue {
    color: var(--bs-primary);
}

.reports-side-panel {
    position: sticky;
    top: 100px;
}

.reports-weekly-card {
    background: var(--bs-success-light);
}

@media (max-width: 1399.98px) {
    .reports-side-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .reports-toolbar-search,
    .reports-control-search {
        width: 100%;
    }
}

.overview-dashboard #kt_app_content_container.container-fluid,
.overview-dashboard #kt_app_toolbar_container.container-fluid {
    max-width: 1880px;
}

.overview-live-dot {
    animation: overviewPulse 1.8s infinite;
    border-radius: 50%;
    display: inline-block;
    height: 8px;
    width: 8px;
}

@keyframes overviewPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.72);
    }
}

.overview-card.card {
    border: 1px solid var(--bs-gray-200);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.overview-card .card-header,
.overview-card-head {
    align-items: center;
    min-height: auto;
    padding: 1.125rem 1.125rem 0.875rem;
}

.overview-card .card-body {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
}

.overview-card .card-footer,
.overview-card-foot {
    align-items: center;
    border-top: 1px solid var(--bs-gray-200);
    color: var(--bs-gray-600);
    display: flex;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.875rem 1.125rem;
}

.overview-card-title {
    color: var(--bs-gray-900);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
}

.overview-muted,
.overview-action em,
.overview-row-meta,
.overview-metric-list span,
.overview-rank {
    color: var(--bs-gray-600);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.35;
}

.overview-link {
    color: var(--bs-primary);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.overview-legend-dot {
    border-radius: 999px;
    display: inline-block;
    height: 6px;
    width: 16px;
}

.overview-chart-wrap {
    height: 285px;
    position: relative;
}

.overview-chart-wrap canvas {
    height: 100%;
    width: 100%;
}

.overview-action-list,
.overview-watchlist,
.overview-activity,
.overview-alert-list,
.overview-metric-list,
.overview-bars,
.overview-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.overview-action {
    min-height: 38px;
}

.overview-action strong,
.overview-row strong,
.overview-metric-list strong {
    color: var(--bs-gray-900);
    font-size: 0.85rem;
    font-weight: 800;
}

.overview-row {
    align-items: center;
    color: var(--bs-gray-900);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 28px;
}

.overview-row-title {
    color: var(--bs-gray-800);
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-badge {
    border-radius: 0.475rem;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.375rem 0.5rem;
    white-space: nowrap;
}

.overview-dot {
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin-top: 3px;
    width: 10px;
}

.overview-swatch-0 {
    background-color: var(--bs-success);
}

.overview-swatch-1 {
    background-color: var(--bs-info);
}

.overview-swatch-2 {
    background-color: var(--bs-primary);
}

.overview-swatch-3 {
    background-color: var(--bs-warning);
}

.overview-swatch-4 {
    background-color: var(--bs-gray-400);
}

.overview-watch-item {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 12px 1fr auto;
}

.overview-watch-item .btn {
    min-width: 64px;
}

.overview-donut-row {
    align-items: center;
    grid-template-columns: 150px 1fr;
}

.overview-donut {
    align-items: center;
    aspect-ratio: 1;
    background: conic-gradient(var(--bs-success) 0 50%, var(--bs-info) 50% 75%, var(--bs-primary) 75% 88%, var(--bs-warning) 88% 96%, var(--bs-gray-300) 96% 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.overview-donut::after {
    background: var(--bs-card-bg);
    border-radius: 50%;
    content: "";
    inset: 28px;
    position: absolute;
}

.overview-donut span,
.overview-donut em {
    position: relative;
    z-index: 1;
}

.overview-category {
    align-items: center;
    display: grid;
    gap: 0.625rem;
    grid-template-columns: 10px minmax(0, 1fr) auto;
}

.overview-bar-row {
    align-items: center;
    display: grid;
    gap: 0.5625rem;
    grid-template-columns: 1fr 40% auto;
}

.overview-bar-track {
    appearance: none;
    background: var(--bs-gray-200);
    border: 0;
    height: 7px;
    overflow: hidden;
    width: 100%;
}

.overview-bar-track::-webkit-progress-bar {
    background: var(--bs-gray-200);
}

.overview-bar-track::-webkit-progress-value {
    background: var(--bs-info);
}

.overview-bar-track::-moz-progress-bar {
    background: var(--bs-info);
}

.overview-activity-item,
.overview-alert-item {
    align-items: center;
    display: grid;
    gap: 0.625rem;
    grid-template-columns: 24px 1fr auto;
}

.overview-activity-icon {
    align-items: center;
    border-radius: 0.475rem;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.overview-rank-row {
    align-items: center;
    display: grid;
    gap: 0.625rem;
    grid-template-columns: 18px 1fr auto;
    min-height: 27px;
}

.overview-push-alert {
    align-items: center;
    display: flex;
    gap: 1rem;
}

[data-overview-kpi],
[data-overview-list] {
    transition: opacity 180ms ease;
}

.is-loading [data-overview-kpi],
.is-loading [data-overview-list] {
    opacity: 0.55;
}

@media (max-width: 991.98px) {
    .overview-donut-row {
        grid-template-columns: 1fr;
    }

    .overview-donut {
        max-width: 180px;
    }
}

.customer-deal-update-modal .framework-toolbar-tabs {
    width: 100%;
}

.customer-deal-update-modal .framework-toolbar-tabs .nav-item {
    flex: 1 1 0;
}

.customer-deal-update-modal .framework-toolbar-tabs .nav-link {
    text-align: center;
    width: 100%;
}

.customer-deal-topbar {
    align-items: flex-start;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.customer-deal-topbar-summary {
    flex: 1 1 auto;
    min-width: 280px;
}

.customer-deal-topbar-title {
    align-items: center;
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.customer-deal-topbar-title h2 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.customer-deal-favorite-btn {
    flex: 0 0 auto;
}

.customer-deal-topbar-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem 1.75rem;
}

.customer-deal-topbar-meta-item {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    min-width: 0;
}

.customer-deal-topbar-meta-item > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-deal-topbar-metrics {
    display: grid;
    flex: 0 1 650px;
    gap: 0.875rem;
    grid-template-columns: repeat(5, minmax(105px, 1fr));
}

.customer-deal-topbar-metric {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.475rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    min-height: 66px;
    padding: 0.75rem 0.875rem;
}

.customer-deal-topbar-metric-label {
    color: var(--bs-gray-600);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.customer-deal-topbar-metric-value {
    align-items: center;
    color: var(--bs-gray-900);
    display: flex;
    font-size: 1.05rem;
    font-weight: 700;
    gap: 0.75rem;
    line-height: 1.1;
    min-width: 0;
}

.customer-deal-topbar-metric-value .metric-main {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-deal-topbar-metric-value .metric-sub {
    color: var(--bs-success);
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 700;
}

.customer-deal-metric {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.475rem;
    padding: 0.75rem;
}

.customer-deal-contact-row + .customer-deal-contact-row,
.customer-deal-activity-row + .customer-deal-activity-row {
    border-top: 1px dashed var(--bs-border-color);
}

.customer-deal-stage-progress {
    margin-bottom: 2rem;
}

.customer-deal-stage-rail {
    display: flex;
    width: 100%;
}

.customer-deal-stage-step {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--bs-gray-700);
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.625rem;
    line-height: 1.2;
    min-width: 0;
    padding: 0;
    position: relative;
    text-align: center;
}

.customer-deal-stage-step::after {
    background: var(--bs-gray-300);
    content: "";
    height: 2px;
    left: calc(50% + 13px);
    position: absolute;
    right: calc(-50% + 13px);
    top: 13px;
    z-index: 0;
}

.customer-deal-stage-step:last-child::after {
    display: none;
}

.customer-deal-stage-step.is-complete::after,
.customer-deal-stage-step.is-active::after {
    background: var(--bs-primary);
}

.customer-deal-stage-step-marker {
    align-items: center;
    background: var(--bs-body-bg);
    border: 2px solid var(--bs-gray-300);
    border-radius: 50%;
    color: var(--bs-gray-600);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 700;
    height: 26px;
    justify-content: center;
    position: relative;
    width: 26px;
    z-index: 1;
}

.customer-deal-stage-step.is-complete .customer-deal-stage-step-marker,
.customer-deal-stage-step.is-active .customer-deal-stage-step-marker {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-primary-inverse);
}

.customer-deal-stage-step.is-active .customer-deal-stage-step-label {
    color: var(--bs-primary);
}

.customer-deal-stage-step-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
}

@media (max-width: 1199.98px) {
    .customer-deal-topbar {
        flex-direction: column;
        gap: 1.25rem;
    }

    .customer-deal-topbar-metrics {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .customer-deal-topbar-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-deal-topbar-metric:last-child {
        grid-column: 1 / -1;
    }

    .customer-deal-stage-rail {
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .customer-deal-stage-step {
        flex: 0 0 145px;
    }
}

.asset-events-shell {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-gray-300);
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
    padding: 22px;
}

.asset-events-filter-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(180px, 1fr)) minmax(230px, 1.25fr);
    margin-top: 18px;
}

.asset-events-filter-label {
    color: var(--bs-gray-600);
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 7px;
}

.asset-events-date-input {
    align-items: center;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-gray-300);
    border-radius: 6px;
    color: var(--bs-gray-800);
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: space-between;
    min-height: 43px;
    padding: 10px 12px;
    width: 100%;
}

.asset-events-date-input:hover {
    border-color: var(--bs-primary);
}

.asset-events-date-input:focus-visible {
    outline: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    outline-offset: 2px;
}

.asset-events-segments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px auto 20px;
    max-width: 620px;
}

.asset-events-segment {
    align-items: center;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-gray-300);
    color: var(--bs-gray-600);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 9px;
    justify-content: center;
    min-height: 44px;
}

.asset-events-segment:first-child {
    border-radius: 8px 0 0 8px;
}

.asset-events-segment:last-child {
    border-radius: 0 8px 8px 0;
}

.asset-events-segment.is-active {
    border-color: var(--bs-primary);
    box-shadow: inset 0 0 0 1px var(--bs-primary);
    color: var(--bs-primary);
    position: relative;
    z-index: 1;
}

.asset-events-stats-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}

.asset-events-stat-card {
    align-items: center;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-gray-300);
    border-radius: 10px;
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 14px;
    grid-template-columns: 48px 1fr;
    min-height: 96px;
    padding: 18px;
}

.asset-events-stat-icon {
    align-items: center;
    background: var(--bs-primary-light);
    border-radius: 999px;
    color: var(--bs-primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.asset-events-stat-value {
    color: var(--bs-gray-900);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.asset-events-stat-label {
    color: var(--bs-gray-700);
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
}

.asset-events-stat-trend {
    color: var(--bs-success);
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
}

.asset-events-day-header {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-gray-300);
    border-radius: 10px;
    cursor: pointer;
    padding: 18px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asset-events-day-header:hover {
    border-color: var(--bs-primary);
}

.asset-events-day-header:focus-visible {
    outline: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    outline-offset: 2px;
}

.asset-events-day-toggle-icon {
    align-items: center;
    color: var(--bs-gray-700);
    display: inline-flex;
    height: 28px;
    justify-content: center;
    transition: transform 0.2s ease;
    width: 28px;
}

.asset-events-day-card[data-collapsed="true"] .asset-events-day-toggle-icon {
    transform: rotate(-90deg);
}

.asset-events-day-card[data-collapsed="true"] [data-asset-events-day-content] {
    display: none !important;
}

.asset-events-day-card + .asset-events-day-card {
    margin-top: 8px;
}

.asset-events-day-card:not([data-collapsed="true"]) .asset-events-day-header {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.45);
}

.asset-events-day-content {
    border: 1px solid var(--bs-primary);
    border-radius: 0 0 10px 10px;
    border-top: 0;
    margin-top: -8px;
    padding: 16px;
}

.asset-events-group-card {
    border: 1px solid var(--bs-gray-300);
    border-radius: 8px;
    overflow: hidden;
}

.asset-events-group-card[data-hidden="true"],
.asset-events-event-row[data-hidden="true"],
.asset-events-day-card[data-hidden="true"] {
    display: none !important;
}

.asset-events-event-row + .asset-events-event-row {
    border-top: 1px solid var(--bs-gray-300);
}

.asset-events-empty-state,
.asset-events-no-results {
    background-color: var(--bs-gray-100);
    border: 1px dashed var(--bs-gray-400);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.asset-events-no-results {
    display: none;
}

.asset-events-no-results.is-visible {
    display: block;
}

.asset-events-code {
    background: var(--bs-gray-100);
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
    overflow: auto;
    padding: 0.875rem 1rem;
    white-space: pre;
}

.asset-events-table {
    width: 100%;
}

.asset-events-table-head,
.asset-events-event-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(170px, 1.2fr) minmax(110px, .8fr) minmax(220px, 1.6fr) minmax(130px, .9fr) minmax(150px, .9fr) 42px;
}

.asset-events-table-head {
    color: var(--bs-gray-700);
    font-size: 11px;
    font-weight: 900;
    padding: 10px 14px;
}

.asset-events-event-row {
    min-height: 46px;
    padding: 10px 14px;
}

.asset-events-event-icon {
    align-items: center;
    background: var(--bs-primary-light);
    border-radius: 6px;
    color: var(--bs-primary);
    display: inline-flex;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.asset-events-entity-chip {
    background: var(--bs-primary-light);
    border-radius: 5px;
    color: var(--bs-primary);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
}

.asset-events-group-pill {
    background: var(--bs-success-light);
    border-radius: 999px;
    color: var(--bs-success);
    font-size: 11px;
    font-weight: 900;
    padding: 5px 10px;
}

.asset-events-row-title,
.asset-events-row-text {
    color: var(--bs-gray-900);
    font-size: 12px;
    font-weight: 800;
}

.asset-events-row-muted {
    color: var(--bs-gray-600);
    font-size: 12px;
    font-weight: 700;
}

.customer-events-raw-code {
    max-height: 70vh;
    overflow: auto;
}

#customer_activity_calendar {
    min-height: 720px;
}

#customerActivityCalendarCard .fc .fc-toolbar {
    display: none;
}

#customerActivityCalendarCard .fc .fc-daygrid-day-frame {
    min-height: 150px;
}

#customerActivityCalendarCard .fc .fc-daygrid-event,
#customerActivityCalendarCard .fc .fc-timegrid-event {
    border: 0;
    border-radius: 6px;
    padding: 2px 4px;
}

#customerActivityCalendarCard .fc .fc-list-event-title a,
#customerActivityCalendarCard .fc .fc-event-title {
    font-weight: 600;
}

#customerActivityCalendarCard .fc-event.customer-activity-completed {
    opacity: 0.65;
}

#customerActivityCalendarCard .customer-calendar-today-label {
    vertical-align: middle;
}

#customerActivityCalendarCard .fc-list-day-side-text {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
}

#customerActivityCalendarCard .fc-list-event.customer-activity-is-overdue td,
#customerActivityCalendarCard .fc-list-event.customer-activity-is-overdue .fc-list-event-title a,
#customerActivityCalendarCard .fc-list-event.customer-activity-is-overdue .fc-list-event-time {
    color: var(--bs-danger) !important;
}

#customerActivityCalendarCard .fc-list-event.customer-activity-is-completed .fc-list-event-title a {
    opacity: 0.72;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

#customerActivityCalendarCard .fc-list-event.customer-activity-is-completed td,
#customerActivityCalendarCard .fc-list-event.customer-activity-is-completed .fc-list-event-time {
    color: var(--bs-gray-600) !important;
}

#customerActivityCalendarCard .customer-calendar-status-badge {
    vertical-align: middle;
}

.calendar-user-option {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
    padding: 4px 2px;
    width: 100%;
}

.calendar-user-option-avatar {
    align-items: center;
    background: var(--bs-primary-light);
    border-radius: 50%;
    color: var(--bs-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    overflow: hidden;
    width: 34px;
}

.calendar-user-option-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.calendar-user-option-avatar-icon {
    background: var(--bs-gray-100);
    color: var(--bs-gray-600);
}

.calendar-user-option-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.calendar-user-option-name,
.calendar-user-option-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-user-option-name {
    color: var(--bs-gray-900);
    font-size: 13px;
    font-weight: 700;
}

.calendar-user-option-email {
    color: var(--bs-gray-500);
    font-size: 12px;
    font-weight: 600;
}

.calendar-user-option-check {
    align-items: center;
    color: var(--bs-gray-900);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    justify-content: center;
    margin-left: 8px;
}

.calendar-user-filter-dropdown .select2-results__option {
    padding: 7px 10px;
}

.calendar-user-filter-dropdown .select2-results__option--highlighted .calendar-user-option-name,
.calendar-user-filter-dropdown .select2-results__option--highlighted .calendar-user-option-email {
    color: inherit;
}

.calendar-user-filter-selection .calendar-user-option {
    padding: 0;
}

.calendar-user-filter-container .calendar-user-option {
    flex-direction: row-reverse;
    justify-content: flex-start;
    margin-left: auto;
    padding: 0;
    width: auto;
}

.calendar-user-filter-container .calendar-user-option-copy {
    align-items: flex-end;
    text-align: right;
}

.calendar-user-filter-selection .calendar-user-option-avatar {
    height: 28px;
    width: 28px;
}

.calendar-user-filter-container .calendar-user-option-avatar {
    height: 28px;
    width: 28px;
}

.select2-container--bootstrap5 .calendar-user-filter-selection.select2-selection--single,
.select2-container--bootstrap5.calendar-user-filter-container .select2-selection--single {
    min-height: 48px;
    padding-bottom: 6px;
    padding-top: 6px;
}

.select2-container--bootstrap5 .calendar-user-filter-selection .select2-selection__rendered,
.select2-container--bootstrap5.calendar-user-filter-container .select2-selection__rendered {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    line-height: 1.25;
    min-width: 0;
    width: 100%;
}

.inline-pick-asset-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.125rem 0;
}

.inline-pick-asset-option-title {
    color: var(--bs-gray-900);
    display: block;
    font-weight: 600;
    line-height: 1.25;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inline-pick-asset-option-location {
    color: var(--bs-text-muted);
    display: block;
    font-size: 0.85rem;
    line-height: 1.25;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .asset-events-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asset-events-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asset-events-table-head {
        display: none;
    }

    .asset-events-event-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .asset-events-shell {
        padding: 16px;
    }

    .asset-events-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .asset-events-stats-grid,
    .asset-events-segments {
        grid-template-columns: minmax(0, 1fr);
    }

    .asset-events-segment,
    .asset-events-segment:first-child,
    .asset-events-segment:last-child {
        border-radius: 8px;
    }
}

.website-overview-shell {
    font-family: var(--idx4-mono, "JetBrains Mono", SFMono-Regular, Menlo, monospace);
}

.website-overview-site-panel {
    background: var(--idx4-ink, #14161a);
    border: 1px solid var(--idx4-ink, var(--bs-gray-900));
    color: var(--bs-white);
    min-height: 235px;
    overflow: hidden;
    position: relative;
}

.website-overview-site-panel::before,
.website-overview-site-panel::after {
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.website-overview-site-panel::before {
    background:
        radial-gradient(ellipse 170px 118px at 88% 21%, transparent 0 58%, rgba(var(--bs-primary-rgb), 0.54) 58.5% 59.2%, transparent 59.7%),
        radial-gradient(ellipse 320px 138px at -6% 112%, transparent 0 49%, rgba(var(--bs-primary-rgb), 0.38) 49.5% 50.1%, transparent 50.6%),
        repeating-radial-gradient(ellipse 300px 126px at 6% 107%, rgba(var(--bs-primary-rgb), 0.42) 0 1px, transparent 1px 7px),
        repeating-radial-gradient(ellipse 260px 156px at 87% 22%, rgba(var(--bs-primary-rgb), 0.4) 0 1px, transparent 1px 8px);
    opacity: 0.72;
}

.website-overview-site-panel::after {
    background:
        linear-gradient(90deg, rgba(20, 22, 26, 0.5), rgba(20, 22, 26, 0.16) 48%, rgba(20, 22, 26, 0.58)),
        rgba(20, 22, 26, 0.46);
    z-index: 1;
}

.website-overview-site-grid {
    background:
        linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.14) 1px, transparent 1px),
        linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0.1) 1px, transparent 1px);
    background-size: 16px 16px;
    inset: 0;
    opacity: 0.18;
    position: absolute;
}

.website-overview-site-content {
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: space-between;
    padding: 26px 24px 18px;
    position: absolute;
    z-index: 2;
}

.website-overview-kicker {
    color: var(--idx4-mute-2, var(--bs-gray-500));
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.2;
    text-transform: uppercase;
}

.website-overview-domain {
    color: var(--bs-white);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-top: 20px;
}

.website-overview-live-badge {
    align-items: center;
    border: 1px solid var(--bs-success);
    color: var(--bs-success);
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    gap: 6px;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.website-overview-live-dot,
.website-overview-valid-dot {
    background: var(--bs-success);
    border-radius: 50%;
    display: inline-block;
    height: 7px;
    width: 7px;
}

.website-overview-site-metrics {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
    padding-bottom: 38px;
}

.website-overview-site-metrics span,
.website-overview-site-footer span,
.website-overview-site-footer a,
.website-overview-metric em {
    color: var(--idx4-mute-2, var(--bs-gray-500));
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 600;
}

.website-overview-site-metrics span {
    display: block;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.website-overview-site-metrics strong {
    align-items: center;
    color: var(--bs-white);
    display: flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 7px;
    margin-top: 8px;
}

.website-overview-site-footer {
    align-items: center;
    bottom: 18px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    left: 24px;
    position: absolute;
    right: 24px;
}

.website-overview-site-footer span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    min-width: 0;
}

.website-overview-site-footer i,
.website-overview-site-footer a,
.website-overview-metric .text-primary {
    color: var(--idx4-orange, var(--bs-primary)) !important;
}

.website-overview-site-footer a {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.website-overview-metric-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.website-overview-metric {
    background: var(--bs-card-bg);
    border: 1px dashed var(--idx4-line-strong, var(--bs-border-color));
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 109px;
    padding: 18px 19px;
}

.website-overview-metric strong {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin-top: 10px;
}

.website-overview-metric em {
    display: block;
    margin-top: 8px;
}

.site-structure-shell {
    font-family: var(--idx4-mono, "JetBrains Mono", SFMono-Regular, Menlo, monospace);
}

.site-structure-card {
    border-color: var(--idx4-line-strong, var(--bs-border-color));
    border-radius: 0;
}

.site-structure-card-header {
    align-items: center;
    background: var(--idx4-paper-2, var(--bs-gray-100));
    border-bottom: 2px solid var(--idx4-ink, var(--bs-gray-900)) !important;
    min-height: 58px;
}

.site-structure-card-header .card-title h3 {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.82rem !important;
    letter-spacing: 0.18em;
}

.site-structure-action {
    align-items: center;
    border-radius: 0;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    gap: 7px;
    letter-spacing: 0.12em;
    min-height: 32px;
    padding-left: 12px;
    padding-right: 12px;
    text-transform: uppercase;
}

.site-structure-action.disabled,
.site-structure-action[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
}

.site-structure-tree-body {
    min-height: 360px;
}

.site-structure-jstree {
    padding: 2px 0;
}

.site-structure-jstree .jstree-anchor {
    align-items: center;
    border-bottom: 1px solid var(--idx4-line, var(--bs-border-color));
    color: var(--idx4-ink, var(--bs-gray-900));
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    height: auto;
    letter-spacing: 0;
    min-height: 34px;
    padding-right: 12px;
    width: calc(100% - 26px);
}

.site-structure-jstree .jstree-anchor.jstree-clicked {
    background: var(--idx4-orange-soft, var(--bs-primary-light));
    box-shadow: inset 3px 0 0 var(--idx4-orange, var(--bs-primary));
    color: var(--idx4-orange-deep, var(--bs-primary));
}

.site-structure-jstree .jstree-anchor:hover {
    background: var(--idx4-orange-soft, var(--bs-primary-light));
    color: var(--idx4-orange-deep, var(--bs-primary));
}

.site-structure-jstree .jstree-icon {
    color: var(--idx4-mute, var(--bs-gray-600));
}

.site-structure-jstree .jstree-themeicon {
    font-size: 0.95rem !important;
}

.site-structure-jstree .jstree-node {
    margin-left: 18px;
}

.site-structure-jstree > ul > .jstree-node {
    margin-left: 0;
}

.site-structure-footer {
    background: var(--idx4-paper-2, var(--bs-gray-100));
}

.site-structure-footer-link {
    color: var(--idx4-orange-deep, var(--bs-primary));
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-structure-footer-link:hover {
    color: var(--idx4-ink, var(--bs-gray-900));
}

.site-structure-detail-stack {
    min-height: 280px;
}

.site-structure-field-label {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.site-structure-field-value {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.92rem;
    font-weight: 800;
}

.site-structure-path {
    color: var(--idx4-mute, var(--bs-gray-600));
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 6px;
}

.site-structure-path strong {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-weight: 800;
}

.site-structure-address {
    border: 1px dashed var(--idx4-line-strong, var(--bs-border-color));
    color: var(--idx4-steel, var(--bs-gray-700));
    font-size: 0.78rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    padding: 12px 14px;
}

.site-structure-status {
    border: 1px solid var(--idx4-line-strong, var(--bs-border-color));
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 6px 8px;
    text-transform: uppercase;
}

.site-structure-status.is-active {
    border-color: var(--bs-success);
    color: var(--bs-success);
}

.site-structure-status.is-inactive {
    color: var(--idx4-mute, var(--bs-gray-600));
}

.site-structure-capacity-row + .site-structure-capacity-row {
    margin-top: 18px;
}

.site-structure-capacity-value {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-structure-meter {
    background: var(--idx4-paper-2, var(--bs-gray-100));
    border: 1px solid var(--idx4-line, var(--bs-border-color));
    height: 14px;
}

.site-structure-meter-fill {
    background: repeating-linear-gradient(
        -45deg,
        var(--idx4-orange, var(--bs-primary)),
        var(--idx4-orange, var(--bs-primary)) 6px,
        var(--idx4-orange-deep, var(--bs-primary-active)) 6px,
        var(--idx4-orange-deep, var(--bs-primary-active)) 12px
    );
    display: block;
    height: 100%;
}

.site-structure-fill-0 { width: 0%; }
.site-structure-fill-5 { width: 5%; }
.site-structure-fill-10 { width: 10%; }
.site-structure-fill-15 { width: 15%; }
.site-structure-fill-20 { width: 20%; }
.site-structure-fill-25 { width: 25%; }
.site-structure-fill-30 { width: 30%; }
.site-structure-fill-35 { width: 35%; }
.site-structure-fill-40 { width: 40%; }
.site-structure-fill-45 { width: 45%; }
.site-structure-fill-50 { width: 50%; }
.site-structure-fill-55 { width: 55%; }
.site-structure-fill-60 { width: 60%; }
.site-structure-fill-65 { width: 65%; }
.site-structure-fill-70 { width: 70%; }
.site-structure-fill-75 { width: 75%; }
.site-structure-fill-80 { width: 80%; }
.site-structure-fill-85 { width: 85%; }
.site-structure-fill-90 { width: 90%; }
.site-structure-fill-95 { width: 95%; }
.site-structure-fill-100 { width: 100%; }

.site-structure-capacity-note {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-verification-shell {
    font-family: var(--idx4-mono, "JetBrains Mono", SFMono-Regular, Menlo, monospace);
}

.site-verification-kpis {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.site-verification-kpi {
    border: 1px dashed var(--idx4-line-strong, var(--bs-border-color));
    min-height: 104px;
    padding: 18px 18px 16px;
}

.site-verification-label {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-verification-kpi-value {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.15;
    margin-top: 9px;
}

.site-verification-kpi-value span {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.9rem;
}

.site-verification-kpi-value.is-alert {
    color: var(--bs-danger);
}

.site-verification-kpi-sub {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 9px;
}

.site-verification-kpi-sub.is-good {
    color: var(--bs-success);
}

.site-verification-kpi-sub.is-bad {
    color: var(--bs-danger);
}

.site-verification-meter {
    background: var(--idx4-paper-2, var(--bs-gray-100));
    border: 1px solid var(--idx4-line, var(--bs-border-color));
    height: 10px;
    margin-top: 10px;
}

.site-verification-meter span {
    background: repeating-linear-gradient(
        -45deg,
        var(--idx4-orange, var(--bs-primary)),
        var(--idx4-orange, var(--bs-primary)) 6px,
        var(--idx4-orange-deep, var(--bs-primary-active)) 6px,
        var(--idx4-orange-deep, var(--bs-primary-active)) 12px
    );
    display: block;
    height: 100%;
}

.site-verification-card {
    border-color: var(--idx4-line-strong, var(--bs-border-color));
    border-radius: 0;
}

.site-verification-card-header {
    background: var(--idx4-paper-2, var(--bs-gray-100));
    border-bottom: 2px solid var(--idx4-ink, var(--bs-gray-900)) !important;
    min-height: 52px;
}

.site-verification-card-header .card-title h3 {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.82rem !important;
    letter-spacing: 0.18em;
}

.site-verification-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-verification-option {
    border: 1px solid var(--idx4-line, var(--bs-border-color));
    cursor: pointer;
    display: grid;
    gap: 2px 12px;
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 14px;
}

.site-verification-option.is-active {
    background: var(--idx4-orange-soft, var(--bs-primary-light));
    border: 2px solid var(--idx4-ink, var(--bs-gray-900));
}

.site-verification-option input {
    display: none;
}

.site-verification-option span {
    align-self: start;
    border: 2px solid var(--idx4-line-strong, var(--bs-border-color));
    border-radius: 50%;
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.site-verification-option.is-active span {
    border-color: var(--idx4-ink, var(--bs-gray-900));
    box-shadow: inset 0 0 0 4px var(--idx4-plate, var(--bs-body-bg));
    background: var(--idx4-orange, var(--bs-primary));
}

.site-verification-option strong {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.82rem;
    font-weight: 900;
}

.site-verification-option em {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    grid-column: 2;
}

.site-verification-select {
    border-radius: 0;
    font-family: var(--idx4-mono, "JetBrains Mono", SFMono-Regular, Menlo, monospace);
    font-size: 0.78rem;
    font-weight: 700;
}

.site-verification-begin {
    border-radius: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.site-verification-note,
.site-verification-footer {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-verification-footer {
    background: var(--idx4-paper-2, var(--bs-gray-100));
}

.site-verification-table {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-family: var(--idx4-mono, "JetBrains Mono", SFMono-Regular, Menlo, monospace);
}

.site-verification-table thead th {
    background: var(--idx4-paper-2, var(--bs-gray-100));
    border-bottom: 2px solid var(--idx4-ink, var(--bs-gray-900)) !important;
    color: var(--idx4-mute, var(--bs-gray-600)) !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.16em;
    padding: 12px 20px;
}

.site-verification-table tbody td {
    border-bottom: 1px solid var(--idx4-line, var(--bs-border-color));
    font-size: 0.8rem;
    font-weight: 600;
    padding: 14px 20px;
    vertical-align: middle;
}

.site-verification-history tbody td {
    padding-bottom: 13px;
    padding-top: 13px;
}

.site-verification-ref {
    color: var(--idx4-orange-deep, var(--bs-primary));
    font-weight: 900;
}

.site-verification-ref:hover {
    color: var(--idx4-ink, var(--bs-gray-900));
}

.site-verification-badge {
    border: 1px solid var(--idx4-line-strong, var(--bs-border-color));
    display: inline-flex;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 5px 7px;
    text-transform: uppercase;
}

.site-verification-badge.is-alert {
    border-color: var(--bs-danger);
    color: var(--bs-danger);
}

.site-verification-badge.is-warning {
    border-color: var(--bs-warning);
    color: var(--bs-warning);
}

.site-verification-badge.is-good {
    border-color: var(--bs-success);
    color: var(--bs-success);
}

.site-verification-resolve {
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-verification-empty {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 22px 20px !important;
    text-transform: uppercase;
}

.site-movements-shell {
    font-family: var(--idx4-mono, "JetBrains Mono", SFMono-Regular, Menlo, monospace);
}

.site-movements-kpis {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.site-movements-kpi {
    border: 1px dashed var(--idx4-line-strong, var(--bs-border-color));
    min-height: 104px;
    padding: 18px 18px 16px;
}

.site-movements-label {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-movements-kpi-value {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.15;
    margin-top: 9px;
}

.site-movements-kpi-value.is-negative {
    color: var(--bs-danger);
}

.site-movements-kpi-value.is-positive {
    color: var(--bs-success);
}

.site-movements-kpi-sub {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 9px;
}

.site-movements-toolbar {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.site-movements-search {
    align-items: center;
    border: 1px solid var(--idx4-line-strong, var(--bs-border-color));
    display: flex;
    gap: 10px;
    height: 35px;
    margin: 0;
    max-width: 326px;
    padding: 0 12px;
    width: 100%;
}

.site-movements-search i {
    color: var(--idx4-mute, var(--bs-gray-600));
}

.site-movements-search input {
    background: transparent;
    border: 0;
    color: var(--idx4-ink, var(--bs-gray-900));
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    outline: 0;
    text-transform: uppercase;
    width: 100%;
}

.site-movements-search input::placeholder {
    color: var(--idx4-mute, var(--bs-gray-600));
    opacity: 1;
}

.site-movements-filter {
    background: var(--idx4-plate, var(--bs-body-bg));
    border: 1px dashed var(--idx4-line-strong, var(--bs-border-color));
    color: var(--idx4-ink, var(--bs-gray-900));
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    height: 35px;
    letter-spacing: 0.12em;
    padding: 0 12px;
    text-transform: uppercase;
}

.site-movements-export {
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-left: auto;
    min-height: 35px;
    text-transform: uppercase;
}

.site-movements-ledger {
    border: 1px solid var(--idx4-line-strong, var(--bs-border-color));
}

.site-movements-group-header {
    background: var(--idx4-paper-2, var(--bs-gray-100));
    border-bottom: 2px solid var(--idx4-ink, var(--bs-gray-900));
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    padding: 12px 20px;
}

.site-movements-group-header span {
    color: var(--idx4-mute, var(--bs-gray-600));
    margin-left: 12px;
}

.site-movements-row {
    align-items: center;
    border-bottom: 1px solid var(--idx4-line, var(--bs-border-color));
    display: grid;
    gap: 16px;
    grid-template-columns: 76px 128px 118px minmax(220px, 1.35fr) minmax(230px, 1fr) 120px;
    min-height: 44px;
    padding: 0 20px;
}

.site-movements-time,
.site-movements-route,
.site-movements-actor {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.76rem;
    font-weight: 700;
}

.site-movements-ref {
    color: var(--idx4-orange-deep, var(--bs-primary));
    font-size: 0.78rem;
    font-weight: 900;
}

.site-movements-ref:hover {
    color: var(--idx4-ink, var(--bs-gray-900));
}

.site-movements-badge {
    border: 1px solid var(--idx4-line-strong, var(--bs-border-color));
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 5px 8px;
    text-transform: uppercase;
}

.site-movements-badge.is-receipt {
    border-color: var(--bs-success);
    color: var(--bs-success);
}

.site-movements-badge.is-dispatch {
    border-color: var(--idx4-orange, var(--bs-primary));
    color: var(--idx4-orange-deep, var(--bs-primary));
}

.site-movements-badge.is-transfer {
    border-color: var(--bs-indigo);
    color: var(--bs-indigo);
}

.site-movements-badge.is-adjustment {
    border-color: var(--bs-warning);
    color: var(--bs-warning);
}

.site-movements-item {
    color: var(--idx4-ink, var(--bs-gray-900));
    font-size: 0.8rem;
    font-weight: 900;
    min-width: 0;
}

.site-movements-item span {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-weight: 700;
    margin-left: 6px;
}

.site-movements-route {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-movements-route i {
    color: var(--idx4-orange-deep, var(--bs-primary));
    font-size: 0.68rem;
}

.site-movements-actor {
    justify-self: end;
    text-align: right;
}

.site-movements-footer {
    align-items: center;
    background: var(--idx4-paper-2, var(--bs-gray-100));
    color: var(--idx4-mute, var(--bs-gray-600));
    display: flex;
    font-size: 0.7rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.12em;
    min-height: 40px;
    padding: 0 20px;
    text-transform: uppercase;
}

.site-movements-load {
    background: transparent;
    border: 0;
    color: var(--idx4-orange-deep, var(--bs-primary));
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    padding: 0;
    text-transform: uppercase;
}

.site-movements-empty {
    color: var(--idx4-mute, var(--bs-gray-600));
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 22px 20px;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .website-overview-site-panel {
        min-height: 310px;
    }

    .website-overview-site-content {
        padding: 22px 18px 18px;
    }

    .website-overview-domain {
        font-size: 1.25rem;
    }

    .website-overview-site-metrics,
    .website-overview-metric-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .website-overview-site-footer {
        align-items: flex-start;
        flex-direction: column;
        left: 18px;
        right: 18px;
    }

    .site-structure-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 14px;
        padding-top: 14px;
    }

    .site-structure-card-header .card-toolbar {
        width: 100%;
    }

    .site-structure-action {
        justify-content: center;
        width: 100%;
    }

    .site-structure-capacity-value {
        white-space: normal;
    }

    .site-verification-kpis {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-verification-table tbody td,
    .site-verification-table thead th {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-movements-kpis {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-movements-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .site-movements-search,
    .site-movements-filter,
    .site-movements-export {
        max-width: none;
        width: 100%;
    }

    .site-movements-row {
        align-items: start;
        gap: 8px;
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 12px;
    }

    .site-movements-row > div,
    .site-movements-row > a {
        min-width: 0;
    }

    .site-movements-route,
    .site-movements-actor {
        grid-column: 2;
        justify-self: start;
        text-align: left;
        white-space: normal;
    }

    .site-movements-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 12px;
        padding-top: 12px;
    }
}
